* Update translations from branch 'master'
to cb6093201d3db06cb268ba9c1ba91ab717998174
- update translations for master
and force-fix errors using pocheck
Change-Id: Id7c6f38c6136c8b559e3af09fc0dd6bf54d914bf
With GCC 15.2, compiler produces this error message:
[LOC] top level modules: odk
odk/source/unoapploader/unx/unoapploader.c: In function ‘createCommandName’:
odk/source/unoapploader/unx/unoapploader.c:285:13: error: assignment discards
‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
285 | sep = strrchr( prgname, SEPARATOR );
| ^
cc1: all warnings being treated as errors
By defining sep as "const char*" instead of "char*", the problem goes away.
Change-Id: If1d628dba8bb4ec657b916fa61927b250d3039c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202942
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
Other than on Linux, library file names don't have a "lib"
prefix on Windows.
Change-Id: I1019ea4cc8c778c46ab2c8acca60623631dc7092
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202958
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
The package supporting the “pdfium” library has been improved.
Numeric values have been converted to a fixed-size enumeration type.
The changes apply to all occurrences of the older version of this code.
Change-Id: Ie9d0bd98d7c323f890ac3051bb1f08a50d51e046
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201303
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Enhancement for Writer Navigator to make grouped drawing object entries
expandable to show drawing objects in the group.
Change-Id: Iae6a20c50379e2f5473848bea649f4c0db593d72
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200914
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Tested-by: Jenkins
. . . for improved RTL support
This includes wide variants for both wideleftvec and wideleftharpoon. OpenSymbol has been updated to include uni20D0 COMBINING LEFT HARPOON ABOVE and uni20D6 COMBINING LEFT ARROW ABOVE.
Change-Id: Id7f4ce2d3aad493a731f6b1be736c0aa8faa2027
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202922
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
This patch makes it possible to build LibreOffice with Qt6 VCL plugin on
Windows.
In the configuration stage, it is required to add --enable-qt6 to the
configuration options, and also set the QT6DIR to the place where Qt6 is
installed:
export QT6DIR=/cygdrive/c/qt/6.10.2/msvc2022_64
When building with --enable-headless in addition, Cairo
based rendering is used by default, but the QFont based rendering
can explicitly be enabled by setting environment variable
SAL_VCL_QT_USE_QFONT=1 when starting LibreOffice, as is the case on
Linux.
When using the QFont based rendering, two asserts related
to logic related to alpha/transparency support not fully being implemented
for that rendering path yet are triggered (in QtVirtualDevice::SetSize
and QtGraphicsBackend::getBitmap). They can be commented for
further experiments. That also matches the behavior seens on
Linux.
For a debug build of Qt, the file names of the libraries include
an additional "d" in fron of the ".lib" file extension, e.g. a file
name of "Qt6Widgetsd.lib" instead of just "Qt6Widgets.lib",
so support both variants in configure.
This is partially based on a previous commits from jmux for Qt5 in 2018.
One may see the old patches using:
$ git checkout remotes/origin/feature/qt5-win+mac
A subsequent patch is planned to add Qt6 support for macOS.
Co-authored-by: Jan-Marek Glogowski <glogow@fbihome.de>
Co-authored-by: Michael Weghorn <m.weghorn@posteo.de>
Change-Id: I42a3059c738fa95464fa49ae4aab1c9f686fee46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199615
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Hossein <hossein@libreoffice.org>
If QT6DIR is set, search for moc (Qt's meta object compiler)
also in the "bin" subdirectory, which is where moc is placed
in Qt installations on Windows, unlike the "libexec" subdir
that (typically) gets used on Linux.
Only use the $QT6DIR subdirectories when the QT6DIR variable
is actually set (i.e. don't add /bin or /libexec to the search path
otherwise, which was previously the case for /libexec, though
other than /bin that doesn't typically exist on a Linux
system) and give the $QT6DIR subdirectories the highest
preference by putting them first.
This prepares for the pending Gerrit change [1] to
support the qt6 vcl plugin also on Windows.
[1] https://gerrit.libreoffice.org/c/core/+/199615
Change-Id: I38d5f7116368e10b12a242bd1ad122a5f4a82736
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202905
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
When DOCX imports a frame
that has been defined by paragraph properties (framePr),
it simply flags that with a grabbag.
Do the same for DOC import.
That is because you CAN have fly-in-framePr,
but you can't have fly-in-fly,
and that was how we were importing DOC previously.
This matters at export time,
since DOCX reports a file as corrupt if it has fly-in-fly.
make CppunitTest_sw_ooxmlexport27 \
CPPUNIT_TEST_NAME=testTdf171527_flyInFramePr
Change-Id: Iace48a119194baa580206140f9564de8d4e0ab1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202892
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Move the list of printers from WindowsInstance
to the WindowsInstanceData owned by WindowsInstance,
to make this consistent with other data owned by
the WindowsInstance, see previous commits
Change-Id: I409a0b05fea9a538c97c493fead9836f01665ed1
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Fri Mar 27 17:13:41 2026 +0100
vcl win: Move temp font paths from SalData to WindowsInstance
and
Change-Id: I1f3719d5bccb6af2d661050de23770896494db4a
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Sat Mar 28 01:16:09 2026 +0100
vcl win: Move text renderers from SalData to WindowsInstance
that introduced WindowsInstanceData and moved other
members from SalData to that new struct after
commit b343973bc4
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Fri Mar 27 10:16:40 2026 +0100
vcl win: Move printers list from SalData to WindowsInstance
had previously moved the printers list directly to WindowsInstance
when WindowsInstanceData didn't exist yet.
Change-Id: I7c1c68e0b2cb38eb1be59a4bb96953a8ccd3f577
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202898
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Instead of having the text renderers owned by the Windows-
specific SalData, let them be owned by WindowsInstance,
by moving them to the WindowsInstanceData struct introduced
in previous commit
Change-Id: I409a0b05fea9a538c97c493fead9836f01665ed1
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Fri Mar 27 17:13:41 2026 +0100
vcl win: Move temp font paths from SalData to WindowsInstance
to move another member for the same reason.
Storing this in the WindowsInstance makes sure
that this also works for WindowsInstance subclasses
that don't use the Windows-specific implementation
of SalData.
This will be relevant for the qt6 vcl plugin on Windows
(see WIP change at [1] when using Cairo rendering
(with the --enable-headless autogen switch enabled)
where GenericUnixSalData will be used for the
SalData implementation in order to get FreeType
and Fontconfig support, but the text renderes
now moved to the WindowsInstance are still used
in the process of printing, so need to be available.
[1] https://gerrit.libreoffice.org/c/core/+/199615
Change-Id: I1f3719d5bccb6af2d661050de23770896494db4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202897
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Instead of storing the paths for temporary fonts
in the SalData, let them be owned by WindowsInstance,
by introducing a new WindowsInstanceData struct
that initially has a `m_aTempFontPaths` member
that replaces the previous SalData::maTempFontPaths.
Storing this in the WindowsInstance makes sure
that this also works for WindowsInstance subclasses
that don't use the Windows-specific implementation
of SalData.
This will be relevant for the qt6 vcl plugin on Windows
(see WIP change at [1] when using Cairo rendering
(with the --enable-headless autogen switch enabled)
where GenericUnixSalData will be used for the
SalData implementation in order to get FreeType
and Fontconfig support, but the temporary fonts
now moved to the WindowsInstance are still used
in the process of printing, so need to be available.
[1] https://gerrit.libreoffice.org/c/core/+/199615
Change-Id: I409a0b05fea9a538c97c493fead9836f01665ed1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202896
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Sync the one in the base class with the comment in
the PspSalInfoPrinter subclass, tune grammar a bit,
and drop the comment in the subclass as it's not
specific to that one.
Change-Id: Ib37aafc07346e521785b58719460d07f3a1316f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202844
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
... instead of by pointer. This makes clear they're
always non-null (and allows to drop corresponding
checks done in one, but not all implementations).
Change-Id: Icb459121fe637a1d0f63c192af3bbc360bef6547
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202843
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Instead of having PrinterInfoManager::listPrinters as a getter
that returns the keys in the std::unordered_map and then calling
PrinterInfoManager::getPrinterInfo for each of the keys to get
the corresponding entry again, add a new getter to return
a const ref to the map and iterate over that one directly
in SalGenericInstance::GetPrinterQueueInfo and
SvpSalInstance::GetPrinterQueueInfo.
Change-Id: I36a0ec712bd8f815c2de51afcdd7f7a605a28ab0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202842
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
After
Change-Id: Ic1d5c510c7a69de53d760aa3fc9729c61a31aa10
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Fri Mar 27 04:59:41 2026 +0100
vcl: Drop PrinterInfoManager::Printer::m_aAlternateFiles etc.
, the PrinterInfoManager::Printer struct now only has a single
PrinterInfo member.
Drop the struct, and use PrinterInfo directly instead.
Change-Id: I88f05675cdf1ecfa8ba26974c6f4a704ee415315
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202841
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
PrinterInfoManager::Printer::m_aAlternateFiles is only written
to, never read from, apparently since
commit 1534025a03
Date: Sun Sep 23 08:48:06 2018 +0200
loplugin:methodcycles more graph theory for the win
Drop it.
This also makes PrinterInfoManager::Printer::m_aFile useless,
so drop that as well.
Change-Id: Ic1d5c510c7a69de53d760aa3fc9729c61a31aa10
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202840
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
... instead of by pointer. Also make the method private. It's only
used internally.
Change-Id: I6d9c539ca0b8181294492d341c04d6990ef51dc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202777
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This method is now already defined in the header since
commit 8f4c0c4fa6
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Wed Mar 11 04:10:27 2026 +0100
vcl: Have a default SalGenericInstance::PostPrintersChanged impl
, so drop the earlier dummy implementation for iOS.
Change-Id: Ifabb4c1030aa2f351af44f2959f6c439f593908e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202769
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
... instead of by pointer.
This also allows dropping a null check in
AquaSalInstance::CreateInfoPrinter.
Change-Id: Ibd8045ec0560e6490c54ad45266cc369eece2363
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202766
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Use the more specific D2DWriteTextOutRenderer type from the
start instead of casting later in TextOutRenderer::get.
Change-Id: I3e1b7650fd0262b98f7b13357fbc373efaa845eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202887
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Instead of having a `qt6_test_library` var that includes both
the base name and the suffix, have the suffix in a separate
variable. This will make it easier to support Windows as well,
where the suffix can be either just ".lib" or "d.lib", because
libraries built with debug symbols have the extra "d" in the name.
(Prepares for supporting debug builds of Qt in pending WIP
change [1] to support the qt6 VCL plugin on Windows.)
[1] https://gerrit.libreoffice.org/c/core/+/199615
Change-Id: I57f916189ea62b630a88f3977c89c4e9382a574b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202883
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
After previous commit
Change-Id: I1133854b67e526092e4939e685c6812b9292ca21
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Fri Mar 27 11:16:51 2026 +0100
vcl win: Use std::unordered_set for temp font items in SalData
, the TempFontItem struct only has a single OUString member.
Use OUstring directly and drop the TempFontItem struct.
Change-Id: Ic46246d68a3554afe9c7d909bc4c23f66844aa41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202863
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
... instead of manually implementing a linked list.
The order of the elements is irrelevant and there
is no need to store duplicate elements, so an
unordered set seems appropriate.
Further simplification will follow in an upcoming commit.
Change-Id: I1133854b67e526092e4939e685c6812b9292ca21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202862
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>