Gimp/app/text
Ell 50db2b6655 app: a few async font loading fixes
In gimp_data_factory_finalize(), wait on the factory's async set
after canceling it, and before continuing destruction.  It's not
generally safe to just abandon an async op without waiting on it
-- this is a font-specific hack, due to the fact we can't actually
cancel font loading, and GimpFontFactory is prepared to handle
this.

Instead, in gimp_font_factory_finalize(), cancel and clear the
async set, so that GimpDataFactory doesn't actually wait for
loading to finish.

In gimp_font_factory_load_async_callback(), don't try to acess the
factory when the operation is canceled, since cancelation means the
factory is already dead.  On the other hand, when the opeation
isn't canceled, make sure to thaw the container even when font
loading failed, so that we always match the freeze at the begining
of the operation.

(cherry picked from commit b5890e05b8)
2018-06-28 15:38:55 -04:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimpfont.c app: call the standard font "Standard" not "Sans-serif" 2018-06-04 02:16:03 +02:00
gimpfont.h app: make gimp_font_get_standard() return a GimpData 2018-06-03 22:50:52 +02:00
gimpfontfactory.c app: a few async font loading fixes 2018-06-28 15:38:55 -04:00
gimpfontfactory.h app: add new GimpDataFactory subclass GimpFontFactory 2018-06-03 20:48:05 +02:00
gimptext-compat.c app: remove all old font management code, switch to GimpFontFactory[View] 2018-06-03 20:48:34 +02:00
gimptext-compat.h app, pdb: wait for fonts to load before dependent operations 2018-05-29 16:07:48 -04:00
gimptext-parasite.c libgimpcolor: add GdkPixbuf <-> GeglBuffer utility functions 2012-05-03 03:37:20 +02:00
gimptext-parasite.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptext-vectors.c Bug 662787 - Segfaults when trying to set a large text size 2013-10-24 20:23:51 +13:00
gimptext-vectors.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptext-xlfd.c Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3) 2018-04-25 23:49:06 +02:00
gimptext-xlfd.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptext.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimptext.h app: don't include individual files from libgimp* 2011-04-28 14:23:33 +02:00
gimptextlayer-transform.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
gimptextlayer-transform.h app, pdb, libgimp: Remove all traces of the supersampling recursion level 2013-05-31 01:15:32 +02:00
gimptextlayer-xcf.c app: add gimp_drawable_{start,end,flush}_paint() 2018-04-08 09:42:47 -04:00
gimptextlayer-xcf.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptextlayer.c app: use default new-layer mode for layer groups and text layers 2018-06-06 02:40:55 -04:00
gimptextlayer.h Bug 352823 - Changing image mode discards text layer information 2012-11-10 18:56:44 +01:00
gimptextlayout-render.c Bug 726495 - "Text to path" delivers a path offset from the text 2014-04-11 16:56:29 +02:00
gimptextlayout-render.h app: take the rendering direction into account when adjusting the x-offset 2010-02-21 17:47:21 +01:00
gimptextlayout.c Bug 774383 - Text layer created by gimp-text-fontname doesn't... 2016-11-15 13:23:00 +01:00
gimptextlayout.h Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3) 2018-04-25 23:49:06 +02:00
gimptextundo.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimptextundo.h Bug 352823 - Changing image mode discards text layer information 2012-11-10 18:56:44 +01:00
Makefile.am app: remove all old font management code, switch to GimpFontFactory[View] 2018-06-03 20:48:34 +02:00
text-enums.c enums: generate enum files in source dir 2017-05-06 17:26:16 -04:00
text-enums.h app: remove /*< skip >*/ and /*< pdb-skip >*/ annotations from enums 2016-01-07 17:44:46 +01:00
text-types.h app: add new GimpDataFactory subclass GimpFontFactory 2018-06-03 20:48:05 +02:00