Test repository to check push and ssh key
Find a file
Katarina Behrens d938e1ab00 gpg4libre: translatable strings for non-LibO filepickers
just strings, code using them is yet to be implemented

Change-Id: I03b2c44f574b3212b39bf4aabedf01c577f35de9
Reviewed-on: https://gerrit.libreoffice.org/45156
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-23 17:48:45 +01:00
.git-hooks git-hooks: fix pre-commit in submodules 2017-11-21 11:16:11 +01:00
accessibility cosmetics: Drop duplicate semicolon 2017-11-20 14:01:44 +01:00
android
animations
apple_remote
avmedia Make loplugin:unnecessaryparen warn about (x) ? ... : ... after all 2017-11-22 19:16:52 +01:00
basctl loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
basegfx Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
basic replace check of eof and GetError with good 2017-11-22 13:33:46 +01:00
bean
bin vim-ide-integration: -I<dir> workaround is no longer needed 2017-11-23 10:27:41 +01:00
binaryurp Replace list by vector in incomingrequest (binaryurp) 2017-11-23 09:32:45 +01:00
bridges
canvas
chart2 Make loplugin:unnecessaryparen warn about (x) ? ... : ... after all 2017-11-22 19:16:52 +01:00
cli_ure
codemaker
comphelper loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
compilerplugins loplugin:simplifybool can't invert conditions involving float types 2017-11-23 14:11:24 +01:00
config_host gpg4libre: conditional-compile gpgme code 2017-11-23 12:13:43 +01:00
configmgr
connectivity loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
cppcanvas Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
cppu
cppuhelper
cpputools
cui gpg4libre: UI and config for adding GPG keys to user's identity 2017-11-23 16:18:34 +01:00
dbaccess Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
desktop tdf#90794 Position of progress bar on high res screens 2017-11-23 16:08:51 +01:00
dictionaries@56684558fb
distro-configs
drawinglayer Make loplugin:unnecessaryparen warn about (x) ? ... : ... after all 2017-11-22 19:16:52 +01:00
dtrans
editeng Translate German variable name 2017-11-21 06:11:47 +01:00
embeddedobj Help old GCC 2017-11-22 16:40:57 +01:00
embedserv
emfio replace check of eof and GetError with good 2017-11-22 13:33:46 +01:00
eventattacher
extensions loplugin:simplifybool 2017-11-23 11:23:39 +01:00
external cairo: drop no longer needed patch for android 2017-11-22 23:15:02 +01:00
extras tdf#79754 updated windows shellnew template files 2017-11-20 20:02:52 +01:00
filter loplugin:simplifybool can't invert conditions involving float types 2017-11-23 14:11:24 +01:00
forms Fix typos 2017-11-20 11:23:12 +01:00
formula Assert also new FormulaToken::SetDoubleType() virtual dummy 2017-11-21 16:09:44 +05:30
fpicker loplugin:unnecessaryparen 2017-11-23 17:29:55 +01:00
framework Related: tdf#113160 set a temporary dialog parent during type detection 2017-11-23 15:13:46 +01:00
helpcompiler
helpcontent2@d2dec6e9c5 Updated core 2017-11-22 08:57:49 +01:00
hwpfilter loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
i18nlangtag
i18npool Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
i18nutil Upgrade to ICU 60.1 2017-11-20 19:28:10 +01:00
icon-themes Elementary Icons sc icon update 2017-11-20 00:35:23 +01:00
idl drop duplicate method 2017-11-22 13:33:25 +01:00
idlc look for =() in loplugin:unnecessaryparen 2017-11-20 12:31:32 +01:00
include gpg4libre: translatable strings for non-LibO filepickers 2017-11-23 17:48:45 +01:00
instsetoo_native tdf#90794 Position of progress bar on high res screens 2017-11-23 16:08:51 +01:00
io loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
ios iOS, do not use different C compilers 2017-11-23 08:53:39 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
l10ntools look for =() in loplugin:unnecessaryparen 2017-11-20 12:31:32 +01:00
librelogo
libreofficekit
lingucomponent
linguistic drop duplicate method 2017-11-22 13:33:25 +01:00
lotuswordpro replace check of eof and GetError with good 2017-11-22 13:33:46 +01:00
m4
mysqlc
nlpsolver
o3tl
odk Fix typos 2017-11-21 08:48:40 +01:00
offapi Fix typo 2017-11-22 09:10:42 +01:00
officecfg gpg4libre: UI and config for adding GPG keys to user's identity 2017-11-23 16:18:34 +01:00
onlineupdate Fix typos 2017-11-19 21:57:17 +01:00
oovbaapi
oox Convert fprintf to SAL_WARN / SAL_INFO 2017-11-23 10:44:52 +01:00
opencl
osx
package
postprocess iOS reactivated swarmsolver 2017-11-19 11:12:21 +01:00
pyuno loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
qadevOOo tdf#45904 Move _XScenarioEnhanced Java test to C++ 2017-11-23 09:51:49 +01:00
readlicense_oo
registry loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
remotebridges
reportbuilder
reportdesign Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
ridljar
sal loplugin:simplifybool can't invert conditions involving float types 2017-11-23 14:11:24 +01:00
salhelper
sax loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
sc Move the need for several ugly const_casts deeper down to just one place 2017-11-23 15:29:04 +01:00
scaddins
sccomp clang-format fixes 2017-11-21 11:16:24 +01:00
schema
scp2
scripting
sd Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
sdext
setup_native
sfx2 Related: tdf#113160 set a temporary dialog parent during type detection 2017-11-23 15:13:46 +01:00
shell
slideshow look for =() in loplugin:unnecessaryparen 2017-11-20 12:31:32 +01:00
smoketest
solenv ios: blacklist newly pushed non-formatted files 2017-11-23 09:57:44 +01:00
soltools
sot Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
starmath loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
stoc
store loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
svgio
svl loplugin:simplifybool can't invert conditions involving float types 2017-11-23 14:11:24 +01:00
svtools Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
svx tdf#113657: fix crash when trying to format empty paragraph 2017-11-23 15:15:28 +01:00
sw tdf#50746 add paste unformatted to menu and context menu 2017-11-23 12:19:42 +01:00
swext
sysui
test tdf#45904 Move _XScenarioEnhanced Java test to C++ 2017-11-23 09:51:49 +01:00
testtools
toolkit Make loplugin:unnecessaryparen look through implicit 2017-11-23 10:00:44 +01:00
tools loplugin:simplifybool can't invert conditions involving float types 2017-11-23 14:11:24 +01:00
translations@a0c08eb77f Updated core 2017-11-22 21:23:36 +01:00
ucb loplugin:simplifybool re-activate the !! warning 2017-11-22 07:44:16 +01:00
ucbhelper
udkapi
uitest tdf#112650 Disable 'background settings for all pages' 2017-11-21 20:56:46 +01:00
UnoControls Fix typos 2017-11-21 08:48:40 +01:00
unodevtools
unoidl
unoil
unotest cosmetics: Drop duplicate semicolon 2017-11-20 14:01:44 +01:00
unotools drop duplicate method 2017-11-22 13:33:25 +01:00
unoxml Make loplugin:unnecessaryparen warn about (x) ? ... : ... after all 2017-11-22 19:16:52 +01:00
ure
uui
vbahelper
vcl gpg4libre: translatable strings for non-LibO filepickers 2017-11-23 17:48:45 +01:00
winaccessibility
wizards Access2Base - FIX OutputStringToHtml 2017-11-23 16:42:40 +01:00
writerfilter loplugin:simplifybool for negation of comparison operator 2017-11-23 06:59:31 +01:00
writerperfect drop duplicate method 2017-11-22 13:33:25 +01:00
xmerge
xmlhelp
xmloff xmloff: Drop non-existent XMLTextPropertyHandlerFactory_Impl 2017-11-23 15:04:05 +01:00
xmlreader
xmlscript
xmlsecurity gpg4libre: conditional-compile gpgme code 2017-11-23 12:13:43 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in
config_host_lang.mk.in
configure.ac gpg4libre: conditional-compile gpgme code 2017-11-23 12:13:43 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst gpg4libre: add glib2 dependency for Windows 2017-11-20 22:32:22 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch gpg4libre: add glib2 dependency for Windows 2017-11-20 22:32:22 +01:00
Makefile.gbuild
Makefile.in clang-format: enforce coding style via Jenkins 2017-11-20 13:41:40 +01:00
README.cross
README.md
README.Solaris
Repository.mk we now get a solver lib even without lpsolve or coinmp 2017-11-18 21:59:41 +01:00
RepositoryExternal.mk gpg4libre: package gpgme spawn helper for Windows 2017-11-23 12:48:44 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
TEMPLATE.SOURCECODE.HEADER

LibreOffice

Coverity Scan Build Status CII Best Practices

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 2015 Update 3
  • macOS:
    • Runtime: 10.9
    • Build: 10.12 + Xcode 8
  • Linux:
    • Runtime: RHEL 6 or CentOS 6
    • Build: GCC 4.8.1 or Clang
  • iOS (only for LibreOfficeKit):
    • Runtime: 11.0 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.0 and iPhone SDK 11.1

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 3.4. 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:

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

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.