Test repository to check push and ssh key
Find a file
Takeshi Abe 93eeaf0ad9 tdf#120047 Support attribute harpoon/wideharpoon in Math
... for an alternative style of vectors.

They are vec/widevec analogs but with COMBINING RIGHT HARPOON ABOVE
(U+20D1).  The new attribute names are deliberately long in order to
make fewer accidental collisions with variable names in formulae of
exising documents.

This also adds a glyph uni20D1 to OpenSymbol.

Change-Id: I31666e57808aa0e0327500916d3b862549891886
Reviewed-on: https://gerrit.libreoffice.org/72987
Tested-by: Jenkins
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2019-06-13 05:11:25 +02:00
.git-hooks git-hooks: show length of first line if it's too long 2019-06-05 21:34:15 +02:00
accessibility Use hasElements to check Sequence emptiness in accessibility..canvas 2019-06-11 20:24:40 +02:00
android
animations
apple_remote
avmedia tdf#125821 don't crash on missing gstreamer plugins 2019-06-13 01:47:48 +02:00
basctl weld OrganizeDialog 2019-06-12 21:44:39 +02:00
basegfx
basic Use hasElements to check Sequence emptiness in accessibility..canvas 2019-06-11 20:24:40 +02:00
bean
bin find-unneeded-includes: don't propose to replace boost/functional/hash.hpp 2019-06-12 09:18:39 +02:00
binaryurp Use hasElements to check Sequence emptiness in accessibility..canvas 2019-06-11 20:24:40 +02:00
bridges Replace 0 in nullptr 2019-05-31 11:26:51 +02:00
canvas Use hasElements to check Sequence emptiness in accessibility..canvas 2019-06-11 20:24:40 +02:00
chart2 tdf#75659 Chart: fix empty legend at not available legend names 2019-06-12 16:54:03 +02:00
cli_ure Fix typo 2019-06-07 07:08:53 +02:00
codemaker
comphelper comphelper: use dispatchwithNotification only when we have a callback 2019-06-12 11:52:39 +02:00
compilerplugins weld OrganizeDialog 2019-06-12 21:44:39 +02:00
config_host Have all VCL plugin related defines in config_vclplug.h 2019-06-03 11:14:04 +02:00
configmgr configmgr: support changing locale language 2019-06-12 09:45:12 +02:00
connectivity Resolves: tdf#125878 correct calculation of H:M:S from timestamp 2019-06-12 22:49:06 +02:00
cppcanvas Use hasElements to check Sequence emptiness in cppcanvas..desktop 2019-06-05 19:24:57 +02:00
cppu
cppuhelper Use hasElements to check Sequence emptiness in cppcanvas..desktop 2019-06-05 19:24:57 +02:00
cpputools
cui weld OrganizeDialog 2019-06-12 21:44:39 +02:00
dbaccess has_default needs can_default 2019-06-12 16:34:53 +02:00
desktop move IExtensionListBox to where its used 2019-06-12 21:46:09 +02:00
dictionaries@e122922802 Update git submodules 2019-06-04 14:18:16 +02:00
distro-configs Add distro config for LibreOffice Online 2019-06-12 09:36:59 +02:00
drawinglayer Fix typo 2019-06-11 07:06:00 +02:00
dtrans
editeng Resolves: tdf#125866 null-deref 2019-06-12 18:34:41 +02:00
embeddedobj Use hasElements to check Sequence emptiness in [e-i]* 2019-05-31 16:10:17 +02:00
embedserv
emfio Avoid truncation of ±1E20 to long 2019-06-04 14:55:46 +02:00
eventattacher Use hasElements to check Sequence emptiness in [e-i]* 2019-05-31 16:10:17 +02:00
extensions Fix typo 2019-06-12 07:11:09 +02:00
external Mark external/libmspub/stdint.patch as sent upstream 2019-06-12 07:51:48 +02:00
extras tdf#120047 Support attribute harpoon/wideharpoon in Math 2019-06-13 05:11:25 +02:00
filter Fix typo 2019-06-12 07:10:20 +02:00
forms Fix typo 2019-06-07 07:07:16 +02:00
formula drop some unneeded includes 2019-06-02 15:33:46 +02:00
fpicker Fix typo 2019-06-08 08:53:05 +02:00
framework Fix typo 2019-06-12 08:54:29 +02:00
helpcompiler
helpcontent2@7eab913ccd Update git submodules 2019-06-11 14:24:06 +02:00
hwpfilter
i18nlangtag Related: tdf#125404 alias cmn-CN to zh-CN, cmn-TW to zh-TW 2019-06-05 23:06:15 +02:00
i18npool tdf#125620 add Korean Hangul Jamo codepoint ranges 2019-06-08 22:18:24 +02:00
i18nutil
icon-themes KJ & elementary: tdf#125879, change wrapthrough icons 2019-06-12 19:17:52 +02:00
idl
idlc
include move IExtensionListBox to where its used 2019-06-12 21:46:09 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk Fix swapping of vector elements 2019-06-11 08:34:34 +02:00
l10ntools
librelogo sanitize LibreLogo calls 2019-06-07 06:29:13 +02:00
libreofficekit
lingucomponent
linguistic
lotuswordpro
m4
nlpsolver Checking of min and max factor value was added. 2019-06-03 16:12:17 +02:00
o3tl
odk
offapi Linguistic: new underlining styles for grammar checkers 2019-06-05 13:58:23 +02:00
officecfg tdf#120844 Remove tabletext.xml from sdraw and from simpress 2019-06-11 17:09:51 +02:00
onlineupdate
oovbaapi
oox sw: merge some indentical switch-case branches 2019-06-12 08:58:06 +02:00
opencl
osx
package bail out immediately if saving part of a zip package fails 2019-06-10 11:16:13 +02:00
postprocess Drop support for gstreamer-0.10 2019-06-07 11:07:42 +02:00
pyuno Adapt to upcoming Python 3.8 2019-06-10 21:10:56 +02:00
qadevOOo
readlicense_oo
registry Fix typos 2019-06-07 07:07:55 +02:00
remotebridges
reportbuilder
reportdesign tdf#42949 Fix IWYU warnings in include/svx/[sS][v-Z]* 2019-06-11 08:48:04 +02:00
ridljar
sal tdf#67538 XTypeDetection::queryTypeByDescriptor poor performance, part4 2019-06-03 15:23:16 +02:00
salhelper
sax
sc Change some static const variables to constexpr 2019-06-12 17:21:04 +02:00
scaddins
sccomp
schema
scp2
scripting scripting: copy python/InsertText.py to the Scripts directory 2019-06-12 09:46:46 +02:00
sd loplugin:unusedmethods 2019-06-12 13:34:02 +02:00
sdext Refactor a bit of the presentation minimizer 2019-06-06 17:52:01 +02:00
setup_native
sfx2 weld OrganizeDialog 2019-06-12 21:44:39 +02:00
shell Use 'gb_Library_add_cxxflags' for '-include chrono' 2019-06-12 23:15:42 +02:00
slideshow
smoketest
solenv move IExtensionListBox to where its used 2019-06-12 21:46:09 +02:00
soltools
sot
starmath tdf#120047 Support attribute harpoon/wideharpoon in Math 2019-06-13 05:11:25 +02:00
stoc
store
svgio
svl tdf#42949 Fix IWYU warnings in svl/ 2019-06-07 09:06:14 +02:00
svtools Revert "improve empty tools::Rectangle (width)" 2019-06-12 12:06:10 +02:00
svx Resolves tdf#115858: More button should move the focus to 'Styles' window 2019-06-12 17:34:02 +02:00
sw tdf#89991 DOCX: import/export Show changes mode 2019-06-12 21:00:05 +02:00
swext
sysui
test fix assert in make screenshot 2019-06-11 14:16:19 +02:00
testtools
toolkit weld OrganizeDialog 2019-06-12 21:44:39 +02:00
tools Revert "improve empty tools::Rectangle (width)" 2019-06-12 12:06:10 +02:00
translations@ceca6b42c9 Update git submodules 2019-06-11 13:13:14 +02:00
ucb tdf#67538 XTypeDetection::queryTypeByDescriptor poor performance, part1 2019-06-03 12:14:41 +02:00
ucbhelper
udkapi
uitest UI test for tdf#117987 2019-06-12 17:36:37 +02:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools tdf#125481 changed font order for Korean locale 2019-06-08 22:18:37 +02:00
unoxml
ure
uui
vbahelper
vcl tdf#125692 SalObject always holds a SystemChildWindow 2019-06-12 23:22:56 +02:00
winaccessibility
wizards
writerfilter tdf#89991 DOCX: import/export Show changes mode 2019-06-12 21:00:05 +02:00
writerperfect EPUB export: fix not properly paired openPageSpan 2019-05-31 09:12:23 +02:00
xmerge
xmlhelp
xmloff Simplify Sequence iterations in xmloff/source/{draw..script} 2019-06-12 14:34:34 +02:00
xmlreader
xmlscript
xmlsecurity XSecController must be a complete type here (Windows --disable-pch) 2019-06-04 08:27:26 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore Add QtCreator-specific file to .gitignore 2019-06-08 15:36:20 +02:00
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Drop support for gstreamer-0.10 2019-06-07 11:07:42 +02:00
config_host_lang.mk.in
configure.ac configure.ac: Drop extra '/' for KF5 includes 2019-06-12 23:15:04 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst
g
hardened_runtime.xcent macOS: enable hardened runtime when signing 2019-05-31 21:13:31 +02:00
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in
README.cross
README.md baseline is CentOS/RHEL 7 (glibc 2.14 or later) 2019-06-05 12:17:14 +02:00
README.Solaris
Repository.mk Drop support for gstreamer-0.10 2019-06-07 11:07:42 +02:00
RepositoryExternal.mk gbuild: treat $({QT,KF}5_CFLAGS) as cxxflags, not defines 2019-06-08 17:12:55 +02: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 7 or CentOS 7
    • 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.