Commit graph

43009 commits

Author SHA1 Message Date
Michael Natterer
30e02aeeac libgimpbase: capitalize some docs section titles
(cherry picked from commit d66b845bac)
2019-08-01 12:52:55 +02:00
Julia Dronova
3822dec73f Update Russian translation 2019-08-01 00:20:35 +03:00
Rodrigo Lledó
1f5131720a Update Spanish translation 2019-07-31 12:51:29 +00:00
Ell
2bdbc2f16d app: fix #include in gimpdrawable.c
Local foo leak.

(cherry picked from commit 2331b88d7d)
2019-07-30 21:37:02 +03:00
Ell
29aede6722 app: guarantee fully-COWed copies in more cases in paint code
(cherry picked from commit fb679f9efa)
2019-07-30 20:32:56 +03:00
Ell
ca98ff3c27 app: use gimp_gegl_buffer_dup() everywhere
... instead of gegl_buffer_dup().

(cherry picked from commit 2d80d4d138)
2019-07-30 20:32:56 +03:00
Ell
c0e04c3b5f app: add gimp_gegl_buffer_dup()
... as a drop-in replacement for gegl_buffer_dup(), which COWs all
tiles of the source buffer, including ones that aren't fully
included within buffer's extent.

(cherry picked from commit 5798cefe1b)
2019-07-30 20:32:55 +03:00
Ell
6cc671074a app: in gimp_gegl_buffer_copy(), allow tiles outside the abyss to be COWed
In gimp_gegl_buffer_copy(), assume that the area outside the abyss
is empty, and so, when the abyss policy is NONE, allow data otuside
the source/destination abyss to be copied, by temporarily modifying
the abyss.  This allows tiles that aren't fully contained within
the abyss to be COWed, unlike gegl_buffer_copy(), which has to be
more general.

(cherry picked from commit 69ce5e7e02)
2019-07-30 20:32:55 +03:00
Ell
b72aad57f2 app: remove gimp_gegl_rectangle_align_to_tile_grid()
... and replace it with gegl_rectangle_align_to_buffer().

(cherry picked from commit ab94251ae9)
2019-07-30 20:32:54 +03:00
Michael Natterer
e81061afc7 plug-ins: and in ifs-compose too...
(cherry picked from commit a47789fcb8)
2019-07-30 18:38:35 +02:00
Michael Natterer
82450330f0 libgimpconfig: fix float parsing in gimp_config_deserialize_fundamental() too
(cherry picked from commit 2d471ce049)
2019-07-30 18:38:24 +02:00
Michael Natterer
c9ded16963 Use g_ascii_dtostr() instead of g_ascii_formatd()
The latter is broken and doesn't guarantee a decimal point with the
current bug. Also, g_ascii_dtostr() doesn't need the format parameter
and produces nicer output.

(cherry picked from commit c0fb66254e)
2019-07-30 16:00:06 +02:00
Michael Natterer
77dd2982a5 libgimpconfig: make gimp_scanner_parse_float() less strict
A number without a decimal point can be put into a gdouble just fine,
no need to refuse them. Moreover, g_ascii_dtostr() serializes doubles
without fractional part without a decimal point, and we are soon going
to use it.

(cherry picked from commit 2c97bc8327)
2019-07-30 14:36:06 +02:00
Jernej Simončič
d32b049577 Installer: handle associations better 2019-07-29 00:23:09 +02:00
Ell
fc5a641d2e app: use longer iteration inteval (= bigger chunks) when applyng an op
In gimp_gegl_apply_[cached_]operation(), use a longer iteration
interval (resulying in bigger chunks) when processing the op, than
the iteration interval used for rendering the projection.  In
particular, use an even longer interval when processing area
filters, since their may be particularly sensitive to the chunk
size (see, for example, issue #3711).  Likewise, use the asme
longer interval when not showing progress indication, since we
don't need to stay responsive in this case (but don't avoid
chunking altogether, to reduce the space required for intermediate
results).

This allows us to process an op faster when committing a filter,
while still remaining responsive (if overall slower) during
preview.

(cherry picked from commit 5a500b4a12)
2019-07-28 12:10:29 +03:00
Ell
1e06f5df5c app: add gimp_gegl_node_is_area_filter_operation()
... which determines if a node is an area filter operation.  If the
node is a meta op, we conservatively return TRUE, as it may involve
an area-filter op.

(cherry picked from commit f6c4e4912a)
2019-07-28 12:10:29 +03:00
Ell
0712504d0c app: in the gradient tool, set the graph's underlying node
... to the gimp:gradient node

