Test repository to check push and ssh key
Find a file
jan Iversen 6cbea52dd0 iOS, missed remove debug line
Change-Id: I018f733cd2697f9b8456c6e4d720817d612b341b
2018-01-10 17:26:24 +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 tdf#96099 Removed some trivial typedefs related to UnOrderedMap and size_t. 2018-01-10 15:20:44 +01:00
bean
bin Silence clang-cl -Werror,-Wmicrosoft-unqualified-friend in external/boost 2018-01-09 23:20:20 +01:00
binaryurp
bridges
canvas
chart2 tdf#113572: allow switching to data range in copypasted chart 2018-01-10 01:24:06 +01:00
cli_ure
codemaker
comphelper loplugin:unusedfields 2018-01-04 07:17:23 +01:00
compilerplugins Don't use non-Windows sys/time.h 2018-01-09 23:22:27 +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 tdf#113923: don't use twice a new column in table copy 2018-01-10 14:43:15 +01:00
desktop iOS, corrected path in LO 2018-01-10 14:23:02 +01:00
dictionaries@58274a91b8 Updated core 2018-01-10 17:14:48 +01:00
distro-configs Let flatpak-builder build .Debug extension 2018-01-08 22:51:22 +01:00
drawinglayer
dtrans
editeng tdf#96099 Removed some trivial typedefs related to UnOrderedMap and size_t. 2018-01-10 15:20:44 +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 Various loplugin (clang-cl) 2018-01-09 23:21:08 +01:00
external pdfium: update to 3312 2018-01-10 14:35:13 +01:00
extras tdf#95024 Add user dictionary for hu dict package 2018-01-05 01:58:33 +01:00
filter ofz#5154 limit depth to max legal depth 2018-01-09 21:36:49 +01:00
forms
formula
fpicker loplugin:unnecessaryparen (clang-cl) 2018-01-09 23:17:23 +01:00
framework Fix typos 2018-01-05 11:03:10 +01:00
helpcompiler
helpcontent2@2c7cfc527a Updated core 2018-01-10 01:14:56 +01:00
hwpfilter
i18nlangtag ofz#4952 avoid liblangtag config when fuzzing enabled 2018-01-05 20:21:41 +01:00
i18npool
i18nutil
icon-themes tdf#75256 Sifr new entirecell icons 2018-01-08 00:55:57 +01:00
idl
idlc
include Mention that the getError() semantics are unclear 2018-01-10 17:30:08 +02:00
instsetoo_native
io
ios iOS, missed remove debug line 2018-01-10 17:26:24 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit Fix typo 2018-01-10 03:12:13 +01:00
lingucomponent
linguistic Add optional title: field to user dictionaries 2018-01-05 02:01:16 +01:00
lotuswordpro ofz#5157 Direct-leak 2018-01-09 17:19:22 +01:00
m4
mysqlc
nlpsolver
o3tl
odk
offapi tdf#113572: allow switching to data range in copypasted chart 2018-01-10 01:24:06 +01:00
officecfg tdf#114768: Update default font list for Traditional Chinese 2018-01-09 13:19:53 +01:00
onlineupdate
oovbaapi
oox tdf#96099 Removed some trivial typedefs related to UnOrderedMap and size_t. 2018-01-10 15:20:44 +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 _SpreadsheetViewSettings Java tests to C++ 2018-01-09 06:22:27 +01:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign remove dead eeitemid.hxx 2018-01-05 07:38:01 +01:00
ridljar
sal loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
salhelper
sax ofz#4392 sax: guard access to Entity::maSavedException with mutex 2018-01-06 16:08:55 +01:00
sc tdf#96099 Removed some trivial typedefs related to UnOrderedMap and size_t. 2018-01-10 15:20:44 +01:00
scaddins
sccomp
schema
scp2 tdf#95024 Add user dictionary for hu dict package 2018-01-05 01:58:33 +01:00
scripting tdf#96099 Removed some trivial typedefs related to UnOrderedMap and size_t. 2018-01-10 15:20:44 +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 sfx2 store: add API to allow avoiding the fsync of the output file 2018-01-10 14:35:47 +01:00
shell loplugin:unnecessaryparen (clang-cl) 2018-01-09 23:17:23 +01:00
slideshow
smoketest
solenv gbuild: print a better error message when adding non-existing Module 2018-01-10 15:27:28 +01:00
soltools
sot loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
starmath starmath: Replace confusing sal_uIntPtr with sal_Int32 2018-01-08 14:13:40 +01:00
stoc
store loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
svgio
svl loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +01:00
svtools uitest: add more properties to SvSimpleTableContainer state map 2018-01-07 22:08:48 +01:00
svx tdf#83877 Copy signature line properties too when copying shape 2018-01-10 08:34:49 +01:00
sw ofz: Integer-overflow 2018-01-10 17:20:34 +01:00
swext
sysui Include new .svg icons in freedesktop-menus.spec 2018-01-05 12:35:29 +01:00
test tdf#45904 Move _SpreadsheetViewSettings Java tests to C++ 2018-01-09 06:22:27 +01:00
testtools
toolkit toolkit: disable the UnitConversion test only on WNT 2018-01-08 16:15:42 +01:00
tools ofz#5000 Integer-overflow 2018-01-09 10:04:24 +01:00
translations@241b014e9b Updated core 2018-01-03 16:14:04 +01:00
ucb loplugin:convertlong in ucb,sot 2018-01-09 07:20:44 +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 tdf#113874 Guard against invalid states 2018-01-10 15:48:35 +01:00
winaccessibility
wizards tdf#114881: Re-introduce ConfigurationUpdateAccess 2018-01-08 23:24:03 +01:00
writerfilter tdf#114703 DOCX import: apply num defaults only to abstract nums 2018-01-09 09:07:53 +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 RES_CHRATR_PROPORTIONALFONTSIZE and RES_CHRATR_NOLINEBREAK unused 2018-01-09 07:18:47 +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 pdfium: update to 3312 2018-01-10 14:35:13 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in Let flatpak-builder build .Debug extension 2018-01-08 22:51:22 +01: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

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.