Commit graph

3272 commits

Author SHA1 Message Date
Jehan
2368763ddf plug-ins: add some default shortcuts for animation preview.
"space" for play/pause, "f" for next frame and "d" for previous frame.
2013-04-21 08:42:25 +09:00
Jehan
5c38715cce Bug 338380: zoom and scrolling feature on animation playback plugin. 2013-04-21 08:28:18 +09:00
Jehan
4c341ff67e plug-ins: animation playback settings are now saved all along the GIMP session. 2013-04-21 08:16:14 +09:00
Jehan
2bfae573ad plug-ins: give animation playback ability to take into account image updates.
This includes a much better code organization where initialization part can be reused
to free up memory and refresh the display on the fly.
This refresh feature has a UI button and a shortcut (ctrl-r) associated.
It implies any kind of change, additional or removed layers, new image size, etc.
2013-04-21 08:08:06 +09:00
Jehan
efe4320074 Bug 688380 : drop-down in animation playback to select the default frame disposal. 2013-04-21 07:59:34 +09:00
Jehan
e42ff36dff Bug 466958 (plug-ins): step-back button for animation playback. 2013-04-21 07:47:56 +09:00
Jehan
b0a081bc91 plug-ins: the animated frames are generated at initialization, ready for render.
Additionaly a bug on shaping the window around moving non-alpha pixel is fixed.
2013-04-21 07:47:48 +09:00
Téo Mazars
35cc644765 Bug 695418 - Unsharp mask crashes for large radii
Make sure we are working on the image range
2013-04-08 18:53:01 +02:00
Téo Mazars
65d34b7b27 Bug 683713 - Align visible layers does not work when layers ...
This is a complete rework of the plug-in, the behaviour remains
unchanged.

