Commit Graph

15 Commits

Author SHA1 Message Date
rkowen
d933e90187 Allow loading and unloading the .modulerc & .version files
Removed the Tcl intrepretor from many of the locate_modulefile utility routines.
Simplified the error code with uvec.
Added "tag" to MHash object for existence testing.
Passes all tests but 2 generate "duplicate version symbol ... found".
Merged in from the mfiles branch.
2009-10-15 19:10:19 +00:00
rkowen
ed05fe74a5 Merging in the changes from the mlist branch. 2009-09-01 19:16:28 +00:00
rkowen
4a7ecf14b7 Merged the nodeb branch into the main trunk. 2009-08-23 23:30:42 +00:00
rkowen
f4abf70a1e * All string allocation is performed by a common internal routine
* --disable-beginenv is now the configuration default
2009-08-13 19:17:43 +00:00
rkowen
a5ce7f6926 Merged in the bnocache branch to the main source tree. 2009-08-11 22:01:29 +00:00
rkowen
c9936f9817 Rolled in the remaining 3.2.7 changes to the main branch. 2009-08-03 16:23:58 +00:00
rkowen
7b9a778174 Rolled in the pre-changes for handling arbitrary delimiters for lists
(instead of ':').
2006-06-01 14:54:30 +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
7df8b9107f Reworked the "module init*" subcommand to handle dot files with multiple
"module load" lines.
2006-01-12 19:15:54 +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
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
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