Test repository to check push and ssh key
Find a file
Noel Grandin 2b5812e019 rename ENABLE_HEADLESS option to DISABLE_GUI
since it has nothing to do with the headless command line option, so
use the name it has in the configure.ac file

Change-Id: Ibf0615ed02695d6e48a797f5632e4f417c010c70
Reviewed-on: https://gerrit.libreoffice.org/59611
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-08-27 08:47:49 +02:00
.git-hooks
accessibility tdf#116542 a11y: Make R/O accessibleedit use STATIC role 2018-08-17 13:19:09 +02:00
android Added Clear Formatting button on Android Viewer 2018-08-21 00:10:10 +02:00
animations
apple_remote
avmedia rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
basctl Fix typo 2018-08-25 18:33:08 +02:00
basegfx Consolidate: basegfx::clamp -> o3tl::clamp 2018-08-17 20:13:21 +02:00
basic loplugin:useuniqueptr in SbiExprNode 2018-08-22 08:26:41 +02:00
bean
bin
binaryurp
bridges -Werror,-Wmultichar (clang-cl) 2018-08-16 13:47:47 +02:00
canvas
chart2 rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
cli_ure Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
codemaker
comphelper new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
compilerplugins filter out AST in more plugins 2018-08-23 16:34:48 +02:00
config_host
configmgr Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
connectivity drop unnecessary SYSTEM_MYSQL_CONNECTOR_CPP 2018-08-26 17:51:51 +02:00
cppcanvas
cppu
cppuhelper
cpputools
cui rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
dbaccess Blind fix for -Werror,-Wunused-function 2018-08-24 15:23:43 +02:00
desktop rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
dictionaries@f72d665c06 Update git submodules 2018-08-24 15:00:59 +02:00
distro-configs
drawinglayer tdf#105998: Enhanced fix for MetafileToBitmap at better place 2018-08-17 21:27:40 +02:00
dtrans
editeng tdf#106260 Fix invisible pasted urls 2018-08-26 10:08:06 +02:00
embeddedobj
embedserv
emfio rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
eventattacher
extensions pass DelFormats around using std::vector 2018-08-24 08:55:14 +02:00
external rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
extras pt_PT autocorrect - added 21 new words. 2018-08-22 16:28:50 +02:00
filter Fix typos 2018-08-24 19:50:05 +02:00
forms
formula remove mempool 2018-08-16 15:02:27 +02:00
fpicker
framework
helpcompiler
helpcontent2@e6544c270c Update git submodules 2018-08-27 01:13:56 +02:00
hwpfilter loplugin:useuniqueptr in HStreamIODev 2018-08-21 12:11:18 +02:00
i18nlangtag tdf#119117: get phonebook sort work by tweaking ICU call mechanism 2018-08-17 20:01:10 +02:00
i18npool Resolves: tdf#119399 add es-VE currency Bolivar Soberano VES Bs.S. 2018-08-22 22:10:39 +02:00
i18nutil
icon-themes tdf#119430 new icon MeasureAttributes 2018-08-23 05:35:40 +02:00
idl
idlc
include Checkboxes don’t use title case, only section headings and menus 2018-08-26 18:10:57 -05:00
instsetoo_native
io
ios
javaunohelper boostrap->bootstrap 2018-08-26 20:52:43 +02:00
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro ofz: infinite loop 2018-08-17 11:29:24 +02:00
m4
mysqlc/source Moving mysqlc into connectivity as a library 2018-08-24 17:19:51 +02:00
nlpsolver
o3tl
odk
offapi offapi: correct description of IterateInterval. 2018-08-22 09:34:15 +02:00
officecfg tdf#119425 - Use Ctrl+Tab to switch between sheets on macOS 2018-08-24 09:05:56 +02:00
onlineupdate
oovbaapi
oox tdf#73547 fix ooxml export / import custom dashes. 2018-08-24 15:07:14 +02:00
opencl
osx
package Related rhbz#1618703: Properly handle failure encoding zip file 2018-08-23 20:38:26 +02:00
postprocess rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
pyuno
qadevOOo
readlicense_oo
registry new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
remotebridges
reportbuilder
reportdesign new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
ridljar
sal directly use malloc/free in sal, instead of rtl_allocateMemory/etc 2018-08-27 08:47:38 +02:00
salhelper
sax
sc rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
scaddins
sccomp
schema
scp2 Build fix, make install: mysql-connector-ooo extension is gone 2018-08-25 16:31:14 +02:00
scripting loplugin:useuniqueptr in StringResourceImpl 2018-08-22 13:25:44 +02:00
sd rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
sdext iRelated rhbz#1618703: Properly handle failure en-/decoding PDF file 2018-08-24 13:14:44 +02:00
setup_native
sfx2 tdf#119416 Open Special Characters dialog on Enter key press 2018-08-24 15:02:21 +02:00
shell Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
slideshow rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
smoketest
solenv rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
soltools
sot Avoid further downstream overflow 2018-08-17 22:47:32 +02:00
starmath return weld widgets by std::unique_ptr from builder 2018-08-20 08:19:48 +02:00
stoc Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
store
svgio Consolidate: basegfx::clamp -> o3tl::clamp 2018-08-17 20:13:21 +02:00
svl Related rhbz#1618703: Properly handle failure decoding master password 2018-08-23 20:38:10 +02:00
svtools tdf#119427: fix selectionChanged event 2018-08-23 23:27:49 +02:00
svx rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
sw rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
swext
sysui boostrap->bootstrap 2018-08-26 20:52:43 +02:00
test
testtools
toolkit rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
tools tdf#119326 crash when adding "Windows Share" File resource 2018-08-21 21:04:42 +02:00
translations@54cc0de67b
ucb new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui
vbahelper new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
vcl rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
winaccessibility
wizards Access2Base - Add Location to Database object 2018-08-25 18:00:23 +02:00
writerfilter ofz#10056 Null deref 2018-08-25 22:21:57 +02:00
writerperfect
xmerge
xmlhelp loplugin:useuniqueptr in chelp::DynamicResultSet 2018-08-22 13:24:24 +02:00
xmloff new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
xmlreader
xmlscript new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
xmlsecurity Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
config_host_lang.mk.in
configure.ac rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Update mdds to 1.4.1. 2018-08-26 20:13:54 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch MYSQL_CONNECTOR_CPP not built anymore 2018-08-26 17:50:33 +02:00
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
RepositoryExternal.mk rename ENABLE_HEADLESS option to DISABLE_GUI 2018-08-27 08:47:49 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk Moving mysqlc into connectivity as a library 2018-08-24 17:19:51 +02:00
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 2017
  • 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.4 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.4

At least Clang 3.4.2 is known to be too old to pass the configure.ac check "whether $CXX supports C++17, C++14, or C++11" in its current form (due to the #pragma GCC diagnostic ignored "-Wpragmas" that it does not understand).

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

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.