Stephan Bergmann ce170cf1f2 Allow external/firebird to be built with a custom SHELL under Mac OS X 10.11
...which broke all the stock /bin shells to no longer pass through any DYLD_*
environment variables, so the DYLD_LIBRARY_PATH passed into the firebird Make
would not be passed to all the places that need it (to find the external/icu
libraries that some executables link against which are built and run as part of
building firebird).

What works with two little tweaks is to build your own bash and pass it to make
with SHELL=...:

* For one, there is an empbuild executable that uses system(...) to call another
  isql executable, where the latter needs DYLD_LIBRARY_PATH set, but which would
  not pass through the system(...) call (which implicityl uses /bin/sh).

* For another, it is still necessary to invoke Firebird's make with an explicit
  SHELL=$(SHELL), for reasons that are not entirely clear to me.  (There are
  some Makefile.in in Firebird's extern/ sub-tree that set "SHELL = @SHELL@" to
  configure's CONFIG_SHELL, unless overriden via an explicit command line
  arguemnt, but I don't think those are relevant here.)

Change-Id: I1e68faa898e758f09efb602d96fd6b35657e0480
2015-10-02 12:53:01 +02:00
2015-09-30 05:53:57 +00:00
2015-10-01 14:51:52 +02:00
2015-09-30 05:53:57 +00:00
2015-10-02 08:54:51 +00:00
2015-10-02 08:54:51 +00:00
2015-10-02 08:54:51 +00:00
2015-10-02 08:54:51 +00:00
2015-09-30 06:00:18 +00:00
2015-10-01 10:43:24 +00:00
2015-09-18 07:59:14 +00:00
2015-09-30 13:05:20 +00:00
2015-09-30 13:05:20 +00:00
2015-09-28 21:31:39 +00:00
2015-10-01 10:43:24 +00:00
2015-10-02 09:12:22 +01:00
2015-10-02 07:55:15 +00:00
2015-10-01 11:26:35 +00:00
2015-09-30 12:41:09 +00:00
2015-10-01 14:44:23 +00:00
2015-10-01 10:43:24 +00:00
2015-09-30 12:41:09 +00:00
2015-09-29 19:23:38 +00:00
2015-10-01 10:43:24 +00:00
2015-10-01 10:43:24 +00:00
2015-10-02 06:38:20 +00:00
2015-09-30 11:03:11 +00:00
2015-09-30 11:03:11 +00:00
2015-09-30 11:03:11 +00:00
2015-10-01 10:43:24 +00:00
2015-10-01 10:43:24 +00:00
2015-09-30 11:03:11 +00:00
2015-10-01 11:37:50 +00:00
2015-10-01 11:37:50 +00:00
2015-09-17 11:00:51 +01:00
2015-10-01 14:04:14 +00:00
2015-10-02 08:45:48 +00:00
2015-09-30 07:03:18 +00:00
2015-09-30 07:03:18 +00:00
2015-10-01 10:43:24 +00:00
2015-09-30 10:59:35 +00:00
2015-09-30 10:59:35 +00:00
2015-10-01 14:57:24 +02:00
2015-10-01 10:43:24 +00:00
2015-09-30 06:43:52 +00:00
2015-10-01 10:43:24 +00:00
2015-10-01 10:43:24 +00:00
2015-10-01 06:57:19 +00:00
2015-09-18 07:59:14 +00:00
2015-09-29 14:57:40 +02:00
2015-10-02 06:20:35 +00:00
2015-09-28 08:59:18 +00:00
2015-09-30 07:06:16 +00:00
2015-10-02 10:16:43 +02:00
2015-09-30 06:30:53 +00:00
2015-10-02 06:20:35 +00:00
2015-10-02 06:20:35 +00:00
2015-09-30 10:34:17 +00:00
2015-10-02 06:20:35 +00:00
2015-09-30 10:45:48 +00:00
2015-10-02 06:20:35 +00:00
2015-10-02 06:20:35 +00:00
2015-09-30 06:15:39 +00:00
2015-09-24 16:20:51 +00:00
2015-09-29 22:19:19 +00:00
2015-09-25 15:05:15 +00:00
2015-10-01 06:57:19 +00:00
2015-09-30 10:41:48 +00:00
2015-09-30 10:41:48 +00:00
2015-09-30 10:41:48 +00:00
2015-09-30 10:41:48 +00:00
2015-09-30 10:41:48 +00:00
2015-09-30 06:04:21 +00:00
2015-09-17 14:12:07 +01:00
2015-09-16 15:34:23 +01:00
2015-09-29 22:16:00 +00:00
2015-10-02 06:38:43 +00:00
2015-09-29 22:14:58 +00:00
2015-09-29 22:13:57 +00:00
2015-10-02 06:38:43 +00:00
g
2015-10-02 06:25:57 +00:00
2015-10-02 09:12:22 +01:00

LibreOffice

Coverity Scan Build Status

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 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
basebmp/ enables a VCL compatible rendering API to render to bitmaps, as used for LibreOffice Online, Android, iOS, etc.
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.

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%