Commit graph

31570 commits

Author SHA1 Message Date
Michael Natterer
60bf4e367d Bug 700193 - undoing paint tools doesn't update last_coords properly
paint_core->start_coords is in fact the last stroke's endpoint and
only used for storing it in GimpPaintCoreUndo, so the last endpoint
can be resotred for straight-line painting after an undo. Make the
code actually doing that.

(cherry picked from commit d1795ac204)
2013-07-15 00:45:12 +02:00
Seong-ho Cho
cb2b4b6751 Updated Korean translation 2013-07-15 06:50:11 +09:00
Michael Natterer
a1cd4144df Bug 704118 - crash on invalid number of PLTE entries
Make sure an indexed image always has a colormap. This was the case
before, except one could set a NULL colormap via the PDB.

Add gimp_image_unset_colormap(), and make gimp_image_set_colormap()
never set the colormap to NULL, even if NULL is passed. Change the
only places where actual unsetting makes sense to use unset().

Make some GUI places deal gracefully with palettes/colormaps with zero
entries.

(cherry picked from commit 37372555e5)
2013-07-14 22:33:52 +02:00
Michael Natterer
616e8f2d82 Bug 703692 - Unable to Resize Large Left Dock Area
Merge all color-selector-wheel changes from master, which turns the
thing into a properly reqizable widget and fixes the issues with left
dock resizability.
2013-07-14 13:46:00 +02:00
Michael Natterer
3632680049 Bug 703692 - Unable to Resize Large Left Dock Area
Small fix for the last commit: set a silly small initial size request
on the wrap_box so it doesn't initially request too much and breaks
dock layout deserialization.

(cherry picked from commit a2334b0b15)
2013-07-14 13:30:53 +02:00
Michael Natterer
38ab5f9d64 Bug 703692 - Unable to Resize Large Left Dock Area
gimp_container_grid_view_viewport_resized(): set the wrap_box'
required width to just one cell_width, not cell_width * columns. This
way it can shrink also when attached to a toolbox dock. It remains
unclear why it could nicely shrink in all other dock columns.

(cherry picked from commit 6a5e37b68d)
2013-07-13 18:53:59 +02:00
Jehan
b283facb89 Bug 703787 - Crash during switch from multi to single window mode
Shells can now travel from one window to another. Canvas position code
should therefore not keep track of the image window for a specific shell
but must use whatever is the current window for this shell (even though
it may be a different one before and after the size-allocate).
This also partly fixes some positioning issue during mode switch.
(cherry picked from commit 7e513faa50)
2013-07-13 09:16:01 +09:00
Michael Natterer
26fb257a19 Bug 703113 - Plug-ins are queried on every launch
Port gimp_datafiles_read_directories() to GIO which seems to get
its stat() calls right on all platforms.

(cherry picked from commit 767a5a3217)
2013-07-12 15:21:25 +02:00
Jehan
f7fe056e19 app - call to keep the active shell in single window mode switch out of loop.
Small fix from commit 2697b29. This previous commit was working well, but
implied calling this method as many time as there are opened shells,
whereas once is enough.
(cherry picked from commit 8ef5fca062)
2013-07-10 09:12:53 +09:00
Massimo Valentini
cc836e7c84 Bug 703806: GIMP crashes when scaling an image
during an image rescale, while spinning the main-loop,
layer-groups preview generation used to start before their
layers were fully rescaled, so it tried to access tiles that
were not yet there
(cherry picked from commit 3cc923d5a5)
2013-07-09 19:46:09 +02:00
Daniel Mustieles
588012f48c Updated Spanish translation 2013-07-08 14:03:43 +02:00
Jehan
0c4e7686e8 Bug 703736: when switching from multi to single window mode, tab order is lost.
(cherry picked from commit 112fa53730)
2013-07-08 09:35:45 +09:00
Jehan
893c73cea4 Bug 703738: when switching between multi and single window mode, keep the same active shell.
(cherry picked from commit 2697b29963)
2013-07-07 23:54:55 +09:00
Massimo Valentini
42e370e208 app: don't pass NULL to g_object_add_weak_pointer
opening many images from the command line used to print:

(gimp-2.9:): GLib-GObject-CRITICAL **: g_object_add_weak_pointer:
assertion 'G_IS_OBJECT (object)' failed

