Test repository to check push and ssh key
Find a file
Stephan Bergmann 95969a8030 Use the new single-instance="true" attribute in eventattacher
Change-Id: Iea414a641d252f7af40ebcabb6f11222fe81dd45
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103854
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-10-02 22:29:54 +02:00
.git-hooks
.github
accessibility
android android: "make run" works also for debug configuration 2020-09-30 13:31:43 +02:00
animations
apple_remote
avmedia Use the new single-instance="true" attribute in avmedia 2020-10-02 20:50:31 +02:00
basctl loplugin:reducevarscope in basctl,basic 2020-10-01 16:12:20 +02:00
basegfx
basic loplugin:reducevarscope in basctl,basic 2020-10-01 16:12:20 +02:00
bean
bin lint-ui: add check for upper in GtkAdjustment 2020-10-02 19:02:20 +02:00
binaryurp
bridges bridges: add a Windows Arm64 UNO bridge 2020-09-30 03:08:36 +02:00
canvas add PCHs for canvas/ 2020-10-02 20:39:36 +02:00
chart2 tdf#137116 pie chart: improve BestFit position of data labels 2020-10-02 17:01:02 +02:00
cli_ure
codemaker
comphelper loplugin:reducevarscope in comphelper,connectivity 2020-10-01 19:36:39 +02:00
compilerplugins drop these unused inlines 2020-10-02 09:43:06 +02:00
config_host tdf#136951: Add Võro (vro-EE) locale data and rudimentary autocorrect list 2020-10-02 16:39:32 +02:00
configmgr Use the new single-instance="true" attribute in configmgr 2020-10-02 09:09:00 +02:00
connectivity Use the new single-instance="true" attribute in connectivity 2020-10-02 22:18:22 +02:00
cppcanvas Resolves: tdf#137071 draw canvas under/over lines after background 2020-09-28 13:50:50 +02:00
cppu cid#1448292 coverity has difficulty with css::uno::Sequence 2020-09-25 15:16:06 +02:00
cppuhelper Add single-instance attribute for *.compoonent <implementation>s 2020-10-01 09:44:53 +02:00
cpputools
cui use the same gtkbuilder pattern for all gearmenus 2020-10-02 12:14:28 +02:00
dbaccess loplugin:reducevarscope in dbaccess 2020-10-02 10:52:56 +02:00
desktop Use the new single-instance="true" attribute in desktop 2020-10-02 20:44:52 +02:00
dictionaries@8cd579e3a6
distro-configs add distro-configs for jenkins android builds 2020-10-01 11:50:10 +02:00
drawinglayer disentangle AA and B2D use in VCL drawing 2020-09-29 09:54:42 +02:00
editeng loplugin:reducevarscope in desktop..emfio 2020-10-02 10:46:46 +02:00
embeddedobj Use the new single-instance="true" attribute in embeddedobj 2020-10-02 20:43:58 +02:00
embedserv
emfio loplugin:reducevarscope in desktop..emfio 2020-10-02 10:46:46 +02:00
eventattacher Use the new single-instance="true" attribute in eventattacher 2020-10-02 22:29:54 +02:00
extensions twain32shim: Windows directory might not be in DLL search path sometimes 2020-09-30 12:23:34 +02:00
external nss: restore manual pre-dependency build 2020-10-02 13:38:10 +02:00
extras tdf#136951: Add Võro (vro-EE) locale data and rudimentary autocorrect list 2020-10-02 16:39:32 +02:00
filter Use the new single-instance="true" attribute in filter 2020-10-02 20:44:25 +02:00
forms Fix typo in code 2020-09-26 12:49:42 +02:00
formula Resolves: tdf#137091 Use CharClass matching the formula language 2020-09-29 00:54:12 +02:00
fpicker
framework loplugin:reducevarscope in framework 2020-10-02 11:21:44 +02:00
helpcompiler
helpcontent2@a9deae83c3 Update git submodules 2020-10-01 09:07:47 +02:00
hwpfilter Remove unused include list in hwpfilter 2020-09-27 16:17:41 +02:00
i18nlangtag Add English Kenya LCID 0xAC09 {en-KE} langtag mapping, tdf#115436 2020-09-24 14:20:36 +02:00
i18npool tdf#136951: Add Võro (vro-EE) locale data and rudimentary autocorrect list 2020-10-02 16:39:32 +02:00
i18nutil
icon-themes plus minus sidebar icon theme update 2020-09-24 20:36:46 +02:00
idl
idlc OUStringLiteral/OStringLiteral coverity PARSE_ERROR workaround 2020-09-22 12:58:14 +02:00
include fix header guard 2020-10-02 15:41:46 +02:00
instsetoo_native
io improve some exception messages 2020-09-27 09:50:31 +02:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk Manually select JDK outside /Library/Java/JavaVirtualMachines on macOS 2020-09-22 21:43:56 +02:00
l10ntools
librelogo
libreofficekit Online: Show input help on Online / Core part. 2020-09-18 13:00:34 +02:00
lingucomponent Use the new single-instance="true" attribute in lingucomponent 2020-10-02 20:43:22 +02:00
linguistic Use the new single-instance="true" attribute in linguistic 2020-10-02 20:42:52 +02:00
lotuswordpro ofz#25881 use std::vector with bounds checking accessor 2020-09-23 15:16:28 +02:00
m4
nlpsolver value and targetValue cannot be null at this point 2020-09-25 17:56:55 +02:00
o3tl
odk Restrict odk/examples to non-parallel make 2020-09-27 15:03:19 +02:00
offapi Fix typo 2020-09-26 12:44:13 +02:00
officecfg Fix CppunitTest_connectivity_mork 2020-09-30 10:06:55 +02:00
onlineupdate Fix typo in code 2020-09-29 15:16:10 +02:00
oovbaapi
oox cid#1467667 Division or modulo by float zero 2020-10-02 15:12:37 +02:00
opencl
osx
package Use the new single-instance="true" attribute in package 2020-10-02 20:42:29 +02:00
pch
postprocess Move MimeContentTypeFactory into vcl 2020-09-22 22:37:54 +02:00
pyuno Use the new single-instance="true" attribute in pyuno 2020-10-02 21:12:20 +02:00
qadevOOo Fix typo in code 2020-09-26 12:50:19 +02:00
readlicense_oo update credits 2020-09-30 14:44:22 +02:00
registry
remotebridges
reportbuilder
reportdesign Fix typo in code 2020-09-26 09:54:20 +02:00
ridljar socket cannot be null at this point 2020-09-25 17:56:33 +02:00
sal Fix typo in code 2020-09-26 09:41:23 +02:00
salhelper
sax tdf#136551 DOTX import: restore support for large XML attribute values 2020-09-29 09:06:07 +02:00
sc uitest: sc: test chart title moves with arrow keys 2020-10-02 16:41:54 +02:00
scaddins Use the new single-instance="true" attribute in scaddins 2020-10-02 20:42:05 +02:00
sccomp
schema
scp2
scripting
sd lint-ui.py check that GtkMenuButton has a label property 2020-10-02 10:17:40 +02:00
sdext OUStringLiteral/OStringLiteral coverity PARSE_ERROR workaround 2020-09-22 12:58:14 +02:00
setup_native
sfx2 sfx2: downgrade a warning in SfxViewFrame::ChildWindowState() to info 2020-10-02 15:09:22 +02:00
shell Use the new single-instance="true" attribute in shell 2020-10-02 20:41:23 +02:00
slideshow
smoketest
solenv Fix typos 2020-09-30 20:37:37 +02:00
soltools
sot
starmath loplugin:unusedmethods 2020-09-30 15:56:37 +02:00
stoc Use the new single-instance="true" attribute in stoc 2020-10-02 20:40:53 +02:00
store
svgio Move MimeContentTypeFactory into vcl 2020-09-22 22:37:54 +02:00
svl Use the new single-instance="true" attribute in svl 2020-10-02 20:39:52 +02:00
svtools tdf#136520 allow color popdowns to be tearable again 2020-09-29 18:13:33 +02:00
svx rearrange to not use pUndoObject after std::move 2020-10-02 16:05:56 +02:00
sw tdf#137209 unparent widgets in fragment dtor 2020-10-02 22:20:38 +02:00
swext
sysui Suppress PYTHONWARNINGS=error in system g-ir-scanner 2020-09-22 18:52:14 +02:00
test Fix typo in code 2020-09-26 09:40:34 +02:00
testtools
toolkit Fix typo in code 2020-09-26 09:44:26 +02:00
tools Fix SSE2 cpuid checks 2020-09-28 13:22:11 +02:00
translations@b7dd30b210 Update git submodules 2020-09-28 13:08:38 +02:00
ucb Use the new single-instance="true" attribute in ucb 2020-10-02 20:40:24 +02:00
ucbhelper
udkapi
uitest uitest: factor out common duplicated code 2020-10-01 18:35:11 +02:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools Fix typo in code 2020-09-25 08:27:00 +02:00
unoxml
ure
uui tdf#128174: Master password dialog misplaced 2020-10-01 11:26:37 +02:00
vbahelper OUStringLiteral/OStringLiteral coverity PARSE_ERROR workaround 2020-09-22 12:58:14 +02:00
vcl Use the new single-instance="true" attribute in vcl 2020-10-02 20:39:26 +02:00
winaccessibility
wizards More “e-mail” → “email” 2020-09-29 22:04:47 -05:00
writerfilter tdf#136850 DOCX: fix change tracking in floating tables 2020-10-02 16:24:32 +02:00
writerperfect upload libmwaw 0.3.17 2020-09-28 08:58:06 +02:00
xmerge
xmlhelp
xmloff loplugin:reducevarscope in xmloff 2020-10-01 12:23:08 +02:00
xmlreader
xmlscript OUStringLiteral/OStringLiteral coverity PARSE_ERROR workaround 2020-09-22 12:58:14 +02:00
xmlsecurity vcl: add PDFiumAnnotation::getObjectCount() 2020-09-30 08:25:22 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules use https://git.libreoffice.org/$repo as canonical URL for submodules 2020-10-01 13:41:04 +02:00
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in use -fpch-codegen rather than -fmodules-codegen 2020-09-30 16:46:49 +02:00
config_host_lang.mk.in
configure.ac gpgme, coinmp, firebird: disable on Windows Arm64 2020-10-02 04:43:55 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Update liborcus to 0.16.1. 2020-09-29 02:16:27 +02:00
g
hardened_runtime.xcent.in tdf#135479: Seems we need the more broad entitlement for Java's sake 2020-09-23 11:16:03 +02:00
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 bridges: add a Windows Arm64 UNO bridge 2020-09-30 03:08:36 +02:00
RepositoryExternal.mk add an explicit --disable-qrcodegen configure option 2020-09-21 21:39:27 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk Move MimeContentTypeFactory into vcl 2020-09-22 22:37:54 +02:00
sanitize-ubsan-excludelist
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.