Test repository to check push and ssh key
Find a file
Tor Lillqvist cd4dd4f7c4 Two more functions that are private to vcl and not even VCL_DLLPUBLIC
... and thus don't need to be declared in a public include file.

Change-Id: Ia59040d3ef3ebf73b2372531bef086b0847911ce
2017-11-14 12:54:38 +02:00
.git-hooks First look for clang-format in CLANG_FORMT env var 2017-11-13 11:59:08 +01:00
accessibility Fix typos 2017-11-13 08:43:17 +01:00
android
animations Replace lists by vectors in animation parts (sd/animations) 2017-11-04 17:54:28 +01:00
apple_remote
avmedia loplugin:unusedmethods 2017-11-10 12:56:14 +01:00
basctl Translate German debug strings 2017-11-14 08:24:32 +01:00
basegfx loplugin:unusedmethods 2017-11-10 12:56:14 +01:00
basic Fix typos 2017-11-13 08:43:17 +01:00
bean
bin
binaryurp
bridges Fix ASan "alloc-dealloc-mismatch (operator new [] vs operator delete)" 2017-11-14 11:44:12 +01:00
canvas Fix typos 2017-11-14 10:42:08 +01:00
chart2 Fix typos 2017-11-14 10:42:08 +01:00
cli_ure
codemaker loplugin:constantparam in c* 2017-11-01 07:13:02 +01:00
comphelper Fix typos 2017-11-13 08:43:17 +01:00
compilerplugins loplugin:flatten loosen condition 2017-11-14 06:43:21 +01:00
config_host Drop HAVE_GCC_ATTRIBUTE_WARN_UNUSED_STL 2017-11-08 15:15:54 +01:00
configmgr Replace lists by vectors in configmgr/unotools 2017-11-05 15:25:45 +01:00
connectivity Translate German debug strings 2017-11-14 08:24:32 +01:00
cppcanvas loplugin:constparams in cppcanvas,drawinglayer 2017-11-06 10:09:17 +01:00
cppu
cppuhelper
cpputools
cui Fix typos 2017-11-13 08:43:17 +01:00
dbaccess survive building dbaccess+connectivity with --disable-dynamic-loading 2017-11-13 13:09:41 +01:00
desktop Fix typos 2017-11-13 08:43:17 +01:00
dictionaries@56684558fb Revert erroneous change of dictionaries 2017-11-13 09:05:22 +01:00
distro-configs
drawinglayer tdf#113758 EMF+ Add mapping of clipped region to the world space. 2017-11-14 08:05:23 +01:00
dtrans
editeng ofz#4202 Null-dereference READ 2017-11-13 21:27:24 +01:00
embeddedobj
embedserv Remove unnecessary state checks and the variables 2017-11-07 07:38:07 +01:00
emfio ofz: further limit exttextout to record size is smaller than stream size 2017-11-14 09:50:29 +01:00
eventattacher
extensions More proper construction of vnd.sun.star.pkg URL 2017-11-13 18:23:43 +01:00
external Resurrect still relevant part of external/harfbuzz/ubsan.patch 2017-11-13 19:03:18 +01:00
extras Language and country tags removed from temple 2017-11-09 21:54:11 +01:00
filter Fix typos 2017-11-13 08:43:17 +01:00
forms loplugin:finalclasses in forms 2017-11-02 10:56:53 +01:00
formula loplugin:finalclasses in forms 2017-11-02 10:56:53 +01:00
fpicker loplugin:constparams in various(2) 2017-11-06 07:13:42 +01:00
framework Fix typos 2017-11-13 21:36:23 +01:00
helpcompiler
helpcontent2@ac105fe860 Updated core 2017-11-13 18:55:30 +01:00
hwpfilter loplugin:constparams in various(2) 2017-11-06 07:13:42 +01:00
i18nlangtag clang-tidy modernize-use-equals-default LanguageTag 2017-11-10 07:48:10 +01:00
i18npool loplugin:constparams in various(2) 2017-11-06 07:13:42 +01:00
i18nutil Remove duplication of Paper enum as #defines 2017-11-11 02:06:16 +01:00
icon-themes Elementary: update icon pack 2017-11-10 21:54:35 +01:00
idl
idlc improve constparam loplugin 2017-11-02 10:45:01 +01:00
include Two more functions that are private to vcl and not even VCL_DLLPUBLIC 2017-11-14 12:54:38 +02:00
instsetoo_native
io
ios iOS, updated link flags 2017-11-12 12:59:29 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk loplugin:flatten loosen condition 2017-11-14 06:43:21 +01:00
l10ntools loplugin:finalclasses in h*,i*,j* 2017-11-01 13:30:59 +01:00
librelogo tdf#113592 LibreLogo: add fallback localization to fix platform issues 2017-11-05 22:17:28 +01:00
libreofficekit lokdialog: Move getting dialog information in separate LOK call 2017-11-09 04:14:38 +01:00
lingucomponent Replace lists by vectors in lingucomponent 2017-11-01 20:37:54 +01:00
linguistic loplugin:constparams in various(1) 2017-11-04 07:50:01 +01:00
lotuswordpro Fix typos 2017-11-13 08:43:17 +01:00
m4
mysqlc loplugin:finalclasses in mysqlc 2017-11-01 07:15:50 +01:00
nlpsolver
o3tl
odk odk: fix broken link to the Developer's Guide 2017-11-13 21:45:05 +01:00
offapi Fix typos 2017-11-13 08:43:17 +01:00
officecfg tdf#95635 use different font size keyboard shortcuts 2017-11-10 16:25:04 +01:00
onlineupdate
oovbaapi Fix typos 2017-11-13 08:43:17 +01:00
oox loplugin:unnecessaryvirtual 2017-11-09 07:27:39 +01:00
opencl Extract XmlWriter and XmlWalker from opencl into tools 2017-11-01 23:42:02 +01:00
osx
package loplugin:constparams in various(1) 2017-11-04 07:50:01 +01:00
postprocess msc-externals: don't attempt to chmod nonexisting files 2017-10-31 15:41:38 +01:00
pyuno Replace only list by vector in pyuno 2017-11-04 16:25:35 +01:00
qadevOOo tdf#45904 Move _XLabelRange Java tests to C++ 2017-11-13 19:43:59 +01:00
readlicense_oo update credits 2017-11-03 00:34:46 +01:00
registry improve constparam loplugin 2017-11-02 10:45:01 +01:00
remotebridges
reportbuilder
reportdesign Resolves: tdf#113695 crash in color picker after parent is closed 2017-11-09 21:32:33 +01:00
ridljar
sal Fix typos 2017-11-13 21:36:23 +01:00
salhelper
sax Fix typos 2017-11-13 08:46:08 +01:00
sc ofz#4202 Null-dereference READ 2017-11-13 21:27:24 +01:00
scaddins Translate German function names in Calc (financial) 2017-11-05 17:34:32 +01:00
sccomp
schema
scp2 QT5 rename from KF5 2017-11-06 12:05:32 +01:00
scripting Fix typos 2017-11-13 08:43:17 +01:00
sd Let's have activex control test also a slowcheck test 2017-11-13 11:53:38 +01:00
sdext sdext: document 2 different canvases 2017-11-10 23:53:15 +01:00
setup_native
sfx2 Fix typos 2017-11-13 08:43:17 +01:00
shell Fix typos 2017-11-13 08:43:17 +01:00
slideshow slideshow: clip shapes in secondary screen window 2017-11-10 23:53:15 +01:00
smoketest
solenv clang-format: standardize on 5.0.0 2017-11-13 10:43:39 +01:00
soltools
sot SotClipboardFormatId::STRING_TSVC "Unformatted text [TSV-Calc]", tdf#113571 2017-11-13 12:58:45 +01:00
starmath Remove GetNextSubset and create GetSubsetMap 2017-11-05 11:40:33 +01:00
stoc Replace lists by vectors (stoc) 2017-11-04 21:43:21 +01:00
store improve constparam loplugin 2017-11-02 10:45:01 +01:00
svgio
svl rename AvoidConfig to Fuzzing 2017-11-09 00:16:43 +01:00
svtools Fix typos 2017-11-14 10:42:08 +01:00
svx Fix typos 2017-11-14 10:42:08 +01:00
sw Fix typos 2017-11-14 10:42:08 +01:00
swext
sysui QT5 rename from KF5 2017-11-06 12:05:32 +01:00
test tdf#45904 Move _XLabelRange Java tests to C++ 2017-11-13 19:43:59 +01:00
testtools
toolkit Fix typos 2017-11-13 08:43:17 +01:00
tools inline INetMIMEOutputSink 2017-11-13 07:13:48 +01:00
translations@b990191434 Updated core 2017-11-06 13:44:11 +01:00
ucb RegexpMap::map: use range-based for 2017-11-09 13:41:15 +01:00
ucbhelper one slash is enough 2017-11-05 20:41:27 +01:00
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools Fix typos 2017-11-13 08:43:17 +01:00
unoxml
ure
uui Fix typos 2017-11-13 08:43:17 +01:00
vbahelper Fix typos 2017-11-13 08:43:17 +01:00
vcl Two more functions that are private to vcl and not even VCL_DLLPUBLIC 2017-11-14 12:54:38 +02:00
winaccessibility Fix typos 2017-11-13 08:43:17 +01:00
wizards Access2Base - Insert Window argument in CommandBars collection 2017-11-07 14:38:42 +01:00
writerfilter Fix typos 2017-11-13 08:43:17 +01:00
writerperfect
xmerge
xmlhelp
xmloff Fix typos 2017-11-13 08:46:08 +01:00
xmlreader
xmlscript Fix typos 2017-11-13 08:43:17 +01:00
xmlsecurity tdf#113550 RTF import: fix incorrect text indent 2017-11-07 10:42:03 +01:00
.buckconfig
.buckversion
.clang-format Retrofit "KeepEmptyLinesAtTheStartOfBlocks: false" into .clang-format 2017-11-08 15:35:18 +01:00
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in QT5 rename from KF5 2017-11-06 12:05:32 +01:00
config_host_lang.mk.in
configure.ac Fix typos 2017-11-13 08:43:17 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Update mdds to 1.3.1. 2017-11-11 02:42:19 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch tdf#103080 Add Noto fonts into default installation 2017-11-10 19:52:16 +01:00
Makefile.gbuild
Makefile.in add dif fuzzer 2017-11-09 16:43:16 +01:00
README.cross
README.md iOS, update to version 11.1 2017-11-13 08:00:05 +01:00
README.Solaris
Repository.mk tdf#103080 Add Noto fonts into default installation 2017-11-10 19:52:16 +01:00
RepositoryExternal.mk QT5 rename from KF5 2017-11-06 12:05:32 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
TEMPLATE.SOURCECODE.HEADER

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 build chain and runtime baselines

These are the current minimal operating system and compiler versions to run and compile LibreOffice, also used by the TDF builds:

  • Windows:
    • Runtime: Windows 7
    • Build: Cygwin + Visual Studio 2015 Update 3
  • macOS:
    • Runtime: 10.9
    • Build: 10.12 + Xcode 8
  • Linux:
    • Runtime: RHEL 6 or CentOS 6
    • Build: GCC 4.8.1 or Clang
  • iOS (only for LibreOfficeKit):
    • Runtime: 11.0 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.0 and iPhone SDK 11.1

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 3.4. Since Xcode doesn't provide the compiler plugin headers, you have to compile your own Clang to use them on macOS.

You can find the TDF configure switches in the distro-configs/ directory.

To setup your initial build environment on Windows and macOS, we provide the LibreOffice Development Environment (LODE) scripts.

For more information see the build instructions for your platform in the TDF wiki.

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.

Rules for #include directives (C/C++)

Use the "..." form if and only if the included file is found next to the including file. Otherwise, use the <...> form. (For further details, see the mail Re: C[++]: Normalizing include syntax ("" vs <>).)

The UNO API include files should consistently use double quotes, for the benefit of external users of this API.

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.