Commit graph

31441 commits

Author SHA1 Message Date
Michael Natterer
4e45dd3c4e app: fix expected single-window sessionrc so tests pass again
(cherry picked from commit e6d1234456)
2013-02-28 01:31:41 +01:00
Michael Natterer
26d40c10c6 Bug 694665 - SWM should distribute remaining space to main frame
Save the "right-docks-position" as negative value in pixels from the
right window border. Change the image window restoring code to
interpret negative values like that, but keep the meaning of positive
values for compatibility with existing sessionrc files.
(cherry picked from commit 9da0f489e1)
2013-02-27 23:50:18 +01:00
Michael Natterer
0d47f71d13 Bug 686544 - Opening new image window doesn't restore docks
Call gimp_dialog_factory_show_with_display() in gimp_display_new(), we
otherwise do this only when the ICONIFIED state of an image window
changes.
(cherry picked from commit 97af52c465)
2013-02-27 23:29:29 +01:00
Michael Natterer
62515d555d libgimp: make GIMP_PLUGIN_DEBUG messages always visible again
by adding "LibGimp" to G_MESSAGES_DEBUG so it doesn't get filtered
away by newer GLib.
(cherry picked from commit e4f24a539e)
2013-02-23 16:12:25 +01:00
Michael Natterer
cad5827b37 Bug 694477 - GimpSizeEntry input validation doesn't snap to min/max values
gimp_size_entry_eevl_input_callback(): CLAMP() the input value before
passing it back to GtkSpinButton, or it will revert too large/small
inputs back to the old value, instead of using the field's max/min
values.
(cherry picked from commit d1503ead83)
2013-02-22 21:23:33 +01:00
Mikael Magnusson
e48f61cf01 Makefile.am: Move tools down in SUBDIRS since it now depends on libgimpbase 2013-02-22 12:45:50 +01:00
Jehan
2b56b89376 Bug 694201 - gimptool: update to follow new user directory scheme. 2013-02-20 04:10:59 +09:00
Michael Natterer
55e4f529f9 tests: update expected sessionrc files for the show-button-bar change
(cherry picked from commit 8e19da16ab)
2013-02-18 01:33:48 +01:00
Michael Natterer
872c9c1680 Bug 694026 - "Button Bar" state not retained on brushes and dynamics editor
gimp_docked_iface_get_aux_info(): always save the button bar state,
not only if it is "false" because we cannot know the default value any
longer (the button bar visibility used to always default to "true", so
saving only a non-default "false" was fine).
(cherry picked from commit 6f5b4ad1f4)
2013-02-17 16:50:18 +01:00
Michael Natterer
76452a01aa Bug 693797 - Sample colorize fails when you choose current gradient as target
Fix my last commit and don't delete items in the foreach() callback,
because it's impossible to delete items in foreach(). Instead, collect
them in a list and remove them after foreach().
(cherry picked from commit c91fbd54ad)
2013-02-17 01:48:18 +01:00
Téo Mazars
d53d729134 Bug 683153 - Lighting effects - bump mapping: top two rows of pixels are...
Init and interpolate the topmost row to avoid the use of a zero array.
(cherry picked from commit b4b85cf853)
2013-02-16 21:41:14 +01:00
Michael Natterer
c110220793 Bug 693978 - GIMP crashes after changing text preset
Applying a preset overwrites all the tool option's properties, also
temporarily its name. This name change gets auto-synced with the
option's text proxy object which also inherits from GimpObject and has
a name. Make sure we don't queue that name change for being applied to
the text layer's text object, because that code only handles
properties of GimpText itself.
(cherry picked from commit 931ea102f8)
2013-02-16 20:43:49 +01:00
Michael Natterer
36cf018f8b Bug 693797 - Sample colorize fails when you choose current gradient as target
Based on a patch from Hartmut Kuhse, make sure we don't remove
custom-added items from GimpItemComboBoxes when repopulating it.
(cherry picked from commit 73cb32c36e)
2013-02-15 18:54:36 +01:00
Michael Natterer
1de589a791 Bug 676927 - Shortcuts with backspace not working if image is focused
Move local variable out of the switch() block, it was never initialized.
(cherry picked from commit 169d32532a)
2013-02-15 01:12:57 +01:00
Michael Natterer
517dd7d142 Make it harder to "save" to foo.png.gz or "export" to foo.xcf.gz
Remove plain .gz .bz2 .xz from the extensions the file-compressor
plug-in registers, and make sure is only ends up in "save_procs", so
at least "exporting" to foo.xcf.gz is not possible any longer. With
some effort, one can still "save" to foo.png.gz tho, but it's much
harder now.
(cherry picked from commit 086793d040)
2013-02-15 00:08:41 +01:00
Michael Natterer
835933efd7 Bug 680132 - Unable to 'Save As' over smb share
file_procedure_in_group(): consider "file-uri-save" to be in both the
SAVE and the EXPORT groups.

