Commit Graph

42820 Commits

Author SHA1 Message Date
4ad3993eca Issue #2209: more accurate magic for HEIF files.
Just looking for "ftyp" would also match other ISOBMFF files (.mov or
.mp4 files for instance). These are the possible 4-byte "brand" code
which can follow "ftyp", as listed by Dirk Farin from libheif.

I add the "mif1" brand, as I encountered some files using this magic
(even though this should normally not be valid apparently, yet the file
loaded fine in GIMP).

This is not perfect as the standard allows potentially very big box
headers, in which case 8 bytes (the "largesize" slot) may be inserted
between "ftyp" and the brand, as I understand it. But this is actually
unlikely enough to probably never happen (the compatible brands list
would have to be huuuge, as it looks like this is the only extendable
part in a ftyp box). So let's assume this just never happens.

See also: https://github.com/strukturag/libheif/issues/83
2018-09-16 16:52:21 +02:00
Ell
2c6b5c371e app: add more information to performance logs
In addition to the verbose GIMP version, include in performance
logs the values of all environment variables beginning with BABL_,
GEGL_, or GIMP_, and of all the GEGL config options.
2018-09-16 09:00:03 -04:00
Ell
e8c1cd79ba app: in gimpbacktrace-linux, use SA_RESTART for the backtrace signal 2018-09-16 09:00:03 -04:00
6038f405bf Updated Greek translation 2018-09-16 05:43:29 +03:00
dc9a30446b devel-docs: add the package maintainers in the release-howto.
Nicknames on IRC/gitlab are hard, even more when they change depending
on the media! I realize we are regularly asking them or unsure of who to
contact (for instance here for releases). Let's associate each package
with its current maintainer to make it easy to contact the right person
to prepare our official packages before a release.
2018-09-15 09:23:09 +02:00
ff56a3af8d build: update the flatpak cron file.
The artifacts should be moved after each export (otherwise we mix
artefacts from various builds). Also fix the last date call.
2018-09-14 18:12:23 +02:00
d738d2f645 Issue #2209: HEIF: Invalid input: No 'ftyp' box.
Adding a magic number for HEIC/HEIF, which would allow to discard
obvious non-HEIC images even with the wrong extension.

Note: it looks like this magic number would also match more generically
other ISO base media file format (ISOBMFF) formats, like .mov or .mp4
files. I am enquiring for better magic but for now, this is better than
nothing.
2018-09-14 17:57:15 +02:00
a654ecbd70 build: assume yes to questions when updating flatpak runtimes. 2018-09-13 18:17:18 +02:00
573d817539 Issue #2055: make save dialog compatibility information understandable.
* The minimum GIMP version for this XCF is always written down when it
  is GIMP 2.8 or over.
* The list of features warrating the minimum version is now listed in an
  expander container rather than as tooltip (making the list actually
  discoverable!).
* The warning on compression is now displayed as its own text under the
  checkbox (only when checking the box actually changes anything
  compatibility-wise), and not as additional text to the minimum GIMP
  version label. Otherwise it had far too much weight on the minimum
  compatible GIMP version text and people were wondering what it meant.
  We should not tell people what the checkbox cannot do (it cannot
  improve compatibility in some cases), only what it can do (it can
  improve compatibility in other cases).
* Update the feature list real-time when checking the compression box
  (making it even more obvious that tile compression may have a say in
  compatibility).
* Metadata info is still added on the GIMP version label as it does not
  limit compatibility of the XCF file itself.
2018-09-11 13:14:54 +02:00
0fa2ef9118 app: add a reason string for internal zlib compression in GIMP 2.10.
Even though chosen as a parameter to gimp_image_get_xcf_version() and
not a feature within the image itself, we also want to list this reason
in the compatibility list.
2018-09-11 11:26:51 +02:00
7448c7f811 libgimpwidgets: do not assume a GimpFrame has a child.
This fixes 2 CRITICALs when creating a GimpFrame without a child. There
are reasons to create empty frames (for instance to conditionnally add
contents later, and use it as a label only otherwise).
2018-09-11 11:26:51 +02:00
ea67537d85 app: conditionnally free new profile in gimp_image_convert_precision().
Do not free a NULL pointer! This fixes a CRITICAL:
> g_object_unref: assertion 'G_IS_OBJECT (object)' failed
2018-09-11 11:26:51 +02:00
Ell
6c6a7514a4 app: some cleanup in gimppaintcore-loops
In gimp_paint_core_loops_process(), initialize the iterator with
sufficient room for the number of iterators used by the algorithm
hierarchy, instead of a fixed number.

