1 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
3 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
5 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
7 * getopt-long.scm: Rewrite.
11 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
13 * debugger.scm (run-last-command): Return current state if
14 last-command fluid is not yet set.
16 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
18 * getopt-long.scm: Refill to fit in 80 columns.
20 (process-long-option): Fix bug: Keep track of `optional'
21 value-required info and use this to determine whether or not the
22 next element is to be taken as the option arg.
24 2001-07-31 Keisuke Nishida <knishida@nurs.or.jp>
26 * boot-9.scm (process-define-module): Fixed a bug that did not
27 handle :use-syntax correctly.
29 2001-07-24 Marius Vollmer <mvo@zagadka.ping.de>
31 * syncase.scm (psyncomp): Removed, it is now in
34 2001-07-23 Marius Vollmer <mvo@zagadka.ping.de>
36 * Makefile.am (psyntax.pp): Enable rule for psyntax.pp only in
37 maintainer mode. Use compile-psyntax.scm for actual compilation.
38 Make sure the uninstalled guile is used.
39 (EXTRA_DIST): Distribute compile-psyntax.scm
40 * compile-psyntax.scm: New file.
42 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
44 * and-let-star.scm, debug.scm, debugger.scm, history.scm,
45 lineio.scm, null.scm, optargs.scm, r4rs.scm, r5rs.scm,
46 receive.scm, safe-r5rs.scm, streams.scm: Updated copyright notice.
48 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
50 * r5rs.scm: Use `re-export' instead of `export' for re-exported
51 primitives. Thanks Neil!
53 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
55 * safe-r5rs.scm: Use `re-export' instead of `export' for
56 re-exported core bindings. Do not re-export `numerator',
57 `denominator' and `rationalize' since Guile does not have them.
58 Continue to use `export' for `null-environment'.
60 * null.scm: Use `re-export' instead of `export' for re-exported
61 core bindings. Do not export `unquote' and `unquote-splicing'
62 since there aren't definitions for them.
64 * boot-9.scm (compile-interface-spec): Bug fix: the keyword
65 argument is "renamer" not "rename".
67 2001-07-09 Rob Browning <rlb@defaultvalue.org>
69 * boot-9.scm: Fixed the sense of the error message when read-eval?
70 is #f. Thanks to Matthias for catching this.
72 2001-07-06 Rob Browning <rlb@defaultvalue.org>
74 * boot-9.scm: added fix suggested by Matthias for #. read
75 extension -- now only works if read-eval? is not #f.
77 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
79 * arrays.scm: Don't install a read-hash-extension for 'b': #b
80 is already defined by R5RS. Further, there is already a working
81 read syntax for bitvectors, starting with #*.
83 2001-06-30 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
85 * Makefile.am (ice9_sources): Removed tags.scm.
87 * tags.scm: Removed file.
89 2001-06-29 Neil Jerram <neil@ossau.uklinux.net>
91 Changes to support tracing other than inside the repl-stack that
92 is set up by the REPL code in boot-9.scm.
94 * debug.scm (trace-entry, trace-exit): Conditionalize tracing on
95 whether the current stack id is in `traced-stack-ids'.
96 (traced-stack-ids, trace-all-stacks?, trace-stack, untrace-stack):
99 2001-06-27 Marius Vollmer <mvo@zagadka.ping.de>
101 * common-list.scm (member-if): Put in docstring for member-if, it
102 was a cut-n-paste error previously.
104 2001-06-26 Neil Jerram <neil@ossau.uklinux.net>
106 * debug.scm (trace): Set evaluator trap options to handle tracing.
107 Don't reset trace-level to 0.
109 * boot-9.scm (lazy-handler-dispatch): Remove enter-frame-handler,
110 apply-frame-handler and exit-frame-handler. (They're replaced by
111 evaluator trap options.)
113 2001-06-25 Michael Livshin <mlivshin@bigfoot.com>
115 * streams.scm (stream-for-each-many): typo fix.
117 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
119 * boot-9.scm (re-export-syntax): New.
121 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
123 * boot-9.scm (system-error-errno): New.
125 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
127 * common-list.scm (remove-if, remove-if-not): Fix typo: use
128 `pred', not `pred?', in the body.
130 2001-06-13 Thien-Thi Nguyen <ttn@revel.glug.org>
133 No longer use module `(ice-9 slib)'.
134 Use module `(ice-9 pretty-print)'.
135 No longer require `pretty-print'.
137 (slib:error): Delete.
138 (match:error, match:syntax-err): Rewrite.
140 Thanks to Dale P. Smith.
145 Clean up some docstrings; nfc.
149 2001-06-11 Marius Vollmer <mvo@zagadka.ping.de>
151 * boot-9.scm: Use `begin-deprecated' instead of testing
152 `include-deprecated-features' when conditionally using the (ice-9
153 rdelim) module. See below.
155 2001-06-10 Gary Houston <ghouston@arglist.com>
157 * boot-9.scm: use the (ice-9 rdelim) module if
158 include-deprecated-features is true.
160 2001-06-09 Marius Vollmer <mvo@zagadka.ping.de>
162 * pretty-print.scm (generic-write): Use `object->string' to print
165 * optargs.scm (lambda*): Make sure that BODY is always put into a
166 real body context so that it can contain internal definitions.
167 Thanks to Matthias Köppe!
169 * format.scm: Use (ice-9 and-let-star).
170 (format:out): Initialize format:output-col with current column of
171 `port', if it has one. Else leave it alone. Thanks to Matthias
174 2001-06-05 Marius Vollmer <mvo@zagadka.ping.de>
176 * boot-9.scm (module-ensure-local-variable!): Renamed from
177 `module-ensure-variable!'. Make sure that there really is a local
178 variable, not just a visible one.
179 (module-ensure-variable!): See above.
180 (module-export!): Behave like always when deprecated features are
181 enabled, but issue a warning when re-exporting a variable. When
182 deprecated features are disabled, only export local variables,
183 creating them uninitialized when they don't yet exist.
184 (module-re-export!): New. Use this for re-exporting imported
186 (re-export): New, to go with `module-re-export!'.
188 * format.scm: Added kluge at top that keeps `export' from
189 re-exporting the `format' variable of the `(guile)' module.
191 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
193 * boot-9.scm (named-module-use!, top-repl): Use resolve-interface
194 instead of resolve-module to get at the used module.
196 2001-06-04 Gary Houston <ghouston@arglist.com>
198 * rw.scm: export write-string/partial.
200 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
202 Added exception notice to all files.
204 * boot-9.scm (module-export!): Revert 2001-06-02 change. It
205 caused more problems than it solved by accidentally re-exporting
206 importing bindings once in a while.
208 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
210 * boot-9.scm (try-load-module): Bracket calls to try-module-linked
211 and try-module-dynamic-link with `begin-deprecated'.
212 (split-c-module-name, convert-c-registered-modules,
213 registered-modules, register-modules, warn-autoload-deprecation,
214 init-dynamic-module, dynamic-maybe-call, dynamic-maybe-link,
215 find-and-link-dynamic-module, try-using-libtool-name,
216 try-using-sharlib-name, link-dynamic-module, try-module-linked,
217 try-module-dynamic-link): Deprecated. Activate deprecation
219 (define-public): Define binding before exporting it. This is to
220 avoid accidentally re-exporting a imported binding.
222 2001-06-02 Marius Vollmer <mvo@zagadka.ping.de>
224 * Makefile.am (psyntax.pp): Make it dependent on psyntax.ss and
225 fix command so that it works.
227 * session.scm (apropos-fold, submodules, apropos): Be careful not
228 to access unbound variables.
230 * boot-9.scm (module-ensure-variable!): New.
231 (module-export!): Use it to ensure that there is a variable to
232 export. Previously, we would always create a new variable, copy
233 the value over, and export the new variable. This confused
234 syncase since it keys important properties on variables.
236 2001-06-01 Marius Vollmer <mvo@zagadka.ping.de>
238 * boot-9.scm (top-repl): Revert part of the 2001-05-19 change.
239 When defining the guile-user module, do not use any modules. Add
240 them to guile-user when `top-repl' is called.
241 (resolve-interface): Expect keyword arguments instead of a `spec'.
242 (compile-interface-spec, compile-define-module-args): New.
243 (define-module): Use compile-define-module-args to construct
244 argument for process-define-module.
245 (use-modules, use-syntax): Use compile-interface-spec to construct
246 arguments for process-use-modules.
247 (process-define-module): Expect keywords in argument list.
249 2001-05-25 Marius Vollmer <mvo@zagadka.ping.de>
251 * boot-9.scm (cond-expand): Define using
252 `procedure->memoizing-macro' to get at the lexical environment.
253 Use `env-module' instead of `current-module' to get the right
256 * Makefile.am (ice9_sources): Added "pretty-print.scm".
257 * pretty-print.scm: New file, copied from SLIB.
258 (generic-write): Return the `unspecified' value.
260 * format.scm: Autoload `pretty-print'.
262 2001-05-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
264 * boot-9.scm (%cond-expand-table): New hash table mapping modules
266 (cond-expand): Use feature information associated with modules.
268 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
270 * boot-9.scm (use-srfis): Do not extend the srfi-0 feature list.
271 (cond-expand-provide): New procedure.
273 2001-05-22 Marius Vollmer <mvo@zagadka.ping.de>
275 * boot-9.scm (define-module): Return the new module.
276 (process-define-module): Use `spec' instead of `module-name' when
277 getting the syntax transformer. Thanks to Matthias Köppe!
279 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
281 * boot-9.scm (use-syntax): Do not set scm:eval-transformer when
282 deprecated features have been removed. Thanks to Dale P. Smith!
284 * optargs.scm (#\&): Use `issue-deprecation-warning' instead of
287 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
289 * psyntax.ss (build-lexical-var): Use gensym instead of gentemp.
290 * match.scm: Likewise.
291 * expect.scm: Likewise.
292 * psyntax.pp: Regenerated.
294 * rdelim.scm: Call `%init-rdelim-builtins'.
296 * rw.scm: Call `%init-rw-builtins'.
298 * boot-9.scm (process-define-module): Do not call
300 (define-module): Do it here, in the expansion.
301 (top-repl): Do not define '(guile-user)' module and conditionally
302 load `(ice-9 threads)' and/or `(ice-9 regex)' here. Do it on
303 top-level as the last thing in boot-9.scm instead.
304 (%load-path): Use `list' instead of `cons' to create a single
305 element list when adding "." to it.
306 (process-define-module, process-use-modules, module-export!): Add
307 dummy definitions prior to booting the mdule system.
309 2001-05-18 Thien-Thi Nguyen <ttn@revel.glug.org>
311 * boot-9.scm: (resolve-interface, use-srfis): Small
313 (process-define-module): Internal proc `unrecognized'
314 now accepts arg; update callers.
315 Reverse order of interfaces added to module to be
316 consistent with that specified in `define-module' form.
318 * session.scm: (help): Use `provided?' instead of `feature?'.
319 Factor "TYPE not found for X" output into internal proc.
320 Support `(quote SYMBOL)'; call `search-documentation-files'.
321 (help-doc): If initial search fails, try using
322 `search-documentation-files'.
323 (apropos-fold-accessible, apropos-fold-all): Use `identity'
324 instead of `(lambda (x) x)'. "An identity edit", ha ha.
325 (help-usage): Mention support for "(help 'NAME)".
327 * documentation.scm: Fix documentation for Guile Documentation
328 Format Version 2: Mention required terminating newlines.
330 (find-documentation): Delete.
331 (search-documentation-files): New proc, exported.
332 (object-documentation): Use `search-documentation-files'.
334 2001-05-15 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
336 * boot-9.scm (cond-expand-features): Made the feature list public,
337 so it can be manipulated by `use-srfis'.
338 (use-srfis): New procedure.
340 2001-05-15 Thien-Thi Nguyen <ttn@revel.glug.org>
342 * boot-9.scm (resolve-interface): Signal error now also if
343 used module's public interface is not available.
344 No longer call `beautify-user-module!'.
345 Signal error now also if selected binding not found.
347 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
349 Merge from mvo-vcell-clenaup-1-branch.
351 * session.scm (apropos): Do not use `builtin-bindings', always use
353 (apropos-fold): Likewise.
355 * optargs.scm (bound?): Removed. We should not play games with
356 the magical undefined value.
357 (let-o-k-template): Use `#f' instead of the undefined value as
358 the default default for bindings.
360 * boot-9.scm (module-make-local-var!): Do not pass name hint to
361 make-undefined-variable, use `variable-set-name-hint!' instead.
362 (root-module-closure): Removed.
363 (make-root-module): Set the obarray of the module to the
364 `pre-modules-obarray'. Do not use a lazy binder.
365 (scm-module-closure): Removed.
366 (make-root-module): Set the obarray of the module to the
367 `pre-modules-obarray'. Do not use a lazy binder. Set the
368 eval-closure to a `standard-interface-eval-closure'.
369 (module-define!): Do not pass name hint to make-variable, use
370 `variable-set-name-hint!' instead.
371 (make-modules-in, beautify-user-module, resolve-module): Moved
372 towards the beginning of boot-9.scm, across the call to
373 set-current-module that boots the module system. These
374 definitions need to be visible at the time of the first
375 `set-current-module' call.
376 (try-module-autoload): Define a `#f' before the call to
377 set-current-module. It is redefined later.
379 * debug.scm: Use `module-set!' instead of `variable-set!' to set
380 insert `debug-options' into the-root-module.
381 * format.scm: Likewise, for `format'.
383 2001-05-15 Marius Vollmer <mvo@zagadka.ping.de>
385 * boot-9.scm (error-catching-repl): Call the E
386 ("eval'er") procedure via call-with-values and call the P
387 ("printer") for each produced value. Thanks to Matthias Köppe!
389 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
391 * boot-9.scm (cond-expand): Reduce feature list to built-in
394 2001-05-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
396 * boot-9.scm (-1+, return-it, string-character-length, flags):
399 2001-05-11 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
401 * boot-9.scm: Added `cond-expand' (SRFI-0) for portable feature
404 2001-05-10 Thien-Thi Nguyen <ttn@revel.glug.org>
406 * boot-9.scm (resolve-module): Abstraction maintenance: Use
407 `module-public-interface'.
408 (resolve-interface): Extend to handle selection and renaming in spec.
409 Arg is now `spec' which can be a simple module name (list of symbols)
411 (symbol-prefix-proc): New proc.
412 (%autoloader-developer-mode): Delete.
413 (process-define-module): Use "define-module" in error messages
414 instead of "defmodule". Factor error into internal proc.
415 Rewrite `use-module' and `use-syntax' handlers.
416 Replace some single-arm `if-not' constructs w/ `or'.
417 (process-use-modules): Arg is now `module-interface-specs',
418 which is passed through to `resolve-interface' as before; nfc.
419 (named-module-use!, top-repl): Abstraction maintenance: Use
422 2001-05-06 Thien-Thi Nguyen <ttn@revel.glug.org>
424 * q.scm, runq.scm, getopt-long.scm: Update copyright.
425 Surround commentary w/ standard markers; nfc.
427 * expect.scm: Update copyright.
428 Fix commentary typo; nfc.
430 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
432 * psyntax.ss: make sure emacs knows it's scheme code.
434 2001-05-05 Neil Jerram <neil@ossau.uklinux.net>
436 * boot-9.scm (use-syntax): Change error message to say
437 `use-syntax' rather than `use-modules'.
439 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
441 * safe-r5rs.scm: Fix typo: make-rectangualr => make-rectangular.
443 2001-05-02 Marius Vollmer <mvo@zagadka.ping.de>
445 * boot-9.scm (begin-deprecated): New.
446 (call-with-deprecation): Removed.
447 (id): Use `issue-deprecation-warning' instead of
448 `call-with-deprecation'. Wrap definition in `begin-deprecated'.
449 (eval-in-module): Manifest deprecation via `begin-deprecation' and
450 `issue-deprecation-warning'.
451 (warn-autoload-deprecation): Deactivated.
453 2001-04-26 Marius Vollmer <mvo@zagadka.ping.de>
455 * boot-9.scm (the-module, set-current-module, current-module):
456 Removed, they are now defined in libguile.
458 2001-04-29 Gary Houston <ghouston@arglist.com>
460 * rw.scm: new file, for module (ice-9 rw).
461 * Makefile.am: add rw.scm.
463 2001-04-28 Thien-Thi Nguyen <ttn@revel.glug.org>
465 * boot-9.scm, optargs.scm:
466 Surround commentary w/ standard markers; nfc.
468 * threads.scm, time.scm, channel.scm, expect.scm:
471 2001-04-27 Thien-Thi Nguyen <ttn@revel.glug.org>
473 * documentation.scm: Update copyright.
475 Use `define-module' `:export' clause instead of `define-public'.
476 Autoload (ice-9 regex) on `match:suffix'.
478 (default-in-line-re, default-after-line-re): New vars.
479 (default-scrub): New proc.
480 (file-commentary): New proc, exported.
481 (object-documentation): Expand docstring; nfc.
483 * session.scm: Update copyright.
486 (help): Consider a list of symbols that does not start with
487 `quote' as a module name and call `module-commentary' on it.
488 (module-filename, module-commentary): New procs.
490 (apropos): Use `identity' instead of deprecated `id'.
491 (help-usage): Add blurb about "(help (my module))" support.
493 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
495 * Makefile.am (ice9_sources): Remove srfi-8.scm.
497 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
499 * srfi-8.scm: removed in favor of srfi/srfi-8.scm - (wasn't ever
500 in a production release).
502 2001-04-25 Keisuke Nishida <kxn30@po.cwru.edu>
504 * channel.scm: New file.
505 * Makefile.am (ice9_sources): Include channel.scm.
507 2001-04-19 Keisuke Nishida <kxn30@po.cwru.edu>
509 * receive.scm (receive): Use `define-macro'.
511 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
513 * boot-9.scm (load-compiled): New variable, initialized in the VM.
514 (try-module-autoload): Try loading compiled modules if applicable.
516 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
518 * boot-9.scm (call-with-deprecation): New procedure.
519 (identity): New procedure.
522 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
524 * boot-9.scm (defmacro, define-macro, define-syntax-macro):
525 Define only at the top level.
527 2001-04-06 Thien-Thi Nguyen <ttn@revel.glug.org>
529 * threads.scm: Update copyright.
531 Use `export' and `export-syntax' instead of
532 `define-public' and `defmacro-public'.
534 (make-thread): Rename first arg to `proc'; nfc.
535 (begin-thread, monitor): Rename second arg to `rest'; nfc.
536 (with-mutex): Rename second arg to `body'; nfc.
538 2001-04-06 Neil Jerram <neil@ossau.uklinux.net>
540 * boot-9.scm (warn-autoload-deprecation): Close parenthesis in
541 "You just tried to autoload ..." message.
543 2001-04-05 Keisuke Nishida <kxn30@po.cwru.edu>
545 * Makefile.am (ice9_sources): Add history.scm.
546 * history.scm: Create the module (value-history) at the beginning.
548 2001-03-29 Marius Vollmer <mvo@zagadka.ping.de>
550 * boot-9.scm (init-dynamic-module): Fix typo in call to
551 warn-autoload-deprecation. I feel silly.
553 2001-03-27 Marius Vollmer <mvo@zagadka.ping.de>
555 * r4rs.scm (call-with-values): New definition, defers to
558 2001-03-26 Marius Vollmer <mvo@zagadka.ping.de>
560 * boot-9.scm (warn-autoload-deprecation): New function.
561 (init-dynamic-module): Use it here to print warning. Only give
562 warning when a module has actually been found.
564 2001-03-25 Marius Vollmer <mvo@zagadka.ping.de>
566 * boot-9.scm (init-dynamic-module): Issue warning about
567 auto-loading of compiled code modules being deprecated.
569 * Makefile.am (ice9_sources): Added "time.scm".
571 2001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
573 * time.scm (time): Reimplemented as a procedure call.
574 (Thanks to Marius Vollmer)
576 2001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
578 * safe-r5rs.scm (list): Export.
580 2001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
582 * boot-9.scm (before-eval-hook, after-eval-hook,
583 before-print-hook, after-print-hook): New hooks.
584 (scm-style-repl): Call these hooks.
586 * history.scm: New file.
588 2001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
590 * time.scm: New file.
592 2001-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
594 * oldprint.scm: Removed.
596 2001-03-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
598 * arrays.scm (make-array): Added quote in front of ().
600 2001-03-12 Keisuke Nishida <kxn30@po.cwru.edu>
602 * common-list.scm (count-if): New procedure.
604 2001-03-10 Neil Jerram <neil@ossau.uklinux.net>
606 * buffered-input.scm (make-buffered-input-port): New, more general
607 buffered input procedure. Does not assume that a newline
608 character should be interpolated between chunks of input returned
610 (make-line-buffered-input-port): Redefine in terms of
611 make-buffered-input-port.
613 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
615 * match.scm: Don't export defstruct. Use (unquote defstruct) instead.
617 2001-03-09 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
619 * Makefile.am (psyntax.pp): Added rule for producing psyntax.pp.
621 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
623 * match.scm: export defstruct.
625 2001-03-08 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
627 * psyntax.ss: Added FSF copyright notice. Added a notice of
628 changes in order to comply with paragraph 2a of the GPL. (Thanks
631 2001-03-07 Neil Jerram <neil@ossau.uklinux.net>
633 * buffered-input.scm (make-line-buffered-input-port): Don't set
634 the continuation flag for leading whitespace. Thanks to Dirk
635 Herrmann for the suggestion.
637 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
639 * optargs.scm (rest-arg->keyword-binding-list): Use "'()" instead
642 * buffered-input.scm: New file, with guts of line buffered input
643 port implementation extracted from guile-readline/readline.scm.
645 2001-03-03 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
647 * stack-catch.scm: New file.
649 * Makefile.am (ice9_sources): Added stack-catch.scm.
651 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
653 * boot-9.scm, rdelim.scm: Use "'()" instead of "()" in all places
654 where the empty list is meant.
656 2001-02-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
658 * boot-9.scm (save-stack): Use `primitive-eval' for stack
659 cutting. Makes backtraces work again! Also added a reference to
660 save-stack from the place in the repl where the primitive-eval
663 2001-02-25 Keisuke Nishida <kxn30@po.cwru.edu>
665 * match.scm: New file, including Andrew K. Wright's pattern matcher.
666 * Makefile.am (ice9_sources): Added match.scm.
668 2001-02-16 Marius Vollmer <mvo@zagadka.ping.de>
670 * boot-9.scm (eval-when, eval-case): Renamed `eval-when' to
671 `eval-case', everywhere.
673 2001-02-13 Marius Vollmer <mvo@zagadka.ping.de>
675 * boot-9.scm (define-public): Removed spurious call to
676 `interaction-evironment'.
677 (define-public, defmacro-public): Use `export' instead of explicit
679 (eval-when): New macro.
680 (define-module, use-modules, use-syntax, export): Use it to
681 restrict the use of these forms to the top level.
682 (define-public, defmacro-public): Only export binding when on
684 (process-define-module): Call `set-current-module' with the
686 (define-module): Simply call `process-define-module' without any
687 fuss (but only on top-level).
688 (named-module-use!): New function.
689 (top-repl): Do not use `define-module'. Use equivalent low-level
692 2001-02-11 Marius Vollmer <mvo@zagadka.ping.de>
694 * boot-9.scm (scm-style-repl): Use `primitive-eval' instead of
696 (define-public): Do not use `eval'.
698 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
700 * and-let-star-compat.scm: Display the warning to the
701 `current-error-port'.
703 2001-02-04 Marius Vollmer <mvo@zagadka.ping.de>
705 Avoid the use of "*" in file names for the benefit of lesser
708 * and-let-star.scm, and-let*.scm: Renamed `and-let*.scm' to
709 `and-let-star.scm'. Updated module name as well.
710 * and-let-star-compat.scm: New file, installed as `and-let*.scm'.
711 * Makefile.am (ice9_sources): Replaced "and-let*.scm" with
713 (install-data-local): Install "and-let-star-compat.scm" as
714 "and-let*.scm", ignoring errors.
715 (EXTRA_DIST): Distribute `and-let-star-compat.scm'.
717 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
719 This patch fixes a problem reported by Martin Grabmueller about
720 the impossibility to access readline's run-time options.
722 * boot-9.scm (define-option-interface): New macro. Allows to
723 conveniently define a group of option interface functions.
725 (readline-options readline-enable readline-disable,
726 readline-set!): Moved to guile-readline/readline.scm.
728 2001-01-24 Gary Houston <ghouston@arglist.com>
730 * boot-9.scm: don't import (ice-9 rdelim) here. it's done
732 * rdelim.scm: export the C primitives too.
733 * documentation.scm: use (ice-9 rdelim).
735 2001-01-21 Gary Houston <ghouston@arglist.com>
737 * rdelim.scm: new file implementing module (ice-9 rdelim).
738 * ice-9.scm (scm-line-incrementors read-line! read-delimited!
739 read-delimited read-line): moved to rdelim.scm.
740 scm-line-incrementors is not exported.
741 * boot-9.scm: import (ice-9 rdelim) for backwards compatibility,
743 * lineio.scm: use module (ice-9 rdelim).
744 * Makefile.am (ice9_sources): add rdelim.scm.
746 2000-12-29 Dirk Herrmann <D.Herrmann@tu-bs.de>
748 * boot-9.scm (root-module-closure, scm-module-closure): Remove
749 calls '(symbol-interned? #f s)'. Formerly, these calls were
750 basically no-ops, guaranteed to return #t if 's' was a symbol.
751 After the separation of symbols and bindings, a call to
752 '(symbol-interned? #f s)' will only return #t if there really is a
753 binding for 's' in the scm_symhash table. Thanks to Dale P. Smith
754 for providing a test case that helped finding this bug.
756 2000-12-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
758 * session.scm (apropos): Completed the last patch, which did only
759 half the job. Thanks to Dale P. Smith.
761 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
763 * session.scm (apropos, apropos-fold): There are no weak bindings
766 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
768 * boot-9.scm (top-repl): Lookup 'use-emacs-interface in
771 2000-12-07 Neil Jerram <neil@ossau.uklinux.net>
773 * emacs.scm (flush-whitespace): Fix spelling typo ("recieving").
775 2000-11-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
777 * boot-9.scm (read-delimited), lineio.scm
778 (make-line-buffering-input-port), regex.scm (match:prefix,
779 match:suffix, match:substring, regexp-substitute/global), slib.scm
780 (slib-parent-dir), string-fun.scm (split-after-char,
781 split-before-char, split-discarding-char, split-after-char-last,
782 split-before-char-last, split-discarding-char-last,
783 split-before-predicate, split-after-predicate,
784 split-discarding-predicate, separate-fields-discarding-char,
785 separate-fields-after-char, separate-fields-before-char,
786 string-prefix-predicate, sans-surrounding-whitespace,
787 sans-trailing-whitespace, sans-leading-whitespace,
788 sans-final-newline): Use substring instead of
789 make-shared-substring.
791 2000-11-26 Gary Houston <ghouston@arglist.com>
793 * boot-9.scm: values?, get-values, values, call-with-values:
794 removed. values and call-with-values are now primitives and
795 the other two were only exported by accident. don't define
796 *values-rtd* record type or handle multiple values in
799 2000-11-07 Gary Houston <ghouston@arglist.com>
801 * popen.scm (open-output-pipe): added docstrings for open-input-pipe
802 and open-output-pipe.
804 2000-11-06 Gary Houston <ghouston@arglist.com>
806 * popen.scm (open-process): bug fix: don't use
807 close-all-ports-except to close ports in the child process, since
808 it causes port buffers to be flushed. they may be flushed again
809 in the parent, causing duplicate output. use a more elaborate
810 method for setting up the child descriptors (thanks to David
811 Pirotte for the bug report).
812 standard file descriptors 0, 1, 2 in the child process
813 are now set up from current-input-port etc., where possible.
815 2000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
817 * syncase.scm (eval): string=? requires a string argument.
818 Thanks to Dale P. Smith for the patch.
820 2000-10-15 Neil Jerram <neil@ossau.uklinux.net>
822 * optargs.scm: Fix typos in commentary for bound? and lambda*.
824 2000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
826 * session.scm (apropos, apropos-fold): regexp-exec does not
827 accept symbol arguments any more. Thanks to Dale P. Smith for the
830 2000-09-30 Gary Houston <ghouston@arglist.com>
832 * posix.scm (setgrent): pass #t, not #f. thanks to
835 2000-09-29 Neil Jerram <neil@ossau.uklinux.net>
837 * documentation.scm (find-documentation-in-file): Modified
838 according to changed format of guile-procedures.txt caused by my
839 snarfing/makeinfo changes in libguile.
841 * session.scm (help-doc): Improvements to (help) output: (i) a
842 friendlier Emacs-style introduction line; (ii) where the help arg
843 matches multiple documented entries, print an initial list of the
844 entries for which documentation is found, before printing the
845 actual documentation entries themselves.
847 2000-09-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
849 * boot-9.scm: Removed comment. (Thanks to Brad Knotwell.)
851 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
853 * syncase.scm (putprop): Use the high-level property interface.
855 2000-09-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
857 * psyntax.ss (build-lexical-var): Use gentemp instead of gensym;
858 Convert first argument to a string.
860 * calling.scm (excursion-function-syntax,
861 getter-and-setter-syntax,
862 delegating-getter-and-setter-syntax): Call gensym with string
863 argument. (Thanks to Dale P. Smith.)
865 * oldprint.scm (print-table-add!): Ditto.
867 * boot-9.scm (gentemp): Moved to symbols.c.
869 2000-08-27 Marius Vollmer <mvo@zagadka.ping.de>
871 * boot-9.scm (make-object-property): New function.
873 2000-08-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
875 * boot-9.scm (make-record-type): Use `string-append' instead of
877 (symbol-append): Map `symbol->string' on
879 (obarray-symbol-append, obarray-gensym): Simply removed. I don't
880 think I'll announce this in NEWS even. One of the functions never
882 (find-and-link-dynamic-module, keyword->symbol): Use
884 (try-module-autoload, process-define-module): Rewrote using R5RS
887 2000-08-24 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
889 * psyntax.ss (set!): Added generalized set! support to core syntax
892 2000-08-19 Marius Vollmer <mvo@zagadka.ping.de>
894 * optargs.scm (#\&): Changed #:allow-other-keys-value to
895 #:allow-other-keys. Thanks to Bill Schottstaedt!
897 2000-08-17 Marius Vollmer <mvo@zagadka.ping.de>
899 * optargs.scm (#\&): Emit warning about `#&' being deprecated.
901 2000-08-16 Marius Vollmer <mvo@zagadka.ping.de>
903 * optargs.scm: Replaced `#&' reader syntax with keywords.
905 2000-08-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
907 * format.scm (format:obj->str): Made tail-recursive. (Thanks to
910 2000-08-13 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
912 * psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
913 `(interaction-environment)' as second arg to `eval'. This is
914 completely equivalent with the state before the change to eval of
915 2000-08-11, but we should extend psyntax.ss to be module aware.
916 (Thanks to Ian Bicking.)
918 * emacs.scm (emacs-symdoc): Parenthesis fix.
920 2000-08-11 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
922 * r5rs.scm (interaction-environment): Removed definition. (Is now
923 provided by libguile/modules.c.)
925 * safe-r5rs.scm (null-environment): Bugfix: Should include
928 * boot-9.scm (record-constructor, record-accessor,
929 record-modifier, scm-style-repl): Add second arg to eval.
930 (read-hash-extend #\.): Ditto. (This is actually a bugfix!)
931 (eval-in-module): Redefined to be eval and deprecated.
933 * syncase.scm (eval): Add second arg both in definition and use.
935 * slib.scm (slib:eval): Use eval instead of eval-in-module.
936 (defmacro:eval): Eval in (interaction-environment).
938 * safe-r5rs.scm (eval): Removed definition.
940 * emacs.scm (emacs-eval-request):
941 (emacs-symdoc): (This procedure needs updating!)
943 2000-08-10 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
945 * boot-9.scm: Added note about dependency in modules.h to
946 definition of module-type.
948 * Makefile.am (ice9_sources): Added receive.scm, srfi-8.scm.
950 * receive.scm, srfi-8.scm: New files.
952 * boot-9.scm (scm-style-repl): Print multiple values on successive
954 (process-define-module): Bugfix: Make sure that exports are done
955 *after* all used interfaces has been added.
957 2000-07-24 Marius Vollmer <mvo@zagadka.ping.de>
959 * common-list.scm (uniq): Made tail-recursive. Thanks to thi!
961 2000-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
963 * boot-9.scm (expt): In case of negative integer exponents return
964 an exact result if the input paramters were exact. Thanks to
965 Mikael for the suggestion.
967 2000-07-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
969 * boot-9.scm (expt): Make sure that integer-expt is only called
970 if the exponent is a non-negative integer.
972 2000-07-01 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
974 * boot-9.scm (process-define-module): Bugfix: Only check the CDR
977 2000-06-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
979 * popen.scm: gc-thunk is deprecated. Use after-gc-hook instead.
981 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
983 * common-list.scm (intersection, set-difference, remove-if,
984 remove-if-not): Made tail-recursive. Thanks to William Webber
987 (delete-if!, delete-if-not!): Renamed parameter from `list' to
988 `l' in order to avoid confusion. Note: These functions are not
991 2000-06-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
993 * boot-9.scm: Turned `the-module', `*top-level-lookup-closure*',
994 and `scm:eval-transformer' into fluids.
996 * boot-9.scm (purify-module!, module-export!): New procedures.
997 (export): Rewritten using `module-export!'.
998 (process-define-module): New define-module options: pure, export.
1000 (scm-style-repl): Added optional module argument.
1002 * null.scm, r5rs.scm, safe-r5rs.scm, safe.scm: New modules.
1004 2000-06-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1006 * session.scm (make-fold-modules): Detect circular references in
1007 module graph. (Thanks to Matthias Köppe.)
1009 2000-06-20 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1011 * session.scm: Use module (ice-9 regex).
1012 (help): Regexp-quote a name given as a symbol.
1014 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1016 * common-list.scm (list*): Removed, since this function is
1017 implemented as a primitive in libguile/list.c.
1019 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1021 * session.scm (help): Warn user if 'regex isn't provided.
1023 * Makefile.am (ice9_sources): Removed getopt-gnu-style.scm.
1025 * getopt-gnu-style.scm: Removed deprecated module.
1027 2000-06-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1029 * boot-9.scm (make-autoload-interface): Set init value for uses to
1031 (make-modules-in): Name modules with their real (= full) names.
1032 (the-root-module, the-scm-module): Named `(guile)' instead of
1034 (the-scm-module): Set kind to 'interface.
1036 * Makefile.am (ice9_sources): Replaced doc.scm with
1039 * session.scm (ice-9): Use module (ice-9 documentation).
1040 (name): Use the name property if everything else fails.
1041 (apropos-fold): New procedure.
1042 (apropos-internal): Re-implement in terms of `apropos-fold'.
1045 * doc.scm: Removed module (ice-9 doc).
1047 * documentation.scm: New module (ice-9 documentation).
1049 2000-06-08 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1051 * doc.scm (documentation-files): Renamed from `doc-files'.
1052 (write-all): Removed.
1053 (find-documentation): Renamed from `documentation'. Return
1054 documentation string instead of printing it. Not exported.
1056 Tue Jun 6 09:21:28 2000 Greg J. Badros <gregb@go2net.com>
1058 * session.scm: Update references to `proc-doc' to be
1059 `proc-documentation'
1061 * doc.scm: Cleaned up a great deal. Put variables at the top of
1062 the file, eliminated `object-documentation' that was broken
1063 (referencing Scwm), drop `help' as session.scm has a better
1064 supported version of that procedure. Rename `proc-doc' to
1065 `proc-documentation' -- `procedure-documentation' is a primitive
1066 getter function, so I use the shorter name for this more useful
1067 function. (Alternatively, we could rename the primitive
1070 2000-06-05 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1072 * boot-9.scm (error-catching-loop): Inform about debugger on error.
1074 2000-06-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1076 * boot-9.scm (scm-module-closure): New procedure: Was previously
1077 anonymous. Now needed in modules.c.
1078 (make-module): Use `standard-eval-closure' to create the eval
1081 2000-05-14 Gary Houston <ghouston@arglist.com>
1083 * boot-9.scm (load-user-init): rewritten. first work out the home
1084 directory and then try to open the file (previously it could try
1085 to open a file in more than one place). catch exceptions when
1086 trying to get a directory from the user database. don't check
1087 that ~/.guile is not a directory before trying to load it (a lack
1088 of ~/.guile is not a crime, but if the file is not valid for any
1089 reason then primitive-load will raise an error).
1091 2000-05-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1093 * boot-9.scm (abs): Don't set to magnitude. abs now does not
1094 accept complex numbers as parameter.
1096 2000-05-09 Marius Vollmer <mvo@zagadka.ping.de>
1098 * common-list.scm (delete-if-not!): Bug fix of bug fix: change
1099 label of named let to `delete-if-not'. Sorry.
1101 2000-05-08 Marius Vollmer <mvo@zagadka.ping.de>
1103 * common-list.scm (doc fixes): Talk about `true values' instead of
1104 `#t' when a function treats all non-#f valuers the same.
1105 (remove-if-not): Bug fix: call remove-if-not
1106 instead of remove-if when iterating.
1107 (delete-if-not!): Bug fix: call delete-if-not! instead of
1108 delete-if! when iterating.
1110 2000-04-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1112 * r4rs.scm (close-input-port, close-output-port): Removed.
1114 2000-04-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1116 * session.scm (help): New macro. Prints helpful information.
1118 2000-04-10 Gary Houston <ghouston@arglist.com>
1120 * popen.scm (open-process): after forking, close all ports except
1121 the end of the pipe to the parent. otherwise move->fdes and
1122 the exec'd program and the exit handlers can interfere with file
1123 descriptors still in use in parent ports.
1125 2000-04-09 Gary Houston <ghouston@arglist.com>
1127 * popen.scm (close-process-quietly): new procedure. use it from
1128 reap-pipes to avoid errors or hanging during background cleanup.
1130 2000-04-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1132 * format.scm (format:obj->str): Handle circular references. Also,
1133 print improper lists with (x y . z) syntax rather than as
1134 individual pairs. (This code should probably be integrated into C
1135 level facilities. It is currently terribly slow.)
1137 2000-04-03 Michael Livshin <mlivshin@bigfoot.com>
1139 * streams.scm (stream-fold, stream-for-each): don't use named let,
1140 because it prevents the gc from junking the stream argument.
1142 Thu Mar 9 08:05:08 2000 Greg J. Badros <gjb@cs.washington.edu>
1144 * slib.scm: Back-out change to software-type -- renamed
1145 slib:software-type to software-type, and leave it non-public.
1147 Thu Mar 2 12:20:52 2000 Greg J. Badros <gjb@cs.washington.edu>
1149 * boot-9.scm: Drop unused definition of sfx function -- thanks
1152 Wed Mar 1 12:21:02 2000 Greg J. Badros <gjb@cs.washington.edu>
1154 * streams.scm: Doc patch from Richard Kim, using MIT Scheme as
1155 source of the numerous very short changes.
1157 Sun Feb 13 18:03:19 2000 Greg J. Badros <gjb@cs.washington.edu>
1159 * slib.scm: Rename software-type to slib:software-type and make it
1162 * r4rs.scm: Added documentation; largely cut and pasted from R4RS
1165 Sun Feb 13 17:49:29 2000 Greg J. Badros <gjb@cs.washington.edu>
1167 * common-list.scm: Added documentation; largely cut and pasted
1170 2000-02-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1172 * format.scm (format): Reintroduce (define format format:format)
1173 so that the binding in the public interface of the module will be OK.
1175 2000-01-30 Gary Houston <ghouston@arglist.com>
1177 * boot-9.scm (find-and-link-dynamic-module): pass strings, not symbols,
1180 2000-01-29 Gary Houston <ghouston@arglist.com>
1182 * expect.scm (expect): don't call char-ready? before expect-select,
1183 since select now checks port buffers itself. don't bother to check
1184 the time first either, since expect-select does it.
1186 Thu Jan 20 12:57:36 2000 Greg J. Badros <gjb@cs.washington.edu>
1188 * format.scm: Use (variable-set! (builtin-variable 'format)) to
1189 re-define format to be format:format (instead of just define,
1190 which interacts poorly with the module system). Thanks to Shuji
1191 Narazaki for this change.
1193 Tue Jan 11 10:49:22 2000 Greg J. Badros <gjb@cs.washington.edu>
1195 * boot-9.scm expect.scm, syncase.scm: Switch to new style
1196 `simple-format' message strings: substitute ~A for %s, and ~S for
1199 * boot-9.scm: Added (define format simple-format) to expose that
1200 primitive via the simpler name until format.scm is loaded.
1202 2000-01-09 Marius Vollmer <mvo@zagadka.ping.de>
1204 * boot-9.scm (try-using-libtool-name): Do not bother to look
1205 inside libtool ".la" file, dynamic-link does this for us now.
1207 1999-12-15 Gary Houston <ghouston@freewire.co.uk>
1209 * slib.scm (library-vicinity, home-vicinity,
1210 scheme-implementation-type, scheme-implemenation-version):
1211 use define-public to export from the module.
1213 Wed Dec 15 08:32:09 1999 Greg J. Badros <gjb@cs.washington.edu>
1215 * doc.scm: Use `%library-dir' and the other system directories,
1216 not the quickly defuncted `library-dir' that I added before
1217 realizing the former existed. Thanks Brad Knotwell!
1219 Sun Dec 12 19:18:52 1999 Greg J. Badros <gjb@cs.washington.edu>
1221 * Makefile.am, doc.scm: Added doc.scm.
1223 1999-12-12 18:54:06 1999 Greg J. Badros <gjb@cs.washington.edu>
1225 * popen.scm, slib.scm: Added some docstrings for procedures that
1226 were primitives that I encountered in posix.texi.
1228 1999-11-19 Gary Houston <ghouston@freewire.co.uk>
1230 * Makefile.am (ice9_sources): add arrays.scm.
1232 * boot-9.scm: load arrays.scm if 'array is provided.
1234 * arrays.scm: new file with stuff from boot-9.scm.
1236 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
1238 * boot-9.scm (read-hash-extend to set up arrays): add 'l' for
1239 long_long uniform vectors.
1241 1999-11-17 Gary Houston <ghouston@freewire.co.uk>
1243 * networking.scm (sethostent, setnetent, setprotoent, setservent):
1244 take an optional argument STAYOPEN. default is #f.
1246 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
1248 * Makefile.in: Deleted from CVS repository. Run the autogen.sh
1249 script to create generated files like this one.
1251 1999-09-23 Gary Houston <ghouston@freewire.co.uk>
1253 * boot-9.scm (load-user-init): check that the posix feature is
1254 available before using getpw and getuid.
1255 (top-repl): don't install handlers for SIGINT etc., without posix.
1256 (file-is-directory?): use 'posix instead of i/o-extensions to
1258 (load-user-init): use file-exists? and file-is-directory? to
1259 check for .guile, instead of stat.
1260 (file-is-directory?): don't display the file name if posix not
1262 (feature?): I guess this is deprecated. redefined using "provided?"
1263 and changed users in boot-9.scm to "provided?".
1264 Conditionally load posix.scm and networking.scm.
1266 posix.scm, networking.scm: new files. Move definitions from
1267 boot-9.scm if they are only useful with posix/networking available.
1269 * Makefile.am (ice9_sources): add posix.scm, networking.scm.
1271 1999-09-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1273 * debugger.scm (read-and-dispatch-commands): Handle other throws
1274 than 'exit-debugger.
1276 * boot-9.scm (before-signal-stack): New fluid.
1277 (top-repl): Set before-signal-stack in the signal handler.
1279 * debugger.scm (eval-handler): Handle unhandled exceptions.
1281 1999-09-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1283 * debugger.scm ("p"): New alias for "evaluate";
1284 Mark module with :no-backtrace.
1285 ("position"): New command.
1286 (source-position, display-position): New procedures.
1287 (display-source): Display position of expression, if available.
1288 (catch-user-errors): Return #f on error. (Commands are expected
1289 to return a valid state.)
1290 (read-and-dispatch-command): Bugfix: Return old state on error.
1292 1999-09-16 Jim Blandy <jimb@savonarola.red-bean.com>
1294 * regex.scm (regexp-substitute/global): Handle the end of the
1295 match list and an empty match list identically. (Thanks to Greg
1298 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1300 * debugger.scm ("evaluate"): Replaced `write-line' with calls to
1301 `write' and `newline' since write-line doesn't write but displays.
1303 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1305 * debugger.scm ("evaluate"): Newline after no env announcement.
1307 * debug.scm, emacs.scm: Updated copyright notices.
1309 * boot-9.scm (make-autoload-interface): Bugfix.
1310 (top-repl): Autoload debugger.
1312 * debugger.scm ("backtrace"): Don't pass length param to
1313 display-backtrace if it wasn't explicitly given by the user.
1314 (write-frame-long/application): Also print corresponding source
1316 ("evaluate"): Evaluate in local environment frame, if existent;
1319 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1321 * format.scm (format:format-work): Use #\tab and #\page instead of
1322 slib:form-feed and slib:tab. (Thanks to Ceri Storey.)
1324 * format.scm (format:abort): Call error, not slib:error.
1326 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1328 * boot-9.scm (using-readline?): New procedure: Returns #t if
1329 readline is used by the repl run by this thread.
1330 (handle-system-error): Print "Backtrace:" before backtrace since
1331 this is no longer done by display-backtrace.
1333 * debug.scm (frame-number->index): Optionally take stack as
1336 * debugger.scm: Use the frame number abstraction which allows for
1337 both forward and backward views of the stack
1338 (write-frame-index-short, write-frame-index-long):
1339 Use selector `frame-number';
1340 (select-frame-absolute): Use frame-number->index.
1341 ("backtrace"): Use builtin backtrace printing.
1343 Use readline conditionally.
1345 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1347 * regex.scm (fold-matches, list-matches): New functions.
1348 (regexp-substitute/global): Rewritten again in terms of
1349 list-matches, to get null match behavior correct.
1351 * regex.scm (regexp-substitute/global): Rewrite so that 'post at
1352 the end of the item list actually causes a tail call. (Thanks to
1355 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
1357 * readline.scm: Moved to ../guile-readline.
1359 * boot-9.scm (top-repl): Removed code for activating readline.
1361 * Makefile.am: Removed mention of readline.scm.
1363 * Makefile.in: Regenerated.
1365 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1367 Delete the test which compares the configuration date of libguile
1368 with the configuration date of ice-9. This test yields too many
1369 false positives to be helpful. For example, if you build Guile
1370 for several architectures but have them all share a "share"
1371 directory (which is supposed to work), then all but one
1372 architecture's Guile will complain that the configuration dates
1373 don't match. Which is true, but indicates nothing wrong.
1374 * boot-9.scm: Delete code which compares ice-9-config-stamp with
1375 libguile-config-stamp.
1376 * version.scm.in: Delete.
1377 * Makefile.am (ice9_generated): Delete.
1378 (subpkgdata_DATA): Remove ice9_generated.
1379 (EXTRA_DIST): Remove version.scm.in.
1380 * Makefile.in: Regenerate.
1382 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1384 * debugger.scm: New file: Initial version of the Guile debugger
1385 written by Chris Hanson. (The debugger isn't finished, but is
1386 included in Guile anyway since it is already quite useful.)
1388 * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9
1389 session) (ice-9 threads) (ice-9 regex) from guile-user only if
1390 top-repl is called. This makes startup time for scripts 30% of
1391 what it was before... Removed redundant code for loading of
1394 * Makefile.am (ice9_sources): Added debugger.scm.
1396 1999-08-29 Keisuke Nishida <kxn30@po.cwru.edu>
1398 * boot-9.scm (try-module-autoload): Use %search-load-path.
1400 1999-08-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1402 * boot-9.scm: Removed old style hooks.
1403 (inherit-print-state): Rwwritten to use port-with-print-state.
1405 1999-08-20 James Blandy <jimb@mule.m17n.org>
1407 Remove support for the #/ path list syntax entirely.
1408 * boot-9.scm (read-path-list-notation,
1409 read-path-list-notation-warning): Deleted.
1410 Don't register read-path-list-notation-warning as a reader for
1411 objects starting with '#/'.
1413 1999-08-05 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1415 GOOPS needs the observer protocol specified for the new module
1416 system. Here's a simple version for the old module system:
1417 * boot-9.scm (module-observers, module-weak-observers,
1418 module-observer-id, set-module-observers!,
1419 set-module-observer-id!): New accessors.
1420 (module-type): Added slots `observers', `weak-observers' and
1422 (module-observe, module-observe-weak, module-unobserve,
1423 module-modified): New procedures.
1424 (module-make-local-var!, module-add!, module-remove!,
1425 module-clear!, module-define!, module-use!): Call module-modified.
1427 1999-07-29 Marius Vollmer <mvo@zagadka.ping.de>
1429 * boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
1432 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1434 * streams.scm: New module, contributed by Michael Livshin.
1435 * Makefile.am (ice9_sources): List it.
1436 * Makefile.in: Regenerated.
1438 * boot-9.scm (read-delimited!): Put the terminator in the correct
1441 1999-06-29 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
1443 * readline.scm: Bugfix: Avoid getting the continued-lines prompt
1444 at multiple calls to read.
1445 (promtp2): Variable for continued-lines prompt.
1446 (make-readline-port): Use prompt2.
1447 (set-readline-prompt!): New optional arg which sets
1448 continued-lines prompt.
1450 * boot-9.scm (top-repl): Set/clear readline prompts before/after
1451 reading expressions.
1453 1999-06-18 Jim Blandy <jimb@savonarola.red-bean.com>
1455 * ls.scm (ls, lls): Handle no arguments as meaning to look in
1456 `(current-module)'. (Patch from Thien-Thi Nguyen.)
1458 1999-06-14 Jim Blandy <jimb@savonarola.red-bean.com>
1460 * string-fun.scm (split-before-predicate, split-after-predicate,
1461 split-discarding-predicate): Make these public. (Thanks to
1464 1999-06-13 Gary Houston <ghouston@easynet.co.uk>
1466 * more changes to expect.scm, to avoid the one-character lookhead
1467 that was introduced to fix the $ problem:
1469 * expect.scm (expect): call the match proc an extra time at end
1470 of file and set the eof? argument appropriately. call
1471 expect-eof-proc only if the last call didn't match.
1472 * expect.scm (expect-strings): change port to eof? in match proc.
1473 * expect.scm (expect-regexec): take an eof indicator as an argument
1476 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1478 * Makefile.am (ice9_sources): Add popen.scm to list.
1479 * Makefile.in: Regenerated.
1481 Fixes for expect from Gary Houston <ghouston@easynet.co.uk>:
1483 * expect.scm (expect-regexec): define 'eof-next?'. I don't
1484 know why it was missing. also don't peek for end of lines
1485 unless expect-strings-exec-flags contains regexp/noteol.
1486 (expect-strings-exec-flags): initialise to regexp/noteol.
1488 Gary Houston's open-buffer port patches:
1490 1999-04-01 Gary Houston <ghouston@easynet.co.uk>
1492 * popen.scm: applied fixes from Greg Harvey. use a guardian
1493 and a gc-thunk so that cleanup is done if a pipe is garbage
1494 collected or closed with close-port. use a weak hash-table instead of
1497 1999-03-20 Gary Houston <ghouston@easynet.co.uk>
1499 * expect.scm (expect): call the match proc with the port instead.
1500 (expect-strings): use peek-char to get the next char. this has
1501 the advantage of getting the handling of $ "correct", but the
1502 disadvantage of needing to get (and maybe block for) an extra character
1503 from the port when it may not be needed. hence:
1504 (expect-strings-exec-flags): new variable/parameter, supplies
1505 flags for regexp-exec. if this includes regexp/noteol, then
1506 automatic regexp/noteol handling (requiring an extra peeked char)
1507 is enabled. default is regexp/noteol.
1508 (expect-strings-compile-flags): new variable/parameter, supplies
1509 flags for make-regexp. default is regexp/newline.
1511 1999-03-15 Gary Houston <ghouston@easynet.co.uk>
1513 * expect.scm (expect): call the match proc with an extra char,
1514 peeked from the stream.
1515 (expect-strings): build a match proc which takes the extra char.
1516 (expect-regexec): take an extra arg "eof-next?" and use it
1517 to decide whether the regexp/noteol flag should be added.
1519 1999-02-26 Gary Houston <ghouston@easynet.co.uk>
1521 * boot-9.scm (top-repl): don't flush all ports at exit.
1522 (error-catching-loop): likewise.
1524 1998-12-23 Gary Houston <ghouston@easynet.co.uk>
1526 * boot-9.scm (scm-style-repl): -read: don't call
1527 consume-trailing-whitespace if val is eof object. Allows
1528 exiting repl with single control-D.
1530 1998-12-06 Gary Houston <ghouston@easynet.co.uk>
1532 * boot-9.scm (error-catching-loop): don't force output within
1533 error catching loop after quit received.
1534 (top-repl): flush all ports when the repl terminates.
1536 * boot-9.scm (error-catching-loop): flush all ports before
1537 primitive exit if non-interactive.
1538 force-output on current-error-port if interactive.
1540 * boot-9.scm (reopen-file): deleted.
1541 * popen.scm (open-output-pipe, open-input-pipe): moved from
1543 * popen.scm: new file.
1545 1999-06-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
1547 * boot-9.scm (iota): replaced by a tail recursive version.
1548 (reverse-iota): removed.
1550 1999-06-03 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
1552 * optargs.scm (lambda*): Bugfix: Replaced ARGLIST -->
1553 non-optional-args. (Thanks to David Lutterkort.)
1555 1999-05-09 Jim Blandy <jimb@savonarola.red-bean.com>
1557 * string-case.scm: Removed; functions moved to libguile/strop.c
1558 (which could be dynamically linked in the future anyway).
1559 * Makefile.am (ice9_sources): Don't list string-case.scm.
1560 * Makefile.in: Regenerated.
1561 * format.scm: Don't bother importing (ice-9 string-case).
1563 1999-05-02 Jim Blandy <jimb@savonarola.red-bean.com>
1565 * boot-9.scm (provided?): New function.
1567 * Makefile.am: Add string-case.scm and format.scm to ice9_sources.
1568 * Makefile.in: Regenerated.
1570 * string-case.scm: New file, brought in from SLIB, and adapted to
1571 Guile's module system.
1573 * format.scm: New file, brought in from SLIB, with the following
1575 (format:format): If the first argument is the format string, stick
1576 a #f on the front of it, so it is now a valid CL format argument
1577 list. This is easier than changing everyplace else (like the
1578 error formatter) that expects it to be in CL form. The other
1579 clause which explicitly tests for this case is now dead code.
1580 (format:format-work): Allow `@' and `:' in either order, as per
1582 (format:num->cardinal): Don't assume that an elseless if returns
1583 '() when the condition is false.
1585 1999-04-17 Jim Blandy <jimb@savonarola.red-bean.com>
1587 * Makefile.in: Regenerated.
1589 1999-04-08 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1591 * boot-9.scm: Provide 'values.
1593 1999-03-21 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1595 * boot-9.scm (process-define-module, use-syntax): Bugfix:
1596 :use-syntax should add syntax to using module, not current module.
1597 (internal-use-syntax): Removed.
1599 1999-03-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1601 * session.scm (apropos-internal): Modified to comply with new
1602 argument order for hash-fold.
1604 1999-03-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1606 * boot-9.scm (try-load-module): New procedure. Broken out from
1608 (resolve-module): Bugfix: Make it possible for a module at a
1609 deeper level (x y z) to depend on a module on a higher (x y).
1611 This also has the desired side-effect that multiple attempts to
1612 load a module (e.g. with `use-modules') work until source is
1613 actually found for the module (e.g. because the correct catalog
1614 has been added to the load path).
1616 Use try-load-module.
1618 1999-03-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1620 * session.scm (system-module): New procedure. Used to switch a
1621 module between system and user state.
1623 1999-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1625 * session.scm (apropos-internal): Rewritten using hash-fold.
1627 * emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
1630 1999-03-14 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1632 * boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to
1633 associate a name to the record type descriptor so that the object
1634 system can create a wrapper class for it.
1636 1999-03-12 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1638 Improvement of backtraces: Introduces a new stack narrowing
1639 specifier, #t, for the inner cut. If the inner cut is specified
1640 by #t, `make-stack' will throw away inner stack frames (most
1641 recent calls on call chain) up to but excluding the first user
1642 stack frame encountered.
1644 This specifier is now used in `save-stack' so that the call
1645 `(save-stack)' will get the new behaviour. [It is recommended that
1646 any error reporting functions written by the user have this call
1647 on the outermost expression level (i.e. as a member of the lambda
1650 Modules are partitioned into "user" and "system" modules. [I know
1651 that some names used here are silly, but I don't have more time to
1652 spend on a better solution, especially considering that the module
1653 system will be replaced. But if people have better ideas, then
1656 System modules are created by adding :no-backtrace among the
1657 define-module switches:
1659 (define-module (foo)
1662 Modules which doesn't have the :no-backtrace specifier are user
1665 A stack frame is classified as a user frame if it has source code
1666 associated with it and if this source code can be proven to come
1667 from a user module. If it can be proven to come from a system
1668 module it is a system frame.
1670 Frames which can't be classified, e.g. application frames, are cut
1671 away if they occur between system frames, but are left on the
1672 stack if they occur between the last system frame and the first
1673 user frame encountered. (Note that the first user frame
1674 encountered is the last user code being evaluated!)
1676 In some cases the system part of the call chain is introduced by
1677 frames which should but can't be proven to be system frames. The
1678 following workaround has been implemented: The cutting proceeds
1679 over application frames where the operator is marked by the
1680 `system-procedure' property. (This has been used to cut away
1681 generic function dispatch code in the object system.)
1683 * boot-9.scm (set-system-module!): New procedure: Set system/user
1684 status of a module.;
1685 Mark `the-root-module' and `the-scm-module' as system modules.
1686 (process-define-module): Add new keyword :no-backtrace.
1688 * boot-9.scm (environment-module): Bugfixed.
1689 (set-module-eval-closure!): Add a pointer back from the eval
1690 closure to the module.
1692 * emacs.scm (emacs-load): Reset port filename after transfer.
1694 1999-03-03 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1696 * slib.scm (make-random-state): Added for compatibility.
1698 1999-02-16 Maciej Stachowiak <mstachow@alum.mit.edu>
1700 * optargs.scm (lambda*): Handle empty argument lists properly.
1702 1999-02-15 Jim Blandy <jimb@savonarola.red-bean.com>
1704 Fix from Russ McManus:
1705 * getopt-long.scm (parse-option-spec): Store 'optional as the
1706 value-required? field for options that take optional values.
1707 (process-short-option): Grab a value for the option when it takes
1708 either an optional or required value.
1710 1999-02-12 Jim Blandy <jimb@savonarola.red-bean.com>
1712 * getopt-long.scm: Remove debugging calls to `pk'.
1714 * getopt-long.scm: Return list of ordinary arguments as the value
1715 of the '() key, not `rest'.
1717 A new argument-processing package from Russ McManus.
1718 * getopt-long.scm: New file.
1719 * Makefile.am (ice9_sources): Added getopt-long.scm.
1720 * Makefile.in: Regenerated.
1722 1999-02-09 Maciej Stachowiak <mstachow@alum.mit.edu>
1724 * optargs.scm: New file.
1725 * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in
1726 not regenerated because I don't have the right version of Automake.
1728 1999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
1730 * and-let*.scm: New file, from Michael Livshin.
1731 * Makefile.am (ice9_sources): Add and-let* here.
1732 * Makefile.in: Regenerated.
1734 1999-01-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1736 * slib.scm (install-require-module): Fixed the kludge which loads
1737 the slib catalog: Doesn't anylonger assume that the feature tested
1740 1998-12-14 Jim Blandy <jimb@zwingli.cygnus.com>
1742 * Makefile.in: Regenerated.
1744 1998-12-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1746 * boot-9.scm (process-define-module): Reverted the change of
1747 1998-11-23 which caused loading of object code if :use-module was
1748 applied to the module itself.
1750 1998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1752 * Makefile.am: Removed setf.scm.
1754 * setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
1755 (These shortcomings were my fault.)
1757 1998-12-10 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1759 * boot-9.scm (environment-module): New procedure.
1761 1998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1763 * Makefile.am: Added setf.scm.
1765 1998-12-05 Christian Lynbech <chl@tbit.dk>
1767 * setf.scm: New file. Adds the new forms `setf!' and `setter'
1768 which implements generalized references a la Common LISP.
1770 1998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1772 * boot-9.scm (process-define-module): Added new specifier
1773 :autoload MODULENAME BINDINGS to the define-module form.
1774 The autoload specifier tells the module system to load the module
1775 MODULENAME at the first occasion that any variable with its name
1776 among BINDINGS is referenced.
1777 (make-autoload-interface): New procedure: Constructs a stand-in
1778 for the public interface for the module to be autoloaded.
1780 1998-12-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1782 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
1783 if you don't want the old style hook warnings.
1785 1998-12-01 Christian Lynbech <chl@tbit.dk>
1787 * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
1788 sure that it isn't empty, as it is when we are only buidling
1791 1998-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1793 * session.scm (arity): New procedure.
1795 1998-11-26 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1797 * boot-9.scm: Use run-hook instead of run-hooks everywhere.
1799 1998-11-26 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1801 * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary
1802 code for backward compatibility until people have had time to
1803 adapt to the new hooks.
1805 1998-11-23 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1807 * boot-9.scm (beautify-user-module!): Beautify also if public
1808 interface is set to the module itself. In this way we can use
1809 beautify-user-module! to beautify a module prepared for object
1811 (process-define-module): Special case: Try to load object code as
1812 well if a module does :use-module on itself.
1814 * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from
1815 invoke_main_func, we can no longer be sure that all modules have
1816 been registered when boot-9.scm is loaded.
1817 (register-modules): New function: Register and tag modules
1818 registered by scm_register_module_xxx since last call to this
1819 function. Modules are tagged with the dynamic object passed as
1820 argument. (Already linked modules should be tagged with #f.)
1821 (init-dynamic-module, link-dynamic-module): Call register-modules
1822 first to register linked modules.
1824 * boot-9.scm (init-dynamic-module): Remove module from
1825 registered-modules as soon as possible in case we are recursively
1826 invoked; Set public interface before doing the dynamic-call.
1828 * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map).
1829 (abort-hook, before-error-hook, after-error-hook,
1830 before-backtrace-hook, after-backtrace-hook, before-read-hook,
1831 after-read-hook, exit-hook): Make hooks with `make-hook'.
1833 * boot-9.scm: Make hooks first class citizens and make them easier
1835 (make-hook, add-hook!, remove-hook!, run-hooks): Moved to
1838 * boot-9.scm: Added warnings about bindings used in
1839 libguile/modules.c: the-module, set-current-module,
1840 make-modules-in, beautify-user-module!, module-eval-closure.
1842 1998-11-21 Mikael Djurfeldt <mdj@kenneth>
1844 * boot-9.scm (the-environment): New special form: Returns an
1845 object representing the current local evaluation environment.
1846 This object can be used in `local-eval' and `defined?'.
1848 1998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1850 * boot-9.scm (collect): New syntax. Similar to begin but returns
1851 a list of the results of all forms in the sequence instead of the
1852 result of the last form.
1854 1998-11-10 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1856 * boot-9.scm (values, call-with-values): Moved here from
1859 * syncase.scm (values, call-with-values): Moved to boot-9.scm.
1861 * boot-9.scm (readline-options, readline-enable, readline.disable,
1862 readline-set!: New options interface.
1864 * readline.scm (readline-port): Use readline-options-interface.
1866 1998-11-05 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1868 * boot-9.scm: Set the repl start module in `top-repl' instead of
1869 at the end of boot-9.scm.
1871 1998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1873 * emacs.scm (format): Bugfix: Handle multiple arguments
1874 correctly. (Thanks to Thien-Thi Nguyen.)
1876 1998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1878 * boot-9.scm (exit-hook): New hook: Is run at the very end of an
1879 interactive session.
1880 (top-repl): Run exit-hook on exit.
1882 * readline.scm (readline-port): Maybe read history; Maybe write
1883 history at exit (add to exit-hook).
1885 Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1887 * readline.scm (make-readline-port): Bugfixed last change...
1889 1998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1891 * readline.scm (make-readline-port): Don't set prompt to "... " if
1892 read line was empty.
1894 1998-10-19 Jim Blandy <jimb@zwingli.cygnus.com>
1896 * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm,
1897 r4rs.scm, slib.scm, threads.scm: Update copyright years.
1899 * getopt-gnu-style.scm, slib.scm: Add copyright notice.
1901 Talked to Stallman. Actually, the syntax-case copyright is no
1903 * Makefile.am (ice9_sources): Revert last change.
1904 * syncase.scm, psyntax.pp, psyntax.ss: Added again.
1905 * Makefile.in: Regeneretade.
1907 * boot-9.scm: Don't assume that this file is loaded just before
1908 entering a read-eval-print loop. Turn code to load (ice-9 emacs)
1910 (load-emacs-interface): New function.
1911 (top-repl): Call it, if use-emacs-interface is defined and true.
1912 At this point, we *do* know we're about to enter a REPL.
1914 We can't include Kent Dybvig's syntax-case macro expander in the
1915 core Guile distribution, because we don't have copyright
1916 assignments for this code. We can certainly distribute them as a
1917 separate package, but Guile should be FSF code.
1918 * syncase.scm, psyntax.pp, psyntax.ss: Removed.
1919 * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
1921 * Makefile.in: Regenerated.
1923 * Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
1924 * Makefile.in: Regenerated.
1926 1998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1928 * boot-9.scm: Added extended read syntax for byte vectors #y(...)
1929 and short vectors #h(...).
1931 1998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
1933 * calling.scm (excursion-function-syntax): Use a sequence of
1934 set!'s, not a single multi-variable set!; we removed support for
1935 that syntax a long time ago. (Thanks to Shuji Narazaki.)
1937 1998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
1939 * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
1940 testing software-type here. That's the least of our Windows
1941 porting issues, and it's done wrong anyway.
1943 1998-10-09 Jim Blandy <jimb@zwingli.cygnus.com>
1945 * boot-9.scm (read-path-list-notation-warning): New function:
1946 print a warning the first time we see `#/' notation.
1948 * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
1949 (eq? #f '()) assumptions. Make functions that aren't documented
1950 to return anything else return the queue itself. (Bug report from
1951 Michael Livshin --- thanks!)
1953 1998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1955 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
1958 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
1959 order to allow the empty list as arg.
1960 (error-catching-loop): Use `with-traps' to create a dynamic
1961 context with traps enabled.
1963 1998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1965 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
1967 (try-using-libtool-name): Removed dependency on (ice-9 regex).
1969 1998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1971 * boot-9.scm: Make the root module use (ice-9 regex) if
1972 available. The dynamic linking facilities in boot-9.scm are
1973 currently dependent upon regular expressions. My change of
1974 1998-07-14 removed (ice-9 regex) from the use-list of the root
1975 module and thereby destroyed dynamic linking.
1977 1998-07-29 Jim Blandy <jimb@zwingli.cygnus.com>
1979 * Makefile.in: Regenerated using the last public version of
1980 automake, not the hacked Cygnus version.
1982 1998-07-28 Jim Blandy <jimb@zwingli.cygnus.com>
1984 * Makefile.in: Regenerated, after removing Totoro kludge.
1986 1998-07-28 Jim Blandy <jimb@totoro.red-bean.com>
1988 * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.)
1990 1998-07-26 Jim Blandy <jimb@zwingli.cygnus.com>
1992 * Makefile.in Rebuilt, for config changes in parent dir.
1994 1998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1996 * readline.scm (make-readline-port): Set prompt string to "... "
1997 after first read line. (Thanks to Richard Polton.)
1999 1998-07-19 Jim Blandy <jimb@zwingli.cygnus.com>
2001 * lineio.scm (make-line-buffering-input-port): Don't use
2002 ungetc-char-ready?, since we don't provide that function any
2003 more. The unread-string function doesn't interact properly with
2004 any of the standard I/O functions anyway. (Thanks to Andrew
2007 * hcons.scm (hashq-cons-assoc): Don't assume the empty list is
2008 false. Return false when we cannot find a matching entry in the
2009 list. (Thanks to Andrew Archibald.)
2011 1998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2013 * boot-9.scm (export, export-syntax): New special forms: Export
2014 bindings from a module. `(export name1 name2 ...)' can be used at
2015 the top of a module (after `define-module') to specify which names
2016 should be exported. It can be used as an alternative to
2017 `define-public'. `export-syntax' works equivalently to `export'
2018 but is intended for export of syntactic keywords.
2019 (Thanks to Thien-Thi Nguyen.)
2021 1998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2023 * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'.
2025 1998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2027 * boot-9.scm: Let the user start in module `(guile-repl)' instead
2028 of module `(guile)'. Also make sure that `(guile-repl)' uses
2029 suitable modules. This change improves Guile stability
2030 substantially since bindings will only be copied from the root
2031 module: If the user redefines builtins in `(guile-repl)' it won't
2032 affect the internal operation of Guile itself.
2034 1998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2036 * boot-9.scm (load-module): When loading files from within files
2037 themselves being loaded: Use the directory path of the file being
2038 loaded as root for relative filenames. (After suggestion by
2041 1998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2043 * emacs.scm (emacs-load): New feature: Eval in specified module.
2045 1998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2047 * readline.scm: Typo in regex module name.
2049 1998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2051 * readline.scm (apropos-completion-function): regexp-quote text to
2054 1998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2056 * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid.
2058 1998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2060 * boot-9.scm: Check that (current-input-port) is a tty before
2061 enabling readline. (Thanks to Michael N. Livshin.)
2063 1998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2065 * boot-9.scm (use-syntax): Turned into a macro inorder to be
2066 similar in use to `use-modules'.
2067 Example: (use-syntax (ice-9 syncase)) will 1. load the module
2068 (ice-9 syncase), and, 2. install the procedure `syncase' as eval
2070 (internal-use-syntax): New procedure.
2071 (process-define-module): Use `internal-use-syntax'.
2073 1998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2075 * Makefile.am (ice9_sources): Add emacs.scm.
2077 1998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2079 * readline.scm: Use the new readline facilities: Add the
2080 possibility to control input and output ports; Add apropos
2083 * boot-9.scm: Antirevert Jim's readline code which he reverted
2084 19971027 and adapt it to the current readline interface.
2086 * boot-9.scm (top-repl): Only enable readline if not using the
2087 Emacs interface; Only use repl prompt when using the readline port
2088 from repl-read. (We don't want to see it when calling `read'.)
2090 * boot-9.scm (remove-hook!): Parenthesis bug.
2092 1998-05-11 Mikael Djurfeldt <mdj@kenneth>
2094 * boot-9.scm: Load readline module if readline is present.
2096 * readline.scm (apropos-completion-function): New procedure:
2097 Symbolic completion. (Thanks to Andrew Archibald!)
2099 1998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2101 * boot-9.scm (process-define-module): Added keyword use-syntax.
2103 1998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2105 * nonblocking.scm: Removed. libguile is now inherently
2106 nonblocking through the use of scm_internal_select.
2108 * emacs.scm: Removed use of nonblocking.scm.
2110 * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these
2113 1998-04-15 Mikael Djurfeldt <mdj@nada.kth.se>
2115 * runq.scm (runq-control): Corrected spelling of enqueue!.
2116 (Thanks to Karl M. Hegbloom.)
2118 1998-03-30 Mikael Djurfeldt <mdj@nada.kth.se>
2120 * boot-9.scm: Added new run-time option interface eval-options.
2122 1998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2124 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
2127 1998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2129 * threads.scm: Added simple error and signal handler.
2130 (make-thread, begin-handler): Use this handler. The most
2131 important effect of this is that signals get unmasked.
2132 Previously, when a signal was thrown signals remained masked
2133 (signals get masked when a signal is taken) which influenced other
2136 1998-01-01 Tim Pierce <twp@skepsis.com>
2138 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
2139 * slib.scm (identity): Unmake public.
2140 (slib:eval): Evaluate inside `slib-module'.
2142 1997-12-24 Tim Pierce <twp@skepsis.com>
2144 * boot-9.scm: Doc fix.
2146 * slib.scm (identity): Made public.
2147 (home-vicinity): New function (from SLIB/Template.scm).
2149 1997-12-13 Tim Pierce <twp@skepsis.com>
2151 * boot-9.scm (read-line): Rewritten to call %read-line for
2152 improved speed. Minor user-visible changes: the new functions are
2153 hardwired to treat the LFD character as signifying end-of-line, so
2154 changing `scm-line-incrementors' will no longer affect the
2155 behavior of read-line. On platforms which do not represent
2156 end-of-line with a LFD character, read-line should behave more
2157 like native line-processing facilities, but there is still a ways
2160 Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth>
2162 * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
2165 1997-11-28 Tim Pierce <twp@skepsis.com>
2167 * boot-9.scm (find-and-link-dynamic-module): If a module directory
2168 contains a .la file (a libtool support file), attempt to extract
2169 the shared library name from that file. If the .la file does not
2170 exist, try to link against a .so file. Libtool-generated compiled
2171 modules should load more cleanly in Guile now.
2172 (try-using-libtool-name, try-using-sharlib-name): New functions.
2174 Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
2176 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
2177 usefully so they will work from a script.
2179 1997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
2181 * boot-9.scm (inherit-print-state): Moved definition to the
2182 neighborhood of the record code.
2184 Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
2186 * boot-9.scm: Revert changes to this file from Oct 23. It turns
2187 out to interact badly with the Emacs support and the Tcl/Tk
2188 support. It's not a high enough priority at the moment to be
2189 worth fixing. I'm leaving the other readline support in, though.
2191 Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
2193 * Makefile.am: Include readline.scm in the list of files to be
2194 installed, so Guile can find it for interactive use.
2195 * Makefile.in: Regenerated.
2197 Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
2199 Add support for readline function.
2200 * readline.scm: New module.
2201 * boot-9.scm (repl-reader): New function.
2202 (scm-style-repl): Call repl-reader, instead of doing the reading
2203 ourselves. Remove repl-report-reset; it was never used for
2205 (top-repl): If we've got the readline primitives, then redefine
2206 repl-reader to use them.
2207 If we've got the readline primitives, import the readline module.
2209 * ls.scm (ls, lls): Don't assume (eq? #f '()).
2211 Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
2213 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
2214 string-fun.scm: Added copyright notices; reformatted.
2216 Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
2218 * expect.scm: (expect-regexec): new procedure, use it in
2219 expect-strings to fix the => syntax under the new regex system.
2220 (top): include regex module in define-module statement.
2222 Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
2224 * (error-catching-loop): new local variable "interactive". if
2225 #f, abort terminates the process.
2226 (set-batch-mode?!, batch-mode?): new closures, defined in
2227 error-catching-loop. the names are from scsh.
2229 1997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
2231 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
2232 print-state, throw it away.
2234 Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
2236 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
2239 Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
2241 * boot-9.scm (struct-printer, make-struct-printer,
2242 set-struct-printer-in-vtable!, *struct-printer*): Removed.
2243 (record-type-vtable, make-record-type): Don't use make-struct-printer.
2244 (record-type-vtable): User fields "prpr" (printer is no longer a
2246 (record-type-name, record-type-fields): Decreased slot index by
2247 one; Use `vtable-offset-user'.
2249 Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
2251 * boot-9.scm (inherit-print-state): New experimental function.
2253 Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
2255 Suggestion and script from Maciej Stachowiak:
2256 * boot-9.scm: Split off modules into separate, autoloadable files.
2257 This reduces startup time from 10.5s to 5.5s (user cpu).
2258 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
2259 string-fun.scm: New files, containing stuff that used to be in
2261 * Makefile.am (ice9_sources): List new files here, for
2262 distribution and installation.
2263 * Makefile.in: Regenerated.
2265 Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
2267 * Makefile.in: Regenerated with automake 1.2c.
2269 Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2271 * slib.scm (slib:load): slib:load first tries to load the file
2272 named NAME, then NAME.scm. On error, report the error occuring at
2273 the first attempt (NAME) rather than the second (NAME.scm).
2275 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
2276 the make-options macro so that we needn't refer to a global
2279 Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2281 * debug.scm: Moved options interface procedures to boot-9.scm.
2283 * boot-9.scm: Define options interface procedures here instead.
2285 Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
2287 * boot-9.scm (separate-fields-discarding-char,
2288 separate-fields-after-char, separate-fields-before-char): Call
2289 continuation function, RET, as advertised: with each separated
2290 field a separate argument.
2292 * Makefile.in: Regenerated with automake 1.2a.
2294 Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
2296 * slib.scm (slib:load): Export.
2298 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
2302 Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2304 * r4rs.scm (apply): Set name property to 'apply.
2306 Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2308 * boot-9.scm (keyword->symbol, display-usage-report): Changed
2309 length --> string-length. (Thanks to Aleksandar Bakic.)
2310 (separate-fields-discarding-char, separate-fields-after-char,
2311 separate-fields-before-char): Bugfix from Maciej Stachowiak
2312 <mstachow@mit.edu>. Thanks!
2313 (try-module-linked): Try to find module among those already
2315 (try-module-dynamic-link): Removed the first test which
2316 corresponds to a call to `try-module-linked'.
2317 (resolve-module): Resolve modules in this order: 1. Already
2318 registered modules (for example those which have been statically
2319 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
2322 Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2324 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
2326 Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2328 * session.scm (name): New procedure: Gives name of object.
2329 (source): New procedure: Gives source of object.
2331 Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2333 * boot-9.scm (primitive-macro?): New procedure.
2335 * slib.scm: Added hack which transfers syntactic information from
2336 the builtin variable `define' to the slib version if module (ice-9
2337 syncase) has been loaded. This is necessary to get correct
2338 expansion inside the slib module.
2340 * psyntax.ss (build-let, build-named-let): New output
2342 (build-lexical-var): Seed gensym with symbolic name.
2343 (self-evaluating?): Add keywords among self-evaluating types.
2344 (let): New core form.
2345 (if): Removed from core language.
2346 (or, and, let, cond): Removed syntactic definitions.
2347 (sc-expand3): New procedure: Expander which takes optional mode
2348 and eval-syntactic-expanders-when arguments.
2350 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
2351 Should be used inside the (ice-9 syncase) module with (use-syntax
2352 syncase) and with the current directory containing the psyntax.ss
2354 Added hack to transfer syntactic information from the builtin
2355 variable `define' to the slib version if module (ice-9 slib) has
2358 Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
2360 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
2361 (syncase): Publish syntax transformer to be used with
2363 (sc-macro): Use this as the value when publishing macros.
2365 * boot-9.scm (module-type): Added `transformer'.
2366 (make-module): Modified initialization.
2367 (module-transformer, set-module-transformer!): Selector and
2368 mutator for module-associated transformer.
2369 (set-current-module): Use module-transformer to set
2370 `scm:eval-transformer'.
2371 (module-use!): Previous change reverted.
2372 (use-syntax): New function: Install a transformer in current
2374 (sc-interface, sc-expand): Removed! :)
2376 Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2378 * emacs.scm (emacs-load): Added new parameter `module'.
2380 * syncase.scm (putprop, getprop): Modified to use the object
2381 properties of the variable object corresponding to the symbol;
2382 This way we can ride on the mechanisms of the module system.
2383 Changed `builtin-variable' calls to `define-public' calls.
2384 Setup the hooks sc-expand and sc-interface.
2386 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
2387 (set-current-module): Switch to and from sc-expand as
2388 scm:eval-transformer when going into and out of modules using
2390 (module-use!): Set scm:eval-transformer to sc-expand when adding
2391 the syncase interface.
2393 Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2395 * syncase.scm (putprop): Temporary fix which publishes new syntax
2396 globally (the old behaviour was complex and connected to the inner
2397 workings of the current module system).
2399 Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2401 * psyntax.ss: Updated.
2402 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
2405 Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2407 * boot-9.scm (gensym): Removed (replaced by primitive).
2408 (obarray-gensym): Rewritten to use `gensym'.
2409 (gentemp): Rewritten to use `gensym'.
2411 Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2413 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
2414 according to the following priorities:
2415 1. tcl bindings which are present in override-scheme-list
2416 2. bindings from the-scm-module
2418 This way the gtcl module can occur first in the use-list without
2419 disabling the scheme interpreter.
2420 (new-interpreter): New function.
2422 * gwish.scm: Moved initialization code for the-interpreter to
2423 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
2424 it; Call `new-interpreter'; Don't :use-module (guile).
2426 Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
2428 * Makefile.in: Regenerated.
2430 Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
2432 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
2434 Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2436 * emacs.scm (object->string, format, error-args->string): New
2438 (emacs-frame-eval): Reworked.
2440 Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2442 * session.scm (apropos-internal): Musn't initialize symbol
2443 accumulator with a constant pair. That led to mutation of the
2446 Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
2448 * session.scm (vector-for-each): Removed.
2449 (apropos): vector-for-each --> array-for-each.
2450 (apropos-internal): New function. Return list of accessible
2451 symbols matching regexp.
2453 * debug.scm (frame-number->index): New function. Convert frame
2454 number (as displayed in the backtrace) to frame index (to be used
2457 * emacs.scm (emacs-load): New arguments: interactivep: when
2458 non-false, send back results to Emacs; colnum: Column number;
2459 Use modules (ice-9 debug) and (ice-9 session);
2460 (no-stack, no-source): New simple-actions;
2461 (result-to-emacs): New procedure. Sends data to Emacs via the
2463 (get-frame-source, emacs-select-frame, emacs-frame-eval,
2464 emacs-symdoc): New procedures.
2466 Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2468 * emacs.scm (emacs-load): Adjust stack narrowing.
2469 (whitespace-chars): Include #\np.
2471 * syncase.scm: Also turn off debugging evaluator and recording of
2472 procedure names during loading of psyntax.pp.
2474 * psyntax.pp: Removed leading blanks => 800K -> 100K.
2476 Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2478 * syncase.scm: Don't tamper with debug mode setting when enabling
2479 macros. Instead cut the stack with start-stack.
2480 Load psyntax.pp with recording of positions turned off.
2482 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
2484 * syncase.scm: New file: Guile-adaption for syntax-case macros.
2485 * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
2486 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
2488 Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2490 * session.scm: New file: Session support.
2491 (apropos): New procedure: List bindings given regexp.
2493 Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
2495 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
2498 Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2500 * emacs.scm (emacs-load): Something has changed in the reader so
2501 that we now should set the port line count to the specified value
2502 (linum) instead of (- linum 1).
2504 * slib.scm (slib:load): Use load-from-path instead of
2505 primitive-load-path so that backtraces get narrowed properly at
2508 * boot-9.scm (top-repl): Save stack already in signal handler in
2509 order to narrow it correctly.
2510 (save-stack): Adjust narrowing tag for the top of load-stacks.
2512 Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
2514 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
2515 (dup->fdes): deleted, now done in C.
2517 Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
2519 * boot-9.scm (setenv): new procedure, scsh compatible.
2521 Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
2523 * boot-9.scm (with-fluids): New macro to go with the
2524 builtin `with-fluids*'.
2526 Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2528 * slib.scm (install-require-module): In newer versions of slib
2529 *catalog* is #f until the first access. Therefore we call
2530 require:provided? for a random feature if *catalog* is #f.
2532 Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2534 * boot-9.scm: If using emacs interface, enable backtraces
2537 Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
2539 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
2540 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
2541 (duplicate-port): was a C primitive, now it's here.
2542 (move->fdes): allow the first argument to be a file descriptor.
2543 Return the modified port or file descriptor (was unspecified.)
2545 Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
2547 Changes to compile under gnu-win32, from Marcus Daniels:
2548 * boot-9.scm (load-user-init): If HOME is unset, provide
2551 * boot-9.scm (define-public): Changed to accomodate Hobbit.
2553 Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
2555 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
2556 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
2557 notation, instead of #/ notation.
2559 * expect.scm (expect-strings): Pass regexp/newline flag to
2562 Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
2564 Fix inconsistencies in parsing of #/ style lists.
2565 * boot-9.scm (read-path-list-notation): New function.
2566 (parse-path-symbol): Deleted. Replaced by above.
2567 Plug in read-path-list-notation as the parser for #/ lists,
2568 instead of the anonymous lambda form calling parse-path-symbol.
2569 (Thanks to Maurizio Vitale.)
2571 * boot-9.scm (make-list): Remove the definition of this function
2572 from the (ice-9 common-list) module; make the `init' argument
2573 optional in the scm module's definition, to match the deleted
2574 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
2576 Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
2578 Try to detect when people are using one version of libguile and a
2579 different version of ice-9. People have been skewing things and
2580 sending in bug reports.
2581 * version.scm.in: New file, which the configure script munges to
2582 produce version.scm, which contains the ice-9 config stamp.
2583 * boot-9.scm: Compare the libguile and ice-9 config stamps;
2584 display a warning if the two are different.
2585 * Makefile.am: Install version.scm, but don't distribute it.
2586 Distribute version.scm.in, but don't install it.
2587 * Makefile.in: Regenerated.
2589 Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
2591 * slib.scm (slib:warn): Alias for WARN function.
2593 Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
2595 * boot-9.scm (struct-printer): Fix off-by-one error in range
2596 check. Correctly check for struct printer tag.
2598 * expect.scm: Turn this into a module, (ice-9 expect).
2599 (expect-port, expect-timeout, expect-timeout-proc,
2600 expect-eof-proc, expect-char-proc, expect, expect-strings,
2601 expect-select): Make these public definitions.
2602 (expect-strings): Use make-regexp and regexp-exec, instead of
2603 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
2606 * boot-9.scm (with-regexp-parts): Comment this out. It has no
2607 users in the core, and relies on mildly hairy details of the old
2610 * test.scm: Re-enable tests asserting that '() is true, and not a
2611 boolean. This stuff has been true for a while.
2613 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
2616 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
2619 Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
2621 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
2624 Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
2626 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
2627 vtable and not the one of the struct.
2629 Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
2631 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
2632 make-struct-printer, set-struct-printer-in-vtable!): New bindings
2633 to support printing of structures.
2634 (record-type-vtable, make-record-type): Add slot to hold printing
2635 function and initialize it with something appropriate. Removed
2636 commented out printing code.
2637 (record-type-name, record-type-fields): Adjusted slot offsets.
2638 (%print-module): Reduce argument list to "mod" and "port".
2640 Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
2642 * slib.scm (identity): New function, used by SLIB.
2644 Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
2646 * boot-9.scm: signal-handler, alarm-thunk: removed.
2647 don't define ticks-interrupt etc.
2648 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
2649 during call to scm-style-repl.
2651 Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
2653 * slib.scm (slib:load): Use primitive-load-path instead of
2654 basic-load. This is probably wrong, but hopefully the entire
2655 source access system will be revised soon anyway, and this will
2656 make require behave more like Emacs Lisp's require. If this
2657 breaks something, please let me know. Maybe this is real dumb.
2659 Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
2661 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
2662 * boot-9.scm: If the `regex' feature is present, use the module
2665 Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
2667 * regex.scm: New file.
2668 * Makefile.am (subpkgdata_DATA): Add regex.scm.
2669 * Makefile.in: Regenerated.
2671 Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
2673 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
2674 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
2675 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
2676 threads.scm: New address for FSF.
2678 Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
2680 * debug.scm: Update copyright years; this file has been worked on
2683 Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
2685 * expect.scm: use gettimeofday instead of get-internal-real-time
2686 and use a floating point timeout when calling select. Untested,
2687 since the regex library is currently AWOL.
2689 Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
2691 * boot-9.scm (eval-string): Function deleted; it was already
2692 implemented in C, so there's no point in making a divergable copy
2695 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
2697 * Makefile.in: Regenerated, using automake-1.1p.
2699 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
2701 * Makefile.in: Regenerated, using automake-1.1p.
2703 Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
2705 * boot-9.scm (error-catching-loop): don't read a line from
2706 current input when quit is encountered, the previous change
2709 Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
2711 * boot-9.scm (scm-style-repl): After reading an expression,
2712 consume any trailing newline (perhaps preceded by whitespace), to
2713 avoid screwing up GDB. More detail in comments.
2715 Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
2717 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
2718 the Scheme code like code yet.
2719 * Makefile.in: Resrac,husrched.
2721 Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
2723 * boot-9.scm (link-dynamic-module): Do not catch errors from
2724 dynamic-link and dynamic-call. When the shared library exists it
2725 is now assumed to be suitable for a dynamic C module.
2727 Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
2729 * boot-9.scm (process-use-modules): New function to support the
2731 (use-modules): throw an error iff one of the requested modules
2734 Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
2736 * boot-9.scm: don't define timer-thunk or gc-thunk.
2738 Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
2740 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
2742 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
2743 we're not using AM_INIT_GUILE_MODULE any more.
2744 * Makefile.in: Regeneratitetedrerd.
2746 Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
2748 Get 'make dist' to work again.
2749 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
2750 * Makefile.in: Regenerated, like two tons of fleas.
2752 Changes for reduced Guile distribution: one configure script,
2754 * configure.in, configure: Removed.
2755 * Makefile.in: Regenerated.
2757 Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
2759 * boot-9.scm (eval-string, command-line, load-user-init): New
2762 Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
2764 * boot-9.scm (log10): defined.
2766 Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
2768 * expect.scm (expect-select): correct the millisecond timeout
2769 arithmetic (from Marko.Kohtala@ntc.nokia.com).
2771 Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
2773 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
2774 instead of in libguile.
2775 (tm:sec etc.) new accessors for broken-down time.
2776 (set-tm:sec etc.) new setters for broken-down time.
2778 Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
2780 * boot-9.scm (netent:addrtype, servent:port): added missing
2782 (netent:net, servent:proto): repaired.
2783 (utsname:sysname etc.): new accessors for uname.
2785 Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
2787 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
2788 sockaddr:port): new functions.
2790 Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
2792 * boot-9.scm: define accessor procedures for the objects returned
2793 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
2794 passwd:name, where the first component is the name of the C structure
2795 and the second is the unprefixed C member name.)
2797 Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
2799 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
2800 setservent): no longer take an argument, it was bogus.
2802 Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
2804 * boot-9.scm (scm-error): deleted, reimplemented in C.
2806 Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2808 * boot-9.scm (process-define-module): Modified to handle both
2809 keywords and symbols.
2811 Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
2813 * slib.scm: update read usage.
2815 * r4rs.scm: update primitive-load usage.
2816 Don't define read-sharp.
2818 * boot-9.scm: use read-hash-extend to install extra read syntax.
2819 (read-sharp): removed.
2820 Adjust usage of primitive-load-path, read, which no longer take
2821 case_i or read-sharp arguments.
2823 Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2825 * boot-9.scm: Added loading of session support module.
2827 * debug.scm: Removed `display-application'. (Replaced by
2828 primitive procedure.)
2830 * boot-9.scm (beautify-user-module!): Don't add the root module
2831 interface to the end of the use-list of the root module.
2833 Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
2835 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
2837 Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
2839 * boot-9.scm: check use-emacs-interface for emacs support.
2841 Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
2843 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
2845 * (exit): alias for quit.
2847 Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
2849 * boot-9.scm (error-catching-loop thunk): use a status variable to
2850 return the quit args.
2851 (scm-style-repl): call -quit, passing return value from
2852 error-catching-repl. Make -quit return its args.
2853 stand-alone-repl: comment out, since it seems unused.
2855 (error-catching-loop thunk): discard trailing junk after a (quit).
2857 Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2859 * boot-9.scm: Removed the old printer code.
2861 * r4rs.scm (apply, call-with-current-continuation): Added comment
2862 explaining why apply and call/cc need to be closures.
2864 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
2865 Removed. These definitions are already present in r4rs.scm.
2867 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
2868 stack before printing traced frames; Re-enable trace flag at end
2871 Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2873 * debug.scm: Add hook for reset of trace level at abort.
2875 * boot-9.scm (run-hooks): New procedure.
2876 (add-hooks!): New macro.
2877 Change hooks to use these functions.
2879 * debug.scm: *Warning* This feature is a bit premature. I add
2880 it anyway because 1. it is very useful, and, 2. you can start
2881 making it less premature by complaining to me and by modifying
2883 (trace): Given one or more procedure objects, trace each one.
2884 Given no arguments, show all traced procedures.
2885 (untrace): Given one or more procedure objects, untrace each one.
2886 Given no arguments, untrace all traced procedures. The tracing in
2887 Guile have an advantage to most other systems: We don't create new
2888 procedure objects, but mark the procedure objects themselves.
2889 This means that also anonymous and internal procedures can be
2892 * boot-9.scm (error-catching-loop): Added handling of apply-frame
2893 and exit-frame exceptions.
2895 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
2896 (set-repl-prompt!): Setter for repl prompt.
2897 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
2898 string, display it; if prompt is a thunk, call it and display its
2899 result; otherwise display "> ".
2900 (Change suggested by Roland Orre <orre@nada.kth.se>.)
2902 * r4rs.scm (%load-verbosely): Reverted change to
2903 `module-defined?', since the module system isn't bootstrapped when
2904 we load r4rs.scm. This is just a temporary fix to make the
2905 repository version runnable.
2907 Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2909 * boot-9.scm: Removed the enabling of debug evaluator and
2910 recording of source code positions. This was placed there for our
2911 convenience, but it has already sneaked into the distribution
2912 once... so we'd better add this in our local copies instead when
2913 we need it. (These options are normally enabled at the end of
2914 boot-9.scm when loading the debug module.)
2916 Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
2918 * boot-9.scm (module-defined?): New function.
2919 (macroexpand-1, macroexpand): Use local-ref instead of defined?
2921 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
2923 * slib.scm (defined?): New function to take the place of the
2924 builtin "defined?". It allways examines the slib module.
2926 Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2928 * configure.in: Added AM_MAINTAINER_MODE
2930 Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
2932 * boot-9.scm (read-sharp): define directly, don't go through a
2935 Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
2937 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
2938 uniform-vector-set1! which doesn't exist.
2940 Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
2942 * boot-9.scm (backtrace): Removed. (A C version now exists in
2945 Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
2947 * boot-9.scm (read-line!, read-delimited!, read-delimited,
2948 read-line): new procedures, see libguile/ChangeLog.
2950 Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
2952 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
2954 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
2955 init-dynamic-module, dynamic-maybe-call,
2956 find-and-link-dynamic-module, link-dynamic-module,
2957 try-module-dynamic-link, registered-modules): New definitions for
2958 dynamic linking of modules.
2959 (resolve-module): Try to dynamically link the requested module
2960 after failing to load it as Scheme code.
2962 Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
2964 * boot-9.scm (getservbyport, getservbyname): remove stray %.
2966 Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
2968 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
2971 * lineio.scm (make-line-buffering-input-port): Properly test for
2972 the case of an empty buffer list. The old code assumed that '()
2975 Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
2977 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
2978 (use-modules <module name> ...) Put the the modules named by
2979 <module name> ... on the use list of the current module.
2981 Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
2983 * boot-9.scm (error-catching-loop): Remove message saying that
2984 typing "$" will put you in the debugger. This isn't implemented
2987 Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
2989 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
2990 been fixed, so this function is superfluous.
2991 (transform-usage-lambda): Use delq!, not delq-all!.
2993 Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
2995 * boot-9.scm (resolve-module): New optional parameter that
2996 controls whether autoloading is attempted or not. Default is #t.
2997 (process-define-module): Don't autoload the defined module.
2998 (try-module-autoload): Don't autoload the directory modules.
3000 * boot-9.scm (process-define-module): Ensure that the-scm-module
3001 is last in the `uses' list to allow shadowing builtin
3002 bindings. All :use-module options are added in the order they
3003 appear in the arguments but before anything already on the list
3004 (such as the-scm-module).
3006 Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
3008 * slib.scm (slib-parent-dir): throw error if #f returned from
3011 Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
3013 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
3014 * Makefile.am, aclocal.m4: New files.
3015 * configure.in: Updated for Automake.
3017 Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
3019 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
3020 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
3021 function, use it accordingly.
3023 Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
3025 It's an "eval closure", not an "eval thunk." A thunk is a
3026 function of no arguments.
3027 * boot-9.scm (module-type): Rename module field.
3028 (make-module, eval-in-module, make-root-module,
3029 set-current-module): Uses changed.
3030 (module-eval-closure, set-module-eval-closure!,
3031 root-module-closure): Renamed from module-eval-thunk,
3032 set-module-eval-thunk!, root-module-thunk.
3033 (set-current-module): Change uses of *top-level-lookup-thunk* to
3034 *top-level-eval-closure*.
3036 Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
3038 * slib.scm (slib-parent-dir): Use string-length, not length.
3039 (Thanks to Bernard Urban.)
3041 Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3043 * boot-9.scm: The debugging evaluator and recording of positions
3044 aren't enabled by default any longer (they are switched on in
3045 debug.scm). But during development we want to have them also
3046 *inside* boot-9.scm. Therefore, two lines are added at the
3047 beginning of boot-9.scm to enable these.
3049 Call `provide' so that `records' are included among the
3052 The scheme for saving the stack has been adjusted: save-stack is
3053 now commonly available for saving the stack. Calling `save-stack'
3054 sets a flag `stack-saved?' which prevents overwriting the stack.
3055 `stack-saved?' is reset at `abort'.
3057 Spelling correction: seperate --> separate.
3059 Removed `:'s that had creeped into some comments.
3061 The repl now doesn't print #<unspecified> results any longer
3062 If the user wants to see this, he can do
3063 (assert-repl-print-unspecified #t) in his startup file.
3065 The user now gets a friendly message instead of a backtrace at
3068 Added `before-read-hook'.
3070 Load module (ice-9 emacs) if option `-e' was specified.
3072 (provide): New function.
3074 (error): Save stack at entry, so that Guile entrails won't show up
3077 (backtrace): New function.
3079 (save-stack): Can now take arbitrary number of stack narrowing
3080 specifier pairs. The first specifier in a pair controls inner
3081 border, the second the outer border. A number means cut that
3082 number of frames, a procedure object means cut until that object
3083 is found in operator position in a frame.
3085 * debug.scm: Enable debugging evaluator and recording of positions
3088 * slib.scm (slib:load): Adapt to the new behavior of
3089 primitive-load: It doesn't any longer try both with and without
3090 ".scm" extension. (We don't want to use %search-load-path here.)
3092 (implementation-vicinity): New function. slib requires it
3094 (library-vicinity): Updated.
3096 Load "require.scm" in the library-vicinity.
3098 (install-require-vicinity, install-require-module): New functions.
3100 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
3102 * boot-9.scm (load-from-path): New function.
3104 * boot-9.scm (try-load, basic-try-load, try-load-module,
3105 try-load): Deleted. I don't think they're being used.
3107 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
3108 so they'll get distributed.
3110 Get Guile to be a little less chatty by default. The new user
3111 should see as little clutter as possible.
3112 * r4rs.scm (%load-verbosely): Make this #f by default.
3113 * boot-9.scm (scm-repl-verbose): Make this #f by default.
3114 (scm-style-repl): Don't run 'pk' on the value passed to quit.
3116 * r4rs.scm: New file.
3117 * boot-9.scm: Load r4rs.scm, first thing.
3118 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
3119 open-output-file, open-io-file, close-input-port,
3120 close-output-port, close-io-port, call-with-input-file,
3121 call-with-output-file, with-input-from-port, with-output-to-port,
3122 with-error-to-port, with-input-from-file, with-output-to-file,
3123 with-error-to-file, with-input-from-string, with-output-to-string,
3124 with-error-to-string, the-eof-object): Definitions moved to
3125 r4rs.scm. Not all of them are R4RS, but those that are use those
3127 (load, %load-verbosely, %load-announce): Moved, along with code to
3128 set %load-hook, to r4rs.scm.
3130 * test.scm: New file.
3132 * boot-9.scm (integer?): Definition deleted, in favor of the one
3133 present in libguile (which used to be called int?). I have no
3134 idea why integer? didn't just call int? to begin with.
3136 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
3137 =?, >?, and >=? deleted; they're defined that way by libguile now.
3139 * boot-9.scm (load): Simplified; primitive-load does most of this
3141 (%load-announce-win): Removed; no longer used. Set %load-hook to
3142 call %load-announce.
3144 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
3146 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
3147 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
3148 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
3150 (file-is-directory?): use stat:type.
3152 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
3154 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
3155 that's now taken care of in libguile, and in a way compatible with
3156 SCSH (which this isn't).
3158 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
3160 * boot-9.scm: Formatting tweaks.
3162 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3164 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
3165 after-error-hook, before-backtrace-hook and after-backtrace-hook
3166 to the error handler. E.g.: fancy emacs support could plug into
3168 (save-stack): New function. The stack is now made differently
3169 depending on the stack id. (The motivation is to make a better
3170 choice regarding what stack frames to present to the user.)
3171 (error-catching-loop): Stack handling code moved outside into
3174 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
3176 * Makefile.in (scm_files): add expect.scm.
3178 * expect.scm: new file ported from guile-iii.
3180 * boot-9.scm: remove handle-system-error, after moving the code into
3181 error-catching-loop.
3182 Don't set 'throw-handler-default property on error keys.
3183 Just interpret (almost) any throw with 4 args as an error throw.
3184 Delete some try-load stuff that was already commented out.
3186 Second thoughts, keep handle-system-error but call it from
3187 error-catching-loop.
3189 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
3191 * boot-9.scm: Doc fixes.
3192 (make-module): Rework for readability.
3193 (make-root-module, make-scm-module): USES argument to make-module
3194 should be '(), not #f.
3196 * boot-9.scm (try-load): %sys-load-path has been renamed to
3197 primitive-load-path; adjust call here.
3199 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3201 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
3202 the stack to the correct place: when it is decided to generate an
3205 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3207 * boot-9.scm (error-catching-loop, signal-handler,
3208 handle-system-error): Backtracing now works for signals aswell;
3209 Backtracing mechanism can now identify the stack root created by
3210 start-stack so that the user isn't exposed to system stack frames.
3212 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3214 * Makefile.in: Added threads.scm.
3216 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3218 * debug.scm (make-enable, make-disable): Simplified.
3220 * boot-9.scm: Renamed %%throw-handler-default -->
3221 throw-handler-default.
3222 ((handle-system-error key . arg-list)): Changed the way errors are
3224 ((scm-style-repl)): Wrap up the call to eval in a start-stack
3226 ((error-catching-loop thunk)): Introduce a lazy-catch into
3227 error-catching-loop so that the stack can be captured.
3229 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
3231 * mapping.scm (hash-table-mapping): Explicitly request that
3232 make-vector fill new vectors with '(); this will make it easier to
3233 port Guile Scheme code to other Schemes.
3234 * boot-9.scm (make-print-style, make-print-table): Same.
3236 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
3238 * boot-9.scm (load): rewritten again.
3239 Append "." to the default %load-path.
3240 (feature?): new function: checks for a symbol in the features list.
3241 (module-local-variable): remove apparently useless (caddr (list m v
3243 (%load-announce): minor formatting change.
3244 (file-exists?): use access? if posix is featured.
3245 (file-is-directory?): use stat if i/o-extensions is featured.
3246 (try-module-autoload module-name): use file-exists? before
3249 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
3251 * boot-9.scm: Added conditional loading of threads.scm.
3253 * threads.scm: New file. Modified from the Cygnus-r0.3
3256 * boot-9.scm (error-catching-loop): Added handling of key
3259 * boot-9.scm: Name change %%bad-throw --> bad-throw.
3261 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
3263 * boot-9.scm (make-record-type, record-constructor): Don't assume
3264 the empty list is false when parsing the argument list.
3266 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
3268 * boot-9.scm (signal-handler): Clean up logic.
3270 * boot-9.scm (load): Assume %load-path is always bound.
3272 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
3274 * boot-9.scm (error): replace another throw with scm-error. Throw
3275 to 'misc-error instead of 'error (no need to distinguish these.)
3276 Don't set up 'error as a key.
3277 Set up regex-error as a key, if regex is available.
3278 (signal-handler): use scm-error, not throw.
3280 (%try-load, try-load-with-path, %load, load-with-path,
3281 basic-try-load-with-path, basic-load-with-path,
3282 try-load-module-with-path,load-module-with-path): deleted, since
3283 they seem redundant.
3284 (try-load): define using %try-load, not try-load-with-path.
3285 (load): rewritten. load tries to open the file directly and
3286 with a .scm extension before searching the library directories
3287 (should "." be added to %load-path? then load could still open
3288 directly files starting with "/").
3289 (try-module-autoload): use load, not load-with-path.
3290 (%load-indent): deleted, -2 was causing errors.
3292 (%read-sharp): use port-line, not line-number.
3294 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
3296 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
3297 straightforward to provide the equivalent functionality using
3298 (catch #t ...), so there's no need for the extra complexity. 2)
3299 Outside the context of a read-eval-print loop (which Guile should
3300 not require) it's not clear we should do anything more complicated
3301 than print an error and exit; the user or REPL can establish
3302 something better if it wants. 3) In that case, it's much more
3303 robust to just do it in the C code.
3305 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
3307 * boot-9.scm (%try-load): define using primitive-load. Previously
3308 %try-load itself was the primitive.
3309 (load-with-path): use scm-error instead of %load-announce-lossage.
3310 Errors are thrown to 'misc-error instead of 'could-not-load.
3311 (%load-announce-lossage): deleted.
3313 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
3315 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
3316 (make-record-type type-name fields): Temporarily remove support
3317 for printing of records (not possible yet with C printer).
3319 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
3321 * boot-9.scm (file-exists?, file-is-directory): catch only
3322 system-error, not every kind of error.
3323 (scm-error): new procedure.
3325 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
3327 * boot-9.scm: Formatting tweaks.
3329 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
3331 * boot-9.scm (%%handle-system-error key): remove the code for
3332 SCM-style errors. handle the case that an unexpected number
3333 of args are supplied.
3334 (%%system-errors): removed.
3335 (error): redefine using a throw with key and 4 args.
3336 ('error): associate 'error, 'error-signal keys with
3337 %%handle-system-error.
3338 (%%default-error-handler): removed.
3339 (signal-handler): throw with 4 args and use the error-signal key.
3340 Create an error message instead of using numerical codes.
3341 (%%bad-throw): call error instead of throw if key not found.
3343 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
3345 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
3346 (%%handle-system-error key): check subr is not #f before printing.
3347 Recognize %s (embed an argument using "display") and
3348 %S (embed an argument using "write").
3350 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
3352 * boot-9.scm (%%handle-system-error key): set args and rest to
3353 the empty list if they are #f.
3354 Initialize out-of-range as an error key.
3356 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
3358 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
3360 * boot-9.scm: remove leading %% from references to '%%system-error.
3361 (%%handle-system-error): don't pass all the thrown arguments when
3362 aborting, just the key and subr.
3363 Remove the code to "Install default handlers for built-in errors."
3364 Remove the definition of the syserror procedure.
3365 Associate 'numerical-overflow with default handler.
3367 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3369 * boot-9.scm: Name change: value-ref --> local-ref
3370 resolved-ref --> nested-ref Motivation: conformance to the other
3371 dictionary operators: list-ref operates on list, vector-ref
3372 operates on vector, nested-ref operates on nested namespace,
3373 local-ref operates on the local nested namespace.
3375 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
3377 * boot-9.scm (%%handle-system-error): recognise errors thrown
3378 by lgh-error (fill-message etc.)
3379 (fill-message): check first whether args is null.
3380 (fill-message): bug fix and check that args is a list.
3382 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
3384 * boot-9.scm: %load-path is initialized in C code now.
3385 (implementation-vicinity, parse-path): Deleted, along with code to
3386 initialize %load-path.
3388 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
3389 "/", use one to separate it from the file.
3391 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
3393 * boot-9.scm (%load-path): Add the site directory.
3394 Add the directory named after the version number.
3395 Prepend the version number to the other directories in the path.
3396 Simplify by mapping the common prefix onto each item.
3397 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
3398 sitedatadir): New definitions.
3399 (libparent, libdir, install_path): Replaced by above.
3400 (install): Create the above directories.
3401 Put the source files into subpkgdatadir.
3402 (uninstall): Remove the above directories.
3404 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
3406 Don't use the PLUGIN system to gather information for the
3407 Makefile's distribution and installation targets; just put it all
3408 in the Makefile directly.
3409 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
3411 * configure.in: Remove code that gets and substitutes scm_files and
3413 * Makefile.in (scm_files, aux_files): Write out the list of files
3414 here, where people expect to find them.
3416 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3418 * boot-9.scm: Preliminary solution: optionally load the debug
3419 module. Changed "gls" to "guile1.0b3".
3421 * debug.scm: New file: debug extensions.
3423 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3425 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
3426 weak-key-hash-table?. (Again!)
3428 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3430 * boot-9.scm (print-vector, macro-table, xformer-table):
3431 Renamed weak-hash-table --> weak-key-hash-table.
3433 * poe.scm (funcq-memo): Renamed weak-hash-table -->
3434 weak-key-hash-table.
3436 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
3438 * boot-9.scm (*null-device*): global constant from goonix.
3439 (move->fdes): adjusted for boolean primitive-move->fdes. return
3440 the modified port, always set revealed count to 1 (SCSH compatible).
3441 (release-port-handle port): from goonix (SCSH compatible).
3442 (%open-file): removed.
3443 (open-input-file, open-output-file, file-exists?, file-is-directory?):
3444 modified for open-file change (does not return #f).
3446 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
3448 * Makefile.in (dist-dir): New target for new dist system.
3449 (manifest): Deleted.
3450 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
3451 directory, and needs special treatment in the dist-dir target.
3453 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
3455 * boot-9.scm: remove the wrappers for '%' system primitives,
3456 now that they throw errors directly.
3457 remove make-simple-wrapper and similar functions.
3458 protect a call to getenv which may now throw an exception.
3460 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
3462 * boot-9.scm (false-if-exception): new macro.
3464 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
3466 * The more things change...