Commit Graph

34882 Commits

Author SHA1 Message Date
Michael Natterer 16f6b57a5d app: link test-config against Z_LIBS 2014-09-17 12:57:55 +02:00
Michael Natterer 0cceaff828 Bug 721482 - Make language codes relocatable
Manually picked one line of ef0ef921b8
that makes parse_iso_codes() find the iso-codes package in the bundle
on OS X.
2014-09-17 12:47:21 +02:00
Michael Natterer 98dddc3866 app: OS X specific "About" menu label
Manally picked that change from commit 7a75d4df from gimp-2-8.
2014-09-17 12:22:25 +02:00
Michael Natterer 9095f8998d app: link against Z_LIBS 2014-09-17 00:21:41 +02:00
Jehan ce2bb29605 app: do not use g_error() for non-fatale errors...
and g_warning() for programming errors only.
Use g_printerr() for "normal" errors which may happen in a program
lifetime (in particular corrupted XCF file errors are not necessarily
programming errors).
2014-09-17 00:18:15 +02:00
Michael Natterer 7b69b3b60e Bug 733390 - Picking a color should also change the active color...
...in the opened Color Modify window

Connect to the toolbox' context's foreground-changed and
background-changed signals and update the color dialog.
2014-09-16 23:56:50 +02:00
Jehan 128baab2b6 Bug 735026: Enable zlib compression in XCF for GIMP 2.10
XCF file format bumped to version 8 when compressing with zlib.
2014-09-16 23:54:07 +02:00
Jehan b9a9169656 app: update action search to use glib API.
I now normalize with g_str_tokenize_and_fold() which uses standard
Unicode normalization.
I don't use g_str_match_string() directly though, because I want to
run additional checks to order the results by relevance. For instance
I still want actions whose labels starts with the search string to be
at the top, and results with same order as search token before those
with a different order. Then results with match in the tooltip. Finally
I also returns results with partial match in the label, and the rest in
the tooltip, though at the bottom of the list.
Other than that, this returns the same results as g_str_match_string()
with a similar algorithm. In particular now we only match the start of
tokens (a substring in the middle of a token won't match anymore).
I kept the small 2-character trick matching the first letters of the
first 2 words of the label, but I got rid of the fuzzy search (that none
really found ever relevant anyway).
2014-09-16 04:03:43 +02:00
Michael Natterer aec8faf56e configure.ac, docs: use the correct gimpdir in the manual pages
It's now either $XDG_CONFIG_HOME/$gimpdir/2.9 or directly $gimpdir,
depending on whether $gimpdir is a relative or absolute path. Build
the resulting string in configure and put it into the manpage_gimprc
variable so it can be used in the manpage sources.
2014-09-15 23:54:06 +02:00
Jehan d4dba427ac app: do not crash when opening a file with unimplemented compression
Our code was planning zlib and fractal compressions for eons, but would
crash against a file which would be actually using these. It means that
if we implement one of these compressions for 2.10, anyone with GIMP 2.8
(and likely earlier too) would crash when opening a legit file using the
new compressions. That's very bad.
Never use g_error() in non-fatale, expected, situations!
2014-09-15 16:17:13 +02:00
Michael Natterer 6c9181158e Bug 734655 - "Export Image As JPEG" settings are not remembered
Fix the number of expected fields when parsing the defaults parasite
so the saved settings are actually used. Spotted by Massimo.
2014-09-15 00:35:04 +02:00
Michael Natterer 0c33499b7b Bug 736437 - Ignore unknown file extensions when loading palettes and gradients
Don't try to load palettes and gradients with unknown extension. We
introduced extensions for these files a *lot* of years ago, so we're
dropping this legacy feature now, everybody can just rename their old
files to have the right extensions (the file formats have not
changed).
2014-09-14 23:29:58 +02:00
Ville-Pekka Vainio 9909f9c74f Finnish translation update by Jiri Grönroos 2014-09-14 20:26:43 +03:00
Jehan 8c1cd7caac Makefile: fix VPATH builds for win32. 2014-09-14 18:28:26 +02:00
Michael Natterer 0bf1f22b01 app: add a "Playground" perfs page and a --show-playground command line option
The page is shown by default in unstable but needs --show-playground
in stable versions. There is nothing yet on that page. Also, the icon
needs improvement...
2014-09-14 01:08:25 +02:00
Michael Natterer b19a18f80e plug-ins: code cleanup in file-tiff-load.c 2014-09-13 21:59:30 +02:00
Roman Lebedev 1533cf6f0f Bug 736555 - file-tiff-load: support loading of 32-bit (float and int) data
Implement loading of 32-bit (float and int) data
2014-09-13 21:38:25 +02:00
Michael Natterer 250223453f plug-ins: some code cleanup in file-tiff-save.c 2014-09-13 21:24:04 +02:00
Roman Lebedev f717fe17ec Bug 736561 - file-tiff-save: support saving of 32-bit (float and int) data
Implement saving of 32-bit (float and int) data.
2014-09-13 21:09:51 +02:00
Balázs Úr 6a97b111b2 Updated Hungarian translation 2014-09-11 18:05:58 +00:00
Michael Natterer aa0912fcd6 Bug 735904 - Zealous crop of an image with a selection duplicates image data
Clear the selection before calling gimp_drawable_merge_shadow(), because
the selection affects the merge, which is unwanted here.
2014-09-10 00:09:28 +02:00
Michael Henning 8a2a9775b9 app: Refactor GimpBlendTool to not use update methods.
Simply call draw_tool_pause/resume instead.
2014-09-08 17:08:36 -04:00
Michael Natterer 1db5c06f54 Bug 735902 - Drawing a gradient should never produce negative RGB channel values
Use MAX(value, 0.0) on the result of dithering.
2014-09-08 22:49:51 +02:00
Michael Natterer 77482620b4 Bug 736199 - Precision Conversion Dithering doesn't work at >16-bit precision
Don't allow to select dithering != "none" in the convert precision
dialog if the precision has more than 16 bits.
2014-09-07 23:28:48 +02:00
Michael Natterer 14978bfe5d Simplify calls to g_output_stream_write_all()
It returns TRUE only if all bytes were written, so there is no need to
get and check the bytes_written return value.
2014-09-07 20:30:14 +02:00
Jehan d249ec348b Bug 735828 - configure fails for python < 2.7.
sys.version_info named components only available since 2.7, though GIMP
is supposed to support 2.5.0 and over. Used numerical tuple index
instead.
2014-09-07 16:33:34 +02:00
su-v 97d6629d66 Bug 731446 - Files opened twice via command line
Prevent Cocoa command line argument parsing for files, using
same fix as in Gedit commit 86e7dd7b72fc35c6d9b19a75bbc715aee19304b4
2014-09-06 01:06:43 +02:00
Michael Natterer b7d3772b10 docs, etc: update the default gimprc and the gimprc manpage 2014-09-03 22:21:40 +02:00
Michael Natterer 53f4dda3b4 Bug 735894 - Option to display the image ICC profile...
...on the title bar and status bar

Implement %o for the title and status format strings, which expands
to the image profile's label.
2014-09-03 22:20:36 +02:00
Mukund Sivaraman 1dc873b860 app: Fix return types 2014-09-03 09:09:00 +05:30
Michael Henning 36d719c986 app: In GimpBlendTool, don't start the draw tool too early.
Also simplify some related logic and rename related functions to
be clearer.
2014-09-02 18:57:14 -04:00
Michael Henning df1a352414 build/win: Preserve PATH in environment for building icu-native 2014-09-02 10:41:26 -04:00
Michael Natterer bda1cd049d Bug 735516 - Crop to content fails
Return a new enum GimpAutoShrink { SHRINK, EMPTY, UNSHRINKABLE } from
gimp_pickable_auto_shrink() because a simply boolean FALSE doesn't
distinguish between "not further shrinkable" and "no content". Change
the callers accordingly add a special "already cropped" message where
we only had a "no content" message before.
2014-08-31 17:41:54 +02:00
Hartmut Kuhse 50463d8d5a app: erroneously dereferencing paint_options
fixing commit 4d6640ff79
2014-08-31 15:27:12 +02:00
Michael Natterer 1326cc5562 pdb: fix uninitialized variable warning in the convmatrix compat wrapper 2014-08-29 21:37:17 +02:00
Michael Natterer de1b416c9f app: forgot a s/const gchar*/GFile*/ in tests.[ch] 2014-08-29 21:36:31 +02:00
Philippe Teuwen 6e73a6278f file-bmp: Use masks when BI_BITFIELDS method is found 2014-08-28 19:30:20 +05:30
Mukund Sivaraman 24cf89aa68 file-bmp: Print compression method in debug build 2014-08-28 19:27:07 +05:30
Mukund Sivaraman 1d10c4d88f file-bmp: Fix format specifiers 2014-08-28 19:21:53 +05:30
Mukund Sivaraman 2dac58718f file-bmp: Remove unnecessary casts 2014-08-28 19:07:59 +05:30
Michael Natterer b6eb88dbf9 Bug 735513 - Fuzzy select (magic wand) freeze w/select transparent areas
gimp_pickable_contiguous_region_by_seed(): don't call
find_contiguous_region() with start coords outside the buffer, or it
will run into an infinite loop.
2014-08-27 21:12:46 +02:00
Michael Natterer f38d3a1672 app: don't try to draw a NULL boundary in gimp_region_select_tool_draw() 2014-08-27 21:10:55 +02:00
Michael Natterer 6acd7e24bb devel-docs: add some info about libtool versioning to release-howto.txt 2014-08-27 20:42:24 +02:00
Jehan 8bae45323b INSTALL: update gexiv2 URL and remove a repetitive sentence. 2014-08-27 16:02:26 +02:00
Mukund Sivaraman 7bfc60462e devel-docs: Add libtool-instructions.txt 2014-08-27 08:41:02 +05:30
Mukund Sivaraman a805f8426a app: Use gint64 for dirty_time 2014-08-25 19:55:29 +05:30
Yuri Myasoedov 0dd0f8ef2a Updated Russian translation:
* Fixed https://bugzilla.gnome.org/show_bug.cgi?id=674076
2014-08-25 13:34:47 +04:00
Mukund Sivaraman 66ee43a374 build: Update configure help 2014-08-25 13:25:28 +05:30
Massimo Valentini 51d3498cd4 Bug 732072: Image windows created by script-fu plug-ins...
are opened behind the previously focused Image Window

libgimp/gimpui.c bypasses gtk in setting the transient_for
property and so it is not possible to call
gtk_set_transient_for (dialog, NULL), but it is necessary
to go directly to the gdk level.
2014-08-21 12:43:51 +02:00
Michael Natterer dfd2998e60 Makefile.am: Add gtk-doc.make to EXTRA_DIST 2014-08-20 17:24:57 +02:00