Test repository to check push and ssh key
Find a file
Rafael Lima ba3627ba89 tdf#158704 Add "Delete Comment" command to the Navigator context menu
Change-Id: Ied128145ab0e171e536233dda2d31ec3eace1543
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161766
Tested-by: Jenkins
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2024-01-10 12:57:34 +01:00
.git-hooks
.github
.vscode
accessibility use string OUString literals in a11y for XServiceInfo impl. 2023-12-29 00:36:51 +01:00
android android-viewer translated using Weblate 2024-01-05 13:39:34 +01:00
animations
apple_remote
avmedia
basctl cid#1583747 COPY_INSTEAD_OF_MOVE 2024-01-10 11:18:46 +01:00
basegfx
basic ofz#65329 Fuzzing build failure 2023-12-29 14:54:54 +01:00
bean
bin ofz#65655 build failure, github svn now disabled 2024-01-10 11:22:21 +01:00
binaryurp
bridges
canvas tdf#145538 Use range based for loops 2024-01-02 22:35:26 +01:00
chart2 Make format condition, chart delete and pivot table error async 2024-01-10 10:49:23 +01:00
cli_ure
codemaker
comphelper cid#1560051 Missing move assignment operator 2024-01-06 22:23:48 +01:00
compilerplugins Drop now unused SvtSlideSorterBarOptions class 2024-01-03 15:38:17 +01:00
config_host
configmgr
connectivity tdf#134526 Firebird: upgrade to release 3.0.11 2024-01-06 02:37:26 +01:00
cppcanvas UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile 2024-01-03 07:51:28 +01:00
cppu
cppuhelper
cpputools
cui tdf#158375: add UI option to disable active content 2024-01-09 02:21:02 +01:00
dbaccess UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile 2024-01-03 07:51:28 +01:00
desktop lok: external data source list 2024-01-09 07:49:11 +01:00
dictionaries@a71f3c3813 Update git submodules 2024-01-07 19:05:19 +01:00
distro-configs Hard-code --with-online-update-mar-channel=LOOnlineUpdater 2024-01-02 21:23:39 +01:00
docmodel
drawinglayer cid#1545370 COPY_INSTEAD_OF_MOVE 2024-01-08 13:09:02 +01:00
editeng tdf#159065 sc: fix PDF/UA link annotation 2024-01-10 08:49:29 +01:00
embeddedobj move IsFuzzing to comphelper 2023-12-30 12:45:45 +01:00
embedserv
emfio cid#1545370 COPY_INSTEAD_OF_MOVE 2024-01-08 13:09:02 +01:00
eventattacher
extensions tdf#158375: add expert option DisableOLEAutomation 2024-01-09 00:50:10 +01:00
external New UBSan failure with Firebird 3.0.11 2024-01-09 19:10:33 +01:00
extras tdf#158863 Remove obsolete readme.txt file from Growing Liberty template 2024-01-07 12:38:40 +01:00
filter cid#1545370 COPY_INSTEAD_OF_MOVE 2024-01-08 13:09:02 +01:00
forms cid#1560053 Missing move assignment operator 2024-01-06 19:48:25 +01:00
formula
fpicker
framework tdf#127856: fix cell selection language 2024-01-05 18:14:26 +01:00
helpcompiler upgrade libxml2, libxslt & liblangtag 2024-01-05 11:05:36 +01:00
helpcontent2@88e571fc83 Update git submodules 2024-01-10 09:17:24 +01:00
hwpfilter move IsFuzzing to comphelper 2023-12-30 12:45:45 +01:00
i18nlangtag
i18npool Japanese word for 'reiwa' added to ja.dic 2024-01-02 10:38:03 +01:00
i18nutil move IsFuzzing to comphelper 2023-12-30 12:45:45 +01:00
icon-themes
idl
idlc/test/parser
include lok: external data source list 2024-01-09 07:49:11 +01:00
instsetoo_native Hard-code --with-online-update-mar-channel=LOOnlineUpdater 2024-01-02 21:23:39 +01:00
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit Send tooltip text to LOK 2024-01-04 14:12:23 +01:00
lingucomponent tdf#158885 sw: don't hyphenate right after a stem boundary 2024-01-01 00:42:35 +01:00
linguistic avoid null deref of xIgnoreAll 2024-01-09 15:05:07 +01:00
lotuswordpro UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile 2024-01-03 07:51:28 +01:00
m4
msicreator
nlpsolver
o3tl
odk tdf#158803 Remove unused imports from odk 2023-12-29 17:33:48 +01:00
offapi
officecfg tdf#125876 Update uno Footnote/Endnote labels 2024-01-10 09:15:05 +01:00
oovbaapi
oox tdf#137691 chart2 export: preserve NumberFormat of DataSeries 2024-01-09 21:35:10 +01:00
opencl
osx
package tdf#105844 package: ManifestImport: handle argon2 attributes in ... 2024-01-09 12:28:18 +01:00
pch
postprocess windows signing: also wait for/depend on extras (gallery) 2024-01-08 14:47:34 +01:00
pyuno tdf#158375: add expert option DisablePythonRuntime 2024-01-09 00:48:18 +01:00
qadevOOo cid#1545822 SSD: Do not use an instance lock to protect shared static data 2024-01-03 22:12:19 +01:00
readlicense_oo
registry
remotebridges
reportbuilder
reportdesign tdf#150490: ReportBuilder: Wizards starts showing two different data sources 2024-01-07 11:43:54 +01:00
ridljar
sal
salhelper Keep elements of salhelper::TimerManager::m_pHead list refcounted 2023-12-28 14:38:55 +01:00
sax
sc tdf#158704 Add "Delete Comment" command to the Navigator context menu 2024-01-10 12:57:34 +01:00
scaddins
sccomp UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile 2024-01-03 07:51:28 +01:00
schema
scp2
scripting
sd cid#1545370 COPY_INSTEAD_OF_MOVE 2024-01-08 13:09:02 +01:00
sdext cid#1546464 COPY_INSTEAD_OF_MOVE 2023-12-31 23:08:51 +01:00
setup_native
sfx2 sfx2: reorder the checks in SfxBaseModel::postEvent_Impl() 2024-01-09 17:43:18 +01:00
shell
slideshow UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile 2024-01-03 07:51:28 +01:00
smoketest
solenv Drop SvtFilterOptions and use officecfg instead 2024-01-07 18:23:09 +01:00
soltools
sot use more unique_ptr in StgTmpStrm 2023-12-30 08:13:21 +01:00
starmath UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile 2024-01-03 07:51:28 +01:00
static
stoc
store
svgio
svl tdf#114441 sal_uLong to better integer type 2024-01-04 12:38:38 +01:00
svtools Drop now unused SvtSlideSorterBarOptions class 2024-01-03 15:38:17 +01:00
svx tdf#72991 - Remember last used color depending in cui 2024-01-08 19:19:09 +01:00
sw tdf#147666 sw layout: add test case 2024-01-10 09:22:48 +01:00
swext
sysui
test UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile 2024-01-03 07:51:28 +01:00
testtools
toolkit cid#1545370 COPY_INSTEAD_OF_MOVE 2024-01-08 13:09:02 +01:00
tools Simplify a bit 2024-01-09 13:31:33 +01:00
translations@b16d91c535 Update git submodules 2024-01-08 16:45:06 +01:00
ucb lok: external data source list 2024-01-09 07:49:11 +01:00
ucbhelper
udkapi
uitest
UnoControls cid#1560054 use RVO 2024-01-08 10:04:05 +01:00
unodevtools
unoidl
unoil
unotest
unotools tdf#158375: add UI option to disable active content 2024-01-09 02:21:02 +01:00
unoxml std::size/SAL_N_ELEMENTS also counts the null terminator 2024-01-05 09:51:27 +01:00
ure
uui
vbahelper
vcl tdf#130857 Use native qt widgets - simple message dialog 2024-01-08 22:52:59 +01:00
winaccessibility
wizards tdf#158803 Remove unused imports from wizards 2023-12-29 23:56:27 +01:00
writerfilter cid#1545370 COPY_INSTEAD_OF_MOVE 2024-01-08 13:09:02 +01:00
writerperfect UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile 2024-01-03 07:51:28 +01:00
xmerge
xmlhelp
xmloff xmloff: ODF export: if there's no checksum, don't generate chaff 2024-01-09 14:30:42 +01:00
xmlreader
xmlscript
xmlsecurity upgrade libxml2, libxslt & liblangtag 2024-01-05 11:05:36 +01:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.git-blame-ignore-revs tdf#157638 Added to git blame ignore list 2023-12-29 17:01:32 +01:00
.gitattributes
.gitignore
.gitmodules
.gitpod.dockerfile
.gitpod.yml
.gitreview
antivirusDetection.vbs
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in Hard-code --with-online-update-mar-channel=LOOnlineUpdater 2024-01-02 21:23:39 +01:00
config_host_lang.mk.in
configure.ac Actually drop --with-online-update-mar-channel 2024-01-03 16:14:42 +01:00
COPYING
COPYING.LGPL
COPYING.MPL
cpp.hint
download.lst tdf#134526 Firebird: upgrade to release 3.0.11 2024-01-06 02:37:26 +01:00
g
install-sh
install_deps.sh
leak-suppress.txt
Library_merged.mk
logerrit
Makefile.fetch
Makefile.gbuild Fix make create-update-info also for non-Windows 2024-01-05 17:55:08 +01:00
Makefile.in
README.cross
README.help.md
README.md
README.Solaris
Repository.mk Re-enable MOZ_VERIFY_MAR_SIGNATURE feature 2024-01-02 21:23:48 +01:00
RepositoryExternal.mk
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 and Developers Guide. 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.10
  • macOS:
    • Runtime: 10.15
    • Build: 12 (13 for aarch64) + Xcode 14
  • Linux:
    • Runtime: RHEL 8 or CentOS 8 and comparable
    • Build: either GCC 12; or Clang 12 with libstdc++ 8.5
  • 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 r23 and SDK 30.0.3
  • Emscripten / WASM:
    • Runtime: a browser with SharedMemory support (threads + atomics)
    • Build: Qt 5.15 with Qt supported Emscripten 1.39.8
    • See README.wasm

Java is required for building many parts of LibreOffice. In TDF Wiki article Development/Java, the exact modules that depend on Java are listed.

The baseline for Java is Java Development Kit (JDK) Version 17 or later.

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.