Commit Graph

45260 Commits

Author SHA1 Message Date
Jehan 87e9ebcfad app: store the revision number in a data file.
I realized having the revision as a build number is the wrong idea as it
implies packagers will have to rebuild GIMP for just a revision. Yet
very often revision may just be data change or dependency fix/update
without rebuild needed (i.e. no ABI change).
Instead let's keep this package information as a file 'gimp-release'
(inspired by /etc/os-release and other /etc/*-release files of
distributions).
2020-02-13 23:59:46 +01:00
Tim Sabsch 7029c3570c Update German translation
(cherry picked from commit b3583119bd)
2020-02-13 19:37:54 +00:00
Tim Sabsch 365afc829b Update German translation
(cherry picked from commit 9e358ebdbd)
2020-02-13 19:05:16 +00:00
Piotr Drąg 1c90461e21 Update Polish translation 2020-02-13 19:55:53 +01:00
Balázs Úr 1a587a371b Update Hungarian translation 2020-02-13 17:55:08 +00:00
Balázs Meskó 3e6763a50a Update Hungarian translation 2020-02-13 17:48:48 +00:00
Anders Jonsson 61d04a93d6 Update Swedish translation
(cherry picked from commit fc805a4197)
2020-02-13 16:57:56 +00:00
Ell 6cd3c8bc74 app: increase the maximal airbrush stamp FPS
In the Airbrush tool, increase the maximal stamp FPS from 15 to 60,
and change the corresponding maximal Rate value from 150 to 100.
This technically affects tool presets, but we'll live.
2020-02-13 18:47:03 +02:00
Ell 30e925065f app: fix gimp_brush_mipmap_get_memsize()
Don't include the main mask/pixmap buffer size -- it's already
counted in gimp_brush_get_memsize().
2020-02-13 16:56:33 +02:00
Anders Jonsson f09e940cac Update Swedish translation
(cherry picked from commit 0367972eb1)
2020-02-13 13:23:32 +00:00
Rodrigo Lledó 0a02e6c726 Update Spanish translation 2020-02-13 08:53:13 +00:00
Rodrigo Lledó 6932c513ee Update Spanish translation
(cherry picked from commit 603ed31fd3)
2020-02-13 08:48:28 +00:00
Trần Ngọc Quân 47c3035ecd l10n: Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2020-02-13 14:50:42 +07:00
Anders Jonsson 364ebc1d78 Update Swedish translation
(cherry picked from commit 4320d714ee)
2020-02-13 00:03:40 +00:00
Anders Jonsson b41594023f Update Swedish translation
(cherry picked from commit 7ea884bfc2)
2020-02-12 23:46:48 +00:00
Anders Jonsson 042385d0b4 Update Swedish translation
(cherry picked from commit 78c85ef13d)
2020-02-12 23:40:25 +00:00
Nikc M 0a5af889f9 Issue #175 - Allow the erase every other row plugin to skip a different number of rows
Adds generalized erase Nth row function,
and sets original erase row function to
call generalized one with n = 2
to reduce code duplication
2020-02-13 01:18:22 +02:00
Ell f797f688ad app: reorganize #includes in gimpbrush-{mipmap,transform}.cc 2020-02-13 00:14:28 +02:00
Ell ee39f0ec13 app: use mipmaps when downscaling raster brushes
When downscaling raster brushes, we currently resample the original
brush with no fitlering (other than bilinear interpolation), which
results in very noticable aliasing when using heavily downscaled
big brushes.

This commit constructs a box-filtered mipmap hierarchy for the
original brush on-demand, and the closest mipmap is used as the
resampling source for downscaled brushes, significantly improving
the output quality.
2020-02-13 00:03:22 +02:00
Ell 2dddf59dbf app: add gimp_brush_transform_get_scale()
... which converts a (scale, aspect_ratio) pair to a (scale_x,
scale_y) pair.

Change gimp_brush_transform_matrix() to take (scale_x, scale_y)
parameters, instead of (scale, aspect_ratio), and change the rest
of the code accordingly.
2020-02-12 23:59:49 +02:00
Ell e0e1ad5e2a app: fix brush-transform resampling
In gimpbrush-transform.cc, resample the transformed brush at pixel
centers instead of edges, and fix the corresponding source
coordinates.
2020-02-12 23:59:48 +02:00
Anders Jonsson da4228f6b2 Update Swedish translation
(cherry picked from commit cdfcf4e31e)
2020-02-12 20:22:54 +00:00
Tim Sabsch 52a12742b4 Update German translation
(cherry picked from commit 8bfb3bc368)
2020-02-12 19:05:45 +00:00
Alan Mortensen 611f5b66e7 Updated Danish translation 2020-02-12 19:09:56 +01:00
Balázs Meskó 4648b4e3dd Update Hungarian translation 2020-02-12 17:49:02 +00:00
Balázs Meskó da73d35520 Update Hungarian translation 2020-02-12 17:42:16 +00:00
Balázs Meskó cee6a9ea4c Update Hungarian translation 2020-02-12 17:36:36 +00:00
Balázs Meskó d228498997 Update Hungarian translation 2020-02-12 17:31:08 +00:00
Jehan cc9a15de97 app: do not update a finalized dialog.
When the about dialog is destroyed, the weak link will be nullified.
Don't do anything then in our handler.
2020-02-11 21:40:28 +01:00
Jehan ed77830381 app: only show a "Last checked" date when we did at least 1 check.
If for instance you've got no internet connection or other reasons that
a check might fail, the check-update-timestamp will be 0, which is
1970-01-01.
Thanks to Alexandre Prokoudine for noticing it!
2020-02-11 21:12:42 +01:00
Bruce Cowan 495889630a Update British English translation
(cherry picked from commit 2190649ea0)
2020-02-11 18:20:45 +00:00
Ell 52cb2edd9e Issue #4605 - Invalid abr brush crashes GIMP
When loading ABR brushes, error out on negative scan-line lengths,
instead of trying to allocate a huge buffer.  This entire code
could use a whole lot more unsignedness, but this should cover the
crash.
2020-02-11 18:00:17 +02:00
Ell 782e209a33 app: in abr_rle_decode(), avoid freeing NULL scratch buffers
... gegl_scratch_free() doesn't generally accept NULL pointers.
2020-02-11 18:00:16 +02:00
Ell 07f95291a5 app: improve ABR brush loading speed
Improve the efficiency of decoding RLE data when loading ABR
brushes, by reading entire scanlines into a buffer all-at-once,
instead of reading the stream byte-by-byte.
2020-02-11 02:25:46 +02:00
Sveinn í Felli a5a7df5eb9 Update Icelandic translation
(cherry picked from commit 372783134c)
2020-02-09 18:21:04 +00:00
Sveinn í Felli 771c37bf9f Update Icelandic translation 2020-02-09 17:28:19 +00:00
Sveinn í Felli a55a8ee010 Update Icelandic translation 2020-02-09 17:25:35 +00:00
Sveinn í Felli 9987e4b9a5 Update Icelandic translation 2020-02-09 17:13:37 +00:00
Tim Sabsch d11eef1be5 Update German translation 2020-02-09 14:00:09 +00:00
Piotr Drąg 19d56cf546 Update Polish translation 2020-02-09 13:10:21 +01:00
Tim Sabsch dad963c257 Update German translation
(cherry picked from commit 5c4b5b6cae)
2020-02-09 01:14:29 +00:00
Tim Sabsch ccc07f449d Update German translation
(cherry picked from commit 94a5549413)
2020-02-09 01:05:38 +00:00
Jehan 2900f2a868 app: always show the "Check for updates" button in the About dialog.
Even when we already notify of an update, we should leave the ability to
query the last gimp_versions.json manually.
It would allow also people who disabled automatic check at startup
(whether through preferences or because the build disabled the feature
altogether) to still make update checks, and to not be forever stuck
with the result of an outdated version check.
2020-02-08 14:17:17 +01:00
Ell d244a079ca app: improve brush outline position when not snapping to stroke
In GimpPaintTool, track the cursor position separately from the
current paint core position, so that the brush outline doesn't lag
behind the cursor while painting.
2020-02-08 11:51:45 +02:00
Ell 893990afce Issue #4584 - Segfault when closing an image with a layer group ...
... containing a floating selection

When destroying a GimpGroupLayer, remove all the children signal
handlers before destroying the container, so that we don't attempt
to reallocate the group's projection in response to
"update-bounding-box" signals emitted during layer destruction,
which can happen for floating selections.
2020-02-07 23:37:21 +02:00
Ell 0891f1275a app: add gimp_container_remove_handlers_by_{func,data}()
... which remove all handlers matching the given callback/callback-
data.

temp
2020-02-07 23:37:21 +02:00
Ask Hjorth Larsen 5a9b5c1670 Revert "Updated Danish translation"
My bad, this particular gimp.master.da.po was for the docs, not the main ui!

This reverts commit 40bb5d30ee.
2020-02-07 16:47:16 +01:00
Alan Mortensen 40bb5d30ee Updated Danish translation 2020-02-07 03:43:39 +01:00
Ell db678ad212 app: in polynomial_odd_roots(), fix derivative array size 2020-02-07 00:56:07 +02:00
Jehan f9f4538358 app: don't show "Check for updates" button in Preferences when option...
... deactivated at build anyway.
2020-02-06 22:20:28 +01:00