Test repository to check push and ssh key
Find a file
Stephan Bergmann 7c473eb789 Enable loplugin:defaultparams
Change-Id: Ie0a17569d1216816fd6357cd2ba1e125d2172408
2015-08-21 18:07:36 +02:00
.git-hooks
accessibility sal_uLong to sal_uInt32 2015-08-16 09:10:21 +02:00
android gbuild/config stop using VERBOSE, use only verbose=t 2015-08-11 04:34:45 +00:00
animations
apple_remote
avmedia Clean up remaining utl::LocalFileHelper::Convert... 2015-08-19 10:48:42 +02:00
basctl avoid autocorrection misreplacing 2015-08-20 09:24:15 +00:00
basebmp
basegfx loplugin: defaultparams 2015-08-11 09:48:17 +02:00
basic null pointer guard if no user defined types declared at the module level 2015-08-18 12:16:29 +00:00
bean
bin bin/run: fix LO_TRACE on Windows 2015-08-14 17:32:51 +02:00
binaryurp
bridges cppcheck: noExplicitConstructor 2015-08-17 20:14:32 +00:00
canvas o3tl: rename compat_functional header 2015-08-17 16:38:30 +00:00
chart2 loplugin:defaultparams 2015-08-21 15:02:41 +02:00
clew
cli_ure
codemaker new loplugin: defaultparams 2015-08-11 08:25:33 +02:00
comphelper Remove demonstrated-useless comphelper::compare 2015-08-21 10:34:04 +02:00
compilerplugins Enable loplugin:defaultparams 2015-08-21 18:07:36 +02:00
config_host configure, pyuno: stop claiming our python 3.3.5 is 3.3.3 2015-08-18 11:19:43 +00:00
configmgr Generalize CONFIGURATION_LAYERS "winreg:" notation 2015-08-21 13:32:33 +00:00
connectivity comphelper: remove unnecessary include <stack> 2015-08-19 19:32:18 +02:00
cppcanvas Put Polygon from tools under tools:: namespace 2015-08-17 02:07:43 +00:00
cppu Some oslCondition -> osl::Condition 2015-08-18 08:16:18 +02:00
cppuhelper tdf#84323: Make osl::Thread::wait more readable 2015-08-17 15:37:22 +00:00
cpputools
cui tdf#93547 - add basic lock-down support for OpenGL settings. 2015-08-21 09:26:30 +01:00
dbaccess Remove demonstrated-useless comphelper::compare 2015-08-21 10:34:04 +02:00
desktop loplugin: defaultparams 2015-08-20 13:52:17 +02:00
dictionaries@a06da898df
distro-configs prepare conf files for tweaking jenkins from core.git directly 2015-08-11 15:20:40 -05:00
drawinglayer Put Polygon from tools under tools:: namespace 2015-08-17 02:07:43 +00:00
dtrans include: inline some use-once typedefs 2015-08-04 08:55:57 +02:00
editeng tweak config-less sysconfig path 2015-08-20 16:12:22 +01:00
embeddedobj loplugin: defaultparams 2015-08-14 10:52:47 +02:00
embedserv tdf#88206 replace cppu::WeakImplHelper* etc. 2015-08-05 07:00:14 +00:00
eventattacher tdf#88206 replace cppu::WeakImplHelper* etc. 2015-08-05 07:00:14 +00:00
extensions loplugin:defaultparams 2015-08-21 18:06:54 +02:00
external external/apr: Avoid dependency on system uuid lib 2015-08-17 12:03:38 +02:00
extras tdf#93302: Fix OpenSymbol %phi and %varphi glyphs 2015-08-18 19:45:01 +00:00
filter loplugin:defaultparams 2015-08-21 15:02:41 +02:00
forms Remove demonstrated-useless comphelper::compare 2015-08-21 10:34:04 +02:00
formula the original author not only didn't like spaces but also not newlines.. 2015-08-20 23:12:31 +02:00
fpicker Clean up remaining utl::LocalFileHelper::Convert... 2015-08-19 10:48:42 +02:00
framework more config skipping stuff and a tester tool 2015-08-20 07:40:21 +00:00
helpcompiler
helpcontent2@fe274b4db7 Updated core 2015-08-16 11:53:09 +00:00
hwpfilter add hwp to fftester 2015-08-21 16:17:26 +01:00
i18nlangtag MS finally acknowledged Cuba 2015-08-21 16:35:07 +02:00
i18npool i18npool: tdf#88206 replace cppu::WeakImplHelper* 2015-08-18 07:12:26 +00:00
i18nutil loplugin:defaultparams 2015-08-21 15:02:41 +02:00
icon-themes Breeze: StartCenter icon size fixed to 32px tdf#93064 tdf#92242 2015-08-18 06:24:42 +00:00
idl idl: add article that has details on SDI file format 2015-08-12 09:08:36 +02:00
idlc loplugin:unusedmethods 2015-08-05 09:39:22 +00:00
include MS finally acknowledged Cuba 2015-08-21 16:35:07 +02:00
instsetoo_native Spurious space 2015-08-21 16:20:07 +02:00
io io: tdf#88206 replace cppu::WeakImplHelper* etc. 2015-08-19 07:48:50 +00:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk loplugin: defaultparams 2015-08-11 09:48:17 +02:00
l10ntools implicit conversion of NULL constant to 'nullptr_t' 2015-08-20 10:28:49 +02:00
librelogo fix broken PICTURE (group handling) of LibreLogo 2015-08-18 00:58:37 +02:00
libreofficekit Fix incomplete g-i annotations 2015-08-19 12:02:17 +02:00
lingucomponent Clean up remaining utl::LocalFileHelper::Convert... 2015-08-19 10:48:42 +02:00
linguistic linguistic: tdf#88206 replace cppu::WeakImplHelper* 2015-08-21 06:28:42 +00:00
lotuswordpro loplugin: defaultparams 2015-08-14 11:11:14 +02:00
m4
mysqlc
nlpsolver
o3tl o3tl: rename compat_functional header 2015-08-17 16:38:30 +00:00
odk gbuild/config stop using VERBOSE, use only verbose=t 2015-08-11 04:34:45 +00:00
offapi offapi: add missing #include that could cause trouble for SDK users 2015-08-20 12:17:10 +02:00
officecfg tdf#39080 Hide Whitespace UI option added to the View menu. 2015-08-17 12:38:42 +00:00
onlineupdate Add the needed #ifndef instead of removing the variable. 2015-08-12 06:55:10 +02:00
oovbaapi
oox Avoid css::uno::Sequence<sal_uInt8> (which is not a proper UNO type) 2015-08-19 14:48:28 +02:00
opencl
osx
package Consolidate isFileUrl checks 2015-08-19 12:24:37 +02:00
postprocess postprocess: d'oh generated files are in $(BUILDDIR) 2015-08-06 22:49:23 +02:00
pyuno configure, pyuno: stop claiming our python 3.3.5 is 3.3.3 2015-08-18 11:19:43 +00:00
qadevOOo
readlicense_oo update credits 2015-08-20 19:45:04 +02:00
registry new loplugin automem 2015-08-20 09:55:43 +02:00
remotebridges
reportbuilder
reportdesign Remove demonstrated-useless comphelper::compare 2015-08-21 10:34:04 +02:00
ridljar
rsc loplugin:unusedmethods 2015-08-05 09:39:22 +00:00
sal tdf#93569 - restore ACT_ABORT distinction. 2015-08-21 11:03:35 +00:00
salhelper If we want this to crash intentionally, use abort() then 2015-08-06 10:24:49 +03:00
sax loplugin: defaultparams 2015-08-11 09:48:17 +02:00
sc loplugin:defaultparams 2015-08-21 15:02:41 +02:00
scaddins Removed another FuncDataList collection 2015-08-13 12:04:24 +00:00
sccomp
scp2 Missing #undef 2015-08-21 16:22:41 +02:00
scripting sc: inline some use-once typedefs 2015-08-04 08:55:56 +02:00
sd loplugin:defaultparams 2015-08-21 15:02:41 +02:00
sdext loplugin: defaultparams 2015-08-20 13:52:17 +02:00
setup_native
sfx2 it's no use to check for stream status after a seek 2015-08-20 10:35:10 +01:00
shell cppcheck:noExplicitConstructor 2015-08-07 08:14:34 +02:00
slideshow loplugin: defaultparams 2015-08-20 13:52:17 +02:00
smoketest cppcheck:noExplicitConstructor 2015-08-07 07:20:24 +02:00
solenv gbuild/config stop using VERBOSE, use only verbose=t 2015-08-11 04:34:45 +00:00
soltools
sot Clean up remaining utl::LocalFileHelper::Convert... 2015-08-19 10:48:42 +02:00
starmath loplugin:defaultparams 2015-08-21 15:02:41 +02:00
stoc loplugin: defaultparams 2015-08-20 13:52:17 +02:00
store new loplugin: defaultparams 2015-08-11 08:25:33 +02:00
svgio loplugin: defaultparams 2015-08-20 13:52:17 +02:00
svl tweak config-less sysconfig path 2015-08-20 16:12:22 +01:00
svtools Resolves: tdf#93468 add Arpitan (France,Italy) [frp-FR] [frp-IT] 2015-08-21 15:28:26 +02:00
svx Remove demonstrated-useless comphelper::compare 2015-08-21 10:34:04 +02:00
sw loplugin:defaultparams 2015-08-21 18:07:11 +02:00
swext
sysui
test test: hack to avoid VCLXToolkit calling CreateMainLoopThread 2015-08-19 19:35:46 +00:00
testtools
toolkit Remove demonstrated-useless comphelper::compare 2015-08-21 10:34:04 +02:00
tools Put Line under tools namespace 2015-08-17 06:30:01 +00:00
translations@060c2dd2f8 Updated core 2015-08-12 14:20:42 +00:00
tubes
ucb remove last WeakImplHelper8 uses 2015-08-21 13:05:11 +01:00
ucbhelper Remove newly unused ucbhelper/fileidentifierconverter.hxx 2015-08-18 15:32:16 +02:00
udkapi remove some unused defines 2015-08-03 11:12:31 +02:00
UnoControls new loplugin: refcounting 2015-08-03 06:37:16 +00:00
unodevtools loplugin: defaultparams 2015-08-11 09:48:18 +02:00
unoidl
unoil
unotest unotest.py: call the magic bootstrap init function once only 2015-08-06 13:22:58 +02:00
unotools tweak config-less sysconfig path 2015-08-20 16:12:22 +01:00
unoxml
ure
uui loplugin: defaultparams 2015-08-21 10:19:44 +02:00
vbahelper inline some use-once typedefs 2015-08-03 12:16:33 +00:00
vcl add hwp to fftester 2015-08-21 16:17:26 +01:00
winaccessibility
wizards tdf#76845: wizards: fix Web wizard XSLT deadlock on Windows 2015-08-04 23:50:54 +02:00
writerfilter loplugin: defaultparams 2015-08-21 10:19:44 +02:00
writerperfect
xmerge
xmlhelp Consolidate isFileUrl checks 2015-08-19 12:24:37 +02:00
xmloff comphelper: reduce copypasta with UniquePtrValueLess functor 2015-08-19 19:32:18 +02:00
xmlreader
xmlscript inline some use-once typedefs 2015-08-03 12:16:33 +00:00
xmlsecurity inline some use-once typedefs 2015-08-03 12:16:33 +00:00
.gitattributes
.gitignore QtCreator integration : git must ignore .pro and .pro.user files. 2015-08-02 13:15:44 +00:00
.gitmodules
.gitreview
autogen.sh
config.guess
config.sub
config_host.mk.in configure.ac : completely kill the --enable/disable--verbose thing 2015-08-11 04:35:35 +00:00
config_host_lang.mk.in
configure.ac configure, pyuno: stop claiming our python 3.3.5 is 3.3.3 2015-08-18 11:19:43 +00:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in gbuild/config stop using VERBOSE, use only verbose=t 2015-08-11 04:34:45 +00:00
README.cross
README.md
README.Solaris
Repository.mk more config skipping stuff and a tester tool 2015-08-20 07:40:21 +00:00
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
TEMPLATE.SOURCECODE.HEADER
unusedcode.easy
unusedcode.exclude
unusedcode.README

LibreOffice

Coverity Scan Build Status

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
basebmp/ enables a VCL compatible rendering API to render to bitmaps, as used for LibreOffice Online, Android, iOS, etc.
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.