Test repository to check push and ssh key
Find a file
Andrea Gelmini c814036604 Fix typos
Change-Id: I2715bcbaf642fd24d61f61dbf4e978e06afbf102
Reviewed-on: https://gerrit.libreoffice.org/57824
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-07-22 20:26:06 +02:00
.git-hooks
accessibility Remove dead code from textwindowaccessibility.cxx 2018-07-20 23:00:58 +02:00
android Developer Mode 2018-07-15 12:47:11 +02:00
animations
apple_remote
avmedia
basctl Remove commented-out code from bastypes.cxx 2018-07-20 22:44:32 +02:00
basegfx Fix typos 2018-07-20 12:34:10 +02:00
basic Fix typos 2018-07-18 09:52:44 +02:00
bean Fix typos 2018-07-22 20:26:06 +02:00
bin remove the GL based 3D charts 2018-07-17 02:59:19 +02:00
binaryurp
bridges
canvas fix oss-fuzz build 2018-07-22 20:10:54 +02:00
chart2 Fix typos 2018-07-19 13:59:35 +02:00
cli_ure
codemaker
comphelper loplugin:unusedfields - look for fields that can be const, in comphelper 2018-07-20 14:12:57 +02:00
compilerplugins loplugin:useuniqueptr in HTMLTable 2018-07-20 15:24:27 +02:00
config_host
configmgr
connectivity Add missing sal/log.hxx headers 2018-07-16 12:24:49 +02:00
cppcanvas Add missing sal/log.hxx headers 2018-07-16 12:24:49 +02:00
cppu Add missing sal/log.hxx headers 2018-07-16 12:24:49 +02:00
cppuhelper Fix typos 2018-07-19 13:59:35 +02:00
cpputools Add missing sal/log.hxx headers 2018-07-16 12:24:49 +02:00
cui coverity#703935 Unchecked return value 2018-07-22 17:56:50 +02:00
dbaccess Fix typos in code 2018-07-22 14:55:23 +02:00
desktop Allow the comphelper threadpool to be reset after construction. 2018-07-18 22:28:51 +02:00
dictionaries@43f9b34b3b
distro-configs
drawinglayer Fix typos 2018-07-18 12:49:03 +02:00
dtrans
editeng Fix typos 2018-07-20 18:55:16 +02:00
embeddedobj Fix typos 2018-07-22 20:25:25 +02:00
embedserv
emfio
eventattacher
extensions Fix typos 2018-07-22 02:03:13 +02:00
external pdfium: update to 3471 2018-07-18 09:13:06 +02:00
extras
filter Fix typos 2018-07-22 20:25:25 +02:00
forms Fix typos 2018-07-20 18:55:16 +02:00
formula Do not force all string results to be recalculated if no style set 2018-07-18 23:21:26 +02:00
fpicker
framework Fix typos 2018-07-19 14:01:01 +02:00
helpcompiler
helpcontent2@c93d46dafd Update git submodules 2018-07-22 14:19:46 +02:00
hwpfilter
i18nlangtag
i18npool
i18nutil Upgrade to ICU 62.1 2018-07-16 17:36:35 +02:00
icon-themes KJ:^ PDF 32px, caption 16px, Writer's sidebar icons 2018-07-20 07:48:23 +02:00
idl SvPersistBase no longer necessary 2018-07-16 08:39:11 +02:00
idlc
include tdf#118662 Cleanup old hack with cloned SdrCaptionObj 2018-07-20 20:29:11 +02:00
instsetoo_native
io Fix typos 2018-07-18 12:49:03 +02:00
ios Use $(ICU_MAJOR) instead of hard coded (Upgrade to ICU 62.1) 2018-07-17 17:41:10 +02:00
javaunohelper Fix typos 2018-07-18 12:49:03 +02:00
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit coverity#1437959 Copy into fixed size buffer 2018-07-16 09:44:32 +02:00
lingucomponent
linguistic Fix typos 2018-07-18 12:49:03 +02:00
lotuswordpro Fix typos 2018-07-22 02:03:13 +02:00
m4
mysqlc
nlpsolver
o3tl
odk Fix typos 2018-07-22 20:26:06 +02:00
offapi Fix typos 2018-07-21 22:20:53 +02:00
officecfg tdf#118402 Add ellipsis to New -> Templates 2018-07-20 13:08:37 +02:00
onlineupdate
oovbaapi
oox Fix typos 2018-07-22 02:03:13 +02:00
opencl
osx
package
postprocess
pyuno
qadevOOo Fix typos 2018-07-22 02:03:13 +02:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign Fix typos 2018-07-20 12:34:10 +02:00
ridljar
sal
salhelper
sax tdf#79878 perf loading docx file, pendingChars 2018-07-20 08:58:45 +02:00
sc tdf#98074, using the same builtinId maps the styles to the same one 2018-07-22 04:18:04 +02:00
scaddins
sccomp
schema
scp2 tdf#118717 add Kabyle (kab) user interface package 2018-07-12 14:03:06 +02:00
scripting
sd Removed executable permission on (odp|pptx) files 2018-07-21 22:24:21 +02:00
sdext
setup_native Fix typos 2018-07-19 18:54:50 +02:00
sfx2 Remove useless self-assignment of sHelpPath 2018-07-21 08:13:17 +02:00
shell
slideshow
smoketest
solenv gla11y: Enable warnings for all orphan labels 2018-07-20 16:46:18 +02:00
soltools
sot return SvMemoryStream by std::unique_ptr 2018-07-12 08:27:29 +02:00
starmath tdf#118681 make sure we're using the right font char map 2018-07-16 18:22:39 +02:00
stoc
store
svgio crashtesting: infinite recurse on moz330387-6.svg 2018-07-18 15:37:16 +02:00
svl return SfxStyleSheetIterator by std::unique_ptr 2018-07-19 15:40:45 +02:00
svtools tdf#108012 - Clicking in the font field should select the contents 2018-07-19 13:03:33 +02:00
svx Fix typos 2018-07-22 02:03:13 +02:00
sw Fix typos 2018-07-22 20:25:25 +02:00
swext
sysui Fix typos 2018-07-18 12:49:03 +02:00
test
testtools
toolkit Fix typos 2018-07-19 13:54:05 +02:00
tools Fix typos 2018-07-18 12:49:03 +02:00
translations@1ed5e59b7c Update git submodules 2018-07-12 13:55:03 +02:00
ucb
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui
vbahelper
vcl Fix typos 2018-07-20 18:55:16 +02:00
winaccessibility Add missing sal/log.hxx headers 2018-07-12 10:40:25 +02:00
wizards Access2Base - tdf#118767 Fix DLookup for Firebird 2018-07-19 19:02:30 +02:00
writerfilter writerfilter: default style is the last one 2018-07-21 21:37:18 +02:00
writerperfect Add missing sal/log.hxx headers 2018-07-12 10:40:25 +02:00
xmerge Fix typos 2018-07-22 02:03:13 +02:00
xmlhelp Add missing sal/log.hxx headers 2018-07-12 10:40:25 +02:00
xmloff Fix typos 2018-07-19 17:53:45 +02:00
xmlreader
xmlscript Add missing sal/log.hxx headers 2018-07-12 10:40:25 +02:00
xmlsecurity writerfilter, xmlsecurity: various small cleanups 2018-07-20 10:00:34 +02: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 search for old (<= 2.0) .NET SDK anymore 2018-07-20 10:40:20 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst pdfium: update to 3471 2018-07-18 09:13:06 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md Say VS2017 here, too 2018-07-12 16:46:27 +03:00
README.Solaris
Repository.mk drop reference to removed chart2_opengl_shader 2018-07-17 09:30:54 +01: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 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.