Test repository to check push and ssh key
Find a file
Eike Rathke 2caa9d7ddc Resolves: tdf#127873 accept ',' comma group separator in number entities again
Existing documents unwittingly may have used that as decimal
separator in such locales (though it never was as this is always
the en-US locale).

"Regression" from

commit 9336286a7e
CommitDate: Fri Nov 30 22:15:22 2018 +0100

    [API CHANGE] Resolves: tdf#42518 new KParseTokens::GROUP_SEPARATOR_IN_NUMBER

Change-Id: I0ffc1b8ec7c1820fccd8277036c64093dddf82fe
Reviewed-on: https://gerrit.libreoffice.org/80023
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2019-10-02 17:21:04 +02:00
.git-hooks
.github
accessibility
android
animations
apple_remote
avmedia loplugin:stringconstant (clang-cl) 2019-10-01 13:19:04 +02:00
basctl add activates_default to GtkEntries in dialogs 2019-10-01 09:53:50 +02:00
basegfx
basic loplugin:data (clang-cl) 2019-10-01 13:20:30 +02:00
bean
bin drop gtk2 support 2019-09-30 16:53:32 +02:00
binaryurp
bridges
canvas loplugin:fragiledestructor (clang-cl) 2019-10-02 08:19:12 +02:00
chart2 tdf#127777 OOXML chart export: fix X axis position setting "CrossBetween" 2019-10-01 11:19:18 +02:00
cli_ure
codemaker loplugin:stringadd in basctl..cui 2019-10-01 09:22:23 +02:00
comphelper Implement parallel version of super-scalar-sample-sort... 2019-10-01 18:11:36 +02:00
compilerplugins new loplugin:stringadd 2019-10-02 11:22:27 +02:00
config_host drop gtk2 support 2019-09-30 16:53:32 +02:00
configmgr
connectivity loplugin:redundantcast (clang-cl) 2019-10-01 16:51:08 +02:00
cppcanvas
cppu loplugin:stringadd in basctl..cui 2019-10-01 09:22:23 +02:00
cppuhelper
cpputools
cui tdf#127711 - A runtime-switch for the MiniCrashDump 2019-10-02 09:43:12 +02:00
dbaccess Clarify that FB limit is not only about table names, but field names, too 2019-10-02 13:19:23 +02:00
desktop Unit test for removeTextContext. 2019-10-02 17:02:39 +02:00
dictionaries@e2f020e6e2
distro-configs Use --with-sytem-cairo for the ASan+UBSan tinderbox again 2019-10-01 23:02:37 +02:00
drawinglayer
dtrans loplugin:stringconstant (clang-cl) 2019-10-01 13:19:04 +02:00
editeng Avoid redundant IsAtEnd: NextItem returns nullptr iif iterator is at end 2019-10-01 06:33:11 +02:00
embeddedobj loplugin:logexceptionnicely (clang-cl) 2019-10-01 23:03:19 +02:00
embedserv -Werror,-Wmicrosoft-exception-spec (clang-cl) 2019-10-02 08:18:57 +02:00
emfio ofz#17817 avoid OOM 2019-09-30 14:33:52 +02:00
eventattacher
extensions -Werror,-Wmicrosoft-exception-spec (clang-cl) 2019-10-02 08:18:57 +02:00
external Resolves: tdf#127887 Fix libwps wrong Lotus version detection 2019-10-02 11:23:03 +02:00
extras weld DbaIndexDialog 2019-09-29 15:05:33 +02:00
filter Avoid unnecessary iterations in for loop 2019-10-01 21:56:25 +02:00
forms
formula
fpicker loplugin:fragiledestructor (clang-cl) 2019-10-02 08:19:12 +02:00
framework Refactoring of the class CrashReporter 2019-10-02 07:10:50 +02:00
helpcompiler loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
helpcontent2@aa45ded698 Update git submodules 2019-10-01 15:00:45 +02:00
hwpfilter loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
i18nlangtag loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
i18npool
i18nutil
icon-themes
idl
idlc loplugin:data (clang-cl) 2019-10-01 13:20:30 +02:00
include Ensure that 'input' events are processed asynchronously too. 2019-10-02 16:53:43 +02:00
instsetoo_native tdf#127711 - A runtime-switch for the MiniCrashDump 2019-10-02 09:43:12 +02:00
io loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
l10ntools loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
librelogo
libreofficekit jsdialogs: add callback LOK_CALLBACK_JSDIALOG 2019-09-30 11:25:23 +02:00
lingucomponent loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
linguistic loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
lotuswordpro loplugin:stringadd in helpcompiler..oox 2019-10-01 08:26:49 +02:00
m4
nlpsolver
o3tl
odk
offapi
officecfg
onlineupdate drop gtk2 support 2019-09-30 16:53:32 +02:00
oovbaapi
oox tdf#127901: pptx export image greyscale, watermark, black/white 2019-10-02 11:30:58 +02:00
opencl
osx
package loplugin:stringadd in package..sax 2019-10-01 10:51:39 +02:00
postprocess
pyuno
qadevOOo
readlicense_oo
registry loplugin:stringadd in package..sax 2019-10-01 10:51:39 +02:00
remotebridges
reportbuilder
reportdesign loplugin:stringadd in package..sax 2019-10-01 10:51:39 +02:00
ridljar
sal loplugin:data (clang-cl) 2019-10-01 13:20:30 +02:00
salhelper
sax loplugin:stringadd in package..sax 2019-10-01 10:51:39 +02:00
sc Resolves: tdf#127924 give hyperlink tooltip an area 2019-10-02 17:14:36 +02:00
scaddins loplugin:stringadd in sc 2019-10-01 08:26:52 +02:00
sccomp
schema
scp2 tdf#127711 - A runtime-switch for the MiniCrashDump 2019-10-02 09:43:12 +02:00
scripting loplugin:stringadd in sc 2019-10-01 08:26:52 +02:00
sd LOK: disable LOKit in unit-tests only after destroying all 2019-10-02 16:50:13 +02:00
sdext
setup_native
sfx2 Ensure that 'input' events are processed asynchronously too. 2019-10-02 16:53:43 +02:00
shell -Werror,-Wmicrosoft-exception-spec (clang-cl) 2019-10-02 08:18:57 +02:00
slideshow
smoketest
solenv new loplugin:stringadd 2019-10-02 11:22:27 +02:00
soltools
sot loplugin:stringadd n sfx2..svl 2019-10-01 10:46:15 +02:00
starmath Resolves: tdf#127873 accept ',' comma group separator in number entities again 2019-10-02 17:21:04 +02:00
stoc
store
svgio
svl Avoid std::vector inheritance for SfxAllEnumValueArr 2019-10-02 13:57:54 +02:00
svtools loplugin:stringadd in svtools 2019-10-02 08:01:19 +02:00
svx extend popup handler to cover all CommandEvents 2019-10-02 14:20:57 +02:00
sw Resolves: tdf#127924 give hyperlink tooltip an area 2019-10-02 17:14:36 +02:00
swext
sysui
test
testtools
toolkit
tools loplugin:stringadd in tools..unotools 2019-10-02 08:01:38 +02:00
translations@1416d2d6d4
ucb loplugin:stringadd in tools..unotools 2019-10-02 08:01:38 +02:00
ucbhelper
udkapi
uitest uitest: share some code. 2019-10-02 16:50:05 +02:00
UnoControls loplugin:duplicate-defines in UnoControls 2019-09-30 13:12:43 +02:00
unodevtools
unoidl
unoil
unotest WTF "WTF 255 return value?" 2019-10-02 15:24:39 +02:00
unotools loplugin:stringadd in tools..unotools 2019-10-02 08:01:38 +02:00
unoxml
ure
uui
vbahelper new loplugin:stringadd 2019-10-02 11:22:27 +02:00
vcl Resolves: tdf#127904 modal depth dips below 0 2019-10-02 17:14:55 +02:00
winaccessibility -Werror,-Wmicrosoft-exception-spec (clang-cl) 2019-10-02 08:18:57 +02:00
wizards
writerfilter loplugin:stringadd in writerfilter..xmloff 2019-10-02 08:47:24 +02:00
writerperfect On Windows, Library_wpftwriter indirectly references Bcrypt.lib 2019-10-02 11:25:35 +02:00
xmerge
xmlhelp
xmloff tdf#42949 Fix IWYU warnings in xmloff/source/[s-x]*/*cxx 2019-10-02 11:06:09 +02:00
xmlreader
xmlscript loplugin:stringadd in writerfilter..xmloff 2019-10-02 08:47:24 +02:00
xmlsecurity loplugin:stringconstant (clang-cl) 2019-10-01 13:19:04 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in tdf#127711 - A runtime-switch for the MiniCrashDump 2019-10-02 09:43:12 +02:00
config_host_lang.mk.in
configure.ac tdf#127711 - A runtime-switch for the MiniCrashDump 2019-10-02 09:43:12 +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 drop gtk2 support 2019-09-30 16:53:32 +02:00
RepositoryExternal.mk gbuild: treat $(DCONF_CFLAGS) as includes, not defines 2019-10-01 07:44:10 +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 version 15.7
  • 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
  • Android:
    • Build: NDK r19c

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.