Commit graph

562 commits

Author SHA1 Message Date
CMorley
8e2dfbb920 Merge branch '2.9' 2023-01-14 14:31:21 -08:00
CMorley
97f8cb071c grenlin/gladevcp -add ability to get gcode properties from loaded file.
This code was missing from gremlin and pulled from qt5_graphics
hal_gremlin will now pass the gcode properties thru GStat messages
A screen just needs to connect to the GStat message 'graphics-gcode-properties'
2023-01-14 14:30:24 -08:00
CMorley
06a348e727 gladevcp -drowidget: add anility to color fore and background
usinf css - copied from combi widget
2022-12-31 15:23:57 -08:00
Steffen Moeller
2dc8a0d348 src: s/ini/INI/
s/ini/INI/ - smallish correction

Update lib/python/gladevcp/hal_gremlin.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update lib/python/gremlin_view.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update lib/python/qtvcp/widgets/adjustment_bar.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update src/hal/user_comps/vfs11_vfd/vfs11_vfd.c

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update lib/python/qtvcp/widgets/adjustment_bar.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

More 'ini' -> 'INI' in src

ini -> INI to sync tests

Update lib/python/gremlin_view.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update lib/python/qtvcp/widgets/offset_tool_button.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

s/modbus/Modbus/

Update lib/python/qtvcp/widgets/offset_tool_button.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update scripts/linuxcnc.in

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update src/emc/rs274ngc/interp_namedparams.cc

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update src/emc/usr_intf/emcsh.cc

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