Add an additional 'rect' parameter to the init_step() and
process_rows() algorithm member functions, which receives the area
of the currently-processed chunk, to be used instead of the
iterator's ROI member.  This allows us to pass a NULL iterator to
hierarchies that don't use an iterator, and avoid the stack-
allocated iterator hack we used in this case (and which became even
more problematic with the new iterator API).
2018-09-11 04:05:00 -04:00
6fca9959c7 plug-ins: migrate pagecurl to new iterator api 2018-09-11 02:05:41 +02:00
cc10af72cc plug-ins: migrate screenshot-x11 to new iterator api 2018-09-11 02:05:13 +02:00
49c53568d7 plug-ins: migrate print-draw-page to new iterator api 2018-09-11 02:04:47 +02:00
8edbc0d491 plug-ins: migrate ifs compose to new iterator api 2018-09-11 02:04:11 +02:00
29f63616d2 plug-ins: migrate file-tiff-load to new iterator api 2018-09-11 02:03:09 +02:00
3a2014984d plug-ins: migrate psd plug-ins to new iterator api 2018-09-11 02:02:50 +02:00
ee48ec6877 plug-ins: migrate gradient-map to new iterator api 2018-09-11 02:02:13 +02:00
4165a315d5 plug-ins: migrate qbist to new iterator api 2018-09-11 02:01:57 +02:00
764085278f plug-ins: migrate file-png to new iterator-api 2018-09-11 02:01:47 +02:00
b7633c722e plug-ins: compose migrated to new iterator api 2018-09-11 01:52:42 +02:00
6ab12061b7 plug-ins: colormap-remap migrated to new iterator api 2018-09-11 01:52:32 +02:00
754a3c5b18 plug-ins: border-average migrated to new iterator api 2018-09-11 01:52:18 +02:00
22b4b647bd plug-ins: decompose migrated to new iterator api 2018-09-11 01:52:01 +02:00
55b3438328 app: migrate gimpoperationmaskcomponents to new iterator api 2018-09-11 01:47:31 +02:00
c6d23add65 app: migrate gimpoperationgradient to new iterator api 2018-09-11 01:47:12 +02:00
f03a84d607 app: migrate gimpoperationcagetransform to new iterator api 2018-09-11 01:46:53 +02:00
822f9f0d2b app: migrate gimpoperationcagecoefcalc to new iterator api 2018-09-11 01:46:34 +02:00
95358ca1fa app: migrate operationbuffersourcevalidate to new iterator api 2018-09-11 01:46:10 +02:00
cdda37f4ee libgimpcolor: migrate to new iterator api 2018-09-11 01:37:42 +02:00
41e8035635 modules: migrate display filters to new iterator api 2018-09-11 01:37:11 +02:00
6761da42b2 modules: migrate aces-rrt filter to new iterator api 2018-09-11 01:36:50 +02:00
fb5d7832a8 app: migrate paintcore loops to new iterator api 2018-09-11 01:35:22 +02:00
97ed7817d8 app: migrate gimpmybrushsurface to new iterator api 2018-09-11 01:34:48 +02:00
46e9036578 app: migrate brush core to new iterator api 2018-09-11 01:34:32 +02:00
ea9c5e6a49 app: migrate ink paint core to iterator api 2018-09-11 01:34:17 +02:00
24fbdfb591 app: migrate heal to new iterator api 2018-09-11 01:33:59 +02:00
beb4ecb238 app: migrate iscissorstool to new iterator api 2018-09-11 01:33:36 +02:00
4b77831e03 app: migrate gimp-gegl-mask to new iterator api 2018-09-11 00:36:29 +02:00
fcf113a39c app: migrate gegl-mask-combine to new iterator api 2018-09-11 00:36:12 +02:00
567ffe94ff app: migrate gegl-loops to new iterator api 2018-09-11 00:35:50 +02:00
d99cae4ab8 app: gimpscanconvert: migrate to new buffer iterator 2018-09-11 00:19:39 +02:00
c56f543354 app: pickable-contiguous-region migrated to new buffer iterator 2018-09-11 00:19:21 +02:00
43c107aeab app: palette-import migrated to new buffer iterator 2018-09-11 00:18:57 +02:00
9f481d3607 app: image-convert-indexed migrated to new buffer iterator 2018-09-11 00:18:36 +02:00
2c2d8d86fd app: histogram migrated to new buffer iterator 2018-09-11 00:17:24 +02:00
972f232316 app: gimpdrawable-transform migrated to new buffer iterator 2018-09-11 00:17:09 +02:00
829ca6583d Issue #2179: Make file_rawtherapee use the registry value that is...
... provided by RawTherapee's installer (version 5.5+).

See https://github.com/Beep6581/RawTherapee/issues/4783.
This patch required a small change to file_raw_get_executable_path
because the RawTherapee installer is supposed to work without admin
privileges and therefore can't write to HKLM.

Reviewer's note (Jehan): RawTherapee's installer does not add the
registry entry yet. We assume the upstream bug report will end up doing
so (someone has to make the first step!). :-)
2018-09-10 14:16:02 +02:00