* gc-card.c (scm_i_card_statistics): init tag.
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
e4da0740
HWN
12005-06-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
2
3 * boot-9.scm (set-module-eval-closure!): remove
4 set-procedure-property! closure 'module. Setting this property
5 causes un-gc-able modules.
6
fccc3e92
MV
72005-06-05 Marius Vollmer <mvo@zagadka.de>
8
9 * boot-9.scm (substring-fill!): New, for compatability.
10
8cb2eff8
KR
112005-04-23 Kevin Ryde <user42@zip.com.au>
12
13 * boot-9.scm (make-list): Moved to C code in list.c
14
c0575bde
KR
152005-04-14 Kevin Ryde <user42@zip.com.au>
16
17 * boot-9.scm (1+, 1-): Moved to numbers.c.
18
d1ad188c
KR
192005-03-08 Kevin Ryde <user42@zip.com.au>
20
21 * slib.scm (*features*): Remove 'random, need to use the slib code for
22 that module since guile doesn't provide `random:chunk'.
23
f7fb2f39
RB
242005-02-12 Rob Browning <rlb@defaultvalue.org>
25
26 * boot-9.scm (%cond-expand-features): add srfi-55.
27 (require-extension): add require-extension macro for srfi-55.
28
bba35c80
KR
292005-01-29 Kevin Ryde <user42@zip.com.au>
30
31 * regex.scm (regexp-quote): Use string-for-each, now that function is
32 in the core.
33
4d38e6f0
KR
342005-01-28 Kevin Ryde <user42@zip.com.au>
35
36 * boot-9.scm (while): Remove the unquote from do, it breaks with ice-9
37 syncase. Reported by Pach Roman.
38
1a523873
MV
392005-01-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
40
41 * arrays.scm, deprecated.scm (uniform-vector-fill!,
42 make-uniform-vector, make-uniform-array, list->uniform-vector):
43 Moved from arrays.scm to deprecated.scm.
44 * arrays.scm, boot-9.scm (array-dimensions): Moved from arrays.scm
45 to boo-9.scm.
46 * Makefile.am (ice9_sources): Removed arrays.scm.
47
5be5e699
MV
482005-01-02 Marius Vollmer <mvo@zagadka.de>
49
50 * arrays.scm (uniform-vector-fill!, make-uniform-vector,
51 make-uniform-array,list->uniform-array): Deprecated for real.
52
1ebcfa34
MV
532004-12-29 Marius Vollmer <mvo@zagadka.de>
54
55 * arrays.scm (make-array, list->array): Removed.
56 (uniform-vector-fill!): Prepared to be deprecated.
57
3167d5e4
MV
582004-12-22 Marius Vollmer <marius.vollmer@uni-dortmund.de>
59
60 * boot-9.scm (module-make-local-var!): When creating a new
61 variable, initialize it to the value of any imported variable with
62 the given name. This allows code like (define round round) to
63 work as expected.
64
65 From Antoine Mathys <tonigonenstein@users.sourceforge.net>:
66
67 * popen.scm: Support bidirectional communication by making
68 open-pipe support OPEN_BOTH as second argument and in that case
69 return a soft input-output port which uses two pipes internally.
70 Provide open-pipe* to execute programs without using the shell
71 (and actually base open-pipe on it) and the obvious
72 open-input-output-pipe.
73
e120686a
KR
742004-12-14 Kevin Ryde <user42@zip.com.au>
75
76 * boot-9.scm: (string-any, string-every): Use a scheme wrapper around
77 the C code so for the final call to the predicate procedure is a tail
78 call, per SRFI-13 spec.
79
f41c1142
MV
802004-12-01 mvo <mvo@zagadka.de>
81
82 * boot-9.scm (app, %app): Renamed former to the latter.
83 Previously, 'app' was reserved in every module. Now '%app' is
84 reserved, which is slightly better. The real fix is to not use
85 'local-ref' etc to find modules. Changed all uses.
86 * syncase.scm: Changed 'app' to '%app'.
87
d550e35f
MV
882004-11-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
89
90 * arrays.scm: Do not use prototypes, use creator functions.
91
2ed34885
MV
922004-11-10 Marius Vollmer <mvo@zagadka.de>
93
94 * arrays.scm (uniform-vector-read!, uniform-vector-write):
95 Removed.
96
a2b6a0e7
MV
972004-11-05 Marius Vollmer <marius.vollmer@uni-dortmund.de>
98
99 * boot-9.scm: Do not add "." to %load-path. 'load' will still be
100 able to load files in the current directory, but 'use-modules' etc
101 will not.
102
5e9c05a1
MV
1032004-10-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
104
105 * arrays.scm: Do not install read-hash procedure for reading
106 arrays, this is done in libguile now.
107
7b1574ed
MV
1082004-10-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
109
110 * arrays.scm (uniform-vector?, uniform-vector-set!): Removed, now
111 provided by libguile.
112
79d52182
MV
1132004-10-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
114
115 * boot-9.scm: Added srfi-4 to cond-expand features.
116
98c712c4
MV
1172004-10-18 Marius Vollmer <marius.vollmer@uni-dortmund.de>
118
119 * format.scm (format:obj->str): Simplified considerably by using
120 object->string or display instead of implementing our own printer.
121 Handle format:read-proof here. Unreadable objects are recognized
122 by their "#<" prefix instead of by being unknown to the custom
123 printer (which would treat keywords as unprintable, for example).
124 (format:iobj->str): Removed.
125
aef0bdb4
MV
1262004-10-04 Marius Vollmer <marius.vollmer@uni-dortmund.de>
127
128 * boot-9.scm (symbol->keyword, keyword->symbol): Removed, they are
129 now implemented in C.
130
e5c2d5c8
KR
1312004-09-26 Kevin Ryde <user42@zip.com.au>
132
133 * optargs.scm (let-optional-template, let-keywords-template): Change
134 "(begin body)" to "(let () body)" for empty bindings, since the former
135 allows "internal defines" in body leak out to the surrounding
136 environment.
137
c9fedf8a
MV
1382004-09-23 Marius Vollmer <mvo@zagadka.de>
139
140 * boot-9.scm (handle-system-error): Pass rest argument to
141 display-backtrace for wrong-type-arg and out-of-range errors so
142 that the bad value gets highlighted.
143
1c923ba7
KR
1442004-09-04 Kevin Ryde <user42@zip.com.au>
145
146 * streams.scm (stream-for-each-many): Correction, should recurse into
147 itself, not stream-for-each-one.
148
2bd2014d
KR
149 * time.scm (time-proc): Make result inexact, since format ~f doesn't
150 support fractions currently.
151
e548be5f
MV
1522004-09-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
153
154 * boot-9.scm (expt): Only call integer-expt for an exact integer
155 exponent, not for an inexact integer one. Also, let integer-expt
156 handle negative exponents instead of doing it here.
157
b8d95267
KR
1582004-09-02 Kevin Ryde <user42@zip.com.au>
159
160 * format.scm (format:out): Ignore excess arguments, per common lisp.
161
162 * format.scm (format:out-num-padded): Print "+" on 0 under @ modifier.
163
24cc9192
KR
1642004-08-27 Kevin Ryde <user42@zip.com.au>
165
166 * regex.scm (regexp-quote): [ and | must be quoted. Quote ( ) { + ?
167 using char class [(] etc since \( in fact makes them become special in
168 regexp/basic.
169
4b0ad1f4
KR
1702004-08-25 Kevin Ryde <user42@zip.com.au>
171
172 * and-let-star.scm (and-let*): Give #t for an empty body, per srfi-2
173 spec, previously came out as an empty (begin).
174
c5080b51
MV
1752004-08-25 Marius Vollmer <mvo@zagadka.de>
176
c4c3360b 177 * boot-9.scm (%cond-expand-features): Added srfi-13 and srfi-14.
c5080b51 178
fac3b6bc
MV
1792004-08-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
180
181 * debugger/utils.scm (display-source): Use unmemoize-expr instead
182 of unmemoize.
183 (write-frame-short/expression): Likewise.
184
00ed256c
KR
1852004-08-18 Kevin Ryde <user42@zip.com.au>
186
187 * and-let-star.scm: Add cond-expand-provide srfi-2, since this module
188 provides that feature.
189 * receive.scm: Add cond-expand-provide srfi-8, since this module
190 provides that feature.
191
d2afa1fc
MV
1922004-08-09 Marius Vollmer <mvo@zagadka.de>
193
194 From Matthias Koeppe. Thanks!
195
196 * pretty-print.scm (generic-write): In the local procedure `wr', use
197 object->string to print all data (except for the reader macros),
198 rather than implementing an own printer. The user-visible
199 difference is that procedures and control characters like #\tab
200 are now printed in the same way as by `write'.
201
2975040b
KR
2022004-08-09 Kevin Ryde <user42@zip.com.au>
203
204 * slib.scm (*features*): Remove array and array-for-each, core
205 definitions are insufficient for latest slib.
206 (t, nil): New constants slib says are supposed to exist.
207 (call-with-open-ports, browse-url): New functions for latest slib.
208 Implementations taken from Template.scm (public domain).
209 (open-file): Extend core definition to accept symbols for the mode,
210 required by latest slib.
211 (delete-file): Replace core definition with version returning #t/#f as
212 per slib spec.
213 (system): Mark as #:replace to suppress override warning, use new
214 style "(@ (guile) system)" to call core function.
215
dc510157
KR
2162004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
217
218 * format.scm: Remove the arbitrary limit of 100 iterations for the
219 ~{...~} control structure.
220
2755366c
KR
2212004-07-10 Kevin Ryde <user42@zip.com.au>
222
223 * and-let-star.scm (and-let*): Remove unused variable "val".
224 * pretty-print.scm (read-macro-prefix): Remove unused variable "tail".
225
226 * boot-9.scm (%cond-expand-features): Add srfi-6 which is in the core.
227
228 * safe-r5rs.scm (re-export): Uncomment numerator, denominator,
229 rationalize, since they now exist.
230
40827c6d
KR
2312004-07-05 Kevin Ryde <user42@zip.com.au>
232
233 * slib.scm (system): Correction to redefinition, now guile is stricter
234 about when a define binding comes into existance.
235
3d2ada2f
DH
2362004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
237
238 * boot-9.scm: Reordered definitions such that macro definitions
239 preceed their first usage. Include and define deprecated stuff
240 late in the file to have a better change of detecting accidental
241 uses of deprecated definitions. Further, unified the layout a
242 little and grouped definitions more cleanly into topics.
243
41cfaa12
MV
2442004-05-24 Marius Vollmer <mvo@zagadka.de>
245
246 * history.scm (use-value-history): Use resolve-interface instead
247 of resolve-module so that only the exported bindings are searched.
248 (save-value-history): Export the newly defined variable. Reported
249 by Wolfgang Jaehrling.
250
9f84d6aa
DH
2512004-05-04 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
252
253 * boot-9.scm (resolve-module): Always start searching from the
254 root module. This will allow the C equivalent scm_resolve_module
255 to work, independent of what the current module is.
256
9b792a7e
MV
2572004-02-18 Marius Vollmer <mvo@zagadka.de>
258
259 * boot-9.scm (top-repl): Make the (guile-user) module use the
260 (ice-9 r5rs) module.
261
711a9fd7
MD
2622004-02-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
263
264 * boot-9.scm (module-map): Renamed hash-map -> hash-map->list.
265
2c284c94
NJ
2662004-02-09 Neil Jerram <neil@ossau.uklinux.net>
267
268 * debugger/trap-hooks.scm (debug-hook-membership): New, exported.
269
270 * debugger/commands.scm (debug-trap-hooks): New, exported.
271
f1dc5f45
MD
2722004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
273
274 * debugger/breakpoints/Makefile.am (TAGS_FILES),
275 debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
276 this variable instead of ETAGS_ARGS so that TAGS can be built
277 using separate build directory.
278
bb5ad88f
NJ
2792004-01-20 Neil Jerram <neil@ossau.uklinux.net>
280
281 * boot-9.scm (error-catching-loop): Back out 2003-11-19 change to
282 lazy-handler-dispatch lookup.
283
1dd2599f
MV
2842004-01-12 Marius Vollmer <mvo@zagadka.de>
285
286 * mapping.scm: Use '#:' prefix for keywords instead of ':'.
287 Thanks to Richard Todd!
288
9afa7a12
KR
2892004-01-11 Kevin Ryde <user42@zip.com.au>
290
7dd5eb58
KR
291 * slib.scm (system): New function, giving an exit code return in
292 accordance with slib spec.
293
9afa7a12
KR
294 Revert this, it breaks test-suite/tests/r5rs_pitfalls.test where
295 false-if-exception is used within syntax-rules. (Suspect syntax-rules
296 ought to support this sort of thing, but it doesn't right now.)
9afa7a12
KR
297 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
298 to depend on expansion environment.
299
96e3b2f8
MV
3002004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
301
302 * boot-9.scm (with-fluids): Use with-fluid* when only one fluid is
303 being set.
304
524cbf64
KR
3052004-01-07 Kevin Ryde <user42@zip.com.au>
306
307 * q.scm (q-pop!): Should be "null?" not "not" for end-of-list.
308 Reported by Richard Todd.
309
6d611fed
KR
3102004-01-04 Kevin Ryde <user42@zip.com.au>
311
312 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
313 to depend on expansion environment.
314
97ac013a
KR
315 * slib.scm (-1+, <?, <=?, =?, >?, >=?): Define as aliases for 1-, <,
316 <=, =, >, >= respectively, required by slib 'rev2-procedures but no
317 longer in the guile core.
318
64758fe2
NJ
3192003-11-19 Neil Jerram <neil@ossau.uklinux.net>
320
321 * boot-9.scm (error-catching-loop): Defer lookup of
322 lazy-handler-dispatch.
323
aff7e166
MV
3242003-11-17 Marius Vollmer <mvo@zagadka.de>
325
326 * boot-9.scm (@, @@): New macros.
327
37f5dfe5
DH
3282003-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
329
330 * boot-9.scm: Started comment about module system workings.
331
3273abd2
NJ
3322003-11-11 Neil Jerram <neil@ossau.uklinux.net>
333
30d90280
NJ
334 * debugger.scm: Change ui-* calls to gds-*.
335 (debug-on-error): Debug if throw key is in specified syms, not if
336 it isn't! Also throw 'abort after debugging, so as to skip the
337 REPL's backtrace.
338
3273abd2
NJ
339 * debugger/behaviour.scm (*trap*): New variable, stores trap type.
340 (before-enter-frame-hook, before-apply-frame-hook,
341 before-exit-frame-hook): Set here.
342 (debug-if-flag-set): Passed into flags on debug-stack call.
343 (at-step, at-next): Changed to debug at frame exit points as well.
344
345 * debugger/utils.scm: Big comment added.
346
3472003-10-30 Neil Jerram <neil@ossau.uklinux.net>
348
349 * debugger/ui-client.scm: Moved to ../emacs/gds-client.scm.
350
9f1af5d9
NJ
3512003-10-16 Neil Jerram <neil@ossau.uklinux.net>
352
353 * debugger/ui-client.scm (ui-connect): Add arg to say whether to
354 debug immediately on connection.
355 (ui-eval): Handle exceptions during read and evaluation.
356
357 * debugger.scm (debug-on-error, default-default-lazy-handler):
358 Remove an unnecessary level of indirection in calling lazy
359 handler.
360
e2de682c
MV
3612003-10-12 Marius Vollmer <mvo@zagadka.de>
362
363 * ftw.scm (directory-files): Close dir-stream when done. Thanks
364 to Paul Jarc!
365
ff6ea7b9
KR
3662003-10-09 Kevin Ryde <user42@zip.com.au>
367
368 * poe.scm (funcq-assoc): Rewrite, don't assume '() is false, and
369 actually traverse the given alist.
370
41a80feb
NJ
3712003-10-06 Neil Jerram <neil@ossau.uklinux.net>
372
373 * debugger/ui-client.scm (handle-instruction): Add evaluation
374 support.
375 (ui-eval): New.
376
02b0c692
NJ
3772003-10-04 Neil Jerram <neil@ossau.uklinux.net>
378
379 * debugger/ui-client.scm (ui-disable-async-thread,
380 ui-continue-async-thread, start-async-ui-thread): New.
381 (ui-command-loop): Call ui-disable-async-thread and
382 ui-continue-async-thread.
383 (handle-instruction): Read terminating newline char so it doesn't
384 cause following select to pop immediately.
385
79b1c5b6
NJ
3862003-09-25 Neil Jerram <neil@ossau.uklinux.net>
387
388 * debugger/ui-client.scm, debugger/ui-server.scm: New (work in
389 progress on new debugging front end).
390
3912003-09-24 Neil Jerram <neil@ossau.uklinux.net>
392
393 * debugger.scm (default-default-lazy-handler, debug-on-error):
394 New.
395
396 * debugger/behaviour.scm (debug-if-flag-set): Display debug entry
397 messages through (debugger-output-port).
398 (after-exit-frame-hook): Trace through (debugger-output-port).
399 (trace-here): Trace through (debugger-output-port).
400
401 * debugger/commands.scm (evaluate): If supplied expression is a
402 string, read from it before evaluating.
403 (evaluate): Change output format to "EXPR => VALUE".
404
9b4bbf47
KR
4052003-09-19 Kevin Ryde <user42@zip.com.au>
406
407 * popen.scm (open-process): Correction to previous fdes closing
408 change, need to watch out for stdin==stderr or stdout==stderr.
409
5dc1ba73
MV
4102003-09-15 Marius Vollmer <mvo@zagadka.de>
411
412 * format.scm (format): Rewritten as a big letrec to make it
413 reentrant. No mutex is necessary. Thanks to Clinton Ebadi!
414
7743d628
KR
4152003-09-13 Kevin Ryde <user42@zip.com.au>
416
417 * boot-9.scm (file-exists?): Use stat rather than access?, so as to
418 follow the effective UID/GID not the real ID. file-exists? is
cd56b181 419 normally used as a prelude to opening or some other operation, and
7743d628
KR
420 it's the effective ID which will apply there. Emacs file-exists-p
421 uses stat, presumably for the the same reason.
422
50e0ba57
MV
4232003-09-12 Marius Vollmer <mvo@zagadka.de>
424
425 * boot-9.scm (make-autoload-interface): Use a proper hashtable as
426 the obarray, not an empty vector.
427 (make-module): Always construct a hashtable for the obarray, even
428 for empty ones.
429
430 * format.scm (format:error): Use 'format:format' instead of
431 'format' since the latter will lock the mutex again that we have
432 already locked.
433 (format:format-work): Flag multiple '#' as an error.
434
2388d9af
KR
4352003-08-17 Kevin Ryde <user42@zip.com.au>
436
437 * boot-9.scm (while): Use a new key dynamically for each loop, so
438 break and continue associate to their loop even when recursing.
439
d97f9b42
KR
4402003-08-14 Kevin Ryde <user42@zip.com.au>
441
442 * boot-9.scm (while): Rewrite, continue as proper escape, break
443 without return value, break and continue new for each while form,
444 don't depend on bindings in expansion environment.
445
446 * popen.scm (open-process): Close input-fdes, output-fdes and
447 error-fdes after duping them to 0, 1 and 2.
448
996acdb8
KR
4492003-06-19 Kevin Ryde <user42@zip.com.au>
450
451 * threads.scm (parallel): For no forms, use `(values)' not `(begin)'.
452
42ad901d
DH
4532003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
454
455 * boot-9.scm (make-autoload-interface): Added missing quote around
456 vector constant.
457
47dee228
MV
4582003-05-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
459
460 * deprecated.scm (list*): Added.
461
6cced6fe
KR
4622003-05-10 Kevin Ryde <user42@zip.com.au>
463
464 * documentation.scm (file-commentary, find-documentation-in-file): Use
465 call-with-input-file, to close ports when done.
466
1b965c29
MV
4672003-05-03 Marius Vollmer <mvo@zagadka.de>
468
d04229df
MV
469 * gap-buffer.scm (point++n!, point+-n!): Use substring-move!
470 instead of substring-move-left! or substring-move-right!. Thanks
471 to Kevin Ryde.
472
473 * deprecated.scm (substring-move-left!, substring-move-right!):
474 New.
475
0d5271a2 476 * boot-9.scm (display-usage-report): Use keyword->symbol instead
6aa536b3 477 of keyword-symbol, which doesn't exist. Thanks to Kevin Ryde.
0d5271a2 478
2b24a689
MV
479 * hcons.scm (hashq-cons-get-handle): Pass only the expected four
480 arguments to hashx-get-handle. Thanks to Kevin Ryde!
481
1b965c29
MV
482 * lineio.scm (make-line-buffering-input-port) Pass 0 as second
483 argument to string-ref. Thanks to Kevin Ryde!
484
56b97da9
MD
4852003-04-25 Mikael Djurfeldt <mdj@kvast.blakulla.net>
486
487 * serialize.scm: New file.
488
359aab24
MD
4892003-04-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
490
491 * threads.scm (n-for-each-par-map): New procedure.
492
fc87c27a
MV
4932003-04-05 Marius Vollmer <mvo@zagadka.de>
494
495 * Changed license terms to the plain LGPL thru-out.
496
bd40d420
MV
4972003-03-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
498
499 * deprecated.scm: New file, to collect deprecated things.
500 * Makefile.am (ice9_sources): Added.
501
502 * boot-9.scm: Load "ice-9/deprecated.scm" when appropriate.
503 (try-load-module): Also try the old deprecated method, maybe.
504
570b5b14
MV
5052003-03-22 Marius Vollmer <mvo@zagadka.de>
506
507 * boot-9.scm (call/cc): Added.
508
44876271
MD
5092003-03-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
510
511 * list.scm: New file.
512
b80e1b5c
MV
5132003-03-19 Marius Vollmer <mvo@zagadka.de>
514
515 * format.scm (format:out-substr): Update the column counter
516 correctly. This fixes the behavior of ~T (tabbing) after ~F, for
517 instance. Thanks to Matthias Koeppe!
518
3742da68
MD
5192003-03-13 Mikael Djurfeldt <djurfeldt@nada.kth.se>
520
521 * session.scm (apropos): Don't look in duplicates interface.
522
70a459e3
MD
5232003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
524
65bed4aa
MD
525 * boot-9.scm (duplicate-handlers): Make sure the merge-generics
526 and merge-accessors handlers are available also before (oop goops)
527 has been loaded. This is so that people can put them as default
528 handlers without worrying about availability.
529
3802f9cc
MD
530 * slib.scm (logical:ipow-by-squaring): Removed.
531
fe6ee052
MD
532 * boot-9.scm (ipow-by-squaring): Removed.
533 (default-duplicate-binding-handler): Set default to
6496a663 534 '(replace warn-override-core warn last)
fe6ee052 535
d57da08b
MD
536 * boot-9.scm (module-make-local-var!): Use module-add!.
537 (module-primitive-add!): New function.
538 (resolve-interface): Use
539 (call-with-deferred-observers, module-call-observers): New
540 functions.
541 (module-defer-observers, module-defer-observers-mute,
542 module-defer-observers-table): New variables.
543 (process-define-module, process-use-modules, export, re-export):
544 Use call-with-deferred-observers.
8d8dac1f
MD
545 (module-duplicates-info, set-module-duplicates-info!): Removed.
546 (module-duplicates-handlers, module-duplicates-interface): New.
547 (module-type): Added duplicates-handlers and
548 duplicates-interface.
d57da08b
MD
549
550 * syncase.scm (eval): Mark as replacement.
551
552 * boot-9.scm (defmacro-public): Use export-syntax instead of export.
553
70a459e3
MD
554 * slib.scm (*features*): Set the core variable instead of defining
555 a local version.
556 (provide, provided?): Mark as replacements.
557
558 * boot-9.scm (beautify-user-module!): Don't install the duplicates
559 handler here.
560 (default-duplicate-binding-handler): Renamed from
561 default-module-duplicates-handler; Removed converter.
562 (process-duplicates): Lookup default duplicates handler dynamically.
563 (default-duplicate-binding-procedures): New parameter.
564
509a787a
MD
5652003-03-12 Mikael Djurfeldt <mdj@kvast.blakulla.net>
566
567 * slib.scm (identity): Removed. (Provided by core.)
568
f595ccfe
MD
5692003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
570
c614a00b
MD
571 * debugger/command-loop.scm: Prefix all commands imported from
572 (ice-9 debugger command-loop) with debugger:.
573
109c2c9f
MD
574 * boot-9.scm (process-duplicates): Use module-import-interface.
575 (module-symbol-interface): Removed.
c614a00b
MD
576 (resolve-interface): Process #:hide; Name custom interfaces
577 appropriately.
578 (module-use!, module-use-interfaces!): Remove existing interfaces
579 on the use-list based on module name rather than interface
580 identity so that custom interfaces truly replaces their previous
581 version.
109c2c9f 582
f595ccfe
MD
583 * boot-9.scm (module-override!, make-mutable-parameter,
584 lookup-duplicates-handlers, default-module-duplicates-handler):
585 New functions.
586 (process-duplicates): Don't call duplicates handlers for duplicate
587 bindings of the same variable.
588 (process-define-module): Process #:replace.
589 (compile-interface-spec, resolve-interface): Process #:prefix.
590
591 * format.scm (format): Marked as replacement.
592
593 * threads.scm (future, future-ref): Marked as replacements.
594
7b07e5ef
MD
5952003-03-07 Mikael Djurfeldt <djurfeldt@nada.kth.se>
596
597 These changes enables checking for duplicate imported bindings.
598
599 * boot-9.scm (process-define-module): Handle #:duplicates.
600 (module-use-interfaces! process-duplicates): New functions.
601 (duplicate-handlers): Dictionary of duplicate handlers.
602 (module-symbol-local-binding, module-symbol-binding): Bugfix.
603
1798b73d
MD
6042003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
605
606 * session.scm (apropos): Use hash-for-each instead of
607 array-for-each.
608
c35738c1
MD
6092003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
610
231a4ea8
MD
611 * boot-9.scm (make-module): Changed default size from 1021 to 31
612 (since the size now adapts).
613 (macro-table, xformer-table): Changed default size from 523 to 61.
614 (make-module): Don't call make-hash-table with zero size.
615
c35738c1
MD
616 * Makefile.am (ice9_sources): Added weak-vector.scm.
617
618 * weak-vector.scm: New file.
619
620 * boot-9.scm (module-clear!): Use hash-clear!.
621 (module-for-each): Use hash-for-each.
622 (module-map): Use hash-map.
623
f59a096e
MD
6242003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
625
626 * boot-9.scm (make-hash-table): Turned primitive.
627
e963ac2c
MD
6282003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
629
630 * syncase.scm (guile-macro): Strip syntactic information from
631 expression before trying to treat it as a Guile macro call.
632 (Thanks to Kevin Ryde.)
633
c2950e36
MD
6342003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
635
636 * threads.scm (parallel, letpar): Rewritten.
637
f4719f31
MD
6382003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
639
640 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
641 futures.
642
93f26b7b
MD
6432003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
644
51407fa0
MD
645 * occam-channel.scm (alt): New syntax.
646
93f26b7b
MD
647 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
648 operator as a primitive procedure.
649 (build-data): Quote vectors (psyntax.ss requires this).
650
6512003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
652
653 * psyntax.ss (self-evaluating?): Allow procedures implanted in
654 source. (Guile uses this internally.)
655
80f225df
MD
6562003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
657
658 * psyntax.ss (build-data): Don't quote self-evaluating expressions
659 in output. (We normally *would* like also these expressions to be
660 quoted, but until Guile's native macros and syncase cooperates
661 better, it is less destructive not to quote.)
662 (self-evaluating?): Removed null? (In Guile, the empty list is not
663 self-evaluating).
664 (sc-chi): Export chi as sc-chi.
665 (external-macro): New syntax type.
666
667 * psyntax.pp: Regenerated.
668
669 * compile-psyntax.scm: Set expansion-eval-closure.
7906d57d 670
cf743aea
MD
671 * boot-9.scm (use-syntax): Return *unspecified*.
672
7906d57d
MD
673 * syncase.scm: Set expansion-eval-closure to
674 the-syncase-eval-closure during booting so that variables are
cf743aea
MD
675 created in the correct module.
676 (syncase): Set expansion-eval-closure.
7906d57d
MD
677 (define-syntax define-syntax-public eval-when fluid-let-syntax
678 identifier-syntax let-syntax letrec-syntax syntax syntax-case
679 syntax-rules with-syntax include): Removed definitions (these are
680 created from within psyntax.pp).
80f225df
MD
681 Enable expansion of Guile macros during a syntax-case
682 transformation.
cf743aea 683
60eefd9c
MD
6842003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
685
8411a446 686 * occam-channel.scm (make-channel): Renamed from channel.
fb831451 687 (make-timer): New function.
8411a446 688
60eefd9c
MD
689 * Makefile.am (ice9_sources): Added occam-channel.scm.
690
691 * occam-channel.scm: New file. Implements occam-like channels.
692
db853761
NJ
6932002-12-28 Neil Jerram <neil@ossau.uklinux.net>
694
695 * boot-9.scm (module-defined-hook): New hook, run whenever a new
696 module is defined.
697 (process-define-module): Run this hook.
698
62d4fd94
MD
6992002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
700
701 * threads.scm: Removed bogus definition of future-ref.
702
87623595
MD
7032002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
704
705 * threads.scm (par-map, par-for-each): Reimplemented using
706 joing-thread.
707 (parallel): Reimplemented using futures.
708 (n-par-map, n-for-each): New procedures.
709
edeea67b
MV
7102002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
711
712 * optargs.scm (improper-list-copy): New.
713 (parse-arglist): Use it instead of list-copy.
714
fc85d095
MD
7152002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
716
717 * threads.scm (letpar): New macro.
718
b2cbe8d8
RB
7192002-12-08 Rob Browning <rlb@defaultvalue.org>
720
721 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
722 GUILE_EFFECTIVE_VERSION.
723
724 * debugger/Makefile.am (subpkgdatadir): VERSION ->
725 GUILE_EFFECTIVE_VERSION.
726
727 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
728
abce330c
MD
7292002-12-04 Mikael Djurfeldt <mdj@linnaeus>
730
fc85d095
MD
731 * threads.scm (parallel): New macro.
732 (par-map, par-for-each): New procedures.
abce330c
MD
733
734 * documentation.scm (object-documentation): Added support for
735 defmacros.
736
f2cbc0e5
DH
7372002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
738
739 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
740 removing it in my patch from 2002-11-16.
741
9123414e
DH
7422002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
743
744 Thanks to Mikael Djurfeldt for a bugreport which led to the
745 following changes:
746
747 * slib.scm (%system-define): Removed.
748
749 (define): Changed to use define-private instead of
750 %system-define.
751
752 * boot-9.scm (define-private): Undid my changes from 2002-11-16
753 until Guile supports hygienic macros.
754
50a63003
NJ
7552002-11-17 Neil Jerram <neil@ossau.uklinux.net>
756
757 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
758 has been removed from the core.
759
c55bcb32
DH
7602002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
761
762 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
763 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
764 syntax-rules, with-syntax, include): Changed definitions to form
765 'real' macro definitions.
766
6aa9ea7c
DH
7672002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
768
769 * boot-9.scm (define-private, export-syntax, export-syntax):
770 Fixed my previous fix (blush).
771
ab382f52
DH
7722002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
773
774 * boot-9.scm (define-private, export-syntax, export-syntax):
775 Changed definitions to form 'real' macro definitions.
776
81cf290d
MV
7772002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
778
779 * format.scm (format): Use 'monitor' properly. Not the definition
780 needs to be restricted, the actual function needs to be.
781
3f619266
NJ
7822002-11-05 Neil Jerram <neil@ossau.uklinux.net>
783
784 * boot-9.scm (define-option-interface): Fix to "simplification"
785 change below.
786
787 * debugger/breakpoints/source.scm: Enable source property
788 recording when module is loaded.
789 (##): Cope with ports whose `filename' is not a string.
790
9124ba8d
NJ
7912002-11-04 Neil Jerram <neil@ossau.uklinux.net>
792
0983f67f
NJ
793 * boot-9.scm (define-option-interface): Simplify code-generation
794 code.
795
9124ba8d
NJ
796 * debugger/command-loop.scm (read-and-dispatch-command): Import
797 set-readline-prompt dynamically if we need to. (Previous
798 arrangement didn't work if this module was loaded before (ice-9
799 readline).)
800
eb2c5dcb
MV
8012002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
802
803 * format.scm (format): Wrap a monitor around format:format since
804 it is not thread-safe.
805
132fe7af
MV
8062002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
807
808 * threads.scm (%thread-handler): Explicitely return '#f'. This
809 value will be returned by join-thread.
810
8ee7506b
NJ
8112002-10-26 Neil Jerram <neil@ossau.uklinux.net>
812
813 Merging debugger enhancements previously in separate
814 `guile-debugger' package ...
815
816 * debugger.scm: Factored out into the following constituent parts
817 - see comment in file for more details.
818 (*not-yet-introduced*): New (avoids repeatedly introducing the
819 debugger when entering it from breakpoints).
820 (debug-stack): New.
821 (debug): Rewrite to use more general `debug-stack'.
822
823 * debugger/commands.scm, debugger/command-loop.scm,
824 debugger/state.scm, debugger/utils.scm: New files containing bits
825 of old (ice-9 debugger), plus some rewriting and enhancements for
826 breakpoint support ...
827
828 * debugger/state.scm (state-rtd): Add flags field.
829 (make-state): Extend to optionally take flags.
830 (state-flags): New, accessor for flags field.
831 (set-state-index!, set-stack-index!): New.
832 (write-state-short): Rewritten to print out the current source
833 location in a way that is more easily trackable by Emacs.
834
835 * debugger/commands.scm (assert-continuable, continue, finish,
836 trace-finish, step, next): New debugger commands for continuing
837 execution from a breakpoint.
838
839 * debugger/behaviour.scm, debugger/breakpoints.scm,
840 debugger/breakpoints/procedural.scm,
841 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
842 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
843 support.
844
845 * Makefile.am (SUBDIRS): Add debugger subdirectory.
846
847 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
848
03453b05
MV
8492002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
850
851 * threads.scm (%thread-handler): Do not call unmask-signals, that
852 should be unnecessary now.
853
a7785f36
MD
8542002-10-20 Mikael Djurfeldt <mdj@linnaeus>
855
856 * boot-9.scm (top-repl): Look for use-emacs-interface in
857 guile-user-module (should it be there?) instead of
858 the-root-module.
859
acfa1f52
MV
8602002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
861
862 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
863 (error-catching-loop): use call-with-blocked-asyncs and
864 call-with-unblocked-asyncs instead of mask-signals and
865 unmask-signals.
866
34010f56
NJ
8672002-10-09 Neil Jerram <neil@ossau.uklinux.net>
868
869 * buffered-input.scm (make-buffered-input-port): Build an
870 input-waiting thunk for just extended version of make-soft-port.
871
9bc54879
RB
8722002-10-04 Rob Browning <rlb@defaultvalue.org>
873
874 * boot-9.scm (expt): switch if sense and use negative? rather than
875 >= 0.
876
3538c2b2
MV
8772002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
878
879 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
880 limit the signal stack.
881
f4232aa6
MV
8822002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
883
884 * boot-9.scm (feature?): Added deprecation message.
885
5fc0857e
RB
8862002-09-14 Rob Browning <rlb@defaultvalue.org>
887
888 * boot-9.scm (sqrt): minor indentation fix.
889
cfcdb8e9
MV
8902002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
891
892 * syncase.scm: Set the module transformer of the-syncase-module so
893 that we can use define-syntax.
894 (define-syntax-public): New and exported.
895
8962002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
897
898 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
899 (sc-macro): Set the expansion-eval-closure expanding the form.
900 (putprop, getprop): Use the expansion-eval-closure to find
901 variables instead of the current module.
902
fdf7e1d7
MV
9032002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
904
905 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
906
7c38399f
DH
9072002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
908
909 * boot-9.scm (define-option-interface): Replaced "macro" by
910 mmacro.
911
1334c61a
GH
9122002-06-01 Gary Houston <ghouston@arglist.com>
913
914 * boot-9.scm (file-set-position): Make third argument optional,
915 for SCM compatibility.
916 (file-position): simplify definition.
917
be87cdb7
MV
9182002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
919
920 * boot-9.scm (file-set-position): Use seek instead of fseek.
921
e717bf46
MV
9222002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
923
924 * format.scm (format:out-inf-nan): New.
925 (format:out-fixed, format:out-expon, format:out-general): Use it
926 to print infs and nans.
927
928 * boot-9.scm (unsetenv): New, for completeness.
929
9ea4ac37
MV
9302002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
931
932 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
933 print long real numbers with large positive and negative
934 exponents.
935
45845efe
MV
9362002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
937
938 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
939
0bd1b44f
TTN
9402002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
941
942 * gap-buffer.scm: New file.
943
944 * Makefile.am (ice9_sources): Add gap-buffer.scm.
945
c87af2d5
RB
9462002-03-12 Rob Browning <rlb@defaultvalue.org>
947
948 * syncase.scm: fix bad let.
949 (gensym): fix failure on non-threaded
950
6c5b8521
TTN
9512002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
952
953 * ftw.scm: New file.
954
955 * Makefile.am (ice9_sources): Add ftw.scm.
956
327d4dd3
TTN
9572002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
958
959 * Makefile.am: Update path to pre-inst-guile automake frag.
960
d51b42e2
TTN
961 * boot-9.scm: Comment grammar fixes; nfc.
962 Thanks to Christopher Cramer.
963
46151112
RB
9642002-02-24 Rob Browning <rlb@defaultvalue.org>
965
966 * syncase.scm (gensym): redefine locally so we can control it's
967 properties. This is in preparation for changing the future public
968 gensym to produce unreadable symbols.
969
970 * psyntax.pp: updated to reflect new syncase.scm.
971
90d4a6b0
TTN
9722002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
973
974 * regex.scm: Add commentary; nfc.
975
0187b4f4
TTN
9762002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
977
978 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
979
980 (psyntax.pp): Use $(preinstguile).
981
dd580bd6
MV
9822002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
983
984 * psyntax.ss (datum->syntax-object): Removed assertion in
985 datum->syntax-object that checked if the first argument, a
986 syntax-object, is an identifier. This was a unconvenient and
987 unnecessary restriction. Thanks to Dorai Sitaram!
988
0e6f7775
MV
9892002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
990
991