1. 19 Jan, 2007 1 commit
    • Sven Neumann's avatar
      let the filename -> uri functions take a Gimp parameter instead of the · 20b331da
      Sven Neumann authored
      2007-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-utils.[ch]: let the filename -> uri functions take
      	a Gimp parameter instead of the list of load procedures.
      
      	* app/core/gimpimage.c
      	* app/app_procs.c
      	* app/dialogs/file-open-location-dialog.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      
      svn path=/trunk/; revision=21736
      20b331da
  2. 18 Jan, 2007 1 commit
  3. 12 Jan, 2007 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/display.pdb tools/pdbgen/pdb/drawable.pdb · 517b0c35
      Sven Neumann authored
      2007-01-12  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/vectors.pdb: added PDB functions to validate
      	display, drawable, image and vectors IDs.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/vectors_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpdisplay_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      
      
      svn path=/trunk/; revision=21697
      517b0c35
  4. 09 Jan, 2007 2 commits
    • Sven Neumann's avatar
      check Atoms before using them. Fixes bug #392111. · e4e08c59
      Sven Neumann authored
      2007-01-09  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-remote.c (gimp_remote_find_window): check Atoms
      	before using them. Fixes bug #392111.
      
      
      svn path=/trunk/; revision=21680
      e4e08c59
    • Sven Neumann's avatar
      HACKING tools/pdbgen/lib.pl fixed spelling of "auto-generated". · dcc6ebd1
      Sven Neumann authored
      2007-01-09  Sven Neumann  <sven@gimp.org>
      
      	* HACKING
      	* tools/pdbgen/lib.pl
      	* tools/pdbgen/app.pl: fixed spelling of "auto-generated".
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb: improved wording and fixed
      	spelling errors.
      	
      	* libgimp/gimp.c: fixed spelling errors.
      
      	* app/pdb/*.h: 
      	* libgimp/gimp*_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=21676
      dcc6ebd1
  5. 30 Dec, 2006 1 commit
  6. 29 Dec, 2006 1 commit
    • Sven Neumann's avatar
      export gimp_get_default_unit() to the PDB. · e3282e64
      Sven Neumann authored
      2006-12-29  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/gimprc.pdb: export gimp_get_default_unit() to
      	the PDB.
      
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgimprc_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      
      	* plug-ins/print/print-page-layout.c
      	* plug-ins/print/print.c: initialize units the same way the core
      	Print Size dialog does it.
      e3282e64
  7. 24 Dec, 2006 1 commit
    • Mukund Sivaraman's avatar
      app/core/Makefile.am app/core/gimp-transform-resize.c · f0cff0ff
      Mukund Sivaraman authored
      2006-12-24  Mukund Sivaraman  <muks@mukund.org>
      
              * app/core/Makefile.am
              * app/core/gimp-transform-resize.c
              * app/core/gimpchannel.c
              * app/core/gimpdrawable-transform.c
              * app/core/gimpdrawable-transform.h
              * app/core/gimpdrawable.c
              * app/core/gimpimage-item-list.c
              * app/core/gimpimage-item-list.h
              * app/core/gimpitem-linked.c
              * app/core/gimpitem-linked.h
              * app/core/gimpitem.c
              * app/core/gimpitem.h
              * app/core/gimplayer.c
              * app/pdb/drawable_transform_cmds.c
              * app/text/gimptextlayer-transform.c
              * app/text/gimptextlayer-transform.h
              * app/tools/gimptransformoptions.c
              * app/tools/gimptransformtool.c
              * app/vectors/gimpvectors.c
              * libgimp/gimpdrawabletransform_pdb.c
              * libgimp/gimpdrawabletransform_pdb.h
              * libgimp/gimpenums.c.tail
              * libgimpbase/gimpbase.def
              * libgimpbase/gimpbaseenums.c
              * libgimpbase/gimpbaseenums.h
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/drawable_transform.pdb: implemented UI and PDB
              for new clipping modes for affine transforms (crop to largest
              rectangle, and crop to largest rectangle with the source's aspect
              ratio); fixed various bugs in the largest rectangle computation
              code; set padding to 6 in the transformation tool options.
      f0cff0ff
  8. 22 Dec, 2006 1 commit
    • Sven Neumann's avatar
      app/pdb/misc_cmds.c changed wording in API docs. · 143bafa7
      Sven Neumann authored
      2006-12-22  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/misc_cmds.c
      	* app/pdb/parasite_cmds.c: changed wording in API docs.
      
      	* app/pdb/misc_cmds.c
      	* app/pdb/parasite_cmds.c
      	* libgimp/gimpmisc_pdb.c
      	* libgimp/gimpparasite_pdb.c: regenerated.
      143bafa7
  9. 09 Dec, 2006 1 commit
  10. 05 Dec, 2006 1 commit
  11. 23 Nov, 2006 3 commits
    • Simon Budig's avatar
      tools/pdbgen/pdb/paths.pdb minor documentation fixes, following the · 1a95e589
      Simon Budig authored
      2006-11-23  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/vectors.pdb: minor documentation fixes,
      	following the renaming.
      
      	* app/pdb/paths_cmds.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimppaths_pdb.c
      	* libgimp/gimpvectors_pdb.c: regenerated.
      1a95e589
    • 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
    • Sven Neumann's avatar
      marked the new functions as new in 2.4. · be67311b
      Sven Neumann authored
      2006-11-23  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: marked the new functions as new in
      2.4.
      
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      be67311b
  12. 22 Nov, 2006 2 commits
  13. 21 Nov, 2006 1 commit
  14. 20 Nov, 2006 1 commit
    • Simon Budig's avatar
      app/vectors/gimpstroke.[ch] tools/pdbgen/pdb/vectors.pdb Applied patch · 73b1863a
      Simon Budig authored
      2006-11-20  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpstroke.[ch]
      	* tools/pdbgen/pdb/vectors.pdb
      	* plug-ins/pygimp/pygimp-vectors.c: Applied patch from
      	Joao S. O. Bueno Calligaris that adds some missing transformations
      	to the PDB-API for strokes. Fixes bug #129598.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      73b1863a
  15. 08 Nov, 2006 2 commits
    • Simon Budig's avatar
      don't bail out successfully after the first test, don't bail out · 2f5c6f7b
      Simon Budig authored
      2006-11-08  Simon Budig  <simon@gimp.org>
      
      	* tools/defcheck.py: don't bail out successfully after the first test,
      	don't bail out prematurely on a failed test and actually spot double
      	symbols in .def-files if they follow immediately each other...
      2f5c6f7b
    • Sven Neumann's avatar
      added defcheck.py. · f7513e5a
      Sven Neumann authored
      2006-11-08  Sven Neumann  <sven@gimp.org>
      
      	* tools/Makefile.am (EXTRA_DIST): added defcheck.py.
      
      	* tools/defcheck.py: keep a list of .def files, glob didn't work
      	for me. Also bail out with a reasonable message if not being
      	called from the toplevel source directory.
      
      	* Makefile.am (dist-hook): check .def files for consistency.
      f7513e5a
  16. 07 Nov, 2006 1 commit
  17. 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
  18. 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
  19. 31 Oct, 2006 5 commits
  20. 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
  21. 28 Oct, 2006 1 commit
    • Michael Natterer's avatar
      removed unused x,y,width,height parameters. · 85365c92
      Michael Natterer authored
      2006-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-transform-utils.[ch]
      	(gimp_transform_matrix_flip_free): removed unused x,y,width,height
      	parameters.
      
      	* tools/pdbgen/pdb/drawable_transform.pdb: changed accordingly.
      
      	* app/pdb/drawable_transform_cmds.c: regenerated.
      85365c92
  22. 26 Oct, 2006 3 commits
    • Michael Natterer's avatar
      use canonical procedure names. · 745b7a07
      Michael Natterer authored
      2006-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/paths.pdb: use canonical procedure names.
      
      	* app/pdb/paths_cmds.c: regenerated.
      745b7a07
    • Simon Budig's avatar
      New header file for the GimpStroke factory. · eb658be9
      Simon Budig authored
      2006-10-26  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpstroke-new.h: New header file for the
      	GimpStroke factory.
      
      	* app/vectors/Makefile.am
      	* app/vectors/gimpstroke.h: changed accordingly.
      	* tools/pdbgen/pdb/vectors.pdb: changed accordingly plus a bugfix.
      
      	* app/pdb/vectors_cmds.c: regenerated.
      eb658be9
    • 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
  23. 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
      extended gimp_vectors_import() and friends with a parameter for returning · ab4d8b03
      Simon Budig authored
      2006-10-25  Simon Budig  <simon@gimp.org>
      
              * app/vectors/gimpvectors-import.[ch]: extended gimp_vectors_import()
              and friends with a parameter for returning the newly generated vectors.
      
              * app/actions/edit-commands.c
              * app/actions/vectors-commands.c
              * app/display/gimpdisplayshell-dnd.c
              * app/widgets/gimpvectorstreeview.c: Changed accordingly.
      
              * app/vectors/vectors-enums.h: moved the GimpVectorsStrokeType to...
              * libgimpbase/gimpbaseenums.h: ... this file.
      
              * app/vectors/Makefile.am: Changed accordingly
              * app/vectors/vectors-enums.c: removed accordingly.
      
              * tools/pdbgen/pdb/vectors.pdb: new functions
              gimp_vectors_new_from_file() and gimp_vectors_new_from_string().
      
              * tools/pdbgen/pdb/paths.pdb: deprecated the previous functions.
      
              * app/pdb/internal_procs.c
              * app/pdb/paths_cmds.c
              * app/pdb/vectors_cmds.c
              * app/vectors/vectors-enums.c
              * libgimp/gimpenums.h
              * tools/pdbgen/enums.pl
              * libgimp/gimppaths_pdb.[ch]
              * libgimp/gimpvectors_pdb.[ch]
              * libgimpbase/gimpbaseenums.c
              * devel-docs/libgimp/tmpl/gimpfontselectbutton.sgml
              * devel-docs/libgimp/tmpl/gimptools.sgml: regenerated.
      ab4d8b03
    • Michael Natterer's avatar
      Added mechanism that should prevent undo corruption by broken plug-ins and · b6f9bf5d
      Michael Natterer authored
      2006-10-25  Michael Natterer  <mitch@gimp.org>
      
      	Added mechanism that should prevent undo corruption by
      	broken plug-ins and scripts. Work in progress.
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/gimpplugin-cleanup.[ch]: new files that (for now)
      	keep track of the undo groups plug-in procedures open and close,
      	and can fix an image's undo group state after a plug-in messed.
      
      	* app/plug-in/gimppluginprocframe.h (struct GimpPlugInProcFrame):
      	keep a list of plug-in cleanup structs.
      
      	* app/plug-in/gimppluginprocframe.c
      	(gimp_plug_in_proc_frame_dispose): call gimp_plug_in_cleanup() if
      	the list is not empty.
      
      	* tools/pdbgen/pdb/undo.pdb: keep track of undo groups using
      	the new gimp_plug_in_cleanup_undo_group_start() and _end()
      	functions. Fail if any of the functions returns FALSE.
      
      	* app/pdb/undo_cmds.c: regenerated.
      b6f9bf5d
  24. 24 Oct, 2006 2 commits
    • 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
    • Michael Natterer's avatar
      quote "true" to fix warning about reserved word. · 41b1d526
      Michael Natterer authored
      2006-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* tools/gimp-mkenums (parse_trigraph): quote "true" to fix warning
      	about reserved word.
      41b1d526