Test repository to check push and ssh key
Find a file
Noel Grandin de8c193833 loplugin:indentation in helpcompiler..io
Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620
Reviewed-on: https://gerrit.libreoffice.org/67558
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-02-09 17:07:29 +01:00
.git-hooks
accessibility loplugin:indentation in UnoControls..accessibility 2019-02-08 10:02:05 +01:00
android
animations
apple_remote Fix typo 2019-02-06 07:07:36 +01:00
avmedia tdf#44223 allow slideshow to play embedded media. 2019-02-04 01:15:22 +01:00
basctl loplugin:indentation in basctl..bridges 2019-02-08 10:01:05 +01:00
basegfx loplugin:indentation in basctl..bridges 2019-02-08 10:01:05 +01:00
basic loplugin:indentation in basctl..bridges 2019-02-08 10:01:05 +01:00
bean
bin
binaryurp
bridges The gcc3_linux_aarch64 bridge needs to call __cxa_current_exception_type, too 2019-02-08 16:02:38 +01:00
canvas loplugin:indentation in canvas..chart2 2019-02-08 10:01:20 +01:00
chart2 Fix typo 2019-02-09 05:33:59 +01:00
cli_ure Fix typo 2019-02-04 07:07:07 +01:00
codemaker loplugin:indentation in codemaker..comphelper 2019-02-08 10:01:40 +01:00
comphelper loplugin:indentation in codemaker..comphelper 2019-02-08 10:01:40 +01:00
compilerplugins Fix compilerplugins/clang/test/useuniqueptr.cxx for clang-cl 2019-01-31 20:23:39 +01:00
config_host
configmgr
connectivity loplugin:indentation in connectivity 2019-02-08 13:39:29 +01:00
cppcanvas CppunitTest_cppcanvas_emfplus: use CPPUNIT_TEST_FIXTURE() 2019-02-07 09:01:25 +01:00
cppu loplugin:indentation in cppu..cui 2019-02-08 13:16:15 +01:00
cppuhelper loplugin:indentation in cppu..cui 2019-02-08 13:16:15 +01:00
cpputools
cui loplugin:indentation in cppu..cui 2019-02-08 13:16:15 +01:00
dbaccess loplugin:indentation in dbaccess..drawinglayer 2019-02-08 13:39:15 +01:00
desktop loplugin:indentation in dbaccess..drawinglayer 2019-02-08 13:39:15 +01:00
dictionaries@6811c96b9d
distro-configs Clang ASan fails with gold 2019-02-05 08:45:57 +01:00
drawinglayer move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
dtrans Cleanup event properly; handle error from MsgWaitForMultipleObjects 2019-02-05 14:10:35 +01:00
editeng loplugin:indentation in editeng..extensions 2019-02-08 14:37:05 +01:00
embeddedobj loplugin:indentation in editeng..extensions 2019-02-08 14:37:05 +01:00
embedserv
emfio move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
eventattacher loplugin:indentation in editeng..extensions 2019-02-08 14:37:05 +01:00
extensions loplugin:indentation in editeng..extensions 2019-02-08 14:37:05 +01:00
external firebird: fix CXXFLAGS 2019-02-03 14:59:27 +01:00
extras
filter loplugin:indentation in filter 2019-02-09 17:07:13 +01:00
forms loplugin:indentation in forms..fpicker 2019-02-09 17:07:19 +01:00
formula
fpicker loplugin:indentation in forms..fpicker 2019-02-09 17:07:19 +01:00
framework loplugin:indentation in framework 2019-02-09 17:07:24 +01:00
helpcompiler loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
helpcontent2@cc0a383f13 Update git submodules 2019-02-08 08:58:16 +01:00
hwpfilter loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
i18nlangtag
i18npool loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
i18nutil loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
icon-themes Sifr icon: update icon theme 2019-02-08 14:44:51 +01:00
idl loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
idlc loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
include move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
instsetoo_native
io loplugin:indentation in helpcompiler..io 2019-02-09 17:07:29 +01:00
ios
javaunohelper
jurt Adapt jurt/source/pipe/staticsalhack.cxx 2019-02-06 18:06:11 +01:00
jvmaccess
jvmfwk Get rid of some macros 2019-02-04 15:54:22 +01:00
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk
offapi offapi: XOffset means center for awt::GradientStyle_RADIAL as well 2019-02-02 08:33:55 +01:00
officecfg complete the univerbation of E-mail to Email in the ui 2019-02-07 06:02:58 +01:00
onlineupdate
oovbaapi The WindowName param to WordBasic.AppMaximize() is optional and must be an Any 2019-02-07 12:40:10 +02:00
oox oox smartart, cycle matrix: handle left/bottom constraint in composite algo 2019-02-08 15:36:10 +01:00
opencl
osx
package
postprocess
pyuno
qadevOOo [API CHANGE] Synchronize supported Writer document zoom ranges 2019-02-07 09:21:50 +01:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign tdf#42949 Fix IWYU warnings in include/svtools/* 2019-02-05 09:15:25 +01:00
ridljar
sal Make osl_getLocalHostname thread-safe 2019-02-07 16:24:23 +01:00
salhelper
sax
sc uitest for sc Chart - format Data series dialog 2019-02-08 19:03:10 +01:00
scaddins
sccomp
schema
scp2
scripting
sd oox smartart, cycle matrix: handle left/bottom constraint in composite algo 2019-02-08 15:36:10 +01:00
sdext
setup_native loplugin:redundantinline (clang-cl) 2019-01-30 16:25:15 +01:00
sfx2 Fix typo 2019-02-08 07:07:08 +01:00
shell loplugin:flatten in shell 2019-02-06 09:59:59 +01:00
slideshow loplugin:flatten in slideshow 2019-02-05 14:43:11 +01:00
smoketest
solenv move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
soltools loplugin:flatten in soltools 2019-02-06 07:07:57 +01:00
sot loplugin:flatten in sot 2019-02-05 14:45:08 +01:00
starmath loplugin:flatten in starmath 2019-01-31 10:41:34 +01:00
stoc const_cast is not needed here 2019-01-31 12:31:25 +01:00
store
svgio move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
svl Move dubious file: -> smb: conversion from INetURLObject to file UCP 2019-02-05 19:55:04 +01:00
svtools remove obsolete image handling description from README 2019-02-08 22:27:20 +01:00
svx Resolves: tdf#123122 category is just one bit, date+time is two bits set 2019-02-09 02:56:24 +01:00
sw Initialize some OUString with proper value 2019-02-08 19:35:36 +01:00
swext
sysui
test move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
testtools
toolkit Avoid index for single getToken call 2019-02-08 19:36:18 +01:00
tools move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
translations@46a65ed743
ucb o3tl::make_unique -> std::make_unique in tools..xmloff 2019-02-08 12:30:06 +01:00
ucbhelper
udkapi
uitest
UnoControls loplugin:indentation in UnoControls..accessibility 2019-02-08 10:02:05 +01:00
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui
vbahelper o3tl::make_unique -> std::make_unique in tools..xmloff 2019-02-08 12:30:06 +01:00
vcl Use PngImageReader for loading the icons from the icon-themes 2019-02-09 11:57:55 +01:00
winaccessibility loplugin:implicitboolconversion (clang-cl) 2019-01-30 19:11:56 +01:00
wizards complete the univerbation of E-mail to Email in the ui 2019-02-07 06:02:58 +01:00
writerfilter writerfilter: make members private in RTFMathSymbol 2019-02-06 09:03:29 +01:00
writerperfect o3tl::make_unique -> std::make_unique in tools..xmloff 2019-02-08 12:30:06 +01:00
xmerge
xmlhelp o3tl::make_unique -> std::make_unique in tools..xmloff 2019-02-08 12:30:06 +01:00
xmloff o3tl::make_unique -> std::make_unique in tools..xmloff 2019-02-08 12:30:06 +01:00
xmlreader tdf#42949 Fix IWYU warnings in xmlreader/ 2019-02-04 10:07:20 +01:00
xmlscript
xmlsecurity tdf#42949 Fix IWYU warnings in include/svtools/* 2019-02-05 09:15:25 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh don't require /autoconf/ to be 2.68 (also allow e.g. autoconf268) 2019-01-30 20:32:18 +01:00
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac Fix typos 2019-02-05 07:08:34 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst curl: upgrade to release 7.64.0 2019-02-06 12:42:08 +01:00
g
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

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
  • macOS:
    • Runtime: 10.10
    • Build: 10.13.2 + Xcode 9.3
  • Linux:
    • Runtime: RHEL 6 or CentOS 6
    • 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

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.