Commit Graph
1071 Commits
Author SHA1 Message Date
Heiko Tietze dd889b2903 Resolves tdf#159573 and tdf#137931 - WhatsNew or Welcome dialog
To test the new dialog, change org.openoffice.Setup > Product > ooSetupLastVersion to some lesser value for the WhatsNew dialog or clear the entry for the Welcome version.

Change-Id: Iec6de50edba0e5430e82f1db85e61d1e4501771d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163739
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-03-27 09:41:44 +01:00
Caolán McNamara c38b5d7cea add a sc-html fuzzer
Change-Id: I0d74859e276bfa98d8abf7b2e66600f849971468
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164956
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-20 18:24:17 +01:00
Noel Grandin 53c5d570ca fods2xls fuzzer
Change-Id: I095178b1b3c61829abf5c08b8b81cd7415e3e795
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162747
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-19 22:35:06 +01:00
Stephan Bergmann eb35b4293e Add a favicon to the Wasm build
...to avoid "GET http://localhost:6931/favicon.ico 404 (File not found:
instdir/program/favicon.ico)" errors in the browser console.  The checked-in
static/emscripten/favicon.ico is a copy of
<https://www.libreoffice.org/themes/libreofficenew/favicon.ico>.

Change-Id: Ib40b3f159879cc39244bd81d7fc8a36cc8c7184a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163827
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-02-24 00:06:13 +01:00
Stephan Bergmann d0cb804f7a Framework for some UNOIDL to test the Embind UNO binding with
It is only built for --enable-dbgutil builds.  Load
instdir/program/qt_soffice.html in a browser and see "Running embindtest" in its
console.  For now, it only contains a Test singleton with an empty XTest
interface, which is meant to grow additional methods over time.

(The code needs to reside in the unotest rather than in the static module, or
else the wasm build would run into cyclic dependencies.)

Change-Id: I6f65f0c904648a4fd96fc6215c8d59a1544f48a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163693
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-02-22 08:15:30 +01:00
Noel Grandin 6361a93985 merge desktop_detector library into vcl library
Noting that the main feature of using a separate library - avoiding
linking against SM and ICE -  is no longer a thing, since we have not
used those in some time.

Change-Id: I9ecd6758e97f0fa19b224346aa577a04b46793b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163638
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-20 12:34:34 +01:00
Noel Grandin 191e3f8d89 merge textconv_dict into i18npool
(*) it is a small library
(*) this avoids more dynamic symbol lookup
(*) this unblocks more --enable-mergedlibs optimisation

Change-Id: Icb708828e9d711981ec4273351cd73343aa206d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163596
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-19 20:33:57 +01:00
Noel Grandin de43ed1088 merge index_data into i18npool
(*) it is a small library
(*) this avoids another dynamic symbol lookup
(*) this unblocks more --enable-mergedlibs optimisation

Change-Id: I9230230c3d72f4e9ce19408f4b5716452ccd4fad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163364
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-15 08:58:34 +01:00
Noel Grandin 028affcf44 Revert "merge sdui library into sd"
This reverts commit 2cf7c26293.

Reason for revert: 

<_rene_> noelgrandin: sdui->sd... and what about people not needing that ui?
<_rene_> (e.g. --disable-gui and libreoffice-draw-nogui and impress-nogui)
<_rene_> i.e. the use case of --convert-to for ppt(x) etc

Change-Id: I6755c209e63f34b3fc9f9fdc4af7001b18579e8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163348
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-15 08:57:53 +01:00
Noel Grandin 2cf7c26293 merge sdui library into sd
which eliminates another dynamic-symbol lookup and another complication
which was making it harder to do better with --enable-mergedlibs

sd is relatively small, so even the combined library is not as big as
one of the sw and sc libraries

Change-Id: Ibef8077d70a5abc7361c95f5dbb8c43447610188
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163302
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-14 12:43:43 +01:00
Noel Grandin 70cc059b7b merge collator_data library into i18npool
they are both small libraries and this is one less library to
dynamically link in at startup time

