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