1. 21 Apr, 2008 8 commits
    • Michael Natterer's avatar
      Move the shadow tiles from the image to the drawable. Fixes bug #100469. · e5be5664
      Michael Natterer authored
      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
      e5be5664
    • Sven Neumann's avatar
      applied patch from Christoph Brill which adds enum values and typedefs · fb803965
      Sven Neumann authored
      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
      fb803965
    • Alexandre Prokoudine's avatar
      Updated Russian translation. · d048f502
      Alexandre Prokoudine authored
      2008-04-21  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
      
      	* ru.po: Updated Russian translation.
      
      
      svn path=/trunk/; revision=25508
      d048f502
    • Alexandre Prokoudine's avatar
      Updated Russian translation. · 009b7b61
      Alexandre Prokoudine authored
      2008-04-21  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
      
      	* ru.po: Updated Russian translation.
      
      
      svn path=/trunk/; revision=25507
      009b7b61
    • Alexandre Prokoudine's avatar
      Updated Russian translation. · 8852d103
      Alexandre Prokoudine authored
      2008-04-21  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
      
      	* ru.po: Updated Russian translation.
      
      
      svn path=/trunk/; revision=25506
      8852d103
    • Alexandre Prokoudine's avatar
      Updated Russian translation. · 662b19a1
      Alexandre Prokoudine authored
      2008-04-21  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
      
      	* ru.po: Updated Russian translation.
      
      
      svn path=/trunk/; revision=25505
      662b19a1
    • Michael Natterer's avatar
      moving a cast to the right parameter fixes two warnings. · d000fc74
      Michael Natterer authored
      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
      d000fc74
    • Sven Neumann's avatar
      fixed handling of "argc-lower-val-y" PDB parameter. · 1fdfd035
      Sven Neumann authored
      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
      1fdfd035
  2. 20 Apr, 2008 1 commit
    • Michael Natterer's avatar
      replaced unused parameter "context" by "progress" and pass the progress on · 4c2a0f58
      Michael Natterer authored
      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
      4c2a0f58
  3. 19 Apr, 2008 2 commits
  4. 18 Apr, 2008 1 commit
  5. 17 Apr, 2008 3 commits
    • Michael Natterer's avatar
      Add some infrastructure that will be used soon: · 7aa177fa
      Michael Natterer authored
      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
      7aa177fa
    • Michael Natterer's avatar
      add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS. · f51e5232
      Michael Natterer authored
      2008-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
      
      
      svn path=/trunk/; revision=25496
      f51e5232
    • Michael Natterer's avatar
      remove AC_HEADER_DIRENT, we use GDir all over the place now. · 8e55accd
      Michael Natterer authored
      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
      8e55accd
  6. 16 Apr, 2008 3 commits
  7. 15 Apr, 2008 1 commit
    • Michael Natterer's avatar
      fix calculation of filter distance, it was missing a 1 / zoom_factor. · 5061fb6b
      Michael Natterer authored
      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
      5061fb6b
  8. 14 Apr, 2008 13 commits
    • Sven Neumann's avatar
      strip mnemonics from parameter names before passing them to · 266129b3
      Sven Neumann authored
      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
      266129b3
    • Sven Neumann's avatar
      renamed gimp_plug_in_handle_tile_req() to · 9d51e645
      Sven Neumann authored
      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
      9d51e645
    • Michael Natterer's avatar
      made messages about killed plug-ins due to invalid tile requests more · 07708f74
      Michael Natterer authored
      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
      07708f74
    • Sven Neumann's avatar
      formatting. · df22da37
      Sven Neumann authored
      2008-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimppolygonselecttool.c: formatting.
      
      svn path=/trunk/; revision=25486
      df22da37
    • Michael Natterer's avatar
      simplify and fix logic to do the "right" thing. Hard to describe, try · 3a2cbab0
      Michael Natterer authored
      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
      3a2cbab0
    • Sven Neumann's avatar
      introduced a #define for the spacing between the icon and the statusbar · 5ab6f922
      Sven Neumann authored
      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
      5ab6f922
    • Michael Natterer's avatar
      #undef GIMP_DISABLE_DEPRECATED so gimp_memsize_to_string() sees its own · 733f73e2
      Michael Natterer authored
      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
      733f73e2
    • Sven Neumann's avatar
      fixed icon placement for right-to-left render direction. · 88325fce
      Sven Neumann authored
      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
      88325fce
    • Sven Neumann's avatar
      rewritten the code that draws the icon in the statusbar label. The new · a95de7a5
      Sven Neumann authored
      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
      a95de7a5
    • Sven Neumann's avatar
      plug-ins/jpeg/jpeg.h plug-ins/jpeg/jpeg-exif.c rotate the thumbnail · fe5a7bc7
      Sven Neumann authored
      2008-04-14  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/jpeg/jpeg.h
      	* plug-ins/jpeg/jpeg-exif.c
      	* plug-ins/jpeg/jpeg-load.c: rotate the thumbnail according to 
      the
      	EXIF orientation as required by the updated thumbnail spec.
      
      
      svn path=/trunk/; revision=25480
      fe5a7bc7
    • Sven Neumann's avatar
      app/display/gimpdisplayshell.c (gimp_display_shell_show_tooltip) · fea85ea9
      Sven Neumann authored
      2008-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c 
      (gimp_display_shell_show_tooltip)
      	* app/display/gimpstatusbar.c (gimp_statusbar_progress_start)
      	* app/gui/gui.c (gui_menu_show_tooltip): push a NULL stock-id.
      
      
      svn path=/trunk/; revision=25479
      fea85ea9
    • Sven Neumann's avatar
      added a sanity check. · c88bd263
      Sven Neumann authored
      2008-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpstatusbar.c (gimp_statusbar_label_expose): 
      added
      	a sanity check.
      
      	* app/display/gimpdisplayshell-layer-select.c: formatting.
      
      
      svn path=/trunk/; revision=25478
      c88bd263
    • Sven Neumann's avatar
      added stock-id parameters to all statusbar setters. · e7c5bf80
      Sven Neumann authored
      2008-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpstatusbar.[ch]: added stock-id parameters to 
      all
      	statusbar setters.
      
      	* app/display/gimpdisplayshell-title.c: pass NULL as stock-id.
      
      	* app/tools/gimptool.c: pass the tool icon to the statusbar.
      
      	* app/tools/gimpeditselectiontool.c 
      (gimp_edit_selection_tool_start):
      	inherit the tool-info from the parent tool.
      
      
      svn path=/trunk/; revision=25477
      e7c5bf80
  9. 13 Apr, 2008 3 commits
    • Sven Neumann's avatar
      formatting. · 9db8d2ef
      Sven Neumann authored
      2008-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptool.h: formatting.
      
      
      svn path=/trunk/; revision=25476
      9db8d2ef
    • Sven Neumann's avatar
      added "label-scale" style property. · d8ad4cfa
      Sven Neumann authored
      2008-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpunitcombobox.c: added "label-scale" style 
      property.
      
      	* app/display/gimpscalecombobox.[ch]: ditto. Also removed the
      	support for extra action items.
      
      	* app/display/gimpstatusbar.c: changed accordingly.
      
      	* themes/Default/gtkrc
      	* themes/Small/gtkrc: use a smaller font for the combo-box 
      labels
      	in the statusbar.
      
      
      svn path=/trunk/; revision=25475
      d8ad4cfa
    • Michael Natterer's avatar
      minor cosmetics. · af484e2f
      Michael Natterer authored
      2008-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpiscissorstool.c: minor cosmetics.
      
      	* cursors/gimp-tool-cursors.xcf: add the new SELECT modifier.
      
      
      svn path=/trunk/; revision=25474
      af484e2f
  10. 12 Apr, 2008 3 commits
    • Martin Nordholts's avatar
      Applied modified patch from Daniel Hornung that changes the mouse cursor · a8bbf6b2
      Martin Nordholts authored
      2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Applied modified patch from Daniel Hornung that changes the mouse
      	cursor to a "clicking will create a selection"-icon when hovering
      	the center of a pending Scissors Select Tool selection (bug #493370)
      
      	* app/tools/gimpiscissorstool.c
      	(gimp_iscissors_tool_cursor_update): Use the new cursor icon.
      
      	* cursors/modifier-select.png
      	* cursors/xbm/modifier-select.xbm
      	* cursors/xbm/modifier-select-mask.xbm: New cursor icon.
      
      	* cursors/makefile.msc
      	* cursors/Makefile.am 
      	* app/widgets/gimpcursor.c
      	* app/widgets/widgets-enums.h: Changed accordingly.
      
      svn path=/trunk/; revision=25473
      a8bbf6b2
    • Martin Nordholts's avatar
      plug-ins/script-fu/scripts/3d-outline.scm · e946f603
      Martin Nordholts authored
      2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/alien-neon-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/bovinated-logo.scm
      	* plug-ins/script-fu/scripts/chalk.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/chrome-logo.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/frosty-logo.scm
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/glowing-logo.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/neon-logo.scm
      	* plug-ins/script-fu/scripts/script-fu-util.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/t-o-p-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm: Applied patch from
      	Ulf-D. Ehlert that makes the Alpha to Logo-filters more gracefully
      	handle images with many layers (bug #498480).
      
      svn path=/trunk/; revision=25472
      e946f603
    • Martin Nordholts's avatar
      Applied patch from Mark Locascio that makes the center point of rectangles · 626f2093
      Martin Nordholts authored
      2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/core/gimpimage-snap.c (gimp_image_snap_rectangle): Applied
      	patch from Mark Locascio that makes the center point of rectangles
      	snap (bug #527659).
      
      svn path=/trunk/; revision=25471
      626f2093
  11. 11 Apr, 2008 2 commits