Commit Graph

11 Commits

Author SHA1 Message Date
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
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
harlan
fa8be59e25 USE_COLCOMP -> DEF_COLLATE_BY_NUMBER 2004-10-22 01:32:51 +00:00
harlan
200eb4e424 * colcomp.c: New file. Alternative collating algorithm that sorts
numeric substrings numerically (mostly).

* lib/Makefile: Remove auto*-generated file.

* locate_module.c (SortedDirList): Ignore SCCS/ subdirs, too.

* configure.ac: Disable our "look" for RUNTEST; it drives auto*
crazy.  Added the --with-file-collate={string,number} test, which
provides a way to enable USE_COLCOMP.

* ModuleCmd_Avail.c (fi_ent_cmp): USE_COLCOMP when told to do so.
* locate_module.c (filename_compare): Ditto.

* Makefile.am (modulecmd_LDFLAGS): lib is in the builddir, not the
srcdir.
(modulecmd_SOURCES): Added colcomp.c .
2002-09-12 05:59:26 +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
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
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
lakata
dbc5770c0b Fixed bug in mkdirnm. There was a check to see if the dir eq ".", but
was done using a char comparison, not string comparison. Caused severe
problems if dir was "..", since only first character was used.
2002-03-09 01:18:49 +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