Test repository to check push and ssh key
Find a file
Andrea Gelmini eccea66848 Removed executable permission on images files
Change-Id: I052313be756947926e5807f2dd3071c405838bf6
Reviewed-on: https://gerrit.libreoffice.org/54909
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-02 01:19:40 +02:00
.git-hooks Restore .git-hooks/commit-msg accidentally removed earlier 2018-05-22 11:48:59 +02:00
accessibility Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
android tdf#117777 fix show hidden files/folders option on Android 2018-06-01 04:32:33 +02:00
animations
apple_remote
avmedia include guard should be at the end of the file 2018-05-24 20:46:18 +02:00
basctl SOSAW080: Cleanup of SdrModel 2018-05-31 15:53:51 +02:00
basegfx loplugin:passstuffbyref 2018-05-25 21:46:32 +02:00
basic loplugin:includeform (clang-cl) 2018-06-01 14:16:22 +02:00
bean
bin Add missing die and help functions 2018-06-01 10:06:22 +02:00
binaryurp
bridges
canvas move some CanvasHelper::implDrawBitmap inside vcl 2018-05-31 08:30:42 +02:00
chart2 Removed executable permission on data files 2018-06-02 01:18:35 +02:00
cli_ure
codemaker
comphelper loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
compilerplugins Improve loplugin:unreffun 2018-06-01 20:52:41 +02:00
config_host rename config_extension_update.h.in to config_extensions.h.in 2018-05-23 11:44:57 +02:00
configmgr Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
connectivity tdf#117446: FB mig, (VAR)BINARY, fix memory management 2018-05-28 20:29:29 +02:00
cppcanvas drop Graphic::GetBitmap 2018-05-31 14:08:44 +02:00
cppu loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
cppuhelper cppuhelper : use rtl::isAlphaNumeric instead of recreate the method. 2018-05-31 20:09:25 +02:00
cpputools
cui Removed executable permission on source file 2018-06-02 00:57:01 +02:00
dbaccess loplugin:useuniqueptr in OTableSubscriptionDialog 2018-05-29 09:58:26 +02:00
desktop loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
dictionaries@6c85a19c88 Updated core 2018-05-29 22:11:07 +02:00
distro-configs remove Linux ("UNX") systray "Quickstarter" 2018-05-23 12:02:59 +02:00
drawinglayer drop Graphic::GetBitmap 2018-05-31 14:08:44 +02:00
dtrans
editeng SID_FIELD appears to be in use 2018-05-25 21:47:10 +02:00
embeddedobj sw HTML filter: handle embedded ODF content in xhtml/reqif mode 2018-05-30 22:22:20 +02:00
embedserv
emfio
eventattacher Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
extensions Improve handling of _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING 2018-06-01 19:08:03 +02:00
external libnumbertext: update to 1.0 beta 3 2018-05-31 08:41:10 +02:00
extras add --enable-build-opensymbol option to build opens___.ttf from source 2018-05-29 15:33:05 +02:00
filter use more BitmapEx in filter 2018-06-01 20:12:18 +02:00
forms Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
formula
fpicker Bitmap->BitmapEx in FixedBitmap 2018-05-30 08:40:05 +02:00
framework drop Image(Bitmap) constructor 2018-06-01 11:14:43 +02:00
helpcompiler
helpcontent2@c4b58d2a88 Updated core 2018-06-01 15:48:44 +02:00
hwpfilter
i18nlangtag loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
i18npool loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
i18nutil
icon-themes Removed executable permission on images files 2018-06-02 01:19:40 +02:00
idl
idlc
include use more BitmapEx in filter 2018-06-01 20:12:18 +02:00
instsetoo_native Remove presumably unused instsetoo_native/util/pack.lst 2018-05-24 21:01:17 +02:00
io
ios
javaunohelper
jurt
jvmaccess Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
jvmfwk
l10ntools tdf#117729 add Frisian (fy) UI langauge 2018-05-23 13:41:53 +02:00
librelogo
libreofficekit libreofficekit: Run gla11y on gtv.ui 2018-05-24 11:09:56 +02:00
lingucomponent
linguistic linguistic: add functionality to change spellcheck color 2018-06-01 03:57:31 +02:00
lotuswordpro loplugin:unusedfields-in-constructor in various 2018-05-29 14:37:12 +02:00
m4
mysqlc
nlpsolver
o3tl loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
odk Fix typos 2018-05-27 10:12:35 +02:00
offapi linguistic: add functionality to change spellcheck color 2018-06-01 03:57:31 +02:00
officecfg tdf#116498 Use win metrics for 'DIN Light' font 2018-05-30 09:56:18 +02:00
onlineupdate
oovbaapi Add WordBasic property and its FileOpen "command" 2018-05-31 20:33:52 +02:00
oox ofz#8651 Integer-overflow 2018-05-31 22:03:17 +02:00
opencl
osx Add sal/osl/unx/file.cxx for debugging convenience 2018-05-21 17:14:44 +03:00
package Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
postprocess
pyuno Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
qadevOOo Fix typos 2018-05-27 10:12:35 +02:00
readlicense_oo tdf#111988 Bump OSX version in README 2018-05-30 19:28:30 +02:00
registry
remotebridges
reportbuilder
reportdesign SOSAW080: Cleanup of SdrModel 2018-05-31 15:53:51 +02:00
ridljar
sal loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
salhelper
sax loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
sc Removed executable permission on data files 2018-06-02 01:18:35 +02:00
scaddins
sccomp
schema
scp2 Add entries for Calc.Applcation 2018-05-31 14:29:39 +03:00
scripting Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
sd Removed executable permission on data files 2018-06-02 01:18:35 +02:00
sdext
setup_native
sfx2 OOXML types are now visible in Template Import Dialog 2018-06-01 10:58:34 +02:00
shell Fix typos 2018-05-27 10:12:35 +02:00
slideshow Fix typo 2018-05-24 08:19:45 +02:00
smoketest
solenv gla11y: Enable warnings for more widgets missing a label 2018-06-02 00:56:17 +02:00
soltools Fix typos 2018-05-27 20:26:31 +02:00
sot Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
starmath tdf#87995 Missing setting for save thumbnail in settings.xml. 2018-06-01 09:52:33 +02:00
stoc Revert "Simplify: Use AutomationInvokedZone::isActive()" 2018-05-31 17:49:11 +03:00
store
svgio loplugin:useuniqueptr in pathTextBreakupHelper 2018-05-28 08:46:55 +02:00
svl loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
svtools drop Image(Bitmap) constructor 2018-06-01 11:14:43 +02:00
svx drop Image(Bitmap) constructor 2018-06-01 11:14:43 +02:00
sw Removed executable permission on data files 2018-06-02 01:18:35 +02:00
swext
sysui Mimetype icon update for apps and impress 2018-06-01 15:11:32 +02:00
test loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
testtools
toolkit
tools loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
translations@ed31445a5c Updated core 2018-05-24 15:19:19 +02:00
ucb Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools make CharClass also mutex-protect calls to its dependent class 2018-05-30 07:13:57 +02:00
unoxml Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
ure
uui Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
vbahelper Avoid a SolarMutex assertion failure in some use cases from Automation 2018-05-31 15:46:24 +03:00
vcl Removed executable permission on data files 2018-06-02 01:18:35 +02:00
winaccessibility
wizards
writerfilter DOCX import: fix relativeFrom=page, align=right handling again 2018-06-01 19:06:27 +02:00
writerperfect loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped 2018-06-01 09:14:25 +02:00
xmerge
xmlhelp
xmloff Load ODF signature line signed images 2018-05-30 14:19:28 +02:00
xmlreader
xmlscript Improve re-throwing of UNO exceptions 2018-05-25 21:46:49 +02:00
xmlsecurity xmlsecurity: add ecdsa option to certificate generator script 2018-06-01 10:04:10 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in add --enable-build-opensymbol option to build opens___.ttf from source 2018-05-29 15:33:05 +02:00
config_host_lang.mk.in
configure.ac --enable-gio also for --disable-gtk --enable-gtk3 2018-06-01 10:03:51 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst libnumbertext: update to 1.0 beta 3 2018-05-31 08:41:10 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch add --enable-build-opensymbol option to build opens___.ttf from source 2018-05-29 15:33:05 +02:00
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk libreofficekit: Run gla11y on gtv.ui 2018-05-24 11:09:56 +02:00
RepositoryExternal.mk
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.3 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.3

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.