Commit Graph

33269 Commits

Author SHA1 Message Date
Michael Henning 8823f7356b -Wformat-nonliteral, not -Wformat-non-literal 2013-08-28 17:29:02 -04:00
Michael Henning 7e80a4f891 build/win: Add a jhbuild project for making windows binaries.
This was originally here:
http://github.com/drawoc/windows-gimp-jhbuild
2013-08-28 16:31:08 -04:00
Jehan 0df8ae52fb Bug 704065 - Snap default preferences are now settable in the preferences.
Along with this change, the snap preferences have been moved from
GimpDisplayConfig to GimpDisplayOptions, where it makes much more sense.
One of the consequences is that there is no need to duplicate these
values in GimpDisplayShell anymore to differenciate defaults and
current settings.
2013-08-27 23:31:22 +12:00
Michael Natterer b60d361d6c app: add gegl:plasma to Filters -> Render -> Clouds 2013-08-27 08:14:51 +02:00
Michael Natterer 28c9470d5f app: fix warning when a gegl op's aux input combo box gets destroyed
gimp_operation_tool_aux_selected() is called with a NULL drawable
when the combo is destroyed, but at that time the GeglNode we set
the buffer on is already gone. Instead of adding evil if()s,
connect_object() the combo's "select-item" signal to the node
instead of the tool, so it gets disconnected automatically.
2013-08-25 22:41:43 +02:00
Michael Natterer 05646749f5 app: port the mask border operation from u8 to float 2013-08-24 19:48:01 +02:00
Michael Natterer 7ac385caec app: port the mask shrink and grow operations from u8 to float 2013-08-24 19:08:48 +02:00
Piotr Drąg c64cb2dcde Updated Polish translation 2013-08-24 02:20:11 +02:00
Enrico Nicoletto 37df177193 Updated Brazilian Portuguese translation 2013-08-23 16:08:12 -03:00
Michael Natterer b56145626e Bug 706221 - File/Save (As) dialog: add a link to the Export dialog...
...for Non-XCF files.

When the entered extension in save or export is on the other group,
add a link to the warning dialog which allows to jump directly to the
export or save dialog, with the same filename pre-entered.
2013-08-23 20:35:24 +02:00
Massimo Valentini 8ec824f158 app: do not render many tiles twice
removing the area that is going to be rendered from the dirty area
before rendering it, prevents tile-handler-projection to render it
again.

This was the reason why caching showed an improvement also during
the construction of the projection. And it was a regression that
I introduced in a previous commit
2013-08-11 08:49:38 +02:00
Piotr Drąg 370ea9ae10 Updated Polish translation 2013-08-11 01:07:02 +02:00
Michael Henning cff668f876 app: Fix merging floating selections when undo is diabled. 2013-08-10 13:43:12 -04:00
Michael Henning e7b749d55d app: Ensure the graph for fs filters is always constructed when needed. 2013-08-10 12:37:18 -04:00
Massimo Valentini fe02ef78ca Revert "app: enable caching on layer mode ops"
This reverts commit 35b5b624e9.

it caused rendering artifacts.
2013-08-10 17:44:39 +02:00
Massimo Valentini 5b7953a423 app: do not invalidate always the whole layer 2013-08-10 16:43:08 +02:00
Massimo Valentini 35b5b624e9 app: enable caching on layer mode ops 2013-08-10 16:25:50 +02:00
Massimo Valentini dae8291065 app: do not recurse to invalidate the pyramid 2013-08-10 16:24:16 +02:00
Massimo Valentini 40f41055b9 app: fix the tile pyramid invalidation bug
when toggling the visibility of a single layer image with
alpha channel, zoomed at 50%, the projection wasn't
properly redrawn. It seems there's a GEGL bug exposed
by normal layer mode operation fast path.
2013-08-10 16:22:27 +02:00
Michael Natterer c32c1208b0 app: return a GError when flattening the image failed 2013-08-09 21:35:36 +02:00
Simon Budig 514f22f53d app: fix crash when flattening an image with no visible layers 2013-08-09 21:32:42 +02:00
Michael Natterer 40e7ca7442 app: speed up image rendering by removing expose overhead
measure the time it takes to render projection chunks and continue
rendering until 0.01 seconds have passed. This ways we avoid excessive
expose roundtrips.
2013-08-09 20:20:02 +02:00
Michael Natterer b05ff480fd app: move the work of construction the projection into the chunk renderer
so we can control how much time it takes, and can further optimize it.
This is needed for gtk3 because it should happen between clock ticks,
not in the expose handler, and in gtk2 the old code would have the
unfortunate property to potentially render at very high frame rates,
including all the overhead of exposing.
2013-08-09 19:17:02 +02:00
Michael Natterer 28fe83b865 libgimp: fix broken indentation in gimpexport.c 2013-08-08 22:11:40 +02:00
Téo Mazars 145c9a86d5 plugins: Add compat wrappers for channel-mixer
And remove the old plugin
2013-08-06 21:45:16 +02:00
Michael Natterer e72cf05ccb app: port mtime code in gimp_data_save() to GIO
because it gets its stat() calls right.
2013-08-04 16:51:31 +02:00
Michael Natterer 0289eb8898 Bug 705397 - Layer groups are not exported properly/fully
In gimpgrouplayer.c always gimp_pickable_flush() after
gimp_projectable_structure_changed() so all queued updates are
actually flushed to the projection buffer's invalid area, and are
constructed upon reading. This would have been neccessary before for
group layers, but worked anyway until we changed
gimp_projection_get_buffer() to construct the buffer on idle time
initially in order to make images appear more responsively after
loading.
2013-08-04 14:52:01 +02:00
Téo Mazars 2b58fb4e69 plugins: Add compat wrappers for antialias
And remove the old plugin
2013-08-04 09:09:41 +02:00
Téo Mazars 8bad383a3b app: Add gegl:channel-mixer to Color/Components 2013-08-03 23:30:58 +02:00
Téo Mazars 23bc1b255c app: Add gegl:antialias -> Filters/Enhance 2013-08-03 22:47:58 +02:00
Téo Mazars 56f065321c Bug 674391 - Indexed colours not exported when save a .bmp
It's about importing in fact.

