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