Test repository to check push and ssh key
Find a file
Noel Grandin e73b99b8dd loplugin:finalclasses in i18npool..linguistic
Change-Id: Ib903fb2fdb4c4c25f73053065b828dade8b63785
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86687
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-01-14 07:12:31 +01:00
.git-hooks
.github
accessibility tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-13 10:48:02 +01:00
android android: don't try to copy the apk if it does not exist 2020-01-03 16:53:07 +01:00
animations
apple_remote
avmedia sal_Char->char in avmedia..basic 2019-12-18 12:23:44 +01:00
basctl tdf#129360: fix old unsigned underflow 2020-01-13 19:24:19 +01:00
basegfx crashtesting: downgrade assert to a warning 2020-01-13 21:35:57 +01:00
basic use more std::make_shared 2020-01-10 13:07:41 +01:00
bean
bin python3: bundle libffi for GNU/Linux builds 2020-01-09 17:56:19 +01:00
binaryurp
bridges aarch64 r18 is reserved at least on Android 2020-01-07 20:27:57 +01:00
canvas use more std::make_shared 2020-01-10 13:07:41 +01:00
chart2 use FastParser in chart2 2020-01-13 14:35:06 +01:00
cli_ure
codemaker sal_Char->char in canvas..codemaker 2019-12-18 14:18:55 +01:00
comphelper Revert "tdf#125662: disable parallel-zip if the memory..." 2020-01-13 12:09:28 +01:00
compilerplugins loplugin:unusedmethods 2020-01-13 09:16:59 +01:00
config_host add setting to config_skia.h whether to use 32bpp bitmaps 2020-01-09 15:26:31 +01:00
configmgr use more std::make_shared 2020-01-10 13:07:41 +01:00
connectivity use more std::make_shared 2020-01-10 13:07:41 +01:00
cppcanvas use more std::make_shared 2020-01-10 13:07:41 +01:00
cppu Replace a CPPUNIT_ASSERT_EQUAL with a static_assert 2020-01-07 20:27:04 +01:00
cppuhelper use more std::make_shared 2020-01-10 13:07:41 +01:00
cpputools sal_Char->char in cppcanvas..cui 2019-12-18 17:40:23 +01:00
cui rename NumValueSet back to SvxNumValueSet 2020-01-13 18:15:11 +01:00
dbaccess convert dbaccess to FastParser APIs 2020-01-13 13:34:15 +01:00
desktop Make RunQuickstartAtFirstStart branding-dependent key 2020-01-12 13:20:24 +01:00
dictionaries@3097066a2e Update git submodules 2020-01-12 20:39:28 +01:00
distro-configs
drawinglayer Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int... 2020-01-09 20:21:59 +01:00
dtrans Fix a random crash on paste from clipboard on Windows 2019-12-31 21:01:12 +01:00
editeng cid#705996 unintended sign extension 2020-01-11 22:23:32 +01:00
embeddedobj sal_Char->char in editeng..eventattacher 2019-12-19 08:12:46 +01:00
embedserv sal_Char->char in editeng..eventattacher 2019-12-19 08:12:46 +01:00
emfio use more std::make_shared 2020-01-10 13:07:41 +01:00
eventattacher sal_Char->char in editeng..eventattacher 2019-12-19 08:12:46 +01:00
extensions loplugin:unusedmethods 2020-01-13 09:16:59 +01:00
external python3: bundle libffi for GNU/Linux builds 2020-01-09 17:56:19 +01:00
extras SvxFillTypeBox is now not used directly from any .uis 2020-01-06 16:45:02 +01:00
filter ofz#20051 if duplicate exists then m_ObjToRecMap points to deleted element 2020-01-13 14:22:34 +01:00
forms Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int... 2020-01-09 20:21:59 +01:00
formula sal_Char->char in formula..i18npool 2019-12-19 12:05:51 +01:00
fpicker tdf#96505:Get rid of cargo cult long integer literals 2020-01-08 17:47:54 +01:00
framework loplugin:unusedfields 2020-01-13 09:07:23 +01:00
helpcompiler Avoid -Werror,-Wdeprecated-enum-enum-conversion 2019-12-30 08:32:26 +01:00
helpcontent2@5a44291fac Update git submodules 2020-01-14 04:10:17 +01:00
hwpfilter tdf#96505:Get rid of cargo cult long integer literals 2020-01-08 17:47:54 +01:00
i18nlangtag sal_Char->char in formula..i18npool 2019-12-19 12:05:51 +01:00
i18npool loplugin:finalclasses in i18npool..linguistic 2020-01-14 07:12:31 +01:00
i18nutil Fix Osage lowercase-to-uppercase mappings 2020-01-10 15:18:25 +01:00
icon-themes Sifr: Fix for tdf#127415, tdf#129846 2020-01-10 04:45:10 +01:00
idl loplugin:finalclasses in i18npool..linguistic 2020-01-14 07:12:31 +01:00
idlc loplugin:finalclasses in i18npool..linguistic 2020-01-14 07:12:31 +01:00
include weld TextUnderlineControl 2020-01-13 18:32:03 +01:00
instsetoo_native
io sal_Char->char in idlc..linguistic 2019-12-19 09:56:51 +01:00
ios
javaunohelper sal_Char->char in idlc..linguistic 2019-12-19 09:56:51 +01:00
jurt
jvmaccess
jvmfwk loplugin:finalclasses in i18npool..linguistic 2020-01-14 07:12:31 +01:00
l10ntools loplugin:finalclasses in i18npool..linguistic 2020-01-14 07:12:31 +01:00
librelogo
libreofficekit
lingucomponent Use only the 'MacOSXSpell' component on iOS, not the 'spell' one 2020-01-03 17:53:00 +01:00
linguistic loplugin:finalclasses in i18npool..linguistic 2020-01-14 07:12:31 +01:00
lotuswordpro ofz#19961 Invalid-enum-value 2020-01-09 11:10:33 +01:00
m4
nlpsolver
o3tl
odk Avoid $(shell $(gb_MKTEMP)) 2020-01-06 17:30:26 +01:00
offapi offapi: misleadingly named ParaHyphenationMaxLeadingChars/Trailing 2020-01-13 11:00:45 +01:00
officecfg rework TextUnderlinePopup to be a PopupWindowController 2020-01-13 18:29:32 +01:00
onlineupdate
oovbaapi
oox cid#1457613 Unchecked return value 2020-01-13 10:58:54 +01:00
opencl
osx
package loplugin:finalclasses in package..sfx2 2020-01-13 14:58:03 +01:00
pch
postprocess Use only the 'MacOSXSpell' component on iOS, not the 'spell' one 2020-01-03 17:53:00 +01:00
pyuno pyuno: remove racy debug check 2020-01-09 13:55:45 +01:00
qadevOOo Fix typo 2019-12-19 14:18:36 +01:00
readlicense_oo python3: bundle libffi for GNU/Linux builds 2020-01-09 17:56:19 +01:00
registry sal_Char->char in oox..registry 2019-12-19 19:17:40 +01:00
remotebridges sal_Char->char in remotebridges..sax 2019-12-19 19:17:57 +01:00
reportbuilder
reportdesign use FastParser in reportdesign 2020-01-14 07:10:37 +01:00
ridljar
sal Grammar fixes 2020-01-08 13:25:05 +01:00
salhelper
sax use more std::make_shared 2020-01-10 13:07:41 +01:00
sc mobile: escape JSON for function wizard, and emit only on mobile. 2020-01-13 20:01:17 +01:00
scaddins Make OPT_ functions string more meaningful. 2020-01-08 12:21:07 +01:00
sccomp tdf88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-12 17:09:42 +01:00
schema
scp2 Merge both x64 and x86 CRT merge modules into x64 MSI 2020-01-13 13:00:04 +01:00
scripting Fix typo 2020-01-07 11:53:39 +01:00
sd rework TextUnderlinePopup to be a PopupWindowController 2020-01-13 18:29:32 +01:00
sdext use more std::make_shared 2020-01-10 13:07:41 +01:00
setup_native Improve logging of feature states 2020-01-10 15:14:10 +01:00
sfx2 loplugin:finalclasses in package..sfx2 2020-01-13 14:58:03 +01:00
shell loplugin:finalclasses in starmath 2020-01-11 11:59:28 +01:00
slideshow use more std::make_shared 2020-01-10 13:07:41 +01:00
smoketest
solenv weld TextCharacterSpacingControl 2020-01-13 18:29:14 +01:00
soltools
sot tdf#96505 Get rid of cargo cult long integer literals 2020-01-02 19:58:48 +01:00
starmath convert mathml to FastParser 2020-01-12 19:08:59 +01:00
stoc tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-13 10:48:02 +01:00
store sal_Char->char in sot..store 2019-12-22 18:04:41 +01:00
svgio loplugin:finalclasses in svgio 2020-01-11 11:59:15 +01:00
svl Fix typo 2020-01-08 14:08:57 +01:00
svtools if these popups have focus on dispose put focus into document 2020-01-13 09:41:56 +01:00
svx remove some unneeded includes 2020-01-13 20:30:33 +01:00
sw sw reqif-xhtml export: fix non-well-formed output on Chinese text 2020-01-13 20:56:34 +01:00
swext
sysui
test sal_Char->char in test..testtools 2019-12-23 10:51:05 +01:00
testtools tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-13 10:48:02 +01:00
toolkit Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int... 2020-01-09 20:21:59 +01:00
tools tdf#96505 Get rid of cargo cult long integer literals 2020-01-08 14:00:31 +01:00
translations@6d4072204c
ucb tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-13 10:48:02 +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 use more std::make_shared 2020-01-10 13:07:41 +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 tdf#129930: Dispose SystemClipboard service early enough 2020-01-13 23:03:02 +01:00
winaccessibility Fix typo 2019-12-19 10:37:58 +01:00
wizards
writerfilter tdf#120344 DOCX: fix font style of numbering 2020-01-10 14:25:15 +01:00
writerperfect use more std::make_shared 2020-01-10 13:07:41 +01:00
xmerge
xmlhelp sal_Char->char in xmloff..xmlsecurity 2019-12-25 15:55:19 +01:00
xmloff convert this warning to SAL_INFO for now 2020-01-13 13:34:46 +01:00
xmlreader
xmlscript use more std::make_shared 2020-01-10 13:07:41 +01:00
xmlsecurity tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-13 10:41:01 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh Remove "--clean" option from autogen.sh 2019-12-18 18:23:58 +01:00
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac Merge both x64 and x86 CRT merge modules into x64 MSI 2020-01-13 13:00:04 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst python3: bundle libffi for GNU/Linux builds 2020-01-09 17:56:19 +01:00
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit logerrit: support submitting private and wip changes 2020-01-06 20:43:52 +01:00
Makefile.fetch python3: bundle libffi for GNU/Linux builds 2020-01-09 17:56:19 +01:00
Makefile.gbuild
Makefile.in allow root under podman 2020-01-04 18:35:26 +01:00
README.cross
README.md
README.Solaris
Repository.mk Register spsupp*.dll during installation 2020-01-09 07:23:48 +01:00
RepositoryExternal.mk python3: bundle libffi for GNU/Linux builds 2020-01-09 17:56:19 +01:00
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.