Commit Graph

1537 Commits

Author SHA1 Message Date
Michael Natterer c35ff719a7 app/libgimp*: remove stuff found by -Wunused-but-set-variable 2011-05-01 23:23:19 +02:00
Michael Natterer 856c89a845 libgimp: add guards that #error out if individual files are included 2011-04-28 19:59:52 +02:00
Michael Natterer 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
Michael Natterer ee03177be8 libgimp: don't include individual files from libgimp* 2011-04-28 14:24:59 +02:00
Michael Natterer 3d7e51c52f libgimp: #include "libgimpbase/gimpbase.h" instead of individual files 2011-04-28 13:09:30 +02:00
Mukund Sivaraman 6877a14caf Fix gtk-doc for gimp_layer_new_from_surface() 2011-04-27 20:35:56 +05:30
Michael Natterer 1616151b0e libgimp: remove opacity and mode parameters from gimp_layer_new_from_surface()
They are passed as default values in almost all cases, and can simply
be set later if needed.
2011-04-21 21:10:37 +02:00
Michael Natterer 374dd50c43 libgimp: add gimp_layer_new_from_surface()
and to enable that, make libgimp depend on Cairo.
2011-04-20 23:58:00 +02:00
Michael Natterer bdc08aae83 libgimp: move pixbuf functions from gimpui.def to gimp.def 2011-04-20 23:54:32 +02:00
Michael Natterer 058c0b2a0d libgimp: s/GLIB_CFLAGS/GDK_PIXBUF_CFLAGS/ for libgimp in Makefile.am
and some formatting cleanup.
2011-04-20 23:38:49 +02:00
Michael Natterer 26bf2b0cd7 Make libgimp depend on GdkPixbuf
Move the pixbuf layer and image thumbnail function from libgimpui to
libgimp and move gimp_layer_new_from_pixbuf() to gimplayer.[ch] where
it belongs. Change gimp-2.0.pc accordingly, adapt plug-in Makefiles
and update devel-docs.
2011-04-20 20:04:35 +02:00
Kevin Cozens 139fb874a3 Fixed grammatical error in help text for gimp-context-set-feather-radius 2011-04-16 15:00:29 -04:00
Martin Nordholts 7415ef3a8e libgimp: Update gimp.def 2011-04-09 19:12:20 +02:00
Kevin Cozens bf1eca22a6 Added PDB procedure gimp-context-set-defaults to reset context settings 2011-04-07 22:43:37 -04:00
Kevin Cozens 0d617dabea Fixed a typo (prodecure -> procedure) 2011-04-07 22:43:37 -04:00
Michael Natterer 24ee3370b8 Depend on GTK+ >= 2.24.3, cairo >= 1.20.1, gdk-pixbuf >= 2.22.1
and completely separate configure and sanity checks for gdk-pixbuf
from GTK+, because it's now distributed as a separate package. Remove
all sorts of conditional compiling based on GDK_CHECK_VERSION() and
CAIRO_VERSION.
2011-04-06 19:58:24 +02:00
Michael Natterer 1a359a138d pdb: don't recommend deprecated replacement procedures for deprecated procedures 2011-03-25 22:03:14 +01:00
Mukund Sivaraman d6c4d21190 Use guints for flags 2011-03-24 11:03:46 +05:30
Martin Nordholts 18fd05d33f libgimp: Update and sort gimp.def with parasite API changes 2011-03-09 07:41:09 +01:00
Michael Natterer 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
Michael Natterer 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
Michael Natterer 95e498e0c0 libgimp: rename gimp_pdb.h to gimp_pdb_headers.h 2011-03-08 13:42:05 +01:00
Michael Natterer 87646e9ace libgimp: deprecate and rename the image parasite functions
in exactly the way the drawable functios were turned into item ones.
2011-03-08 13:19:21 +01:00
Mikael Magnusson c913c1512a libgimp, plug-ins: change the parasite function calls in more places 2011-03-02 21:57:37 +01:00
Kevin Cozens 8438bc5bb7 Commiting auto-generated files with recently corrected PDB help text. 2011-03-01 17:06:59 -05:00
Michael Natterer 7faaf4df41 libgimp: rename the newly added item parasite functions
gimp-item-find-parasite -> gimp-item-get-parasite
gimp-item-list-parasites -> gimp-item-get-parasite-list

