Commit Graph

35119 Commits

Author SHA1 Message Date
4cd23d6b6e gfig: Don't do integer division 2014-08-16 02:43:09 +02:00
45a9519cec app: Don't do integer division before saving to gdouble, remove stray ; 2014-08-16 02:38:55 +02:00
541de6ed9c plug-ins, pdb: Add missing break statements to switch 2014-08-16 02:25:49 +02:00
7928be2255 fix a few potential use-before-check errors
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:59:19 +02:00
a102690145 remove unnecessary if()
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:14 +02:00
218b78241c fix errors in the psd loader code.
triggered by Andrey Karpov finding a stupid if-elseif-elseif-... sequence
using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:14 +02:00
e0e29889b0 fix bogus use of g_strlcpy
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:14 +02:00
56fa168ec3 fix parser for plugin image types
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:14 +02:00
40c06ab685 fix some copy&paste errors
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:13 +02:00
99abc566d4 fix some precedence errors
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:13 +02:00
9a8d2f577e fix some pieces of nonsensical code
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:13 +02:00
9a245989c0 fix bogus checks against unsigned variables.
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:13 +02:00
a83ba26f42 tests: make warnings non fatal for tests on win32.
g_test_init() makes any warning message fatale by default. While it
makes sense for the main OS that we build on (Linux), I believe that
our tests on Windows are more useful when they finish, even with some
warnings, than stopping because some stupid font warning would occur
(case I encountered, did not know the solution of, and is not really
relevant to the rest of the test).
2014-08-15 21:26:26 +00:00
2b64efc11d tests: gimp_test_utils_synthesize_key_event() not working for win32.
gdk_test_simulate_key() has currently no win32 implementation.
Add this implementation in our code until a patch to GTK+ for this is
merged. This fixes 2 `make check` tests for win32.
2014-08-15 21:23:02 +00:00
b1fc539f6c tests: build the test icon theme for all platforms.
In particular, we were not building these for win32, which has no
symbolic link concept. So let's use $(LN_S) defined by autoconf for this
purpose, as it will copy files for platforms without ln support.
Moreover this way, we don't create one such folder for each and every
test run and fill up the tmp directory with countless directories, that
we never clean up.
On Win32, this fixes 3 tests which were failing because of the missing
icons.
2014-08-15 21:21:41 +00:00
0b03a6844c build/win: Upgrade pango to 1.36.5 2014-08-15 13:31:07 -04:00
b663b8058f Bug 734705 - v2.9.1 crashes when scaling an image in indexed colors mode
Use gimp_image_get_format() instead of gimp_babl_format() in
gimp_drawable_real_estimate_memsize() because the latter can't handle
indexed formats and returns NULL.
2014-08-15 09:23:02 +02:00
b3d5985c72 build/win: Upgrade pixman to 0.32.6 2014-08-14 18:12:13 -04:00
b0ad0d6b87 build/win: Upgrade harfbuzz to 0.9.34 2014-08-13 20:08:41 -04:00
498ccd33ee plug-ins: move file-compressor to plug-ins/common/, it's only one .c file 2014-08-14 01:35:06 +02:00
91cb85ea20 build/win: Upgrade poppler to 0.26.3 2014-08-13 16:32:08 -04:00
7f0ef65975 Fix generation of AUTHORS
scl tried to modify AUTHORS in 4f852593, but he didn't realize it's
an autogenerated file. This is just repeating his changes on
authors.xml so it matches the modified AUTHORS.
2014-08-12 22:17:01 -04:00
f212c9bfc2 Bug 733525: check presence of poppler-data (informational only).
As of version 0.4.7, poppler-data has a pkg-config file, allowing us to
verify its presence. The configure summary is only informational, and we
don't impose this version since older versions may still work.
Moreover poppler-data is only a runtime dependency, so you can also add
it afterwards.
2014-08-13 00:47:12 +00:00
8a82bff484 INSTALL: wrong list numbering. 2014-08-13 00:36:55 +00:00
b8aabcac5c Do not use g_io_channel_unix_new() for the win32 platforms.
It is advised to use the more accurate g_io_channel_win32_new_fd() or
g_io_channel_win32_new_socket() because GLib can't differentiate between
file descriptors and sockets on Windows, which outputs a warning when
there is ambiguity.
2014-08-12 23:56:10 +00:00
4d15f219a7 app: don't use GLIB_CHECK_VERSION (2, 39, 90) for win32 argv parsing
Instead, use the new APIs unconditionally.
2014-08-12 15:37:46 +02:00
dae366bb6e configure.ac, *: require GLib 2.40.0
Remove gimp_output_stream_[v]printf() and use the new functions from
GLib instead. Use memmove() instead of the deprecated g_memmove().
2014-08-12 15:30:19 +02:00
0904b1e923 configure.ac, INSTALL.in: remove traces of libcurl and the URI plug-in
and fix formatting of "Summary of optional packages" in INSTALL.in
2014-08-12 14:52:21 +02:00
980ba7f85a app: move memsize functions into their own files gimp-memsize.[ch] 2014-08-12 13:57:57 +02:00
cafc316a47 app: port gimp_interpreter_db_resolve() to GIO 2014-08-12 13:15:44 +02:00
26f45822e7 app: port gimpconfig-dump.c to GIO 2014-08-12 12:59:12 +02:00
416059a3f5 build/win: Tweak gtk2 hack 2014-08-10 15:52:52 -04:00
66ea9e7ebd app: double free when plugin fails to execute. 2014-08-10 01:26:09 +00:00
90add0f55a build/win: Remove all extra files while cleaning. 2014-08-09 15:55:52 -04:00
1115f14a00 libgimpmodule: Link to GIO
This has been necesary since at least a0b9e5c7
2014-08-09 15:21:15 -04:00
1c3a5d3481 Added doap description translation in Italian. 2014-08-08 17:10:51 +02:00
bb758a25fc Remove extra programming languages from the doap file.
and add Scheme
2014-08-07 19:46:57 -04:00
4f852593e8 Update GIMP project meta information.
Make gimp.doap compliant to the new DOAP file style (GUADEC 2014):
* Add new mandatory fields 'description' and 'programming-language'.

