SwNoTxtFrm::nWeight is never read

Change-Id: I18cc8f4fb5e2fa2b62c360c787a4d827dab7955c
sal_uInt16 to size_t

Change-Id: I5b63396fba55b717f35aee5718dd348a9d795786
sal_uInt16 to size_t

Change-Id: I66239d89049f1386e5725e540c4dcc2b09c3ebf0
Optimize consecutive token accesses in OUStrings

Change-Id: I988d80665bc61d1a0a96614790735d83bd9e5dde
sal_uInt16 to size_t

Change-Id: Ide8913930f9f951039cefecf71609c5a2bcc5e82
fix new[]/delete mismatch

Found by asan. E.g. ooo45229-2.cgm
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