X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/848f2a01141579097cfb33d2093ba622dc072092..526e04642c921bea147b9195045875c048c684f2:/ice-9/ChangeLog diff --git a/ice-9/ChangeLog b/ice-9/ChangeLog index 8c0196048..451c6b98a 100644 --- a/ice-9/ChangeLog +++ b/ice-9/ChangeLog @@ -1,10 +1,706 @@ -1997-12-13 Tim Pierce +1999-06-18 Jim Blandy -* * boot-9.scm (read-line): Rewritten to call %read-line for - improved speed. Minor user-visible changes: the new functions are + * ls.scm (ls, lls): Handle no arguments as meaning to look in + `(current-module)'. (Patch from Thien-Thi Nguyen.) + +1999-06-14 Jim Blandy + + * string-fun.scm (split-before-predicate, split-after-predicate, + split-discarding-predicate): Make these public. (Thanks to + Thien-Thi Nguyen.) + + 1999-06-13 Gary Houston + + * more changes to expect.scm, to avoid the one-character lookhead + that was introduced to fix the $ problem: + + * expect.scm (expect): call the match proc an extra time at end + of file and set the eof? argument appropriately. call + expect-eof-proc only if the last call didn't match. + * expect.scm (expect-strings): change port to eof? in match proc. + * expect.scm (expect-regexec): take an eof indicator as an argument + instead of a port. + +1999-06-09 Jim Blandy + + * Makefile.am (ice9_sources): Add popen.scm to list. + * Makefile.in: Regenerated. + + Fixes for expect from Gary Houston : + + * expect.scm (expect-regexec): define 'eof-next?'. I don't + know why it was missing. also don't peek for end of lines + unless expect-strings-exec-flags contains regexp/noteol. + (expect-strings-exec-flags): initialise to regexp/noteol. + + Gary Houston's open-buffer port patches: + + 1999-04-01 Gary Houston + + * popen.scm: applied fixes from Greg Harvey. use a guardian + and a gc-thunk so that cleanup is done if a pipe is garbage + collected or closed with close-port. use a weak hash-table instead of + an alist. + + 1999-03-20 Gary Houston + + * expect.scm (expect): call the match proc with the port instead. + (expect-strings): use peek-char to get the next char. this has + the advantage of getting the handling of $ "correct", but the + disadvantage of needing to get (and maybe block for) an extra character + from the port when it may not be needed. hence: + (expect-strings-exec-flags): new variable/parameter, supplies + flags for regexp-exec. if this includes regexp/noteol, then + automatic regexp/noteol handling (requiring an extra peeked char) + is enabled. default is regexp/noteol. + (expect-strings-compile-flags): new variable/parameter, supplies + flags for make-regexp. default is regexp/newline. + + 1999-03-15 Gary Houston + + * expect.scm (expect): call the match proc with an extra char, + peeked from the stream. + (expect-strings): build a match proc which takes the extra char. + (expect-regexec): take an extra arg "eof-next?" and use it + to decide whether the regexp/noteol flag should be added. + + 1999-02-26 Gary Houston + + * boot-9.scm (top-repl): don't flush all ports at exit. + (error-catching-loop): likewise. + + 1998-12-23 Gary Houston + + * boot-9.scm (scm-style-repl): -read: don't call + consume-trailing-whitespace if val is eof object. Allows + exiting repl with single control-D. + + 1998-12-06 Gary Houston + + * boot-9.scm (error-catching-loop): don't force output within + error catching loop after quit received. + (top-repl): flush all ports when the repl terminates. + + * boot-9.scm (error-catching-loop): flush all ports before + primitive exit if non-interactive. + force-output on current-error-port if interactive. + + * boot-9.scm (reopen-file): deleted. + * popen.scm (open-output-pipe, open-input-pipe): moved from + boot-9.scm. + * popen.scm: new file. + +1999-06-04 Dirk Herrmann + + * boot-9.scm (iota): replaced by a tail recursive version. + (reverse-iota): removed. + +1999-06-03 Mikael Djurfeldt + + * optargs.scm (lambda*): Bugfix: Replaced ARGLIST --> + non-optional-args. (Thanks to David Lutterkort.) + +1999-05-09 Jim Blandy + + * string-case.scm: Removed; functions moved to libguile/strop.c + (which could be dynamically linked in the future anyway). + * Makefile.am (ice9_sources): Don't list string-case.scm. + * Makefile.in: Regenerated. + * format.scm: Don't bother importing (ice-9 string-case). + +1999-05-02 Jim Blandy + + * boot-9.scm (provided?): New function. + + * Makefile.am: Add string-case.scm and format.scm to ice9_sources. + * Makefile.in: Regenerated. + + * string-case.scm: New file, brought in from SLIB, and adapted to + Guile's module system. + + * format.scm: New file, brought in from SLIB, with the following + changes: + (format:format): If the first argument is the format string, stick + a #f on the front of it, so it is now a valid CL format argument + list. This is easier than changing everyplace else (like the + error formatter) that expects it to be in CL form. The other + clause which explicitly tests for this case is now dead code. + (format:format-work): Allow `@' and `:' in either order, as per + modern CL behavior. + (format:num->cardinal): Don't assume that an elseless if returns + '() when the condition is false. + +1999-04-17 Jim Blandy + + * Makefile.in: Regenerated. + +1999-04-08 Mikael Djurfeldt + + * boot-9.scm: Provide 'values. + +1999-03-21 Mikael Djurfeldt + + * boot-9.scm (process-define-module, use-syntax): Bugfix: + :use-syntax should add syntax to using module, not current module. + (internal-use-syntax): Removed. + +1999-03-21 Mikael Djurfeldt + + * session.scm (apropos-internal): Modified to comply with new + argument order for hash-fold. + +1999-03-19 Mikael Djurfeldt + + * boot-9.scm (try-load-module): New procedure. Broken out from + resolve-module. + (resolve-module): Bugfix: Make it possible for a module at a + deeper level (x y z) to depend on a module on a higher (x y). + + This also has the desired side-effect that multiple attempts to + load a module (e.g. with `use-modules') work until source is + actually found for the module (e.g. because the correct catalog + has been added to the load path). + + Use try-load-module. + +1999-03-18 Mikael Djurfeldt + + * session.scm (system-module): New procedure. Used to switch a + module between system and user state. + +1999-03-16 Mikael Djurfeldt + + * session.scm (apropos-internal): Rewritten using hash-fold. + + * emacs.scm, session.scm, slib.scm): Added :no-backtrace in module + definition. + +1999-03-14 Mikael Djurfeldt + + * boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to + associate a name to the record type descriptor so that the object + system can create a wrapper class for it. + +1999-03-12 Mikael Djurfeldt + + Improvement of backtraces: Introduces a new stack narrowing + specifier, #t, for the inner cut. If the inner cut is specified + by #t, `make-stack' will throw away inner stack frames (most + recent calls on call chain) up to but excluding the first user + stack frame encountered. + + This specifier is now used in `save-stack' so that the call + `(save-stack)' will get the new behaviour. [It is recommended that + any error reporting functions written by the user have this call + on the outermost expression level (i.e. as a member of the lambda + list).] + + Modules are partitioned into "user" and "system" modules. [I know + that some names used here are silly, but I don't have more time to + spend on a better solution, especially considering that the module + system will be replaced. But if people have better ideas, then + please tell me!] + + System modules are created by adding :no-backtrace among the + define-module switches: + + (define-module (foo) + :no-backtrace) + + Modules which doesn't have the :no-backtrace specifier are user + modules. + + A stack frame is classified as a user frame if it has source code + associated with it and if this source code can be proven to come + from a user module. If it can be proven to come from a system + module it is a system frame. + + Frames which can't be classified, e.g. application frames, are cut + away if they occur between system frames, but are left on the + stack if they occur between the last system frame and the first + user frame encountered. (Note that the first user frame + encountered is the last user code being evaluated!) + + In some cases the system part of the call chain is introduced by + frames which should but can't be proven to be system frames. The + following workaround has been implemented: The cutting proceeds + over application frames where the operator is marked by the + `system-procedure' property. (This has been used to cut away + generic function dispatch code in the object system.) + + * boot-9.scm (set-system-module!): New procedure: Set system/user + status of a module.; + Mark `the-root-module' and `the-scm-module' as system modules. + (process-define-module): Add new keyword :no-backtrace. + + * boot-9.scm (environment-module): Bugfixed. + (set-module-eval-closure!): Add a pointer back from the eval + closure to the module. + + * emacs.scm (emacs-load): Reset port filename after transfer. + +1999-03-03 Mikael Djurfeldt + + * slib.scm (make-random-state): Added for compatibility. + +1999-02-16 Maciej Stachowiak + + * optargs.scm (lambda*): Handle empty argument lists properly. + +1999-02-15 Jim Blandy + + Fix from Russ McManus: + * getopt-long.scm (parse-option-spec): Store 'optional as the + value-required? field for options that take optional values. + (process-short-option): Grab a value for the option when it takes + either an optional or required value. + +1999-02-12 Jim Blandy + + * getopt-long.scm: Remove debugging calls to `pk'. + + * getopt-long.scm: Return list of ordinary arguments as the value + of the '() key, not `rest'. + + A new argument-processing package from Russ McManus. + * getopt-long.scm: New file. + * Makefile.am (ice9_sources): Added getopt-long.scm. + * Makefile.in: Regenerated. + +1999-02-09 Maciej Stachowiak + + * optargs.scm: New file. + * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in + not regenerated because I don't have the right version of Automake. + +1999-02-06 Jim Blandy + + * and-let*.scm: New file, from Michael Livshin. + * Makefile.am (ice9_sources): Add and-let* here. + * Makefile.in: Regenerated. + +1999-01-11 Mikael Djurfeldt + + * slib.scm (install-require-module): Fixed the kludge which loads + the slib catalog: Doesn't anylonger assume that the feature tested + for isn't loaded. + +1998-12-14 Jim Blandy + + * Makefile.in: Regenerated. + +1998-12-14 Mikael Djurfeldt + + * boot-9.scm (process-define-module): Reverted the change of + 1998-11-23 which caused loading of object code if :use-module was + applied to the module itself. + +1998-12-11 Mikael Djurfeldt + + * Makefile.am: Removed setf.scm. + + * setf.scm: Removed. 1. It was buggy. 2. It was unschemey. + (These shortcomings were my fault.) + +1998-12-10 Mikael Djurfeldt + + * boot-9.scm (environment-module): New procedure. + +1998-12-07 Mikael Djurfeldt + + * Makefile.am: Added setf.scm. + +1998-12-05 Christian Lynbech + + * setf.scm: New file. Adds the new forms `setf!' and `setter' + which implements generalized references a la Common LISP. + +1998-12-02 Mikael Djurfeldt + + * boot-9.scm (process-define-module): Added new specifier + :autoload MODULENAME BINDINGS to the define-module form. + The autoload specifier tells the module system to load the module + MODULENAME at the first occasion that any variable with its name + among BINDINGS is referenced. + (make-autoload-interface): New procedure: Constructs a stand-in + for the public interface for the module to be autoloaded. + +1998-12-01 Mikael Djurfeldt + + * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t + if you don't want the old style hook warnings. + +1998-12-01 Christian Lynbech + + * boot-9.scm (try-using-libtool-name): Fix check on dlname to make + sure that it isn't empty, as it is when we are only buidling + static libraries. + +1998-11-27 Mikael Djurfeldt + + * session.scm (arity): New procedure. + +1998-11-26 Mikael Djurfeldt + + * boot-9.scm: Use run-hook instead of run-hooks everywhere. + +1998-11-26 Mikael Djurfeldt + + * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary + code for backward compatibility until people have had time to + adapt to the new hooks. + +1998-11-23 Mikael Djurfeldt + + * boot-9.scm (beautify-user-module!): Beautify also if public + interface is set to the module itself. In this way we can use + beautify-user-module! to beautify a module prepared for object + code. + (process-define-module): Special case: Try to load object code as + well if a module does :use-module on itself. + + * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from + invoke_main_func, we can no longer be sure that all modules have + been registered when boot-9.scm is loaded. + (register-modules): New function: Register and tag modules + registered by scm_register_module_xxx since last call to this + function. Modules are tagged with the dynamic object passed as + argument. (Already linked modules should be tagged with #f.) + (init-dynamic-module, link-dynamic-module): Call register-modules + first to register linked modules. + + * boot-9.scm (init-dynamic-module): Remove module from + registered-modules as soon as possible in case we are recursively + invoked; Set public interface before doing the dynamic-call. + + * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map). + (abort-hook, before-error-hook, after-error-hook, + before-backtrace-hook, after-backtrace-hook, before-read-hook, + after-read-hook, exit-hook): Make hooks with `make-hook'. + + * boot-9.scm: Make hooks first class citizens and make them easier + to use from C: + (make-hook, add-hook!, remove-hook!, run-hooks): Moved to + libguile/feature.c. + + * boot-9.scm: Added warnings about bindings used in + libguile/modules.c: the-module, set-current-module, + make-modules-in, beautify-user-module!, module-eval-closure. + +1998-11-21 Mikael Djurfeldt + + * boot-9.scm (the-environment): New special form: Returns an + object representing the current local evaluation environment. + This object can be used in `local-eval' and `defined?'. + +1998-11-13 Mikael Djurfeldt + + * boot-9.scm (collect): New syntax. Similar to begin but returns + a list of the results of all forms in the sequence instead of the + result of the last form. + +1998-11-10 Mikael Djurfeldt + + * boot-9.scm (values, call-with-values): Moved here from + syncase.scm. + + * syncase.scm (values, call-with-values): Moved to boot-9.scm. + + * boot-9.scm (readline-options, readline-enable, readline.disable, + readline-set!: New options interface. + + * readline.scm (readline-port): Use readline-options-interface. + +1998-11-05 Mikael Djurfeldt + + * boot-9.scm: Set the repl start module in `top-repl' instead of + at the end of boot-9.scm. + +1998-11-01 Mikael Djurfeldt + + * emacs.scm (format): Bugfix: Handle multiple arguments + correctly. (Thanks to Thien-Thi Nguyen.) + +1998-11-01 Mikael Djurfeldt + + * boot-9.scm (exit-hook): New hook: Is run at the very end of an + interactive session. + (top-repl): Run exit-hook on exit. + + * readline.scm (readline-port): Maybe read history; Maybe write + history at exit (add to exit-hook). + +Fri Oct 30 15:15:37 1998 Mikael Djurfeldt + + * readline.scm (make-readline-port): Bugfixed last change... + +1998-10-28 Mikael Djurfeldt + + * readline.scm (make-readline-port): Don't set prompt to "... " if + read line was empty. + +1998-10-19 Jim Blandy + + * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm, + r4rs.scm, slib.scm, threads.scm: Update copyright years. + + * getopt-gnu-style.scm, slib.scm: Add copyright notice. + + Talked to Stallman. Actually, the syntax-case copyright is no + problem. Duh. + * Makefile.am (ice9_sources): Revert last change. + * syncase.scm, psyntax.pp, psyntax.ss: Added again. + * Makefile.in: Regeneretade. + + * boot-9.scm: Don't assume that this file is loaded just before + entering a read-eval-print loop. Turn code to load (ice-9 emacs) + into... + (load-emacs-interface): New function. + (top-repl): Call it, if use-emacs-interface is defined and true. + At this point, we *do* know we're about to enter a REPL. + + We can't include Kent Dybvig's syntax-case macro expander in the + core Guile distribution, because we don't have copyright + assignments for this code. We can certainly distribute them as a + separate package, but Guile should be FSF code. + * syncase.scm, psyntax.pp, psyntax.ss: Removed. + * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and + psyntax.ss. + * Makefile.in: Regenerated. + + * Makefile.am (ice9_sources): Add getopt-gnu-style.scm. + * Makefile.in: Regenerated. + +1998-10-18 Mikael Djurfeldt + + * boot-9.scm: Added extended read syntax for byte vectors #y(...) + and short vectors #h(...). + +1998-10-14 Jim Blandy + + * calling.scm (excursion-function-syntax): Use a sequence of + set!'s, not a single multi-variable set!; we removed support for + that syntax a long time ago. (Thanks to Shuji Narazaki.) + +1998-10-12 Jim Blandy + + * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother + testing software-type here. That's the least of our Windows + porting issues, and it's done wrong anyway. + +1998-10-09 Jim Blandy + + * boot-9.scm (read-path-list-notation-warning): New function: + print a warning the first time we see `#/' notation. + + * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and + (eq? #f '()) assumptions. Make functions that aren't documented + to return anything else return the queue itself. (Bug report from + Michael Livshin --- thanks!) + +1998-08-21 Mikael Djurfeldt + + * debug.scm (trace-entry, trace-exit): Removed re-enabling of + trace flag. + + * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in + order to allow the empty list as arg. + (error-catching-loop): Use `with-traps' to create a dynamic + context with traps enabled. + +1998-08-19 Mikael Djurfeldt + + * boot-9.scm: Removed (ice-9 regex) from use-list of (guile) + module. + (try-using-libtool-name): Removed dependency on (ice-9 regex). + +1998-08-15 Mikael Djurfeldt + + * boot-9.scm: Make the root module use (ice-9 regex) if + available. The dynamic linking facilities in boot-9.scm are + currently dependent upon regular expressions. My change of + 1998-07-14 removed (ice-9 regex) from the use-list of the root + module and thereby destroyed dynamic linking. + +1998-07-29 Jim Blandy + + * Makefile.in: Regenerated using the last public version of + automake, not the hacked Cygnus version. + +1998-07-28 Jim Blandy + + * Makefile.in: Regenerated, after removing Totoro kludge. + +1998-07-28 Jim Blandy + + * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.) + +1998-07-26 Jim Blandy + + * Makefile.in Rebuilt, for config changes in parent dir. + +1998-07-21 Mikael Djurfeldt + + * readline.scm (make-readline-port): Set prompt string to "... " + after first read line. (Thanks to Richard Polton.) + +1998-07-19 Jim Blandy + + * lineio.scm (make-line-buffering-input-port): Don't use + ungetc-char-ready?, since we don't provide that function any + more. The unread-string function doesn't interact properly with + any of the standard I/O functions anyway. (Thanks to Andrew + Archibald.) + + * hcons.scm (hashq-cons-assoc): Don't assume the empty list is + false. Return false when we cannot find a matching entry in the + list. (Thanks to Andrew Archibald.) + +1998-07-16 Mikael Djurfeldt + + * boot-9.scm (export, export-syntax): New special forms: Export + bindings from a module. `(export name1 name2 ...)' can be used at + the top of a module (after `define-module') to specify which names + should be exported. It can be used as an alternative to + `define-public'. `export-syntax' works equivalently to `export' + but is intended for export of syntactic keywords. + (Thanks to Thien-Thi Nguyen.) + +1998-07-15 Mikael Djurfeldt + + * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'. + +1998-07-14 Mikael Djurfeldt + + * boot-9.scm: Let the user start in module `(guile-repl)' instead + of module `(guile)'. Also make sure that `(guile-repl)' uses + suitable modules. This change improves Guile stability + substantially since bindings will only be copied from the root + module: If the user redefines builtins in `(guile-repl)' it won't + affect the internal operation of Guile itself. + +1998-06-19 Mikael Djurfeldt + + * boot-9.scm (load-module): When loading files from within files + themselves being loaded: Use the directory path of the file being + loaded as root for relative filenames. (After suggestion by + Steven G. Johnson.) + +1998-06-15 Mikael Djurfeldt + + * emacs.scm (emacs-load): New feature: Eval in specified module. + +1998-06-14 Mikael Djurfeldt + + * readline.scm: Typo in regex module name. + +1998-06-13 Mikael Djurfeldt + + * readline.scm (apropos-completion-function): regexp-quote text to + be completed. + +1998-06-11 Mikael Djurfeldt + + * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid. + +1998-06-09 Mikael Djurfeldt + + * boot-9.scm: Check that (current-input-port) is a tty before + enabling readline. (Thanks to Michael N. Livshin.) + +1998-06-07 Mikael Djurfeldt + + * boot-9.scm (use-syntax): Turned into a macro inorder to be + similar in use to `use-modules'. + Example: (use-syntax (ice-9 syncase)) will 1. load the module + (ice-9 syncase), and, 2. install the procedure `syncase' as eval + transformer. + (internal-use-syntax): New procedure. + (process-define-module): Use `internal-use-syntax'. + +1998-05-19 Mikael Djurfeldt + + * Makefile.am (ice9_sources): Add emacs.scm. + +1998-05-13 Mikael Djurfeldt + + * readline.scm: Use the new readline facilities: Add the + possibility to control input and output ports; Add apropos + completion. + + * boot-9.scm: Antirevert Jim's readline code which he reverted + 19971027 and adapt it to the current readline interface. + + * boot-9.scm (top-repl): Only enable readline if not using the + Emacs interface; Only use repl prompt when using the readline port + from repl-read. (We don't want to see it when calling `read'.) + + * boot-9.scm (remove-hook!): Parenthesis bug. + +1998-05-11 Mikael Djurfeldt + + * boot-9.scm: Load readline module if readline is present. + + * readline.scm (apropos-completion-function): New procedure: + Symbolic completion. (Thanks to Andrew Archibald!) + +1998-04-22 Mikael Djurfeldt + + * boot-9.scm (process-define-module): Added keyword use-syntax. + +1998-04-19 Mikael Djurfeldt + + * nonblocking.scm: Removed. libguile is now inherently + nonblocking through the use of scm_internal_select. + + * emacs.scm: Removed use of nonblocking.scm. + + * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these + obsolete. + +1998-04-15 Mikael Djurfeldt + + * runq.scm (runq-control): Corrected spelling of enqueue!. + (Thanks to Karl M. Hegbloom.) + +1998-03-30 Mikael Djurfeldt + + * boot-9.scm: Added new run-time option interface eval-options. + +1998-03-28 Mikael Djurfeldt + + * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej + Stachowiak.) + +1998-01-30 Mikael Djurfeldt + + * threads.scm: Added simple error and signal handler. + (make-thread, begin-handler): Use this handler. The most + important effect of this is that signals get unmasked. + Previously, when a signal was thrown signals remained masked + (signals get masked when a signal is taken) which influenced other + threads. + +1998-01-01 Tim Pierce + + A better fix to the SLIB identity problem -- thanks to Marius Vollmer. + * slib.scm (identity): Unmake public. + (slib:eval): Evaluate inside `slib-module'. + +1997-12-24 Tim Pierce + + * boot-9.scm: Doc fix. + + * slib.scm (identity): Made public. + (home-vicinity): New function (from SLIB/Template.scm). + +1997-12-13 Tim Pierce + + * boot-9.scm (read-line): Rewritten to call %read-line for + improved speed. Minor user-visible changes: the new functions are hardwired to treat the LFD character as signifying end-of-line, so changing `scm-line-incrementors' will no longer affect the - behavior of read-line. On platforms which do not represent + behavior of read-line. On platforms which do not represent end-of-line with a LFD character, read-line should behave more like native line-processing facilities, but there is still a ways to go here. @@ -14,16 +710,16 @@ Sat Nov 29 01:24:46 1997 Mikael Djurfeldt * boot-9.scm (error-catching-loop, save-stack): `the-last-stack' is now a fluid. -1997-11-28 Tim Pierce +1997-11-28 Tim Pierce * boot-9.scm (find-and-link-dynamic-module): If a module directory contains a .la file (a libtool support file), attempt to extract - the shared library name from that file. If the .la file does not - exist, try to link against a .so file. Libtool-generated compiled + the shared library name from that file. If the .la file does not + exist, try to link against a .so file. Libtool-generated compiled modules should load more cleanly in Guile now. (try-using-libtool-name, try-using-sharlib-name): New functions. -Sun Nov 9 06:10:59 1997 Gary Houston +Sun Nov 9 06:10:59 1997 Gary Houston * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more usefully so they will work from a script. @@ -35,10 +731,10 @@ Sun Nov 9 06:10:59 1997 Gary Houston Mon Oct 27 02:05:49 1997 Jim Blandy - * boot-9.scm: Revert changes to this file from Oct 23. It turns - out to interact badly with the Emacs support and the Tcl/Tk - support. It's not a high enough priority at the moment to be - worth fixing. I'm leaving the other readline support in, though. + * boot-9.scm: Revert changes to this file from Oct 23. It turns + out to interact badly with the Emacs support and the Tcl/Tk + support. It's not a high enough priority at the moment to be + worth fixing. I'm leaving the other readline support in, though. Sat Oct 25 14:23:22 1997 Jim Blandy @@ -65,13 +761,13 @@ Wed Oct 22 18:26:57 1997 Jim Blandy * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm, string-fun.scm: Added copyright notices; reformatted. -Thu Oct 9 05:44:00 1997 Gary Houston +Thu Oct 9 05:44:00 1997 Gary Houston * expect.scm: (expect-regexec): new procedure, use it in expect-strings to fix the => syntax under the new regex system. (top): include regex module in define-module statement. -Wed Oct 8 03:16:01 1997 Gary Houston +Wed Oct 8 03:16:01 1997 Gary Houston * (error-catching-loop): new local variable "interactive". if #f, abort terminates the process. @@ -83,12 +779,12 @@ Wed Oct 8 03:16:01 1997 Gary Houston * boot-9.scm (inherit-print-state): If NEW-PORT contains a print-state, throw it away. -Fri Oct 3 12:00:00 Mikael Djurfeldt +Fri Oct 3 12:00:00 Mikael Djurfeldt * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of `0'. -Thu Oct 2 12:00:00 Mikael Djurfeldt +Thu Oct 2 12:00:00 Mikael Djurfeldt * boot-9.scm (struct-printer, make-struct-printer, set-struct-printer-in-vtable!, *struct-printer*): Removed. @@ -98,7 +794,7 @@ Thu Oct 2 12:00:00 Mikael Djurfeldt (record-type-name, record-type-fields): Decreased slot index by one; Use `vtable-offset-user'. -Thu Oct 2 12:00:00 Marius Vollmer +Thu Oct 2 12:00:00 Marius Vollmer * boot-9.scm (inherit-print-state): New experimental function. @@ -108,7 +804,7 @@ Tue Sep 30 13:12:48 1997 Jim Blandy * boot-9.scm: Split off modules into separate, autoloadable files. This reduces startup time from 10.5s to 5.5s (user cpu). * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm, - string-fun.scm: New files, containing stuff that used to be in + string-fun.scm: New files, containing stuff that used to be in boot-9.scm. * Makefile.am (ice9_sources): List new files here, for distribution and installation. @@ -125,7 +821,7 @@ Mon Sep 29 03:21:24 1997 Mikael Djurfeldt the first attempt (NAME) rather than the second (NAME.scm). * boot-9.scm: Bugfix: Hard-solder the print-option procedure into - the make-options macro so that we needn't refer to a global + the make-options macro so that we needn't refer to a global symbol. Sun Sep 28 21:40:24 1997 Mikael Djurfeldt @@ -158,9 +854,9 @@ Thu Sep 18 01:24:31 1997 Mikael Djurfeldt Tue Sep 16 22:09:50 1997 Mikael Djurfeldt * boot-9.scm (keyword->symbol, display-usage-report): Changed - length --> string-length. (Thanks to Aleksandar Bakic.) + length --> string-length. (Thanks to Aleksandar Bakic.) (separate-fields-discarding-char, separate-fields-after-char, - separate-fields-before-char): Bugfix from Maciej Stachowiak + separate-fields-before-char): Bugfix from Maciej Stachowiak . Thanks! (try-module-linked): Try to find module among those already registered. @@ -182,7 +878,7 @@ Thu Sep 11 02:31:38 1997 Mikael Djurfeldt Wed Sep 10 20:12:45 1997 Mikael Djurfeldt -* * boot-9.scm (primitive-macro?): New procedure. + * boot-9.scm (primitive-macro?): New procedure. * slib.scm: Added hack which transfers syntactic information from the builtin variable `define' to the slib version if module (ice-9 @@ -190,14 +886,14 @@ Wed Sep 10 20:12:45 1997 Mikael Djurfeldt expansion inside the slib module. * psyntax.ss (build-let, build-named-let): New output - constructors. + constructors. (build-lexical-var): Seed gensym with symbolic name. (self-evaluating?): Add keywords among self-evaluating types. (let): New core form. (if): Removed from core language. (or, and, let, cond): Removed syntactic definitions. (sc-expand3): New procedure: Expander which takes optional mode - and eval-syntactic-expanders-when arguments. + and eval-syntactic-expanders-when arguments. * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp. Should be used inside the (ice-9 syncase) module with (use-syntax @@ -207,7 +903,7 @@ Wed Sep 10 20:12:45 1997 Mikael Djurfeldt variable `define' to the slib version if module (ice-9 slib) has been loaded. -Fri Sep 5 05:47:36 1997 Mikael Djurfeldt +Fri Sep 5 05:47:36 1997 Mikael Djurfeldt * syncase.scm (sc-interface, sc-expand): Removed hook setup. (syncase): Publish syntax transformer to be used with @@ -217,21 +913,21 @@ Fri Sep 5 05:47:36 1997 Mikael Djurfeldt * boot-9.scm (module-type): Added `transformer'. (make-module): Modified initialization. (module-transformer, set-module-transformer!): Selector and - mutator for module-associated transformer. + mutator for module-associated transformer. (set-current-module): Use module-transformer to set - `scm:eval-transformer'. + `scm:eval-transformer'. (module-use!): Previous change reverted. -* (use-syntax): New function: Install a transformer in current - module. + (use-syntax): New function: Install a transformer in current + module. (sc-interface, sc-expand): Removed! :) -Fri Sep 5 03:09:09 1997 Mikael Djurfeldt +Fri Sep 5 03:09:09 1997 Mikael Djurfeldt * emacs.scm (emacs-load): Added new parameter `module'. * syncase.scm (putprop, getprop): Modified to use the object - properties of the variable object corresponding to the symbol; - This way we can ride on the mechanisms of the module system. + properties of the variable object corresponding to the symbol; + This way we can ride on the mechanisms of the module system. Changed `builtin-variable' calls to `define-public' calls. Setup the hooks sc-expand and sc-interface. @@ -242,25 +938,25 @@ Fri Sep 5 03:09:09 1997 Mikael Djurfeldt (module-use!): Set scm:eval-transformer to sc-expand when adding the syncase interface. -Thu Sep 4 14:57:04 1997 Mikael Djurfeldt +Thu Sep 4 14:57:04 1997 Mikael Djurfeldt * syncase.scm (putprop): Temporary fix which publishes new syntax globally (the old behaviour was complex and connected to the inner workings of the current module system). -Wed Sep 3 21:29:13 1997 Mikael Djurfeldt +Wed Sep 3 21:29:13 1997 Mikael Djurfeldt * psyntax.ss: Updated. psyntax.pp: Bugfix: Previous version had some leading "t":s cut off! -Tue Sep 2 00:26:42 1997 Mikael Djurfeldt +Tue Sep 2 00:26:42 1997 Mikael Djurfeldt * boot-9.scm (gensym): Removed (replaced by primitive). (obarray-gensym): Rewritten to use `gensym'. (gentemp): Rewritten to use `gensym'. -Mon Sep 1 20:08:32 1997 Mikael Djurfeldt +Mon Sep 1 20:08:32 1997 Mikael Djurfeldt * gtcl.scm (make-tcl-binder): Rewritten to choose bindings according to the following priorities: @@ -272,8 +968,8 @@ Mon Sep 1 20:08:32 1997 Mikael Djurfeldt (new-interpreter): New function. * gwish.scm: Moved initialization code for the-interpreter to - gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote - it; Call `new-interpreter'; Don't :use-module (guile). + gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote + it; Call `new-interpreter'; Don't :use-module (guile). Thu Aug 28 23:48:53 1997 Jim Blandy @@ -307,7 +1003,7 @@ Sun Aug 24 01:03:10 1997 Mikael Djurfeldt in stack-ref). * emacs.scm (emacs-load): New arguments: interactivep: when - non-false, send back results to Emacs; colnum: Column number; + non-false, send back results to Emacs; colnum: Column number; Use modules (ice-9 debug) and (ice-9 session); (no-stack, no-source): New simple-actions; (result-to-emacs): New procedure. Sends data to Emacs via the @@ -328,21 +1024,21 @@ Wed Aug 20 13:21:11 1997 Mikael Djurfeldt Tue Aug 19 02:39:41 1997 Mikael Djurfeldt * syncase.scm: Don't tamper with debug mode setting when enabling - macros. Instead cut the stack with start-stack. + macros. Instead cut the stack with start-stack. Load psyntax.pp with recording of positions turned off. * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =. -* * syncase.scm: New file: Guile-adaption for syntax-case macros. - psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by - R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman + * syncase.scm: New file: Guile-adaption for syntax-case macros. + * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by + R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman Mon Aug 18 21:58:25 1997 Mikael Djurfeldt -* * session.scm: New file: Session support. + * session.scm: New file: Session support. (apropos): New procedure: List bindings given regexp. -Sat Aug 16 18:44:24 1997 Gary Houston +Sat Aug 16 18:44:24 1997 Gary Houston * boot-9.scm: define tms accessors: clock, utime, stime, cutime, cstime. @@ -354,31 +1050,31 @@ Thu Aug 14 19:55:37 1997 Mikael Djurfeldt (linum) instead of (- linum 1). * slib.scm (slib:load): Use load-from-path instead of - primitive-load-path so that backtraces get narrowed properly at - the top. + primitive-load-path so that backtraces get narrowed properly at + the top. * boot-9.scm (top-repl): Save stack already in signal handler in order to narrow it correctly. (save-stack): Adjust narrowing tag for the top of load-stacks. -Tue Jul 29 01:18:08 1997 Gary Houston +Tue Jul 29 01:18:08 1997 Gary Houston * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup. (dup->fdes): deleted, now done in C. -Sat Jul 26 08:00:42 1997 Gary Houston +Sat Jul 26 08:00:42 1997 Gary Houston * boot-9.scm (setenv): new procedure, scsh compatible. Sat Jul 26 21:30:10 1997 Marius Vollmer * boot-9.scm (with-fluids): New macro to go with the - builtin `with-fluids*'. + builtin `with-fluids*'. Thu Jul 24 04:28:11 1997 Mikael Djurfeldt * slib.scm (install-require-module): In newer versions of slib - *catalog* is #f until the first access. Therefore we call + *catalog* is #f until the first access. Therefore we call require:provided? for a random feature if *catalog* is #f. Wed Jul 23 20:13:04 1997 Mikael Djurfeldt @@ -386,7 +1082,7 @@ Wed Jul 23 20:13:04 1997 Mikael Djurfeldt * boot-9.scm: If using emacs interface, enable backtraces automatically. -Mon Jul 21 06:45:45 1997 Gary Houston +Mon Jul 21 06:45:45 1997 Gary Houston * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes, dup, fdes->inport, fdes->outport, port->fdes): new procedures. @@ -405,7 +1101,7 @@ Fri Jul 11 00:13:43 1997 Jim Blandy Tue Jun 24 00:31:47 1997 Jim Blandy * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm, - poe.scm, slib.scm, tags.scm, threads.scm: Use normal list + poe.scm, slib.scm, tags.scm, threads.scm: Use normal list notation, instead of #/ notation. * expect.scm (expect-strings): Pass regexp/newline flag to @@ -423,7 +1119,7 @@ Mon Jun 23 16:13:38 1997 Jim Blandy * boot-9.scm (make-list): Remove the definition of this function from the (ice-9 common-list) module; make the `init' argument optional in the scm module's definition, to match the deleted - definition. Harmony reigneth? (Thanks to Bernard URBAN.) + definition. Harmony reigneth? (Thanks to Bernard URBAN.) Sun Jun 22 18:33:17 1997 Jim Blandy @@ -445,25 +1141,25 @@ Thu Jun 19 21:01:16 1997 Jim Blandy Fri Jun 13 00:32:04 1997 Jim Blandy * boot-9.scm (struct-printer): Fix off-by-one error in range - check. Correctly check for struct printer tag. + check. Correctly check for struct printer tag. * expect.scm: Turn this into a module, (ice-9 expect). (expect-port, expect-timeout, expect-timeout-proc, - expect-eof-proc, expect-char-proc, expect, expect-strings, - expect-select): Make these public definitions. + expect-eof-proc, expect-char-proc, expect, expect-strings, + expect-select): Make these public definitions. (expect-strings): Use make-regexp and regexp-exec, instead of regcomp and regexec. We've omitted the REG_NEWLINE flag; hope that's okay. * boot-9.scm (with-regexp-parts): Comment this out. It has no - users in the core, and relies on mildly hairy details of the old - regexp interface. + users in the core, and relies on mildly hairy details of the old + regexp interface. * test.scm: Re-enable tests asserting that '() is true, and not a boolean. This stuff has been true for a while. * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated - function names. + function names. * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc fixes. @@ -473,27 +1169,27 @@ Wed Jun 11 00:31:40 1997 Jim Blandy * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in ../configure.in. -Fri Jun 6 14:37:18 1997 Marius Vollmer +Fri Jun 6 14:37:18 1997 Marius Vollmer * boot-9.scm (struct-printer): Bugfix: Check the layout of the - vtable and not the one of the struct. + vtable and not the one of the struct. -Wed Jun 4 23:27:16 1997 Marius Vollmer +Wed Jun 4 23:27:16 1997 Marius Vollmer * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer, - make-struct-printer, set-struct-printer-in-vtable!): New bindings - to support printing of structures. - (record-type-vtable, make-record-type): Add slot to hold printing - function and initialize it with something appropriate. Removed - commented out printing code. + make-struct-printer, set-struct-printer-in-vtable!): New bindings + to support printing of structures. + (record-type-vtable, make-record-type): Add slot to hold printing + function and initialize it with something appropriate. Removed + commented out printing code. (record-type-name, record-type-fields): Adjusted slot offsets. (%print-module): Reduce argument list to "mod" and "port". -Tue Jun 3 17:04:18 1997 Jim Blandy +Tue Jun 3 17:04:18 1997 Jim Blandy * slib.scm (identity): New function, used by SLIB. -Sat May 31 18:57:12 1997 Gary Houston +Sat May 31 18:57:12 1997 Gary Houston * boot-9.scm: signal-handler, alarm-thunk: removed. don't define ticks-interrupt etc. @@ -510,7 +1206,7 @@ Fri May 30 18:08:10 1997 Jim Blandy Thu May 29 02:36:48 1997 Jim Blandy - * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere. + * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere. * boot-9.scm: If the `regex' feature is present, use the module (ice-9 regex). @@ -523,16 +1219,16 @@ Tue May 27 22:48:14 1997 Tim Pierce Mon May 26 17:24:48 1997 Jim Blandy * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm, - gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm, - oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm, - threads.scm: New address for FSF. + gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm, + oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm, + threads.scm: New address for FSF. Fri May 16 04:09:45 1997 Jim Blandy * debug.scm: Update copyright years; this file has been worked on - in 1997. + in 1997. -Thu May 15 07:56:08 1997 Gary Houston +Thu May 15 07:56:08 1997 Gary Houston * expect.scm: use gettimeofday instead of get-internal-real-time and use a floating point timeout when calling select. Untested, @@ -552,7 +1248,7 @@ Tue May 13 16:40:06 1997 Jim Blandy * Makefile.in: Regenerated, using automake-1.1p. -Tue May 13 02:48:49 1997 Gary Houston +Tue May 13 02:48:49 1997 Gary Houston * boot-9.scm (error-catching-loop): don't read a line from current input when quit is encountered, the previous change @@ -562,9 +1258,9 @@ Mon May 12 19:00:21 1997 Jim Blandy * boot-9.scm (scm-style-repl): After reading an expression, consume any trailing newline (perhaps preceded by whitespace), to - avoid screwing up GDB. More detail in comments. + avoid screwing up GDB. More detail in comments. -Mon May 5 13:18:38 1997 Jim Blandy +Mon May 5 13:18:38 1997 Jim Blandy * Makefile.am (ETAGS_ARGS): New variable, since we're not treating the Scheme code like code yet. @@ -573,17 +1269,17 @@ Mon May 5 13:18:38 1997 Jim Blandy Wed Apr 30 15:25:15 1997 Marius Vollmer * boot-9.scm (link-dynamic-module): Do not catch errors from - dynamic-link and dynamic-call. When the shared library exists it - is now assumed to be suitable for a dynamic C module. + dynamic-link and dynamic-call. When the shared library exists it + is now assumed to be suitable for a dynamic C module. Fri Apr 25 21:21:35 1997 Marius Vollmer * boot-9.scm (process-use-modules): New function to support the - use-modules macro + use-modules macro (use-modules): throw an error iff one of the requested modules can't be found. -Tue Apr 29 06:54:46 1997 Gary Houston +Tue Apr 29 06:54:46 1997 Gary Houston * boot-9.scm: don't define timer-thunk or gc-thunk. @@ -611,47 +1307,47 @@ Sat Apr 19 08:03:50 1997 Jim Blandy * boot-9.scm (eval-string, command-line, load-user-init): New functions. -Sat Apr 12 08:27:05 1997 Gary Houston +Sat Apr 12 08:27:05 1997 Gary Houston * boot-9.scm (log10): defined. -Tue Apr 1 17:46:49 1997 Gary Houston +Tue Apr 1 17:46:49 1997 Gary Houston * expect.scm (expect-select): correct the millisecond timeout arithmetic (from Marko.Kohtala@ntc.nokia.com). -Mon Mar 31 03:23:19 1997 Gary Houston +Mon Mar 31 03:23:19 1997 Gary Houston * boot-9.scm (open-input-pipe, open-output-pipe): defined here instead of in libguile. (tm:sec etc.) new accessors for broken-down time. (set-tm:sec etc.) new setters for broken-down time. -Thu Mar 27 05:06:00 1997 Gary Houston +Thu Mar 27 05:06:00 1997 Gary Houston * boot-9.scm (netent:addrtype, servent:port): added missing procedures. (netent:net, servent:proto): repaired. (utsname:sysname etc.): new accessors for uname. -Tue Mar 25 03:04:03 1997 Gary Houston +Tue Mar 25 03:04:03 1997 Gary Houston * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr, sockaddr:port): new functions. -Wed Mar 19 04:50:34 1997 Gary Houston +Wed Mar 19 04:50:34 1997 Gary Houston * boot-9.scm: define accessor procedures for the objects returned by getpw, getgr, gethost, getnet, getproto, getserv (e.g., passwd:name, where the first component is the name of the C structure - and the second is the unprefixed C member name.) + and the second is the unprefixed C member name.) -Tue Mar 18 18:39:31 1997 Gary Houston +Tue Mar 18 18:39:31 1997 Gary Houston * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent, setservent): no longer take an argument, it was bogus. -Thu Mar 13 00:13:41 1997 Gary Houston +Thu Mar 13 00:13:41 1997 Gary Houston * boot-9.scm (scm-error): deleted, reimplemented in C. @@ -660,7 +1356,7 @@ Mon Mar 10 15:48:31 1997 Mikael Djurfeldt * boot-9.scm (process-define-module): Modified to handle both keywords and symbols. -Sat Mar 8 04:32:44 1997 Gary Houston +Sat Mar 8 04:32:44 1997 Gary Houston * slib.scm: update read usage. @@ -672,31 +1368,31 @@ Sat Mar 8 04:32:44 1997 Gary Houston Adjust usage of primitive-load-path, read, which no longer take case_i or read-sharp arguments. -Sat Mar 8 00:07:54 1997 Mikael Djurfeldt +Sat Mar 8 00:07:54 1997 Mikael Djurfeldt * boot-9.scm: Added loading of session support module. * debug.scm: Removed `display-application'. (Replaced by - primitive procedure.) + primitive procedure.) * boot-9.scm (beautify-user-module!): Don't add the root module interface to the end of the use-list of the root module. -Thu Mar 6 07:26:34 1997 Gary Houston +Thu Mar 6 07:26:34 1997 Gary Houston * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted. -Wed Mar 5 20:30:24 1997 Gary Houston +Wed Mar 5 20:30:24 1997 Gary Houston * boot-9.scm: check use-emacs-interface for emacs support. -Sun Mar 2 19:47:14 1997 Gary Houston +Sun Mar 2 19:47:14 1997 Gary Houston * boot-9.scm (scm-style-repl): call repl-report-start-timing if read gets EOF. * (exit): alias for quit. -Sun Mar 2 05:25:11 1997 Gary Houston +Sun Mar 2 05:25:11 1997 Gary Houston * boot-9.scm (error-catching-loop thunk): use a status variable to return the quit args. @@ -706,7 +1402,7 @@ Sun Mar 2 05:25:11 1997 Gary Houston (error-catching-loop thunk): discard trailing junk after a (quit). -Sat Mar 1 15:24:39 1997 Mikael Djurfeldt +Sat Mar 1 15:24:39 1997 Mikael Djurfeldt * boot-9.scm: Removed the old printer code. @@ -717,10 +1413,10 @@ Sat Mar 1 15:24:39 1997 Mikael Djurfeldt Removed. These definitions are already present in r4rs.scm. * debug.scm (trace-entry, trace-exit): Check that we're on a repl - stack before printing traced frames; Re-enable trace flag at end - of handlers. + stack before printing traced frames; Re-enable trace flag at end + of handlers. -Sat Mar 1 00:10:38 1997 Mikael Djurfeldt +Sat Mar 1 00:10:38 1997 Mikael Djurfeldt * debug.scm: Add hook for reset of trace level at abort. @@ -728,18 +1424,18 @@ Sat Mar 1 00:10:38 1997 Mikael Djurfeldt (add-hooks!): New macro. Change hooks to use these functions. - * debug.scm: *Warning* This feature is a bit premature. I add - it anyway because 1. it is very useful, and, 2. you can start + * debug.scm: *Warning* This feature is a bit premature. I add + it anyway because 1. it is very useful, and, 2. you can start making it less premature by complaining to me and by modifying the source! :-) (trace): Given one or more procedure objects, trace each one. - Given no arguments, show all traced procedures. + Given no arguments, show all traced procedures. (untrace): Given one or more procedure objects, untrace each one. - Given no arguments, untrace all traced procedures. The tracing in - Guile have an advantage to most other systems: We don't create new - procedure objects, but mark the procedure objects themselves. - This means that also anonymous and internal procedures can be - traced. + Given no arguments, untrace all traced procedures. The tracing in + Guile have an advantage to most other systems: We don't create new + procedure objects, but mark the procedure objects themselves. + This means that also anonymous and internal procedures can be + traced. * boot-9.scm (error-catching-loop): Added handling of apply-frame and exit-frame exceptions. @@ -747,44 +1443,44 @@ Sat Mar 1 00:10:38 1997 Mikael Djurfeldt * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed. (set-repl-prompt!): Setter for repl prompt. (scm-style-repl): If prompt is #f, don't prompt; if prompt is a - string, display it; if prompt is a thunk, call it and display its - result; otherwise display "> ". - (Change suggested by Roland Orre .) + string, display it; if prompt is a thunk, call it and display its + result; otherwise display "> ". + (Change suggested by Roland Orre .) * r4rs.scm (%load-verbosely): Reverted change to - `module-defined?', since the module system isn't bootstrapped when - we load r4rs.scm. This is just a temporary fix to make the + `module-defined?', since the module system isn't bootstrapped when + we load r4rs.scm. This is just a temporary fix to make the repository version runnable. Thu Feb 27 23:25:47 1997 Mikael Djurfeldt * boot-9.scm: Removed the enabling of debug evaluator and - recording of source code positions. This was placed there for our - convenience, but it has already sneaked into the distribution - once... so we'd better add this in our local copies instead when - we need it. (These options are normally enabled at the end of + recording of source code positions. This was placed there for our + convenience, but it has already sneaked into the distribution + once... so we'd better add this in our local copies instead when + we need it. (These options are normally enabled at the end of boot-9.scm when loading the debug module.) Thu Feb 27 16:04:45 1997 Marius Vollmer * boot-9.scm (module-defined?): New function. (macroexpand-1, macroexpand): Use local-ref instead of defined? - and eval. + and eval. * r4rs.scm (%load-verbosely): Use "module-defined?" instead of - "defined?". + "defined?". * slib.scm (defined?): New function to take the place of the - builtin "defined?". It allways examines the slib module. + builtin "defined?". It allways examines the slib module. Mon Feb 24 21:46:15 1997 Mikael Djurfeldt * configure.in: Added AM_MAINTAINER_MODE -Sat Feb 15 04:51:20 1997 Gary Houston +Sat Feb 15 04:51:20 1997 Gary Houston * boot-9.scm (read-sharp): define directly, don't go through a %read-sharp layer. -Tue Feb 11 08:45:48 1997 Gary Houston +Tue Feb 11 08:45:48 1997 Gary Houston * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not uniform-vector-set1! which doesn't exist. @@ -794,7 +1490,7 @@ Mon Feb 10 03:01:48 1997 Mikael Djurfeldt * boot-9.scm (backtrace): Removed. (A C version now exists in backtrace.c.) -Fri Jan 24 06:05:36 1997 Gary Houston +Fri Jan 24 06:05:36 1997 Gary Houston * boot-9.scm (read-line!, read-delimited!, read-delimited, read-line): new procedures, see libguile/ChangeLog. @@ -804,18 +1500,18 @@ Thu Jan 16 17:07:03 1997 Marius Vollmer Added dynamic linking of modules. See libguile/DYNAMIC-LINKING. * boot-9.scm (split-c-module-name, convert-c-registered-modules, - init-dynamic-module, dynamic-maybe-call, - find-and-link-dynamic-module, link-dynamic-module, - try-module-dynamic-link, registered-modules): New definitions for - dynamic linking of modules. + init-dynamic-module, dynamic-maybe-call, + find-and-link-dynamic-module, link-dynamic-module, + try-module-dynamic-link, registered-modules): New definitions for + dynamic linking of modules. (resolve-module): Try to dynamically link the requested module - after failing to load it as Scheme code. + after failing to load it as Scheme code. -Wed Jan 8 05:50:14 1997 Gary Houston +Wed Jan 8 05:50:14 1997 Gary Houston * boot-9.scm (getservbyport, getservbyname): remove stray %. -Tue Jan 7 20:02:24 1997 Jim Blandy +Tue Jan 7 20:02:24 1997 Jim Blandy * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos that's what it is. @@ -824,13 +1520,13 @@ Tue Jan 7 20:02:24 1997 Jim Blandy the case of an empty buffer list. The old code assumed that '() was false. -Mon Jan 6 01:13:53 1997 Mikael Djurfeldt +Mon Jan 6 01:13:53 1997 Mikael Djurfeldt * boot-9.scm (use-modules): New macro (from Marius Vollmer). (use-modules ...) Put the the modules named by - ... on the use list of the current module. + ... on the use list of the current module. -Sun Jan 5 15:52:59 1997 Jim Blandy +Sun Jan 5 15:52:59 1997 Jim Blandy * boot-9.scm (error-catching-loop): Remove message saying that typing "$" will put you in the debugger. This isn't implemented @@ -845,20 +1541,20 @@ Sun Dec 22 23:27:25 1996 Jim Blandy Tue Dec 17 20:36:45 1996 Marius Vollmer * boot-9.scm (resolve-module): New optional parameter that - controls whether autoloading is attempted or not. Default is #t. + controls whether autoloading is attempted or not. Default is #t. (process-define-module): Don't autoload the defined module. (try-module-autoload): Don't autoload the directory modules. * boot-9.scm (process-define-module): Ensure that the-scm-module - is last in the `uses' list to allow shadowing builtin - bindings. All :use-module options are added in the order they - appear in the arguments but before anything already on the list - (such as the-scm-module). + is last in the `uses' list to allow shadowing builtin + bindings. All :use-module options are added in the order they + appear in the arguments but before anything already on the list + (such as the-scm-module). -Wed Dec 11 21:06:05 1996 Gary Houston +Wed Dec 11 21:06:05 1996 Gary Houston * slib.scm (slib-parent-dir): throw error if #f returned from - %search-load-path. + %search-load-path. Sat Nov 30 23:57:28 1996 Tom Tromey @@ -869,8 +1565,8 @@ Sat Nov 30 23:57:28 1996 Tom Tromey Wed Nov 27 14:16:14 1996 Marius Vollmer * boot-9.scm (macroexpand-1, macroexpand), slib.scm - (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a - function, use it accordingly. + (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a + function, use it accordingly. Thu Nov 21 11:12:10 1996 Jim Blandy @@ -890,7 +1586,7 @@ Wed Nov 20 14:45:27 1996 Jim Blandy * slib.scm (slib-parent-dir): Use string-length, not length. (Thanks to Bernard Urban.) -Sat Nov 2 20:00:42 1996 Mikael Djurfeldt +Sat Nov 2 20:00:42 1996 Mikael Djurfeldt * boot-9.scm: The debugging evaluator and recording of positions aren't enabled by default any longer (they are switched on in @@ -899,7 +1595,7 @@ Sat Nov 2 20:00:42 1996 Mikael Djurfeldt beginning of boot-9.scm to enable these. Call `provide' so that `records' are included among the - `*features*'. + `*features*'. The scheme for saving the stack has been adjusted: save-stack is now commonly available for saving the stack. Calling `save-stack' @@ -968,12 +1664,12 @@ Mon Oct 28 17:56:29 1996 Jim Blandy * r4rs.scm: New file. * boot-9.scm: Load r4rs.scm, first thing. (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file, - open-output-file, open-io-file, close-input-port, - close-output-port, close-io-port, call-with-input-file, - call-with-output-file, with-input-from-port, with-output-to-port, - with-error-to-port, with-input-from-file, with-output-to-file, - with-error-to-file, with-input-from-string, with-output-to-string, - with-error-to-string, the-eof-object): Definitions moved to + open-output-file, open-io-file, close-input-port, + close-output-port, close-io-port, call-with-input-file, + call-with-output-file, with-input-from-port, with-output-to-port, + with-error-to-port, with-input-from-file, with-output-to-file, + with-error-to-file, with-input-from-string, with-output-to-string, + with-error-to-string, the-eof-object): Definitions moved to r4rs.scm. Not all of them are R4RS, but those that are use those that are not. (load, %load-verbosely, %load-announce): Moved, along with code to @@ -989,11 +1685,11 @@ Mon Oct 28 17:56:29 1996 Jim Blandy =?, >?, and >=? deleted; they're defined that way by libguile now. * boot-9.scm (load): Simplified; primitive-load does most of this - work now. - (%load-announce-win): Removed; no longer used. Set %load-hook to - call %load-announce. + work now. + (%load-announce-win): Removed; no longer used. Set %load-hook to + call %load-announce. -Sun Oct 27 07:47:03 1996 Gary Houston +Sun Oct 27 07:47:03 1996 Gary Houston * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid, stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime, @@ -1014,16 +1710,16 @@ Mon Oct 21 18:52:36 1996 Jim Blandy Fri Oct 18 01:03:08 1996 Mikael Djurfeldt * boot-9.scm (handle-system-error): Added hooks before-error-hook, - after-error-hook, before-backtrace-hook and after-backtrace-hook - to the error handler. E.g.: fancy emacs support could plug into - these. + after-error-hook, before-backtrace-hook and after-backtrace-hook + to the error handler. E.g.: fancy emacs support could plug into + these. (save-stack): New function. The stack is now made differently - depending on the stack id. (The motivation is to make a better - choice regarding what stack frames to present to the user.) + depending on the stack id. (The motivation is to make a better + choice regarding what stack frames to present to the user.) (error-catching-loop): Stack handling code moved outside into - save-stack. + save-stack. -Thu Oct 17 20:33:08 1996 Gary Houston +Thu Oct 17 20:33:08 1996 Gary Houston * Makefile.in (scm_files): add expect.scm. @@ -1043,7 +1739,7 @@ Tue Oct 15 17:07:20 1996 Jim Blandy * boot-9.scm: Doc fixes. (make-module): Rework for readability. (make-root-module, make-scm-module): USES argument to make-module - should be '(), not #f. + should be '(), not #f. * boot-9.scm (try-load): %sys-load-path has been renamed to primitive-load-path; adjust call here. @@ -1051,15 +1747,15 @@ Tue Oct 15 17:07:20 1996 Jim Blandy Tue Oct 15 14:25:01 1996 Mikael Djurfeldt * boot-9.scm (signal-handler): Bugfix: Moved the recording of - the stack to the correct place: when it is decided to generate an + the stack to the correct place: when it is decided to generate an error-signal. Mon Oct 14 22:20:30 1996 Mikael Djurfeldt * boot-9.scm (error-catching-loop, signal-handler, - handle-system-error): Backtracing now works for signals aswell; - Backtracing mechanism can now identify the stack root created by - start-stack so that the user isn't exposed to system stack frames. + handle-system-error): Backtracing now works for signals aswell; + Backtracing mechanism can now identify the stack root created by + start-stack so that the user isn't exposed to system stack frames. Mon Oct 14 06:05:42 1996 Mikael Djurfeldt @@ -1070,22 +1766,22 @@ Mon Oct 14 04:21:51 1996 Mikael Djurfeldt * debug.scm (make-enable, make-disable): Simplified. * boot-9.scm: Renamed %%throw-handler-default --> - throw-handler-default. + throw-handler-default. ((handle-system-error key . arg-list)): Changed the way errors are reported. ((scm-style-repl)): Wrap up the call to eval in a start-stack - acro. + acro. ((error-catching-loop thunk)): Introduce a lazy-catch into - error-catching-loop so that the stack can be captured. + error-catching-loop so that the stack can be captured. Thu Oct 10 22:27:32 1996 Jim Blandy * mapping.scm (hash-table-mapping): Explicitly request that - make-vector fill new vectors with '(); this will make it easier to + make-vector fill new vectors with '(); this will make it easier to port Guile Scheme code to other Schemes. * boot-9.scm (make-print-style, make-print-table): Same. -Sun Oct 6 03:54:59 1996 Gary Houston +Sun Oct 6 03:54:59 1996 Gary Houston * boot-9.scm (load): rewritten again. Append "." to the default %load-path. @@ -1098,7 +1794,7 @@ Sun Oct 6 03:54:59 1996 Gary Houston (try-module-autoload module-name): use file-exists? before file-is-directory? -Sat Oct 5 18:54:03 1996 Mikael Djurfeldt +Sat Oct 5 18:54:03 1996 Mikael Djurfeldt * boot-9.scm: Added conditional loading of threads.scm. @@ -1110,7 +1806,7 @@ Sat Oct 5 18:54:03 1996 Mikael Djurfeldt * boot-9.scm: Name change %%bad-throw --> bad-throw. -Wed Oct 2 23:38:44 1996 Jim Blandy +Wed Oct 2 23:38:44 1996 Jim Blandy * boot-9.scm (make-record-type, record-constructor): Don't assume the empty list is false when parsing the argument list. @@ -1121,10 +1817,10 @@ Mon Sep 30 22:15:50 1996 Jim Blandy * boot-9.scm (load): Assume %load-path is always bound. -Sat Sep 28 00:15:37 1996 Gary Houston +Sat Sep 28 00:15:37 1996 Gary Houston - * boot-9.scm (error): replace another throw with scm-error. Throw - to 'misc-error instead of 'error (no need to distinguish these.) + * boot-9.scm (error): replace another throw with scm-error. Throw + to 'misc-error instead of 'error (no need to distinguish these.) Don't set up 'error as a key. Set up regex-error as a key, if regex is available. (signal-handler): use scm-error, not throw. @@ -1137,7 +1833,7 @@ Sat Sep 28 00:15:37 1996 Gary Houston (load): rewritten. load tries to open the file directly and with a .scm extension before searching the library directories (should "." be added to %load-path? then load could still open - directly files starting with "/"). + directly files starting with "/"). (try-module-autoload): use load, not load-with-path. (%load-indent): deleted, -2 was causing errors. @@ -1146,17 +1842,17 @@ Sat Sep 28 00:15:37 1996 Gary Houston Fri Sep 27 16:23:51 1996 Jim Blandy * boot-9.scm (%%bad-throw): Delete definition. 1) It's very - straightforward to provide the equivalent functionality using - (catch #t ...), so there's no need for the extra complexity. 2) - Outside the context of a read-eval-print loop (which Guile should - not require) it's not clear we should do anything more complicated - than print an error and exit; the user or REPL can establish - something better if it wants. 3) In that case, it's much more - robust to just do it in the C code. + straightforward to provide the equivalent functionality using + (catch #t ...), so there's no need for the extra complexity. 2) + Outside the context of a read-eval-print loop (which Guile should + not require) it's not clear we should do anything more complicated + than print an error and exit; the user or REPL can establish + something better if it wants. 3) In that case, it's much more + robust to just do it in the C code. -Tue Sep 24 06:53:04 1996 Gary Houston +Tue Sep 24 06:53:04 1996 Gary Houston - * boot-9.scm (%try-load): define using primitive-load. Previously + * boot-9.scm (%try-load): define using primitive-load. Previously %try-load itself was the primitive. (load-with-path): use scm-error instead of %load-announce-lossage. Errors are thrown to 'misc-error instead of 'could-not-load. @@ -1168,7 +1864,7 @@ Mon Sep 23 00:16:31 1996 Mikael Djurfeldt (make-record-type type-name fields): Temporarily remove support for printing of records (not possible yet with C printer). -Fri Sep 20 00:24:27 1996 Gary Houston +Fri Sep 20 00:24:27 1996 Gary Houston * boot-9.scm (file-exists?, file-is-directory): catch only system-error, not every kind of error. @@ -1178,7 +1874,7 @@ Thu Sep 19 16:02:46 1996 Jim Blandy * boot-9.scm: Formatting tweaks. -Wed Sep 18 09:07:37 1996 Gary Houston +Wed Sep 18 09:07:37 1996 Gary Houston * boot-9.scm (%%handle-system-error key): remove the code for SCM-style errors. handle the case that an unexpected number @@ -1192,20 +1888,20 @@ Wed Sep 18 09:07:37 1996 Gary Houston Create an error message instead of using numerical codes. (%%bad-throw): call error instead of throw if key not found. -Tue Sep 17 04:11:28 1996 Gary Houston +Tue Sep 17 04:11:28 1996 Gary Houston * boot-9.scm: initialize new error keys (see libguile/ChangeLog). (%%handle-system-error key): check subr is not #f before printing. Recognize %s (embed an argument using "display") and %S (embed an argument using "write"). -Sun Sep 15 03:55:35 1996 Gary Houston +Sun Sep 15 03:55:35 1996 Gary Houston * boot-9.scm (%%handle-system-error key): set args and rest to the empty list if they are #f. Initialize out-of-range as an error key. -Sat Sep 14 03:41:15 1996 Gary Houston +Sat Sep 14 03:41:15 1996 Gary Houston * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle. @@ -1224,14 +1920,14 @@ Fri Sep 13 04:58:11 1996 Mikael Djurfeldt operates on vector, nested-ref operates on nested namespace, local-ref operates on the local nested namespace. -Sat Sep 7 06:44:47 1996 Gary Houston +Sat Sep 7 06:44:47 1996 Gary Houston * boot-9.scm (%%handle-system-error): recognise errors thrown by lgh-error (fill-message etc.) (fill-message): check first whether args is null. (fill-message): bug fix and check that args is a list. -Thu Sep 5 11:33:41 1996 Jim Blandy +Thu Sep 5 11:33:41 1996 Jim Blandy * boot-9.scm: %load-path is initialized in C code now. (implementation-vicinity, parse-path): Deleted, along with code to @@ -1240,7 +1936,7 @@ Thu Sep 5 11:33:41 1996 Jim Blandy * boot-9.scm (in-vicinity): If the vicinity doesn't end with a "/", use one to separate it from the file. -Thu Aug 29 23:05:11 1996 Thomas Morgan +Thu Aug 29 23:05:11 1996 Thomas Morgan * boot-9.scm (%load-path): Add the site directory. Add the directory named after the version number. @@ -1268,14 +1964,14 @@ Thu Aug 29 21:48:47 1996 Jim Blandy Fri Aug 23 06:44:36 1996 Mikael Djurfeldt * boot-9.scm: Preliminary solution: optionally load the debug - module. Changed "gls" to "guile1.0b3". + module. Changed "gls" to "guile1.0b3". * debug.scm: New file: debug extensions. Wed Aug 21 13:06:56 1996 Mikael Djurfeldt * boot-9.scm (print-vector): Renamed weak-hash-table? --> - weak-key-hash-table?. (Again!) + weak-key-hash-table?. (Again!) Tue Aug 20 07:31:39 1996 Mikael Djurfeldt @@ -1285,7 +1981,7 @@ Tue Aug 20 07:31:39 1996 Mikael Djurfeldt * poe.scm (funcq-memo): Renamed weak-hash-table --> weak-key-hash-table. -Sat Aug 3 06:16:35 1996 Gary Houston +Sat Aug 3 06:16:35 1996 Gary Houston * boot-9.scm (*null-device*): global constant from goonix. (move->fdes): adjusted for boolean primitive-move->fdes. return @@ -1295,21 +1991,21 @@ Sat Aug 3 06:16:35 1996 Gary Houston (open-input-file, open-output-file, file-exists?, file-is-directory?): modified for open-file change (does not return #f). -Thu Aug 1 02:52:42 1996 Jim Blandy +Thu Aug 1 02:52:42 1996 Jim Blandy * Makefile.in (dist-dir): New target for new dist system. (manifest): Deleted. * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a directory, and needs special treatment in the dist-dir target. -Thu Aug 1 09:00:21 1996 Gary Houston +Thu Aug 1 09:00:21 1996 Gary Houston * boot-9.scm: remove the wrappers for '%' system primitives, now that they throw errors directly. remove make-simple-wrapper and similar functions. protect a call to getenv which may now throw an exception. -Wed Jul 31 23:44:42 1996 Gary Houston +Wed Jul 31 23:44:42 1996 Gary Houston * boot-9.scm (false-if-exception): new macro.