Add download page URL.
Add bug-tracker URL.
Add programming language.
Set category to Apps.
Move Sven Neumann from maintainer list to AUTHORS after querying him.

Unify description in gimp.doap and gimp.appdata.xml.in.
2014-08-07 21:30:35 +02:00
92f942c71c build/win: Remove extra poppler hacks. 2014-08-06 00:49:44 -04:00
59dfa2e6e6 app: If the user makes a new gradient, commit the old one 2014-08-04 17:20:58 -04:00
9eb3c4f40f Fix German translation issue
Translate untranslated 'tag' to 'Stichwort' which is the most usual
translation in this domain.
2014-08-04 20:27:53 +02:00
41e2a01976 app: Tweak the blend tool UI for shapebursts 2014-08-04 12:32:45 -04:00
cd99314572 libgimpbase: deprecate the gimp_datafiles functions 2014-08-04 03:41:45 +02:00
9d54a94f53 app: port plug-in loading to GFileEnumerator 2014-08-04 02:39:52 +02:00
9bb3aee163 app: add gimp_file_is_executable() to gimp-utils.[ch]
including PATHEXT magic for windows.
2014-08-04 02:38:24 +02:00
cd8fa8cbc3 libgimpmodule: remove obsolete docs from gimp_module_db_load() 2014-08-03 23:09:30 +02:00
48e6199a4f script-fu: port script loading to GFileEnumerator 2014-08-03 21:49:20 +02:00
50568ae258 app: add gegl:distance-transform to Filters->Generic as "Distance Map" 2014-08-03 21:34:32 +02:00
6209b1f571 libgimpbase, app: move gimp_file_has_extension() to libgimpbase
and use it in GimpModuleDB.
2014-08-03 20:47:37 +02:00
8af3fec689 app: use the new distance-transform operation in the blend tool 2014-08-03 20:12:01 +02:00