Test repository to check push and ssh key
Find a file
Michael Meeks e005690e9c lok: avoid sending jsdialog messages during background save.
This creates lots of enable/disable traffic that is no longer
needed, and may trigger a fallback to non-background-save.

Change-Id: I3dd789d13b6c28540422d99128014c9c17e00d70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166157
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-16 20:49:26 +02:00
.git-hooks
.github
.vscode
accessibility vcl,accessibility: try to fix a crash while disposing SvxFontNameBox_Impl 2024-03-12 15:28:19 +01:00
android
animations
apple_remote
avmedia
basctl
basegfx tdf#159805 Printing line style dotted lines (horizontal) turns into dashes. 2024-03-27 14:33:19 +01:00
basic tdf#160478: fix Basic LIKE operator 2024-04-07 13:58:05 +02:00
bean
bin Related: tdf#160056 this can be be a local function 2024-04-15 12:37:21 +02:00
binaryurp
bridges
canvas
chart2 cid#1546354 COPY_INSTEAD_OF_MOVE 2024-04-15 11:38:09 +02:00
cli_ure
codemaker
comphelper lok: add isForkedChild method. 2024-03-28 12:29:41 +01:00
compilerplugins
config_host
configmgr configmgr: fix parse error if subelements of <info> used 2024-03-27 14:33:18 +01:00
connectivity cid#1546354 COPY_INSTEAD_OF_MOVE 2024-04-15 11:38:09 +02:00
cppcanvas
cppu
cppuhelper
cpputools
cui Resolves: tdf#160159 update spellchecking area colors when style changes 2024-04-07 13:58:04 +02:00
dbaccess Related: tdf#108057 Use autoincrement for automatically added primary key 2024-04-15 12:36:24 +02:00
desktop tdf#159790 temporarily release mutex for child packages 2024-04-15 12:36:22 +02:00
dictionaries@125144448d Update git submodules 2024-04-09 18:24:11 +02:00
distro-configs Adapt flatpak build to upstream changes 2024-04-15 12:36:23 +02:00
docmodel cool#8327 use tools::JsonWriter for theme colors 2024-03-04 11:51:58 +01:00
drawinglayer tdf#159094 sc: fix failure when exporting media files to PDF 2024-03-27 14:33:17 +01:00
editeng editeng: use text scaling that better mimics MSO text scaling 2024-04-15 14:56:31 +02:00
embeddedobj
embedserv
emfio
eventattacher
extensions
external lcms2: upgrade to 2.16 2024-04-07 13:58:05 +02:00
extras tdf#160567 Replace duplicate style A4 with A0 2024-04-15 12:37:12 +02:00
filter exported SVGs: Stop bullets skipping animation 2024-03-15 14:12:19 +01:00
forms
formula Related: tdf#160056 elide ref counting for initial tokens 2024-04-15 16:15:27 +02:00
fpicker
framework cid#1546354 COPY_INSTEAD_OF_MOVE 2024-04-15 11:38:09 +02:00
helpcompiler upgrade libxml2, libxslt & liblangtag 2024-03-07 13:54:18 +01:00
helpcontent2@b43d32f021 Update git submodules 2024-03-27 14:33:20 +01:00
hwpfilter
i18nlangtag
i18npool Correct {bg-BG} formats with group separator 2024-04-15 12:37:13 +02:00
i18nutil
icon-themes
idl
idlc/test/parser
include null-deref in SfxViewShell::isBlockedCommand 2024-04-15 23:18:56 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit LOK: send inner text boundry information of shapes/textbox on change 2024-03-08 10:54:39 +01:00
lingucomponent
linguistic
lotuswordpro
m4
msicreator
nlpsolver
o3tl
odk
offapi
officecfg [cp] Revert "tdf#159743: Revert all Shortcut modifications in German UI" 2024-03-27 14:33:19 +01:00
onlineupdate
oovbaapi
oox svx: read font and spacing scaling from oox, add bot as UNO prop. 2024-04-15 14:54:26 +02:00
opencl
osx
package tdf#159519 comphelper,package: do not store document without SHA256 2024-03-07 13:54:18 +01:00
pch
postprocess [cp] Do not sign individual EXE/DLL files 2024-03-22 15:54:01 +01:00
pyuno allow build with python 3.12.0: initialize new tp_watched 2024-03-17 20:42:33 +01:00
qadevOOo
readlicense_oo update credits 2024-03-27 14:33:17 +01:00
registry
remotebridges
reportbuilder
reportdesign
ridljar Allow building with Java 8 2024-03-07 13:54:21 +01:00
sal lok: provide global random symbol to find random device. 2024-04-06 22:07:49 +02:00
salhelper
sax
sc Related: tdf#160056 FormulaResult may ref an initial interpreter FormulaToken 2024-04-15 21:15:47 +02:00
scaddins
sccomp
schema
scp2
scripting
sd editeng: use text scaling that better mimics MSO text scaling 2024-04-15 14:56:31 +02:00
sdext tdf#160260: make poppler wrapper executable Unicode-aware on Windows 2024-04-07 13:58:06 +02:00
setup_native
sfx2 lok: avoid sending jsdialog messages during background save. 2024-04-16 20:49:26 +02:00
shell
slideshow
smoketest
solenv Adapt flatpak build to upstream changes 2024-04-15 12:36:23 +02:00
soltools
sot
starmath tdf#159251: Don’t use vcl::PushFlags::RTLENABLED 2024-03-07 13:54:19 +01:00
static
stoc
store
svgio tdf#160386: Add support for switch element 2024-04-15 12:36:23 +02:00
svl Related: tdf#160056 this can be static 2024-04-15 20:25:29 +02:00
svtools tdf#93352 Fix horizontal swiping and scrolling when using an RTL UI 2024-03-27 14:33:18 +01:00
svx Related: tdf#160056 this can be static 2024-04-15 20:25:29 +02:00
sw Related: tdf#160056 this can be static 2024-04-15 20:25:29 +02:00
swext
sysui
test
testtools
toolkit Resolves: tdf#157258 "Always autocorrect to" deletes the word 2024-04-07 13:58:04 +02:00
tools Document Colors do not show any color in the Palette 2024-03-11 18:08:15 +01:00
translations@a2ed0affdf Update git submodules 2024-03-27 14:33:19 +01:00
ucb cid#1546354 COPY_INSTEAD_OF_MOVE 2024-04-15 11:38:09 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui
vbahelper
vcl reserve a TaskPriority for testtool IdleTask 2024-04-15 12:37:30 +02:00
winaccessibility
wizards ScriptForge (session).RunApplication() crash fix tdf#160222 2024-03-27 14:33:18 +01:00
writerfilter tdf#88214 sw: text formatting: adapt empty line at end of para to Word 2024-04-15 12:36:24 +02:00
writerperfect
xmerge
xmlhelp cid#1546354 COPY_INSTEAD_OF_MOVE 2024-04-15 11:38:09 +02:00
xmloff Related: tdf#160056 this can be static 2024-04-15 20:25:29 +02:00
xmlreader
xmlscript
xmlsecurity upgrade libxml2, libxslt & liblangtag 2024-03-07 13:54:18 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Allow building with Java 8 2024-03-07 13:54:21 +01:00
config_host_lang.mk.in
configure.ac Bump version to 24.04.1.2 2024-04-07 14:14:10 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
cpp.hint
download.lst mariadb connector: upgrade to release 3.3.8 2024-04-07 13:58:05 +02:00
g
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.help.md
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
setup.cfg
TEMPLATE.SOURCECODE.HEADER
tsan-suppress.txt

