Gimp/app/xcf
Jehan c9da44bed3 app: do no overwite XCF when an error occurred at saving time.
We can cancel a file overwrite at the last second when closing the
stream by setting a cancelled cancellable. Current code was simply not
closing the stream, but this was not enough as overwriting was happening
anyway (probably when finalizing).
This will allow much safe saving process since we would not be
overwriting a previously sane XCF file when an error occurred (either in
our code or a memory error, or whatnot).
See also discussion in #2565.

(cherry picked from commit 076b53511a)
2018-12-07 00:27:12 +01: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 Issue #2345 - Add xyY to color sample readouts 2018-10-23 18:15:28 +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