Commit Graph

31853 Commits

Author SHA1 Message Date
Michael Natterer 4699725821 app: port floating selection blending to the new mode ops
Also, remove the fallback layer mode code from GimpOperationPointLayerMode,
and pass premultiplied = FALSE to gimp_gegl_node_set_layer_mode().
2012-05-18 23:37:56 +02:00
Michael Natterer 001e0f0b40 app: port gimp_gegl_create_apply_buffer_node() to the new mode ops 2012-05-18 22:59:04 +02:00
Ville Sokk e377eb01cd app: modified gegl blending modes to take mask and opacity inputs 2012-05-18 22:52:48 +02:00
Michael Natterer efa52edf6e app: change the layer's graph to expect mode operations with mask inputs
and opacity inputs. Add two offset nodes for both layer and mask, and
plug everything directly into the mode node.
2012-05-18 18:57:58 +02:00
Michael Natterer 39c18e9a48 app: make file_save() aware of the difference between overwrite and export
by having two booleans "export_backward" and "export_forward" in the
api instead of just an "export" one that would destroy the "imported
from" state. This change fixes the state of the "Overwrite" menu item,
so it stays visible until the file got either saved or exported to
another filename.

This also reverts commit a4beeecf2b, so
Ctrl-S is always invokable even if invisible.
2012-05-18 18:57:58 +02:00
Massimo Valentini cac0504f29 Bug 675981: Export as JPEG "save defaults" "load defaults" doesn't work
oversight
2012-05-18 17:20:52 +02:00
Michael Natterer 2d882dd64f Bug 676279 - Ctrl or Shift causes selection tools to reset...
Make sure to not override the logic that separates the tool option's
selection mode from the one determined by modifiers, by blindly
calling gimp_modifiers_to_channel_op(state) on a zero state.
2012-05-17 23:34:22 +02:00
Michael Natterer 439c5a7814 pdb: add missing breaks in switch() so we don't always pattern-fill 2012-05-17 21:56:45 +02:00
Michael Natterer 8851ec0b6e Revert "app (gimprc): Delete dead assignment"
This reverts commit d6d2a0bbd1
and allows more than one unknown gimprc token again.

Fixes Bug 674096 - Strange behavior with gimprc
2012-05-17 01:15:37 +02:00
Michael Natterer b50e924df0 Bug 676164 - Text Tool selects hidden layers
Also fix the other layer picking functions to not pick invisible
layers.
2012-05-17 00:08:41 +02:00
Daniel Sabo 7d62e8370a Bug 675875 - Gimp Quartz doesn't respond to file open events from finder
Add Carbon based apple events responder for kAEOpenDocuments
2012-05-16 22:59:13 +02:00
Wouter Bolsterlee 83460c9aec Updated Dutch translation 2012-05-16 00:37:19 +02:00
Wouter Bolsterlee b7fbdec240 Updated Dutch translation 2012-05-16 00:06:38 +02:00
Michael Natterer c73bcac2d0 app: create the offset node in GimpLayer, and manage its offset in GimpItem 2012-05-15 22:25:12 +02:00
Michael Natterer c3e933b7b2 app: always use gimp_item_peek_node() to check if the item has a graph
instead of checking different things in each item subclass, which is
confusing to the reader.
2012-05-15 21:57:40 +02:00
Michael Natterer 4d1173570a Bug 676107 - Picking logic doesn't take group visibility into account
gimp_layer_get_opacity_at(): use gimp_item_is_visible() not
get_visible() so we use the layer's effective visibility.
2012-05-15 19:46:47 +02:00
Marco Ciampa 503c56545d Updated italian translation. 2012-05-15 11:59:09 +02:00
Praveen Illa 13ddc97514 Updated Telugu Translations 2012-05-15 11:21:18 +05:30
Michael Natterer 9d1ff75c61 app: limit the tile-cache size to G_MAXINT also in the UI
and #warning about it in the code until GEGL has a guint64 cache size
property.
2012-05-15 02:29:47 +02:00
Michael Natterer ede421bd45 app: rename GimpBaseConfig to GimpGeglConfig
because that's its future purpose.
2012-05-14 22:57:58 +02:00
Øyvind Kolås 9b7860cbfc plug-ins: remove normalize plugin from menus
This is the same as auto-levels
2012-05-14 19:13:10 +02:00
Michael Natterer ab4c613a70 Bug 675994 - Opening image with a saved selection breaks histogram updating
In fact, it broke much more than that because the way XCF loading
replaced the image's mask prevented the image's "mask-changed" signal
from ever being emitted. Add private API gimp_image_take_mask() which
properly sets the mask and use it for image construction and the XCF
selection loading hack.
2012-05-14 01:44:41 +02:00
Michael Natterer c4142d0574 app: change the value to render in the GimpScanConvert API to a 0..1 double 2012-05-13 23:13:53 +02:00
Michael Natterer e7618dab31 app: actually use the needed cairo stride in gimp_scan_convert_render_full() 2012-05-13 22:57:58 +02:00
Michael Natterer 14b51cc558 app: default to half the physical memory for the tile-cache-size setting
Wanted to do this for ages but forgot...
(cherry picked from commit 36bb8a625b)