Parse BITMAPV4HEADER / BITMAPV5HEADER and use GIMP's BMP
implementation instead of using gdk_pixbuf.

Also, remove an old hack about 32bits bmp v3 + alpha. The alpha
channel is already ignored in that case.
2013-08-03 19:46:39 +02:00
Michael Natterer 55a70729ae app: add some function stubs to GimpOverlayDialog
and move the TODO comments from GimpToolGui to the stubs.
2013-08-03 02:32:02 +02:00
Michael Natterer b44ffdd198 app: add gimp_tile_handler_projection_undo_invalidate()
which removes a rectangle from the handler's dirty region, for cases
where the caller knows that the rectangle has been explicitly
constructed. Only needed by the gtk3-port branch.
2013-08-02 20:19:00 +02:00
Michael Henning 96a090d9b1 app: Enable the gegl op sanity check 2013-07-31 15:26:02 -04:00
Michael Natterer b58e18944a app: don't set a name or any keys on GimpOperationPointLayerMode
it's an abstract base class and cannot be used on its own anyway.
2013-07-31 01:11:28 +02:00
Michael Henning 47cb117fa8 app: Disable the gegl operation sanity check for now
It turns out that this interferes with gimp registering gegl ops
later on.
2013-07-30 11:39:25 -04:00
Téo Mazars fc6c605cd5 plugins: Effectively fix wrong names in compatibility wrappers
plugin_compat_cmds.c is a generated file
2013-07-30 07:26:50 +02:00
Michael Henning 7a01ecf3cd app: Populate the list of required ops in sanity.c 2013-07-29 23:18:09 -04:00
Michael Henning 0311bb4188 app: Fix incorrect op names in the compatibility wrappers. 2013-07-29 23:11:34 -04:00
Michael Henning f464695a1b app: Add a sanity check for required gegl ops.
The check is in place, but the list still needs to be populated.
2013-07-29 22:40:10 -04:00
Téo Mazars b0645cf559 plugins: add pdb compat wrappers for tile-seamless
and remove the old plugin
2013-07-28 19:15:25 +02:00
Téo Mazars 62f65ea981 app: add gegl:tile-seamless to Filters -> Map 2013-07-28 19:15:25 +02:00
Michael Natterer 00797c8b83 po: add app/widgets/gimplanguagestore-parser.c to POTFILES.in 2013-07-28 17:22:25 +02:00
Jehan f0b3c76c9d app - fix crash of the language parser on OSX.
Stupid bug. I misused the GINT_TO_POINTER macro.
2013-07-29 02:12:17 +12:00
Michael Natterer 3b12541d61 app: rename GimpProjection's IdleRender stuff to ChunkRender
and separate the chunk rendering logic from the fact that it's invoked
from an idle callback. Idle rendering no longer works in GTK+ 3.8 and
later because the expose logic was changed from an idle function to a
frame clock, and when we switch to that in gtk3-port, the diff to
master should stay readable (and rebasable) in this critical part of
the code.
2013-07-28 15:57:28 +02:00
Michael Natterer 013c9d337b Bug 704896 - pop ups are annoying when opening multiple files from...
the command line on some platforms/window managers

Don't let the progress windows steal the focus, and always center
them.
2013-07-28 02:50:33 +02:00
Jehan a129f84c68 Bug 704592 - only load language lists once at gui startup.
Improvements:
- setenv/getenv() are not thread-safe, hence they should be run only at
startup before any threading occurs.
- it is counter-productive to load the huge ISO-639 XML file each time
the user opens the Preferences dialog or the text tool options.
2013-07-28 04:46:52 +12:00
Michael Henning 37195c8d4e plug-ins: Add webp saving support through file-gegl 2013-07-25 14:01:30 -04:00
Michael Henning dfad079ae0 plug-ins: Add webp loading support through file-gegl 2013-07-24 14:04:31 -04:00
Michael Henning 885a81fbfa plug-ins: do not segfault in file-gegl if > 1 image format omits a handler 2013-07-24 14:04:30 -04:00