Michael Natterer
02d1192753
pdb: return NULL for string arrays with zero elements
...
In e61b1f76
things were changed to return string arrays that can be
freed with g_strfreev(), but that returned a one-element array
containing a NULL pointer for zero-length arrays. Fix the code
to return NULL again for zero-length arrays. See bug #751584 .
2015-09-14 01:12:57 +02:00
Michael Natterer
8005eea835
Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments
...
because it confuses gtk-doc and breaks some links. Also change the
"Index of new symbols in GIMP 2.x" sections to be what seems to be the
modern standard (looked at the GLib and GTK+ docs), and update some
other stuff.
2015-05-31 21:18:09 +02:00
Mukund Sivaraman
b1dbfd2567
pdbgen: Regenerate C code
2012-12-05 08:48:54 +05:30
Sven Neumann
9b2e301c87
pdbgen: programmatically add hint about using g_strfreev()
...
Add the note about the need to free the returned string array
to the generated libgimp code. This way it will show up in the
libgimp documentation but not in the general PDB API.
2012-12-04 21:07:34 +01:00
Sven Neumann
c8209ddb4c
Revert "pdb: update documentation for all pdb functions whose return can be freed with g_strfreev()."
...
Such comment should not be included in the general PDB
documentation as it is specific to the C bindings and can
be easily added by the pdbgen infrastructure.
This reverts commit c9888f2222
.
2012-12-04 21:07:34 +01:00
Jehan
c9888f2222
pdb: update documentation for all pdb functions whose return can be freed with g_strfreev().
2012-12-04 00:16:08 +09:00
Michael Natterer
e61b1f7603
pdb: return NULL terminated stringarrays from libgimp PDB wrappers
...
so they can be freed with g_strfreev().
2012-11-27 20:50:21 +01:00
Michael Natterer
c6e93e4f5a
pdb: generate nicer gtk-doc comments (no doc contents changed)
2010-09-15 22:07:36 +02:00
Michael Natterer
3a2cd14382
tools: add pdbgen support for generating gtk-doc SECTION comments
...
Add the new $doc_title, $doc_short_desc and $doc_long_desc strings to
all .pdb files.
2010-07-07 11:43:10 +02:00
Michael Natterer
d9b5207aa2
Change licence to GPLv3 (and to LGPLv3 for libgimp).
...
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
2009-01-17 22:28:01 +00:00
Sven Neumann
dcc6ebd1b0
HACKING tools/pdbgen/lib.pl fixed spelling of "auto-generated".
...
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
2007-01-09 10:52:47 +00:00
Sven Neumann
8ed41a7c60
even more tabs that I missed earlier
2006-04-12 10:38:15 +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
4503b4a217
added gimp-buffers-get-list, should probably get its own PDB group.
...
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.
2005-09-27 18:29:27 +00:00
Michael Natterer
30f1e8efc1
added gimp_buffer_get_bytes() and gimp_buffer_get_image_type().
...
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.
2005-09-27 09:05:55 +00:00