Test repository to check push and ssh key
Find a file
Jan Holesovsky 27172d6cfb android: Avoid building the apk when configured with --enable-android-lok.
Change-Id: I6e82d1c1c00d67f5ff370a7625e33efbb172ca38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86110
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit f4c83939ed)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86131
Tested-by: Jenkins
2020-01-02 18:11:43 +01:00
.git-hooks
.github
accessibility tdf#124176: Use "pragma once" on accessibility/* 2019-12-28 12:02:16 +01:00
android android: Avoid building the apk when configured with --enable-android-lok. 2020-01-02 18:11:43 +01:00
animations
apple_remote
avmedia
basctl Removed executable permission on file 2020-01-01 21:53:49 +01:00
basegfx Test for B2DRange 2019-12-26 21:47:40 +01:00
basic tdf#57113: store UTF-16 stringpool data after legacy 1-byte data 2020-01-01 19:21:50 +01:00
bean
bin rename SvxDialControl back to DialControl 2019-12-30 13:16:35 +01:00
binaryurp
bridges
canvas
chart2 tdf#125444 Add pptx import test for percentage 2020-01-02 15:45:03 +01:00
cli_ure
codemaker
comphelper
compilerplugins Bump copyright year to 2020 2020-01-02 07:05:24 +01:00
config_host
configmgr Clean up newly unused includes 2019-12-30 19:42:19 +01:00
connectivity use more TOOLS_WARN_EXCEPTION 2019-12-26 19:08:42 +01:00
cppcanvas tdf#124176: Use pragma once instead of include guards 2019-12-29 18:41:24 +01:00
cppu
cppuhelper Merge ImplementationInfo back into Implementation 2019-12-30 19:42:49 +01:00
cpputools
cui weld SlideBackground 2020-01-02 16:57:03 +01:00
dbaccess tdf#129375: Avoid crash when inserting bibliography entry on iOS 2019-12-31 15:07:09 +01:00
desktop sidebar: bring new sidebar commands in-house & be more assertive with sfx2 2020-01-02 12:04:01 +01:00
dictionaries@c4775e2e60 Update git submodules 2020-01-02 12:58:41 +01:00
distro-configs
drawinglayer drawinglayer: clang-format BasePrimitive2D + remove from blacklist 2020-01-01 20:58:56 +01:00
dtrans Fix a random crash on paste from clipboard on Windows 2019-12-31 21:01:12 +01:00
editeng tdf#59666 AutoCorrect: don't capitalize single Greek letters 2019-12-31 12:52:04 +01:00
embeddedobj
embedserv
emfio
eventattacher
extensions tdf#129375: Avoid crash when inserting bibliography entry on iOS 2019-12-31 15:07:09 +01:00
external skia: make gcc not crash for x86 builds 2019-12-29 20:39:17 +01:00
extras PageNumberListBox is now unused 2020-01-02 14:53:32 +01:00
filter Fix typo 2019-12-30 10:57:27 +01:00
forms tdf#124176: Use pragma once instead of include guards 2019-12-29 21:02:04 +01:00
formula
fpicker use more TOOLS_WARN_EXCEPTION 2019-12-26 19:08:42 +01:00
framework Fix typo 2019-12-28 11:58:16 +01:00
helpcompiler Avoid -Werror,-Wdeprecated-enum-enum-conversion 2019-12-30 08:32:26 +01:00
helpcontent2@1499595f8b Update git submodules 2020-01-02 16:37:30 +01:00
hwpfilter crashtesting: footnote-layout doesn't exist 2020-01-01 13:20:24 +01:00
i18nlangtag
i18npool
i18nutil
icon-themes Sifr: Add more 32 px icons (Calc, Draw & Impress default toolbar) 2020-01-02 18:00:24 +01:00
idl
idlc
include weld SlideBackground 2020-01-02 16:57:03 +01:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk Bump copyright year to 2020 2020-01-02 07:05:24 +01:00
offapi tdf#125444 Percentage as custom chart label 2020-01-01 17:36:04 +01:00
officecfg pdf: Add option for PDF/UA to the PDF export dialog 2019-12-29 17:00:44 +01:00
onlineupdate
oovbaapi
oox tdf#125444 Percentage as custom chart label 2020-01-01 17:36:04 +01:00
opencl
osx
package
pch
postprocess tdf#129375: Avoid crash when inserting bibliography entry on iOS 2019-12-31 15:07:09 +01:00
pyuno
qadevOOo
readlicense_oo Bump copyright year to 2020 2020-01-02 07:05:24 +01:00
registry
remotebridges
reportbuilder
reportdesign use more TOOLS_WARN_EXCEPTION 2019-12-26 19:08:42 +01:00
ridljar
sal Fix typo 2019-12-27 18:58:58 +01:00
salhelper
sax
sc tdf#129712: check if outliner view pointer is valid to avoid crash 2020-01-02 11:02:18 +01:00
scaddins
sccomp
schema
scp2
scripting
sd weld SlideBackground 2020-01-02 16:57:03 +01:00
sdext
setup_native Bump copyright year to 2020 2020-01-02 07:05:24 +01:00
sfx2 tdf#42949 Fix IWYU warnings in sfx2/source/[b-c]*/*cxx 2020-01-02 14:43:36 +01:00
shell
slideshow
smoketest
solenv weld SlideBackground 2020-01-02 16:57:03 +01:00
soltools
sot
starmath use FastParser in starmath 2019-12-25 07:29:36 +01:00
stoc
store
svgio
svl
svtools support welded toolbar popovers in PopupWindowController 2019-12-31 12:06:25 +01:00
svx weld SlideBackground 2020-01-02 16:57:03 +01:00
sw weld SlideBackground 2020-01-02 16:57:03 +01:00
swext
sysui
test sal_Char->char in test..testtools 2019-12-23 10:51:05 +01:00
testtools sal_Char->char in test..testtools 2019-12-23 10:51:05 +01:00
toolkit use more TOOLS_WARN_EXCEPTION 2019-12-26 19:08:42 +01:00
tools pdf: extract XMP metadata writing and use XmlWriter 2019-12-28 19:46:50 +01:00
translations@6d4072204c
ucb sal_Char->char in ucb 2019-12-23 15:12:42 +01:00
ucbhelper
udkapi Revert "tdf#124176: Use "pragma once" on udkapi/*" 2019-12-28 19:55:35 +01:00
uitest UITest: fix spellDialog.SpellingAndGrammarDialog.test_tdf46852 2019-12-28 00:19:17 +01:00
UnoControls tdf#124176: Use "pragma once" on UnoControls/* 2019-12-28 10:31:38 +01:00
unodevtools sal_Char->char in unoxml 2019-12-24 17:28:50 +01:00
unoidl
unoil
unotest Avoid crash in shutdown when accessing already destroyed BASIC_DLL 2019-12-29 15:46:16 +01:00
unotools android: Use correct path for the .mo resource files. 2020-01-01 23:43:24 +01:00
unoxml sal_Char->char in unoxml 2019-12-24 17:28:50 +01:00
ure
uui sal_Char->char in vcl 2019-12-24 11:03:58 +01:00
vbahelper sal_Char->char in vcl 2019-12-24 11:03:58 +01:00
vcl android: Make the Calc input bar working on the Android device too. 2020-01-01 23:42:25 +01:00
winaccessibility
wizards
writerfilter tdf#129605 rtfimport: deduplicating borders loses information 2020-01-02 10:28:37 +01:00
writerperfect
xmerge
xmlhelp sal_Char->char in xmloff..xmlsecurity 2019-12-25 15:55:19 +01:00
xmloff tdf#123206 Add test: import custom-label-field 2020-01-02 14:38:12 +01:00
xmlreader
xmlscript tdf#124176: Use "pragma once" on xmlscript/* 2019-12-28 12:04:11 +01:00
xmlsecurity sal_Char->char in xmloff..xmlsecurity 2019-12-25 15:55:19 +01:00
.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 Fix order of CLANGTOOLLIBS archives 2019-12-29 16:17:50 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst update cppunit to 1.15.1 2019-12-24 20:45:53 +01:00
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit Fix typo 2019-12-26 13:50:47 +01:00
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk tdf#129375: Avoid crash when inserting bibliography entry on iOS 2019-12-31 15:07:09 +01:00
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk tdf#129375: Avoid crash when inserting bibliography entry on iOS 2019-12-31 15:07:09 +01:00
sanitize-ubsan-blacklist
setup.cfg
TEMPLATE.SOURCECODE.HEADER

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 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 and SDK 22.6.2

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.