because only the first finds the empty display
(cherry picked from commit 8a7d5c9d16)
2013-07-05 18:19:20 +02:00
Jehan
80d11a46a8 Bug 672100: gimptool returns wrong system plugin dir if libdir has been customized.
On UNIX platforms, use the actual libdir value, which has been set at compile time.
(cherry picked from commit 97d14ebda3)
2013-07-06 00:00:16 +09:00
Jehan
dedb025019 Bug 679083: proper documentation for plug-in-autocrop-layer
The current documentation have users think the argument layer is going
to be cropped, whereas it actually only serves as a base for determining
cropping extents. The active layer is the one to be cropped.
Slightly more complete documentation explaining this.
2013-07-05 23:58:48 +09:00
Massimo Valentini
4e664a011d Bug 629941 - GIMP doesn't exit properly when quitting while loading images
GIMP's "exit" signal was emitted before the handler was connected.

Don't start loading command line images or batch processing before
app_exit_after_callback() is connected. Make sure we don't use
dangling main loop pointers or try to stop a non-running main loop.

(cherry picked from commit 09682d62ae)
2013-07-04 21:41:27 +02:00
Massimo Valentini
dea99e516b app: file_open_from_command_line(): don't access a dangling display pointer
Happens if GIMP is quit while the image is being loaded.

(cherry picked from commit 6c62eb2238)
2013-07-04 21:08:39 +02:00
Michael Natterer
92e9de96ae app: view_close_cmd_callback(): don't forbid to close images without layers
Also no need to check for shell != NULL.
2013-07-03 09:26:03 +02:00
Michael Natterer
16e548c12f libgimpthumb: add GIO_LIBS also to libgimpthumb_2_0_la_LIBADD 2013-07-01 19:05:14 +02:00
Michael Natterer
2654d0d499 libgimpthumb: use GIO_CFLAGS/LIBS not GLIB_CFLAGS/LIBS 2013-06-29 18:14:12 +02:00
Michael Natterer
4d2316cb3e Bug 683152 - Preview thumbnails in file open dialog causes error in 2.8.2
Port gimp_thumb_file_test() to GIO which seems to get its stat()
calls right on all platforms.

(cherry picked from commit bb75596062)
2013-06-28 22:46:27 +02:00
Alexandre Prokoudine
3a9f5a354b Updates and fixes to Russian translation 2013-06-28 12:29:38 +04:00
Sven Claussner
24223d6663 Bug 703218 - Typo in German translation
In Edit/Preferences/Tool Options, mouseover text
over 'Set layer or path as active': 
replace 'Eben' by 'Ebene'
2013-06-28 09:17:57 +02:00
Michael Henning
3ce15deed9 autogen.sh: also look for automake 1.14
(cherry picked from commit 9a6b42a4fd)
2013-06-27 09:57:50 -04:00
Michael Natterer
bd91caf778 app: port GimpImagePropView's file size querying to GIO 2013-06-25 19:18:25 +02:00
Jernej Simončič
16b1ff9a09 Installer: add libharfbuzz-0.dll to the list of required 32-bit libraries 2013-06-24 11:11:24 +02:00
Michael Natterer
8937d9eb28 configure: post-release version bump to 2.8.7 2013-06-22 00:12:59 +02:00
Michael Natterer
82888aaa4b Bump version to 2.8.6 and commit regenerated files 2013-06-21 23:22:49 +02:00
Téo Mazars
20e4a9c2c3 NEWS: add api introduction and fix typo 2013-06-21 22:28:48 +02:00
Téo Mazars
f7cbd9de65 Bug 701410 - Small artifacts appear when performing a selection
Do not allow negative radius.
(cherry picked from commit 7a0f8ad78e)
2013-06-21 20:20:21 +02:00
Michael Natterer
32c9903a58 NEWS: updates 2013-06-21 12:44:38 +02:00
Michael Natterer
dd9f57f8de Bug 701335 - Gimp crashing on creating huge clipboard brush
Change the maximum size of clipboard patterns and brushes to 1024x1024.
2013-06-21 12:43:29 +02:00
Michael Natterer
ef649f4827 Bug 701803 - Cage Transform raises segmentation fault...
...if layer bounds are changed.

