Files
modules/ChangeLog
2001-03-22 18:23:16 +00:00

935 lines
32 KiB
Plaintext

* Note: Implied Consent -
If you send in a code patch or fix of one type or another you consent
to have your name and email address listed here unless you explicitly
note otherwise. Whether your name & email is actually listed depends
on how extensive the change. (If it's a minor code, document change,
or spelling correction your name will probably not be listed.)
**************************** Release 3.1 ******************************
Modules 3.1.1
Thu Feb 1 11:20:44 PST 2001 Robert Minsk (egbert@centropolisfx.com)
Contributors:
Robert Minsk <egbert@centropolisfx.com>
* init file for python added (Robert Minsk)
* Added the beginnings of support for scheme. Still need an init
script. (Robert Minsk)
* Fixed bug with the _LMFILES_ environment variable. If a user was
using a csh variant of a shell and modules was compiled
with with-split-size enable the _LMFILES_ variable was not
handled correctly when it needed splitting. (Robert Minsk)
* Fixed bug with creating aliases for ksh, bash, and zsh to
recognize the escape ("\"). Any time an alias had a "$"
in it a function was created instead of an alias. (Robert Minsk)
* Fixed bug in searching the LOADEDMODULES environment variable.
Would not find a module if only a partial module name was given.
(Robert Minsk)
* Fixed memory corruption bug in LOADEDMODULES environment variable
handling. (Robert Minsk)
* Fixed bug in csh init file. Some versions of csh echo the current
prompt if the shell was in an eval of an eval (eval `eval ...`).
(Robert Minsk)
* Started adding support for mel (Maya Extension Language)
(Robert Minsk)
Note: Since I have just recently become a co-maintainer of modules with
R.K. Owen it has been hard to keep up with user submitted
patches. If you did not receive proper credit for a fix or
enhancement that has appeared in this release you will
receive proper credit in the next release. Robert Minsk
Modules 3.1.0
Contributors:
Jens Hamisch <jens@Strawberry.COM>
Robert Minsk <egbert@centropolisfx.com>
Magnus Holmberg <mho@mho.nu>
* Fixed the changed *interpter->result return value with Tcl8.3+
(patch due to Jens Hamisch).
* Removed warning message for unloading a module that's not loaded.
* Added source code cross-referencing via cxref-1.5b(patched)
(see http://www.gedanken.demon.co.uk/cxref/ for details).
* Changed the long format, eliminated the release column as a separate
entity. The release value is just part of the package name.
* Added --with-dot.ext[=<.ext>] to configure & DOT_EXT to config.h
for an extension to be added to the shell dot-file names for the
"module init*" commands
* Addes .modules to dot file list for "init*" commands (Magnus Holmberg)
* Matched the "help" and "man module" optional commands more closely
* Fixed man pages it's .modulerc not .modulesrc
* Made it easier to ftp distribution to metalab.unc.edu
* Fixed init/perl & init/tcsh (due to Robert Minsk).
* Fixed "module list" to show paths deeper than 2 levels
(due to Robert Minsk).
* Fixed warning message about `alias' to non-sh/csh derivatives
(due to Robert Minsk).
* Fixed tests with regards to syslogging & alias.
* Licensed changed to GPL.
**************************** Release 3.0 ******************************
Modules 3.0.8-rko
Wed May 10 09:45:55 PDT 2000 R.K. Owen (rk@owen.sj.ca.us)
Contributors:
Steve Muskiewicz <smuskiew@nortelnetworks.com>
Robert Minsk <egbert@centropolisfx.com>
* Added another option to the module-info command named "specified"
which gives the name as specified on the command line.
This patch is due to Robert Minsk.
* Added the beginnings of python support. Still need an init
script. This patch is due to Robert Minsk.
* Changed the numbering of modules during a terse listing.
Instead of numbering left-to-right row by row, number
top-down by columns ... this corresponds to the order
of modules. Patch is compliments of Steve Muskiewicz.
* Fixed a modulefile unload of another modulefile problem.
This patch is due to Steve Muskiewicz.
* Fixed swap bug with setenv. Patch due to Robert Minsk.
* Added 'is-loaded' to test whether a given module is loaded
or not already. (need to add testsuite.) Provided by Robert Minsk.
Modules 3.0.7-rko
Fri Apr 7 10:58:45 PDT 2000 R.K. Owen (rk@owen.sj.ca.us)
* Fixed xgetenv
* A bunch of patches from Robert Minsk
that eliminates a lot of the compile time warnings
(mostly unused variables etc.)
* More patches from Robert Minsk for the --disable-cache
option.
* Modified add.modules to provisionally handle .bash_profile
and .bash_login (thanks to Ted Richards).
* Modified the way shell start-up files are specified in init.c
with patches from Max Zomborszki. Now easier for a site
to make local customizations.
Modules 3.0.6-rko
Wed Feb 16 09:06:34 PST 2000 R.K. Owen (rk@owen.sj.ca.us)
* Changed "unsetenv" to allow an optional third argument to
set the env.var. to when unloading.
* Fixed bugs with and upgraded the "module init*" commands.
* Added a preliminary RPM .spec file ... some of the versioning
changes conflict with some RPM features.
Modules 3.0.5-rko (not meant for public release)
Fri Jan 21 18:59:18 PST 2000 R.K. Owen (rk@owen.sj.ca.us)
* Changed the behavior if "module" is called without an argument.
In addition to the error message it prints out the help text.
* Fixed a problem with module swapping. A test needs to be
added to the testsuite.
* Rewrote many of the init files & modified modules to allow
one level of env.var. expansion in the MODULEPATH & MODULERCFILE
environment variables. The purpose is to allow the co-existence
of many versions of the module command.
Only this & successive versions will implement this.
* Got the --with-logging configure option actually doing something
in the code. The default is no syslog-ing.
However, this affects the tests ... expect 3 failures originating
from testsuite/modules.50-cmds/100-loglevel.exp .
(fixed in version 3.0.9-rko)
Modules 3.0.4-rko
Wed Jan 12 09:45:21 PST 2000 R.K. Owen (rk@owen.sj.ca.us)
* Rewrote a lot of the calls to low level Tcl RegExp
routines, which required direct access to the tclRegexp.h
header file.
Used higher level Tcl routines to accomplish the same.
The net result is that modules should be configurable under
any version of Tcl > 7.4 (not tested).
* Rewrote a reference to a low level Tcl glob routine, which
required direct access to the tclInt.h header file.
Used the $HOME environment instead.
* Mean-time hack to support multiple subdirectories for the
"avail" option.
* Fixed the long listings to be Y2K OK.
* Added a version option to print out the module version ...
for future automated scripting.
* Some documentation clean-up.
* Removed all references to PARSEABLE_ERRORS in config.h
and configuration ... since it's not used at all.
* Modified init files because some systems treat undefined
variables in sh/ksh/bash/zsh as errors and terminates login
process (Thanks to Martin Jost).
* Modified Tcl_HashTable declaration initialization to
assignment, because some ANSI C compilers complain
(Thanks to Martin Jost).
Modules 3.0.3-rko
Thu Dec 23 08:20:44 PST 1999 R.K. Owen (rk@owen.sj.ca.us)
* removed the global definition refering to stdout and put
the assignment in one of the routines. This fixes a
compilation problem with RedHat 6.1 & gcc-2.95.
Modules 3.0.2-rko
Thu Nov 11 16:57:30 PST 1999 R.K. Owen (rk@owen.sj.ca.us)
* added the --[enable|disable]-version-magic option to the
configure script and associated sources. However, `disabling'
will break the ./modules.20-locate/030-defvers.exp test.
`disabling' allows older modulefile directories that don't
have .version files with proper module magic cookies to be
parsed.
* Disabled errorlogging if "module avail" can't open a
directory.
* Added some logic in the Makefile & elsewhere to generate
patch-able diff files.
Modules 3.0.1-rko
Tue Oct 26 12:47:58 PDT 1999 R.K. Owen (rk@owen.sj.ca.us)
* misc fixes from compiling with AIX xlc compiler
* cmdInfo - incorrect call to Tcl_SetResult() fixed
Modules 3.0.0-rko
Thu Aug 12 08:32:52 PDT 1999 R.K. Owen (rk@owen.sj.ca.us)
* Grabbed the 3.0beta sources from ftp.modules.org
made wide-spread changes to update it & port it to Linux
* Modified file/routine comments to be visible to cxref
* collapsed sw_human, sw_terse to sw_format & toggling bits
for long/terse/human/parse output options
* Fixed list/avail output
* Added RCS Ids removed SCCS Ids, placed sources into CVS
* Got "module whatis" to list all whatis entries as designed,
but not implemented
* Removed unnecessary & made files from CVS control
* Added several scripts for setting up a modules environment:
add.modules, mkroot
* Minor fixes to init files to eliminate env. variable persistence
* Upgraded man pages and Help
* Wrote INSTALL document to hand-hold the modules novice
* Reworked testsuite to test current results
* Codified distribution based on version level
* Created LSM
Tue Oct 1 13:53:47 MET DST 1996 Jens Hamisch (jens@Strawberry.COM)
* modules_def.h ModuleCmd_Whatis.c, ModuleCmd_List.c
- Bugfix: Skip directories while scanning all modulefiles
for 'apropos'
- traditional lists output
* doc/modulefile.4.in, doc/module.1.in
- new fetures of 3.0 added
* aclocal.m4, configure.in, config.h.in, init.c, main.c
- Patches for TCL 7.6 / TK 4.2 applied.
Probe for TCL version number added.
API for TCLX has changed on TCLX 7.6
Mon Jul 29 18:03:50 MET DST 1996 Swen Thuemmler <swen@uni-paderborn.de>
* cmdModule.c
strdup the module_command, because Tcl_Eval modifies the
argv beginning @ Tcl 7.5
Thu Feb 8 15:05:40 1996 Leif Hedstrom <leif@boot.org>
* ModuleCmd_Avail.c (print_aligned_files): Fix out of bounds
array access.
* error.c (MeasLookup): Initilization of `mid'.
(GetFacility_sub): Dito.
* cmdVersion.c (FindName): Initialization of `cmp', I don't
know if it's correct to set it to `1', but it's definitely
wrong not to initialize it at all! :)
(FindModule): Dito.
Sat Jan 6 13:29:48 MET 1996 Jens Hamisch (jens@Strawberry.COM)
* aclocal.m4 configure.in Makefile.in:
- Add a 'touch' rule in order to fix the modification
dates of the modulefiles in the testsuite
* cmdAlias.c cmdConflict.c cmdMisc.c cmdPath.c cmdSetenv.c
cmdXResource.c cmdModule.c cmdTrace.c cmdUlvl.c cmdVerbose.c
cmdVersion.c cmdWhatis.c cmdLog.c:
- Unification of the DISPLAY output
* main.c cmdModule.c:
- Check the flags upon startup of cmdModule to ensure
proper recursion (no recursion desired in case of
WHATIS, HELP and DISPLAY).
- ensure proper setup of the flags in case of first time
startup
* cmdLog.c cmdPath.c cmdUlvl.c cmdConflict.c cmdMisc.c cmdWhatis.c
cmdInfo.c cmdTrace.c cmdVerbose.c cmdXResource.c ModuleCmd_Help.c
cmdSetenv.c
- Check for the M_HELP mode flag
- Introduction of 'module-info user'
* cmdAlias.c cmdConflict.c cmdLog.c cmdPath.c cmdTrace.c cmdUlvl.c
cmdVerbose.c cmdVersion.c cmdXResource.c
- No parameter check in case of M_WHATIS set.
* cmdLog.c cmdUlvl.c
- Print information in case of M_DISPLAY
* ModuleCmd_Switch.c
- Change the switching information output to use the
new verbosity feature
* modules_def.h error.c cmdVerbose.c
- Add the "module-verbose fmt args" facility
- Modify the Module_Error function in order to provide
the verbose message handling
- Make ERR_ALIAS_FILE a not-module-related error code
* ModuleCmd_Avail.c
- Don't read the cache if '--create' is given
- Avoid subsequent calls of 'strtok'
- Use strdup for string duplication
Sat Jan 6 00:03:04 MET 1996 Jens Hamisch (jens@Strawberry.COM)
* *.c *.h *.in
- Changes according Rev 3.0
* ModuleCmd_Display.c ModuleCmd_Load.c cmdConflict.c
- Check even the number of arguments when scanning the
command line
Tue Dec 26 14:06:22 MET 1995 Jens Hamisch (jens@Strawberry.COM)
* Makefile.in, cmdLog.c, cmdTrace.c, init.c
- Implementation of the commands 'module-log' and
'module-trace'. New files 'cmdLog.c' and 'cmdTrace.c'
added.
* error.c, modules_def.h, acconfig.h
- Errorlogger adapted for syslog handling
* cmdInfo.c
- Introduction of 'module-info trace', 'module-info shell' and
'module-info shelltype'
Thu Dec 21 15:52:08 MET 1995 Jens Hamisch (jens@Strawberry.COM)
* Makefile.in, stripmkf
- Implementation of 'make depend'
- get rid of SCCS checkouts in Makefile
* cmdUlvl.c, init.c
- introduction of different user levels
- new module command 'module-user'
* main.c modules_def.h error.c Makefile.in
- Introduction of command line switches:
--force, -f Force prerequired actions
--terse, -t Terse, parseable messge output
--long, -l long messages
--verbose, -v Verbose mode
--create, -c Create chaches while command exec.
--userlvl, -u Definition of userlevels NOVICE,
ADVANCED and EXPERT
--icase, -i Ignore case of module names
* getopt.c getopt.h
- Introducion of GNU getopt
**************************** Release 2.4 ******************************
Tue Dec 19 15:42:16 MET 1995 Jens Hamisch (jens@Strawberry.COM)
* ModuleCmd_Purge.c
- Do not return the status received from ModuleCmd_Load.
* ModuleCmd_Update.c
- Do not change the TCL_LIBRARY and the TK_LIBRARY even if
it is in the _MODULEBEGINENV_ file. This will lead to
TCL being disturbed ... Tcl_Init complains an error.
* cmdInfo.c
- 'else' missing after probe for 'flags'
Sun Dec 17 20:22:32 MET 1995 Jens Hamisch (jens@Strawberry.COM)
* Makefile.in, configure.in, README
- Implementation of 'make check'
**************************** Release 2.3 ******************************
Wed Dec 13 14:05:52 MET 1995 Jens Hamisch (jens@Strawberry.COM)
* cmdUname.c
- Bugfix: Cause by initialization probles, 'uname' always
did report 'unknown'
* configure.in
- Support for Solaris 2.4
Check for -lnsl and -lsocket before checking the extra
libraries. This must be done in order to locate the
gethostname and getdomainname
Fri Dec 8 11:51:29 MET 1995 Jens Hamisch (jens@Strawberry.COM)
* module_def.h
- Define a warning message for shells not being able to
source the alias temp file
* error.c
- Fixed error messages form missing magic cookies
- Define a warning message for shells not being able to
source the alias temp file
* utility.c ModuleCmd_Use.c ModuleCmd_Update.c ModuleCmd_Avail.c:
- Fixed missing argument in OPEN errorlogger call
- Print a warning message via the error logger if the shell
cannot source the alias temp file
* locate_module
- Change the errorlog entry 'No magic cookie in .version'
to the correct filename
Thu Nov 16 09:43:02 MET 1995 Jens Hamisch (jens@Strawberry.COM)
* configure.in
- Probe for libdl. This is required for Tcl7.5/Tk4.1
- Probe for libdl only if *NOT* linking static
* README
- Some error corrections
- Notes on Tcl7.5/Tk4.1
* Compiled using tcl7.5a2, tk4.1a2 and tclX7.5a-a1. Some links had
to be installed before:
- libtcl7.5.a -> libtcl.a
- libtk4.1.a -> libtk.a
Compilation has been scheduled for:
- Solaris 2.4 Success
- SunOS 4.1.3 U1 Success
- Linux 1.3.18 Success
Sun Oct 29 12:55:13 MET 1995 Jens Hamisch (jens@Strawberry.COM)
* error.c, module_def.h, cmdModule.c
- Print an error message, if the execution of a TCL command
failed
Sun Sep 10 12:07:49 MET DST 1995 Jens Hamisch (jens@Strawberry.COM)
* cmdXResource.c
- BugFix. Hang on 'getEntries'
Tue Aug 15 10:43:14 MET DST 1995 Jens Hamisch (jens@Strawberry.COM)
* RunConfigure
- Added a sample configuring script
* Makefile.in, */Makefile.in
- Changed prefix expansion and install macro
Fri Aug 11 10:38:51 MET DST 1995 Jens Hamisch (jens@Strawberry.COM)
* Compiled using tcl7.4, tk4.0 and tclX7.4b6. Some links had to be
installed before:
- libtcl7.4.a -> libtcl.a
- libtk4.0.a -> libtk.a
Compilation has been scheduled for:
- SunOS 4.1.3 U1 Success
- Linux 1.2.8 Cannot, since tclX is not compilable
* error.c:
- Removed support for 'varargs.h'. This is only compilable
with an ANSI C compiler and 'stdarg.h' available.
* utility.c:
- Added function chop() in order to get rid of 'setenv'
error messages forced by '\n' within the shell variable
names or values (module update command)
Wed Aug 09 23:54:32 MET DST 1995 Jens Hamisch (jens@Strawberry.COM)
* cmdModule.c:
- reset the linecounter before starting to read a new
module file
* init.c:
- Initially set the TCL result string to ""
* All sources:
- Added char module_name[] = "@(#)ChangeLog 1.21;
- Evaluate return value of 'SplitIntoList'
- Evaluate return value of all init procedures
* ModuleCmd_Update.c:
- Use a dynamic buffer for reading instead of half a megabyte!
* Makefile.in:
- Added error.c
* error.c:
- Initial creation of the error logger module
* modules_def.h:
- Incorporation of the error logger types and macros
* main.c, ModuleCmd_Load.c, utility.c:
- Remove error output from Unwind_Modulefile_Changes
* init/*.in:
- Initial setup for the MODULEPATH will now be read
from the file '@prefix@/init/.modulespath'
* init/ksh.in:
- Added
* init/Makefile.in
- Added 'init/ksh' and 'init/.modulespath'
* doc/module.1.in
- Initial creation from doc/module.1
* doc/modulefile.4.in
- Initial creation from doc/modulefile.4
- Change '/depot/Modules' to @prefix@
- Add 'init/.modulespath' to the file description section
* configure.in:
- Added init/.modulespath
- Added doc/modulefile.4
- Added query for the header sys/param.h
- Added query for the header stdarg.h
- Added query for the header varargs.h
- Add --enable-parseable-msgs
- Fixed checking for libm.a
* README
- Add --enable-parseable-msgs
* config.h.in:
- Added HAS_SYS_PARAM_H
- Added HAS_STDARG_H
- Added HAS_VARARGS_H
- Added PARSEABLE_ERRORS
* cmdPath.c
- #include <sys/param.h> if available
- Set the max. path length to the system defined MAXPATHLEN if available
Sat Aug 5 20:50:49 MET DST 1995 Jens Hamisch (jens@Strawberry.COM)
* all sources and headers:
- Introduction of debugging messages
* aclocal.m4:
- Textual corrections concerning tclX
* configure.in:
- Error correction concernng all AC_ARG_WITH macros. A former
coworker has removed all comment lines (arg 2) resulting in
configure bailing out!
- Removed obsolete option -with-x11. This is already done by
--with-x.
- Add option --with-debug=<level>
* config.h.in
- Added WITH_DEBUG_INFO
Thu Jul 27 10:39:36 MET DST 1995 Jens Hamisch (jens@Strawberry.COM)
* init/csh.in:
- changed 'setenv LOADEDMODULES' to 'setenv LOADEDMODULES ""'
because HP/UX csh complains about to few arguments to setenv
* init/ksh.in:
- created from init/sh.in
* aclocal.m4:
- Introduction of --with-tcl-include, --with-tcl-libraries,
--with-tclx-include and --with-tclx-libraries,
- scan ../lib and ../include for TCL(X) libs and includes
* config.h.in
- added HAVE_GETDOMAINNAME
* configure.in:
- Updated for autoconf-2.4
- Open: There's a wrning according AC_PROG_CC and AC_PROG_CPP
I don't understand. Maybe a bug in autoconf?
- Seek for getdomainname.
* Code cleanup:
- Added checks for failed allocations. Got
rid of some memory leaks. Inline documentaion added.
General source module layout introduced.
* Added 'uname domain'
* introduced mode-type M_HELP, so that module-info mode help works
Mon Jul 10 22:00:03 MET 1995 John Furlani (John.Furlani@eng.sun.com)
* configure.in: Simplification by using new autoconf macros
Tue Dec 20 11:10:03 MET 1994 Peter W. Osel (pwo@guug.de)
Tue Dec 20 08:53:14 MET 1994 Martin S.Utesch (wstd@hl.siemens.de)
* aclocal.m4:
- local macro AC_DEFINE_PROG removed; it is no longer
needed, replaced by AC_PATH_PROG_SEARCH and
separately setting of the CPPSTDIN variable.
- new macro AC_PATH_PROG_SEARCH: similar to autoconf
2.1 macro AC_PATH_PROG, however does not search
the PATH but a given list of directories for
program.
- improved macros AC_FIND_TCL, AC_FIND_TCLX, AC_MAKE_INCLUDE,
AC_MAKE_LIBRARY, AC_SET_STATIC
added caching and messages, warn if extendedn
Tcl not found, abort if Tcl not found,
AC_FIND_TCLX now rewuires AC_FIND_TCL
* configure.in:
- local macro AC_DEFINE_PROG replaced with AC_PATH_PROG_SEARCH
this removes the bug, that CPPSTDIN was always
set to '${CC} -E'
- option '--with-x11' removed, now using standard --with-x,
--x-includes, and --x-libraries options.
- fixes bug that --with-x11 had to be given even if
--x-includes, or --x-libraries had been given.
- search for X11 libraries and includes via standard
autoconf macro AC_PATH_XTRA:
. variables 'x_includes', 'x_libraries' become
available with 'configure' command line options
'--x-includes=...' and '--x-libraries=...';
'--with-x' is arbitrary (see `AC_PATH_XTRA');
. X compiler flags added to output variable
X_CFLAGS (which replaces own X11_INC_DIR variable)
. X linker flags are added to output variable
X_LIBS (which replaces X11_LIB_DIR)
. special libraries are added to X_EXTRA_LIBS
* modules_def.h: Removed include of sysconf.h
for x libraries, need them for TclX, though
- search for SYSV -lsocket and -lnsl no longer needed
for tclx, when AC_PATH_XTRA has been called before;
- required search for tclx after tcl (thus AC_FIND_TCL is required);
- improved output messages, caching in `configure.in';
* Makefile.in:
@X_EXTRA_LIBS@ added to `LIBS';
@X11_INC_DIR@ replaced with standard @X_CFLAGS@;
@X11_LIB_DIR@ replaced with standard @X_LIBS@;
Tue Nov 22 08:22:40 MET 1994 Peter W. Osel (pwo@guug.de)
* configure.in: function matherr is not part of the math library
off my Linux 1.x installation. log() seems to be in all
math libraries tested so far. Searching for math
library with log() function instead of matherr()
function.
Sat Nov 19 14:00:30 MET 1994 Peter W. Osel (pwo@guug.de)
* MACHINES: added HP/PA HP-UX 9.07 to the list of tested
machines
Thu Nov 10 22:41:22 MET 1994 Peter W. Osel (pwo@guug.de)
* Makefile.in: recursice `make' commands should always use the
variable `MAKE', not the explicit command naem `make'.
added rules to automatically update configuration
information when a configuration file changes
Wed Nov 9 20:01:22 MET 1994 Peter W. Osel (pwo@guug.de)
* README: minor changes
* testet with autoconfig 2.1
* doc/modulefile.5:
correct description of command module-info mode:
it returns the current mode when no modetype given.
state clearly that previous value of envvar cannot be
restored.
Wed Nov 9 00:20:36 MET 1994 Peter W. Osel (pwo@guug.de)
* configure.in, README, acconfig.h, init.c:
added configuration parameter: default autoload
extension for Tcl (which gets *PRE*prended at the
moment, you do not have a choice to append it).
Tue Nov 8 22:10:02 MET 1994 Peter W. Osel (pwo@guug.de)
* Makefile.in: update for autoconf 2.0
use new @CFLAGS@ and @LDFLAGS@ and add config.log and
config.cache to the list of files removed in distclean
target.
change prefix/exec_prefix macros
* Makefile.in, doc/Makefile.in, init/Makefile.in, init/bash.in,
init/csh.in, init/ksh.in, init/perl.in, init/sh.in,
init/tcsh.in, init/zsh.in: update for autoconf 2.0
use @configure_input@ macro
change prefix/exec_prefix macros
* configure.in: update for autoconf 2.0
updated by autoupdate and manually to use new macro names
* aclocal.m4, configure.in: update for autoconf 2.0
AC_DEFINE_UNQUOTED does not need backslashes before
quotes anymore, removed quotes.
extensive rewrite due to changed macros.
* configure.in: included doc/module.1 in files to be created
* doc/module.1.in: new file (MODULESHOME now is set to @prefix@
value, thus displaying the correct value).
* contrib/modulefiles/misc/news/1.1*: new files as an example
for a fairly complex modulefile
Sat Sep 17 13:26:15 MET DST 1994 Peter W. Osel (pwo@guug.de)
* README: added hint for /etc/magic entry.
* ModuleCmd_Help.c: added call to InitializeModuleCommands(),
needed for autoloading feature.
* init.c: added call to Tcl_Init(), which reads init.tcl and
enables autoloading of tcl library functions.
InitializeModuleCommands() _is_ called for _all_ created Tcl
Interpreter Instances.
* doc/Makefile.in, doc/modulefile.4, doc/modulefile.5: moved
modulefile manual page from chapter 4 (introduction to device
drivers, protocols, and network interfaces) to chapter 5 (file
formats used or read by various programs)
* configure.in: added support for setting umask for module cache
files
* ModuleCmd_Avail.c: added support for setting umask for module
cache files
* acconfig.h: added support for setting umask for module cache
files
* contrib/autoload: A new directory with example of autoloadable
tcl library files
* contrib/recashe.sh: script to re-create moduleavailcachefiles
Tue Jul 5 19:53:49 MET DST 1994 Peter W. Osel (pwo@guug.de)
* configure.in: --without-tclx does not search for tclx anymore.
if tclx is used, search for -lsocket and -lnsl which are needed
on SYSV (Solaris 2).
Tue Jul 5 08:55:00 MET DST 1994 Peter W. Osel (pwo@guug.de)
* init/csh.in: bugfix: module_shellname changed to module_shell
Mon Jul 4 17:22:51 MET DST 1994 Peter W. Osel (pwo@guug.de)
* init/ksh.in: changed from metaconfig to autoconf file
* ModuleCmd_Load.c: return TCL_OK on success, TCL_ERROR
otherwise. Fixes `module purge' bug
* configure.in: added support for setting of MODULEPATH
* init/bash.in: added support for setting of MODULEPATH
* init/csh.in: added support for settinf of MODULEPATH
* init/ksh.in: added support for settinf of MODULEPATH
* init/perl.in: added support for settinf of MODULEPATH
* init/sh.in: added support for settinf of MODULEPATH
* init/tcsh.in: added support for settinf of MODULEPATH
* init/zsh.in: added support for settinf of MODULEPATH
* README: added explanation of new options to set MODULEPATH,
changed reminder to not forget to adapt MODULEPATH.
Sat Jul 2 15:43:35 MET DST 1994 Peter W. Osel (pwo@guug.de)
* Makefile.in: corrected INSTALL macro; added support for
extended tcl (@TCLX_LIBS@, @TCLX_INC_DIR@, @TCLX_LIB_DIR@)
* README: Added description of static/dynamic linking
(--with-static, --without-static); added description of tclX
options; added note to set MODULEPATH in init files prior to
installation; added example for tcsh programmable command
completion for modules;
* acconfig.h: added HAS_TCLXLIBS symbol
* aclocal.m4: added macro AC_FIND_TCLX tosearch for extended
tcl include and library files;
* config.h.in: updated by running autoheader
* configure: updated by running autoconf
* configure.in: added support for extended tcl (TCLX_INC_DIR,
TCLX_LIB_DIR, TCLX_LIBS)
* doc/Makefile.in: corrected INSTALL macro
* doc/module.1: corrected usage of .BR macro; added section
DIAGNOSTICS;
* doc/modulefile.4: corrected usage of .BR macro; added
reference to extended tcl (tclX);
* init.c: added support for extended tcl (include
"tclExtend.h, TclXCmd_Init())
* init/Makefile.in: corrected INSTALL macro; corrected install
target (ksh did not get installed)
Tue Jun 21 10:01:01 1994 Leif Hedstrom (hedstrom@neptune.inf.ethz.ch)
* aclocal.m4: Added support for IRIX `-no-shared' option.
Added support for `-R' ld option (in Solaris).
* Makefile.in (LDFLAGS): Added support for `-R' ld option.
* ModuleCmd_Avail.c: Fixed problems with config for AIX.
* aclocal.m4: Added /usr/include/tcl to "search path" for the
include files.
* modules_def.h: Removed declarations of setenv/unsetenv. They
are not needed, and causes conflict on Linux.
Mon Jun 20 09:46:05 1994 Leif Hedstrom (hedstrom@neptune.inf.ethz.ch)
* Checked everything in into SCCS again. Now there will
hopefully only be minor changes...
* utility.c: Got rid of some warnings.
(ForceSacredPath): Remove basename variable (not used).
Include unistd.h to get rid of two warnings.
(Output_Modulefile_Aliases): Changed the call to tmpnam(),
to make it work properly on Dynix.
* locate_module.c (GetModuleName): Got rid of a warning.
* cmdXResource.c (getEntries): Got rid of two warnings.
* cmdPath.c (cmdRemovePath): Initialize some variables.
* cmdModule.c (cmdModule): #ifdef'd a couple of variables.
(Execute_TclFile): Initialize result.
(CallModuleProcedure): Initialize some variables.
* cmdConflict.c (cmdConflict): Initialize some variables.
(cmdPrereq): Dito.
* ModuleCmd_Switch.c (ModuleCmd_Switch): Initialize ret_val.
* ModuleCmd_Load.c (ModuleCmd_Load): Initialize return_val;
* ModuleCmd_List.c (ModuleCmd_List): Got rid of a warning.
* ModuleCmd_Init.c (ModuleCmd_Init): Initialize rch to '\0'.
* ModuleCmd_Avail.c: Changed some order of the declarations.
Changed some casting. #ifdef'out print_file(), which isn't used.
* utility.c (strtok): Added function strtok(), if needed. This
code is from the Berkeley BSD4.3 distribution. I include the
neded header/disclaimer, so it should be ok.
* modules_def.h: Added (possible declaration of strtok().
* ModuleCmd_Avail.c: Added definitions for S_ISDIR and S_ISREG,
if not already defined.
* locate_module.c: Dito.
* cmdConflict.c: Dito
* ModuleCmd_Use.c: Dito.
* ModuleCmd_Purge.c: Dito.
* ModuleCmd_Avail.c: Added define for isgraph() if it's not
already defined.
Added #include of ctype.h, if available.
* aclocal.m4: Removed test if tcl include/lib dirs. are in
/usr/{include,lib}. This is done in AC_MAKE_INCLUDE and
AC_MAKE_LIBRARY anyway.
* cmdXResource.c: Added #define's for R_OK etc. if they aren't
already defined (Dynix...)
* modules_def.h: Added test for stdlib.h (Dynix misses it).
* configure.in: Changed the default for force-path to be
--without-force-path.
Sun Jun 19 00:04:19 1994 Leif Hedstrom (hedstrom@neptune.inf.ethz.ch)
* configure.in: Added --enable-static configuration option.
* aclocal.m4: Added AC_SET_STATIC macro, to find a static arg.
* acconfig.h: Added support for PHOSTNAME.
* configure.in: Dito.
* locate_module.c: Changed dirent code (see autoconf docs).
* init.c: Added #ifdef around unistd.h.
* cmdXResource.c: Added #ifdef around unistd.h.
* cmdUname.c: Changed name of #ifdef's, to HAVE_xxx.
* cmdModule.c: Added some #ifdef's for include files.
* cmdMisc.c: Added #ifdef around unistd.h.
* cmdConflict.c: Added some #ifdef's for include files.
* ModuleCmd_Use.c: Added some #ifdef's for include files.
* ModuleCmd_Purge.c: Added some #ifdef's for include files.
* configure.in: Added --enable-free configuration option.
Added --with-split-size configuration option.
* modules_def.h: Added better support for string[s].h.
* ModuleCmd_Avail.c (get_dir): Changed dirent code (see autoconf
documentation for more info).
Changed order in termio.h, ioctl.h etc. This must be tested
properly on all supported platforms!
* aclocal.m4: Added a macro to locate TCL libraries and
include files.
* cmdModule.c (cmdModule): Changed FORCE_PATH_BASE to just
FORCE_PATH. We use this variable both to show that we want
a force path, AND to hold that path.
* utility.c (strdup): Changed NO_STRDUP to HAVE_STRDUP. The
test is now changed to an #ifndef.
* aclocal.m4: Created a new M4 macro, AC_SELECT_PROG. I need
this to select a proper `cpp' program.
Sat Jun 18 22:57:01 1994 Leif Hedstrom (hedstrom@neptune.inf.ethz.ch)
* cmdConflict.c: Changed NEED_MODE to HAVE_SYS_MODE_H.
Changed NEED_IOCTL to HAVE_SYS_IOCTL_H.
* ModuleCmd_List.c: Changed NEED_MODE to HAVE_SYS_MODE_H.
Changed NEED_IOCTL to HAVE_SYS_IOCTL_H.
* ModuleCmd_Avail.c: Changed NEED_UNISTD to HAVE_UNISTD_H.
Changed NEED_IOCTL to HAVE_SYS_IOCTL_H.
Changed NEED_MODE to HAVE_SYS_MODE_H.
Changed NEED_TERMIO to HAVE_TERMIO_H.
Changed NEED_TERMIOS to HAVE_SYS_TERMIOS_H.
* modules_def.h: Removed include of sysconf.h