Commit Graph

43035 Commits

Author SHA1 Message Date
e3f5b385f4 NEWS: keep up-to-date. 2019-07-12 00:14:15 +02:00
ecd86145e0 plug-ins: clean up a bit file-pdf-save.
This improves commit bbd5ebbe8a. Several parameters did not need to go
inside draw_layer(). In particular this function should not take care of
filling return values on errors. It should just return a success boolean
with a GError which is processed on the main function. This also allows
proper shortcut to end the loop earlier on the first error.
Also the layer index parameter does not need to be a pointer since it
never requires updates.
Finally declare variables in smaller scopes for cleaner code.

(cherry picked from commit 5b2d89f794)
2019-07-12 00:10:33 +02:00
7278663a98 Issue #1002: Fix for layer groups in PDF export
Added a recursive loop to draw layer children in layer groups. Text
layers in layer groups are now exported correctly.

(cherry picked from commit bbd5ebbe8a)
2019-07-12 00:10:27 +02:00
465bedf699 app: salvage loaded group and text layer of dimension 0.
Whereas normal layers of dimension 0x0 are definitely broken, group and
text layers depend on their contents, which will be able to resize the
layer appropriately and fix whatever rendering. This commit allows to
salvage such layers, hence make XCF loading even more resistant to
certain form of file corruption.

This commit (and the previous one) are not theoretical but the result of
discovering some old corrupted file, with an empty group of size 0x0
(saved by GIMP itself, because of some old bug). Rather than destroying
these layer groups, this just allows us to reopen them without any kind
of loss!

(cherry picked from commit 06be074650)
2019-07-11 16:42:23 +02:00
8bc234616d app: don't abandon immediately XCF loading at first layer load failure.
If the problem occurs at one of the first layer, we may end up loading
nearly nothing even though there may be a whole lot of other data in
good state. So instead keep track of the number of failed layer and
channel loading to still display an error popup at the end, because we
still need to alert the user something went wrong. Yet damages are
limited.

Also make sure that layer paths are fixed when some layers could not be
loaded, hence stored paths end up wrong.

(cherry picked from commit 2045fdd2a3)
2019-07-11 16:42:23 +02:00
a24f75f4bd plug-ins: hot's dest_buffer can have another format than src_buffer
(cherry picked from commit 32a229b049)
2019-07-11 16:21:21 +02:00
f837e3c458 plug-ins: port hot to GEGL, stupid 8-bit port only
(cherry picked from commit bad956cb1f)
2019-07-11 16:00:32 +02:00
80a34d16a6 Update NEWS 2019-07-11 11:52:00 +00:00
1ad7cbbb73 plug-ins: port contrast-retinex to GEGL, stupid 8-bit port only
(cherry picked from commit 0e23d7262b)
2019-07-11 12:18:07 +02:00
c484a0c17b Issue #3641: gimp-drawable-offset does no longer work in script-fu...
... when one of the offsets is zero.

Found by Ell.

(cherry picked from commit a49a79e244)
2019-07-11 11:59:43 +02:00
d7668fb0bd plug-ins: port sphere-designer to GEGL, stupid 8-bit port only
(cherry picked from commit 0188853b23)
2019-07-11 10:40:35 +02:00
59c47bb842 Update NEWS 2019-07-10 16:13:07 +00:00
3242eeb527 Issue #2685: Crash when distributing layers horizontally.
Make the returned values of g_list_length() a gint to avoid implicit
type conversion converting a possibly negative integer numberator into
unsigned int (which ends as a huge unsigned int instead of being
negative).

Found by Massimo!

(cherry picked from commit a6ad02a60a)
2019-07-10 17:28:07 +02:00
8637d61c04 authors: add houz!
How come he was not in there already?
Also regenerate AUTHORS.

(cherry picked from commit b3f7f36bda)
2019-07-10 17:28:07 +02:00
0aded5156f plug-ins: port despeckle to GEGL, stupid 8-bit port only
(cherry picked from commit c59feead89)
2019-07-10 15:41:47 +02:00
44d8580f46 pdb, libgimp, app: add gimp_drawable_get_thumbnail_format()
so plug-ins can allocate buffers and stuff before getting the actual
thumbnail data.

(cherry picked from commit fc89dfb09b)
2019-07-10 15:17:07 +02:00
13f8ee76f7 Update NEWS 2019-07-10 11:25:36 +00:00
6274bc2d96 Update NEWS 2019-07-10 11:12:11 +00:00
0df4376aa4 plug-ins: port grid to GEGL, stupid 8-bit port only
(cherry picked from commit 0326a3e79a)
2019-07-10 12:46:14 +02:00
03e2cd0cfa plug-ins: port lighting to GEGL
(cherry picked from commit eaed92e7a0)
2019-07-10 12:21:30 +02:00
c4991cbdbd NEWS: keep up-to-date. 2019-07-10 10:18:14 +02:00
dac6943b48 plug-ins: port map-object to GEGL
(cherry picked from commit 75114b1c40)
2019-07-09 17:11:45 +02:00
2f2067a5aa Issue #3630 - postscript plugin crashes
gsapi_new_instance() now expects a pointer to a NULL-initialized
pointer. Initialize "void *instance" with NULL. Found by massimo.

