Michael Natterer
697572ccc0
app,libgimp*: fix includes to follow our include policy
...
- don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
- instead, include it in many .c files instead of <glib-object.h>,
finally acknowledging the fact that app/ depends on gdk-pixbuf almost
globally
- fix up includes as if libgimpbase depended in GIO, which it soon will
2013-10-15 01:58:39 +02:00
Clayton Walker
76bdbf6d8f
app: I actually tested it this time
2013-06-23 13:39:18 +02:00
Clayton Walker
fb1d220a3f
app: fix previous commit
2013-06-23 13:24:45 +02:00
Clayton Walker
03f559923b
app: properly initialize more variables
...
Found by Coverity
2013-06-23 13:10:44 +02:00
Mikael Magnusson
0091645129
app: remove pointless NULL checks
2013-06-16 01:31:13 +02:00
Mikael Magnusson
ad0d43da87
app: remove double return
2013-06-15 22:57:10 +02:00
Simon Budig
4852e59ec1
remove some disabled nonfunctional code with german comments.
2013-06-15 22:17:48 +02:00
Michael Natterer
ec786816bb
*/Makefile.am: merge INCLUDES into AM_CPPFLAGS
...
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
Michael Natterer
3b68ae0f3c
app, pdb, libgimp: Remove all traces of the supersampling recursion level
...
from all transform APIs. This is no longer used since we use GEGL to
transform, the value was only passed around and never used.
2013-05-31 01:15:32 +02:00
Ville Skyttä
6b0d1038cc
Bug 692641 - Various spelling fixes
2013-01-27 18:59:02 +01:00
Michael Natterer
908f727f0a
Chain up unconditionally in GObject::constructed()
...
It's supported since GLib 2.28.
2012-11-12 21:51:22 +01:00
Kevin Cozens
a2e037fb00
Corrected spelling errors spotted by Ari Pollak (Mostly fixes bug #683694 )
...
Still need to address the "allows to" grammatical error.
2012-09-10 12:22:12 -04:00
Michael Natterer
7610e299ae
Use GimpValueArray and GimpParamSpecValueArray
...
instead of the deprecated stuff from GLib.
2012-05-04 00:51:50 +02:00
Michael Natterer
3ad73b3658
libgimpcolor: add GdkPixbuf <-> GeglBuffer utility functions
...
and update tons of includes in libgimp and app.
2012-05-03 03:37:20 +02:00
Michael Natterer
bdf6b48138
app: move GimpTempBuf from base/ to core/
...
and forget about include policy in base/, it's scheduled for removal
anyway.
2012-05-02 17:51:01 +02:00
Michael Natterer
d5d8e36d21
app: gimp_-namespace all GimpTempBuf functions
2012-05-02 17:51:00 +02:00
Michael Natterer
42a5f01be3
app: rename TempBuf to GimpTempBuf
2012-05-02 17:51:00 +02:00
Michael Natterer
7441a1f6f7
app: turn the TempBuf's "bytes" into "format" and port everything to it
2012-05-02 17:50:59 +02:00
Michael Natterer
ff86f85744
app: remove x, y and color parameters from temp_buf_new()
...
Fix the places that passed the color by either temp_buf_data_clear()
or memset(), and assign x and y manually, they are going to vanish
completely soon.
2012-05-02 17:50:58 +02:00
Michael Natterer
5a7b7d9a4b
app: add gimp_gegl_buffer_get_tile_manager()
...
and ust it in some get_memsize() functions instead of having a
FIXME. So many files changed because they need to inlcude <gegl.h>
now.
2012-05-02 17:46:07 +02:00
Michael Natterer
2414301799
Review the last few commits and apply some style fanaticism
...
some completely unrelated,
2012-02-07 20:36:55 +01:00
Massimo Valentini
39368a410d
plugged memory leaks
2012-02-07 17:32:02 +01:00
Michael Natterer
056e09a6cb
Remove the makefile.msc build system, it is unmaintained since 2008
2011-12-16 15:53:56 +01:00
Mukund Sivaraman
58252b23d3
app (vectors): Remove redundant assignment
2011-10-08 18:28:00 +05:30
Mukund Sivaraman
e05af3cafb
app (vectors): Delete dead assignments
2011-10-08 18:22:06 +05:30
Michael Natterer
c35ff719a7
app/libgimp*: remove stuff found by -Wunused-but-set-variable
2011-05-01 23:23:19 +02:00
Michael Natterer
8b4870dad7
app: move GimpBezierDesc from app/vectors/ to app/core/
2011-04-04 18:40:12 +02:00
Michael Natterer
fcfb7cf160
Use the new g_[s]list_free_full() instead of foreach() and free()
2011-03-07 17:11:28 +01:00
Michael Natterer
fc7bd98d92
app: move all GimpStrokeOptions members to private
2011-03-05 21:00:28 +01:00
Michael Natterer
eacd80446d
app: finally get rid of gimp_item_configure() and drawable_configure()
...
and turn them into gimp_item_new() and gimp_drawable_new()
2011-02-01 12:47:24 +01:00
Michael Natterer
5c8ec234cc
app: add "image" as construct property to GimpItem
...
- The image *must* now be passed to g_object_new() when creating items
- Remove the "image" parameter from all item configure() functions
- Set the item's ID in gimp_item_set_image() if it has none yet
2011-02-01 10:28:10 +01:00
Michael Natterer
96efc7ea1c
app: reset an item's "removed" state as it is added to its parent container
...
and not "manually" from the resp. undo functions.
2011-01-30 19:36:27 +01:00
Michael Natterer
c1b3575648
app: implement GObject::constructed() instead of ::constructor()
2011-01-12 23:06:03 +01:00
Michael Natterer
d46b53f63d
Bug 635040 - Edit -> Stroke Path performs no action on an incomplete path
...
Add error reporting to gimp_drawable_stroke_vectors() and produce the
same warning as the paint core when trying to stroke a path with zero
or one points only.
2010-11-25 11:31:40 +01:00
Sven Neumann
beef765b4f
Bug 631885 - GIMP fails to import a path from SVG
...
If a moveto is followed by multiple pairs of coordinates, the
subsequent pairs are supposed to be treated as implicit lineto
commands.
The parser used to ignore this part of the SVG specification and
treated subsequent pairs of coordinates as moveto commands (which
is correct in general, but for moveto commands there is this
explicit exception of the general rule).
2010-10-13 22:01:58 +02:00
Sven Neumann
4236990351
app/vectors: formatting
2010-10-13 21:52:10 +02:00
Michael Natterer
6b8141d548
app: wrap GimpBezierDesc in a boxed type to make property handling easier
2010-10-08 18:52:28 +02:00
Michael Natterer
2a965a8a78
app: argh, don't include the .c file
2010-10-06 22:49:53 +02:00
Michael Natterer
a16fc33c43
app: add new() copy() and free() API around GimpBezierDesc
...
and use it instead of manually (de)allocating. Will also be used in a
new canvas path item.
2010-10-06 22:37:07 +02:00
Michael Natterer
428e9b908b
app: more cleanup, move more variables to local scopes
2010-09-17 23:15:16 +02:00
Sven Neumann
ec2be9b415
app: cache bounding box of GimpVectors object
...
Cache the bounding box of the GimpVectors similar to the bezier
representation.
2010-09-17 21:31:55 +02:00
Michael Natterer
97912b481e
app: move variables to local scopes in gimp_vectors_bounds()
2010-09-17 16:09:30 +02:00
Sven Neumann
31fb4c9559
app: use GSlice for GimpBezierDesc
2010-09-16 23:27:25 +02:00
Sven Neumann
5abae32923
app: cache bezier representation in GimpVectors object
...
Introduce gimp_vectors_get_bezier() which creates the bezier
representation on demand and then caches it for subsequent calls
until the vectors object is frozen.
At some point we should introduce GimpVectors::changed instead
of relying on the fact that a vectors object is always frozen
and thawn whenever it is changed...
2010-09-16 21:36:51 +02:00
Sven Neumann
9c8736a56f
app: formatting
2010-09-11 23:02:15 +02:00
Simon Budig
9ffaf94170
fix path import of polylines/polygons
2010-09-11 01:51:13 +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
e23e99e2ab
app: add missing translation context for undo descriptions
2010-07-08 18:10:33 +02:00
Michael Natterer
314a6ab926
app: merge the layer, channel and vectors repositioning APIs
...
into an API based on GimpItem.
2010-07-08 18:08:13 +02:00
Michael Natterer
0908e53148
app: use the new unit conversion functions
...
and get rid of the brainfuck idea that app/ has to use _gimp_unit_foo()
functions, passing a gimp pointer. Instead, simply use the libgimpbase
API all over the place. Should we ever allow more than one gimp instance,
they will simply have to share one unit database.
2010-02-21 16:46:39 +01:00