Commit graph

22965 commits

Author SHA1 Message Date
Øyvind Kolås 9672d0a207 made the GEGL tool only show ops from relevant categories, the list of
* app/tools/gimpgegltool.c: (gimp_get_subtype_classes),
(gimp_gegl_tool_compare_operation_names), (gimp_get_geglopclasses),
(gimp_gegl_tool_dialog): made the GEGL tool only show ops from
relevant categories, the list of relevant categories is hard coded
for now.

svn path=/trunk/; revision=25533
2008-04-26 11:49:25 +00:00
Martin Nordholts 2d2358b47f No need to bail out if there is no display.
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): No need to bail out if there
	is no display.

svn path=/trunk/; revision=25532
2008-04-26 11:14:19 +00:00
Martin Nordholts 5743e21890 Some more simplifications and cleanups.
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): Some more simplifications
	and cleanups.

svn path=/trunk/; revision=25531
2008-04-26 10:54:34 +00:00
Martin Nordholts f2a00b3018 Simplifications and cleanups.
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): Simplifications and
	cleanups.

svn path=/trunk/; revision=25530
2008-04-26 10:38:53 +00:00
Michael Natterer c2e1f6c0ea the gegl tool was missing from the "Tools" menu.
2008-04-26  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: the gegl tool was missing from the
	"Tools" menu.


svn path=/trunk/; revision=25529
2008-04-26 10:28:00 +00:00
Martin Nordholts fb72d220dd Tidy my most recent ChangeLog entry
svn path=/trunk/; revision=25528
2008-04-26 07:22:26 +00:00
Martin Nordholts a2f9d1e5f7 plug-ins/flame/flame.c Applied modified patch by Luis Barrancos that adds
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/flame/flame.c
	* plug-ins/flame/libifs.[ch]: Applied
	modified patch by Luis Barrancos that adds 22 new variations to
	the flame plugin (bug #389004).

svn path=/trunk/; revision=25527
2008-04-26 07:18:15 +00:00
Michael Natterer f532e425e0 add g_return_if_fail().
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintoptions.c (gimp_paint_options_get_jitter):
	add g_return_if_fail().

	* app/paint/gimpheal.c (gimp_heal_motion)
	* app/paint/gimpdodgeburn.c (gimp_dodge_burn_motion): free stuff
	right after it's not used any longer, instead of at the end of the
	function.

	* app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): move a
	statement to improve consistency with other motion() functions.


svn path=/trunk/; revision=25526
2008-04-25 13:39:36 +00:00
Michael Natterer 658c5e6fbc fix help string of the page setup procedure.
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print.c (query): fix help string of the page
	setup procedure.


svn path=/trunk/; revision=25525
2008-04-25 12:30:10 +00:00
Sven Neumann c12e89a032 app/app.c reverted change from 2008-01-31. Use the GEGL option group again
2008-04-25  Sven Neumann  <sven@gimp.org>

	* app/app.c
	* app/gegl/gimp-gegl.c: reverted change from 2008-01-31. Use the
	GEGL option group again now that GEGL provides some commmand-line
	options.

svn path=/trunk/; revision=25524
2008-04-25 11:44:00 +00:00
Michael Natterer 7ee6ebcaaf reorder jitter options stuff to be consistently ordered all over the
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintoptions.[ch]: reorder jitter options stuff to
	be consistently ordered all over the place.


svn path=/trunk/; revision=25523
2008-04-25 10:52:01 +00:00
Michael Natterer 561ec036b5 app/widgets/gimpdock.c minor cosmetics.
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdock.c
	* libgimpwidgets/gimpcellrenderertoggle.c: minor cosmetics.


svn path=/trunk/; revision=25522
2008-04-25 08:53:11 +00:00
Sven Neumann 97861975b1 do not any longer accept middle-mouse-button paste on the toolbox buttons
2008-04-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptoolbox.c: do not any longer accept
	middle-mouse-button paste on the toolbox buttons but use the
	toolbox drop area for that.


svn path=/trunk/; revision=25521
2008-04-25 07:05:48 +00:00
Sven Neumann c42698d65d removed default keyboard shortcut for "dock-close".
2008-04-25  Sven Neumann  <sven@gimp.org>

	* app/actions/dock-actions.c (dock_actions): removed default
	keyboard shortcut for "dock-close".


