Test repository to check push and ssh key
Find a file
Caolán McNamara 899737e6e4 stray unwanted 'relief' property on random checkbox
Change-Id: Id942f88780d4f697df44433180343ca3c763ed67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117321
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 17:26:34 +02:00
.git-hooks
.github
.vscode
accessibility vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
android tdf#142618 android: Don't crash when passed MIME type is null 2021-06-13 20:49:21 +02:00
animations
apple_remote -Werror,-Wunused-but-set-variable (Clang 13 trunk) 2021-06-10 15:52:51 +02:00
avmedia
basctl vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
basegfx basegfx: use namespace for "ftools", make sure input is FP number 2021-06-16 10:47:27 +02:00
basic vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
bean
bin remove deprecated Expander spacing property 2021-06-15 09:46:13 +02:00
binaryurp Revert "improve logging message" 2021-06-07 22:05:23 +02:00
bridges
canvas fix big-endian code 2021-06-15 10:21:30 +02:00
chart2 tdf#59323: pptx import: import footer fields as properties 2021-06-16 14:32:41 +02:00
cli_ure
codemaker
comphelper Fix syntax error in the "arguments" of a TraceEvent 2021-06-09 13:53:49 +02:00
compilerplugins Adapt compilerplugins to LLVM 13 APSInt::toString change 2021-06-14 15:13:56 +02:00
config_host HAVE_FIREBIRD_30 is not used anymore 2021-06-10 14:07:16 +02:00
configmgr
connectivity Simplify vector initializations 2021-06-11 18:12:48 +02:00
cppcanvas Simplify Sequences initializations (cppcanvas) 2021-06-08 13:20:39 +02:00
cppu Elide trivial TypeDescriptor_Init_Impl::getMutex 2021-06-14 17:08:54 +02:00
cppuhelper
cpputools
cui stray unwanted 'relief' property on random checkbox 2021-06-16 17:26:34 +02:00
dbaccess vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
desktop Add Active App Name Field To Crash Report 2021-06-16 14:45:35 +02:00
dictionaries@29eb293030 Update git submodules 2021-06-02 22:31:54 +02:00
distro-configs Enable PdfIum for android build 2021-06-04 10:38:48 +02:00
drawinglayer "drawinglayer" -> "drawinglayer.emf" log area for some emf code 2021-06-11 10:18:55 +02:00
editeng tdf#130428 remove unnecessary usage of SfxItemState::UNKNOWN 2021-06-11 09:40:32 +02:00
embeddedobj Simplify Sequences initializations (desktop/e*/filter/forms/formula/fpicker) 2021-06-08 17:08:06 +02:00
embedserv
emfio drop EMF+ also when converting WMF, not just EMF 2021-06-11 23:59:32 +02:00
eventattacher Simplify Sequences initializations (desktop/e*/filter/forms/formula/fpicker) 2021-06-08 17:08:06 +02:00
extensions only one of the radiobuttons in a group should be active 2021-06-14 13:37:27 +02:00
external use freshly compiled dump_syms.exe on windows for symbolinfo extraction 2021-06-11 17:05:08 +02:00
extras tdf#127028 "bpmn" template should have ext. otg instead of ott 2021-06-07 12:25:29 +02:00
filter only one of the radiobuttons in a group should be active 2021-06-14 09:44:03 +02:00
forms Simplify Sequences initializations (desktop/e*/filter/forms/formula/fpicker) 2021-06-08 17:08:06 +02:00
formula Simplify Sequences initializations (desktop/e*/filter/forms/formula/fpicker) 2021-06-08 17:08:06 +02:00
fpicker Simplify Sequence/vector initializations 2021-06-11 18:55:00 +02:00
framework remove some unnecessary LanguageType copies 2021-06-15 10:21:58 +02:00
helpcompiler
helpcontent2@b5bc9b53c3 Update git submodules 2021-06-15 12:54:25 +02:00
hwpfilter
i18nlangtag
i18npool We only support ICU version 4.6 or newer, so drop these checks 2021-06-14 15:26:23 +02:00
i18nutil We only support ICU version 4.6 or newer, so drop these checks 2021-06-14 15:26:23 +02:00
icon-themes
idl
idlc
include tdf#59323: pptx export: add initial support for lstStyles in textboxes 2021-06-16 15:01:19 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools -Werror,-Wunused-but-set-variable (Clang 13 trunk) 2021-06-03 16:13:24 +02:00
librelogo
libreofficekit
lingucomponent -Werror,-Wunused-but-set-variable (Clang 13 trunk) 2021-06-10 17:35:59 +02:00
linguistic Simplify Sequences initializations (i*->p*) 2021-06-09 10:49:26 +02:00
lotuswordpro
m4
nlpsolver Fewer array reference calls make the code more readable and more efficient. 2021-06-15 06:03:52 +02:00
o3tl allow altering the max size of o3tl::lru_cache 2021-06-09 21:20:09 +02:00
odk
offapi Fix typos 2021-06-09 07:42:08 +02:00
officecfg Resolves tdf#142499 - Make fat cross cursor optional 2021-06-15 15:03:24 +02:00
onlineupdate
oovbaapi
oox tdf#59323: pptx export: add initial support for lstStyles in textboxes 2021-06-16 15:01:19 +02:00
opencl
osx
package dtd files are not xml files and shouldn't have xml headers 2021-06-09 12:41:53 +02:00
pch
postprocess
pyuno
qadevOOo Explicitly set ForceFocusAndToFront to false for unit tests 2021-06-04 16:59:07 +02:00
readlicense_oo update credits 2021-06-04 16:23:19 +02:00
registry
remotebridges
reportbuilder
reportdesign vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
ridljar
sal
salhelper
sax
sc uitest: sc: use guarded wrapper in test 2021-06-15 21:27:39 +02:00
scaddins
sccomp Simplify Sequences initializations (sccomp) 2021-06-09 19:57:11 +02:00
schema schema: update to ODF 1.3 OS 2021-06-10 19:07:36 +02:00
scp2
scripting
sd tdf#59323: pptx export: slide footers roundtrip unit test 2021-06-16 15:06:12 +02:00
sdext Simplify vector initializations 2021-06-11 18:12:48 +02:00
setup_native
sfx2 Add Active App Name Field To Crash Report 2021-06-16 14:45:35 +02:00
shell
slideshow vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
smoketest
solenv Adapt to flatpak-builder 1.0.14 split "dest" + "dest-filename" 2021-06-15 21:29:28 +02:00
soltools
sot Simplify Sequence/vector initializations 2021-06-11 18:55:00 +02:00
starmath vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
stoc Simplify Sequences initializations (sot/stock/svl/svtools/svx) 2021-06-10 08:30:12 +02:00
store
svgio
svl Assert on valid order of which ids in ranges on SfxItemSet creation 2021-06-13 19:23:28 +02:00
svtools Only look for semicolon if colon is found 2021-06-14 15:39:09 +02:00
svx xalign of 0.5 is already the default 2021-06-16 16:44:38 +02:00
sw tdf#142404 DOCX c15: line full before out-of-bounds TabOverSpacing 2021-06-16 16:53:47 +02:00
swext
sysui math.desktop include "Spreadsheet" category 2021-06-11 11:10:29 +02:00
test schema: update to ODF 1.3 OS 2021-06-10 19:07:36 +02:00
testtools
toolkit
tools ofz#33769 Integer-overflow 2021-06-03 13:37:36 +02:00
translations@47d2e3a3e6 Update git submodules 2021-06-13 17:16:51 +02:00
ucb Simplify Sequences initializations (ucb) 2021-06-11 14:57:41 +02:00
ucbhelper
udkapi
uitest editengine-columns: Create document model and dialog page 2021-06-08 14:50:33 +02:00
UnoControls
unodevtools -Werror,-Wunused-but-set-variable (Clang 13 trunk) 2021-06-03 15:16:27 +02:00
unoidl
unoil
unotest
unotools tdf#142242 Forename imported with trailing space 2021-06-13 13:18:59 +02:00
unoxml
ure
uui tdf#66553 - Add file/product name to title bar for password managers 2021-06-09 21:45:53 +02:00
vbahelper vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
vcl gtk4: reenable some more working dialogs 2021-06-16 15:01:40 +02:00
wasm-qt
winaccessibility
wizards ScriptForge - (scriptforge.py) add reference to SF/Python help page 2021-06-11 18:30:09 +02:00
writerfilter Remove some unused includes 2021-06-15 09:05:02 +02:00
writerperfect Simplify Sequences initializations (writerfilter/writerperfect/x*) 2021-06-11 16:03:10 +02:00
xmerge dtd files are not xml files and shouldn't have xml headers 2021-06-09 12:41:53 +02:00
xmlhelp Simplify Sequences initializations (writerfilter/writerperfect/x*) 2021-06-11 16:03:10 +02:00
xmloff Simplify Sequences initializations (writerfilter/writerperfect/x*) 2021-06-11 16:03:10 +02:00
xmlreader
xmlscript Simplify Sequences initializations (writerfilter/writerperfect/x*) 2021-06-11 16:03:10 +02:00
xmlsecurity Simplify Sequences initializations (writerfilter/writerperfect/x*) 2021-06-11 16:03:10 +02: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 bump product version to 7.3.0.0.alpha0+ 2021-06-13 17:27:33 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in use freshly compiled dump_syms.exe on windows for symbolinfo extraction 2021-06-11 17:05:08 +02:00
README.cross
README.md
README.Solaris
README.wasm
Repository.mk
RepositoryExternal.mk fix packaging on mac/linux re cairo/pixman 2021-06-08 23:26:06 +02:00
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.5
  • 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
  • Emscripten / WASM:
    • Runtime: a browser with SharedMemory support (threads + atomics)
    • Build: Qt 5.15 with Qt supported Emscripten 1.39.8
    • See README.wasm

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.md 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.md 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.libera.chat - 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.