Test repository to check push and ssh key
Find a file
Tor Lillqvist f7733528e8 tdf#68889: Fix the weight reported by the system for the problematic font
Like the previous fix for Courier Std. Let's hope there won't be a lot
of these special cases. Maybe some generic heuristic would be better.
Like if a font's GetStyleName() is "Medium", "Medium Oblique", or
"Medium Italic" then always force its weight to be WEIGHT_NORMAL?

Change-Id: I204655cd9c4e32d5cbbd68bb93c6282d23993b80
2018-02-22 22:49:48 +02:00
.git-hooks clang-format: improve error message when CI fails 2018-02-09 13:06:17 +01:00
accessibility Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/ 2018-02-22 07:51:28 +01:00
android [Pardus] tdf#108446 - Shape is not changed after save 2018-02-18 02:10:55 +01:00
animations
apple_remote
avmedia Bin unused function 2018-02-22 21:21:11 +02:00
basctl tdf#112689 : Replace chained O(U)StringBuffer::append() with operator+ 2018-02-22 13:57:00 +01:00
basegfx
basic Revert "loplugin:changetoolsgen in avmedia..basic" and reapply plugin 2018-02-16 19:50:47 +01:00
bean
bin The vim mode line supposedly needs to go at the end of the file 2018-02-22 10:12:37 +01:00
binaryurp
bridges iOS, solved problem with -I for asm module 2018-02-21 10:34:29 +01:00
canvas Revert "loplugin:changetoolsgen in canvas..cui" and reapply 2018-02-16 19:50:35 +01:00
chart2 Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/ 2018-02-22 07:51:28 +01:00
cli_ure
codemaker
comphelper oox: cosmetic cleanup 2018-02-14 01:04:11 +01:00
compilerplugins drop unused button mask enum 2018-02-22 09:54:57 +01:00
config_host
configmgr Better return nil than an arbitrary xml:lang="..." value 2018-02-08 15:45:33 +01:00
connectivity connectitivty: can use o3tl::make_unique<> here 2018-02-16 08:45:46 +01:00
cppcanvas
cppu
cppuhelper Pre-load key UNO mappings. 2018-02-11 00:09:33 +01:00
cpputools
cui Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/ 2018-02-22 07:51:28 +01:00
dbaccess loplugin:redundantcopy extend to Color 2018-02-22 07:23:57 +01:00
desktop Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/ 2018-02-22 07:51:28 +01:00
dictionaries@883b1cd4d8
distro-configs Buildsystem changes to recognize Haiku. 2018-02-19 12:58:11 +01:00
drawinglayer use RawBitmap in BPixelRasterToBitmapEx 2018-02-20 12:54:26 +01:00
dtrans
editeng loplugin:redundantcopy extend to Color 2018-02-22 07:23:57 +01:00
embeddedobj
embedserv
emfio use RawBitmap in W_META_BITBLT 2018-02-19 10:13:47 +01:00
eventattacher
extensions Pass missing (hopefully optional) parameters as Any() 2018-02-21 14:00:43 +01:00
external gpgmepp,xmlsecurity: fix testODFEncryptedGPG() failure caused... 2018-02-20 20:54:32 +01:00
extras update emoji autocorrect files from po-files 2018-02-22 14:10:37 +01:00
filter loplugin:redundantcopy extend to Color 2018-02-22 07:23:57 +01:00
forms Revert "loplugin:changetoolsgen in filter..framework" and reapply plugin 2018-02-16 15:13:53 +01:00
formula Resolves: tdf#115879 treat NOT as the 1-parameter function that it is 2018-02-20 23:24:17 +01:00
fpicker loplugin:useuniqueptr in filepicker 2018-02-19 07:13:46 +01:00
framework Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/ 2018-02-22 07:51:28 +01:00
helpcompiler
helpcontent2@235783d1ed Updated core 2018-02-22 17:18:10 +01:00
hwpfilter forcepoint #1 2018-02-21 10:26:47 +01:00
i18nlangtag
i18npool Use angle quotation marks (Guillemets) for [*-CH], tdf#115493 related 2018-02-09 13:00:50 +01:00
i18nutil
icon-themes Elementary-icons update all line shapes layout 2018-02-13 12:17:25 +01:00
idl
idlc
include sw: remove "ReplacementGraphicURL" related things 2018-02-22 21:42:51 +01:00
instsetoo_native
io
ios iOS, SAL_LOG added to debug builds 2018-02-13 19:58:41 +01:00
javaunohelper
jurt
jvmaccess
jvmfwk Find Java 9 with the new registry keys on Windows 2018-02-15 12:53:04 +01:00
l10ntools Remove dead Executable_genlang 2018-02-09 08:51:05 +01:00
librelogo
libreofficekit
lingucomponent loplugin:useuniqueptr in Hyphenator 2018-02-17 07:07:02 +01:00
linguistic cppcheck useInitializationList 2018-02-12 08:03:12 +01:00
lotuswordpro ofz: infinite loop 2018-02-19 21:44:54 +01:00
m4
mysqlc
nlpsolver
o3tl
odk Adding props to extensible group must use op "replace" (or "fuse") 2018-02-16 18:08:23 +01:00
offapi report the saved mimetype when saving graphic + mime from stream 2018-02-21 21:32:56 +01:00
officecfg tdf#113907 Remove StartModuleCommands.xcu 2018-02-18 17:22:49 +01:00
onlineupdate
oovbaapi Fix typos 2018-02-12 15:36:05 +01:00
oox Fix typo 2018-02-20 07:09:01 +01:00
opencl
osx
package Fix typos 2018-02-14 08:56:10 +01:00
postprocess Always execute pack_images.py with the right Python interpreter 2018-02-22 21:21:16 +01:00
pyuno
qadevOOo Fix typos 2018-02-12 15:38:07 +01:00
readlicense_oo update credits 2018-02-22 13:55:08 +01:00
registry
remotebridges
reportbuilder
reportdesign Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/ 2018-02-22 07:51:28 +01:00
ridljar
sal Use long path prefix in osl_getFileStatus 2018-02-22 20:23:39 +01:00
salhelper
sax New loplugin:nestedunnamed 2018-02-21 08:09:46 +01:00
sc Remove unused forward declarations from vcl/syswin.hxx 2018-02-22 17:05:59 +01:00
scaddins loplugin:useuniqueptr in scaddins 2018-02-17 07:06:42 +01:00
sccomp
schema
scp2
scripting
sd Replace "ReplacementGraphicURL" with "ReplacementGraphic" property 2018-02-22 09:28:12 +01:00
sdext New loplugin:nestedunnamed 2018-02-21 08:09:46 +01:00
setup_native Remove now unused libgetuid.so 2018-02-19 16:17:02 +01:00
sfx2 Remove useless special handling of single-value ranges 2018-02-22 18:12:27 +01:00
shell New loplugin:nestedunnamed 2018-02-21 08:09:46 +01:00
slideshow Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/ 2018-02-22 07:51:28 +01:00
smoketest
solenv solenv: Update gb_PackageInfo_emit_l10n_for_one_lang 2018-02-22 21:24:13 +01:00
soltools
sot ofz: Pos2Page returns true on same value that returned false previously 2018-02-07 10:25:25 +01:00
starmath loplugin:redundantcopy extend to Color 2018-02-22 07:23:57 +01:00
stoc New loplugin:nestedunnamed 2018-02-21 08:09:46 +01:00
store
svgio
svl New loplugin:nestedunnamed 2018-02-21 08:09:46 +01:00
svtools drop unused button mask enum 2018-02-22 09:54:57 +01:00
svx Replace "ReplacementGraphicURL" with "ReplacementGraphic" property 2018-02-22 09:28:12 +01:00
sw sw: remove "ReplacementGraphicURL" related things 2018-02-22 21:42:51 +01:00
swext
sysui apparmor: allow cert9.db 2018-02-19 18:57:19 +01:00
test Fix random range for XFunctionDescriptions::testGetById 2018-02-14 22:36:01 +01:00
testtools Use PYTHON_FOR_BUILD instead of calling python directly 2018-02-13 15:34:21 +01:00
toolkit loplugin:changetoolsgen in tools..toolkit 2018-02-22 07:22:33 +01:00
tools loplugin:changetoolsgen in tools..toolkit 2018-02-22 07:22:33 +01:00
translations@db79c92222 Updated core 2018-02-22 12:56:52 +01:00
ucb
ucbhelper
udkapi Don't even mention CORBA, it isn't and won't be specified 2018-02-12 18:16:25 +02:00
uitest Revert "uitest: add timeout for blocking actions" 2018-02-21 14:15:44 +01:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui reserve negative responses for internal responses 2018-02-19 14:45:19 +01:00
vbahelper Decrease fragility in odd use cases with no current document 2018-02-09 00:50:02 +01:00
vcl tdf#68889: Fix the weight reported by the system for the problematic font 2018-02-22 22:49:48 +02:00
winaccessibility
wizards tdf#114817 new bitmap presets for Area Fill 2018-02-18 14:38:41 +01:00
writerfilter create uno::Any overrides for Color 2018-02-20 12:55:47 +01:00
writerperfect EPUB export, fixed layout: fix validation error with images 2018-02-12 21:50:21 +01:00
xmerge
xmlhelp
xmloff Replace "ReplacementGraphicURL" with "ReplacementGraphic" property 2018-02-22 09:28:12 +01:00
xmlreader
xmlscript
xmlsecurity Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/ 2018-02-22 07:51:28 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Integrate initial version of gla11y tool in the build system 2018-02-20 22:21:48 +01:00
config_host_lang.mk.in
configure.ac gla11y: Use python interpreter decided by configure 2018-02-22 09:27:40 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Update orcus to 0.13.3. 2018-02-15 04:27:37 +01:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch
Makefile.gbuild
Makefile.in Fix test 2018-02-20 09:32:08 +01:00
README.cross
README.md Updated links in readme files (https etc.) 2018-02-11 01:18:46 +01:00
README.Solaris
Repository.mk Remove now unused libgetuid.so 2018-02-19 16:17:02 +01:00
RepositoryExternal.mk
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:

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.

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.