Test repository to check push and ssh key
Find a file
Samuel Mehrbrodt 50f3cfc1fa git pre-commit hook: Also check swift files
Change-Id: I60c7ccd06b104c6a6ae5e7985fe8c3215f7e97d4
Reviewed-on: https://gerrit.libreoffice.org/35624
Reviewed-by: jan iversen <jani@libreoffice.org>
Tested-by: jan iversen <jani@libreoffice.org>
2017-03-24 09:41:54 +00:00
.git-hooks git pre-commit hook: Also check swift files 2017-03-24 09:41:54 +00:00
accessibility loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
android tdf#106317 bottom tabbar, grow/shrink font, insert line,rect 2017-03-19 23:21:28 +01:00
animations
apple_remote
avmedia remove unused defines from HRC files in various 2017-03-17 10:43:34 +00:00
basctl remove unused helpid in SfxShell 2017-03-23 10:51:13 +00:00
basegfx Only need an OStringBuffer in number2PolyPolygon 2017-03-21 08:54:05 +01:00
basic Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
bean
bin Add script to list dispatch commands 2017-03-21 10:53:07 +00:00
binaryurp
bridges loplugin:redundantcast 2017-03-23 19:29:04 +01:00
canvas Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
chart2 UNO objects should never hold a VclPtr they dont own on heap ... 2017-03-24 00:09:56 +00:00
cli_ure tdf#94265: Correct the error 2017-03-22 11:20:24 +01:00
codemaker
comphelper loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
compilerplugins loplugin:unusedfields 2017-03-24 08:57:01 +00:00
config_host
configmgr cleanup double includes and declarations 2017-03-17 11:01:26 +00:00
connectivity loplugin:redundantcast 2017-03-23 20:00:15 +01:00
cppcanvas
cppu
cppuhelper loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
cpputools
cui loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
dbaccess convert ViewShellId to o3tl::strong_int 2017-03-24 06:14:17 +00:00
desktop vcl: clean up ANDROID ifdefs in pdfwriter_impl 2017-03-24 08:12:52 +00:00
dictionaries@d759f48f50
distro-configs
drawinglayer loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
dtrans
editeng convert ViewShellId to o3tl::strong_int 2017-03-24 06:14:17 +00:00
embeddedobj Typo: BimapPainter->BitmapPainter 2017-03-18 18:22:32 +00:00
embedserv tdf#96505 - Get rid of cargo cult long integer literals 2017-03-21 14:12:00 +00:00
eventattacher
extensions Resolves: tdf#106461 use a row height of max of edit and listbox height 2017-03-23 16:07:30 +00:00
external Fix building external/firebird with arbitrary locales 2017-03-22 14:41:44 +01:00
extras [pt_PT] Added 11 new words to autocorrect. 2017-03-24 05:54:16 +00:00
filter Change SvxMSDffManager::ImportOLE nOLEId parameter from long to sal_uInt32 2017-03-23 19:57:22 +01:00
forms Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
formula remove unused defines from HRC files in various 2017-03-17 10:43:34 +00:00
fpicker loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
framework convert ViewShellId to o3tl::strong_int 2017-03-24 06:14:17 +00:00
helpcompiler Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
helpcontent2@b67d9744ba Updated core 2017-03-23 05:54:15 +00:00
hwpfilter Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
i18nlangtag scp2: Removed unused Directory items 2017-03-19 20:09:39 +01:00
i18npool
i18nutil Use rtl::isAscii* instead of ctype.h is* with sal_Unicode arg 2017-03-22 21:39:28 +01:00
icon-themes fix annotation icon 2017-03-24 06:00:11 +00:00
idl Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
idlc Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
include loplugin:unusedfields 2017-03-24 08:57:01 +00:00
instsetoo_native These files are called unorc on all platforms 2017-03-20 17:03:15 +00:00
io loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
ios iOS LibreOfficeLight Document as root 2017-03-22 18:29:50 +00:00
javaunohelper
jurt Fix typos 2017-03-16 10:50:26 +00:00
jvmaccess
jvmfwk Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
l10ntools remove unused defines from HRC files in misc(2) 2017-03-20 06:54:49 +00:00
librelogo
libreofficekit lok: Fix crash in paintPartTile() when the current view was destroyed. 2017-03-21 10:51:58 +00:00
lingucomponent Prevent calls to rtl/character.hxx functions with (signed) char arguments 2017-03-22 09:00:57 +00:00
linguistic loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
lotuswordpro loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
m4
mysqlc
nlpsolver
o3tl
odk Typos 2017-03-19 18:50:33 +00:00
offapi Typos 2017-03-19 18:50:33 +00:00
officecfg add icon for tab notebook toolbar .uno:actions 2017-03-23 07:08:48 +00:00
onlineupdate
oovbaapi
oox loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
opencl
osx
package
postprocess gpg4libre: No need to create separate idl files for gpg services 2017-03-16 16:57:52 +00:00
pyuno loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
qadevOOo Typos 2017-03-19 19:24:52 +00:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign convert ViewShellId to o3tl::strong_int 2017-03-24 06:14:17 +00:00
ridljar
rsc Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
sal Handle "POSIX" in parse_locale, 2nd attempt 2017-03-24 09:06:15 +01:00
salhelper salhelper: change oslCondition to osl::Condition 2017-03-18 08:24:25 +00:00
sax
sc tdf#86119 Fix toggle behaviour of SID_NUMBER_TWODEC. 2017-03-24 10:57:44 +03:00
scaddins loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
sccomp
schema Fix typos 2017-03-19 05:49:15 +00:00
scp2 scp2: Removed unused Directory items 2017-03-19 20:09:39 +01:00
scripting Fix typos + some German translations 2017-03-19 10:05:45 +00:00
sd convert ViewShellId to o3tl::strong_int 2017-03-24 06:14:17 +00:00
sdext Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
setup_native
sfx2 convert ViewShellId to o3tl::strong_int 2017-03-24 06:14:17 +00:00
shell Use rtl::toAsciiLowerCase 2017-03-23 15:28:11 +01:00
slideshow convert UpdateFlags to scoped enum 2017-03-23 10:29:17 +00:00
smoketest
solenv Fix passing plain char into ctype.h is* functions 2017-03-22 21:56:57 +01:00
soltools Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
sot tdf#96505 Get rid of cargo cult long integer literals 2017-03-21 12:31:30 +00:00
starmath starmath: Fix memory leak at double sub/superscripts 2017-03-23 13:42:53 +00:00
stoc loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
store
svgio
svl convert ViewShellId to o3tl::strong_int 2017-03-24 06:14:17 +00:00
svtools Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
svx convert ViewShellId to o3tl::strong_int 2017-03-24 06:14:17 +00:00
sw tdf#90856 Hide "Format Area" command for line objects in Writer 2017-03-24 10:57:44 +03:00
swext
sysui Fix typos 2017-03-19 05:49:15 +00:00
test Fix typos + some German translations 2017-03-19 10:05:45 +00:00
testtools
toolkit loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
tools Remove unused #include <ctype.h> 2017-03-23 17:55:31 +01:00
translations@fea957b43e Updated core 2017-03-16 13:59:52 +00:00
tubes
ucb loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
ucbhelper
udkapi
uitest uitest: add method to get the column object from a spreadsheet doc 2017-03-18 04:52:35 +01:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui remove unused defines from HRC files in misc(2) 2017-03-20 06:54:49 +00:00
vbahelper loplugin:redundantcast find redundant c-style enum casts 2017-03-22 06:47:35 +00:00
vcl loplugin:unusedfields 2017-03-24 08:57:01 +00:00
winaccessibility
wizards Fix typos + some German translations 2017-03-19 10:05:45 +00:00
writerfilter loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
writerperfect fix and enable test 2017-03-21 10:25:38 +01:00
xmerge
xmlhelp
xmloff loplugins:redundantcast teach it about c-style typedef casts 2017-03-23 09:48:10 +00:00
xmlreader
xmlscript
xmlsecurity loplugin:unusedfields 2017-03-24 08:57:01 +00: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 configure: remove hack to add quotes to $DEVENV again 2017-03-23 14:48:03 +00:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst download.lst: remove orphan JPEG_SHA256SUM 2017-03-20 17:28:50 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in ppt fuzzer is good enough to get started 2017-03-16 10:42:28 +00:00
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk
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.