Test repository to check push and ssh key
Find a file
Sophia Schröder f4fc28aedf Revert "Remove dead HSQLDB driver"
We cannot silently convert user data or their used file formats
and then await them to accept it or reinstall an older version.

Let us make a soft change instead of an hard (heart) break
and avoid us to been attacked with fire and forks from our users.

This reverts commit 8d381ae8d6.

Change-Id: Ia153640935e355771acb85cf652f8fe4c21fafbb
Reviewed-on: https://gerrit.libreoffice.org/52731
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
2018-04-12 09:09:37 +02:00
.git-hooks
accessibility fix wrong mismatch of type modifiers 2018-04-08 21:29:56 +02:00
android add hint on how to use lldb pretty-printers form within android studio 2018-04-07 22:17:41 +02:00
animations
apple_remote
avmedia Revert "long->sal_Int32 in tools/gen.hxx" 2018-04-07 14:13:18 +02:00
basctl weld GotoLineDialog 2018-04-11 09:50:21 +02:00
basegfx SOSAW080: Added first bunch of basic changes to helpers 2018-04-07 00:28:30 +02:00
basic tdf#111313: Honor bWriteNoLenParam in !bCompatibility, too 2018-04-06 14:56:20 +02:00
bean
bin Add IWYU wrapper script to find unused includes 2018-04-07 13:57:01 +02:00
binaryurp
bridges Adapt remaining cpp_uno bridges to #i114635# 2018-04-10 13:16:23 +02:00
canvas Revert "long->sal_Int32 in tools/gen.hxx" 2018-04-07 14:13:18 +02:00
chart2 new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
cli_ure tdf#94265: use install directory on delay load failure 2018-04-09 09:06:46 +02:00
codemaker
comphelper loplugin:unusedmethods 2018-04-10 08:44:23 +02:00
compilerplugins remove some debug code 2018-04-11 15:31:59 +02:00
config_host
configmgr Ignore dangling symlink configuration files 2018-04-04 17:22:25 +02:00
connectivity Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
cppcanvas use more DBG_UNHANDLED_EXCEPTION 2018-04-09 08:46:34 +02:00
cppu
cppuhelper
cpputools
cui make FontList::Clone return a std::unique_ptr 2018-04-12 08:45:17 +02:00
dbaccess Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
desktop weld RestartDialog 2018-04-11 15:37:27 +02:00
dictionaries@c8e86617a7
distro-configs Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
drawinglayer new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
dtrans
editeng return std::unique_ptr from SfxItemSet::Clone 2018-04-11 14:08:27 +02:00
embeddedobj
embedserv
emfio new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
eventattacher
extensions new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
external Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
extras
filter ofz#7468 catch ras filter exceptions 2018-04-11 12:03:06 +02:00
forms weld linkeditdialog 2018-04-06 16:48:12 +02:00
formula new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
fpicker weld PlaceEditDialog 2018-04-11 21:50:55 +02:00
framework tdf#42949 Remove unnecessary localization headers from framework 2018-04-11 10:27:29 +02:00
helpcompiler
helpcontent2@51f6c350e5 Updated core 2018-04-11 15:04:00 +02:00
hwpfilter
i18nlangtag
i18npool
i18nutil
icon-themes Colibre icons: add help icons 2018-04-10 09:52:33 +02:00
idl
idlc fflush() followed by fclose() is redundant 2018-04-06 06:35:02 +02:00
include Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
instsetoo_native tdf#108580 related: Check for SP level of the minimal supported OS 2018-04-09 14:40:18 +02:00
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk Keep strings alive again as necessary 2018-04-12 08:26:34 +02:00
l10ntools
librelogo
libreofficekit sw lok: View jumps to cursor position even if it is moved by an other view. 2018-04-07 08:05:04 +02:00
lingucomponent
linguistic assert on empty line 2018-04-07 21:04:14 +02:00
lotuswordpro
m4
mysqlc Don't link Library_mysqlc against -lnsl 2018-04-07 14:02:35 +02:00
nlpsolver
o3tl
odk
offapi tdf#114523 Make inline tooltips for changes optional 2018-04-10 00:47:22 +02:00
officecfg Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
onlineupdate
oovbaapi
oox graphic: rename Set{Get,Is}Link to Set{Get,Is}GfxLink 2018-04-10 08:34:44 +02:00
opencl
osx
package new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
postprocess Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
pyuno configure,pyuno: require at least Python 2.7 2018-04-09 10:32:47 +02:00
qadevOOo tdf#45904 Move _XCellRangeMovement Java tests to C++ 2018-04-06 17:32:47 +02:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
ridljar
sal Properly filter(out) - pattern words are the first argument 2018-04-08 20:34:56 +02:00
salhelper
sax
sc Defer obtaining transliterator and collator... 2018-04-11 14:44:43 +02:00
scaddins
sccomp
schema
scp2
scripting
sd return std::unique_ptr from SfxItemSet::Clone 2018-04-11 14:08:27 +02:00
sdext new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
setup_native Fix typos 2018-04-11 07:17:22 +02:00
sfx2 return std::unique_ptr from SfxItemSet::Clone 2018-04-11 14:08:27 +02:00
shell new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
slideshow use more DBG_UNHANDLED_EXCEPTION 2018-04-09 08:46:34 +02:00
smoketest
solenv Fix variable in error string 2018-04-11 13:00:04 +02:00
soltools
sot tdf#89453 - Improve the wording of "Paste Special" options 2018-04-07 14:02:18 +02:00
starmath return std::unique_ptr from SfxItemSet::Clone 2018-04-11 14:08:27 +02:00
stoc use more DBG_UNHANDLED_EXCEPTION 2018-04-09 08:46:34 +02:00
store
svgio new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
svl return std::unique_ptr from SfxItemSet::Clone 2018-04-11 14:08:27 +02:00
svtools make FontList::Clone return a std::unique_ptr 2018-04-12 08:45:17 +02:00
svx make BaseProperties::Clone return std::unique_ptr 2018-04-12 08:46:04 +02:00
sw sw: fix some IWYU warnings 2018-04-12 09:08:08 +02:00
swext
sysui
test tdf#45904 Move _XCellRangeMovement Java tests to C++ 2018-04-06 17:32:47 +02:00
testtools
toolkit make ControlModelContainerBase::Clone return by rtl::Reference 2018-04-12 08:46:17 +02:00
tools Revert "long->sal_Int32 in tools/gen.hxx" 2018-04-07 14:13:18 +02:00
translations@db79c92222
ucb new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest Fix Python file URL construction on Windows 2018-04-06 10:48:17 +02:00
unotools new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
unoxml
ure Remove std::bad_alloc -> css::uno::RuntimeException mappings 2018-04-09 21:25:18 +02:00
uui weld LoginDialog 2018-04-11 17:43:26 +02:00
vbahelper
vcl weld PlaceEditDialog 2018-04-11 21:50:55 +02:00
winaccessibility
wizards
writerfilter new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
writerperfect writerperfect: fix whitespace 2018-04-11 11:08:48 +02:00
xmerge
xmlhelp
xmloff new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
xmlreader
xmlscript new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
xmlsecurity use more DBG_UNHANDLED_EXCEPTION 2018-04-09 08:46:34 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
config_host_lang.mk.in
configure.ac Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
Makefile.gbuild
Makefile.in Revert "Fix protection of some unnecessarily strictly protected files" 2018-04-08 17:37:56 +03:00
README.cross
README.md
README.Solaris
Repository.mk Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
RepositoryExternal.mk Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
RepositoryFixes.mk Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
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.