*** empty log message ***
[bpt/guile.git] / ice-9 / ChangeLog
1 2004-08-25 Marius Vollmer <mvo@zagadka.de>
2
3 * boot-9.scm (%cond-expand-features): Addef srfi-13 and srfi-14.
4
5 2004-08-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
6
7 * debugger/utils.scm (display-source): Use unmemoize-expr instead
8 of unmemoize.
9 (write-frame-short/expression): Likewise.
10
11 2004-08-18 Kevin Ryde <user42@zip.com.au>
12
13 * and-let-star.scm: Add cond-expand-provide srfi-2, since this module
14 provides that feature.
15 * receive.scm: Add cond-expand-provide srfi-8, since this module
16 provides that feature.
17
18 2004-08-09 Marius Vollmer <mvo@zagadka.de>
19
20 From Matthias Koeppe. Thanks!
21
22 * pretty-print.scm (generic-write): In the local procedure `wr', use
23 object->string to print all data (except for the reader macros),
24 rather than implementing an own printer. The user-visible
25 difference is that procedures and control characters like #\tab
26 are now printed in the same way as by `write'.
27
28 2004-08-09 Kevin Ryde <user42@zip.com.au>
29
30 * slib.scm (*features*): Remove array and array-for-each, core
31 definitions are insufficient for latest slib.
32 (t, nil): New constants slib says are supposed to exist.
33 (call-with-open-ports, browse-url): New functions for latest slib.
34 Implementations taken from Template.scm (public domain).
35 (open-file): Extend core definition to accept symbols for the mode,
36 required by latest slib.
37 (delete-file): Replace core definition with version returning #t/#f as
38 per slib spec.
39 (system): Mark as #:replace to suppress override warning, use new
40 style "(@ (guile) system)" to call core function.
41
42 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
43
44 * format.scm: Remove the arbitrary limit of 100 iterations for the
45 ~{...~} control structure.
46
47 2004-07-10 Kevin Ryde <user42@zip.com.au>
48
49 * and-let-star.scm (and-let*): Remove unused variable "val".
50 * pretty-print.scm (read-macro-prefix): Remove unused variable "tail".
51
52 * boot-9.scm (%cond-expand-features): Add srfi-6 which is in the core.
53
54 * safe-r5rs.scm (re-export): Uncomment numerator, denominator,
55 rationalize, since they now exist.
56
57 2004-07-05 Kevin Ryde <user42@zip.com.au>
58
59 * slib.scm (system): Correction to redefinition, now guile is stricter
60 about when a define binding comes into existance.
61
62 2004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
63
64 * boot-9.scm: Reordered definitions such that macro definitions
65 preceed their first usage. Include and define deprecated stuff
66 late in the file to have a better change of detecting accidental
67 uses of deprecated definitions. Further, unified the layout a
68 little and grouped definitions more cleanly into topics.
69
70 2004-05-24 Marius Vollmer <mvo@zagadka.de>
71
72 * history.scm (use-value-history): Use resolve-interface instead
73 of resolve-module so that only the exported bindings are searched.
74 (save-value-history): Export the newly defined variable. Reported
75 by Wolfgang Jaehrling.
76
77 2004-05-04 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
78
79 * boot-9.scm (resolve-module): Always start searching from the
80 root module. This will allow the C equivalent scm_resolve_module
81 to work, independent of what the current module is.
82
83 2004-02-18 Marius Vollmer <mvo@zagadka.de>
84
85 * boot-9.scm (top-repl): Make the (guile-user) module use the
86 (ice-9 r5rs) module.
87
88 2004-02-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
89
90 * boot-9.scm (module-map): Renamed hash-map -> hash-map->list.
91
92 2004-02-09 Neil Jerram <neil@ossau.uklinux.net>
93
94 * debugger/trap-hooks.scm (debug-hook-membership): New, exported.
95
96 * debugger/commands.scm (debug-trap-hooks): New, exported.
97
98 2004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
99
100 * debugger/breakpoints/Makefile.am (TAGS_FILES),
101 debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
102 this variable instead of ETAGS_ARGS so that TAGS can be built
103 using separate build directory.
104
105 2004-01-20 Neil Jerram <neil@ossau.uklinux.net>
106
107 * boot-9.scm (error-catching-loop): Back out 2003-11-19 change to
108 lazy-handler-dispatch lookup.
109
110 2004-01-12 Marius Vollmer <mvo@zagadka.de>
111
112 * mapping.scm: Use '#:' prefix for keywords instead of ':'.
113 Thanks to Richard Todd!
114
115 2004-01-11 Kevin Ryde <user42@zip.com.au>
116
117 * slib.scm (system): New function, giving an exit code return in
118 accordance with slib spec.
119
120 Revert this, it breaks test-suite/tests/r5rs_pitfalls.test where
121 false-if-exception is used within syntax-rules. (Suspect syntax-rules
122 ought to support this sort of thing, but it doesn't right now.)
123 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
124 to depend on expansion environment.
125
126 2004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
127
128 * boot-9.scm (with-fluids): Use with-fluid* when only one fluid is
129 being set.
130
131 2004-01-07 Kevin Ryde <user42@zip.com.au>
132
133 * q.scm (q-pop!): Should be "null?" not "not" for end-of-list.
134 Reported by Richard Todd.
135
136 2004-01-04 Kevin Ryde <user42@zip.com.au>
137
138 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
139 to depend on expansion environment.
140
141 * slib.scm (-1+, <?, <=?, =?, >?, >=?): Define as aliases for 1-, <,
142 <=, =, >, >= respectively, required by slib 'rev2-procedures but no
143 longer in the guile core.
144
145 2003-11-19 Neil Jerram <neil@ossau.uklinux.net>
146
147 * boot-9.scm (error-catching-loop): Defer lookup of
148 lazy-handler-dispatch.
149
150 2003-11-17 Marius Vollmer <mvo@zagadka.de>
151
152 * boot-9.scm (@, @@): New macros.
153
154 2003-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
155
156 * boot-9.scm: Started comment about module system workings.
157
158 2003-11-11 Neil Jerram <neil@ossau.uklinux.net>
159
160 * debugger.scm: Change ui-* calls to gds-*.
161 (debug-on-error): Debug if throw key is in specified syms, not if
162 it isn't! Also throw 'abort after debugging, so as to skip the
163 REPL's backtrace.
164
165 * debugger/behaviour.scm (*trap*): New variable, stores trap type.
166 (before-enter-frame-hook, before-apply-frame-hook,
167 before-exit-frame-hook): Set here.
168 (debug-if-flag-set): Passed into flags on debug-stack call.
169 (at-step, at-next): Changed to debug at frame exit points as well.
170
171 * debugger/utils.scm: Big comment added.
172
173 2003-10-30 Neil Jerram <neil@ossau.uklinux.net>
174
175 * debugger/ui-client.scm: Moved to ../emacs/gds-client.scm.
176
177 2003-10-16 Neil Jerram <neil@ossau.uklinux.net>
178
179 * debugger/ui-client.scm (ui-connect): Add arg to say whether to
180 debug immediately on connection.
181 (ui-eval): Handle exceptions during read and evaluation.
182
183 * debugger.scm (debug-on-error, default-default-lazy-handler):
184 Remove an unnecessary level of indirection in calling lazy
185 handler.
186
187 2003-10-12 Marius Vollmer <mvo@zagadka.de>
188
189 * ftw.scm (directory-files): Close dir-stream when done. Thanks
190 to Paul Jarc!
191
192 2003-10-09 Kevin Ryde <user42@zip.com.au>
193
194 * poe.scm (funcq-assoc): Rewrite, don't assume '() is false, and
195 actually traverse the given alist.
196
197 2003-10-06 Neil Jerram <neil@ossau.uklinux.net>
198
199 * debugger/ui-client.scm (handle-instruction): Add evaluation
200 support.
201 (ui-eval): New.
202
203 2003-10-04 Neil Jerram <neil@ossau.uklinux.net>
204
205 * debugger/ui-client.scm (ui-disable-async-thread,
206 ui-continue-async-thread, start-async-ui-thread): New.
207 (ui-command-loop): Call ui-disable-async-thread and
208 ui-continue-async-thread.
209 (handle-instruction): Read terminating newline char so it doesn't
210 cause following select to pop immediately.
211
212 2003-09-25 Neil Jerram <neil@ossau.uklinux.net>
213
214 * debugger/ui-client.scm, debugger/ui-server.scm: New (work in
215 progress on new debugging front end).
216
217 2003-09-24 Neil Jerram <neil@ossau.uklinux.net>
218
219 * debugger.scm (default-default-lazy-handler, debug-on-error):
220 New.
221
222 * debugger/behaviour.scm (debug-if-flag-set): Display debug entry
223 messages through (debugger-output-port).
224 (after-exit-frame-hook): Trace through (debugger-output-port).
225 (trace-here): Trace through (debugger-output-port).
226
227 * debugger/commands.scm (evaluate): If supplied expression is a
228 string, read from it before evaluating.
229 (evaluate): Change output format to "EXPR => VALUE".
230
231 2003-09-19 Kevin Ryde <user42@zip.com.au>
232
233 * popen.scm (open-process): Correction to previous fdes closing
234 change, need to watch out for stdin==stderr or stdout==stderr.
235
236 2003-09-15 Marius Vollmer <mvo@zagadka.de>
237
238 * format.scm (format): Rewritten as a big letrec to make it
239 reentrant. No mutex is necessary. Thanks to Clinton Ebadi!
240
241 2003-09-13 Kevin Ryde <user42@zip.com.au>
242
243 * boot-9.scm (file-exists?): Use stat rather than access?, so as to
244 follow the effective UID/GID not the real ID. file-exists? is
245 normally used as a prelude to opening or some other operation, and
246 it's the effective ID which will apply there. Emacs file-exists-p
247 uses stat, presumably for the the same reason.
248
249 2003-09-12 Marius Vollmer <mvo@zagadka.de>
250
251 * boot-9.scm (make-autoload-interface): Use a proper hashtable as
252 the obarray, not an empty vector.
253 (make-module): Always construct a hashtable for the obarray, even
254 for empty ones.
255
256 * format.scm (format:error): Use 'format:format' instead of
257 'format' since the latter will lock the mutex again that we have
258 already locked.
259 (format:format-work): Flag multiple '#' as an error.
260
261 2003-08-17 Kevin Ryde <user42@zip.com.au>
262
263 * boot-9.scm (while): Use a new key dynamically for each loop, so
264 break and continue associate to their loop even when recursing.
265
266 2003-08-14 Kevin Ryde <user42@zip.com.au>
267
268 * boot-9.scm (while): Rewrite, continue as proper escape, break
269 without return value, break and continue new for each while form,
270 don't depend on bindings in expansion environment.
271
272 * popen.scm (open-process): Close input-fdes, output-fdes and
273 error-fdes after duping them to 0, 1 and 2.
274
275 2003-06-19 Kevin Ryde <user42@zip.com.au>
276
277 * threads.scm (parallel): For no forms, use `(values)' not `(begin)'.
278
279 2003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
280
281 * boot-9.scm (make-autoload-interface): Added missing quote around
282 vector constant.
283
284 2003-05-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
285
286 * deprecated.scm (list*): Added.
287
288 2003-05-10 Kevin Ryde <user42@zip.com.au>
289
290 * documentation.scm (file-commentary, find-documentation-in-file): Use
291 call-with-input-file, to close ports when done.
292
293 2003-05-03 Marius Vollmer <mvo@zagadka.de>
294
295 * gap-buffer.scm (point++n!, point+-n!): Use substring-move!
296 instead of substring-move-left! or substring-move-right!. Thanks
297 to Kevin Ryde.
298
299 * deprecated.scm (substring-move-left!, substring-move-right!):
300 New.
301
302 * boot-9.scm (display-usage-report): Use keyword->symbol instead
303 of keyword-symbol, which doesn't exist. Thanks to Kevin Ryde.
304
305 * hcons.scm (hashq-cons-get-handle): Pass only the expected four
306 arguments to hashx-get-handle. Thanks to Kevin Ryde!
307
308 * lineio.scm (make-line-buffering-input-port) Pass 0 as second
309 argument to string-ref. Thanks to Kevin Ryde!
310
311 2003-04-25 Mikael Djurfeldt <mdj@kvast.blakulla.net>
312
313 * serialize.scm: New file.
314
315 2003-04-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
316
317 * threads.scm (n-for-each-par-map): New procedure.
318
319 2003-04-05 Marius Vollmer <mvo@zagadka.de>
320
321 * Changed license terms to the plain LGPL thru-out.
322
323 2003-03-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
324
325 * deprecated.scm: New file, to collect deprecated things.
326 * Makefile.am (ice9_sources): Added.
327
328 * boot-9.scm: Load "ice-9/deprecated.scm" when appropriate.
329 (try-load-module): Also try the old deprecated method, maybe.
330
331 2003-03-22 Marius Vollmer <mvo@zagadka.de>
332
333 * boot-9.scm (call/cc): Added.
334
335 2003-03-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
336
337 * list.scm: New file.
338
339 2003-03-19 Marius Vollmer <mvo@zagadka.de>
340
341 * format.scm (format:out-substr): Update the column counter
342 correctly. This fixes the behavior of ~T (tabbing) after ~F, for
343 instance. Thanks to Matthias Koeppe!
344
345 2003-03-13 Mikael Djurfeldt <djurfeldt@nada.kth.se>
346
347 * session.scm (apropos): Don't look in duplicates interface.
348
349 2003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
350
351 * boot-9.scm (duplicate-handlers): Make sure the merge-generics
352 and merge-accessors handlers are available also before (oop goops)
353 has been loaded. This is so that people can put them as default
354 handlers without worrying about availability.
355
356 * slib.scm (logical:ipow-by-squaring): Removed.
357
358 * boot-9.scm (ipow-by-squaring): Removed.
359 (default-duplicate-binding-handler): Set default to
360 '(replace warn-override-core warn last)
361
362 * boot-9.scm (module-make-local-var!): Use module-add!.
363 (module-primitive-add!): New function.
364 (resolve-interface): Use
365 (call-with-deferred-observers, module-call-observers): New
366 functions.
367 (module-defer-observers, module-defer-observers-mute,
368 module-defer-observers-table): New variables.
369 (process-define-module, process-use-modules, export, re-export):
370 Use call-with-deferred-observers.
371 (module-duplicates-info, set-module-duplicates-info!): Removed.
372 (module-duplicates-handlers, module-duplicates-interface): New.
373 (module-type): Added duplicates-handlers and
374 duplicates-interface.
375
376 * syncase.scm (eval): Mark as replacement.
377
378 * boot-9.scm (defmacro-public): Use export-syntax instead of export.
379
380 * slib.scm (*features*): Set the core variable instead of defining
381 a local version.
382 (provide, provided?): Mark as replacements.
383
384 * boot-9.scm (beautify-user-module!): Don't install the duplicates
385 handler here.
386 (default-duplicate-binding-handler): Renamed from
387 default-module-duplicates-handler; Removed converter.
388 (process-duplicates): Lookup default duplicates handler dynamically.
389 (default-duplicate-binding-procedures): New parameter.
390
391 2003-03-12 Mikael Djurfeldt <mdj@kvast.blakulla.net>
392
393 * slib.scm (identity): Removed. (Provided by core.)
394
395 2003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
396
397 * debugger/command-loop.scm: Prefix all commands imported from
398 (ice-9 debugger command-loop) with debugger:.
399
400 * boot-9.scm (process-duplicates): Use module-import-interface.
401 (module-symbol-interface): Removed.
402 (resolve-interface): Process #:hide; Name custom interfaces
403 appropriately.
404 (module-use!, module-use-interfaces!): Remove existing interfaces
405 on the use-list based on module name rather than interface
406 identity so that custom interfaces truly replaces their previous
407 version.
408
409 * boot-9.scm (module-override!, make-mutable-parameter,
410 lookup-duplicates-handlers, default-module-duplicates-handler):
411 New functions.
412 (process-duplicates): Don't call duplicates handlers for duplicate
413 bindings of the same variable.
414 (process-define-module): Process #:replace.
415 (compile-interface-spec, resolve-interface): Process #:prefix.
416
417 * format.scm (format): Marked as replacement.
418
419 * threads.scm (future, future-ref): Marked as replacements.
420
421 2003-03-07 Mikael Djurfeldt <djurfeldt@nada.kth.se>
422
423 These changes enables checking for duplicate imported bindings.
424
425 * boot-9.scm (process-define-module): Handle #:duplicates.
426 (module-use-interfaces! process-duplicates): New functions.
427 (duplicate-handlers): Dictionary of duplicate handlers.
428 (module-symbol-local-binding, module-symbol-binding): Bugfix.
429
430 2003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
431
432 * session.scm (apropos): Use hash-for-each instead of
433 array-for-each.
434
435 2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
436
437 * boot-9.scm (make-module): Changed default size from 1021 to 31
438 (since the size now adapts).
439 (macro-table, xformer-table): Changed default size from 523 to 61.
440 (make-module): Don't call make-hash-table with zero size.
441
442 * Makefile.am (ice9_sources): Added weak-vector.scm.
443
444 * weak-vector.scm: New file.
445
446 * boot-9.scm (module-clear!): Use hash-clear!.
447 (module-for-each): Use hash-for-each.
448 (module-map): Use hash-map.
449
450 2003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
451
452 * boot-9.scm (make-hash-table): Turned primitive.
453
454 2003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
455
456 * syncase.scm (guile-macro): Strip syntactic information from
457 expression before trying to treat it as a Guile macro call.
458 (Thanks to Kevin Ryde.)
459
460 2003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
461
462 * threads.scm (parallel, letpar): Rewritten.
463
464 2003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
465
466 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
467 futures.
468
469 2003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
470
471 * occam-channel.scm (alt): New syntax.
472
473 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
474 operator as a primitive procedure.
475 (build-data): Quote vectors (psyntax.ss requires this).
476
477 2003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
478
479 * psyntax.ss (self-evaluating?): Allow procedures implanted in
480 source. (Guile uses this internally.)
481
482 2003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
483
484 * psyntax.ss (build-data): Don't quote self-evaluating expressions
485 in output. (We normally *would* like also these expressions to be
486 quoted, but until Guile's native macros and syncase cooperates
487 better, it is less destructive not to quote.)
488 (self-evaluating?): Removed null? (In Guile, the empty list is not
489 self-evaluating).
490 (sc-chi): Export chi as sc-chi.
491 (external-macro): New syntax type.
492
493 * psyntax.pp: Regenerated.
494
495 * compile-psyntax.scm: Set expansion-eval-closure.
496
497 * boot-9.scm (use-syntax): Return *unspecified*.
498
499 * syncase.scm: Set expansion-eval-closure to
500 the-syncase-eval-closure during booting so that variables are
501 created in the correct module.
502 (syncase): Set expansion-eval-closure.
503 (define-syntax define-syntax-public eval-when fluid-let-syntax
504 identifier-syntax let-syntax letrec-syntax syntax syntax-case
505 syntax-rules with-syntax include): Removed definitions (these are
506 created from within psyntax.pp).
507 Enable expansion of Guile macros during a syntax-case
508 transformation.
509
510 2003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
511
512 * occam-channel.scm (make-channel): Renamed from channel.
513 (make-timer): New function.
514
515 * Makefile.am (ice9_sources): Added occam-channel.scm.
516
517 * occam-channel.scm: New file. Implements occam-like channels.
518
519 2002-12-28 Neil Jerram <neil@ossau.uklinux.net>
520
521 * boot-9.scm (module-defined-hook): New hook, run whenever a new
522 module is defined.
523 (process-define-module): Run this hook.
524
525 2002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
526
527 * threads.scm: Removed bogus definition of future-ref.
528
529 2002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
530
531 * threads.scm (par-map, par-for-each): Reimplemented using
532 joing-thread.
533 (parallel): Reimplemented using futures.
534 (n-par-map, n-for-each): New procedures.
535
536 2002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
537
538 * optargs.scm (improper-list-copy): New.
539 (parse-arglist): Use it instead of list-copy.
540
541 2002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
542
543 * threads.scm (letpar): New macro.
544
545 2002-12-08 Rob Browning <rlb@defaultvalue.org>
546
547 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
548 GUILE_EFFECTIVE_VERSION.
549
550 * debugger/Makefile.am (subpkgdatadir): VERSION ->
551 GUILE_EFFECTIVE_VERSION.
552
553 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
554
555 2002-12-04 Mikael Djurfeldt <mdj@linnaeus>
556
557 * threads.scm (parallel): New macro.
558 (par-map, par-for-each): New procedures.
559
560 * documentation.scm (object-documentation): Added support for
561 defmacros.
562
563 2002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
564
565 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
566 removing it in my patch from 2002-11-16.
567
568 2002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
569
570 Thanks to Mikael Djurfeldt for a bugreport which led to the
571 following changes:
572
573 * slib.scm (%system-define): Removed.
574
575 (define): Changed to use define-private instead of
576 %system-define.
577
578 * boot-9.scm (define-private): Undid my changes from 2002-11-16
579 until Guile supports hygienic macros.
580
581 2002-11-17 Neil Jerram <neil@ossau.uklinux.net>
582
583 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
584 has been removed from the core.
585
586 2002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
587
588 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
589 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
590 syntax-rules, with-syntax, include): Changed definitions to form
591 'real' macro definitions.
592
593 2002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
594
595 * boot-9.scm (define-private, export-syntax, export-syntax):
596 Fixed my previous fix (blush).
597
598 2002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
599
600 * boot-9.scm (define-private, export-syntax, export-syntax):
601 Changed definitions to form 'real' macro definitions.
602
603 2002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
604
605 * format.scm (format): Use 'monitor' properly. Not the definition
606 needs to be restricted, the actual function needs to be.
607
608 2002-11-05 Neil Jerram <neil@ossau.uklinux.net>
609
610 * boot-9.scm (define-option-interface): Fix to "simplification"
611 change below.
612
613 * debugger/breakpoints/source.scm: Enable source property
614 recording when module is loaded.
615 (##): Cope with ports whose `filename' is not a string.
616
617 2002-11-04 Neil Jerram <neil@ossau.uklinux.net>
618
619 * boot-9.scm (define-option-interface): Simplify code-generation
620 code.
621
622 * debugger/command-loop.scm (read-and-dispatch-command): Import
623 set-readline-prompt dynamically if we need to. (Previous
624 arrangement didn't work if this module was loaded before (ice-9
625 readline).)
626
627 2002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
628
629 * format.scm (format): Wrap a monitor around format:format since
630 it is not thread-safe.
631
632 2002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
633
634 * threads.scm (%thread-handler): Explicitely return '#f'. This
635 value will be returned by join-thread.
636
637 2002-10-26 Neil Jerram <neil@ossau.uklinux.net>
638
639 Merging debugger enhancements previously in separate
640 `guile-debugger' package ...
641
642 * debugger.scm: Factored out into the following constituent parts
643 - see comment in file for more details.
644 (*not-yet-introduced*): New (avoids repeatedly introducing the
645 debugger when entering it from breakpoints).
646 (debug-stack): New.
647 (debug): Rewrite to use more general `debug-stack'.
648
649 * debugger/commands.scm, debugger/command-loop.scm,
650 debugger/state.scm, debugger/utils.scm: New files containing bits
651 of old (ice-9 debugger), plus some rewriting and enhancements for
652 breakpoint support ...
653
654 * debugger/state.scm (state-rtd): Add flags field.
655 (make-state): Extend to optionally take flags.
656 (state-flags): New, accessor for flags field.
657 (set-state-index!, set-stack-index!): New.
658 (write-state-short): Rewritten to print out the current source
659 location in a way that is more easily trackable by Emacs.
660
661 * debugger/commands.scm (assert-continuable, continue, finish,
662 trace-finish, step, next): New debugger commands for continuing
663 execution from a breakpoint.
664
665 * debugger/behaviour.scm, debugger/breakpoints.scm,
666 debugger/breakpoints/procedural.scm,
667 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
668 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
669 support.
670
671 * Makefile.am (SUBDIRS): Add debugger subdirectory.
672
673 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
674
675 2002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
676
677 * threads.scm (%thread-handler): Do not call unmask-signals, that
678 should be unnecessary now.
679
680 2002-10-20 Mikael Djurfeldt <mdj@linnaeus>
681
682 * boot-9.scm (top-repl): Look for use-emacs-interface in
683 guile-user-module (should it be there?) instead of
684 the-root-module.
685
686 2002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
687
688 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
689 (error-catching-loop): use call-with-blocked-asyncs and
690 call-with-unblocked-asyncs instead of mask-signals and
691 unmask-signals.
692
693 2002-10-09 Neil Jerram <neil@ossau.uklinux.net>
694
695 * buffered-input.scm (make-buffered-input-port): Build an
696 input-waiting thunk for just extended version of make-soft-port.
697
698 2002-10-04 Rob Browning <rlb@defaultvalue.org>
699
700 * boot-9.scm (expt): switch if sense and use negative? rather than
701 >= 0.
702
703 2002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
704
705 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
706 limit the signal stack.
707
708 2002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
709
710 * boot-9.scm (feature?): Added deprecation message.
711
712 2002-09-14 Rob Browning <rlb@defaultvalue.org>
713
714 * boot-9.scm (sqrt): minor indentation fix.
715
716 2002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
717
718 * syncase.scm: Set the module transformer of the-syncase-module so
719 that we can use define-syntax.
720 (define-syntax-public): New and exported.
721
722 2002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
723
724 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
725 (sc-macro): Set the expansion-eval-closure expanding the form.
726 (putprop, getprop): Use the expansion-eval-closure to find
727 variables instead of the current module.
728
729 2002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
730
731 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
732
733 2002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
734
735 * boot-9.scm (define-option-interface): Replaced "macro" by
736 mmacro.
737
738 2002-06-01 Gary Houston <ghouston@arglist.com>
739
740 * boot-9.scm (file-set-position): Make third argument optional,
741 for SCM compatibility.
742 (file-position): simplify definition.
743
744 2002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
745
746 * boot-9.scm (file-set-position): Use seek instead of fseek.
747
748 2002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
749
750 * format.scm (format:out-inf-nan): New.
751 (format:out-fixed, format:out-expon, format:out-general): Use it
752 to print infs and nans.
753
754 * boot-9.scm (unsetenv): New, for completeness.
755
756 2002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
757
758 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
759 print long real numbers with large positive and negative
760 exponents.
761
762 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
763
764 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
765
766 2002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
767
768 * gap-buffer.scm: New file.
769
770 * Makefile.am (ice9_sources): Add gap-buffer.scm.
771
772 2002-03-12 Rob Browning <rlb@defaultvalue.org>
773
774 * syncase.scm: fix bad let.
775 (gensym): fix failure on non-threaded
776
777 2002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
778
779 * ftw.scm: New file.
780
781 * Makefile.am (ice9_sources): Add ftw.scm.
782
783 2002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
784
785 * Makefile.am: Update path to pre-inst-guile automake frag.
786
787 * boot-9.scm: Comment grammar fixes; nfc.
788 Thanks to Christopher Cramer.
789
790 2002-02-24 Rob Browning <rlb@defaultvalue.org>
791
792 * syncase.scm (gensym): redefine locally so we can control it's
793 properties. This is in preparation for changing the future public
794 gensym to produce unreadable symbols.
795
796 * psyntax.pp: updated to reflect new syncase.scm.
797
798 2002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
799
800 * regex.scm: Add commentary; nfc.
801
802 2002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
803
804 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
805
806 (psyntax.pp): Use $(preinstguile).
807
808 2002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
809
810 * psyntax.ss (datum->syntax-object): Removed assertion in
811 datum->syntax-object that checked if the first argument, a
812 syntax-object, is an identifier. This was a unconvenient and
813 unnecessary restriction. Thanks to Dorai Sitaram!
814
815 2002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
816
817 More options for pretty-print. Thanks to Matthias Köppe!
818
819 * pretty-print.scm (generic-write): New per-line-prefix argument.
820 (pretty-print): Check whether the new keyword argument style is
821 used and dispatch to pretty-print-with-keys accordingly.
822
823 2001-11-27 Marius Vollmer <mvo@zagadka.ping.de>
824
825 * format.scm (string-index, list-head): Removed, we already have
826 these in the core.
827
828 2001-11-06 Marius Vollmer <mvo@zagadka.ping.de>
829
830 * boot-9.scm (turn-on-debugging): New function, to be used by
831 scm_compile_shell_switches.
832
833 * debug.scm: Do not enable debugging and recording of source
834 positions.
835
836 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
837
838 * slib.scm (array-indexes): New procedure.
839 (*features*): Extend. (Probably some of these options should be
840 set elsewhere.) (Thanks to Aubrey Jaffer.)
841
842 * and-let-star-compat.scm, and-let-star.scm, calling.scm,
843 channel.scm, common-list.scm, debug.scm, debugger.scm,
844 expect.scm, hcons.scm, lineio.scm, ls.scm, mapping.scm,
845 null.scm, optargs.scm, poe.scm, popen.scm, pretty-print.scm,
846 q.scm, r5rs.scm, rdelim.scm, regex.scm, runq.scm, safe-r5rs.scm,
847 safe.scm, session.scm, slib.scm, streams.scm, string-fun.scm,
848 syncase.scm, threads.scm: Move module the system directives
849 `export', `export-syntax', `re-export' and `re-export-syntax'
850 into the `define-module' form. This is the recommended way of
851 exporting bindings.
852
853 2001-10-17 Mikael Djurfeldt <mdj@linnaeus>
854
855 * boot-9.scm (process-define-module): New options: :export-syntax,
856 :re-export-syntax
857
858 2001-10-14 Mikael Djurfeldt <mdj@linnaeus>
859
860 * arrays.scm (read:uniform-vector): Return *unspecified* instead
861 of raising an exception if hash extend character isn't followed by
862 the array list. (This prevents parsing of uniform vectors from
863 interfering with parsing of numbers.)
864
865 2001-10-08 Mikael Djurfeldt <mdj@linnaeus>
866
867 * emacs.scm (%%load-port, %%emacs-load, %%emacs-eval-request,
868 %%emacs-select-frame, %%emacs-frame-eval, %%emacs-symdoc,
869 %%apropos-internal): Use module-define! instead of
870 builtin-variable.
871
872 2001-09-24 Mikael Djurfeldt <mdj@linnaeus>
873
874 * boot-9.scm (process-define-module): Added :re-export.
875
876 2001-09-19 Thien-Thi Nguyen <ttn@glug.org>
877
878 * expect.scm: Commentary fix; nfc.
879
880 * boot-9.scm (process-use-modules): Fix typo.
881
882 2001-09-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
883
884 * Makefile.am (psyntax.pp): Reference compile-psyntax.scm in
885 $(srcdir) in order to support separate build trees.
886
887 2001-09-08 Thien-Thi Nguyen <ttn@revel.glug.org>
888
889 * optargs.scm (lambda*): Record the broken-down argument list in
890 the `arglist' procedure property.
891 * session.scm (arity): Use new `arglist' procedure property to
892 present a more detailed argument list.
893
894 Thanks to Matthias Köppe!
895
896 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
897
898 * getopt-long.scm (process-options, getopt-long): Fix omission
899 bug: Handle multiple occurrances of an option. Thanks to Daniel
900 Skarda.
901
902 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
903
904 * boot-9.scm: Don't load module (ice-9 rdelim).
905
906 (feature?): Deprecated.
907
908 (id, -1+, return-it, string-character-length, flags,
909 eval-in-module, split-c-module-name,
910 (convert-c-registered-modules, registered-modules,
911 register-modules, warn-autoload-deprecation, init-dynamic-module,
912 dynamic-maybe-call, dynamic-maybe-link,
913 find-and-link-dynamic-module, try-using-libtool-name,
914 try-using-sharlib-name, link-dynamic-module, try-module-linked,
915 try-module-dynamic-link): Removed.
916
917 (module-make-local-var!, module-ensure-local-variable!,
918 module-define!): Eliminate call to `variable-set-name-hint!´.
919
920 (try-load-module, use-syntax, module-export!): Remove deprecated
921 functionality.
922
923 * format.scm: Remove deprecated definition of format that was
924 needed to trick export.
925
926 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
927
928 * optargs.scm: Remove #& reader extension.
929
930 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
931
932 * and-let-star-compat.scm: Deleted.
933
934 * Makefile.am: Remove references to and-let-star-compat.scm.
935
936 2001-08-30 Thien-Thi Nguyen <ttn@revel.glug.org>
937
938 * boot-9.scm (resolve-interface): When returning a custom
939 interface, also consult source module's entire binding set,
940 not just its exported bindings, before throwing error.
941
942 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
943
944 * boot-9.scm (resolve-interface): Get variables from the public
945 interface of a module instead of from the module itselfs.
946
947 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
948
949 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
950
951 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
952
953 * getopt-long.scm: Rewrite.
954 Touch up docstrings.
955 Augment commentary.
956
957 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
958
959 * debugger.scm (run-last-command): Return current state if
960 last-command fluid is not yet set.
961
962 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
963
964 * getopt-long.scm: Refill to fit in 80 columns.
965
966 (process-long-option): Fix bug: Keep track of `optional'
967 value-required info and use this to determine whether or not the
968 next element is to be taken as the option arg.
969
970 2001-07-31 Keisuke Nishida <knishida@nurs.or.jp>
971
972 * boot-9.scm (process-define-module): Fixed a bug that did not
973 handle :use-syntax correctly.
974
975 2001-07-24 Marius Vollmer <mvo@zagadka.ping.de>
976
977 * syncase.scm (psyncomp): Removed, it is now in
978 compile-psyntax.scm.
979
980 2001-07-23 Marius Vollmer <mvo@zagadka.ping.de>
981
982 * Makefile.am (psyntax.pp): Enable rule for psyntax.pp only in
983 maintainer mode. Use compile-psyntax.scm for actual compilation.
984 Make sure the uninstalled guile is used.
985 (EXTRA_DIST): Distribute compile-psyntax.scm
986 * compile-psyntax.scm: New file.
987
988 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
989
990 * and-let-star.scm, debug.scm, debugger.scm, history.scm,
991 lineio.scm, null.scm, optargs.scm, r4rs.scm, r5rs.scm,
992 receive.scm, safe-r5rs.scm, streams.scm: Updated copyright notice.
993
994 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
995
996 * r5rs.scm: Use `re-export' instead of `export' for re-exported
997 primitives. Thanks Neil!
998
999 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
1000
1001 * safe-r5rs.scm: Use `re-export' instead of `export' for
1002 re-exported core bindings. Do not re-export `numerator',
1003 `denominator' and `rationalize' since Guile does not have them.
1004 Continue to use `export' for `null-environment'.
1005
1006 * null.scm: Use `re-export' instead of `export' for re-exported
1007 core bindings. Do not export `unquote' and `unquote-splicing'
1008 since there aren't definitions for them.
1009
1010 * boot-9.scm (compile-interface-spec): Bug fix: the keyword
1011 argument is "renamer" not "rename".
1012
1013 2001-07-09 Rob Browning <rlb@defaultvalue.org>
1014
1015 * boot-9.scm: Fixed the sense of the error message when read-eval?
1016 is #f. Thanks to Matthias for catching this.
1017
1018 2001-07-06 Rob Browning <rlb@defaultvalue.org>
1019
1020 * boot-9.scm: added fix suggested by Matthias for #. read
1021 extension -- now only works if read-eval? is not #f.
1022
1023 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1024
1025 * arrays.scm: Don't install a read-hash-extension for 'b': #b
1026 is already defined by R5RS. Further, there is already a working
1027 read syntax for bitvectors, starting with #*.
1028
1029 2001-06-30 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1030
1031 * Makefile.am (ice9_sources): Removed tags.scm.
1032
1033 * tags.scm: Removed file.
1034
1035 2001-06-29 Neil Jerram <neil@ossau.uklinux.net>
1036
1037 Changes to support tracing other than inside the repl-stack that
1038 is set up by the REPL code in boot-9.scm.
1039
1040 * debug.scm (trace-entry, trace-exit): Conditionalize tracing on
1041 whether the current stack id is in `traced-stack-ids'.
1042 (traced-stack-ids, trace-all-stacks?, trace-stack, untrace-stack):
1043 New.
1044
1045 2001-06-27 Marius Vollmer <mvo@zagadka.ping.de>
1046
1047 * common-list.scm (member-if): Put in docstring for member-if, it
1048 was a cut-n-paste error previously.
1049
1050 2001-06-26 Neil Jerram <neil@ossau.uklinux.net>
1051
1052 * debug.scm (trace): Set evaluator trap options to handle tracing.
1053 Don't reset trace-level to 0.
1054
1055 * boot-9.scm (lazy-handler-dispatch): Remove enter-frame-handler,
1056 apply-frame-handler and exit-frame-handler. (They're replaced by
1057 evaluator trap options.)
1058
1059 2001-06-25 Michael Livshin <mlivshin@bigfoot.com>
1060
1061 * streams.scm (stream-for-each-many): typo fix.
1062
1063 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
1064
1065 * boot-9.scm (re-export-syntax): New.
1066
1067 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
1068
1069 * boot-9.scm (system-error-errno): New.
1070
1071 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
1072
1073 * common-list.scm (remove-if, remove-if-not): Fix typo: use
1074 `pred', not `pred?', in the body.
1075
1076 2001-06-13 Thien-Thi Nguyen <ttn@revel.glug.org>
1077
1078 * match.scm:
1079 No longer use module `(ice-9 slib)'.
1080 Use module `(ice-9 pretty-print)'.
1081 No longer require `pretty-print'.
1082
1083 (slib:error): Delete.
1084 (match:error, match:syntax-err): Rewrite.
1085
1086 Thanks to Dale P. Smith.
1087
1088 * README: New file.
1089
1090 * common-list.scm:
1091 Clean up some docstrings; nfc.
1092 Add Commentary.
1093 Update copyright.
1094
1095 2001-06-11 Marius Vollmer <mvo@zagadka.ping.de>
1096
1097 * boot-9.scm: Use `begin-deprecated' instead of testing
1098 `include-deprecated-features' when conditionally using the (ice-9
1099 rdelim) module. See below.
1100
1101 2001-06-10 Gary Houston <ghouston@arglist.com>
1102
1103 * boot-9.scm: use the (ice-9 rdelim) module if
1104 include-deprecated-features is true.
1105
1106 2001-06-09 Marius Vollmer <mvo@zagadka.ping.de>
1107
1108 * pretty-print.scm (generic-write): Use `object->string' to print
1109 unknown objects.
1110
1111 * optargs.scm (lambda*): Make sure that BODY is always put into a
1112 real body context so that it can contain internal definitions.
1113 Thanks to Matthias Köppe!
1114
1115 * format.scm: Use (ice-9 and-let-star).
1116 (format:out): Initialize format:output-col with current column of
1117 `port', if it has one. Else leave it alone. Thanks to Matthias
1118 Köppe!
1119
1120 2001-06-05 Marius Vollmer <mvo@zagadka.ping.de>
1121
1122 * boot-9.scm (module-ensure-local-variable!): Renamed from
1123 `module-ensure-variable!'. Make sure that there really is a local
1124 variable, not just a visible one.
1125 (module-ensure-variable!): See above.
1126 (module-export!): Behave like always when deprecated features are
1127 enabled, but issue a warning when re-exporting a variable. When
1128 deprecated features are disabled, only export local variables,
1129 creating them uninitialized when they don't yet exist.
1130 (module-re-export!): New. Use this for re-exporting imported
1131 variables.
1132 (re-export): New, to go with `module-re-export!'.
1133
1134 * format.scm: Added kluge at top that keeps `export' from
1135 re-exporting the `format' variable of the `(guile)' module.
1136
1137 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
1138
1139 * boot-9.scm (named-module-use!, top-repl): Use resolve-interface
1140 instead of resolve-module to get at the used module.
1141
1142 2001-06-04 Gary Houston <ghouston@arglist.com>
1143
1144 * rw.scm: export write-string/partial.
1145
1146 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
1147
1148 Added exception notice to all files.
1149
1150 * boot-9.scm (module-export!): Revert 2001-06-02 change. It
1151 caused more problems than it solved by accidentally re-exporting
1152 importing bindings once in a while.
1153
1154 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
1155
1156 * boot-9.scm (try-load-module): Bracket calls to try-module-linked
1157 and try-module-dynamic-link with `begin-deprecated'.
1158 (split-c-module-name, convert-c-registered-modules,
1159 registered-modules, register-modules, warn-autoload-deprecation,
1160 init-dynamic-module, dynamic-maybe-call, dynamic-maybe-link,
1161 find-and-link-dynamic-module, try-using-libtool-name,
1162 try-using-sharlib-name, link-dynamic-module, try-module-linked,
1163 try-module-dynamic-link): Deprecated. Activate deprecation
1164 message.
1165 (define-public): Define binding before exporting it. This is to
1166 avoid accidentally re-exporting a imported binding.
1167
1168 2001-06-02 Marius Vollmer <mvo@zagadka.ping.de>
1169
1170 * Makefile.am (psyntax.pp): Make it dependent on psyntax.ss and
1171 fix command so that it works.
1172
1173 * session.scm (apropos-fold, submodules, apropos): Be careful not
1174 to access unbound variables.
1175
1176 * boot-9.scm (module-ensure-variable!): New.
1177 (module-export!): Use it to ensure that there is a variable to
1178 export. Previously, we would always create a new variable, copy
1179 the value over, and export the new variable. This confused
1180 syncase since it keys important properties on variables.
1181
1182 2001-06-01 Marius Vollmer <mvo@zagadka.ping.de>
1183
1184 * boot-9.scm (top-repl): Revert part of the 2001-05-19 change.
1185 When defining the guile-user module, do not use any modules. Add
1186 them to guile-user when `top-repl' is called.
1187 (resolve-interface): Expect keyword arguments instead of a `spec'.
1188 (compile-interface-spec, compile-define-module-args): New.
1189 (define-module): Use compile-define-module-args to construct
1190 argument for process-define-module.
1191 (use-modules, use-syntax): Use compile-interface-spec to construct
1192 arguments for process-use-modules.
1193 (process-define-module): Expect keywords in argument list.
1194
1195 2001-05-25 Marius Vollmer <mvo@zagadka.ping.de>
1196
1197 * boot-9.scm (cond-expand): Define using
1198 `procedure->memoizing-macro' to get at the lexical environment.
1199 Use `env-module' instead of `current-module' to get the right
1200 module.
1201
1202 * Makefile.am (ice9_sources): Added "pretty-print.scm".
1203 * pretty-print.scm: New file, copied from SLIB.
1204 (generic-write): Return the `unspecified' value.
1205
1206 * format.scm: Autoload `pretty-print'.
1207
1208 2001-05-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1209
1210 * boot-9.scm (%cond-expand-table): New hash table mapping modules
1211 to feature lists.
1212 (cond-expand): Use feature information associated with modules.
1213
1214 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1215
1216 * boot-9.scm (use-srfis): Do not extend the srfi-0 feature list.
1217 (cond-expand-provide): New procedure.
1218
1219 2001-05-22 Marius Vollmer <mvo@zagadka.ping.de>
1220
1221 * boot-9.scm (define-module): Return the new module.
1222 (process-define-module): Use `spec' instead of `module-name' when
1223 getting the syntax transformer. Thanks to Matthias Köppe!
1224
1225 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
1226
1227 * boot-9.scm (use-syntax): Do not set scm:eval-transformer when
1228 deprecated features have been removed. Thanks to Dale P. Smith!
1229
1230 * optargs.scm (#\&): Use `issue-deprecation-warning' instead of
1231 `display'.
1232
1233 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
1234
1235 * psyntax.ss (build-lexical-var): Use gensym instead of gentemp.
1236 * match.scm: Likewise.
1237 * expect.scm: Likewise.
1238 * psyntax.pp: Regenerated.
1239
1240 * rdelim.scm: Call `%init-rdelim-builtins'.
1241
1242 * rw.scm: Call `%init-rw-builtins'.
1243
1244 * boot-9.scm (process-define-module): Do not call
1245 set-current-module.
1246 (define-module): Do it here, in the expansion.
1247 (top-repl): Do not define '(guile-user)' module and conditionally
1248 load `(ice-9 threads)' and/or `(ice-9 regex)' here. Do it on
1249 top-level as the last thing in boot-9.scm instead.
1250 (%load-path): Use `list' instead of `cons' to create a single
1251 element list when adding "." to it.
1252 (process-define-module, process-use-modules, module-export!): Add
1253 dummy definitions prior to booting the mdule system.
1254
1255 2001-05-18 Thien-Thi Nguyen <ttn@revel.glug.org>
1256
1257 * boot-9.scm: (resolve-interface, use-srfis): Small
1258 cleanup; nfc.
1259 (process-define-module): Internal proc `unrecognized'
1260 now accepts arg; update callers.
1261 Reverse order of interfaces added to module to be
1262 consistent with that specified in `define-module' form.
1263
1264 * session.scm: (help): Use `provided?' instead of `feature?'.
1265 Factor "TYPE not found for X" output into internal proc.
1266 Support `(quote SYMBOL)'; call `search-documentation-files'.
1267 (help-doc): If initial search fails, try using
1268 `search-documentation-files'.
1269 (apropos-fold-accessible, apropos-fold-all): Use `identity'
1270 instead of `(lambda (x) x)'. "An identity edit", ha ha.
1271 (help-usage): Mention support for "(help 'NAME)".
1272
1273 * documentation.scm: Fix documentation for Guile Documentation
1274 Format Version 2: Mention required terminating newlines.
1275
1276 (find-documentation): Delete.
1277 (search-documentation-files): New proc, exported.
1278 (object-documentation): Use `search-documentation-files'.
1279
1280 2001-05-15 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1281
1282 * boot-9.scm (cond-expand-features): Made the feature list public,
1283 so it can be manipulated by `use-srfis'.
1284 (use-srfis): New procedure.
1285
1286 2001-05-15 Thien-Thi Nguyen <ttn@revel.glug.org>
1287
1288 * boot-9.scm (resolve-interface): Signal error now also if
1289 used module's public interface is not available.
1290 No longer call `beautify-user-module!'.
1291 Signal error now also if selected binding not found.
1292
1293 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
1294
1295 Merge from mvo-vcell-clenaup-1-branch.
1296
1297 * session.scm (apropos): Do not use `builtin-bindings', always use
1298 the module obarray.
1299 (apropos-fold): Likewise.
1300
1301 * optargs.scm (bound?): Removed. We should not play games with
1302 the magical undefined value.
1303 (let-o-k-template): Use `#f' instead of the undefined value as
1304 the default default for bindings.
1305
1306 * boot-9.scm (module-make-local-var!): Do not pass name hint to
1307 make-undefined-variable, use `variable-set-name-hint!' instead.
1308 (root-module-closure): Removed.
1309 (make-root-module): Set the obarray of the module to the
1310 `pre-modules-obarray'. Do not use a lazy binder.
1311 (scm-module-closure): Removed.
1312 (make-root-module): Set the obarray of the module to the
1313 `pre-modules-obarray'. Do not use a lazy binder. Set the
1314 eval-closure to a `standard-interface-eval-closure'.
1315 (module-define!): Do not pass name hint to make-variable, use
1316 `variable-set-name-hint!' instead.
1317 (make-modules-in, beautify-user-module, resolve-module): Moved
1318 towards the beginning of boot-9.scm, across the call to
1319 set-current-module that boots the module system. These
1320 definitions need to be visible at the time of the first
1321 `set-current-module' call.
1322 (try-module-autoload): Define a `#f' before the call to
1323 set-current-module. It is redefined later.
1324
1325 * debug.scm: Use `module-set!' instead of `variable-set!' to set
1326 insert `debug-options' into the-root-module.
1327 * format.scm: Likewise, for `format'.
1328
1329 2001-05-15 Marius Vollmer <mvo@zagadka.ping.de>
1330
1331 * boot-9.scm (error-catching-repl): Call the E
1332 ("eval'er") procedure via call-with-values and call the P
1333 ("printer") for each produced value. Thanks to Matthias Köppe!
1334
1335 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1336
1337 * boot-9.scm (cond-expand): Reduce feature list to built-in
1338 features.
1339
1340 2001-05-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
1341
1342 * boot-9.scm (-1+, return-it, string-character-length, flags):
1343 Deprecated.
1344
1345 2001-05-11 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1346
1347 * boot-9.scm: Added `cond-expand' (SRFI-0) for portable feature
1348 checking.
1349
1350 2001-05-10 Thien-Thi Nguyen <ttn@revel.glug.org>
1351
1352 * boot-9.scm (resolve-module): Abstraction maintenance: Use
1353 `module-public-interface'.
1354 (resolve-interface): Extend to handle selection and renaming in spec.
1355 Arg is now `spec' which can be a simple module name (list of symbols)
1356 or a interface spec.
1357 (symbol-prefix-proc): New proc.
1358 (%autoloader-developer-mode): Delete.
1359 (process-define-module): Use "define-module" in error messages
1360 instead of "defmodule". Factor error into internal proc.
1361 Rewrite `use-module' and `use-syntax' handlers.
1362 Replace some single-arm `if-not' constructs w/ `or'.
1363 (process-use-modules): Arg is now `module-interface-specs',
1364 which is passed through to `resolve-interface' as before; nfc.
1365 (named-module-use!, top-repl): Abstraction maintenance: Use
1366 `provided?'.
1367
1368 2001-05-06 Thien-Thi Nguyen <ttn@revel.glug.org>
1369
1370 * q.scm, runq.scm, getopt-long.scm: Update copyright.
1371 Surround commentary w/ standard markers; nfc.
1372
1373 * expect.scm: Update copyright.
1374 Fix commentary typo; nfc.
1375
1376 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
1377
1378 * psyntax.ss: make sure emacs knows it's scheme code.
1379
1380 2001-05-05 Neil Jerram <neil@ossau.uklinux.net>
1381
1382 * boot-9.scm (use-syntax): Change error message to say
1383 `use-syntax' rather than `use-modules'.
1384
1385 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1386
1387 * safe-r5rs.scm: Fix typo: make-rectangualr => make-rectangular.
1388
1389 2001-05-02 Marius Vollmer <mvo@zagadka.ping.de>
1390
1391 * boot-9.scm (begin-deprecated): New.
1392 (call-with-deprecation): Removed.
1393 (id): Use `issue-deprecation-warning' instead of
1394 `call-with-deprecation'. Wrap definition in `begin-deprecated'.
1395 (eval-in-module): Manifest deprecation via `begin-deprecation' and
1396 `issue-deprecation-warning'.
1397 (warn-autoload-deprecation): Deactivated.
1398
1399 2001-04-26 Marius Vollmer <mvo@zagadka.ping.de>
1400
1401 * boot-9.scm (the-module, set-current-module, current-module):
1402 Removed, they are now defined in libguile.
1403
1404 2001-04-29 Gary Houston <ghouston@arglist.com>
1405
1406 * rw.scm: new file, for module (ice-9 rw).
1407 * Makefile.am: add rw.scm.
1408
1409 2001-04-28 Thien-Thi Nguyen <ttn@revel.glug.org>
1410
1411 * boot-9.scm, optargs.scm:
1412 Surround commentary w/ standard markers; nfc.
1413
1414 * threads.scm, time.scm, channel.scm, expect.scm:
1415 Add commentary; nfc.
1416
1417 2001-04-27 Thien-Thi Nguyen <ttn@revel.glug.org>
1418
1419 * documentation.scm: Update copyright.
1420 Add commentary.
1421 Use `define-module' `:export' clause instead of `define-public'.
1422 Autoload (ice-9 regex) on `match:suffix'.
1423
1424 (default-in-line-re, default-after-line-re): New vars.
1425 (default-scrub): New proc.
1426 (file-commentary): New proc, exported.
1427 (object-documentation): Expand docstring; nfc.
1428
1429 * session.scm: Update copyright.
1430 Use (ice-9 rdelim).
1431
1432 (help): Consider a list of symbols that does not start with
1433 `quote' as a module name and call `module-commentary' on it.
1434 (module-filename, module-commentary): New procs.
1435 (id): Delete.
1436 (apropos): Use `identity' instead of deprecated `id'.
1437 (help-usage): Add blurb about "(help (my module))" support.
1438
1439 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1440
1441 * Makefile.am (ice9_sources): Remove srfi-8.scm.
1442
1443 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
1444
1445 * srfi-8.scm: removed in favor of srfi/srfi-8.scm - (wasn't ever
1446 in a production release).
1447
1448 2001-04-25 Keisuke Nishida <kxn30@po.cwru.edu>
1449
1450 * channel.scm: New file.
1451 * Makefile.am (ice9_sources): Include channel.scm.
1452
1453 2001-04-19 Keisuke Nishida <kxn30@po.cwru.edu>
1454
1455 * receive.scm (receive): Use `define-macro'.
1456
1457 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
1458
1459 * boot-9.scm (load-compiled): New variable, initialized in the VM.
1460 (try-module-autoload): Try loading compiled modules if applicable.
1461
1462 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
1463
1464 * boot-9.scm (call-with-deprecation): New procedure.
1465 (identity): New procedure.
1466 (id): Deprecated.
1467
1468 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
1469
1470 * boot-9.scm (defmacro, define-macro, define-syntax-macro):
1471 Define only at the top level.
1472
1473 2001-04-06 Thien-Thi Nguyen <ttn@revel.glug.org>
1474
1475 * threads.scm: Update copyright.
1476
1477 Use `export' and `export-syntax' instead of
1478 `define-public' and `defmacro-public'.
1479
1480 (make-thread): Rename first arg to `proc'; nfc.
1481 (begin-thread, monitor): Rename second arg to `rest'; nfc.
1482 (with-mutex): Rename second arg to `body'; nfc.
1483
1484 2001-04-06 Neil Jerram <neil@ossau.uklinux.net>
1485
1486 * boot-9.scm (warn-autoload-deprecation): Close parenthesis in
1487 "You just tried to autoload ..." message.
1488
1489 2001-04-05 Keisuke Nishida <kxn30@po.cwru.edu>
1490
1491 * Makefile.am (ice9_sources): Add history.scm.
1492 * history.scm: Create the module (value-history) at the beginning.
1493
1494 2001-03-29 Marius Vollmer <mvo@zagadka.ping.de>
1495
1496 * boot-9.scm (init-dynamic-module): Fix typo in call to
1497 warn-autoload-deprecation. I feel silly.
1498
1499 2001-03-27 Marius Vollmer <mvo@zagadka.ping.de>
1500
1501 * r4rs.scm (call-with-values): New definition, defers to
1502 @call-with-values.
1503
1504 2001-03-26 Marius Vollmer <mvo@zagadka.ping.de>
1505
1506 * boot-9.scm (warn-autoload-deprecation): New function.
1507 (init-dynamic-module): Use it here to print warning. Only give
1508 warning when a module has actually been found.
1509
1510 2001-03-25 Marius Vollmer <mvo@zagadka.ping.de>
1511
1512 * boot-9.scm (init-dynamic-module): Issue warning about
1513 auto-loading of compiled code modules being deprecated.
1514
1515 * Makefile.am (ice9_sources): Added "time.scm".
1516
1517 2001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
1518
1519 * time.scm (time): Reimplemented as a procedure call.
1520 (Thanks to Marius Vollmer)
1521
1522 2001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
1523
1524 * safe-r5rs.scm (list): Export.
1525
1526 2001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
1527
1528 * boot-9.scm (before-eval-hook, after-eval-hook,
1529 before-print-hook, after-print-hook): New hooks.
1530 (scm-style-repl): Call these hooks.
1531
1532 * history.scm: New file.
1533
1534 2001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
1535
1536 * time.scm: New file.
1537
1538 2001-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
1539
1540 * oldprint.scm: Removed.
1541
1542 2001-03-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1543
1544 * arrays.scm (make-array): Added quote in front of ().
1545
1546 2001-03-12 Keisuke Nishida <kxn30@po.cwru.edu>
1547
1548 * common-list.scm (count-if): New procedure.
1549
1550 2001-03-10 Neil Jerram <neil@ossau.uklinux.net>
1551
1552 * buffered-input.scm (make-buffered-input-port): New, more general
1553 buffered input procedure. Does not assume that a newline
1554 character should be interpolated between chunks of input returned
1555 by the reader proc.
1556 (make-line-buffered-input-port): Redefine in terms of
1557 make-buffered-input-port.
1558
1559 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
1560
1561 * match.scm: Don't export defstruct. Use (unquote defstruct) instead.
1562
1563 2001-03-09 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1564
1565 * Makefile.am (psyntax.pp): Added rule for producing psyntax.pp.
1566
1567 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
1568
1569 * match.scm: export defstruct.
1570
1571 2001-03-08 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1572
1573 * psyntax.ss: Added FSF copyright notice. Added a notice of
1574 changes in order to comply with paragraph 2a of the GPL. (Thanks
1575 to Keith Wright.)
1576
1577 2001-03-07 Neil Jerram <neil@ossau.uklinux.net>
1578
1579 * buffered-input.scm (make-line-buffered-input-port): Don't set
1580 the continuation flag for leading whitespace. Thanks to Dirk
1581 Herrmann for the suggestion.
1582
1583 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
1584
1585 * optargs.scm (rest-arg->keyword-binding-list): Use "'()" instead
1586 of "()".
1587
1588 * buffered-input.scm: New file, with guts of line buffered input
1589 port implementation extracted from guile-readline/readline.scm.
1590
1591 2001-03-03 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1592
1593 * stack-catch.scm: New file.
1594
1595 * Makefile.am (ice9_sources): Added stack-catch.scm.
1596
1597 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
1598
1599 * boot-9.scm, rdelim.scm: Use "'()" instead of "()" in all places
1600 where the empty list is meant.
1601
1602 2001-02-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1603
1604 * boot-9.scm (save-stack): Use `primitive-eval' for stack
1605 cutting. Makes backtraces work again! Also added a reference to
1606 save-stack from the place in the repl where the primitive-eval
1607 frame is invoked.
1608
1609 2001-02-25 Keisuke Nishida <kxn30@po.cwru.edu>
1610
1611 * match.scm: New file, including Andrew K. Wright's pattern matcher.
1612 * Makefile.am (ice9_sources): Added match.scm.
1613
1614 2001-02-16 Marius Vollmer <mvo@zagadka.ping.de>
1615
1616 * boot-9.scm (eval-when, eval-case): Renamed `eval-when' to
1617 `eval-case', everywhere.
1618
1619 2001-02-13 Marius Vollmer <mvo@zagadka.ping.de>
1620
1621 * boot-9.scm (define-public): Removed spurious call to
1622 `interaction-evironment'.
1623 (define-public, defmacro-public): Use `export' instead of explicit
1624 module magic.
1625 (eval-when): New macro.
1626 (define-module, use-modules, use-syntax, export): Use it to
1627 restrict the use of these forms to the top level.
1628 (define-public, defmacro-public): Only export binding when on
1629 top-level.
1630 (process-define-module): Call `set-current-module' with the
1631 defined module.
1632 (define-module): Simply call `process-define-module' without any
1633 fuss (but only on top-level).
1634 (named-module-use!): New function.
1635 (top-repl): Do not use `define-module'. Use equivalent low-level
1636 means instead.
1637
1638 2001-02-11 Marius Vollmer <mvo@zagadka.ping.de>
1639
1640 * boot-9.scm (scm-style-repl): Use `primitive-eval' instead of
1641 `eval'.
1642 (define-public): Do not use `eval'.
1643
1644 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1645
1646 * and-let-star-compat.scm: Display the warning to the
1647 `current-error-port'.
1648
1649 2001-02-04 Marius Vollmer <mvo@zagadka.ping.de>
1650
1651 Avoid the use of "*" in file names for the benefit of lesser
1652 operating systems.
1653
1654 * and-let-star.scm, and-let*.scm: Renamed `and-let*.scm' to
1655 `and-let-star.scm'. Updated module name as well.
1656 * and-let-star-compat.scm: New file, installed as `and-let*.scm'.
1657 * Makefile.am (ice9_sources): Replaced "and-let*.scm" with
1658 "and-let-star.scm".
1659 (install-data-local): Install "and-let-star-compat.scm" as
1660 "and-let*.scm", ignoring errors.
1661 (EXTRA_DIST): Distribute `and-let-star-compat.scm'.
1662
1663 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1664
1665 This patch fixes a problem reported by Martin Grabmueller about
1666 the impossibility to access readline's run-time options.
1667
1668 * boot-9.scm (define-option-interface): New macro. Allows to
1669 conveniently define a group of option interface functions.
1670
1671 (readline-options readline-enable readline-disable,
1672 readline-set!): Moved to guile-readline/readline.scm.
1673
1674 2001-01-24 Gary Houston <ghouston@arglist.com>
1675
1676 * boot-9.scm: don't import (ice-9 rdelim) here. it's done
1677 in C for now.
1678 * rdelim.scm: export the C primitives too.
1679 * documentation.scm: use (ice-9 rdelim).
1680
1681 2001-01-21 Gary Houston <ghouston@arglist.com>
1682
1683 * rdelim.scm: new file implementing module (ice-9 rdelim).
1684 * ice-9.scm (scm-line-incrementors read-line! read-delimited!
1685 read-delimited read-line): moved to rdelim.scm.
1686 scm-line-incrementors is not exported.
1687 * boot-9.scm: import (ice-9 rdelim) for backwards compatibility,
1688 for now.
1689 * lineio.scm: use module (ice-9 rdelim).
1690 * Makefile.am (ice9_sources): add rdelim.scm.
1691
1692 2000-12-29 Dirk Herrmann <D.Herrmann@tu-bs.de>
1693
1694 * boot-9.scm (root-module-closure, scm-module-closure): Remove
1695 calls '(symbol-interned? #f s)'. Formerly, these calls were
1696 basically no-ops, guaranteed to return #t if 's' was a symbol.
1697 After the separation of symbols and bindings, a call to
1698 '(symbol-interned? #f s)' will only return #t if there really is a
1699 binding for 's' in the scm_symhash table. Thanks to Dale P. Smith
1700 for providing a test case that helped finding this bug.
1701
1702 2000-12-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1703
1704 * session.scm (apropos): Completed the last patch, which did only
1705 half the job. Thanks to Dale P. Smith.
1706
1707 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1708
1709 * session.scm (apropos, apropos-fold): There are no weak bindings
1710 any more.
1711
1712 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1713
1714 * boot-9.scm (top-repl): Lookup 'use-emacs-interface in
1715 the-root-module.
1716
1717 2000-12-07 Neil Jerram <neil@ossau.uklinux.net>
1718
1719 * emacs.scm (flush-whitespace): Fix spelling typo ("recieving").
1720
1721 2000-11-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1722
1723 * boot-9.scm (read-delimited), lineio.scm
1724 (make-line-buffering-input-port), regex.scm (match:prefix,
1725 match:suffix, match:substring, regexp-substitute/global), slib.scm
1726 (slib-parent-dir), string-fun.scm (split-after-char,
1727 split-before-char, split-discarding-char, split-after-char-last,
1728 split-before-char-last, split-discarding-char-last,
1729 split-before-predicate, split-after-predicate,
1730 split-discarding-predicate, separate-fields-discarding-char,
1731 separate-fields-after-char, separate-fields-before-char,
1732 string-prefix-predicate, sans-surrounding-whitespace,
1733 sans-trailing-whitespace, sans-leading-whitespace,
1734 sans-final-newline): Use substring instead of
1735 make-shared-substring.
1736
1737 2000-11-26 Gary Houston <ghouston@arglist.com>
1738
1739 * boot-9.scm: values?, get-values, values, call-with-values:
1740 removed. values and call-with-values are now primitives and
1741 the other two were only exported by accident. don't define
1742 *values-rtd* record type or handle multiple values in
1743 scm-style-repl.
1744
1745 2000-11-07 Gary Houston <ghouston@arglist.com>
1746
1747 * popen.scm (open-output-pipe): added docstrings for open-input-pipe
1748 and open-output-pipe.
1749
1750 2000-11-06 Gary Houston <ghouston@arglist.com>
1751
1752 * popen.scm (open-process): bug fix: don't use
1753 close-all-ports-except to close ports in the child process, since
1754 it causes port buffers to be flushed. they may be flushed again
1755 in the parent, causing duplicate output. use a more elaborate
1756 method for setting up the child descriptors (thanks to David
1757 Pirotte for the bug report).
1758 standard file descriptors 0, 1, 2 in the child process
1759 are now set up from current-input-port etc., where possible.
1760
1761 2000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
1762
1763 * syncase.scm (eval): string=? requires a string argument.
1764 Thanks to Dale P. Smith for the patch.
1765
1766 2000-10-15 Neil Jerram <neil@ossau.uklinux.net>
1767
1768 * optargs.scm: Fix typos in commentary for bound? and lambda*.
1769
1770 2000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
1771
1772 * session.scm (apropos, apropos-fold): regexp-exec does not
1773 accept symbol arguments any more. Thanks to Dale P. Smith for the
1774 patch.
1775
1776 2000-09-30 Gary Houston <ghouston@arglist.com>
1777
1778 * posix.scm (setgrent): pass #t, not #f. thanks to
1779 Jacques A. Vidrine.
1780
1781 2000-09-29 Neil Jerram <neil@ossau.uklinux.net>
1782
1783 * documentation.scm (find-documentation-in-file): Modified
1784 according to changed format of guile-procedures.txt caused by my
1785 snarfing/makeinfo changes in libguile.
1786
1787 * session.scm (help-doc): Improvements to (help) output: (i) a
1788 friendlier Emacs-style introduction line; (ii) where the help arg
1789 matches multiple documented entries, print an initial list of the
1790 entries for which documentation is found, before printing the
1791 actual documentation entries themselves.
1792
1793 2000-09-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1794
1795 * boot-9.scm: Removed comment. (Thanks to Brad Knotwell.)
1796
1797 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1798
1799 * syncase.scm (putprop): Use the high-level property interface.
1800
1801 2000-09-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1802
1803 * psyntax.ss (build-lexical-var): Use gentemp instead of gensym;
1804 Convert first argument to a string.
1805
1806 * calling.scm (excursion-function-syntax,
1807 getter-and-setter-syntax,
1808 delegating-getter-and-setter-syntax): Call gensym with string
1809 argument. (Thanks to Dale P. Smith.)
1810
1811 * oldprint.scm (print-table-add!): Ditto.
1812
1813 * boot-9.scm (gentemp): Moved to symbols.c.
1814
1815 2000-08-27 Marius Vollmer <mvo@zagadka.ping.de>
1816
1817 * boot-9.scm (make-object-property): New function.
1818
1819 2000-08-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1820
1821 * boot-9.scm (make-record-type): Use `string-append' instead of
1822 `symbol-append'.
1823 (symbol-append): Map `symbol->string' on
1824 args.
1825 (obarray-symbol-append, obarray-gensym): Simply removed. I don't
1826 think I'll announce this in NEWS even. One of the functions never
1827 even worked... /mdj.
1828 (find-and-link-dynamic-module, keyword->symbol): Use
1829 `symbol->string'.
1830 (try-module-autoload, process-define-module): Rewrote using R5RS
1831 semantics.
1832
1833 2000-08-24 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1834
1835 * psyntax.ss (set!): Added generalized set! support to core syntax
1836 form set!.
1837
1838 2000-08-19 Marius Vollmer <mvo@zagadka.ping.de>
1839
1840 * optargs.scm (#\&): Changed #:allow-other-keys-value to
1841 #:allow-other-keys. Thanks to Bill Schottstaedt!
1842
1843 2000-08-17 Marius Vollmer <mvo@zagadka.ping.de>
1844
1845 * optargs.scm (#\&): Emit warning about `#&' being deprecated.
1846
1847 2000-08-16 Marius Vollmer <mvo@zagadka.ping.de>
1848
1849 * optargs.scm: Replaced `#&' reader syntax with keywords.
1850
1851 2000-08-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1852
1853 * format.scm (format:obj->str): Made tail-recursive. (Thanks to
1854 Matthias Köppe.)
1855
1856 2000-08-13 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1857
1858 * psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
1859 `(interaction-environment)' as second arg to `eval'. This is
1860 completely equivalent with the state before the change to eval of
1861 2000-08-11, but we should extend psyntax.ss to be module aware.
1862 (Thanks to Ian Bicking.)
1863
1864 * emacs.scm (emacs-symdoc): Parenthesis fix.
1865
1866 2000-08-11 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1867
1868 * r5rs.scm (interaction-environment): Removed definition. (Is now
1869 provided by libguile/modules.c.)
1870
1871 * safe-r5rs.scm (null-environment): Bugfix: Should include
1872 syntactic bindings.
1873
1874 * boot-9.scm (record-constructor, record-accessor,
1875 record-modifier, scm-style-repl): Add second arg to eval.
1876 (read-hash-extend #\.): Ditto. (This is actually a bugfix!)
1877 (eval-in-module): Redefined to be eval and deprecated.
1878
1879 * syncase.scm (eval): Add second arg both in definition and use.
1880
1881 * slib.scm (slib:eval): Use eval instead of eval-in-module.
1882 (defmacro:eval): Eval in (interaction-environment).
1883
1884 * safe-r5rs.scm (eval): Removed definition.
1885
1886 * emacs.scm (emacs-eval-request):
1887 (emacs-symdoc): (This procedure needs updating!)
1888
1889 2000-08-10 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1890
1891 * boot-9.scm: Added note about dependency in modules.h to
1892 definition of module-type.
1893
1894 * Makefile.am (ice9_sources): Added receive.scm, srfi-8.scm.
1895
1896 * receive.scm, srfi-8.scm: New files.
1897
1898 * boot-9.scm (scm-style-repl): Print multiple values on successive
1899 lines.
1900 (process-define-module): Bugfix: Make sure that exports are done
1901 *after* all used interfaces has been added.
1902
1903 2000-07-24 Marius Vollmer <mvo@zagadka.ping.de>
1904
1905 * common-list.scm (uniq): Made tail-recursive. Thanks to thi!
1906
1907 2000-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1908
1909 * boot-9.scm (expt): In case of negative integer exponents return
1910 an exact result if the input paramters were exact. Thanks to
1911 Mikael for the suggestion.
1912
1913 2000-07-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1914
1915 * boot-9.scm (expt): Make sure that integer-expt is only called
1916 if the exponent is a non-negative integer.
1917
1918 2000-07-01 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1919
1920 * boot-9.scm (process-define-module): Bugfix: Only check the CDR
1921 for export args.
1922
1923 2000-06-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
1924
1925 * popen.scm: gc-thunk is deprecated. Use after-gc-hook instead.
1926
1927 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1928
1929 * common-list.scm (intersection, set-difference, remove-if,
1930 remove-if-not): Made tail-recursive. Thanks to William Webber
1931 for the hint.
1932
1933 (delete-if!, delete-if-not!): Renamed parameter from `list' to
1934 `l' in order to avoid confusion. Note: These functions are not
1935 tail recursive yet.
1936
1937 2000-06-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1938
1939 * boot-9.scm: Turned `the-module', `*top-level-lookup-closure*',
1940 and `scm:eval-transformer' into fluids.
1941
1942 * boot-9.scm (purify-module!, module-export!): New procedures.
1943 (export): Rewritten using `module-export!'.
1944 (process-define-module): New define-module options: pure, export.
1945 See NEWS.
1946 (scm-style-repl): Added optional module argument.
1947
1948 * null.scm, r5rs.scm, safe-r5rs.scm, safe.scm: New modules.
1949
1950 2000-06-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1951
1952 * session.scm (make-fold-modules): Detect circular references in
1953 module graph. (Thanks to Matthias Köppe.)
1954
1955 2000-06-20 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1956
1957 * session.scm: Use module (ice-9 regex).
1958 (help): Regexp-quote a name given as a symbol.
1959
1960 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1961
1962 * common-list.scm (list*): Removed, since this function is
1963 implemented as a primitive in libguile/list.c.
1964
1965 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1966
1967 * session.scm (help): Warn user if 'regex isn't provided.
1968
1969 * Makefile.am (ice9_sources): Removed getopt-gnu-style.scm.
1970
1971 * getopt-gnu-style.scm: Removed deprecated module.
1972
1973 2000-06-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1974
1975 * boot-9.scm (make-autoload-interface): Set init value for uses to
1976 '() instead of #f.
1977 (make-modules-in): Name modules with their real (= full) names.
1978 (the-root-module, the-scm-module): Named `(guile)' instead of
1979 `the-root-module'.
1980 (the-scm-module): Set kind to 'interface.
1981
1982 * Makefile.am (ice9_sources): Replaced doc.scm with
1983 documentation.scm.
1984
1985 * session.scm (ice-9): Use module (ice-9 documentation).
1986 (name): Use the name property if everything else fails.
1987 (apropos-fold): New procedure.
1988 (apropos-internal): Re-implement in terms of `apropos-fold'.
1989 (help): Rewritten.
1990
1991 * doc.scm: Removed module (ice-9 doc).
1992
1993 * documentation.scm: New module (ice-9 documentation).
1994
1995 2000-06-08 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1996
1997 * doc.scm (documentation-files): Renamed from `doc-files'.
1998 (write-all): Removed.
1999 (find-documentation): Renamed from `documentation'. Return
2000 documentation string instead of printing it. Not exported.
2001
2002 Tue Jun 6 09:21:28 2000 Greg J. Badros <gregb@go2net.com>
2003
2004 * session.scm: Update references to `proc-doc' to be
2005 `proc-documentation'
2006
2007 * doc.scm: Cleaned up a great deal. Put variables at the top of
2008 the file, eliminated `object-documentation' that was broken
2009 (referencing Scwm), drop `help' as session.scm has a better
2010 supported version of that procedure. Rename `proc-doc' to
2011 `proc-documentation' -- `procedure-documentation' is a primitive
2012 getter function, so I use the shorter name for this more useful
2013 function. (Alternatively, we could rename the primitive
2014 getter...)
2015
2016 2000-06-05 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2017
2018 * boot-9.scm (error-catching-loop): Inform about debugger on error.
2019
2020 2000-06-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2021
2022 * boot-9.scm (scm-module-closure): New procedure: Was previously
2023 anonymous. Now needed in modules.c.
2024 (make-module): Use `standard-eval-closure' to create the eval
2025 closure.
2026
2027 2000-05-14 Gary Houston <ghouston@arglist.com>
2028
2029 * boot-9.scm (load-user-init): rewritten. first work out the home
2030 directory and then try to open the file (previously it could try
2031 to open a file in more than one place). catch exceptions when
2032 trying to get a directory from the user database. don't check
2033 that ~/.guile is not a directory before trying to load it (a lack
2034 of ~/.guile is not a crime, but if the file is not valid for any
2035 reason then primitive-load will raise an error).
2036
2037 2000-05-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
2038
2039 * boot-9.scm (abs): Don't set to magnitude. abs now does not
2040 accept complex numbers as parameter.
2041
2042 2000-05-09 Marius Vollmer <mvo@zagadka.ping.de>
2043
2044 * common-list.scm (delete-if-not!): Bug fix of bug fix: change
2045 label of named let to `delete-if-not'. Sorry.
2046
2047 2000-05-08 Marius Vollmer <mvo@zagadka.ping.de>
2048
2049 * common-list.scm (doc fixes): Talk about `true values' instead of
2050 `#t' when a function treats all non-#f valuers the same.
2051 (remove-if-not): Bug fix: call remove-if-not
2052 instead of remove-if when iterating.
2053 (delete-if-not!): Bug fix: call delete-if-not! instead of
2054 delete-if! when iterating.
2055
2056 2000-04-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2057
2058 * r4rs.scm (close-input-port, close-output-port): Removed.
2059
2060 2000-04-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2061
2062 * session.scm (help): New macro. Prints helpful information.
2063
2064 2000-04-10 Gary Houston <ghouston@arglist.com>
2065
2066 * popen.scm (open-process): after forking, close all ports except
2067 the end of the pipe to the parent. otherwise move->fdes and
2068 the exec'd program and the exit handlers can interfere with file
2069 descriptors still in use in parent ports.
2070
2071 2000-04-09 Gary Houston <ghouston@arglist.com>
2072
2073 * popen.scm (close-process-quietly): new procedure. use it from
2074 reap-pipes to avoid errors or hanging during background cleanup.
2075
2076 2000-04-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2077
2078 * format.scm (format:obj->str): Handle circular references. Also,
2079 print improper lists with (x y . z) syntax rather than as
2080 individual pairs. (This code should probably be integrated into C
2081 level facilities. It is currently terribly slow.)
2082
2083 2000-04-03 Michael Livshin <mlivshin@bigfoot.com>
2084
2085 * streams.scm (stream-fold, stream-for-each): don't use named let,
2086 because it prevents the gc from junking the stream argument.
2087
2088 Thu Mar 9 08:05:08 2000 Greg J. Badros <gjb@cs.washington.edu>
2089
2090 * slib.scm: Back-out change to software-type -- renamed
2091 slib:software-type to software-type, and leave it non-public.
2092
2093 Thu Mar 2 12:20:52 2000 Greg J. Badros <gjb@cs.washington.edu>
2094
2095 * boot-9.scm: Drop unused definition of sfx function -- thanks
2096 Dirk Hermann!
2097
2098 Wed Mar 1 12:21:02 2000 Greg J. Badros <gjb@cs.washington.edu>
2099
2100 * streams.scm: Doc patch from Richard Kim, using MIT Scheme as
2101 source of the numerous very short changes.
2102
2103 Sun Feb 13 18:03:19 2000 Greg J. Badros <gjb@cs.washington.edu>
2104
2105 * slib.scm: Rename software-type to slib:software-type and make it
2106 public.
2107
2108 * r4rs.scm: Added documentation; largely cut and pasted from R4RS
2109 info pages.
2110
2111 Sun Feb 13 17:49:29 2000 Greg J. Badros <gjb@cs.washington.edu>
2112
2113 * common-list.scm: Added documentation; largely cut and pasted
2114 from slib docs.
2115
2116 2000-02-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2117
2118 * format.scm (format): Reintroduce (define format format:format)
2119 so that the binding in the public interface of the module will be OK.
2120
2121 2000-01-30 Gary Houston <ghouston@arglist.com>
2122
2123 * boot-9.scm (find-and-link-dynamic-module): pass strings, not symbols,
2124 to string-append.
2125
2126 2000-01-29 Gary Houston <ghouston@arglist.com>
2127
2128 * expect.scm (expect): don't call char-ready? before expect-select,
2129 since select now checks port buffers itself. don't bother to check
2130 the time first either, since expect-select does it.
2131
2132 Thu Jan 20 12:57:36 2000 Greg J. Badros <gjb@cs.washington.edu>
2133
2134 * format.scm: Use (variable-set! (builtin-variable 'format)) to
2135 re-define format to be format:format (instead of just define,
2136 which interacts poorly with the module system). Thanks to Shuji
2137 Narazaki for this change.
2138
2139 Tue Jan 11 10:49:22 2000 Greg J. Badros <gjb@cs.washington.edu>
2140
2141 * boot-9.scm expect.scm, syncase.scm: Switch to new style
2142 `simple-format' message strings: substitute ~A for %s, and ~S for
2143 %S.
2144
2145 * boot-9.scm: Added (define format simple-format) to expose that
2146 primitive via the simpler name until format.scm is loaded.
2147
2148 2000-01-09 Marius Vollmer <mvo@zagadka.ping.de>
2149
2150 * boot-9.scm (try-using-libtool-name): Do not bother to look
2151 inside libtool ".la" file, dynamic-link does this for us now.
2152
2153 1999-12-15 Gary Houston <ghouston@freewire.co.uk>
2154
2155 * slib.scm (library-vicinity, home-vicinity,
2156 scheme-implementation-type, scheme-implemenation-version):
2157 use define-public to export from the module.
2158
2159 Wed Dec 15 08:32:09 1999 Greg J. Badros <gjb@cs.washington.edu>
2160
2161 * doc.scm: Use `%library-dir' and the other system directories,
2162 not the quickly defuncted `library-dir' that I added before
2163 realizing the former existed. Thanks Brad Knotwell!
2164
2165 Sun Dec 12 19:18:52 1999 Greg J. Badros <gjb@cs.washington.edu>
2166
2167 * Makefile.am, doc.scm: Added doc.scm.
2168
2169 1999-12-12 18:54:06 1999 Greg J. Badros <gjb@cs.washington.edu>
2170
2171 * popen.scm, slib.scm: Added some docstrings for procedures that
2172 were primitives that I encountered in posix.texi.
2173
2174 1999-11-19 Gary Houston <ghouston@freewire.co.uk>
2175
2176 * Makefile.am (ice9_sources): add arrays.scm.
2177
2178 * boot-9.scm: load arrays.scm if 'array is provided.
2179
2180 * arrays.scm: new file with stuff from boot-9.scm.
2181
2182 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
2183
2184 * boot-9.scm (read-hash-extend to set up arrays): add 'l' for
2185 long_long uniform vectors.
2186
2187 1999-11-17 Gary Houston <ghouston@freewire.co.uk>
2188
2189 * networking.scm (sethostent, setnetent, setprotoent, setservent):
2190 take an optional argument STAYOPEN. default is #f.
2191
2192 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
2193
2194 * Makefile.in: Deleted from CVS repository. Run the autogen.sh
2195 script to create generated files like this one.
2196
2197 1999-09-23 Gary Houston <ghouston@freewire.co.uk>
2198
2199 * boot-9.scm (load-user-init): check that the posix feature is
2200 available before using getpw and getuid.
2201 (top-repl): don't install handlers for SIGINT etc., without posix.
2202 (file-is-directory?): use 'posix instead of i/o-extensions to
2203 check for stat.
2204 (load-user-init): use file-exists? and file-is-directory? to
2205 check for .guile, instead of stat.
2206 (file-is-directory?): don't display the file name if posix not
2207 available.
2208 (feature?): I guess this is deprecated. redefined using "provided?"
2209 and changed users in boot-9.scm to "provided?".
2210 Conditionally load posix.scm and networking.scm.
2211
2212 posix.scm, networking.scm: new files. Move definitions from
2213 boot-9.scm if they are only useful with posix/networking available.
2214
2215 * Makefile.am (ice9_sources): add posix.scm, networking.scm.
2216
2217 1999-09-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2218
2219 * debugger.scm (read-and-dispatch-commands): Handle other throws
2220 than 'exit-debugger.
2221
2222 * boot-9.scm (before-signal-stack): New fluid.
2223 (top-repl): Set before-signal-stack in the signal handler.
2224
2225 * debugger.scm (eval-handler): Handle unhandled exceptions.
2226
2227 1999-09-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2228
2229 * debugger.scm ("p"): New alias for "evaluate";
2230 Mark module with :no-backtrace.
2231 ("position"): New command.
2232 (source-position, display-position): New procedures.
2233 (display-source): Display position of expression, if available.
2234 (catch-user-errors): Return #f on error. (Commands are expected
2235 to return a valid state.)
2236 (read-and-dispatch-command): Bugfix: Return old state on error.
2237
2238 1999-09-16 Jim Blandy <jimb@savonarola.red-bean.com>
2239
2240 * regex.scm (regexp-substitute/global): Handle the end of the
2241 match list and an empty match list identically. (Thanks to Greg
2242 Badros.)
2243
2244 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2245
2246 * debugger.scm ("evaluate"): Replaced `write-line' with calls to
2247 `write' and `newline' since write-line doesn't write but displays.
2248
2249 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2250
2251 * debugger.scm ("evaluate"): Newline after no env announcement.
2252
2253 * debug.scm, emacs.scm: Updated copyright notices.
2254
2255 * boot-9.scm (make-autoload-interface): Bugfix.
2256 (top-repl): Autoload debugger.
2257
2258 * debugger.scm ("backtrace"): Don't pass length param to
2259 display-backtrace if it wasn't explicitly given by the user.
2260 (write-frame-long/application): Also print corresponding source
2261 expression.
2262 ("evaluate"): Evaluate in local environment frame, if existent;
2263 Handle errors.
2264
2265 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
2266
2267 * format.scm (format:format-work): Use #\tab and #\page instead of
2268 slib:form-feed and slib:tab. (Thanks to Ceri Storey.)
2269
2270 * format.scm (format:abort): Call error, not slib:error.
2271
2272 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2273
2274 * boot-9.scm (using-readline?): New procedure: Returns #t if
2275 readline is used by the repl run by this thread.
2276 (handle-system-error): Print "Backtrace:" before backtrace since
2277 this is no longer done by display-backtrace.
2278
2279 * debug.scm (frame-number->index): Optionally take stack as
2280 argument.
2281
2282 * debugger.scm: Use the frame number abstraction which allows for
2283 both forward and backward views of the stack
2284 (write-frame-index-short, write-frame-index-long):
2285 Use selector `frame-number';
2286 (select-frame-absolute): Use frame-number->index.
2287 ("backtrace"): Use builtin backtrace printing.
2288 Use (ice-9 debug).
2289 Use readline conditionally.
2290
2291 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
2292
2293 * regex.scm (fold-matches, list-matches): New functions.
2294 (regexp-substitute/global): Rewritten again in terms of
2295 list-matches, to get null match behavior correct.
2296
2297 * regex.scm (regexp-substitute/global): Rewrite so that 'post at
2298 the end of the item list actually causes a tail call. (Thanks to
2299 Jan Nieuwenhuizen.)
2300
2301 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
2302
2303 * readline.scm: Moved to ../guile-readline.
2304
2305 * boot-9.scm (top-repl): Removed code for activating readline.
2306
2307 * Makefile.am: Removed mention of readline.scm.
2308
2309 * Makefile.in: Regenerated.
2310
2311 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
2312
2313 Delete the test which compares the configuration date of libguile
2314 with the configuration date of ice-9. This test yields too many
2315 false positives to be helpful. For example, if you build Guile
2316 for several architectures but have them all share a "share"
2317 directory (which is supposed to work), then all but one
2318 architecture's Guile will complain that the configuration dates
2319 don't match. Which is true, but indicates nothing wrong.
2320 * boot-9.scm: Delete code which compares ice-9-config-stamp with
2321 libguile-config-stamp.
2322 * version.scm.in: Delete.
2323 * Makefile.am (ice9_generated): Delete.
2324 (subpkgdata_DATA): Remove ice9_generated.
2325 (EXTRA_DIST): Remove version.scm.in.
2326 * Makefile.in: Regenerate.
2327
2328 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2329
2330 * debugger.scm: New file: Initial version of the Guile debugger
2331 written by Chris Hanson. (The debugger isn't finished, but is
2332 included in Guile anyway since it is already quite useful.)
2333
2334 * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9
2335 session) (ice-9 threads) (ice-9 regex) from guile-user only if
2336 top-repl is called. This makes startup time for scripts 30% of
2337 what it was before... Removed redundant code for loading of
2338 readline.
2339
2340 * Makefile.am (ice9_sources): Added debugger.scm.
2341
2342 1999-08-29 Keisuke Nishida <kxn30@po.cwru.edu>
2343
2344 * boot-9.scm (try-module-autoload): Use %search-load-path.
2345
2346 1999-08-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2347
2348 * boot-9.scm: Removed old style hooks.
2349 (inherit-print-state): Rwwritten to use port-with-print-state.
2350
2351 1999-08-20 James Blandy <jimb@mule.m17n.org>
2352
2353 Remove support for the #/ path list syntax entirely.
2354 * boot-9.scm (read-path-list-notation,
2355 read-path-list-notation-warning): Deleted.
2356 Don't register read-path-list-notation-warning as a reader for
2357 objects starting with '#/'.
2358
2359 1999-08-05 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2360
2361 GOOPS needs the observer protocol specified for the new module
2362 system. Here's a simple version for the old module system:
2363 * boot-9.scm (module-observers, module-weak-observers,
2364 module-observer-id, set-module-observers!,
2365 set-module-observer-id!): New accessors.
2366 (module-type): Added slots `observers', `weak-observers' and
2367 `observer-id'.
2368 (module-observe, module-observe-weak, module-unobserve,
2369 module-modified): New procedures.
2370 (module-make-local-var!, module-add!, module-remove!,
2371 module-clear!, module-define!, module-use!): Call module-modified.
2372
2373 1999-07-29 Marius Vollmer <mvo@zagadka.ping.de>
2374
2375 * boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
2376 defines.
2377
2378 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
2379
2380 * streams.scm: New module, contributed by Michael Livshin.
2381 * Makefile.am (ice9_sources): List it.
2382 * Makefile.in: Regenerated.
2383
2384 * boot-9.scm (read-delimited!): Put the terminator in the correct
2385 position.
2386
2387 1999-06-29 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
2388
2389 * readline.scm: Bugfix: Avoid getting the continued-lines prompt
2390 at multiple calls to read.
2391 (promtp2): Variable for continued-lines prompt.
2392 (make-readline-port): Use prompt2.
2393 (set-readline-prompt!): New optional arg which sets
2394 continued-lines prompt.
2395
2396 * boot-9.scm (top-repl): Set/clear readline prompts before/after
2397 reading expressions.
2398
2399 1999-06-18 Jim Blandy <jimb@savonarola.red-bean.com>
2400
2401 * ls.scm (ls, lls): Handle no arguments as meaning to look in
2402 `(current-module)'. (Patch from Thien-Thi Nguyen.)
2403
2404 1999-06-14 Jim Blandy <jimb@savonarola.red-bean.com>
2405
2406 * string-fun.scm (split-before-predicate, split-after-predicate,
2407 split-discarding-predicate): Make these public. (Thanks to
2408 Thien-Thi Nguyen.)
2409
2410 1999-06-13 Gary Houston <ghouston@easynet.co.uk>
2411
2412 * more changes to expect.scm, to avoid the one-character lookhead
2413 that was introduced to fix the $ problem:
2414
2415 * expect.scm (expect): call the match proc an extra time at end
2416 of file and set the eof? argument appropriately. call
2417 expect-eof-proc only if the last call didn't match.
2418 * expect.scm (expect-strings): change port to eof? in match proc.
2419 * expect.scm (expect-regexec): take an eof indicator as an argument
2420 instead of a port.
2421
2422 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
2423
2424 * Makefile.am (ice9_sources): Add popen.scm to list.
2425 * Makefile.in: Regenerated.
2426
2427 Fixes for expect from Gary Houston <ghouston@easynet.co.uk>:
2428
2429 * expect.scm (expect-regexec): define 'eof-next?'. I don't
2430 know why it was missing. also don't peek for end of lines
2431 unless expect-strings-exec-flags contains regexp/noteol.
2432 (expect-strings-exec-flags): initialise to regexp/noteol.
2433
2434 Gary Houston's open-buffer port patches:
2435
2436 1999-04-01 Gary Houston <ghouston@easynet.co.uk>
2437
2438 * popen.scm: applied fixes from Greg Harvey. use a guardian
2439 and a gc-thunk so that cleanup is done if a pipe is garbage
2440 collected or closed with close-port. use a weak hash-table instead of
2441 an alist.
2442
2443 1999-03-20 Gary Houston <ghouston@easynet.co.uk>
2444
2445 * expect.scm (expect): call the match proc with the port instead.
2446 (expect-strings): use peek-char to get the next char. this has
2447 the advantage of getting the handling of $ "correct", but the
2448 disadvantage of needing to get (and maybe block for) an extra character
2449 from the port when it may not be needed. hence:
2450 (expect-strings-exec-flags): new variable/parameter, supplies
2451 flags for regexp-exec. if this includes regexp/noteol, then
2452 automatic regexp/noteol handling (requiring an extra peeked char)
2453 is enabled. default is regexp/noteol.
2454 (expect-strings-compile-flags): new variable/parameter, supplies
2455 flags for make-regexp. default is regexp/newline.
2456
2457 1999-03-15 Gary Houston <ghouston@easynet.co.uk>
2458
2459 * expect.scm (expect): call the match proc with an extra char,
2460 peeked from the stream.
2461 (expect-strings): build a match proc which takes the extra char.
2462 (expect-regexec): take an extra arg "eof-next?" and use it
2463 to decide whether the regexp/noteol flag should be added.
2464
2465 1999-02-26 Gary Houston <ghouston@easynet.co.uk>
2466
2467 * boot-9.scm (top-repl): don't flush all ports at exit.
2468 (error-catching-loop): likewise.
2469
2470 1998-12-23 Gary Houston <ghouston@easynet.co.uk>
2471
2472 * boot-9.scm (scm-style-repl): -read: don't call
2473 consume-trailing-whitespace if val is eof object. Allows
2474 exiting repl with single control-D.
2475
2476 1998-12-06 Gary Houston <ghouston@easynet.co.uk>
2477
2478 * boot-9.scm (error-catching-loop): don't force output within
2479 error catching loop after quit received.
2480 (top-repl): flush all ports when the repl terminates.
2481
2482 * boot-9.scm (error-catching-loop): flush all ports before
2483 primitive exit if non-interactive.
2484 force-output on current-error-port if interactive.
2485
2486 * boot-9.scm (reopen-file): deleted.
2487 * popen.scm (open-output-pipe, open-input-pipe): moved from
2488 boot-9.scm.
2489 * popen.scm: new file.
2490
2491 1999-06-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
2492
2493 * boot-9.scm (iota): replaced by a tail recursive version.
2494 (reverse-iota): removed.
2495
2496 1999-06-03 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
2497
2498 * optargs.scm (lambda*): Bugfix: Replaced ARGLIST -->
2499 non-optional-args. (Thanks to David Lutterkort.)
2500
2501 1999-05-09 Jim Blandy <jimb@savonarola.red-bean.com>
2502
2503 * string-case.scm: Removed; functions moved to libguile/strop.c
2504 (which could be dynamically linked in the future anyway).
2505 * Makefile.am (ice9_sources): Don't list string-case.scm.
2506 * Makefile.in: Regenerated.
2507 * format.scm: Don't bother importing (ice-9 string-case).
2508
2509 1999-05-02 Jim Blandy <jimb@savonarola.red-bean.com>
2510
2511 * boot-9.scm (provided?): New function.
2512
2513 * Makefile.am: Add string-case.scm and format.scm to ice9_sources.
2514 * Makefile.in: Regenerated.
2515
2516 * string-case.scm: New file, brought in from SLIB, and adapted to
2517 Guile's module system.
2518
2519 * format.scm: New file, brought in from SLIB, with the following
2520 changes:
2521 (format:format): If the first argument is the format string, stick
2522 a #f on the front of it, so it is now a valid CL format argument
2523 list. This is easier than changing everyplace else (like the
2524 error formatter) that expects it to be in CL form. The other
2525 clause which explicitly tests for this case is now dead code.
2526 (format:format-work): Allow `@' and `:' in either order, as per
2527 modern CL behavior.
2528 (format:num->cardinal): Don't assume that an elseless if returns
2529 '() when the condition is false.
2530
2531 1999-04-17 Jim Blandy <jimb@savonarola.red-bean.com>
2532
2533 * Makefile.in: Regenerated.
2534
2535 1999-04-08 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2536
2537 * boot-9.scm: Provide 'values.
2538
2539 1999-03-21 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2540
2541 * boot-9.scm (process-define-module, use-syntax): Bugfix:
2542 :use-syntax should add syntax to using module, not current module.
2543 (internal-use-syntax): Removed.
2544
2545 1999-03-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2546
2547 * session.scm (apropos-internal): Modified to comply with new
2548 argument order for hash-fold.
2549
2550 1999-03-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2551
2552 * boot-9.scm (try-load-module): New procedure. Broken out from
2553 resolve-module.
2554 (resolve-module): Bugfix: Make it possible for a module at a
2555 deeper level (x y z) to depend on a module on a higher (x y).
2556
2557 This also has the desired side-effect that multiple attempts to
2558 load a module (e.g. with `use-modules') work until source is
2559 actually found for the module (e.g. because the correct catalog
2560 has been added to the load path).
2561
2562 Use try-load-module.
2563
2564 1999-03-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2565
2566 * session.scm (system-module): New procedure. Used to switch a
2567 module between system and user state.
2568
2569 1999-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2570
2571 * session.scm (apropos-internal): Rewritten using hash-fold.
2572
2573 * emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
2574 definition.
2575
2576 1999-03-14 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2577
2578 * boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to
2579 associate a name to the record type descriptor so that the object
2580 system can create a wrapper class for it.
2581
2582 1999-03-12 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2583
2584 Improvement of backtraces: Introduces a new stack narrowing
2585 specifier, #t, for the inner cut. If the inner cut is specified
2586 by #t, `make-stack' will throw away inner stack frames (most
2587 recent calls on call chain) up to but excluding the first user
2588 stack frame encountered.
2589
2590 This specifier is now used in `save-stack' so that the call
2591 `(save-stack)' will get the new behaviour. [It is recommended that
2592 any error reporting functions written by the user have this call
2593 on the outermost expression level (i.e. as a member of the lambda
2594 list).]
2595
2596 Modules are partitioned into "user" and "system" modules. [I know
2597 that some names used here are silly, but I don't have more time to
2598 spend on a better solution, especially considering that the module
2599 system will be replaced. But if people have better ideas, then
2600 please tell me!]
2601
2602 System modules are created by adding :no-backtrace among the
2603 define-module switches:
2604
2605 (define-module (foo)
2606 :no-backtrace)
2607
2608 Modules which doesn't have the :no-backtrace specifier are user
2609 modules.
2610
2611 A stack frame is classified as a user frame if it has source code
2612 associated with it and if this source code can be proven to come
2613 from a user module. If it can be proven to come from a system
2614 module it is a system frame.
2615
2616 Frames which can't be classified, e.g. application frames, are cut
2617 away if they occur between system frames, but are left on the
2618 stack if they occur between the last system frame and the first
2619 user frame encountered. (Note that the first user frame
2620 encountered is the last user code being evaluated!)
2621
2622 In some cases the system part of the call chain is introduced by
2623 frames which should but can't be proven to be system frames. The
2624 following workaround has been implemented: The cutting proceeds
2625 over application frames where the operator is marked by the
2626 `system-procedure' property. (This has been used to cut away
2627 generic function dispatch code in the object system.)
2628
2629 * boot-9.scm (set-system-module!): New procedure: Set system/user
2630 status of a module.;
2631 Mark `the-root-module' and `the-scm-module' as system modules.
2632 (process-define-module): Add new keyword :no-backtrace.
2633
2634 * boot-9.scm (environment-module): Bugfixed.
2635 (set-module-eval-closure!): Add a pointer back from the eval
2636 closure to the module.
2637
2638 * emacs.scm (emacs-load): Reset port filename after transfer.
2639
2640 1999-03-03 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2641
2642 * slib.scm (make-random-state): Added for compatibility.
2643
2644 1999-02-16 Maciej Stachowiak <mstachow@alum.mit.edu>
2645
2646 * optargs.scm (lambda*): Handle empty argument lists properly.
2647
2648 1999-02-15 Jim Blandy <jimb@savonarola.red-bean.com>
2649
2650 Fix from Russ McManus:
2651 * getopt-long.scm (parse-option-spec): Store 'optional as the
2652 value-required? field for options that take optional values.
2653 (process-short-option): Grab a value for the option when it takes
2654 either an optional or required value.
2655
2656 1999-02-12 Jim Blandy <jimb@savonarola.red-bean.com>
2657
2658 * getopt-long.scm: Remove debugging calls to `pk'.
2659
2660 * getopt-long.scm: Return list of ordinary arguments as the value
2661 of the '() key, not `rest'.
2662
2663 A new argument-processing package from Russ McManus.
2664 * getopt-long.scm: New file.
2665 * Makefile.am (ice9_sources): Added getopt-long.scm.
2666 * Makefile.in: Regenerated.
2667
2668 1999-02-09 Maciej Stachowiak <mstachow@alum.mit.edu>
2669
2670 * optargs.scm: New file.
2671 * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in
2672 not regenerated because I don't have the right version of Automake.
2673
2674 1999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
2675
2676 * and-let*.scm: New file, from Michael Livshin.
2677 * Makefile.am (ice9_sources): Add and-let* here.
2678 * Makefile.in: Regenerated.
2679
2680 1999-01-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2681
2682 * slib.scm (install-require-module): Fixed the kludge which loads
2683 the slib catalog: Doesn't anylonger assume that the feature tested
2684 for isn't loaded.
2685
2686 1998-12-14 Jim Blandy <jimb@zwingli.cygnus.com>
2687
2688 * Makefile.in: Regenerated.
2689
2690 1998-12-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2691
2692 * boot-9.scm (process-define-module): Reverted the change of
2693 1998-11-23 which caused loading of object code if :use-module was
2694 applied to the module itself.
2695
2696 1998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2697
2698 * Makefile.am: Removed setf.scm.
2699
2700 * setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
2701 (These shortcomings were my fault.)
2702
2703 1998-12-10 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2704
2705 * boot-9.scm (environment-module): New procedure.
2706
2707 1998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2708
2709 * Makefile.am: Added setf.scm.
2710
2711 1998-12-05 Christian Lynbech <chl@tbit.dk>
2712
2713 * setf.scm: New file. Adds the new forms `setf!' and `setter'
2714 which implements generalized references a la Common LISP.
2715
2716 1998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2717
2718 * boot-9.scm (process-define-module): Added new specifier
2719 :autoload MODULENAME BINDINGS to the define-module form.
2720 The autoload specifier tells the module system to load the module
2721 MODULENAME at the first occasion that any variable with its name
2722 among BINDINGS is referenced.
2723 (make-autoload-interface): New procedure: Constructs a stand-in
2724 for the public interface for the module to be autoloaded.
2725
2726 1998-12-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2727
2728 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
2729 if you don't want the old style hook warnings.
2730
2731 1998-12-01 Christian Lynbech <chl@tbit.dk>
2732
2733 * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
2734 sure that it isn't empty, as it is when we are only buidling
2735 static libraries.
2736
2737 1998-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2738
2739 * session.scm (arity): New procedure.
2740
2741 1998-11-26 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2742
2743 * boot-9.scm: Use run-hook instead of run-hooks everywhere.
2744
2745 1998-11-26 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2746
2747 * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary
2748 code for backward compatibility until people have had time to
2749 adapt to the new hooks.
2750
2751 1998-11-23 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2752
2753 * boot-9.scm (beautify-user-module!): Beautify also if public
2754 interface is set to the module itself. In this way we can use
2755 beautify-user-module! to beautify a module prepared for object
2756 code.
2757 (process-define-module): Special case: Try to load object code as
2758 well if a module does :use-module on itself.
2759
2760 * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from
2761 invoke_main_func, we can no longer be sure that all modules have
2762 been registered when boot-9.scm is loaded.
2763 (register-modules): New function: Register and tag modules
2764 registered by scm_register_module_xxx since last call to this
2765 function. Modules are tagged with the dynamic object passed as
2766 argument. (Already linked modules should be tagged with #f.)
2767 (init-dynamic-module, link-dynamic-module): Call register-modules
2768 first to register linked modules.
2769
2770 * boot-9.scm (init-dynamic-module): Remove module from
2771 registered-modules as soon as possible in case we are recursively
2772 invoked; Set public interface before doing the dynamic-call.
2773
2774 * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map).
2775 (abort-hook, before-error-hook, after-error-hook,
2776 before-backtrace-hook, after-backtrace-hook, before-read-hook,
2777 after-read-hook, exit-hook): Make hooks with `make-hook'.
2778
2779 * boot-9.scm: Make hooks first class citizens and make them easier
2780 to use from C:
2781 (make-hook, add-hook!, remove-hook!, run-hooks): Moved to
2782 libguile/feature.c.
2783
2784 * boot-9.scm: Added warnings about bindings used in
2785 libguile/modules.c: the-module, set-current-module,
2786 make-modules-in, beautify-user-module!, module-eval-closure.
2787
2788 1998-11-21 Mikael Djurfeldt <mdj@kenneth>
2789
2790 * boot-9.scm (the-environment): New special form: Returns an
2791 object representing the current local evaluation environment.
2792 This object can be used in `local-eval' and `defined?'.
2793
2794 1998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2795
2796 * boot-9.scm (collect): New syntax. Similar to begin but returns
2797 a list of the results of all forms in the sequence instead of the
2798 result of the last form.
2799
2800 1998-11-10 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2801
2802 * boot-9.scm (values, call-with-values): Moved here from
2803 syncase.scm.
2804
2805 * syncase.scm (values, call-with-values): Moved to boot-9.scm.
2806
2807 * boot-9.scm (readline-options, readline-enable, readline.disable,
2808 readline-set!: New options interface.
2809
2810 * readline.scm (readline-port): Use readline-options-interface.
2811
2812 1998-11-05 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2813
2814 * boot-9.scm: Set the repl start module in `top-repl' instead of
2815 at the end of boot-9.scm.
2816
2817 1998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2818
2819 * emacs.scm (format): Bugfix: Handle multiple arguments
2820 correctly. (Thanks to Thien-Thi Nguyen.)
2821
2822 1998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2823
2824 * boot-9.scm (exit-hook): New hook: Is run at the very end of an
2825 interactive session.
2826 (top-repl): Run exit-hook on exit.
2827
2828 * readline.scm (readline-port): Maybe read history; Maybe write
2829 history at exit (add to exit-hook).
2830
2831 Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2832
2833 * readline.scm (make-readline-port): Bugfixed last change...
2834
2835 1998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2836
2837 * readline.scm (make-readline-port): Don't set prompt to "... " if
2838 read line was empty.
2839
2840 1998-10-19 Jim Blandy <jimb@zwingli.cygnus.com>
2841
2842 * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm,
2843 r4rs.scm, slib.scm, threads.scm: Update copyright years.
2844
2845 * getopt-gnu-style.scm, slib.scm: Add copyright notice.
2846
2847 Talked to Stallman. Actually, the syntax-case copyright is no
2848 problem. Duh.
2849 * Makefile.am (ice9_sources): Revert last change.
2850 * syncase.scm, psyntax.pp, psyntax.ss: Added again.
2851 * Makefile.in: Regeneretade.
2852
2853 * boot-9.scm: Don't assume that this file is loaded just before
2854 entering a read-eval-print loop. Turn code to load (ice-9 emacs)
2855 into...
2856 (load-emacs-interface): New function.
2857 (top-repl): Call it, if use-emacs-interface is defined and true.
2858 At this point, we *do* know we're about to enter a REPL.
2859
2860 We can't include Kent Dybvig's syntax-case macro expander in the
2861 core Guile distribution, because we don't have copyright
2862 assignments for this code. We can certainly distribute them as a
2863 separate package, but Guile should be FSF code.
2864 * syncase.scm, psyntax.pp, psyntax.ss: Removed.
2865 * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
2866 psyntax.ss.
2867 * Makefile.in: Regenerated.
2868
2869 * Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
2870 * Makefile.in: Regenerated.
2871
2872 1998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2873
2874 * boot-9.scm: Added extended read syntax for byte vectors #y(...)
2875 and short vectors #h(...).
2876
2877 1998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
2878
2879 * calling.scm (excursion-function-syntax): Use a sequence of
2880 set!'s, not a single multi-variable set!; we removed support for
2881 that syntax a long time ago. (Thanks to Shuji Narazaki.)
2882
2883 1998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
2884
2885 * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
2886 testing software-type here. That's the least of our Windows
2887 porting issues, and it's done wrong anyway.
2888
2889 1998-10-09 Jim Blandy <jimb@zwingli.cygnus.com>
2890
2891 * boot-9.scm (read-path-list-notation-warning): New function:
2892 print a warning the first time we see `#/' notation.
2893
2894 * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
2895 (eq? #f '()) assumptions. Make functions that aren't documented
2896 to return anything else return the queue itself. (Bug report from
2897 Michael Livshin --- thanks!)
2898
2899 1998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2900
2901 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
2902 trace flag.
2903
2904 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
2905 order to allow the empty list as arg.
2906 (error-catching-loop): Use `with-traps' to create a dynamic
2907 context with traps enabled.
2908
2909 1998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2910
2911 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
2912 module.
2913 (try-using-libtool-name): Removed dependency on (ice-9 regex).
2914
2915 1998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2916
2917 * boot-9.scm: Make the root module use (ice-9 regex) if
2918 available. The dynamic linking facilities in boot-9.scm are
2919 currently dependent upon regular expressions. My change of
2920 1998-07-14 removed (ice-9 regex) from the use-list of the root
2921 module and thereby destroyed dynamic linking.
2922
2923 1998-07-29 Jim Blandy <jimb@zwingli.cygnus.com>
2924
2925 * Makefile.in: Regenerated using the last public version of
2926 automake, not the hacked Cygnus version.
2927
2928 1998-07-28 Jim Blandy <jimb@zwingli.cygnus.com>
2929
2930 * Makefile.in: Regenerated, after removing Totoro kludge.
2931
2932 1998-07-28 Jim Blandy <jimb@totoro.red-bean.com>
2933
2934 * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.)
2935
2936 1998-07-26 Jim Blandy <jimb@zwingli.cygnus.com>
2937
2938 * Makefile.in Rebuilt, for config changes in parent dir.
2939
2940 1998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2941
2942 * readline.scm (make-readline-port): Set prompt string to "... "
2943 after first read line. (Thanks to Richard Polton.)
2944
2945 1998-07-19 Jim Blandy <jimb@zwingli.cygnus.com>
2946
2947 * lineio.scm (make-line-buffering-input-port): Don't use
2948 ungetc-char-ready?, since we don't provide that function any
2949 more. The unread-string function doesn't interact properly with
2950 any of the standard I/O functions anyway. (Thanks to Andrew
2951 Archibald.)
2952
2953 * hcons.scm (hashq-cons-assoc): Don't assume the empty list is
2954 false. Return false when we cannot find a matching entry in the
2955 list. (Thanks to Andrew Archibald.)
2956
2957 1998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2958
2959 * boot-9.scm (export, export-syntax): New special forms: Export
2960 bindings from a module. `(export name1 name2 ...)' can be used at
2961 the top of a module (after `define-module') to specify which names
2962 should be exported. It can be used as an alternative to
2963 `define-public'. `export-syntax' works equivalently to `export'
2964 but is intended for export of syntactic keywords.
2965 (Thanks to Thien-Thi Nguyen.)
2966
2967 1998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2968
2969 * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'.
2970
2971 1998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2972
2973 * boot-9.scm: Let the user start in module `(guile-repl)' instead
2974 of module `(guile)'. Also make sure that `(guile-repl)' uses
2975 suitable modules. This change improves Guile stability
2976 substantially since bindings will only be copied from the root
2977 module: If the user redefines builtins in `(guile-repl)' it won't
2978 affect the internal operation of Guile itself.
2979
2980 1998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2981
2982 * boot-9.scm (load-module): When loading files from within files
2983 themselves being loaded: Use the directory path of the file being
2984 loaded as root for relative filenames. (After suggestion by
2985 Steven G. Johnson.)
2986
2987 1998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2988
2989 * emacs.scm (emacs-load): New feature: Eval in specified module.
2990
2991 1998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2992
2993 * readline.scm: Typo in regex module name.
2994
2995 1998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2996
2997 * readline.scm (apropos-completion-function): regexp-quote text to
2998 be completed.
2999
3000 1998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3001
3002 * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid.
3003
3004 1998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3005
3006 * boot-9.scm: Check that (current-input-port) is a tty before
3007 enabling readline. (Thanks to Michael N. Livshin.)
3008
3009 1998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3010
3011 * boot-9.scm (use-syntax): Turned into a macro inorder to be
3012 similar in use to `use-modules'.
3013 Example: (use-syntax (ice-9 syncase)) will 1. load the module
3014 (ice-9 syncase), and, 2. install the procedure `syncase' as eval
3015 transformer.
3016 (internal-use-syntax): New procedure.
3017 (process-define-module): Use `internal-use-syntax'.
3018
3019 1998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3020
3021 * Makefile.am (ice9_sources): Add emacs.scm.
3022
3023 1998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3024
3025 * readline.scm: Use the new readline facilities: Add the
3026 possibility to control input and output ports; Add apropos
3027 completion.
3028
3029 * boot-9.scm: Antirevert Jim's readline code which he reverted
3030 19971027 and adapt it to the current readline interface.
3031
3032 * boot-9.scm (top-repl): Only enable readline if not using the
3033 Emacs interface; Only use repl prompt when using the readline port
3034 from repl-read. (We don't want to see it when calling `read'.)
3035
3036 * boot-9.scm (remove-hook!): Parenthesis bug.
3037
3038 1998-05-11 Mikael Djurfeldt <mdj@kenneth>
3039
3040 * boot-9.scm: Load readline module if readline is present.
3041
3042 * readline.scm (apropos-completion-function): New procedure:
3043 Symbolic completion. (Thanks to Andrew Archibald!)
3044
3045 1998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3046
3047 * boot-9.scm (process-define-module): Added keyword use-syntax.
3048
3049 1998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3050
3051 * nonblocking.scm: Removed. libguile is now inherently
3052 nonblocking through the use of scm_internal_select.
3053
3054 * emacs.scm: Removed use of nonblocking.scm.
3055
3056 * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these
3057 obsolete.
3058
3059 1998-04-15 Mikael Djurfeldt <mdj@nada.kth.se>
3060
3061 * runq.scm (runq-control): Corrected spelling of enqueue!.
3062 (Thanks to Karl M. Hegbloom.)
3063
3064 1998-03-30 Mikael Djurfeldt <mdj@nada.kth.se>
3065
3066 * boot-9.scm: Added new run-time option interface eval-options.
3067
3068 1998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3069
3070 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
3071 Stachowiak.)
3072
3073 1998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3074
3075 * threads.scm: Added simple error and signal handler.
3076 (make-thread, begin-handler): Use this handler. The most
3077 important effect of this is that signals get unmasked.
3078 Previously, when a signal was thrown signals remained masked
3079 (signals get masked when a signal is taken) which influenced other
3080 threads.
3081
3082 1998-01-01 Tim Pierce <twp@skepsis.com>
3083
3084 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
3085 * slib.scm (identity): Unmake public.
3086 (slib:eval): Evaluate inside `slib-module'.
3087
3088 1997-12-24 Tim Pierce <twp@skepsis.com>
3089
3090 * boot-9.scm: Doc fix.
3091
3092 * slib.scm (identity): Made public.
3093 (home-vicinity): New function (from SLIB/Template.scm).
3094
3095 1997-12-13 Tim Pierce <twp@skepsis.com>
3096
3097 * boot-9.scm (read-line): Rewritten to call %read-line for
3098 improved speed. Minor user-visible changes: the new functions are
3099 hardwired to treat the LFD character as signifying end-of-line, so
3100 changing `scm-line-incrementors' will no longer affect the
3101 behavior of read-line. On platforms which do not represent
3102 end-of-line with a LFD character, read-line should behave more
3103 like native line-processing facilities, but there is still a ways
3104 to go here.
3105
3106 Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth>
3107
3108 * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
3109 is now a fluid.
3110
3111 1997-11-28 Tim Pierce <twp@skepsis.com>
3112
3113 * boot-9.scm (find-and-link-dynamic-module): If a module directory
3114 contains a .la file (a libtool support file), attempt to extract
3115 the shared library name from that file. If the .la file does not
3116 exist, try to link against a .so file. Libtool-generated compiled
3117 modules should load more cleanly in Guile now.
3118 (try-using-libtool-name, try-using-sharlib-name): New functions.
3119
3120 Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
3121
3122 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
3123 usefully so they will work from a script.
3124
3125 1997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
3126
3127 * boot-9.scm (inherit-print-state): Moved definition to the
3128 neighborhood of the record code.
3129
3130 Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
3131
3132 * boot-9.scm: Revert changes to this file from Oct 23. It turns
3133 out to interact badly with the Emacs support and the Tcl/Tk
3134 support. It's not a high enough priority at the moment to be
3135 worth fixing. I'm leaving the other readline support in, though.
3136
3137 Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
3138
3139 * Makefile.am: Include readline.scm in the list of files to be
3140 installed, so Guile can find it for interactive use.
3141 * Makefile.in: Regenerated.
3142
3143 Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
3144
3145 Add support for readline function.
3146 * readline.scm: New module.
3147 * boot-9.scm (repl-reader): New function.
3148 (scm-style-repl): Call repl-reader, instead of doing the reading
3149 ourselves. Remove repl-report-reset; it was never used for
3150 anything.
3151 (top-repl): If we've got the readline primitives, then redefine
3152 repl-reader to use them.
3153 If we've got the readline primitives, import the readline module.
3154
3155 * ls.scm (ls, lls): Don't assume (eq? #f '()).
3156
3157 Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
3158
3159 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
3160 string-fun.scm: Added copyright notices; reformatted.
3161
3162 Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
3163
3164 * expect.scm: (expect-regexec): new procedure, use it in
3165 expect-strings to fix the => syntax under the new regex system.
3166 (top): include regex module in define-module statement.
3167
3168 Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
3169
3170 * (error-catching-loop): new local variable "interactive". if
3171 #f, abort terminates the process.
3172 (set-batch-mode?!, batch-mode?): new closures, defined in
3173 error-catching-loop. the names are from scsh.
3174
3175 1997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
3176
3177 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
3178 print-state, throw it away.
3179
3180 Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
3181
3182 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
3183 `0'.
3184
3185 Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
3186
3187 * boot-9.scm (struct-printer, make-struct-printer,
3188 set-struct-printer-in-vtable!, *struct-printer*): Removed.
3189 (record-type-vtable, make-record-type): Don't use make-struct-printer.
3190 (record-type-vtable): User fields "prpr" (printer is no longer a
3191 user field).
3192 (record-type-name, record-type-fields): Decreased slot index by
3193 one; Use `vtable-offset-user'.
3194
3195 Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
3196
3197 * boot-9.scm (inherit-print-state): New experimental function.
3198
3199 Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
3200
3201 Suggestion and script from Maciej Stachowiak:
3202 * boot-9.scm: Split off modules into separate, autoloadable files.
3203 This reduces startup time from 10.5s to 5.5s (user cpu).
3204 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
3205 string-fun.scm: New files, containing stuff that used to be in
3206 boot-9.scm.
3207 * Makefile.am (ice9_sources): List new files here, for
3208 distribution and installation.
3209 * Makefile.in: Regenerated.
3210
3211 Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
3212
3213 * Makefile.in: Regenerated with automake 1.2c.
3214
3215 Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3216
3217 * slib.scm (slib:load): slib:load first tries to load the file
3218 named NAME, then NAME.scm. On error, report the error occuring at
3219 the first attempt (NAME) rather than the second (NAME.scm).
3220
3221 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
3222 the make-options macro so that we needn't refer to a global
3223 symbol.
3224
3225 Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3226
3227 * debug.scm: Moved options interface procedures to boot-9.scm.
3228
3229 * boot-9.scm: Define options interface procedures here instead.
3230
3231 Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
3232
3233 * boot-9.scm (separate-fields-discarding-char,
3234 separate-fields-after-char, separate-fields-before-char): Call
3235 continuation function, RET, as advertised: with each separated
3236 field a separate argument.
3237
3238 * Makefile.in: Regenerated with automake 1.2a.
3239
3240 Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
3241
3242 * slib.scm (slib:load): Export.
3243
3244 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
3245 vicinity;
3246 Provide defmacro.
3247
3248 Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3249
3250 * r4rs.scm (apply): Set name property to 'apply.
3251
3252 Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3253
3254 * boot-9.scm (keyword->symbol, display-usage-report): Changed
3255 length --> string-length. (Thanks to Aleksandar Bakic.)
3256 (separate-fields-discarding-char, separate-fields-after-char,
3257 separate-fields-before-char): Bugfix from Maciej Stachowiak
3258 <mstachow@mit.edu>. Thanks!
3259 (try-module-linked): Try to find module among those already
3260 registered.
3261 (try-module-dynamic-link): Removed the first test which
3262 corresponds to a call to `try-module-linked'.
3263 (resolve-module): Resolve modules in this order: 1. Already
3264 registered modules (for example those which have been statically
3265 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
3266 link a .so-file.
3267
3268 Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3269
3270 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
3271
3272 Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3273
3274 * session.scm (name): New procedure: Gives name of object.
3275 (source): New procedure: Gives source of object.
3276
3277 Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3278
3279 * boot-9.scm (primitive-macro?): New procedure.
3280
3281 * slib.scm: Added hack which transfers syntactic information from
3282 the builtin variable `define' to the slib version if module (ice-9
3283 syncase) has been loaded. This is necessary to get correct
3284 expansion inside the slib module.
3285
3286 * psyntax.ss (build-let, build-named-let): New output
3287 constructors.
3288 (build-lexical-var): Seed gensym with symbolic name.
3289 (self-evaluating?): Add keywords among self-evaluating types.
3290 (let): New core form.
3291 (if): Removed from core language.
3292 (or, and, let, cond): Removed syntactic definitions.
3293 (sc-expand3): New procedure: Expander which takes optional mode
3294 and eval-syntactic-expanders-when arguments.
3295
3296 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
3297 Should be used inside the (ice-9 syncase) module with (use-syntax
3298 syncase) and with the current directory containing the psyntax.ss
3299 source.
3300 Added hack to transfer syntactic information from the builtin
3301 variable `define' to the slib version if module (ice-9 slib) has
3302 been loaded.
3303
3304 Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
3305
3306 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
3307 (syncase): Publish syntax transformer to be used with
3308 `use-syntax'.
3309 (sc-macro): Use this as the value when publishing macros.
3310
3311 * boot-9.scm (module-type): Added `transformer'.
3312 (make-module): Modified initialization.
3313 (module-transformer, set-module-transformer!): Selector and
3314 mutator for module-associated transformer.
3315 (set-current-module): Use module-transformer to set
3316 `scm:eval-transformer'.
3317 (module-use!): Previous change reverted.
3318 (use-syntax): New function: Install a transformer in current
3319 module.
3320 (sc-interface, sc-expand): Removed! :)
3321
3322 Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3323
3324 * emacs.scm (emacs-load): Added new parameter `module'.
3325
3326 * syncase.scm (putprop, getprop): Modified to use the object
3327 properties of the variable object corresponding to the symbol;
3328 This way we can ride on the mechanisms of the module system.
3329 Changed `builtin-variable' calls to `define-public' calls.
3330 Setup the hooks sc-expand and sc-interface.
3331
3332 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
3333 (set-current-module): Switch to and from sc-expand as
3334 scm:eval-transformer when going into and out of modules using
3335 syncase macros.
3336 (module-use!): Set scm:eval-transformer to sc-expand when adding
3337 the syncase interface.
3338
3339 Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3340
3341 * syncase.scm (putprop): Temporary fix which publishes new syntax
3342 globally (the old behaviour was complex and connected to the inner
3343 workings of the current module system).
3344
3345 Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3346
3347 * psyntax.ss: Updated.
3348 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
3349 off!
3350
3351 Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3352
3353 * boot-9.scm (gensym): Removed (replaced by primitive).
3354 (obarray-gensym): Rewritten to use `gensym'.
3355 (gentemp): Rewritten to use `gensym'.
3356
3357 Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3358
3359 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
3360 according to the following priorities:
3361 1. tcl bindings which are present in override-scheme-list
3362 2. bindings from the-scm-module
3363 3. tcl bindings
3364 This way the gtcl module can occur first in the use-list without
3365 disabling the scheme interpreter.
3366 (new-interpreter): New function.
3367
3368 * gwish.scm: Moved initialization code for the-interpreter to
3369 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
3370 it; Call `new-interpreter'; Don't :use-module (guile).
3371
3372 Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
3373
3374 * Makefile.in: Regenerated.
3375
3376 Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
3377
3378 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
3379
3380 Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3381
3382 * emacs.scm (object->string, format, error-args->string): New
3383 procedures.
3384 (emacs-frame-eval): Reworked.
3385
3386 Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3387
3388 * session.scm (apropos-internal): Musn't initialize symbol
3389 accumulator with a constant pair. That led to mutation of the
3390 source!
3391
3392 Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
3393
3394 * session.scm (vector-for-each): Removed.
3395 (apropos): vector-for-each --> array-for-each.
3396 (apropos-internal): New function. Return list of accessible
3397 symbols matching regexp.
3398
3399 * debug.scm (frame-number->index): New function. Convert frame
3400 number (as displayed in the backtrace) to frame index (to be used
3401 in stack-ref).
3402
3403 * emacs.scm (emacs-load): New arguments: interactivep: when
3404 non-false, send back results to Emacs; colnum: Column number;
3405 Use modules (ice-9 debug) and (ice-9 session);
3406 (no-stack, no-source): New simple-actions;
3407 (result-to-emacs): New procedure. Sends data to Emacs via the
3408 result protocol;
3409 (get-frame-source, emacs-select-frame, emacs-frame-eval,
3410 emacs-symdoc): New procedures.
3411
3412 Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3413
3414 * emacs.scm (emacs-load): Adjust stack narrowing.
3415 (whitespace-chars): Include #\np.
3416
3417 * syncase.scm: Also turn off debugging evaluator and recording of
3418 procedure names during loading of psyntax.pp.
3419
3420 * psyntax.pp: Removed leading blanks => 800K -> 100K.
3421
3422 Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3423
3424 * syncase.scm: Don't tamper with debug mode setting when enabling
3425 macros. Instead cut the stack with start-stack.
3426 Load psyntax.pp with recording of positions turned off.
3427
3428 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
3429
3430 * syncase.scm: New file: Guile-adaption for syntax-case macros.
3431 * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
3432 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
3433
3434 Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3435
3436 * session.scm: New file: Session support.
3437 (apropos): New procedure: List bindings given regexp.
3438
3439 Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
3440
3441 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
3442 cstime.
3443
3444 Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3445
3446 * emacs.scm (emacs-load): Something has changed in the reader so
3447 that we now should set the port line count to the specified value
3448 (linum) instead of (- linum 1).
3449
3450 * slib.scm (slib:load): Use load-from-path instead of
3451 primitive-load-path so that backtraces get narrowed properly at
3452 the top.
3453
3454 * boot-9.scm (top-repl): Save stack already in signal handler in
3455 order to narrow it correctly.
3456 (save-stack): Adjust narrowing tag for the top of load-stacks.
3457
3458 Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
3459
3460 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
3461 (dup->fdes): deleted, now done in C.
3462
3463 Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
3464
3465 * boot-9.scm (setenv): new procedure, scsh compatible.
3466
3467 Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
3468
3469 * boot-9.scm (with-fluids): New macro to go with the
3470 builtin `with-fluids*'.
3471
3472 Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3473
3474 * slib.scm (install-require-module): In newer versions of slib
3475 *catalog* is #f until the first access. Therefore we call
3476 require:provided? for a random feature if *catalog* is #f.
3477
3478 Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3479
3480 * boot-9.scm: If using emacs interface, enable backtraces
3481 automatically.
3482
3483 Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
3484
3485 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
3486 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
3487 (duplicate-port): was a C primitive, now it's here.
3488 (move->fdes): allow the first argument to be a file descriptor.
3489 Return the modified port or file descriptor (was unspecified.)
3490
3491 Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
3492
3493 Changes to compile under gnu-win32, from Marcus Daniels:
3494 * boot-9.scm (load-user-init): If HOME is unset, provide
3495 a default of /.
3496
3497 * boot-9.scm (define-public): Changed to accomodate Hobbit.
3498
3499 Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
3500
3501 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
3502 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
3503 notation, instead of #/ notation.
3504
3505 * expect.scm (expect-strings): Pass regexp/newline flag to
3506 make-regexp.
3507
3508 Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
3509
3510 Fix inconsistencies in parsing of #/ style lists.
3511 * boot-9.scm (read-path-list-notation): New function.
3512 (parse-path-symbol): Deleted. Replaced by above.
3513 Plug in read-path-list-notation as the parser for #/ lists,
3514 instead of the anonymous lambda form calling parse-path-symbol.
3515 (Thanks to Maurizio Vitale.)
3516
3517 * boot-9.scm (make-list): Remove the definition of this function
3518 from the (ice-9 common-list) module; make the `init' argument
3519 optional in the scm module's definition, to match the deleted
3520 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
3521
3522 Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
3523
3524 Try to detect when people are using one version of libguile and a
3525 different version of ice-9. People have been skewing things and
3526 sending in bug reports.
3527 * version.scm.in: New file, which the configure script munges to
3528 produce version.scm, which contains the ice-9 config stamp.
3529 * boot-9.scm: Compare the libguile and ice-9 config stamps;
3530 display a warning if the two are different.
3531 * Makefile.am: Install version.scm, but don't distribute it.
3532 Distribute version.scm.in, but don't install it.
3533 * Makefile.in: Regenerated.
3534
3535 Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
3536
3537 * slib.scm (slib:warn): Alias for WARN function.
3538
3539 Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
3540
3541 * boot-9.scm (struct-printer): Fix off-by-one error in range
3542 check. Correctly check for struct printer tag.
3543
3544 * expect.scm: Turn this into a module, (ice-9 expect).
3545 (expect-port, expect-timeout, expect-timeout-proc,
3546 expect-eof-proc, expect-char-proc, expect, expect-strings,
3547 expect-select): Make these public definitions.
3548 (expect-strings): Use make-regexp and regexp-exec, instead of
3549 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
3550 that's okay.
3551
3552 * boot-9.scm (with-regexp-parts): Comment this out. It has no
3553 users in the core, and relies on mildly hairy details of the old
3554 regexp interface.
3555
3556 * test.scm: Re-enable tests asserting that '() is true, and not a
3557 boolean. This stuff has been true for a while.
3558
3559 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
3560 function names.
3561
3562 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
3563 fixes.
3564
3565 Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
3566
3567 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
3568 ../configure.in.
3569
3570 Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
3571
3572 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
3573 vtable and not the one of the struct.
3574
3575 Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
3576
3577 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
3578 make-struct-printer, set-struct-printer-in-vtable!): New bindings
3579 to support printing of structures.
3580 (record-type-vtable, make-record-type): Add slot to hold printing
3581 function and initialize it with something appropriate. Removed
3582 commented out printing code.
3583 (record-type-name, record-type-fields): Adjusted slot offsets.
3584 (%print-module): Reduce argument list to "mod" and "port".
3585
3586 Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
3587
3588 * slib.scm (identity): New function, used by SLIB.
3589
3590 Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
3591
3592 * boot-9.scm: signal-handler, alarm-thunk: removed.
3593 don't define ticks-interrupt etc.
3594 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
3595 during call to scm-style-repl.
3596
3597 Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
3598
3599 * slib.scm (slib:load): Use primitive-load-path instead of
3600 basic-load. This is probably wrong, but hopefully the entire
3601 source access system will be revised soon anyway, and this will
3602 make require behave more like Emacs Lisp's require. If this
3603 breaks something, please let me know. Maybe this is real dumb.
3604
3605 Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
3606
3607 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
3608 * boot-9.scm: If the `regex' feature is present, use the module
3609 (ice-9 regex).
3610
3611 Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
3612
3613 * regex.scm: New file.
3614 * Makefile.am (subpkgdata_DATA): Add regex.scm.
3615 * Makefile.in: Regenerated.
3616
3617 Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
3618
3619 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
3620 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
3621 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
3622 threads.scm: New address for FSF.
3623
3624 Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
3625
3626 * debug.scm: Update copyright years; this file has been worked on
3627 in 1997.
3628
3629 Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
3630
3631 * expect.scm: use gettimeofday instead of get-internal-real-time
3632 and use a floating point timeout when calling select. Untested,
3633 since the regex library is currently AWOL.
3634
3635 Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
3636
3637 * boot-9.scm (eval-string): Function deleted; it was already
3638 implemented in C, so there's no point in making a divergable copy
3639 here.
3640
3641 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
3642
3643 * Makefile.in: Regenerated, using automake-1.1p.
3644
3645 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
3646
3647 * Makefile.in: Regenerated, using automake-1.1p.
3648
3649 Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
3650
3651 * boot-9.scm (error-catching-loop): don't read a line from
3652 current input when quit is encountered, the previous change
3653 fixes this too.
3654
3655 Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
3656
3657 * boot-9.scm (scm-style-repl): After reading an expression,
3658 consume any trailing newline (perhaps preceded by whitespace), to
3659 avoid screwing up GDB. More detail in comments.
3660
3661 Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
3662
3663 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
3664 the Scheme code like code yet.
3665 * Makefile.in: Resrac,husrched.
3666
3667 Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
3668
3669 * boot-9.scm (link-dynamic-module): Do not catch errors from
3670 dynamic-link and dynamic-call. When the shared library exists it
3671 is now assumed to be suitable for a dynamic C module.
3672
3673 Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
3674
3675 * boot-9.scm (process-use-modules): New function to support the
3676 use-modules macro
3677 (use-modules): throw an error iff one of the requested modules
3678 can't be found.
3679
3680 Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
3681
3682 * boot-9.scm: don't define timer-thunk or gc-thunk.
3683
3684 Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
3685
3686 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
3687
3688 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
3689 we're not using AM_INIT_GUILE_MODULE any more.
3690 * Makefile.in: Regeneratitetedrerd.
3691
3692 Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
3693
3694 Get 'make dist' to work again.
3695 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
3696 * Makefile.in: Regenerated, like two tons of fleas.
3697
3698 Changes for reduced Guile distribution: one configure script,
3699 no plugins.
3700 * configure.in, configure: Removed.
3701 * Makefile.in: Regenerated.
3702
3703 Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
3704
3705 * boot-9.scm (eval-string, command-line, load-user-init): New
3706 functions.
3707
3708 Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
3709
3710 * boot-9.scm (log10): defined.
3711
3712 Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
3713
3714 * expect.scm (expect-select): correct the millisecond timeout
3715 arithmetic (from Marko.Kohtala@ntc.nokia.com).
3716
3717 Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
3718
3719 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
3720 instead of in libguile.
3721 (tm:sec etc.) new accessors for broken-down time.
3722 (set-tm:sec etc.) new setters for broken-down time.
3723
3724 Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
3725
3726 * boot-9.scm (netent:addrtype, servent:port): added missing
3727 procedures.
3728 (netent:net, servent:proto): repaired.
3729 (utsname:sysname etc.): new accessors for uname.
3730
3731 Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
3732
3733 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
3734 sockaddr:port): new functions.
3735
3736 Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
3737
3738 * boot-9.scm: define accessor procedures for the objects returned
3739 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
3740 passwd:name, where the first component is the name of the C structure
3741 and the second is the unprefixed C member name.)
3742
3743 Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
3744
3745 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
3746 setservent): no longer take an argument, it was bogus.
3747
3748 Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
3749
3750 * boot-9.scm (scm-error): deleted, reimplemented in C.
3751
3752 Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3753
3754 * boot-9.scm (process-define-module): Modified to handle both
3755 keywords and symbols.
3756
3757 Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
3758
3759 * slib.scm: update read usage.
3760
3761 * r4rs.scm: update primitive-load usage.
3762 Don't define read-sharp.
3763
3764 * boot-9.scm: use read-hash-extend to install extra read syntax.
3765 (read-sharp): removed.
3766 Adjust usage of primitive-load-path, read, which no longer take
3767 case_i or read-sharp arguments.
3768
3769 Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3770
3771 * boot-9.scm: Added loading of session support module.
3772
3773 * debug.scm: Removed `display-application'. (Replaced by
3774 primitive procedure.)
3775
3776 * boot-9.scm (beautify-user-module!): Don't add the root module
3777 interface to the end of the use-list of the root module.
3778
3779 Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
3780
3781 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
3782
3783 Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
3784
3785 * boot-9.scm: check use-emacs-interface for emacs support.
3786
3787 Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
3788
3789 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
3790 read gets EOF.
3791 * (exit): alias for quit.
3792
3793 Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
3794
3795 * boot-9.scm (error-catching-loop thunk): use a status variable to
3796 return the quit args.
3797 (scm-style-repl): call -quit, passing return value from
3798 error-catching-repl. Make -quit return its args.
3799 stand-alone-repl: comment out, since it seems unused.
3800
3801 (error-catching-loop thunk): discard trailing junk after a (quit).
3802
3803 Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3804
3805 * boot-9.scm: Removed the old printer code.
3806
3807 * r4rs.scm (apply, call-with-current-continuation): Added comment
3808 explaining why apply and call/cc need to be closures.
3809
3810 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
3811 Removed. These definitions are already present in r4rs.scm.
3812
3813 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
3814 stack before printing traced frames; Re-enable trace flag at end
3815 of handlers.
3816
3817 Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3818
3819 * debug.scm: Add hook for reset of trace level at abort.
3820
3821 * boot-9.scm (run-hooks): New procedure.
3822 (add-hooks!): New macro.
3823 Change hooks to use these functions.
3824
3825 * debug.scm: *Warning* This feature is a bit premature. I add
3826 it anyway because 1. it is very useful, and, 2. you can start
3827 making it less premature by complaining to me and by modifying
3828 the source! :-)
3829 (trace): Given one or more procedure objects, trace each one.
3830 Given no arguments, show all traced procedures.
3831 (untrace): Given one or more procedure objects, untrace each one.
3832 Given no arguments, untrace all traced procedures. The tracing in
3833 Guile have an advantage to most other systems: We don't create new
3834 procedure objects, but mark the procedure objects themselves.
3835 This means that also anonymous and internal procedures can be
3836 traced.
3837
3838 * boot-9.scm (error-catching-loop): Added handling of apply-frame
3839 and exit-frame exceptions.
3840
3841 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
3842 (set-repl-prompt!): Setter for repl prompt.
3843 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
3844 string, display it; if prompt is a thunk, call it and display its
3845 result; otherwise display "> ".
3846 (Change suggested by Roland Orre <orre@nada.kth.se>.)
3847
3848 * r4rs.scm (%load-verbosely): Reverted change to
3849 `module-defined?', since the module system isn't bootstrapped when
3850 we load r4rs.scm. This is just a temporary fix to make the
3851 repository version runnable.
3852
3853 Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3854
3855 * boot-9.scm: Removed the enabling of debug evaluator and
3856 recording of source code positions. This was placed there for our
3857 convenience, but it has already sneaked into the distribution
3858 once... so we'd better add this in our local copies instead when
3859 we need it. (These options are normally enabled at the end of
3860 boot-9.scm when loading the debug module.)
3861
3862 Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
3863
3864 * boot-9.scm (module-defined?): New function.
3865 (macroexpand-1, macroexpand): Use local-ref instead of defined?
3866 and eval.
3867 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
3868 "defined?".
3869 * slib.scm (defined?): New function to take the place of the
3870 builtin "defined?". It allways examines the slib module.
3871
3872 Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3873
3874 * configure.in: Added AM_MAINTAINER_MODE
3875
3876 Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
3877
3878 * boot-9.scm (read-sharp): define directly, don't go through a
3879 %read-sharp layer.
3880
3881 Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
3882
3883 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
3884 uniform-vector-set1! which doesn't exist.
3885
3886 Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
3887
3888 * boot-9.scm (backtrace): Removed. (A C version now exists in
3889 backtrace.c.)
3890
3891 Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
3892
3893 * boot-9.scm (read-line!, read-delimited!, read-delimited,
3894 read-line): new procedures, see libguile/ChangeLog.
3895
3896 Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
3897
3898 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
3899
3900 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
3901 init-dynamic-module, dynamic-maybe-call,
3902 find-and-link-dynamic-module, link-dynamic-module,
3903 try-module-dynamic-link, registered-modules): New definitions for
3904 dynamic linking of modules.
3905 (resolve-module): Try to dynamically link the requested module
3906 after failing to load it as Scheme code.
3907
3908 Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
3909
3910 * boot-9.scm (getservbyport, getservbyname): remove stray %.
3911
3912 Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
3913
3914 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
3915 that's what it is.
3916
3917 * lineio.scm (make-line-buffering-input-port): Properly test for
3918 the case of an empty buffer list. The old code assumed that '()
3919 was false.
3920
3921 Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
3922
3923 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
3924 (use-modules <module name> ...) Put the the modules named by
3925 <module name> ... on the use list of the current module.
3926
3927 Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
3928
3929 * boot-9.scm (error-catching-loop): Remove message saying that
3930 typing "$" will put you in the debugger. This isn't implemented
3931 yet.
3932
3933 Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
3934
3935 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
3936 been fixed, so this function is superfluous.
3937 (transform-usage-lambda): Use delq!, not delq-all!.
3938
3939 Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
3940
3941 * boot-9.scm (resolve-module): New optional parameter that
3942 controls whether autoloading is attempted or not. Default is #t.
3943 (process-define-module): Don't autoload the defined module.
3944 (try-module-autoload): Don't autoload the directory modules.
3945
3946 * boot-9.scm (process-define-module): Ensure that the-scm-module
3947 is last in the `uses' list to allow shadowing builtin
3948 bindings. All :use-module options are added in the order they
3949 appear in the arguments but before anything already on the list
3950 (such as the-scm-module).
3951
3952 Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
3953
3954 * slib.scm (slib-parent-dir): throw error if #f returned from
3955 %search-load-path.
3956
3957 Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
3958
3959 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
3960 * Makefile.am, aclocal.m4: New files.
3961 * configure.in: Updated for Automake.
3962
3963 Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
3964
3965 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
3966 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
3967 function, use it accordingly.
3968
3969 Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
3970
3971 It's an "eval closure", not an "eval thunk." A thunk is a
3972 function of no arguments.
3973 * boot-9.scm (module-type): Rename module field.
3974 (make-module, eval-in-module, make-root-module,
3975 set-current-module): Uses changed.
3976 (module-eval-closure, set-module-eval-closure!,
3977 root-module-closure): Renamed from module-eval-thunk,
3978 set-module-eval-thunk!, root-module-thunk.
3979 (set-current-module): Change uses of *top-level-lookup-thunk* to
3980 *top-level-eval-closure*.
3981
3982 Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
3983
3984 * slib.scm (slib-parent-dir): Use string-length, not length.
3985 (Thanks to Bernard Urban.)
3986
3987 Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3988
3989 * boot-9.scm: The debugging evaluator and recording of positions
3990 aren't enabled by default any longer (they are switched on in
3991 debug.scm). But during development we want to have them also
3992 *inside* boot-9.scm. Therefore, two lines are added at the
3993 beginning of boot-9.scm to enable these.
3994
3995 Call `provide' so that `records' are included among the
3996 `*features*'.
3997
3998 The scheme for saving the stack has been adjusted: save-stack is
3999 now commonly available for saving the stack. Calling `save-stack'
4000 sets a flag `stack-saved?' which prevents overwriting the stack.
4001 `stack-saved?' is reset at `abort'.
4002
4003 Spelling correction: seperate --> separate.
4004
4005 Removed `:'s that had creeped into some comments.
4006
4007 The repl now doesn't print #<unspecified> results any longer
4008 If the user wants to see this, he can do
4009 (assert-repl-print-unspecified #t) in his startup file.
4010
4011 The user now gets a friendly message instead of a backtrace at
4012 error.
4013
4014 Added `before-read-hook'.
4015
4016 Load module (ice-9 emacs) if option `-e' was specified.
4017
4018 (provide): New function.
4019
4020 (error): Save stack at entry, so that Guile entrails won't show up
4021 in backtraces.
4022
4023 (backtrace): New function.
4024
4025 (save-stack): Can now take arbitrary number of stack narrowing
4026 specifier pairs. The first specifier in a pair controls inner
4027 border, the second the outer border. A number means cut that
4028 number of frames, a procedure object means cut until that object
4029 is found in operator position in a frame.
4030
4031 * debug.scm: Enable debugging evaluator and recording of positions
4032 by default.
4033
4034 * slib.scm (slib:load): Adapt to the new behavior of
4035 primitive-load: It doesn't any longer try both with and without
4036 ".scm" extension. (We don't want to use %search-load-path here.)
4037
4038 (implementation-vicinity): New function. slib requires it
4039
4040 (library-vicinity): Updated.
4041
4042 Load "require.scm" in the library-vicinity.
4043
4044 (install-require-vicinity, install-require-module): New functions.
4045
4046 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
4047
4048 * boot-9.scm (load-from-path): New function.
4049
4050 * boot-9.scm (try-load, basic-try-load, try-load-module,
4051 try-load): Deleted. I don't think they're being used.
4052
4053 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
4054 so they'll get distributed.
4055
4056 Get Guile to be a little less chatty by default. The new user
4057 should see as little clutter as possible.
4058 * r4rs.scm (%load-verbosely): Make this #f by default.
4059 * boot-9.scm (scm-repl-verbose): Make this #f by default.
4060 (scm-style-repl): Don't run 'pk' on the value passed to quit.
4061
4062 * r4rs.scm: New file.
4063 * boot-9.scm: Load r4rs.scm, first thing.
4064 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
4065 open-output-file, open-io-file, close-input-port,
4066 close-output-port, close-io-port, call-with-input-file,
4067 call-with-output-file, with-input-from-port, with-output-to-port,
4068 with-error-to-port, with-input-from-file, with-output-to-file,
4069 with-error-to-file, with-input-from-string, with-output-to-string,
4070 with-error-to-string, the-eof-object): Definitions moved to
4071 r4rs.scm. Not all of them are R4RS, but those that are use those
4072 that are not.
4073 (load, %load-verbosely, %load-announce): Moved, along with code to
4074 set %load-hook, to r4rs.scm.
4075
4076 * test.scm: New file.
4077
4078 * boot-9.scm (integer?): Definition deleted, in favor of the one
4079 present in libguile (which used to be called int?). I have no
4080 idea why integer? didn't just call int? to begin with.
4081
4082 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
4083 =?, >?, and >=? deleted; they're defined that way by libguile now.
4084
4085 * boot-9.scm (load): Simplified; primitive-load does most of this
4086 work now.
4087 (%load-announce-win): Removed; no longer used. Set %load-hook to
4088 call %load-announce.
4089
4090 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
4091
4092 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
4093 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
4094 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
4095 components.
4096 (file-is-directory?): use stat:type.
4097
4098 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
4099
4100 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
4101 that's now taken care of in libguile, and in a way compatible with
4102 SCSH (which this isn't).
4103
4104 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
4105
4106 * boot-9.scm: Formatting tweaks.
4107
4108 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
4109
4110 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
4111 after-error-hook, before-backtrace-hook and after-backtrace-hook
4112 to the error handler. E.g.: fancy emacs support could plug into
4113 these.
4114 (save-stack): New function. The stack is now made differently
4115 depending on the stack id. (The motivation is to make a better
4116 choice regarding what stack frames to present to the user.)
4117 (error-catching-loop): Stack handling code moved outside into
4118 save-stack.
4119
4120 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
4121
4122 * Makefile.in (scm_files): add expect.scm.
4123
4124 * expect.scm: new file ported from guile-iii.
4125
4126 * boot-9.scm: remove handle-system-error, after moving the code into
4127 error-catching-loop.
4128 Don't set 'throw-handler-default property on error keys.
4129 Just interpret (almost) any throw with 4 args as an error throw.
4130 Delete some try-load stuff that was already commented out.
4131
4132 Second thoughts, keep handle-system-error but call it from
4133 error-catching-loop.
4134
4135 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
4136
4137 * boot-9.scm: Doc fixes.
4138 (make-module): Rework for readability.
4139 (make-root-module, make-scm-module): USES argument to make-module
4140 should be '(), not #f.
4141
4142 * boot-9.scm (try-load): %sys-load-path has been renamed to
4143 primitive-load-path; adjust call here.
4144
4145 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4146
4147 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
4148 the stack to the correct place: when it is decided to generate an
4149 error-signal.
4150
4151 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4152
4153 * boot-9.scm (error-catching-loop, signal-handler,
4154 handle-system-error): Backtracing now works for signals aswell;
4155 Backtracing mechanism can now identify the stack root created by
4156 start-stack so that the user isn't exposed to system stack frames.
4157
4158 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4159
4160 * Makefile.in: Added threads.scm.
4161
4162 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4163
4164 * debug.scm (make-enable, make-disable): Simplified.
4165
4166 * boot-9.scm: Renamed %%throw-handler-default -->
4167 throw-handler-default.
4168 ((handle-system-error key . arg-list)): Changed the way errors are
4169 reported.
4170 ((scm-style-repl)): Wrap up the call to eval in a start-stack
4171 acro.
4172 ((error-catching-loop thunk)): Introduce a lazy-catch into
4173 error-catching-loop so that the stack can be captured.
4174
4175 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
4176
4177 * mapping.scm (hash-table-mapping): Explicitly request that
4178 make-vector fill new vectors with '(); this will make it easier to
4179 port Guile Scheme code to other Schemes.
4180 * boot-9.scm (make-print-style, make-print-table): Same.
4181
4182 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
4183
4184 * boot-9.scm (load): rewritten again.
4185 Append "." to the default %load-path.
4186 (feature?): new function: checks for a symbol in the features list.
4187 (module-local-variable): remove apparently useless (caddr (list m v
4188 ...))
4189 (%load-announce): minor formatting change.
4190 (file-exists?): use access? if posix is featured.
4191 (file-is-directory?): use stat if i/o-extensions is featured.
4192 (try-module-autoload module-name): use file-exists? before
4193 file-is-directory?
4194
4195 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
4196
4197 * boot-9.scm: Added conditional loading of threads.scm.
4198
4199 * threads.scm: New file. Modified from the Cygnus-r0.3
4200 distribution.
4201
4202 * boot-9.scm (error-catching-loop): Added handling of key
4203 `switch-repl'.
4204
4205 * boot-9.scm: Name change %%bad-throw --> bad-throw.
4206
4207 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
4208
4209 * boot-9.scm (make-record-type, record-constructor): Don't assume
4210 the empty list is false when parsing the argument list.
4211
4212 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
4213
4214 * boot-9.scm (signal-handler): Clean up logic.
4215
4216 * boot-9.scm (load): Assume %load-path is always bound.
4217
4218 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
4219
4220 * boot-9.scm (error): replace another throw with scm-error. Throw
4221 to 'misc-error instead of 'error (no need to distinguish these.)
4222 Don't set up 'error as a key.
4223 Set up regex-error as a key, if regex is available.
4224 (signal-handler): use scm-error, not throw.
4225
4226 (%try-load, try-load-with-path, %load, load-with-path,
4227 basic-try-load-with-path, basic-load-with-path,
4228 try-load-module-with-path,load-module-with-path): deleted, since
4229 they seem redundant.
4230 (try-load): define using %try-load, not try-load-with-path.
4231 (load): rewritten. load tries to open the file directly and
4232 with a .scm extension before searching the library directories
4233 (should "." be added to %load-path? then load could still open
4234 directly files starting with "/").
4235 (try-module-autoload): use load, not load-with-path.
4236 (%load-indent): deleted, -2 was causing errors.
4237
4238 (%read-sharp): use port-line, not line-number.
4239
4240 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
4241
4242 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
4243 straightforward to provide the equivalent functionality using
4244 (catch #t ...), so there's no need for the extra complexity. 2)
4245 Outside the context of a read-eval-print loop (which Guile should
4246 not require) it's not clear we should do anything more complicated
4247 than print an error and exit; the user or REPL can establish
4248 something better if it wants. 3) In that case, it's much more
4249 robust to just do it in the C code.
4250
4251 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
4252
4253 * boot-9.scm (%try-load): define using primitive-load. Previously
4254 %try-load itself was the primitive.
4255 (load-with-path): use scm-error instead of %load-announce-lossage.
4256 Errors are thrown to 'misc-error instead of 'could-not-load.
4257 (%load-announce-lossage): deleted.
4258
4259 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
4260
4261 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
4262 (make-record-type type-name fields): Temporarily remove support
4263 for printing of records (not possible yet with C printer).
4264
4265 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
4266
4267 * boot-9.scm (file-exists?, file-is-directory): catch only
4268 system-error, not every kind of error.
4269 (scm-error): new procedure.
4270
4271 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
4272
4273 * boot-9.scm: Formatting tweaks.
4274
4275 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
4276
4277 * boot-9.scm (%%handle-system-error key): remove the code for
4278 SCM-style errors. handle the case that an unexpected number
4279 of args are supplied.
4280 (%%system-errors): removed.
4281 (error): redefine using a throw with key and 4 args.
4282 ('error): associate 'error, 'error-signal keys with
4283 %%handle-system-error.
4284 (%%default-error-handler): removed.
4285 (signal-handler): throw with 4 args and use the error-signal key.
4286 Create an error message instead of using numerical codes.
4287 (%%bad-throw): call error instead of throw if key not found.
4288
4289 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
4290
4291 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
4292 (%%handle-system-error key): check subr is not #f before printing.
4293 Recognize %s (embed an argument using "display") and
4294 %S (embed an argument using "write").
4295
4296 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
4297
4298 * boot-9.scm (%%handle-system-error key): set args and rest to
4299 the empty list if they are #f.
4300 Initialize out-of-range as an error key.
4301
4302 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
4303
4304 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
4305
4306 * boot-9.scm: remove leading %% from references to '%%system-error.
4307 (%%handle-system-error): don't pass all the thrown arguments when
4308 aborting, just the key and subr.
4309 Remove the code to "Install default handlers for built-in errors."
4310 Remove the definition of the syserror procedure.
4311 Associate 'numerical-overflow with default handler.
4312
4313 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4314
4315 * boot-9.scm: Name change: value-ref --> local-ref
4316 resolved-ref --> nested-ref Motivation: conformance to the other
4317 dictionary operators: list-ref operates on list, vector-ref
4318 operates on vector, nested-ref operates on nested namespace,
4319 local-ref operates on the local nested namespace.
4320
4321 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
4322
4323 * boot-9.scm (%%handle-system-error): recognise errors thrown
4324 by lgh-error (fill-message etc.)
4325 (fill-message): check first whether args is null.
4326 (fill-message): bug fix and check that args is a list.
4327
4328 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
4329
4330 * boot-9.scm: %load-path is initialized in C code now.
4331 (implementation-vicinity, parse-path): Deleted, along with code to
4332 initialize %load-path.
4333
4334 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
4335 "/", use one to separate it from the file.
4336
4337 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
4338
4339 * boot-9.scm (%load-path): Add the site directory.
4340 Add the directory named after the version number.
4341 Prepend the version number to the other directories in the path.
4342 Simplify by mapping the common prefix onto each item.
4343 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
4344 sitedatadir): New definitions.
4345 (libparent, libdir, install_path): Replaced by above.
4346 (install): Create the above directories.
4347 Put the source files into subpkgdatadir.
4348 (uninstall): Remove the above directories.
4349
4350 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
4351
4352 Don't use the PLUGIN system to gather information for the
4353 Makefile's distribution and installation targets; just put it all
4354 in the Makefile directly.
4355 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
4356 for these.
4357 * configure.in: Remove code that gets and substitutes scm_files and
4358 aux_files.
4359 * Makefile.in (scm_files, aux_files): Write out the list of files
4360 here, where people expect to find them.
4361
4362 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4363
4364 * boot-9.scm: Preliminary solution: optionally load the debug
4365 module. Changed "gls" to "guile1.0b3".
4366
4367 * debug.scm: New file: debug extensions.
4368
4369 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4370
4371 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
4372 weak-key-hash-table?. (Again!)
4373
4374 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4375
4376 * boot-9.scm (print-vector, macro-table, xformer-table):
4377 Renamed weak-hash-table --> weak-key-hash-table.
4378
4379 * poe.scm (funcq-memo): Renamed weak-hash-table -->
4380 weak-key-hash-table.
4381
4382 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
4383
4384 * boot-9.scm (*null-device*): global constant from goonix.
4385 (move->fdes): adjusted for boolean primitive-move->fdes. return
4386 the modified port, always set revealed count to 1 (SCSH compatible).
4387 (release-port-handle port): from goonix (SCSH compatible).
4388 (%open-file): removed.
4389 (open-input-file, open-output-file, file-exists?, file-is-directory?):
4390 modified for open-file change (does not return #f).
4391
4392 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
4393
4394 * Makefile.in (dist-dir): New target for new dist system.
4395 (manifest): Deleted.
4396 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
4397 directory, and needs special treatment in the dist-dir target.
4398
4399 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
4400
4401 * boot-9.scm: remove the wrappers for '%' system primitives,
4402 now that they throw errors directly.
4403 remove make-simple-wrapper and similar functions.
4404 protect a call to getenv which may now throw an exception.
4405
4406 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
4407
4408 * boot-9.scm (false-if-exception): new macro.
4409
4410 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
4411
4412 * The more things change...
4413
4414