GM teach-pendant support

New driver release: 1.1.1, 2013.11.16.
Add:    Teach pendant RS485 module support (both driver and doc)
Add:    Add errata to DOC
Modify: Send error msg and power fault, when any RS485 module disconnects (driver)
Fix:    Stepgen didn't allways stopped when power enable pin cleared during motion (driver)
Fix:    Start RS485 modules immediately after exported pins (there were a 6s delay in case of only input module was connected)
Fix:    Stepper config example, addf order was incorrect
Fix:    Small things in documentation

Signed-off-by: Bence Kovacs <bence.kovacs@generalmechatronics.com>
Docs: fix duplicate element anchor

Signed-off-by: John Thornton <jthornton@gnipsel.com>
Docs: fix broken links in Spanish Docs
the link was translated instead of adding a Spanish text after the link

Signed-off-by: John Thornton <jthornton@gnipsel.com>
docs: make linuxcnc.1 in the docs: target

Instead of in the default: target.
deb: provide build-arch and build-indep targets in debian/rules

These build targets are Recommended by Section 4.9 of the Debian Policy
Manual, version 3.9 (Debian Wheezy and Ubuntu Precise and newer).

The fix in this commit is the one recommended by lintian for lazy
projects like ours that don't want to bother splitting the building of
architecture-dependent and architecture-independent packages.
gmoccapy_0_9_9_1 - solved a bug when showing DRO in gremlin preview

ver. 0.9.9.1
- solved a bug showing the gremlin DRO,
  caused by a typo in a widget name
- some buttons and widgets did not have tooltip text,
  added that ones
- corrected German translation
- corrected Spanish translation
ignore generated (copied) files

It's not clear to me that it's well-motivated to copy these files
rather than just tracking their history in lib/python, but as long
as this is the case don't provide an attractive nuisance that lures
the unwary into "git add"ing them.
Add support for the Table-mode to the Hostmot2 stepgens

This only works for firmwares that offer that facility for more than 2 pins
(which I do not think is any of the ones in the wild)


Signed-off-by: Andy Pugh <andy@bodgesoc.org>
task: move a bunch of function declarations to a more specific header

These functions are internal to task, and don't need to be known to any
other code.

Also, they don't need to be declared extern...
task: fix a segfault on exit

I've seen linuxcnc fail to start up, followed by task segfaulting on exit.
This commit fixes the segfault, but doesn't address the "fail to start
up" problem.

The problem is observed on a single-cpu machine, and goes away if I set
[EMC]DEBUG to 0xffffffff in the .ini file.  So it's maybe some sort of
race condition somewhere...

This commit also makes the emcTaskPlanExit() function void (instead of
int) since the only caller didn't check the return value.
axis: change tab when task_mode changed

update axis manual/mdi tabs when another gui (halui for example) changes
task_mode
axis: remove axisui.set-manual-mode pin

reverts 5de7d64 which is not needed anymore since
27dd777 allows axis tabs to synchronize with task_mode

users of axisui.set-manual-mode pin should use:
  halui.mode.manual pin ( and similarly, halui.mode.mdi pin)
halui: switch to Manual when the user requests jog

halui used to just disallow jogging when the controller was not in
Manual mode.  Now it switches to Manual mode just in time, as needed.
halui: dont bother changing mode if we're already in the target mode
gmoccapy_0_9_9_2 - bugfix entering the edit mode/page

ver. 0.9.9.2
- solved a bug, entering the edit mode from auto mode, caused by
  a typo in a widget name
gmoccapy_0_9_9_3 - fixed two smal bugs related to make a new file

ver. 0.9.9.3
- if the user tried to make a new file and there where no
  RS274NGC_STARTUP_CODE in the INI file, an exception has been thrown
  fixed that bug
- if the user tried to make a new file, after he made allready one,
  an exception has been trown, because the file was loaded allready
  fixed that bug
make: eliminate unneeded copies

use make to create simple standalone executable files for
   ngcgui,pyngcgui,gremlin_view,tooledit
instead of copying files from source tree

to add this patch, you may need to rm existing files:
  lib/python/gremlin_view.py
  lib/python/pyngcgui.py
  share/linuxcnc/gremlin_view.ui
configs: copy shared files
don't track var files
Improve ignores

Anchor many patterns.  This helps not ignore more than intended.  It is also a
minor performance optimization.

Add exceptions for files that are tracked but were ignored by the old patterns.

Now a full build with docs leaves a clean tree (phew!)