Commit Graph

7160 Commits

Author SHA1 Message Date
Michael Natterer 7438d5bd04 plug-ins: remove the color-rotate plug-in 2014-05-30 01:37:39 +02:00
Michael Natterer f15b48b3c8 plug-ins, pdb: remove convolution-matrix and add a PDB compat procedure 2014-05-29 16:27:35 +02:00
Michael Natterer 3e6a7f4012 pdb, plug-ins: remove the rotate plug-in and add a PDB compat procedure 2014-05-24 22:46:11 +02:00
Michael Natterer 40030e084b plug-ins, pdb: remove the deinterlace plug-in and add a PDB compat proc 2014-05-20 21:30:42 +02:00
Michael Natterer 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
Michael Natterer 386fb4080b script-fu: fix FOO-BUCKET-FILL compat enum value constants 2014-05-19 01:31:07 +02:00
Michael Natterer 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
Piotr Drąg 795bd0f9a3 Improve punctuation in a translatable string 2014-05-17 20:37:13 +02:00
Michael Natterer b1e4bca33a pygimp: move foggify to Filters -> Decor 2014-05-17 02:24:06 +02:00
Michael Natterer 41c0b093a2 pygimp: move histogram-export to Colors -> Info 2014-05-17 02:07:03 +02:00
Michael Natterer 2ce79d3b13 plug-ins, pdb: remove the tile-glass plug-in and add a PDB compat procedure 2014-05-16 22:11:28 +02:00
Ed J b42cedd383 No tabs please, we're British. 2014-05-16 17:46:18 +01:00
Ed J a3be308aea file-gif-save2 takes 3 more params. 2014-05-16 17:37:06 +01:00
Mukund Sivaraman 8ef1f20c22 file-jpeg: Reduce use of #ifdefs 2014-05-15 13:41:21 +05:30
Mukund Sivaraman c760829161 file-jpeg: Append to parasite fields 2014-05-15 01:38:58 +05:30
Mukund Sivaraman 080fd93d90 file-jpeg: Use state of toggle button with the event 2014-05-15 01:37:16 +05:30
Mukund Sivaraman 7a6b8f0e69 file-jpeg: Add support for arithmetic coding
Arithmetic coding is a feature of the JPEG standard. Although libjpeg
had always implemented arithmetic coding, it was compiled out by default
due to patents.

Those patents have now expired.

libjpeg 8 now enables arithmetic coding by default. Distributions which
use libjpeg < 8 can also support arithmetic coding by using the
appropriate CFLAGS to enable it. libjpeg-turbo 1.3.1 also has support
for arithmetic coding and is in popular shipping distributions.

Software such as jpegtran can losslessly convert Huffman compressed
images to arithmetic coding and vice versa. The lossy behavior of JPEG
does not happen at this (bit coding) layer of the format.

This initial patch provides a checkbox (disabled by default) to create
files which use arithmetic coding. It also has a tooltip warning that
such files may not be compatible with older decoders.
2014-05-15 00:57:42 +05:30
Michael Natterer 102a236265 plug-ins: some more stock-id -> icon-name porting 2014-05-12 00:37:42 +02:00
Michael Natterer 4bd5c185cc plug-ins: gtk_image_new_from_stock() -> from_icon_name() 2014-05-12 00:20:48 +02:00
Michael Natterer a54b1ca12c plug-ins: port help-browser to icon names 2014-05-12 00:17:57 +02:00
Michael Natterer 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
Massimo Valentini 07ff7c7d6d Bug 728226: Blending mode of layers in ORA changed upon opening 2014-05-10 18:46:31 +02:00
Massimo Valentini 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
Michael Natterer 64290145a2 pdb. plug-ins: remove the noise-rgb plug-in and add PDB compat wrappers 2014-05-04 23:43:02 +02:00
Michael Natterer ff59aebbe8 pdb, plug-ins: remove the blur-gauss plug-in and add compat procedures
Add a utility function to wrap PDB compat nodes in gimp:cast-format
ops, so we can use ops that are now implemented in linear RGB for
plug-in compat procedures, which are all supposed to work on gamma
corrected RGB.
2014-05-04 22:53:29 +02:00
Daniel Sabo 41f9cd7ba0 Fix stray semicolon causing early return
_wrap_gimp_color_scale_new will always fail because "return -1"
falls outside of the if statement.
2014-05-03 00:24:35 -07:00
Massimo Valentini ccb735d216 Bug 725553: TIFF compression broken
remove the radio button box from the ui file because
it hides the radio_group created in file-tiff-save.c that
also properly connects signals
2014-05-02 18:44:44 +02:00
Michael Natterer d0c67f84c8 plug-ins: file-pdf-save needs two return values now for the error message 2014-05-01 20:27:10 +02:00
Piotr Drąg cdd78c9b16 Fix typo 2014-05-01 14:59:28 +02:00
Michael Natterer a4223766f2 all,libgimp*: move GimpConvolveType and GimpInkBlobType to libgimpbase
and make GimpConvolveType's values sane.
2014-04-29 22:44:58 +02:00
Michael Natterer 22c222291d libgimpbase,*: clean up enum values in gimpbaseenums.h
GIMP_ADD_foo_MASK -> GIMP_ADD_MASK_foo
GIMP_foo_MODE -> GIMP_BLEND_foo
GIMP_foo_CLONE -> GIMP_CLONE_foo
GIMP_foo -> GIMP_DODGE_BURN_TYPE_foo
GIMP_foo -> GIMP_TRANSFER_foo

