Test repository to check push and ssh key
Find a file
Andrea Gelmini f3520cce0e Fix typos
Change-Id: Ie186b828d500b661029704f95f4c03e56d69c282
Reviewed-on: https://gerrit.libreoffice.org/67382
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-02-05 07:08:34 +01:00
.git-hooks
accessibility
android Fix typo 2019-01-25 07:04:56 +01:00
animations
apple_remote
avmedia tdf#44223 allow slideshow to play embedded media. 2019-02-04 01:15:22 +01:00
basctl
basegfx Fix typos 2019-02-01 07:06:19 +01:00
basic Fix typo 2019-01-27 09:46:25 +01:00
bean Fix typo 2019-01-28 09:16:24 +01:00
bin Fix typo 2019-01-30 07:08:22 +01:00
binaryurp
bridges loplugin:redundantinline (clang-cl) 2019-01-30 16:25:15 +01:00
canvas loplugin:unnecessaryparen (clang-cl) 2019-01-31 10:59:40 +01:00
chart2 Fix typo 2019-02-03 07:29:21 +01:00
cli_ure Fix typo 2019-02-04 07:07:07 +01:00
codemaker
comphelper
compilerplugins Fix compilerplugins/clang/test/useuniqueptr.cxx for clang-cl 2019-01-31 20:23:39 +01:00
config_host
configmgr
connectivity tdf#122129 Firebird: fix concurrency issue 2019-02-04 21:32:25 +01:00
cppcanvas
cppu cppu: fix Android build 2019-01-29 15:59:56 +01:00
cppuhelper
cpputools
cui click handlers set twice 2019-02-04 22:00:38 +01:00
dbaccess dbaccess: convert ORowSetBase::m_pCache to shared_ptr 2019-02-03 16:09:32 +01:00
desktop -Werror,-Wlogical-op-parentheses (clang-cl) 2019-01-30 16:25:51 +01:00
dictionaries@6811c96b9d
distro-configs aarch64 and arm need libatomic_ops 2019-01-28 12:38:41 +01:00
drawinglayer
dtrans loplugin:redundantfcast (clang-cl) 2019-01-30 17:44:03 +01:00
editeng Add comments to autocorrect functions 2019-01-29 18:36:05 +01:00
embeddedobj Clean up dead uses of DISABLE_ATL 2019-01-24 21:23:56 +01:00
embedserv Clean up dead uses of DISABLE_ATL 2019-01-24 21:23:56 +01:00
emfio
eventattacher
extensions weld OSelectLabelDialog 2019-02-04 20:46:00 +01:00
external firebird: fix CXXFLAGS 2019-02-03 14:59:27 +01:00
extras
filter ofz#12812 tiff Timeout 2019-02-02 08:48:19 +01:00
forms fix load/save of forms with HAVING 2019-01-24 18:25:10 +01:00
formula
fpicker loplugin:unnecessaryparen (clang-cl) 2019-01-31 10:59:40 +01:00
framework tdf#45904 Move XEnumerationAccess Java test to C++ 2019-02-02 02:40:16 +01:00
helpcompiler
helpcontent2@e3dd1cb6d3 Update git submodules 2019-02-03 22:56:37 +01:00
hwpfilter
i18nlangtag
i18npool
i18nutil
icon-themes Sifr icon: update sc_ icons in svg and png 2019-02-04 21:01:05 +01:00
idl
idlc
include weld OSelectLabelDialog 2019-02-04 20:46:00 +01:00
instsetoo_native
io Better fix for missing [[noreturn]] of CPPUNIT_FAIL 2019-02-01 19:03:36 +01:00
ios Drop unnecessary gb_DEBUG_CFLAGS 2019-01-24 11:25:03 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk Get rid of some macros 2019-02-04 15:54:22 +01:00
l10ntools
librelogo
libreofficekit lok: calm down CnP issues & simplify. 2019-01-25 22:21:35 +01:00
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk odk: CustomTarget_build-examples hard-codes on "gcc" and "g++" 2019-01-29 16:42:38 +01:00
offapi offapi: XOffset means center for awt::GradientStyle_RADIAL as well 2019-02-02 08:33:55 +01:00
officecfg tdf#105088 Add Properties to Control and Form Context Menu writer 2019-02-04 14:27:56 +01:00
onlineupdate
oovbaapi
oox Related: tdf#94238 PPTX export: handle border and center of radial gradient 2019-02-04 18:42:36 +01:00
opencl
osx
package
postprocess Clean up dead uses of DISABLE_ATL 2019-01-24 21:23:56 +01:00
pyuno
qadevOOo tdf#45904 Move XEnumerationAccess Java test to C++ 2019-02-02 02:40:16 +01:00
readlicense_oo It's called libatomic_ops not libatomic-ops 2019-01-28 15:19:52 +01:00
registry
remotebridges
reportbuilder
reportdesign
ridljar
sal loplugin:unnecessaryparen (clang-cl) 2019-01-31 10:59:40 +01:00
salhelper
sax o3tl::make_unique -> std::make_unique in sax...svtools (except sc) 2019-01-28 09:52:28 +01:00
sc tdf#122208 add form group to groupedbar_compact 2019-02-04 15:46:13 +01:00
scaddins
sccomp Fix order of CPPUNIT_ASSERT_EQUAL expected vs. actual arguments 2019-01-24 21:23:24 +01:00
schema
scp2
scripting o3tl::make_unique -> std::make_unique in sax...svtools (except sc) 2019-01-28 09:52:28 +01:00
sd Related: tdf#94238 PPTX export: handle border and center of radial gradient 2019-02-04 18:42:36 +01:00
sdext o3tl::make_unique -> std::make_unique in sax...svtools (except sc) 2019-01-28 09:52:28 +01:00
setup_native loplugin:redundantinline (clang-cl) 2019-01-30 16:25:15 +01:00
sfx2 tdf#74446 Changed item names in Styles dropdown menu on Sidebar 2019-02-04 11:40:22 +01:00
shell workaround to make Qt5 code build with Clang+icecream (#2) 2019-02-04 17:45:11 +01:00
slideshow tdf#44223 allow slideshow to play embedded media. 2019-02-04 01:15:22 +01:00
smoketest
solenv xmloff: create XMLImpressImportOasis instances with an uno constructor 2019-02-01 08:50:03 +01:00
soltools
sot
starmath loplugin:flatten in starmath 2019-01-31 10:41:34 +01:00
stoc const_cast is not needed here 2019-01-31 12:31:25 +01:00
store loplugin:flatten in stoc..store 2019-01-29 07:11:04 +01:00
svgio loplugin:flatten in svgio 2019-01-29 07:11:12 +01:00
svl Resolves: tdf#122991 do not truncate time duration [] format values 2019-01-28 20:02:23 +01:00
svtools tdf#119812: Hide "Windows Share" server type in Windows OS. 2019-02-02 10:37:08 +01:00
svx tdf#44223 allow slideshow to play embedded media. 2019-02-04 01:15:22 +01:00
sw Use indexed getToken() 2019-02-04 23:36:03 +01:00
swext
sysui
test Better fix for missing [[noreturn]] of CPPUNIT_FAIL 2019-02-01 19:03:36 +01:00
testtools
toolkit tdf#87884: UnoControlTabPageModel is using tabs w/o WB_NOBORDER 2019-02-04 11:39:30 +01:00
tools tools: use std::swap() in Rectangle::Justify() 2019-02-02 08:33:37 +01:00
translations@46a65ed743
ucb tdf#123067: fix assert when exporting template 2019-02-02 22:19:54 +01:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools Take advantage of known index to avoid an OUString copy 2019-01-27 16:03:44 +01:00
unoidl
unoil
unotest
unotools Bail out early 2019-01-27 23:10:13 +01:00
unoxml
ure
uui loplugin:constparams in ucb..xmlhelp 2019-01-24 13:02:31 +01:00
vbahelper
vcl weld OSelectLabelDialog 2019-02-04 20:46:00 +01:00
winaccessibility loplugin:implicitboolconversion (clang-cl) 2019-01-30 19:11:56 +01:00
wizards
writerfilter CppunitTest_writerfilter_rtftok: use CPPUNIT_TEST_FIXTURE() 2019-01-31 12:21:05 +01:00
writerperfect
xmerge
xmlhelp loplugin:constparams in ucb..xmlhelp 2019-01-24 13:02:31 +01:00
xmloff tdf#118879 don't embed base64 image data if we have an origin URL 2019-02-04 10:25:04 +01:00
xmlreader tdf#42949 Fix IWYU warnings in xmlreader/ 2019-02-04 10:07:20 +01:00
xmlscript
xmlsecurity
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh don't require /autoconf/ to be 2.68 (also allow e.g. autoconf268) 2019-01-30 20:32:18 +01:00
BUCK
config.guess
config.sub
config_host.mk.in Drop unnecessary gb_DEBUG_CFLAGS 2019-01-24 11:25:03 +01:00
config_host_lang.mk.in
configure.ac Fix typos 2019-02-05 07:08:34 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Upgrade libatomic_ops to latest libatomic_ops-7.6.8.tar.gz 2019-01-28 13:42:45 +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.