Commit Graph

1521 Commits

Author SHA1 Message Date
805a971d99 pdb: add the procedure gimp_layer_group_new 2010-09-14 22:41:56 +02:00
113941a7e5 libgimp: Update gimp.def 2010-09-09 16:37:21 +02:00
e8f4d4b449 pdb: add transform API for items
Works for all item types, and has much less functions and parameters
than the drawable transform API because it uses the new context
states. Untested and not finished!
2010-09-08 02:48:37 +02:00
23aaf69779 pdb: add a lot of state for a new item-based transform API
interpolation, transform-direction, transform-resize, transform-recursion
2010-09-07 02:33:13 +02:00
2cbf8a7c96 pdb: mention gimp_edit_fill() in the gimp_drawable_fill() docs
The gimp_drawable_fill() already mentioned the bucket fill tool.
However the procedure that the developer is most likely looking
for is gimp_edit_fill(), so mention that as well.
2010-09-06 23:19:00 +02:00
bbd7ec6b5c plug-ins: port from gimp_image_add_foo() to gimp_image_insert_foo()
I'm sure some plug-ins need to add their items *not* at the toplevel,
but since making plug-ins really tree-aware is a lot more work than
just fixing insert positions, I went for passing -1 as parent in
almost all cases. And because of laziness...
2010-09-06 11:40:46 +02:00
d0e55640ec pdb: deprecate gimp_image_add_layer,channel,vectors() 2010-09-06 00:15:40 +02:00
9e0dccec73 pdb: update docs to mention the new insert procs instead of the add ones 2010-09-06 00:03:29 +02:00
a547c5d200 pdb: add gimp_image_insert_layer,channel,vectors()
which all take "parent" parameters and allow to insert items in a
tree. We don't have channel or vectors trees (yet) but API symmetry is
more important here than a currently useless parameter.
2010-09-05 23:56:35 +02:00
8ab4fbcf28 pdb: add context procedures for the new antialias and feather properties 2010-09-05 23:13:42 +02:00
e7475c1d52 pdb: add new procedure gimp-item-to-selection
and deprecate all old to-selection APIs. The new procedure uses the
newly added GimpPDBContext properties, so it only has an "operation"
parameter.
2010-09-05 22:38:07 +02:00
fc7831f7a1 Reduce risks on Windows also for plug-ins 2010-09-02 21:28:29 +03:00
d98bd748e7 Merge branch 'master' into soc-2010-cage-2 2010-09-01 11:21:58 +03:00
7ea33a7ea6 libgimp: update gimp.def 2010-08-31 18:59:41 +02:00
b24de26791 libgimp: add gimp_image_reorder_item() for arbitrary reordering in a tree 2010-08-31 11:16:41 +02:00
9f0cdcded6 libgimp: Update gimp.def 2010-08-30 19:35:29 +02:00
4e2289f736 libgimp: add API to access item groups
A layer tree can be traversed completely now. Tree manipulating
functions still missing.
2010-08-28 18:49:15 +02:00
0d35e8de6d libgimp: add item based API for positions (raise, lower etc.)
and deprecate the resp. functions for layers, channels and vectors.
2010-08-27 16:11:06 +02:00
aee148a486 Merge branch 'master' into soc-2010-cage-2 2010-08-26 21:50:55 +03:00
ac6722929a libgimp: Make GimpPixelRgn members signed
To avoid problems in statements like

  y = CLAMP (y, 0, pixel_rgn->h - 1);

