Test repository to check push and ssh key
Find a file
Michael Weghorn 95e2e5190c wina11y: Rename IsSpecialToolboItem -> IsSpecialToolbarItem
Change-Id: I972a65783fcb481e91db68e6e58124d46f78ee66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130698
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-02-28 17:43:04 +01:00
.git-hooks
.github
.vscode
accessibility a11y: Simplify AccessibleGridControlTable::getAccessibleCellAt 2022-02-24 07:21:12 +01:00
android
animations
apple_remote
avmedia gtk4: get getPreferredPlayerWindowSize working 2022-02-21 09:37:49 +01:00
basctl Advanced Diagram support: cleanup/consolidate with existing code 2022-02-25 09:48:14 +01:00
basegfx
basic cid#707501 Uninitialized scalar variable 2022-02-28 15:44:21 +01:00
bean
bin Adapt CustomTarget_postprocess/check_dynamic_objects to --enable-gtk4 2022-02-22 07:56:24 +01:00
binaryurp
bridges
canvas
chart2 use SfxItemSet::GetItemIfSet in chart2 2022-02-28 11:00:05 +01:00
cli_ure
codemaker
comphelper
compilerplugins Don't use Library_tl in URE libraries 2022-02-25 08:20:55 +01:00
config_host
configmgr
connectivity cid#1500397 silence Resource leak 2022-02-28 17:00:32 +01:00
cppcanvas
cppu
cppuhelper address review comments for "Add XWeak constructor..." 2022-02-28 11:25:58 +01:00
cpputools
cui add translator notes for "Key", the K of the CYMK color model 2022-02-27 20:57:39 +01:00
dbaccess Add XWeak constructor and operator= to uno::WeakReference 2022-02-22 12:27:55 +01:00
desktop make sure that LOK "updated types" start a timer as well 2022-02-25 14:41:25 +01:00
dictionaries@5314824424
distro-configs
drawinglayer check if cast is to the right type 2022-02-28 16:26:02 +01:00
editeng use more SfxItemSet::CloneAsValue 2022-02-27 19:42:58 +01:00
embeddedobj
embedserv
emfio
eventattacher
extensions
external Drop support for $host_os = 'macos*', in addition to 'darwin*' 2022-02-25 13:45:38 +01:00
extras
filter SdrLayerID must be based on sal_Int16 2022-02-23 16:00:28 +01:00
forms use more TypedWhichId 2022-02-24 19:31:38 +01:00
formula
fpicker
framework tdf#45904 Move XElementAccess Java test to C++ 2022-02-28 06:27:21 +01:00
helpcompiler
helpcontent2@dd0acce907 Update git submodules 2022-02-26 23:11:30 +01:00
hwpfilter cid#1501377 Dereference after null check 2022-02-28 14:00:35 +01:00
i18nlangtag
i18npool Remove redundant _test from i18npool/CppunitTest* 2022-02-28 08:49:26 +01:00
i18nutil
icon-themes Colibre: tdf#137520 Revise Text Capitalization, color and Strikethrough icons 2022-02-28 02:27:03 +01:00
idl
idlc
include address review comments for "Add XWeak constructor..." 2022-02-28 11:25:58 +01:00
instsetoo_native tdf#135233: Useless looking translatable string: "error text goes here" 2022-02-27 23:02:15 +01:00
io Don't use Library_tl in URE libraries 2022-02-25 08:20:55 +01:00
ios
javaunohelper Don't use Library_tl in URE libraries 2022-02-25 08:20:55 +01:00
jurt Adapt Library_jpipe__staticsalhack 2022-02-20 14:24:52 +01:00
jvmaccess
jvmfwk Replace some fprintf with SAL_WARN 2022-02-22 13:53:44 +01:00
l10ntools Fail Executable_ulfex upon duplicate keys in malformed input 2022-02-21 09:23:40 +01:00
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk Provide unoidl-write also for the SDK 2022-02-25 16:46:26 +01:00
offapi Update the reference rdbs to libreoffice-7.3.0.3 2022-02-25 08:21:33 +01:00
officecfg
onlineupdate
oovbaapi
oox tdf#103800 PPTX shape import: fix regression of text color 2022-02-28 15:39:07 +01:00
opencl
osx
package cid#1500664 Dereference before null check 2022-02-23 12:16:00 +01:00
pch
postprocess
pyuno
qadevOOo tdf#45904 Move XElementAccess Java test to C++ 2022-02-28 06:27:21 +01:00
readlicense_oo update credits 2022-02-23 13:43:25 +01:00
registry
remotebridges
reportbuilder
reportdesign Advanced Diagram support: cleanup/consolidate with existing code 2022-02-25 09:48:14 +01:00
ridljar
sal Use 'assert' where appropriate 2022-02-28 13:16:35 +01:00
salhelper
sax
sc tdf#147667 - Remove hard-coded underscore from UI 2022-02-28 13:48:20 +01:00
scaddins
sccomp
schema tdf#147580 use valid values for extrusion-specularity 2022-02-24 11:43:51 +01:00
scp2
scripting
sd tdf#103800 PPTX shape import: fix regression of text color 2022-02-28 15:39:07 +01:00
sdext Recheck modules sd* with IWYU 2022-02-21 14:04:45 +01:00
setup_native
sfx2 use more SfxItemSet::CloneAsValue 2022-02-27 19:42:58 +01:00
shell add to suffix denylist 2022-02-24 08:54:18 +01:00
slideshow Advanced Diagram support: cleanup/consolidate with existing code 2022-02-25 09:48:14 +01:00
smoketest
solenv Keep URE libraries out of Library_merged 2022-02-24 13:44:50 +01:00
soltools
sot cid#1500380: silence Resource leak 2022-02-27 16:02:35 +01:00
starmath cid#1500496: Uninitialized pointer read 2022-02-27 12:33:59 +01:00
static
stoc Don't use Library_tl in URE libraries 2022-02-25 08:20:55 +01:00
store
svgio
svl use more SfxItemSet::CloneAsValue 2022-02-27 19:42:58 +01:00
svtools
svx use more SfxItemSet::CloneAsValue 2022-02-27 19:42:58 +01:00
sw tdf#146962 sw: hide deleted row at deletion in Hide Changes 2022-02-28 16:32:08 +01:00
swext
sysui
test
testtools
toolkit Add XWeak constructor and operator= to uno::WeakReference 2022-02-22 12:27:55 +01:00
tools cid#1500555 try +taint_sanitize instead of -taint_source 2022-02-28 16:25:13 +01:00
translations@149fb7cb5f Update git submodules 2022-02-21 16:22:06 +01:00
ucb
ucbhelper
udkapi
uitest uitest: introduce wait_until_file_is_available 2022-02-25 15:29:54 +01:00
UnoControls
unodevtools
unoidl Provide unoidl-write also for the SDK 2022-02-25 16:46:26 +01:00
unoil
unotest
unotools renames in template manager creates xml file in wrong location 2022-02-25 12:13:00 +01:00
unoxml
ure Provide unoidl-write also for the SDK 2022-02-25 16:46:26 +01:00
uui tdf#145829: typo ERRCODE_UUI_IO_MODULESIZEEXCEEDED ("basic" instead of "BASIC") 2022-02-27 11:44:03 +01:00
vbahelper
vcl ofz#45117 Integer-overflow 2022-02-28 17:21:12 +01:00
winaccessibility wina11y: Rename IsSpecialToolboItem -> IsSpecialToolbarItem 2022-02-28 17:43:04 +01:00
wizards ScriptForge - (SF_Platform) add the FilterNames property 2022-02-27 15:27:15 +01:00
writerfilter Advanced Diagram support: cleanup/consolidate with existing code 2022-02-25 09:48:14 +01:00
writerperfect
xmerge
xmlhelp
xmloff cid#1500663 std::move a sal_uInt16 and then return the original is unorthodox 2022-02-26 13:30:01 +01:00
xmlreader
xmlscript
xmlsecurity Add documentation for xmlsecurity 2022-02-25 23:59:56 +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 add system-dragonbox 2022-02-22 15:53:59 +01:00
config_host_lang.mk.in
configure.ac Drop support for $host_os = 'macos*', in addition to 'darwin*' 2022-02-25 13:45:38 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Upgrade external/boost to latest Boost 1.78.0 2022-02-25 13:28:27 +01:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch add system-dragonbox 2022-02-22 15:53:59 +01:00
Makefile.gbuild
Makefile.in
README.cross
README.help.md
README.md Bump macOS build baseline to Xcode 12.5 and macOS 11.0 2022-02-24 17:25:10 +01:00
README.Solaris
Repository.mk Provide unoidl-write also for the SDK 2022-02-25 16:46:26 +01:00
RepositoryExternal.mk Sync the two definitions of python_arch_subdir 2022-02-23 10:17:22 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
setup.cfg
TEMPLATE.SOURCECODE.HEADER
tsan-suppress.txt

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.13
    • Build: 11.0 + Xcode 12.5
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 8.0.1 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 12.0.1. 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.