svn path=/trunk/; revision=25520
2008-04-25 06:08:39 +00:00
Marco Ciampa 9acaf9679a Updated italian translation
svn path=/trunk/; revision=25519
2008-04-24 20:18:36 +00:00
Martin Nordholts d0f67bcfe1 Fix typo in my most recent ChangeLog entry
svn path=/trunk/; revision=25517
2008-04-24 05:59:10 +00:00
Martin Nordholts 947e873793 Do appropriate equal and not-equal comparions for floting point numbers.
2008-04-24  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): Do appropriate equal and
	not-equal comparions for floting point numbers. Fixes bug #527863.

svn path=/trunk/; revision=25516
2008-04-24 05:55:59 +00:00
Sven Neumann 734f319bfe formatting.
2008-04-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpnumberpairentry.c
	(gimp_number_pair_entry_modify_font): formatting.


svn path=/trunk/; revision=25515
2008-04-23 05:51:34 +00:00
Michael Natterer c6cdd13af6 simplify call to window_actions_update() (we already have a local "shell"
2008-04-22  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c (view_actions_update): simplify call
	to window_actions_update() (we already have a local "shell"
	variable that is NULL when there is no display).


svn path=/trunk/; revision=25514
2008-04-22 16:53:42 +00:00
Michael Natterer 5fea1a5963 add check for the GEGL version.
2008-04-22  Michael Natterer  <mitch@gimp.org>

	* app/sanity.c: add check for the GEGL version.


svn path=/trunk/; revision=25513
2008-04-22 14:15:30 +00:00
Sven Neumann 64e02fadef take vertical padding into account to avoid resizing the statusbar.
2008-04-22  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_frame_size_request):
	take vertical padding into account to avoid resizing the statusbar.

svn path=/trunk/; revision=25512
2008-04-22 10:15:06 +00:00
Michael Natterer b9ba5072d5 do the actual cleanup in utility functions and reduce
2008-04-21  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin-cleanup.c: do the actual cleanup in
	utility functions and reduce gimp_plug_in_cleanup() to merely
	iterating the cleanup lists.


svn path=/trunk/; revision=25511
2008-04-21 19:53:10 +00:00
Michael Natterer e5be5664ed Move the shadow tiles from the image to the drawable. Fixes bug #100469.
2008-04-21  Michael Natterer  <mitch@gimp.org>

	Move the shadow tiles from the image to the drawable.
	Fixes bug #100469.

	* app/core/Makefile.am
	* app/core/gimpdrawable-shadow.[ch]: new files implementing
	the shadow tiles.

	* app/core/gimpimage.[ch]: remove the shadow tile manager from the
	GimpImage struct. Remove gimp_image_get_shadow_tiles() and
	_free_shadow_tiles().

	* app/core/gimpdrawable.[ch]: add the shadow tile manager
	here. Remove get_shadow_tiles() and merge_shadow(). Free the
	shadow tiles in finalize and when the drawable gets removed from
	the image.

	* app/core/gimpdrawable-brightness-contrast.c
	* app/core/gimpdrawable-color-balance.c
	* app/core/gimpdrawable-colorize.c
	* app/core/gimpdrawable-curves.c
	* app/core/gimpdrawable-desaturate.c
	* app/core/gimpdrawable-equalize.c
	* app/core/gimpdrawable-hue-saturation.c
	* app/core/gimpdrawable-invert.c
	* app/core/gimpdrawable-levels.c
	* app/core/gimpdrawable-operation.c
	* app/core/gimpdrawable-posterize.c
	* app/core/gimpdrawable-threshold.c
	* app/core/gimpimagemap.c: changed accordingly. Free the shadow tiles
	after using them.

	* app/plug-in/gimpplugin-cleanup.[ch]: add
	gimp_plug_in_cleanup_add_shadow() and _remove_shadow() which keep
	track of whether shadow tiles were created on behalf of a plug-in
	procedure.

	(gimp_plug_in_cleanup): free shadow tiles which were created but
	not destroyed by a plug-in procedure.

	* app/plug-in/gimpplugin-message.c (plug_in_handle_tile_request):
	call gimp_plug_in_cleanup_add_shadow() whenever a plug-in requests
	shadow tiles.

	* tools/pdbgen/pdb/drawable.pdb: use the new drawable shadow
	API. Add new procedure gimp-drawable-free-shadow. Call
	gimp_plug_in_cleaup_remove_shadow() when it gets called.

	* tools/pdbgen/pdb/image.pdb: deprecate gimp-image-free-shadow.
	Calling it has no effect any longer.

	* app/pdb/drawable-cmds.c
	* app/pdb/image-cmds.c
	* app/pdb/internal-procs.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.