The implementation spreads all visible layers into one contiguous
array, then applies a simplified rework of the legacy algorithm.
2013-03-30 15:33:47 +01:00
Michael Natterer
720d8fa77a Bug 692939 - Zealous crop does nothing
Treat completely transparent pixels as equal, ignoring the hidden
color information.
2013-03-26 23:38:25 +01:00
Mukund Sivaraman
f86655bb1f file-gif-load: Fix incorrect out-of-input-bits condition (#695513)
GetCode() erroneously assumes that it has run out of input bits, because
it's off by 1 in its size calculation. At the end of the block, if the
End-of-Information code is exactly at the block boundary, it calculates
that it needs to read an extra bit, and tries to read beyond the end of
the block. It fails then, and the End-of-Information code is not
processed, and other warnings/errors are generated.
2013-03-12 13:11:48 +05:30
Michael Natterer
e21e3bce5c plug-ins, pdb: remove plug-in noise-randomize
and implement its procedures as compat wrappers around GEGL ops.
2013-03-08 17:06:53 +01:00
Elle Stone
ceebfe5d01 Bug 694679 - lcms plug-in half-floating point support
Again, this time in an #ifdef: add support for half-floating point ICC
profile conversions.
2013-02-26 09:12:02 +01:00
Michael Natterer
1e6d984c66 Revert "plug-ins: add support for half-floating point ICC profile conversions to lcms"
This reverts commit fd5a017633.

We can't depend on lcms 2.4 yet.
2013-02-25 23:25:27 +01:00
Elle Stone
fd5a017633 plug-ins: add support for half-floating point ICC profile conversions to lcms 2013-02-25 22:50:23 +01:00
Téo Mazars
4a5a6ef914 Bug 684330 - Rectangle tool's "fixed size" option is off-by-one
ROUND() is consistent only on positive values, and bad rounding
creates an offset when negative values are involved. Introduce
SIGNED_ROUND() and use it in gimprectangletool.c. It should probably
be used in much more places.
2013-02-13 00:08:39 +01:00
Ville Skyttä
6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
Massimo Valentini
94a404ed24 Bug 639920: Gaussian blur can't work on specified selection
In presence of a selection extend the area processed
2013-01-27 17:04:04 +01:00
Jehan
9fa112f6b3 Bug 690728: file-gif-save plug-in crops the actual image the user is working on.
Destructive behavior fixed by duplicating the image first, then deleting
the duplicate at the end.
2013-01-20 16:17:55 +09:00
Kővágó, Zoltán
cfe5dd8bd4 file-xwd: support 32bit (ARGB) xwd import
No saving for now...
2013-01-19 22:03:06 +01:00
Michael Natterer
dfabfb9664 Bug 572997 - gih description alter when re-saving
Undeprecate, clean up and apply patch from Eric Lamarque which adds a
"gimp-brush-pipe-name" parasite to remember the description.
2013-01-19 20:54:08 +01:00
Massimo Valentini
d93d2e71c3 Bug 670226 - pbm image non-interactive different from interactive
Properly set the "pbm" flag in non-interactive mode, also add a
missing "break" so non-interactive actually behaves like
non-interactive.
2013-01-19 18:46:53 +01:00
Michael Henning
2999e30901 plug-ins: fix memory leak in file-html-table
Found using clang's scan-build.
2013-01-18 23:12:15 -05:00
Michael Henning
0357f83658 plug-ins: fix memory leak in file-mng
Found using clang's scan-build.
2013-01-17 19:23:51 -05:00
Michael Henning
a9b014c3dd plug-ins: fix memory leak in file-xbm
Found using clang's scan-build.
2013-01-16 18:49:09 -05:00
Michael Natterer
c44c33f667 plug-ins: forgot gegl_init() in file-pdf-save 2013-01-15 14:25:15 +01:00
Michael Henning
14bb38da3f plug-ins: fix a memory leak in file-png
Found using clang's scan-build.
2013-01-14 17:36:43 -05:00
Michael Henning
f4bf93dac9 plug-ins: fix memory leak in file-tiff-save
Found using clang's scan-build.
2013-01-13 21:38:12 -05:00
Michael Natterer
fda8c63a2b plug-ins: remove trailing whitespace in file-tiff-load 2013-01-13 22:27:22 +01:00
Michael Henning
7d6f6a2692 plug-ins: fix memory leak in file-tiff-load
Found using clang's scan-build.
2013-01-12 22:52:42 -05:00
Michael Henning
e87971e850 plug-ins: fix memory leak in edge-neon
Found using clang's scan-build.
2013-01-11 21:02:00 -05:00
Michael Henning
c59e569e50 plug-ins: don't free a pointer allocated with g_newa in file-pdf-save
Found using clang's scan-build.
2013-01-09 17:02:43 -05:00
Michael Natterer
4d4905cc0e Revert "plug-ins: clean out compilation warning about types used by libpng."
This reverts commit a02facf41e.
It broke the build against other libpng versions.
2013-01-05 17:15:19 +01:00
Jehan
a02facf41e plug-ins: clean out compilation warning about types used by libpng.
iCCP profile was changed from png_charpp to png_bytepp in 1.5.x (cf.
libpng manual). Older versions of libpng still works of course, but
we fix warnings for recent versions.
2013-01-04 20:40:26 +09:00
Michael Natterer
b47107123a plug-ins: fix indexed palette handling in lcms.c
gimp_image_get/set_colormap() returns/takes the number of bytes in the
colormap, not the number of colors.
2012-12-14 21:12:36 +01:00
Mukund Sivaraman
baf856e79d file-tga: Simplify has_alpha expression
Also fix variable name that changed from gimp-2-8 to master. This and
the last commit were cherry-picked from the gimp-2-8 branch.
2012-12-05 09:07:57 +05:30
Mukund Sivaraman
6d09237ca1 file-tga: Handle 16-bit palettes with transparency (#687802)
Primarily, this fixes a buffer overflow in the colormap buffer.

* We promote such images to GIMP_RGBA_IMAGE now.
* The alpha handling for the colormap to RGBA conversion has been
  fixed.
* Inverted transparency in upsampling has been fixed.
2012-12-05 08:51:12 +05:30
Mukund Sivaraman
3477fc0bdd file-tiff-load: Fix loading of TIFFs containing old-style JPEG images (#688761)
This commit also moves the updated section of code, so that based on
worst_case, the image type and layer type are updated.
2012-12-04 13:54:42 +05:30
Michael Natterer
20477b6c08 plug-ins: port file-mng to GEGL 2012-11-29 01:30:34 +01:00
Michael Natterer
9c371064b7 plug-ins: fix the build in lcms.c 2012-11-28 09:25:34 +01:00
Michael Natterer
97e07e6476 Bug 662739 - Port to lcms2 for icc V4 profile support
Need to copy the alpha channel manually, lcms doesn't touch it.
Fixes converting layers with alpha.
2012-11-28 00:44:46 +01:00
Michael Natterer
c77fc779db libgimp, plug-ins: use g_strfreev() to free PDB string arrays 2012-11-27 21:16:26 +01:00
Michael Natterer
67dda14e77 plug-ins: cleanup in the recently GEGL-ported plug-ins
Mostly formatting consistency paranoia.
2012-11-27 20:58:05 +01:00
Michael Natterer
9247c89852 plug-ins: port file-xpm to GEGL 2012-11-26 02:39:44 +01:00
Michael Natterer
0b48c55fc3 plug-ins: port file-pnm to GEGL 2012-11-26 01:32:12 +01:00
Michael Natterer
d7ca2da6ce Bug 662739 - Port to lcms2 for icc V4 profile support
Fix undo in the lcms plugin.
2012-11-25 20:21:11 +01:00
Elle Stone
e27b70aaed Bug 662739 - Port to lcms2 for icc V4 profile support
Patch from Elle, with bits from some others, that should finally
do the trick. Please everybody test this.
2012-11-25 20:12:42 +01:00
Michael Natterer
759142d82a plug-ins: port file-tga to GEGL 2012-11-22 00:04:28 +01:00
Michael Natterer
987d795ab9 plug-ins: port file-pdf-save to GEGL 2012-11-21 18:51:41 +01:00
Michael Natterer
ee9467d259 plug-ins: more file-pdf-save cleanup, mostly formatting
Also, don't alpha-threshold indexed layers any longer.
2012-11-21 16:18:33 +01:00