Change-Id: I1b36ba1b11b9d69deea3fe0d91b512328d0a42a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163165
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-12 09:55:40 +01:00
Stephan Bergmann cbae6e581a Let embindmaker also generate a .js file with more natural names
(i.e., Module.unoembind_uno.com.sun.star... vs. Module.com$sun$star$..., and see
the updated examples in static/README.wasm.md for further shortening that to
just css...)

Change-Id: I6dc079caa8c93a4042a6a8aa2d8fcc8f76bf80f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162580
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-25 18:31:42 +01:00
Stephan Bergmann b2ade3e63e Extract embindmaker from cppumaker into its own tool
...that directly generates one large .cxx

Change-Id: I046539b83f8fde5eda7168c93a8b819137399665
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162343
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-21 15:51:39 +01:00
Christian Lohmaier fcff7f7261 tdf#159243 fix packaging of Noto fonts/fix Armenian UI on macOS
different packages must not share the same package name

Packages create corresponding packagename.filelist files that are used during
the installset creation process. When multiple packages share the same name,
it is random (depending on the order make decides to build the targets) which
package will actually be included in the installation set. The last package
will "win" and have its file stored in the filelist and thus will be part of
the installation set, all others will not be considered.

Change-Id: Ieffd2addf6d59916c0c1fe01c64866472ff23803
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162206
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-01-17 22:34:53 +01:00
Stephan Bergmann 1e5fedf1a3 Re-enable MOZ_VERIFY_MAR_SIGNATURE feature
...that 3a445cb497 "Turn onlineupdate into
external/onlineupdate" had accidentally turned off

Change-Id: I345d02a305a33fc641566d122c8cdb55c09599a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161546
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-02 21:23:48 +01:00
Stephan Bergmann e465747594 Windows MSI custom action for --enable-online-update-mar
...which needs to call update_service.exe with "install" (resp. "uninstall") and
needs to create (resp. delete) a registry entry containing the issuer and name
of the certificate with which the updater.exe is signed (which is required by
one of the many sanity and security checks performed by update_service.exe
before it will actually do an automatic update).  (The issuer and name of the
certificate are for now hardcoded to the values used by TDF when signing its
Windows builds.)

(gid_Customaction_uninstall_updateservice needs to run rather early, when
update_service.exe has not yet been removed, so I rather randomly picked
"MigrateFeatureStates" as the point where to run it.)

Change-Id: I6e0f62ec3e51d74d4a526a490badc7c14ebe99ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161125
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-12-21 16:25:21 +01:00
Stephan Bergmann 958a055be8 Improve --enable-online-update-mar Windows MOZ_MAINTENANCE_SERVICE feature
To get the MOZ_MAINTENANCE_SERVICE mode going at all, update.status needs to
contain a "pending-service" token.  For Mozilla, code in its
toolkit/mozapps/update/UpdateService.sys.mjs takes care of writing that.  For
us, lets always write that in update_checker() (even on Linux, where it's
apparently harmless).

Then, the MOZ_MAINTENANCE_SERVICE code is rather picky with its various sanity
checks:  Among other things, it expects argv[0] to be a full path to the updater
executable, and it expects the update.mar (and its status and log files) to be
in a directory hierarchy named updates/0/ rather than patch/.  So get all that
fixed in desktop/source/app/updater.cxx.  And patch in
external/onlineupdate/lo.patch where it expects to find the updater executable
(just updater.exe vs. our program/updater.exe).

And we shouldn't interfere with the upstream Mozilla maintenance service, so
also rename that in external/onlineupdate/lo.patch.

And `update_service install` wants to read version resources from the
update_service.exe, so provide that (via gb_Executable_add_default_nativeres).

