Test repository to check push and ssh key
Find a file
Caolán McNamara da7ed97021 use prebuilt opens___.ttf in oss-fuzz configuration
Change-Id: I4bbea7e1af34bd5c30e3830ecb58af2b6a3a09d4
2018-06-03 19:32:52 +01:00
.git-hooks Restore .git-hooks/commit-msg accidentally removed earlier 2018-05-22 11:48:59 +02:00
accessibility Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
android tdf#117777 fix show hidden files/folders option on Android 2018-06-01 04:32:33 +02:00
animations
apple_remote
avmedia include guard should be at the end of the file 2018-05-24 20:46:18 +02:00
basctl tdf#117825: check if macros are allowed when double-click one 2018-06-02 18:57:57 +02:00
basegfx loplugin:passstuffbyref 2018-05-25 21:46:32 +02:00
basic loplugin:includeform (clang-cl) 2018-06-01 14:16:22 +02:00
bean
bin use prebuilt opens___.ttf in oss-fuzz configuration 2018-06-03 19:32:52 +01:00
binaryurp
bridges
canvas move some CanvasHelper::implDrawBitmap inside vcl 2018-05-31 08:30:42 +02:00
chart2 Removed executable permission on data files 2018-06-02 01:22:02 +02:00
cli_ure
codemaker
comphelper loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
compilerplugins Improve loplugin:unreffun 2018-06-01 20:52:41 +02:00
config_host rename config_extension_update.h.in to config_extensions.h.in 2018-05-23 11:44:57 +02:00
configmgr Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
connectivity tdf#117446: FB mig, (VAR)BINARY, fix memory management 2018-05-28 20:29:29 +02:00
cppcanvas drop Graphic::GetBitmap 2018-05-31 14:08:44 +02:00
cppu loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
cppuhelper cppuhelper : use rtl::isAlphaNumeric instead of recreate the method. 2018-05-31 20:09:25 +02:00
cpputools
cui stray debug code 2018-06-03 19:23:36 +01:00
dbaccess tdf#96099 Remove some trivial std::vector typedefs 2018-06-03 09:38:42 +02:00
desktop loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
dictionaries@6c85a19c88 Updated core 2018-05-29 22:11:07 +02:00
distro-configs remove Linux ("UNX") systray "Quickstarter" 2018-05-23 12:02:59 +02:00
drawinglayer coverity#1435911 Arguments in wrong order 2018-06-02 22:18:01 +02:00
dtrans tdf#96099 Remove some trivial std::vector typedefs 2018-06-03 09:38:42 +02:00
editeng SID_FIELD appears to be in use 2018-05-25 21:47:10 +02:00
embeddedobj sw HTML filter: handle embedded ODF content in xhtml/reqif mode 2018-05-30 22:22:20 +02:00
embedserv
emfio
eventattacher Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
extensions tdf#96099 Remove some trivial std::vector typedefs 2018-06-03 09:38:42 +02:00
external upload libepubgen 0.1.1 2018-06-03 19:14:54 +02:00
extras weld SwSectionFootnoteEndTabPage 2018-06-02 22:16:25 +02:00
filter tdf#96099 Remove some trivial std::vector typedefs 2018-06-03 09:38:42 +02:00
forms tdf#96099 Remove some trivial std::vector typedefs 2018-06-03 09:38:42 +02:00
formula
fpicker A few assorted improvements to translatable strings before freeze 2018-06-02 00:38:20 -05:00
framework drop Image(Bitmap) constructor 2018-06-01 11:14:43 +02:00
helpcompiler
helpcontent2@a25c0c5dc1 Updated core 2018-06-02 14:40:50 +02:00
hwpfilter
i18nlangtag loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
i18npool loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
i18nutil
icon-themes Removed executable permission on images files 2018-06-02 01:19:40 +02:00
idl
idlc
include uitest logger: support for buttons, dialog, command and key logging 2018-06-03 17:09:16 +02:00
instsetoo_native Remove presumably unused instsetoo_native/util/pack.lst 2018-05-24 21:01:17 +02:00
io
ios Removed executable permission on data files 2018-06-02 01:22:02 +02:00
javaunohelper
jurt
jvmaccess Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
jvmfwk
l10ntools tdf#117729 add Frisian (fy) UI langauge 2018-05-23 13:41:53 +02:00
librelogo
libreofficekit libreofficekit: Run gla11y on gtv.ui 2018-05-24 11:09:56 +02:00
lingucomponent
linguistic mergedlibs failure with duplicate SwXStringKeyMap 2018-06-02 20:42:13 +02:00
lotuswordpro loplugin:unusedfields-in-constructor in various 2018-05-29 14:37:12 +02:00
m4
mysqlc
nlpsolver
o3tl loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
odk Fix typos 2018-05-27 10:12:35 +02:00
offapi linguistic: add functionality to change spellcheck color 2018-06-01 03:57:31 +02:00
officecfg A few assorted improvements to translatable strings before freeze 2018-06-02 00:38:20 -05:00
onlineupdate
oovbaapi Add WordBasic property and its FileOpen "command" 2018-05-31 20:33:52 +02:00
oox ofz#8651 Integer-overflow 2018-05-31 22:03:17 +02:00
opencl
osx
package Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
postprocess
pyuno Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
qadevOOo Fix typos 2018-05-27 10:12:35 +02:00
readlicense_oo tdf#111988 Bump OSX version in README 2018-05-30 19:28:30 +02:00
registry
remotebridges
reportbuilder
reportdesign SOSAW080: Cleanup of SdrModel 2018-05-31 15:53:51 +02:00
ridljar
sal loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
salhelper
sax loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
sc sc: prefix members of ScDocShell 2018-06-03 04:18:08 +02:00
scaddins
sccomp
schema
scp2 Add entries for Calc.Applcation 2018-05-31 14:29:39 +03:00
scripting Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
sd coverity#1435913 Dereference after null check 2018-06-02 22:17:35 +02:00
sdext
setup_native
sfx2 uitest logger: support for buttons, dialog, command and key logging 2018-06-03 17:09:16 +02:00
shell Fix typos 2018-05-27 10:12:35 +02:00
slideshow Fix typo 2018-05-24 08:19:45 +02:00
smoketest
solenv upload libepubgen 0.1.1 2018-06-03 19:14:54 +02:00
soltools Fix typos 2018-05-27 20:26:31 +02:00
sot Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
starmath tdf#87995 Missing setting for save thumbnail in settings.xml. 2018-06-01 09:52:33 +02:00
stoc Revert "Simplify: Use AutomationInvokedZone::isActive()" 2018-05-31 17:49:11 +03:00
store
svgio loplugin:useuniqueptr in pathTextBreakupHelper 2018-05-28 08:46:55 +02:00
svl loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
svtools drop Image(Bitmap) constructor 2018-06-01 11:14:43 +02:00
svx A few assorted improvements to translatable strings before freeze 2018-06-02 00:38:20 -05:00
sw Simplify: not empty OUString has at least one token 2018-06-03 12:17:44 +02:00
swext
sysui Removed executable permission on data files 2018-06-02 01:22:02 +02:00
test loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
testtools
toolkit
tools valgrind: uninitialized read 2018-06-02 18:02:06 +02:00
translations@ed31445a5c Updated core 2018-05-24 15:19:19 +02:00
ucb Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools make CharClass also mutex-protect calls to its dependent class 2018-05-30 07:13:57 +02:00
unoxml Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
ure
uui Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
vbahelper Avoid a SolarMutex assertion failure in some use cases from Automation 2018-05-31 15:46:24 +03:00
vcl uitest logger: ListboxSelect and ListboxFocus logging 2018-06-03 17:09:30 +02:00
winaccessibility
wizards
writerfilter DOCX import: fix relativeFrom=page, align=right handling again 2018-06-01 19:06:27 +02:00
writerperfect loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
xmerge
xmlhelp
xmloff Load ODF signature line signed images 2018-05-30 14:19:28 +02:00
xmlreader
xmlscript Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
xmlsecurity xmlsecurity: add ecdsa option to certificate generator script 2018-06-01 10:04:10 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in add --enable-build-opensymbol option to build opens___.ttf from source 2018-05-29 15:33:05 +02:00
config_host_lang.mk.in
configure.ac avoid configure warning about <codecvt> not usable by preprocessor 2018-06-02 20:51:51 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upload libepubgen 0.1.1 2018-06-03 19:14:54 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch add --enable-build-opensymbol option to build opens___.ttf from source 2018-05-29 15:33:05 +02:00
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk libreofficekit: Run gla11y on gtv.ui 2018-05-24 11:09:56 +02:00
RepositoryExternal.mk
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.3 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.3

At least Clang 3.4.2 is known to be too old to pass the configure.ac check "whether $CXX supports C++17, C++14, or C++11" in its current form (due to the #pragma GCC diagnostic ignored "-Wpragmas" that it does not understand).

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 3.8. 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:

https://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.