Test repository to check push and ssh key
Find a file
Noel Grandin e8fd5a07ec update loplugin stylepolice to check local pointers vars
are actually pointer vars.

Also convert from regex to normal code, so we can enable this
plugin all the time.

Change-Id: Ie36a25ecba61c18f99c77c77646d6459a443cbd1
Reviewed-on: https://gerrit.libreoffice.org/24391
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-26 10:55:58 +00:00
.git-hooks
accessibility clang-tidy modernize-loop-convert in a* 2016-04-21 10:12:01 +02:00
android no need for IPC on Android, removes the need for the cache-hack 2016-03-23 15:50:17 +01:00
animations Remove excess newlines 2016-02-09 08:18:05 +00:00
apple_remote apple_remote: autorelease --> release in dealloc (destructor) 2016-03-07 16:07:19 +00:00
avmedia clang-tidy modernize-loop-convert in a* 2016-04-21 10:12:01 +02:00
basctl update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
basegfx update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
basic update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
bean bean: fix the OfficeBean SDK example 2016-04-25 14:56:08 +00:00
bin don't export the same lib multiple times 2016-04-14 12:26:05 +02:00
binaryurp loplugin:passstuffbyref in various 2016-04-14 10:24:47 +02:00
bridges bridges/inc/bridges/cpp_uno/bridge.hxx appears unused 2016-04-25 20:01:33 +00:00
canvas Fix typos 2016-04-22 06:47:06 +00:00
chart2 update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
cli_ure use consistent #define checks for the Windows platform 2016-02-17 11:33:57 +00:00
codemaker clean-up: unused using declarations and includes 2016-04-18 07:25:24 +00:00
comphelper update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
compilerplugins update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
config_host Typo in HAVE_BROKEN_STATIC_INITILIZER_LIST 2016-03-31 15:47:54 +02:00
configmgr clang-tidy modernize-loop-convert in c* 2016-04-21 11:03:55 +02:00
connectivity -Werror=maybe-uninitialized 2016-04-25 17:11:22 +02:00
cppcanvas clang-tidy modernize-loop-convert in c* 2016-04-21 11:03:55 +02:00
cppu Cannot extract Any to sal_uInt32 2016-04-25 16:31:07 +02:00
cppuhelper clang-tidy modernize-loop-convert in c* 2016-04-21 11:03:55 +02:00
cpputools tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals 2016-03-11 14:01:07 +00:00
cui update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
dbaccess update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
desktop update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
dictionaries@de93f4fc07 Updated core 2016-04-07 07:33:58 +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 update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
dtrans clean-up: unused using declarations and includes 2016-04-18 07:25:24 +00:00
editeng update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
embeddedobj loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:25:40 +02:00
embedserv Fix typos 2016-04-21 20:36:29 +00:00
eventattacher loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:25:40 +02:00
extensions update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
external pass original flags 2016-04-22 15:58:24 +02:00
extras update emoji autocorrect files from po-files 2016-04-21 13:47:57 +02:00
filter update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
forms tdf#60418: improve perf of opening/closing odts with form tags 2016-04-26 09:40:56 +00:00
formula update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
fpicker loplugin:passstuffbyref 2016-04-22 09:31:06 +02:00
framework loplugin:salbool 2016-04-22 09:30:37 +02:00
helpcompiler update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
helpcontent2@fa9de2c321 Updated core 2016-04-26 00:51:37 +00:00
hwpfilter update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
i18nlangtag add English (Mauritius) [en-MU] and French (Mauritius) [fr-MU], tdf#99372 2016-04-25 14:51:46 +02:00
i18npool unit test for tdf#99468 2016-04-24 16:42:39 +02:00
i18nutil use SAL_N_ELEMENTS more widely 2016-03-31 11:30:36 +02:00
icon-themes tdf#84258 Link icons and use new commands in menu/toolbars 2016-04-13 02:19:26 +03:00
idl loplugin:constantparam in idl 2016-03-23 10:19:43 +02:00
idlc loplugin:passstuffbyref in various 2016-04-14 10:24:47 +02:00
include tdf#62525 vcl: use cow_wrapper for font 2016-04-25 17:46:10 +00:00
instsetoo_native User-Agent: disable reporting of languages. 2016-03-11 15:16:56 +00:00
io new plugin stylepolice 2016-04-21 08:32:47 +02:00
ios remove that unused old code 2016-04-12 18:36:44 +02:00
javaunohelper javaunohelper: fix all javadoc warnings 2016-02-17 11:28:13 +01:00
jurt Unused private fields 2016-03-23 08:34:05 +01:00
jvmaccess loplugin:passstuffbyref in jvmaccess 2016-04-13 13:27:52 +02:00
jvmfwk update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
l10ntools update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
librelogo
libreofficekit In lok_init_2, allow vnd.sun.star.pathname user_profile_url 2016-04-19 13:53:48 +00:00
lingucomponent update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
linguistic loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:25:44 +02:00
lotuswordpro update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
m4 detect Boost.Filesystem 2016-03-08 06:24:27 +01:00
mysqlc update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
nlpsolver coverity#1326449 Dereference null return value 2016-01-21 15:15:52 +00:00
o3tl Remove excess newlines 2016-02-09 08:18:05 +00:00
odk Fix typos 2016-04-21 20:36:29 +00:00
offapi XListBox: Add more hints about return values 2016-04-21 06:44:43 +00:00
officecfg Better label for "Test Mode On/Off": "Preview Dialog" 2016-04-26 08:29:50 +00:00
onlineupdate onlineupdate: revert SAL_N_ELEMENTS changes 2016-03-31 15:09:23 +02:00
oovbaapi
oox update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
opencl update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
osx vcl: cmdevt.[hc]xx -> commandevent.[hc]xx 2016-02-08 21:41:17 +00:00
package Fix typos 2016-04-21 20:36:29 +00:00
postprocess avmediaogl now seems to require ENABLE_GLTF for some reason 2016-03-28 11:20:52 +03:00
pyuno update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
qadevOOo remove the office close timeout in subsequentcheck 2016-03-15 08:49:28 +02:00
readlicense_oo Fix typos in license files 2016-04-26 08:22:49 +00:00
registry loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:25:46 +02:00
remotebridges Remove excess newlines 2016-02-09 08:18:05 +00:00
reportbuilder Fix typos 2016-02-05 06:48:38 +00:00
reportdesign Some more sal_Bool -> bool 2016-04-25 16:41:50 +02:00
ridljar ridljar: fix javadoc warnings 2016-02-17 11:55:07 +01:00
rsc loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:25:47 +02:00
sal update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
salhelper loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:25:48 +02:00
sax loplugin:salbool: sal_Bool[] -> bool[] 2016-04-21 17:29:40 +02:00
sc update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
scaddins Avoid reserved identifiers 2016-04-12 20:03:43 +02:00
sccomp
scp2 Fix typos 2016-04-22 06:47:06 +00:00
scripting Don't use SolarMutexGuard for returning a constant 2016-04-24 21:20:36 +00:00
sd update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
sdext update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
setup_native use SAL_N_ELEMENTS more widely 2016-03-31 11:30:36 +02:00
sfx2 update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
shell loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:27:24 +02:00
slideshow update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
smoketest loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:27:25 +02:00
solenv gengal is not s script anymore so it is already signed on mac 2016-04-22 18:02:08 +00:00
soltools Drop redundant parenthesis. 2016-04-10 20:40:32 +01:00
sot update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
starmath update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
stoc update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
store tdf#94306 replace boost::noncopyable in stoc to xmlsec.. 2016-04-13 11:19:04 +00:00
svgio new plugin stylepolice 2016-04-21 08:32:47 +02:00
svl SfxUndoAction::dumpAsXml: show address of undo items 2016-04-22 10:50:17 +00:00
svtools update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
svx update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
sw update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
swext remove some unused Java code 2016-03-14 13:44:39 +02:00
sysui tdf#99251 Update AppArmor Profiles 2016-04-14 12:30:37 +00:00
test Some more sal_Bool -> bool 2016-04-25 16:42:40 +02:00
testtools Use Sequence ctor taking initializer_list 2016-04-21 17:27:43 +02:00
toolkit Some more sal_Bool -> bool 2016-04-25 16:42:48 +02:00
tools update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
translations@0732bbfc53 Updated core 2016-04-21 11:40:31 +00:00
tubes tdf#97966 redundant static keywords removed 6 2016-03-11 08:38:11 +00:00
ucb Some more sal_Bool -> bool 2016-04-25 16:42:55 +02:00
ucbhelper loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:27:29 +02:00
udkapi udkapi: fix doxygen warnings 2016-02-09 17:05:21 +01:00
UnoControls Fix typos 2016-04-22 06:47:06 +00:00
unodevtools loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:27:29 +02:00
unoidl loplugin:constantparam in registry 2016-03-17 11:21:59 +00:00
unoil Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
unotest tdf#94306 replace boost::noncopyable in stoc to xmlsec.. 2016-04-13 11:19:04 +00:00
unotools tdf#81833: form protection can be modified as compatibility option 2016-04-22 13:18:40 +00:00
unoxml loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:27:30 +02:00
ure Don't put symlink to MacOS folder of sandboxed app 2016-03-04 13:34:48 +01:00
uui Avoid reserved identifier 2016-04-22 10:12:02 +02:00
vbahelper update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
vcl update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
winaccessibility -Werror,-Wshadow 2016-03-04 17:01:45 +01:00
windows Add a README to avoid unrealistic expectations 2016-03-13 09:06:20 +02:00
wizards Access2Base - add Picture property to Control object 2016-03-28 13:10:34 +02:00
writerfilter update loplugin stylepolice to check local pointers vars 2016-04-26 10:55:58 +00:00
writerperfect loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:27:31 +02:00
xmerge remove some unused Java code 2016-03-14 13:44:39 +02:00
xmlhelp clang-tidy performance-unnecessary-copy-initialization 2016-04-18 07:37:31 +00:00
xmloff tdf#98163 Flush ressources at CustomShapes during import 2016-04-26 10:34:04 +00:00
xmlreader cleanup: remove unused Reference.h(xx) includes 2016-04-02 19:01:24 +00:00
xmlscript loplugin:salbool: Automatic rewrite of sal_False/True 2016-04-20 17:27:32 +02:00
xmlsecurity Avoid reserved identifier 2016-04-22 10:21:59 +02:00
.buckconfig Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
.buckversion Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
.gitattributes
.gitignore Ignore lo.png output from make dump-deps-png 2016-04-09 21:22:19 +02:00
.gitmodules
.gitreview
autogen.sh lode: make sure LODE_HOME/opt/bin is in the PATH for aclocal 2015-12-31 00:09:57 +00:00
BUCK Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
config.guess Fix typos 2016-01-07 12:29:04 +00:00
config.sub
config_host.mk.in detect Boost.Filesystem 2016-03-08 06:24:27 +01:00
config_host_lang.mk.in
configure.ac bump product version to 5.2.0.0.alpha1+ 2016-04-21 14:10:58 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upgrade harfbuzz version from 0.9.40 to 1.2.6 2016-04-24 21:29:58 +00:00
g g: fix var in checkout 2016-01-08 12:13:02 +00:00
install-sh
leak-suppress.txt ignore a few low level libc leaks for now 2016-03-12 17:20:16 +01:00
Library_merged.mk Add i18nlangtag and ucbhelper to libmerged 2015-11-28 08:04:14 +01:00
lo.xcent.in We don't build the Apple Remote code when sandboxed 2016-03-04 11:27:44 +01:00
logerrit
Makefile.fetch Revert "Add --with-prebuilt-openssl" 2016-03-09 12:32:31 +02:00
Makefile.gbuild
Makefile.in 149 2016-04-14 09:01:48 +03:00
README.cross Drop the Windows information, nobody has done that for years 2015-12-17 21:23:24 +02:00
README.md drop basebmp entirely now 2016-01-20 09:43:28 +00:00
README.Solaris
Repository.mk don't build/install minidump_upload with ENABLE_BREAKPAD= 2016-03-28 22:40:32 +02:00
RepositoryExternal.mk Move clew/clew.h into external, too 2016-04-12 20:54:28 +00:00
RepositoryFixes.mk
RepositoryModule_build.mk drop basebmp entirely now 2016-01-20 09:43:28 +00:00
RepositoryModule_host.mk clew: move this foreign code to external/clew 2016-03-21 21:15:44 +00:00
sanitize-ubsan-blacklist
TEMPLATE.SOURCECODE.HEADER
unusedcode.easy Remove unnecessary typedef (that introduced a reserved identifier) 2016-03-10 18:32:08 +01:00
unusedcode.exclude unused SalGraphics::drawTransformedBitmap( 2016-01-06 11:20:29 +00:00
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.