Test repository to check push and ssh key
Find a file
Mike Kaganski 37b81dd54a twain32shim: Windows directory might not be in DLL search path sometimes
So try the full path to TWAIN_32.DLL if first try failed.

Change-Id: I9ad262c91ebc7b3df63fbec3ffe34595ffd78c75
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103669
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-09-30 12:23:34 +02:00
.git-hooks
.github
accessibility
android
animations
apple_remote
avmedia
basctl
basegfx
basic Fix typo in code 2020-09-27 09:48:22 +02:00
bean
bin Fix typo in code 2020-09-26 13:29:31 +02:00
binaryurp
bridges bridges: add a Windows Arm64 UNO bridge 2020-09-30 03:08:36 +02:00
canvas make vclcanvas try directly VCL for drawing stroked polygon (tdf#136933) 2020-09-29 09:55:34 +02:00
chart2 Add extended tip to chart2 leader lines ui 2020-09-29 12:37:57 +02:00
cli_ure
codemaker
comphelper improve some exception messages 2020-09-27 09:50:31 +02:00
compilerplugins
config_host
configmgr Fix typo in code 2020-09-24 18:33:44 +02:00
connectivity Replace include list by vector 2020-09-29 21:18:04 +02:00
cppcanvas Resolves: tdf#137071 draw canvas under/over lines after background 2020-09-28 13:50:50 +02:00
cppu cid#1448292 coverity has difficulty with css::uno::Sequence 2020-09-25 15:16:06 +02:00
cppuhelper
cpputools
cui Add extended tips for slant&corner radius tab page 2020-09-28 23:50:39 +02:00
dbaccess Related: tdf#137016 check if subcontrol has the focus 2020-09-28 13:12:42 +02:00
desktop speed-up: preload JVM when PreloadJVM is set 2020-09-24 15:01:32 +02:00
dictionaries@8cd579e3a6
distro-configs
drawinglayer disentangle AA and B2D use in VCL drawing 2020-09-29 09:54:42 +02:00
editeng
embeddedobj
embedserv
emfio
eventattacher
extensions twain32shim: Windows directory might not be in DLL search path sometimes 2020-09-30 12:23:34 +02:00
external icu: fix Windows Arm64 build 2020-09-30 04:45:07 +02:00
extras
filter ofz#26000 don't bother with loop if nOrigPos is 0 2020-09-28 15:13:17 +02:00
forms Fix typo in code 2020-09-26 12:49:42 +02:00
formula Resolves: tdf#137091 Use CharClass matching the formula language 2020-09-29 00:54:12 +02:00
fpicker
framework Fix typo 2020-09-24 19:38:31 +02:00
helpcompiler
helpcontent2@b16f95724b Update git submodules 2020-09-29 22:04:53 +02:00
hwpfilter Remove unused include list in hwpfilter 2020-09-27 16:17:41 +02:00
i18nlangtag Add English Kenya LCID 0xAC09 {en-KE} langtag mapping, tdf#115436 2020-09-24 14:20:36 +02:00
i18npool tdf#137009: except Togo, all French locales in African don't use AM/PM 2020-09-30 01:16:27 +02:00
i18nutil
icon-themes plus minus sidebar icon theme update 2020-09-24 20:36:46 +02:00
idl
idlc
include vcl: add PDFiumAnnotation::getObjectCount() 2020-09-30 08:25:22 +02:00
instsetoo_native
io improve some exception messages 2020-09-27 09:50:31 +02:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver value and targetValue cannot be null at this point 2020-09-25 17:56:55 +02:00
o3tl
odk Restrict odk/examples to non-parallel make 2020-09-27 15:03:19 +02:00
offapi Fix typo 2020-09-26 12:44:13 +02:00
officecfg Fix CppunitTest_connectivity_mork 2020-09-30 10:06:55 +02:00
onlineupdate Fix typo in code 2020-09-29 15:16:10 +02:00
oovbaapi
oox oox smartart: snake algo: apply constraints on child shape widths 2020-09-29 21:05:54 +02:00
opencl
osx
package struct OHierarchyElement_Impl was apparently meant to be a class 2020-09-28 11:21:18 +02:00
pch
postprocess
pyuno
qadevOOo Fix typo in code 2020-09-26 12:50:19 +02:00
readlicense_oo More “e-mail” → “email” 2020-09-29 22:04:47 -05:00
registry
remotebridges
reportbuilder
reportdesign Fix typo in code 2020-09-26 09:54:20 +02:00
ridljar socket cannot be null at this point 2020-09-25 17:56:33 +02:00
sal Fix typo in code 2020-09-26 09:41:23 +02:00
salhelper
sax tdf#136551 DOTX import: restore support for large XML attribute values 2020-09-29 09:06:07 +02:00
sc tdf#43958 sc: fix fill by selecting merged cell 2020-09-30 10:32:30 +02:00
scaddins
sccomp
schema
scp2
scripting
sd oox smartart: snake algo: apply constraints on child shape widths 2020-09-29 21:05:54 +02:00
sdext
setup_native
sfx2 tdf#133690 Cleanup Sidebar theme 2020-09-24 20:37:39 +02:00
shell
slideshow
smoketest
solenv Run gdb in gdb-core-bt.sh with PYTHONWARNINGS=default, too 2020-09-30 08:21:12 +02:00
soltools
sot
starmath tdf#137008 mml crash on load 2020-09-25 11:13:40 +02:00
stoc speed-up: preload JVM when PreloadJVM is set 2020-09-24 15:01:32 +02:00
store
svgio
svl Related: tdf#136985 SfxStringListItem::GetString() crash in empty case 2020-09-26 22:20:50 +02:00
svtools tdf#136520 allow color popdowns to be tearable again 2020-09-29 18:13:33 +02:00
svx loplugin:reducevarscope in svx 2020-09-30 11:48:48 +02:00
sw tdf#137104 Added a check for headings in tables 2020-09-30 12:06:23 +02:00
swext
sysui
test Fix typo in code 2020-09-26 09:40:34 +02:00
testtools
toolkit Fix typo in code 2020-09-26 09:44:26 +02:00
tools Fix SSE2 cpuid checks 2020-09-28 13:22:11 +02:00
translations@b7dd30b210 Update git submodules 2020-09-28 13:08:38 +02:00
ucb Remove unused include list in ucb/cmis_content 2020-09-27 15:09:25 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools Fix typo in code 2020-09-25 08:27:00 +02:00
unoxml
ure
uui
vbahelper
vcl fix DrawDeviceAlphaBitmap() with mirroring (tdf#136223) 2020-09-30 11:38:37 +02:00
winaccessibility
wizards More “e-mail” → “email” 2020-09-29 22:04:47 -05:00
writerfilter fix Graphic duplication in import and add GraphicMapper 2020-09-25 12:01:07 +02:00
writerperfect upload libmwaw 0.3.17 2020-09-28 08:58:06 +02:00
xmerge
xmlhelp
xmloff
xmlreader
xmlscript
xmlsecurity vcl: add PDFiumAnnotation::getObjectCount() 2020-09-30 08:25:22 +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
config_host_lang.mk.in
configure.ac upload libmwaw 0.3.17 2020-09-28 08:58:06 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Update liborcus to 0.16.1. 2020-09-29 02:16:27 +02:00
g
hardened_runtime.xcent.in
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk bridges: add a Windows Arm64 UNO bridge 2020-09-30 03:08:36 +02:00
RepositoryExternal.mk
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.4
  • 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 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 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.