Test repository to check push and ssh key
Find a file
Caolán McNamara 5061663ce0 drop unnecessary SYSTEM_MYSQL_CONNECTOR_CPP
Change-Id: I41cfbf41247270d29e08e5125adc05aac198b175
Reviewed-on: https://gerrit.libreoffice.org/59608
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-08-26 17:51:51 +02:00
.git-hooks
accessibility tdf#116542 a11y: Make R/O accessibleedit use STATIC role 2018-08-17 13:19:09 +02:00
android Added Clear Formatting button on Android Viewer 2018-08-21 00:10:10 +02:00
animations
apple_remote
avmedia
basctl Fix typo 2018-08-25 18:33:08 +02:00
basegfx Consolidate: basegfx::clamp -> o3tl::clamp 2018-08-17 20:13:21 +02:00
basic loplugin:useuniqueptr in SbiExprNode 2018-08-22 08:26:41 +02:00
bean
bin mv rather than cp fuzzer 2018-08-14 13:36:45 +02:00
binaryurp
bridges -Werror,-Wmultichar (clang-cl) 2018-08-16 13:47:47 +02:00
canvas
chart2 tdf#94502 Fix overlap export of Stacked Bar Chart to *.xlsx 2018-08-23 13:45:58 +02:00
cli_ure Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
codemaker
comphelper new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
compilerplugins filter out AST in more plugins 2018-08-23 16:34:48 +02:00
config_host
configmgr Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
connectivity drop unnecessary SYSTEM_MYSQL_CONNECTOR_CPP 2018-08-26 17:51:51 +02:00
cppcanvas
cppu
cppuhelper Fix typos 2018-08-13 21:47:25 +02:00
cpputools
cui pass DelFormats around using std::vector 2018-08-24 08:55:14 +02:00
dbaccess Blind fix for -Werror,-Wunused-function 2018-08-24 15:23:43 +02:00
desktop Fix typo: s/an other/another/g 2018-08-16 23:50:54 +02:00
dictionaries@f72d665c06 Update git submodules 2018-08-24 15:00:59 +02:00
distro-configs use gold linker for oss-fuzz 2018-08-13 12:19:58 +02:00
drawinglayer tdf#105998: Enhanced fix for MetafileToBitmap at better place 2018-08-17 21:27:40 +02:00
dtrans
editeng tdf#106260 Fix invisible pasted urls 2018-08-26 10:08:06 +02:00
embeddedobj
embedserv
emfio Assume that EMR_SETWINDOWEXTEX wants to read signed values 2018-08-14 08:26:26 +02:00
eventattacher
extensions pass DelFormats around using std::vector 2018-08-24 08:55:14 +02:00
external don't need dangling Library_mysqlcppconn.mk 2018-08-26 17:51:25 +02:00
extras pt_PT autocorrect - added 21 new words. 2018-08-22 16:28:50 +02:00
filter Fix typos 2018-08-24 19:50:05 +02:00
forms create appendCopy method in OUStringBuffer 2018-08-14 08:35:00 +02:00
formula remove mempool 2018-08-16 15:02:27 +02:00
fpicker loplugin:returnconstant in forms..fpicker 2018-08-13 08:34:21 +02:00
framework loplugin:useuniqueptr in MenuBarManager 2018-08-15 10:10:39 +02:00
helpcompiler
helpcontent2@e2bf234e63 Update git submodules 2018-08-24 21:01:05 +02:00
hwpfilter loplugin:useuniqueptr in HStreamIODev 2018-08-21 12:11:18 +02:00
i18nlangtag tdf#119117: get phonebook sort work by tweaking ICU call mechanism 2018-08-17 20:01:10 +02:00
i18npool Resolves: tdf#119399 add es-VE currency Bolivar Soberano VES Bs.S. 2018-08-22 22:10:39 +02:00
i18nutil
icon-themes tdf#119430 new icon MeasureAttributes 2018-08-23 05:35:40 +02:00
idl
idlc set copy_paste_error to false rather than intentional 2018-08-11 21:09:55 +02:00
include Resolves: tdf#118572 ensure basic error dialog blocks any other dialog 2018-08-24 21:30:17 +02:00
instsetoo_native
io
ios
javaunohelper
jurt
jvmaccess
jvmfwk
l10ntools
librelogo
libreofficekit
lingucomponent
linguistic loplugin:useuniqueptr in LngSvcMgr 2018-08-15 10:03:52 +02:00
lotuswordpro ofz: infinite loop 2018-08-17 11:29:24 +02:00
m4
mysqlc/source Moving mysqlc into connectivity as a library 2018-08-24 17:19:51 +02:00
nlpsolver
o3tl
odk
offapi offapi: correct description of IterateInterval. 2018-08-22 09:34:15 +02:00
officecfg tdf#119425 - Use Ctrl+Tab to switch between sheets on macOS 2018-08-24 09:05:56 +02:00
onlineupdate
oovbaapi
oox tdf#73547 fix ooxml export / import custom dashes. 2018-08-24 15:07:14 +02:00
opencl create appendCopy method in OUStringBuffer 2018-08-14 08:35:00 +02:00
osx
package Related rhbz#1618703: Properly handle failure encoding zip file 2018-08-23 20:38:26 +02:00
postprocess Moving mysqlc into connectivity as a library 2018-08-24 17:19:51 +02:00
pyuno
qadevOOo
readlicense_oo
registry new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
remotebridges
reportbuilder Fix typo: s/an other/another/g 2018-08-15 19:04:41 +02:00
reportdesign new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
ridljar
sal rhbz#1618703: Allow to use OpenSSL as backend for rtl/cipher.h 2018-08-23 20:39:39 +02:00
salhelper tdf#42949 Fix IWYU warnings in include/salhelper/* 2018-08-10 14:13:16 +02:00
sax create appendCopy method in OUStringBuffer 2018-08-14 08:35:00 +02:00
sc get rid of aEndItr entirely 2018-08-26 15:26:24 +02:00
scaddins
sccomp
schema
scp2 Build fix, make install: mysql-connector-ooo extension is gone 2018-08-25 16:31:14 +02:00
scripting loplugin:useuniqueptr in StringResourceImpl 2018-08-22 13:25:44 +02:00
sd loplugin:useuniqueptr in sd dialogs 2018-08-24 13:18:31 +02:00
sdext iRelated rhbz#1618703: Properly handle failure en-/decoding PDF file 2018-08-24 13:14:44 +02:00
setup_native
sfx2 tdf#119416 Open Special Characters dialog on Enter key press 2018-08-24 15:02:21 +02:00
shell Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
slideshow Related: tdf#122166 require opengl >= 3.0 for slide transitions 2018-08-19 12:15:26 +02:00
smoketest
solenv don't need dangling Library_mysqlcppconn.mk 2018-08-26 17:51:25 +02:00
soltools
sot Avoid further downstream overflow 2018-08-17 22:47:32 +02:00
starmath return weld widgets by std::unique_ptr from builder 2018-08-20 08:19:48 +02:00
stoc Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
store
svgio Consolidate: basegfx::clamp -> o3tl::clamp 2018-08-17 20:13:21 +02:00
svl Related rhbz#1618703: Properly handle failure decoding master password 2018-08-23 20:38:10 +02:00
svtools tdf#119427: fix selectionChanged event 2018-08-23 23:27:49 +02:00
svx pass DelFormats around using std::vector 2018-08-24 08:55:14 +02:00
sw tdf#70195 docx export: default header/footer at 720 2018-08-25 07:49:51 +02:00
swext
sysui apparmor: fix access to /etc/xml/catalog 2018-08-15 08:51:44 +02:00
test loplugin:returnconstant in hwpfilter,test 2018-08-13 08:34:55 +02:00
testtools
toolkit toolkit: a micro-optimization taking min and max simulnateously 2018-08-19 14:48:27 +02:00
tools tdf#119326 crash when adding "Windows Share" File resource 2018-08-21 21:04:42 +02:00
translations@54cc0de67b
ucb new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
ucbhelper
udkapi Fix typo 2018-08-13 21:48:49 +02:00
uitest
UnoControls
unodevtools
unoidl
unoil
unotest
unotools create appendCopy method in OUStringBuffer 2018-08-14 08:35:00 +02:00
unoxml loplugin:returnconstant in unoxml,uui 2018-08-13 08:34:49 +02:00
ure
uui loplugin:returnconstant in unoxml,uui 2018-08-13 08:34:49 +02:00
vbahelper new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
vcl Resolves: tdf#118572 ensure basic error dialog blocks any other dialog 2018-08-24 21:30:17 +02:00
winaccessibility tdf#116542 a11y: introduce STATIC role 2018-08-14 12:06:41 +02:00
wizards Access2Base - Add Location to Database object 2018-08-25 18:00:23 +02:00
writerfilter ofz#10056 Null deref 2018-08-25 22:21:57 +02:00
writerperfect
xmerge
xmlhelp loplugin:useuniqueptr in chelp::DynamicResultSet 2018-08-22 13:24:24 +02:00
xmloff new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
xmlreader
xmlscript new loplugin:conststringfield 2018-08-22 13:31:57 +02:00
xmlsecurity Simplify containers iterations, tdf#96099 follow-up 2018-08-20 17:12:11 +02:00
.buckconfig
.buckversion
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
.gitreview
autogen.sh
BUCK
config.guess
config.sub
config_host.mk.in drop unnecessary SYSTEM_MYSQL_CONNECTOR_CPP 2018-08-26 17:51:51 +02:00
config_host_lang.mk.in
configure.ac drop unnecessary SYSTEM_MYSQL_CONNECTOR_CPP 2018-08-26 17:51:51 +02:00
COPYING
COPYING.LGPL
COPYING.MPL
download.lst MYSQL_CONNECTOR_CPP not built anymore 2018-08-26 17:50:33 +02:00
g
install-sh
leak-suppress.txt
Library_merged.mk
lo.xcent.in
logerrit
Makefile.fetch MYSQL_CONNECTOR_CPP not built anymore 2018-08-26 17:50:33 +02:00
Makefile.gbuild
Makefile.in reenable the rest of the fuzzers 2018-08-16 10:37:07 +01:00
README.cross
README.md
README.Solaris
Repository.mk Moving mysqlc into connectivity as a library 2018-08-24 17:19:51 +02:00
RepositoryExternal.mk drop unnecessary SYSTEM_MYSQL_CONNECTOR_CPP 2018-08-26 17:51:51 +02:00
RepositoryFixes.mk
RepositoryModule_build.mk
RepositoryModule_host.mk Moving mysqlc into connectivity as a library 2018-08-24 17:19:51 +02:00
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 2017
  • 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.4 (only support for newer i devices == 64 bit)
    • Build: Xcode 9.3 and iPhone SDK 11.4

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.