Also changed the signature of gimp-item-get-parasite-list's C wrapper
in libgimp to be sane.
2011-03-01 22:19:48 +01:00
Michael Natterer 8333dfde7b Add some #if GTK_CHECK_VERSION (2, 24, 0) for creating foreign window
so we don't use deprecated API and make the gtk3 port simpler.
2011-02-16 22:51:02 +01:00
Michael Natterer a604a12eb5 libgimp: fix the docs of gimp_vectors_to_selection() 2011-02-13 18:31:14 +01:00
Michael Natterer 92b6d70448 libgimp: remove the layer/channel/vectors raise/lower/position procedures
and add them to the list of compat_procs instead.
2011-02-13 18:29:08 +01:00
Michael Natterer 6818dae23e libgimp: remove the drawable and vectors parasite PDB functions completely
and simply add them to the list of "compat_procs" which have a
replacement with identical signature. Move the libgimp C functions to
non-generated files.
2011-02-13 17:48:39 +01:00
Michael Natterer b4c9987de6 libgimp: move the item parasite functions to the parasites files
and rename them yet again to be gimp_item_foo_parasite() instead of
gimp_item_parasite_foo() because the latter is just a misnaming (they
are not GimpItemParasites, they are GimpParasites attached to
GimpItems, just as layers are attached to images).
2011-02-13 17:28:30 +01:00
Michael Natterer aa667f790e app: rename gimp_image_select_fuzzy() to gimp_image_select_contiguous_color()
and update all documentation accordingly. Also reorder the
gimp_image_select procedures.
2011-02-13 17:13:28 +01:00
Michael Natterer 014cc2140e libgimp: document which context setting affects what prodecures 2011-02-12 15:20:46 +01:00
Michael Natterer b33076bea5 libgimp: document which context settings affect the new transform API 2011-02-11 21:15:31 +01:00
Michael Natterer f4af9b549e Globally switch to saying "window_id" instead of just "window"
when dealing with native window handles. Also get rid of using
GdkNativeWindow and simply consistently use guint32 all over the
place. This is more obvious and consistent and keeps the diff to the
gtk3-port branch smaller.
2011-02-06 12:07:55 +01:00
Michael Natterer 1931cca5ab libgimp: deprecate the entire old gimp_foo_select() API
It's now completely replaced by the new gimp_image_select_foo() functions.
2011-02-06 11:20:07 +01:00
Michael Natterer bc5e0a79ab libgimp: remove "select-transparent" parameters from the new selection API
and use the sample-transparent setting from GimpPDBContext instead.
2011-02-06 11:20:07 +01:00
Michael Natterer d3a291d2df pdb: add "sample-transparent" as GimpPDBContext property
and add PDB API to get/set it.
2011-02-06 11:20:07 +01:00
Michael Natterer c15488d10a libgimp: remove "threshold" parameters from the new selection API
and use the sample-threshold setting from GimpPDBContext instead.
2011-02-06 11:20:07 +01:00
Michael Natterer 2e16d932ec pdb: add "sample-threshold" as GimpPDBContext property
and add PDB API to get/set it.
2011-02-06 11:20:07 +01:00
Michael Natterer 1205a6aedd pdb: add "sample-criterion" as property to the PDB context
See commit below
2011-01-27 21:26:16 +01:00
Michael Natterer bb6083a1eb pdb: add "sample-merged" as property to the PDB context
- add API to get/set the new state
- remove sample-merged parameters from the new gimp_image_select_foo() API
- update procedure documentation
2011-01-27 21:26:16 +01:00
Michael Natterer 47eaecdc9d libgimp: deprecate a bunch of old selection API
namely ellipse_select(), free_select(), rect_select() and
round_rect_select() because they are fully replaced by the new
gimp_image_select_foo() functions. Will deprecate the rest as soon as
I have figured how to put the parameter overkill of the remaining
functions into context properties.
2011-01-25 19:28:30 +01:00
Michael Natterer 9703bed2ef libgimp: reorder the parameters of the new and unused gimp-image-select API
Make the common "image" and "operation" parameters come first.
2011-01-24 14:53:42 +01:00
Michael Natterer 8d2d16ac25 libgimp*: implement GObject::constructed() instead of ::constructor() 2011-01-12 22:03:33 +01:00
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