Test repository to check push and ssh key
Find a file
Caolán McNamara a2791a8b0d add an explicit --disable-qrcodegen configure option
Change-Id: If8e965fa955aecdb9e7011bdddc690de9cad0c4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103120
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-09-21 21:39:27 +02:00
.git-hooks
.github
accessibility
android
animations
apple_remote
avmedia Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
basctl tdf#134331 - Added possibility to sort macros via context menu 2020-09-21 01:39:22 +02:00
basegfx
basic update pches 2020-09-21 20:10:38 +02:00
bean
bin make vim-ide-integration: fix ResourceWarning 2020-09-17 13:10:29 +02:00
binaryurp
bridges WIN bridges: unify cpp2uno common code 2020-09-17 00:01:50 +02:00
canvas
chart2 update pches 2020-09-21 20:10:38 +02:00
cli_ure cli_ure: Disable .NET for Windows Arm64 build 2020-09-17 09:23:55 +02:00
codemaker
comphelper Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
compilerplugins weld infobars 2020-09-21 20:10:06 +02:00
config_host add an explicit --disable-qrcodegen configure option 2020-09-21 21:39:27 +02:00
configmgr
connectivity update pches 2020-09-21 20:10:38 +02:00
cppcanvas update pches 2020-09-21 20:10:38 +02:00
cppu
cppuhelper update pches 2020-09-21 20:10:38 +02:00
cpputools
cui add an explicit --disable-qrcodegen configure option 2020-09-21 21:39:27 +02:00
dbaccess update pches 2020-09-21 20:10:38 +02:00
desktop update pches 2020-09-21 20:10:38 +02:00
dictionaries@8cd579e3a6
distro-configs add an explicit --disable-qrcodegen configure option 2020-09-21 21:39:27 +02:00
drawinglayer update pches 2020-09-21 20:10:38 +02:00
dtrans Add "Persistent", deprecate "Persistant" in RenderingCapabilities 2020-09-17 15:20:27 +02:00
editeng Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
embeddedobj Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
embedserv
emfio update pches 2020-09-21 20:10:38 +02:00
eventattacher
extensions Make sure --enable-online-update does not leave behind UpdateCheckThread 2020-09-18 20:42:32 +02:00
external add an explicit --disable-qrcodegen configure option 2020-09-21 21:39:27 +02:00
extras tdf#135727 add Korean Autocorrect list 2020-09-21 20:48:24 +02:00
filter tdf#136620 tdf#136708 filter,oox,sw: fix export of 2 different wraps 2020-09-21 11:02:20 +02:00
forms
formula
fpicker
framework update pches 2020-09-21 20:10:38 +02:00
helpcompiler
helpcontent2@5c93f0a8c1 Update git submodules 2020-09-18 00:46:14 +02:00
hwpfilter
i18nlangtag
i18npool Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
i18nutil
icon-themes
idl
idlc Fix typo in code 2020-09-21 15:24:43 +02:00
include weld infobars 2020-09-21 20:10:06 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk jvmfwk: add vendorbase entry for Windows Arm64 2020-09-17 09:24:12 +02:00
l10ntools Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
librelogo
libreofficekit Online: Show input help on Online / Core part. 2020-09-18 13:00:34 +02:00
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk
offapi offapi: add missing @since tag for setSizeHint() 2020-09-21 09:04:23 +02:00
officecfg Resolves tdf#97918 - Individual UNO commands for distribution options 2020-09-18 01:11:18 +02:00
onlineupdate
oovbaapi
oox tdf#136620 tdf#136708 filter,oox,sw: fix export of 2 different wraps 2020-09-21 11:02:20 +02:00
opencl
osx
package
pch
postprocess
pyuno
qadevOOo xmloff: remove dead com.sun.star.comp.Draw.XMLSettingsExporter 2020-09-18 09:08:38 +02:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign loplugin:xmlimport check for bad conversions to fastparser 2020-09-20 17:00:04 +02:00
ridljar
sal cppunittester: Do not unload test libraries 2020-09-21 15:26:05 +02:00
salhelper
sax Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
sc update pches 2020-09-21 20:10:38 +02:00
scaddins
sccomp
schema
scp2 cli_ure: Disable .NET for Windows Arm64 build 2020-09-17 09:23:55 +02:00
scripting Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
sd update pches 2020-09-21 20:10:38 +02:00
sdext Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
setup_native
sfx2 tdf#136781 add some spacing to the special character favorites 2020-09-21 21:19:46 +02:00
shell fix LTO+mergedlibs on windows 2020-09-17 17:55:23 +02:00
slideshow
smoketest
solenv weld infobars 2020-09-21 20:10:06 +02:00
soltools
sot
starmath
stoc
store
svgio Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
svl Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
svtools update pches 2020-09-21 20:10:38 +02:00
svx update pches 2020-09-21 20:10:38 +02:00
sw update pches 2020-09-21 20:10:38 +02:00
swext
sysui
test Disable automatic onFirstVisibleTask UpdateCheck during CppunitTests 2020-09-18 17:47:28 +02:00
testtools
toolkit Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
tools osl+tools: fix Windows Arm64 build 2020-09-17 06:38:23 +02:00
translations@14a72851d4
ucb Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil cli_ure: Disable .NET for Windows Arm64 build 2020-09-17 09:23:55 +02:00
unotest
unotools update pches 2020-09-21 20:10:38 +02:00
unoxml
ure
uui update pches 2020-09-21 20:10:38 +02:00
vbahelper Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString 2020-09-16 23:02:09 +02:00
vcl update pches 2020-09-21 20:10:38 +02:00
winaccessibility
wizards Access2Base - access2base.py, remove compatibility import 2020-09-21 12:31:03 +02:00
writerfilter update pches 2020-09-21 20:10:38 +02:00
writerperfect writerperfect: include sal/config.h first 2020-09-17 22:06:22 +02:00
xmerge
xmlhelp
xmloff Make some OUStringLiteral vars constexpr 2020-09-21 13:28:27 +02:00
xmlreader
xmlscript
xmlsecurity update pches 2020-09-21 20:10:38 +02: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 add an explicit --disable-qrcodegen configure option 2020-09-21 21:39:27 +02:00
config_host_lang.mk.in
configure.ac add an explicit --disable-qrcodegen configure option 2020-09-21 21:39:27 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst external: update pdfium to 4260 2020-09-16 08:39:06 +02:00
g
hardened_runtime.xcent.in
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 twain32shim: disable for Windows Arm64 build 2020-09-18 10:13:30 +02:00
RepositoryExternal.mk add an explicit --disable-qrcodegen configure option 2020-09-21 21:39:27 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
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 2019 version 16.4
  • macOS:
    • Runtime: 10.10
    • Build: 10.14.4 + Xcode 11.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.