Test repository to check push and ssh key
Find a file
Julien Nabet f0a3678ef3 Fix "Adding Central Kurdish(ckb) Spell Checker & Dictionary"
Change-Id: I494c515e91ddcab469941ce04d08e9b11974ee7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130169
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-02-19 10:00:00 +01:00
.git-hooks
.github
.vscode
accessibility
android
animations
apple_remote
avmedia first cut at using Gtk4 built in video playback 2022-02-18 20:40:01 +01:00
basctl svx::PropertyChangeNotifier improvements 2022-02-11 05:51:50 +01:00
basegfx tdf#145759 Use symbolic constants instead of magic numerical constants 2022-02-15 21:00:18 +01:00
basic Basic compiler undetected typo 2022-02-12 10:00:15 +01:00
bean
bin flat-odf-cleanup.py: fix FutureWarning 2022-02-16 20:33:15 +01:00
binaryurp
bridges
canvas
chart2 Resolves: tdf#147393 SpinButtons should be can-focus 2022-02-18 15:20:49 +01:00
cli_ure
codemaker
comphelper tdf#147086 OOXML export: don't save the empty editing password 2022-02-17 10:25:24 +01:00
compilerplugins first cut at using Gtk4 built in video playback 2022-02-18 20:40:01 +01:00
config_host
configmgr
connectivity Simplify sequence of Property in connectivity/jdbc 2022-02-18 16:31:31 +01:00
cppcanvas
cppu
cppuhelper
cpputools
cui sd theme: add doc model for shape fill color 2022-02-17 08:23:15 +01:00
dbaccess tdf#143148 Use pragma once instead of include guards 2022-02-17 19:05:45 +01:00
desktop lok: sc: unit test drag & drop 2022-02-18 19:42:38 +01:00
dictionaries@5314824424 Update git submodules 2022-02-15 16:16:36 +01:00
distro-configs Remove COMPILER_PLUGINS_CXX from distro-configs/Jenkins/linux_clang_dbgutil_64 2022-02-08 23:55:50 +01:00
drawinglayer tdf#145759 Use symbolic constants instead of magic numerical constants 2022-02-15 21:00:18 +01:00
editeng tdf#147196: Fix crash in editeng when applying title case format 2022-02-17 17:15:16 +01:00
embeddedobj
embedserv
emfio drop checksum assert that is platform dependent 2022-02-08 12:44:56 +01:00
eventattacher
extensions
external boost: use utf-8 encoding for unknown locales. 2022-02-18 12:35:49 +01:00
extras Fix typo 2022-02-15 20:06:33 +01:00
filter tdf#145700 Improve lighting in extruded custom shapes 2022-02-17 14:14:01 +01:00
forms
formula
fpicker expand out IMPLEMENT_FORWARD_XTYPEPROVIDER3 2022-02-09 14:16:17 +01:00
framework
helpcompiler
helpcontent2@71a2d9e0c9 Update git submodules 2022-02-18 20:03:39 +01:00
hwpfilter
i18nlangtag
i18npool tdf#147343: Wrong typo for AM/PM indicator in Spanish locales 2022-02-13 09:49:30 +01:00
i18nutil
icon-themes Colibre: tdf#147521 add Duplicate Sheet icons 2022-02-19 09:29:05 +01:00
idl
idlc
include first cut at using Gtk4 built in video playback 2022-02-18 20:40:01 +01:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic Extend loplugin:stringview to OUStringBuffer::copy 2022-02-16 22:45:42 +01:00
lotuswordpro
m4
nlpsolver
o3tl
odk tdf#145759 Using M_PI from cmath instead of magic constants. 2022-02-15 12:17:50 +01:00
offapi tdf#145700 Improve lighting in extruded custom shapes 2022-02-17 14:14:01 +01:00
officecfg tdf#145745 Create uno:DuplicateSheet command 2022-02-15 13:37:31 +01:00
onlineupdate
oovbaapi
oox Removed executable bits on pptx file 2022-02-15 23:48:18 +01:00
opencl
osx
package
pch
postprocess
pyuno
qadevOOo Fix typos 2022-02-09 19:17:29 +01:00
readlicense_oo Use Dragonbox to implement doubleTo*String* 2022-02-17 21:46:58 +01:00
registry
remotebridges
reportbuilder
reportdesign svx::PropertyChangeNotifier improvements 2022-02-11 05:51:50 +01:00
ridljar
sal Define policy to optimize to_decimal to our use case 2022-02-18 05:04:39 +01:00
salhelper Recheck modules s[a-c]* with IWYU 2022-02-14 15:25:30 +01:00
sax Recheck modules s[a-c]* with IWYU 2022-02-14 15:25:30 +01:00
sc XFunctionAccess::callFunction() accept empty Sequence<Sequence<Any>> 2022-02-19 02:14:56 +01:00
scaddins tdf#145759 Using M_PI from cmath instead of magic constants. 2022-02-15 12:17:50 +01:00
sccomp Recheck modules s[a-c]* with IWYU 2022-02-14 15:25:30 +01:00
schema tdf#145700 Improve lighting in extruded custom shapes 2022-02-17 14:14:01 +01:00
scp2 Fix "Adding Central Kurdish(ckb) Spell Checker & Dictionary" 2022-02-19 10:00:00 +01:00
scripting Recheck modules s[a-c]* with IWYU 2022-02-14 15:25:30 +01:00
sd Use Dragonbox to implement doubleTo*String* 2022-02-17 21:46:58 +01:00
sdext Parameter should apparently be of type sal_Int32 2022-02-17 13:23:56 +01:00
setup_native Adding Central Kurdish(ckb) Spell Checker & Dictionary 2022-02-14 18:40:14 +01:00
sfx2 sfx2: introduce SfxBindings::QuerySlotId 2022-02-18 11:29:36 +01:00
shell Better handling of terminals 2022-02-17 19:43:46 +01:00
slideshow tdf#145759 Using M_PI from cmath instead of magic constants. 2022-02-15 12:17:50 +01:00
smoketest
solenv Drop -Wdeclaration-after-statement 2022-02-17 12:56:19 +01:00
soltools
sot
starmath tdf#145759 Using M_PI from cmath instead of magic constants. 2022-02-15 12:17:50 +01:00
static
stoc tdf#145759 Use symbolic constants instead of magic numerical constants 2022-02-15 21:00:18 +01:00
store
svgio
svl avoid an allocation in WhichRangesContainer::MergeRange 2022-02-18 12:15:43 +01:00
svtools svtools: fix lost replacement non-rendered graphic when updating it fails 2022-02-17 19:07:32 +01:00
svx -Werror=maybe-uninitialized 2022-02-18 14:27:20 +01:00
sw cid#1500272 silence Dereference after null check 2022-02-18 22:12:51 +01:00
swext
sysui
test
testtools tdf#145759 Use symbolic constants instead of magic numerical constants 2022-02-15 21:00:18 +01:00
toolkit expand out IMPLEMENT_FORWARD_XTYPEPROVIDER3 2022-02-09 14:16:17 +01:00
tools Simplify SvGlobalName::GetHexName 2022-02-09 20:41:39 +01:00
translations@d65e9655a5 Update git submodules 2022-02-18 16:03:16 +01:00
ucb loplugin:unusedmethods 2022-02-17 14:51:23 +01:00
ucbhelper
udkapi
uitest uilogger: make vertical tab handling more robust 2022-02-19 08:03:31 +01:00
UnoControls
unodevtools
unoidl
unoil
unotest
unotools
unoxml
ure
uui
vbahelper
vcl uilogger: make vertical tab handling more robust 2022-02-19 08:03:31 +01:00
winaccessibility loplugin:nullptr 2022-02-08 15:21:26 +01:00
wizards ScriptForge - (L10N): add new arguments to the service creation 2022-02-17 16:18:49 +01:00
writerfilter Remove some unused includes 2022-02-18 08:13:13 +01:00
writerperfect
xmerge
xmlhelp
xmloff tdf#145700 Improve lighting in extruded custom shapes 2022-02-17 14:14:01 +01:00
xmlreader
xmlscript
xmlsecurity
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore updated gitignore for Android builds 2022-02-14 16:05:49 +01:00
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in revert component name changes to makefile 2022-02-15 11:19:43 +01:00
config_host_lang.mk.in
configure.ac Bump compiler plugins Clang baseline to 12.0.1 2022-02-17 21:45:06 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst Use Dragonbox to implement doubleTo*String* 2022-02-17 21:46:58 +01:00
g
hardened_runtime.xcent.in
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
lo.xcent
logerrit
Makefile.fetch Use Dragonbox to implement doubleTo*String* 2022-02-17 21:46:58 +01:00
Makefile.gbuild
Makefile.in Use relative path to the script, to please python3 on Windows 2022-02-15 16:34:54 +01:00
README.cross
README.help.md
README.md Bump compiler plugins Clang baseline to 12.0.1 2022-02-17 21:45:06 +01:00
README.Solaris
Repository.mk first cut at using Gtk4 built in video playback 2022-02-18 20:40:01 +01:00
RepositoryExternal.mk Use Dragonbox to implement doubleTo*String* 2022-02-17 21:46:58 +01:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk
sanitize-ubsan-excludelist
setup.cfg
TEMPLATE.SOURCECODE.HEADER
tsan-suppress.txt

LibreOffice

Coverity Scan Build Status CII Best Practices Translation status

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 2019 version 16.5
  • macOS:
    • Runtime: 10.13
    • Build: 10.14.4 + Xcode 11.3
  • Linux:
    • Runtime: RHEL 7 or CentOS 7
    • Build: either GCC 7.0.0; or Clang 8.0.1 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
  • Android:
    • Build: NDK r19c and SDK 22.6.2
  • Emscripten / WASM:
    • Runtime: a browser with SharedMemory support (threads + atomics)
    • Build: Qt 5.15 with Qt supported Emscripten 1.39.8
    • See README.wasm

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