(cherry picked from commit a1f676aabd)
2019-07-28 12:10:28 +03:00
Michael Natterer
0b26db7471 libgimpcolor: add gimp_param_spec_rgb_get_default()
(cherry picked from commit 3597e92a20)
2019-07-27 16:12:11 +02:00
Piotr Drąg
1aab38f066 Update Polish translation 2019-07-27 15:36:21 +02:00
Jordi Mas
de10e027f3 Update Catalan translation 2019-07-27 11:52:18 +02:00
Julia Dronova
01b50782f7 Update Russian translation 2019-07-27 04:38:11 +03:00
Jehan
0a36d273f9 desktop: new <release> appdata tag for GIMP 2.10.14.
(cherry picked from commit 2e03300eb7)
2019-07-26 19:45:19 +02:00
Daniel Mustieles
22e20cb222 Update Spanish translation 2019-07-26 07:40:45 +00:00
Øyvind Kolås
75ab528105 build, app: require babl-0.1.68 or newer
(cherry picked from commit 23ade7b80b)
2019-07-25 23:15:13 +02:00
Jehan
47825f1c8a NEWS: s/On color/Color/
Cf. preview commit.
2019-07-25 22:48:13 +02:00
Jehan
91b58332e2 app: rename "On color" matting preview mode to "Color".
As discussed earlier with mitch and tmanni.

(cherry picked from commit 771d415b5f)
2019-07-25 22:46:29 +02:00
Michael Natterer
6ea372bfe8 libgimpbase: fix docs of struct GimpParamSpecValueArray
(cherry picked from commit e7af081b05)
2019-07-25 21:34:15 +02:00
Michael Natterer
9f529d6164 app: make sure the display is not rotated by a very small angle
gimp_display_shell_rotate_update_transform(): reliably set rotation to
0.0 using an epsilon of 1e-3.

(cherry picked from commit 7ddf40b78b)
2019-07-25 12:50:37 +02:00
Michael Natterer
1af8d2a2c7 libgimp*: use more g_clear_pointer()
(cherry picked from commit c144cf69de)
2019-07-25 12:40:33 +02:00
Michael Natterer
50e6d6ae20 libgimpwidgets: fix docs for GimpBusyBox:message
(cherry picked from commit fe75ef28ad)
2019-07-25 10:26:11 +02:00
Michael Natterer
adf308d10e app: remove gimp_display_shell_filter_new(), it's empty and useless
(cherry picked from commit ec18b969a3)
2019-07-25 10:02:16 +02:00
Michael Natterer
520c5f4b69 libgimpwidgets: add more docs
(cherry picked from commit 9e88105ee6)
2019-07-24 19:13:32 +02:00
Michael Natterer
65cda467d6 libgimpwidgets: declare GimpHintBox with public instance and class
like all other objects, so gtk-doc doesn't cripple its docs.

(cherry picked from commit f67e607395)
2019-07-24 15:17:15 +02:00
Alexandre Prokoudine
ec2b566fbb Update NEWS 2019-07-24 10:59:05 +00:00
Alexandre Prokoudine
8630302fbd Update NEWS 2019-07-24 10:57:32 +00:00
Dimitris Spingos
850a14733c Updated Greek translation 2019-07-24 08:00:36 +03:00
Michael Natterer
ac70d2346c libgimpbase: always allocate GimpPixPipeParams.placement, add docs
(cherry picked from commit f28ec4bf86)
2019-07-24 02:19:19 +02:00
Michael Natterer
ff1e645c2f libgimp*: lots of doc fixes and new docs for structs and enums
(cherry picked from commit aca5f806c4)
2019-07-24 01:26:11 +02:00
Ell
f020569caa 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.

(cherry picked from commit e92732f7cf)
2019-07-23 17:15:19 +03:00
Michael Natterer
f974cdb5d7 devel-docs: update docs with missing symbols and types 2019-07-23 15:53:38 +02:00
Michael Natterer
f81d7d2f0b devel-docs: update the libgimpconfig and libgimpbase docs 2019-07-23 15:35:50 +02:00
Ell
07bf8c025c 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).

(cherry picked from commit ebb3ec4925)
2019-07-23 10:55:57 +03:00
Michael Natterer
f5e6812131 plug-ins: somehow common/Makefile.am wasn't properly generated/merged 2019-07-23 01:06:20 +02:00
Federico Mena Quintero
b7f22216e9 file-svg: Use rsvg_handle_new_from_gfile_sync() instead of GIOChannel
The latter is obsolete, and rsvg_handle_write()/close() are deprecated
anyway.

(cherry picked from commit 16660c5928)
2019-07-23 00:52:23 +02:00
Federico Mena Quintero
38e87c2d16 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.

(cherry picked from commit b2027c40b7)
2019-07-23 00:52:10 +02:00
Jehan
8d609ecfa4 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.

(cherry picked from commit ef3c13c6c5)
2019-07-22 14:57:56 +02:00
Jehan
8164d7f26d 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).

(cherry picked from commit 443c171f8d)
2019-07-22 12:41:15 +02:00
Michael Natterer
9de16da01c plug-ins: link file-pdf against GEGL/babl
(cherry picked from commit f4b88c0a9e)
2019-07-22 12:41:15 +02:00
Jehan
b3bba49002 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).

(cherry picked from commit e0a24a27de)
2019-07-22 12:41:14 +02:00
Michael Natterer
d578aa67f5 plug-ins: clean up the file-dds GUI, remove the "Advanced" expander 2019-07-22 01:05:43 +02:00