svn path=/trunk/; revision=25510
2008-04-21 17:20:51 +00:00
Sven Neumann fb80396583 applied patch from Christoph Brill which adds enum values and typedefs
2008-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psp.c: applied patch from Christoph Brill 
which
	adds enum values and typedefs used in newer versions of the PSP
	file format (see bug #120757).


svn path=/trunk/; revision=25509
2008-04-21 16:31:33 +00:00
Alexandre Prokoudine d048f502c4 Updated Russian translation.
2008-04-21  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>

	* ru.po: Updated Russian translation.


svn path=/trunk/; revision=25508
2008-04-21 16:10:29 +00:00
Alexandre Prokoudine 009b7b618e Updated Russian translation.
2008-04-21  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>

	* ru.po: Updated Russian translation.


svn path=/trunk/; revision=25507
2008-04-21 16:09:12 +00:00
Alexandre Prokoudine 8852d103ff Updated Russian translation.
2008-04-21  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>

	* ru.po: Updated Russian translation.


svn path=/trunk/; revision=25506
2008-04-21 16:07:16 +00:00
Alexandre Prokoudine 662b19a15f Updated Russian translation.
2008-04-21  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>

	* ru.po: Updated Russian translation.


svn path=/trunk/; revision=25505
2008-04-21 16:05:48 +00:00
Michael Natterer d000fc748d moving a cast to the right parameter fixes two warnings.
2008-04-21  Michael Natterer  <mitch@gimp.org>

	* libgimpmath/gimpmd5.c (gimp_md5_get_digest): moving a cast to
	the right parameter fixes two warnings.


svn path=/trunk/; revision=25504
2008-04-21 15:39:32 +00:00
Sven Neumann 1fdfd03576 fixed handling of "argc-lower-val-y" PDB parameter.
2008-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve-bend.c (run): fixed handling of
	"argc-lower-val-y" PDB parameter.


svn path=/trunk/; revision=25502
2008-04-21 12:45:52 +00:00
Michael Natterer 4c2a0f58ca replaced unused parameter "context" by "progress" and pass the progress on
2008-04-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-levels.[ch]: replaced unused parameter
	"context" by "progress" and pass the progress on internally.
	Factor common code out to gimp_drawable_levels_internal().

	* tools/pdbgen/pdb/color.pdb: pass progress instead of context.

	* app/pdb/color-cmds.c: regenerated.


svn path=/trunk/; revision=25501
2008-04-20 13:38:13 +00:00
Sven Neumann 311181eedc untabified.
2008-04-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psp.c: untabified.


svn path=/trunk/; revision=25500
2008-04-19 17:59:32 +00:00
Michael Natterer 15dd7ca20e prototype indentation and minor declatation and function reordering for
2008-04-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdata.c: prototype indentation and minor declatation
	and function reordering for the sake of consistency.


svn path=/trunk/; revision=25499
2008-04-19 14:48:50 +00:00
Sven Neumann 83226c8ae5 don't draw the handles on pixel centers, we don't blend between pixel
2008-04-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpblendtool.c (gimp_blend_tool_draw): don't draw 
the
	handles on pixel centers, we don't blend between pixel centers.


svn path=/trunk/; revision=25498
2008-04-18 21:05:29 +00:00
Michael Natterer 7aa177fa01 Add some infrastructure that will be used soon:
2008-04-17  Michael Natterer  <mitch@gimp.org>

	Add some infrastructure that will be used soon:

	* app/plug-in/gimppluginprocframe.[ch]: replace "cleanup" list
	by two lists "image_cleanups" and "item_cleanups" and call
	gimp_plug_in_cleanup() if any of them is non-NULL.

	* app/plug-in/gimpplugin-cleanup.c: add private new() and free()
	functions for GimpPlugInCleanupImage structs and add the same
	infrastructure for GimpPlugInCleanupItem structs which are
	currently unused.


svn path=/trunk/; revision=25497
2008-04-17 17:55:04 +00:00
Michael Natterer f51e5232a7 add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
2008-04-17  Michael Natterer  <mitch@gimp.org>

	* configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS.


svn path=/trunk/; revision=25496
2008-04-17 12:51:29 +00:00
Michael Natterer 8e55accdec remove AC_HEADER_DIRENT, we use GDir all over the place now.
2008-04-17  Michael Natterer  <mitch@gimp.org>

	* configure.in: remove AC_HEADER_DIRENT, we use GDir all over the
	place now.


svn path=/trunk/; revision=25495
2008-04-17 09:29:32 +00:00
Michael Natterer b8d687fec2 remove local "inertia" variable and simply modify the passed
2008-04-16  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-coords.c
	(gimp_display_shell_eval_event): remove local "inertia" variable
	and simply modify the passed "inertia_factor" when needed.


svn path=/trunk/; revision=25494
2008-04-16 15:19:28 +00:00
Sven Neumann 2b06ae659f translate "Decor" as in GIMP 2.4.
2008-04-16  Sven Neumann  <sven@gimp.org>

        * de.po: translate "Decor" as in GIMP 2.4.

svn path=/trunk/; revision=25493
2008-04-16 11:03:09 +00:00
Sven Neumann 5f613135e6 initialize the units vtable in libgimpbase instead of trying to override
2008-04-16  Sven Neumann  <sven@gimp.org>

	* app/config/test-config.c: initialize the units vtable in
	libgimpbase instead of trying to override symbols from it.
	Fixes bug #528160.

svn path=/trunk/; revision=25491
2008-04-16 10:35:52 +00:00
Michael Natterer 5061fb6be0 fix calculation of filter distance, it was missing a 1 / zoom_factor.
2008-04-15  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-coords.c
	(gimp_display_shell_eval_event): fix calculation of filter
	distance, it was missing a 1 / zoom_factor. Moved variables to
	local scope. Remove resundant thistime variable. Turned const
	gdouble into a #define.


svn path=/trunk/; revision=25490
2008-04-15 21:32:00 +00:00
Sven Neumann 266129b39f strip mnemonics from parameter names before passing them to
2008-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (_query.make_params): strip 
mnemonics
	from parameter names before passing them to 
gimp.install_procedure().


svn path=/trunk/; revision=25489
2008-04-14 18:07:37 +00:00
Sven Neumann 9d51e64525 renamed gimp_plug_in_handle_tile_req() to
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimpplugin-message.c: renamed
	gimp_plug_in_handle_tile_req() to 
gimp_plug_in_handle_tile_request().


svn path=/trunk/; revision=25488
2008-04-14 17:50:25 +00:00
Michael Natterer 07708f74bd made messages about killed plug-ins due to invalid tile requests more
2008-04-14  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_tile_req):
	made messages about killed plug-ins due to invalid tile requests
	more verbose. They are good for debugging only and not translated,
	so more info can't hurt. Also fail (kill the plug-in) if a tile is
	requested that lives on the undo stack.


