1. 21 Jan, 2006 1 commit
    • Simon Budig's avatar
      Added "GTK" category. Fixes bug #328012. · daa2d2fc
      Simon Budig authored
      2006-01-21  Simon Budig  <simon@gimp.org>
      
      	* desktop/gimp.desktop.in.in: Added "GTK" category. Fixes
      	bug #328012.
      
              * tools/pdbgen/pdb/vectors.pdb: removed unused variables.
      	* app/pdb/vectors_cmds.c: regenerated.
      daa2d2fc
  2. 17 Jan, 2006 1 commit
    • Raphael Quinet's avatar
      tools/pdbgen/pdb/buffer.pdb tools/pdbgen/pdb/color.pdb · 3f02051f
      Raphael Quinet authored
      2006-01-17  Raphael Quinet  <raphael@gimp.org>
      
      	* tools/pdbgen/pdb/buffer.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: removed trailing
      	whitespace in the parts of these files generating C code.
      3f02051f
  3. 11 Jan, 2006 2 commits
  4. 05 Jan, 2006 1 commit
  5. 04 Jan, 2006 1 commit
    • Michael Natterer's avatar
      fixed docs for gimp-context-push/pop. · 999f58b8
      Michael Natterer authored
      2006-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/context.pdb: fixed docs for gimp-context-push/pop.
      
      	* app/pdb/context_cmds.c
      	* libgimp/gimpcontext_pdb.c: regenerated.
      999f58b8
  6. 02 Jan, 2006 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/context.pdb added gimp-context-get/set-paint-method which · d78aaac8
      Michael Natterer authored
      2006-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/context.pdb
      	* libgimp/gimp.def: added gimp-context-get/set-paint-method which
      	get/set the context's paint-info by name. Use these functions to
      	stroke with any paint method (still only with its default paint
      	options).
      
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      d78aaac8
  7. 29 Dec, 2005 4 commits
    • Simon Budig's avatar
      new function: image_add_vectors · 0f0a0f4b
      Simon Budig authored
      2005-12-29  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: new function:
      	    image_add_vectors
      
      	* tools/pdbgen/pdb/vectors.pdb: new functions:
      	    vectors_get_strokes
      	    vectors_stroke_get_point_at_dist
      	    vectors_stroke_close
      
      	removed nonfunctional undo code (that does not belong here anyways)
      	and fixed a bug in [...]_cubicto.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      0f0a0f4b
    • Simon Budig's avatar
      extended gimp_bezier_stroke_new_ellipse() with an "angle" parameter. · 3c257b69
      Simon Budig authored
      2005-12-29  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpbezierstroke.[ch]: extended
      	gimp_bezier_stroke_new_ellipse() with an "angle" parameter.
      	* app/vectors/gimpvectors-import.c: changed accordingly, untabbified.
      
      	* tools/pdbgen/pdb/vectors.pdb: added PDB-wrappers for
      	      vectors_bezier_stroke_new_moveto
      	      vectors_bezier_stroke_lineto
      	      vectors_bezier_stroke_conicto
      	      vectors_bezier_stroke_cubicto
      	      vectors_bezier_stroke_new_ellipse
      
      	Undo does not work properly yet.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      3c257b69
    • Michael Natterer's avatar
      renamed GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias · a0d231b3
      Michael Natterer authored
      2005-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): renamed
      	GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias
      	for the latter.
      
      	* libgimp/gimp.h (union _GimpParamData): added back d_path member
      	to maintian source compatibility.
      
      	* tools/pdbgen/pdb.pl
      	* libgimp/gimp.c
      	* app/pdb/procedural_db.c
      	* app/plug-in/plug-in-params.c
      	* libgimpbase/gimpprotocol.[ch]
      	* plug-ins/pygimp/pygimp-pdb.c
      	* plug-ins/script-fu/siod-wrapper.c: s/GIMP_PDB_PATH/GIMP_PDB_VECTORS/
      
      	* app/pdb/image_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimpvectors_pdb.c
      	* tools/pdbgen/enums.pl: regenerated.
      a0d231b3
    • Simon Budig's avatar
      gimp_vectors_[gs]et_locked renamed to _linked for consistency. · 949fa77a
      Simon Budig authored
      2005-12-29  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/vectors.pdb:
      	   gimp_vectors_[gs]et_locked  renamed to _linked for consistency.
      
      	   gimp_vectors_[gs]et_tattoo, gimp_vectors_get_image: new.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpvectors_pdb.[ch]: regenerated
      949fa77a
  8. 28 Dec, 2005 2 commits
    • Simon Budig's avatar
      tools/pdbgen/pdb/image.pdb Added new functions for the vectors PDB API. · cbea6791
      Simon Budig authored
      2005-12-28  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/vectors.pdb: Added new functions for the vectors
      	PDB API. Minor cleanups. Please try to use them and test:
      
      	  gimp_image_get_active_vectors
      	  gimp_image_set_active_vectors
      	  gimp_image_get_vectors_by_tattoo
      	  gimp_image_lower_vectors
      	  gimp_image_lower_vectors_to_bottom
      	  gimp_image_raise_vectors
      	  gimp_image_raise_vectors_to_top
      	  gimp_image_remove_vectors
      
      	  gimp_vectors_get_locked
      	  gimp_vectors_set_locked
      	  gimp_vectors_get_name
      	  gimp_vectors_set_name
      	  gimp_vectors_get_visible
      	  gimp_vectors_set_visible
      	  gimp_vectors_stroke_get_length
      	  gimp_vectors_stroke_remove
      	  gimp_vectors_stroke_scale
      
      	* libgimp/gimp.[ch]: renamed the unused d_path to d_vectors and
      	use it. Untabbified.
      
      	* devel-docs/libgimp/tmpl/gimpvectors.sgml
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]: Regenerated
      
      	* app/vectors/gimpstroke.h: minor cleanup.
      cbea6791
    • Michael Natterer's avatar
      follow paint-info renaming. · fcc8df32
      Michael Natterer authored
      2005-12-28  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/paint_tools.pdb: follow paint-info renaming.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      fcc8df32
  9. 05 Nov, 2005 2 commits
    • Sven Neumann's avatar
      removed calls to the splash update function during initialization of · 5997c7dd
      Sven Neumann authored
      2005-11-05  Sven Neumann  <sven@gimp.org>
      
              * tools/pdbgen/app.pl: removed calls to the splash update function
              during initialization of internal procedures. This only takes time
              and doesn't provide useful information.
      
              * app/pdb/internal_procs.[ch]: regenerated.
      
              * app/pdb/procedural_db.[ch]: changed accordingly.
      
              * core/gimp.c: call the splash update function from here.
      5997c7dd
    • Sven Neumann's avatar
      added some commented-out debug output that can be used to get an idea of · 20a653a5
      Sven Neumann authored
      2005-11-05  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/splash.c: added some commented-out debug output that can
      	be used to get an idea of where the startup time is being spent.
      
      	* app/core/gimp.c
      	* app/pdb/internal_procs.c
      	* app/pdb/procedural_db.c
      	* app/plug-in/plug-ins.c
      	* tools/pdbgen/app.pl: cosmetic changes.
      20a653a5
  10. 29 Oct, 2005 1 commit
  11. 25 Oct, 2005 2 commits
    • Sven Neumann's avatar
      add G_GNUC_INTERNAL to declaration of wrapped PDB functions. · dc4757ce
      Sven Neumann authored
      2005-10-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/lib.pl: add G_GNUC_INTERNAL to declaration of
      	wrapped PDB functions.
      
      	* libgimp/gimpchannel_pdb.h
      	* libgimp/gimpdrawable_pdb.h
      	* libgimp/gimpgimprc_pdb.h
      	* libgimp/gimpimage_pdb.h
      	* libgimp/gimplayer_pdb.h
      	* libgimp/gimpplugin_pdb.h
      	* libgimp/gimpproceduraldb_pdb.h
      	* libgimp/gimpprogress_pdb.h
      	* libgimp/gimpselection_pdb.h
      	* libgimp/gimpunit_pdb.h: regenerated.
      
      	* libgimp/gimptile.h
      	* libgimp/gimpunitcache.h
      	* libgimpthumb/gimpthumb-utils.h
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimphelpui.h: declare internal functions as such
      	using G_GNUC_INTERNAL.
      dc4757ce
    • Sven Neumann's avatar
      added getter and setter for path visibility (bug #319617). · a0fa08c1
      Sven Neumann authored
      2005-10-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/paths.pdb: added getter and setter for path
      	visibility (bug #319617).
      
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* libgimp/gimppaths_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      a0fa08c1
  12. 17 Oct, 2005 2 commits
    • Sven Neumann's avatar
      added missing include · 31a28cf4
      Sven Neumann authored
      31a28cf4
    • Sven Neumann's avatar
      added run-mode parameter to file_open_layer(). · 69122276
      Sven Neumann authored
      2005-10-17  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-open.[ch]: added run-mode parameter to
      	file_open_layer().
      
      	* app/dialogs/file-open-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/widgets/gimplayertreeview.c: pass GIMP_RUN_INTERACTIVE to
      	file_open_layer().
      
      	* tools/pdbgen/pdb/fileops.pdb: export file_open_layer() to the PDB
      	as file-load-layer.
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpfileops_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      69122276
  13. 07 Oct, 2005 1 commit
  14. 30 Sep, 2005 2 commits
    • Michael Natterer's avatar
      app/actions/image-commands.c app/actions/layers-commands.c · e7e2296f
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/view-actions.c
      	* app/core/gimpdrawable-foreground-extract.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpprogress.c
      	* app/dialogs/convert-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpthumbbox.c
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: removed '...' from
      	progress messages. Removed spaces between the text and the '...'
      	in some other places.
      
      	* app/pdb/drawable_transform_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      e7e2296f
    • Sven Neumann's avatar
      app/core/core-enums.[ch] moved GimpGridStyle enum to libgimpbase. · f6b37095
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]
      	* libgimpbase/gimpbaseenums.[ch]: moved GimpGridStyle enum to
      	libgimpbase.
      
      	* app/core/gimpimage-grid.h: indentation.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/grid.pdb: applied slightly modified patch by
      	Sylvain FORET that adds a PDB API for the image grid.
      
      	* app/pdb/grid_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpgrid_pdb.[ch]
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/groups.pl: (re)generated.
      
      	* libgimp/gimp.def
      	* libgimpbase/gimpbase.def: updated.
      f6b37095
  15. 29 Sep, 2005 1 commit
    • Michael Natterer's avatar
      removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp · e3da6be9
      Michael Natterer authored
      2005-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
      	gimp_progress_set_text() so it shows up as libgimp function again.
      
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimpprogress.[ch]: changed the old
      	gimp_progress_set_text() to gimp_progress_set_text_printf() and
      	added gimp_progress_init_printf(). (did this because the method of
      	calling init(NULL) followed by set_text("foo") caused popup
      	progress windows to be resized after they were shown).
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
      	init(NULL) plus set_text(foo) and changed users of set_text() to
      	use set_text_printf().
      e3da6be9
  16. 27 Sep, 2005 2 commits
    • Michael Natterer's avatar
      added gimp-buffers-get-list, should probably get its own PDB group. · 4503b4a2
      Michael Natterer authored
      2005-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/buffer.pdb: added gimp-buffers-get-list,
      	should probably get its own PDB group.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/buffer_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpbuffer_pdb.[ch]: regenerated.
      4503b4a2
    • Michael Natterer's avatar
      added gimp_buffer_get_bytes() and gimp_buffer_get_image_type(). · 30f1e8ef
      Michael Natterer authored
      2005-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbuffer.[ch]: added gimp_buffer_get_bytes()
      	and gimp_buffer_get_image_type().
      
      	* tools/pdbgen/pdb/edit.pdb: removed edit_named_rename() and
      	edit_named_delete().
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/buffer.pdb: new PDB group featuring
      	buffer_rename(), delete(), get_width(), get_height(), get_bytes(),
      	get_image_type().
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/buffer_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbuffer_pdb.[ch]
      	* libgimp/gimpedit_pdb.[ch]: (re)generated.
      30f1e8ef
  17. 26 Sep, 2005 1 commit
  18. 24 Sep, 2005 1 commit
  19. 09 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Added parent window API to the GimpProgress interface and to the libgimp · b10adabb
      Michael Natterer authored
      2005-09-09  Michael Natterer  <mitch@gimp.org>
      
      	Added parent window API to the GimpProgress interface and to
      	the libgimp progress stuff. Might look strange, but does
      	the right thing in almost all cases (image window, file dialog,
      	script-fu dialog etc). Fixes bug #62988.
      
      	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
      	which should return a toplevel window ID if the progress is in a
      	window that wants to be the transient parent of plug-in dialogs.
      
      	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
      	function which returns the window handle of a GtkWindow's GdkWindow.
      
      	* app/widgets/gimpfiledialog.c: implement ::get_window().
      
      	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.
      
      	* app/gui/gui-vtable.c: changed accordingly.
      
      	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
      	added GIMP_PROGRESS_COMMAND_GET_WINDOW.
      
      	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
      	new function. Also renamed some functions to match the
      	GimpProgress interface, and not the legacy PDB procedure names.
      
      	* tools/pdbgen/pdb/progress.pdb
      	* app/core/gimppdbprogress.c: implement get_window() on both
      	sides of the wire, keeping backward compatibility (hopefully).
      
      	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
      	and added gimp_progress_install_vtable() which takes a vtable with
      	padding to be extensible. Added get_window() vtable entry and
      	dispatch it accordingly. Also added pulse() which was implemented
      	in a hackish way before. Everything is of course backward
      	compatible.
      
      	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
      	so a plug-in dialog containing a progress can be the transient
      	parent of another dialog in another plug-in.
      
      	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
      	which returns a foreign GdkWindow of this plug-ins progress
      	window.
      
      	Renamed gimp_window_set_transient_for_default_display() to
      	gimp_window_set_transient() and make it use the progress' window
      	handle instead of the display's (which is the right thing to do in
      	almost all cases).
      
      	* libgimp/gimp.def
      	* libgimp/gimpui.def: add the new functions.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* plug-ins/*/*.c: follow API change.
      b10adabb
  20. 05 Sep, 2005 2 commits
    • Sven Neumann's avatar
      Address bug #307971: · ec56ef9d
      Sven Neumann authored
      2005-09-05  Sven Neumann  <sven@gimp.org>
      
      	Address bug #307971:
      
      	* app/core/gimp-gui.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/gui/gui-vtable.c
      	* tools/pdbgen/pdb/display.pdb: added PDB function to obtain a
      	window handle on an image display.
      
      	* app/pdb/display_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpdisplay_pdb.[ch]: regenerated.
      
      	* libgimp/gimpui.[ch]: added functions to set a GtkWindow transient
      	to an image display.
      
      	* plug-ins/common/gauss.c: use the new function exemplarily.
      
      	* libgimp/gimp.def
      	* libgimp/gimpui.def: updated.
      ec56ef9d
    • Michael Natterer's avatar
      applied patch from David Gowers which adds "gimp-edit-named-delete". · dc65f101
      Michael Natterer authored
      2005-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: applied patch from David Gowers which
      	adds "gimp-edit-named-delete". Addresses bug #315130. Added
      	"gimp-edit-named-rename" additionally.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      dc65f101
  21. 02 Sep, 2005 2 commits
    • Michael Natterer's avatar
      don't create a display here. · 89bb3fff
      Michael Natterer authored
      2005-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.[ch] (gimp_edit_paste_as_new): don't create a
      	display here.
      
      	(gimp_edit_named_cut)
      	(gimp_edit_named_copy)
      	(gimp_edit_named_copy_visible): new functions containing named
      	buffer wrappers around the functions affecting the global buffer
      	only.
      
      	* app/actions/edit-commands.c: use the new functions instead of
      	implementing them here, create a display for the image returned
      	by paste as new.
      
      	* app/actions/buffers-commands.c
      	* app/widgets/gimptoolbox-dnd.c: create displays here too.
      
      	* tools/pdbgen/pdb/edit.pdb: added wrappers for paste as new and
      	wrappers for all the cut/copy/paste named stuff.
      	Fixes bug #315130. Cleaned up and de-obfuscated.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      89bb3fff
    • Michael Natterer's avatar
      don't quit the main loop after transferring the data to GTK, it needs a · 93c5843f
      Michael Natterer authored
      2005-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* tools/test-clipboard.c (test_clipboard_copy_callback): don't
      	quit the main loop after transferring the data to GTK, it needs a
      	running main loop to get the chunks tranferred to X.
      93c5843f
  22. 22 Aug, 2005 1 commit
  23. 05 Aug, 2005 1 commit
  24. 03 Aug, 2005 1 commit
    • Sven Neumann's avatar
      added GIMP_UNDO_FOREGROUND_SELECT. · 94bef475
      Sven Neumann authored
      2005-08-03  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: added GIMP_UNDO_FOREGROUND_SELECT.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpforegroundselecttool-undo.[ch]: added stubs for
      	undo in the new foreground selection tool.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: include gimpbase.h for
      	gimp_canonicalize_identifier().
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      
      	* app/file/file-utils.c: fixed signedness warning.
      94bef475
  25. 02 Aug, 2005 1 commit
    • Michael Natterer's avatar
      Changed naming scheme for PDB procedure names from · 853f04d5
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	Changed naming scheme for PDB procedure names from
      	random_crap_that_traditionally_has_underscores to
      	enforced-canonical-identifiers. I'm pretty sure some things are
      	broken after this commit. More changes to come...
      
      	* libgimpbase/gimpbase.def
      	* libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier().
      
      	* app/pdb/procedural_db.[ch] (struct ProcRecord): added
      	"gchar *original_name" to keep a procedure's original name as
      	reigstered by plug-ins (compat cruft).
      
      	(procedural_db_init_procs): canonicalized list of deprecated
      	procedures.
      
      	* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free
      	original_name.
      
      	* app/plug-in/plug-in-message.c: canonicalize procedure names
      	which are received over the wire.
      
      	* app/plug-in/plug-in-rc.c: serialize the original_name and create
      	the canonicalized name on-the-fly when deserializing.
      
      	* app/plug-in/plug-in-run.c: pass the original_name to plug-ins
      	when running them because they strcmp() the passed procedure name.
      
      	* app/plug-in/plug-ins.c (plug_ins_add_to_db): pass
      	canonical procedure names to procedural_db_execute().
      
      	(plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf".
      
      	* app/xcf/xcf.c: changed static XCF procedures accordingly.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/lib.pl: do some trivial substitutions to generate
      	canonicalized names in app/, and C identifiers with underscores in
      	libgimp/.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: canonicaloized procedure
      	names in calls to std_pdb_deprecated() and in procedure names in
      	generated C code.
      
      	* app/pdb/*_cmds.c
      	* libgimp/*_pdb.c: regenerated.
      853f04d5
  26. 29 Jul, 2005 2 commits
    • Sven Neumann's avatar
      added a progress parameter. · 2580f0c0
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-foreground-extract.[ch]: added a progress
      	parameter.
      
      	* app/tools/gimpforegroundselecttool.[ch]: changed the "select"
      	method to take a GimpDisplay instead of a GimpImage.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* app/tools/gimpforegroundselecttool.c: changed accordingly.
      
      	* app/pdb/drawable_cmds.c: regenerated.
      2580f0c0
    • Sven Neumann's avatar
      added GimpForegroundExtractMode in preparation for other implementations · 23666d8f
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: added GimpForegroundExtractMode
      	in preparation for other implementations to be added in the future.
      
      	* libgimp/gimpenums.c.tail
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/gimpdrawable-foreground-extract.[ch]
      	* app/tools/gimpforegroundselecttool.c
      	* tools/pdbgen/pdb/drawable.pdb: added the mode parameter.
      
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      23666d8f
  27. 26 Jul, 2005 1 commit