Skip to content

Commit c2011bf

Browse files
committed
Merge remote-tracking branch 'origin/2.8' into 2.9
* 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
2 parents 2f9c57c + 93a844e commit c2011bf

14 files changed

Lines changed: 58 additions & 55 deletions

File tree

VERSION

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
2.9.0~pre1
2-

debian/changelog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,19 @@ linuxcnc (2.9.0~pre0+git20220224.3ba0951743-1) unstable; urgency=medium
113113

114114
-- Sebastian Kuzminsky <seb@highlab.com> Fri, 25 Feb 2022 18:40:12 +0100
115115

116+
linuxcnc (1:2.8.4) buster; urgency=medium
117+
118+
* Add driver support for Mesa 7i96S
119+
* Add pncconf support fo Mesa 7i96S
120+
* calculatorwidget: increased buttons to be more touch-friendly
121+
* gmoccapy: Fix jogging with max velocity (SHIFT + jog key)
122+
* Czech translation for Gmoccapy
123+
* gmoccapy: fix attribute error in tooltip text
124+
* gmoccapy: fix "spindle speed override wasn't applied in reverse direction"
125+
* docs: add note to obsolete property 'FEATURES'
126+
127+
-- andypugh <andy@bodgesoc.org> Sun, 18 Sep 2022 20:33:29 +0100
128+
116129
linuxcnc (1:2.8.3) buster; urgency=low
117130

118131
* CraftsmanCNC: A new GUI written from scratch Intended for CNC router

docs/man/man1/image-to-gcode.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ image-to-gcode \- converts bitmap images to G-code
3333
brightness of each pixel as a Z-height.
3434

3535
Detailed docs:
36-
http://linuxcnc.org/docs/2.4/html/gui_image-to-gcode.html
36+
http://linuxcnc.org/docs/stable/html/gui/image-to-gcode.html
3737

3838
.SH "SEE ALSO"
3939
\fBLinuxCNC(1)\fR

docs/man/man9/hostmot2.9

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,6 @@ IONum is a three-digit number.
12861286
The mapping from IONum to connector and pin-on-that-connector is written to the syslog when the driver loads,
12871287
and it is documented in Mesa's manual for the Anything I/O boards.
12881288

