Test repository to check push and ssh key
Find a file
Thorsten Behrens 2af494822d ODK: cleanup windows linker debug args
This was a somehow confused & partially commented-out setup

Change-Id: Iad5ef6721cda6f85ded3296650ee9a7df9ec59fd
Reviewed-on: https://gerrit.libreoffice.org/81333
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-10-23 09:02:55 +02:00
.git-hooks
.github
accessibility
android
animations
apple_remote
avmedia
basctl loplugin:virtualdead unused param in SfxObjectShell::FillClass 2019-10-21 13:06:49 +02:00
basegfx
basic Don't cast to check lower 16 bits; apply mask explicitly 2019-10-22 08:55:42 +02:00
bean
bin
binaryurp
bridges
canvas
chart2 tdf#127908 tdf#128193 Chart OOXML: Fix Custom Y axis title position 2019-10-22 14:33:46 +02:00
cli_ure
codemaker size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
comphelper size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
compilerplugins loplugin:unusedenumconstants 2019-10-22 18:13:16 +02:00
config_host
configmgr size some stringbuffer to prevent re-alloc 2019-10-21 08:36:01 +02:00
connectivity loplugin:stringadd (macOS) 2019-10-21 11:43:37 +02:00
cppcanvas
cppu
cppuhelper
cpputools
cui tdf#128239 Paragraph Dialog: Update Alignment tab 2019-10-22 22:04:30 +02:00
dbaccess loplugin:constantparam 2019-10-22 14:14:48 +02:00
desktop lok: convert JSON to StringMap in sent DialogEvent function 2019-10-22 14:08:56 +02:00
dictionaries@f46d0decbf Update git submodules 2019-10-22 21:26:40 +02:00
distro-configs
drawinglayer
dtrans
editeng size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
embeddedobj
embedserv
emfio
eventattacher
extensions
external external/lpsolve: Avoid UBSan nullptr-with-nonzero-offset 2019-10-22 16:50:31 +02:00
extras tdf#114746 Restore asian and complex tags in Progress template 2019-10-21 22:50:24 +02:00
filter loplugin:virtualdead unused param in ProcessClientAnchor2 2019-10-21 14:46:37 +02:00
forms loplugin:virtualdead unused params in forms 2019-10-21 18:13:44 +02:00
formula
fpicker loplugin:unusedenumconstants 2019-10-22 18:13:16 +02:00
framework size some stringbuffer to prevent re-alloc 2019-10-21 08:36:01 +02:00
helpcompiler
helpcontent2@d3e7a9e495 Update git submodules 2019-10-22 18:39:26 +02:00
hwpfilter
i18nlangtag
i18npool size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
i18nutil
icon-themes Sifr: Add more 32 px icons (Writer) 2019-10-21 11:03:12 +02:00
idl size some stringbuffer to prevent re-alloc 2019-10-21 08:36:01 +02:00
idlc size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
include size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit tilebench: output a helpful delta image and highlight the diffs. 2019-10-22 12:01:31 +02:00
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk ODK: cleanup windows linker debug args 2019-10-23 09:02:55 +02:00
offapi document contemporary uselessness of getTargetColorDepth 2019-10-22 17:11:52 +02:00
officecfg
onlineupdate
oovbaapi
oox tdf#127908 tdf#128193 Chart OOXML: Fix Custom Y axis title position 2019-10-22 14:33:46 +02:00
opencl
osx
package
pch
postprocess
pyuno
qadevOOo tdf#45904 Move XTextRange Java test to C++ 2019-10-23 03:36:53 +02:00
readlicense_oo readlicense_oo: Bump minimum GTK requirement 2019-10-20 02:29:48 -05:00
registry size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
remotebridges
reportbuilder
reportdesign
ridljar
sal size some stringbuffer to prevent re-alloc 2019-10-21 08:36:01 +02:00
salhelper
sax size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
sc tdf#45904 Move XTextRange Java test to C++ 2019-10-23 03:36:53 +02:00
scaddins
sccomp
schema
scp2
scripting
sd sd: sidebar: force to set the id of the LayoutMenu control 2019-10-22 23:10:35 +02:00
sdext
setup_native
sfx2 loplugin:constantparam 2019-10-22 14:14:48 +02:00
shell
slideshow
smoketest
solenv move AutocompleteEdit to fpicker 2019-10-21 11:32:55 +02:00
soltools Avoid -fsanitize=nullptr-with-offset 2019-10-21 09:27:41 +02:00
sot
starmath loplugin:virtualdead unused param in EditEngine::FieldClicked 2019-10-21 14:47:48 +02:00
stoc size some stringbuffer to prevent re-alloc 2019-10-21 08:36:01 +02:00
store
svgio
svl size some stringbuffer to prevent re-alloc 2019-10-21 08:36:01 +02:00
svtools lok: svtools: create ValueSetUIObject class 2019-10-23 02:38:33 +02:00
svx loplugin:constantparam 2019-10-22 14:14:48 +02:00
sw tdf#128058 Add Expand Collapse All to Navigator context menu 2019-10-23 04:38:36 +02:00
swext
sysui
test
testtools
toolkit
tools size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
translations@4960b59e9c
ucb Silence new Clang 10 trunk -std=c++2a -Wambiguous-reversed-operator for now 2019-10-21 22:54:34 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl size some stringbuffer to prevent re-alloc 2019-10-21 08:36:01 +02:00
unoil
unotest
unotools size some stringbuffer to prevent re-alloc 2019-10-21 08:36:01 +02:00
unoxml
ure
uui
vbahelper
vcl Make comparison operator member functions const 2019-10-23 07:09:57 +02:00
winaccessibility
wizards
writerfilter sw: what is that exception about 2019-10-22 17:09:30 +02:00
writerperfect
xmerge
xmlhelp
xmloff size some stringbuffer to prevent re-alloc 2019-10-23 08:55:00 +02:00
xmlreader
xmlscript tdf#42949 Fix IWYU warnings in xmlscript/ 2019-10-21 14:35:41 +02:00
xmlsecurity
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac We do not need a C++ GNU dialect 2019-10-21 12:44:19 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk Missing test dependency 2019-10-22 22:44:05 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
setup.cfg
TEMPLATE.SOURCECODE.HEADER

LibreOffice

Coverity Scan Build Status CII Best Practices

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 here and here. 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 2017 version 15.7
  • macOS:
    • Runtime: 10.10
    • Build: 10.13.2 + Xcode 9.3
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 5.0.2 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

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 5.0.2. 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 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 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.freenode.net - 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.