Test repository to check push and ssh key
Find a file
Andrea Gelmini de9a451ffb Fix typo
Change-Id: I27a00608a5dba9fc467c61d5919233972b293811
Reviewed-on: https://gerrit.libreoffice.org/74093
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-06-15 13:35:37 +02:00
.git-hooks git-hooks: show length of first line if it's too long 2019-06-05 21:34:15 +02:00
accessibility loplugin:logexceptionnicely in accessibility..basic 2019-06-14 11:29:43 +02:00
android
animations
apple_remote
avmedia loplugin:logexceptionnicely in accessibility..basic 2019-06-14 11:29:43 +02:00
basctl remove some unused includes 2019-06-14 20:35:34 +02:00
basegfx
basic loplugin:logexceptionnicely in accessibility..basic 2019-06-14 11:29:43 +02:00
bean
bin check-elf-dynamic-objects: Update 'qt5whitelist' 2019-06-15 09:37:18 +02:00
binaryurp Use hasElements to check Sequence emptiness in accessibility..canvas 2019-06-11 20:24:40 +02:00
bridges
canvas Use hasElements to check Sequence emptiness in accessibility..canvas 2019-06-11 20:24:40 +02:00
chart2 Avoid -fsanitize=float-divide-by-zero 2019-06-15 09:26:30 +02:00
cli_ure Fix typo 2019-06-07 07:08:53 +02:00
codemaker
comphelper Extend debug-mode timeout 2019-06-14 08:16:17 +02:00
compilerplugins loplugin:unusedmethods 2019-06-14 15:18:22 +02:00
config_host KDE5 move screensafer inhibiting code into Qt5 2019-06-14 18:53:07 +02:00
configmgr loplugin:logexceptionnicely in configmgr..connectivity 2019-06-14 11:05:59 +02:00
connectivity loplugin:logexceptionnicely in configmgr..connectivity 2019-06-14 11:05:59 +02:00
cppcanvas Use hasElements to check Sequence emptiness in cppcanvas..desktop 2019-06-05 19:24:57 +02:00
cppu
cppuhelper Use hasElements to check Sequence emptiness in cppcanvas..desktop 2019-06-05 19:24:57 +02:00
cpputools
cui loplugin:logexceptionnicely in cui 2019-06-15 12:24:53 +02:00
dbaccess loplugin:logexceptionnicely in dbaccess 2019-06-15 12:25:00 +02:00
desktop loplugin:logexceptionnicely in desktop 2019-06-15 12:25:22 +02:00
dictionaries@e122922802 Update git submodules 2019-06-04 14:18:16 +02:00
distro-configs Add distro config for LibreOffice Online 2019-06-12 09:36:59 +02:00
drawinglayer Fix typo 2019-06-11 07:06:00 +02:00
dtrans Fix typo 2019-06-15 07:20:01 +02:00
editeng loplugin:logexceptionnicely in editeng..extensions 2019-06-15 12:25:41 +02:00
embeddedobj loplugin:logexceptionnicely in editeng..extensions 2019-06-15 12:25:41 +02:00
embedserv
emfio Avoid truncation of ±1E20 to long 2019-06-04 14:55:46 +02:00
eventattacher
extensions loplugin:logexceptionnicely in editeng..extensions 2019-06-15 12:25:41 +02:00
external Mark external/libmspub/stdint.patch as sent upstream 2019-06-12 07:51:48 +02:00
extras weld ExtMgrDialog and UpdateRequiredDialog 2019-06-14 16:33:45 +02:00
filter Fix typo 2019-06-14 07:12:13 +02:00
forms Fix typo 2019-06-07 07:07:16 +02:00
formula
fpicker Fix typo 2019-06-08 08:53:05 +02:00
framework tdf#124642 Delete Formula item from View->Toolbars in Writer 2019-06-14 18:07:28 +02:00
helpcompiler
helpcontent2@a37f4c0e78 Update git submodules 2019-06-13 09:50:13 +02:00
hwpfilter
i18nlangtag Related: tdf#125404 alias cmn-CN to zh-CN, cmn-TW to zh-TW 2019-06-05 23:06:15 +02:00
i18npool tdf#125620 add Korean Hangul Jamo codepoint ranges 2019-06-08 22:18:24 +02:00
i18nutil
icon-themes elementary: tdf#125794, fix Show Draw function icons 2019-06-13 16:11:01 +02:00
idl
idlc
include fix copy/paste mistake in TOOLS_INFO_EXCEPTION 2019-06-15 07:22:31 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk Fix swapping of vector elements 2019-06-11 08:34:34 +02:00
l10ntools
librelogo sanitize LibreLogo calls 2019-06-07 06:29:13 +02:00
libreofficekit
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver Checking of min and max factor value was added. 2019-06-03 16:12:17 +02:00
o3tl
odk
offapi Linguistic: new underlining styles for grammar checkers 2019-06-05 13:58:23 +02:00
officecfg tdf#88287 Change toolbars attributes in Draw 2019-06-14 23:02:29 +02:00
onlineupdate
oovbaapi
oox sw btlr writing mode: fix tbrl import from VML 2019-06-14 09:07:14 +02:00
opencl
osx
package bail out immediately if saving part of a zip package fails 2019-06-10 11:16:13 +02:00
postprocess Drop support for gstreamer-0.10 2019-06-07 11:07:42 +02:00
pyuno Adapt to upcoming Python 3.8 2019-06-10 21:10:56 +02:00
qadevOOo
readlicense_oo
registry Fix typos 2019-06-07 07:07:55 +02:00
remotebridges
reportbuilder
reportdesign tdf#42949 Fix IWYU warnings in include/svx/[sS][v-Z]* 2019-06-11 08:48:04 +02:00
ridljar
sal tdf#67538 XTypeDetection::queryTypeByDescriptor poor performance, part4 2019-06-03 15:23:16 +02:00
salhelper
sax
sc Resolves: tdf#124251 do not treat internal "URI" as real path URI 2019-06-14 23:06:34 +02:00
scaddins
sccomp
schema
scp2
scripting scripting: copy python/InsertText.py to the Scripts directory 2019-06-12 09:46:46 +02:00
sd tdf#125748 Only execute frame interactions in presentation mode 2019-06-15 02:16:59 +02:00
sdext Refactor a bit of the presentation minimizer 2019-06-06 17:52:01 +02:00
setup_native
sfx2 remove some unused includes 2019-06-14 20:35:34 +02:00
shell Make spsupp*.dll usable on 64-bit Windows 2019-06-14 01:16:22 +02:00
slideshow loplugin:unusedfields improvements 2019-06-14 11:37:35 +02:00
smoketest
solenv weld ExtMgrDialog and UpdateRequiredDialog 2019-06-14 16:33:45 +02:00
soltools
sot
starmath tdf#120047 Support attribute harpoon/wideharpoon in Math 2019-06-13 05:11:25 +02:00
stoc
store
svgio loplugin:unusedfields improvements 2019-06-14 11:37:35 +02:00
svl tdf#42949 Fix IWYU warnings in svl/ 2019-06-07 09:06:14 +02:00
svtools Revert "improve empty tools::Rectangle (width)" 2019-06-12 12:06:10 +02:00
svx remove some unused includes 2019-06-14 20:35:34 +02:00
sw remove some unused includes 2019-06-14 20:35:34 +02:00
swext
sysui
test fix assert in make screenshot 2019-06-11 14:16:19 +02:00
testtools
toolkit unopkg gui crashes on shutdown 2019-06-13 15:12:44 +02:00
tools Revert "improve empty tools::Rectangle (width)" 2019-06-12 12:06:10 +02:00
translations@ceca6b42c9 Update git submodules 2019-06-11 13:13:14 +02:00
ucb tdf#67538 XTypeDetection::queryTypeByDescriptor poor performance, part1 2019-06-03 12:14:41 +02:00
ucbhelper
udkapi
uitest UI test for tdf#117987 2019-06-12 17:36:37 +02:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools tdf#125481 changed font order for Korean locale 2019-06-08 22:18:37 +02:00
unoxml
ure
uui
vbahelper
vcl Fix typo 2019-06-15 13:35:37 +02:00
winaccessibility
wizards Access2Base - Robustness changes 2019-06-13 14:46:27 +02:00
writerfilter Simplify Sequence iterations in writerfilter, writerperfect, xmlhelp 2019-06-13 19:43:13 +02:00
writerperfect Simplify Sequence iterations in writerfilter, writerperfect, xmlhelp 2019-06-13 19:43:13 +02:00
xmerge
xmlhelp Simplify Sequence iterations in writerfilter, writerperfect, xmlhelp 2019-06-13 19:43:13 +02:00
xmloff Simplify Sequence iterations in xmloff/source/{chart..core} 2019-06-13 09:18:42 +02:00
xmlreader
xmlscript
xmlsecurity XSecController must be a complete type here (Windows --disable-pch) 2019-06-04 08:27:26 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore Add QtCreator-specific file to .gitignore 2019-06-08 15:36:20 +02:00
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Don't link avmediagst with gtk3 and qt5 2019-06-13 23:45:09 +02:00
config_host_lang.mk.in
configure.ac tdf#125921 Qt5 set WM_CLASS for top level windows 2019-06-15 02:37:28 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md baseline is CentOS/RHEL 7 (glibc 2.14 or later) 2019-06-05 12:17:14 +02:00
README.Solaris
Repository.mk Make spsupp*.dll usable on 64-bit Windows 2019-06-14 01:16:22 +02:00
RepositoryExternal.mk Drop '-Wno-shadow' previously set for qt5/kde5 2019-06-13 07:31:15 +02:00
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.10
    • Build: 10.13.2 + Xcode 9.3
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 5.0.2 with libstdc++ 7.3.0
  • iOS (only for LibreOfficeKit):
    • Runtime: 11.4 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.4

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