Commit Graph

7397 Commits

Author SHA1 Message Date
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
1348cd06a6 plug-ins: more GFile porting in file-uri 2014-07-10 21:38:23 +02:00
4fbff306e6 plug-ins: remove the libcurl and wget file-uri backends
and build file-uri unconditionally, always using GIO. Use more GFiles
instead of URIs in the plug-in in preparation of moving its
functionality to the core.
2014-07-10 20:50:35 +02:00
54207fbaf5 plug-ins: mark file-uri's procedures to handle URIs
Not that it would make any difference, since they only register
prefixes and no extensions, but the fact that they got URIs passed was
simply a side effect of how we pass filename or URI to plug-ins. With
this change, getting an URI passed is a choice of the plug-in, which
the core honors in an obvious code path.
2014-07-09 02:49:40 +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
5a893392ee script-fu: remove unused "input_id" from struct ConsoleInterface 2014-07-03 14:48:11 +02:00
b5530e9e3d Use the new GeglAccessMode enum instead of the old values 2014-07-02 02:00:35 +02:00
980a9ca682 plug-ins: fix includes and the build in gimppressionist 2014-07-01 02:37:23 +02:00
adf8a6efc0 plug-ins: silence gcc by turning huge int constants into floats, shiver 2014-07-01 00:17:15 +02:00
6914bbc65f plug-ins: more gimp_spin_button_new() -> gtk_spin_button_new() 2014-06-22 23:01:31 +02:00
08ffad9086 plug-ins: some gimp_spin_button_new() -> gtk_spin_button_new() 2014-06-22 00:26:59 +02:00
d344f5a01f pygimp: fixes garbage left on previous commit 2014-06-20 19:17:09 -03:00
e8550148e7 pygimp: adds gimp_image_export functionality to gimp module
Implements gimp.image_export and gimp.export_dialog
2014-06-20 17:53:29 -03:00
f7e1dd2501 pygimp: Layers retrieved using "parent" have to be GroupLayers
Thanks Seldom Needy for spotting this.
2014-06-19 22:19:52 -03:00
001a75e1d2 app, plug-ins: move Filters/Render/Nature to Filters/Render/Fractals
but keep "Nature" around for compat, it's hidden if empty.
2014-06-19 23:11:30 +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
b39f0757db script-fu: don't add "Erase Every Other Row" to the menus
because it's not only useless but also utterly slow.
2014-05-30 23:26:09 +02:00
7438d5bd04 plug-ins: remove the color-rotate plug-in 2014-05-30 01:37:39 +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
6aaa645e04 libgimp, script-fu: remove GIMP 1.2 (sic) compat defines
which we wanted to remove in the "next development cycle" after 2.0,
which would have been in 2.1.x.
2014-05-19 03:08:18 +02:00
386fb4080b script-fu: fix FOO-BUCKET-FILL compat enum value constants 2014-05-19 01:31:07 +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
795bd0f9a3 Improve punctuation in a translatable string 2014-05-17 20:37:13 +02:00
b1e4bca33a pygimp: move foggify to Filters -> Decor 2014-05-17 02:24:06 +02:00
41c0b093a2 pygimp: move histogram-export to Colors -> Info 2014-05-17 02:07:03 +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