Test repository to check push and ssh key
Find a file
Michael Weghorn 2a5da1609d wina11y: Avoid some casting between HWND and sal_Int64
... by changing the corresponding params for
AccObjectManagerAgent::InsertAccObj and
AccObjectManagerAgent::InsertChildrenAccObj
to HWND.

Change-Id: I598bac30d827ae9166bc21cb5e8dff88a5cc99bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122203
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-09-17 07:05:33 +02:00
.git-hooks
.github
.vscode
accessibility loplugin:finalclasses 2021-09-15 18:58:17 +02:00
android
animations Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5 2021-09-15 06:08:27 +02:00
apple_remote
avmedia
basctl loplugin:constvars 2021-09-15 12:43:21 +02:00
basegfx loplugin:constvars 2021-09-15 12:43:21 +02:00
basic loplugin:finalclasses in basic 2021-09-15 18:57:42 +02:00
bean
bin ofz: better workaround for broken msan build 2021-09-12 22:27:02 +02:00
binaryurp clang:optin.performance.Padding in binaryurp 2021-09-10 21:19:07 +02:00
bridges tdf#130924 : replace debugging printf calls with SAL_INFO/SAL_WARN 2021-09-06 15:37:48 +02:00
canvas
chart2 loplugin:constvars 2021-09-15 12:43:21 +02:00
cli_ure
codemaker
comphelper tdf#115933 XLSX import: fix permission for editing 2021-09-16 15:54:57 +02:00
compilerplugins loplugin:virtualdead HasExtraRedlineTable always returns true 2021-09-15 18:56:36 +02:00
config_host
configmgr Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5 2021-09-15 06:08:27 +02:00
connectivity Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5 2021-09-15 06:08:27 +02:00
cppcanvas
cppu clang:optin.performance.Padding in cppu 2021-09-10 21:19:48 +02:00
cppuhelper
cpputools
cui remove stray track-visited-links 2021-09-15 17:17:00 +02:00
dbaccess Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5 2021-09-15 06:08:27 +02:00
desktop use our string->number functions instead of std::istringstream 2021-09-16 11:32:40 +02:00
dictionaries@e9915d1db3
distro-configs a system cuckoo isn't available 2021-09-09 22:33:26 +02:00
drawinglayer clang:optin.performance.Padding 2021-09-11 14:59:36 +02:00
editeng loplugin:constvars 2021-09-15 12:43:21 +02:00
embeddedobj Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 4 2021-09-15 06:08:14 +02:00
embedserv
emfio ofz: MemorySanitizer: use-of-uninitialized-value 2021-09-16 22:07:44 +02:00
eventattacher
extensions remove stray track-visited-links 2021-09-15 17:17:00 +02:00
external Add preliminary VS 2022 support 2021-09-16 19:50:56 +02:00
extras remove unnecessary meta.xml from autotext 2021-09-08 07:13:00 +02:00
filter ofz: MemorySanitizer: use-of-uninitialized-value 2021-09-16 11:07:48 +02:00
forms Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5 2021-09-15 06:08:27 +02:00
formula
fpicker
framework Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5 2021-09-15 06:08:27 +02:00
helpcompiler
helpcontent2@0730e0e4e0 Update git submodules 2021-09-16 12:07:18 +02:00
hwpfilter
i18nlangtag
i18npool expand out unnecessary macro 2021-09-16 20:16:50 +02:00
i18nutil speedup CharacterClassificationImpl::toUpper 2021-09-16 12:05:00 +02:00
icon-themes
idl
idlc
include speedup CharacterClassificationImpl::toUpper 2021-09-16 12:05:00 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit sc: lok: introduce LOK_CALLBACK_DOCUMENT_BACKGROUND_COLOR callback 2021-09-07 08:11:22 +02:00
lingucomponent
linguistic
lotuswordpro ofz#27296 limit row span when fuzzing 2021-09-08 17:09:30 +02:00
m4
nlpsolver
o3tl
odk Untabify odk/util/check.pl 2021-09-14 21:23:36 +02:00
offapi Clarify that css::sdbc::XClob::getSubString takes 1-based pos 2021-09-10 18:53:57 +02:00
officecfg sw: add a DisableBuiltinStyles API setting 2021-09-15 16:45:57 +02:00
onlineupdate
oovbaapi
oox tdf#115933 XLSX import: fix permission for editing 2021-09-16 15:54:57 +02:00
opencl
osx
package loplugin:finalclasses 2021-09-15 18:58:17 +02:00
pch
postprocess
pyuno Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 4 2021-09-15 06:08:14 +02:00
qadevOOo
readlicense_oo tdf#130795 use concurrent hashmap in SharedStringPool 2021-09-09 09:06:45 +02:00
registry
remotebridges
reportbuilder
reportdesign Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 4 2021-09-15 06:08:14 +02:00
ridljar
sal loplugin:simplifypointertobool 2021-09-13 15:56:16 +02:00
salhelper
sax
sc tdf#143103 Support Color Filter in "Standard Filter" dialog 2021-09-16 16:21:19 +02:00
scaddins
sccomp
schema
scp2
scripting
sd loplugin:finalclasses in sd 2021-09-15 18:58:00 +02:00
sdext loplugin:constvars 2021-09-15 12:43:21 +02:00
setup_native
sfx2 occasionally the bg color of the deck grip is wrong 2021-09-16 16:28:20 +02:00
shell
slideshow loplugin:constvars 2021-09-15 12:43:21 +02:00
smoketest
solenv tdf#143103 Support Color Filter in "Standard Filter" dialog 2021-09-16 16:21:19 +02:00
soltools
sot clang-tidy:clang-analyzer-optin.performance.Padding 2021-09-06 11:58:09 +02:00
starmath Increase accuracy of ParseMathMLUnsignedNumber Fraction result 2021-09-16 13:00:40 +02:00
stoc Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 4 2021-09-15 06:08:14 +02:00
store
svgio tdf#144052 reduce Primitive2D copying 2021-09-09 15:22:52 +02:00
svl loplugin:finalclasses 2021-09-15 18:58:17 +02:00
svtools loplugin:finalclasses 2021-09-15 18:58:17 +02:00
svx Fix some assorted mistakes in translatable strings 2021-09-15 07:44:16 -05:00
sw tdf#95378 Writer Navigator: Track sections 2021-09-17 03:44:22 +02:00
swext
sysui
test clang-tidy:readability-redundant-member-init 2021-09-06 09:04:17 +02:00
testtools
toolkit Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 4 2021-09-15 06:08:14 +02:00
tools Revert "speedup rational_FromDouble" 2021-09-16 13:33:55 +02:00
translations@4460c7babd Update git submodules 2021-09-08 13:20:42 +02:00
ucb clang-tidy:readability-redundant-member-init 2021-09-06 09:04:17 +02:00
ucbhelper
udkapi
uitest uitest: combine execute_modeless_dialog_through_command methods 2021-09-13 10:38:27 +02:00
UnoControls loplugin:constvars 2021-09-15 12:43:21 +02:00
unodevtools
unoidl
unoil
unotest
unotools ofz: better workaround for broken msan build 2021-09-12 22:27:02 +02:00
unoxml Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 4 2021-09-15 06:08:14 +02:00
ure
uui clang-tidy:readability-redundant-member-init 2021-09-06 09:04:17 +02:00
vbahelper Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5 2021-09-15 06:08:27 +02:00
vcl Drop conditional WM_GETOBJECT define from vcl/win/window/salframe.cxx 2021-09-17 07:05:14 +02:00
wasm-qt
winaccessibility wina11y: Avoid some casting between HWND and sal_Int64 2021-09-17 07:05:33 +02:00
wizards Typo: bIsSuccessfull->bIsSuccessful 2021-09-12 07:51:29 +02:00
writerfilter loplugin:constvars 2021-09-15 12:43:21 +02:00
writerperfect clang-tidy:readability-redundant-member-init 2021-09-06 09:06:18 +02:00
xmerge
xmlhelp
xmloff loplugin:constvars 2021-09-15 12:43:21 +02:00
xmlreader
xmlscript loplugin:constvars 2021-09-15 12:43:21 +02:00
xmlsecurity loplugin:constvars 2021-09-15 12:43:21 +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 tdf#130795 use concurrent hashmap in SharedStringPool 2021-09-09 09:06:45 +02:00
config_host_lang.mk.in
configure.ac Add preliminary VS 2022 support 2021-09-16 19:50:56 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Resolves tdf#144523 - Update Liberation fonts to 2.1.4 release 2021-09-16 12:06:15 +02:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch tdf#130795 use concurrent hashmap in SharedStringPool 2021-09-09 09:06:45 +02:00
Makefile.gbuild
Makefile.in
README.cross
README.help.md
README.md
README.Solaris
README.wasm
Repository.mk
RepositoryExternal.mk tdf#130795 use concurrent hashmap in SharedStringPool 2021-09-09 09:06:45 +02: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.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.