Gimp/app
Ell fac91ddad4 app: add gimp_parallel_run_async_{full,independent}()
Remove the "independent" parameter of gimp_parallel_run_async(),
and have the function always execute the passed callback in the
shared async thread-pool.

Add a new gimp_parallel_run_async_full() function, taking, in
addition to a callback and a data pointer:

  - A priority value, controlling the priority of the callback in
    the async thread-pool queue.  0 is the default priority (used
    by gimp_parallel_run_async()), negative values have higher
    priority, and positive values have lower priority.

  - A destructor function for the data pointer.  This function is
    called to free the user data in case the async operation is
    canceled before execution of the callback function begins, and
    the operation is dropped from the queue and aborted without
    executing the callback.  Note that if the callback *is*
    executed, the destructor is *not* used -- it's the callback's
    responsibility to free/recycle the user data.

Add a separate gimp_parallel_run_async_independent() function,
taking the same parameters, and executing the passed callback in
an independent thread, rather than the thread pool.  This function
doesn't take a priority value or a destructor (and there's no
corresponding "_full()" variant that does), since they're pointless
for independent threads.

Adapt the rest of the code to the changes.

(cherry picked from commit b74e600c12)
2018-07-04 16:12:21 -04:00
..
actions Sync USM menu entry to GEGL 2018-07-02 02:32:29 +03:00
config configure: replace --enable-bundled-mypaint-brushes with... 2018-06-27 04:40:02 +02:00
core app: add gimp_parallel_run_async_{full,independent}() 2018-07-04 16:12:21 -04:00
dialogs Issue #1712: Add translator comment for string "Export Exif... 2018-06-24 21:43:35 +02:00
display app: prepare gimpdisplayshell-selection for undeprecation 2018-07-03 19:46:27 +02:00
file app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gegl app: properly handle NULL rectangle arguments in gimp-gegl-loops 2018-06-21 12:30:59 -04:00
gui app: add gimp_parallel_run_async_{full,independent}() 2018-07-04 16:12:21 -04:00
menus app: allow hiding groups in the dashboard 2018-04-02 16:47:41 -04:00
operations Issue #1682 - Segfault when starting GIMP, due to empty data files 2018-06-20 15:14:21 -04:00
paint app: move the improved paint property copying code to GimpPaintOptions 2018-07-03 20:13:40 +02:00
pdb app: when a plug-in procedure is not sensitive, show the reason in the tooltip 2018-06-22 13:49:45 +02:00
plug-in Issue #1719 - GIMP crashes with an invalid pluginrc 2018-07-04 00:19:44 +02:00
propgui app: fix filename in gimppropgui-recursive-transform.c license notice 2018-06-17 15:59:14 -04:00
tests app: on make check, search menu XML files in both buildir and srcdir 2018-07-01 19:46:31 +02:00
text app: add gimp_parallel_run_async_{full,independent}() 2018-07-04 16:12:21 -04:00
tools app: fix logic error in tool_options_manager_paint_options_notify() 2018-07-03 20:13:49 +02:00
vectors app: change offsets parameters of GimpItem::translate() from int to double 2018-04-23 01:27:56 +02:00
widgets app: make sure the active tool options get saved in devicerc 2018-07-03 20:13:05 +02:00
xcf Issue #1291 - Non-intrusive warning when saved XCF version... 2018-06-06 23:12:04 +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 app: cleanly remove log handlers on exit 2018-05-03 15:50:29 -04:00
app.h app: add --show-debug-menu command-line option 2018-03-29 05:26:03 -04:00
errors.c app: make sure crash-saving of open images to XCF doesn't call the GUI 2018-06-17 19:45:36 +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
language.h
main.c app: make --show-playground visible in --help. 2018-04-21 15:48:22 +02:00
Makefile.am app: even more Windows-specific fixes in gimpdashboard.c 2018-06-28 11:03:49 -04:00
sanity.c configure.ac: require GEGL >= 0.4.4 2018-07-04 12:46:28 +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: popup error at startup when some fonts fail to load. 2018-05-01 03:25:58 +02:00
tests.h
unique.c
unique.h