Test repository to check push and ssh key
Find a file
Jens Carl 7ae358f33f tdf#45904 Move XNameAccess Java tests to C++
Move XNameAccess Java tests to C++ for ScDataPilotFieldGroupsObj.

Change-Id: Ifa926bd64ac7fc7cd7df080e400ab36e084f1708
Reviewed-on: https://gerrit.libreoffice.org/67703
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-12 02:30:35 +01:00
.git-hooks
accessibility TDF#114441 - Convert use of sal_uLong to sal_uInt32 2019-02-11 11:51:31 +01:00
android
animations
apple_remote
avmedia
basctl new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
basegfx
basic tdf#112689: Replace chained O(U)StringBuffer::append() with operator+ 2019-02-11 14:33:12 +01:00
bean
bin find-unneeded-includes: Skip headers used only for compile test 2019-02-11 09:41:35 +01:00
binaryurp
bridges Revert "tdf#112689: Replace changed O(U)StringBuffer::append() with operator+" 2019-02-11 15:16:06 +02:00
canvas
chart2 Resolves: tdf#123231 spin-button focus loss triggers changing active radio 2019-02-11 16:53:10 +01:00
cli_ure
codemaker
comphelper Fix typo 2019-02-10 08:44:51 +01:00
compilerplugins new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
config_host
configmgr
connectivity new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
cppcanvas
cppu loplugin:indentation in cppu..cui 2019-02-08 13:16:15 +01:00
cppuhelper loplugin:indentation in cppu..cui 2019-02-08 13:16:15 +01:00
cpputools
cui weld SvBaseLinksDlg 2019-02-11 16:34:44 +01:00
dbaccess tdf#123020: migration to Firebird fix tablename for indexes (2) 2019-02-11 20:37:55 +01:00
desktop loplugin:indentation in dbaccess..drawinglayer 2019-02-08 13:39:15 +01:00
dictionaries@6811c96b9d
distro-configs
drawinglayer move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
dtrans Win64 fixes for dtrans. 2019-02-10 21:59:28 +01:00
editeng loplugin:indentation in editeng..extensions 2019-02-08 14:37:05 +01:00
embeddedobj loplugin:indentation in editeng..extensions 2019-02-08 14:37:05 +01:00
embedserv
emfio move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
eventattacher loplugin:indentation in editeng..extensions 2019-02-08 14:37:05 +01:00
extensions Make LDAP support optional 2019-02-10 07:56:14 +01:00
external Make LDAP support optional 2019-02-10 07:56:14 +01:00
extras weld SvBaseLinksDlg 2019-02-11 16:34:44 +01:00
filter new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
forms loplugin:indentation in forms..fpicker 2019-02-09 17:07:19 +01:00
formula
fpicker loplugin:indentation in forms..fpicker 2019-02-09 17:07:19 +01:00
framework new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
helpcompiler loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
helpcontent2@dfc93df5d7 Update git submodules 2019-02-11 14:32:51 +01:00
hwpfilter loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
i18nlangtag
i18npool tdf#120703 PVS: V560 A part of conditional expression is always true/false 2019-02-11 07:07:30 +01:00
i18nutil loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
icon-themes Sifr icon theme update 2019-02-11 09:58:35 +01:00
idl loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
idlc loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
include weld SvBaseLinksDlg 2019-02-11 16:34:44 +01:00
instsetoo_native
io loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk loplugin:indentation in jvmfwk..lotuswordpro 2019-02-09 17:07:36 +01:00
l10ntools new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
librelogo
libreofficekit
lingucomponent loplugin:indentation in lingucomponent..tools 2019-02-11 07:00:45 +01:00
linguistic loplugin:indentation in jvmfwk..lotuswordpro 2019-02-09 17:07:36 +01:00
lotuswordpro tdf#120703 PVS: V560 A part of conditional expression is always true/false 2019-02-11 07:08:50 +01:00
m4
nlpsolver
o3tl
odk
offapi
officecfg
onlineupdate
oovbaapi
oox new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
opencl
osx
package tdf#120703 PVS: V560 A part of conditional expression is always true/false 2019-02-11 07:09:11 +01:00
postprocess Make LDAP support optional 2019-02-10 07:56:14 +01:00
pyuno
qadevOOo tdf#45904 Move XNameAccess Java tests to C++ 2019-02-12 02:30:35 +01:00
readlicense_oo
registry loplugin:indentation in registry..sax 2019-02-09 17:08:00 +01:00
remotebridges
reportbuilder
reportdesign new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
ridljar
sal tdf#120703 PVS: V560 A part of conditional expression is always true/false 2019-02-11 07:07:30 +01:00
salhelper
sax loplugin:indentation in registry..sax 2019-02-09 17:08:00 +01:00
sc tdf#45904 Move XNameAccess Java tests to C++ 2019-02-12 02:30:35 +01:00
scaddins loplugin:indentation in sd 2019-02-09 21:04:23 +01:00
sccomp
schema
scp2
scripting new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
sd weld SvBaseLinksDlg 2019-02-11 16:34:44 +01:00
sdext new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
setup_native
sfx2 new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
shell loplugin:indentation in sfx2..slideshow 2019-02-09 21:04:42 +01:00
slideshow loplugin:indentation in sfx2..slideshow 2019-02-09 21:04:42 +01:00
smoketest
solenv new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
soltools new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
sot loplugin:indentation in soltools..svl 2019-02-10 11:18:35 +01:00
starmath loplugin:indentation in soltools..svl 2019-02-10 11:18:35 +01:00
stoc new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
store
svgio move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
svl tdf#120703 PVS: V560 A part of conditional expression is always true/false 2019-02-11 07:09:11 +01:00
svtools new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
svx tdf#22919 crash on insert picture as background from the gallery 2019-02-11 14:09:47 +01:00
sw weld SvBaseLinksDlg 2019-02-11 16:34:44 +01:00
swext
sysui
test move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
testtools
toolkit new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
tools loplugin:indentation in lingucomponent..tools 2019-02-11 07:00:45 +01:00
translations@46a65ed743
ucb new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
ucbhelper loplugin:indentation in ucb..ucbhelper 2019-02-11 07:00:53 +01:00
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools loplugin:indentation in unotools..vbahelper 2019-02-11 07:01:05 +01:00
unoxml loplugin:indentation in unotools..vbahelper 2019-02-11 07:01:05 +01:00
ure
uui loplugin:indentation in unotools..vbahelper 2019-02-11 07:01:05 +01:00
vbahelper loplugin:indentation in unotools..vbahelper 2019-02-11 07:01:05 +01:00
vcl Resolves: tdf#123080 don't require wayland at runtime 2019-02-11 18:37:40 +01:00
winaccessibility
wizards
writerfilter new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
writerperfect
xmerge
xmlhelp new loplugin writeonlyvars 2019-02-11 13:25:31 +01:00
xmloff tdf#120703 PVS: V560 A part of conditional expression is always true/false 2019-02-11 07:09:11 +01:00
xmlreader
xmlscript new loplugin indentation 2019-02-11 08:24:19 +01:00
xmlsecurity new loplugin indentation 2019-02-11 08:24:19 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac fix comment 2019-02-10 11:10:27 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
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 Make LDAP support optional 2019-02-10 07:56:14 +01:00
RepositoryExternal.mk Make LDAP support optional 2019-02-10 07:56:14 +01: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
  • macOS:
    • Runtime: 10.10
    • Build: 10.13.2 + Xcode 9.3
  • Linux:
    • Runtime: RHEL 6 or CentOS 6
    • 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

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.