Test repository to check push and ssh key
Find a file
Andrea Gelmini 09425ab9f1 Removed executable permission on data files
chmod -x for .patch, .pptm, and .vb

Change-Id: I98e1221e48df22e8b58aaf305898cbe301f187ce
Reviewed-on: https://gerrit.libreoffice.org/52568
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-05-04 03:19:33 +02:00
.git-hooks clang-format: improve error message when CI fails 2018-02-09 13:06:17 +01:00
accessibility accessibility : remove useless guards and optimisze a litle 2018-04-29 22:11:46 +02:00
android tdf#96795: Use locale-sensitive sorting in Android viewer 2018-04-19 01:31:20 +02:00
animations loplugin:salcall fix functions 2017-12-11 12:13:46 +01:00
apple_remote
avmedia Clarify checking o_pbLink directly, versus missing dereferencing 2018-04-17 07:47:57 +02:00
basctl loplugin:countusersofdefaultparams 2018-04-28 08:08:52 +02:00
basegfx clang-tidy modernize-use-equals-default in basegfx 2018-04-22 08:23:01 +02:00
basic Removed executable permission on data files 2018-05-04 03:19:33 +02:00
bean Use https instead of http 2018-04-16 15:57:08 +02:00
bin VS IDE integration: use full Windows include paths in VS projects 2018-05-02 16:31:59 +02:00
binaryurp inline use-once typedefs 2017-12-19 11:57:57 +01:00
bridges loplugin:useuniqueptr in bridges 2018-04-16 08:21:56 +02:00
canvas remove some unused comphelper includes 2018-04-15 11:17:24 +02:00
chart2 weld SvxTextTabDialog 2018-05-03 21:57:05 +02:00
cli_ure tdf#94265: use install directory on delay load failure 2018-04-09 09:06:46 +02:00
codemaker coverity#1019311 silence Unchecked return value 2018-01-26 13:01:47 +00:00
comphelper turn off randomness when running under valgrind 2018-04-25 08:27:19 +02:00
compilerplugins make useuniqueptr loplugin check child compound statements 2018-05-03 08:25:43 +02:00
config_host properly check for gpgconf (and --create-socketdir) working 2018-03-18 17:21:03 +01:00
configmgr Winreg config layer: Allow to define external backend separately 2018-04-25 10:34:07 +02:00
connectivity make createStream_simpleError return std::unique_ptr 2018-05-03 08:25:55 +02:00
cppcanvas fix Windows build 2018-04-12 13:37:23 +02:00
cppu convert these to true asserts 2018-01-19 09:55:11 +01:00
cppuhelper loplugin:oncevar extend to tools/gen.hxx types 2018-02-26 07:21:04 +01:00
cpputools
cui weld SvxTextTabDialog 2018-05-03 21:57:05 +02:00
dbaccess tdf#116980 tdf#116986 Fix data migration in.. 2018-05-02 19:02:55 +02:00
desktop loplugin:constantparam 2018-04-27 10:10:52 +02:00
dictionaries@c8e86617a7 Updated core 2018-03-27 11:49:49 +02:00
distro-configs Build Jenkins ASan/UBSan bot with --enable-firebird-sdbc 2018-04-12 13:14:11 +02:00
drawinglayer loplugin:useuniqueptr in Executor 2018-04-29 18:22:10 +02:00
dtrans Fix typos 2018-04-27 07:25:38 +02:00
editeng [API CHANGE] deprecate and revert GraphicURL prop. NumberingLevel 2018-04-28 03:31:59 +02:00
embeddedobj pass area param to DBG_UNHANDLED_EXCEPTION 2018-04-03 08:38:50 +02:00
embedserv Use for-range loops in embeddedobj, embedserv and formula 2018-03-17 18:30:39 +01:00
emfio hold MetaAction by rtl::Reference 2018-04-12 12:24:28 +02:00
eventattacher No need to keep these whitelisted functions decorated with SAL_CALL 2017-12-14 13:03:06 +01:00
extensions WinUserInfoBe: a new config backend for user data provided by Windows 2018-05-02 16:38:40 +02:00
external Removed executable permission on data files 2018-05-04 03:19:33 +02:00
extras weld SmSymbolDialog 2018-04-30 10:01:00 +02:00
filter Fix typos 2018-05-02 13:56:21 +02:00
forms improve AttributeState compare operator 2018-05-01 09:16:13 +02:00
formula tdf#114479: compute implicit sum ranges for ocSumIf,ocAverageIf... 2018-04-28 13:33:55 +02:00
fpicker fix -Werror=shadow 2018-04-25 13:33:15 +02:00
framework loplugin:useuniqueptr in PathSettings 2018-05-03 16:23:57 +02:00
helpcompiler loplugin:useuniqueptr in StreamTable 2018-04-16 08:22:20 +02:00
helpcontent2@819ea03090 Updated core 2018-05-03 15:28:51 +02:00
hwpfilter cppcheck - fix variableScope in some files 2018-04-17 08:14:56 +02:00
i18nlangtag Use for-range loops in hwpfilter, i18n*, idl* and io 2018-03-18 11:33:16 +01:00
i18npool tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
i18nutil loplugin:redundantfcast look for redundant copies in return statements 2018-03-12 07:37:24 +01:00
icon-themes Colibre icons: add 32px icon size support 2018-05-03 14:56:06 +02:00
idl loplugin:virtualdown in various 2018-03-30 12:55:56 +02:00
idlc fflush() followed by fclose() is redundant 2018-04-06 06:35:02 +02:00
include logging: add some strategic places around vcl messages 2018-05-04 02:46:57 +02:00
instsetoo_native tdf#116240: Include --with-help=html in installation sets 2018-05-02 10:42:45 +02:00
io Use for-range loops in hwpfilter, i18n*, idl* and io 2018-03-18 11:33:16 +01:00
ios iOS, update source to xcode 9.3 swift 4.1 2018-04-02 12:28:12 +02:00
javaunohelper Use https instead of http 2018-04-16 15:57:08 +02:00
jurt Use https instead of http 2018-04-16 15:57:08 +02:00
jvmaccess Use for-range loops in some modules 2018-03-25 15:14:44 +02:00
jvmfwk Keep strings alive again as necessary 2018-04-12 08:26:34 +02:00
l10ntools loplugin:unusedmethods 2018-03-29 14:45:43 +02:00
librelogo
libreofficekit cppcheck - fix variableScope in some files 2018-04-17 08:14:56 +02:00
lingucomponent loplugin:staticaccess 2018-05-03 13:27:21 +02:00
linguistic Defer grammar checker thread creation until use. 2018-04-16 22:50:24 +02:00
lotuswordpro ofz#8095 avoid recurse to death 2018-04-30 17:40:47 +02:00
m4 Fix typos 2017-12-14 01:32:22 +01:00
mysqlc loplugin:useuniqueptr in mysqlc 2018-04-23 08:14:00 +02:00
nlpsolver Fix typos 2018-01-27 08:49:38 +01:00
o3tl
odk Fix typos 2018-05-02 07:59:14 +02:00
offapi Fix typo 2018-05-03 16:45:23 +02:00
officecfg tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
onlineupdate updater: Tone down the geekiness in user-facing strings 2018-03-20 05:35:42 -06:00
oovbaapi Fix typos 2018-04-12 20:14:30 +02:00
oox DOC import: lazy-read images 2018-04-20 21:12:56 +02:00
opencl convert a<b?a:b to std::min(a,b) 2018-01-15 07:26:17 +01:00
osx Add a few Mac-specific source files in avmedia for easier breakpointing 2018-01-08 12:01:29 +02:00
package loplugin:useuniqueptr in OZipFileAccess 2018-04-23 08:14:20 +02:00
postprocess tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
pyuno configure,pyuno: require at least Python 2.7 2018-04-09 10:32:47 +02:00
qadevOOo [API CHANGE] revert SymbolBitmapURL impl, add SymbolBitmap property 2018-05-03 08:51:01 +02:00
readlicense_oo update credits 2018-04-25 23:25:57 +02:00
registry loplugin:constantparam 2018-04-27 10:10:52 +02:00
remotebridges loplugin:salcall fix functions 2017-12-11 12:13:46 +01:00
reportbuilder use the standard name pattern for a package 2018-04-15 13:49:53 +02:00
reportdesign make WB_LINESPACING a bool field on Toolbox 2018-04-27 08:20:14 +02:00
ridljar Use https instead of http 2018-04-16 15:57:08 +02:00
sal loplugin:constantparam 2018-04-27 10:10:52 +02:00
salhelper salhelper: MSVC: pragma warning: make more specific, remove obsolete 2018-02-02 05:58:10 +01:00
sax ofz#7110 ensure join is called on std::exceptions as well as uno::Exception 2018-03-25 18:33:00 +02:00
sc Resolves: tdf#117005 undo/redo skips comment when switching sheets 2018-05-03 22:01:37 +02:00
scaddins Fix typos 2018-04-14 08:05:36 +02:00
sccomp swarm: don't assert the result in testUnconstrained 2018-02-28 14:26:34 +01:00
schema
scp2 tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
scripting Removed executable permission on data files 2018-05-04 03:19:33 +02:00
sd Removed executable permission on data files 2018-05-04 03:19:33 +02:00
sdext fix build with poppler 0.64 2018-04-24 22:29:08 +02:00
setup_native loplugin:nullptr (clang-cl) 2018-05-01 15:15:38 +02:00
sfx2 Reverse debug logic 2018-05-04 00:13:48 +02:00
shell loplugin:redundantfcast (clang-cl) 2018-04-20 08:51:12 +02:00
slideshow loplugin:countusersofdefaultparams 2018-04-28 08:08:52 +02:00
smoketest Fix typos 2018-04-14 08:05:36 +02:00
solenv gla11y: Enable duplicate labelling warnings 2018-05-04 03:14:43 +02:00
soltools Deduplicate includes 2018-03-07 10:42:09 +01:00
sot cppcheck: identicalInnerCondition 2018-04-21 11:02:29 +02:00
starmath hook up can-focus to ability to tab into the widget 2018-04-30 11:41:54 +02:00
stoc tdf#100726 - Improve readability of OUString concatanations 2018-04-17 08:16:54 +02:00
store loplugin:countusersofdefaultparams 2018-04-28 08:08:52 +02:00
svgio new loplugin:unusedvariablemore 2018-04-11 09:48:10 +02:00
svl Avoid number scanner overhead for all General formats 2018-05-04 00:30:45 +02:00
svtools Fix typos 2018-05-02 07:59:14 +02:00
svx support native focus for drawing sub region 2018-05-03 21:55:59 +02:00
sw tdf#117283 Select all drawing objects with the same name 2018-05-04 03:17:26 +02:00
swext remove notice about cite.php 2018-03-24 14:05:45 +01:00
sysui Removed executable permission on data file 2018-05-04 02:52:38 +02:00
test xml diff - report what attribute values actually differ 2018-04-26 17:42:44 +02:00
testtools Use PYTHON_FOR_BUILD instead of calling python directly 2018-02-13 15:34:21 +01:00
toolkit logging: add some strategic places around vcl messages 2018-05-04 02:46:57 +02:00
tools tools: test for MinMax 2018-04-30 08:19:23 +02:00
translations@61991bde16 Updated core 2018-04-25 23:12:59 +02:00
ucb loplugin:useuniqueptr in CachedContentResultSet::CCRS_Cache 2018-04-23 08:15:49 +02:00
ucbhelper loplugin:redundantfcast look for redundant copies in return statements 2018-03-12 07:37:24 +01:00
udkapi Fix typos 2018-04-17 15:15:10 +02:00
uitest Create temp copies of test docs in Python/UITests 2018-04-03 08:23:44 +02:00
UnoControls Fix typos 2018-04-16 23:19:34 +02:00
unodevtools Fix typos 2018-03-15 20:09:53 +01:00
unoidl Typo in error message 2018-03-16 16:18:45 +01:00
unoil Use https instead of http 2018-04-16 15:57:08 +02:00
unotest Fix typos 2018-04-14 08:08:30 +02:00
unotools tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
unoxml Fix typos 2018-04-13 23:22:51 +02:00
ure Remove std::bad_alloc -> css::uno::RuntimeException mappings 2018-04-09 21:25:18 +02:00
uui tdf#42949 Remove unnecessary localization headers of svtools 2018-04-20 09:00:44 +02:00
vbahelper remove some unused comphelper includes 2018-04-15 11:17:24 +02:00
vcl logging: add some strategic places around vcl messages 2018-05-04 02:46:57 +02:00
winaccessibility Fix typo 2018-04-13 15:41:09 +02:00
wizards Access2Base - German translation 2018-04-24 17:22:32 +02:00
writerfilter tdf#117268: treat erroneous \itap0 the same way as Word does 2018-05-03 19:29:54 +02:00
writerperfect convert a sequence of if to a switch 2018-05-01 07:59:04 +02:00
xmerge Fix typos 2018-04-16 23:19:34 +02:00
xmlhelp remove unused processfactory.hxx includes 2018-04-01 12:11:26 +02:00
xmloff loplugin:useuniqueptr in XMLTextParagraphExport 2018-04-30 08:39:04 +02:00
xmlreader Silence -Werror=implicit-fallthrough= (upcoming GCC 8) 2018-01-23 14:17:03 +01:00
xmlscript [API CHANGE] deprecate XGraphicObjectResolver 2018-04-26 18:19:32 +02:00
xmlsecurity xmlsecurity: remove duplicated Windows-specific component file 2018-04-27 10:12:46 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig We have some Objective-C source files, too 2017-12-01 12:59:43 +02:00
.gitattributes
.gitignore Ignore Emacs lock files 2018-01-30 11:22:54 +01:00
.gitmodules
.gitreview
autogen.sh Don't set autogen.sh KEY=VALUE arguments as environment variables 2018-01-19 08:19:02 +01:00
BUCK
config.guess Update config.{guess,sub} 2018-01-20 20:48:41 +01:00
config.sub Update config.{guess,sub} 2018-01-20 20:48:41 +01:00
config_host.mk.in actually export SYSTEM_LIBNUMBERTEXT_DATA in config_host.mk 2018-05-04 00:35:40 +02:00
config_host_lang.mk.in
configure.ac fix system-libnumbertext build 2018-05-03 23:55:25 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
g Revert "g: ignore submodule changes" 2018-03-12 20:38:49 +01:00
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
Makefile.gbuild
Makefile.in gbuild: add target rules for all modules 2018-04-21 00:00:24 +02:00
README.cross
README.md iOS, bump versions 2018-04-01 18:21:29 +02:00
README.Solaris
Repository.mk tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
RepositoryExternal.mk tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
RepositoryFixes.mk Revert "Remove dead HSQLDB driver" 2018-04-12 09:09:37 +02:00
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.