Test repository to check push and ssh key
Find a file
Andras Timar 867e0e0ca2 Update git submodules
* Update dictionaries from branch 'master'
  to 74d8e826359dbf38224fac1b9c02254b7fe0186a
  - tdf#130999 fix registration of Greek dictionary
    
    Change-Id: I7b85d588c67c9b05f3856d92544fb0a0348594ea
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/90405
    Tested-by: Andras Timar <andras.timar@collabora.com>
    Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-17 12:21:16 +01:00
.git-hooks
.github
accessibility Revert "loplugin:constfields in svtools" 2020-03-13 19:20:38 +01:00
android android: Pass Intent's action in ctor already 2020-03-13 22:01:25 +01:00
animations
apple_remote
avmedia
basctl remove unnecessary Window::Update() calls, which immediately follow Invalidate 2020-03-16 19:09:02 +01:00
basegfx tdf#130974 replace rtl::math::isSignBitSet with std::signbit. 2020-03-14 09:10:34 +01:00
basic tdf#130977 replace rtl::math::isFinite with std::isfinite. 2020-03-12 10:34:46 +01:00
bean
bin make SpinField DLLPUBLIC again 2020-03-09 15:26:54 +01:00
binaryurp
bridges
canvas tdf#130977 replace rtl::math::isFinite with std::isfinite. 2020-03-12 10:34:46 +01:00
chart2 tdf#130975 replace rtl::math::isNan with std::isnan. 2020-03-14 09:19:00 +01:00
cli_ure
codemaker
comphelper tdf#130975 replace rtl::math::isNan with std::isnan. 2020-03-14 09:19:00 +01:00
compilerplugins Deref of DynTypedNode* must not outlive owning DynTypedNodeList 2020-03-10 20:37:04 +01:00
config_host limit symbols exported when using --enable-mergelibs 2020-03-06 08:18:06 +01:00
configmgr
connectivity Firebird: TODO already fixed (SYSTEM TABLES filtered) 2020-03-15 22:16:31 +01:00
cppcanvas
cppu Make TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK constexpr 2020-03-06 10:18:58 +01:00
cppuhelper Fix typo 2020-03-10 20:43:41 +01:00
cpputools
cui tdf#125440 Allow raising text import dialog for paste 2020-03-11 12:43:44 +01:00
dbaccess comparison operators should be const 2020-03-12 11:05:36 +01:00
desktop comparison operators should be const 2020-03-12 11:05:36 +01:00
dictionaries@74d8e82635 Update git submodules 2020-03-17 12:21:16 +01:00
distro-configs Add --disable-compiler-plugins-analyzer-pch for Jenkins/linux_clang_dbgutil_64 2020-03-09 13:48:35 +01:00
drawinglayer tdf#124424 EMF+ Extend test options of SvgLinearGradientPrimitive2D 2020-03-16 16:52:24 +01:00
dtrans
editeng sd lok: Implement execution of SID_SPELLCHECK_IGNORE_ALL 2020-03-17 11:17:09 +01:00
embeddedobj tdf#131146 Linked Calc: changes are lost in last edited cell 2020-03-06 16:26:14 +01:00
embedserv
emfio tdf#124424 EMF+ Extend test options of SvgLinearGradientPrimitive2D 2020-03-16 16:52:24 +01:00
eventattacher
extensions tdf#42949 Fix IWYU warnings in extensions/*/*cxx 2020-03-11 12:46:49 +01:00
external
extras Revert "Resolves tdf#99675: Add BPMN images to the gallery" 2020-03-14 10:22:02 +01:00
filter tdf#130975 replace rtl::math::isNan with std::isnan. 2020-03-14 09:19:00 +01:00
forms tdf#130974 replace rtl::math::isSignBitSet with std::signbit. 2020-03-14 09:10:34 +01:00
formula
fpicker Revert "loplugin:constfields in svtools" 2020-03-13 19:20:38 +01:00
framework comparison operators should be const 2020-03-12 11:05:36 +01:00
helpcompiler
helpcontent2@ad765abb1e Update git submodules 2020-03-15 22:13:41 +01:00
hwpfilter
i18nlangtag tdf#131297 Add Sundanese [sun-ID] to language list 2020-03-12 15:08:03 +01:00
i18npool Check for some more expected calendar elements 2020-03-15 18:23:04 +01:00
i18nutil
icon-themes Sukapura: Add tiny blurred shadow to more icons 2020-03-13 23:41:24 +01:00
idl tdf#114441: Convert use of sal_uLong to better integer types 2020-03-11 17:36:44 +01:00
idlc
include sd lok: Implement execution of SID_SPELLCHECK_IGNORE_ALL 2020-03-17 11:17:09 +01:00
instsetoo_native tdf#128281 Increase a checkbox height in Windows installer 2020-03-16 15:36:13 +01:00
io
ios
javaunohelper Fix typo 2020-03-10 20:43:18 +01:00
jurt
jvmaccess
jvmfwk improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
l10ntools
librelogo
libreofficekit tdf#42949 Fix IWYU warnings in libreofficekit/ 2020-03-06 09:21:27 +01:00
lingucomponent
linguistic add information to xProofrader in gciterator.cxx 2020-03-06 11:12:52 +01:00
lotuswordpro ofz#20635 infinite loop 2020-03-08 15:08:26 +01:00
m4
nlpsolver
o3tl
odk
offapi tdf#75330 add a new overlay/no-overlay feature for the legend 2020-03-05 12:27:04 +01:00
officecfg Add option to disallow opening files locked by other users 2020-03-16 08:44:15 +01:00
onlineupdate comparison operators should be const 2020-03-12 11:05:36 +01:00
oovbaapi
oox tdf#131118 VML import: fix size of non-autosize shapes containing text 2020-03-17 09:00:24 +01:00
opencl Revert "loplugin:constfields in oox" 2020-03-12 07:31:08 +01:00
osx
package Revert "loplugin:constfields in package..registry" 2020-03-12 08:17:11 +01:00
pch
postprocess Revert "loplugin:constfields in package..registry" 2020-03-12 08:17:11 +01:00
pyuno Revert "loplugin:constfields in package..registry" 2020-03-12 08:17:11 +01:00
qadevOOo Fix typo 2020-03-10 20:42:53 +01:00
readlicense_oo update credits 2020-03-11 17:07:33 +01:00
registry Revert "loplugin:constfields in package..registry" 2020-03-12 08:17:11 +01:00
remotebridges
reportbuilder
reportdesign remove unnecessary Window::Update() calls, which immediately follow Invalidate 2020-03-16 19:09:02 +01:00
ridljar
sal Avoid stack overflow in testTdf124815 on Windows 2020-03-16 14:02:00 +01:00
salhelper
sax Revert "loplugin:constfields in reportdesign,sal,sax" 2020-03-12 09:22:20 +01:00
sc sc lok: Implement execution of SID_SPELLCHECK_APPLY_SUGGESTION 2020-03-17 11:41:30 +01:00
scaddins tdf#130975 replace rtl::math::isNan with std::isnan. 2020-03-14 09:19:00 +01:00
sccomp Revert "loplugin:constfields in scaddins,sccomp" 2020-03-12 17:44:30 +01:00
schema
scp2 Revert "Resolves tdf#99675: Add BPMN images to the gallery" 2020-03-14 10:22:02 +01:00
scripting Revert "loplugin:constfields in scripting" 2020-03-12 09:22:31 +01:00
sd sd lok: Implement execution of SID_SPELLCHECK_APPLY_SUGGESTION 2020-03-17 11:17:25 +01:00
sdext Revert "loplugin:constfields in sdext" 2020-03-12 09:34:21 +01:00
setup_native
sfx2 Some more places to check for AllowOverrideLocking option 2020-03-16 11:55:23 +01:00
shell Revert "loplugin:constfields in shell" 2020-03-12 17:44:58 +01:00
slideshow Revert "loplugin:constfields in slideshow" 2020-03-12 19:44:42 +01:00
smoketest Revert "loplugin:constfields in smoketest..sot" 2020-03-12 19:43:04 +01:00
solenv make python warnings in our UITests error early 2020-03-16 19:09:26 +01:00
soltools Revert "loplugin:constfields in smoketest..sot" 2020-03-12 19:43:04 +01:00
sot Revert "loplugin:constfields in smoketest..sot" 2020-03-12 19:43:04 +01:00
starmath Revert "loplugin:constfields in starmath" 2020-03-13 08:42:26 +01:00
stoc Revert "loplugin:constfields in stoc..svgio" 2020-03-14 07:54:02 +01:00
store Revert "loplugin:constfields in stoc..svgio" 2020-03-14 07:54:02 +01:00
svgio Revert "loplugin:constfields in stoc..svgio" 2020-03-14 07:54:02 +01:00
svl tdf#130974 replace rtl::math::isSignBitSet with std::signbit. 2020-03-14 09:10:34 +01:00
svtools Revert "loplugin:constfields in svtools" 2020-03-13 19:20:38 +01:00
svx tdf#127443 Table creation with keyboard 2020-03-17 00:24:45 +01:00
sw tdf#128646 DOCX import: don't hide shape of hidden paragraph 2020-03-16 22:23:32 +01:00
swext
sysui
test tdf#130975 replace rtl::math::isNan with std::isnan. 2020-03-14 09:19:00 +01:00
testtools Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
toolkit Revert "loplugin:constfields in toolkit" 2020-03-15 16:28:40 +01:00
tools Revert "loplugin:constfields in tools" 2020-03-15 16:28:03 +01:00
translations@7b4a46ae14 Update git submodules 2020-03-16 13:16:32 +01:00
ucb Revert "loplugin:constfields in ucb" 2020-03-15 16:29:08 +01:00
ucbhelper Revert "loplugin:constfields in ucbhelper" 2020-03-15 16:28:14 +01:00
udkapi
uitest uitest: use hex instead of int for colors 2020-03-16 22:02:39 +01:00
UnoControls Revert "loplugin:constfields in ucbhelper" 2020-03-15 16:28:14 +01:00
unodevtools
unoidl Revert "loplugin:constfields in unoidl" 2020-03-15 16:28:50 +01:00
unoil
unotest
unotools Revert "loplugin:constfields in unotools..uui" 2020-03-16 08:21:14 +01:00
unoxml Revert "loplugin:constfields in unotools..uui" 2020-03-16 08:21:14 +01:00
ure
uui Some more places to check for AllowOverrideLocking option 2020-03-16 11:55:23 +01:00
vbahelper Revert "loplugin:constfields in vbahelper" 2020-03-16 08:17:02 +01:00
vcl remove unnecessary Window::Update() calls, which immediately follow Invalidate 2020-03-16 19:09:02 +01:00
winaccessibility
wizards
writerfilter Fix build 2020-03-17 07:39:47 +01:00
writerperfect Revert "loplugin:constfields in writerfilter" 2020-03-16 10:59:41 +01:00
xmerge
xmlhelp Revert "loplugin:constfields in xmlhelp" 2020-03-16 10:29:56 +01:00
xmloff Revert "loplugin:constfields in xmloff" 2020-03-16 10:55:27 +01:00
xmlreader
xmlscript
xmlsecurity tdf#42316 always evaluate macro signatures on load 2020-03-13 00:37:46 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs put clang-format commit to .git-blame-ignore-revs 2020-03-07 22:59:48 +01:00
.gitattributes
.gitignore
.gitmodules
.gitpod.dockerfile Initial commit for Gitpodifying LibreOffice core 2020-03-09 13:00:32 +01:00
.gitpod.yml Install C++ VSCode extension for Gitpod 2020-03-09 15:54:14 +01:00
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Add --disable-compiler-plugins-analyzer-pch for Jenkins/linux_clang_dbgutil_64 2020-03-09 13:48:35 +01:00
config_host_lang.mk.in
configure.ac Disable gtk in the build-config when cross-compiling. 2020-03-09 15:44:07 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Update fontconfig to 2.13.91 2020-03-06 16:48:02 +01:00
g
hardened_runtime.xcent
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
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 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.