Commit Graph

30944 Commits

Author SHA1 Message Date
a29c096614 app: initialize also GimpRGB's alpha component
Conditional jump or move depends on uninitialised value(s)
==29000==    at 0x4C33CBC: gimp_color_area_set_color (gimp/libgimpwidgets/gimpcolorarea.c:425)
==29000==    by 0x4C3505B: gimp_color_button_set_color (gimp/libgimpwidgets/gimpcolorbutton.c:642)
==29000==    by 0x5DA5BE: gimp_text_style_editor_set_color (gimp/app/widgets/gimptextstyleeditor.c:700)
==29000==    by 0x5DB0D4: gimp_text_style_editor_update_idle (gimp/app/widgets/gimptextstyleeditor.c:1090)
==29000==    by 0x57E9E95: gdk_threads_dispatch (gtk-2-24/gdk/gdk.c:512)

Steps to reproduce:

<Ctrl>N <Enter> T
click on canvas
type something

select the text entered and change its color using
the color button from the text style editor
2012-03-13 20:44:47 +01:00
62ebb4a1e5 app: initialize all members of a GimpAnchor
Conditional jump or move depends on uninitialised value(s)
==28817==    at 0x6AA386: gimp_coords_manhattan_dist (gimp/app/core/gimpcoords.c:175)
==28817==    by 0x6AB428: gimp_coords_bezier_is_straight (gimp/app/core/gimpcoords-interpolate.c:213)
==28817==    by 0x67663B: gimp_bezier_stroke_segment_nearest_point_get (gimp/app/vectors/gimpbezierstroke.c:676)
==28817==    by 0x676C86: gimp_bezier_stroke_nearest_point_get (gimp/app/vectors/gimpbezierstroke.c:631)
==28817==    by 0x4D79E3: gimp_draw_tool_on_vectors_curve (gimp/app/tools/gimpdrawtool.c:1175)
==28817==    by 0x4D7CD5: gimp_draw_tool_on_vectors (gimp/app/tools/gimpdrawtool.c:1242)
==28817==    by 0x511CE7: gimp_vector_tool_oper_update (gimp/app/tools/gimpvectortool.c:989)
==28817==    by 0x50B059: gimp_tool_oper_update (gimp/app/tools/gimptool.c:970)
==28817==    by 0x546F3C: gimp_display_shell_canvas_tool_events (gimp/app/display/gimpdisplayshell-tool-events.c:401)
==28817==    by 0x52A42E2: _gtk_marshal_BOOLEAN__BOXED (gtk-2-24/gtk/gtkmarshalers.c:86)

Steps to reproduce:

