1138 Commits
Author SHA1 Message Date
Xisco Fauli ef1c7a1cb5 tdf#171533: drop obsolete bundled Scheherazade font
I had to replace "scheherazade" with "Noto Naskh Arabic", which
is a similar font, in vcl/source/font/PhysicalFontCollection.cxx
in order to avoid the following assert in gerrit_linux_clang_dbgutil
(not reproduced locally):

[_RUN_____] testBtlrCellChinese::TestBody
WPSDocument::isFileFormatSupported()
warn:sal.file:2772196:2772196:sal/osl/unx/file_misc.cxx:397: Invalid directory URL
warn:basic:2772196:2772196:basic/source/uno/namecont.cxx:949: Cannot access extensions!
warn:sal.file:2772196:2772196:sal/osl/unx/file_misc.cxx:397: Invalid directory URL
warn:basic:2772196:2772196:basic/source/uno/namecont.cxx:949: Cannot access extensions!
cppunittester: /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/vcl/source/gdi/impglyphitem.cxx:318: void checkGlyphsEqual(const SalLayoutGlyphs &, const SalLayoutGlyphs &): Assertion `l1 == l2' failed.

Change-Id: I26cd80cee639cf0e17d7e71c3abdc49bf984de9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202933
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-18 14:05:39 +02:00
Andrea Gelmini 6a1480506d Fix typos
Change-Id: I9d99aba8500ea31628e4b883974bb60181407647
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210562
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 22:08:01 +02:00
Đoàn Trần Công Danh 96b78726ab build: include Package_fontconfig on USE_HEADLESS_CODE
Commit 8f9d54f22f0[1] run postprocess Package_fontconfig on
USE_HEADLESS_CODE, but it is not enabled by Repository.mk.

On cross build with system fontconfig, build is broken.

 [1]: https://gerrit.libreoffice.org/c/core/+/194582

Change-Id: I2c95fd0256051a5f8325328d5217390d19d01139
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208714
Tested-by: Jenkins
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
2026-09-03 16:42:36 +02:00
Khaled Hosny 683c91234c vcl: Drop sftfuzzer
It fuzzes nothing now.

Change-Id: I539560993983ad0927a912cc26c141978c41785e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208915
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
2026-08-01 15:04:27 +02:00
Michael Weghorn 238d744178 canvas: Drop unused simplecanvas library/component
Library_simplecanvas contains the SimpleCanvasImpl
class, which implements the XSimpleCanvas UNO interface
and is the implementation for the
"com.sun.star.rendering.SimpleCanvas" service,
defined in the component file.

However, none of these are actually used anywhere.

Therefore, drop the simplecanvas library altogether.

Change-Id: I301b3a42dfb6eacf6a9ef3a4851ed1d38f16ec66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208852
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-08-01 07:36:02 +02:00
Hossein 71e1af3358 tdf#165585 Fix SDK lacking cross platform .NET binding files
In the past, LibreOffice cross platform .NET support could correctly
build binding files, but these files were not shipped. This patch fixes
the issue, and ships these files, as described below:

$ ls instdir/sdk/dotnet/
LibreOffice.Bindings.0.1.0.nupkg
nuget.config

$ ls instdir/program/dotnet
net_basetypes.dll
net_bridge.runtimeconfig.json
net_uretypes.dll
net_bridge.dll
net_oootypes.dll

Change-Id: I947aafbf45436855dfdb7ab5f3268f42b8a66511
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208294
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2026-07-22 16:01:49 +02:00
Andras Timar 5ecc5c1ad7 sccomp has been removed from engine
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia6691ce57969507ab5cb2994ceeff8edfedad80e
(cherry picked from commit a88b15ce2e927b7a0d3a01ce915313472e52a237)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208251
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-07-19 10:51:23 +02:00
Xisco Fauli 7aa439a963 Drop --with-docrepair-fonts
it was relevant to Collabora Office only

it reverts
commit 958cabd2e9
Author: Andras Timar <andras.timar@collabora.com>
Date:   Sat Jun 29 23:18:25 2024 +0200

    Bundle fonts of Google's DocRepair Project

and

commit cd8ad433f0
Author: Caolán McNamara <caolan.mcnamara@collabora.com>
Date:   Fri Aug 23 22:13:34 2024 +0100

    tdf#161941 add --with-docrepair-fonts option

Change-Id: I7b30bdf1676dfa9ccf70610f5f8e594136ca2b0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207534
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-02 14:37:00 +02:00
Rene Engelhard 17b18f35b2 add --with-system-quickjs
and use ENABLE_QUICKJS instead of the QUICKJS BUILD_TYPE profile in Repository*mk

Change-Id: I0120352bd2f2a0c2eb8d6a00441c74a30c990879
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203285
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
Tested-by: Jenkins
2026-04-30 10:39:37 +02:00
Neil Roberts 1d324602ba Add an XBrowseNode implementation for QuickJS
Adds an XBrowseNode implementation for JavaScript scripts using the
QuickJS bindings so that JS files can be found and executed from the
macro organizer. Unlike in Python macros, the entire source file becomes
a single macro instead of trying to find function definitions in the
source.

Change-Id: I73d0c6e6fc6bb7ffd4f6164d1f1887d03bfdfe62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203219
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-04-30 10:39:18 +02:00
Stephan Bergmann 6b31c63ec7 QuickJS-based JS UNO support
Somewhat loosely based on <https://github.com/allotropia/zetajs>.

Main part that is still missing from this WIP commit is implementing UNO objects
in JS.  (And there are a number of TODOs throughout, mostly regarding error
handling.)

===
Comments from Neil Roberts:

This patch was cherry-picked from
1cd8ad398b38763cb3578f1305a28e7774163714 in Collabora’s repo. The
following changes were made in order to get it to pass the CI:

* The unit test has been modified to continue using embindtest instead
  of testuno.
* The name of the external library is quickjs instead of qjs because a
  different patch is used to add the external QuickJS package.
* The asserts on argc that were captured in the lambda function have been
  moved outside of the lambda function in order to avoid having an unused
  capture on release builds. The argc parameter has then been marked as
  [[maybe_unused]].
* The constructors for JSClassDef have been changed to consistently use
  { } brace initialisers because otherwise it fails to build on macOS.
===

Change-Id: I8810e43fe5f3e4b1a53a654070fe87e95f51231a
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/190
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203963
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-04-30 10:38:54 +02:00
Neil Roberts e5900bee28 scripting: Add script provider helpers for files with single macros
Adds a set of helpers to implement a script provider where the script
files are the entire macro. The provider only needs to make a subclass
of the abstract SingleScriptFactory class to provide the filename
extension, language name and a method to convert the contents of a file
to an XScript. The parts about handling file browsing and reading the
file contents are in the shared helper code.

This is based on the script provider from Luno.

Change-Id: Id39f3a07e887898650b0d77ec493011fb5acc858
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203216
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-04-30 10:36:31 +02:00
Michael Weghorn 057f491458 tdf#170932 Allow building win vcl plugin alongside --enable-headless
commit 430f603c6a
    Author: Tor Lillqvist <tml@collabora.com>
    Date:   Tue Feb 25 19:52:15 2025 +0200

        Make --enable-headless possible also on Windows, for CODA-W

        [...]

        In the --enable-headless case, freetype, fontconfig and cairo are
        built. For now, cairo is built as a Library (DLL), but fontconfig and
        freetype as StaticLibrary. Possibly should change these to DLLs,
        too. (See preceding commits.) Do not build the vclplug_win.

had introduced support for --enable-headless on
Windows.

As described in the commit message, using the
--enable-headless autogen switch would result in vclplug_win
(i.e. the VCL plugin that provides the UI on Windows)
automatically getting disabled unconditionally.

As described in tdf#170932, this e.g. prevents using
headless mode for document conversion while still
allowing to start LO with a UI with the same build.

Separate the two features:
No longer disable vclplug_win automatically anymore when
--enable-headless is used.
Instead, introduce a new separate --disable-win
autogen switch to explicitly disable the win vcl plugin
(similar to other existing autogen params like
--disable-gtk3 to disable the gtk3 VCL plugin on Linux).

Add that new --disable-win switch to the
CODAWindows distro config, to achieve the original
goal of both enabling headless and disabling vclplug_win
for that build configuration.

Change-Id: I54bc34981327244aa1c8b0aa5b6277ffd1fb4531
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202043
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-03-19 12:45:03 +01:00
Xisco Fauli f42a3ffb9e tdf#167563: drop obsolete bundled Gentium font
Manually replace GentiumBasic with NotoSans in tdf66597-3.odt
Test testTdf66597_3 still fails if
commit d337222359
Author: Khaled Hosny <khaledhosny@eglug.org>
Date:   Sun Apr 29 01:00:20 2018 +0200

    tdf66597: Fix a typo in detecting cluster start

is reverted with

Test name: (anonymous namespace)::testTdf66597_3::TestBody
equality assertion failed
- Expected: 4
- Actual  : 0
- Number of ActualText entries does not match!

Change-Id: I6634ce703e1db81d44ea12d745464e8881fa2e7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199086
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-02-12 12:58:12 +01:00
Karthik 4fb31ea85f tdf#105933 GSoC: New Dialog to Edit Table Styles
- Introduce 'SvxAutoFormat' which combines the common funtionality of
Writer and Calc Autoformats.
- Replace module specific 'AutoFormat' dialog and preview with shared
dialog and preview in 'svx'.
- tdf#49437: Load and Save Autoformats through XML instead of
'autotbl.fmt'.
- New Dialog to edit and create table styles shared b/w Writer and Calc.

Change-Id: I7fa108e527141c05703e0e14298eea818fd10378
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190024
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2026-02-04 14:02:33 +01:00
Tor Lillqvist 430f603c6a Make --enable-headless possible also on Windows, for CODA-W
We variously look at both ENABLE_HEADLESS and USE_HEADLESS_CODE to
check for the --enable-headless case. Are both really needed?

In the --enable-headless case, freetype, fontconfig and cairo are
built. For now, cairo is built as a Library (DLL), but fontconfig and
freetype as StaticLibrary. Possibly should change these to DLLs,
too. (See preceding commits.) Do not build the vclplug_win.

Windows-specific fixes to the headless vcl code, and headless-specific
fixes to some Win32 vcl code. Use <tools/UnixWrappers.h> where
appropriate instead of <unistd.h>, <sys/mman.h>, etc.

fontconfig already has code for Windows, but likely things will break
on machines with a non-ASCII name for the Windows fonts directory, or
for funky font names. Should eventually make it use the new
<tools/UnixWrappers.h>.

Change-Id: Id3a1313083b1c7c44b0b26819c1ffb5138e15bc4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194573
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196980
Tested-by: Tor Lillqvist <tml@iki.fi>
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-01-11 08:34:27 +01:00
Caolán McNamara 6979ea8b9e build soffice launcher regardless of USING_X11
Change-Id: Id705465b3ce55322b157cc5590023671a191d527
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195610
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2025-12-14 21:19:38 +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
Noel Grandin 1bd04a5413 [API CHANGE] remove XPivotTableDataProvider
in favor of a regular C++ interface class, since this is purely used internally to LO

Change-Id: I84991efb1b0c8829e2175dc083b0f8627fcb1712
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194512
Code-Style: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-11-26 10:06:23 +01:00
Gabor Kelemen 4b1ef239c4 Revert "Unbreak build on sdext translations"
This reverts commit e72efd1527.

Reason for revert: translations repo update added the missing sdext.po 
files in commit 510e00c2a2d916e56a05a6d09ba28633ec9f23f1

Change-Id: Ib409fbb9f2d9e36940d5d77aab6a7c48f422438d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194291
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2025-11-23 20:01:05 +01:00
Gabor Kelemen e72efd1527 Unbreak build on sdext translations
Change-Id: I1280b736c14b4d26048462212b713340608d783d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193771
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2025-11-11 06:24:26 +01:00
Gabor Kelemen f86a784f8f tdf#61950 Move Presentation Minimizer UI strings out of officecfg
Change-Id: I8a9bba8cdde89a87340ed9dd46dbac53b6806e9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193654
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2025-11-10 15:32:38 +01:00
Caolán McNamara ab0cec1146 add oss-fuzz pdf2fodg fuzzer
Change-Id: I5cb7653339c6280ee7b8f208ce92a771cb1dcc17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192134
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-10 13:32:14 +02:00
Mohamed Ali 3d75577640 Rust Bindings: Add extension-based UNO integration with FFI architecture
Implements LibreOffice extension providing Rust language binding for UNO API
using opaque pointer FFI architecture with type-safe handles.

Extension Features:
- User-controlled execution via "Rust UNO → Example" menu
- Optional installation/removal through LibreOffice extension system
- Complete Writer document manipulation example

Technical Implementation:
- Generated Rust wrappers for all UNO types via rustmaker
- C++ extern "C" bridges with proper UNO integration
- Type-safe opaque handles (XTextDocumentHandle, etc.)
- Extension architecture following LibreOffice standards
- Menu integration via Addons.xcu and ProtocolHandler.xcu

Architecture:
- Rust RAII Wrappers ↔ C++ extern "C" Bridges ↔ LibreOffice UNO
- Extension packaging with rust_uno-example.oxt
- Integrated build system with CustomTarget and Library makefiles

Build Commands:
./configure --enable-rust-uno

Extension Structure:
- rust_uno/example/ - Extension source files
- workdir/Extension/rust_uno-example.oxt - Packaged extension
- Automatic installation during LibreOffice build

Runtime Validation:
Successfully demonstrates complete UNO integration:
- Desktop service creation and XComponentLoader interface
- Writer document loading via loadComponentFromURL
- Text manipulation through XTextDocument and XSimpleText
- Proper interface querying and method invocation

GSoC 2025: Rust UNO Language Binding

Change-Id: I5cecb8ebd05aab396f444488c0ee2a9d483a9f62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186425
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-09-11 21:39:08 +02:00
Mohamed Ali d9f05dc007 Rust Bindings: Add rustmaker (Rust codemaker)
The rustmaker provides comprehensive support for converting UNO type definitions into idiomatic Rust code with proper memory safety and type system integration.

Also adds the RustFile, RustOptions, and RustProducer classes to handle
Rust code generation, file management, and command line option parsing
for various UNO type kinds such as enums, structs, and interfaces.

Change-Id: Iaf87af13352c55e81c1745ef7a8f591c3e61e0a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188088
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2025-09-11 21:38:59 +02:00
Manish Bera 2bdf17ee6e Add initial scaffolding for pythonmaker
This commit introduces the 'pythonmaker' executable, a new tool in the
codemaker module.

pythonmaker generates Python type stub files (.pyi) from UNO IDL type
libraries (.rdb files). This enables static type checking and modern
IDE features like auto-completion for developers writing Python scripts for LibreOffice.

This commit includes the complete, feature-complete tool capable of handling all major IDL entity types (enums, constants, typedefs,
structs, exceptions, interfaces, services, and singletons).

Change-Id: I52f783aa982e1de04a207a9a884aee207f99d193
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185498
Tested-by: Jenkins
Tested-by: Hossein   <hossein@libreoffice.org>
Reviewed-by: Hossein   <hossein@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-08-28 15:21:01 +02:00
Stephan Bergmann a8c080bb3e Add --enable-embindtest-uno
...to enable "the UNO parts (types and servie implementation) of the embindtest
framework (which can also be used independently of the Emscripten build)."  And
which e.g. both last year's Lua GSoC project and this year's Rust GSoC project
(<https://gerrit.libreoffice.org/c/core/+/186425> "Add core UNO types for Rust
language binding") enabled locally in their respective dev builds.

Change-Id: I8cf917fbcdaf73e244bd84689a1f29f3aa95f923
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189363
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-08-11 18:02:08 +02:00
Michael Weghorn a804198424 reportdesign: Merge Library_rptxml into Library_rpt
This will allow creating instances of the C++ classes
involved in XML export directly from rpt instead
of going via the UNO service constructors/abstraction
to do so (currently in OReportDefinition::WriteThroughComponent).

Writer also doesn't split the core model and XML export logic
in into separate libraries (see sw/Library_sw.mk).

rpt pch was updated using this command:

    ./bin/update_pch reportdesign rpt --cutoff=9 --exclude:system --include:module --include:local

Change-Id: I40a0fbe4bb3ef679b2255f891e8a6b67d442fd5b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187910
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-07-16 07:47:24 +02:00
Noel Grandin 51d0a6ec74 remove remnants of gendict
the bulk of it was removed in
    commit 14c6cde779
    Author: Jonathan Clark <jonathan@libreoffice.org>
    Date:   Mon Apr 15 17:10:51 2024 -0600
    tdf#49885 Updated CJK BreakIterator to use ICU

Change-Id: I576b992c41c915c091548467b1eab8ac761f7097
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187908
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-07-15 15:29:21 +02:00
Xisco Fauli 22d1fb90b2 tdf#135580: remove Euro converter wizard
It was removed from the menu in
commit d6774abbd3
Author: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Date:   Thu Dec 17 19:27:09 2020 +0100

    tdf#135580 remove Euro Conversion wizard from menu

and in the ESC meeting from 2020-Dec-17, it was agreed
to drop the code for 7.2 but it never happened.
https://lists.freedesktop.org/archives/libreoffice/2020-December/086488.html

Change-Id: Id49fe6e056767e3a19525a26195c545763f4492d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187074
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-06-27 15:33:30 +02:00
Caolán McNamara 61eb2261e1 add an eot fuzzer
Change-Id: I419c3717f168e3bfbdbee2ac4b6b2f1eb2540bd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185887
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-05-27 21:28:47 +02:00
Christian Lohmaier 9e348f9c5b no longer add the 64bit windows explorer extensions to the 32bit build
those were from a time where there was 64bit Windows, but no 64bit
builds of LibreOffice/OpenOffice.org - now the only usecase for 32bit
LibreOffice is to use it on 32bit-only machines…

Change-Id: Icf1eacafd9e157788e8ec5a035716327492f5c2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185565
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2025-05-24 23:40:41 +02:00
Christian Lohmaier 396c9dd4a4 don't add 64bit activex component to 32bit builds anymore
makefile stuff anymore, there's still code that can be removed from the
actual code (partly reverting 8f6b5370be
that added support for using 64bit Internet Explorer with 32bit Office

Change-Id: Id0c59e2ef2f4c87a04f18ea54ed04f4337ea6c73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185564
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2025-05-24 23:40:34 +02:00
Noel Grandin e09f212f91 merge chartcore and chartcontroller libraries
there is no good reason to keep these separate

Change-Id: Ib484dbd5d331b0d1a117f5fc2e331123c4e70d82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183478
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-03-29 18:53:26 +01:00
Miklos Vajna b320ade8f9 sd: move SdTiledRenderingTest to a new Library_sdqahelper
Towards not including .cxx files in Impress tests.

Change-Id: I8b50bd79ff36856f878529205d98d4b3299855de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182805
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2025-03-12 15:44:32 +01:00
Noel Grandin 5357da349b Revert "remove canvas/cairo and canvas/gdi and canvas/directx backends"
So the vclcanvas backend is in worse shape than I thought. It will
take too long to get it into shape to be sure of making the next
release, so revert this for now, and I will have to find another
approach.

This reverts the following commits

commit fbefe07e4c
Author: Michael Weghorn <m.weghorn@posteo.de>
Date:   Thu Feb 20 09:42:14 2025 +0100

    qt: Remove now unused vcl/inc/qt6/QtSvpSurface.hxx

commit 595354ab7e
Author: Julien Nabet <serval2412@yahoo.fr>
Date:   Wed Feb 19 21:13:49 2025 +0100

    Remove also canvas/cairo in gtk4, qt6 and gtk3_kde5

commit d539f6e99e
Author: Noel Grandin <noelgrandin@gmail.com>
Date:   Wed Feb 19 18:15:30 2025 +0200

    fix "local variable is unused" warning

commit 704f61b1bd
Author: Noel Grandin <noelgrandin@collabora.co.uk>
Date:   Wed Jan 29 15:35:21 2025 +0200

    remove canvas/cairo and canvas/gdi and canvas/directx backends

Change-Id: I0492dabf7da8c42a15720c868f161919e8dc7ae4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181984
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-02-21 10:40:31 +01:00
Noel Grandin 704f61b1bd remove canvas/cairo and canvas/gdi and canvas/directx backends
These were originally created to better support alpha/transparency
in slideshows, but vcl can do that these days.

Mostly, removing these makes the path to better backends (e.g. GDI+)
in vcl considerably easier.

If regressions are detected, it would be better to improve vcl
to perform better, or render better, since that will both fix
the regression and improve other output from LibreOffice.

Also remove various bits of vcl backend that were only being
used by the canvas stuff.

Change-Id: Ic5276d57e696f3dcbeaed2cc149b8fc09c5816f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181843
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-02-19 17:04:28 +01:00
Andras Timar a76a0ca930 Remove obsolete Numbertext 0.9.5 extension
There is no point to bundle it, because
1) it is an old version
2) since LibreOffice 7.5 there are built-in number formats in
   Calc with the same functionality (using libnumbertext FWIW)

Change-Id: I8cfb24f7e6f045bd51fea620aca6a61269dba77a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180996
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2025-02-01 16:47:45 +01:00
Tomaž Vajngerl a8e0de1b5d doctheme: add LibreOffice theme file to LO share folder
Change-Id: Ifa38b69739d82d1f2efdfca58a2e0d6f9ff69008
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180416
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2025-01-20 01:40:41 +01:00
Patrick Luby 3eb7cdd6ec tdf#35361 Add a Quick Look plugins for .od* files on macOS
Implement simple Quick Look plugins that generate a preview and/or
thumbnail image using Apple's latest Quick Look APIs. The approach
is to load and render any thumbnail images that may have been
embedded in .od* files when they were last saved.

Fortunately, LibreOffice, OpenOffice, and NeoOffice have been
saving thumbnail images by default in .od* files since at least
the mid-2000s so this approach should work with most unencrypted
.od* files.

Note: the plugins appear to work in unsigned builds using the
following steps to enable them:

1. Install LibreOfficeDev.app from an unsigned .dmg (e.g. nightly
   master builds) but the plugins in instdir/LibreOfficeDev.app
   in a local build are not usable.

2. Launch LibreOfficeDev.app to register the plugins.

3. Launch the System Preferences application, navigate to the
   Login Items & Extensions panel, and in the Extensions section,
   click on the icon next to the Quick Look entry to see a list of
   installed extensions.

4. If macOS has successfully found and loaded the plugins, there
   should be two extensions listed under LibreOfficeDev. If they
   are disabled, enable both.

5. Press Command-Option-Escape, select the Finder in the dialog
   that appears, and press the Relaunch button.

The Finder should now display the thumbnail images in .od* files.

Change-Id: I094afbc56b684cc85b12ed996e060818bfe8ad46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178393
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2025-01-10 21:19:33 +01:00
Michael Weghorn 9283da8585 a11y: Merge accessibility module into vcl
Now that the accessibility module no longer
depends on toolkit and svtools and there's
therefore no more cyclic dependency, merge it
into the vcl library, where the vcl widgets are located,
for which the classes in the accessibility
module (primarily) provide the a11y classes.

Initially, take over the existing UNO service
"com.sun.star.accessibility.comp.GetStandardAccessibleFactoryService"
to vcl as is. It used to be necessary to break the cyclic
dependency between the vcl, svtools, toolkit and
accessibility module. (vcl is the lowest and
accessibility used to be furthest up in the dependency
chain; yet vcl needed it to create the objects
providing the XAccessible/XAccessibleContext
for its widgets.)

Further simplification can happen in upcoming commits.

Change-Id: Ib46c87446dc9121d3b8e735e0e5a40594da73cc5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178647
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-12-17 22:56:51 +01:00
Caolán McNamara 2388501ed8 Reapply "add an autotext 'common' directory like templates/common"
This reverts commit 331bcad4db now
there is a fix for the problem that triggered the revert.

Change-Id: I4acacd51d5799e80dfa42a0433278e684d82a860
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178577
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-12-16 14:33:15 +01:00
Stephan Bergmann 10a5c3162a Include the org.libreoffice.embindtest infrastructure in all Emscripten builds
...not just --enable-dbgutil ones, which gives more flexibility in using that
infrastructure downstream.  (The unotest/source/embindtest/embindtest.js code is
still only included in desktop/Executable_soffice_bin.mk for --enable-dbgutil
builds, though.)

Building unotest/source/embindtest/embindtest.cxx also outside of
--enable-dbgutil, and thus implicitly --enable-assert-always-abort, builds
required moving from assert() to some hand-crafted verify().

Change-Id: I3f0fa00feee25b4ea6e7866c22a5b4a4d40cb3d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178361
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-12-12 16:02:22 +01:00
Mike Kaganski ec0a49ecc7 Windows 7-8.1 support was removed, prevent install on these old systems
There is no simple "Windows is 10 or newer" check in MSI, with the
Microsoft policy of "you don't need to know real Windows version".
See also https://developercommunity.visualstudio.com/t/detect-a-windows-version-from-msi/412198

The values that MSI sees (e.g. on my Win11) are:

Property(C): VersionNT = 603
Property(C): VersionNT64 = 603
Property(C): WindowsBuild = 9600

So those can't be used for the check. I use the WINMAJORVER that is
read from registry (Software\Microsoft\Windows NT\CurrentVersion).

There is no more need to check and install UCRT; it was dropped.

Change-Id: Ic02d6aeb965e9684bafd4357f969980f77000e73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178049
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-12-07 20:06:46 +01:00
Caolán McNamara 55baaa526c for --without-templates still generate the template/common/presnt dir
but leave it empty

Change-Id: Ie7f95f6d01c669598305e24472c357c1b92ad1f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177353
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Rashesh Padia <rashesh.padia@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit e393a739fa890aeb77f189b62de4356043211490)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177392
Tested-by: Jenkins
2024-11-27 12:33:43 +01:00
Caolán McNamara 331bcad4db Revert "add an autotext 'common' directory like templates/common"
This reverts commit 3b267b65d2.

reports of test failures at:
https://gerrit.libreoffice.org/c/core/+/176508

Nothing depends on this right now, so I'll have second go at this later.

Change-Id: I95999f05c69fa9b2459128116927616b1f6a9ca5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176743
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-18 22:24:27 +01:00
Hossein f1c1a1b809 Add minimal vcl weld example application
The "minweld" is a minimal standalone vcl application that uses the
LibreOffice vcl weld framework to display the "tip of the day" dialog on
the screen. Upon clicking on the "Next Tip", a counter is incremented
and the text label containing its value is displayed/updated in the
center of the dialog box.

One can run the application by invoking:

    ./bin/run minweld

This example uses cui/ui/tipofthedaydialog.ui for the UI, but only uses
a few elements of it.

Change-Id: If304c60ddb262182cf23438ed1f83dba85e66391
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176610
Reviewed-by: Hossein   <hossein@libreoffice.org>
Tested-by: Jenkins
2024-11-15 10:01:45 +01:00
Caolán McNamara 3b267b65d2 add an autotext 'common' directory like templates/common
for language neutral autotexts

Change-Id: Id3202981c28071a8100a6ce730274788c80a2867
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176508
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-14 16:22:29 +01:00
Caolán McNamara b1ecafb240 Remove archaic xmerge
Formats like Aportisdoc can be opened via
org.libreoffice.comp.Writer.EBookImportFilter instead.

It doesn't look like there will be any support implemented for Nokia
9210 Communicator PsiWord. No particular burning demand for that
anymore apparently.

Removal of the filters that used xmerge took place at:

commit a5783fe922
CommitDate: Sun Mar 3 19:19:26 2013 +0100

    remove stale javafilters

Change-Id: I0a0087fb2ee015de42c1802b5e9bc6dc42a5efe1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174563
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-10-24 16:28:18 +02:00