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