Test repository to check push and ssh key
Find a file
Jan Holesovsky b4487b0fd2 lokdialog: Move the LogicInvalidate from Dialog down to Window.
Another step towards the autofilter popup working...

Change-Id: I4907a23fcd0fc64da0c7f51e2f36b1657a17638c
2017-11-29 10:16:58 +01:00
.git-hooks
accessibility loplugin:unnecessaryparen: Warn about parentheses around literals 2017-11-27 14:04:40 +01:00
android
animations
apple_remote
avmedia
basctl loplugin:unnecessaryparen check for (f1()).f2 2017-11-27 10:44:25 +01:00
basegfx loplugin:unnecessaryparen 2017-11-27 15:41:19 +01:00
basic loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
bean
bin ofz#4424 black list the div by zero calc cases 2017-11-25 17:38:14 +01:00
binaryurp
bridges fix includes in aarch64 bridge 2017-11-26 16:06:10 +01:00
canvas loplugin:unnecessaryparen 2017-11-27 16:13:39 +01:00
chart2 loplugin:unnecessaryparen: Warn about parentheses around literals 2017-11-27 14:04:40 +01:00
cli_ure tdf#113787: always require version file with config for CLI assemblies 2017-11-24 01:27:37 +01:00
codemaker loplugin:unnecessaryparen: Warn about parentheses around literals 2017-11-27 14:04:40 +01:00
comphelper tdf#109202: Convert images to desired format in (f)odt filter 2017-11-28 11:54:17 +01:00
compilerplugins loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
config_host gpg4libre: conditional-compile gpgme code 2017-11-23 12:13:43 +01:00
configmgr
connectivity loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
cppcanvas
cppu
cppuhelper not used with disable-dynloading 2017-11-28 21:28:41 +01:00
cpputools
cui Use SfxModalDialog class as Hyperlink dialog's base 2017-11-29 10:16:53 +01:00
dbaccess loplugin:unnecessaryparen check for (f1()).f2 2017-11-27 10:44:25 +01:00
desktop lokdialog: Move the painting down to Window, and enable Calc and Impress. 2017-11-29 10:16:57 +01:00
dictionaries@56684558fb
distro-configs Avoid C++17 mode for Coverity Scan 2017-11-28 21:54:52 +01:00
drawinglayer coverity#1421100 Uncaught exception 2017-11-26 21:12:50 +00:00
dtrans loplugin:simplifybool (clang-cl) 2017-11-27 21:07:00 +01:00
editeng loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
embeddedobj
embedserv loplugin:unnecessaryparen (clang-cl) 2017-11-27 21:06:21 +01:00
emfio
eventattacher
extensions loplugin:unnecessaryparen (clang-cl) 2017-11-27 21:06:21 +01:00
external EPUB export: implement font embedding support 2017-11-29 09:17:04 +01:00
extras tdf#113858 Removal of tango and breeze palettes 2017-11-25 10:33:34 +01:00
filter Remove unused typedef B2DPolyPolygonList (filter/svg) 2017-11-29 07:03:35 +01:00
forms loplugin:unnecessaryparen: Warn about parentheses around literals 2017-11-27 14:04:40 +01:00
formula
fpicker loplugin:unnecessaryparen 2017-11-23 17:29:55 +01:00
framework sc, sd: rework UI Text Language "More" button, tdf#113911 2017-11-28 12:58:06 +01:00
helpcompiler Replace lists by vector and deque (helpcompiler) 2017-11-26 18:02:05 +01:00
helpcontent2@840ceaafbe Updated core 2017-11-28 14:31:20 +01:00
hwpfilter Fix typo 2017-11-28 18:41:41 +01:00
i18nlangtag
i18npool loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
i18nutil
icon-themes Elementary-icons update icon theme 2017-11-27 01:04:52 +01:00
idl
idlc loplugin:unnecessaryparen: Warn about parentheses around literals 2017-11-27 14:04:40 +01:00
include lokdialog: Move the LogicInvalidate from Dialog down to Window. 2017-11-29 10:16:58 +01:00
instsetoo_native tdf#90794 Position of progress bar on high res screens 2017-11-23 16:08:51 +01:00
io
ios iOS, change workdir for prelink object 2017-11-27 13:42:42 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit gtv: Kill dialog selector combo box 2017-11-29 10:16:54 +01:00
lingucomponent
linguistic
lotuswordpro loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
m4
mysqlc
nlpsolver
o3tl
odk
offapi tdf#83877 OOXML Roundtrip of SignatureLine properties 2017-11-28 07:58:23 +01:00
officecfg Fix typos 2017-11-24 12:01:06 +01:00
onlineupdate
oovbaapi
oox ofz: ensure aCoordList has required elements 2017-11-28 17:10:59 +01:00
opencl
osx
package keep track of available data 2017-11-27 17:37:46 +01:00
postprocess
pyuno
qadevOOo tdf#45904 Move _XHeaderFooterContent Java tests to C++ 2017-11-27 03:40:56 +01:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
ridljar
sal Revert loplugin:unnecessaryparen warning around integer literals 2017-11-28 16:52:16 +01:00
salhelper
sax
sc lokdialog: Move the painting down to Window, and enable Calc and Impress. 2017-11-29 10:16:57 +01:00
scaddins
sccomp Ridiculously large delta for SwarmSolverTest::testUnconstrained for now 2017-11-25 04:20:18 +01:00
schema
scp2
scripting
sd lokdialog: Move the painting down to Window, and enable Calc and Impress. 2017-11-29 10:16:57 +01:00
sdext loplugin:unnecessaryparen: Warn about parentheses around literals 2017-11-27 14:04:40 +01:00
setup_native
sfx2 lokdialog: Move the painting down to Window, and enable Calc and Impress. 2017-11-29 10:16:57 +01:00
shell loplugin:unnecessaryparen (clang-cl) 2017-11-27 21:06:21 +01:00
slideshow
smoketest
solenv clang-format: don't pick up non-existing binary from PATH 2017-11-29 09:21:16 +01:00
soltools
sot loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
starmath
stoc loplugin:unnecessaryparen check for (f1()).f2 2017-11-27 10:44:25 +01:00
store
svgio
svl loplugin:unnecessaryparen check for (f1()).f2 2017-11-27 10:44:25 +01:00
svtools loplugin:countusersofdefaultparams in sfx2..svtools 2017-11-28 09:51:22 +01:00
svx loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
sw lokdialog: Move the painting down to Window, and enable Calc and Impress. 2017-11-29 10:16:57 +01:00
swext
sysui
test tdf#45904 Move _XHeaderFooterContent Java tests to C++ 2017-11-27 03:40:56 +01:00
testtools
toolkit
tools lokdialog: Changed dialog painting to allow for modal dialogs 2017-11-29 10:16:53 +01:00
translations@24c9679f71 Updated core 2017-11-24 17:13:40 +01:00
ucb Build as C++17 when GCC/Clang supports it 2017-11-26 18:15:55 +01:00
ucbhelper
udkapi
uitest fix uitest/writer_tests/data/3pages.odt 2017-11-25 14:29:10 +00:00
UnoControls
unodevtools loplugin:unnecessaryparen: Warn about parentheses around literals 2017-11-27 14:04:40 +01:00
unoidl
unoil tdf#113787: always require version file with config for CLI assemblies 2017-11-24 01:27:37 +01:00
unotest
unotools
unoxml loplugin:unnecessaryparen check for (f1()).f2 2017-11-27 10:44:25 +01:00
ure
uui
vbahelper loplugin:unusedmethods 2017-11-29 07:28:57 +01:00
vcl lokdialog: Move the LogicInvalidate from Dialog down to Window. 2017-11-29 10:16:58 +01:00
winaccessibility
wizards Access2Base - FIX OutputStringToHtml 2017-11-23 16:42:40 +01:00
writerfilter loplugin:unnecessaryparen check for (f1()).f2 2017-11-27 10:44:25 +01:00
writerperfect EPUB export: implement font embedding support 2017-11-29 09:17:04 +01:00
xmerge
xmlhelp
xmloff ODF export: expose font style and weight of embedded fonts 2017-11-28 19:32:46 +01:00
xmlreader
xmlscript
xmlsecurity Silence clang-cl -Werror,-Wundef in workdir/UnpackedTarball/gpgmepp/ includes 2017-11-27 23:05:56 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in fix build with system gpgmepp 2017-11-24 14:37:16 +01:00
config_host_lang.mk.in
configure.ac Avoid C++17 mode for Coverity Scan 2017-11-28 21:54:52 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst upload libwps 0.4.8 2017-11-28 08:52:48 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in add docx fuzzer 2017-11-28 11:04:04 +01:00
README.cross
README.md
README.Solaris
Repository.mk add docx fuzzer 2017-11-28 11:04:04 +01:00
RepositoryExternal.mk move conditional stuff to RepositoryExternal.mk 2017-11-26 09:42:38 +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.