Test repository to check push and ssh key
Find a file
Xisco Fauli 749c84a7ea list-uitest: update pathes after rearrenging tests
also change regex expression suggested by M. Kaganski

Change-Id: I9a93d2ebe6f486fcbaa201a983ded2087446d823
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104889
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-10-27 21:04:05 +01:00
.git-hooks
.github
accessibility
android
animations
apple_remote
avmedia
basctl
basegfx tdf#124176 Using pragma once instead of include guards 2020-10-24 23:19:21 +02:00
basic Put may succeed even if outer error is set 2020-10-27 11:35:18 +01:00
bean
bin list-uitest: update pathes after rearrenging tests 2020-10-27 21:04:05 +01:00
binaryurp
bridges
canvas
chart2 tdf#137505 OOXML Import: Custom shape in chart: fix font size 2020-10-26 09:15:00 +01:00
cli_ure
codemaker
comphelper
compilerplugins Teach loplugin:toolslong about curl_easy_getinfo 2020-10-27 10:14:28 +01:00
config_host
configmgr
connectivity
cppcanvas
cppu
cppuhelper
cpputools
cui Partially resolves: tdf#127279 Change "register-true" to "Page line-spacing" 2020-10-27 14:29:18 +01:00
dbaccess
desktop Missing call to curl_easy_cleanup (--enable-online-update=mar) 2020-10-23 17:05:16 +02:00
dictionaries@8cd579e3a6
distro-configs
drawinglayer switching long to a 64-bit type on 64-bit windows 2020-10-26 07:35:36 +01:00
editeng Resolves: tdf#137620 add DeleteSurroundingText at vcl::Window level 2020-10-27 17:00:59 +01:00
embeddedobj
embedserv
emfio tdf#137413 EMF import: fix transparency in the PDF fallback case 2020-10-27 11:20:46 +01:00
eventattacher
extensions loplugin:toolslong (--enable-online-update) 2020-10-26 11:39:45 +01:00
external
extras tdf#131510 fix German autocorrect list for 'daß' 2020-10-26 20:54:19 +01:00
filter tdf#137413 EMF import: fix transparency in the PDF fallback case 2020-10-27 11:20:46 +01:00
forms
formula
fpicker Resolves: tdf#137575 fpicker custom sorting setting not restored 2020-10-27 17:41:00 +01:00
framework
helpcompiler
helpcontent2@4d260d542e Update git submodules 2020-10-27 18:15:41 +01:00
hwpfilter
i18nlangtag
i18npool
i18nutil
icon-themes
idl
idlc
include Resolves: tdf#137620 add DeleteSurroundingText at vcl::Window level 2020-10-27 17:00:59 +01:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit Allow some spelling dictionaries for gtktiledviewer. 2020-10-26 08:51:07 +01:00
lingucomponent
linguistic
lotuswordpro ofz#26676 null deref 2020-10-27 14:14:20 +01:00
m4
nlpsolver
o3tl
odk
offapi
officecfg
onlineupdate
oovbaapi
oox tdf#137678 DOCX VML shape import: fix missing horizontal mirroring 2020-10-27 14:05:55 +01:00
opencl
osx
package
pch
postprocess
pyuno PyLong_AsLongAndOverflow returns long, and that's fine to use here 2020-10-23 17:16:06 +02:00
qadevOOo
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign long->tools::Long in pyuno..sd 2020-10-23 08:48:52 +02:00
ridljar
sal
salhelper
sax long->tools::Long in pyuno..sd 2020-10-23 08:48:52 +02:00
sc tdf#137726 hide pivot table dlg so its not a candidate as error dlg parent 2020-10-27 20:46:18 +01:00
scaddins
sccomp
schema
scp2
scripting
sd Resolves: tdf#137620 add DeleteSurroundingText at vcl::Window level 2020-10-27 17:00:59 +01:00
sdext
setup_native
sfx2 tdf#116214 Allow for scientific notation in Custom Properties 2020-10-27 16:04:35 +01:00
shell
slideshow
smoketest Remove unmaintained Executable_libtest 2020-10-26 14:50:25 +01:00
solenv Remove unmaintained Executable_libtest 2020-10-26 14:50:25 +01:00
soltools
sot
starmath CreateTextFromNode is gone 2020-10-23 16:20:20 +02:00
stoc
store
svgio
svl
svtools rhbz#1891326 suggest package install of the most appropiate pt langpack 2020-10-26 21:41:23 +01:00
svx Resolves: tdf#137620 add DeleteSurroundingText at vcl::Window level 2020-10-27 17:00:59 +01:00
sw Resolves: tdf#137620 add DeleteSurroundingText at vcl::Window level 2020-10-27 17:00:59 +01:00
swext
sysui
test
testtools
toolkit switching long to a 64-bit type on 64-bit windows 2020-10-26 07:35:36 +01:00
tools
translations@21ea3a68e4 Update git submodules 2020-10-27 15:04:09 +01:00
ucb switching long to a 64-bit type on 64-bit windows 2020-10-26 07:35:36 +01:00
ucbhelper
udkapi
uitest uitest: move all calc tests to sc/qa/uitest 2020-10-27 15:29:59 +01:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools UNOTOOLS : simplify AccessibleRelationHelper by removing useless impl pattern 2020-10-25 18:12:05 +01:00
unoxml
ure
uui switching long to a 64-bit type on 64-bit windows 2020-10-26 07:35:36 +01:00
vbahelper switching long to a 64-bit type on 64-bit windows 2020-10-26 07:35:36 +01:00
vcl tdf#133950 scale hotspot to sync with scaled cursors 2020-10-27 20:33:05 +01:00
winaccessibility
wizards
writerfilter DOCX import, altChunk: fix missing page break 2020-10-26 20:30:50 +01:00
writerperfect switching long to a 64-bit type on 64-bit windows 2020-10-26 07:35:36 +01:00
xmerge
xmlhelp
xmloff switching long to a 64-bit type on 64-bit windows 2020-10-26 07:35:36 +01:00
xmlreader
xmlscript
xmlsecurity switching long to a 64-bit type on 64-bit windows 2020-10-26 07:35:36 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac configure: pdfium is used during pdf sig verify 2020-10-26 15:30:33 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
hardened_runtime.xcent.in
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 Remove unmaintained Executable_libtest 2020-10-26 14:50:25 +01:00
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
setup.cfg
TEMPLATE.SOURCECODE.HEADER

LibreOffice

Coverity Scan Build Status CII Best Practices Translation status

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 2019 version 16.4
  • macOS:
    • Runtime: 10.10
    • Build: 10.14.4 + Xcode 11.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 and SDK 22.6.2

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.