Call gimp_tool_control_set_preserve (tool->control, FALSE) so it is
stopped when the drawable changes.

(cherry picked from commit 2e8ef97c13)
2013-06-18 19:08:08 +02:00
Marco Ciampa
731ee3218c Updated italian translation 2013-06-07 22:28:27 +02:00
Stanislav Petrek
bb5f7d6525 Updated slovak translation 2013-06-05 21:27:40 +02:00
Dimitris Spingos
8b7ad24892 Updated Greek translation 2013-06-05 15:15:39 +03:00
Michael Natterer
4b957cf404 Bug 701594 - gimp-image-select-item does not recognize path transformations
pdb: Need to gimp_vectors_freeze()/thaw() around stroke modifications
so the vector's preview and the cached GimpBezierDesc are invalidated.
(cherry picked from commit 64887fe06c)
2013-06-04 16:51:20 +02:00
Massimo Valentini
bc411d97c9 Bug 701120: Opening fuzzed .pnm-file causes stack buffer overflow
increase BUFLEN to avoid appending the nul terminator '\0'
past the end of 'buf'
(cherry picked from commit ac98dd4751)
2013-06-01 17:36:55 +02:00
Massimo Valentini
ba98aedcb1 Bug 680290: -90 degree rotation distortion of layer
The previous code did not consider that a transformation
described by a matrix with non integer values in the 3rd
column or by a non affine matrix requires interpolation

and make floating point arithmetic rounding errors
consistent with INTERPOLATION_NONE
2013-06-01 17:07:24 +02:00
Michael Natterer
dd8aeeec92 Bug 700215 - Gradient name changes do not persist across sessions...
if the gradient itself isn't changed.

GimpData: implement GimpObject::name_changed() and set the "dirty"
flag to TRUE. Don't set dirty in GimpData::dirty()'s default impl
because that calls gimp_object_name_changed() anyway.
(cherry picked from commit 5280a02ed8)
2013-05-29 22:30:40 +02:00
Daniel Mustieles
27dd1c167b Updated Spanish translation 2013-05-27 16:46:41 +02:00
Piotr Drąg
45644a44ba Updated Polish translation 2013-05-25 18:29:47 +02:00
Michael Natterer
aa16efe4c9 Bug 578695 - gimptool-2.0 does not respect $DESTDIR
Don't mention DESTDIR in the gimptool manual page.
(cherry picked from commit 1a107722ea)
2013-05-25 16:13:40 +02:00
Michael Natterer
a57ad1a997 Bug 700707 - Missing time data in tool-options/*.settings files
strftime() the time using %H:%M:%S which should work on
all platforms, unlike %T.
(cherry picked from commit 51181648f7)
2013-05-25 11:22:59 +02:00
Jehan
c947260d2d actions: dock-close had a default shortcut colliding with view-close.
When the accelerator is NULL, gtk_action_group_add_action_with_accel()
would use the default one for the stock icon used. And GTK_STOCK_CLOSE
default accelerator is "<Primary>w" which we already use for view-close.
We must use empty string when we want no default accelerator.
(cherry picked from commit 28669b07d1)
2013-05-25 07:19:09 +09:00
Michael Natterer
6cda75205a app: add the "view" action group to all docks
so all image and view related shortcuts work globally now.
(cherry picked from commit b234f5f879)
2013-05-25 07:09:47 +09:00
Michael Natterer
ae8749a9a7 app: can't call view_actions_setup() from file_actions_setup()
This breaks Ctrl+W from docks to close the active display, we'll
need another solution for this.
(cherry picked from commit 0ff07fa385)
2013-05-25 07:09:20 +09:00
Jehan
1380b0696c actions: forgot an include which was triggering an "implicit declaration" warning.
(cherry picked from commit 8a935f05a0)
2013-05-25 07:08:47 +09:00
Jehan
22d4cd02fc Bug 685559 - view-close action modified to close only an image view.
view-close was closing also toolbox docks if they had the focus. Now
this action will close only the current active image view (if any),
whatever the window which has actual focus.
Additionally all other view actions are available on dock focus.
(cherry picked from commit 2ad8634c06)
2013-05-25 07:08:37 +09:00