1. 30 Nov, 2006 1 commit
  2. 23 Nov, 2006 1 commit
    • Simon Budig's avatar
      renamed gimp_vectors_new_from_* to gimp_vectors_import_from_*, as · d87e5738
      Simon Budig authored
      2006-11-23  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/vectors.pdb: renamed gimp_vectors_new_from_*
      	to gimp_vectors_import_from_*, as discussed in bug #378394.
      
      	* plug-ins/common/svg.c
      	* libgimp/gimp.def: changed accordingly.
      
      	* libgimp/gimpvectors_pdb.[ch]
      	* app/pdb/vectors_cmds.c: regenerated.
      d87e5738
  3. 22 Nov, 2006 1 commit
    • Simon Budig's avatar
      Added functions to easily determine the position of a · ff68bde6
      Simon Budig authored
      2006-11-22  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: Added functions to easily determine
      	the position of a layer/channel/vectors object in its respective
      	stack.
      
      	* libgimp/gimp.def: added new symbols
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      ff68bde6
  4. 06 Nov, 2006 1 commit
    • Sven Neumann's avatar
      only save a thumbnail if we are saving as XCF. Fixes bug #25272. · f544132c
      Sven Neumann authored
      2006-11-05  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-save.c (file_save): only save a thumbnail if we
      	are saving as XCF.  Fixes bug #25272.
      
      	* tools/pdbgen/pdb/fileops.pdb: create a libgimp wrapper for the
      	"gimp-file-save-thumbnail" procedure.
      
      	* libgimp/gimpfileops_pdb.[ch]: regenerated.
      
      	* plug-ins/common/compressor.c (save_image): ask the core to
      save
      	a thumbnail for compressed XCF files.
      f544132c
  5. 03 Nov, 2006 1 commit
    • Michael Natterer's avatar
      added value GIMP_UNDO_GROUP_LAYER_ADD. · 725a4e41
      Michael Natterer authored
      2006-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch] (enum GimpUndoType): added value
      	GIMP_UNDO_GROUP_LAYER_ADD.
      
      	* app/file/file-open.[ch]: changed file_open_layer() to
      	file_open_layers(), added parameter "gboolean merge_visible",
      	return a GList of layers.
      
      	* app/dialogs/file-open-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/widgets/gimplayertreeview.c: pass merge_visible = FALSE and
      	add all returned layers to the image. Fixes bug #358082.
      	(contains lots of duplicated code, will factor that out later).
      
      	* tools/pdbgen/pdb/fileops.pdb (load_layer): pass merge_visible = TRUE
      	(load_layers): new wrapper which returns all the image's layers.
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpfileops_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      725a4e41
  6. 30 Oct, 2006 1 commit
    • Simon Budig's avatar
      Added missing gimp-version symbols. · 87e8ad56
      Simon Budig authored
      2006-10-31  Simon Budig  <simon@gimp.org>
      
      	* libgimp/gimp.def: Added missing gimp-version symbols.
      
      	* tools/pdbgen/pdb/vectors.pdb: force the libgimp-API to return
      	success values for the gimp_vectors_new_from_*  functions.
      
      	* libgimp/gimpvectors_pdb.[ch]: regenerated
      
      	* plug-ins/pygimp/gimpmodule.c: changed accordingly, untabbified.
      
      	* plug-ins/common/svg.c: Don't use deprecated API, untabbified.
      87e8ad56
  7. 26 Oct, 2006 1 commit
    • Simon Budig's avatar
      app/vectors/Makefile.am app/vectors/gimpstroke.h new factory for · 122faea7
      Simon Budig authored
      2006-10-26  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/Makefile.am
      	* app/vectors/gimpstroke.h
      	* app/vectors/gimpstroke-new.c: new factory for GimpStrokes.
      
      	* tools/pdbgen/pdb/vectors.pdb: use it for
      	gimp_vectors_stroke_new_from_points()
      
      	* libgimp/gimp.def: added new symbol
      
      	* tools/pdbgen/pdb/paths.pdb: deprecated completely! Yay!
      
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimppaths_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      122faea7
  8. 25 Oct, 2006 5 commits
    • Simon Budig's avatar
      added gimp_edit_stroke_vectors () deprecated gimp_path_stroke_current () · 0de5d32f
      Simon Budig authored
      2006-10-26  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_stroke_vectors ()
      	* tools/pdbgen/pdb/paths.pdb: deprecated gimp_path_stroke_current ()
      
      	* libgimp/gimp.def: updated.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* devel-docs/libgimp/tmpl/gimppaths.sgml
      	* libgimp/gimpedit_pdb.[ch]
      	* libgimp/gimppaths_pdb.[ch]: regenerated.
      0de5d32f
    • Michael Natterer's avatar
      removed gimp-paths-import-string, it didn't exist in 2.2 and therefore · db6ee23c
      Michael Natterer authored
      2006-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/paths.pdb: removed gimp-paths-import-string, it
      	didn't exist in 2.2 and therefore doesn't need to be deprecated.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* libgimp/gimppaths_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      db6ee23c
    • Simon Budig's avatar
      Oops. Need to specify both pdb-skip and skip. · a8593d81
      Simon Budig authored
      2006-10-25  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/vectors-enums.h: Oops. Need to specify both
      	pdb-skip and skip.
      
      	* libgimp/gimp.def
      	* libgimpconfig/gimpconfig.def
      	* libgimpmath/gimpmath.def
      	* libgimpthumb/gimpthumb.def
      	* libgimpwidgets/gimpwidgets.def: .def-file maintenance. Hope my
      	changes are correct...
      
      	With the help from
      	   nm .libs/libgimpfoo-2.0.so |\
      	   sed -ne "s/.* T \([a-zA-Z0-9][a-zA-Z0-9_]*\)/\t\1/p" |\
      	   (echo EXPORTS ; LC_ALL=C sort )
      
      	* libgimpwidgets/gimppageselector.c: marked stretch_frame_image()
      	as static.
      
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpenums.h
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* devel-docs/libgimp/tmpl/gimpfontselectbutton.sgml: this changed
      	again. WTF?
      a8593d81
    • Simon Budig's avatar
      388c0709
    • Simon Budig's avatar
      added Symbols to libgimp/gimp.def · a0d56120
      Simon Budig authored
      a0d56120
  9. 24 Oct, 2006 1 commit
    • Simon Budig's avatar
      app/vectors/Makefile.am app/vectors/vectors-enums.h added new file for the · f5732151
      Simon Budig authored
      2006-10-24  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/Makefile.am
      	* app/vectors/vectors-enums.h
      	* app/vectors/vectors-types.h: added new file for the vectors enums,
      	adjusted Makefile.am for the generation of vectors-enums.c
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/vectors.pdb: Added implementation for
      	gimp-vectors-stroke-get-points which returns the control points for
      	the stroke.
      	Renamed gimp-vectors-stroke-remove to gimp-vectors-remove-stroke.
      
      	ATTENTION: this breaks scripts using this function, a simple name
      	change is enough to make it work again.
      	Also please note that yosh reordered the return values of
      	gimp-vectors-stroke-interpolate, so your scripts need adjustment
      	there as well.
      
              * tools/pdbgen/pdb/paths.pdb: deprecate gimp-path-get-points. Yay!
      
      	* libgimp/gimp.def: added new symbol
      
      	* plug-ins/pygimp/pygimp-vectors.c: reflect name change of
      	gimp_vectors_remove_stroke ().
      
      	* app/vectors/vectors-enums.c
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/vectors_cmds.c
      	* devel-docs/libgimp/tmpl/gimpvectors.sgml
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpenums.h
      	* libgimp/gimppaths_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      f5732151
  10. 20 Oct, 2006 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/stddefs.pdb added wrapper for gimp-round-rect-select. Added · 046fa38b
      Michael Natterer authored
      2006-10-20  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/stddefs.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: added wrapper for
      	gimp-round-rect-select. Added feather_radius_x and _y to
      	gimp-by-color-select-full and gimp-fuzzy-select-full.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/selection_tools_cmds.c
      	* libgimp/gimpselectiontools_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      046fa38b
  11. 15 Aug, 2006 1 commit
    • Sven Neumann's avatar
      app/core/core-enums.h tools/pdbgen/pdb/edit.pdb applied patch from David · 0b5a30d1
      Sven Neumann authored
      2006-08-15  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: applied patch from David
      	Gowers that adds extended PDB interface for gimp-edit-bucket-fill,
      	gimp-by-color-select and gimp-fuzzy-select. Fixes bugs #348291 and
      	#347499.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/selection_tools_cmds.c
      	* libgimp/gimpedit_pdb.[ch]
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpenums.h
      	* libgimp/gimpselectiontools_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/gimp.def: updated.
      0b5a30d1
  12. 28 Jul, 2006 1 commit
    • Simon Budig's avatar
      added the new symbol · 990e85e2
      Simon Budig authored
      2006-07-28  Simon Budig  <simon@gimp.org>
      
      	* libgimp/gimp.def: added the new symbol
      
      	* tools/pdbgen/pdb/vectors.pdb: cosmetics.
      
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      990e85e2
  13. 05 Jul, 2006 1 commit
  14. 02 Jun, 2006 1 commit
  15. 01 Jun, 2006 1 commit
    • Sven Neumann's avatar
      Added basic framework for plug-ins to access the use_cpu_accel · 6c25ae93
      Sven Neumann authored
      2006-06-01  Sven Neumann  <sven@gimp.org>
      
      	Added basic framework for plug-ins to access the use_cpu_accel
      	configuration (bug #342860):
      
      	* app/composite/gimp-composite.[ch]: added new function
      	gimp_composite_use_cpu_accel().
      
      	* libgimpbase/gimpprotocol.[ch]: added use_cpu_accel to the config
      	message.
      
      	* app/plug-in/gimppluginmanager-call.c: pass the return value of
      	gimp_composite_use_cpu_accel() for config.use_cpu_accel.
      
      	* libgimp/gimp.[ch]: make the config value accessible by means of
      	a new function gimp_use_cpu_accel().
      
      	* libgimp/gimp.def: updated.
      6c25ae93
  16. 22 Mar, 2006 2 commits
    • Michael Natterer's avatar
      reordered vectors procedures. · de7546f5
      Michael Natterer authored
      2006-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: reordered vectors procedures.
      
      	* tools/pdbgen/pdb/parasite.pdb: removed all utility functions
      	and added parasite procedures for vectors.
      
      	* tools/pdbgen/pdb/paths.pdb: removed get_visible() and
      	set_visible(), deprecated all procedures that are already
      	implemented in the vectors namespace.
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/vectors.pdb: minor cleanup.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpparasite_pdb.[ch]
      	* libgimp/gimppaths_pdb.[ch]
      	* libgimp/gimpvectors_pdb.c: regenerated.
      de7546f5
    • Michael Natterer's avatar
      export GimpBrushGeneratedShape to the PDB. · 2368a6a3
      Michael Natterer authored
      2006-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h: export GimpBrushGeneratedShape to the PDB.
      
      	* tools/pdbgen/pdb/brush.pdb: use it instead of int32.
      
      	* libgimp/gimp.def: add gimp_brush_generated_shape_get_type().
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/fonts.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/misc.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: more perl/C code separation,
      	removed some more utility functions, cleanup.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/enums.pl
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpenums.h: regenerated.
      2368a6a3
  17. 02 Jan, 2006 2 commits
    • Simon Budig's avatar
      added a bunch of missing symbols. · dd564add
      Simon Budig authored
      2006-01-02  Simon Budig  <simon@gimp.org>
      
      	* libgimp/gimp.def: added a bunch of missing symbols.
      dd564add
    • 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
  18. 25 Oct, 2005 1 commit
    • 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
  19. 17 Oct, 2005 1 commit
    • 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
  20. 30 Sep, 2005 1 commit
    • 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
  21. 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
  22. 28 Sep, 2005 1 commit
    • Tor Lillqvist's avatar
      Fix typo. · a8967ba3
      Tor Lillqvist authored
      2005-09-28  Tor Lillqvist  <tml@novell.com>
      
      	* libgimp/gimp.def: Fix typo.
      a8967ba3
  23. 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
  24. 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
  25. 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
  26. 02 Sep, 2005 1 commit
    • 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
  27. 24 Jul, 2005 1 commit
    • Michael Natterer's avatar
      added gimp_getpid(). · 52329c57
      Michael Natterer authored
      2005-07-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/misc.pdb: added gimp_getpid().
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/misc_cmds.c
      	* libgimp/gimpmisc_pdb.[ch]: regenerated.
      52329c57
  28. 10 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/layers-actions.c app/actions/layers-commands.[ch] · 20b4769c
      Michael Natterer authored
      2005-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.[ch]
      	* app/text/gimptextlayer-xcf.c
      	* app/widgets/gimphelp-ids.h
      	* app/widgets/gimplayertreeview.[ch]
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb
      	* menus/image-menu.xml.in
      	* libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in
      	preparation for more layer locking flags.
      
      	* app/pdb/procedural_db.c
      	* libgimp/gimplayer.[ch]: added compat stuff for preserve_trans.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/rotate.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
      	* plug-ins/script-fu/scripts/blend-anim.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/bovinated-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chalk.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/drop-shadow.scm
      	* plug-ins/script-fu/scripts/gimp-headers.scm
      	* plug-ins/script-fu/scripts/gimp-labels.scm
      	* plug-ins/script-fu/scripts/glowing-logo.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/neon-logo.scm
      	* plug-ins/script-fu/scripts/perspective-shadow.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/waves-anim.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      20b4769c
  29. 26 Jun, 2005 1 commit
  30. 03 Jun, 2005 1 commit
    • Manish Singh's avatar
      make _gimp_enums_init public, so language bindings can do early enum · b77ca997
      Manish Singh authored
      2005-06-03  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/enumcode.pl: make _gimp_enums_init public, so
              language bindings can do early enum registration if needed.
      
              * libgimp/gimpenums.h
              * libgimp/gimpenums.c.tail: regenerated
      
              * gimp.c: call gimp_enums_init instead of _gimp_enums_init.
      
              * gimp.def: add newly exported function.
      b77ca997
  31. 19 Apr, 2005 1 commit
  32. 24 Mar, 2005 1 commit
    • Michael Natterer's avatar
      Added API to explicitly register dynamic menu items hierarchies. Fixes bug · 0a5ce16b
      Michael Natterer authored
      2005-03-24  Michael Natterer  <mitch@gimp.org>
      
      	Added API to explicitly register dynamic menu items hierarchies.
      	Fixes bug #170623.
      
      	* app/core/gimp.h: added "GSList *plug_in_menu_branches".
      
      	* app/plug-in/plug-in-types.h
      
      	* app/plug-in/plug-ins.[ch]: added API to register plug-in menu
      	branches, just as for locale and help domans. Cleaned up handling
      	of locale and help domains.
      
      	(plug_ins_exit): free the registered menu branches.
      
      	* app/actions/plug-in-actions.[ch] (plug_in_actions_add_branch):
      	new function to explicitly add a menu branch action.
      
      	(plug_in_actions_setup): add the registered menu branches to each
      	new action group.
      
      	(plug_in_actions_build_path): always strip the untranslated menu
      	path from underlines before using it as hash table key or action
      	name.
      
      	* app/menus/plug-in-menus.c (plug_in_menus_add_proc): changed
      	accordingly: strip underlines from untranslated menu paths before
      	passing them to plug_in_menus_build_path().
      
      	* app/core/gimp-gui.[ch]: added gimp_menus_create_branch() plus
      	vtable entry to access the new stuff from the core. Renamed the
      	functions desling with items from gimp_foo_entry() to
      	gimp_foo_item().
      
      	* app/gui/gui-vtable.c: implement create_branch() and add the
      	branch action to all existing "plug-in" action groups. Note that
      	we don't need to create any menus because that happens implicitly
      	when adding menu items.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_branch_register): new
      	PDB wrapper to access branch registering from plug-ins.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
      	register the menu branches for all included scripts.
      0a5ce16b