Additionally, set the default undo memory size to 1/8th of the
physical memory.
2012-05-13 20:33:46 +02:00
Jihui Choi b73bc11d3f Update Korean translation 2012-05-14 00:49:17 +09:00
sebul 28912c8f6e Update Korean translation 2012-05-14 00:46:10 +09:00
Alexandre Prokoudine a3e2a942e6 Added missing filters' sensitivity, restored alphabetical order 2012-05-13 18:58:54 +04:00
Michael Henning 1c1e7813f4 libgimp: Use a relative path to libgimp-2.0.la so parallel builds work. 2012-05-13 15:42:21 +02:00
Alexandre Prokoudine eb48617a38 Replaced old Difference of Gaussians, Laplace and Sobel filters with new GEGL operations 2012-05-13 06:41:19 +04:00
Alexandre Prokoudine ac85c84a0f Replaced old Ripple and Lens Distortion filters with new GEGL operations 2012-05-13 06:15:24 +04:00
Alexandre Prokoudine 20ae491b21 Replaced the old Unsharp Mask filter with the new GEGL operation 2012-05-13 05:38:24 +04:00
Michael Natterer db1dda6e3f libgimpbase: implement relocation for OSX
Using [[NSBundle mainBundle] resourcePath]
2012-05-12 20:56:30 +02:00
Michael Natterer 4805f875ef libgimpbase: it's "GIMP" not "Gimp" 2012-05-12 16:48:05 +02:00
Michael Natterer 9112d68488 Move gimpdir and thumbnails to proper places on OSX
gimpdir goes to ~/Library/Gimp/x.y
thumbnails go to ~/Library/Caches/org.freedesktop.thumbnails

The thumbnail location is not standardized yet, but is the only
location that makes sense. Also fix user install to search old
gimpdirs to migrate in both Library and the classic location.
Remove the obsolete CABON_CFLAGS from all makefiles.
2012-05-12 14:39:44 +02:00
Ville Sokk cf442d3386 app: added gegl value and behind blending modes 2012-05-11 20:37:47 +03:00
Ville Sokk c713e80e63 app: added initial gegl color blending mode 2012-05-11 18:53:49 +03:00
Ville Sokk cc0410a226 app: added initial gegl version of saturation blending mode 2012-05-11 18:28:49 +03:00
Michael Natterer 06382a0037 app: add operations-types.h to Makefile.am 2012-05-11 15:57:31 +02:00
Michael Natterer 6ccaeea101 app: remove base-enums.h from Makefile.am, it's gone 2012-05-11 15:08:47 +02:00
Michael Natterer 3867731b03 pdb: same fix as for XCF loading below 2012-05-11 14:30:38 +02:00
Michael Natterer ce1179410b app: fix XCF loading of floating selections of != image's layer type
Same fix needs to be applied to gimp-layer-new in the PDB.
2012-05-11 14:22:50 +02:00
Michael Natterer f8f00600d5 app: remove the GimpTileBackendTileManager typedef from gimp-gegl-types.h
It's a private temporary class and doesn't belong there.
2012-05-11 11:13:26 +02:00
Michael Muré bec5a7e805 cage tool: fix handle added in the wrong side of the cage
This happened when:
1) cage still open
2) clicking on the edge between the first and the last handle
2012-05-11 12:34:53 +09:00
Michael Muré d9ba8b81da Bug 675825 - (cage) simply using cage transform tool makes gimp to crash.
Just check if there is enough handles before closing
2012-05-11 12:02:58 +09:00
Michael Natterer 1a624d4df4 app: remove many includes of "gegl/gimp-gegl-utils.h" 2012-05-10 23:12:39 +02:00
Michael Natterer 3f31d4df9d po: update POTFILES.in for the moved operations 2012-05-10 22:49:19 +02:00
Michael Natterer ba4034f8dc app: fix tests: must not link against libgimp 2012-05-10 22:48:37 +02:00
Martin Nordholts d7db79c2f2 app: Make tests build
In particular: link.
2012-05-10 22:12:58 +02:00
Simon Budig 8f40eba702 change the pow() workaround to be more HDR safe 2012-05-10 21:41:56 +02:00