Test repository to check push and ssh key
Find a file
Caolán McNamara 0dc7b1cbb9 ofz#35787 Timeout
1m14.061s -> 0m3.975s

Change-Id: I96e6f2c60017ba57062bd56c2e80604e117b3b99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118381
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-07-04 21:47:07 +02:00
.git-hooks
.github
.vscode
accessibility convert AccessibleBrowseBoxObjType to scoped enum 2021-07-02 12:37:25 +02:00
android
animations
apple_remote
avmedia
basctl
basegfx loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
basic Move utility code out of test directories 2021-07-02 21:53:39 +02:00
bean
bin find-unneeded-includes: introduce --dontstop switch 2021-06-28 08:58:02 +02:00
binaryurp
bridges
canvas loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
chart2 Purge out when safe rtl::math ( isValidArcArg / sin / cos ) 2021-07-03 21:57:29 +02:00
cli_ure
codemaker codemaker : remove useless includes 2021-06-26 16:44:33 +02:00
comphelper Enable flushing accumulated Trace Events when their number reaches a limit 2021-06-29 16:01:53 +02:00
compilerplugins convert AccessibleBrowseBoxObjType to scoped enum 2021-07-02 12:37:25 +02:00
config_host
configmgr
connectivity loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
cppcanvas
cppu loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
cppuhelper
cpputools
cui tidy up impress bullets and numbering dialog 2021-07-02 16:46:17 +02:00
dbaccess convert AccessibleBrowseBoxObjType to scoped enum 2021-07-02 12:37:25 +02:00
desktop Avoid accumulating a huge number of Trace Events before calling the callback 2021-06-30 09:19:58 +02:00
dictionaries@01bb1d2c47 Update git submodules 2021-07-01 22:48:15 +02:00
distro-configs use --disable-xmlhelp for fuzzing 2021-06-26 15:28:00 +02:00
drawinglayer Purge out when safe rtl::math ( isValidArcArg / sin / cos ) 2021-07-03 21:57:29 +02:00
editeng tdf#143176 Old Hungarian transliteration: fix AutoCorrect->Apply 2021-07-03 17:25:44 +02:00
embeddedobj
embedserv -Werror,-Wunused-but-set-parameter (clang-cl 13 trunk) 2021-06-25 21:12:22 +02:00
emfio EMF+ tdf#142941 Fixes for SrcRect in DrawImagePoints 2021-07-03 14:59:06 +02:00
eventattacher
extensions stray unwanted image-position for CheckButton 2021-07-02 18:00:10 +02:00
external Mark external/harfbuzz/Wunused-but-set-variable.patch as fixed upstream 2021-06-28 11:57:36 +02:00
extras
filter can allocate these SfxItemSet on the stack 2021-07-02 15:34:38 +02:00
forms
formula loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
fpicker loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
framework sfx2: try to fix lifecycle of SfxOfficeDispatch 2021-06-30 18:40:27 +02:00
helpcompiler cross-toolset: fix real cross help building 2021-06-24 23:25:28 +02:00
helpcontent2@86d4cff588 Update git submodules 2021-07-02 21:07:26 +02:00
hwpfilter Related: ofz#33724 detect earlier if comparison shape has no cshape 2021-07-01 12:27:58 +02:00
i18nlangtag
i18npool tdf#143173: fix wrong French abbr for Alphabetical Index-Grouped entries 2021-07-04 10:04:54 +02:00
i18nutil loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
icon-themes
idl loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
idlc loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
include move SfxSetItem to own header file 2021-07-04 16:12:17 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk Enable JVM also on macOS ARM64 2021-06-29 16:36:50 +02:00
l10ntools loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
m4
nlpsolver
o3tl
odk Update documentation for uno executable 2021-07-01 10:19:55 +02:00
offapi new ODF numbered list parameter loext:num-list-format 2021-06-29 00:48:36 +02:00
officecfg these commands present a dialog so add ... to them 2021-07-02 16:15:09 +02:00
onlineupdate
oovbaapi
oox tdf#143175 - Join elements including a delimiter using a standard iterator 2021-07-04 09:10:32 +02:00
opencl
osx
package Removed duplicated include 2021-06-23 12:19:07 +02:00
pch
postprocess
pyuno
qadevOOo
readlicense_oo tdf#141709: Use poppler_data 2021-06-23 11:21:00 +02:00
registry
remotebridges
reportbuilder
reportdesign tdf#121715 XLSX: support custom first page header/footer 2021-06-29 11:21:01 +02:00
ridljar
sal Remove unused includes 2021-07-04 15:41:40 +02:00
salhelper
sax
sc move SfxSetItem to own header file 2021-07-04 16:12:17 +02:00
scaddins Purge out when safe rtl::math ( isValidArcArg / sin / cos ) 2021-07-03 21:57:29 +02:00
sccomp
schema new ODF numbered list parameter loext:num-list-format 2021-06-29 00:48:36 +02:00
scp2
scripting loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
sd cid#1486703 if bUsePlaceholderIndex is true then ePlaceholder != Outliner 2021-07-04 16:51:53 +02:00
sdext loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
setup_native
sfx2 move SfxSetItem to own header file 2021-07-04 16:12:17 +02:00
shell -Werror,-Wunused-but-set-parameter (clang-cl 13 trunk) 2021-06-25 21:10:28 +02:00
slideshow loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
smoketest
solenv Implement Interface for Data Providers. 2021-07-03 20:51:04 +02:00
soltools loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
sot
starmath
stoc Drop old MSVC workaround 2021-06-29 21:31:47 +02:00
store
svgio loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
svl move SfxSetItem to own header file 2021-07-04 16:12:17 +02:00
svtools convert AccessibleBrowseBoxObjType to scoped enum 2021-07-02 12:37:25 +02:00
svx add use-underline to color picker button 2021-07-02 17:08:45 +02:00
sw ofz#35787 Timeout 2021-07-04 21:47:07 +02:00
swext
sysui Add URI handlers for MS Office URI Schemes on Linux/macOS 2021-06-28 17:53:33 +02:00
test tdf#142871 sw HTML export: avoid unwanted inner PNG for images 2021-07-01 18:25:01 +02:00
testtools
toolkit loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
tools ofz#35504 promote to double earlier 2021-06-29 12:13:33 +02:00
translations@491af494a9 Update git submodules 2021-06-24 14:40:43 +02:00
ucb loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
ucbhelper
udkapi
uitest Revert "uitest: try harder to close the dialog when it fails..." 2021-07-02 21:45:04 +02:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools fix failure in JunitTest_unotools_complex 2021-06-30 11:30:49 +02:00
unoxml
ure Revert bogus drop of "rtl::" prefix in external code 2021-06-29 11:53:19 +02:00
uui
vbahelper loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
vcl Resolves: tdf#125035 Use number formatter for long date in DateFormatter fields 2021-07-04 02:28:48 +02:00
wasm-qt
winaccessibility wina11y: enum XInterfaceIndex -> enum class XInterfaceType 2021-06-28 15:34:10 +02:00
wizards ScriptForge - (SF_Exception) new PythonPrint() method 2021-07-02 10:50:09 +02:00
writerfilter tdf#142464: do not escape '/' is AM/PM when importing DOCX. 2021-07-04 14:16:35 +02:00
writerperfect
xmerge
xmlhelp loplugin:indentation improve checks for brace alignment 2021-06-28 10:47:34 +02:00
xmloff tdf#142902 DOCX export: remove personal info of comments and changes 2021-07-03 12:54:39 +02:00
xmlreader
xmlscript
xmlsecurity xmlsecurity: remove last not needed direct pdfium dependency 2021-07-01 08:29:25 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs tdf#123936 Add formatting commits to .git-blame-ignore-revs 2021-07-01 10:19:17 +02:00
.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 Fix LIB_FUZZING_ENGINE not-empty check 2021-07-04 20:35:03 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst python3: update to 3.8.10 2021-06-25 10:59:47 +02:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt exclude more UNO type and crypto leaks 2021-06-30 13:22:32 +02:00
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch tdf#141709: Use poppler_data 2021-06-23 11:21:00 +02:00
Makefile.gbuild
Makefile.in
README.cross
README.help.md
README.md
README.Solaris
README.wasm
Repository.mk
RepositoryExternal.mk tdf#141709: Use poppler_data 2021-06-23 11:21:00 +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.