Test repository to check push and ssh key
Find a file
Kohei Yoshida 5c5fd9b86c We now require orcus-0.13 to build.
Change-Id: Ieea3eda0c3f073caf5a957e55567c84bd7261ed2
Reviewed-on: https://gerrit.libreoffice.org/44908
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-11-18 16:12:41 +01:00
.git-hooks git-hooks: mention download link for clang-format when warning about it 2017-11-16 20:24:46 +01:00
accessibility Fix typos 2017-11-13 08:43:17 +01:00
android tdf#106370 Android: add ability to insert pictures 2017-11-16 06:31:48 +01:00
animations
apple_remote
avmedia
basctl Translate German debug strings 2017-11-14 08:24:32 +01:00
basegfx RotateFlyFrame3: Initial support added 2017-11-18 13:07:43 +01:00
basic inline SbxMAXSALUINT64 and friends 2017-11-17 08:09:50 +01:00
bean
bin gbuild-to-ide cleaned up double scripts. 2017-11-18 16:12:06 +01:00
binaryurp Replace some lists by vectors in binaryurp 2017-11-18 07:49:45 +01:00
bridges Fix ASan "alloc-dealloc-mismatch (operator new [] vs operator delete)" 2017-11-14 11:44:12 +01:00
canvas Fix typos 2017-11-14 10:42:08 +01:00
chart2 TypedWhichId for EE_CHAR* constants 2017-11-17 11:11:50 +01:00
cli_ure Fix typos 2017-11-14 20:26:54 +01:00
codemaker
comphelper Fix typos 2017-11-13 08:43:17 +01:00
compilerplugins Make loplugin:casttovoid more resilient against macros 2017-11-17 08:16:47 +01:00
config_host
configmgr
connectivity Assume thread encoding for ODBC status string 2017-11-18 09:39:14 +01:00
cppcanvas
cppu Replace lists by vector or deque (cppu) 2017-11-18 07:50:18 +01:00
cppuhelper
cpputools
cui tdf#106890 Page orientation of User page size 2017-11-17 23:17:18 +01:00
dbaccess Replace list by vector in macromigrationdialog (dbaccess) 2017-11-18 07:52:36 +01:00
desktop Fix typos 2017-11-13 08:43:17 +01:00
dictionaries@56684558fb Revert erroneous change of dictionaries 2017-11-13 09:05:22 +01:00
distro-configs
drawinglayer tdf#111486 Use buildin methods for displaying matrix 2017-11-17 16:38:11 +01:00
dtrans
editeng RotateFlyFrame3: add support for AutoContour 2017-11-18 13:07:47 +01:00
embeddedobj Fix typos 2017-11-16 21:05:44 +01:00
embedserv
emfio ofz#4230 Integer-overflow 2017-11-16 09:54:41 +01:00
eventattacher
extensions Replace list by vector in framectr (extensions) 2017-11-18 07:50:35 +01:00
external Updated liborcus to 0.13.1. 2017-11-18 13:32:52 +01:00
extras Notebookbar: PriorityMergedHBox, OptionalBox 2017-11-17 11:26:38 +01:00
filter ofz#4204 compare against available data len 2017-11-17 17:22:31 +01:00
forms use implict conversion operator in TypedWhichId 2017-11-16 07:54:24 +01:00
formula Assert all FormulaToken::Set...() virtual dummy methods 2017-11-15 17:41:58 +01:00
fpicker
framework Add templates menu and remove macro recording in start center 2017-11-17 15:47:48 +01:00
helpcompiler
helpcontent2@008c845819 Updated core 2017-11-14 20:02:18 +01:00
hwpfilter ofz: limit depth of hwp parsing 2017-11-16 14:46:23 +01:00
i18nlangtag Resolves: tdf#113835 add Fon [fon-BJ] to language list 2017-11-14 19:41:43 +01:00
i18npool Revert "Upgrade to ICU 60.1" 2017-11-17 01:25:24 +01:00
i18nutil Revert "Upgrade to ICU 60.1" 2017-11-17 01:25:24 +01:00
icon-themes Elementary icons sc_ initial updates 2017-11-18 01:01:18 +01:00
idl
idlc
include RotateFlyFrame3: add support for AutoContour 2017-11-18 13:07:47 +01:00
instsetoo_native
io
ios iOS, Xcode upgrade ruined project.pbxproj 2017-11-18 12:20:24 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk loplugin:flatten loosen condition 2017-11-14 06:43:21 +01:00
l10ntools
librelogo
libreofficekit gtktiledviewer downgrade min gtk+ to 3.16 2017-11-14 15:21:23 +01:00
lingucomponent
linguistic tdf#113739 add "Grammar By" feature to user dictionaries 2017-11-17 17:33:00 +01:00
lotuswordpro Fix typos 2017-11-13 08:43:17 +01:00
m4
mysqlc
nlpsolver
o3tl
odk Fix typos 2017-11-17 22:54:01 +01:00
offapi Add comment and @since LibreOffice 5.2 2017-11-14 15:55:58 +01:00
officecfg
onlineupdate
oovbaapi Fix typos 2017-11-13 08:43:17 +01:00
oox Don't pollute /tmp with vba_debug* files 2017-11-15 15:13:35 +01:00
opencl
osx
package
postprocess iOS, swarmsolver workaround 2017-11-18 16:12:05 +01:00
pyuno
qadevOOo tdf#45904 Move _XSpreadsheetView Java tests to C++ 2017-11-18 03:57:13 +01:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign
ridljar
sal Fix typos 2017-11-13 21:36:23 +01:00
salhelper
sax Fix typos 2017-11-13 08:46:08 +01:00
sc Updated liborcus to 0.13.1. 2017-11-18 13:32:52 +01:00
scaddins
sccomp iOS, swarmsolver workaround 2017-11-18 16:12:05 +01:00
schema
scp2
scripting Fix typos 2017-11-13 08:43:17 +01:00
sd sd: enable language status bar item 2017-11-17 19:09:11 +01:00
sdext loplugin:useuniqueptr in PDFContainer 2017-11-17 14:58:58 +01:00
setup_native
sfx2 Updated liborcus to 0.13.1. 2017-11-18 13:32:52 +01:00
shell Fix typos 2017-11-13 08:43:17 +01:00
slideshow
smoketest
solenv Update LibreOffice.natvis 2017-11-18 15:08:49 +01:00
soltools
sot ofz#4079 check for error earlier 2017-11-16 15:22:11 +01:00
starmath Fix typos 2017-11-16 21:05:44 +01:00
stoc
store
svgio
svl Resolves: tdf#113889 no date particle reordering when exporting to Excel 2017-11-17 00:17:04 +01:00
svtools drop now unused ToolPanelOpt 2017-11-15 21:48:00 +01:00
svx RotateFlyFrame3: Corrected interactive Crop 2017-11-18 13:07:46 +01:00
sw RotateFlyFrame3: Corrected wrong static_cast 2017-11-18 13:07:47 +01:00
swext
sysui
test tdf#45904 Move _XSpreadsheetView Java tests to C++ 2017-11-18 03:57:13 +01:00
testtools
toolkit loplugin:flatten in toolkit..writerfilter 2017-11-18 07:41:51 +01:00
tools
translations@ebfb3d1663 Updated core 2017-11-16 23:50:03 +01:00
ucb loplugin:flatten in toolkit..writerfilter 2017-11-18 07:41:51 +01:00
ucbhelper
udkapi
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools Fix typos 2017-11-13 08:43:17 +01:00
unoxml loplugin:flatten in toolkit..writerfilter 2017-11-18 07:41:51 +01:00
ure
uui Fix typos 2017-11-13 08:43:17 +01:00
vbahelper loplugin:flatten in toolkit..writerfilter 2017-11-18 07:41:51 +01:00
vcl tdf#111717 consider CJK vertical writing for underline offset 2017-11-17 22:36:34 +01:00
winaccessibility Fix typos 2017-11-13 08:43:17 +01:00
wizards Access2Base - FIX AllDialogs() should run when no active document 2017-11-16 16:15:05 +01:00
writerfilter loplugin:flatten in toolkit..writerfilter 2017-11-18 07:41:51 +01:00
writerperfect
xmerge
xmlhelp loplugin:useuniqueptr in TVDom 2017-11-17 12:58:56 +01:00
xmloff Replace some lists by vectors (xmloff) 2017-11-16 23:01:18 +01:00
xmlreader
xmlscript Fix typos 2017-11-13 08:43:17 +01:00
xmlsecurity
.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 We now require orcus-0.13 to build. 2017-11-18 16:12:41 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Updated liborcus to 0.13.1. 2017-11-18 13:32:52 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in gbuild-to-ide cleaned up double scripts. 2017-11-18 16:12:06 +01:00
README.cross
README.md
README.Solaris
Repository.mk
RepositoryExternal.mk Updated liborcus to 0.13.1. 2017-11-18 13:32:52 +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.0 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.0 and iPhone SDK 11.1

If you want to use Clang with the LibreOffice compiler plugins, the minimal version of Clang is 3.4. 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.