Commit Graph

11 Commits

Author SHA1 Message Date
rkowen
e077c3479e [ 672612 ] Tcl command execution failed and modules use
pointed out the use of the deprecated Tcl fn Tcl_VarEval().
Replaced this with Tcl_Eval() and added some Tcl logic to
handle when $auto_path is not set.
2006-02-04 16:33:32 +00:00
rkowen
8c1da45de8 First pass through tagging all the translateable text with _(...), etc.
for easy extraction by xgettext.  Passes all tests.
2006-01-31 04:16:52 +00:00
rkowen
e2d51d5bb3 Made all the 'First Edition' years to be 4 digits. 2005-11-29 04:26:30 +00:00
rkowen
616678ad25 Added the CONST84 qualifier to eliminate compiler warnings, and the side
effects.
2005-11-29 04:16:07 +00:00
rkowen
86f2b63fc0 Merged in the modules_3_2_predeep_branch branch to the main trunk.
Removed the hash library.
2005-11-14 23:51:08 +00:00
rkowen
6c649d376a * Made the .modulesbeginenv facility optional (default is not to have it)
* default for cache is now "no"
* Added version_test() to testsuite to make some of the
  tests conditional on the values generated by --version.
- the configure options help is formatted with AC_HELP_STRING
2002-06-17 05:58:44 +00:00
rkowen
50a97cd9be Converted the configure scripts over to automake,autoconf generation.
Modified "module bootstrap" to source the init files.
Put the shell properties and moved set_derelict and renamed it
set_shell_properties into init.c .
Created a matrix of shell properties { name, derelict, init, cmd separator }.
2002-06-12 20:07:57 +00:00
rkowen
b3c7011933 * Upgraded configure.in to autoconf 2.52.
* Changed  the configure to search for libTcl.sh to acquire all it's
necessary Tcl env.vars from it.

* created a utility function stringer() to handle most of the strcpy/strcat
operations and to automatically allocate string memory.

* Mostly changed the memory malloc/free to use stringer/null_free.

* rewrote some of the code logic to have a single point of exit
with unwinding of memory allocations.
2002-04-29 21:16:48 +00:00
rkowen
a3fb7517ac * A 'break' in a modulefile will cause the modulefile to
not be added to $LOADEDMODULES, but will be considered
  a successful execution to not affect other modulefiles
  being loaded concurrently (Patch due to Scott Gaskins).
* Tests and docs added for the above.
2002-01-04 04:59:16 +00:00
rminsk
609f0b69f3 Fixing bug the the _LMFILES_ environment variable. If the user is using csh
and _LMFILES_ is large than LMSPLIT_SIZE it gets split into _LMFILES.%03d_.
For modules to work correctly the split _LMFILES.%03d_ must be joined to
make _LMFILES_.
2001-01-16 20:31:59 +00:00
rk
e816ab15b5 modules is a shell tool for setting-up the user environment on the
fly, as it were.  It's a powerful mechanism for dynamically changing
environment variables, aliases, X11 resources, etc.
It uses an embedded Tcl intrepretor, with a few extensions.  Therefore,
it has a well defined language syntax.
Version 3.1 is GPL, and includes many improvements over the 3.0beta.
2000-06-28 00:17:34 +00:00