Commit Graph

43641 Commits

Author SHA1 Message Date
Michael Natterer ff7467f6dd devel-docs: fix and update the libgimpmodule docs 2019-07-23 19:33:48 +02:00
Michael Natterer 29e1d9e7cf devel-docs: fix and update the libgimpmath docs 2019-07-23 19:33:48 +02:00
Michael Natterer 41d1ad26a4 devel-docs: fix and update the libgimpcolor docs 2019-07-23 19:33:48 +02:00
Ell e92732f7cf app: add assigned-threads variable to the dashboard
Add an assigned-threads variable to the dashboard's misc group,
showing the number of worker threads which currently have work
assigned.  See commit
gegl@fc532f06773bd292c86abee31ac18f62e26d39df.
2019-07-23 17:15:15 +03:00
Michael Natterer 79e40b1945 devel-docs: update docs with missing symbols and types
(cherry picked from commit f974cdb5d7)
2019-07-23 15:55:14 +02:00
Michael Natterer a05205b576 devel-docs: fix the libgimpconfig docs 2019-07-23 15:19:08 +02:00
Michael Natterer c249ffe3ea devel-docs: change the libgimpbase docs to "libgimpbase3"
and make them build again without any wrong symbols.

This does not enable the devel-docs build yet, I'll fix
module by module before enabling the build again.
2019-07-23 13:47:51 +02:00
Michael Natterer 4e58a15816 libgimpbase: forgot to remove the GimpDatafileData typedef 2019-07-23 13:34:18 +02:00
Michael Natterer 696691efbd app: fix tests by using the right value in sessionrc-expected-multi-window
Apparently GTK3 is more reliable when it comes to remembering window sizes.
2019-07-23 13:16:23 +02:00
Dimitris Spingos e7e0064bd7 Updated Greek translation 2019-07-23 13:31:32 +03:00
Ell ebb3ec4925 app: reduce time complexity of layer-group translation
When translating a layer group, avoid separately updating the
original area of the child layers before translating them (as per
the fix to issue #3484), as this results in quadratic time
complexity w.r.t. to the maximal subgroup nesting level.  Instead,
simply defer the updating of the group's offset until *after*
translating the child layers, so that their original area isn't
clipped by the parent, while their new area is still properly
updated even if the parent's size changes (see comment in code).
2019-07-23 10:55:54 +03:00
Federico Mena Quintero 16660c5928 file-svg: Use rsvg_handle_new_from_gfile_sync() instead of GIOChannel
The latter is obsolete, and rsvg_handle_write()/close() are deprecated
anyway.
2019-07-22 17:26:22 -05:00
Federico Mena Quintero b2027c40b7 Issue #2561: Fix computation of SVG image sizes
The librsvg API was being called in an incorrect order.  One cannot
call rsvg_handle_get_dimensions() until after rsvg_handle_close() is
done.
2019-07-22 17:26:22 -05:00
Michael Natterer 6bb03dc21a plug-ins: revive animation-play, and draw stuff with cairo
Still lots of deprecated stuff, but mostly GtkAction and friends.
2019-07-22 17:28:20 +02:00
Jehan ef3c13c6c5 plug-ins: use global gegl_init() in file-pdf-load run() function.
As noted by Mitch, this is simpler and what we do in other plug-ins.
2019-07-22 14:56:04 +02:00
Jehan 443c171f8d plug-ins: babl_init|exit() for non-interactive "file-pdf-load" too.
Improve my previous commit: I added babl_init|exit() for
"file-pdf-load-thumb". But these was actually also missing from
non-interactive calls to "file-pdf-load", since the initialization was
done as part of gimp_ui_init() so far.
Just run them down the call stack around the needed part. It's not a
problem if it's called double (for the interactive code path).
2019-07-22 12:39:45 +02:00
Michael Natterer f4b88c0a9e plug-ins: link file-pdf against GEGL/babl 2019-07-22 12:19:07 +02:00
Jehan e0a24a27de plug-ins: babl_init|exit() needs to be run for "file-pdf-load-thumb".
This is run as part of gimp_ui_init() in the normal "file-pdf-load"
calls, but such calls have been forgotten for the thumbnail load
procedure.

Also the GimpRunMode is only a parameter in "file-pdf-load". For
"file-pdf-load-thumb", the first parameter is directly the filename. The
fact it might have used to work is chance as it were only tested against
GIMP_RUN_INTERACTIVE, which is 0, so the test would end up FALSE, which
is what we want for thumbnail loading. Anyway now we get a proper call
(thumbnail loading always considered non-interactive).
2019-07-22 12:13:38 +02:00
Jehan 5d2dbfe2e8 app: gdk_threads_(enter|leave)() deprecated since GDK 3.6.
There are no replacements. Just we must make sure that all GTK+/GDK
calls are run from the main thread, which is already what we were doing.

Actually I don't even think these were doing anything as we were not
calling gdk_threads_init() so the default lock functions were not set
anyway. These were just bogus calls.
2019-07-22 11:25:24 +02:00
Michael Natterer b9b8879ba0 plug-ins: some GTK3 undeprecation in imagemap 2019-07-22 10:28:37 +02:00
Michael Natterer 8e809160f0 plug-ins: port file-dds to GtkGrid 2019-07-22 01:37:11 +02:00
Michael Natterer 618fbc6b17 plug-ins: clean up the file-dds GUI, remove the "Advanced" expander
(cherry picked from commit d578aa67f5)
2019-07-22 01:14:00 +02:00
Michael Natterer 7208fba663 plug-ins: don't use deprecated icon API in compose 2019-07-22 00:05:46 +02:00
Michael Natterer 82cdd69e0c plug-ins: completely undeprecate curve-bend 2019-07-21 21:23:28 +02:00
Michael Natterer 98f9205faa plug-ins: completely undeprecate sample-colorize 2019-07-21 20:56:07 +02:00
Michael Natterer b347cc73a1 plug-ins: don't use GtkStyle in ifs-compose, it's deprecated 2019-07-21 20:36:01 +02:00
Michael Natterer d223522b8b plug-ins: suppress deprecation warnings from the OpenEXR headers
"Fix" straight from stackoverflow, I have no idea how this builds
on anything except gcc or clang.
2019-07-21 19:56:29 +02:00
Michael Natterer 32d789e355 plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
Michael Natterer d88b90d026 app: fix render cache artifacts when resizing the canvas
Since introducing gimp_display_shell_canvas_tick() we were setting
shell->disp_width and shell->disp_height in the tick callback, which
was too late and caused redundant rendering and scrolling, but was
never noticed.

Now we clear the render cache and its valid region in
gimp_display_shell_canvas_size_allocate() directly and set
shell->disp_width and shell->disp_height immediately, so other places
that listen to the canvas' size-allocate get the right values.

The old size of the canvas gets to the tick callback using a small
struct as user data.
2019-07-21 18:18:31 +02:00
Michael Natterer 3a453fa918 plug-ins: gfig-icons.c doesn't need an i18n include any longer 2019-07-21 16:52:24 +02:00
Piotr Drąg 8cf7eb3108 Update Polish translation 2019-07-21 13:49:55 +02:00
Piotr Drąg 60fc4a0aca Update POTFILES.in 2019-07-21 13:19:17 +02:00
Jehan a7a7cd7710 plug-ins: fix VPATH build.
XML files need to be found by the tools when the build is out of the
source tree.
2019-07-21 13:15:14 +02:00
Ell 2cc77e6927 app: add active-thread variable to the dashboard
Add an active-thread variable to the dashboard's misc group,
showing the number of active worker threads.  See commit
gegl@6a3a6314d4d4cd668e0f6164afc0fde8b9c7c001.
2019-07-21 00:00:52 +03:00
Michael Natterer d3400542f2 plug-ins: port map-object to icon names too
it uses the same icons as lighting so didn't build since the last
commit.
2019-07-20 17:32:27 +02:00
Michael Natterer f6b60e08f2 plug-ins: port lighting from stock icons to using a resource
and icons names. Also fix two more warnings so it's now completely
undeprecated.
2019-07-20 17:23:54 +02:00
Michael Natterer 91f27dfc02 plug-ins: replace stock icons in gfig by a resource 2019-07-20 16:27:32 +02:00
Michael Natterer 05d552e634 libgimp: cleanup in GimpTileBackendPlugin 2019-07-20 02:43:58 +02:00
Michael Natterer ee79eb999f libgimpbase: minor cleanups while grepping for DEPRECATED 2019-07-20 02:40:49 +02:00
Michael Natterer b2f660ae43 app, pdb, libgimp: remove the "plug-in precision-enabled" API and logic
There is no old way of accessing pixels any longer, all plug-ins are
now precsion-enabled.
2019-07-20 01:53:31 +02:00
Michael Natterer 3811a65218 plug-ins: remove unused declaration of a GimpDrawable variable 2019-07-20 01:49:21 +02:00
Michael Natterer 3b17c750ec libgimp: use one memcpy() between gimp and gegl tiles if possible
Only use line-by-line copying if the tiles don't have the same size.
2019-07-20 01:33:04 +02:00
Michael Natterer 7ad25c17b5 libgimp: remove the tile_mul code from GimpTileBackendPlugin
Now that everything is GEGL, the tile size of core and plug-in should
always be the same.
2019-07-20 01:16:07 +02:00
Michael Natterer aafb55fa02 libgimp: remove GimpDrawable and GimpTile
The GimpDrawable abstraction is completely gone, GimpTile is now a
small struct in gimptilebackendplugin.c.

All tile handling code is now in GimpTileBackendPlugin, the backend
functions are simply calling gimp_tile_get() and gimp_tile_put()
directly.
2019-07-20 01:02:24 +02:00
Michael Natterer 6a59ccf840 libgimp: remove GimpTile from the public API, and kill the tile cache 2019-07-19 22:49:20 +02:00
Ell e22fcc8942 app: fix gradient dithering
In gimp:gradient, fix dithering to correspond to how we actually
round float values to 8-bit.  In particular, this avoids
introducing noise when a component is fixed at 0 or 1 along a
segment.
2019-07-19 21:49:57 +03:00
Michael Natterer 60554eaed9 libgimp: remove GimpPixelRgn, it's now completely unused, yay! 2019-07-19 19:08:31 +02:00
Michael Natterer 23f373e916 plug-ins: remove filter-pack without any replacement 2019-07-19 19:01:51 +02:00
Michael Natterer c46044534a libgimp: remove gimp_drawable_preview_draw_region()
It's deprecated and now unused.
2019-07-19 19:01:13 +02:00
Michael Natterer 3914e04722 plug-ins: port gimpressionist to GEGL, stupid 8-bit port only 2019-07-19 18:58:24 +02:00