e01189ca77
app: remove checks from stuff that now works on indexed layers
2012-05-02 17:46:04 +02:00
1780cfc1e7
app: remove the !seed_fill case from gimp_drawable_bucket_fill()
...
We use gimp_edit_fill() for that now. Also remove bucket fill's
_full() variant because it's unused now.
2012-05-02 17:46:01 +02:00
3ec245a991
app: add opacity and paint_mode to gimp_edit_fill[_full]()
...
and use it instead of bucket-fill in the non-seed-fill case.
2012-05-02 17:46:01 +02:00
88388467cc
app: move the layer mask show, edit, apply API from GimpLayerMask to GimpLayer
...
because it would require really evil hacks to honor these properties
in the gegl projection if they were on the mask, and because they
actually belong to the layer.
2012-05-02 17:45:56 +02:00
15957cb3c4
app: remove the legacy brightness-contrast code and use GEGL instead
...
it's reasonably fast now.
2012-05-02 17:45:53 +02:00
5d1474c17e
app: use GEGL to extract an image's component into a channel
...
Add gimp_image_get_component_format() for that purpose.
2012-05-02 17:45:53 +02:00
7c3a796dfc
app: added GimpPickable::get_buffer()
...
Add cached buffers to GimpProjection and GimpImageMap, and use
the new API where possible.
2012-05-02 17:45:50 +02:00
63bd108afb
app: always use GEGL to invert drawables
...
and remove the now useless gimpdrawable-invert.[ch].
2012-05-02 17:45:46 +02:00
6d3a8fe73d
app: rename gimp_drawable_apply_operation_with_config()
...
to gimp_drawable_apply_operation_by_name() and allow to pass
a NULL config.
2012-05-02 17:45:46 +02:00
0623c7f365
app: remove the pointless core wrappers for the below simplified color stuff
...
Instead, provide gimp_drawable_apply_operation_with_config() and call
that from the PDB wrappers directly.
2012-05-02 17:45:45 +02:00
0025f9f354
fix typo "equalizee"
2012-04-12 01:28:30 +02:00
f2f1eab753
app: add "ERROR" to the values of enum GimpPdbErrorCode
...
so they are now GIMP_PDB_ERROR_FOO instead of just GIMP_PDB_FOO,
because it was just too confusing wrt enum GimpPdbStatusType.
2012-03-05 19:36:59 +01:00
b952f80be0
Bug 658477 - add PDB support for more paint and ink options
...
Apply heavily modified patch from Es Swartz which adds PDB API for
brush size, angle and aspect ratio, as well as a full interface for
ink. Changed to patch to add all procedures to the "context" group
instead of creating new PDB groups, properly use the new
GimpPDBContext APIs for paint options, and did some general cleanup.
(Warning, completely untested).
2012-03-01 12:58:26 +01:00
39368a410d
plugged memory leaks
2012-02-07 17:32:02 +01:00
44752a0f09
pdbgen: make it work with a read-only srcdir
...
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.
2011-11-06 17:33:20 +01:00
d1346d5eb4
pdb: distribute enums.pl
...
It's in git, so it should also be in the tarball. Fixed distcheck
after we have maintainer mode on by default (also in tarballs).
2011-11-01 17:49:00 +01:00
634cf6d620
pdb: add gimp-dynamics-refresh and gimp-dynamics-get-list
2011-10-31 22:22:19 +01:00
6ee7b22153
pdb: use the newly added GimpPDBContext paint options for painting
...
so all paint context settings take part in the push/pop logic.
2011-10-31 22:08:53 +01:00
01344f811d
pdb: add dynamics accessors to the context procedures
2011-10-31 21:08:12 +01:00
94d2ee7bcb
pdb: restore the ability to reset the dither matrix to default
2011-10-08 20:28:38 +02:00
02038d5dd3
pdb: set_dither_matrix(): check that the matrix array has the right size
...
Fixes a way to easily crash GIMP.
2011-10-08 16:40:44 +02:00
42756159b5
pdb: Mark more pdb args as dead, and regen code
2011-10-08 19:25:32 +05:30
61660b33d0
pdb: Mark various pdb args as dead, and regen code
2011-10-08 19:13:03 +05:30
6469290439
pdb: Add functionality to drop codegen for dead args
2011-10-08 19:02:09 +05:30
2ea49c594c
gimptool: Use GIMP_PLUGIN_VERSION instead of GIMP_API_VERSION for scripts dir
2011-10-04 18:29:28 +05:30
eb11a466ac
gimptool: Replace path generation code with glib functions
2011-10-04 18:28:52 +05:30
4e056e79d2
gimptool: Fix system script dir path
2011-10-04 18:11:29 +05:30
e071bfa3b6
Bug 656716 - Have a procedure to get a layer from its name
...
Add gimp_image_get_[layer|channel|vectors]_by_name().
2011-09-24 16:35:59 +02:00
b74c7d0ff6
Bug 656471 - GIMP crashes when File > Properties
2011-08-13 23:03:31 +02:00
da37e9ff3e
Bug 596410 - gimp-image-get-filename returns NULL for imported files
...
Make gimp_image_get_uri() and gimp_image_get_filename() behave as in
the GIMP 2.6 days. Add new functions gimp_image_get_xcf_uri(),
gimp_image_get_exported_uri() and gimp_image_get_imported_uri().
2011-08-12 21:15:16 +02:00
0f58d779c1
pdb: Untabify image.pdb
2011-08-12 20:18:45 +02:00
2356aad3da
Remove gimp-remote for good, it has been disabled since 2008
2011-07-30 18:59:39 +02:00
60c94c69b9
gimp-remote: don't use deprecated gdk_window_foreign_new_for_display()
...
use gdk_x11_window_foreign_new_for_display() instead
2011-05-03 12:36:41 +02:00
62e3e88ea1
gimp-remote: include gimpbase.h rather than gimpversion.h
...
this is a followup to commit 844df2b4df
2011-05-03 12:35:34 +02:00
856c89a845
libgimp: add guards that #error out if individual files are included
2011-04-28 19:59:52 +02:00
cc47b2a600
libgimpwidgets/color: move the cairo color utility functions to libgimpcolor
...
Add CAIRO_CFLAGS to a lot of Makefiles to make this possible, and
because they pull in cairo via the libgimp headers.
2011-04-28 15:50:39 +02:00
8364672b11
tools: #include "libgimpbase/gimpbase.h" and not just gimpversion.h
2011-04-28 12:47:38 +02:00
139fb874a3
Fixed grammatical error in help text for gimp-context-set-feather-radius
2011-04-16 15:00:29 -04:00
bf1eca22a6
Added PDB procedure gimp-context-set-defaults to reset context settings
2011-04-07 22:43:37 -04:00
0d617dabea
Fixed a typo (prodecure -> procedure)
2011-04-07 22:43:37 -04:00
9424d42d36
pdb: apply recent fixes to the deprecated transform procedures
...
Don't transform the tiles of group layers, use the item transform API
instead. Go the same code path if there is no selection.
2011-03-25 22:35:46 +01:00
1a359a138d
pdb: don't recommend deprecated replacement procedures for deprecated procedures
2011-03-25 22:03:14 +01:00
4d7dbe233d
pdb: do the same optimization as in the transform tool in the commit below
2011-03-25 21:57:56 +01:00
ce606d9561
app: Fix a dynamics leak from new pdb fix
2011-03-19 22:48:17 +02:00
5d5430e110
app: Fix pdb size and dynamics brush stuff
...
[ Mikael: deduplicated brush size setting and fixed some whitespace ]
2011-03-19 18:39:02 +01:00
bb80dfdc8e
Revert "app: Fix pdb properly this time"
...
This reverts commit 1a8edd7d1d
.
2011-03-19 16:42:53 +01:00
1a8edd7d1d
app: Fix pdb properly this time
2011-03-19 17:12:14 +02:00
e24795f167
Bug 600554 - Implement layer group transforms
...
Same fix for the PDB: if the item to transform is a group layer, call
gimp_item_transform()/rotate()/... directly instead of going through
the wrong cut/transform/paste code path.
2011-03-17 22:00:38 +01:00
bb6436cb44
libgimp: deprecate and rename the global pararasite functions
...
just as it was done for items and images. Remove the "parasite" PDB
group completely.
2011-03-08 14:31:04 +01:00
7fae2b2d40
libgimp: rename the "misc" pdb group to "gimp"
...
So we finally have a proper place for PDB procedures that don't act on
an object like image, item, ...
2011-03-08 13:58:56 +01:00