Test repository to check push and ssh key
Find a file
Caolán McNamara 8ac48304da UL->U
Change-Id: I564e7604729f04e1fb9334b175c345938734640d
Reviewed-on: https://gerrit.libreoffice.org/47547
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-08 21:31:40 +01:00
.git-hooks
accessibility
android
animations
apple_remote
avmedia
basctl Resolves: tdf#114766 gtk3 solar mutex assert 2018-01-08 20:01:45 +01:00
basegfx basegfx: extract svg path import/export test to own file 2018-01-04 07:38:42 +01:00
basic basic, solve link problems 2018-01-08 13:18:36 +01:00
bean
bin remove unused defines 2018-01-06 07:41:36 +01:00
binaryurp
bridges
canvas Fix typos 2018-01-02 15:46:36 +01:00
chart2 remove unused defines 2018-01-06 07:41:36 +01:00
cli_ure
codemaker
comphelper loplugin:unusedfields 2018-01-04 07:17:23 +01:00
compilerplugins sw: move some globals in fetab.cxx into SwFEShell 2018-01-04 12:12:12 +01:00
config_host
configmgr
connectivity fixup tdf#104986 move named parameters substitution into generic layer 2018-01-07 09:30:39 +01:00
cppcanvas
cppu
cppuhelper
cpputools
cui tdf#114818 hold the mutex before executing the error dialog 2018-01-06 13:40:02 +01:00
dbaccess loplugin:passstuffbyref more return improvements 2018-01-03 08:07:41 +01:00
desktop lokdialog: Enable input before posting mouse events 2018-01-08 22:39:23 +05:30
dictionaries@b64137bed1 Updated core 2018-01-05 10:20:24 +01:00
distro-configs iOS disable gpgme 2018-01-04 18:19:29 +01:00
drawinglayer
dtrans
editeng tdf#114628 unit test for line spacing 2018-01-07 11:15:22 +01:00
embeddedobj Remove redundant control flow branch 2018-01-04 21:58:49 +01:00
embedserv
emfio ofz#4980 bail early with 0 points 2018-01-06 22:08:16 +01:00
eventattacher
extensions
external openssl: fix MSVC 64-bit build 2018-01-08 18:11:28 +01:00
extras tdf#95024 Add user dictionary for hu dict package 2018-01-05 01:58:33 +01:00
filter ofz: fail early 2018-01-07 20:27:27 +00:00
forms
formula
fpicker tdf#113070: Fix master document issue 2018-01-07 15:42:33 +01:00
framework Fix typos 2018-01-05 11:03:10 +01:00
helpcompiler
helpcontent2@03d3affe49 Updated core 2018-01-06 14:03:37 +01:00
hwpfilter
i18nlangtag ofz#4952 avoid liblangtag config when fuzzing enabled 2018-01-05 20:21:41 +01:00
i18npool
i18nutil tdf#114681: Adding support for case folding in Glagolitic 2018-01-02 10:33:22 +01:00
icon-themes tdf#75256 Sifr new entirecell icons 2018-01-08 00:55:57 +01:00
idl
idlc
include lokdocview: Make g-ir-compiler, scanner happy 2018-01-08 22:37:33 +05:30
instsetoo_native
io
ios iOS, add bridge function to expose kit pointer. 2018-01-08 20:04:53 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit lokdocview: Make g-ir-compiler, scanner happy 2018-01-08 22:37:33 +05:30
lingucomponent
linguistic Add optional title: field to user dictionaries 2018-01-05 02:01:16 +01:00
lotuswordpro ofz#5028 Direct-leak 2018-01-08 14:35:39 +01:00
m4
mysqlc
nlpsolver
o3tl
odk
offapi
officecfg tdf#95024 Add user dictionary for hu dict package 2018-01-05 01:58:33 +01:00
onlineupdate
oovbaapi
oox support exporting of hatch for chart background, tdf#114180 2018-01-08 00:57:17 +01:00
opencl
osx Add a few Mac-specific source files in avmedia for easier breakpointing 2018-01-08 12:01:29 +02:00
package tdf#114819 - include the synthetic encrpytion header into the size. 2018-01-06 16:00:26 +01:00
postprocess
pyuno
qadevOOo tdf#45904 Move _DocumentSettings Java tests to C++ 2018-01-06 20:30:57 +01:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign remove dead eeitemid.hxx 2018-01-05 07:38:01 +01:00
ridljar
sal ofz#4886 Integer-overflow 2018-01-04 15:31:06 +01:00
salhelper
sax ofz#4392 sax: guard access to Entity::maSavedException with mutex 2018-01-06 16:08:55 +01:00
sc tdf#61418 Show message on protected sheets for conditional formatting. 2018-01-08 09:36:32 +01:00
scaddins
sccomp
schema
scp2 tdf#95024 Add user dictionary for hu dict package 2018-01-05 01:58:33 +01:00
scripting loplugin:passstuffbyref improved return in sd,various 2018-01-02 13:15:33 +01:00
sd UI Duplicate dlg: enable negative angle 2018-01-07 22:35:03 +01:00
sdext Allow building with poppler-0.62 2018-01-08 16:07:05 +01:00
setup_native
sfx2 LOK: Honor the user's language when issuing help. 2018-01-08 11:42:50 +01:00
shell Fix typos 2018-01-05 17:43:53 +01:00
slideshow
smoketest
solenv gcc-wrappers: always pass -debug to linker 2018-01-08 20:53:29 +01:00
soltools
sot
starmath starmath: Replace confusing sal_uIntPtr with sal_Int32 2018-01-08 14:13:40 +01:00
stoc
store
svgio loplugin:passstuffbyref improved return in sd,various 2018-01-02 13:15:33 +01:00
svl Revert "GetTrueSlotId is dead" 2018-01-05 13:01:33 +01:00
svtools uitest: add more properties to SvSimpleTableContainer state map 2018-01-07 22:08:48 +01:00
svx svx, check HAVE_FEATURE_AVMEDIA 2018-01-07 14:20:06 +01:00
sw Resolves: tdf#114728 wrong entries in bibliographic entry dialog 2018-01-08 21:30:32 +01:00
swext
sysui Include new .svg icons in freedesktop-menus.spec 2018-01-05 12:35:29 +01:00
test Remove XmlWriter in test module and use tools::XmlWriter 2018-01-07 09:34:44 +01:00
testtools
toolkit toolkit: disable the UnitConversion test only on WNT 2018-01-08 16:15:42 +01:00
tools UL->U 2018-01-08 21:31:40 +01:00
translations@241b014e9b Updated core 2018-01-03 16:14:04 +01:00
ucb drop ULONG typedef 2018-01-04 07:18:23 +01:00
ucbhelper
udkapi Fix typo 2018-01-05 02:44:43 +01:00
uitest uitest: add a shared helper method for selecting text 2018-01-08 00:58:06 +01:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools lokdialog: Few more places that need to take LOK's LanguageTag into account. 2018-01-08 11:40:42 +01:00
unoxml ofz#4940 Null-dereference READ 2018-01-04 22:22:05 +01:00
ure
uui remove NoPath from LoginFlags 2018-01-05 09:20:10 +01:00
vbahelper
vcl lokdialog: Few more places that need to take LOK's LanguageTag into account. 2018-01-08 11:40:42 +01:00
winaccessibility
wizards Related: tdf#114873 if fallback returned as result, drop context 2018-01-07 16:32:58 +00:00
writerfilter tdf#42949 Fix some more Include What You Use warnings 2018-01-04 15:51:39 +01:00
writerperfect upload libe-book 0.1.3 2018-01-05 19:47:10 +01:00
xmerge
xmlhelp loplugin:unusedfields 2018-01-04 07:17:23 +01:00
xmloff Fix typos 2018-01-04 20:44:00 +01:00
xmlreader
xmlscript
xmlsecurity xmlsecurity: remove unused xml_security::serial_number_adapter 2018-01-05 09:03:48 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac Find JDK 9 on Windows 2018-01-07 20:14:17 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upload libabw 0.1.2 2018-01-06 09:04:53 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk
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.2 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.0 and iPhone SDK 11.2

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:

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.