Fix a Hostmot2 Resolver bug in 64 bit builds.
Do not assume that "long" is 32 bits in all systems. this bug resulted in the
resolver module being utterly unusable, with the apparent resolver angle varying
randomly by thousands of turns

Signed-off-by: Andy Pugh <andy@bodgesoc.org>
Touchy: MDI support for M61
Merge branch 'v2.5_branch'

Conflicts:
	src/hal/drivers/mesa-hostmot2/hostmot2.h
	src/hal/drivers/mesa-hostmot2/resolver.c
Docs: add note to untranslated Spanish chapters
add info for translators on how to get the latest version
of that chapter before starting a translation.

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Docs: add m61 to quick reference

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Use a less bogus way to detect "index" with Resolvers.
For example, one that only happens once per rev.
And fix an off-by-one error in the reverse direction too.


Signed-off-by: Andy Pugh <andy@bodgesoc.org>
Merge commit '2eb0d983aa4afe3fbd3397a85f38e0b3b1057c21'

Conflicts:
	docs/src/gcode/m-code_es.txt
Revert "Use a less bogus way to detect "index" with Resolvers."

This reverts commit 6cae47a25a5a8a06843298d81564d78c077b9f6a.
Merge remote branch 'origin/master' into hm2-resolver-fix-for-master
Improve the handling of multi-turn resolvers in the hm2 driver.
You now get the same zero registered as an index in both directions,
and you need to pass the zero in the same direction the requisite number of times.


Signed-off-by: Andy Pugh <andy@bodgesoc.org>
Docs: add info about using test this axis

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Docs: add info on note and warning paragraph styles

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Docs: add info for m19

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Docs: fix typos

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Docs: try and clear up multi turn arc description

Signed-off-by: John Thornton <jthornton@gnipsel.com>
gmoccapy 0.9.7 - first changes

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
gmoccapy 0.9.7 - included iconview

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
gmoccapy 0.9.7 - with icon file selection dialog and some minor bug fixes

ver 0.9.7
- added a file selection dialog, for touch screen use
- in MDI mode it is now possible to add more commands,
  even if the interpreter is running
- do not block any more the spindle buttons while the
  interpreter is running, so spindle can be switched
  on and of at any time
- added a selection for show keyboard on file selection
  at settings page
- changes button home_4 to show differnt icon,
  depending on INI settings of 4th axis
- moved some code "G95 related" from periodic to
  _update_vel
- corrected some align valuse in glade file
- removed units from max_vel_label (glade file)
- corrected hardware button behavior
- added again a sim hardware ini file
- uniform usage of "" instedt of sometime ''
  (just to clear python style)
- user can select on settings page, if he want the
  offsettab or the preview tab to be displayed as default,
  the tabs are shown, so changing is possible at any time
- prepared to get later our own error handling,
  introduced Notification Class, at the moment disabled
- corrected an error if setting the coordinate
  system after setting axis values in touch off dialog

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
Docs: add sets command and fix a typo

Signed-off-by: John Thornton <jthornton@gnipsel.com>
ngcgui,pyngcgui: add nom2 option

By default, [py]ngcgui terminates created ngc files with M2.

M2 (Program End) has a number of defined side effects that
may not be wanted.  This patch provides an option (nom2) such
that the created ngc file is started and ended with a single
percent (%) character and no terminating M2.

Option format:
  command_line: -N | --nom2
Inifile:
  NGCGUI_OPTS = ... nom2 ...

(Note: [py]ngcgui has always ignored M2 lines that follow an
endsub in the subroutines it processes)

thanks to Rick (rng3) for the suggestion