Test repository to check push and ssh key
Find a file
Jochen Nitschke f01c49c4a8 style fix for cppcheck duplicateBreak
Change-Id: I42d4763db5a87741baa6b6d5ec58ea136394bf7a
Reviewed-on: https://gerrit.libreoffice.org/30670
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-07 18:56:30 +00:00
.git-hooks
accessibility style fix for cppcheck redundantCondition 2016-11-07 18:55:52 +00:00
android
animations
apple_remote
avmedia loplugin:expandablemethods in avmedia 2016-11-02 07:13:16 +00:00
basctl tdf#91222 VclBuilder constructor cleanup 2016-11-03 06:36:27 +00:00
basegfx
basic basic: fix Android build 2016-11-07 08:03:34 +01:00
bean
bin
binaryurp
bridges Don't rely on __builtin_alloca when creating a call stack 2016-11-07 08:54:58 +01:00
canvas
chart2 loplugin:oncevar in chart2 2016-11-07 11:54:20 +00:00
cli_ure
codemaker
comphelper SafeModeDialog: Allow to create zip file from profile 2016-11-03 12:19:16 +00:00
compilerplugins move loplugin:defaultparams to store/ 2016-11-04 12:28:57 +01:00
config_host ENABLE_GRAPHITE_DWRITE is always set to 1 2016-10-30 01:53:33 +00:00
configmgr
connectivity loplugin:oncevar in cui..connectivity 2016-11-07 11:00:47 +00:00
cppcanvas loplugin:unusedmethods unused return types 2016-11-03 11:37:31 +00:00
cppu
cppuhelper Improve some error reporting 2016-11-02 10:33:49 +01:00
cpputools
cui style fix for cppcheck duplicateBreak 2016-11-07 18:56:30 +00:00
dbaccess style fix for cppcheck redundantCondition 2016-11-07 18:55:52 +00:00
desktop soffice.sh: can't hurt to force system allocator for massif 2016-11-07 16:34:42 +01:00
dictionaries@23948938f7 Updated core 2016-11-07 16:49:23 +00:00
distro-configs
drawinglayer vcl: improve accounting of SVG images in graphics cache 2016-11-07 18:52:22 +00:00
dtrans style fix for cppcheck redundantCondition 2016-11-07 18:55:52 +00:00
editeng make a useful function - SvxBoxItem::CalcLineWidth 2016-11-05 20:03:57 +00:00
embeddedobj
embedserv
eventattacher
extensions Reverts a commit series that cripple windows ci. 2016-11-05 13:42:40 -05:00
external fix build of postgresql with bundled zlib 2016-11-04 16:22:23 +01:00
extras Reverts a commit series that cripple windows ci. 2016-11-05 13:42:40 -05:00
filter loplugin:oncevar in desktop..filter 2016-11-04 13:15:29 +00:00
forms update unnecessaryoverride plugin to find pure forwarding methods 2016-10-28 12:56:17 +00:00
formula loplugin:unusedmethods unused return types 2016-11-03 11:37:31 +00:00
fpicker style fixes for cppcheck noExplicitConstructor 2016-11-01 18:44:20 +00:00
framework officecfg: add .uno:SignPDF label 2016-11-07 17:28:22 +01:00
helpcompiler loplugin:oncevar in helpcompiler..reportdesign 2016-11-02 07:12:46 +00:00
helpcontent2@433c4c0477 Updated core 2016-11-07 12:20:18 +00:00
hwpfilter
i18nlangtag
i18npool upgrade to ICU 58 2016-11-02 18:42:47 +00:00
i18nutil upgrade to ICU 58 2016-11-02 18:42:47 +00:00
icon-themes add breeze icons and update fr* and pr* sheet icons 2016-11-06 23:09:44 +00:00
idl
idlc loplugin:oncevar in helpcompiler..reportdesign 2016-11-02 07:12:46 +00:00
include vcl: improve accounting of SVG images in graphics cache 2016-11-07 18:52:22 +00:00
instsetoo_native
io
ios
javaunohelper
jurt Adapt jurt staticsalhack to MACOSX 2016-11-07 08:57:33 +01:00
jvmaccess
jvmfwk Clean up javavendors_*.xml files 2016-11-01 22:28:37 +01:00
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic loplugin:oncevar in helpcompiler..reportdesign 2016-11-02 07:12:46 +00:00
lotuswordpro loplugin:singlevalfields 2016-11-02 13:06:37 +00:00
m4
mysqlc loplugin:singlevalfields 2016-11-02 13:06:37 +00:00
nlpsolver tdf#103622 do not use arrow as separator of menu commands 2016-11-06 08:55:47 +00:00
o3tl
odk
offapi vcl: improve accounting of SVG images in graphics cache 2016-11-07 18:52:22 +00:00
officecfg officecfg: add .uno:SignPDF label 2016-11-07 17:28:22 +01:00
onlineupdate
oovbaapi
oox google docs can generate a pptx with an empty cmLst 2016-11-07 17:07:49 +00:00
opencl
osx
package style fix for cppcheck redundantCondition 2016-11-07 18:55:52 +00:00
postprocess Allow including/packaging help-specific images 2016-11-04 13:42:09 +00:00
pyuno
qadevOOo
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign improve indentation 2016-11-07 14:21:04 +02:00
ridljar
rsc loplugin:unusedmethods 2016-11-04 07:13:58 +00:00
sal loplugin:unusedfields 2016-11-02 07:54:20 +00:00
salhelper
sax tdf#103544: DOCX exp.: Image loss when have a frame anchored to the same para. 2016-10-28 14:10:41 +00:00
sc officecfg: add .uno:SignPDF label 2016-11-07 17:28:22 +01:00
scaddins update unnecessaryoverride plugin to find pure forwarding methods 2016-10-28 12:56:17 +00:00
sccomp
schema
scp2
scripting loplugin:oncevar in sal..scripting 2016-11-01 12:34:51 +00:00
sd style fix for cppcheck redundantCondition 2016-11-07 18:55:52 +00:00
sdext loplugin:unnecessaryvirtual in sd..sdext 2016-11-07 13:00:53 +00:00
setup_native typo: modul -> module 2016-11-07 18:15:35 +00:00
sfx2 sfx2: introduce a new .uno:SignPDF 2016-11-07 13:46:57 +01:00
shell style fixes for cppcheck noExplicitConstructor 2016-11-01 18:44:20 +00:00
slideshow loplugin:unnecessaryvirtual in sfx2..svtools 2016-11-07 09:39:55 +00:00
smoketest
solenv Fix typos (also in the code) 2016-11-07 15:44:24 +00:00
soltools
sot
starmath tdf#102008 Drop whitespace between "fact" and brace 2016-11-05 02:00:09 +00:00
stoc coverity#1375798 Uncaught exception 2016-11-02 20:26:28 +00:00
store
svgio loplugin:oncevar in sd..svgio 2016-11-01 13:25:08 +00:00
svl use aggregate initialisation instead of memset for arrays 2016-11-04 08:19:47 +00:00
svtools loplugin:unnecessaryvirtual in sfx2..svtools 2016-11-07 09:39:55 +00:00
svx Fix typos (also in the code) 2016-11-07 15:44:24 +00:00
sw officecfg: add .uno:SignPDF label 2016-11-07 17:28:22 +01:00
swext
sysui sysui: add "translate" urls to AppData files 2016-11-01 15:49:22 +01:00
test convert std::unique_ptr<VclAbstractDialog> to VclPtr 2016-10-28 09:12:27 +02:00
testtools
toolkit Omit the default comparator 2016-11-01 04:11:44 +00:00
tools
translations@bf84e0b330
tubes
ucb loplugin:unnecessaryvirtual in test..vbahelper 2016-11-07 10:11:33 +00:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools Omit the default comparator 2016-11-01 04:11:44 +00:00
unoidl
unoil
unotest
unotools loplugin:unnecessaryvirtual in test..vbahelper 2016-11-07 10:11:33 +00:00
unoxml loplugin:oncevar in unoxml..toolkit 2016-10-31 10:31:25 +00:00
ure
uui ScopedVclPtr vs std::unique_ptr for VclAbstractDialog derivatives 2016-10-28 09:08:50 +00:00
vbahelper loplugin:unnecessaryvirtual in test..vbahelper 2016-11-07 10:11:33 +00:00
vcl vcl: improve accounting of SVG images in graphics cache 2016-11-07 18:52:22 +00:00
winaccessibility
windows
wizards Access2Base - Remove useless code in Root handling 2016-11-05 12:18:55 +01:00
writerfilter tdf#103664: FILEOPEN: DOCX: Wingdings symbols are imported as rectangles 2016-11-05 10:37:35 +00:00
writerperfect add missing dependency to gb_Library_use_externals, icu_headers 2016-11-02 20:12:26 +01:00
xmerge
xmlhelp
xmloff update loplugin:unnnecessaryvirtual to handler destructors 2016-11-04 07:15:03 +00:00
xmlreader
xmlscript
xmlsecurity Fix typos (also in the code) 2016-11-07 15:44:24 +00:00
.buckconfig
.buckversion
.editorconfig
.gitattributes
.gitignore add Codelite files to .gitignore 2016-11-01 13:02:53 +02:00
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in poppler: build against libjpeg 2016-11-02 20:04:23 +00:00
config_host_lang.mk.in
configure.ac Disable VCL_FLOAT_DEVICE_PIXEL on macOS for now 2016-11-07 07:59:49 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Upgrade libxmlsec to 1.2.23 2016-11-04 08:10:23 +00: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 fix external def for graphite 2016-11-04 16:22:23 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
TEMPLATE.SOURCECODE.HEADER
unusedcode.easy
unusedcode.exclude
unusedcode.README

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.