Test repository to check push and ssh key
Find a file
Xisco Fauli 713fcfae06 uitest: move all calc tests to sc/qa/uitest
and remove a few duplicated ones

Change-Id: I409ca78dcd7a67e993f6b3a1493ffa6fefd127b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104864
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-10-27 15:29:59 +01:00
.git-hooks set all .ui min require version of gtk to 3.20 2020-10-22 22:27:50 +02:00
.github
accessibility use tools::Long in accessibility..basctl 2020-10-21 14:34:01 +02:00
android
animations
apple_remote
avmedia use tools::Long in accessibility..basctl 2020-10-21 14:34:01 +02:00
basctl set all .ui min require version of gtk to 3.20 2020-10-22 22:27:50 +02:00
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 Add libgobject to gstreamer allowed libs... 2020-10-27 12:06:50 +01:00
binaryurp
bridges
canvas use tools::Long in basegfx..chart2 2020-10-21 15:34:16 +02:00
chart2 tdf#137505 OOXML Import: Custom shape in chart: fix font size 2020-10-26 09:15:00 +01:00
cli_ure
codemaker
comphelper use tools::Long in comphelper..cui 2020-10-21 14:33:39 +02:00
compilerplugins Teach loplugin:toolslong about curl_easy_getinfo 2020-10-27 10:14:28 +01:00
config_host
configmgr
connectivity Fix typos 2020-10-21 20:37:07 +02:00
cppcanvas use tools::Long in comphelper..cui 2020-10-21 14:33:39 +02:00
cppu
cppuhelper
cpputools
cui Partially resolves: tdf#127279 Change "register-true" to "Page line-spacing" 2020-10-27 14:29:18 +01:00
dbaccess set all .ui min require version of gtk to 3.20 2020-10-22 22:27:50 +02:00
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 std::unique_ptr -> std::optional 2020-10-26 13:01:53 +01:00
embeddedobj
embedserv clang-cl: Adapt Windows-specific code to extended loplugin:cstylecast 2020-10-19 22:01:31 +02:00
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 external/cairo: Support building with ASan/UBSan 2020-10-20 22:16:54 +02:00
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 long->tools::Long in forms..framework 2020-10-22 08:06:43 +02:00
formula set all .ui min require version of gtk to 3.20 2020-10-22 22:27:50 +02:00
fpicker set all .ui min require version of gtk to 3.20 2020-10-22 22:27:50 +02:00
framework Resolves tdf#137607 and tdf#137500 - Improvements to TotD 2020-10-22 11:50:39 +02:00
helpcompiler
helpcontent2@934cd73d20 Update git submodules 2020-10-27 13:21:58 +01:00
hwpfilter long->tools::Long in hwpfilter..oox 2020-10-22 08:08:05 +02:00
i18nlangtag long->tools::Long in hwpfilter..oox 2020-10-22 08:08:05 +02:00
i18npool long->tools::Long in hwpfilter..oox 2020-10-22 08:08:05 +02:00
i18nutil long->tools::Long in hwpfilter..oox 2020-10-22 08:08:05 +02:00
icon-themes tdf#137520 shrink some text glyphs in icons 2020-10-22 17:52:22 +02:00
idl
idlc
include Other part to resolve: tdf#127279 Change Search attribute 2020-10-27 14:31:42 +01:00
instsetoo_native
io long->tools::Long in hwpfilter..oox 2020-10-22 08:08:05 +02:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk Only read Java settings files in application mode 2020-10-22 07:40:07 +02:00
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 XmlFilterAdaptor: use the fastparser API when possible 2020-10-22 09:12:24 +02:00
officecfg Resolves tdf#137607 and tdf#137500 - Improvements to TotD 2020-10-22 11:50:39 +02:00
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 set all .ui min require version of gtk to 3.20 2020-10-22 22:27:50 +02:00
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 uitest: move all calc tests to sc/qa/uitest 2020-10-27 15:29:59 +01:00
scaddins
sccomp
schema
scp2
scripting
sd Don't insert hyperlink outside the page 2020-10-26 14:19:41 +01:00
sdext
setup_native
sfx2 tdf#136555 apply window bg color for button boxes 2020-10-27 10:50:59 +01:00
shell
slideshow long->tools::Long in slideshow..starmath 2020-10-22 08:08:55 +02:00
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 long->tools::Long in slideshow..starmath 2020-10-22 08:08:55 +02:00
starmath CreateTextFromNode is gone 2020-10-23 16:20:20 +02:00
stoc
store
svgio
svl new tools::Degree10 strong typedef 2020-10-21 08:13:05 +02:00
svtools rhbz#1891326 suggest package install of the most appropiate pt langpack 2020-10-26 21:41:23 +01:00
svx std::unique_ptr -> std::optional 2020-10-26 16:48:42 +01:00
sw Other part to resolve: tdf#127279 Change Search attribute 2020-10-27 14:31:42 +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 new tools::Degree10 strong typedef 2020-10-21 08:13:05 +02:00
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#137413 EMF import: fix transparency in the PDF fallback case 2020-10-27 11:20:46 +01:00
winaccessibility clang-cl: Adapt Windows-specific code to extended loplugin:cstylecast 2020-10-19 22:01:31 +02:00
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 tdf#137652 fix XDL import: no more missing empty items for combobox 2020-10-22 16:30:48 +02:00
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 put clang-format commits to .git-blame-ignore-revs 2020-10-18 22:35:07 +02:00
.gitattributes
.gitignore
.gitmodules gitmodules: use relative paths 2020-10-21 21:51:54 +02:00
.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.