Commit graph

34609 commits

Author SHA1 Message Date
Simon Budig
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
Simon Budig
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
Jehan
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
Jehan
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
Jehan
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
Michael Henning
0b03a6844c build/win: Upgrade pango to 1.36.5 2014-08-15 13:31:07 -04:00
Michael Natterer
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
Michael Henning
b3d5985c72 build/win: Upgrade pixman to 0.32.6 2014-08-14 18:12:13 -04:00
Michael Henning
b0ad0d6b87 build/win: Upgrade harfbuzz to 0.9.34 2014-08-13 20:08:41 -04:00
Michael Natterer
498ccd33ee plug-ins: move file-compressor to plug-ins/common/, it's only one .c file 2014-08-14 01:35:06 +02:00
Michael Henning
91cb85ea20 build/win: Upgrade poppler to 0.26.3 2014-08-13 16:32:08 -04:00
Michael Henning
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
Jehan
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
Jehan
8a82bff484 INSTALL: wrong list numbering. 2014-08-13 00:36:55 +00:00
Jehan
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
Michael Natterer
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
Michael Natterer
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
Michael Natterer
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
Michael Natterer
980ba7f85a app: move memsize functions into their own files gimp-memsize.[ch] 2014-08-12 13:57:57 +02:00
Michael Natterer
cafc316a47 app: port gimp_interpreter_db_resolve() to GIO 2014-08-12 13:15:44 +02:00
Michael Natterer
26f45822e7 app: port gimpconfig-dump.c to GIO 2014-08-12 12:59:12 +02:00
Michael Henning
416059a3f5 build/win: Tweak gtk2 hack 2014-08-10 15:52:52 -04:00
Jehan
66ea9e7ebd app: double free when plugin fails to execute. 2014-08-10 01:26:09 +00:00
Michael Henning
90add0f55a build/win: Remove all extra files while cleaning. 2014-08-09 15:55:52 -04:00
Michael Henning
1115f14a00 libgimpmodule: Link to GIO
This has been necesary since at least a0b9e5c7
2014-08-09 15:21:15 -04:00
Marco Ciampa
1c3a5d3481 Added doap description translation in Italian. 2014-08-08 17:10:51 +02:00
Michael Henning
bb758a25fc Remove extra programming languages from the doap file.
and add Scheme
2014-08-07 19:46:57 -04:00
Sven Claussner
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
Michael Henning
92f942c71c build/win: Remove extra poppler hacks. 2014-08-06 00:49:44 -04:00
Michael Henning
59dfa2e6e6 app: If the user makes a new gradient, commit the old one 2014-08-04 17:20:58 -04:00
Sven Claussner
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
Michael Henning
41e2a01976 app: Tweak the blend tool UI for shapebursts 2014-08-04 12:32:45 -04:00
Michael Natterer
cd99314572 libgimpbase: deprecate the gimp_datafiles functions 2014-08-04 03:41:45 +02:00
Michael Natterer
9d54a94f53 app: port plug-in loading to GFileEnumerator 2014-08-04 02:39:52 +02:00
Michael Natterer
9bb3aee163 app: add gimp_file_is_executable() to gimp-utils.[ch]
including PATHEXT magic for windows.
2014-08-04 02:38:24 +02:00
Michael Natterer
cd8fa8cbc3 libgimpmodule: remove obsolete docs from gimp_module_db_load() 2014-08-03 23:09:30 +02:00
Michael Natterer
48e6199a4f script-fu: port script loading to GFileEnumerator 2014-08-03 21:49:20 +02:00
Michael Natterer
50568ae258 app: add gegl:distance-transform to Filters->Generic as "Distance Map" 2014-08-03 21:34:32 +02:00
Michael Natterer
6209b1f571 libgimpbase, app: move gimp_file_has_extension() to libgimpbase
and use it in GimpModuleDB.
2014-08-03 20:47:37 +02:00
Simon Budig
8af3fec689 app: use the new distance-transform operation in the blend tool 2014-08-03 20:12:01 +02:00
Michael Natterer
a0b9e5c702 libgimpmodule, app: port GimpModuleDB to GFileEnumerator
this implies passing the UTF-8 encoded raw module path from gimprc to
gimp_module_db_load() and gimp_module_db_refresh(), which is strictly
speaking an API break, but I seriously doubt that anyone but GIMP is
actually using libgimpmodule.
2014-08-03 18:30:02 +02:00
Michael Natterer
9e265e7855 libgimpmodule: always build the module debug code, just don't call it
It was already rotting and had to be fixed.
2014-08-02 23:47:10 +02:00
Michael Natterer
da26597467 app: add gimp_file_has_extension() and use it in GimpDataFactory 2014-08-02 23:29:00 +02:00
Michael Natterer
81aaa1decd app: use g_str_has_suffix() in file_utils_file_get_ext()
g_strrstr() is wrong for checking for suffixes.
2014-08-02 15:55:32 +02:00
Michael Natterer
ab2afa0c1f app: don't check for a writable dir for each loaded GimpData
Instead, do the check once for each element of the data path, and pass
the result to the load functions.
2014-08-02 15:09:33 +02:00
Michael Natterer
2b1735f784 app: move gimp_file_compare() to gimp-utils.[ch]
It's a GCompareFunc to be used for finding GFiles in lists.
2014-08-02 15:07:26 +02:00
Michael Natterer
6821eb298c app: port GimpDataFactory file loading to GFileEnumerator
Also slightly change the semantics of gimp_data_set_folder_tags()
to be less complicated.
2014-08-01 20:30:45 +02:00
Jehan
2567a2d1fd app: typo s/fomat/format/ 2014-08-01 18:38:25 +00:00
Michael Natterer
7d7180dcaa app: s/uri/file/ in a comment in file-open.c 2014-07-31 12:22:27 +02:00
Michael Henning
bf9cb2155e build/win: Disable libwmf for now. 2014-07-30 16:34:42 -04:00