VERSION.txt, NEWS.txt: prepare version 6.6
Math/FastTrig: use sinetable for both sine and cosine

Reduces executable size by approx. 38 kb with virtually no overhead.
UnitsConfigPanel: use C++11 "override"
Widget: remove parameter "require_restart"

This is a special case for system settings, and this does not deserve
a parameter in a generic interface.
InfoBoxes/Panel/MacCreadyEdit: Fix MC adjustment for non metric settings

Fixes trac issue #2654.
InterfaceConfigPanel: fix require_restart setters

The expression "require_restart |= changed |= X" always sets
"require_restart" to true if "changed" was set by another control.
This causes false positives in "require_restart".
{GC,Layout}ConfigPanel: fix require_restart setters

Similar to the previous commit.  The code was not exactly wrong, but
was misleading the (human) reader.
OLCTriangle: optimise triangles with start/end on a leg.

This adds a fourth edge to the triangle solver, such that a triangle
trace can start/end somewhere on a leg.

This seems to work pretty well on many flights (e.g.
http://www.skylines-project.org/flights/482/ or
http://www.skylines-project.org/flights/99/)
but still failes on others (http://www.skylines-project.org/flights/520/)
AnalyseFlight: increase trace size

Needed to yield a better result of the triangle optimisation,
test with flight http://www.skylines-project.org/flights/482/
Makefile: enable TESTING

This is the unstable branch.
NEWS.txt: prepare version 6.5.1
IO/FileCache: move code to FileTimeToInteger()
FileCache: use the cache even when the system clock is wrong

Replaces an old kludge that was Windows CE only.  This can happen on
Android devices, too.
NEWS.txt: add missing lines
WinInet/Request: consistently restore the StatusCallback

Convert the URL to wchar_t before invoking SetStatusCallback().
Errors during the former will not corrupt the callback.
NMEA/Info: remove deprecated prototype ResetFlight()

Not implemented.
Replay: fix the Update() return value

Return true if the AbstractReplay instance has been updated
successfully.  Fixes auto-stop on GPS movement and suppresses the
simulator while replay is active.
Merge branch 'v6.5.x'
Replay: simplify Update()
Time/PeriodClock: rename get_now() to GetNow()