gimp_plug_in_manager_register_save_handler(): allow a procedure to be
in both "save_procs" and "export_procs".

The logic in the file save/export dialog checks uri prefixes and
extensions just fine, so nothing bad seems to happen from this change,
I hope...
(cherry picked from commit 1ba0cfbf38)
2013-02-13 23:52:06 +01:00
Téo Mazars
1ecf12950b Bug 674622 - Misalignment in scaling layers of different sizes
Again bad use of ROUND() on signed values...
(cherry picked from commit d1cd90c170)
2013-02-13 20:02:52 +01:00
Téo Mazars
de883b25a6 Bug 688068 - Rect selection: "Fixed: Aspect Ratio" doesn't work when...
Use current aspect when creating rectangle tool from a selection.
(cherry picked from commit f6e64b9ed9)
2013-02-13 00:39:15 +01:00
Téo Mazars
606532f5a8 Bug 684330 - Rectangle tool's "fixed size" option is off-by-one
ROUND() is consistent only on positive values, and bad rounding
creates an offset when negative values are involved. Introduce
SIGNED_ROUND() and use it in gimprectangletool.c. It should probably
be used in much more places.
(cherry picked from commit 4a5a6ef914)
2013-02-13 00:27:36 +01:00
Michael Natterer
6f1b26ddf7 Bug 692900 - Dragging left canvas border doesn't respect dock borders
Don't allow the single window's docks to shrink smaller than their
requisition, because that's horribly broken.
(cherry picked from commit a907741d8a)
2013-02-06 23:29:04 +01:00
Michael Natterer
258a61d70a libgimpwidgets: set a min size of 8 chars on GimpColorHexEntry
because GtkEntry's default min size is way too large for this use
case.
(cherry picked from commit 0bbc2b6231)
2013-02-06 23:25:04 +01:00
Michael Natterer
1e53ac0ef2 Post-release version bump to 2.8.5 2013-02-05 21:50:45 +01:00
Michael Natterer
88ecd59c34 Commit files regenerated by distcheck 2013-02-05 20:43:53 +01:00
Michael Natterer
8a9af4cdd7 configure: bump version to 2.8.4 2013-02-05 20:05:46 +01:00
Nils Philippsen
bd6c3468aa app: fix re-initializing fontconfig in gimp_fonts_reset()
Calling FcConfigSetCurrent() with NULL is just broken, it almost
immediately dereferences the passed pointer. Apparently this line
is executed seldom, otherwise we'd see way more crashes in this place.
Just use FcInitReinitialize() which exists for the very purpose of
reinitializing the fontconfig library.
(cherry picked from commit 1c00c2e4f8)
2013-02-05 14:03:57 +01:00
Timo Jyrinki
6852d01288 Bug 692646 - Finnish spelling fixes (by Ville Skyttä) 2013-01-29 10:35:21 +02:00
Alexandre Prokoudine
60c382ff70 Updated Russian translations 2013-01-28 09:48:35 +04:00
Massimo Valentini
de5267f185 Bug 639920: Gaussian blur can't work on specified selection
In presence of a selection extend the area processed
2013-01-27 17:04:02 +01:00
Ville Skyttä
549b3284d8 Bug 692625 - Use image/x-pcx for PCX in desktop entry
Desktop entry: Use image/x-pcx as PCX MIME type to sync with
shared-mime-info.
(cherry picked from commit 79be7de82e)
2013-01-27 14:29:00 +01:00
Clayton Walker
d2d8563e5e build: Update osx build files and README. 2013-01-25 22:26:30 -07:00
Sven Claussner
60f0feb65c Amend NEWS file
Add items for Brazilian Portuguese Windows installer and Language
Selector in Preferences dialog on OS X.
2013-01-25 23:06:13 +01:00
Michael Natterer
d99881ab41 NEWS: updates for 2.8.4 2013-01-25 21:16:20 +01:00
Clayton Walker
d824943b58 build: update OSX build files 2013-01-24 14:06:41 -07:00
Jernej Simončič
4b9af78336 Windows: #588015 - Make sure that GIMP is Terminal-Server-aware 2013-01-21 21:17:45 +01:00
Jehan
6ee8d39b8c Bug 690728: file-gif-save plug-in crops the actual image the user is working on.
Destructive behavior fixed by duplicating the image first, then deleting
the duplicate at the end.
2013-01-20 17:06:08 +09:00
Martin Srebotnjak
1122488403 Updated Slovenian translation 2013-01-19 21:45:38 +01:00
Massimo Valentini
f8c86702e9 Bug 670226 - pbm image non-interactive different from interactive
Properly set the "pbm" flag in non-interactive mode, also add a
missing "break" so non-interactive actually behaves like
non-interactive.
(cherry picked from commit d93d2e71c3)
2013-01-19 18:49:44 +01:00
Ludovic Rousseau
b31fcbc0f1 Bug 675510 - tw_func.h contains windows-specific types
Put the stuff in #ifdef G_OS_WIN32
(cherry picked from commit 5379a2377e)
2013-01-19 18:42:02 +01:00
Michael Natterer
6a39d21494 Bug 689523 - GIMP crashes (segfault) when loading a context with a font...
Make gimp_context_get|set_font_name() actually deal with
context->font_name, so the context can do its job of keeping the name
of an unavailable object around.
(cherry picked from commit c262fee244)
2013-01-18 01:05:01 +01:00
Michael Natterer
6dcd7c425e Bug 686929 - Newly created toolbox is too tall and too narrow
Set the dock window's geometry hints after the tool palette's style is
known, not after the toolbox' style is known, so we get the right tool
button dimensions for minimum size and size increments.
(cherry picked from commit 7e273bc6d0)
2013-01-17 19:39:47 +01:00
Mukund Sivaraman
c87b59b95f imagemap: Don't use fixed size buffer to print statusbar messages (#691386) 2013-01-16 17:24:24 +05:30
Michael Henning
adc8b21b0f plug-ins: fix memory leak in edge-neon
Found using clang's scan-build.
(cherry picked from commit e87971e850)
2013-01-11 21:05:51 -05:00
Michael Henning
5bd861330f app: fix memory leak in widgets/gimpgradientselect.c
Found using clang's scan-build.
(cherry picked from commit 42c74722e1f610579e53711706b8fbefc439a058)
2013-01-10 17:21:25 -05:00
Michael Henning
db4c8239f3 plug-ins: don't free a pointer allocated with g_newa in file-pdf-save
Found using clang's scan-build.
(cherry picked from commit c59e569e50)
2013-01-09 17:04:28 -05:00
Nils Philippsen
67753516b7 fix copy-paste error
(cherry picked from commit fc625feb40)
2013-01-09 15:38:56 +01:00
Michael Natterer
67cb43963e Bug 689087 - Drag-and-drop foo.jpg behaves different from 'gimp foo.jpg'...
Prefer text/uri-list over image/* to make dropping from file managers
always behave like opening the image directly.
(cherry picked from commit 454639f9d9)
2013-01-09 00:33:32 +01:00
Michael Henning
121308ee7a plug-ins: fix memory leak in flame/rect.c
Found using clang's scan-build.
2013-01-08 16:36:23 -05:00
Michael Natterer
8432800bdf app: don't map several windows language codes to one language string
So e.g. "english" is not always just "en", but "en_UK", "en_US" etc.
This should fix issues similar to bug #690535. Used
http://en.wikipedia.org/wiki/ISO_3166-1 as reference.
(cherry picked from commit 22a5c173ba)
2013-01-07 01:38:51 +01:00
Michael Henning
6b017f97d4 autogen.sh: also look for automake 1.13
(cherry picked from commit 495b41416b)
2013-01-06 22:06:37 +01:00
Daniel Mustieles
fd5676230c Updated Spanish translation 2012-12-31 12:20:03 +01:00