Commit graph

41 commits

Author SHA1 Message Date
Dewey Garrett
b336895116 mini.tcl: remove duplicate geo mgmt of widget
is detected as error with tk8.6:

  "Error in startup script: cannot use geometry manager grid
   inside .top.left which already has slaves managed by pack"

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-22 21:59:07 -06:00
Dewey Garrett
9f6c219475 halshow: eliminate unused ref to a -ini option
eliminate in callers: axis.tcl, mini.tcl, tklinuxcnc.tcl

the switch statement that included "-ini" breaks with tclsh8.4
2014-02-09 18:34:54 -07:00
Jeff Epler
c70673eda0 refer to LINUXCNC_EMCSH 2012-01-21 10:13:36 -06:00
Jeff Epler
51fc09fd2d Rename many user visible parts to "linuxcnc"
this includes the main script, some of the GUIs, the Python module,
the Tcl package, some image fies.

On a sim system, axis, tkemc, xemc all start.  runtests pass.

a system with realtime wasn't yet tested.

packaging probably requires additional changes and was not yet tested.
2012-01-18 11:25:09 -06:00
Dewey Garrett
48fff363cb tcl packages for use by external tcl programs
Locate emc.so, hal.so, emc.tcl and a new pkgIndex.tcl file in a directory that
is a subdir of a directory included in the tcl auto_path list as configured for
the tcl/tk packages in the ubuntu distribution.

For a conventional build with --prefix=/usr, the chosen parent dir is:
   /usr/lib/tcltk
and the shared library files will be located in the subdir:
   /usr/lib/tcltk/emc2

With these changes, aan external tcl program should be able to say:
   package require Emc 1.0
and/or
   package require Hal 1.0

For this normal case, no extra configuration is required.

For an installed emc built with --prefix=/otherlocation, the using
application must modify the tcl auto_path list:
  e.g., lappend auto_path /otherlocation/lib/tcltk
or set the TCLLIBPATH appropriately
  e.g., export TCLLIBPATH=/otherlocation/lib/tcltk

For a run-in-place build of emc, '. scripts/emc-environment' to set
TCLLIBPATH appropriately.
2010-05-31 18:22:20 -05:00
Alex Joni
a5133a5231 fix incremental steps for mini based on mm/inch 2010-01-08 00:05:09 +02:00
Jeff Epler
c01fcef642 Replace emcsh with emc.so, a loadable package.
this is the preferred way to do C extensions to tcl.
2009-04-15 18:53:03 +00:00
Alex Joni
2d1e1915e8 disable debug prints 2009-02-01 20:47:28 +00:00
Alex Joni
2acfd98fc7 it usually helps to be in MDI mode before sending MDI commands 2009-02-01 20:45:40 +00:00
Alex Joni
d8162a61b1 hopefully the last remnants 2009-02-01 20:39:28 +00:00
Alex Joni
1455f72d5a add missing popupJogSpeed (thanks to mschumacher) 2007-03-31 21:56:16 +00:00
Alex Joni
0f47635670 fix the fix (cut&paste errors) 2007-03-22 18:44:08 +00:00
Alex Joni
76c21b4365 refix multiple jog problems SF bug #961737 2007-03-22 18:09:53 +00:00
Alex Joni
38f6e7eb63 fix backplot issues (accessing axes which don't exist: e.g. A,B,C on machines with [TRAJ]AXES=3) 2007-03-10 19:17:35 +00:00
Chris Radek
9f3dc7d7a6 read program dir from ini 2007-01-21 19:54:57 +00:00
Florian Hahn
398c1302c9 same to head: changed file chooser path to nc directory, more i18n, removed unused line 2007-01-06 07:14:13 +00:00
Jeff Epler
56ca2066ca if EMC2_EMCSH wasn't set, try falling back on emcsh -- at best it works and at worst it avoids an infinite loop of execing the same file as a shell script 2006-11-14 02:58:01 +00:00
Jeff Epler
2090cffaad use emc.tcl in most tcl scripts, removing around 300 lines of boilerplate in
the process.
2006-07-30 16:32:56 +00:00
Florian Hahn
f232f680c4 better i18n 2006-05-10 14:22:41 +00:00
Ray Henry
b4614ef251 added halshow to menus 2006-05-02 19:44:32 +00:00
Alex Joni
ad54713936 tcl apps use EMC2_LANG_DIR to find *.msg's 2006-04-10 19:04:10 +00:00
Florian Hahn
fb3b198d58 fond some mor words for i18n 2006-04-06 16:58:50 +00:00
Florian Hahn
e2e3a71ba5 added more i18n support 2006-03-29 19:02:09 +00:00
Ray Henry
222e94f16d removed debug proc and menu to it. 2006-03-29 17:42:51 +00:00
Ray Henry
1c53f8e677 added emccalib and halconfig to menu. arranged for faster startup. 2006-03-29 17:08:45 +00:00
Ray Henry
287261f69d Fixed typo and removed msgcat in tk_getFilexx processes. 2006-03-27 23:10:43 +00:00
Florian Hahn
1f0424b707 added msgcats for i18n 2006-03-27 15:06:17 +00:00
Ray Henry
f9578f06e8 moved reference to activeAxis 2006-03-26 20:58:56 +00:00
Alex Joni
d44afaf028 let it complain 2006-03-26 20:27:56 +00:00
Alex Joni
355d5c8d64 temp fix to allow mini to work 2006-03-26 20:09:36 +00:00
Ray Henry
4829dc41b0 removed the reference to emccalib.tcl 2006-03-26 19:54:13 +00:00
Ray Henry
d1479b8d8c adjusted copyright messages. Mod to mini 2006-03-12 15:18:17 +00:00
Chris Radek
85097bc4b7 font fix from LawrenceG 2006-02-27 03:40:18 +00:00
Jeff Epler
8eed4b7f92 The slowness in mini's startup was the unnecessary 'after 10000' which was used
to calculate the resolution of [clock clicks], which was only used in some
nonfunctional code.

Remove the nonfunctional code, the 'after 10000', and all the 'update's which
were added in an attempt to make the mini window appear more quickly
2006-02-20 02:48:12 +00:00
Alex Joni
f6a24bd28c fixed helpfile support for mini 2006-02-04 19:52:06 +00:00
John Kasunich
d2d6eaa4c3 added some calls to 'update' throughout the initialization of mini, reduces the long delay before the user sees anything. 2006-01-29 19:26:45 +00:00
Alex Joni
f71ac4e046 further work on make install (updated config files with proper dirs). shortly scripts/emc.run will be replaced by scripts/emc.run.in (currently known as scripts/install.run.in) install.run seems to be working ok as an installed script, and as a run-in-place script. 2005-11-10 00:52:47 +00:00
Alex Joni
bdb8fb4b50 added the EMC2_EMCSH variable to mini.tcl, this is needed to find emcsh (mostly on installed systems) 2005-11-09 14:25:03 +00:00
Alex Joni
be0a1b59ba fixed the multiple axes jog bug, SF bug #961737 2005-10-23 01:06:54 +00:00
Alex Joni
647bc970e5 added toggleCmdAct (which was also missing) 2005-04-20 10:30:40 +00:00
Alex Joni
373272b082 added mini to EMC2. Fixed the bug toggleRelAbs not found on SF: 1184730 2005-04-20 10:18:51 +00:00