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