Test repository to check push and ssh key
Find a file
Andrea Gelmini 650a836d00 Fix typos
Change-Id: Iea3bd498b1c8934f37085bdf6df71b073e4a871c
Reviewed-on: https://gerrit.libreoffice.org/76203
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2019-07-23 22:19:26 +02:00
.git-hooks
accessibility cid#1448398 Dereference before null check 2019-07-23 09:33:28 +02:00
android
animations
apple_remote
avmedia avmedia: Drop 'wrap_*' functions 2019-07-22 17:40:50 +02:00
basctl loplugin:referencecasting in avmedia..basic 2019-07-19 12:22:43 +02:00
basegfx loplugin:referencecasting in avmedia..basic 2019-07-19 12:22:43 +02:00
basic cid#1448485 silence Copy-paste error 2019-07-22 16:51:30 +02:00
bean
bin tdf#125922 rename kde5 to kf5 + plasma5 2019-07-21 23:22:46 +02:00
binaryurp
bridges
canvas
chart2 cid#1451627 Division or modulo by float zero 2019-07-22 20:48:45 +02:00
cli_ure
codemaker
comphelper Don't draw gridlines and document background in Online server process 2019-07-23 15:54:48 +02:00
compilerplugins resurrect and improve loplugin:referencecasting 2019-07-23 13:51:18 +02:00
config_host tdf#125922 rename kde5 to kf5 + plasma5 2019-07-21 23:22:46 +02:00
configmgr
connectivity Fix typos 2019-07-20 04:17:41 +02:00
cppcanvas rhbz#1728763 black bg seen in renderer emfs 2019-07-23 17:16:38 +02:00
cppu
cppuhelper
cpputools
cui Improve some tip_of_the_day strings 2019-07-23 11:07:36 +02:00
dbaccess dispose() methods should clear their smart pointers 2019-07-23 06:46:13 +02:00
desktop Don't draw gridlines and document background in Online server process 2019-07-23 15:54:48 +02:00
dictionaries@86b4b5bfbf
distro-configs tdf#125922 rename kde5 to kf5 + plasma5 2019-07-21 23:22:46 +02:00
drawinglayer
dtrans Fix typo 2019-07-19 18:15:41 +02:00
editeng tdf#118370 Draw: add option to consolidate multiple textObjs 2019-07-22 06:07:29 +02:00
embeddedobj loplugin:referencecasting in embeddedobj 2019-07-19 21:49:20 +02:00
embedserv
emfio
eventattacher
extensions loplugin:referencecasting in extensions 2019-07-19 18:29:48 +02:00
external
extras
filter Resolves: tdf#126460 implement reading grayscale+alpha tiff format 2019-07-23 11:05:59 +02:00
forms loplugin:referencecasting in forms..fpicker 2019-07-19 18:29:34 +02:00
formula
fpicker loplugin:referencecasting in forms..fpicker 2019-07-19 18:29:34 +02:00
framework simplify framework image manager load/save code 2019-07-23 19:52:33 +02:00
helpcompiler
helpcontent2@68d866ef1b
hwpfilter
i18nlangtag
i18npool
i18nutil
icon-themes
idl
idlc
include Fix typo 2019-07-23 20:14:35 +02:00
instsetoo_native
io
ios
javaunohelper Fix typos 2019-07-20 04:17:41 +02:00
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent loplugin:referencecasting in various 2019-07-21 16:04:20 +02:00
linguistic loplugin:referencecasting in linguistic 2019-07-20 07:55:53 +02:00
lotuswordpro Fix typos 2019-07-20 04:17:41 +02:00
m4
nlpsolver
o3tl
odk Fix typos 2019-07-20 22:39:25 +02:00
offapi Fix typo 2019-07-21 08:28:37 +02:00
officecfg tdf#118370 Draw: add option to consolidate multiple textObjs 2019-07-22 06:07:29 +02:00
onlineupdate Fix typos 2019-07-23 22:19:26 +02:00
oovbaapi
oox Fix typos 2019-07-23 22:19:26 +02:00
opencl Fix typos 2019-07-23 22:19:26 +02:00
osx
package Fix typos 2019-07-23 22:19:26 +02:00
postprocess tdf#125922 rename kde5 to kf5 + plasma5 2019-07-21 23:22:46 +02:00
pyuno loplugin:referencecasting in oox..pyuno 2019-07-20 07:56:19 +02:00
qadevOOo Fix typos 2019-07-23 22:19:26 +02:00
readlicense_oo
registry close some more holes in structures 2019-07-23 06:46:41 +02:00
remotebridges
reportbuilder
reportdesign dispose() methods should clear their smart pointers 2019-07-23 06:46:13 +02:00
ridljar
sal
salhelper
sax close some more holes in structures 2019-07-23 06:46:41 +02:00
sc Don't draw gridlines and document background in Online server process 2019-07-23 15:54:48 +02:00
scaddins
sccomp
schema
scp2 tdf#125922 rename kde5 to kf5 + plasma5 2019-07-21 23:22:46 +02:00
scripting cid#1448376 SIC: Inner class could be made static 2019-07-23 09:34:53 +02:00
sd cid#1448269 Dereference null return value 2019-07-22 16:25:39 +02:00
sdext cid#1448446 Unchecked dynamic_cast 2019-07-23 10:19:51 +02:00
setup_native
sfx2 Patch fixes the image rendering issue of extension in NotebookBar 2019-07-22 06:36:27 +02:00
shell Simplify Sequence iterations in shell..svgio 2019-07-22 18:42:35 +02:00
slideshow Simplify Sequence iterations in shell..svgio 2019-07-22 18:42:35 +02:00
smoketest
solenv resurrect and improve loplugin:referencecasting 2019-07-23 13:51:18 +02:00
soltools
sot Simplify Sequence iterations in shell..svgio 2019-07-22 18:42:35 +02:00
starmath dispose() methods should clear their smart pointers 2019-07-23 06:46:13 +02:00
stoc Simplify Sequence iterations in shell..svgio 2019-07-22 18:42:35 +02:00
store
svgio Simplify Sequence iterations in shell..svgio 2019-07-22 18:42:35 +02:00
svl loplugin:referencecasting in slideshow..svtools 2019-07-21 08:49:01 +02:00
svtools dispose() methods should clear their smart pointers 2019-07-23 06:46:13 +02:00
svx dispose() methods should clear their smart pointers 2019-07-23 06:46:13 +02:00
sw crashtesting: failure on swfootnoteframe_colunlock_heap_use_after_free.sample 2019-07-23 21:08:21 +02:00
swext
sysui
test tdf#42949 Fix IWYU warnings in include/test 2019-07-23 14:16:09 +02:00
testtools
toolkit loplugin:referencecasting in test..toolkit 2019-07-21 08:49:13 +02:00
tools
translations@a6f6a9d0e6
ucb dispose() methods should clear their smart pointers 2019-07-23 06:46:13 +02:00
ucbhelper
udkapi
uitest
UnoControls loplugin:referencecasting in various 2019-07-21 16:04:20 +02:00
unodevtools
unoidl
unoil
unotest loplugin:referencecasting in unotools..uui 2019-07-21 08:49:56 +02:00
unotools loplugin:referencecasting in unotools..uui 2019-07-21 08:49:56 +02:00
unoxml loplugin:referencecasting in unotools..uui 2019-07-21 08:49:56 +02:00
ure
uui loplugin:referencecasting in unotools..uui 2019-07-21 08:49:56 +02:00
vbahelper tdf#42949 Fix IWYU warnings in include/vbahelper 2019-07-22 10:24:33 +02:00
vcl Avoid overflowing conversion from double to sal_Int32 2019-07-23 16:26:12 +02:00
winaccessibility
wizards cid#1448373 UC: Useless code 2019-07-23 09:33:48 +02:00
writerfilter tdf#126516 DOCX change tracking: fix paragraph style rejection 2019-07-23 17:57:10 +02:00
writerperfect Fix typo 2019-07-21 08:28:37 +02:00
xmerge
xmlhelp loplugin:referencecasting in writerfilter..xmlhelp 2019-07-21 08:50:50 +02:00
xmloff cid#1448305 silence Out-of-bounds access 2019-07-21 13:49:46 +02:00
xmlreader
xmlscript loplugin:referencecasting in various 2019-07-21 16:04:20 +02:00
xmlsecurity loplugin:referencecasting in xmlsecurity 2019-07-21 08:51:13 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in tdf#125922 rename kde5 to kf5 + plasma5 2019-07-21 23:22:46 +02:00
config_host_lang.mk.in
configure.ac Explicitly disable qt5 on Android 2019-07-22 01:40:40 +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
README.Solaris
Repository.mk tdf#125922 rename kde5 to kf5 + plasma5 2019-07-21 23:22:46 +02:00
RepositoryExternal.mk tdf#125922 rename kde5 to kf5 + plasma5 2019-07-21 23:22:46 +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.