Gimp/app
Ell 45c172a885 Bug 795257 - Segmentation fault crash using the clone tool
Commit f5cb1fed85, which performed
brush outline generation in GimpPaintTool in synchrony with the
paint thread, wasn't enough, since GimpSourceTool could still call
gimp_brush_tool_create_outline() directly during its
GimpDrawTool::draw() method, leading to the same race condition
when executed concurrently with the paint thread.

Partially revert the above commit, so that outline generation is
handled as before, as far as GimpPaintTool is concenered.  Instead,
add GimpPaintTool::{start,end,flush}_paint() virtual functions; the
first two are called when starting/ending painting using the paint
thread, while the third is called during the display-update
timeout, while the main thread and the paint thread are
synchronized.  This allows subclasses to perform non-thread-safe
actions while the threads are synchronized.

Override these functions in GimpBrushTool, and cache the brush
boundary in the flush() function.  Use the cached boundary in
gimp_brush_tool_create_outline() while painting, to avoid the above
race condition, both when this function is called through
GimpPaintTool, and through GimpSourceTool.
2018-04-14 10:14:58 -04:00
..
actions Bug 795207 - Add color space to blend(gradient) tool options 2018-04-13 22:33:16 +02:00
config Rework and rename the default Dark theme 2018-04-05 23:59:27 +03:00
core app: migrate configuration files for s/Blend/Gradient/ tool renaming. 2018-04-14 04:01:32 +02:00
dialogs Bug 795230 - Rename Blend tool and provide PDB compatibility 2018-04-14 00:52:20 +02:00
display Bug 724692 - Canvas rotation stuck with specific order of actions. 2018-04-14 15:36:08 +02:00
file app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gegl Bug 794996 - Misc. typo fixes in comments in app/ 2018-04-08 21:25:56 +02:00
gui Bug 794996 - Misc. typo fixes in comments in app/ 2018-04-08 21:25:56 +02:00
menus app: allow hiding groups in the dashboard 2018-04-02 16:47:41 -04:00
operations Bug 795230 - Rename Blend tool and provide PDB compatibility 2018-04-13 23:36:16 +02:00
paint Bug 795230 - Rename Blend tool and provide PDB compatibility 2018-04-14 00:52:20 +02:00
pdb app: add GimpGradientBlendColorSpace parameter to gimp_drawable_gradient() 2018-04-14 01:34:50 +02:00
plug-in Bug 794996 - Misc. typo fixes in comments in app/ 2018-04-08 21:25:56 +02:00
propgui app: invert zoom mapping in gegl:panorama-projection gyro controller 2018-04-11 04:53:26 -04:00
tests Bug 794996 - Misc. typo fixes in comments in app/ 2018-04-08 21:25:56 +02:00
text app: add gimp_drawable_{start,end,flush}_paint() 2018-04-08 09:42:47 -04:00
tools Bug 795257 - Segmentation fault crash using the clone tool 2018-04-14 10:14:58 -04:00
vectors Bug 794996 - Misc. typo fixes in comments in app/ 2018-04-08 21:25:56 +02:00
widgets app: simpler and better-aligned packig in gimpviewablebox 2018-04-14 02:19:50 +02:00
xcf Bug 794996 - Misc. typo fixes in comments in app/ 2018-04-08 21:25:56 +02:00
.gitignore Move git-version.h to the toplevel also in .gitignore 2018-01-29 20:26:18 +01:00
about.h
app.c Bug 794996 - Misc. typo fixes in comments in app/ 2018-04-08 21:25:56 +02:00
app.h app: add --show-debug-menu command-line option 2018-03-29 05:26:03 -04:00
errors.c app: do not use gimp_filename_to_utf8() in the signal handler. 2018-04-09 06:14:41 +02:00
errors.h app: output a dialog to recover images salvaged after a crash. 2018-03-23 00:57:56 +01:00
gimp-debug.c
gimp-debug.h
gimp-intl.h
gimp-log.c app: add back helper features to output possible flags for GIMP_DEBUG. 2017-12-23 20:41:55 +01:00
gimp-log.h app: turn magic matching debug output into GIMP_LOG() 2017-07-28 22:35:13 +02:00
gimp-priorities.h
gimp-version.c app, tools: rename app/version.[ch] to app/gimp-version.[ch]. 2018-01-29 01:48:30 +01:00
gimp-version.h app: adapt include guards of gimp-version.h to new filename 2018-01-29 10:50:24 +01:00
gimpcore.def
language.c app: language.c contains no translatable strings, remove "gimp-intl.h" 2016-10-21 18:44:39 +02:00
language.h
main.c app: add --show-debug-menu command-line option 2018-03-29 05:26:03 -04:00
Makefile.am app: add gimp-parallel 2018-04-04 17:49:46 -04:00
sanity.c configure/app: depend on GEGL 0.3.32 2018-04-14 12:38:43 +02:00
sanity.h app: split sanity check into early/late stages, to fix gegl translation 2017-06-15 09:51:25 -04:00
signals.c Bug 793630 - GIMP does not create 'gradients' directory on first run. 2018-02-21 14:48:15 +01:00
signals.h app: make the backtrace GUI actually work on Win32. 2018-01-28 15:43:07 +01:00
tests.c app: add --show-debug-menu command-line option 2018-03-29 05:26:03 -04:00
tests.h
unique.c
unique.h app: clean out tab indentations. 2016-12-21 04:05:32 +01:00