Files
odfstudio/desktop
Michael Stahl 592e67c4f2 desktop: convert oosplash to C++ and use comphelper::Hash
Also fix all `loplugin` warnings in start.cxx.

Not sure to what extent the "SingleOfficeIPC" pipe name is still
considered a stable API, likely not any more, using something other than
MD5 could be an option too ...

Also convert the other "SingleOfficeIPC" thing here.

Signed-off-by: Michael Stahl <michael.stahl@collabora.com>
Change-Id: I4561a880e8321d191144954687870aaa122fff75
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/4671
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
(cherry picked from commit f50ea835b44dca17405df004fb5b04a8478833d6)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207203
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-24 00:06:59 +02:00
..
2026-06-09 14:49:09 +02:00
2025-03-17 08:35:00 +01:00
2025-02-12 16:45:56 +01:00
…
…

LibreOffice Binary

Code for the LibreOffice main binary (soffice) resides here. The soffice_main function for the soffice binary can be found here.

Stable Interface

Some of the artifacts built here are part of a LibreOffice installation set's stable interface, which (programmatic) clients can depend on. Among them are:

soffice

In the program directory (program/ on Linux and Windows, Contents/MacOS/ on macOS).

unoinfo

In the program directory (program/ on Linux and Windows, Contents/MacOS/ on macOS).

When called with a sole argument of c++, it prints to stdout an absolute pathname denoting the directory where the public URE libraries are found.

When called with a sole argument of java, it prints to stdout a marker character (either an ASCII '0' or '1') followed by a sequence of zero or more absolute pathnames denoting jars or directories that need to be included in a class loader's search locations.

If the marker character is '0' (on Linux and macOS), the pathnames are encoded as bytes, and any two pathnames in the sequence are separated from each other by NUL bytes.

If the marker character is '1' (on Windows), the pathnames are encoded as UTF-16-LE two-byte code units, and any two pathnames in the sequence are separated from each other by two-byte NUL code units.

Other Binaries

oosplash

Splash screen for the LibreOffice soffice binary.

Extensions

The directory test/deployment contains some extensions to be used for testing:

  • test/deployment/crashextension: C++ extension to make LibreOffice crash. Useful for testing Crashreporter.
    • Build with Extension_test-crashextension.
    • Extension can be found in workdir/Extension/test-crashextension.oxt
  • test/deployment/passive: C++, Java and Python extension samples with passive registration.
    • Build with make Extension_test-passive.
    • Extension can be found in workdir/Extension/test-passive.oxt
  • test/deployment/active: C++, Java and Python extension samples with active registration.
    • Build with make Extension_test-active.
    • Extension can be found in workdir/Extension/test-active.oxt