Formatter/UserUnits: Fix inclusion of pressure unit in format string
Dialogs/Settings/dlgBasicSettings: Show pressure unit

Fixes trac issue #2933
MapWindowContest: fill FAI triangle areas on Windows

The wrong destination canvas was used.
MainWindow: clear the bottom_widget attribute in KillBottomWidget()

Fixed use-after-free bug.
Add polar for Pilatus B4 at the end of the list.
This polar was measured in 1974 at the Idaflieg-vergleichsfliegen at Aalen.
Permission is granted by Idaflieg (via e-mail) to use this polar in XCSoar.
test/src/TaskPrinting.cpp: prevent assert fails on verbose output
test/src/harness_waypoints.cpp: prevent aliasing of wp
test/src/test_replay_olc.cpp: make functional again after refactor

Code refactoring in IgcReplay and elsewhere broke this test.
Some tests fail now but at least it runs and passes some tests.
test_debug: add waypoint file in command line options
Compiler.h: add macro CLANG_VERSION
Util/TypeTraits: use std::is_trivially_destructible with clang 3.3

Fixes build failure with clang 3.3 and glibcxx 4.8.
Makefile: enable glibcxx debugging on DEBUG=y mode
Makefile: fix flipped DEBUG check for glibcxx debugging

Regression from commit a83c42a5.
Airspaces: fix iterator after erase()

Bug found by _GLIBCXX_DEBUG.
AbortTask: fix iterator after erase()

Bug found by _GLIBCXX_DEBUG.
SearchPointVector: don't dereference end()

This is not legal, and our code was a dirty hack which aborts with
_GLIBCXX_DEBUG.  Instead of dereferencing end(), we now pass the real
iterator to PolygonInterior().  This adds another header dependency.
OrderedTask: add missing range check in Remove()

Don't update an undefined task point when deleting the last one.  This
fixes a potential crash in the task editor.
Engine/Task/Ordered/OrderedTask: Clear taskpoint_start/taskpoint_finish when clearing a task

Fixes trac issue #2947.
MapWindowEvents: check if the projection is valid

Fixes assertion failure when the DrawThread is slow on startup.
OLCTriangle: better approximation of min and max distance

Reduces the number of needed iterations by 40% and memory
consumption by 30% in some cases.