Gimp/app/xcf
Jehan 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
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
Makefile.am app: in xcf-load, avoid writing buffer data for empty tiles 2017-10-04 06:51:34 -04:00
xcf-load.c app: salvage loaded group and text layer of dimension 0. 2019-07-11 16:42:23 +02:00
xcf-load.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-private.h Issue #1805 - Sample Points keep resetting themselves to "Pixel" 2018-07-16 02:55:21 +02:00
xcf-read.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-read.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-save.c Issue #2604 - XCF saving bug in xcf_save_buffer() 2018-12-04 12:09:55 -05:00
xcf-save.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-seek.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-seek.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-utils.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-utils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-write.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf-write.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
xcf.c app: do no overwite XCF when an error occurred at saving time. 2018-12-07 00:27:12 +01:00
xcf.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00