Read-only LibreOffice core repo - no pull request
Switch branches/tags
Clone or download
Pull request Compare This branch is 270 commits ahead, 29284 commits behind LibreOffice:master.
hanya and KapiX Fix methods of key event related and move focus to a view (#2)
Change-Id: Ideb13424c3260c30e211e45dfc06f0418945d7e0
Latest commit d1db84e Jan 11, 2018
Permalink
Failed to load latest commit information.
.git-hooks git-hooks: Info how to install them manually. Sep 8, 2015
UnoControls loplugin:expandablemethods in UnoControls..vbahelper Oct 25, 2016
accessibility tdf#104767: Fix calculus of child index in commitTableEvent (accessib… Dec 19, 2016
android bump gradle plugin, build-tools and support lib versions Nov 16, 2016
animations loplugin:override: No more need for the "MSVC dtor override" workaround Sep 13, 2016
apple_remote SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around new macOS 10.12 deprec… Oct 5, 2016
avmedia loplugin:expandablemethods in avmedia..canvas Nov 11, 2016
basctl tdf#93592 Make it possible to add default language resource to dialog… Dec 2, 2016
basegfx includes should be at the top of the file Nov 18, 2016
basic tdf#93592 Make it possible to add default language resource to dialog… Dec 2, 2016
bean clang-cl loplugin: bean Oct 16, 2016
bin Enable database connectivity. Jan 13, 2017
binaryurp loplugin:unusedfields Nov 15, 2016
bridges Enable x86_64 for real. Apr 2, 2017
canvas loplugin:vclwidgets Nov 11, 2016
chart2 comment_out_until_it_builds() WIP Jan 4, 2017
cli_ure "// not impl" -> "= delete" Sep 23, 2016
codemaker Delete the "Any-to-Any" template specializations for LIBO_INTERNAL_ONLY Nov 21, 2016
comphelper SafeModeDialog: Add option to reset bundled extension registration Dec 6, 2016
compilerplugins vcl: separate ImplImageTree - ImageTree singleton and public iface Dec 19, 2016
config_host ENABLE_GRAPHITE_DWRITE is always set to 1 Oct 30, 2016
configmgr Kill the AutoPilotPresentations UNO command Nov 21, 2016
connectivity Enable database connectivity. Jan 13, 2017
cppcanvas cppcanvas, oox: add missing #include <osl/endian.h> Nov 21, 2016
cppu Delete the "Any-to-Any" template specializations for LIBO_INTERNAL_ONLY Nov 21, 2016
cppuhelper loplugin:expandablemethods in comphelper..cppuhelper Nov 10, 2016
cpputools tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals Mar 11, 2016
cui tdf#104221: Make up for non-existent FillItemSet Dec 19, 2016
dbaccess dbaccess: fix testCloneMovesPlusDeletions test Dec 13, 2016
desktop disable poppler and try to fix DB stuff Jan 4, 2017
dictionaries @ 7fb6e86 Version 5.3.0.1, tag libreoffice-5.3.0.1 Dec 23, 2016
distro-configs Add bitmap support. Apr 8, 2017
drawinglayer update vclwidget loplugin to find ref-dropping assigment Nov 11, 2016
dtrans tdf#103852 avoid clipboard deadlock Nov 24, 2016
editeng tdf#104488 editeng,svx: throw less Accessible exceptions Dec 19, 2016
embeddedobj replace <<= with assign for <<= with rhs Any Oct 19, 2016
embedserv clang-cl loplugin: embedserv Oct 16, 2016
eventattacher loplugin:override: No more need for the "MSVC dtor override" workaround Sep 13, 2016
extensions loplugin:datamembershadow Nov 18, 2016
external add missing dep on jpeg Dec 19, 2016
extras update emoji autocorrect files from po-files Dec 23, 2016
filter tdf#104144: Missing dashed border, "break" should be "fallthrough" af… Nov 28, 2016
forms remove use of tryPropertyValue Any specialisation Nov 21, 2016
formula add missing deps on ui files Nov 21, 2016
fpicker Delete the "Any-to-Any" template specializations for LIBO_INTERNAL_ONLY Nov 21, 2016
framework tdf#104818 Show the right label when a11y enabled Dec 23, 2016
helpcompiler loplugin:oncevar in helpcompiler..reportdesign Nov 2, 2016
helpcontent2 @ 8b7d14d Version 5.3.0.1, tag libreoffice-5.3.0.1 Dec 23, 2016
hwpfilter includes should be at the top of the file Nov 18, 2016
i18nlangtag Fix tdf#103855 add language codes and names to language lists from ex… Nov 17, 2016
i18npool Add 2 extra number formats for Hebrew locale Nov 25, 2016
i18nutil upgrade to ICU 58 Nov 2, 2016
icon-themes tdf#100015 Last missing icon moved from elementary set Dec 20, 2016
idl loplugin:expandablemethods in hwpfilter..linguistic Nov 8, 2016
idlc Initial fixes for Haiku Jan 3, 2017
include comment_out_until_it_builds() WIP Jan 4, 2017
instsetoo_native profilesafe: Adapted to UI Oct 14, 2016
io loplugin:unusedmethods in chart2..svx Sep 22, 2016
ios Bump IPHONEOS_DEPLOYMENT_TARGET Oct 3, 2016
javaunohelper javaunohelper: fix all javadoc warnings Feb 17, 2016
jurt Adapt jurt staticsalhack to MACOSX Nov 7, 2016
jvmaccess loplugin:passstuffbyref in jvmaccess Apr 13, 2016
jvmfwk Fix regression in bubbleSortVersion Nov 16, 2016
l10ntools loplugin:unusedfields Nov 17, 2016
librelogo tdf#101603: fix lgnpath for MacOs in LibreLogo Nov 27, 2016
libreofficekit re-apply "use material style selection handles"" Nov 10, 2016
lingucomponent Search for old style dictionaries in DICPATH Oct 10, 2016
linguistic Idle::Start must be called with SolarMutex locked Nov 29, 2016
lotuswordpro includes should be at the top of the file Nov 18, 2016
m4 m4: make explicit what boost library we are not finding Aug 24, 2016
mysqlc loplugin:datamembershadow Nov 17, 2016
nlpsolver tdf#104268 NLPSolver: Improve display of solution Dec 22, 2016
o3tl coverity#1371178 Missing move assignment operator Sep 12, 2016
odk Remove bogus comments about ~IPropertyArrayHelper not being virtual Oct 27, 2016
offapi [API Change]: Create new GeneralFunction2 for adding median Nov 23, 2016
officecfg EMOJI CONTROL: Add EmojiOne font for Emoji Support Nov 30, 2016
onlineupdate [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always true Sep 20, 2016
oovbaapi coverity#707022 Uncaught exception Sep 2, 2014
oox tdf#104445: PPTX import: Extra bullets are added to placeholder text Dec 9, 2016
opencl tdf#103395 opencl: don't initialize OpenCL when disabled Oct 24, 2016
osx Add some more source files for breakpointing convenience Oct 20, 2016
package drop extra semicolons Nov 13, 2016
postprocess Allow including/packaging help-specific images Nov 4, 2016
pyuno make comphelper::containerToSequence a little smarter Nov 9, 2016
qadevOOo Add link to bug describing such a race Oct 27, 2016
readlicense_oo update credits Dec 7, 2016
registry Enable database connectivity. Jan 13, 2017
remotebridges loplugin:override: No more need for the "MSVC dtor override" workaround Sep 13, 2016
reportbuilder Fix typos Feb 5, 2016
reportdesign tdf#104105: fix Vcl lifecycle in CondFormat (reportdesign) Dec 9, 2016
ridljar error: unknown tag: internal Jun 7, 2016
rsc loplugin:unusedfields Nov 15, 2016
sal All kinds of fixes. Menus work. Nov 23, 2017
salhelper includes should be at the top of the file Nov 18, 2016
sax tdf#103544: DOCX exp.: Image loss when have a frame anchored to the s… Oct 28, 2016
sc It builds! Unit tests fail though. Jan 7, 2017
scaddins new loplugin finalprotected Nov 16, 2016
sccomp loplugin:override: No more need for the "MSVC dtor override" workaround Sep 13, 2016
schema schema: copy of v1.3 schema to collect LO extensions Aug 29, 2016
scp2 Remove Noto Emoji font Nov 30, 2016
scripting tdf#103363: add unicodedata and import idna encoding for mailmerge Dec 18, 2016
sd should be sd icon, not sc Dec 22, 2016
sdext comment_out_until_it_builds() WIP Jan 4, 2017
setup_native fix display of DMG background on Mac OS X Sierra Dec 5, 2016
sfx2 That's probably not meant to be a C++ reference to a uno::Reference Dec 14, 2016
shell style fixes for cppcheck noExplicitConstructor Nov 1, 2016
slideshow rework diamond transition to use only opengl core Dec 13, 2016
smoketest tdf#94698 cleanup Makefiles. Get rid of udkapi and offapi Jun 9, 2016
solenv Enable x86_64. Mar 30, 2017
soltools tdf#99589 - tolower / toupper - dangerous to Turks ... Jun 23, 2016
sot loplugin:countusersofdefaultparams in include/sot..svl Nov 21, 2016
starmath tdf#91767 Read SfxItemSet before disposing its AbstractSvxZoomDialog Dec 14, 2016
stoc includes should be at the top of the file Nov 18, 2016
store loplugin:countusersofdefaultparams in sot..svtools Oct 14, 2016
svgio convert Primitive2DContainer to std::deque Nov 9, 2016
svl trivial makefile cleanups Nov 22, 2016
svtools tdf#104495: prevent autotext to crash when drag&drop Dec 9, 2016
svx It builds! Unit tests fail though. Jan 7, 2017
sw It builds! Unit tests fail though. Jan 7, 2017
swext MediaWiki export help: “WikiMedia” → “MediaWiki”; minor copyediting Sep 27, 2016
sysui sysui: add "translate" urls to AppData files Nov 1, 2016
test screenshots: builddir is not neccessarily same as srcdir Dec 22, 2016
testtools Change the shared bridgetest code from static to dynamic library Sep 14, 2016
toolkit tdf#103852 avoid clipboard deadlock Nov 24, 2016
tools Initial fixes for Haiku Jan 3, 2017
translations @ a31e40b Version 5.3.0.1, tag libreoffice-5.3.0.1 Dec 23, 2016
tubes loplugin:reservedid Oct 28, 2016
ucb vcl: separate ImplImageTree - ImageTree singleton and public iface Dec 19, 2016
ucbhelper loplugin:expandablemethods in ucb..ucbhelper Oct 26, 2016
udkapi udkapi: fix doxygen warnings Feb 9, 2016
uitest uitest: fix path to url conversion on windows Nov 21, 2016
unodevtools Omit the default comparator Nov 1, 2016
unoidl Fix typos Oct 3, 2016
unoil Add build toolchain to upload LibreOffice API to Maven Central Dec 3, 2015
unotest screenshots: builddir is not neccessarily same as srcdir Dec 22, 2016
unotools Allow extensions to provide color palettes Dec 1, 2016
unoxml loplugin:oncevar in unoxml..toolkit Oct 31, 2016
ure [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always true Sep 20, 2016
uui add missing deps on ui files Nov 21, 2016
vbahelper update vclwidget loplugin to find ref-dropping assigment Nov 11, 2016
vcl Fix methods of key event related and move focus to a view (#2) Jan 10, 2018
winaccessibility loplugin:vclwidgets Nov 11, 2016
windows Add a README to avoid unrealistic expectations Mar 13, 2016
wizards Fixes tdf#104412 - DirectoryNameoutofPath no longer works Dec 7, 2016
writerfilter tdf#75573 - relocate code: alternate stream already started Dec 23, 2016
writerperfect add missing dependency Nov 13, 2016
xmerge coverity#1326473 Resource leak on an exceptional path Aug 28, 2016
xmlhelp loplugin:datamembershadow Nov 17, 2016
xmloff crashtesting: a gadzillion failures on export to odp Dec 1, 2016
xmlreader convert XmlReader::State to scoped enum Aug 31, 2016
xmlscript extend unusedfields loplugin to find fields that can be private Nov 17, 2016
xmlsecurity xmlsecurity DigitalSignaturesDialog: show signature type on the UI Dec 7, 2016
.buckconfig Add build toolchain to upload LibreOffice API to Maven Central Dec 3, 2015
.buckversion Add build toolchain to upload LibreOffice API to Maven Central Dec 3, 2015
.editorconfig Add .editorconfig file Sep 19, 2016
.gitattributes Ignore schema files for src tarball generation Aug 30, 2016
.gitignore add Codelite files to .gitignore Nov 1, 2016
.gitmodules binfilter.die.die.die Nov 9, 2012
.gitreview Branch libreoffice-5-3 Nov 23, 2016
BUCK Add build toolchain to upload LibreOffice API to Maven Central Dec 3, 2015
COPYING Licencing files Jan 11, 2011
COPYING.LGPL Licencing files Jan 11, 2011
COPYING.MPL Targetted text updates, with seasonable changes before l10n freeze. Dec 13, 2013
Library_merged.mk i18nlangtag must presumably be dropped from Library_merged.mk Oct 26, 2016
Makefile.fetch Remove Noto Emoji font Nov 30, 2016
Makefile.gbuild add build system part for upload crashreport symbols May 24, 2016
Makefile.in comment_out_until_it_builds() WIP Jan 4, 2017
README.Solaris remove use of Archive::Zip Jun 4, 2016
README.cross Drop the Windows information, nobody has done that for years Dec 17, 2015
README.md Enable x86_64. Mar 30, 2017
Repository.mk Disable some tracing, implement PolyLine. Nov 23, 2017
RepositoryExternal.mk fix lpsolve dependency Dec 19, 2016
RepositoryFixes.mk gengal script calling gengal.bin is not needed on Mac Nov 27, 2015
RepositoryModule_build.mk drop basebmp entirely now Jan 20, 2016
RepositoryModule_host.mk screenshots: add new global make target Aug 18, 2016
TEMPLATE.SOURCECODE.HEADER Add fill-column: 100 to the Emacs mode line Nov 8, 2016
autogen.sh lode: make sure LODE_HOME/opt/bin is in the PATH for aclocal Dec 31, 2015
config.guess Fix typos Jan 7, 2016
config.sub Update config.{guess,sub} Jun 18, 2014
config_host.mk.in Exit GLyphy Nov 16, 2016
config_host_lang.mk.in gbuild: allow to react on change in configured langs Mar 25, 2015
configure.ac Add bitmap support. Apr 8, 2017
download.lst Remove Noto Emoji font Nov 30, 2016
g it is "git submodule", not "git submodules" May 17, 2016
install-sh update install-sh to the automake-1.11 version Feb 26, 2012
leak-suppress.txt ignore a few low level libc leaks for now Mar 12, 2016
lo.xcent.in We don't build the Apple Remote code when sandboxed Mar 4, 2016
logerrit logerrit: disarm the "resubmit" foot-gun Apr 27, 2016
sanitize-ubsan-blacklist file for ci-based ubsan build Oct 31, 2015
unusedcode.README bugs.freedesktop.org -> bugs.libreoffice.org Nov 17, 2013
unusedcode.easy Remove unnecessary typedef (that introduced a reserved identifier) Mar 10, 2016
unusedcode.exclude unused SalGraphics::drawTransformedBitmap( Jan 6, 2016

README.md

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.

Haiku build instructions

http://haiku.kacperkasper.pl/libreoffice.html

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 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:

http://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.

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.