sim configs: use names= for sim components
Merge branch 'v2.5_branch'

Conflicts:
	configs/sim/axis/check_constraints.hal
Make the simulated spindle spin up faster

This was taking a very long time to reach at-speed when running the splash
screen, which runs at 10krpm.
gscreen -add abort and feed-hold HAL pins
gscreen -rename buttons for function rather then position

makes it easier to read / understand the code
gscreen -change gscreen HAL pin names

There were dots where dashes should be.
This could break existing configs - luckily we are in master...
gscreen -make keybindings overrideable in the handler file

So other screens can do as they please
gscreen -add embedded Onboard keyboard to industrial screen

you can disable it in the preference file.
build: revisit x86_64 build flags yet again

Motivation to add -msse conditionally:

On x86_64, the kernel specifies -mno-sse, with the intention of detecting
accidental use of FP in kernel space.

gcc -m64 -mno-sse rejects the following code, because the ABI places the
return value of double sin(double) in the SSE register %xmm0 (and/or
because the argument :
    extern double sin(double);
    double d;
    void fn() {
        d = sin(d);
    }

rtai for x86_64 is supposed to put -msse in $(rtai-config
--module-cflags), but in rtai-modules-2.6.24-16-rtai 3.6.1-linuxcnc.2
(ubuntu hardy amd64) this is not the case.

Detect this and add -msse by hand if it is not there.  Also, take care
to add it only in kernel space; we're not aware of any reason to have to
add it in userspace.

Motivation to remove -ffast-math, -f[no-]unsafe-math-optimizations:

gcc 4.7.2-5 on debian wheezy miscompiles
    double val;

    void fn(double dot, double radius) {
        val = dot / (radius * radius);
    }
under -Os -ffast-math.  -ffast-math implies -funsafe-math-optimizations,
so specifying it was redundant.  In 2011 I thought I had a report that
-ffast-math -funsafe-math-optimizations was required on one user's amd64
setup, but now that same user reports he has to drop those flags to get
correct behavor, so as far as I know we have no users who need the
-ffast-math flag. (this bug is upstream and fixed:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56125 but the fix looks
unlikely to make it into Debian 7.0's initial release)
Revert "fix building without 5axiskins"

This reverts commit d2bdfa68cfa0206f558db61d9c97f30e9c5483e3.
Revert "Remove bogus sample kins file"

This reverts commit 62d11480ab6091e7d5676884e4d5267218eccf07.
The 5axis sample config uses this!
The tool-length hal pin was vestigial and confusing.
sim hal files names= consistency with v2.5
gladevcp -lighten color of highlight of Gcode display

Hard to read some Gcode.
hal_glib - add a tool-changed gobject signal

GUI's can be signalled when the tool has changed in the spindle
interp: add __delete__ interpreter shutdown hook to Interp::exit()

this mirrors the Interp __init__ hook (see section 9.3 remapping manual)
intended use case is to enable any user-defined initialisation of state,
and saving of state on shutdown as far as this is not covered by
Interp::save_parameters().

This patch enables the __delete__ hook only for the milltask instance
of interp, where Interp::exit() is properly called.

TBD: how to call Interp::exit() on gcodemodule.cc shutdown
docs/interp: document __delete__ Python hook
orient.comp: fix modulo arithmetic

thanks to Martin Kaplan.
Merge remote-tracking branch 'origin/v2.5_branch' into rtos-integration-preview3

Conflicts:
	src/Makefile
	src/Makefile.modinc.in
Merge branch 'rtos-integration-preview3' into rtos-integration-preview3-merged-into-master

Conflicts:
	configs/sim/axis/check_constraints.hal