Also, `update_service install` wants to read a MozillaMaintenanceDescription
value from an updater.ini, so provide one (with contents of that value inspired
by Mozilla's browser/locales/en-US/updater/updater.ini).

As we now have an updater.ini anyway (and which apparently works fine with Unix
line ends on both Linux and Windows), also use it on Linux and drop the
onlineupdate/source/update/updater/progressui_gtk.cpp again from
external/onlineupdate/lo.patch.  And update external/onlineupdate/README.md how
to manually execute that test against an updater.ini.

Change-Id: I0e3e5e5311be61e1224cda700af2e5d751113a99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160996
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-12-19 20:24:32 +01:00
Mike Kaganski cf53900ae8 Fix packaging with --disable-curl
Change-Id: I9c3c1f1953c4d59c5a2d4c6017e73768d93a7bc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159307
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-11-10 21:38:00 +01:00
Michael Stahl 4a26dcac8e tdf#146386 curl,ucb: remove FTP UCP
FTP support has been deprecated since LO 7.4.

The UCP currently doesn't even support TLS connections.

Also disable FTP protocol in libcurl.

Also remove JunitTest_ucb_complex: turns out the only test in it,
checkWrongFtpConnection, fails on Linux because now GIO UCP handles
ftp:// URLs and it throws InteractiveAugmentedIOException instead of
expected ones, and on other platforms it would fail differently because
there is no GIO.

Change-Id: I4631d124371fef390f105fb16bf09aaa59e739e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159065
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-11-09 16:51:42 +01:00
Balazs Varga 9bc2aede99 Related: tdf#101970 Add missing bits for --without-template flag
Package creation have failed with "--without-template".

Change-Id: I0f6fb4abef8d9500b2901ee58f2c52699f7b4ea3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157936
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins
2023-10-13 17:48:10 +02:00
Julien Nabet be63795899 Blind fix for TBs sd_web error
"blind" because I don't reproduce this on pc Debian x86-64 with master sources updated today
+ "make clean && make"

It might be since https://cgit.freedesktop.org/libreoffice/core/commit/?id=28b6480c6bdd179f3943f768926b7f196226c768
tdf#105303: Drop html export wizard

Change-Id: Ib5b705a6f98d7e88d84217906b32c371aac96d8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157203
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2023-09-24 12:00:34 +02:00
Hossein 36163d269b Make svptest VCL example build on all platforms
Previously, svptest VCL example was not built on all paltforms. Now,
svptest is built on Windows and elsewhere. To run, one can invoke:

 ./bin/run svptest

Change-Id: I915a4ef9748e2248d2d209969d1fef079ee06cff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156972
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-09-15 23:48:49 +02:00
Michael Weghorn 720bf6ac86 kf6: Add a kf6 VCL plugin
Add a "kf6" VCL plugin that uses the KF6 (KDE Frameworks 6)
libraries to provide a native KDE/Plasma file chooser,
just like the kf5 VCL plugin does for KF5.

Building the plugin is disabled by default and can be enabled by
autogen option '--enable-kf6'.

Selecting the VCL plugin can be done by starting LO
with environment variable 'SAL_USE_VCLPLUGIN=kf6' set.

The kf6 VCL plugin reuses the kf5 VCL plugin code.
(The kf6 headers and sources for now just `#include`
the kf5 ones.)

This was quickly tested on KDE Neon unstable,
which provides a daily snapshot of Plasma 6 and the KF6
libraries.
(Regarding a potential release date, [1] mentions:
"Plasma 6 is built on top of Qt 6 and is
tentatively planned to be released in late 2023 or early 2024.")

[1] https://community.kde.org/Plasma/Plasma_6

Change-Id: I4c2b7e3be8e60f1d8cf60119f6f3f642b71349f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153438
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-06-22 22:16:11 +02:00
Noel Grandin cf4a1c42d6 merge expwrap into sax library
there is no need for 2 shared libs for such a small module

Change-Id: Id28c9038f3e16931bfb8af3532eca172998da1aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152374
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-05-30 08:45:46 +02:00
Caolán McNamara 6c3f27c794 add a fodt to pdf fuzzer
Initially give it a fairly tiny input size limit.

Change-Id: Iabc2611174e88f1f6050edb21da4f28694bac4a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151151
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-29 20:42:51 +02:00
Caolán McNamara 33775c5d05 add a svg fuzzer
Change-Id: I9662d91d2761b4f160858897f19f31f474dccbed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151051
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-26 17:41:41 +02:00
Caolán McNamara fb76d7f454 add a fuzzer to test zip recovery mode
Change-Id: I25f82cd83afae0fb3b0cfc3f1586e28323369f8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150978
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-25 19:20:47 +02:00
Caolán McNamara 5f0e276336 Remove lock file fuzzer
this found nothing in 12 months and exists to try and follow up
on a confusing report which went nowhere in the end

Change-Id: I7f3c6a5e2ccedad2e7b925b3c15b076cd22f1ce4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150972
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-25 17:04:15 +02:00
Christian Lohmaier d04f1cf937 allow native compile for windows aarch64
using both --host=aarch64-pc-cygwin and --build=aarch64-pc-cygwin on a
suitable system.

Change-Id: Id11e25b03de8dd8dd52c63e7a06d57d44e3fce33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150053
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-04-11 12:06:25 +02:00
Hossein 5fa078413e Make minvcl and svdemo VCL examples build on Windows
Previously, minvcl and svdemo VCL examples were not built on Windows.
With this patch, both of the minvcl.exe and svdemo.exe are built on
Windows. To run, one can invoke:

  ./bin/run minvcl
and:
  ./bin/run svdemo

Change-Id: I43bfb314b41c662250615486a3ca783fc6d82600
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146264
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-01-28 13:08:27 +00:00
Stephan Bergmann 70bcf9e8be Remove support for AIX
As discussed in the mailing list thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2023-January/089808.html>
"Plan to remove dead C++ UNO bridge implementations (bridges/source/cpp_uno/*)",
the bridge implementation at bridges/source/cpp_uno/gcc3_aix_powerpc is
apparently dead and should thus be removed.  However, that was the only bridge
implementation for AIX, which implies that support for the AIX platform as a
whole is dead and should thus be removed.

Change-Id: I96de3f7f97d4fd770ff78256f0ea435383688be9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146057
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-27 07:28:16 +00:00
Stephan Bergmann 597efeb3ac Fix --with-package-format=... builds
after 02c4386a09 "move presenter console from
sdext/ to sd/" removed the PresenterScreen library

Change-Id: Iaca64d340a9e2eb1faacf68c988c46a4a5ab3f62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145991
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-23 08:07:28 +00:00
Tomaž Vajngerl bd0f526f2d introduce docmodel comp., model::ThemeColor, use it in SvxColorItem
Added a new component docmodel, that has the document model types,
which only depend on other basic components. This is needed so the
types can be used in every relevant component - xmloff, oox, svx,
editeng,...

Introduces model::ThemeColor, which is a class used to store the
theme color data, including transformations (svx::Transformation).
For UNO use XThemeColor is added, and the implementation UnoThemeColor
which wraps svx::ThemeColor, so it can be tranported around.

Reactor all the code and tests to accomodate for this change.

Change-Id: I7ce6752cdfaf5e4d3b8e4d90314afa469dd65cfc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144847
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-01-12 23:15:58 +00:00
Khaled Hosny 5d42f4403d tdf#136604: Remove Source Sans Pro fonts
Templates using the fonts are left unchanged.

Change-Id: I5ed21155ddd5038eb91f6ad6bcbd7f27f2478638
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143665
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
2022-12-31 19:34:37 +00:00
Tor Lillqvist de3b4b0200 Introduce lo_get_app_data_dir() for Emscripten, too
And not just Android. Hardcoded to return "/instdir" to match what is
in the emscripten_fs_image.

Change-Id: I26d4ec5e02ec9900e35ca47f1565a13ad2b723b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144849
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2022-12-28 13:08:56 +00:00
Khaled Hosny 6d6a2343b1 tdf#152376: Remove Kacst Book and Kacst Office fonts
Change-Id: I979e01ee6cab26431a6e54094c59ea28e886019a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143647
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-12-05 08:26:29 +00:00
Khaled Hosny 05eb5e4874 tdf#136604: Remove Source Serif Pro and Source Code Pro fonts
Kept Source Sans Pro for now because it is used in some styles and using
also weights that not supported by other fonts we bundle (e.g. light).

Change-Id: I2eb9c6a2951e0c39e7021a5c90ed549d03f4a4e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143645
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
2022-12-05 06:46:44 +00:00
Chris Sherlock 42da767468 vcl: list the glyphs and bound rects of a specified font
Change-Id: Ia635d83a5d3dd257948777e9f6976fecfeb4ee98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141526
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-11-25 14:04:20 +01:00
Mike Kaganski d8c751008a Enable gtktiledviewer on Windows
A new configure argument is introduced:

  --with-gtk3-build=<absolute path to GTK3 build>

When provided, libreofficekit_selectionhandles package, libreofficekitgtk
library and gtktiledviewer executable would be built on Windows using the
GTK3 libraries in the passed directory, that must contain lib/pkgconfig
subdirectory with correct pkg-config data.

Change-Id: I6504af6eec0fc73cceb26a1ce923337abe14b5c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141624
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-10-26 13:58:41 +02:00
Laurent BP 949d095eed Merge makefiles of Writer and Draw templates
Simplify the list of files in the same way as for wizard templates

Change-Id: If93374de161b670a96b9d2447f03f29d8c085efa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141274
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-10-14 10:48:19 +02:00
Laurent BP 7d698d505b tdf#143956 Convert all Wizards template to XML
All templates used by Wizards are now built from their XML
It eases maintenance
Page size, language and country attributes were removed

Merge all wizard/package in one file

Change-Id: I32193b2ff4c6a1b31934e6ed4e08d56801e5662e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137159
Tested-by: Jenkins
Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
2022-10-11 20:55:19 +02:00
Rene Engelhard 6cfa43fcf2 remove obsolete sfx2_emojiconfig from Repository.mk
since the installer fails because it cannot find it.
(was removed in 5f1eb2a12b)

Change-Id: Id7d8cccc43b461bc10a447d8d5d48009bc48f6d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140807
Reviewed-by: خالد حسني <khaled@aliftype.com>
Tested-by: Jenkins
2022-09-30 21:38:01 +02:00
Khaled Hosny 694f8eb1f7 tdf#144348: Remove EmojiOne Color font
The EmojiFont setting is now a comma-separated list of the three common
color emoji fonts, it should fallback to the next font if the first is
missing.

Change-Id: I7aa134f914ab829704e9b707f511f166a81a0089
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140623
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
2022-09-27 11:30:44 +02:00
Noel Grandin de57562e3b merge sdfilt library into sd
it is very small, and this means we can get rid of some ugly runtime
symbol loading

Change-Id: I1d5f5da6a9e908ccd018915bf09b9ab97d67feb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139866
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-14 15:11:46 +02:00
Caolán McNamara 3b852f2746 add a fuzzer for our lock files
Change-Id: Iaf28aa4455ea9d798d9e2649e1e7c6f1216846f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136194
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-20 21:43:02 +02:00
Stephan Bergmann a8485d558f [API CHANGE] Remove deprecated idlc and regmerge from the SDK
* Client code must replace uses of idlc and regmerge with uses of unoidl-write,
  see the changes to odk/examples/ and ure/source/uretext/ in
  40f2aee658 "Provide unoidl-write also for the
  SDK" for examples.

* The new types.rdb format is not compatible with LibreOffice < 4.1.  Clients
  generating extensions containing such files are advised to use appropriate
  LibreOffice-minimal-version elements.

* For compatibility with old extensions, reading the legacy types.rdb format is
  still supported.

* The SDK no longer ships an idl/ sub-directory containing the udkap and offapi
  .idl files (as, unlike idlc, unoidl-write does not need them).
  odk/config/cfgWin.js had to be adapted to look (somewhat arbitrarily) for an
  examples/ sub-directory instead of idl/ when checking for "an sdk folder".
  gb_UnoApi_package_idlfiles became unused and has been removed.

* The idlc and regmerge executables have been removed.  Module idlc has been
  removed except for idlc/test/parser/, which is also used by
  CustomTarget_unoidl/unoidl-write_test, and which may eventually be moved into
  module unoidl.  Module external/ucpp and the corresponding configure options
  have also been removed.

Change-Id: I42a0231699b863b5ebe2bee63bc32c8f79278cc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122363
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-10 17:15:49 +02:00
Mert Tumer d952df361a LanguageTool Grammar Checker implementation
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I275cbea668afc5beb5147370119631df8b6a2d46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135178
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-06-10 13:52:17 +02:00
Jean-Pierre Ledure 14c7bc1c90 ScriptForge - New 'UnitTest' service for Basic
The "UnitTest" service is implemented as a new
Basic library called 'SFUnitTests'.

ScriptForge unit tests (SF_UnitTest class module)
======================
Class providing a framework to execute and check sets of unit tests.

The UnitTest unit testing framework was originally
inspired by unittest.py in Python
and has a similar flavor as major unit testing
frameworks in other languages.

It supports
- test automation
- sharing of setupand shutdown code
- aggregation of tests into collections.

Both the
- code describing the unit tests
- code to be tested
must be written exclusively in Basic
(the code might call functions written in other languages).
The code to be tested may be released as an extension.
It does not need to make use of ScriptForge services.

The test reporting device is the Console.

Definitions:
- Test Case: each test case is a Basic Sub.
- Test Suite: a collection of test cases stored in 1 Basic module.
- Unit test: a set of test suites stored in 1 library.

Two modes:
- the normal mode ("full mode"), using test suites and test cases
  The UnitTest service is passed as argument to each test case.
- the "simple mode" limited to the use of the Assert...() methods.

Service invocation examples:
- In full mode, the service creation is external to test cases
        Dim myUnitTest As Variant
        myUnitTest = CreateScriptService("UnitTest", ThisComponent, "Tests")
            '    Test code is in the library "Tests"
            '    located in the current document
- In simple mode, the service creation is internal to every test case
        Dim myUnitTest As Variant
        myUnitTest = CreateScriptService("UnitTest")
        With myUnitTest
            If Not .AssertTrue(...) Then ...
            '    ...
            .Dispose()
        End With

Error handling
To support the debugging of the tested code, the UnitTest service, in cases of
- assertion failure
- Basic run-time error in the tested code
- Basic run-time error in the testing code (the unit tests)
will comment the error location and description in a message box and in the console log,
providing every test case (in either mode) implements an error handler
containing at least a call to the ReportError() method.

Change-Id: I9d9b889b148f172cd868af455493c8c696d1e953
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135365
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-06-04 12:08:36 +02:00
Gabor Kelemen 437b3b9d4f Drop unused CT2N extension
It is not bundled by any downstream distributions
so it makes no much sense to keep it integrated here.

Change-Id: I80180e53e050b8b3cd1b173ef01b51e8d706f295
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133355
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-04-26 10:08:30 +02:00
Stephan Bergmann bb64cd2884 Add unoidl-read to the SDK
...as a replacement for the legacy regview

Change-Id: I1e1eecb45f27422727f28feb19c2479af867bd79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132816
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-04-11 15:10:12 +02:00