Commit Graph

10 Commits

Author SHA1 Message Date
rkowen
616678ad25 Added the CONST84 qualifier to eliminate compiler warnings, and the side
effects.
2005-11-29 04:16:07 +00:00
rkowen
0fa1d9a2c6 * ModuleCmd_Refresh.c: Like "update" but refreshes only the
non-persistent attributes of the currently loaded modules,
  regardless of the state of the loaded modules (i.e. refresh
  aliases).
(still needs some test code)
2005-11-21 20:13:21 +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
930e57ec98 A whole slew of changes progressing to deap modulefile directories.
The current is not usuable, but will eventually be.
These changes are checked in for safe keeping while R.K.Owen is on
vacation.
2002-08-02 22:11:24 +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
029e1c10cc * Fixed up cmdPath to remove individual items from a path
(patch due to Eric Stanley).
2001-08-17 17:46:05 +00:00
rkowen
d24fbc7379 * Fixed "module swap" to put the substituted module in the
same path location as the old.  Also added a number of tests
  for this feature.
  (Bug was pointed out by Leo Butler <lbutler@brocade.com>)
* Added tests for the "is-loaded" modulefile command introduced
  back in 3.0.8-rko.
2001-07-26 04:59:25 +00:00
rkowen
1e161da8f2 * Added document file INSTALL.RH7x which explains how to set up
an modules environment for all users through the system shell
  files.  Is specific to Linux/RedHat 7.x, but is of general
  applicability.
* Added further tests for modulefile "module use dir_path"
  (found an unload bug that will be fixed before release)
* Environment variable contents are now quoted to preserve
  any embedded environment variables. (Needed for versioning)
* Added over 50 tests specific to module versioning, and testing
  xgetenv.
* Fixed the unsetenv on unload function, the feature added in 3.0.6-rko
  was supposed to set the env.var. to the optional third argument.
  This was to allow old env.var. values to be recovered by unraveling
  a stack set in an other env.var.  Added tests for this feature.
  This is used by the version modulefile.
* Fixed and updated the version modulefile to allow stacked
  versions to be removed the stack.
* Removed an annoying spurious stderr newline.
2001-07-09 18:21:37 +00:00
rkowen
39b9c33649 * Fixed the "module use --append" feature, and fixed the tests
for "module use", "module use --append", and "module unuse".
* Changed the global variable names (flags,current_module) to
  (g_flags, g_current_module) to identify their ubiquity in the
  module source.
2001-06-09 09:48:47 +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