Commit Graph

7329 Commits

Author SHA1 Message Date
d9cebfadb0 plug-ins: 64bit double saving support for file-fits
Quickly hacked up, loads again using the plug-in.
2014-10-06 13:37:00 +02:00
2e79dfc8da plug-ins: port file-xbm-save to GIO 2014-10-05 18:06:03 +02:00
aed2742bdb plug-ins: remove obsolete includes from file-html-table 2014-10-05 17:04:44 +02:00
86345dc0aa plug-ins: port file-html-table to GIO 2014-10-05 16:59:16 +02:00
b831ab72c4 plug-ins: merge 4 entry callbacks into one in file-html-table
And some general cleanup.
2014-10-05 16:42:31 +02:00
849481a861 Clean up code around calls to g_file_replace()
- use G_FILE_CREATE_NONE instead of 0
- don't put "Could not open <file> for writing: <error>" around the
  returned error, the returned message is already verbose
2014-10-04 02:44:54 +02:00
98c184f0ad plug-ins: rename output_printf() to simply print() in file header 2014-10-04 02:30:37 +02:00
b971b5b316 plug-ins: port file-header to GIO 2014-10-03 23:40:13 +02:00
bcf16161e6 file-bmp: Use cleaner serialization (sign) 2014-10-03 11:58:42 +05:30
db18c1f172 file-bmp: Fix final bfSize patched into BMP header (#737669) 2014-10-03 11:10:26 +05:30
be45ec02dc Revert "file-gif-save: Export images in non-interactive run mode (Bug #698450)"
This reverts commit 197280311a.
2014-09-26 16:39:49 +05:30
197280311a file-gif-save: Export images in non-interactive run mode (Bug #698450) 2014-09-26 13:36:32 +05:30
2821d77e0c file-gif-load: Fix proto (Bug #737375) 2014-09-26 09:01:47 +05:30
68cb57d97e file-gif-load: Try to use as much as possible of broken GIF file (Bug #737375) 2014-09-26 08:49:59 +05:30
7d3aafe323 file-pdf-save: Fix param index (Bug #736281) 2014-09-26 00:20:01 +05:30
2377c8c2a9 file-gif-load: Fail early in several other places if GetDataBlocks() fails (Bug #737375) 2014-09-25 23:51:35 +05:30
55150487ff file-gif-load: Fail early if GetCode() fails (Bug #737375) 2014-09-25 22:48:42 +05:30
fa92203dd0 Bug 601139 - Gifg no longer usable with the new brush behavior
Call gimp_context_set_brush_default_size() after each
gimp_context_set_brush() which restores the original
behavior of the plug-in.
2014-09-25 00:24:34 +02:00
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
8c1cd7caac Makefile: fix VPATH builds for win32. 2014-09-14 18:28:26 +02:00
b19a18f80e plug-ins: code cleanup in file-tiff-load.c 2014-09-13 21:59:30 +02:00
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
250223453f plug-ins: some code cleanup in file-tiff-save.c 2014-09-13 21:24:04 +02:00
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
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
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
6e73a6278f file-bmp: Use masks when BI_BITFIELDS method is found 2014-08-28 19:30:20 +05:30
24cf89aa68 file-bmp: Print compression method in debug build 2014-08-28 19:27:07 +05:30
1d10c4d88f file-bmp: Fix format specifiers 2014-08-28 19:21:53 +05:30
2dac58718f file-bmp: Remove unnecessary casts 2014-08-28 19:07:59 +05:30
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
5bacf11360 Don't need to use snprintf() in atom2str to return some fixed strings.
From SVN version 102 of offical version of TinyScheme.
2014-08-17 21:02:30 -04:00
ac45213ccd Prevent possible crash when loading file with scheme_load_file.
From SVN version 101 of offical version of TinyScheme.
2014-08-17 21:02:30 -04:00
5fb5327f33 plug-ins: fix typo in error path 2014-08-16 03:10:35 +02:00
4cd23d6b6e gfig: Don't do integer division 2014-08-16 02:43:09 +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
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
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
498ccd33ee plug-ins: move file-compressor to plug-ins/common/, it's only one .c file 2014-08-14 01:35:06 +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
48e6199a4f script-fu: port script loading to GFileEnumerator 2014-08-03 21:49:20 +02:00
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
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
f28878b6d3 plug-ins: start the progress before opening files for loading/saving
so the user gets feedback as early as possible.
2014-07-23 21:37:13 +02:00
57e6b22b9d app, plug-ins: remove file-uri completely
and enable the new file-remote code in app unconditionally.
2014-07-23 21:37:13 +02:00
1859633018 plug-ins: #include <gdk/gdk.h> instead of <gdkconfig.h> 2014-07-21 02:19:51 +02:00
35466d6dd0 Bug 732163 - Flipped pixel columns in TGA
do not flip the central columns twice
2014-07-20 16:16:50 +02:00
af40c076d4 plug-ins: disable file-uri if the GIMP_HANDLE_REMOTE_FILES env variable is set 2014-07-11 01:45:42 +02:00