svn path=/trunk/; revision=25487
2008-04-14 15:01:23 +00:00
Sven Neumann df22da37fd formatting.
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppolygonselecttool.c: formatting.

svn path=/trunk/; revision=25486
2008-04-14 12:56:25 +00:00
Michael Natterer 3a2cbab0db simplify and fix logic to do the "right" thing. Hard to describe, try
2008-04-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppolygonselecttool.c
	(gimp_polygon_select_tool_button_release): simplify and fix logic
	to do the "right" thing. Hard to describe, try youself ;)


svn path=/trunk/; revision=25485
2008-04-14 12:50:21 +00:00
Sven Neumann 5ab6f922d2 introduced a #define for the spacing between the icon and the statusbar
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: introduced a #define for the spacing
	between the icon and the statusbar label.

svn path=/trunk/; revision=25484
2008-04-14 11:57:23 +00:00
Michael Natterer 733f73e23f #undef GIMP_DISABLE_DEPRECATED so gimp_memsize_to_string() sees its own
2008-04-14  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpmemsize.c: #undef GIMP_DISABLE_DEPRECATED so
	gimp_memsize_to_string() sees its own prototype.


svn path=/trunk/; revision=25483
2008-04-14 11:34:35 +00:00
Sven Neumann 88325fce62 fixed icon placement for right-to-left render direction.
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_label_expose): 
fixed
	icon placement for right-to-left render direction.


svn path=/trunk/; revision=25482
2008-04-14 11:05:18 +00:00
Sven Neumann a95de7a59c rewritten the code that draws the icon in the statusbar label. The new
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.[ch]: rewritten the code that draws
	the icon in the statusbar label. The new code gives nicer 
spacing.


svn path=/trunk/; revision=25481
2008-04-14 10:10:02 +00:00