(cherry picked from commit bbcc7ca5f5)
2019-07-09 15:39:11 +02:00
bd91ddce8b plug-ins: forgot one deprecated call in sample-colorize
(cherry picked from commit 2a54b1b41c)
2019-07-09 13:18:22 +02:00
9dbabb8ac6 plug-ins: port sample-colorize to GEGL, stupid 8-bit port only
(cherry picked from commit df7699b814)
2019-07-09 13:16:43 +02:00
c7c7a7d6a9 Installer: fix for issue 3226 2019-07-09 00:41:56 +02:00
a7a8fddafe plug-ins: port curve-bend to GEGL, stupid 8-bit port only
(cherry picked from commit 0b4b8d75ea)
2019-07-08 21:24:09 +02:00
4415d76102 plug-ins: a ton of cleanup in curve-bend
- move use of deprecated function to very few places
- indentation, formatting
- fix insane variable names, it's now much more readable

(cherry picked from commit 8ac6ec2a00)
2019-07-08 21:11:26 +02:00
d3dc0d82a4 Update Croatian translation 2019-07-08 14:46:00 +00:00
c97408c134 plug-ins: port tile-small to GEGL, stupid 8-bit port only
...GimpPixelFetcher use down to one!

(cherry picked from commit 069d4345bb)
2019-07-07 18:38:23 +02:00
f4b836c68d plug-ins: replace calls to GimpRegionIterator functions
by plain pixel region code, copied right out of gimpregioniterator.c.
Makes porting to GEGL easier and GimpRegionIterator unused.

(cherry picked from commit 775abb03f3)
2019-07-07 17:12:02 +02:00
b15f0ff687 plug-ins: port checkerboard to GEGL, stupid 8-bit port only
just for the sake of not using "Psychobilly", hello pippin :)

(cherry picked from commit 8f621ec91d)
2019-07-07 16:06:04 +02:00
aa08ff28a6 Update Polish translation 2019-07-07 13:09:20 +02:00
4a16bd1bc3 Update Croatian translation 2019-07-06 20:44:02 +00:00
101d48c73b Update Croatian translation 2019-07-06 20:42:01 +00:00
75445c04f5 Update Croatian translation 2019-07-06 20:41:41 +00:00
e8f76920eb Update Croatian translation 2019-07-06 20:39:51 +00:00
93b924e896 Update Croatian translation 2019-07-06 20:38:43 +00:00
5f227fc721 Add Croatian translation 2019-07-06 20:38:16 +00:00
f5854be7cb Add Croatian translation 2019-07-06 20:36:04 +00:00
ee40487cc9 Update British English translation 2019-07-06 19:17:36 +00:00
17338b9630 Update British English translation 2019-07-06 19:07:18 +00:00
04d5eaee39 Update British English translation 2019-07-06 19:03:07 +00:00
bcf6859b01 plug-ins: merge some more warning fixes from master 2019-07-06 15:26:33 +02:00
5e5060d598 plug-ins: port gradient-flare to GEGL, stupid 8-bit only
(cherry picked from commit 1900384cc0)
2019-07-06 15:17:22 +02:00
5397dac21b plug-ins: some WIP undeprecating curve-bend
better push before it rots... totally unfinished but works.

(cherry picked from commit 96e7a791f8)
2019-07-06 13:13:16 +02:00
d9349a5730 app: get rid of a few more GtkAction warnings, and a little cleanup
(cherry picked from commit f7007d5161)
2019-07-05 12:36:26 +02:00
9f3823ca6b plug-ins: space invasion leaked into 2.10 file-heif, but incompletely
merge the remaining diff to master so it builds again.
2019-07-05 01:47:43 +02:00
9c0085c7ec app: don't warn in gimp_action_history_action_activated()
if there is no "gimp". Happened after the action changes when invoking
the "quit" action.

(cherry picked from commit 87b1a27459)
2019-07-04 17:06:40 +02:00
29d765a0bd Issue #3610 - Documentation: missing item in built-in documentation...
...for gimp_context_set_antialias(antialias)

Mention gimp_context_set_antialias() in the stroke docs, and mention
the stroke functions in the antialias docs.

(cherry picked from commit 7a589951c9)
2019-07-04 13:37:18 +02:00