all deps for tools are expected to be at one place

Change-Id: Ie0d359f6607811cd76aefe4e19d0fb05379f1762
bnc#830738 Now all axis labels of a chart are displaied.

Problem:
Some axis labels of a chart are missing, when they should not.

Analysis and solution:
The current implementation is affected by the following issues:

1) When the method switches to the 45-degrees layout the
`nRhythm` parameter is not reset to 1.
2) The bounding boxes computed by the `doesOverlap` test routine
for the 45-degrees layout are wrong.

Because of the first issue only one label every `nRhythm` is showed
even if in the 45-degrees layout no overlap occurs.

The second issue is located inside the `lcl_getRotatedPolygon`
routine which is used by the `doesOverlap` routine for building a
polygon representing the bb for a text label. The polygon is created
in the following way: a new rectangle is created: the top-left vertex is
placed at axes origin and it is initialized with the same width and
height of the bb of the passed text label. Later several
transformations are performed on the new rectangle:
1) the rectangle is rotated by a 45-degrees angle respect with its
center; 2) the rectangle is translated by a vector equals to the
top-left vertex of the bb of the passed text label.
There are 2 errors in this sequence of transformations:
1) The `B2DHomMatrix` class used for representing the
transformation, performs rotations in the positive direction (from
the X axis to the Y axis). However since the coordinate system used
by the chart has the Y-axis pointing downward, a rotation in the
positive direction means a clockwise rotation. On the contrary text
labels are rotated counterclockwise. This can be easily fixed by
using the opposite angle. 2) Rotating the rectangle respect with its
center is wrong since the fixed point of the rotation must be the
top-left corner of the rectangle: in this way when the final
translation is performed the top-left vertex of the transformed
rectangle will be coincident with the top-left vertex of the text label
bb, and so the transformed rectangle will be coincident with the text
label bb.

Change-Id: Ia8072c3d5bd6c1a11f66c33d45d56e55634edf4c
fdo#87596 Draw tab fill color when selected on the tab bottom

Change-Id: I02bcdf88063d272cb9eb9e89cbee61d30f4f01d6
android: Put document into center when it's smaller than viewport

Change-Id: I0d0cd421e366bf34b71d9d82dd21476ecfa90b18
android: Tweak initial zoom of documents in different situations

- In case of Writer document always show document by full width.
- Otherwise show the whole document on the screen even when the
 orientation is portrait or landscape.

Change-Id: Ia6704432c850a5487aee1693ed12e039ae6ef0cb
writerfilter: turn SourceDocumentType into a C++11 scoped enumeration

Change-Id: I11c550d0ec5a10f17116ac8f7025c0283e292f2e
resurrect OS X SDKs 10.5--10.7 in configure.ac

restore support for `--with-macosx-sdk=' configure option

drop ambiguous MAC_OS_X_VERSION_... availability variables
(MAC_OS_X_VERSION_MIN_REQUIRED & MAC_OS_X_VERSION_MAX_ALLOWED)

building on OS X doesn't imply clang, use gcc/g++ for 10.5 & 10.6

Related commit: 100805844ab3371553803b0b05d3a41a42da7a3a

Change-Id: I7ada3a24a14a3d50b505048525c0a010835be731
Revert "PPC Mac support can go away now (again)"

This reverts commit e29862bcc509916e7fe3e9b2f43b0672c49b7f6e.

Change-Id: Ie6f7b94c2760b34f2b9e3ef7e619905ccb26892e
cpp_uno: OSL_ASSERT -> assert; OSL_ENSURE -> assert

Change-Id: I24a46b5603a933930c1578ec25b1905e2d216249
avmediaMacAVF is not available on OS X 10.5/10.6

related commits:
    4fa8282816cb39692678e9da6b6693e821a3039b
    d4759066933e87f6b56dde40e9e4c224bc1f723f

Change-Id: Ice433ac738096c4142cc78ce793f2b2f1e2a1708
resurrect conditional code for OSX SDKs < 10.8 from "mass purge"

plus, use MACOSX_SDK_VERSION instead of "legacy" MAC_OS_X_VERSION_MAX_ALLOWED/MIN_REQUIRED

reverted commits:
  b02e958fa0bf7d062a5b8aff03d22325e3068feb
  fe25090e992eefd0c43ca73b656632a650793b1a

note: sal/osl/unx/memory.c posix_memalign issue will be addressed in another commit

Modified: 23 files (19 from b02e958f + 6 from fe25090e - 1 common - 1 unx/memory.c)

Change-Id: Ib6e63e664dc073a8d751306f613e8be4918c406a
vcl: restore other bits of pre-10.8 conditional code

related commits:
  4fa8282816cb39692678e9da6b6693e821a3039b
  ec147012340219c8bb5eaf8fe3d41be7836bc261
  16996c6b91b53e3c7d316296833bdb8a9cb60c22

Change-Id: Ie8962f8d26f163eed91fdf6b137b0d9830183dd2
provide universal implementation for aligned memory allocation

use posix_memalign only if it's available; if not, try memalign first

don't blindly guess their availability by platform
(with an exception for Android)

introduce HAVE_MEMALIGN and HAVE_POSIX_MEMALIGN

Note that posix_memalign is not available everywhere
(as are its replacements like memalign). For example,
Darwin/OSX < 10.6 has neither posix_memalign or memalign.

Change-Id: I0cb3b14e1f2d94d4aa02b40c36d353c2b7a78dba
Don't assume that /usr/bin/mktemp is always a BSD mktemp on OSX, add backup for GNU mktemp

Change-Id: Ifb119dd13062593cba5aa3cb1dacc54194339544
add NS_BUILD_32_LIKE_64 definition to build line flags (gb_OSDEFS)

For example, it makes NSRect to be the same as CGRect.
(see NSGeometry.h)

Change-Id: I182703b3ab5e0791c0a092f51a0151d1dfa8fe6a
don't add -fvisibility=hidden to gb_VISIBILITY_FLAGS

Change-Id: I4353d36f4ab4941441e384aeac0ca7a3d2c9bdd8
vlc: use OpenGL "2.1 legacy context" for OS X versions < 10.7

``With Mac OS X 10.7 Lion OpenGL 3.2 support was added. Till then
only OpenGL 2.1 was available.''

related commit: 8b384c946cb6725d691123152f5e7c6ac0692185
sd/source/ui/remotecontrol: there're not only OS X >=10.8

related commit: 8bfc9a20ccea2689fec1ffe0654db1f95179bd4f

Change-Id: I9862aecc02a9cfb8f4db97159f1bd4560eff1cef
Use GNU objc ABI/runtime instead of NeXT ABI/runtime when compiler is GCC

also,
  + fix "cannot find interface declaration for NXConstantString"
  + sal/osl/unx/system.h: include <objc/objc-api.h> when OBJC_EXPORT
    is not defined

Change-Id: I5f0df322435be8244d372642dee1c21d783306f1
vcl, apple_remote, toolkit: fix "OBJC_EXPORT is not defined"

( include <objc/objc-api.h> )

Change-Id: Idcbfff670fb9d83e950e7eac60000ef3e0130f95