Commit Graph

33586 Commits

Author SHA1 Message Date
Jehan 7ef45be890 app: handle migration on OSX of GIMP 2.8.2's config folder.
GIMP 2.8.2's config was "~/Library/Gimp/x.y", before it got moved to
"~/Library/Application Support/x.y" and after being saved in the home
like other UNIXes. The migration code will now check all 3 places in the
right order on OSX.
Thanks to Simone Karin Lehmann for the original proposition.
2013-12-05 11:48:20 +13:00
Piotr Drąg 2244d4b5e2 Updated Polish translation 2013-12-04 19:31:21 +01:00
Jehan 1e8ed15c13 libgimpthumb: fix error message when thumbnails dir detection fails.
We are now using the Freedesktop standard for the thumbnails dir, which
is not relative to home anymore.
2013-12-04 23:03:53 +13:00
Nils Philippsen 23f685931e file-xwd: sanity check # of colors and map entries (CVE-2013-1978)
The number of colors in an image shouldn't be higher than the number of
colormap entries. Additionally, consolidate post error cleanup in
load_image().
2013-12-04 10:59:46 +01:00
Nils Philippsen 32ae0f83e5 file-xwd: sanity check colormap size (CVE-2013-1913) 2013-12-04 10:59:46 +01:00
Michael Henning f3b78cb218 build/win: Upgrade harfbuzz to 0.9.24 2013-12-03 17:52:56 -05:00
Daniel Sabo 845139f910 gegl-tool: Blacklist "display" ops by category 2013-12-03 09:43:00 -08:00
Michael Henning c3911bd0f5 build/win: Upgrade freetype2 to 2.5.1 2013-12-02 20:13:32 -05:00
Kevin Cozens a7e24a64b7 Fixed an error in the close-port function. Closes bug #719396. 2013-12-02 19:46:18 -05:00
Jehan 4e7bfb4e81 app: a bunch of actions which should be inactive when there is no image 2013-12-03 13:23:31 +13:00
Michael Natterer 56cdf642fc Bug 719662 - plug-in-borderaverage returns a garbage alpha value
Return a fully opaque color instead of a random-memory alpha value.
2013-12-01 23:00:24 +01:00
Michael Natterer 0e1978d273 Bug 719634 - Palette editor not working for New Palettes (cannot drop colors)
Allow to drop colors also on the palette view's parent viewport, so
colors can be dropped everywhere inside the scrolled window, also when
the palette view is invisible because it has zero colors. Also allow
dropping of palettes on the viewport to change the editor's active
palette.
2013-12-01 18:04:51 +01:00
Michael Henning 007faf2b32 build/win: Upgrade poppler to 0.24.4 2013-12-01 11:33:38 -05:00
Téo Mazars 9e429993c7 app: add gegl:wind to Filters -> Distorts 2013-12-01 12:57:15 +01:00
Michael Henning 95becc7615 Bug 719593 - On clang, brush outline is not displayed
Don't access path_data->len after path_data has been freed.
2013-11-30 16:34:37 -05:00
Michael Natterer 6c73f28b6d Bug 719560 - Build failure with freetype 2.5.1
Apply patch from su-v that fixes the freetype include to
the madness devised and recommended by freetype.
2013-11-29 21:57:46 +01:00
Michael Natterer 2eb74becb8 app: add G_GNUC_PRINTF() to places where the args are a va_list
The trick is to use G_GNUC_PRINTF (n, 0).
2013-11-29 00:33:05 +01:00
Michael Natterer 297ff1ea0f plug-ins: port file-csource to GIO 2013-11-29 00:05:38 +01:00
Michael Natterer e0edc568aa devel-docs: clarify where to announce a release in release-howto.txt 2013-11-29 00:03:45 +01:00
Massimo Valentini b81641e25f app: fix two typos 2013-11-28 19:44:45 +01:00
Nils Philippsen 2e6af22686 initialize length to appease cppcheck
The code was technically correct previously: It wrote the uninitialized
length only as a placeholder to overwrite it later on. Yet it's better
to not confuse tools (or people) analysing the code. Besides that having
0 for the length in the file while the payload is being written may aid
debugging e.g. crashes in that code later on.
2013-11-28 17:43:14 +01:00
Michael Natterer 99937ddfce libgimpbase: add gimp_output_stream_[v]printf()
Temporary, to be removed when we depend on glib 2.40, which will
clearly be before gimp 2.10
2013-11-28 00:29:43 +01:00
Michael Henning d22d5d1ed9 build/win: Upgrade libpng to 1.6.7 2013-11-24 16:07:14 -05:00
Michael Natterer 174dee3427 Bug 525705 - skip thumbnailing entirely on files with insufficient...
...read permissions

