Test repository to check push and ssh key
Find a file
Jan Holesovsky 435e95410c Disable gtk in the build-config when cross-compiling.
Not needed at all and gtk3 is already disabled there.

Change-Id: Ic6f8be17645df22a414ae4b191a97b9bf1c16d1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90206
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-09 15:44:07 +01:00
.git-hooks git hooks: update commit-msg to Gerrit 2.16.15 2020-02-01 04:14:09 +01:00
.github
accessibility Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
android android: Update gradle 2020-03-06 16:49:32 +01:00
animations Extend loplugin:external to warn about classes 2019-11-22 12:57:32 +01:00
apple_remote Blind fix of -Werror,-Wpointer-to-int-cast in apple_remote 2020-02-21 16:30:11 +01:00
avmedia tdf#124176: Use pragma once instead of include guards 2020-02-16 20:50:48 +01:00
basctl tdf#114441: Convert use of sal_uLong to better integer types 2020-03-04 11:21:28 +01:00
basegfx tdf43157:Clean up OSL_ASSERT, DBG_ASSERT, etc.. 2020-03-09 10:53:26 +01:00
basic tdf#36737 - Initialize default values of optionals 2020-03-02 10:08:58 +01:00
bean tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
bin make SpinField DLLPUBLIC again 2020-03-09 15:26:54 +01:00
binaryurp tdf#42949 Add back includes to binaryurp/ 2020-01-28 10:31:53 +01:00
bridges .eh_frame section should probably have type @unwind 2020-02-23 19:46:00 +01:00
canvas Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
chart2 tdf#131060 tdf#117088 chart view: fix missing or truncated axis labels 2020-03-09 11:57:29 +01:00
cli_ure Fix typos 2019-09-10 14:18:59 +02:00
codemaker ofz#20976 build-failure 2020-03-02 21:46:57 +01:00
comphelper comphelper: allow simple ad-hoc measuring with ProfileZones 2020-03-04 09:04:14 +01:00
compilerplugins compilerplugins: remove unused getDeclContext() 2020-03-09 14:22:50 +01:00
config_host limit symbols exported when using --enable-mergelibs 2020-03-06 08:18:06 +01:00
configmgr GenericCommands: fix Fontwork tooltips 2020-02-06 23:11:39 +01:00
connectivity tdf#131217: position arg in Blob::getBytes begins at 1 not 0 (Firebird) 2020-03-08 16:34:59 +01:00
cppcanvas Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
cppu Make TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK constexpr 2020-03-06 10:18:58 +01:00
cppuhelper tdf#127781 Android Viewer: aarch64: Avoid throwing exceptions through bridges 2020-03-05 20:17:24 +01:00
cpputools sal_Char->char in cppcanvas..cui 2019-12-18 17:40:23 +01:00
cui save/restore the entry text of the fontsize widget 2020-03-09 13:25:56 +01:00
dbaccess improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
desktop lok: calc formula bar tunneling 2020-03-06 10:40:29 +01:00
dictionaries@6e60b3ca21 Update git submodules 2020-02-16 20:22: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 clean-up namespaces viewinformation2d.{cxx,hxx} 2020-03-07 14:40:19 +01:00
dtrans loplugin:nullptr (clang-cl) 2020-02-04 08:01:39 +01:00
editeng improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
embeddedobj tdf#131146 Linked Calc: changes are lost in last edited cell 2020-03-06 16:26:14 +01:00
embedserv sal_Char->char in editeng..eventattacher 2019-12-19 08:12:46 +01:00
emfio Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
eventattacher sal_Char->char in editeng..eventattacher 2019-12-19 08:12:46 +01:00
extensions improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
external always include assert.h and don't provide a different assert define 2020-03-04 22:12:47 +01:00
extras tdf#130711: [tr] Extend Autocorrect list for Turkish language (Start with C/Ç) 2020-03-07 11:39:47 +01:00
filter loplugin:unreffun (macOS) 2020-03-09 10:07:10 +01:00
forms vcl: rename GetContext to GetReaderContext in Graphic 2020-03-04 11:31:45 +01:00
formula clang-format f*,h* with under 5-percent lines of change 2020-02-16 14:10:39 +01:00
fpicker cid#1459028 various checked_return warnings 2020-03-01 16:39:50 +01:00
framework Fix typo 2020-03-02 15:35:45 +01:00
helpcompiler Avoid -Werror,-Wdeprecated-enum-enum-conversion 2019-12-30 08:32:26 +01:00
helpcontent2@4d5bdcb2d5 Update git submodules 2020-03-07 14:49:34 +01:00
hwpfilter clang-format f*,h* with under 5-percent lines of change 2020-02-16 14:10:39 +01:00
i18nlangtag Resolves: tdf#130757 Add Minangkabau [min-ID] to language list 2020-02-18 23:00:32 +01:00
i18npool sw padded numbering: add ODF filter 2020-03-03 18:38:25 +01:00
i18nutil Add case table for Adlam 2020-02-16 16:31:08 +01:00
icon-themes Update for Sukapura icons 2020-03-07 00:32:08 +01:00
idl ofz#20976 build-failure 2020-03-02 21:46:57 +01:00
idlc Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
include make SpinField DLLPUBLIC again 2020-03-09 15:26:54 +01:00
instsetoo_native add macOS malloc debugging env vars 2020-02-20 07:11:13 +01:00
io remove some unused local vars 2020-01-26 08:01:42 +01:00
ios Move the "registry" directory to be under "share" on iOS, too 2020-02-17 15:56:02 +02:00
javaunohelper tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
jurt Use thread_local statics in dtoa.c to be thread-safe 2020-03-03 17:34:35 +01:00
jvmaccess tdf#42949 Fix IWYU warnings in jvmfwk/ & jvmaccess/ 2019-04-26 14:54:54 +02:00
jvmfwk improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
l10ntools avoid flex-caused warnings about unused functions 2020-02-03 16:33:20 +01:00
librelogo GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
libreofficekit tdf#42949 Fix IWYU warnings in libreofficekit/ 2020-03-06 09:21:27 +01:00
lingucomponent tdf#130137 Replace remaining uses of WNT define checks with _WIN32 2020-01-25 22:02:16 +01:00
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 add -latomic configure check... 2019-09-02 19:11:38 +02:00
nlpsolver tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
o3tl Adapt o3tl::span to removal of std::span::cbegin et al 2020-02-22 19:41:50 +01:00
odk Fix typo 2020-02-24 19:30:59 +01:00
offapi tdf#75330 add a new overlay/no-overlay feature for the legend 2020-03-05 12:27:04 +01:00
officecfg Fix typo 2020-03-07 11:56:05 +01:00
onlineupdate Proper error check for fwrite in updater.cxx 2020-02-16 22:32:47 +01:00
oovbaapi Fix typo 2019-11-26 20:01:51 +01:00
oox tdf#42949 Fix IWYU warnings in oox/*/*hxx 2020-03-09 11:54:45 +01:00
opencl merge OpenGLZone and OpenCLZone into one generic code 2020-02-07 09:11:32 +01:00
osx Add some more source files for breakpointing convenience 2019-11-20 14:19:05 +02:00
package make update_pch also consider files in <module>/src/**/inc 2020-02-01 20:12:21 +01:00
pch Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
postprocess GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
pyuno python 3.8.2 compile: add tp_print to PyTypeObject 2020-02-22 07:43:02 +01:00
qadevOOo tdf#45904 Move XNameContainer Java tests to C++ 2020-02-27 22:27:05 +01:00
readlicense_oo tdf#130725: use strtod by David M. Gay to make sure we get the nearest 2020-02-27 11:02:03 +01:00
registry clang-tidy modernize-concat-nested-namespace 2020-01-31 18:36:09 +01:00
remotebridges tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor 2020-01-27 22:14:11 +01:00
reportbuilder tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
reportdesign improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
ridljar GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
sal ofz#21036: Avoid UBSan signed-integer-overflow in external/dtoa 2020-03-04 16:37:57 +01:00
salhelper tdf#130137 Replace remaining uses of WNT define checks with _WIN32 2020-01-25 22:02:16 +01:00
sax tdf#130878 Report does not show label-fields 2020-02-29 12:04:55 +01:00
sc improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
scaddins tdf#42982: improve UNO API error reportings 2020-02-24 10:23:34 +01:00
sccomp remove some unused local vars 2020-01-28 09:18:31 +01:00
schema tdf#108110 ODF chart: import/export of custom position of data point labels 2020-02-27 16:56:23 +01:00
scp2 add Friulian (fur) language pack 2020-02-28 16:42:25 +01:00
scripting tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
sd improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
sdext Move Boost.Spirit usage away from legacy namespace 2020-02-20 18:50:24 +01:00
setup_native Set INSTALLLOCATION in one single place 2020-02-03 21:51:37 +01:00
sfx2 Android Viewer: Set SfxWorkWindow::bIsFullScreen to true again 2020-03-05 17:28:38 +01:00
shell GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
slideshow upgrade to latest glm 2020-02-28 13:27:51 +01:00
smoketest tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
solenv remove acccfg.{cxx,hxx} from clang-format blacklist 2020-03-07 21:57:08 +01:00
soltools tdf#130137 Replace remaining uses of WNT define checks with _WIN32 2020-01-25 22:02:16 +01:00
sot New loplugin:unsignedcompare 2020-01-28 07:42:15 +01:00
starmath Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
stoc Be more verbose about JNI errors at least with --enable-dbgutil 2020-02-06 11:16:42 +01:00
store cppcheck: shadowFunction in store/storbase 2020-01-26 11:44:05 +01:00
svgio Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
svl tdf#130725: use strtod by David M. Gay to make sure we get the nearest 2020-02-27 11:02:03 +01:00
svtools save/restore the entry text of the fontsize widget 2020-03-09 13:25:56 +01:00
svx save/restore the entry text of the fontsize widget 2020-03-09 13:25:56 +01:00
sw tdf#107975: move UItest to CppunitTest 2020-03-09 13:50:05 +01:00
swext tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
sysui GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
test Fix typo 2020-03-05 11:27:32 +01:00
testtools Remove never-executed else-block 2020-02-17 15:36:04 +01:00
toolkit clang-format toolkit, tools, uui with under 5-percent lines of change 2020-03-07 15:27:45 +01:00
tools clang-format toolkit, tools, uui with under 5-percent lines of change 2020-03-07 15:27:45 +01:00
translations@610e3f90e1 Update git submodules 2020-03-06 13:01:22 +01:00
ucb improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
ucbhelper inline some acquire/release calls 2020-02-17 08:59:01 +01:00
udkapi Update the reference rdbs to libreoffice-6.4.0.3-buildfix1 2020-02-19 17:50:45 +01:00
uitest uitest: speed up close_doc() 2020-03-04 21:36:15 +01:00
UnoControls tdf#42982 add detail exception reason for UnoControls 2020-02-19 12:31:30 +01:00
unodevtools clang-tidy modernize-concat-nested-namespace 2020-01-31 18:36:09 +01:00
unoidl ofz#20976 build-failure 2020-03-02 21:46:57 +01:00
unoil GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
unotest Fix mis-merge 2020-02-06 22:22:23 +01:00
unotools tdf#42982 added description on RuntimeException for unotools 2020-02-27 11:04:30 +01:00
unoxml Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
ure tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
uui improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
vbahelper Drop o3tl::optional wrapper 2020-02-21 14:50:28 +01:00
vcl tdf#127687 Qt5 introduce basic HiDPI scaling 2020-03-09 14:19:49 +01:00
winaccessibility GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
wizards GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
writerfilter rhbz#1810732 crash/assert inserting document with initial graphic 2020-03-06 22:17:47 +01:00
writerperfect Remove some unused includes 2020-03-05 09:26:05 +01:00
xmerge tdf#117331 Merge jurt and unoil into ridl 2020-02-04 22:03:54 +01:00
xmlhelp improve loplugin:unusedfields 2020-03-09 11:33:43 +01:00
xmloff StartElement/EndElement in SdXMLGenericPageContext are superfluous now 2020-03-09 14:45:48 +01:00
xmlreader Revert "Optimize getNamespaceId (xmlreader)" 2019-10-10 07:55:00 +02:00
xmlscript tdf#130793 Fix import/export of image URLs 2020-02-26 06:40:23 +01:00
xmlsecurity remove some dead code 2020-03-03 08:26:40 +01:00
.buckconfig Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
.buckversion Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
.clang-format clang-format: don't sort using declarations 2020-02-26 09:12:49 +01:00
.editorconfig We have some Objective-C source files, too 2017-12-01 12:59:43 +02:00
.git-blame-ignore-revs put clang-format commit to .git-blame-ignore-revs 2020-03-07 22:59:48 +01:00
.gitattributes Ignore schema files for src tarball generation 2016-08-30 23:59:15 +00:00
.gitignore Add QtCreator-specific file to .gitignore 2019-06-08 15:36:20 +02:00
.gitmodules uset https:// instead of git:// for submodules 2018-12-20 19:52:51 +01:00
.gitpod.dockerfile Initial commit for Gitpodifying LibreOffice core 2020-03-09 13:00:32 +01:00
.gitpod.yml Initial commit for Gitpodifying LibreOffice core 2020-03-09 13:00:32 +01:00
.gitreview git-review: Use the hostname instead of alias. 2019-05-15 15:13:47 +02:00
antivirusDetection.vbs tdf#84553 Correctly handle failures while getting a WMI Object. 2020-02-12 09:14:03 +01:00
autogen.sh Introduce INCLUDE: in the distro-configs... 2020-02-11 20:25:32 +01:00
BUCK Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
config.guess Fixing '....' 2019-09-06 14:12:27 +02:00
config.sub Update config.{guess,sub} 2019-05-13 10:07:05 +02:00
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 gbuild: allow to react on change in configured langs 2015-03-25 17:52:20 +01:00
configure.ac Disable gtk in the build-config when cross-compiling. 2020-03-09 15:44:07 +01:00
COPYING Licencing files 2011-01-11 21:49:39 +00:00
COPYING.LGPL Licencing files 2011-01-11 21:49:39 +00:00
COPYING.MPL Targetted text updates, with seasonable changes before l10n freeze. 2013-12-13 17:00:07 +00:00
download.lst Update fontconfig to 2.13.91 2020-03-06 16:48:02 +01:00
g ./g: don't exit early on ./g checkout -f 2018-07-02 23:51:08 +02:00
hardened_runtime.xcent macOS: enable hardened runtime when signing 2019-05-31 21:13:31 +02:00
install-sh Fix typos 2019-08-12 22:12:57 +02:00
leak-suppress.txt fix doc 2019-11-13 06:13:09 +01:00
Library_merged.mk gbuild: Remove MSVC 2013 legacy code 2017-04-21 18:18:44 +02:00
lo.xcent No more need to generate lo.xcent from lo.xcent.in 2018-12-18 09:37:00 +01:00
logerrit fix get_SHA_for_change in logerrit script 2020-03-02 13:17:08 +01:00
Makefile.fetch tdf#130725: use strtod by David M. Gay to make sure we get the nearest 2020-02-27 11:02:03 +01:00
Makefile.gbuild updater: workaround cygwin python bug around command line arguments 2017-08-05 05:31:06 +02:00
Makefile.in dtoa needed by sal 2020-03-02 10:01:37 +01:00
README.cross Rename Mac OS X to official name macOS in comments and documentation 2018-11-29 14:08:26 +01:00
README.md Bump Windows build baseline to Visual Studio 2019 16.4 2020-03-04 18:33:21 +01:00
README.Solaris remove use of Archive::Zip 2016-06-04 08:09:56 +02:00
Repository.mk drop workben outdevgrind 2020-02-13 16:50:38 +01:00
RepositoryExternal.mk tdf#130725: use strtod by David M. Gay to make sure we get the nearest 2020-02-27 11:02:03 +01:00
RepositoryFixes.mk Rename Mac OS X to official name macOS in comments and documentation 2018-11-29 14:08:26 +01:00
RepositoryModule_build.mk migrate to boost::gettext 2017-07-21 08:20:50 +01:00
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 pep8 -> pycodestyle 2018-10-16 14:29:06 +02:00
TEMPLATE.SOURCECODE.HEADER Add fill-column: 100 to the Emacs mode line 2016-11-08 14:59:30 +02:00

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.