Commit Graph
3915 Commits
Author SHA1 Message Date
Christian Lohmaier a54eab95fe fix python dependency on meson
solenv/gbuild/Package.mk:83: ***  depend(s) on package python3 which does not exist..  Stop.

It needs to depend on something that works with both internal and
external python, namely the python executable/command.

Change-Id: I4aee621ccc65261a1f7d4af7d1a303bd6d5f34d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194921
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2025-12-02 18:02:49 +01:00
Michael Stahl 3ff253e277 gbuild: -fsanitize=address MSVC build
setup_native assorted DLLs must have ASAN disabled.

ICU build doesn't work, so disable ASAN for that.

This built with MSVC 2022 and:

CC=...cl.exe -fsanitize=address
CXX=...cl.exe -fsanitize=address
--disable-firebird-sdbc
--disable-skia
--disable-pdfium

Change-Id: I296241e43b68579fdd9b6af9c98a5b541c8ae89a
(cherry picked from commit 98b92b339fa3c28319f3f6cec94abb04229f487a)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194728
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 579956c4c54f498a22b8e5ed20468ceb9a6e0e30)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194866
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins
2025-12-01 12:01:23 +01:00
Caolán McNamara 95d41ebfb6 silence fontconfig warning about no default config on macOS
Change-Id: Ida1de9b6fe7de8e5a57da741a86101917c8b5587
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190278
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194796
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-11-29 01:11:11 +01:00
Caolán McNamara e904a25da2 ENABLE_FONTCONFIG is actually not defined
Change-Id: Iaabcfcab53b7c6ab9b20305d97979d0c978ec598
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194795
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-11-29 01:11:01 +01:00
Jan Holesovsky aad732825e Make it possible to build cairo even on macOS
Change-Id: Iea337f2fdd0f90e2b0612cd2cda9c1ea1f4739a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194792
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-11-28 20:56:17 +01:00
Xisco Fauli 27d0c9a3db build sqlite3 and lzma on Windows anyway
and use the same config.h in all platforms.
Compiling these libraries only takes a few seconds
so no need to exclude Windows here
it should also fix the win arm64 build

This patch reverts

commit e4421ce01d
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Mon Nov 10 22:35:22 2025 +0100

    sqlite3: don't create a static library on Windows

and part of

commit 1cb84d60d9
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Thu Oct 30 20:11:23 2025 +0100

    external: add lzma

Change-Id: Ia66242d4fef78cf8d99f853db4c9eee2e24c62ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194023
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-14 15:20:30 +01:00
Noel Grandin 6e0d9ef6fd update to skia m142
one small patch needed for a file that includes a header that no longer exists.

