Test repository to check push and ssh key
Find a file
Andrea Gelmini 9ec6f974a3 Fix typos
Change-Id: I4f15a41b7a67abe9f2c45b6004948decd58a8360
Reviewed-on: https://gerrit.libreoffice.org/48832
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-29 15:33:05 +01:00
.git-hooks
accessibility new loplugin:emptyif 2018-01-19 13:25:54 +01:00
android tdf#89215 only process state changes after TileProvider is ready 2018-01-29 15:21:41 +01:00
animations
apple_remote
avmedia Remove stdlib.h from sal/config.h 2018-01-25 23:23:03 +01:00
basctl loplugin:constparams 2018-01-24 07:56:57 +01:00
basegfx loplugin:unused-returns in basegfx..cppcanvas 2018-01-25 13:51:24 +01:00
basic loplugin:pointerbool (clang-cl) 2018-01-25 08:13:11 +01:00
bean
bin put a ceiling on various fuzzer input sizes 2018-01-25 20:59:04 +00:00
binaryurp
bridges Fix typos 2018-01-25 08:38:01 +01:00
canvas loplugin:unused-returns in basegfx..cppcanvas 2018-01-25 13:51:24 +01:00
chart2 fix cut'n'waste error 2018-01-28 21:19:56 +01:00
cli_ure
codemaker coverity#1019311 silence Unchecked return value 2018-01-26 13:01:47 +00:00
comphelper lok: Allow whitelisting languages that should be used by LibreOfficeKit. 2018-01-27 11:04:32 +01:00
compilerplugins Fix typos 2018-01-29 13:26:15 +01:00
config_host Introduce gtk3_kde5 vcl plugin 2018-01-23 13:38:46 +01:00
configmgr
connectivity Fix typos 2018-01-29 13:26:15 +01:00
cppcanvas loplugin:unused-returns in basegfx..cppcanvas 2018-01-25 13:51:24 +01:00
cppu convert these to true asserts 2018-01-19 09:55:11 +01:00
cppuhelper SAL_W32 is just an alias for _WIN32 2018-01-19 08:19:38 +01:00
cpputools
cui Removed valueless lines of comments 2018-01-29 13:11:14 +01:00
dbaccess Related tdf#115273: Set NULL 2018-01-29 12:33:32 +01:00
desktop Function already take const OUString& 2018-01-29 14:43:58 +01:00
dictionaries@96f0ddc0c4
distro-configs
drawinglayer Fix typos 2018-01-29 13:26:15 +01:00
dtrans More loplugin:cstylecast on Windows 2018-01-23 07:54:51 +01:00
editeng Values need not be bounded by sal_uInt16, it appears 2018-01-29 08:47:34 +01:00
embeddedobj tdf#114677 Correct title in Base forms cleanup 2018-01-29 13:13:40 +01:00
embedserv loplugin:emptyif (clang-cl) 2018-01-24 19:18:10 +01:00
emfio ofz#5475 Integer-overflow 2018-01-19 21:51:31 +01:00
eventattacher
extensions Fix typos 2018-01-27 08:48:17 +01:00
external Fix typos 2018-01-27 08:49:38 +01:00
extras 34 new autocorrect words pt_PT 2018-01-19 20:24:00 +01:00
filter ofz#2977 speed up tiff import 2018-01-29 15:22:36 +01:00
forms Modernize a bit forms 2018-01-27 23:51:14 +01:00
formula
fpicker fpicker: Respect the PrepareExecute() result 2018-01-25 21:47:10 +05:30
framework Fix typos 2018-01-27 08:48:17 +01:00
helpcompiler
helpcontent2@c2ef507d32 Updated core 2018-01-29 15:31:51 +01:00
hwpfilter ofz#5717 check state in readblock 2018-01-26 21:32:56 +01:00
i18nlangtag Remove old comment left over 2018-01-24 16:23:55 +01:00
i18npool Change TimeSeparator for locale la_VA, lld_IT and vec_IT. 2018-01-25 21:32:19 +01:00
i18nutil tdf#103550 fix issue with HYPHEN-MINUS in Calc function JIS. 2018-01-26 11:01:16 +01:00
icon-themes tdf#75256 Sifr update exportto numberformatthousands splitcells 2018-01-22 07:04:01 +01:00
idl loplugin:unusedmethods also check for functions returning bool 2018-01-19 13:26:27 +01:00
idlc loplugin:unusedmethods also check for functions returning bool 2018-01-19 13:26:27 +01:00
include Fix typos 2018-01-29 15:33:05 +01:00
instsetoo_native Revert "Windows installer: Use blank phone # instead of x-xxx-xxx-xxx" 2018-01-23 08:09:54 +01:00
io Fix typos 2018-01-24 21:03:32 +01:00
ios iOS, add support for PDF 2018-01-26 15:47:22 +01:00
javaunohelper
jurt Fix typos 2018-01-27 08:48:17 +01:00
jvmaccess
jvmfwk More loplugin:cstylecast on Windows 2018-01-23 07:54:51 +01:00
l10ntools remove some sal_Bool remnants 2018-01-22 07:04:29 +01:00
librelogo
libreofficekit
lingucomponent lok: Allow whitelisting languages that should be used by LibreOfficeKit. 2018-01-27 11:04:32 +01:00
linguistic loplugin:useuniqueptr in SpellCheckerDispatcher 2018-01-29 07:20:58 +01:00
lotuswordpro ofz: null deref 2018-01-26 20:35:15 +00:00
m4
mysqlc
nlpsolver Fix typos 2018-01-27 08:49:38 +01:00
o3tl
odk Fix typos 2018-01-26 11:39:58 +01:00
offapi tdf#35301 offapi: add RubyPosition for filters. 2018-01-28 15:12:04 +01:00
officecfg tdf#114200 : added 'Trim space' feature in 'Text Import' 2018-01-26 12:05:00 +01:00
onlineupdate
oovbaapi
oox Fix typos 2018-01-29 13:26:15 +01:00
opencl
osx
package loplugin:useuniqueptr in OInputCompStream 2018-01-25 14:12:43 +01:00
postprocess Fix typos 2018-01-29 13:26:15 +01:00
pyuno
qadevOOo Fix typos 2018-01-27 08:48:17 +01:00
readlicense_oo update credits 2018-01-24 15:38:24 +01:00
registry
remotebridges
reportbuilder Fix typos 2018-01-27 08:49:38 +01:00
reportdesign tdf#115269: fix crash when changing horizontal align (reportdesign) 2018-01-28 14:07:55 +01:00
ridljar Fix typos 2018-01-26 11:39:58 +01:00
sal Translate German variable name 2018-01-29 12:57:00 +01:00
salhelper
sax Fix typos 2018-01-24 21:03:32 +01:00
sc Fix typos 2018-01-29 13:26:15 +01:00
scaddins
sccomp SAL_W32 is just an alias for _WIN32 2018-01-19 08:19:38 +01:00
schema
scp2 Extend build system to support linking against KDE Frameworks 5 2018-01-23 13:37:59 +01:00
scripting Fix typos 2018-01-27 08:49:38 +01:00
sd tdf#100898: custom animation panel is now Tab-reachable 2018-01-29 14:08:55 +01:00
sdext loplugin:datamembershadow in PresenterPane 2018-01-25 12:15:44 +01:00
setup_native More loplugin:cstylecast on Windows 2018-01-23 07:54:51 +01:00
sfx2 loplugin:useuniqueptr in SfxMedium_Impl 2018-01-29 07:22:15 +01:00
shell Various loplugin in --enable-gtk3-kde5 code 2018-01-23 17:29:35 +01:00
slideshow Fix typos 2018-01-29 13:26:15 +01:00
smoketest
solenv Natvis: update SfxItemSet visualizer (m_pItems is now unique_ptr) 2018-01-24 12:43:28 +01:00
soltools Fix typos 2018-01-25 08:52:34 +01:00
sot ofz#2976 Timeout 2018-01-29 09:51:06 +01:00
starmath tdf#115030 Formula use "dot" instead of "acute" math command. 2018-01-24 20:38:53 +01:00
stoc Fix typos 2018-01-25 15:07:00 +01:00
store
svgio Fix typos 2018-01-25 08:52:34 +01:00
svl Simplify logic in cjkoptions 2018-01-25 11:35:18 +01:00
svtools Guard read access of static data 2018-01-29 15:21:00 +01:00
svx Fix typos 2018-01-29 13:24:29 +01:00
sw Fix typos 2018-01-29 15:33:05 +01:00
swext
sysui tdf#115208 Apparmor profile update (allow JVM execution) 2018-01-28 12:47:19 +01:00
test Remove shared mxComponent in sccellcursorobj 2018-01-27 18:47:43 +01:00
testtools SAL_W32 is just an alias for _WIN32 2018-01-19 08:19:38 +01:00
toolkit Fix typos 2018-01-27 08:49:38 +01:00
tools improve subtyping when dealing with tools::WeakReference 2018-01-27 17:19:26 +01:00
translations@5634878ae8 Updated core 2018-01-24 13:25:22 +01:00
ucb make memory management more explicit in BaseContext 2018-01-29 07:20:21 +01:00
ucbhelper
udkapi Fix typos 2018-01-26 11:39:58 +01:00
uitest
UnoControls Fix typos 2018-01-27 08:43:06 +01:00
unodevtools
unoidl
unoil
unotest
unotools loplugin:constparams 2018-01-24 07:56:57 +01:00
unoxml
ure
uui
vbahelper
vcl tdf#32935 tdf#49134 tdf#114466 Activate newly opened modal dialogs 2018-01-29 15:18:27 +01:00
winaccessibility loplugin:emptyif (clang-cl) 2018-01-24 19:18:10 +01:00
wizards Fix typos 2018-01-29 13:26:15 +01:00
writerfilter Fix typos 2018-01-29 13:26:15 +01:00
writerperfect -Werror=parentheses (upcoming GCC 8) 2018-01-24 13:18:34 +01:00
xmerge
xmlhelp
xmloff xmloff: add a comment too 2018-01-29 10:41:37 +01:00
xmlreader Silence -Werror=implicit-fallthrough= (upcoming GCC 8) 2018-01-23 14:17:03 +01:00
xmlscript
xmlsecurity loplugin:useuniqueptr in SAXEventKeeperImpl 2018-01-25 13:05:30 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.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 Introduce gtk3_kde5 vcl plugin 2018-01-23 13:38:46 +01:00
config_host_lang.mk.in
configure.ac Undo "check for boost/process/child.hpp in configure.ac if --enable-gtk3-kde5" 2018-01-25 12:24:57 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst curl: upgrade to release 7.58.0 2018-01-24 21:15:59 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md
README.Solaris
Repository.mk Add HSQLDB schema import 2018-01-27 09:30:29 +01:00
RepositoryExternal.mk Extend build system to support linking against KDE Frameworks 5 2018-01-23 13:37:59 +01:00
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.2 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.0 and iPhone SDK 11.2

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:

http://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.