Test repository to check push and ssh key
Find a file
Noel Grandin 02a3abccee array_view std::hash override should be const
Change-Id: I8ffdf86e98e261b337cfa81b1be0cb64539c9a9c
Reviewed-on: https://gerrit.libreoffice.org/43871
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-26 15:47:12 +02:00
.git-hooks
accessibility
android
animations
apple_remote
avmedia loplugin:includeform: avmedia 2017-10-23 22:46:14 +02:00
basctl new loplugin:dodgyswitch 2017-10-25 08:32:16 +02:00
basegfx loplugin:constmethod in basegfx,sot 2017-10-26 12:44:44 +02:00
basic loplugin:includeform: basic 2017-10-23 22:46:13 +02:00
bean loplugin:includeform: bean 2017-10-23 22:46:13 +02:00
bin
binaryurp loplugin:constmethods in unotools 2017-10-26 10:59:42 +02:00
bridges loplugin:constmethods in unotools 2017-10-26 10:59:42 +02:00
canvas More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
chart2 More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
cli_ure
codemaker loplugin:includeform: codemaker 2017-10-23 22:46:12 +02:00
comphelper loplugin:constmethod in comphelper,ucbhelper 2017-10-25 08:32:27 +02:00
compilerplugins More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
config_host config_lgpl.h.in: fix loplugin:includeform warning 2017-10-24 12:24:03 +02:00
configmgr loplugin:includeform: configmgr 2017-10-23 22:46:11 +02:00
connectivity loplugin:includeform: connectivity (macOS) 2017-10-24 11:55:18 +02:00
cppcanvas loplugin:includeform: cppucanvas 2017-10-23 22:46:11 +02:00
cppu loplugin:constmethods in unotools 2017-10-26 10:59:42 +02:00
cppuhelper
cpputools loplugin:includeform: cpputools 2017-10-23 22:46:11 +02:00
cui More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
dbaccess More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
desktop iOS, soffice not needed for iOS 2017-10-25 18:47:10 +02:00
dictionaries@a79cdcb292 Updated core 2017-10-23 23:57:24 +02:00
distro-configs
drawinglayer tdf#111486 Fix description of SAL_ macros after EMF+ refactor 2017-10-26 08:41:01 +02:00
dtrans
editeng loplugin:implicitboolconversion 2017-10-24 20:48:35 +02:00
embeddedobj loplugin:includeform: embeddedobj 2017-10-23 22:46:09 +02:00
embedserv
emfio ofz#3374 Integer-overflow 2017-10-25 21:30:39 +02:00
eventattacher
extensions loplugin:includeform: extensions 2017-10-23 22:46:08 +02:00
external gpg4libre: enable OpenPGP support for Mac 2017-10-26 12:55:48 +02:00
extras tdf#103317 Update of Impress templates 2017-10-26 15:01:46 +02:00
filter More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
forms loplugin:includeform: forms 2017-10-23 22:46:08 +02:00
formula loplugin:includeform: formula 2017-10-23 22:46:07 +02:00
fpicker loplugin:includeform: fpicker (macOS) 2017-10-24 11:55:06 +02:00
framework More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
helpcompiler loplugin:includeform: helpcompiler 2017-10-23 22:46:07 +02:00
helpcontent2@44e33e6ecb Updated core 2017-10-24 13:45:36 +02:00
hwpfilter loplugin:includeform: hwpfilter 2017-10-23 22:46:06 +02:00
i18nlangtag loplugin:constmethod in comphelper,ucbhelper 2017-10-25 08:32:27 +02:00
i18npool Use SAL_N_ELEMENTS 2017-10-25 12:11:43 +02:00
i18nutil loplugin:includeform: i18nutil 2017-10-23 22:46:05 +02:00
icon-themes tdf#107569 Tango: Fix missing icons in Writer menu bar (part 2) 2017-10-26 03:14:15 +02:00
idl loplugin:includeform: idl 2017-10-23 22:46:05 +02:00
idlc loplugin:includeform: idlc 2017-10-23 22:46:05 +02:00
include array_view std::hash override should be const 2017-10-26 15:47:12 +02:00
instsetoo_native
io loplugin:includeform: io 2017-10-23 22:46:04 +02:00
ios iOS, updates to make structure 2017-10-24 09:49:49 +02:00
javaunohelper loplugin:includeform: javaunohelper 2017-10-23 22:46:04 +02:00
jurt loplugin:includeform: jurt 2017-10-23 22:46:03 +02:00
jvmaccess loplugin:includeform: jvmaccess 2017-10-23 22:46:03 +02:00
jvmfwk loplugin:constmethod in svl 2017-10-26 11:43:40 +02:00
l10ntools loplugin:constmethod in tools,sax,UnoControls 2017-10-25 10:56:03 +02:00
librelogo
libreofficekit fix build error 2017-10-24 18:17:21 +02:00
lingucomponent Related: tdf#80713 allow translation of linguistic service display names 2017-10-25 11:09:16 +02:00
linguistic loplugin:includeform: linguistic 2017-10-23 22:46:02 +02:00
lotuswordpro More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
m4
mysqlc loplugin:includeform: mysqlc 2017-10-23 22:46:02 +02:00
nlpsolver
o3tl improve o3tl::enumarray const-ness 2017-10-25 16:42:08 +02:00
odk loplugin:includeform: odk 2017-10-23 22:46:01 +02:00
offapi
officecfg tdf#107569 Tango: Fix missing icons in Writer menu bar (part 2) 2017-10-26 03:14:15 +02:00
onlineupdate
oovbaapi
oox PPTX export: correct position of rotated groups 2017-10-26 08:02:13 +02:00
opencl loplugin:includeform: opencl 2017-10-23 22:46:00 +02:00
osx
package loplugin:includeform: package 2017-10-23 22:45:59 +02:00
postprocess
pyuno loplugin:includeform: pyuno 2017-10-23 22:45:59 +02:00
qadevOOo
readlicense_oo update credits 2017-10-24 12:36:25 +02:00
registry loplugin:includeform: registry 2017-10-23 22:45:59 +02:00
remotebridges loplugin:includeform: remotebridges 2017-10-23 22:45:58 +02:00
reportbuilder
reportdesign loplugin:includeform: reportdesign 2017-10-23 22:45:58 +02:00
ridljar
sal ofz#3789 Integer-overflow 2017-10-25 21:34:18 +02:00
salhelper loplugin:includeform: salhelper 2017-10-23 22:45:57 +02:00
sax loplugin:constmethods in unotools 2017-10-26 10:59:42 +02:00
sc More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
scaddins loplugin:includeform: scaddins 2017-10-23 22:45:56 +02:00
sccomp loplugin:includeform: sccomp 2017-10-23 22:45:55 +02:00
schema
scp2 Add Albanian (sq) dictionary 2017-10-24 11:16:24 +02:00
scripting loplugin:includeform: scripting 2017-10-23 22:45:55 +02:00
sd More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
sdext More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
setup_native Add Albanian (sq) dictionary 2017-10-24 11:16:24 +02:00
sfx2 More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
shell loplugin:finalclasses in sfx2..svl 2017-10-24 13:41:17 +02:00
slideshow More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
smoketest loplugin:includeform: smoketest 2017-10-23 22:45:52 +02:00
solenv new loplugin:dodgyswitch 2017-10-25 08:32:16 +02:00
soltools loplugin:includeform: soltools (macOS) 2017-10-24 11:53:57 +02:00
sot loplugin:constmethod in basegfx,sot 2017-10-26 12:44:44 +02:00
starmath loplugin:finalclasses in sfx2..svl 2017-10-24 13:41:17 +02:00
stoc loplugin:includeform: stoc 2017-10-23 22:45:52 +02:00
store loplugin:includeform: store 2017-10-23 22:45:51 +02:00
svgio loplugin:includeform: svgio 2017-10-23 22:45:51 +02:00
svl loplugin:constmethod in svl 2017-10-26 11:43:40 +02:00
svtools Use the canonical abbreviation "pc" of pica, instead of "pi" 2017-10-26 10:02:07 +02:00
svx More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
sw related tdf#78508 and n#793262: import w:tcMar_start/end 2017-10-26 12:21:13 +02:00
swext
sysui
test loplugin:includeform: test 2017-10-23 22:45:50 +02:00
testtools loplugin:includeform: testtools 2017-10-23 22:45:49 +02:00
toolkit loplugin:includeform: toolkit (macOS) 2017-10-24 11:53:22 +02:00
tools loplugin:constmethod in tools,sax,UnoControls 2017-10-25 10:56:03 +02:00
translations@0703aea933
ucb loplugin:includeform: ucb 2017-10-23 22:45:49 +02:00
ucbhelper loplugin:constmethod in comphelper,ucbhelper 2017-10-25 08:32:27 +02:00
udkapi
uitest
UnoControls loplugin:constmethod in tools,sax,UnoControls 2017-10-25 10:56:03 +02:00
unodevtools loplugin:includeform: unodevtools 2017-10-23 22:45:48 +02:00
unoidl loplugin:includeform: unoidl (macOS) 2017-10-24 11:53:06 +02:00
unoil
unotest loplugin:includeform: unotest 2017-10-23 22:45:48 +02:00
unotools loplugin:constmethods in unotools 2017-10-26 10:59:42 +02:00
unoxml loplugin:includeform: unoxml 2017-10-23 22:45:47 +02:00
ure
uui loplugin:includeform: uui 2017-10-23 22:45:47 +02:00
vbahelper More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
vcl Fix build on linux without cups 2017-10-26 15:11:43 +02:00
winaccessibility
wizards Access2Base - Database events 2017-10-26 13:28:15 +02:00
writerfilter related tdf#78508 and n#793262: import w:tcMar_start/end 2017-10-26 12:21:13 +02:00
writerperfect
xmerge
xmlhelp
xmloff More loplugin:unnecessaryparen 2017-10-26 10:27:48 +02:00
xmlreader
xmlscript
xmlsecurity xmlsecurity: remove unused chainOn() argument 2017-10-25 11:44:04 +02:00
.buckconfig
.buckversion
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac gpg4libre: enable OpenPGP support for Mac 2017-10-26 12:55:48 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst curl: upgrade to release 7.56.1 2017-10-24 10:09:07 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk gpg4libre: enable OpenPGP support for Mac 2017-10-26 12:55:48 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
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 2015 Update 3
  • macOS:
  • Runtime: 10.9
  • Build: 10.12 + Xcode 8
  • Linux:
  • Runtime: RHEL 6 or CentOS 6
  • Build: GCC 4.8.1 or Clang
  • iOS (only for LibreOfficeKit):
  • Runtime: 10.3 (only support for newer i devices == 64 bit)
  • Build: Xcode 9.0 and iPhone SDK 10.3

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 3.4. 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:

http://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.

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.