Test repository to check push and ssh key
Find a file
David Tardon 927c42e080 upload libwpg 0.3.3
Change-Id: Iac2c3f75eda07b7381e57dba389c9836ab26502f
Reviewed-on: https://gerrit.libreoffice.org/65781
Tested-by: Jenkins
Reviewed-by: David Tardon <dtardon@redhat.com>
2019-01-02 09:52:16 +01:00
.git-hooks
accessibility cppcheck: 'nSelectedEntryCount' is assigned a value that is never used. 2018-12-31 14:08:14 +01:00
android
animations
apple_remote
avmedia Return early 2018-12-28 16:48:20 +01:00
basctl tdf#112689: Replace chained O(U)StringBuffer::append() with operator+ 2018-12-30 14:43:43 +01:00
basegfx cppcheck: Consider using std::count_if algorithm instead of a raw loop. 2018-12-31 21:55:40 +01:00
basic Remove unneeded cast, constify OUString 2018-12-28 16:46:11 +01:00
bean
bin deb#917795 Belarussian → Belarusian 2018-12-30 13:59:21 +01:00
binaryurp
bridges Fix typo 2018-12-20 07:06:52 +01:00
canvas Skip Executable_canvasdemo unless DESKTOP 2018-12-21 00:16:24 +02:00
chart2 tdf#114141 draw the top of the zero height 3D bars 2019-01-01 22:38:25 +01:00
cli_ure
codemaker
comphelper use boost::optional for OUString 2018-12-22 08:21:12 +01:00
compilerplugins Bump copyright year to 2019 2019-01-01 00:00:00 -06:00
config_host
configmgr Use indexed getToken() 2018-12-28 16:52:18 +01:00
connectivity Fix typo 2019-01-02 07:45:41 +01:00
cppcanvas
cppu typelib: Fix incorrect parameter type to std::min() on m68k 2018-12-29 07:14:35 +01:00
cppuhelper Do not use indexed getToken for a single call 2018-12-28 17:07:29 +01:00
cpputools Reduce OUString operations and use indexed getToken 2018-12-28 17:10:16 +01:00
cui Resolves tdf#122383 and tdf#122410 2019-01-02 01:07:40 +01:00
dbaccess Use copy instead of getToken to get last token 2018-12-29 00:00:32 +01:00
desktop lok: add signDocument to "Office" iface - to sign not opened docs. 2019-01-01 09:53:20 +01:00
dictionaries@aff69d5578 Update git submodules 2019-01-01 23:27:26 +01:00
distro-configs Enable --help=html for flatpak 2018-12-20 12:17:19 +01:00
drawinglayer
dtrans
editeng Fix typo 2018-12-23 10:04:58 +01:00
embeddedobj
embedserv
emfio
eventattacher
extensions tdf#42075: Perform scan after selecting a scanner on Windows 2018-12-30 12:33:33 +01:00
external upload libwpg 0.3.3 2019-01-02 09:52:16 +01:00
extras [pt_PT] Added 24 words to autocorrect 2018-12-27 11:16:36 +01:00
filter Related: tdf#122204 clarify 0xFFF0 size meaning 2018-12-23 22:23:22 +01:00
forms
formula
fpicker
framework tdf#42949 Fix IWYU warnings in include/vcl/[t-u]* 2018-12-20 12:36:41 +01:00
helpcompiler
helpcontent2@537807a50d Update git submodules 2019-01-02 00:51:50 +01:00
hwpfilter Fix typo 2018-12-28 10:18:17 +01:00
i18nlangtag
i18npool tdf#120703 PVS: V560 A part of conditional expression is always true/false 2018-12-24 07:45:56 +01:00
i18nutil Fix typo in code 2018-12-20 08:49:50 +01:00
icon-themes tdf#122407 update insert rows columns icons 2019-01-01 22:19:04 +01:00
idl
idlc idlc: no need to store single OString objects on the heap 2018-12-22 08:16:55 +01:00
include lok: add signDocument to "Office" iface - to sign not opened docs. 2019-01-01 09:53:20 +01:00
instsetoo_native tdf#122302: Set status message when installing KB2999226 2018-12-24 09:25:12 +01:00
io use unique_ptr in io 2018-12-19 07:04:51 +01:00
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver
o3tl
odk Bump copyright year to 2019 2019-01-01 00:00:00 -06:00
offapi
officecfg tdf#115485 Add labels to fill items in Calc menu 2018-12-30 11:27:11 +01:00
onlineupdate
oovbaapi
oox oox smartart, org chart: add initial hierChild/Root algorithms 2018-12-21 21:39:44 +01:00
opencl
osx
package
postprocess
pyuno
qadevOOo tdf#45904 Move XTableRows Java tests to C++ 2018-12-19 18:45:45 +01:00
readlicense_oo Bump copyright year to 2019 2019-01-01 00:00:00 -06:00
registry
remotebridges
reportbuilder
reportdesign tdf#42949 Fix IWYU warnings in include/vcl/[t-u]* 2018-12-20 12:36:41 +01:00
ridljar
sal
salhelper
sax
sc uitest for bug tdf#44861 2019-01-01 16:40:12 +01:00
scaddins Simplify containers iterations in scaddins, sccomp, scripting 2018-12-20 08:15:54 +01:00
sccomp Simplify containers iterations in scaddins, sccomp, scripting 2018-12-20 08:15:54 +01:00
schema
scp2 tdf#122302: Set status message when installing KB2999226 2018-12-24 09:25:12 +01:00
scripting Restore original behavior of MasterScriptProvider::hasByName 2018-12-20 09:12:36 +01:00
sd Fix typo in QA 2019-01-01 10:55:01 +01:00
sdext use unique_ptr in sdext 2018-12-21 18:51:01 +01:00
setup_native Bump copyright year to 2019 2019-01-01 00:00:00 -06:00
sfx2 lok: add signDocument to "Office" iface - to sign not opened docs. 2019-01-01 09:53:20 +01:00
shell
slideshow
smoketest
solenv upload libwpg 0.3.3 2019-01-02 09:52:16 +01:00
soltools
sot
starmath use unique_ptr in SmStructureNode::SetSubNodes 2018-12-30 11:41:41 +01:00
stoc
store
svgio
svl
svtools tdf#120037: Fix transition sidebar "None" scroll issue 2018-12-31 18:30:44 +01:00
svx tdf#105225 Add palette selection to options charts default colors 2019-01-01 23:02:05 +01:00
sw tdf#64242 unit test added 2018-12-31 15:23:31 +01:00
swext
sysui
test tdf#45904 Move XTableRows Java tests to C++ 2018-12-19 18:45:45 +01:00
testtools
toolkit
tools
translations@46a65ed743 Update git submodules 2018-12-19 18:09:48 +01:00
ucb use unique_ptr in ucb 2018-12-20 12:35:50 +01:00
ucbhelper
udkapi Fix typo 2018-12-26 09:07:24 +01:00
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui
vbahelper
vcl vcl/win/gdi: replace PALETTEENTRY object with constant values 2018-12-31 12:50:16 +01:00
winaccessibility
wizards
writerfilter tdf#121623 RTF import: keep table in multicolumn section 2018-12-30 16:10:29 +01:00
writerperfect
xmerge
xmlhelp use unique_ptr in xmlhelp 2018-12-21 18:51:34 +01:00
xmloff tdf#112782: data-pilot-source is invalid in odf1.2 strict 2018-12-31 21:43:31 +01:00
xmlreader
xmlscript
xmlsecurity NSS: create a temporary database instead of in-memory 2018-12-31 22:06:51 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules uset https:// instead of git:// for submodules 2018-12-20 19:52:51 +01:00
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in tdf#114635: reimplement TWAIN-based scan using 32-bit shim on Windows 2018-12-29 09:58:09 +01:00
config_host_lang.mk.in
configure.ac Fix typo 2018-12-29 12:24:56 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upload libwpg 0.3.3 2019-01-02 09:52:16 +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 tdf#114635: reimplement TWAIN-based scan using 32-bit shim on Windows 2018-12-29 09:58:09 +01:00
RepositoryExternal.mk upload libcmis 0.5.2 2018-12-28 19:25:11 +01:00
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.