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
Michael Henning
978f8f2b0c
build/win: Add support for building 64-bit libs in jhbuild.
2014-07-30 16:34:42 -04:00
Michael Henning
a4bf1ff1cb
build/win: Reset tarball location on newer jhbuild versions.
2014-07-30 16:34:42 -04:00
Michael Natterer
ebdb803c33
app: port GimpAppleEventHandler to GFile too, it made opening files crash
2014-07-30 21:34:27 +02:00
Michael Henning
2801d9c387
build/win: Mark poppler as optional
...
Compiling it tends to fail on newer mingw releases.
2014-07-29 23:50:22 -04:00
Michael Henning
f08c519aa2
build/win: Disable lto in cairo
...
It causes issues with older binutils versions. See:
https://bugs.freedesktop.org/show_bug.cgi?id=77060
2014-07-29 23:50:22 -04:00
Michael Henning
cdb7f185a7
build/win: Upgrade libpng to 1.6.12
2014-07-29 23:50:22 -04:00
Michael Natterer
c077fb8dad
app: add --verbose output when parsing and writing the action history
2014-07-29 18:13:57 +02:00
Jehan
4ae597c586
plug-ins: use standard error on failed file descriptor in file-pdf-save.
...
The standard message used all over our code is:
"Could not open '%s' for writing: %s".
2014-07-29 16:59:49 +00:00
Michael Natterer
1155b9c7a7
app: more GFile stuff in gimp_get_temp_file()
2014-07-29 16:32:29 +02:00
Michael Natterer
85668c8e69
app: filename -> GFile in parse_iso_codes()
2014-07-29 16:32:29 +02:00
Jehan
eaa4bf2270
Bug 733824 - PDF export fails without warning if open in other application.
...
This happens on the Windows platforms in particular where applications
can lock files, preventing GIMP to obtain a file descriptor for writing.
2014-07-29 15:41:34 +00:00
Michael Natterer
035c6717e7
app: port menus_clear() to GIO
2014-07-29 14:53:27 +02:00
Michael Natterer
9751d04b47
app: more filename -> GFile in gimp-fonts.c
2014-07-29 14:40:25 +02:00
Michael Natterer
e84ef0d7cc
app: use GIO to find the locally installed user manual
2014-07-29 13:04:16 +02:00
Michael Natterer
969e2b60f1
app: port about_dialog_load_logo() to GIO
2014-07-29 12:48:57 +02:00
Michael Natterer
0856382713
app: use gimp_directory_file() in gimp_plug_in_manager_get_pluginrc()
2014-07-29 12:37:08 +02:00
Michael Natterer
50ca9068da
app: more cleanup in the action history code, mostly general consistency
2014-07-29 12:28:18 +02:00
Michael Natterer
7149a5ac6c
app: use g_file_query_file_type() to check for the GIMP directory
2014-07-29 12:04:17 +02:00
Michael Natterer
b200345a98
app: change GimpImageMapTool::get_settings_ui()'s "default_folder" to GFile
2014-07-29 11:56:49 +02:00
Michael Natterer
9a90bfa26a
app: more gimp_directory() -> gimp_directory_file()
2014-07-29 11:56:49 +02:00
Jehan
fccf7174ab
app: typo s/Premission/Permission/
2014-07-28 19:03:39 +00:00
Jehan
9c2dbf46c5
Bug 733525 - Japanese characters not rendered from imported PDF.
...
poppler-data is an optional encoding package, necessary to import PDF
with CJK and cyrillic text.
2014-07-28 17:20:38 +00:00
Michael Natterer
b81f46185e
app: port the action history to GimpConfigWriter, GimpScanner and to GIO
...
which means the file format has changed, but it will silently ignore
the parse error when encountering the old format.
2014-07-28 16:44:44 +02:00
Michael Natterer
0ac3c56ce8
po: add gimptagcache.c to POTFILES.in
2014-07-28 15:39:52 +02:00
Jehan
6b2963928e
configure: warning when compiling with old fontconfig on Win32.
...
Fontconfig had a few bugs in the default configuration when compiled for
Windows. These issues are fixed from version 2.11.1. Display a warning
when compiling on win32 platform with older versions.
See in particular bugs 708110 and 703331.
2014-07-28 15:35:50 +00:00
Michael Natterer
3e85deefb5
app: manage the system and user gimprc paths as GFiles
2014-07-28 15:03:06 +02:00
Michael Natterer
6b6ba7b456
app: port gimptagcache.c to GIO
2014-07-28 12:22:52 +02:00
Michael Natterer
afc469446f
app: port gimp_tags_user_install() to GIO
2014-07-28 12:12:21 +02:00
Michael Natterer
57cecb54fb
app: some serious cleanup in gimpaction-history.c, still a lot to do
2014-07-28 11:22:20 +02:00
Michael Natterer
1c7a2db9e4
app: use gimp_directory_file() in session.c
2014-07-28 11:05:56 +02:00
Michael Natterer
b03d69dd40
libgimpbase, app: add variants of gimp_$foo_directory() which return GFiles
...
gimp_directory_file(), gimp_data_directory_file() etc. The new
functions take a variable list of path elements to the file,
the list has to be NULL-terminated. Remove the newly added
gimp_personal_rc_gfile(). Start using the new functions in app/.
2014-07-28 02:04:01 +02:00
Michael Natterer
b328bd3087
app: don't leak a GFileInfo in gimp_data_set_file()
2014-07-26 16:52:56 +02:00
Michael Natterer
58c3b7661f
app: port gimp_data_create_filename() to GFile
...
implies also porting gimp_data_factory_get_save_dir().
2014-07-26 16:37:30 +02:00
Michael Natterer
1aa5a85d2a
app: don't drop the last reference to "file" in gimp_data_set_file(), argh
...
also improve precondition check in gimp_data_save().
2014-07-26 16:33:40 +02:00
Michael Natterer
dc347c3039
app: fix opening multiple files in file_open_dialog_response()
...
Don't loop infinitely around the list's second file.
2014-07-26 15:24:52 +02:00
Michael Natterer
e618a2866c
app: simplify handling of a GimpDataFactory's writable_path
...
Simply keep it around in GimpDataLoadContext during loading, instead
of g_object_set/getting it on the factory.
2014-07-26 14:21:39 +02:00