Alexia Death
d2563a69fd
app: Cleanup in preparation of merge
2010-11-04 20:27:11 +02:00
Alexia Death
dfd5470a2e
Merge remote branch 'origin/master' into soc-2010-cage-2
2010-11-04 20:00:36 +02:00
Alexia Death
27c77e6a5e
Merge branch 'master' into soc-2010-cage-2
2010-11-04 00:41:45 +02:00
Michael Natterer
29d63afbb7
pdb: remove gimp-item-to-selection again
2010-10-30 22:19:22 +02:00
Michael Natterer
457a46a04c
pdb: add new selection API which has less parameters than the old one
...
and uses the new context properties instead. This is work in progress
and subject to change. Don't use it in plug-ins/scripts yet!
2010-10-30 22:06:20 +02:00
Michael Natterer
108c6f4e41
pdb: preemtively update context docs for upcoming selection API changes
2010-10-30 21:58:00 +02:00
Michael Natterer
f46122b862
app: add lots of accessors to GimpPalette
...
and use them all over the place instead of directly accessing the struct.
2010-10-27 14:36:44 +02:00
Mukund Sivaraman
675a9c3950
Decrement sample size just like in the gradients_sample_uniform case
2010-10-15 22:27:01 +05:30
Michael Natterer
2e9b6625e8
pdb: document that the context's inteprolation defaults to the gimprc value
2010-10-05 21:12:04 +02:00
Martin Nordholts
cc7755f876
Port stuff to gimp_item_is_text_layer()
...
Port stuff to gimp_item_is_text_layer() instead of
gimp_drawable_is_text_layer(). Nevermind the previous commit, it
should never have been pushed...
2010-10-05 07:39:00 +02:00
Alexia Death
74e5864fa6
Merge branch 'master' into soc-2010-cage-2
2010-09-26 23:08:15 +03:00
Michael Natterer
aa55a98249
pdb: #include "gimpgrouplayer.h" in layers-cmds.c
2010-09-16 20:36:14 +02:00
Michael Natterer
54001221d7
pdb: deprecate gimp_layer_scale_full() and gimp_image_scale_full()
...
Make gimp_layer_scale() and gimp_image_scale() honor GimpPDBContext's
interpolation property and update the documentation accordingly.
2010-09-16 20:33:56 +02:00
Michael Natterer
d64bf1ee14
pdb: deprecate the entire drawable transform API
2010-09-16 00:50:28 +02:00
Michael Natterer
4d3b52ec6c
pdb: return the resulting floating selection in the item transform API
...
This was actually documented to be the return value of all transform
procedures since 1.2, but it was always broken and returned the
passed-in drawable. Therefore it's only fixed for the new item API,
the old procedures keep their semantics (and will all be deprecated
anyway).
2010-09-16 00:36:03 +02:00
Michael Natterer
c6e93e4f5a
pdb: generate nicer gtk-doc comments (no doc contents changed)
2010-09-15 22:07:36 +02:00
Michael Natterer
bbc44c9a6b
pdb: remove obsolete includes
2010-09-15 22:02:53 +02:00
Michael Natterer
38b9b4117e
pdb: deprecate gimp-drawable-is-text-layer and add gimp-item-is-text-layer
2010-09-15 21:51:53 +02:00
Michael Natterer
c56f0568c5
pdb: remove deprecated drawable procedures
...
and do the same stuff as for vectors procedures below.
2010-09-15 21:43:03 +02:00
Michael Natterer
548d2e041d
pdb: clean up gimp-layer-group-new
...
There is no need to wrap it with a function with identical
signature. Also move it next to the other layer-new functions.
2010-09-15 21:18:47 +02:00
Michael Natterer
97b35ab332
pdb: remove deprecated vectors procedures
...
that have a replacement with identical signature. Register them as
compat aliases with the PDB instead. Implement the libgimp API
manually, calling the new item functions.
2010-09-15 21:13:22 +02:00
Barak Itkin
2f62347bf6
pdb: Add a more detailed description to the gimp_image_insert functions
2010-09-15 00:02:28 +02:00
Barak Itkin
805a971d99
pdb: add the procedure gimp_layer_group_new
2010-09-14 22:41:56 +02:00
Michael Natterer
a885824f70
pdb: add barak_pdb_misc() instead of replicating the author information
2010-09-14 14:38:35 +02:00
Michael Natterer
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
Michael Natterer
8b38bde642
app: remove the "auto_center" params from gimpdrawable-transform.[ch]
...
Instead, add utility functions that calculate the centers for rotate
and flip and use them where we used to pass "auto_center". This looks
pretty much poinless, but a commit will follow that makes it look
better...
2010-09-07 23:43:18 +02:00
Michael Natterer
095ae5cc9b
app: move mask_bounds() and mask_intersect() from GimpDrawable to GimpItem
...
There is nothing drawable-specific in there, and having them on
GimpItem enables some simplifications, esp. in upcoming PDB
wrappers. None of these refactorings is in this commit though.
2010-09-07 21:30:46 +02:00
Michael Natterer
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
Sven Neumann
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
Sven Neumann
9486971f07
pdb: the new gimp-image-insert procedures should accept no parent
...
Allow to pass -1 as parent parameter to the newly added
gimp-image-insert procedures by adding the 'none_ok' flag.
2010-09-06 22:54:53 +02:00
Michael Natterer
0aec9a2b83
tools: fix quoting
2010-09-06 13:46:35 +02:00
Michael Natterer
d0e55640ec
pdb: deprecate gimp_image_add_layer,channel,vectors()
2010-09-06 00:15:40 +02:00
Michael Natterer
9e0dccec73
pdb: update docs to mention the new insert procs instead of the add ones
2010-09-06 00:03:29 +02:00
Michael Natterer
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
Michael Natterer
8ab4fbcf28
pdb: add context procedures for the new antialias and feather properties
2010-09-05 23:13:42 +02:00
Michael Natterer
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
Michael Natterer
1e4b3a53b3
tools: insert #include "gimppdbcontext.h" at the right place if needed
2010-09-04 22:31:58 +02:00
Alexia Death
d98bd748e7
Merge branch 'master' into soc-2010-cage-2
2010-09-01 11:21:58 +03:00
Martin Nordholts
bf62cc2e5f
Revert "tools: Add distdir-from-configure-ac.sh"
...
This reverts commit 762ad9c074
.
This tool should simply be installed on buildbot build slaves, doesn't
make sense to version control it in GIMP.
2010-08-31 17:46:27 +02:00
Michael Natterer
ab852d7409
pdb: add proper error messages for gimp_image_reorder_item()
2010-08-31 17:07:27 +02:00
Michael Natterer
b24de26791
libgimp: add gimp_image_reorder_item() for arbitrary reordering in a tree
2010-08-31 11:16:41 +02:00
Martin Nordholts
762ad9c074
tools: Add distdir-from-configure-ac.sh
...
Add distdir-from-configure-ac.sh for use by buildbot.
2010-08-30 23:13:21 +02:00
Michael Natterer
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
Michael Natterer
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
Alexia Death
aee148a486
Merge branch 'master' into soc-2010-cage-2
2010-08-26 21:50:55 +03:00
Barak Itkin
716a3ac446
pdbgen: Add README_NEW_PDB_PROC to Makefile.am
2010-08-11 19:24:59 +03:00
Barak Itkin
88ddd0b9c6
pdbgen: Add documentation on adding new PDB procedures
2010-08-11 19:09:07 +03:00
Michael Muré
5d483a9517
add an enum for cage mode
2010-08-08 13:24:50 +02:00
Michael Natterer
3184c440b3
app: introduce GimpItem::to_selection()
...
Which replaces all the deparate functions to turn layers, channels,
layer masks and vectors into selections. Use the new virtual function
all over the place instead of calling the functions in
gimpchannel-select.c manually.
2010-07-20 23:09:19 +02:00
Michael Natterer
19c01bc12a
tools: fix generated docs of gimp_enums_init()
2010-07-14 19:05:50 +02:00