G_SLICE=always-malloc valgrind gimp-2.7 app/tests/*/*.xcf

B (Activate Path tool)
2012-03-13 20:44:47 +01:00
a80a63443d app: initialize a GtkTreeIter
Conditional jump or move depends on uninitialised value(s)
==28871==    at 0x4A09863: bcmp (/builddir/build/BUILD/valgrind-3.6.1/memcheck/mc_replace_strmem.c:692)
==28871==    by 0x4C487C7: gimp_int_store_row_inserted (gimp/libgimpwidgets/gimpintstore.c:220)
==28871==    by 0x8342B03: g_closure_invoke (glib/gobject/gclosure.c:774)
==28871==    by 0x8353129: signal_emit_unlocked_R (glib/gobject/gsignal.c:3232)
==28871==    by 0x835A72A: g_signal_emit_valist (glib/gobject/gsignal.c:3033)
==28871==    by 0x835A8F1: g_signal_emit (glib/gobject/gsignal.c:3090)
==28871==    by 0x529EF63: gtk_list_store_insert (gtk-2-24/gtk/gtkliststore.c:1039)
==28871==    by 0x5CEB6B: gimp_stroke_editor_constructed (gimp/app/widgets/gimpstrokeeditor.c:229)
==28871==    by 0x8348222: g_object_newv (glib/gobject/gobject.c:1731)
==28871==    by 0x8348565: g_object_new_valist (glib/gobject/gobject.c:1820)
==28871==    by 0x8348873: g_object_new (glib/gobject/gobject.c:1535)
==28871==    by 0x5CEE74: gimp_stroke_editor_new (gimp/app/widgets/gimpstrokeeditor.c:320)
==28871==    by 0x4C3842: stroke_dialog_new (gimp/app/dialogs/stroke-dialog.c:176)
==28871==    by 0x4A3B5C: select_stroke_cmd_callback (gimp/app/actions/select-commands.c:349)

Steps to reproduce:

On a 64 bits machine run gimp-2.7

<Ctrl>N <Enter> <Ctrl>A
and activate <Edit>/Stroke Selection... (<Alt>E S)
2012-03-13 20:44:47 +01:00
b262c93048 app: create an own GimpOperationBrightnessContrast
and use it instead of gegl:brightness-contrast because the GEGL op is
giving different reaults.
2012-03-13 15:02:17 +01:00
216133b2d0 app: the usual formatting cleanup in GimpTileBackendTileManager 2012-03-13 14:53:09 +01:00
2ea41ea3f6 tests: update API usage of gimptilebackendtilemanager test 2012-03-13 13:09:59 +00:00
5d6662ad00 gimptilebackendtilemanager: add utility call to construct buffer
For this utility call as well as the backend constructor itself pass a boolean
to indicate if write access to the buffer is desired.
2012-03-13 12:49:35 +00:00
5362448044 GimpTileBackendTileManager: make it work
remove dead code, simplify existing code and make full width tiles be 0-copy.
2012-03-13 10:32:48 +00:00
49a1fb5b9c INSTALL: Mention Ghostscript next to libgs 2012-03-13 13:50:56 +05:30
e50e794803 INSTALL: Use our canonical way of writing plug-in 2012-03-13 13:49:20 +05:30
01c65b61c4 devel-docs: update ftp directory in release-howto.txt 2012-03-13 02:04:25 +01:00
623319246c configure: bump version to 2.7.6 2012-03-13 01:42:05 +01:00
0675fd14e9 gimp-splash: less irregular mesh gradient grid 2012-03-13 03:58:17 +04:00
f51d5f7e36 AUTHORS: regenerated 2012-03-13 00:04:11 +01:00
ed2b82399f Sort authors.xml 2012-03-12 23:40:16 +01:00
0f8fb6bebc Add new contributors for 2.8 2012-03-12 22:13:21 +01:00
47aefcb8ce Update last-active fields for known contributors for 2.8 2012-03-12 22:13:20 +01:00
dccdbd1b40 data: Splash image by Alexandre Prokuldine 2012-03-12 22:11:06 +02:00
ddf0d9e6b7 app: use G_GUINT64_FORMAT to print guint64 2012-03-12 20:26:51 +01:00
dbc823ae65 Fix obligatory typo 2012-03-12 20:21:31 +01:00
7ea4fbbba1 NEWS: updates 2012-03-12 20:12:49 +01:00
aa7e7c153c app: remove another bunch of one-line GtkTables 2012-03-12 20:12:11 +01:00
a9ee07da43 devel-docs: updated so the latest additions and changes show up 2012-03-12 20:11:20 +01:00
a79e495b32 Updated Korean translation 2012-03-11 02:24:31 +09:00
5e94863c8e app: get rid of a GtkTable in gimp_paint_options_gui(), and some cleanup 2012-03-09 20:30:05 +01:00
fea46b1c63 Fix alignment of configure --help output 2012-03-09 20:12:35 +01:00
7fed1b6e93 Bug 651956: Text tool misremembers point size upon reloading file
When setting the unit of a property shared with a gimp_prop_size_entry,
a conversion is applied to the corresponding size property (to preserve
size_entry's ref-value), but the conversion risks to change the size
property already updated.

To update, at the same time, size and unit, it is better to start updating
size_entry's unit in order to trigger the useless conversion on the stale
size.
2012-03-09 19:21:44 +01:00
71cb4fbd71 Bug 667368: Bug in Histogram egalization 2012-03-08 18:20:45 +01:00
c7c752f5df Bug 541859 - Colour Balance Range to Adjust has no Effect
This makes the different ranges have a clearly different effect,
plus speeds up the gegl op quite a lot.

NOTE: this might affect the result of scripts using color-balance
2012-03-07 21:45:59 +01:00
f2f1eab753 app: add "ERROR" to the values of enum GimpPdbErrorCode
so they are now GIMP_PDB_ERROR_FOO instead of just GIMP_PDB_FOO,
because it was just too confusing wrt enum GimpPdbStatusType.
2012-03-05 19:36:59 +01:00
435feea20a app: use gimp_cairo_set_source_rgb() wheh setting a GimpRGB 2012-03-05 19:19:47 +01:00
1658460523 app: don't g_assert_not_reached on GIMP_PDB_FAILED errors
calling in a script (gimp-file-load-layer 1 image "notexists.bmp")
used to crash GIMP with the following message:

**
Gimp-PDB:ERROR:gimpprocedure.c:491:gimp_procedure_get_return_values:
code should not be reached
gimp-2.7: terminated: Aborted
2012-03-05 18:36:03 +01:00
0c236cbc48 app: don't draw the grid if it covers the image entirely
Regardless of the elaborate discussion in bug #599267, as soon as the
grid starts covering the image completely (when the is no more spacing
between grid lines), it is entirely useless, so skip drawing it.
2012-03-04 20:19:57 +01:00
64c996918a Updated Spanish translation 2012-03-04 19:28:05 +01:00
4ad0104a43 plug-ins: change more things in maze from uint to int to fix compiler warnings 2012-03-04 17:53:54 +01:00
2084b13369 Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Mask intersect fixes for some plug-ins.
2012-03-04 17:49:41 +01:00
4e8c93246a Updated Slovenian translation 2012-03-03 22:15:35 +01:00
997e1f3e0c Updated Polish translation 2012-03-03 21:14:10 +01:00
082d758a34 Bug 558795 - Using same quick mask color across sessions
Add configuration option for quick mask color.
2012-03-03 02:45:10 +01:00
72d60103e5 configure: remove the rules for the "gimpinstall" script
it was needed for the script version of gimptool which is gone.
2012-03-02 20:09:44 +01:00
bd591d73cf libgimp: add gimp_ink_blob_type_get_type() to gimp.def 2012-03-02 12:20:21 +01:00
b952f80be0 Bug 658477 - add PDB support for more paint and ink options
Apply heavily modified patch from Es Swartz which adds PDB API for
brush size, angle and aspect ratio, as well as a full interface for
ink. Changed to patch to add all procedures to the "context" group
instead of creating new PDB groups, properly use the new
GimpPDBContext APIs for paint options, and did some general cleanup.
(Warning, completely untested).
2012-03-01 12:58:26 +01:00
c2f68b59a3 Bug 670897: Phython-fu does not return parent layer...
(pdb.gimp_item_get_parent(item))

Adjust param conversions when wrapping pdb functions
and implement 'children' and 'parent' getter for
GimpItem Python Object.
2012-02-28 18:20:10 +01:00
bebcebd1ca Updated italian translation. 2012-02-28 18:08:59 +01:00
0818bcfe42 Updated Swedish translation 2012-02-28 09:05:26 +01:00
2677566cfe Updated Slovenian translation 2012-02-27 22:35:50 +01:00
9ed3cb42f1 [l10n] Update Japanese translation 2012-02-24 22:11:35 +09:00
cef8a3e6f3 Updated Spanish translation 2012-02-24 10:27:46 +01:00
8ea6d3a94f app: when scaling, use the proper image api to move guides and sample points
so the image's "foo-moved" signals are emitted and the display can
follow. Moving them around manually was needed before the displayed
guides and sample points were proper views of the resp. core objects.
2012-02-24 00:31:27 +01:00
6f0937a9b5 Updated Polish translation 2012-02-23 22:04:56 +01:00