1289-
<<<<<<< HEAD
12901289
So, for example, the HAL pin that has the current inverted input value
12911290
read from GPIO 012 of the second 7I43 board is: hm2_7i43.1.gpio.012.in\-not
12921291
(this assumes that the firmware in that board is configured so that this
@@ -1296,14 +1295,6 @@ The HAL parameter that controls whether the last GPIO of the first 5I22
12961295
is an input or an output is: hm2_5i22.0.gpio.095.is_output (this assumes
12971296
that the firmware in that board is configured so that this HAL object
12981297
is available)
1299-
=======
1300-
So, for example, the HAL pin that has the current inverted input value read from GPIO 012 of the second 7I43 board is:
1301-
hm2_7i43.1.gpio.012.in\-not
1302-
(this assumes that the firmware in that board is configured so that this HAL object is available).
1303-
1304-
The HAL parameter that controls whether the last GPIO of the first 5I22 is an input or an output is:
1305-
hm2_5i22.0.gpio.095.is_output (this assumes that the firmware in that board is configured so that this HAL object is available).
1306-
>>>>>>> 35cc92aa0f (docs: series of smallish changes while translating)
13071298

13081299
The hm2 GPIO representation is modeled after the Digital Inputs and
13091300
Digital Outputs described in the Canonical Device Interface (part of the HAL General Reference document).
@@ -1487,7 +1478,6 @@ Each instance has between 1 and 32 output pins.
14871478

14881479
Pins:
14891480

1490-
14911481
.TP
14921482
(bit in) out-NN
14931483
The sets the state of this OutM instance's NNth output.
@@ -1681,7 +1671,6 @@ This updates the PWM duty cycles, stepgen rates, and GPIO outputs on the FPGA.
16811671
Any changes to configuration pins such as stepgen timing, GPIO inversions, etc., are also effected by this function.
16821672
.TP
16831673
\fBhm2_\fI<BoardType>\fB.\fI<BoardNum>\fB.read_gpio\fR
1684-
<<<<<<< HEAD
16851674
Read the GPIO input pins. Note that the effect of this function is a
16861675
subset of the effect of the .read() function described above. Normally
16871676
only .read() is used. The only reason to call this function is if you
@@ -1695,20 +1684,6 @@ above. Normally only .write() is used. The only reason to call this
16951684
function is if you want to do GPIO things in a faster-than-servo thread.
16961685
(This function is not available on the 7I43 due to limitations of the
16971686
EPP bus.)
1698-
=======
1699-
Read the GPIO input pins.
1700-
Note that the effect of this function is a subset of the effect of the .read() function described above.
1701-
Normally only .read() is used.
1702-
The only reason to call this function is if you want to do GPIO things in a faster-than-servo thread.
1703-
(This function is not available on the 7I43 due to limitations of the EPP bus.)
1704-
.TP
1705-
\fBhm2_\fI<BoardType>\fB.\fI<BoardNum>\fB.write_gpio\fR
1706-
Write the GPIO control registers and output pins.
1707-
Note that the effect of this function is a subset of the effect of the .write() function described above.
1708-
Normally only .write() is used.
1709-
The only reason to call this function is if you want to do GPIO things in a faster-than-servo thread.
1710-
(This function is not available on the 7I43 due to limitations of the EPP bus.)
1711-
>>>>>>> 35cc92aa0f (docs: series of smallish changes while translating)
17121687
.TP
17131688
\fBhm2_\fI<BoardType>\fB.\fI<BoardNum>\fB.trigger\-encoders\fR
17141689
This function will only appear if the firmware contains a BiSS, Fanuc or SSI encoder module and if the firmware does not contain a hm2dpll

docs/src/getting-started/getting-linuxcnc.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ Image.
4040

4141
For x86 PCs Download the Live/Install CD by clicking here:
4242

43-
https://linuxcnc.org/iso/linuxcnc-2.8.2-buster.iso
43+
https://linuxcnc.org/iso/linuxcnc-2.8.4-buster.iso
4444

4545
For the Raspberry Pi a complete SD card image is available here:
4646

4747
https://linuxcnc.org/iso/linuxcnc-2.8.1-pi4.zip (this will auto-update
48-
to 2.8.2)
48+
to 2.8.4)
4949

5050
This can be installed using the normal Pi
5151
https://www.raspberrypi.org/documentation/installation/installing-images/README.md[install process]
@@ -80,7 +80,7 @@ sudo apt-get install zsync
8080
* Then run this command to download the iso to your computer
8181
+
8282
----
83-
zsync https://linuxcnc.org/iso/linuxcnc-2.8.2-buster.iso
83+
zsync https://linuxcnc.org/iso/linuxcnc-2.8.4-buster.iso
8484
----
8585
+
8686
or
@@ -103,13 +103,13 @@ https://www.assembla.com/spaces/zsync-windows/documents
103103
. After downloading, verify the checksum of the image to ensure integrity.
104104
+
105105
----
106-
md5sum linuxcnc-2.8.2-buster.iso
106+
md5sum linuxcnc-2.8.4-buster.iso
107107
----
108108
+
109109
or
110110
+
111111
----
112-
sha256sum linuxcnc-2.8.2-buster.iso
112+
sha256sum linuxcnc-2.8.4-buster.iso
113113
----
114114

115115
. Then compare to these checksums
@@ -145,7 +145,7 @@ used to boot a computer. The image is too large to fit on a CD.
145145
then use this command:
146146
+
147147
-----
148-
dd if=linuxcnc-2.8.2-buster.iso of=/dev/sde
148+
dd if=linuxcnc-2.8.4-buster.iso of=/dev/sde
149149
-----
150150

151151
.Writing the image to a USB storage device in Mac OSX
@@ -345,7 +345,8 @@ sudo apt-get dist-upgrade
345345
sudo apt-get install linux-image-rt-amd64
346346
----
347347

