Test repository to check push and ssh key
Find a file
himajin100000 a0e326f5e1 Minimum Supported Version is VS2017
Change-Id: Id771f1fe0d8c6702a52836f6229a944d259fed4c
Reviewed-on: https://gerrit.libreoffice.org/66424
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-01-16 12:49:14 +01:00
.git-hooks
accessibility tdf#42949 Fix IWYU warnings in include/toolkit/* 2019-01-15 11:54:11 +01:00
android
animations
apple_remote
avmedia
basctl o3tl::make_unique -> std::make_unique in basctl...bridges 2019-01-16 07:20:49 +01:00
basegfx basegfx: Kill empty .cxx 2019-01-13 20:46:01 +01:00
basic Minimum Supported Version is VS2017 2019-01-16 12:49:14 +01:00
bean
bin find-unneeded-includes: don't propose cmath -> bits/std_abs.h 2019-01-11 18:30:50 +01:00
binaryurp Use C++17 nested namespace definitions (in binaryurp) 2019-01-14 15:28:21 +01:00
bridges o3tl::make_unique -> std::make_unique in basctl...bridges 2019-01-16 07:20:49 +01:00
canvas tdf#42949 Fix IWYU warnings in include/toolkit/* 2019-01-15 11:54:11 +01:00
chart2 tdf#42949 Fix IWYU warnings in include/toolkit/* 2019-01-15 11:54:11 +01:00
cli_ure
codemaker
comphelper Replace OUStringBuffer::appendCopy with append(std::u16string_view) 2019-01-11 13:55:14 +01:00
compilerplugins Drop o3tl/string_view.hxx 2019-01-11 10:52:54 +01:00
config_host
configmgr Replace uses of rtl/instance.hxx with plain local static vars in configmgr 2019-01-16 09:20:26 +01:00
connectivity Fix typo 2019-01-16 07:05:53 +01:00
cppcanvas
cppu
cppuhelper
cpputools
cui Related: tdf#122627 auto detect of toggle column doesn't work 2019-01-15 22:14:39 +01:00
dbaccess tdf#42949 Fix IWYU warnings in include/toolkit/* 2019-01-15 11:54:11 +01:00
desktop tdf#42949 Fix IWYU warnings in include/toolkit/* 2019-01-15 11:54:11 +01:00
dictionaries@f2b8065791
distro-configs
drawinglayer Drop o3tl/clamp.hxx, use C++17 std::clamp instead 2019-01-11 20:25:08 +01:00
dtrans
editeng Drop o3tl/clamp.hxx, use C++17 std::clamp instead 2019-01-11 20:25:08 +01:00
embeddedobj
embedserv o3tl::string_view -> std::string_view (in embedserv) 2019-01-10 22:22:29 +01:00
emfio
eventattacher
extensions Minimum Supported Version is VS2017 2019-01-16 12:49:14 +01:00
external Minimum Supported Version is VS2017 2019-01-16 12:49:14 +01:00
extras
filter Resolves: tdf#122711 fix order of columns 2019-01-15 12:44:44 +01:00
forms tdf#42949 Fix IWYU warnings in include/toolkit/* 2019-01-15 11:54:11 +01:00
formula Related: tdf#122301 FREQUENCY() with ForceArrayReturn on caller 2019-01-16 11:17:14 +01:00
fpicker
framework tdf#45904 Move XElementAccess Java tests to C++ 2019-01-16 00:30:32 +01:00
helpcompiler
helpcontent2@9c8587d4fb Update git submodules 2019-01-14 19:29:34 +01:00
hwpfilter
i18nlangtag
i18npool Replace OUStringBuffer::appendCopy with append(std::u16string_view) 2019-01-11 13:55:14 +01:00
i18nutil
icon-themes Sifr icon theme shapes update 2019-01-16 08:01:26 +01:00
idl
idlc
include pass RedlinData around by unique_ptr 2019-01-16 11:54:38 +01:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl array_view was changed to span in upcoming C++20 2019-01-13 11:27:30 +01:00
odk
offapi
officecfg tdf#115228 nouns in UI are uppercase, hence Manage Document Classification and .. 2019-01-11 17:15:01 +01:00
onlineupdate
oovbaapi
oox Fix typo 2019-01-15 07:06:44 +01:00
opencl Replace OUStringBuffer::appendCopy with append(std::u16string_view) 2019-01-11 13:55:14 +01:00
osx
package
postprocess
pyuno
qadevOOo tdf#45904 Move XElementAccess Java tests to C++ 2019-01-16 00:30:32 +01:00
readlicense_oo
registry Replace OUStringBuffer::appendCopy with append(std::u16string_view) 2019-01-11 13:55:14 +01:00
remotebridges
reportbuilder
reportdesign
ridljar
sal Use OString for memory management of osl_psz_getConfigDir 2019-01-16 10:58:29 +01:00
salhelper
sax Replace OUStringBuffer::appendCopy with append(std::u16string_view) 2019-01-11 13:55:14 +01:00
sc pass ScPostIt around by unique_ptr 2019-01-16 12:16:49 +01:00
scaddins
sccomp
schema
scp2
scripting
sd fix crash in draw Format->Bullets and Numbering dialog 2019-01-16 10:00:16 +01:00
sdext poppler: upgrade to release 0.73.0 2019-01-15 10:35:13 +01:00
setup_native
sfx2 Upgrade external/boost to Boost 1.69.0 2019-01-15 08:24:05 +01:00
shell
slideshow Drop o3tl/clamp.hxx, use C++17 std::clamp instead 2019-01-11 20:25:08 +01:00
smoketest
solenv Minimum Supported Version is VS2017 2019-01-16 12:49:14 +01:00
soltools
sot
starmath
stoc Replace OUStringBuffer::appendCopy with append(std::u16string_view) 2019-01-11 13:55:14 +01:00
store
svgio Drop o3tl/clamp.hxx, use C++17 std::clamp instead 2019-01-11 20:25:08 +01:00
svl ofz#12507 micro opt 2019-01-14 11:47:35 +01:00
svtools tdf#42949 Fix IWYU warnings in include/toolkit/* 2019-01-15 11:54:11 +01:00
svx pass RedlinData around by unique_ptr 2019-01-16 11:54:38 +01:00
sw pass RedlinData around by unique_ptr 2019-01-16 11:54:38 +01:00
swext
sysui
test DocumentSettings Writer UNO API test (converted from Java test) 2019-01-10 20:11:21 +01:00
testtools
toolkit tdf#42949 Fix IWYU warnings in include/toolkit/* 2019-01-15 11:54:11 +01:00
tools Drop o3tl/clamp.hxx, use C++17 std::clamp instead 2019-01-11 20:25:08 +01:00
translations@46a65ed743
ucb Upgrade external/boost to Boost 1.69.0 2019-01-15 08:24:05 +01:00
ucbhelper
udkapi
uitest eliminate some noise from uitest failure 2019-01-16 09:12:19 +01:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools Replace OUStringBuffer::appendCopy with append(std::u16string_view) 2019-01-11 13:55:14 +01:00
unoxml
ure
uui
vbahelper Replace OUStringBuffer::appendCopy with append(std::u16string_view) 2019-01-11 13:55:14 +01:00
vcl vcl: protect more outdev functions for disposed state 2019-01-15 23:22:11 +01:00
winaccessibility Simplify 2019-01-13 11:07:08 +01:00
wizards
writerfilter tdf#121670 ooxmlimport: no columns in page styles, only sections 2019-01-15 19:52:14 +01:00
writerperfect
xmerge
xmlhelp
xmloff use unique_ptr in XMLPropertyHandlerFactory::CreatePropertyHandler 2019-01-14 10:57:24 +01:00
xmlreader
xmlscript
xmlsecurity Avoid OUString temporaries, simplify 2019-01-13 11:00:40 +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 Don't build dconf on Android and iOS. 2019-01-11 18:28:57 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst lcms2: upgrade to release 2.9 2019-01-16 10:17:03 +01:00
g
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
RepositoryExternal.mk
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-blacklist
setup.cfg
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.10
    • Build: 10.13.2 + Xcode 9.3
  • Linux:
    • Runtime: RHEL 6 or CentOS 6
    • 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

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.