1. 04 Apr, 2008 7 commits
    • Sven Neumann's avatar
      changed the names of the generated files. · b8e46959
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: changed the names of the generated files.
      
      	* app/pdb/Makefile.am
      	* app/pdb/*cmds.c: renamed.
      
      svn path=/trunk/; revision=25359
      b8e46959
    • Sven Neumann's avatar
      cosmetic change in the generated code. · ccce5a29
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: cosmetic change in the generated code.
      
      	* app/pdb/*_cmds.c: regenerated.
      
      svn path=/trunk/; revision=25358
      ccce5a29
    • Sven Neumann's avatar
      cosmetics. · 18b7d42c
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb: cosmetics.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      svn path=/trunk/; revision=25357
      18b7d42c
    • Sven Neumann's avatar
      added test for floating items. · 62e6240b
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimppdb-utils.[ch]: added test for floating items.
      
      	* tools/pdbgen/pdb/image.pdb: use it to improve error handling.
      
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25356
      62e6240b
    • Sven Neumann's avatar
      improved error handling. · 472fa72b
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: improved error handling.
      
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25355
      472fa72b
    • Sven Neumann's avatar
      added utility functions to check the image base type. · 54e8c482
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimppdb-utils.[ch]: added utility functions to check 
      the
      	image base type.
      
      	* tools/pdbgen/pdb/convert.pdb: use it so that we get a proper
      	error set on failure.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25354
      54e8c482
    • Sven Neumann's avatar
      minor cleanup. · 6f2e7768
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-convert.[ch]
      	(gimp_image_convert_set_dither_matrix): minor cleanup.
      
      	* tools/pdbgen/pdb/convert.pdb: changed accordingly.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25353
      6f2e7768
  2. 03 Apr, 2008 2 commits
    • Michael Natterer's avatar
      app/pdb/gimppdb-utils.c GIMP_PDB_CALLING_ERROR and · 953a62b6
      Michael Natterer authored
      2008-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/gimppdb-utils.c
      	* tools/pdbgen/pdb/text_layer.pdb: GIMP_PDB_CALLING_ERROR and
      	GIMP_PDB_EXECUTION_ERROR are not from the GimpPdbErrorCode
      	enum. Use GIMP_PDB_INVALID_ARGUMENT instead.
      
      	* app/pdb/text_layer_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25351
      953a62b6
    • Michael Natterer's avatar
      don't accept palettes with more than 256 colors. · 356d689e
      Michael Natterer authored
      2008-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-convert.c (gimp_image_convert): don't accept
      	palettes with more than 256 colors.
      
      	* tools/pdbgen/pdb/convert.pdb: fail here too for palettes
      	with > 256 colors. Fixes bug #525471.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25348
      356d689e
  3. 02 Apr, 2008 9 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 98e0671a
      William Skaggs authored
      	* app/text/gimptextlayout.c
      	* app/tools/gimptexttool.[ch]
      	* app/tools/gimprectangletool.[ch]
      	* app/tools/gimptextoptions.c: allow resizing of text
      	box.  This is work in progress, and needs some tweaks
      	and fixes.  See bug #122707.
      
      svn path=/trunk/; revision=25344
      98e0671a
    • Sven Neumann's avatar
      tools/pdbgen/Makefile.am new text layer PDB API created by Marcus Heese · d331fbd3
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/text_layer.pdb: new text layer PDB API 
      created
      	by Marcus Heese (see bug #164539).
      
      	* app/pdb/Makefile.am
      	* app/pdb/text_layer_cmds.c: new generated file.
      
      	* libgimp/Makefile.am
      	* libgimp/gimptextlayer_pdb.[ch]: new generated files.
      
      	* app/pdb/internal_procs.[ch]
      	* libgimp/gimp_pdb.h
      	* tools/pdbgen/groups.pl: regenerated.
      
      
      svn path=/trunk/; revision=25342
      d331fbd3
    • Sven Neumann's avatar
      special treatment for gimppdberror.h to get a saner include order. · 078a4b64
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: special treatment for gimppdberror.h to 
      get
      	a saner include order.
      
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25341
      078a4b64
    • Sven Neumann's avatar
      added gimp_pdb_layer_is_text_layer(). · bd1feb95
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimppdb-utils.[ch]: added 
      gimp_pdb_layer_is_text_layer().
      
      
      svn path=/trunk/; revision=25339
      bd1feb95
    • Sven Neumann's avatar
      fixed bug in last commit. · c5143ab8
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/stddefs.pdb: fixed bug in last commit.
      
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpdrawable_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=25338
      c5143ab8
    • Sven Neumann's avatar
      added shortcut for contributions from Marcus Heese. · 52c09fcf
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/stddefs.pdb: added shortcut for contributions 
      from 
      	Marcus Heese.
      
      	* tools/pdbgen/pdb/drawable.pdb: added 
      gimp_drawable_is_text_layer(),
      	taken from the patch attached to bug #164539.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      
      
      svn path=/trunk/; revision=25337
      52c09fcf
    • Sven Neumann's avatar
      removed frame around the mode radio buttons (bug #525747). · 842d68b4
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpperspectiveclonetool.c: removed frame around the
      	mode radio buttons (bug #525747).
      
      	* app/tools/gimpdodgeburntool.c: relabelled "Mode" frame to 
      "Range".
      
      
      svn path=/trunk/; revision=25336
      842d68b4
    • Sven Neumann's avatar
      use gimp_pango_layout_set_weight(). · 9d9726e4
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/splash.c: use	gimp_pango_layout_set_weight().
      
      svn path=/trunk/; revision=25335
      9d9726e4
    • Sven Neumann's avatar
      don't set a help-id on items in the Open Recent menu. · 32640a6c
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/file-actions.c: don't set a help-id on items in the
      	Open Recent menu.
      
      	* app/menus/file-menu.c (file_menu_setup): show a larger thumbnail
      	in the tooltips for recently used images.
      
      svn path=/trunk/; revision=25332
      32640a6c
  4. 31 Mar, 2008 3 commits
  5. 30 Mar, 2008 8 commits
    • Martin Nordholts's avatar
      Make all code paths result in a call to gtk_drag_finish() if we return · 16f4a5d5
      Martin Nordholts authored
      2008-03-30  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/widgets/gimpcontainertreeview-dnd.c
      	(gimp_container_tree_view_drag_drop): Make all code paths result
      	in a call to gtk_drag_finish() if we return TRUE. Fixes bug
      	#317992.
      
      svn path=/trunk/; revision=25320
      16f4a5d5
    • Sven Neumann's avatar
      code cleanup. · e87bfe7a
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimparea.c (gimp_area_list_process): code cleanup.
      
      
      svn path=/trunk/; revision=25319
      e87bfe7a
    • Sven Neumann's avatar
      don't leak the memory allocated for the GSList. · cc594327
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimparea.c (gimp_area_list_free): don't leak the 
      memory
      	allocated for the GSList.
      
      
      svn path=/trunk/; revision=25317
      cc594327
    • Sven Neumann's avatar
      added a finalizer that frees the memory allocated for the cell lists. · b131f801
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.c: added a finalizer that 
      frees
      	the memory allocated for the cell lists.
      
      
      svn path=/trunk/; revision=25316
      b131f801
    • Sven Neumann's avatar
      don't leak the grid. · a16449a0
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      
      	* app/xcf/xcf-load.c (xcf_load_image): don't leak the grid.
      
      
      svn path=/trunk/; revision=25314
      a16449a0
    • Sven Neumann's avatar
      never set the dest_inc and src_dec variables to zero. · 465b4e76
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c 
      (gimp_display_shell_scale_changed):
      	never set the dest_inc and src_dec variables to zero.
      
      
      svn path=/trunk/; revision=25313
      465b4e76
    • Sven Neumann's avatar
      added new function gimp_display_shell_unset_cursor(). · 9acc157a
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-cursor.[ch]: added new function
      	gimp_display_shell_unset_cursor().
      	(gimp_display_shell_real_set_cursor): deal with cursor_type -1 
      and
      	change the cursor to the default desktop cursor. Fixes warnings 
      on
      	image load.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_empty):
      	use gimp_display_shell_unset_cursor().
      
      
      svn path=/trunk/; revision=25312
      9acc157a
    • Sven Neumann's avatar
      Merged Bill's changes for bug #521433 from trunk with some minor cleanups: · c2bda3c9
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      
      	Merged Bill's changes for bug #521433 from trunk with some minor
      	cleanups:
      
      	* app/paint/gimpbrushcore.[ch]: made
      	gimp_brush_core_get_brush_mask() public.
      
      	* app/paint/gimpheal.c: respect the brush mask.
      
      
      svn path=/trunk/; revision=25309
      c2bda3c9
  6. 29 Mar, 2008 6 commits
    • Michael Natterer's avatar
      app/display/gimpcanvas.c app/widgets/gimpcoloreditor.c · 8088b64c
      Michael Natterer authored
      2008-03-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpcanvas.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcolorframe.c
      	* app/widgets/gimpcursorview.c
      	* app/widgets/gimpcurveview.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdockseparator.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpmenudock.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/widgets/gimptoolbox.c: chain up unconditionally in
      	GtkWidget::style_set() because there is has a default
      	implementation.
      
      
      svn path=/trunk/; revision=25307
      8088b64c
    • Michael Natterer's avatar
      when the "Auto" button gets enabled, always copy both display and image to · e21528d4
      Michael Natterer authored
      2008-03-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpmenudock.c (gimp_menu_dock_auto_clicked): when
      	the "Auto" button gets enabled, always copy both display and image
      	to the local context (because there can be displays without image
      	now).
      
      
      svn path=/trunk/; revision=25306
      e21528d4
    • Michael Natterer's avatar
      remove temporary "object" variable, it's prefectly fine to say · 943a0eba
      Michael Natterer authored
      2008-03-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/gui-vtable.c (gui_display_create): remove temporary
      	"object" variable, it's prefectly fine to say GIMP_DISPLAY() on a
      	NULL pointer.
      
      
      svn path=/trunk/; revision=25305
      943a0eba
    • Michael Natterer's avatar
      <gdk/gdkx.h> needs #ifdef GDK_WINDOWING_X11. · a8156adf
      Michael Natterer authored
      2008-03-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/gui-vtable.c: <gdk/gdkx.h> needs #ifdef GDK_WINDOWING_X11.
      
      	* app/gui/gui.c: remove the include i accidentially added here.
      
      
      svn path=/trunk/; revision=25298
      a8156adf
    • Mukund Sivaraman's avatar
      Use #warning only if compiler is gcc. · 3c6b68c9
      Mukund Sivaraman authored
      2008-03-29  Mukund Sivaraman  <muks@mukund.org>
      
              * app/core/gimpdrawable-operation.c: Use #warning only if
              compiler is gcc.
      
      
      svn path=/trunk/; revision=25297
      3c6b68c9
    • Mukund Sivaraman's avatar
      Fixes for some Sparse reported issues in app, libgimp*/ · 9ed6b3c7
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              Fixes for some Sparse reported issues in app, libgimp*/
      
              * app/gui/gui-vtable.c: Included <gdk/gdkx.h>
      
              * libgimp/gimpprocview.c: author, date, copyright are pointers.
      
              * libgimpwidgets/gimpcolorprofilestore.c: Last argument of
              g_scanner_scope_add_symbol() is a pointer.
      
      
      svn path=/trunk/; revision=25293
      9ed6b3c7
  7. 28 Mar, 2008 5 commits
    • Mukund Sivaraman's avatar
      Fixes for some Sparse reported issues in app/ · 0708ffea
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              Fixes for some Sparse reported issues in app/
      
              * app/core/gimpdrawable-operation.c: Added prototype for            
              gegl_node_add_child().
      
              * app/core/gimpcurve.c: Remove C99 code       
                                      
              * app/tools/gimpcurvestool.c 
              * app/tools/gimpperspectiveclonetool.c 
              * app/vectors/gimpstroke.c: Mark functions as static.
      
              * app/base/siox.c: state is a pointer.
      
              * app/plug-in/gimppluginprocframe.c: values is a pointer.
      
              * app/plug-in/plug-in-rc.c: plug_in_rc_parse() returns a pointer.
      
              * app/plug-in/gimpinterpreterdb.c: Check program[0] for '\0'
              instead of the pointer program itself.
      
      
      svn path=/trunk/; revision=25292
      0708ffea
    • Michael Natterer's avatar
      #include <gdk/gdkx.h> · a25d7c04
      Michael Natterer authored
      2008-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/gui.c: #include <gdk/gdkx.h>
      
      
      svn path=/trunk/; revision=25290
      a25d7c04
    • Sven Neumann's avatar
      bumped glib version. · 369738ea
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* app/sanity.c (sanity_check_glib): bumped glib version.
      
      svn path=/trunk/; revision=25286
      369738ea
    • Sven Neumann's avatar
      deprecate gimp_memsize_to_string() in favor of · fc93cc19
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpmemsize.[ch]: deprecate gimp_memsize_to_string()
      	in favor of g_format_size_for_display().
      
      	* app/actions/edit-commands.c
      	* app/core/gimpimagefile.c
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/image-scale-dialog.c
      	* app/display/gimpdisplayshell-title.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimpthumbbox.c
      	* plug-ins/uri/uri-backend-gnomevfs.c
      	* plug-ins/uri/uri-backend-gvfs.c
      	* plug-ins/uri/uri-backend-libcurl.c
      	* plug-ins/uri/uri-backend-wget.c: use g_format_size_for_display()
      	instead of gimp_memsize_to_string().
      
      svn path=/trunk/; revision=25285
      fc93cc19
    • Sven Neumann's avatar
      app/dialogs/tips-parser.[ch] improved the creation of fallback tips in · 2206c6a8
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/tips-parser.[ch]
      	* app/dialogs/tips-dialog.c: improved the creation of fallback
      	tips in case of an error parsing the tips file.
      	(tips_dialog_create): simplified dialog layout.
      	
      	* app/dialogs/preferences-dialog.c: removed the check button for
      	the "show-tips" option.
      
      
      svn path=/trunk/; revision=25270
      2206c6a8