Commit Graph

3571 Commits

Author SHA1 Message Date
fe8cb9788b Bug 738037 - Wrong order of parameters in the Sobel plugin
Get the parameters from the right PDB arguments (parameter index was
off-by-one).
2014-10-07 13:22:19 +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
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
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
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
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
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
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
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
b7863269f0 libgimpcolor: change gimp_lcms_profile_open_from_file() from filename to GFile
and change most of the lcms plug-in to using GFile too.
2014-07-04 23:57:27 +02:00
b5530e9e3d Use the new GeglAccessMode enum instead of the old values 2014-07-02 02:00:35 +02:00
6914bbc65f plug-ins: more gimp_spin_button_new() -> gtk_spin_button_new() 2014-06-22 23:01:31 +02:00
3b746e9a68 plug-ins: tiff-load call gimp_ui_init when run interactively 2014-06-16 19:33:23 +02:00
ac9101691c plug-ins: various small cleanups in the plug-ins that use metadata 2014-06-05 21:33:40 +02:00
3a4fedea7c libgimp: make gimp_image_metadata_save_prepare() suggest GimpMetadataSaveFlags
Return flags based on what metadata is actually present in the image.
Returning of a suggested value for GIMP_METADATA_SAVE_THUMBNAIL needs
support from gimp_image_metadata_load_prepare() and is still missing.

Port all plug-ins to use the new API, the suggested values are however
overridden by parasites and whatever special code was devised for the
individual plug-ins. This needs to be fixed.
2014-06-05 02:07:13 +02:00
425748dab0 libgimpbase, *: rename GimpFillType values: GIMP_FOO_FILL -> GIMP_FILL_FOO
Change all users accordingly and add compat enum values and compat
constants to script-fu and pygimp.
2014-06-03 01:11:32 +02:00
f15b48b3c8 plug-ins, pdb: remove convolution-matrix and add a PDB compat procedure 2014-05-29 16:27:35 +02:00
3e6a7f4012 pdb, plug-ins: remove the rotate plug-in and add a PDB compat procedure 2014-05-24 22:46:11 +02:00
40030e084b plug-ins, pdb: remove the deinterlace plug-in and add a PDB compat proc 2014-05-20 21:30:42 +02:00
4712701415 app, plug-ins: move everything from Render->Clouds to the new Render->Noise
because that's what they are and what most menu labels in there says.
Keep the "Clouds" menu around for 3rd party plug-ins, not sure if it's
right to auto-map it to "Noise" automatically.
2014-05-18 22:46:05 +02:00
2ce79d3b13 plug-ins, pdb: remove the tile-glass plug-in and add a PDB compat procedure 2014-05-16 22:11:28 +02:00
b42cedd383 No tabs please, we're British. 2014-05-16 17:46:18 +01:00
a3be308aea file-gif-save2 takes 3 more params. 2014-05-16 17:37:06 +01:00
102a236265 plug-ins: some more stock-id -> icon-name porting 2014-05-12 00:37:42 +02:00
4bd5c185cc plug-ins: gtk_image_new_from_stock() -> from_icon_name() 2014-05-12 00:20:48 +02:00
de08267f06 libgimpbase, *: add enum value GIMP_ICON_TYPE_ICON_NAME
and keep GIMP_ICON_TYPE_STOCK_ID as a deprecated alias. Change all
plug-ins accordingly and increase the pluginrc file version number so
it gets regenerated with "icon-name" instead of "stock-id".
2014-05-11 23:56:30 +02:00
7e80e2e3bc Bug 707239 - Gimp destroys image file when exporting...
as .tif with jpeg compression

make unsensitive the JPEG radio button when the image
is indexed, similarly to Fax Group 3/4 compression
enabled only for monochrome images

move the file creation/truncation after checking for
invalid requests and return a GError in case of error
2014-05-07 18:10:26 +02:00
64290145a2 pdb. plug-ins: remove the noise-rgb plug-in and add PDB compat wrappers 2014-05-04 23:43:02 +02:00