when y = -1 for example, make GimpPixelRgn members signed. Hopefully
this is a working solution to 573542 and other bugs with statements
like above.
2010-08-20 18:39:33 +02:00
30693304bc libgimp: Update gimp.def 2010-08-16 21:58:14 +02:00
5d483a9517 add an enum for cage mode 2010-08-08 13:24:50 +02:00
1a893ce0b4 libgimp: port GimpGradientSelectButton drawing to cairo 2010-07-30 16:20:45 +02:00
fe00c29769 libgimp: Fix the commit of libgimp/gimp.def - add missing line breaks 2010-07-21 00:58:45 +03:00
31d12d8109 libgimp: Add the new item api to libgimp/gimp.def 2010-07-21 00:49:30 +03:00
b3f4038f68 libgimp: add gimpenums.c.tail again, pdbgen-generated files are in git 2010-07-14 20:20:58 +02:00
3512d0b03f libgimp/devel-docs: add back the gtk-doc template for gimpenums
It's a generated file and keeping around the template is much easier
than adding pdbgen support for generating the docs.
2010-07-14 19:05:51 +02:00
91a125df40 libgimp: remove generated file (it's also in .gitignore) 2010-07-14 19:05:50 +02:00
2b7ebd97fb libgimp: documented some enum values until i got bored 2010-07-12 23:27:14 +02:00
e3f0a6a0d4 tools: generate "Deprecated:" sections according to gtk-doc standards
So the comment about replacement functions appears in the red warning
box in the generated HTML.
2010-07-12 23:11:56 +02:00
2e81453c75 pdb: some doc fixes 2010-07-09 14:24:31 +02:00
611877783c libgimp: deprecate gimp_image_attach_new_parasite()
and port all its users to gimp_image_parasite_attach().
2010-07-09 14:15:55 +02:00
94737aae8c libgimp: deprecate gimp_[drawable]_attach_new_parasite()
They were unused, and it's silly to have a "convenience" function
to replace three trivial lines of code.
2010-07-09 13:30:31 +02:00
ef9c292e37 libgimp: use item API instead of deprecated drawable API 2010-07-09 13:28:57 +02:00
ce9ea1e8d7 libgimp: use item API instead of deprecated drawable API 2010-07-09 11:29:35 +02:00
3c2dcf2df5 pdb: deprecate drawable API that got replaced by item API 2010-07-09 11:25:35 +02:00
056a3bf256 libgimp: use gimp_item_get_name() instead of deprecated API 2010-07-09 11:22:18 +02:00
7314d3fe4f pdb: deprecate the drawable and vectors parasite APIs 2010-07-09 10:36:17 +02:00
d0c80bae12 pdb: add parasite API for items 2010-07-09 10:19:30 +02:00
0fdf7c6e28 pdb: deprecate vectors API that is now in item 2010-07-09 10:10:55 +02:00
20c3dc0df9 pdb: remove drawable's and vector's "lock-content" API
because it's new in 2.8 and doesn't need to be deprecated.
2010-07-09 09:46:31 +02:00
1bca2d8eb0 pdb: don't talk about "pixels" in items docs 2010-07-09 09:45:30 +02:00
2d6f808ff8 pdb: add a new PDB group "item" and move lots of functions to it
The item groups has all the duplicated functionality from drawable
and vectors (name, visible, linked etc).

Hijack the unused GIMP_PDB_REGION and turn it into GIMP_PDB_ITEM;
change all protocol aware files accordingly and bump the protocol
version number. Change script-fu to handle the new type.
2010-07-09 09:34:44 +02:00
d303d8c7c1 Revert "pdb: Added a procedure to check how many processors GIMP is configured to use."
This reverts commit b22880c32f.
Adding this procedure was a misunderstanding on IRC.
2010-07-09 02:30:10 +02:00
b22880c32f pdb: Added a procedure to check how many processors GIMP is configured to use.
Added the procedure get_number_of_processors to gimprc.pdb and regenerated the
other files using pdbgen.
2010-07-09 02:50:13 +03:00
c78e4c8d63 libgimp: move docs from template files to inline comments
Also split up the "tools" docs into separate files so it matches
the new autogenerated PDB section headers.
2010-07-07 11:48:10 +02:00
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
3f66808584 Added a function to export the Pango markup of a text layer
This is required for the PDF export plugin.
2010-06-01 21:21:40 +02:00
a2c70822d4 Use accessors from GTK+ 2.20 instead of using sealed members directly 2010-04-19 19:21:07 +02:00
1aeb315ecf undef GTK_DISABLE_DEPRECATED in many places which undef GSEAL_ENABLE
because the widget flag access macros (e.g. GTK_WIDGET_REALIZED) are
now deprecated in GTK+ master.
2010-03-06 23:14:29 +01:00