Gimp/libgimpbase
Jacob Boerema f061be280c plug-ins: fix #7464 GIMP stops responding opening metadata on import
Some images have huge amounts of XMP tag Xmp.photoshop.DocumentAncestors.
In certain cases more than 100000 values. This is apparently due to a bug
in certain versions of PhotoShop.

This makes deserializing it in the way we currently do too slow, probably
because of continuous reallocations after adding each value. Until we can
change this let's remove everything but the first 1000 values when
serializing. I think it is very unlikely there are any real cases where
more than a 1000 ancestor documents are referenced in an image. Testing
shows that this amount doesn't cause any serious slowdowns.

(cherry picked from commit b2c715b52b)
2022-01-03 12:04:37 -05:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimpbase-private.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbase-private.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbase.def libgimpbase: remove the gimp protocol mutex and gp_lock()/gp_unlock() 2019-08-04 22:49:25 +02:00
gimpbase.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbaseenums.c Revert the *enums.c part of the last commit 2019-09-06 09:46:48 +03:00
gimpbaseenums.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:26:11 +02:00
gimpbasetypes.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbasetypes.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpchecks.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpchecks.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcompatenums.c enums: generate enum files in source dir 2017-05-06 17:26:16 -04:00
gimpcompatenums.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcpuaccel.c libgimpbase: add hygon cpu detection and enable MMX/SSE support 2019-05-26 00:42:26 +02:00
gimpcpuaccel.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpdatafiles.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpdatafiles.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenv.c libgimpbase: fix memory leak in gimp_installation_directory(). 2021-01-19 12:13:06 +01:00
gimpenv.h libgimpbase: avoid double definition of exported variables on Windows 2020-06-10 18:29:33 +03:00
gimplimits.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmemsize.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmemsize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmetadata.c plug-ins: fix #7464 GIMP stops responding opening metadata on import 2022-01-03 12:04:37 -05:00
gimpmetadata.h Integrate the logic of profile saving with metadata saving 2018-12-04 17:40:12 +01:00
gimpparam.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpparasite.c libgimpbase: capitalize some docs section titles 2019-08-01 12:52:55 +02:00
gimpparasite.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:26:11 +02:00
gimpparasiteio.c libgimpbase: always allocate GimpPixPipeParams.placement, add docs 2019-07-24 02:19:19 +02:00
gimpparasiteio.h libgimpbase: always allocate GimpPixPipeParams.placement, add docs 2019-07-24 02:19:19 +02:00
gimpprotocol.c libgimpbase, libgimp, app: inherit swap-compression in plug-ins 2019-09-22 18:07:11 +03:00
gimpprotocol.h libgimpbase, libgimp, app: inherit swap-compression in plug-ins 2019-09-22 18:07:11 +03:00
gimprectangle.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimprectangle.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpreloc.c libgimpbase: style cleanup of gimpreloc.c 2019-02-07 14:56:26 +01:00
gimpreloc.h libgimpbase: clean up the linux relocation code 2013-01-27 22:26:29 +01:00
gimpsignal.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpsignal.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpunit.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpunit.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimputils.c (source modifs) Fix: Rename macros as it conflicts with Mingw headers. 2019-01-25 21:10:41 +01:00
gimputils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpvaluearray.c libgimp*: use more g_clear_pointer() 2019-07-25 12:40:33 +02:00
gimpvaluearray.h libgimpbase: fix docs of struct GimpParamSpecValueArray 2019-07-25 21:34:15 +02:00
gimpwin32-io.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwire.c libgimpbase: add _gimp_wire_{read,write}_int64() 2018-11-19 17:09:53 -05:00
gimpwire.h libgimpbase: add _gimp_wire_{read,write}_int64() 2018-11-19 17:09:53 -05:00
Makefile.am app, libgimpbase: --enable-relocatable-bundle replaces --enable-binreloc 2019-02-07 14:56:26 +01:00
test-cpu-accel.c Moved the CPU detection code to libgimpbase (see bug #342860): 2006-06-02 09:58:03 +00:00