Commit Graph

41411 Commits

Author SHA1 Message Date
Ell a901c3c1f4 app: various GimpAsync improvements
Improve the formalism of a GimpAsync object being "sycned"
(previously referred to as the main thread being "synced" with the
async thread), by both providing a gimp_async_is_synced() function,
separate from gimp_async_is_stopped(), and by improving the type
and function descriptions.

Make sure all previously added callbacks have been called after a
call to gimp_async_wait[_until](), even if these functions are
called from within a callback.
2018-05-26 14:21:51 -04:00
Ell 85f67e196c app: add gimp_async_remove_callback()
... which removes a callback previously added through
gimp_async_add_callback().
2018-05-26 14:21:51 -04:00
Ell 3e92e7a449 app: use gimp_parallel_run_async() when loading fonts
Replace the custom threading code with a call to
gimp_parallel_run_async().  This simplifies the code, while
maintaining the current (blocking) behavior.  In the future, we
might build upon this to actually load the fonts in the background.
2018-05-26 11:33:32 -04:00
Ell 68c57548fd app: add gimp_async_wait_until()
... which is similar to gimp_async_wait(), taking an 'end_time'
parameter, controlling how long to wait for the async operation to
complete.
2018-05-26 11:32:34 -04:00
Michael Natterer baaa2cd7ca app: remove the entire dockable tab auto-sizing code
It was totally broken and could never work like this in GTK+ 3.x, and
if it can be reimplemented it should be started from scratch.
2018-05-26 16:28:58 +02:00
Michael Natterer abdd69640d app: in testing mode, load plug-ins without subdirectories again
Fixes the export test.
2018-05-26 14:45:59 +02:00
Michael Natterer a33fcfd43c app: fix gimp_test_utils_create_image_from_dialog()
to reliably press the OK button. Makes tests fail a bit later.
2018-05-26 12:40:53 +02:00
Ell 3673352c99 app: update tests for new GDK/GIMP API
This only makes the tests build, though they still fail.
2018-05-26 04:11:50 -04:00
Ell 367399e5c0 Issue #1490 - Crash when flattening an XCF file
The default stack size for new threads on MacOS is 512 KiB, making
our 512 KiB limit for stack-allocated buffers in
gimp_operation_layer_mode_real_process() too high.  Lower it to
256 KiB.
2018-05-25 20:34:46 -04:00
Michael Natterer 7990b1d57c libgimp: update all .def files 2018-05-25 22:13:33 +02:00
Michael Natterer 7d36b463dc po: update POTFILES.skip 2018-05-25 22:13:33 +02:00
Michael Schumacher 001a8d0c66 Require gtk+-3.0 in gimpui-3.0.pc
Fixes #1505
2018-05-25 21:55:45 +02:00
Michael Natterer d57ab7faf2 libgimpwidgets: move all GimpSizeEntry members to private 2018-05-25 19:15:00 +02:00
Ell deee2f14f5 app: fix progress text when applying shaped gradient through PDB
In gimp_drawable_gradient(), pass the undo description ("Gradient")
to gimp_gegl_apply_operation(), so that its displayed as the
progress text while rendering the gradient, even when applying a
shaped gradient, in which case we end the progress after
calculating the distance map, causing the progress text be NULL
during rendering unless explicitly set.
2018-05-25 12:44:04 -04:00
Ell ef43fc395c app: in GimpOperationGradient, use sampler for reading the distance buffer
... instead of using gegl_buffer_get() directly.  This is slightly
faster.
2018-05-25 12:20:48 -04:00
Jehan 6ebff7b3c5 configure, desktop: update the bug report URL.
Also make so that the metadata URL is taken from the one of the package
set with configure.
2018-05-25 15:05:47 +02:00
Ell 08ff2ac8c8 app: use gimp_gegl_buffer_copy() all over the place
Replace all uses of gegl_buffer_copy() in app/ with
gimp_gegl_buffer_copy(), added in the previous commit.
2018-05-25 08:12:27 -04:00
Ell fded25b38c app: add gimp_gegl_buffer_copy()
... which is a drop-in replacement for gegl_buffer_copy(),
parallelizing the copy operation when the source and destination
formats are different, requiring a conversion.
2018-05-25 08:12:27 -04:00
Ell 0e8b2b8f04 data: add new splash screen
Peppers are so 2.10!
2018-05-25 08:12:27 -04:00
Marek Cernocky 68e9a0427c Czech translation for Win installer 2018-05-25 11:28:57 +02:00
Michael Natterer 9d5fc680f8 app: actually set the color frames to "not dirty" after updating them 2018-05-24 01:52:29 +02:00
Michael Natterer 3e45427a36 app: fix drawing of GimpColorFrame's number
simply draw FG with alpha and remove the "number-color" style property.
2018-05-24 00:09:24 +02:00
Michael Natterer d9e016bd37 app: undeprecate gimpdisplayshell-scale.c and fix "unused variable" warning 2018-05-23 23:44:19 +02:00
Michael Natterer b33c6bc072 app: fix drawing of the canvas padding color
Remove all clipping hacks for drawing the canvas background, turns out
they never worked and we were relying on the pattern set on the
window, gah!

