hm2: fix long standing encoder velocity estimation error (thanks pcw and jepler)

We located source of calculating Nan velocity in some configurations.
It was when driver got some encoder pulses without changing timestamp, which is possible but mostly from electrical noise.
Driver just skips calculating velocity in current cycle and uses last one.

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
gmoccapy_1_2_2 - support now also matchbox-keyboard

tooledit-widget.py commented out one print statement

ver. 1.2.2
- changed the way the window size and position is
  handled, as before the default values did appear
  several times in the code
- If no virtual keyboard could be initialized, we
  disable now the corresponding part on the settings
  page and the related button. Check will be done
  for <onboard> and <matchbox-keyboard>
- starting gmoccapy did throw an error to the terminal
  that a widget could not get default. Finally I found
  the reason, the glade file did contain a property
  "has_default" and that is not allowed by builder.
xhc-hb04/README update for udev rule file
gladevcp -tooledit, fix comment bugs

comments would grow by one space each time the tool file was saved.
if the comment delimter was missing weird things would happen-
double entries or entries as comments

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
gladevcp -tooledit, flush tool file to disk

hopefully fix an occational bug that would make linuxcnc
tell you that the tool was missing from file when it was obviously there.
It seems maybe the file was not written to disk before linuxcnc was
told to read it. why it would be _blank_ I don't know.
I could cause this reliable when testing wihout linuxcnc, probably
because of the big pause as it tried to talk to non-existant linuxcnc..

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
hal: make 'save comp' order match original 'loadrt' order

Originally I chose to reverse the order in the linked list, but this
caused problems on unload due to the need to remove modules in the reverse
order (a problem which is seen in kernel-based builds only).

This time, reverse the list in save_comps in a way that uses O(n) extra
space and traverses the list twice.
tests: save.0: use expected result as hal script too

.. this makes is all the more certain that halcmd save is doing
the right thing, since it doesn't allow it to introduce any differences.
Docs: update download information

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Docs: update install instructions

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Merge remote-tracking branch 'origin/2.6'
build: sssshhhh kbuild
platform-is-supported: armhf is reported as arm

.. by DEB_HOST_ARCH_CPU.  DEB_HOST_ARCH reports armhf.  I don't know what
the difference is.
hal: aha that's why
get rid of unused variables

these variables were no longer used, just set.