Test repository to check push and ssh key
Find a file
Noel Grandin 41dc56df37 loplugin:constparams codemaker,idl,idlc
Change-Id: Ic72b7525cfbfbd3c5afb12fe9ea814176e6c8c9d
Reviewed-on: https://gerrit.libreoffice.org/40126
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-18 13:27:45 +02:00
.git-hooks
accessibility Don't call ensureIsAlive after comphelper::OExternalLockGuard. 2017-07-15 17:27:10 +02:00
android Presentation Mode 2017-07-11 10:52:19 +02:00
animations
apple_remote
avmedia Reorganize Scheduler priority classes 2017-07-13 12:10:28 +02:00
basctl emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
basegfx loplugin:constparams in basegfx,sax,shell 2017-07-17 11:30:43 +02:00
basic loplugin:unnecessaryparen: basic (clang-cl) 2017-07-17 17:16:51 +02:00
bean
bin emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
binaryurp
bridges use more OUString::operator== in a*..chart2 2017-07-13 11:02:55 +02:00
canvas use more OUString::operator== in a*..chart2 2017-07-13 11:02:55 +02:00
chart2 emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
cli_ure
codemaker loplugin:constparams codemaker,idl,idlc 2017-07-18 13:27:45 +02:00
comphelper loplugin:constparams in comphelper,unoidl 2017-07-17 11:30:32 +02:00
compilerplugins loplugin:constparams in toolkit,ucb,xmlhelp 2017-07-18 11:13:05 +02:00
config_host
configmgr loplugin:constparams in configmgr,unotools 2017-07-17 13:33:48 +02:00
connectivity -Werror,-Wunused-private-field 2017-07-18 10:00:32 +02:00
cppcanvas Fix CppunitTest_cppcanvas_emfplus 2017-07-17 17:00:31 +02:00
cppu cppu: remove unnecessary LOG_LIFECYCLE_* macros 2017-07-17 21:46:35 +02:00
cppuhelper use more range-for on uno::Sequence 2017-07-11 12:50:55 +02:00
cpputools use more OUString::operator== comphelper..cui 2017-07-13 11:03:14 +02:00
cui emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
dbaccess emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
desktop Clean up android specific template functions defined in std namespace 2017-07-18 10:14:39 +02:00
dictionaries@93db4f58c3
distro-configs
drawinglayer Clean up android specific template functions defined in std namespace 2017-07-18 10:14:39 +02:00
dtrans loplugin:unnecessaryparen: dtrans (clang-cl) 2017-07-17 17:19:31 +02:00
editeng use more OUString::operator== in dbaccess..filter 2017-07-13 12:05:42 +02:00
embeddedobj Embedded documents: show title in menu entries 2017-07-18 11:27:46 +02:00
embedserv
emfio Remove unnecessary dependency 2017-07-17 14:40:24 +02:00
eventattacher
extensions loplugin:oncevar: extensions (clang-cl) 2017-07-17 17:20:53 +02:00
external try to fix osx build of libwps 2017-07-17 14:36:03 +02:00
extras [pt_PT] autocorrect - added 22 words 2017-07-07 12:38:57 +02:00
filter extend loplugin useuniqueptr to POD types 2017-07-14 10:13:46 +02:00
forms use more OUString::operator== in forms..sal 2017-07-13 15:20:58 +02:00
formula Resolves: tdf#104186 spaces between function name and ( not allowed in OOXML 2017-07-17 20:13:38 +02:00
fpicker use more begin()/end() for Sequence 2017-07-06 08:35:23 +02:00
framework emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
helpcompiler loplugin:constparams in vcl 2017-07-18 09:57:26 +02:00
helpcontent2@6cdd87dd0e Updated core 2017-07-18 10:13:09 +02:00
hwpfilter loplugin:constparams in scaddins,hwpfilter 2017-07-18 08:19:46 +02:00
i18nlangtag loplugin:unnecessaryparen: i18nlangtag (clang-cl) 2017-07-17 17:21:30 +02:00
i18npool loplugin:constparams in i18npool,opencl,svl 2017-07-18 08:19:59 +02:00
i18nutil loplugin:constparams in i18nutil,sot 2017-07-17 13:31:28 +02:00
icon-themes tdf#108928 Branding 6.0 2017-07-12 16:28:00 +02:00
idl loplugin:constparams codemaker,idl,idlc 2017-07-18 13:27:45 +02:00
idlc loplugin:constparams codemaker,idl,idlc 2017-07-18 13:27:45 +02:00
include loplugin:constparams codemaker,idl,idlc 2017-07-18 13:27:45 +02:00
instsetoo_native tdf#108928 Branding 6.0 2017-07-12 16:28:00 +02:00
io RTL_UNICODETOTEXT_INFO_{DEST|SCR}BUFFERTOSMALL should use TOO, not TO 2017-07-17 21:47:38 +02:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk use more OUString::operator== in forms..sal 2017-07-13 15:20:58 +02:00
l10ntools simplify some OUString::copy calls 2017-07-11 13:55:30 +02:00
librelogo
libreofficekit gtv: G_OPTION_FLAG_NONE is available since 2.42 only 2017-07-18 13:32:30 +05:30
lingucomponent extend loplugin useuniqueptr to OUString pointers 2017-07-17 07:23:22 +02:00
linguistic use more range-for on uno::Sequence 2017-07-11 12:50:55 +02:00
lotuswordpro use more OUString::operator== in forms..sal 2017-07-13 15:20:58 +02:00
m4
mysqlc teach unnecessaryparen loplugin about identifiers 2017-07-10 09:57:24 +02:00
nlpsolver
o3tl
odk use ifeq "$(SDK_AUTO_DEPLOYMENT)" "YES" 2017-07-17 19:20:56 +02:00
offapi emfplus: completed isolation/migration of Emf/Wmf 2017-07-15 11:01:30 +02:00
officecfg officecfg: increase GraphicManager/TotalCacheSize again for 64-bit 2017-07-14 16:20:45 +02:00
onlineupdate
oovbaapi implement Application.FileDialog attribute 2017-07-14 23:24:44 +02:00
oox Clean up android specific template functions defined in std namespace 2017-07-18 10:14:39 +02:00
opencl loplugin:constparams in i18npool,opencl,svl 2017-07-18 08:19:59 +02:00
osx
package loplugin:constparams in package 2017-07-18 13:26:39 +02:00
postprocess connectivity: add initial writer backend 2017-07-17 10:02:05 +02:00
pyuno
qadevOOo tdf#45904 Remove/disable obsolete _XSheetAnnotations Java tests 2017-07-13 10:47:37 +02:00
readlicense_oo
registry loplugin:constparams in store,registry 2017-07-17 10:20:19 +02:00
remotebridges
reportbuilder Enable the Formula Wizard to display 255 argument fields 2017-07-05 13:47:55 +02:00
reportdesign emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
ridljar
rsc teach unnecessaryparen loplugin about identifiers 2017-07-10 09:57:24 +02:00
sal Followup to final followup 647382f523 of my followup 2017-07-18 12:32:27 +10:00
salhelper
sax RTL_UNICODETOTEXT_INFO_{DEST|SCR}BUFFERTOSMALL should use TOO, not TO 2017-07-17 21:47:38 +02:00
sc fdo#43157 convert OSL_ASSERT to assert in sc/source/filter 2017-07-18 13:24:51 +02:00
scaddins loplugin:constparams in scaddins,hwpfilter 2017-07-18 08:19:46 +02:00
sccomp
schema
scp2
scripting use more OUString::operator== in scaddins..sdext 2017-07-14 10:12:31 +02:00
sd tdf#109067 Fix default value of rotWithShape 2017-07-17 22:10:09 +02:00
sdext use more OUString::operator== in scaddins..sdext 2017-07-14 10:12:31 +02:00
setup_native Add setgid call stub for Linux 2017-07-07 13:04:41 +02:00
sfx2 Fix typos 2017-07-17 19:15:00 +02:00
shell loplugin:useuniqueptr: shell (clang-cl) 2017-07-17 17:24:05 +02:00
slideshow emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
smoketest Translate German comments/debug strings (leftovers in dirs sdext to soltools) 2017-07-06 14:35:02 +02:00
solenv More avoidance of invoking gdb with LD_LIBRARY_PATH set 2017-07-18 08:27:48 +02:00
soltools Translate German comments/debug strings (leftovers in dirs sdext to soltools) 2017-07-06 14:35:02 +02:00
sot loplugin:constparams in i18nutil,sot 2017-07-17 13:31:28 +02:00
starmath use more OUString::operator== in sfx2..svtools 2017-07-14 10:19:27 +02:00
stoc use more OUString::operator== in sfx2..svtools 2017-07-14 10:19:27 +02:00
store loplugin:constparams in store,registry 2017-07-17 10:20:19 +02:00
svgio extend loplugin useuniqueptr to OUString pointers 2017-07-17 07:23:22 +02:00
svl loplugin:constparams in i18npool,opencl,svl 2017-07-18 08:19:59 +02:00
svtools RTL_UNICODETOTEXT_INFO_{DEST|SCR}BUFFERTOSMALL should use TOO, not TO 2017-07-17 21:47:38 +02:00
svx Fix typos 2017-07-17 19:17:46 +02:00
sw Partially revert c1723a3b6 2017-07-18 11:48:12 +02:00
swext
sysui
test use more OUString::operator== in test..xmlsecurity 2017-07-14 12:39:20 +02:00
testtools
toolkit loplugin:constparams in toolkit,ucb,xmlhelp 2017-07-18 11:13:05 +02:00
tools RTL_UNICODETOTEXT_INFO_{DEST|SCR}BUFFERTOSMALL should use TOO, not TO 2017-07-17 21:47:38 +02:00
translations@d317414f82 Updated core 2017-07-12 18:19:40 +02:00
ucb loplugin:constparams in toolkit,ucb,xmlhelp 2017-07-18 11:13:05 +02:00
ucbhelper use more OUString::operator== in test..xmlsecurity 2017-07-14 12:39:20 +02:00
udkapi
uitest
UnoControls strip some linefeeds from the end of debug output 2017-07-12 08:43:14 +02:00
unodevtools use more OUString::operator== in test..xmlsecurity 2017-07-14 12:39:20 +02:00
unoidl loplugin:constparams in comphelper,unoidl 2017-07-17 11:30:32 +02:00
unoil
unotest
unotools loplugin:constparams in configmgr,unotools 2017-07-17 13:33:48 +02:00
unoxml use more OUString::operator== in test..xmlsecurity 2017-07-14 12:39:20 +02:00
ure
uui use OString::operator== in preference to ::equals 2017-07-06 20:23:09 +02:00
vbahelper emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
vcl fix oss-fuzz build 2017-07-18 11:55:21 +01:00
winaccessibility loplugin:unnecessaryparen: winaccessibility (clang-cl) 2017-07-17 17:28:35 +02:00
wizards Access2Base - RecordSource property of SubForm class 2017-07-13 17:17:43 +02:00
writerfilter Clean up android specific template functions defined in std namespace 2017-07-18 10:14:39 +02:00
writerperfect teach unnecessaryparen loplugin about identifiers 2017-07-10 09:57:24 +02:00
xmerge
xmlhelp loplugin:constparams in toolkit,ucb,xmlhelp 2017-07-18 11:13:05 +02:00
xmloff tdf#109080 First page header/footer ODF (1/2) 2017-07-18 09:50:17 +02:00
xmlreader
xmlscript extend loplugin useuniqueptr to OUString pointers 2017-07-17 07:23:22 +02:00
xmlsecurity We no longer patch libxmlsec for this 2017-07-18 12:17:56 +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 android: Remove GCC support for building 2017-07-13 13:47:50 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upload libwps 0.4.7 2017-07-17 10:06:23 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in drop findunusedcode 2017-07-07 09:41:58 +02:00
README.cross
README.md
README.Solaris
Repository.mk connectivity: add initial writer backend 2017-07-17 10:02:05 +02:00
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
RepositoryModule_host.mk emfplus: create a wmf/emf/emf+ primitive based importer 2017-07-15 11:01:29 +02:00
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 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.