Change-Id: I4f8c9aff46afbc3a7f34f2ead804ee956ee18d70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193938
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-11-13 12:08:07 +01:00
Hossein dc71c56c14 Fix hsqldb compiler errors with JDK 25
With JDK 25, I get 10 errors like this:

   [javac] workdir/UnpackedTarball/hsqldb/src/org/hsqldb/jdbc/jdbcParameterMetaData.java:54: error: jdbcParameterMetaData is not abstract and does not override abstract method isWrapperFor(Class<?>) in Wrapper
    [javac] public class jdbcParameterMetaData implements ParameterMetaData {
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 10 errors
    [javac] 13 warnings

BUILD FAILED
workdir/UnpackedTarball/hsqldb/build/build.xml:353: Compile failed; see the compiler error output for details.

With this patch, code inside //#ifdef JAVA6 /* ... */ //#endif JAVA6
is re-enabled which resolves the build issue.

The issue was happening before with JDK 21. But, at that time patch
541eacf801 was enough to make the build
pass.

Change-Id: I73a8054d4382b8337fadafe579ca8cd24d644c89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182472
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2025-11-12 19:40:30 +01:00
Xisco Fauli 6408a49ac5 tdf#168513: python3: bundle lzma
Change-Id: I7b9729cd293aea781b204888236c3aa5aa858eaa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193739
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-11-11 21:40:00 +01:00
Xisco Fauli 1cb84d60d9 external: add lzma
Only needed for Linux and Mac. For Windows
we build it from python3 using liblzma.vcxproj

Add external/lzma/config.patch to remove some defines
causing errors

Downloaded from https://github.com/tukaani-project/xz/releases/download/v5.8.1/xz-5.8.1.tar.gz

Change-Id: Ic3317ec54b1da838a10db9e6c3127bf9c33ca146
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193225
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-11 21:39:24 +01:00
Xisco Fauli e4421ce01d sqlite3: don't create a static library on Windows
sqlite3 is later compiled on Windows by sqlite3.vcxproj

Change-Id: I77662cb5add82e812e2523a89a3d44b3ae05e095
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193772
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-11-11 10:40:34 +01:00
Michael Stahl f2f320b98b nss: try to unbreak iOS build
(regression from commit e39a1baeb4)

Change-Id: I8955f772dd2ccb9d66142115f2c9a2aafc06d8f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193559
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins
2025-11-10 17:56:36 +01:00
Xisco Fauli 63460e46da related tdf#168511: bundle venvlauncher.exe too
Change-Id: I7f70d624d4952e85252b9e457fa309e1f8005490
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193579
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-11-07 21:17:00 +01:00
Xisco Fauli b63f8cd8df Reapply "openssl: upgrade to 3.5.4 (master only)"
This reverts commit 708abf2466.

Reason for revert: Probably it works with --with-visual-studio=2022 now

Change-Id: Ibcfe74f9c7b0a460c527f1d8c121246081dcbb43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193544
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-06 21:02:43 +01:00
Xisco Fauli 5915391068 external: fix some cmake related comments
Change-Id: Ie3159fcb5354fde82d3a04327dfad8b3f05098a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193452
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-05 13:21:48 +01:00
Xisco Fauli f2557cfaae harfbuzz: upgrade to 12.2.0
* 0001-Fix-applying-synthetic-slight-to-glyph-origins-5629.patch.1
has been fixed upstream

Downloaded from https://github.com/harfbuzz/harfbuzz/releases/download/12.2.0/harfbuzz-12.2.0.tar.xz

Change-Id: I61c8edc0286389fe476b9ba84e8eac8f19f2016a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193444
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-05 11:47:06 +01:00
Xisco Fauli 71d738ed14 some janitorial work
after

commit f98ce0f91b
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Mon Oct 27 14:39:23 2025 +0100

    external: Add sqlite3

and

commit 1dfb0c9936
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Tue Sep 23 13:17:41 2025 +0200

    tdf#168512: python3: bundle sqlite3

Based on https://gerrit.libreoffice.org/c/core/+/193225/comments/b7f0a403_822adc42

Change-Id: I82f9dd6b9238df94b5c4619d003f67871885945c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193351
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-03 17:15:50 +01:00
Xisco Fauli 4bf59e9258 python3: bundle _hashlib on Windows too
as Linux and MacOS already do

Change-Id: I42aae48a35e72b540a7fda51bb5907de2de64aab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193288
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-11-03 15:27:55 +01:00
Xisco Fauli a02e38567e ICU: upgrade to 78.1
0001-ICU-23054-const-up-struct-that-gencmn-outputs.patch.2 and
Wunnecessary-virtual-specifier.patch have been fixed
upstream

Downloaded from https://github.com/unicode-org/icu/releases/tag/release-78.1

Change-Id: Iaec032611e6616f7d553d4c807b75dfa21a32e7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193269
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-03 11:40:50 +01:00
Andras Timar 983b1a6ddd build internal python before trying to use meson
Change-Id: Idb27a3e6c27640528488df263b93809221b09f1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193270
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2025-10-31 18:29:07 +01:00
Andras Timar 567466b473 tdf#168848 fix cairo build with --enable-python=fully-internal on linux
Change-Id: I1abc8a3c9a7378d8a5d8d9917ae53b8405677e3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193262
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins
2025-10-31 18:28:08 +01:00
Xisco Fauli b6d2fe4fcc tdf#168514: Add pythonw.exe
Change-Id: Ib007a7203114501d96f109f6d0c3d33d991be347
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193258
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-10-31 16:44:35 +01:00
Xisco Fauli 4acb768293 sqlite3: Add licence
From https://sqlite.org/copyright.html

and fix wrong url in README

Change-Id: I84075dd25634385eece1fca9101d78cb95eb2923
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193183
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-10-30 15:58:10 +01:00
Xisco Fauli 68822e1bfe tdf#167963: patch upstream fix
See https://github.com/harfbuzz/harfbuzz/issues/5628

Change-Id: I05bffb1d5e291bd2a5f92bb87aa49bd46d9dc6b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193182
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-10-30 11:22:08 +01:00
Miklos Vajna 0c14beeb01 Update pdfium to 7471
Drop constexpr-template.patch, upstream dropped the forward-declaration
as well.

Commit 31bfebac64 (Update pdfium to 7188,
2025-10-13) was just earlier this month, but that updated to an upstream
version from May, that's why it makes sense to update again.

CppunitTest_vcl_pdfexport2's testTdf139627 started to fail after this.
Assuming that the code covered by these tests still works (since this
commit doesn't change editeng/ or vcl/ code), just update those tests to
match the new PDFium API call results for now. Also, see commit
e8c0a88d64 (tdf#139627 Test justified
Arabic/Persian text to avoid gaps/big overlaps, 2022-08-31) , which
suggests the changed string wasn't empty initially, so we get closer to
that state now.

Change-Id: I0046914c6bfbd0a4dd2dbd1e26c10e67175e70c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192773
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2025-10-30 08:51:57 +01:00
Xisco Fauli 3d57e6a9b5 tdf#132074: python3: bundle dbm
Change-Id: I1ed3c6e834f486cc8753513dfb03a2a0d4a8cfd4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193155
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-10-29 18:58:53 +01:00
Caolán McNamara 7a44dac223 disable werror in external mythes
avoid useless optimized gcc build warning of:
error: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]

Change-Id: Iba277bedfa8061af6040891ae8d77c39454f983a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193157
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2025-10-29 18:08:04 +01:00
Xisco Fauli 1dfb0c9936 tdf#168512: python3: bundle sqlite3
Add sqlite3.patch.1 since sqlite3.vcxproj expects the
sqlite version in the path

Change-Id: Ieb262b5401447cc9cc8c8d68197b3ec492c6ed94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191394
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-10-29 14:21:29 +01:00
Xisco Fauli f98ce0f91b external: Add sqlite3
This is needed to build python's bundled sqlite3 on linux and windows

Downloaded from https://sqlite.org/2025/sqlite-amalgamation-3500400.zip

Change-Id: I5480dc8d325bae59ee8a39ba909447c4470bc4aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193047
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-10-29 14:21:22 +01:00
Caolán McNamara a987919cae handle errors from makeotf
Change-Id: I97b702f32ca125fd2eb5c652b079ed94e521d47a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193112
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-28 20:32:33 +01:00
Caolán McNamara 433ec9a295 suppress verbose output
Change-Id: I56141b7ed0ca9b1885ad7bc39a40d7bb0a730d7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192859
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193088
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-28 14:00:19 +01:00
Caolán McNamara a1c3cdbd5a font dict obj num
Change-Id: I40a5575bd26eedae99c8010638ae5602f65af2bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192993
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-26 12:08:47 +01:00
Caolán McNamara 2e613609d4 use pdfium to map ToUnicode character codes to glyph indexes
Seeing as these are not actually already glyph indexes, just
seems to be common practice that they usually are, especially
for subsets. Use pdfium's mapping for this instead.

Change-Id: I6cd3d3c236b62c5014fa8e829cbb52ae4fa2d8ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192922
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192992
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-26 12:08:27 +01:00
Caolán McNamara cfb9b5eed0 extract fill/stroke patterns as bitmaps
We can apply fill patterns as tiled bitmap fill.

For strokes/text-color apply center color of pattern as the color to
use.

Change-Id: I123184d19363c0f0e0a2988108efdb71ff3d34f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192552
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192987
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-26 12:07:35 +01:00
Caolán McNamara b5043bddb8 fix afdko oss-fuzz link
Change-Id: I57efec0bdff09e52d18d2dc2bd420a68041c5289
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192935
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-24 12:34:34 +02:00
Michael Stahl d274abca3e libxslt: add patch for CVE-2025-10911
Change-Id: I951aad2bff3911f685f73390e4f42ed29fe49b41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192444
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
(cherry picked from commit fca876c2c369b26244413fafe506acafb9d3b5bf)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192860
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
2025-10-22 18:13:42 +02:00
Xisco Fauli 062b4fd563 xmlsec: Ubuntu 20.04 reached the EOF on May 31, 2025
Change-Id: I2c1e464e7511d520b03ab934b3dd510d493d1d51
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192822
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-10-22 11:05:18 +02:00
Mike Kaganski 53e260d5c6 Fix Windows skia build
C:\lo\build\workdir\UnpackedTarball\skia\include/private/base/SkTemplates.h(125):
warning C5030: attribute [[clang::reinitializes]] is not recognized

Change-Id: I32649a4b6e7430fd9f74bfdcc0622c790568f0b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192802
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-10-22 09:16:16 +02:00
Xisco Fauli 087c49c15a python3: upgrade to 3.12.12
* Add external/python3/setuptools.patch.1 to deal with the space
in Lib/setuptools/_vendor/jaraco/text/Lorem ipsum.txt

Downloaded from https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tar.xz

Change-Id: I0fe4730ee26267e0042fb10b6ad78bbc21ca1ce5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192758
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-10-21 21:05:53 +02:00
Noel Grandin aafe72e921 update to skia m141
drop patch that is now upstream

Change-Id: Id319f2d287a92a38d1ba0812e4d59b63d2ae1b48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192776
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-10-21 15:13:20 +02:00
Stephan Bergmann fc7232b50d external/afdko: Address lots of UBSan findings
...in CppunitTest_sd_pdf_import_test and CppunitTest_sd_export_tests,

> workdir/UnpackedTarball/afdko/c/shared/source/t1write/t1write.c:379:21: runtime error: signed integer overflow: 47774 * 52845 cannot be represented in type 'int'
>  #0 in saveCstr at workdir/UnpackedTarball/afdko/c/shared/source/t1write/t1write.c:379:21
>  #1 in saveSubr at workdir/UnpackedTarball/afdko/c/shared/source/t1write/t1write.c:572:9
>  #2 in saveStdSubr at workdir/UnpackedTarball/afdko/c/shared/source/t1write/t1write.c:587:11
>  #3 in saveStdSubrs at workdir/UnpackedTarball/afdko/c/shared/source/t1write/t1write.c:611:5
>  #4 in t1wBegFont at workdir/UnpackedTarball/afdko/c/shared/source/t1write/t1write.c:2103:5
>  #5 in t1_BegFont at workdir/UnpackedTarball/afdko/c/shared/source/tx_shared/tx_shared.c:2230:13
>  #6 in ttrReadFont at workdir/UnpackedTarball/afdko/c/shared/source/tx_shared/tx_shared.c:4956:5
>  #7 in convertTx(txCtx_*) at vcl/source/gdi/embeddedfontsafdko.cxx:55:17
>  #8 in EmbeddedFontsManager::tx_t1(rtl::OUString const&, rtl::OUString const&) at vcl/source/gdi/embeddedfontsafdko.cxx:116:19
>  #9 in toPfaCID(SubSetInfo&, rtl::OUString const&, rtl::OUString const&, bool&, std::__debug::map<int, int, std::less<int>, std::allocator<std::pair<int const, int>>>&, rtl::OString&, rtl::OString&, rtl::OString&) at svx/source/svdraw/svdpdf.cxx:1189:14
>  #10 in ImpSdrPdfImport::convertToOTF(long, SubSetInfo&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, std::basic_string_view<char16_t, std::char_traits<char16_t>>, std::__debug::vector<unsigned char, std::allocator<unsigned char>> const&) at svx/source/svdraw/svdpdf.cxx:1674:10
>  #11 in ImpSdrPdfImport::CollectFonts() at svx/source/svdraw/svdpdf.cxx:328:27
>  #12 in ImpSdrPdfImport::ImpSdrPdfImport(SdrModel&, o3tl::strong_int<short, SdrLayerIDTag>, tools::Rectangle const&, Graphic const&) at svx/source/svdraw/svdpdf.cxx:122:5
>  #13 in SdrEditView::DoImportMarkedMtf(SvdProgressInfo*) at svx/source/svdraw/svdedtv2.cxx:2168:37
>  #14 in testImportSimpleText::TestBody() at sd/qa/unit/SdrPdfImportTest.cxx:122:32

etc. and

> workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/recode.c:1744:17: runtime error: left shift of negative value -51
>  #0 in t1parse at workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/recode.c:1744:17
>  #1 in cstrRecode at workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/recode.c:3279:11
>  #2 in recodeAddChar at workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/recode.c:3383:5
>  #3 in csAddChar at workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/cs.c:152:5
>  #4 in cidAddChars at workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/parse.c:3001:13
>  #5 in parseFont at workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/parse.c:1507:9
>  #6 in tcAddFont at workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/tc.c:1006:5
>  #7 in tcCompactFont at workdir/UnpackedTarball/afdko/c/makeotf/lib/typecomp/tc.c:1054:5
>  #8 in hotReadFont at workdir/UnpackedTarball/afdko/c/makeotf/lib/hotconv/hot.c:369:5
>  #9 in psConvFont at workdir/UnpackedTarball/afdko/c/makeotf/source/cb.c:329:16
>  #10 in cbConvert at workdir/UnpackedTarball/afdko/c/makeotf/source/cb.c:1622:20
>  #11 in EmbeddedFontsManager::makeotf(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&) at vcl/source/gdi/embeddedfontsafdko.cxx:263:5
>  #12 in ImpSdrPdfImport::convertToOTF(long, SubSetInfo&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, std::basic_string_view<char16_t, std::char_traits<char16_t>>, std::__debug::vector<unsigned char, std::allocator<unsigned char>> const&) at svx/source/svdraw/svdpdf.cxx:1721:9
>  #13 in ImpSdrPdfImport::CollectFonts() at svx/source/svdraw/svdpdf.cxx:328:27
>  #14 in ImpSdrPdfImport::ImpSdrPdfImport(SdrModel&, o3tl::strong_int<short, SdrLayerIDTag>, tools::Rectangle const&, Graphic const&) at svx/source/svdraw/svdpdf.cxx:122:5
>  #15 in SdrEditView::DoImportMarkedMtf(SvdProgressInfo*) at svx/source/svdraw/svdedtv2.cxx:2168:37
>  #16 in testImportSimpleText::TestBody() at sd/qa/unit/SdrPdfImportTest.cxx:122:32

etc. and

> workdir/UnpackedTarball/afdko/c/mergefonts/source/mergeFonts.c:300:5: runtime error: call to function cfwMergeFDArray through pointer to incorrect function type 'long (*)(void *, abfTopDict *, int *)'
> workdir/UnpackedTarball/afdko/c/shared/source/cffwrite/cffwrite.c:491: note: cfwMergeFDArray defined here
>  #0 in mergeFDArray at workdir/UnpackedTarball/afdko/c/mergefonts/source/mergeFonts.c:300:5
>  #1 in t1rMergeFont at workdir/UnpackedTarball/afdko/c/mergefonts/source/mergeFonts.c:390:13
>  #2 in mergeFile at workdir/UnpackedTarball/afdko/c/mergefonts/source/mergeFonts.c:1521:17
>  #3 in doMergeFileSet at workdir/UnpackedTarball/afdko/c/mergefonts/source/mergeFonts.c:1726:9
>  #4 in EmbeddedFontsManager::mergefonts(rtl::OUString const&, rtl::OUString const&, std::__debug::vector<std::pair<rtl::OUString, rtl::OUString>, std::allocator<std::pair<rtl::OUString, rtl::OUString>>> const&) at vcl/source/gdi/embeddedfontsafdko.cxx:179:24
>  #5 in toPfaCID(SubSetInfo&, rtl::OUString const&, rtl::OUString const&, bool&, std::__debug::map<int, int, std::less<int>, std::allocator<std::pair<int const, int>>>&, rtl::OString&, rtl::OString&, rtl::OString&) at svx/source/svdraw/svdpdf.cxx:1197:14
>  #6 in ImpSdrPdfImport::convertToOTF(long, SubSetInfo&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, std::basic_string_view<char16_t, std::char_traits<char16_t>>, std::__debug::vector<unsigned char, std::allocator<unsigned char>> const&) at svx/source/svdraw/svdpdf.cxx:1674:10
>  #7 in ImpSdrPdfImport::CollectFonts() at svx/source/svdraw/svdpdf.cxx:328:27
>  #8 in ImpSdrPdfImport::ImpSdrPdfImport(SdrModel&, o3tl::strong_int<short, SdrLayerIDTag>, tools::Rectangle const&, Graphic const&) at svx/source/svdraw/svdpdf.cxx:122:5
>  #9 in SdrEditView::DoImportMarkedMtf(SvdProgressInfo*) at svx/source/svdraw/svdedtv2.cxx:2168:37
>  #10 in testImportSimpleText::TestBody() at sd/qa/unit/SdrPdfImportTest.cxx:122:32

and

> workdir/UnpackedTarball/afdko/c/shared/source/dynarr/dynarr.c:111:9: runtime error: call to function initCharset through pointer to incorrect function type 'void (*)(void *, long, void *)'
> workdir/UnpackedTarball/afdko/c/shared/source/cffwrite/cffwrite_charset.c:76: note: initCharset defined here
>  #0 in dnaGrow at workdir/UnpackedTarball/afdko/c/shared/source/dynarr/dynarr.c:111:9
>  #1 in dnaNext at workdir/UnpackedTarball/afdko/c/shared/source/dynarr/dynarr.c:162:13
>  #2 in cfwCharsetNew at workdir/UnpackedTarball/afdko/c/shared/source/cffwrite/cffwrite_charset.c:98:28
>  #3 in cfwNew at workdir/UnpackedTarball/afdko/c/shared/source/cffwrite/cffwrite.c:2236:5
>  #4 in cff_SetMode at workdir/UnpackedTarball/afdko/c/shared/source/tx_shared/tx_shared.c:1129:22
>  #5 in setMode at workdir/UnpackedTarball/afdko/c/shared/source/tx_shared/tx_shared.c:5585:13
>  #6 in EmbeddedFontsManager::mergefonts(rtl::OUString const&, rtl::OUString const&, std::__debug::vector<std::pair<rtl::OUString, rtl::OUString>, std::allocator<std::pair<rtl::OUString, rtl::OUString>>> const&) at vcl/source/gdi/embeddedfontsafdko.cxx:167:5
>  #7 in toPfaCID(SubSetInfo&, rtl::OUString const&, rtl::OUString const&, bool&, std::__debug::map<int, int, std::less<int>, std::allocator<std::pair<int const, int>>>&, rtl::OString&, rtl::OString&, rtl::OString&) at svx/source/svdraw/svdpdf.cxx:1197:14
>  #8 in ImpSdrPdfImport::convertToOTF(long, SubSetInfo&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, std::basic_string_view<char16_t, std::char_traits<char16_t>>, std::__debug::vector<unsigned char, std::allocator<unsigned char>> const&) at svx/source/svdraw/svdpdf.cxx:1674:10
>  #9 in ImpSdrPdfImport::CollectFonts() at svx/source/svdraw/svdpdf.cxx:328:27
>  #10 in ImpSdrPdfImport::ImpSdrPdfImport(SdrModel&, o3tl::strong_int<short, SdrLayerIDTag>, tools::Rectangle const&, Graphic const&) at svx/source/svdraw/svdpdf.cxx:122:5
>  #11 in SdrEditView::DoImportMarkedMtf(SvdProgressInfo*) at svx/source/svdraw/svdedtv2.cxx:2168:37
>  #12 in testImportSimpleText::TestBody() at sd/qa/unit/SdrPdfImportTest.cxx:122:32

but which has been suppressed at least for now with an

> __attribute__((no_sanitize("function")))

as that appears to be a pervasive issue with the dnaDCL macro defined in
workdir/UnpackedTarball/afdko/c/shared/include/dynarr.h

Change-Id: Ib259a660713fa87f45020fefa841483cf810fc45
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192733
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2025-10-20 23:31:46 +02:00
Xisco Fauli ae83e57750 poppler: upgrade to 25.10
Downloaded from https://poppler.freedesktop.org/poppler-25.10.0.tar.xz

Change-Id: I05f89f4177312a148a5a15cd1f1b206d1dc01a86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192743
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-10-20 21:19:32 +02:00
Xisco Fauli 802328a605 libgpg-error: upgrade to 1.56
Downloaded from https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.56.tar.bz2

Change-Id: I6aeb7723e94cffe6bdcad8cd6af74891210c4d26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192709
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-10-20 19:49:59 +02:00
Miklos Vajna d56e6cc6ec xmlsec: upgrade to 1.3.8
Downloaded from
<https://www.aleksey.com/xmlsec/download/xmlsec1-1.3.8.tar.gz>.

Remove 0001-const-up-xmlSecErrorsTable.patch, which is upstream already.

Change-Id: I633ed7ecc90b8d798aa9ae03a4237fda4cf26b47
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192476
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2025-10-16 12:00:30 +02:00
Justin Luth e83d015bb0 tdf#125600 hunspell patch: don't suggest itself as spelling correction
The example was kHz. The user wrongly spelled it as KHz.
But suggestions are always capitalized for a capitalized misspelling,
so correct suggestion kHz was being capitalized back to KHz.

Don't suggest a capitalized form of a correct suggestion
that exactly matches the wrongly-capitalized word being replaced.

if capwords: then the misspelled word is in caps (perhaps all caps)
mkinitsmall: now the misspelled word is first-char-lower-cased
if initsmallword == j: correct lowercase would match incorrect upper

Change-Id: I0622158ebf2cb65f070547e061f5136df0564051
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191755
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: Jenkins
2025-10-14 21:01:38 +02:00
Caolán McNamara 92eebd7c2a fix a crash with all whitespace value content
Change-Id: Ic46eebd10461935a1006f010dbb78dd68f448ddc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191675
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 446322ae5a99473ed88b518f0060cb7ecc004237)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192346
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-14 20:51:22 +02:00
Caolán McNamara 254a1e39ee fix build for system libxml that includes icu case
workdir/UnpackedTarball/icu/source/common/unicode/localpointer.h:67:1: error: template with C linkage

Change-Id: I08b0766a7b7a345bbb8b09bc191ecd16212400ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191537
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 56ae90c7f8c804a353f1de8508f2b0471fb44c1e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192334
Tested-by: Jenkins
2025-10-14 17:14:01 +02:00
Caolán McNamara 4297095d67 add afdko
for conversion of Type 1 fonts to OTF, see:
https://github.com/adobe-type-tools/afdko

Requires antlr4-cpp-runtime, see:
https://github.com/antlr

Change-Id: Id5845e8f62d09055e140fd987dc2545c7fc0c48d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191202
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
(cherry picked from commit 3d13970f18c6c578a6edd8f9669874ff96ae0143)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192332
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-14 17:13:19 +02:00
Rene Engelhard 67f81ec4fa fix system-abseil build in pdfium
after pdfium upgrade

Change-Id: I971742da40c69f1740afddcb472cb844ec217ad9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192361
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2025-10-14 08:34:02 +02:00
Caolán McNamara 7938297c41 fix pdfium build
Change-Id: Ica32d7cc97e0ff51ba9650af8d6916a0658849fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192331
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-13 21:38:07 +02:00