Some parts of the LinuxCNC launcher scripts try to tell if specific
processes are dead by looking for them using `ps`.
Before this commit, we used to run `ps -C rtapi_app -o comm=`, which
would say `rtapi_app` if there was a healthy rtapi_app process running,
and `rtapi_app <defunct>` if there was a zombie rtapi_app.
Version 4.0 of procps now outputs just `rtapi_app` in both situations,
so our scripts can no longer tell if the rtapi_app is a zombie or not.
This commit changes our scripts to run `ps -C rtapi_app -o stat= -o
comm=`, to explicitly prefix the process with its state (`Z` for zombies,
and something else for healthy processes depending on if they're sleeping
or running or whatever).
* origin/2.8:
Fix obsolete link to documentation in image-to-gcode(1).
mb2hal: fix error when PIN_NAMES > 5
return PROGRAM NONE if no program is open
Adjusted scripts/platform-is-supported to not fail on Debian Testing and Unstable.
githelper.sh: New master glob
qtvcp -cam_align panel: add window size setting option
gmoccapy: update release notes
gmoccapy: fixed sensitizing of user tab button (#2111)
Fix broken download link in Gmoccapy docs
Getting Started: Update checksums (en, es, cn)
Add firmware 7i96d_1pwm for 7i96 for PNCconf
docs: Bump the version number in the install docs
Fix the changelog syntax
gmoccapy: fix error on creating file when RS274NGC_STARTUP_CODE is not set
gmoccapy: updated changelog
Release v2.8.4
pncconf: add inm and outm support plus 7i96s card
Add preliminary 7I96S support
hm2_eth: add support for 7i96
Fix minor outm mistrakes
Add OutM simple output module support
The Testing Debian distribution only get its version number returned from
lsb_release very shortly before the release, so for most of its life it
will be set to n/a like it is for Unstable.
I couldn't determine why, but calling rt_free_timers made the
2nd and successive runs fail. The effect of rt_free_timers should be
"undone" by rt_start_timers calling rt_request_timers, from what I could
see. But it wasn't.
This causes a low-probability crash at runtime, due to an apparent
rtai bug.
Initially introduce this only in the path of the rarely-used
uspace+rtai configuration. However, ultimately, either we could
move towards uspace+rtai as the default configuration for rtai
kernels, or we could apply the same workaround for kmod+rtai
mode.
This also makes it necessary for Load to not error if a module
is already loaded; this can be checked very easily under the modest
assumption that /sys is mounted.
This make it easier for non-privileged users to run tests automatically.
The tests requiring sudo are flagged using a mechanism inspired by
the autopkgtest system in Debian, where a control file contain
information about the test. All tests requiring sudo get a
'sudo' flag in the Restrictions field there.
Also add reporting on number of skipped tests at the end.
Use 'make translateddocs' to build the translations and 'make pofiles'
to update the POT and PO files. 'make postatus' show translation
statistics. Run 'make manpages' before updating translations to make sure
the generated manpages are available for po4a. The translateddocs target is
now a prerequisit for the docs target, to make sure the translated files are
available when checking links in the HTML pages.
Added code to copy images into translated adoc directories.
Added po4a as new build dependency.
Require 0 translated strings to generate files, to make sure the documents are
buildable even if nothing is unfuzzied yet.
Drop translated files from docs.xml and use the same list for all languages.
This change need po4a 0.62 or newer to handle UTF-8 properly in input and
output files. Added configure check to enforce this.
* origin/2.8:
docs: make an index.html page for the PDF docs
cosmetic fix to a configure error message
Update for new version of Rpi400
Update for new version of Rpi400
docs: changed url in halshow doc
docs: created mb2hal doc based on sample ini file
mb2hal: added pins to manpage
docs: fixed link
docs: include mb2hal ini file in docs
mb2hal: updated and fixed sample configuration
gmoccapy: sensitize save button after 'save as'
gmoccapy: fix detection of file change
Update ini-config.txt
Update ini-config.txt
Add files via upload
correcting submakefile for 2.8
update
missing in documentation for INI RS274 section
Change EDITOR = geany. Restore more generous dirhold and dirsetup timing.
Updated the gantry example with what I gather from the forum is best practice. 1) Reduce from 4(XYZA) to 3(XYZY) coordinate. 2) Use negative HOME_SEQUENCE values for synchronous homing of the dual Y joints. 3) Rename signals such as adir, astep to y2dir, ystep.
full update xhc-whb04b-6 for 2.8
Squashed commits:
===========================================================
A) halcompile.g options for homemod,tpmod
1) supply correct SYNOPSIS
2) force singleton option
===========================================================
B) homecomp.comp (example module using halcompile)
===========================================================
C) tpcomp.comp (skeleton module using halcompile)
===========================================================
D) linuxcnc.in options for alternate tp,home modules
===========================================================
E) Make: modular traj planning, homing (tpmod,homemod)
1) motmod no longer includes functions for trajectory
planning and homing but uses exported functions
from modules tpmod,homemod by default
2) building modules out-of-tree requires: homing.h,emcpose.h
3) sincos.c don't use config.h to allow out-of-tree build
===========================================================
docs: tp,home modules
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.* -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ser,te,ue,wille,wont`
Hopefully, this helps with autodetecting the right boost library version.
It also enforces the minimum Python version of 3.4.
This brings us deeper into the autoconf "ecosystem" so the files
config.guess et al had to be added. Oh well!
close#1197
1) linuxcnc.in new option: -H dirname
to prepend 'dirname' to search path (HALLIB_PATH)
2) linuxcnc.in update usage() message
3) update docs: ini-config.txt
4) update docs: updating-linuxcnc.txt
Revised:
print HALLIB_PATH when '-H dirname' used
exit if specified dirname is invalid
Note: the dirname specified with '-H dirname' may be
absolute or relative to the working directory
where linuxcnc is invoked (not necessarily the ini
config dir). Example:
$ cd /tmp
$ mkdir try
$ echo "show pin axis.z" >|try/test.hal
$ linuxcnc -H try /somewhere/example.ini # uses test.hal
test.hal will be found as /tmp/try/test.hal