1. 11 Jul, 2018 1 commit
  2. 18 Apr, 2018 1 commit
  3. 15 Apr, 2018 1 commit
    • Michael Natterer's avatar
      pdb: improve docs of deprecated functions · ef3edece
      Michael Natterer authored
      Don't unconditionally overwrite all the proc's description, author
      etc.  Instead, try to preserve them and append the "Deprecated" notes
      to the help texts and generated comments.
      
      Only affects one procedure because we killed the meta info of all
      other deprecated procs so far, but now we don't have to do that any
      longer.
      ef3edece
  4. 17 Dec, 2017 5 commits
  5. 04 Jan, 2016 1 commit
  6. 13 Sep, 2015 1 commit
  7. 31 May, 2015 1 commit
  8. 05 Oct, 2013 1 commit
  9. 26 Sep, 2013 1 commit
  10. 05 Dec, 2012 1 commit
  11. 04 Dec, 2012 1 commit
  12. 27 Nov, 2012 1 commit
  13. 02 May, 2012 1 commit
  14. 06 Nov, 2011 1 commit
    • Michael Natterer's avatar
      pdbgen: make it work with a read-only srcdir · 44752a0f
      Michael Natterer authored
      Pass srcdir *and* builddir to all pdbgen scripts, and generate all
      temp files in $builddir. They get copied for $srcdir only if they have
      actually changed, which should never happen on distcheck.
      44752a0f
  15. 28 Apr, 2011 1 commit
  16. 08 Mar, 2011 2 commits
  17. 15 Sep, 2010 1 commit
  18. 12 Jul, 2010 1 commit
  19. 07 Jul, 2010 1 commit
  20. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  21. 09 Jan, 2007 1 commit
    • 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
  22. 09 Dec, 2006 1 commit
  23. 31 Oct, 2006 1 commit
    • Michael Natterer's avatar
      if a generated file in libgimp contains deprecated procedures, #undef · 15b6cfc4
      Michael Natterer authored
      2006-10-31  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/lib.pl: if a generated file in libgimp contains
      	deprecated procedures, #undef GIMP_DISABLE_DEPRECATED and include
      	its header explicitly, to make sure all deprecated procedures are
      	declared properly. Removed $privatevars cruft.
      
      	* libgimp/gimpbrushes_pdb.c
      	* libgimp/gimpcolor_pdb.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpgradients_pdb.c
      	* libgimp/gimppalettes_pdb.c
      	* libgimp/gimppaths_pdb.c
      	* libgimp/gimppatterns_pdb.c
      	* libgimp/gimptexttool_pdb.c
      	* libgimp/gimptransformtools_pdb.c: regenerated.
      15b6cfc4
  24. 22 Aug, 2006 1 commit
  25. 18 May, 2006 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/app.pl removed code that used to fiddles with the argument · fae8657c
      Sven Neumann authored
      2006-05-18  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/lib.pl: removed code that used to fiddles with
      the
      	argument descriptions.
      
      	* tools/pdbgen/pdb/*.pdb: removed %%desc%% placeholder, added
      some
      	missing argument descriptions.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimpdrawabletransform_pdb.c
      	* libgimp/gimpfloatingsel_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimppainttools_pdb.c: regenerated.
      
      	* app/core/Makefile.am
      	* app/core/gimpparamspecs-desc.[ch] (gimp_param_spec_get_desc):
      	new function that creates a parameter description for the PDB.
      
      	* app/pdb/gimppdb-query.c
      	* app/pdb/procedural_db_cmds.c: use the new function to create
      the
      	descriptions on the fly.
      fae8657c
  26. 12 Apr, 2006 3 commits
  27. 02 Apr, 2006 2 commits
    • Michael Natterer's avatar
      added a const_type member to all PDB types, Removed casts from all · 20946c66
      Michael Natterer authored
      2006-04-02  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb.pl: added a const_type member to all PDB types,
      	Removed casts from all get_value_funcs which return const
      	pointers, they can stay const now.
      
      	* tools/pdbgen/app.pl: use the const_type to declare input args.
      
      	* app/pdb/gimpprocedure.h: pass const arguments to the internal
      	marshallers.
      
      	* app/xcf/xcf.c: changed accordingly.
      
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/paths.pdb: added some const qualifiers.
      
      	* tools/pdbgen/lib.pl: use the const_type for input args instead
      	of adding the const qualifier based on the type.
      
      	* app/pdb/_cmds.c
      	* libgimp/gimpparasite_pdb.[ch]: regenerated.
      
      	Unrelated:
      
      	* app/pdb/gimpargument.c (gimp_arguments_destroy): no need any
      	more to destroy the argument array in reverse order (we don't need
      	access to the previous element because arrays in GValues memory
      	manage themselves now).
      20946c66
    • Michael Natterer's avatar
      use the variable initializer defined with the PDB type instead of figuring · 850dcb48
      Michael Natterer authored
      2006-04-02  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/lib.pl: use the variable initializer defined with
      	the PDB type instead of figuring it manually. Removed a line of
      	code that checked for enums without "Gimp" prefix.
      
      	* libgimp/gimpbrush_pdb.c
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpcontext_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimpunit_pdb.c
      	* libgimp/gimpvectors_pdb.c: all doubles are initialized with 0.0
      	instead of 0 now.
      850dcb48
  28. 29 Mar, 2006 1 commit
    • Michael Natterer's avatar
      replace the value union by a GValue. · afd88f0b
      Michael Natterer authored
      2006-03-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/procedural_db.[ch] (struct Argument): replace the value
      	union by a GValue.
      
      	(procedural_db_argument_init)
      	(procedural_db_compat_arg_init): new functions to initialize
      	an Argument. They call g_value_init() on the Argument's value.
      
      	(procedural_db_arguments)
      	(procedural_db_return_values): initialize the returned Argument
      	arrays so their GValues are ready to use. Allow to get the
      	(unsuccessful) return values of a NULL ProcRecord.
      
      	(procedural_db_destroy_args): g_value_unset() the values. Added a
      	"gboolean full_destroy" parameter. Its only effect is to destroy
      	PDB arrays, everything else is nicely memory managed by GValue.
      
      	(procedural_db_execute)
      	(procedural_db_run_proc): do GValue stuff. Added n_args and
      	n_return_vals parameters to execute().
      
      	(procedural_db_execute_proc): private function to execute a
      	procedure. Validates the passed in arguments using the registered
      	GParamSpecs before passing them to the resp. exec method.
      
      	* app/plug-in/plug-in-params.[ch] (plug_in_params_to_args): needs
      	an array of ProcArgs now in order to initialize the Arguments'
      	GValues correctly. Passing NULL ProcArgs uses
      	procedural_db_compat_arg_init(), so procedures (plug-ins)
      	returning more values than expected work.
      
      	(plug_in_args_to_params): do GValue stuff here too.
      
      	(plug_in_args_destroy): removed this function,
      	procedural_db_destroy_args() does the same now.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run):
      	simplified quite a bit because everything returns n_return_values
      	now. Call plug_in_params_to_args() only of the procedure was found.
      
      	(plug_in_handle_proc_return_priv): pass ProcRecs to
      	plug_in_params_to_args().
      
      	* app/batch.c
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimppdbprogress.c
      	* app/dialogs/about-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/plug-in/plug-ins.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-in-run.[ch]
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppdbdialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly: don't
      	g_new/g_free Argument arrays, always use procedural_db_foo()
      	functions. Use GValue functions to get/set Arguments.
      
      	* tools/pdbgen/pdb.pl: added get_value_func and set_value_func to
      	all PDB types. Removed id_func, id_ret_func and check_func. Added
      	flags which indicated that a type is an ID. Removed unused utility
      	functions.
      
      	* tools/pdbgen/lib.pl: use the flag instead of looking at
      	functions and value types.
      
      	* tools/pdbgen/app.pl: use the get_value_func and set_value_func
      	to marshal inargs and outargs. Removed all checks performed on
      	inargs because that's done by GParamSpec validation now. Added the
      	missing bits to register excluded values with GimpParamSpecEnum.
      
      	* app/pdb/*_cmds.c: regenerated.
      afd88f0b
  29. 26 Mar, 2006 1 commit
    • Michael Natterer's avatar
      removed support for arg->implicit_fill. · f1f24289
      Michael Natterer authored
      2006-03-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/lib.pl: removed support for arg->implicit_fill.
      
      	* tools/pdbgen/pdb/progress.pdb (progress_init): remove it without
      	replacement, the generated function on the libgimp side is
      	internal anyway.
      
      	* libgimp/gimpprogress_pdb.[ch] (_gimp_progress_init): rgenerated
      	with a display_ID parameter.
      
      	* libgimp/gimpprogress.c (gimp_progress_init): pass
      	gimp_default_display() to _gimp_progress_init().
      f1f24289
  30. 24 Mar, 2006 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/brushes.pdb · 0de4f680
      Michael Natterer authored
      2006-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: removed all ':' before and all
      	'()' around %%desc%%.
      
      	* tools/pdbgen/app.pl: add () to int32, float and boolean
      	descriptions automatically. They all look the same now.
      
      	* tools/pdbgen/lib.pl: tweaked regex so %%desc%% doesn't appear in
      	libgimp API docs.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* libgimp/gimpedit_pdb.c
      	* libgimp/gimpplugin_pdb.c: regenerated.
      0de4f680
  31. 25 Oct, 2005 1 commit
    • 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
  32. 05 Aug, 2005 1 commit