Apply modified patch from Sven Neumann which implements just that.
2013-11-23 18:05:55 +01:00
Marco Ciampa ba5dfc286e Updated italian translation 2013-11-23 18:00:34 +01:00
Christian Kirbach aa46dac4bc Updated German translation 2013-11-23 17:18:09 +01:00
Michael Natterer 527d81a181 Bug 701168 - Select | Shrink: A better label for "Shrink from image border"
Change the weird button labels in the shrink and border dialogs to
"Selected areas continue outside the image" and add tooltips.
2013-11-22 22:00:08 +01:00
Michael Natterer a7e9016f11 Bug 715018 - Developer documentation on VBRs incorrect
Fix the order of fields, and improve some other parts.
2013-11-22 20:47:16 +01:00
Michael Natterer 07e6dc1270 Bug 678043 - Single Window Mode does not remember hide docks option
If docks are hidden and single-window-mode is active, emit
"notify::hide-docks" manually on gimp->config in session_restore() so
GimpImageWindow syncs its state at the right time.
2013-11-21 23:00:44 +01:00
Michael Natterer 4a121c9872 plug-ins: save the metadata of the original image in file-png-save
not the one of the export duplicate.
2013-11-21 21:46:34 +01:00
Michael Natterer c2eda33c1c app: also copy the metadata in gimp_image_duplicate() 2013-11-21 21:43:28 +01:00
Michael Henning ec11a6c6b3 build/win: Upgrade pixman to 0.32.4 2013-11-20 22:21:22 -05:00
Piotr Drąg e0ed232bbe Updated Polish translation 2013-11-21 01:10:28 +01:00
Michael Natterer 4fb7fc918a Bug 704896 - pop ups are annoying when opening multiple files...
...from the command line on some platforms/window managers

file_open_from_command_line(): display the progress in the active
display if there is no empty display. This way the progress appears in
the display that was opened from the previous command line argument.
2013-11-20 23:17:40 +01:00
Michael Natterer 29d95f4c39 pdb: fix gimp_layer_new_from_drawable() PDB wrapper
We must always call gimp_item_convert() even if the source drawable is
in the same image, or we might end up with a layer of wrong pixel
format. This was probably broken for years.
2013-11-19 21:39:13 +01:00
Michael Henning fd8bddae22 build/win: Upgrade glib to 2.38.2 2013-11-18 17:20:21 -05:00
Michael Natterer 9c2f55e80f desktop: add gimp.appdata.xml to .gitignore 2013-11-18 22:41:06 +01:00
Michael Natterer 19391bc5d7 menus: add the foreground select tool back to the menus 2013-11-18 22:38:47 +01:00
Marco Ciampa c0b32f856b Updated italian translation. 2013-11-18 19:15:26 +01:00
Michael Henning d6237f72ff build/win: Mark libmng as an optional dependency. 2013-11-17 21:34:14 -05:00
Michael Natterer b48a8a62ef menus: restore the intended order of the export menu items 2013-11-17 21:46:32 +01:00
Michael Natterer a57636b874 plug-ins: use gimp_unit_is_metric() in file-tiff-save 2013-11-17 21:12:24 +01:00
Jehan 4b14ed2e5e file-export* labels and actions renamed.
Follows updated save+export specification.
For renamed actions (file-export and file-export-to respectively to
file-export-as and file-export to mimick file-save*), menurc from
GIMP 2.8 will be correctly migrated.
2013-11-18 09:07:32 +13:00
Michael Natterer 9ffa9ac6e3 libgimpbase: improve gimp_unit_is_metric()
Don't directly compare doubles, use "ABS (foo - bar) < epsilon".
2013-11-17 21:03:37 +01:00
Piotr Drąg ed0fd30c80 Updated Polish translation 2013-11-17 19:14:59 +01:00
Michael Natterer d86f98c18a plug-ins: port file-pix to GIO 2013-11-17 18:18:18 +01:00
Michael Natterer cecd3fb057 plug-ins: use the same compat loading code in file-gih and file-gbr
It was the same before, but now it's even more consistent.
2013-11-17 14:52:27 +01:00
Michael Natterer 83bd1c86fa app: gimp_brush_load_brush(): add special error for possible old files
The obsolete .gbp format had a 3-byte pattern following a 1-byte
brush, when embedded in a brush pipe, the current code tries to load
that pattern as a brush, and encounters the '3' in the header. Detect
that and suggest to re-save the file because the plug-in still loads
the legacy format.
2013-11-17 01:28:57 +01:00
Michael Natterer f489ef2c5a libgimpwidets: don't pick transparent colors in gimp_pick_button_pick()
Full opacity in gimp_rgba_set_uchar() is 255, not 1.0.
2013-11-16 22:53:16 +01:00
Téo Mazars c41c2452c5 app,pdb: add a compatibility wrapper for contrast-stretch-hsv
... and remove the old plugin
2013-11-16 16:50:49 +01:00