LibreOffice

Coverity Scan Build Status CII Best Practices Translation status

LibreOffice is an integrated office suite based on copyleft licenses and compatible with most document formats and standards. Libreoffice is backed by The Document Foundation, which represents a large independent community of enterprises, developers and other volunteers moved by the common goal of bringing to the market the best software for personal productivity. LibreOffice is open source, and free to download, use and distribute.

A quick overview of the LibreOffice code structure.

Overview

You can develop for LibreOffice in one of two ways, one recommended and one much less so. First the somewhat less recommended way: it is possible to use the SDK to develop an extension, for which you can read the API docs and Developers Guide. This re-uses the (extremely generic) UNO APIs that are also used by macro scripting in StarBasic.

The best way to add a generally useful feature to LibreOffice is to work on the code base however. Overall this way makes it easier to compile and build your code, it avoids any arbitrary limitations of our scripting APIs, and in general is far more simple and intuitive - if you are a reasonably able C++ programmer.

The Build Chain and Runtime Baselines

These are the current minimal operating system and compiler versions to run and compile LibreOffice, also used by the TDF builds:

  • Windows:
    • Runtime: Windows 7
    • Build: Cygwin + Visual Studio 2019 version 16.10
  • macOS:
    • Runtime: 10.15
    • Build: 12 (13 for aarch64) + Xcode 14
  • Linux:
    • Runtime: RHEL 8 or CentOS 8 and comparable
    • Build: either GCC 12; or Clang 12 with libstdc++ 8.5
  • iOS (only for LibreOfficeKit):
    • Runtime: 11.4 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.4
  • Android:
    • Build: NDK r23 and SDK 30.0.3
  • Emscripten / WASM:
    • Runtime: a browser with SharedMemory support (threads + atomics)
    • Build: Qt 5.15 with Qt supported Emscripten 1.39.8
    • See README.wasm

