Test repository to check push and ssh key
Find a file
Olivier Hallot c863d437ec Update git submodules
* Update helpcontent2 from branch 'master'
  - Clarify caption element description
    
    Change-Id: I03491b07a7c4b1da4441713c8f5bbff82ad164e1
    Reviewed-on: https://gerrit.libreoffice.org/63096
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-08 18:52:53 +01:00
.git-hooks
accessibility move SvTreeListBox to vcl 2018-11-07 22:01:02 +01:00
android [Pardus] ability to change slide name 2018-11-04 23:50:52 +01:00
animations
apple_remote
avmedia move SvTreeListBox to vcl 2018-11-07 22:01:02 +01:00
basctl move SvTreeListBox to vcl 2018-11-07 22:01:02 +01:00
basegfx loplugin:collapseif in accessibility..cui 2018-11-06 10:28:47 +01:00
basic move SvTreeListBox to vcl 2018-11-07 22:01:02 +01:00
bean
bin
binaryurp
bridges replace double-checked locking patterns with thread safe local statics 2018-11-04 14:46:01 +01:00
canvas tdf#120703 PVS: V547 Expression is always true/false 2018-11-03 20:47:58 +01:00
chart2 Convert FieldUnit to scoped enum 2018-11-08 12:15:51 +01:00
cli_ure
codemaker
comphelper sc lok: Implement hi-dpi and zoom for spreadsheets. 2018-11-08 14:38:27 +01:00
compilerplugins loplugin:unusedfields 2018-11-08 07:38:35 +01:00
config_host
configmgr
connectivity loplugin:unusedfields 2018-11-08 07:38:35 +01:00
cppcanvas Fix typos 2018-11-07 12:09:46 +01:00
cppu coverity#1441100 silence Out-of-bounds access 2018-11-07 18:18:51 +01:00
cppuhelper replace double-checked locking patterns with thread safe local statics 2018-11-04 14:46:01 +01:00
cpputools
cui Resolves: tdf#121270 use never scrollbar policy for gtk 3.18 2018-11-08 16:39:25 +01:00
dbaccess Convert FieldUnit to scoped enum 2018-11-08 12:15:51 +01:00
desktop lokdialog: Implement hi-dpi support for the routed dialogs. 2018-11-08 14:38:49 +01:00
dictionaries@86921a78c4 Revert "lok: calc: fix needed when position caching is disabled" 2018-11-08 14:45:19 +01:00
distro-configs Don't default to only tango for iOS 2018-11-06 10:37:47 +02:00
drawinglayer tdf#55058 tdf#106084 EMF+ Add support for Underline and Strikeout 2018-11-07 23:27:00 +01:00
dtrans Win: implement Clipboard Format Listener instead of obsolete Viewer 2018-11-05 19:30:16 +01:00
editeng Resolves: tdf#121200 better ofz#7802 infinite loop fix 2018-11-08 18:09:43 +01:00
embeddedobj embeddedobj win32: avoid owning a lock while calling out to event listeners 2018-11-07 17:32:33 +01:00
embedserv
emfio tdf#55058 tdf#106084 tdf#114738 EMF+ Add rotation support for String drawing 2018-11-05 19:28:22 +01:00
eventattacher
extensions Convert FieldUnit to scoped enum 2018-11-08 12:15:51 +01:00
external xmlsec: replace patch with specifying NSPR/NSS_CFLAGS/LIBS 2018-11-08 09:14:52 +01:00
extras move SvTreeListBox to vcl 2018-11-07 22:01:02 +01:00
filter coverity#1441102 silence Copy-paste error 2018-11-08 14:19:04 +01:00
forms move SvTreeListBox to vcl 2018-11-07 22:01:02 +01:00
formula move SvTreeListBox to vcl 2018-11-07 22:01:02 +01:00
fpicker move SvTreeListBox to vcl 2018-11-07 22:01:02 +01:00
framework loplugin:collapseif in framework..sal 2018-11-07 07:56:39 +01:00
helpcompiler
helpcontent2@9b58d02696 Update git submodules 2018-11-08 18:52:53 +01:00
hwpfilter
i18nlangtag
i18npool loplugin:collapseif in sdext..svx 2018-11-07 12:39:11 +01:00
i18nutil tdf#42949 Fix IWYU warnings in include/i18nutil/* 2018-11-07 10:04:47 +01:00
icon-themes tdf#121018 Split labels for sub menus 2018-11-08 08:58:46 +01:00
idl loplugin:collapseif in dbaccess..lotuswordpro 2018-11-06 11:53:58 +01:00
idlc loplugin:collapseif in dbaccess..lotuswordpro 2018-11-06 11:53:58 +01:00
include lokdialog: Implement hi-dpi support for the routed dialogs. 2018-11-08 14:38:49 +01:00
instsetoo_native
io
ios The image zipfiles should be in share/config, it seems 2018-11-06 10:37:47 +02:00
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools loplugin:collapseif in dbaccess..lotuswordpro 2018-11-06 11:53:58 +01:00
librelogo Adapt LibreLogo.py to Python 3.7 re.sub change 2018-11-08 11:03:41 +01:00
libreofficekit loplugin:collapseif in dbaccess..lotuswordpro 2018-11-06 11:53:58 +01:00
lingucomponent
linguistic tdf#120703 PVS: V547 Expression is always true/false 2018-11-04 16:57:59 +01:00
lotuswordpro loplugin:collapseif in dbaccess..lotuswordpro 2018-11-06 11:53:58 +01:00
m4
nlpsolver
o3tl
odk Fix typos 2018-11-05 22:04:17 +01:00
offapi tdf#118582 Disable signature line signing once it is signed 2018-11-06 15:00:58 +01:00
officecfg tdf#121018 Split labels for sub menus 2018-11-08 08:58:46 +01:00
onlineupdate
oovbaapi
oox Convert FieldUnit to scoped enum 2018-11-08 12:15:51 +01:00
opencl
osx
package loplugin:collapseif in framework..sal 2018-11-07 07:56:39 +01:00
postprocess Package separate SVG icon sets 2018-11-05 14:40:53 +01:00
pyuno replace double-checked locking patterns with thread safe local statics 2018-11-04 14:46:01 +01:00
qadevOOo Fix typos 2018-11-05 22:04:17 +01:00
readlicense_oo
registry loplugin:collapseif in framework..sal 2018-11-07 07:56:39 +01:00
remotebridges
reportbuilder
reportdesign Convert FieldUnit to scoped enum 2018-11-08 12:15:51 +01:00
ridljar
sal loplugin:collapseif in framework..sal 2018-11-07 07:56:39 +01:00
salhelper
sax
sc NB tabbed compact calc: copy files to install dir 2018-11-08 17:58:42 +01:00
scaddins
sccomp
schema
scp2
scripting tdf#121143: don't send OnCloseApp twice; properly cleanup AppBasicManager 2018-11-05 20:06:58 +01:00
sd Convert FieldUnit to scoped enum 2018-11-08 12:15:51 +01:00
sdext Resolves: rhbz#1647507 try inputted password as both user and owner password 2018-11-08 15:09:59 +01:00
setup_native
sfx2 tdf#120642 - GetInvoled update 2018-11-08 15:35:00 +01:00
shell tdf#120703 PVS: V547 Expression is always true/false 2018-11-05 07:21:22 +01:00
slideshow loplugin:collapseif in sdext..svx 2018-11-07 12:39:11 +01:00
smoketest
solenv Related: tdf#121238 show ui language as well as locale 2018-11-08 15:40:59 +01:00
soltools Silence GCC 8.2.1 -Werror=format-truncation= 2018-11-08 12:19:30 +01:00
sot tdf#120657 Pie chart saved as DOC doesn't preview in MSO 2018-11-07 15:07:11 +01:00
starmath More --enable-debug --disable-assert-always-abort fixes 2018-11-08 14:34:10 +01:00
stoc tdf#120703 PVS: V547 Expression is always true/false 2018-11-04 16:57:59 +01:00
store
svgio
svl loplugin:collapseif in sdext..svx 2018-11-07 12:39:11 +01:00
svtools Related: tdf#121181 basic input box used to have a very wide edit widget 2018-11-08 18:29:11 +01:00
svx More --enable-debug --disable-assert-always-abort fixes 2018-11-08 14:34:10 +01:00
sw More --enable-debug --disable-assert-always-abort fixes 2018-11-08 14:34:10 +01:00
swext
sysui
test
testtools
toolkit Convert FieldUnit to scoped enum 2018-11-08 12:15:51 +01:00
tools loplugin:collapseif in tools..xmloff 2018-11-08 07:37:40 +01:00
translations@f14221545c
ucb convert some macros to local functions 2018-11-06 07:46:11 +01:00
ucbhelper
udkapi Fix typos 2018-11-05 22:04:17 +01:00
uitest map GtkTreeView to SvTreeViewBox now it is in vcl 2018-11-07 22:01:20 +01:00
UnoControls
unodevtools
unoidl loplugin:collapseif in tools..xmloff 2018-11-08 07:37:40 +01:00
unoil
unotest
unotools loplugin:collapseif in tools..xmloff 2018-11-08 07:37:40 +01:00
unoxml
ure
uui replace Application::GetMainThreadIdentifier to Application::IsMainThread 2018-11-06 14:31:44 +01:00
vbahelper
vcl tdf#120784 KDE5: Process "Enter" key from numpad like normal "Enter" key 2018-11-08 18:03:32 +01:00
winaccessibility
wizards tdf#121188 form controls should have InputRequired false by default 2018-11-06 19:14:23 +01:00
writerfilter loplugin:unusedfields 2018-11-08 07:38:35 +01:00
writerperfect convert some macros to local functions 2018-11-06 07:46:11 +01:00
xmerge
xmlhelp
xmloff Convert FieldUnit to scoped enum 2018-11-08 12:15:51 +01:00
xmlreader
xmlscript
xmlsecurity move SvTreeListBox to vcl 2018-11-07 22:01:02 +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 tdf#121131: Default COMPILER_PLUGINS_CXX to g++ -std=c++11 2018-11-08 13:36:53 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
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 mysql_jdbc should be enabled in Repository.mk.. 2018-11-05 11:15:37 +01:00
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
setup.cfg
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 2017
  • 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.4 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.4

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.

loplugin:includeform (compilerplugins/clang/includeform.cxx) enforces these rules.

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.