Test repository to check push and ssh key
Find a file
Caolán McNamara c5196ec5d1 gallery theme dialog should be modal
Change-Id: I3c32851cda40254c73b0040f92466eedb7427d6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87027
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-01-18 20:21:30 +01:00
.git-hooks
.github
accessibility tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-15 14:52:04 +01:00
android android: Fix linking of liblo-native-code.so on x86_64 2020-01-17 10:24:54 +01:00
animations
apple_remote
avmedia
basctl tdf#129360: don't try to use uninitialized objects 2020-01-14 19:26:31 +01:00
basegfx
basic can use LogicToLogic here 2020-01-16 10:27:56 +01:00
bean
bin document output is pdf, not ps 2020-01-16 18:07:32 +01:00
binaryurp
bridges
canvas
chart2 Resolves: tdf#130045 dial control frame not hidden along with the control 2020-01-17 22:06:55 +01:00
cli_ure
codemaker clang-tidy modernize-concat-nested-namespace in codemaker..configmgr 2020-01-15 06:58:20 +01:00
comphelper tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-16 18:20:40 +01:00
compilerplugins Adapt loplugin:duplicatedefines to include/premac.h 2020-01-17 23:58:11 +01:00
config_host
configmgr clang-tidy modernize-concat-nested-namespace in codemaker..configmgr 2020-01-15 06:58:20 +01:00
connectivity tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-16 18:20:40 +01:00
cppcanvas clang-tidy modernize-concat-nested-namespace in cppcanvas..cppuhelper 2020-01-15 06:58:12 +01:00
cppu clang-tidy modernize-concat-nested-namespace in cppcanvas..cppuhelper 2020-01-15 06:58:12 +01:00
cppuhelper Use std::vector in OInterfaceContainerHelper instead of Sequence 2020-01-17 13:40:59 +01:00
cpputools
cui gallery theme dialog should be modal 2020-01-18 20:21:30 +01:00
dbaccess tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-16 18:20:40 +01:00
desktop clang-tidy modernize-concat-nested-namespace in dbaccess..desktop 2020-01-16 08:22:45 +01:00
dictionaries@3097066a2e
distro-configs
drawinglayer tweak GetBitmap methods in BitmapEx 2020-01-15 14:33:52 +01:00
dtrans
editeng flush out unused Font objects 2020-01-17 09:58:50 +01:00
embeddedobj
embedserv
emfio tweak GetBitmap methods in BitmapEx 2020-01-15 14:33:52 +01:00
eventattacher
extensions tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-16 18:20:40 +01:00
external external/pdfium: C++20 comparison operator fix 2020-01-18 10:06:16 +01:00
extras can replace SwNavHelpToolBox with basic ToolBox now 2020-01-16 10:25:08 +01:00
filter ofz#20160 Integer-overflow 2020-01-16 22:30:58 +01:00
forms
formula
fpicker
framework m_aListenerContainer is effectively unused here 2020-01-17 18:39:46 +01:00
helpcompiler
helpcontent2@fb0dc90968 Update git submodules 2020-01-17 19:49:07 +01:00
hwpfilter
i18nlangtag
i18npool tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-15 14:52:04 +01:00
i18nutil
icon-themes Sifr: Add more 32px icons (tdf#129846) 2020-01-14 20:23:07 +01:00
idl
idlc
include Resolves: tdf#130045 dial control frame not hidden along with the control 2020-01-17 22:06:55 +01:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic return nullptr from Create*Context methods in nullptr subclasses 2020-01-16 10:52:19 +01:00
lotuswordpro
m4
nlpsolver
o3tl
odk odk: docs: remove the confusing sentence about "user installation" 2020-01-17 16:49:58 +01:00
offapi
officecfg rework SvxUndoRedoControl to be a PopupWindowController 2020-01-15 20:28:50 +01:00
onlineupdate
oovbaapi
oox clang-tidy modernize-concat-nested-namespace in oox 2020-01-15 06:58:34 +01:00
opencl
osx
package
pch
postprocess
pyuno
qadevOOo
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign remove some unneeded includes 2020-01-16 13:54:59 +01:00
ridljar
sal Removed redundant semicolon 2020-01-18 12:29:47 +01:00
salhelper
sax tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-15 14:54:39 +01:00
sc tdf#130054: consider all row/col bars in ScTabView::EnableRefInput 2020-01-18 11:44:10 +01:00
scaddins
sccomp tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-15 14:54:39 +01:00
schema
scp2
scripting
sd tdf#123841 unfilled rectangles would make filled rectangles 2020-01-18 17:20:54 +01:00
sdext
setup_native
sfx2 tdf#129788: Revert "no need to use AlphaMask in RecentDocsViewItem" 2020-01-17 19:37:12 +01:00
shell Clean up computation of preprocessed_command passed to ShellExecuteExW 2020-01-17 16:08:50 +01:00
slideshow make Library_slideshow explicitly link svl 2020-01-18 14:56:25 +01:00
smoketest
solenv use -Wl,-dead_strip on Mac, its linker doesn't know -Wl,--gc-sections 2020-01-18 16:55:55 +01:00
soltools
sot
starmath rework SvxUndoRedoControl to be a PopupWindowController 2020-01-15 20:28:50 +01:00
stoc tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-15 14:52:04 +01:00
store
svgio
svl tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-15 14:52:04 +01:00
svtools rename a createPopupWindow so we can remove 'using createPopupWindow' 2020-01-16 10:25:52 +01:00
svx Removed executable permission on file 2020-01-18 08:25:40 +01:00
sw tdf#129423: Make export tests export-only where applicable 2020-01-18 17:21:04 +01:00
swext
sysui
test
testtools
toolkit
tools loplugin:redundantcast (size_t vs. std::size_t) 2020-01-17 23:58:28 +01:00
translations@6d4072204c
ucb Fix typo in comment 2020-01-18 12:29:11 +01:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest Clean up duplicated command dispatch test functionality 2020-01-17 16:09:49 +01:00
unotools fix unotools/source/i18n/resmgr.cxx build with PCH on Mac 2020-01-18 16:56:25 +01:00
unoxml unoxml: CDocumentBuilder::parseURI should handle non-file:/// URIs. 2020-01-16 19:15:23 +01:00
ure
uui
vbahelper
vcl Remove redundant casts 2020-01-18 14:06:21 +01:00
winaccessibility
wizards
writerfilter ofz#20169 Integer-overflow 2020-01-17 20:19:56 +01:00
writerperfect
xmerge
xmlhelp
xmloff tdf#98584 Correct import draw:transform values skewY and matrix 2020-01-17 18:03:38 +01:00
xmlreader
xmlscript
xmlsecurity
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in use -Wl,-dead_strip on Mac, its linker doesn't know -Wl,--gc-sections 2020-01-18 16:55:55 +01:00
config_host_lang.mk.in
configure.ac use -Wl,-dead_strip on Mac, its linker doesn't know -Wl,--gc-sections 2020-01-18 16:55:55 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst external: update pdfium to 4021 2020-01-15 12:21:31 +01:00
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit logerrit: Upgrade URIs to https:// 2020-01-16 01:01:58 +01:00
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk add support for Clang's -building-pch-with-obj 2020-01-18 14:56:12 +01: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 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.