Test repository to check push and ssh key
Find a file
Caolán McNamara 1ffa92cfe3 coverity#1326333 Unguarded write
Change-Id: I94026a7b66a0cac01a1e42d8eee0ec7b4d5fc513
2016-03-04 11:24:27 +00:00
.git-hooks
accessibility
android
animations
apple_remote
avmedia -Werror,-Wunused-macros 2016-03-04 10:11:12 +01:00
basctl tdf#96505 Remove long integer literal specifier when not needed 2016-03-04 06:40:33 +00:00
basegfx loplugin:unuseddefaultparams various 2016-03-03 11:39:56 +00:00
basic loplugin:unuseddefaultparams in basic 2016-03-03 08:11:02 +02:00
bean coverity#1326333 Unguarded write 2016-03-04 11:24:27 +00:00
bin Exclude xmlsec headers from precompiled headers 2016-03-01 15:03:57 +00:00
binaryurp
bridges -Werror,-Wshadow 2016-03-04 08:50:11 +01:00
canvas loplugin:unuseddefaultparams various 2016-03-03 11:39:56 +00:00
chart2 loplugin:unuseddefaultparams in chart2 2016-03-02 07:57:38 +02:00
clew -Werror,-Wunused-macros 2016-03-04 10:11:08 +01:00
cli_ure
codemaker loplugin:unuseddefaultparams various 2016-03-03 11:39:56 +00:00
comphelper loplugin:unuseddefaultparams comphelper 2016-03-03 12:06:57 +00:00
compilerplugins loplugin:unuseddefaultparam in tools 2016-03-04 11:20:09 +00:00
config_host These version checks are about the Clang the plugins are built /against/ 2016-02-26 14:34:29 +01:00
configmgr
connectivity -Werror,-Wshadow 2016-03-04 10:11:12 +01:00
cppcanvas tdf#95709 adapt clip polygon for transparence groups 2016-02-28 10:11:16 +00:00
cppu WaE 0xdeadbeaf 32 bits litteral casting to 64 bits pointer 2016-02-22 02:32:13 +00:00
cppuhelper Use an XInitialization-based channel to request service mgr pre-init 2016-02-26 12:37:04 +00:00
cpputools
cui loplugin:unuseddefaultparam in svx 2016-03-04 11:48:04 +02:00
dbaccess loplugin:unuseddefaultparams in dbaccess 2016-03-03 08:11:02 +02:00
desktop tdf#92191: Don't use any IPC pipe in a sandboxed OS X app 2016-03-04 11:17:55 +01:00
dictionaries@e26e5fc152 Updated core 2016-02-26 09:26:38 +00:00
distro-configs play it safe and don't add breakpad to distro config yet 2016-02-22 21:10:01 +01:00
drawinglayer Fix missing iterator include on MSVC 14.0 2016-02-17 23:43:45 +00:00
dtrans -Werror,-Wnon-virtual-dtor 2016-03-04 10:11:18 +01:00
editeng editeng: fix -Werror=unused-but-set-variable 2016-03-03 09:44:47 +01:00
embeddedobj
embedserv Silence -Werror,-Wnon-virtual-dtor in external includes 2016-03-04 10:11:13 +01:00
eventattacher
extensions Silence -Werror,-Wnon-virtual-dtor in external includes 2016-03-04 10:11:13 +01:00
external external/redland: -Werror,-Wundef (__GNUC__ vs. clang-cl) 2016-03-04 10:11:16 +01:00
extras update emoji autocorrect files from po-files 2016-02-24 21:48:59 +01:00
filter loplugin:unuseddefaultparams in filter 2016-03-03 11:15:52 +02:00
forms loplugin:unuseddefaultparam in forms 2016-03-02 07:57:38 +02:00
formula tdf#94635 Add FORECAST.ETS functions to Calc 2016-03-03 16:28:59 +00:00
fpicker -Werror,-Wnon-virtual-dtor 2016-03-04 10:11:17 +01:00
framework extra menubar displayed after exiting embedded object edit 2016-03-02 16:50:07 +00:00
helpcompiler convert HighlighterLanguage to scoped enum 2016-02-24 11:48:39 +02:00
helpcontent2@17ec8364ff Updated core 2016-03-02 21:12:53 +00:00
hwpfilter -Werror,-Wundef 2016-03-04 10:11:07 +01:00
i18nlangtag loplugin:unuseddefaultparams various 2016-03-03 11:39:56 +00:00
i18npool SearchFlags::WILD_MATCH_SELECTION, SearchOptions2::WildcardEscapeCharacter 2016-02-23 23:25:15 +01:00
i18nutil
icon-themes tdf#97388 Better icon for deleting custom field row 2016-02-29 12:28:21 +01:00
idl methods in .SDI files don't use attributes 2016-02-23 10:07:10 +02:00
idlc
include This is test code, OK to unconditionally print to stdout 2016-03-04 12:21:03 +01:00
instsetoo_native
io
ios
javaunohelper
jurt cid#1326391: Dereference null return value 2016-02-24 11:33:50 +01:00
jvmaccess
jvmfwk
l10ntools various loplugin warnings 2016-03-03 09:43:06 +01:00
librelogo
libreofficekit gtktiledviewer: log .uno:ViewRowColumnHeaders command result 2016-03-01 12:20:16 +01:00
lingucomponent
linguistic tdf#97179: do not suggest 1-letter custom dictionary words 2016-02-18 20:20:20 +00:00
lotuswordpro loplugin:unuseddefaultparam in lotuswordpro 2016-03-02 07:57:37 +02:00
m4
mysqlc loplugin:unuseddefaultparams in mysqlc 2016-03-03 08:13:14 +02:00
nlpsolver
o3tl
odk cid#1326844: DP: Use doPrivileged 2016-02-24 15:08:51 +01:00
offapi unpublish SearchAlgorithms2 SearchOptions2 TextSearch2 XTextSearch2 2016-02-26 15:25:45 +01:00
officecfg sc: add classification toolbar 2016-03-03 13:40:14 +01:00
onlineupdate
oovbaapi
oox loplugin:unuseddefaultparams in oox 2016-03-03 08:11:02 +02:00
opencl
osx
package Use passed-in context instead of comphelper::getProcessComponentContext() 2016-02-23 17:05:18 +01:00
postprocess
pyuno put python starter shell script to Resources folder of OS X app 2016-03-03 14:11:00 +00:00
qadevOOo coverity#1327140 UrF: Unread field 2016-03-01 15:50:53 +00:00
readlicense_oo update credits 2016-02-29 21:35:53 +01:00
registry Skip some executables in the OS X sandboxed (Mac App Store) case 2016-03-04 11:17:55 +01:00
remotebridges
reportbuilder
reportdesign loplugin:unuseddefaultparams in formula 2016-03-03 11:15:52 +02:00
ridljar
rsc -Werror,-Wunused-macros 2016-03-04 10:11:12 +01:00
sal This is test code, OK to unconditionally print to stdout 2016-03-04 12:21:03 +01:00
salhelper
sax tdf#96505 Remove long integer literal specifier when not needed 2016-03-04 06:40:33 +00:00
sc tdf#98083: Always save cell format 2016-03-04 11:16:46 +00:00
scaddins loplugin:unuseddefaultparam in scaddins 2016-03-02 07:57:37 +02:00
sccomp
scp2 shell, scp2: clean up empty script packages 2016-03-02 17:29:59 +01:00
scripting coverity#1354272 SS: Unread field should be static 2016-02-25 20:29:20 +00:00
sd sw, sd: indentation fixes 2016-03-04 11:48:48 +01:00
sdext Silence -Werror,-Wundef in external/poppler includes (clang-cl) 2016-03-04 10:11:13 +01:00
setup_native scp2: move scp2 classification package to AutoInstall 2016-02-29 13:56:13 +01:00
sfx2 loplugin:unuseddefaultparam in sfx2 2016-03-04 11:48:04 +02:00
shell shell, scp2: clean up empty script packages 2016-03-02 17:29:59 +01:00
slideshow tdf#98175 fix Impress crash 2016-03-02 16:39:13 +02:00
smoketest
solenv MSVC 14.0: Fix building 64bit libraries in 32bit mode 2016-02-27 21:21:49 +00:00
soltools -Werror,-Wundef 2016-03-04 08:54:46 +01:00
sot loplugin:unuseddefaultparam in sot 2016-03-01 12:48:51 +02:00
starmath tdf#96505 Remove long integer literal specifier when not needed 2016-03-04 06:40:33 +00:00
stoc coverity#1353440 Argument cannot be negative 2016-02-20 20:19:02 +00:00
store loplugin:unuseddefaultparam in store 2016-03-01 12:48:49 +02:00
svgio SVGIO: Check height and width of polypolygoncolor 2016-03-03 23:35:11 +00:00
svl loplugin:unuseddefaultparam in svl 2016-03-01 11:20:24 +02:00
svtools loplugin:unuseddefaultparam in svtools 2016-03-04 11:48:04 +02:00
svx loplugin:unuseddefaultparam in svx 2016-03-04 11:48:04 +02:00
sw sw, sd: indentation fixes 2016-03-04 11:48:48 +01:00
swext setListenerState does nothing 2016-03-02 11:41:40 +00:00
sysui Just use xdg-open 2016-03-02 16:19:27 +00:00
test SVGIO: Check height and width of polypolygoncolor 2016-03-03 23:35:11 +00:00
testtools
toolkit new loplugin: commaoperator 2016-02-23 08:08:56 +02:00
tools loplugin:unuseddefaultparam in tools 2016-03-04 11:20:09 +00:00
translations@4e3651a5d0 Updated core 2016-02-29 18:11:05 +00:00
tubes cosmetic: * in first line confuse mkdocs.sh 2016-02-23 00:59:28 -06:00
ucb loplugin:stringconstant 2016-03-03 15:56:21 +01:00
ucbhelper new loplugin: commaoperator 2016-02-23 08:08:56 +02:00
udkapi
UnoControls new loplugin: commaoperator 2016-02-23 08:08:56 +02:00
unodevtools convert codemaker::UnoType::Sort to scoped enum 2016-02-24 11:48:38 +02:00
unoidl
unoil
unotest
unotools unotools: handle classification path in SvtDefaultOptions 2016-03-02 17:26:39 +01:00
unoxml loplugin:unuseddefaultparam in unotools 2016-02-29 08:04:06 +02:00
ure
uui
vbahelper loplugin:unuseddefaultparam in include/vbahelper 2016-02-26 13:21:20 +02:00
vcl -Werror,-Wunused-macros 2016-03-04 10:11:11 +01:00
winaccessibility Silence -Werror,-Wnon-virtual-dtor in generated UAccCOM.h (clang-cl) 2016-03-04 10:11:14 +01:00
windows
wizards coverity#1326385 Dereference null return value 2016-03-01 10:53:55 +00:00
writerfilter writerfilter: prefix members of RTFTokenizer 2016-03-04 08:39:57 +01:00
writerperfect MS Write conversion should default to CP1252 2016-03-01 08:31:39 +00:00
xmerge coverity#1326444 Dereference null return value 2016-03-01 10:22:08 +00:00
xmlhelp new loplugin: commaoperator 2016-02-23 08:08:56 +02:00
xmloff loplugin:unuseddefaultparams in vcl and xmloff 2016-03-04 06:13:25 +00:00
xmlreader
xmlscript new loplugin:unuseddefaultparams 2016-02-25 11:42:35 +02:00
xmlsecurity CppunitTest_xmlsecurity_signing: add signature append testcase 2016-03-04 11:48:48 +01:00
.buckconfig
.buckversion
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in New COMPILER_PLUGINS_CXX to specify compiler to build Clang plugins with 2016-02-26 14:34:31 +01:00
config_host_lang.mk.in
configure.ac Fix java home detection on gentoo 2016-03-03 13:26:43 +00:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upload libpagemaker 0.0.3 2016-03-04 03:16:41 +00:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in We don't build the Apple Remote code when sandboxed 2016-03-04 11:27:44 +01:00
logerrit
Makefile.fetch include breakpad into the build 2016-02-22 18:20:13 +00:00
Makefile.gbuild
Makefile.in create empty .lproj directories for languages supported by OS X 2016-03-04 11:29:50 +01:00
README.cross
README.md
README.Solaris
Repository.mk Skip some executables in the OS X sandboxed (Mac App Store) case 2016-03-04 11:17:55 +01:00
RepositoryExternal.mk RepositoryExternal.mk: ENABLE_HEADLESS needs cairo too 2016-02-29 21:36:29 +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

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.