Test repository to check push and ssh key
Find a file
Olivier Hallot 641c95231a Fix English
Change-Id: I45615f217120d90cb255ce1a3e9e1f710603770e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135663
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-15 18:43:44 +02:00
.git-hooks
.github
.vscode
accessibility Accessibility for IconView 2022-06-09 17:49:16 +02:00
android android: Update com.google.android.material to 1.6.1 2022-06-14 06:38:57 +02:00
animations
apple_remote
avmedia
basctl clang-tidy modernize-pass-by-value in basctl 2022-06-06 13:16:12 +02:00
basegfx
basic new loplugin:moveit 2022-06-10 13:13:15 +02:00
bean
bin bin/upload_symbols.py: make pythonic 2022-06-10 13:43:14 +02:00
binaryurp
bridges
canvas
chart2 tdf#149536 Move Up/Down in Data Table switched enabled statuses 2022-06-14 17:16:46 +02:00
cli_ure Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
codemaker Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
comphelper elide temporary string in comphelper::strip 2022-06-15 15:52:32 +02:00
compilerplugins better solution for ignoreLocation for tree-wide plugins 2022-06-14 09:07:13 +02:00
config_host
configmgr
connectivity Use some more appropriate index variable types 2022-06-15 10:17:43 +02:00
cppcanvas cid#1504592 Big parameter passed by value 2022-06-14 11:37:16 +02:00
cppu Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
cppuhelper Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
cpputools
cui Bump opjecttitledialog.ui to latest Glade 2022-06-15 12:46:33 +02:00
dbaccess clang-tidy modernize-pass-by-value in dbaccess 2022-06-13 20:37:35 +02:00
desktop Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
dictionaries@68b272ec16 Update git submodules 2022-06-09 11:42:31 +02:00
distro-configs stop using removed ---with-idlc-cpp=cpp argument 2022-06-14 15:19:38 +02:00
drawinglayer clang-tidy modernize-pass-by-value in drawinglayer 2022-06-15 09:24:47 +02:00
editeng cid#1504592 Big parameter passed by value 2022-06-14 11:37:16 +02:00
embeddedobj
embedserv
emfio tdf#131506 tdf#143031 EMF+ Fix displaying PathGradient fill 2022-06-14 10:30:32 +02:00
eventattacher
extensions Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
external [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
extras autocorr for da: fx can appear at end of sentence 2022-06-10 13:57:24 +02:00
filter Bump xmlfiltertabpagegeneral.ui to latest Glade 2022-06-15 16:46:57 +02:00
forms new loplugin:moveit 2022-06-10 13:13:15 +02:00
formula
fpicker GtkIconView uses a different way to link model and view 2022-06-08 22:24:37 +02:00
framework Remove some unused includes 2022-06-14 08:11:28 +02:00
helpcompiler
helpcontent2@70653442ae Update git submodules 2022-06-15 11:08:01 +02:00
hwpfilter
i18nlangtag Resolves: tdf#147390 tag oc-FR to oc-FR-lengadoc, oc-ES to oc-ES-aranes 2022-06-06 20:35:27 +02:00
i18npool Add English (Mauritius) {en-MU} locale data 2022-06-11 20:32:02 +02:00
i18nutil
icon-themes
idl
idlc/test/parser Use idlc/test/parser/conversion.tests in CustomTarget_unoidl/unoidl-write_test 2022-06-11 09:58:17 +02:00
include Add support for exporting EMZ/WMZ 2022-06-15 15:29:01 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent Revert "Load the locales from config file for languagetool" 2022-06-15 08:27:18 +02:00
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
offapi Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
officecfg tdf#149351 Add a 'Turn off mouse as pen' shortcut 2022-06-14 16:37:46 +02:00
onlineupdate
oovbaapi Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
oox crashtesting: assert seen on loading forum-mso-en-2633.pptx 2022-06-13 06:54:39 +02:00
opencl
osx tdf#129674 Add GoTo Sheet command 2022-06-07 13:43:20 +02:00
package
pch
postprocess Revert "Load the locales from config file for languagetool" 2022-06-15 08:27:18 +02:00
pyuno
qadevOOo
readlicense_oo
registry Remove some more dead functionality 2022-06-11 09:59:09 +02:00
remotebridges
reportbuilder
reportdesign new loplugin:moveit 2022-06-10 13:13:15 +02:00
ridljar Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
sal
salhelper
sax loplugin:unusedmethods 2022-06-09 12:08:15 +02:00
sc Negative percentile should be treated as 0 2022-06-15 17:56:51 +02:00
scaddins Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
sccomp
schema
scp2 ScriptForge - New 'UnitTest' service for Basic 2022-06-04 12:08:36 +02:00
scripting LanguageTool Grammar Checker implementation 2022-06-10 13:52:17 +02:00
sd tdf#149351 Add a 'Turn off mouse as pen' shortcut 2022-06-14 16:37:46 +02:00
sdext tdf#149351 Add a 'Turn off mouse as pen' shortcut 2022-06-14 16:37:46 +02:00
setup_native
sfx2 tdf#125040 Make single mode toolbar context aware 2022-06-13 18:47:01 +02:00
shell tdf#140886: Make "Do you really want to open it?" more reliable 2022-06-09 11:17:14 +02:00
slideshow
smoketest
solenv fix oss-fuzz build 2022-06-15 10:23:54 +02:00
soltools
sot cid#1504592 Big parameter passed by value 2022-06-14 11:37:16 +02:00
starmath Accessibility for IconView 2022-06-09 17:49:16 +02:00
static
stoc Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
store
svgio tdf#131506 tdf#143031 EMF+ Fix displaying PathGradient fill 2022-06-14 10:30:32 +02:00
svl Use rtl::isAsceeLowerCase/rtl::toAsciiUpperCase 2022-06-15 14:29:48 +02:00
svtools loplugin:constantparam 2022-06-10 21:14:20 +02:00
svx Fix English 2022-06-15 18:43:44 +02:00
sw Improve extended tip in splittable.ui 2022-06-15 16:47:27 +02:00
swext
sysui
test
testtools Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
toolkit Fix leak with stock widgets in a dialog from an extension 2022-06-14 10:20:08 +02:00
tools Add unit tests for ZCodec 2022-06-15 10:21:36 +02:00
translations@d876aa338f Update git submodules 2022-06-10 14:53:38 +02:00
ucb new loplugin:moveit 2022-06-10 13:13:15 +02:00
ucbhelper
udkapi Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
uitest uitest: sc: reset values in paste special dialog 2022-06-13 21:33:01 +02:00
UnoControls
unodevtools
unoidl Use idlc/test/parser/conversion.tests in CustomTarget_unoidl/unoidl-write_test 2022-06-11 09:58:17 +02:00
unoil
unotest
unotools Revert "Load the locales from config file for languagetool" 2022-06-15 08:27:18 +02:00
unoxml new loplugin:moveit 2022-06-10 13:13:15 +02:00
ure Drop obsolete preprocessor directives from UNOIDL files 2022-06-13 16:27:45 +02:00
uui
vbahelper
vcl ofz#47699 Timeout 2022-06-15 15:53:37 +02:00
winaccessibility
wizards ScriptForge - (scriptforge.py) modify URL to help page 2022-06-08 12:22:46 +02:00
writerfilter Remove some unused includes 2022-06-14 08:11:28 +02:00
writerperfect
xmerge
xmlhelp
xmloff Remove some unused includes 2022-06-14 08:11:28 +02:00
xmlreader
xmlscript
xmlsecurity
.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 [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
config_host_lang.mk.in
configure.ac Fix with-vendor for cross-build targets some more 2022-06-15 08:41:55 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
Makefile.gbuild
Makefile.in
README.cross
README.help.md
README.md Bump minimum macOS to 10.14 2022-06-15 08:20:59 +02:00
README.Solaris
Repository.mk [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
RepositoryExternal.mk [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
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.14
    • Build: 11.0 + Xcode 12.5
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 8.0.1 with libstdc++ 7.3.0
  • 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 r19c and SDK 22.6.2
  • 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 11 or later. It is possible to build LibreOffice with JDK version 9, but it is no longer supported by the JDK vendors, thus it should be avoided.

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.