Test repository to check push and ssh key
Find a file
Heiko Tietze 7fef6c0fed Tip of the day randomized
Necessary because of serial presentation after
I69b72b80d6d6afa25a1c4f01fa05bc60b5741db8

Change-Id: I26d2a08442b91c11ec7d9c4addaaad764e7f3ba9
Reviewed-on: https://gerrit.libreoffice.org/80371
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2019-10-08 10:57:59 +02:00
.git-hooks
.github
accessibility
android
animations
apple_remote
avmedia Replace SystemEnvData pToolkit/pPlatformName strings with enums 2019-10-06 12:05:28 +02:00
basctl Related: tdf#127935 set default activate handler to toggle row expansion 2019-10-06 22:14:17 +02:00
basegfx cid#1454631 Logically dead code 2019-10-07 12:48:39 +02:00
basic
bean
bin Add libexttextcat, needed by the guesslang component 2019-10-07 14:47:14 +03:00
binaryurp
bridges always use gb_LinkTarget__get_cxxflags for cxxobjects 2019-10-04 08:57:29 +02:00
canvas The SystemEnvData passed into the canvas factories appears to be unused 2019-10-05 18:31:20 +02:00
chart2 loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
cli_ure
codemaker loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
comphelper loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
compilerplugins loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
config_host
configmgr convert equals() to operator== in xmlreader::Span 2019-10-06 17:06:53 +02:00
connectivity enable -Wrange-loop-analysis on clang 2019-10-07 09:42:23 +02:00
cppcanvas
cppu
cppuhelper
cpputools
cui Tip of the day randomized 2019-10-08 10:57:59 +02:00
dbaccess enable -Wrange-loop-analysis on clang 2019-10-07 09:42:23 +02:00
desktop Related: tdf#127529 make it harder to misunderstand this VirtualDevice ctor 2019-10-04 20:38:00 +02:00
dictionaries@e2f020e6e2
distro-configs Use --with-sytem-cairo for the ASan+UBSan tinderbox again 2019-10-01 23:02:37 +02:00
drawinglayer loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
dtrans
editeng loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
embeddedobj loplugin:logexceptionnicely (clang-cl) 2019-10-01 23:03:19 +02:00
embedserv -Werror,-Wmicrosoft-exception-spec (clang-cl) 2019-10-02 08:18:57 +02:00
emfio
eventattacher
extensions Related: tdf#127935 set default activate handler to toggle row expansion 2019-10-06 22:14:17 +02:00
external Resolves: tdf#127887 Fix libwps wrong Lotus version detection 2019-10-02 11:23:03 +02:00
extras SvSimpleTableContainer is now unused 2019-10-07 17:55:05 +02:00
filter Fix typo 2019-10-07 19:50:19 +02:00
forms
formula Related: tdf#127935 set default activate handler to toggle row expansion 2019-10-06 22:14:17 +02:00
fpicker move file picker only code to fpicker 2019-10-05 16:06:59 +02:00
framework loplugin:unusedmethods 2019-10-03 16:34:31 +02:00
helpcompiler
helpcontent2@360d9cfe12 Update git submodules 2019-10-05 21:53:51 +02:00
hwpfilter ofz#17823 avoid timeout 2019-10-04 22:18:09 +02:00
i18nlangtag
i18npool
i18nutil Drop bogus memset 2019-10-05 13:21:30 +02:00
icon-themes hidpi cursors for macOS 2019-10-07 22:02:12 +02:00
idl loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
idlc
include cleanups in xmlreader 2019-10-08 08:30:46 +02:00
instsetoo_native tdf#127711 - A runtime-switch for the MiniCrashDump 2019-10-02 09:43:12 +02:00
io
ios Use correct directory for some data files on iOS: share/filter, not filter 2019-10-07 15:02:01 +03:00
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools pocheck: also preserve header in check for function names 2019-10-02 23:36:51 +02:00
librelogo
libreofficekit enable -Wrange-loop-analysis on clang 2019-10-07 09:42:23 +02:00
lingucomponent
linguistic use FastParser in linguistic 2019-10-07 21:31:17 +02:00
lotuswordpro ofz#17675 loop in lwp filter 2019-10-04 22:19:50 +02:00
m4
nlpsolver
o3tl
odk
offapi
officecfg
onlineupdate
oovbaapi
oox tdf#127777 OOXML chart export: fix "CrossBetween" for not imported charts 2019-10-07 12:36:28 +02:00
opencl
osx
package
pch add gbuild function for a common PCH and use it in sc/ and sax/ 2019-10-04 08:59:34 +02:00
postprocess
pyuno
qadevOOo
readlicense_oo
registry tdf#127766: Avoid ODR violation for class/struct FieldEntry 2019-10-03 17:35:37 +02:00
remotebridges
reportbuilder
reportdesign loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
ridljar
sal cid#1448512 silence bogus Out-of-bounds access 2019-10-07 16:31:46 +02:00
salhelper
sax Deduplicate some serializer writing code, and simplify writing OString 2019-10-04 12:40:06 +02:00
sc use cppu::WeakImplHelper in ScDataPilotDescriptorBase 2019-10-08 08:28:33 +02:00
scaddins add gbuild function for a common PCH and use it in sc/ and sax/ 2019-10-04 08:59:34 +02:00
sccomp
schema sw anchored object allow overlap: replace TODO with OASIS proposal 2019-10-03 09:01:46 +02:00
scp2 tdf#127711 - A runtime-switch for the MiniCrashDump 2019-10-02 09:43:12 +02:00
scripting
sd loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
sdext loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
setup_native
sfx2 loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
shell -Werror,-Wmicrosoft-exception-spec (clang-cl) 2019-10-02 08:18:57 +02:00
slideshow
smoketest
solenv handle more -arch: options when avoiding D9025 2019-10-07 21:56:08 +02:00
soltools
sot
starmath loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
stoc
store
svgio loplugin:unusedfields 2019-10-03 12:16:38 +02:00
svl improve SfxPoolItem operator== implementations 2019-10-06 11:58:50 +02:00
svtools SvSimpleTableContainer is now unused 2019-10-07 17:55:05 +02:00
svx loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
sw tdf#127825 DOCX import: fix handling for tbrl, auto-height and rel size shapes 2019-10-08 08:49:03 +02:00
swext
sysui
test
testtools
toolkit use cppu::WeakImplHelper in VCLXRegion 2019-10-08 08:25:39 +02:00
tools loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
translations@c1894cfe4c Update git submodules 2019-10-02 23:40:07 +02:00
ucb use cppu::WeakImplHelper in CachedDynamicResultSetFactory 2019-10-08 08:29:04 +02:00
ucbhelper use cppu::WeakImplHelper in ResultSetMetaData 2019-10-08 08:27:40 +02:00
udkapi
uitest Revert "uitest: make child soffice process die when parent dies" 2019-10-04 12:44:27 +02:00
UnoControls
unodevtools loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
unoidl
unoil
unotest WTF "WTF 255 return value?" 2019-10-02 15:24:39 +02:00
unotools loplugin:stringadd in tools..unotools 2019-10-02 08:01:38 +02:00
unoxml
ure
uui
vbahelper new loplugin:stringadd 2019-10-02 11:22:27 +02:00
vcl loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02:00
winaccessibility -Werror,-Wmicrosoft-exception-spec (clang-cl) 2019-10-02 08:18:57 +02:00
wizards
writerfilter tdf#127825 DOCX import: fix handling for tbrl, auto-height and rel size shapes 2019-10-08 08:49:03 +02:00
writerperfect On Windows, Library_wpftwriter indirectly references Bcrypt.lib 2019-10-02 11:25:35 +02:00
xmerge
xmlhelp
xmloff use FastParser in linguistic 2019-10-07 21:31:17 +02:00
xmlreader cleanups in xmlreader 2019-10-08 08:30:46 +02:00
xmlscript loplugin:stringadd in writerfilter..xmloff 2019-10-02 08:47:24 +02:00
xmlsecurity loplugin:redundantpointerops simplify *p.get() 2019-10-08 08:26:23 +02: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 try to autodetect flags needed to build Clang plugins 2019-10-07 21:57:13 +02:00
config_host_lang.mk.in
configure.ac update help text of --disable-gui 2019-10-08 10:32:47 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst openssl 1.0.2t 2019-10-07 12:48:23 +02:00
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in Makefile comments need to start in the first column 2019-10-07 15:34:49 +03:00
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk add "system" PCH that contains often used system headers such as STL 2019-10-04 08:58:52 +02:00
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.