Sven Neumann
a984ec7b8a
some more tabs that I missed in my last commit
2006-04-12 10:34:30 +00:00
Sven Neumann
8824a9bc86
create code with spaces instead of tabs.
...
2006-04-12 Sven Neumann <sven@gimp.org>
* tools/pdbgen/lib.pl: create code with spaces instead of tabs.
* libgimp/gimp*_pdb.[ch]: regenerated.
2006-04-12 10:27:31 +00:00
Michael Natterer
850dcb4882
use the variable initializer defined with the PDB type instead of figuring
...
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.
2006-04-02 11:22:47 +00:00
Michael Natterer
328345dc92
tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/brushes.pdb
...
2006-03-24 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/display.pdb
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/drawable_transform.pdb
* tools/pdbgen/pdb/edit.pdb
* tools/pdbgen/pdb/fileops.pdb
* tools/pdbgen/pdb/floating_sel.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/palette.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/selection.pdb
* tools/pdbgen/pdb/selection_tools.pdb
* tools/pdbgen/pdb/text_tool.pdb
* tools/pdbgen/pdb/transform_tools.pdb
* tools/pdbgen/pdb/undo.pdb
* tools/pdbgen/pdb/vectors.pdb: replaced 'True', 'true' and
'non-zero' by 'TRUE' where appropriate. Added %%desc%% to enum arg
descriptions where missing. Get object names using
gimp_object_get_name(). Set 'success' more consistently. Removed
{ } from all enum arg descriptions...
* tools/pdbgen/app.pl (make_arg_recs): ...and add the { }
generically here. Removed some code that replaced the ',' by 'or'
for enums without { } so all enums are now documented the same.
* app/pdb/<some>_cmds.c
* libgimp/<some>_pdb.c: regenerated.
2006-03-24 21:57:47 +00:00
Michael Natterer
277383d6d2
removed all perl utility functions. Added some C ones instead. Doc fixes.
...
2006-03-21 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/gradient.pdb: removed all perl utility
functions. Added some C ones instead. Doc fixes.
* app/pdb/gradient_cmds.c
* libgimp/gimpgradient_pdb.c: regenerated.
2006-03-21 21:48:21 +00:00
Michael Natterer
59771587ae
tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/brushes.pdb
...
2006-03-15 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/brush.pdb
* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/context.pdb
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/drawable_transform.pdb
* tools/pdbgen/pdb/gradient.pdb
* tools/pdbgen/pdb/gradients.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/palette.pdb
* tools/pdbgen/pdb/palettes.pdb
* tools/pdbgen/pdb/paths.pdb
* tools/pdbgen/pdb/pattern.pdb
* tools/pdbgen/pdb/patterns.pdb
* tools/pdbgen/pdb/procedural_db.pdb
* tools/pdbgen/pdb/transform_tools.pdb: let pdbgen handle *only*
variables for arguments and return values and declare all local
variables inside the C code. Removed lots of alias => '<expression>'
and no_declare => 1 stuff from return values, instead let pdbgen
declare the variables and assign them manually in the C code.
More cleanup.
* tools/pdbgen/app.pl: removed support for proc->vars.
* app/pdb/brush_cmds.c
* app/pdb/brushes_cmds.c
* app/pdb/context_cmds.c
* app/pdb/drawable_cmds.c
* app/pdb/drawable_transform_cmds.c
* app/pdb/gradient_cmds.c
* app/pdb/gradients_cmds.c
* app/pdb/image_cmds.c
* app/pdb/palette_cmds.c
* app/pdb/palettes_cmds.c
* app/pdb/paths_cmds.c
* app/pdb/pattern_cmds.c
* app/pdb/patterns_cmds.c
* app/pdb/procedural_db_cmds.c
* app/pdb/transform_tools_cmds.c
* libgimp/gimpbrush_pdb.c
* libgimp/gimpbrushes_pdb.c
* libgimp/gimpgradient_pdb.c
* libgimp/gimpgradients_pdb.c
* libgimp/gimppalette_pdb.c
* libgimp/gimppalettes_pdb.c
* libgimp/gimppatterns_pdb.c: regenerated.
2006-03-15 12:49:25 +00:00
Michael Natterer
853f04d5a6
Changed naming scheme for PDB procedure names from
...
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.
2005-08-02 22:52:23 +00:00
Sven Neumann
c314eef7e5
do actually add the new procedure gimp_gradient_is_editable().
...
2005-01-03 Sven Neumann <neumann@jpk.com>
* tools/pdbgen/pdb/gradient.pdb: do actually add the new procedure
gimp_gradient_is_editable().
* app/pdb/gradient_cmds.c
* app/pdb/internal_procs.c
* libgimp/gimpgradient_pdb.[ch]: regenerated.
* libgimp/gimp.def: updated.
2005-01-03 17:58:25 +00:00
Michael Natterer
caf4786993
tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
...
2004-10-06 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
* tools/pdbgen/pdb/gradients.pdb (gradients_sample_uniform)
(gradients_sample_custom) (gradients_get_gradient_data)
* tools/pdbgen/pdb/patterns.pdb (patterns_get_pattern_data):
deprecated.
* tools/pdbgen/pdb/brush.pdb
* tools/pdbgen/pdb/gradient.pdb
* tools/pdbgen/pdb/palette.pdb
* tools/pdbgen/pdb/pattern.pdb: added replacements for the
deprecated functions. Removed the silly feature that passing NULL
as name operates on the current brush, pattern etc.
* app/pdb/brush_cmds.c
* app/pdb/brushes_cmds.c
* app/pdb/gradient_cmds.c
* app/pdb/gradients_cmds.c
* app/pdb/internal_procs.c
* app/pdb/palette_cmds.c
* app/pdb/pattern_cmds.c
* app/pdb/patterns_cmds.c
* libgimp/gimpbrush_pdb.[ch]
* libgimp/gimpbrushes_pdb.[ch]
* libgimp/gimpgradient_pdb.[ch]
* libgimp/gimpgradients_pdb.[ch]
* libgimp/gimppalette_pdb.c
* libgimp/gimppattern_pdb.[ch]
* libgimp/gimppatterns_pdb.[ch]: regenerated.
* libgimp/gimpbrushmenu.c
* libgimp/gimpgradientmenu.c
* libgimp/gimppatternmenu.c
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/common/gradmap.c
* plug-ins/common/sample_colorize.c
* plug-ins/flame/flame.c
* plug-ins/gfig/gfig-style.c
* plug-ins/gflare/gflare.c
* plug-ins/pagecurl/pagecurl.c
* plug-ins/script-fu/scripts/spyrogimp.scm: changed accordingly.
2004-10-05 23:28:17 +00:00
Michael Natterer
3eb69a85f0
tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/gradient.pdb disallow the
...
2004-10-04 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/brush.pdb
* tools/pdbgen/pdb/gradient.pdb
* tools/pdbgen/pdb/palette.pdb: disallow the empty string for
new brushes, gradients and palettes and check the return value
of gimp_data_factory_data_new(). Cleanup.
* app/core/gimpbrushgenerated.c (gimp_brush_generated_new)
* app/core/gimpgradient.c (gimp_gradient_new)
* app/core/gimpdatafactory.c (gimp_data_factory_data_new): same
here. Fixes bug #154264 .
* app/core/gimpdata.[ch] (gimp_data_set_filename): added boolean
"deletable" parameter because it's not derivable from "writable".
* app/core/gimpdatafactory.c (gimp_data_factory_load_data): need
to figure "deletable" separately from "writable" to be able to
delete unsavable stuff in the user-writable data directories.
Fixes bug #154410 .
(gimp_data_factory_data_save_single): cleaned up.
* app/pdb/brush_cmds.c
* app/pdb/gradient_cmds.c
* app/pdb/palette_cmds.c
* libgimp/gimpbrush_pdb.c
* libgimp/gimpgradient_pdb.c
* libgimp/gimppalette_pdb.c: regenerated.
2004-10-04 09:39:27 +00:00
Michael Natterer
3004cb1bd0
tools/pdbgen/Makefile.am renamed group "gradient_edit" to "gradient" and
...
2004-09-29 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/Makefile.am
* tools/pdbgen/groups.pl: renamed group "gradient_edit" to
"gradient" and added "brush", "palette" and "pattern" groups.
* tools/pdbgen/pdb/gradient_edit.pdb: removed.
* tools/pdbgen/pdb/brush.pdb
* tools/pdbgen/pdb/gradient.pdb
* tools/pdbgen/pdb/palette.pdb
* tools/pdbgen/pdb/pattern.pdb: new files containing functions
which create, duplicate, rename, delete, query and manipulate
a single brush, pattern etc.
* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/gradients.pdb
* tools/pdbgen/pdb/palettes.pdb
* tools/pdbgen/pdb/patterns.pdb: deprecated stuff that is obsolete
now and simply removed the procedures that were added after 2.0.
* app/pdb/gradient_edit_cmds.c
* libgimp/gimpgradientedit_pdb.[ch]: removed.
* app/pdb/brush_cmds.c
* app/pdb/gradient_cmds.c
* app/pdb/palette_cmds.c
* app/pdb/pattern_cmds.c
* libgimp/gimpbrush_pdb.[ch]
* libgimp/gimpgradient_pdb.[ch]
* libgimp/gimppalette_pdb.[ch]
* libgimp/gimppattern_pdb.[ch]: new files.
* app/pdb/brushes_cmds.c
* app/pdb/gradients_cmds.c
* app/pdb/internal_procs.c
* app/pdb/palettes_cmds.c
* app/pdb/patterns_cmds.c
* libgimp/gimp_pdb.h
* libgimp/gimpbrushes_pdb.[ch]
* libgimp/gimpgradients_pdb.[ch]
* libgimp/gimppalettes_pdb.[ch]
* libgimp/gimppatterns_pdb.[ch]: regenerated.
* app/pdb/Makefile.am
* libgimp/Makefile.am
* plug-ins/gfig/gfig-style.c: changed accordingly.
2004-09-28 22:01:21 +00:00
Michael Natterer
db71b6e0e1
Sven Neumann <sven@gimp.org> Simon Budig <Simon.Budig@unix-ag.org> Garry
...
2000-06-01 Michael Natterer <mitch@gimp.org>
Sven Neumann <sven@gimp.org>
Simon Budig <Simon.Budig@unix-ag.org>
Garry R. Osgood <gosgood@idt.net>
Seth Burgess <sjburges@gimp.org>
Tuomas Kuosmanen <tigert@gimp.org>
Tor Lillqvist <tml@iki.fi>
Andy Thomas <alt@gimp.org>
Andreas Bogk <andreas@andreas.org>
Vincent Kolwitz <vincent@andreas.org>
The remaining bits ...
* tools/pdbgen/Makefile.am
* tools/pdbgen/groups.pl
* tools/pdbgen/pdb/gradient.pdb -> gradients.pdb
* app/Makefile.am
* app/gradient_cmds.c -> gradients_cmds.c
* libgimp/gimpbrushes_pdb.[ch]
* libgimp/gimpfileops_pdb.[ch]
* libgimp/gimpguides_pdb.[ch]
* libgimp/gimphelp_pdb.[ch]
* libgimp/gimpmessage_pdb.[ch]
* libgimp/gimpparasite_pdb.[ch]
* libgimp/gimppatterns_pdb.[ch]
* libgimp/gimpplugin_pdb.[ch]: replaced with code based on
files generated using pdbgen
* libgimp/gimpbrushmenu.c
* libgimp/gimppatternmenu.c:
reflect changes in gimp[brushes|patterns]_pdb.[ch]
* tools/pdbgen/pdb/gradient.pdb -> gradients.pdb
* tools/pdbgen/pdb/plug_in.pdb: made it create libgimp code
2000-06-01 21:18:04 +00:00
Michael Natterer
053af2f1c9
Sven Neumann <sven@gimp.org>
...
2000-05-31 Michael Natterer <mitch@gimp.org>
Sven Neumann <sven@gimp.org>
* libgimp/Makefile.am
* libgimp/gimpchannel_pdb.h
* libgimp/gimpdisplay_pdb.h
* libgimp/gimpdrawable_pdb.h
* libgimp/gimpgradient_pdb.h
* libgimp/gimphelp_pdb.h
* libgimp/gimpimage_pdb.h
* libgimp/gimplayer_pdb.h
* libgimp/gimpparasite_pdb.h
* libgimp/gimpselection_pdb.h
* libgimp/gimpunit_pdb.h
* libgimp/gimpdrawable.[ch]
* libgimp/gimphelp.c
* libgimp/gimppixelrgn.h
* libgimp/gimptile.h: new files
* libgimp/gimp.[ch]
* libgimp/gimpchannel_pdb.c
* libgimp/gimpdrawable_pdb.c
* libgimp/gimpgradient_pdb.c
* libgimp/gimppalette_pdb.c
* libgimp/gimpselection_pdb.c
* libgimp/gimphelp_pdb.c
* libgimp/gimpimage_pdb.c
* libgimp/gimplayer_pdb.c
* libgimp/gimpgradientmenu.c
* libgimp/gimpbrushmenu.c
* libgimp/gimpmenu.[ch]
* libgimp/gimppatternmenu.c
* libgimp/gimppixelrgn.c
* libgimp/gimptile.c: part III of the (final) libgimp cleanup
Split gimp.h into a bunch of headers. More or less finished the
task of moving PDB wrappers into separate files in preparation
of the upcoming autogen-it-all-attack.
* libgimp/gimpcompat.h: declared the following functions obsolete:
gimp_[channel|layer]_[width|height]
gimp_layer_[bpp|type]
gimp_channel_get_[image|layer]_ID
* libgimp/gimptypes.h: new file:
GPlugInInfo
GTile
GDrawable
GPixelRgn
GParamColor
GParamRegion
GParamData
GParamDef
GParam: s/G/Gimp/
* app/gimphelp_cmds.c
* app/plug_in_cmds.c
* tools/pdbgen/pdb/gimphelp.pdb
* tools/pdbgen/pdb/plug_in.pdb: changed help texts.
2000-05-31 06:15:06 +00:00
Marc Lehmann
df8b445be6
*** empty log message ***
1999-11-17 21:13:50 +00:00
Manish Singh
84abd5d700
Have fun recompiling gimp everyone. It's the great FSF address change!
...
-Yosh
1998-04-13 05:44:11 +00:00
Manish Singh
92ab4b4278
Placed libgimp under LGPL
...
-Yosh
1998-01-25 10:26:47 +00:00
Elliot Lee
32cefec8f7
Initial revision
1997-11-24 22:05:25 +00:00