Also remove deprecated attempts to get a backgroud color and simply
don't show a color box in the menus for "from theme" cases.
2018-05-23 22:46:54 +02:00
Michael Natterer 47cdb11c44 app: fix setting a NULL image in gimp_menu_item_set_image()
hbox and label were attached to the wrong widget.
2018-05-23 22:24:08 +02:00
Bruce Cowan 9aaea2c96f Update British English translation 2018-05-23 19:43:08 +00:00
Michael Natterer d9b97f2923 app: get rid of the dnd_window in GimpPanedBox
and draw a drop highlight like gimp_highlight_widget() does.
2018-05-23 19:47:24 +02:00
Michael Natterer 4eb50f8a64 app: fix gimp_highlight_widget() to not draw multiple highlights 2018-05-23 19:45:03 +02:00
Michael Natterer ee7bab75fb app: use gdk_seat_ungrab() in gui_ungrab() 2018-05-23 19:19:51 +02:00
Michael Natterer 38ef1054d1 app: handle GIMP_ZOOM_SMOOTH in gimp_palette_editor_zoom() 2018-05-23 12:41:46 +02:00
Michael Natterer 6493020790 app: fishes now explode undeprecated 2018-05-23 12:19:40 +02:00
Michael Natterer 69bff16555 app: undeprecate GimpMeter 2018-05-23 10:07:59 +02:00
Marek Cernocky a602ec29ca Updated Czech translation 2018-05-23 09:41:24 +02:00
Michael Natterer dba00b031b app: remove insane sizing hacks and boxes from GimpThumbBox
and set the widget's width the right way.
2018-05-23 02:21:38 +02:00
Michael Natterer e92419707f app: fix GimpMessageBox size negotiation
Also remove obsolete get_path_for_child() impl. and set a max width of
80 chars on the labels.
2018-05-23 01:44:09 +02:00
Michael Natterer d86dc8a5b4 app: undeprecation in GimpOverlayBox
and some size negotiation changes that have no effect at all, just
some hacking in the direction of making it a general-purpose
container, for whatever reason.
2018-05-23 00:42:41 +02:00
Michael Natterer 9647afc7e0 app: fix size negotiation of GimpOverlayDialog
so its contents are not cut off any longer.
2018-05-23 00:41:57 +02:00
Michael Natterer db1cc4afc3 app: use gtk_widget_get_preferred_size() not get_requisition() in GimpView 2018-05-22 16:46:55 +02:00
Simon Budig 6ce7e42037 file-png: fix up the advanced options orientation 2018-05-22 16:00:43 +02:00
Marek Cernocky c65592ca3b Updated Czech translation 2018-05-22 14:31:25 +02:00
Michael Natterer a628511a4e app: don't use gtk_window_parse_geometry() in GimpImageWindow 2018-05-22 12:33:58 +02:00
Timo Jyrinki f20250b741 Update Finnish translation
(cherry picked from commit 681bd2435e)
2018-05-22 09:17:50 +00:00
Timm Bäder f677a5abe8 app: remove RC style from GimpImageWindow
without replacement, we can always add CSS later if we don't like it
with whatever theme.
2018-05-22 11:14:50 +02:00
Timo Jyrinki 428c7236c3 Update Finnish translation
(cherry picked from commit 87db3ce9a8)
2018-05-22 09:09:56 +00:00
Timo Jyrinki 9e551d50a2 Update Finnish translation 2018-05-22 07:12:36 +00:00
Michael Natterer 3c9272ef96 app: fix positioning of the text tool's style overlay 2018-05-22 01:59:26 +02:00
Michael Natterer 2152bdc588 app: remove almost all code from GimpOverlayFrame
Let the parent GtkBin handle size request and allocation, and steal
the CDD style from GtkPopover.
2018-05-22 00:35:04 +02:00
Michael Natterer 7381bb1660 app: make GimpFgBgView draw within the focus rectangle
At least the code seems to have that effect, I have no clue what I'm
doing...
2018-05-21 23:07:22 +02:00
Jehan 2101810c23 devel-docs: update devel-docs on how to start GtkInspector. 2018-05-21 22:31:40 +02:00
Jehan eb7d59d327 app: gtk_icon_info_free() deprecated since GTK+3.8. 2018-05-21 22:31:34 +02:00