Test repository to check push and ssh key
Find a file
Gabor Kelemen 67478f9d63 Recheck modules [i-l]* with IWYU
See tdf#42949 for motivation

Change-Id: I758bb27e93779e3df21c463714e49354748f446f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128715
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-01-27 18:52:16 +01:00
.git-hooks git pre-commit hook: fix typo 2021-04-28 12:30:34 +02:00
.github add .github/lockdown.yml to auto-close issues/pull-requests 2021-01-27 11:20:04 +01:00
.vscode vscode-ide-integration: use gdb from $PATH by default 2022-01-17 15:06:32 +01:00
accessibility Recheck modules [a-c]* with IWYU 2022-01-13 08:26:15 +01:00
android Convert example document from cz to en-us 2021-12-09 15:42:36 +01:00
animations Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
apple_remote Add support for macOS SDK 12.0 2021-10-27 16:32:04 +02:00
avmedia tdf#145538 - Use range based for loops 2022-01-17 20:49:57 +01:00
basctl move ToolBoxItemId into its own header 2022-01-26 12:07:18 +01:00
basegfx tdf#145614 Convert #define to enum or constexpr 2022-01-19 06:55:12 +01:00
basic tdf#90341 Clean Up Excessive const_cast'ing 2022-01-25 19:54:54 +01:00
bean Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
bin ensure no 'angle' is used in a GtkLabel 2022-01-26 20:56:36 +01:00
binaryurp Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
bridges WASM UNO: add a minimal dummy bridge 2022-01-19 14:26:09 +01:00
canvas Recheck modules [a-c]* with IWYU 2022-01-13 08:26:15 +01:00
chart2 let SfxDispatcher::fillPopupMenu operate on css::awt::XPopupMenu 2022-01-27 18:26:32 +01:00
cli_ure drop 'using namespace std' in cli_ure 2021-10-07 13:38:06 +02:00
codemaker Improve DBG_UNHANDLED_EXCEPTION output a bit 2022-01-23 09:50:33 +01:00
comphelper fix opengl slide transition 2022-01-21 13:44:57 +01:00
compilerplugins WASM open links in new browser tabs 2022-01-20 10:26:04 +01:00
config_host upgrade to box2d 2.4.1 2022-01-24 09:58:45 +01:00
configmgr Recheck modules [a-c]* with IWYU 2022-01-13 08:26:15 +01:00
connectivity tdf#126960, tdf#131330: FB make views editable+refresh auto after creation 2022-01-27 17:35:20 +01:00
cppcanvas Recheck modules [a-c]* with IWYU 2022-01-13 08:26:15 +01:00
cppu WASM UNO: add a minimal dummy bridge 2022-01-19 14:26:09 +01:00
cppuhelper WASM UNO: add a minimal dummy bridge 2022-01-19 14:26:09 +01:00
cpputools Recheck modules [a-c]* with IWYU 2022-01-13 08:26:15 +01:00
cui add some more TypeWhichId annotations 2022-01-27 14:10:25 +01:00
dbaccess Avoid warn:dbaccess:828616:828616:dbaccess/source/core/dataaccess/ModelImpl.cxx 2022-01-27 08:36:54 +01:00
desktop desktop lok, export options: allow passing through a JSON string as-is 2022-01-26 09:31:21 +01:00
dictionaries@d37591fce4 Update git submodules 2022-01-19 22:46:16 +01:00
distro-configs WASM add strip flags to configure.ac 2022-01-19 12:00:48 +01:00
drawinglayer avoid Skia GPU surfaces for small virtual devices (bsc#1183308) 2022-01-24 14:40:22 +01:00
editeng add some more TypeWhichId annotations 2022-01-27 14:10:25 +01:00
embeddedobj Recheck modules [e-f]* with IWYU 2022-01-17 01:33:35 +01:00
embedserv Use GetModuleHandleExW instead of GetModuleHandleW 2022-01-05 16:20:36 +01:00
emfio Recheck modules [e-f]* with IWYU 2022-01-17 01:33:35 +01:00
eventattacher Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
extensions Related: tdf#146971 remove %PRODUCTNAME from accessible-description 2022-01-25 13:24:23 +01:00
external external/mdds: Avoid -Werror=use-after-free (GCC 12 trunk) 2022-01-27 08:00:48 +01:00
extras WASM --enable-wasm-strip now skips lots of LO code 2022-01-20 12:28:54 +01:00
filter this should be a normal dialog type 2022-01-26 18:04:23 +01:00
forms Recheck modules [e-f]* with IWYU 2022-01-17 01:33:35 +01:00
formula Recheck modules [e-f]* with IWYU 2022-01-17 01:33:35 +01:00
fpicker Recheck modules [e-f]* with IWYU 2022-01-17 01:33:35 +01:00
framework WASM make test file loading work 2022-01-20 14:27:16 +01:00
helpcompiler Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
helpcontent2@714b152de6 Update git submodules 2022-01-27 04:09:19 +01:00
hwpfilter Make HWPStyle::style type-safe 2022-01-13 14:29:12 +01:00
i18nlangtag tdf#146602 Add Pennsylvania Dutch {pdc-US} 0x06AF to language list 2022-01-26 17:03:52 +01:00
i18npool Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
i18nutil Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
icon-themes Fix icon links.txt parse error 2021-12-31 07:55:25 +01:00
idl Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
idlc Unify condition names and fix "else" paths 2022-01-08 12:26:30 +01:00
include related tdf#111733 TextCharacterSpacingControl sw: goto position tab 2022-01-27 18:34:37 +01:00
instsetoo_native Make installer compression tool configurable 2022-01-22 10:14:23 +01:00
io Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
ios Updated README.md files 2021-04-19 11:13:41 +02:00
javaunohelper Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
jurt Avoid loplugin:salcall 2022-01-23 12:28:20 +01:00
jvmaccess drop 'using namespace std' in h* i* j* 2021-10-05 22:22:55 +02:00
jvmfwk Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
l10ntools Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
librelogo Resolves: tdf#97046 ensure build system variables start with gb_ 2021-11-04 10:48:24 +01:00
libreofficekit Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
lingucomponent Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
linguistic Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
lotuswordpro Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
m4 Drop remnants of --with-webdav=neon 2022-01-05 17:50:41 +01:00
nlpsolver cid#1489772 UR: Uninitialized read of field in constructor 2021-08-06 15:22:37 +02:00
o3tl -Werror,-Wundef (clang-cl) 2021-12-22 13:41:34 +01:00
odk Let CppunitTest_odk_checkapi build against the SDK include directory 2022-01-19 23:00:55 +01:00
offapi remove css:💹:XDataInterpreter 2022-01-23 12:45:18 +01:00
officecfg related tdf#111733 TextCharacterSpacingControl sw: goto position tab 2022-01-27 18:34:37 +01:00
onlineupdate drop 'using namespace std' in o* r* x* 2021-10-05 23:09:56 +02:00
oovbaapi vba: add support for Application.WindowState + test 2022-01-27 07:38:09 +01:00
oox Add missing test dependencies 2022-01-20 21:17:16 +01:00
opencl Prepare for removal of non-const operator[] from Sequence in opencl 2021-10-30 21:55:44 +02:00
osx Add more source files for debugging convenience 2022-01-27 15:54:35 +01:00
package WASM make test file loading work 2022-01-20 14:27:16 +01:00
pch Clean up remaining uses of boost::logic::tribool 2021-08-10 21:39:50 +02:00
postprocess WASM open links in new browser tabs 2022-01-20 10:26:04 +01:00
pyuno tdf#146621: handle an exception that may hang process at ExitProcess time 2022-01-07 14:30:30 +01:00
qadevOOo cid#1492820 WMI: Inefficient Map Iterator 2021-10-11 11:37:40 +02:00
readlicense_oo update credits 2022-01-26 14:51:20 +01:00
registry Unify condition names and fix "else" paths 2022-01-08 12:26:30 +01:00
remotebridges Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
reportbuilder Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
reportdesign Use o3tl::convert instead of OutputDevice::LogicToLogic 2022-01-22 20:02:15 +01:00
ridljar ridljar: check that UnoClassLoader is used for NativeLibraryLoader 2021-08-19 12:20:57 +02:00
sal WASM setup as non-multiuser, desktop build 2022-01-19 10:50:35 +01:00
salhelper Rather use ScopeGuard to prevent catch and rethrow 2021-12-03 11:00:03 +01:00
sax WASM make test file loading work 2022-01-20 14:27:16 +01:00
sc Simplify oox::xls::UnitConverter and its uses 2022-01-27 15:12:48 +01:00
scaddins Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
sccomp Disallow multiple component files per library 2021-12-21 00:20:36 +01:00
schema ODP import/export: refer to theme from shape text color with effects 2021-12-13 10:10:10 +01:00
scp2 ScriptForge - new SFWidgets library, new PopupMenu service 2021-10-15 16:39:48 +02:00
scripting make comphelper::OInterfaceContainerHelper4 more threadsafe 2022-01-14 21:04:10 +01:00
sd add some more TypeWhichId annotations 2022-01-27 14:10:25 +01:00
sdext Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
setup_native Bump copyright year to 2021 2021-01-01 00:00:00 +00:00
sfx2 let SfxDispatcher::fillPopupMenu operate on css::awt::XPopupMenu 2022-01-27 18:26:32 +01:00
shell WASM open links in new browser tabs 2022-01-20 10:26:04 +01:00
slideshow Disable epoxy test with --disable-gui 2022-01-05 18:00:59 +01:00
smoketest oss-fuzz: convert to static cross-build 2021-12-25 17:05:08 +01:00
solenv gbuild: fix spurious rebuilds from gb_LinkTarget__use_libraries 2022-01-26 08:07:46 +01:00
soltools loplugin:indentation check for indent inside block 2021-10-20 15:39:38 +02:00
sot use less SvStream::Flush() 2022-01-10 17:59:45 +01:00
starmath add some more TypeWhichId annotations 2022-01-27 14:10:25 +01:00
static Fix typos 2022-01-21 12:51:49 +01:00
stoc Let loplugin:nullptr look into template instantiations 2022-01-15 15:58:07 +01:00
store Let loplugin:nullptr look into template instantiations 2022-01-15 15:58:07 +01:00
svgio Fix Test::testTdf97663 2021-12-24 04:57:06 +01:00
svl fix opengl slide transition 2022-01-21 13:44:57 +01:00
svtools Resolves tdf#128258 - Draw a dotted line before hidden columns/rows 2022-01-27 10:31:52 +01:00
svx related tdf#111733 TextCharacterSpacingControl sw: goto position tab 2022-01-27 18:34:37 +01:00
sw related tdf#111733 TextCharacterSpacingControl sw: goto position tab 2022-01-27 18:34:37 +01:00
swext Get rid of apache-commons-logging 2021-04-11 10:35:04 +02:00
sysui change rpm compression algorithm to multi threaded xz 2022-01-23 15:13:03 +01:00
test Separate core drawinglayer func. into drawinglayercore library 2021-12-22 12:10:10 +01:00
testtools Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
toolkit WASM --enable-wasm-strip now skips lots of LO code 2022-01-20 12:28:54 +01:00
tools Improve DBG_UNHANDLED_EXCEPTION output a bit 2022-01-23 09:50:33 +01:00
translations@59aa671612 Update git submodules 2022-01-26 14:15:58 +01:00
ucb Fix typos 2022-01-27 14:36:18 +01:00
ucbhelper fix opengl slide transition 2022-01-21 13:44:57 +01:00
udkapi Update reference links for ISO 639 and 3166 2021-12-11 21:40:00 +01:00
uitest tdf#95217: sc: simplify test 2021-12-30 16:44:53 +01:00
UnoControls tdf#145614 Convert #define to enum or constexpr 2022-01-19 06:55:12 +01:00
unodevtools Extend loplugin:stringviewparam to starts/endsWith: unodevtools 2021-09-22 19:59:35 +02:00
unoidl Fix clang-cl -Zc:dllexportInlines- build 2021-12-02 07:39:52 +01:00
unoil Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unotest Fix --disable-scripting for DESKTOP build 2021-12-03 06:46:24 +01:00
unotools WASM --enable-wasm-strip now skips lots of LO code 2022-01-20 12:28:54 +01:00
unoxml osl::Mutex->std::mutex in CEvent 2021-12-25 07:15:33 +01:00
ure Don't install the uno script when uno is not build 2022-01-08 15:33:30 +01:00
uui Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
vbahelper Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
vcl tdf#144166 use border drawing style for VclScrolledWindow 2022-01-27 18:24:37 +01:00
winaccessibility -Werror,-Wunused-parameter 2022-01-12 09:26:10 +01:00
wizards Fix case for "ByVal", "Variant", "UCase" 2021-12-30 10:34:54 +01:00
writerfilter Add simple unit test for recent fix to take layoutInCell into consideration 2022-01-27 11:53:52 +01:00
writerperfect WASM --enable-wasm-strip now skips lots of LO code 2022-01-20 12:28:54 +01:00
xmerge Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
xmlhelp Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
xmloff Fix typos 2022-01-20 15:16:55 +01:00
xmlreader Fix clang-cl -Zc:dllexportInlines- build 2021-12-02 07:39:52 +01:00
xmlscript Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
xmlsecurity Make Certificate not found dialog async 2022-01-24 13:46:57 +01:00
.buckconfig Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
.buckversion Add build toolchain to upload LibreOffice API to Maven Central 2015-12-03 23:32:11 +00:00
.clang-format clang-format: don't sort using declarations 2020-02-26 09:12:49 +01:00
.editorconfig We have some Objective-C source files, too 2017-12-01 12:59:43 +02:00
.git-blame-ignore-revs tdf#123936 Add formatting commits to .git-blame-ignore-revs 2021-07-01 10:19:17 +02:00
.gitattributes
.gitignore Adapt .gitignore 2021-12-23 14:46:25 +01:00
.gitmodules gitmodules: use relative paths 2020-10-21 21:51:54 +02:00
.gitpod.dockerfile Upgrade .gitpod.dockerfile to Ubuntu focal 2021-05-22 19:35:47 +02:00
.gitpod.yml Install C++ VSCode extension for Gitpod 2020-03-09 15:54:14 +01:00
.gitreview git-review: Use the hostname instead of alias. 2019-05-15 15:13:47 +02:00
antivirusDetection.vbs tdf#84553 Correctly handle failures while getting a WMI Object. 2020-02-12 09:14:03 +01:00
autogen.sh WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
BUCK Adapt buck build to jars merged into libreoffice.jar 2020-11-30 11:27:47 +01:00
config.guess Update config.{guess,sub} with latest versions and handle fallout of that 2020-08-07 11:34:28 +02:00
config.sub
config_host.mk.in Make installer compression tool configurable 2022-01-22 10:14:23 +01:00
config_host_lang.mk.in gbuild: allow to react on change in configured langs 2015-03-25 17:52:20 +01:00
configure.ac icu: use libo_CHECK_SYSTEM_MODULE 2022-01-23 17:30:56 +01:00
COPYING Licencing files 2011-01-11 21:49:39 +00:00
COPYING.LGPL Licencing files 2011-01-11 21:49:39 +00:00
COPYING.MPL Targetted text updates, with seasonable changes before l10n freeze. 2013-12-13 17:00:07 +00:00
download.lst upgrade to box2d 2.4.1 2022-01-24 09:58:45 +01:00
g Allow g to run git gc command 2022-01-15 15:42:34 +01:00
hardened_runtime.xcent.in Fix typos 2021-08-16 23:34:24 +02:00
install-sh Fix typos 2019-08-12 22:12:57 +02:00
install_deps.sh Make some scripts more portable 2021-08-20 12:32:22 +02:00
leak-suppress.txt exclude more UNO type and crypto leaks 2021-06-30 13:22:32 +02:00
Library_merged.mk
lo.xcent Fix typos 2021-08-16 23:34:24 +02:00
logerrit Use ed25519 as default for ssh key pair generation 2021-09-29 09:34:21 +02:00
Makefile.fetch ucb: remove --with-webdav=neon 2021-12-15 15:24:52 +01:00
Makefile.gbuild gbuild: build static LO / link static executables 2022-01-12 11:12:46 +01:00
Makefile.in Add <module>.*all aliases to .all* and update help 2022-01-17 11:10:34 +01:00
README.cross Add missing autogen.input entries to README.cross 2020-03-25 16:25:14 +01:00
README.help.md configure: Improve help-options handling 2021-06-22 14:25:51 +02:00
README.md Bump minimum macOS to 10.13 2022-01-12 08:51:49 +01:00
README.Solaris remove use of Archive::Zip 2016-06-04 08:09:56 +02:00
Repository.mk The Emscripten FS image isn't installed anymore 2022-01-21 15:24:25 +01:00
RepositoryExternal.mk Fix up "Fix gtk3_kde5 build when qt5/kf5 VCL plugins are not built" 2022-01-27 16:58:20 +01:00
RepositoryFixes.mk WASM more initial bits and pieces 2022-01-19 10:49:40 +01:00
RepositoryModule_build.mk add drawinglayercore to merged libs 2021-12-23 11:38:24 +09:00
RepositoryModule_host.mk WASM --enable-wasm-strip now skips lots of LO code 2022-01-20 12:28:54 +01:00
sanitize-ubsan-excludelist replace usage of blacklist with denylist 2020-07-10 01:34:54 +02:00
setup.cfg pep8 -> pycodestyle 2018-10-16 14:29:06 +02:00
TEMPLATE.SOURCECODE.HEADER Make it clear that the text is in addition to the previous 2021-01-27 08:02:35 +01:00
tsan-suppress.txt more TSAN suppressions 2021-08-05 12:28:40 +02:00

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: 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.