348-
. Re-boot, and select the Linux 4.19.0-9-rt-amd64 kernel. This might be
348+
. Re-boot, and select the Linux 4.19.0-9-rt-amd64 kernel (the exact
349+
kernel version might be different, look for the "-rt" suffix. This might be
349350
hidden in the "Advanced options for Debian Buster" sub-menu in Grub.
350351
When you log in, verify that `PREEMPT RT`is reported by the following
351352
command.

scripts/platform-is-supported

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,13 @@ if os == 'linux':
7272
except ValueError as e:
7373
major = release
7474
minor = "0"
75-
release_major = int(major)
76-
release_minor = int(minor)
75+
try:
76+
release_major = int(major)
77+
release_minor = int(minor)
78+
except ValueError as e:
79+
# Debian Unstable and Testing do not have a release number, the value is 'n/a'
80+
release_major = 666
81+
release_minor = 0
7782

7883
uname = subprocess.check_output(['uname', '-r']).strip().decode()
7984
kernel_flavor = detect_kernel_flavor(uname)

share/qtvcp/panels/cam_align/cam_align_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def initialized__(self):
5454
except Exception as e:
5555
print('Error with cam_align size setting:',self.w.USEROPTIONS_[num])
5656

57-
5857
elif 'rotincr=' in self.w.USEROPTIONS_[num]:
5958
try:
6059
strg = self.w.USEROPTIONS_[num].strip('rotincr=')

src/emc/usr_intf/gmoccapy/getiniinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def get_axis_2_min_limit(self):
446446
def get_RS274_start_code(self):
447447
temp = self.inifile.find("RS274NGC", "RS274NGC_STARTUP_CODE")
448448
if not temp:
449-
return False
449+
temp = ""
450450
return temp
451451

452452
def get_user_messages(self):

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -488,9 +488,6 @@ def __init__(self, argv):
488488
self.widgets.gcode_view.set_sensitive(False)
489489
self.widgets.ntb_user_tabs.remove_page(0)
490490

491-
if not self.get_ini_info.get_embedded_tabs()[2]:
492-
self.widgets.tbtn_user_tabs.set_sensitive(False)
493-
494491
# call the function to change the button status
495492
# so every thing is ready to start
496493
widgetlist = ["rbt_manual", "rbt_mdi", "rbt_auto", "btn_homing", "btn_touch", "btn_tool",
@@ -1810,6 +1807,8 @@ def _init_dynamic_tabs(self):
18101807

18111808
tab_names, tab_locations, tab_cmd = self.get_ini_info.get_embedded_tabs()
18121809
if not tab_names:
1810+
self.widgets.tbtn_user_tabs.set_sensitive( False )
1811+
self.user_tabs_enabled = False
18131812
print (_("**** GMOCCAPY INFO ****"))
18141813
print (_("**** Invalid embedded tab configuration ****"))
18151814
print (_("**** No tabs will be added! ****"))
@@ -1864,8 +1863,10 @@ def set_up_user_tab_widgets(self, tab_locations):
18641863
# if no ntb_user_tabs in location is given
18651864
if "ntb_user_tabs" in tab_locations:
18661865
self.widgets.tbtn_user_tabs.set_sensitive( True )
1866+
self.user_tabs_enabled = True
18671867
else:
18681868
self.widgets.tbtn_user_tabs.set_sensitive( False )
1869+
self.user_tabs_enabled = False
18691870

18701871
if "ntb_preview" in tab_locations:
18711872
self.widgets.ntb_preview.set_property( "show-tabs", True )
@@ -4269,7 +4270,7 @@ def on_tbtn_edit_offsets_toggled(self, widget, data=None):
42694270

42704271
widgetlist = ["ntb_jog", "rbt_mdi","rbt_auto","tbtn_setup"]
42714272

4272-
if self.widgets.tbtn_user_tabs.get_sensitive():
4273+
if self.user_tabs_enabled:
42734274
widgetlist.append("tbtn_user_tabs")
42744275
self._sensitize_widgets( widgetlist, not state )
42754276

@@ -5239,8 +5240,6 @@ def on_ntb_button_switch_page(self, *args):
52395240
def on_btn_new_clicked(self, widget, data=None):
52405241
tempfilename = os.path.join(_TEMPDIR, "temp.ngc")
52415242
content = self.get_ini_info.get_RS274_start_code()
5242-
if content == None:
5243-
content = " "
52445243
content += "\n\n\n\nM2"
52455244
gcodefile = open(tempfilename, "w")
52465245
gcodefile.write(content)

src/emc/usr_intf/gmoccapy/release_notes.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
- fixed sensitizing of user tab button on toggling "edit offsets" (#2111)
2+
- fix error on creating new G-code file when RS274NGC_STARTUP_CODE is not set
3+
(#2057)
4+
15
ver 3.4.0
26

37
New features:

0 commit comments

Comments
 (0)