Test repository to check push and ssh key
Find a file
Andrea Gelmini 62f0218148 Fix typo
Change-Id: I3f4a60a977c20b2e5d380fe9dd26d80a20099c05
Reviewed-on: https://gerrit.libreoffice.org/70741
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-04-14 19:42:21 +02:00
.git-hooks
accessibility loplugin:sequentialassign in accessiblity..canvas 2019-04-12 13:06:26 +02:00
android
animations
apple_remote Fix typo 2019-04-11 08:54:41 +02:00
avmedia use more std::make_unique 2019-04-13 09:28:44 +02:00
basctl loplugin:sequentialassign in accessiblity..canvas 2019-04-12 13:06:26 +02:00
basegfx loplugin:sequentialassign in accessiblity..canvas 2019-04-12 13:06:26 +02:00
basic loplugin:sequentialassign in accessiblity..canvas 2019-04-12 13:06:26 +02:00
bean Fix typo 2019-04-09 07:56:02 +02:00
bin Fix typo 2019-04-10 07:36:25 +02:00
binaryurp
bridges use more std::make_unique 2019-04-13 09:28:44 +02:00
canvas loplugin:sequentialassign in accessiblity..canvas 2019-04-12 13:06:26 +02:00
chart2 tdf#120703 PVS: V581 ifs with identical conditions 2019-04-14 15:47:48 +02:00
cli_ure Fix typo 2019-04-14 19:42:21 +02:00
codemaker tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
comphelper loplugin:sequentialassign in comphelper..cui 2019-04-12 15:33:02 +02:00
compilerplugins loplugin:unusedfields 2019-04-12 18:29:29 +02:00
config_host
configmgr Allow <oor:items> in .xcd too 2019-04-12 16:03:49 +02:00
connectivity loplugin:sequentialassign in codemaker..connectivity 2019-04-13 08:06:01 +02:00
cppcanvas loplugin:sequentialassign in comphelper..cui 2019-04-12 15:33:02 +02:00
cppu
cppuhelper
cpputools
cui tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
dbaccess tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
desktop loplugin:sequentialassign in dbaccess..desktop 2019-04-13 14:46:37 +02:00
dictionaries@10e0418ad6
distro-configs
drawinglayer
dtrans
editeng loplugin:sequentialassign in editeng..extensions 2019-04-13 14:46:45 +02:00
embeddedobj loplugin:sequentialassign in embeddedobj..l10ntools 2019-04-13 21:14:15 +02:00
embedserv clang-tidy: Fix suspicious catches of WIP unhandled-self-assignment check 2019-04-10 01:06:19 +02:00
emfio loplugin:sequentialassign in editeng..extensions 2019-04-13 14:46:45 +02:00
eventattacher
extensions loplugin:sequentialassign in editeng..extensions 2019-04-13 14:46:45 +02:00
external graphite: Force optimization on Android. 2019-04-11 21:23:47 +02:00
extras tdf#124238 - Show a Tip-Of-The-Day dialog on startup 2019-04-10 16:54:37 +02:00
filter loplugin:sequentialassign in filter..fpicker 2019-04-13 14:46:53 +02:00
forms loplugin:sequentialassign in filter..fpicker 2019-04-13 14:46:53 +02:00
formula weld ScCorrelationDialog 2019-04-10 21:23:21 +02:00
fpicker loplugin:sequentialassign in filter..fpicker 2019-04-13 14:46:53 +02:00
framework loplugin:sequentialassign in framework 2019-04-13 14:47:12 +02:00
helpcompiler
helpcontent2@7d80346111 Update git submodules 2019-04-11 15:01:37 +02:00
hwpfilter clang-tidy: Fix suspicious catches of WIP unhandled-self-assignment check 2019-04-10 01:06:19 +02:00
i18nlangtag
i18npool loplugin:sequentialassign in embeddedobj..l10ntools 2019-04-13 21:14:15 +02:00
i18nutil
icon-themes tdf#124649 menubar show icons for the most important items 2019-04-13 21:21:07 +02:00
idl
idlc
include Resolves: tdf#124698 bubble down parent for modal dialog 2019-04-12 22:18:13 +02:00
instsetoo_native
io
ios tdf#124449: We need also share/gallery for the iOS app 2019-04-12 15:36:19 +03:00
javaunohelper
jurt
jvmaccess
jvmfwk loplugin:sequentialassign in embeddedobj..l10ntools 2019-04-13 21:14:15 +02:00
l10ntools loplugin:sequentialassign in embeddedobj..l10ntools 2019-04-13 21:14:15 +02:00
librelogo
libreofficekit use more std::make_unique 2019-04-13 09:28:44 +02:00
lingucomponent
linguistic loplugin:sequentialassign in linguistic..lotuswordpro 2019-04-13 21:14:21 +02:00
lotuswordpro tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
m4
nlpsolver
o3tl
odk
offapi
officecfg tdf#124649 menubar show icons for the most important items 2019-04-13 21:21:07 +02:00
onlineupdate
oovbaapi
oox tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
opencl
osx
package loplugin:sequentialassign in oox..reportdesign 2019-04-13 21:14:26 +02:00
postprocess
pyuno loplugin:sequentialassign in oox..reportdesign 2019-04-13 21:14:26 +02:00
qadevOOo tdf#45904 Move TextContent Java tests to C++ 2019-04-12 06:12:19 +02:00
readlicense_oo update credits 2019-04-09 15:01:47 +02:00
registry
remotebridges
reportbuilder
reportdesign tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
ridljar
sal loplugin:sequentialassign in sal 2019-04-13 21:14:34 +02:00
salhelper
sax tdf#120703 PVS: V581 ifs with identical conditions 2019-04-14 15:47:48 +02:00
sc weld ScConsolidateDlg 2019-04-14 15:54:08 +02:00
scaddins
sccomp
schema
scp2
scripting
sd tdf#120703 PVS: V581 ifs with identical conditions 2019-04-14 15:47:48 +02:00
sdext tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
setup_native
sfx2 tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
shell tdf#119890 followup: Forbid HOME to be the default dir 2019-04-13 14:59:48 +02:00
slideshow
smoketest
solenv weld ScConsolidateDlg 2019-04-14 15:54:08 +02:00
soltools
sot
starmath tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
stoc loplugin:sequentialassign in starmath..svl 2019-04-14 08:29:08 +02:00
store loplugin:sequentialassign in starmath..svl 2019-04-14 08:29:08 +02:00
svgio loplugin:sequentialassign in starmath..svl 2019-04-14 08:29:08 +02:00
svl loplugin:sequentialassign in starmath..svl 2019-04-14 08:29:08 +02:00
svtools tdf#120703 PVS: V581 ifs with identical conditions 2019-04-14 15:47:48 +02:00
svx tdf#120703 PVS: V581 ifs with identical conditions 2019-04-14 15:47:48 +02:00
sw tdf#120703 PVS: V581 ifs with identical conditions 2019-04-14 15:47:48 +02:00
swext
sysui
test tdf#45904 Move TextContent Java tests to C++ 2019-04-12 06:12:19 +02:00
testtools
toolkit tdf#42949 Fix IWYU warnings in include/vcl 2019-04-10 10:15:00 +02:00
tools
translations@46a65ed743
ucb
ucbhelper
udkapi Fix typos 2019-04-11 08:55:50 +02:00
uitest Fix one more get_url_for_data_file 2019-04-10 18:16:41 +02:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools Resolves: tdf#124698 bubble down parent for modal dialog 2019-04-12 22:18:13 +02:00
unoxml
ure
uui
vbahelper
vcl Octree: more clean-up, avoid memset, prefix member vars 2019-04-14 14:19:34 +02:00
winaccessibility
wizards Access2Base - FIX Display dlgTrace dialog tooltip in user language 2019-04-13 12:41:34 +02:00
writerfilter tdf#124670: xml:space attribute may be specified for w:document top-level element 2019-04-14 08:58:53 +02:00
writerperfect tdf#120703 PVS: V581 ifs with identical conditions 2019-04-14 15:47:48 +02:00
xmerge
xmlhelp
xmloff tdf#120703 PVS: Silence V522 warnings 2019-04-14 14:14:36 +02:00
xmlreader
xmlscript
xmlsecurity use more std::make_unique 2019-04-13 09:28:44 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in merge --enable-selective-debuginfo into --enable-symbols 2019-04-11 12:20:55 +02:00
config_host_lang.mk.in
configure.ac merge --enable-selective-debuginfo into --enable-symbols 2019-04-11 12:20:55 +02: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 tdf#124238 - Show a Tip-Of-The-Day dialog on startup 2019-04-10 16:54:37 +02:00
RepositoryExternal.mk
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.