docs: inifile -> INI file, etc
2022-10-11 19:04:38 +02:00
Hans Unzner
cad3a1bea4 tooledit: corrected data type for column 'orient' to int, add error message when loading invalid value 2022-10-07 10:30:36 +02:00
Hans Unzner
b81c602107 tooledit: fix navigating with cursor keys 2022-10-07 10:30:36 +02:00
Hans Unzner
88016f2744 tooledit: replaced some deprecated widgets 2022-10-07 10:30:36 +02:00
luz paz
09a439ab21 lib/python: fix various typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./.git/logs,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wonte`
2022-07-27 00:20:58 -04:00
CMorley
26a5bedde0 glcanon -allow all ui's to hide the on screen DRO
Moved the disable code down into glcanon
2022-06-16 23:23:58 -07:00
Hans Unzner
69cf700baf combi_dro: fixed toggling of systems (Rel->DTG->Abs)
Fixes following:
- Didn't show the reference coordinate system on start-up and on change
- Labels/colors/values didn't match when switching the mode
  State before was:
  labels: Rel   -> DTG   -> G54    -> Abs   -> DTG   -> G54
  values: <G54> -> <Abs> -> <DTG>  -> <G54> -> <Abs> -> <DTG>
  colors: black -> blue  -> yellow -> black -> blue  -> yellow
2022-06-15 20:38:12 +02:00
CMorley
4772b687c0 gladevcp -add access to Hal, Info, and Action libraries
action python button has restricted acess to code.
add these options
2022-06-11 23:52:01 -07:00
CMorley
30ab82ab80 gladevcp -file_chooser: fix dialog settings for python3
There is surely more there but I know these need to be cganged
2022-05-23 20:00:47 -07:00
CMorley
d7b03181c2 gladevcp -gtk_actionL fix dialog use GTK
Still had qt gialog code.
2022-05-23 19:58:09 -07:00
CMorley
41865b8049 gladevcp -hal_mdihistory: use new core library code 2022-05-22 16:42:06 -07:00
CMorley
0ce13d69c5 gladevcp -add core library with Status, Action and Info objects
hopefully in the long run making it easier to program gscreen/gladevcp
2022-05-22 16:42:06 -07:00
Hans Unzner
f29c9167dc gmoccapy: fixed DRO unit switching (G20/G21) 2022-04-29 18:19:52 +02:00
Hans Unzner
d3a7d2f07d combi_dro: fixed toggle_readout (no white DRO in lathe mode) 2022-04-29 14:32:13 +02:00
Hans Unzner
c016e5e13e gladevcp: removed PangoCairo warning 2022-04-25 09:36:29 +02:00
Peter Müller
3b34639916 Change old gtk-* icon names to new
Following the suggested new names from https://docs.gtk.org/gtk3/?q=STOCK_
2022-04-16 22:36:02 +02:00
Greg Carl
ae7715ef65 python3: fix some lingering python2 syntax 2022-04-02 20:33:55 -04:00
Hans
36b82992df
Merge pull request #1671 from hansu/fix-hal_lightbutton
fix hal_lightbutton (#1266)
2022-03-20 21:16:05 +01:00
Hans Unzner
95e133e9cd fix hal_lightbutton (#1266) 2022-03-20 12:56:15 +01:00
Hans
2e3378daa3
Merge pull request #1663 from hansu/gmoccapy-gcode-view
Gmoccapy: fix some issues with g code editing (e.g. #1176)
2022-03-12 17:18:14 +01:00
Hans Unzner
50ca4f2872 sourceview: improve text search 2022-03-12 16:01:06 +01:00
Hans Unzner
612b1155df sourceview: fix replace all + improve replace 2022-03-12 16:00:12 +01:00
Hans Unzner
a52b23a178 sourceview: fix crash on text replace 2022-03-12 15:57:52 +01:00
Hans Unzner
6ca016be40 gmoccapy: sensitize save button after 'save as' 2022-03-12 15:57:52 +01:00
Hans Unzner
126de9d0ae gmoccapy: fixed save and save as
re-added properties for EMC_Action_Save and EMC_Action_SaveAs
which gone lost in d2d7d5d65c
2022-03-12 15:56:59 +01:00
Hans Unzner
4601d54083 gmoccapy: fix detection of file change 2022-03-12 15:48:54 +01:00
alkabal
dae2408069
Update versa_probe_screen.py
I'm unsure but i think "import Pangp" is a typo mistake and need to be "import Pango"
2022-03-06 21:47:29 +01:00
Hans Unzner
061ae4f621 gladevcp: fix color in vcp elements (#1596) 2022-03-01 17:28:03 +01:00
Hans Unzner
a218469535 offsetpage widget: Remove offsets from translation 2022-02-26 11:33:50 +01:00
c-morley
1f870d6942
Merge pull request #1591 from hansu/fix-offsetpage-translated-string
offsetpage-widget: translation of 'black' results in a Gtk-Warning
2022-02-25 13:52:40 -08:00
c-morley
d01076c984
Merge pull request #1606 from hansu/fix-hal-mdihistory
fix: translation of hal_mdihistory broke other translations
2022-02-25 12:07:53 -08:00
luz paz
d7ea470096 Fix various typos
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wont`
2022-02-16 11:17:29 -05:00
Hans Unzner
585996c1fe offsetpage-widget: 'black' must not be translated
This results in a warning, here for locale DE: Gtk-WARNING **: Don't know color 'Schwarz'
2022-02-15 21:08:23 +01:00
Hans Unzner
3600414585 fix: translation of hal_mdihistory broke other translations 2022-02-13 18:12:17 +01:00
c-morley
dfe0260cd1
Merge pull request #1561 from hansu/center-buttonlabels
gmoccapy: center button labels with property instead of spaces
2022-02-04 00:11:21 -08:00
Hans Unzner
5cfbea70ae gmoccapy: center labels of some buttons 2022-02-01 16:52:20 +01:00
Hans Unzner
16080cd8a6 gmoccapy: Fix window size by reducing button padding with CSS 2022-01-31 18:22:42 +01:00
Hans Unzner
360d8c67a3 also for gmoccapy with yellow active-backgound
references:
https://shallowsky.com/blog/programming/styling-gtk3-with-css-python.html
https://docs.gtk.org/gtk3/css-overview.html
https://docs.gtk.org/gtk3/css-properties.html
2022-01-31 18:15:53 +01:00
Hans Unzner
ec1898b1a4 apply css to all elements 2022-01-31 16:35:57 +01:00
Hans Unzner
7854de2cdb apply css style manually to buttons 2022-01-31 16:29:16 +01:00
c-morley
70f52b8fcc
Merge pull request #1547 from hansu/remove-sourceview-warnings
sourceview: remove Gtk-CRITICAL warnings
2022-01-29 13:50:21 -08:00
Hans Unzner
02a76f0b73 offsetpage_widget: Fix error on color conversion 2022-01-29 16:15:56 +01:00
Hans Unzner
7b373ce864 sourceview: remove Gtk-CRITICAL warnings 2022-01-29 08:58:44 +01:00
Hans Unzner
446e7addd3 make hal_mdihistory translatable 2022-01-26 19:02:26 +01:00
Hans Unzner
0a867e3074 gmoccapy: fixed some strings (spelling, spaces, punctuation) 2022-01-23 20:00:25 +01:00
Hans Unzner
2a488fa7f0 combi-dro: fix for get_position() (#1398)
Appears in gmoccapy/lathe_C config
2022-01-22 18:11:07 +01:00
Hans Unzner
2e55e3385b combi-dro: rename function to avoid confusion with bool variable 2022-01-16 18:32:34 +01:00