Add compat values for the old names and compat code to script-fu
and pygimp.
2014-04-29 20:58:30 +02:00
Hartmut Kuhse f6328244a2 Bug 725577 - file-pdf-save fails to export images larger than 32768 pixels
Due to a restriction in libcairo, creating surfaces larger than 32768 pixels
fails, so saving a larger file in gimp  as PDF, is rejected.
2014-04-29 17:37:25 +02:00
Michael Natterer b883aec224 plug-ins: pass "RAW" to gimp_export_image() in file-raw-data.c
So the export logic GUI becomes debuggable.
2014-04-27 19:15:17 +02:00
Michael Natterer a4773a5599 plug-ins: include libgimp/gimp.h and gimpui.h in openexr-wrapper.cc
The file does not need the includes, but including libgimp from a C++
file makes sure the build fails if something forbidden gets added to
any public libgimp header, such as a struct member named "private".
2014-04-27 14:33:16 +02:00
Christian Lehmann 3b72ad8939 Bug 708098 - Further mitigation for CVE-2012-4245 (script-fu-server)
Reorder server_start()'s arguments so they match the PDB signature.
2014-04-23 21:30:17 +02:00
Christian Lehmann 83741044fc Bug 708098 - Further mitigation for CVE-2012-4245 (script-fu-server)
Add an "ip" parameter as *first* argument to the
plug-in-script-fu-server procedure. This is an incompatible change
with the intent to make any old-style calls to the procedure
fail. Also reorder the GUI to have the IP in the first line.
2014-04-23 11:04:09 +02:00
Christian Lehmann 3705f54300 Bug 708098 - Further mitigation for CVE-2012-4245 (script-fu-server)
Added a warning message informing about the danger of running a
script-fu server on any PI but 127.0.0.1.
2014-04-23 11:04:09 +02:00
Christian Lehmann f98592afa3 Bug 708098 - Further mitigation for CVE-2012-4245 (script-fu-server)
added listen-to-ip field to the script-fu start server dialog
2014-04-23 11:04:09 +02:00
Michael Natterer 740d83c70a plug-ins: fix the build in file-raw-data.c 2014-04-22 22:59:07 +02:00
Björn Kautler c3f2a5a116 Bug 728633 - Improvements to the file-raw plugin
Export the image before saving as raw image data.
2014-04-22 22:10:09 +02:00
Björn Kautler 3e96b96640 Bug 728633 - Improvements to the file-raw plugin
Register 'data' as save extension.
2014-04-22 22:02:29 +02:00
Hartmut Kuhse 7b078a6e57 Bug 727832 - file-psd-load infinite loop
If a layer mask is completely outside the layer boundaries,
the layer mask is omitted
2014-04-21 19:25:18 +02:00
Michael Natterer 1093a82e79 Bug 724444 - Printing ignores dpi ratio / image proportions, always prints 1:1
Enable the resolution chain button only if xres == yres.
2014-04-18 19:46:41 +02:00
Piotr Drąg 128377b406 Fix typo 2014-04-17 01:04:54 +02:00
Michael Natterer cf5bc57e20 plug-ins: remove some accidential whitespace from the last commit 2014-04-16 22:36:23 +02:00
Hartmut Kuhse 0bc827cb69 Bug 725576 - GIMP crashes on printing large TIFF files
Cairo surface creating is limited to 32768.
Printing is refused for images bigger than 32768 either width,
height or both.
2014-04-16 11:15:35 +02:00
Michael Natterer 260a4a51b1 plug-ins, pdb: remove the lens-apply plug-in and add a compat procedure 2014-04-13 21:18:35 +02:00
Michael Natterer a5b92424b3 Bug 726761 - Alias PIX image encoding broken
save_image(): remove bogus "- 1" from the calculation of the height of
the row of tiles to save. Fixes garbage saved to the last line of all
PIX files.
2014-04-11 15:25:22 +02:00
Michael Natterer b9d587c7d2 Bug 726761 - Alias PIX image encoding broken
save_image(): use the chosen export format's bpp, not the drawable's.
Fixed exporting of > 8 bit images.

Also make the plug-in export indexed images directly (without
requiring export conversion).
2014-04-11 15:08:49 +02:00
Michael Natterer 614c61a3dd Don't #include <glib.h> before <lcms.h>
The include claimed to be because of "inline" in the lcms header, but
that was probably lcms1, since there is no trace of inline in the
lcms2 header.
2014-04-10 20:48:22 +02:00