Commit Graph

28008 Commits

Author SHA1 Message Date
Michael Natterer d62c287fce libgimpwidgets: remove the pixbuf inline data garbage from GimpPickButton
Instead, generate a proper header for inclusion in cursors/.
2010-09-13 02:16:18 +02:00
Barak Itkin 0097286a45 plug-ins: remove execute permission from common/file-pdf-save.c 2010-09-12 18:51:38 +02:00
Martin Nordholts 3c2f0809e3 app/tests: Increase GIMP_UI_WINDOW_POSITION_EPSILON
Increase GIMP_UI_WINDOW_POSITION_EPSILON, we had a nightly build that
failed with

  assertion failed ((int)abs (y_before_hide - y_after_show) <=
                    GIMP_UI_WINDOW_POSITION_EPSILON): (21 <= 10)

so appearently we need to be more liberal.
2010-09-12 18:37:00 +02:00
Michael Natterer fb53ac6c3a plug-ins: create the GimpPickButton from pixbuf inline data
instead of using GdkBitmap functions.
2010-09-12 02:44:00 +02:00
Michael Natterer 0f28b38a55 libgimpwidgets: set page_size to 0 on adjustments used for spin buttons
Spin buttons must always have a zero page size, fix that for all
spin buttons created with gimp_spin_button_new().
2010-09-12 00:57:13 +02:00
Michael Natterer 3c15255030 plug-ins: port curve-bend curve drawing to cairo 2010-09-12 00:54:39 +02:00
Sven Neumann 9c8736a56f app: formatting 2010-09-11 23:02:15 +02:00
Michael Natterer 885147717a libgimpwidgets: port GimpOffsetArea drawing to cairo
Has the same off-by-one bugs as before...
2010-09-11 22:39:05 +02:00
Michael Natterer 1770615125 libgimpwidgets: ports GimpColorSelect marker drawing to cairo 2010-09-11 22:24:08 +02:00
Michael Natterer 251177f18d libgimpwidgets: fix GimpColorScale arrows to be as small as before 2010-09-11 22:06:00 +02:00
Sven Neumann 22d5dc9752 app: formatting 2010-09-11 21:34:58 +02:00
Simon Budig 9ffaf94170 fix path import of polylines/polygons 2010-09-11 01:51:13 +02:00
Michael Natterer 354a640e9e libgimpwidgets: port the rest of GimpColorScale drawing to cairo 2010-09-10 21:33:00 +02:00
Martin Nordholts f6761e79a9 po: Update POTFILES.in 2010-09-10 21:21:01 +02:00
Michael Natterer e617ecedd9 libgimpwidgets: port GimpColorScale slider drawing to cairo 2010-09-10 20:57:06 +02:00
Michael Natterer 8b4bcbb9e1 libgimpwidgets: port GimpColorArea drawing to cairo
And unexport an unused lib-internal function. Leave it there privately
though because it might be useful later.
2010-09-10 19:53:48 +02:00
Michael Natterer 7f9a4d51f7 app: get rid of using gdk_draw to construct bitmap cursors
At the same time, get rid of bitmap cursors alltogether. Instead
(because it looks ugly to have GDK convert RGBA cursors into bitmaps
for old X servers), add the bitmaps as proper PNGs and simply use them
as RGBA cursors.
2010-09-10 19:12:52 +02:00
Michael Natterer 9b440396e1 plug-ins: port ifs-compose drawing to cairo 2010-09-10 14:44:41 +02:00
Michael Natterer 3b0c4e2e5e app: port a gdk_draw_rectangle() in GimpComboTagEntry to cairo 2010-09-10 13:47:04 +02:00
Michael Natterer a0d3d8d763 plug-ins: port color-rotate drawing to cairo and simplify the code 2010-09-09 21:50:55 +02:00
Alexia Death d9932ff159 app: Fix potential segfault caused by accessing empty history buffer 2010-09-09 21:56:56 +03:00
Martin Nordholts 113941a7e5 libgimp: Update gimp.def 2010-09-09 16:37:21 +02:00
Michael Natterer 52a6a8deb8 plug-ins: port sample-colorize drawing to cairo 2010-09-09 14:07:27 +02:00
Michael Natterer 333eeab13f plug-ins: pagr-size must be 0 on adjustments used for spin buttons 2010-09-09 13:50:15 +02:00
Michael Natterer 154eb3d307 app: port the splash's background pixmap drawing to cairo 2010-09-09 03:32:45 +02:00
Michael Natterer fe536cf845 plug-ins: remove more useless logic from nova 2010-09-09 02:07:58 +02:00
Michael Natterer 3c062c3f23 plug-ins: port lens-flare center drawing to cairo 2010-09-09 02:07:13 +02:00
Michael Natterer 0ad9051bc3 plug-ins: more cleanup in nova and tile-small 2010-09-09 01:54:00 +02:00
Lloyd Konneker c5658da09c Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Fix one of many plugins: gimpressionist

Checks for intersecting selection before opening a dialog, and
finding none, returns an error string. Without the patch, the plugin
dialog has a black preview, when user chooses OK assertions fail, and
the plugin has no effect, but doesn't crash.
2010-09-08 21:49:04 +02:00
Michael Natterer 0aa35c8c8e plug-ins: use the same opacities for drawing lines on top of the preview 2010-09-08 21:00:29 +02:00
Michael Natterer 9970a2b14b plug-ins: port nova cursor drawing to cairo and simplify drawing a lot 2010-09-08 20:52:02 +02:00
Michael Natterer 73b5f87873 plug-ins: port tile-small selection drawing to cairo 2010-09-08 20:33:39 +02:00
Michael Natterer fd14818035 app: port GimpDisplayShell transform preview drawing to cairo 2010-09-08 19:32:22 +02:00
Michael Natterer e0ad0f478e plug-ins: port filter-pack drawing to cairo 2010-09-08 14:36:29 +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
Sven Neumann 178aa9c6dc app/tools: fix alternative button order 2010-09-07 20:39:45 +02:00
Michael Natterer 24b6c27e42 app: use gimp_drawable_mask_intersect() instead of mask_bounds() 2010-09-07 17:43:39 +02:00
Michael Natterer df1575234c app: make the code in gimp_drawable_mask_intersect() a bit more readable 2010-09-07 17:08:54 +02:00
Michael Natterer bdc2d4520b app: make sure to always show error messages returned by plug-ins
gimp_plug_in_handle_proc_return(): if there is no plug-in main loop
running (the plugin was running asynchronously from a menu), show the
plug-in's error message here, because nobody else will show it
otherwise.
2010-09-07 16:21:40 +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 d96b491050 Update use of Pango API and bump required version to 1.22.0
Uodate Pango required version and stop using the deprecated
pango_cairo_font_map_create_context(). Compile with
PANGO_DISABLED_DEPRECATED for pango < 1.30.
2010-09-07 00:53:17 +02:00
Michael Natterer 4264afbb0e pygimp: port to gimp_item_to_selection() 2010-09-07 00:35:28 +02:00
Sven Neumann bab75db54e python: port plug-ins to Image.insert_layer() 2010-09-06 23:58:10 +02:00
Sven Neumann 378a465caa python: add Image.insert_layer() and Image.insert_channel() 2010-09-06 23:43:22 +02:00
Sven Neumann 48f6219585 python: use gimp_image_insert_layer() instead of add_layer() 2010-09-06 23:31:04 +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