Milian Wolff ecb5fcff33 Introduce gtk3_kde5 vcl plugin
This is a hybrid plugin which mostly wraps the GTK3 vclplug. Only
the file and folder picker are replaced by KDE dialogs. This gives
us a well-maintained GTK LO base with basic KDE integration with
minimum effort.

To prevent issues with nested event loops, the KDE dialogs are
launched from a separate process, the new lo_kde5filepicker helper
executable. A trivial stdin/stdout IPC mechanism transfers the data
between LO and the Qt/KDE helper. The usage of an external process
also allows us to copy'n'paste between LO and the KDE file dialog
without freezing the UI, as would happen when one would do this
in-process. This is in general also the architecture applied by the
kmozillahelper, which is used to integrate KDE file dialogs into
Firefox.

While the KDE dialog is shown, the GTK3 main window is disabled and
close requests are ignored. The KDE dialog in turn also sets the LO
window as transient parent. Together, this makes the illusion perfect
and the KDE dialog behaves like a modal dialog. This works properly
also with multiple LO main windows, and only individual windows will
get blocked as one would expect.

Functionality wise, most of the features of the KDE4 dialog are
supported. You can pick files and folders, and save files under a new
name. Some custom checkbox widgets are supported, but lists, buttons
and preview widgets are not yet implemented. Also, loading remote
files via KIO is not possible yet.

Change-Id: I1a97cf7c272307a19ace4222d5f12253bc722829
Reviewed-on: https://gerrit.libreoffice.org/47718
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-23 13:38:46 +01:00
2018-01-19 13:25:54 +01:00
2018-01-19 10:34:45 +01:00
2018-01-19 13:25:54 +01:00
2018-01-23 07:54:51 +01:00
2018-01-14 16:24:04 +01:00
2018-01-18 08:10:04 +01:00
2018-01-16 12:40:51 +01:00
2018-01-23 10:41:38 +01:00
2018-01-23 10:41:38 +01:00
2018-01-19 09:55:11 +01:00
2018-01-22 07:04:29 +01:00
2018-01-22 07:04:29 +01:00
2018-01-23 10:41:38 +01:00
2018-01-17 20:18:30 +01:00
2018-01-23 10:41:38 +01:00
2018-01-19 21:51:31 +01:00
2018-01-19 20:24:00 +01:00
2018-01-23 10:41:38 +01:00
2018-01-16 12:40:51 +01:00
2018-01-23 12:45:09 +01:00
2018-01-23 09:03:30 +00:00
2018-01-19 08:19:38 +01:00
2018-01-23 10:56:50 +01:00
2018-01-17 12:06:11 +01:00
2018-01-22 07:04:29 +01:00
2018-01-21 21:16:58 +01:00
2018-01-17 12:06:11 +01:00
2018-01-17 12:06:11 +01:00
2018-01-17 09:01:18 +01:00
2018-01-19 14:56:01 +00:00
2018-01-15 07:26:17 +01:00
2018-01-23 13:38:32 +01:00
2018-01-15 09:04:17 +01:00
2018-01-18 10:02:25 +01:00
2018-01-20 07:40:41 +01:00
2018-01-23 07:54:51 +01:00
2018-01-19 08:19:38 +01:00
2018-01-23 10:41:38 +01:00
2018-01-23 10:41:38 +01:00
2018-01-23 13:38:32 +01:00
2018-01-17 21:06:53 +01:00
2018-01-23 10:41:38 +01:00
2018-01-19 13:25:54 +01:00
2018-01-23 07:54:51 +01:00
2018-01-22 18:20:33 +01:00
2018-01-23 07:58:17 +01:00
2018-01-23 10:41:38 +01:00
2018-01-20 10:45:22 +01:00
2018-01-23 10:41:38 +01:00
2018-01-23 07:54:51 +01:00
2018-01-18 17:35:41 +01:00
2018-01-22 07:04:29 +01:00
2018-01-15 09:01:38 +01:00
2018-01-16 12:40:51 +01:00
2018-01-18 17:35:41 +01:00
2018-01-23 13:38:46 +01:00
2018-01-16 12:40:51 +01:00
2018-01-20 20:48:41 +01:00
2018-01-20 20:48:41 +01:00
2018-01-23 13:38:46 +01:00
2018-01-22 09:32:33 +01:00
2018-01-14 12:03:40 +01:00
2018-01-23 13:38:46 +01:00

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:

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.

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.

Description
LibreOffice mirror (not auto-updating).
Readme 1.9 GiB
Languages
C++ 82.4%
Java 5.3%
Rich Text Format 2.3%
PostScript 1.9%
Python 1.9%
Other 5.7%