Java is required for building many parts of LibreOffice. In TDF Wiki article Development/Java, the exact modules that depend on Java are listed.

The baseline for Java is Java Development Kit (JDK) Version 17 or later.

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 12.0.1. Since Xcode doesn't provide the compiler plugin headers, you have to compile your own Clang to use them on macOS.

You can find the TDF configure switches in the distro-configs/ directory.

To setup your initial build environment on Windows and macOS, we provide the LibreOffice Development Environment (LODE) scripts.

For more information see the build instructions for your platform in the TDF wiki.

The Important Bits of Code

Each module should have a README.md file inside it which has some degree of documentation for that module; patches are most welcome to improve those. We have those turned into a web page here:

https://docs.libreoffice.org/

However, there are two hundred modules, many of them of only peripheral interest for a specialist audience. So - where is the good stuff, the code that is most useful. Here is a quick overview of the most important ones:

Module Description
sal/ this provides a simple System Abstraction Layer
tools/ this provides basic internal types: Rectangle, Color etc.
vcl/ this is the widget toolkit library and one rendering abstraction
framework/ UNO framework, responsible for building toolbars, menus, status bars, and the chrome around the document using widgets from VCL, and XML descriptions from /uiconfig/ files
sfx2/ legacy core framework used by Writer/Calc/Draw: document model / load/save / signals for actions etc.
svx/ drawing model related helper code, including much of Draw/Impress

Then applications

Module Description
desktop/ this is where the main() for the application lives, init / bootstrap. the name dates back to an ancient StarOffice that also drew a desktop
sw/ Writer
sc/ Calc
sd/ Draw / Impress

There are several other libraries that are helpful from a graphical perspective:

Module Description
basegfx/ algorithms and data-types for graphics as used in the canvas
canvas/ new (UNO) canvas rendering model with various backends
cppcanvas/ C++ helper classes for using the UNO canvas
drawinglayer/ View code to render drawable objects and break them down into primitives we can render more easily.

Rules for #include Directives (C/C++)

Use the "..." form if and only if the included file is found next to the including file. Otherwise, use the <...> form. (For further details, see the mail Re: C[++]: Normalizing include syntax ("" vs <>).)

The UNO API include files should consistently use double quotes, for the benefit of external users of this API.

loplugin:includeform (compilerplugins/clang/includeform.cxx) enforces these rules.

Finding Out More

Beyond this, you can read the README.md files, send us patches, ask on the mailing list libreoffice@lists.freedesktop.org (no subscription required) or poke people on IRC #libreoffice-dev on irc.libera.chat - we're a friendly and generally helpful mob. We know the code can be hard to get into at first, and so there are no silly questions.