Test repository to check push and ssh key
Find a file
Stephan Bergmann 919d2e63ac Fix previous typo-in-comment fix
...10c02f69106a248f3c0514b36ec95895ce98d8d7 "we where -> we were"

Change-Id: Icc82890293d56aa3a17b0f5867382873521465f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113968
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2021-04-12 11:23:46 +02:00
.git-hooks
.github
.vscode
accessibility forward decl vcl::Window in toolkit/awt/vclxwindow.hxx 2021-04-12 09:49:17 +02:00
android android: Drop some unused Turkish translations 2021-04-12 07:21:48 +02:00
animations Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
apple_remote Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
avmedia Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
basctl forward decl vcl::Window in toolkit/awt/vclxwindow.hxx 2021-04-12 09:49:17 +02:00
basegfx Recheck include/ with IWYU 2021-04-09 11:56:36 +02:00
basic update PCHs 2021-04-08 17:23:08 +02:00
bean Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
bin check-missing-unittests: ignore accessibility bugs for now 2021-04-09 22:29:57 +02:00
binaryurp Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
bridges Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
canvas Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
chart2 update PCHs 2021-04-12 09:47:35 +02:00
cli_ure Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
codemaker Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
comphelper update PCHs 2021-04-08 17:23:08 +02:00
compilerplugins remove vcl/waitobj.hxx 2021-04-09 21:17:03 +02:00
config_host do not #error in clangplugins with --disable-pch 2021-04-09 18:07:03 +02:00
configmgr update PCHs 2021-04-08 17:23:08 +02:00
connectivity update PCHs 2021-04-12 09:47:35 +02:00
cppcanvas update PCHs 2021-04-12 09:47:35 +02:00
cppu Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
cppuhelper update PCHs 2021-04-08 17:23:08 +02:00
cpputools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
cui update PCHs 2021-04-12 09:47:35 +02:00
dbaccess forward decl vcl::Window in toolkit/awt/vclxwindow.hxx 2021-04-12 09:49:17 +02:00
desktop Fix previous typo-in-comment fix 2021-04-12 11:23:46 +02:00
dictionaries@96ecb3d82f Update git submodules 2021-04-11 10:01:47 +02:00
distro-configs Get rid of apache-commons-logging 2021-04-11 10:35:04 +02:00
drawinglayer update PCHs 2021-04-12 09:47:35 +02:00
editeng update PCHs 2021-04-08 17:23:08 +02:00
embeddedobj embeddedobj: fix lost native data when updating it via OLE fails 2021-04-08 19:18:09 +02:00
embedserv Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
emfio -Werror,-Wformat (clang-cl) 2021-04-09 17:07:24 +02:00
eventattacher Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
extensions Recheck include/ with IWYU 2021-04-09 11:56:36 +02:00
external epoxy: fix gen_dispatch.py fildescriptor leak 2021-04-11 17:54:13 +02:00
extras Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
filter remove vcl/waitobj.hxx 2021-04-09 21:17:03 +02:00
forms update PCHs 2021-04-08 17:23:08 +02:00
formula Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
fpicker loplugin:redundantstatic (clang-cl) 2021-04-09 21:14:15 +02:00
framework Fix typo in code 2021-04-10 12:53:05 +02:00
helpcompiler
helpcontent2@07dcc9868b Update git submodules 2021-04-12 10:48:14 +02:00
hwpfilter Fix typo 2021-04-11 20:25:07 +02:00
i18nlangtag Update comment 2021-04-08 12:11:50 +02:00
i18npool Quote literals in {ja-JP} date and time format codes 2021-04-10 23:00:04 +02:00
i18nutil Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
icon-themes Sukapura: tdf#141617 fix inconsistent spacing and indentation icons 2021-04-11 12:20:03 +02:00
idl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
idlc Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
include tdf#125909 tdf#141298 sw: show (Hidden) Track Changes infobar 2021-04-12 10:44:49 +02:00
instsetoo_native Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
io Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
ios Fix editing mistake for iOS build 2021-03-25 15:30:12 +02:00
javaunohelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
jurt Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
jvmaccess Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
jvmfwk Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
l10ntools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
librelogo Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
libreofficekit Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
lingucomponent Fix typo 2021-04-08 17:54:36 +02:00
linguistic Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
lotuswordpro update PCHs 2021-04-08 17:23:08 +02:00
m4 Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
nlpsolver Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
o3tl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
odk Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
offapi Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
officecfg tdf#125909 tdf#141298 sw: show (Hidden) Track Changes infobar 2021-04-12 10:44:49 +02:00
onlineupdate Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
oovbaapi [API-CHANGE] tdf#141543 VBA Range.Formula Range.FormulaR1C1 non-localized 2021-04-09 16:27:09 +02:00
oox Don't overwrite existing categories for series 2021-04-12 11:22:18 +02:00
opencl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
osx Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
package update PCHs 2021-04-08 17:23:08 +02:00
pch Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
postprocess Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
pyuno Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
qadevOOo Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
readlicense_oo Add Esperanto dictionaries 2021-04-11 10:51:16 +02:00
registry Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
remotebridges Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
reportbuilder Get rid of apache-commons-logging 2021-04-11 10:35:04 +02:00
reportdesign update PCHs 2021-04-12 09:47:35 +02:00
ridljar Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sal Unify on std::basic_string_view for indexOfStr 2021-04-12 08:00:30 +02:00
salhelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sax Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sc update PCHs 2021-04-12 09:47:35 +02:00
scaddins Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sccomp Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
schema Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
scp2 Add Esperanto dictionaries 2021-04-11 10:51:16 +02:00
scripting Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sd update PCHs 2021-04-12 09:47:35 +02:00
sdext update PCHs 2021-04-08 17:23:08 +02:00
setup_native Add Esperanto dictionaries 2021-04-11 10:51:16 +02:00
sfx2 tdf#125909 tdf#141298 sw: show (Hidden) Track Changes infobar 2021-04-12 10:44:49 +02:00
shell Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
slideshow update PCHs 2021-04-12 09:47:35 +02:00
smoketest Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
solenv vclxtopwindow.hxx and vclxcontainer.hxx can now be private headers 2021-04-12 09:46:46 +02:00
soltools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
sot update PCHs 2021-04-12 09:47:35 +02:00
starmath update PCHs 2021-04-12 09:47:35 +02:00
stoc Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
store Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
svgio update PCHs 2021-04-12 09:47:35 +02:00
svl SfxItemPropertySimpleEntry constructor should take a reference 2021-04-12 10:03:06 +02:00
svtools Avoid user interaction when determining recent documents' MIME types 2021-04-09 21:16:11 +02:00
svx svx: prefix members of SdrObject 2021-04-12 09:58:28 +02:00
sw tdf#125909 tdf#141298 sw: show (Hidden) Track Changes infobar 2021-04-12 10:44:49 +02:00
swext Get rid of apache-commons-logging 2021-04-11 10:35:04 +02:00
sysui Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
test tdf#119457 - check for a valid range name and cell reference 2021-04-09 09:40:38 +02:00
testtools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
toolkit forward decl vcl::Window in toolkit/awt/vclxwindow.hxx 2021-04-12 09:49:17 +02:00
tools ofz#32973 Integer-overflow 2021-04-10 20:19:23 +02:00
translations@e882b1d51e Update git submodules 2021-04-06 15:29:26 +02:00
ucb Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
ucbhelper Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
udkapi Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
uitest uitest: factor out common code 2021-04-07 21:05:45 +02:00
UnoControls Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unodevtools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unoidl Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unoil Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unotest Exclude tests based on device color depth, not RDP 2021-04-01 17:39:54 +02:00
unotools Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
unoxml Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
ure Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
uui update PCHs 2021-04-12 09:47:35 +02:00
vbahelper update PCHs 2021-04-12 09:47:35 +02:00
vcl tdf#132869 - Show the error message in a tooltip 2021-04-12 08:39:47 +02:00
winaccessibility Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
wizards ScriptForge - (scriptforge.py) Database class 2021-04-11 18:33:59 +02:00
writerfilter -werror=maybe-uninitialized 2021-04-10 15:33:29 +02:00
writerperfect Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmerge Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmlhelp Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmloff ofz#32467 Timeout: add arbitrary master page limit when fuzzing 2021-04-11 17:03:45 +02:00
xmlreader speed up XmlReader::handleSkippedText 2021-04-10 20:56:49 +02:00
xmlscript Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
xmlsecurity update PCHs 2021-04-12 09:47:35 +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 Get rid of apache-commons-logging 2021-04-11 10:35:04 +02:00
config_host_lang.mk.in
configure.ac Get rid of apache-commons-logging 2021-04-11 10:35:04 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Get rid of apache-commons-logging 2021-04-11 10:35:04 +02:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh Initial version of script to install dependencies 2021-03-31 17:38:48 +02:00
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit fix logerrit on mac 2021-04-06 15:22:41 +02:00
Makefile.fetch Get rid of apache-commons-logging 2021-04-11 10:35:04 +02:00
Makefile.gbuild
Makefile.in use systemd-detect-virt to detect building as root in container 2021-04-10 17:14:46 +02:00
README.cross
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
README.Solaris
Repository.mk tdf#124173: Enable thesauruses in the iOS app 2021-03-25 09:06:39 +01:00
RepositoryExternal.mk Get rid of apache-commons-logging 2021-04-11 10:35:04 +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

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