Test repository to check push and ssh key
Find a file
Andrea Gelmini 4f17ef6699 Fix typo
Change-Id: I11a6a967741dcaa80ec30a92fc3908c77844d5c1
Reviewed-on: https://gerrit.libreoffice.org/65615
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-12-26 09:07:24 +01:00
.git-hooks
accessibility
android
animations
apple_remote
avmedia tdf#42949 Fix IWYU warnings in include/vcl/[t-u]* 2018-12-20 12:36:41 +01:00
basctl tdf#42949 Fix IWYU warnings in include/vcl/[t-u]* 2018-12-20 12:36:41 +01:00
basegfx
basic basic: Spare temporary variable 2018-12-26 08:13:42 +01:00
bean
bin Fix typo 2018-12-25 10:14:24 +01:00
binaryurp
bridges Fix typo 2018-12-20 07:06:52 +01:00
canvas Skip Executable_canvasdemo unless DESKTOP 2018-12-21 00:16:24 +02:00
chart2 Fix CppunitTest_chart2_xshape failing with Display Scaling on Windows 2018-12-24 13:39:39 +01:00
cli_ure
codemaker
comphelper use boost::optional for OUString 2018-12-22 08:21:12 +01:00
compilerplugins loplugin:unnecessaryvirtual 2018-12-21 07:26:51 +01:00
config_host kde5: remove older kde/tde plugins, and references to that 2018-12-17 18:33:13 +01:00
configmgr
connectivity tdf#120576 avoid crash during database migration 2018-12-21 15:29:27 +01:00
cppcanvas
cppu
cppuhelper kde5: remove older kde/tde plugins, and references to that 2018-12-17 18:33:13 +01:00
cpputools
cui tdf#120743: Rename the 'Select Theme' button to clarify 2018-12-23 20:27:17 +01:00
dbaccess tdf#120703 PVS: V560 A part of conditional expression is always true/false 2018-12-24 07:45:56 +01:00
desktop Use vector<PropertyValue> and containerToSequence to simplify things 2018-12-26 05:06:28 +01:00
dictionaries@37f536403a
distro-configs Enable --help=html for flatpak 2018-12-20 12:17:19 +01:00
drawinglayer
dtrans
editeng Fix typo 2018-12-23 10:04:58 +01:00
embeddedobj
embedserv
emfio
eventattacher
extensions tdf#42949 Fix IWYU warnings in include/vcl/[t-u]* 2018-12-20 12:36:41 +01:00
external forcepoint#77 null-deref 2018-12-19 09:54:19 +01:00
extras weld SwTOXEntryTabPage 2018-12-20 09:51:15 +01:00
filter Related: tdf#122204 clarify 0xFFF0 size meaning 2018-12-23 22:23:22 +01:00
forms tdf#122152 set dialog parent 2018-12-17 22:06:35 +01:00
formula
fpicker
framework tdf#42949 Fix IWYU warnings in include/vcl/[t-u]* 2018-12-20 12:36:41 +01:00
helpcompiler
helpcontent2@8da4ee01f1 Update git submodules 2018-12-22 19:43:31 +01:00
hwpfilter use unique_ptr in hwpfilter 2018-12-21 12:21:45 +01:00
i18nlangtag
i18npool tdf#120703 PVS: V560 A part of conditional expression is always true/false 2018-12-24 07:45:56 +01:00
i18nutil Fix typo in code 2018-12-20 08:49:50 +01:00
icon-themes Sync Breeze with Colibre icons 2018-12-24 22:27:07 +01:00
idl
idlc idlc: no need to store single OString objects on the heap 2018-12-22 08:16:55 +01:00
include tdf#121761, tdf#121952 Accurate ellipsequadrant in custom shape 2018-12-23 22:42:11 +01:00
instsetoo_native tdf#122302: Set status message when installing KB2999226 2018-12-24 09:25:12 +01:00
io use unique_ptr in io 2018-12-19 07:04:51 +01:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro Fix typo 2018-12-18 07:04:15 +01:00
m4
nlpsolver
o3tl
odk
offapi tdf#122152 set dialog parent 2018-12-17 22:06:35 +01:00
officecfg Related: tdf#103884 remove dangling menubar command 2018-12-18 17:03:56 +01:00
onlineupdate
oovbaapi
oox oox smartart, org chart: add initial hierChild/Root algorithms 2018-12-21 21:39:44 +01:00
opencl
osx
package
postprocess kde5: remove older kde/tde plugins, and references to that 2018-12-17 18:33:13 +01:00
pyuno
qadevOOo tdf#45904 Move XTableRows Java tests to C++ 2018-12-19 18:45:45 +01:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign tdf#42949 Fix IWYU warnings in include/vcl/[t-u]* 2018-12-20 12:36:41 +01:00
ridljar
sal
salhelper
sax
sc Simplify containers iterations in sc/source/ui/{view,xmlsource} 2018-12-25 18:36:29 +01:00
scaddins Simplify containers iterations in scaddins, sccomp, scripting 2018-12-20 08:15:54 +01:00
sccomp Simplify containers iterations in scaddins, sccomp, scripting 2018-12-20 08:15:54 +01:00
schema
scp2 tdf#122302: Set status message when installing KB2999226 2018-12-24 09:25:12 +01:00
scripting Restore original behavior of MasterScriptProvider::hasByName 2018-12-20 09:12:36 +01:00
sd tdf#122271 NB Impress use the wrong SpellDialog command 2018-12-22 21:52:38 +01:00
sdext use unique_ptr in sdext 2018-12-21 18:51:01 +01:00
setup_native tdf#122302: Set status message when installing KB2999226 2018-12-24 09:25:12 +01:00
sfx2 tdf#120703 PVS: V560 A part of conditional expression is always true/false 2018-12-24 07:45:56 +01:00
shell kde5: remove older kde/tde plugins, and references to that 2018-12-17 18:33:13 +01:00
slideshow
smoketest
solenv Fix typo in code 2018-12-21 08:48:10 +01:00
soltools
sot
starmath starmath: create SmFilterDetect instances with an uno constructor 2018-12-20 08:56:44 +01:00
stoc
store
svgio
svl
svtools tdf#42949 Fix IWYU warnings in include/vcl/[t-u]* 2018-12-20 12:36:41 +01:00
svx tdf#121761, tdf#121952 Accurate ellipsequadrant in custom shape 2018-12-23 22:42:11 +01:00
sw sw txtnode: code cleanup - triplicated code -> function 2018-12-26 07:32:02 +01:00
swext
sysui kde5: remove older kde/tde plugins, and references to that 2018-12-17 18:33:13 +01:00
test tdf#45904 Move XTableRows Java tests to C++ 2018-12-19 18:45:45 +01:00
testtools
toolkit
tools
translations@46a65ed743 Update git submodules 2018-12-19 18:09:48 +01:00
ucb use unique_ptr in ucb 2018-12-20 12:35:50 +01:00
ucbhelper
udkapi Fix typo 2018-12-26 09:07:24 +01:00
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui
vbahelper
vcl Try fixing VclComplexTextTest::testArabic by rescheduling 2018-12-25 11:41:16 +01:00
winaccessibility
wizards
writerfilter sw ooxmlimport: landscape <-> portrait ? not a continuous section 2018-12-25 05:32:31 +01:00
writerperfect
xmerge
xmlhelp use unique_ptr in xmlhelp 2018-12-21 18:51:34 +01:00
xmloff use unique_ptr in xmloff 2018-12-20 09:37:03 +01:00
xmlreader
xmlscript
xmlsecurity Fix signing empty Configurations2/accelerator/current.xml 2018-12-24 23:03:02 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore No more need to generate lo.xcent from lo.xcent.in 2018-12-18 09:37:00 +01:00
.gitmodules uset https:// instead of git:// for submodules 2018-12-20 19:52:51 +01:00
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in kde5: remove older kde/tde plugins, and references to that 2018-12-17 18:33:13 +01:00
config_host_lang.mk.in
configure.ac No more need to generate lo.xcent from lo.xcent.in 2018-12-18 09:37:00 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst graphite: update to 1.3.13 2018-12-21 09:09:21 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent No more need to generate lo.xcent from lo.xcent.in 2018-12-18 09:37:00 +01:00
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in No more need to generate lo.xcent from lo.xcent.in 2018-12-18 09:37:00 +01:00
README.cross
README.md
README.Solaris
Repository.mk Convert canvasdemo to gbuild 2018-12-20 14:13:23 +01:00
RepositoryExternal.mk kde5: remove older kde/tde plugins, and references to that 2018-12-17 18:33:13 +01: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 6 or CentOS 6
    • 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.