Test repository to check push and ssh key
Find a file
Caolán McNamara c5fc7dd447 tdf#129134 ApplicationColors Scrolled List moves too little
Change-Id: I5cb6ac017f1d2a916297676724d523634afb2020
Reviewed-on: https://gerrit.libreoffice.org/84252
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-03 09:56:32 +01:00
.git-hooks
.github
accessibility Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
android android: Fix linking of liblo-native-code.so on aarch64. 2019-12-02 09:14:37 +01:00
animations
apple_remote
avmedia loplugin:mergeclasses SoundHandler 2019-11-30 21:34:29 +01:00
basctl Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
basegfx
basic Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
bean
bin make update_pch work again 2019-12-01 22:19:44 +01:00
binaryurp
bridges bridges arm64: Use [[falltrough]]. 2019-12-02 11:34:25 +01:00
canvas Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
chart2 tdf#129054 Chart OOXML Import: Fix size of Pie Chart 2019-12-02 08:30:33 +01:00
cli_ure
codemaker
comphelper Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
compilerplugins desktop: disable callback handling while changing the view 2019-12-03 09:47:25 +01:00
config_host android: Introduce --enable-android-lok configure switch to fix RGB vs. BGR. 2019-11-27 15:52:35 +01:00
configmgr
connectivity Simplify SQLError::ParamValue to just o3tl::optional<OUString> 2019-12-02 17:48:06 +01:00
cppcanvas Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
cppu cppcheck: performing init in init list (comphelper/connectivity/cppu/cui) 2019-11-23 23:51:35 +01:00
cppuhelper
cpputools
cui tdf#129134 ApplicationColors Scrolled List moves too little 2019-12-03 09:56:32 +01:00
dbaccess use weld::WaitObject 2019-12-02 09:52:29 +01:00
desktop Make OpenCLMinimumDataSize configuration property non-nillable 2019-12-03 09:50:24 +01:00
dictionaries@4fb010374f
distro-configs Disable skia for online 2019-11-29 07:25:28 +01:00
drawinglayer handle properly true 32bit bitmaps in some places 2019-11-27 09:55:18 +01:00
dtrans loplugin:consttobool (clang-cl) 2019-11-26 16:45:19 +01:00
editeng tdf#42949 Replace property_tre/ptree.hpp with fw declaration header 2019-12-02 17:13:44 +01:00
embeddedobj
embedserv loplugin:consttobool (clang-cl) 2019-11-26 16:45:19 +01:00
emfio Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
eventattacher
extensions Fix compilation with make -- dbglevel=2 2019-12-03 07:12:36 +01:00
external android: Fix nss build on aarch64. 2019-12-02 13:30:50 +01:00
extras Resolves tdf# 129052 - Misspelled gradient 2019-11-27 11:02:03 +01:00
filter ofz#19207 check max strlen possible 2019-12-02 18:11:34 +01:00
forms Use initializer set instead of using several inserts (forms/Columns) 2019-12-03 07:15:03 +01:00
formula mark with override 2019-11-22 15:11:14 +01:00
fpicker tdf#43021 WIN opt-out of OS recent folder usage 2019-11-26 23:24:22 +01:00
framework Disable macro menu entries when DisableMacrosExecution is set 2019-12-02 18:28:31 +01:00
helpcompiler cid#1448239 unsafe_xml_parse_config 2019-11-22 15:31:07 +01:00
helpcontent2@ccbdf9f943 Update git submodules 2019-12-02 17:22:02 +01:00
hwpfilter cppcheck: performing init in init list (hwpfilter, i., l.) 2019-11-24 21:46:23 +01:00
i18nlangtag Resolves: tdf#129045 add Guadeloupean Creole French [gcf-GP] to language list 2019-11-28 02:43:25 +01:00
i18npool cppcheck: performing init in init list (hwpfilter, i., l.) 2019-11-24 21:46:23 +01:00
i18nutil
icon-themes Colibre: content tilting 2019-11-28 04:11:07 +01:00
idl
idlc Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
include tdf#129134 ApplicationColors Scrolled List moves too little 2019-12-03 09:56:32 +01:00
instsetoo_native MSI: Disable creation of system restore points during installation 2019-11-30 14:24:14 +01:00
io cppcheck: performing init in init list (hwpfilter, i., l.) 2019-11-24 21:46:23 +01:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
l10ntools
librelogo
libreofficekit Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
lingucomponent cppcheck: performing init in init list (hwpfilter, i., l.) 2019-11-24 21:46:23 +01:00
linguistic cppcheck: performing init in init list (hwpfilter, i., l.) 2019-11-24 21:46:23 +01:00
lotuswordpro cppcheck: performing init in init list (hwpfilter, i., l.) 2019-11-24 21:46:23 +01:00
m4
nlpsolver
o3tl
odk
offapi tdf#108642 load accessibility children faster 2019-11-27 10:28:52 +01:00
officecfg Make OpenCLMinimumDataSize configuration property non-nillable 2019-12-03 09:50:24 +01:00
onlineupdate
oovbaapi Fix typo 2019-11-26 20:01:51 +01:00
oox tdf#128429 VML import: let mso-layout-flow-alt:bottom-to-top imply vertical 2019-12-03 09:22:41 +01:00
opencl Remove unused OpenCLEnv::mpOclCmdQueue 2019-11-26 19:46:06 +01:00
osx
package check crcs when fuzzing after all 2019-11-28 16:51:22 +01:00
pch Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
postprocess tdf#128974: TB Addressbook not available directly as existing database (Win) 2019-11-29 09:10:38 +01:00
pyuno make some classes module-private 2019-11-22 20:31:27 +01:00
qadevOOo
readlicense_oo initial build of the Skia library 2019-11-27 09:55:05 +01:00
registry
remotebridges
reportbuilder
reportdesign use weld::WaitObject 2019-12-02 09:52:29 +01:00
ridljar
sal WIN map ERROR_DIRECTORY to osl_File_E_NOTDIR 2019-12-03 09:08:59 +01:00
salhelper
sax Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
sc Make OpenCLMinimumDataSize configuration property non-nillable 2019-12-03 09:50:24 +01:00
scaddins tdf#129098: parameters mixed in OPT_PROB_INMONEY (scaddins) 2019-11-29 20:20:12 +01:00
sccomp
schema tdf#123206 Import/Export chart custom label text 2019-11-29 16:44:12 +01:00
scp2
scripting cppcheck: performing init in init list (sc/scripting/sd) 2019-11-24 22:52:21 +01:00
sd Use SAL_STRINGIFY 2019-12-03 08:51:15 +01:00
sdext Remove unused Dispatch::Action 2019-11-27 08:55:49 +01:00
setup_native loplugin:consttobool (clang-cl) 2019-11-26 16:45:19 +01:00
sfx2 Don't disable "Send doc via email" when LockExport is set 2019-12-02 20:54:20 +01:00
shell loplugin:consttobool (clang-cl) 2019-11-26 16:45:19 +01:00
slideshow Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
smoketest
solenv unused suppression 2019-12-02 09:52:10 +01:00
soltools
sot cppcheck: performing init in init list (sot/svl/svtools/svx) 2019-11-24 00:26:41 +01:00
starmath Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
stoc Fix for 2 commits related to cppcheck: 2019-11-26 23:31:56 +01:00
store cppcheck: performing init in init list (sfx2/slideshow/stoc/store) 2019-11-23 23:38:07 +01:00
svgio Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
svl tdf#42949 Replace property_tre/ptree.hpp with fw declaration header 2019-12-02 17:13:44 +01:00
svtools Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
svx lok: shape selection: perform the needed unit conversion in a clever way 2019-12-03 09:46:20 +01:00
sw lok: calc - store zoom in the view itself. 2019-12-03 09:46:06 +01:00
swext
sysui
test
testtools
toolkit Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
tools
translations@6d4072204c
ucb Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
unoxml Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
ure
uui Remove nonsense check 2019-11-30 02:50:41 +01:00
vbahelper Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
vcl tdf#129134 ApplicationColors Scrolled List moves too little 2019-12-03 09:56:32 +01:00
winaccessibility loplugin:external (clang-cl) 2019-11-26 17:43:53 +01:00
wizards
writerfilter revert obsolete writerfilter hacks for tdf#119054 and tdf#128752 2019-12-02 11:00:25 +01:00
writerperfect
xmerge
xmlhelp loplugin:mergeclasses treeview::TreeFileIterator 2019-12-01 08:37:44 +01:00
xmloff tdf#123206 Import/Export chart custom label text 2019-11-29 16:44:12 +01:00
xmlreader
xmlscript Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
xmlsecurity boost::optional: replace uses of get_value_or with value_or 2019-12-01 13:58:49 +01: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 android: Introduce --enable-android-lok configure switch to fix RGB vs. BGR. 2019-11-27 15:52:35 +01:00
config_host_lang.mk.in
configure.ac android: Fix location of the built freetype library. 2019-12-02 12:25:00 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst update Skia to chrome-m79 2019-11-27 09:55:09 +01:00
g
hardened_runtime.xcent
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch initial build of the Skia library 2019-11-27 09:55:05 +01:00
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk make SkiaSalGraphicsImpl use GPU-backed SkSurface also for offscreen 2019-11-27 09:55:16 +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 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 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 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.