*** empty log message ***
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
7f278dc6
MV
12005-08-01 Marius Vollmer <mvo@zagadka.de>
2
3 * boot-9.scm (set-module-eval-closure!): Undone change from
4 2005-06-10; with the new weak hashtable semantics, cyclic
5 references are no longer a problem.
6
9f4f1758
NJ
72005-07-09 Neil Jerram <neil@ossau.uklinux.net>
8
4199ace5
NJ
9 * debugger.scm: Remove comments which are now incorrect.
10
d5c3f236
NJ
11 * debugger/Makefile.am (ice9_debugger_sources): Removed
12 breakpoints.scm, behaviour.scm, trap-hooks.scm.
13 (SUBDIRS): Removed.
14
9f4f1758
NJ
15 Changes to remove breakpoint support from CVS, as I am now
16 developing this function outside Guile core.
17
18 * debugger/commands.scm (assert-continuable, continue, finish,
19 trace-finish, step, next): Removed.
20
21 * debugger/breakpoints/*: Removed.
22
23 * debugger/breakpoints.scm: Removed.
24
25 * debugger/command-loop.scm: Remove command definitions for
26 continue, finish, trace-finish, step and next.
27
28 * debugger/behaviour.scm: Removed.
29
30 * debugger.scm (debug-stack): Remove GDS related code.
31
e4da0740
HWN
322005-06-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
33
34 * boot-9.scm (set-module-eval-closure!): remove
35 set-procedure-property! closure 'module. Setting this property
36 causes un-gc-able modules.
37
fccc3e92
MV
382005-06-05 Marius Vollmer <mvo@zagadka.de>
39
40 * boot-9.scm (substring-fill!): New, for compatability.
41
8cb2eff8
KR
422005-04-23 Kevin Ryde <user42@zip.com.au>
43
44 * boot-9.scm (make-list): Moved to C code in list.c
45
c0575bde
KR
462005-04-14 Kevin Ryde <user42@zip.com.au>
47
48 * boot-9.scm (1+, 1-): Moved to numbers.c.
49
d1ad188c
KR
502005-03-08 Kevin Ryde <user42@zip.com.au>
51
52 * slib.scm (*features*): Remove 'random, need to use the slib code for
53 that module since guile doesn't provide `random:chunk'.
54
f7fb2f39
RB
552005-02-12 Rob Browning <rlb@defaultvalue.org>
56
57 * boot-9.scm (%cond-expand-features): add srfi-55.
58 (require-extension): add require-extension macro for srfi-55.
59
bba35c80
KR
602005-01-29 Kevin Ryde <user42@zip.com.au>
61
62 * regex.scm (regexp-quote): Use string-for-each, now that function is
63 in the core.
64
4d38e6f0
KR
652005-01-28 Kevin Ryde <user42@zip.com.au>
66
67 * boot-9.scm (while): Remove the unquote from do, it breaks with ice-9
68 syncase. Reported by Pach Roman.
69
1a523873
MV
702005-01-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
71
72 * arrays.scm, deprecated.scm (uniform-vector-fill!,
73 make-uniform-vector, make-uniform-array, list->uniform-vector):
74 Moved from arrays.scm to deprecated.scm.
75 * arrays.scm, boot-9.scm (array-dimensions): Moved from arrays.scm
76 to boo-9.scm.
77 * Makefile.am (ice9_sources): Removed arrays.scm.
78
5be5e699
MV
792005-01-02 Marius Vollmer <mvo@zagadka.de>
80
81 * arrays.scm (uniform-vector-fill!, make-uniform-vector,
82 make-uniform-array,list->uniform-array): Deprecated for real.
83
1ebcfa34
MV
842004-12-29 Marius Vollmer <mvo@zagadka.de>
85
86 * arrays.scm (make-array, list->array): Removed.
87 (uniform-vector-fill!): Prepared to be deprecated.
88
3167d5e4
MV
892004-12-22 Marius Vollmer <marius.vollmer@uni-dortmund.de>
90
91 * boot-9.scm (module-make-local-var!): When creating a new
92 variable, initialize it to the value of any imported variable with
93 the given name. This allows code like (define round round) to
94 work as expected.
95
96 From Antoine Mathys <tonigonenstein@users.sourceforge.net>:
97
98 * popen.scm: Support bidirectional communication by making
99 open-pipe support OPEN_BOTH as second argument and in that case
100 return a soft input-output port which uses two pipes internally.
101 Provide open-pipe* to execute programs without using the shell
102 (and actually base open-pipe on it) and the obvious
103 open-input-output-pipe.
104
e120686a
KR
1052004-12-14 Kevin Ryde <user42@zip.com.au>
106
107 * boot-9.scm: (string-any, string-every): Use a scheme wrapper around
108 the C code so for the final call to the predicate procedure is a tail
109 call, per SRFI-13 spec.
110
f41c1142
MV
1112004-12-01 mvo <mvo@zagadka.de>
112
113 * boot-9.scm (app, %app): Renamed former to the latter.
114 Previously, 'app' was reserved in every module. Now '%app' is
115 reserved, which is slightly better. The real fix is to not use
116 'local-ref' etc to find modules. Changed all uses.
117 * syncase.scm: Changed 'app' to '%app'.
118
d550e35f
MV
1192004-11-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
120
121 * arrays.scm: Do not use prototypes, use creator functions.
122
2ed34885
MV
1232004-11-10 Marius Vollmer <mvo@zagadka.de>
124
125 * arrays.scm (uniform-vector-read!, uniform-vector-write):
126 Removed.
127
a2b6a0e7
MV
1282004-11-05 Marius Vollmer <marius.vollmer@uni-dortmund.de>
129
130 * boot-9.scm: Do not add "." to %load-path. 'load' will still be
131 able to load files in the current directory, but 'use-modules' etc
132 will not.
133
5e9c05a1
MV
1342004-10-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
135
136 * arrays.scm: Do not install read-hash procedure for reading
137 arrays, this is done in libguile now.
138
7b1574ed
MV
1392004-10-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
140
141 * arrays.scm (uniform-vector?, uniform-vector-set!): Removed, now
142 provided by libguile.
143
79d52182
MV
1442004-10-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
145
146 * boot-9.scm: Added srfi-4 to cond-expand features.
147
98c712c4
MV
1482004-10-18 Marius Vollmer <marius.vollmer@uni-dortmund.de>
149
150 * format.scm (format:obj->str): Simplified considerably by using
151 object->string or display instead of implementing our own printer.
152 Handle format:read-proof here. Unreadable objects are recognized
153 by their "#<" prefix instead of by being unknown to the custom
154 printer (which would treat keywords as unprintable, for example).
155 (format:iobj->str): Removed.
156
aef0bdb4
MV
1572004-10-04 Marius Vollmer <marius.vollmer@uni-dortmund.de>
158
159 * boot-9.scm (symbol->keyword, keyword->symbol): Removed, they are
160 now implemented in C.
161
e5c2d5c8
KR
1622004-09-26 Kevin Ryde <user42@zip.com.au>
163
164 * optargs.scm (let-optional-template, let-keywords-template): Change
165 "(begin body)" to "(let () body)" for empty bindings, since the former
166 allows "internal defines" in body leak out to the surrounding
167 environment.
168
c9fedf8a
MV
1692004-09-23 Marius Vollmer <mvo@zagadka.de>
170
171 * boot-9.scm (handle-system-error): Pass rest argument to
172 display-backtrace for wrong-type-arg and out-of-range errors so
173 that the bad value gets highlighted.
174
1c923ba7
KR
1752004-09-04 Kevin Ryde <user42@zip.com.au>
176
177 * streams.scm (stream-for-each-many): Correction, should recurse into
178 itself, not stream-for-each-one.
179
2bd2014d
KR
180 * time.scm (time-proc): Make result inexact, since format ~f doesn't
181 support fractions currently.
182
e548be5f
MV
1832004-09-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
184
185 * boot-9.scm (expt): Only call integer-expt for an exact integer
186 exponent, not for an inexact integer one. Also, let integer-expt
187 handle negative exponents instead of doing it here.
188
b8d95267
KR
1892004-09-02 Kevin Ryde <user42@zip.com.au>
190
191 * format.scm (format:out): Ignore excess arguments, per common lisp.
192
193 * format.scm (format:out-num-padded): Print "+" on 0 under @ modifier.
194
24cc9192
KR
1952004-08-27 Kevin Ryde <user42@zip.com.au>
196
197 * regex.scm (regexp-quote): [ and | must be quoted. Quote ( ) { + ?
198 using char class [(] etc since \( in fact makes them become special in
199 regexp/basic.
200
4b0ad1f4
KR
2012004-08-25 Kevin Ryde <user42@zip.com.au>
202
203 * and-let-star.scm (and-let*): Give #t for an empty body, per srfi-2
204 spec, previously came out as an empty (begin).
205
c5080b51
MV
2062004-08-25 Marius Vollmer <mvo@zagadka.de>
207
c4c3360b 208 * boot-9.scm (%cond-expand-features): Added srfi-13 and srfi-14.
c5080b51 209
fac3b6bc
MV
2102004-08-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
211
212 * debugger/utils.scm (display-source): Use unmemoize-expr instead
213 of unmemoize.
214 (write-frame-short/expression): Likewise.
215
00ed256c
KR
2162004-08-18 Kevin Ryde <user42@zip.com.au>
217
218 * and-let-star.scm: Add cond-expand-provide srfi-2, since this module
219 provides that feature.
220 * receive.scm: Add cond-expand-provide srfi-8, since this module
221 provides that feature.
222
d2afa1fc
MV
2232004-08-09 Marius Vollmer <mvo@zagadka.de>
224
225 From Matthias Koeppe. Thanks!
226
227 * pretty-print.scm (generic-write): In the local procedure `wr', use
228 object->string to print all data (except for the reader macros),
229 rather than implementing an own printer. The user-visible
230 difference is that procedures and control characters like #\tab
231 are now printed in the same way as by `write'.
232
2975040b
KR
2332004-08-09 Kevin Ryde <user42@zip.com.au>
234
235 * slib.scm (*features*): Remove array and array-for-each, core
236 definitions are insufficient for latest slib.
237 (t, nil): New constants slib says are supposed to exist.
238 (call-with-open-ports, browse-url): New functions for latest slib.
239 Implementations taken from Template.scm (public domain).
240 (open-file): Extend core definition to accept symbols for the mode,
241 required by latest slib.
242 (delete-file): Replace core definition with version returning #t/#f as
243 per slib spec.
244 (system): Mark as #:replace to suppress override warning, use new
245 style "(@ (guile) system)" to call core function.
246
dc510157
KR
2472004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
248
249 * format.scm: Remove the arbitrary limit of 100 iterations for the
250 ~{...~} control structure.
251
2755366c
KR
2522004-07-10 Kevin Ryde <user42@zip.com.au>
253
254 * and-let-star.scm (and-let*): Remove unused variable "val".
255 * pretty-print.scm (read-macro-prefix): Remove unused variable "tail".
256
257 * boot-9.scm (%cond-expand-features): Add srfi-6 which is in the core.
258
259 * safe-r5rs.scm (re-export): Uncomment numerator, denominator,
260 rationalize, since they now exist.
261
40827c6d
KR
2622004-07-05 Kevin Ryde <user42@zip.com.au>
263
264 * slib.scm (system): Correction to redefinition, now guile is stricter
265 about when a define binding comes into existance.
266
3d2ada2f
DH
2672004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
268
269 * boot-9.scm: Reordered definitions such that macro definitions
270 preceed their first usage. Include and define deprecated stuff
271 late in the file to have a better change of detecting accidental
272 uses of deprecated definitions. Further, unified the layout a
273 little and grouped definitions more cleanly into topics.
274
41cfaa12
MV
2752004-05-24 Marius Vollmer <mvo@zagadka.de>
276
277 * history.scm (use-value-history): Use resolve-interface instead
278 of resolve-module so that only the exported bindings are searched.
279 (save-value-history): Export the newly defined variable. Reported
280 by Wolfgang Jaehrling.
281
9f84d6aa
DH
2822004-05-04 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
283
284 * boot-9.scm (resolve-module): Always start searching from the
285 root module. This will allow the C equivalent scm_resolve_module
286 to work, independent of what the current module is.
287
9b792a7e
MV
2882004-02-18 Marius Vollmer <mvo@zagadka.de>
289
290 * boot-9.scm (top-repl): Make the (guile-user) module use the
291 (ice-9 r5rs) module.
292
711a9fd7
MD
2932004-02-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
294
295 * boot-9.scm (module-map): Renamed hash-map -> hash-map->list.
296
2c284c94
NJ
2972004-02-09 Neil Jerram <neil@ossau.uklinux.net>
298
299 * debugger/trap-hooks.scm (debug-hook-membership): New, exported.
300
301 * debugger/commands.scm (debug-trap-hooks): New, exported.
302
f1dc5f45
MD
3032004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
304
305 * debugger/breakpoints/Makefile.am (TAGS_FILES),
306 debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
307 this variable instead of ETAGS_ARGS so that TAGS can be built
308 using separate build directory.
309
bb5ad88f
NJ
3102004-01-20 Neil Jerram <neil@ossau.uklinux.net>
311
312 * boot-9.scm (error-catching-loop): Back out 2003-11-19 change to
313 lazy-handler-dispatch lookup.
314
1dd2599f
MV
3152004-01-12 Marius Vollmer <mvo@zagadka.de>
316
317 * mapping.scm: Use '#:' prefix for keywords instead of ':'.
318 Thanks to Richard Todd!
319
9afa7a12
KR
3202004-01-11 Kevin Ryde <user42@zip.com.au>
321
7dd5eb58
KR
322 * slib.scm (system): New function, giving an exit code return in
323 accordance with slib spec.
324
9afa7a12
KR
325 Revert this, it breaks test-suite/tests/r5rs_pitfalls.test where
326 false-if-exception is used within syntax-rules. (Suspect syntax-rules
327 ought to support this sort of thing, but it doesn't right now.)
9afa7a12
KR
328 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
329 to depend on expansion environment.
330
96e3b2f8
MV
3312004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
332
333 * boot-9.scm (with-fluids): Use with-fluid* when only one fluid is
334 being set.
335
524cbf64
KR
3362004-01-07 Kevin Ryde <user42@zip.com.au>
337
338 * q.scm (q-pop!): Should be "null?" not "not" for end-of-list.
339 Reported by Richard Todd.
340
6d611fed
KR
3412004-01-04 Kevin Ryde <user42@zip.com.au>
342
343 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
344 to depend on expansion environment.
345
97ac013a
KR
346 * slib.scm (-1+, <?, <=?, =?, >?, >=?): Define as aliases for 1-, <,
347 <=, =, >, >= respectively, required by slib 'rev2-procedures but no
348 longer in the guile core.
349
64758fe2
NJ
3502003-11-19 Neil Jerram <neil@ossau.uklinux.net>
351
352 * boot-9.scm (error-catching-loop): Defer lookup of
353 lazy-handler-dispatch.
354
aff7e166
MV
3552003-11-17 Marius Vollmer <mvo@zagadka.de>
356
357 * boot-9.scm (@, @@): New macros.
358
37f5dfe5
DH
3592003-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
360
361 * boot-9.scm: Started comment about module system workings.
362
3273abd2
NJ
3632003-11-11 Neil Jerram <neil@ossau.uklinux.net>
364
30d90280
NJ
365 * debugger.scm: Change ui-* calls to gds-*.
366 (debug-on-error): Debug if throw key is in specified syms, not if
367 it isn't! Also throw 'abort after debugging, so as to skip the
368 REPL's backtrace.
369
3273abd2
NJ
370 * debugger/behaviour.scm (*trap*): New variable, stores trap type.
371 (before-enter-frame-hook, before-apply-frame-hook,
372 before-exit-frame-hook): Set here.
373 (debug-if-flag-set): Passed into flags on debug-stack call.
374 (at-step, at-next): Changed to debug at frame exit points as well.
375
376 * debugger/utils.scm: Big comment added.
377
3782003-10-30 Neil Jerram <neil@ossau.uklinux.net>
379
380 * debugger/ui-client.scm: Moved to ../emacs/gds-client.scm.
381
9f1af5d9
NJ
3822003-10-16 Neil Jerram <neil@ossau.uklinux.net>
383
384 * debugger/ui-client.scm (ui-connect): Add arg to say whether to
385 debug immediately on connection.
386 (ui-eval): Handle exceptions during read and evaluation.
387
388 * debugger.scm (debug-on-error, default-default-lazy-handler):
389 Remove an unnecessary level of indirection in calling lazy
390 handler.
391
e2de682c
MV
3922003-10-12 Marius Vollmer <mvo@zagadka.de>
393
394 * ftw.scm (directory-files): Close dir-stream when done. Thanks
395 to Paul Jarc!
396
ff6ea7b9
KR
3972003-10-09 Kevin Ryde <user42@zip.com.au>
398
399 * poe.scm (funcq-assoc): Rewrite, don't assume '() is false, and
400 actually traverse the given alist.
401
41a80feb
NJ
4022003-10-06 Neil Jerram <neil@ossau.uklinux.net>
403
404 * debugger/ui-client.scm (handle-instruction): Add evaluation
405 support.
406 (ui-eval): New.
407
02b0c692
NJ
4082003-10-04 Neil Jerram <neil@ossau.uklinux.net>
409
410 * debugger/ui-client.scm (ui-disable-async-thread,
411 ui-continue-async-thread, start-async-ui-thread): New.
412 (ui-command-loop): Call ui-disable-async-thread and
413 ui-continue-async-thread.
414 (handle-instruction): Read terminating newline char so it doesn't
415 cause following select to pop immediately.
416
79b1c5b6
NJ
4172003-09-25 Neil Jerram <neil@ossau.uklinux.net>
418
419 * debugger/ui-client.scm, debugger/ui-server.scm: New (work in
420 progress on new debugging front end).
421
4222003-09-24 Neil Jerram <neil@ossau.uklinux.net>
423
424 * debugger.scm (default-default-lazy-handler, debug-on-error):
425 New.
426
427 * debugger/behaviour.scm (debug-if-flag-set): Display debug entry
428 messages through (debugger-output-port).
429 (after-exit-frame-hook): Trace through (debugger-output-port).
430 (trace-here): Trace through (debugger-output-port).
431
432 * debugger/commands.scm (evaluate): If supplied expression is a
433 string, read from it before evaluating.
434 (evaluate): Change output format to "EXPR => VALUE".
435
9b4bbf47
KR
4362003-09-19 Kevin Ryde <user42@zip.com.au>
437
438 * popen.scm (open-process): Correction to previous fdes closing
439 change, need to watch out for stdin==stderr or stdout==stderr.
440
5dc1ba73
MV
4412003-09-15 Marius Vollmer <mvo@zagadka.de>
442
443 * format.scm (format): Rewritten as a big letrec to make it
444 reentrant. No mutex is necessary. Thanks to Clinton Ebadi!
445
7743d628
KR
4462003-09-13 Kevin Ryde <user42@zip.com.au>
447
448 * boot-9.scm (file-exists?): Use stat rather than access?, so as to
449 follow the effective UID/GID not the real ID. file-exists? is
cd56b181 450 normally used as a prelude to opening or some other operation, and
7743d628
KR
451 it's the effective ID which will apply there. Emacs file-exists-p
452 uses stat, presumably for the the same reason.
453
50e0ba57
MV
4542003-09-12 Marius Vollmer <mvo@zagadka.de>
455
456 * boot-9.scm (make-autoload-interface): Use a proper hashtable as
457 the obarray, not an empty vector.
458 (make-module): Always construct a hashtable for the obarray, even
459 for empty ones.
460
461 * format.scm (format:error): Use 'format:format' instead of
462 'format' since the latter will lock the mutex again that we have
463 already locked.
464 (format:format-work): Flag multiple '#' as an error.
465
2388d9af
KR
4662003-08-17 Kevin Ryde <user42@zip.com.au>
467
468 * boot-9.scm (while): Use a new key dynamically for each loop, so
469 break and continue associate to their loop even when recursing.
470
d97f9b42
KR
4712003-08-14 Kevin Ryde <user42@zip.com.au>
472
473 * boot-9.scm (while): Rewrite, continue as proper escape, break
474 without return value, break and continue new for each while form,
475 don't depend on bindings in expansion environment.
476
477 * popen.scm (open-process): Close input-fdes, output-fdes and
478 error-fdes after duping them to 0, 1 and 2.
479
996acdb8
KR
4802003-06-19 Kevin Ryde <user42@zip.com.au>
481
482 * threads.scm (parallel): For no forms, use `(values)' not `(begin)'.
483
42ad901d
DH
4842003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
485
486 * boot-9.scm (make-autoload-interface): Added missing quote around
487 vector constant.
488
47dee228
MV
4892003-05-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
490
491 * deprecated.scm (list*): Added.
492
6cced6fe
KR
4932003-05-10 Kevin Ryde <user42@zip.com.au>
494
495 * documentation.scm (file-commentary, find-documentation-in-file): Use
496 call-with-input-file, to close ports when done.
497
1b965c29
MV
4982003-05-03 Marius Vollmer <mvo@zagadka.de>
499
d04229df
MV
500 * gap-buffer.scm (point++n!, point+-n!): Use substring-move!
501 instead of substring-move-left! or substring-move-right!. Thanks
502 to Kevin Ryde.
503
504 * deprecated.scm (substring-move-left!, substring-move-right!):
505 New.
506
0d5271a2 507 * boot-9.scm (display-usage-report): Use keyword->symbol instead
6aa536b3 508 of keyword-symbol, which doesn't exist. Thanks to Kevin Ryde.
0d5271a2 509
2b24a689
MV
510 * hcons.scm (hashq-cons-get-handle): Pass only the expected four
511 arguments to hashx-get-handle. Thanks to Kevin Ryde!
512
1b965c29
MV
513 * lineio.scm (make-line-buffering-input-port) Pass 0 as second
514 argument to string-ref. Thanks to Kevin Ryde!
515
56b97da9
MD
5162003-04-25 Mikael Djurfeldt <mdj@kvast.blakulla.net>
517
518 * serialize.scm: New file.
519
359aab24
MD
5202003-04-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
521
522 * threads.scm (n-for-each-par-map): New procedure.
523
fc87c27a
MV
5242003-04-05 Marius Vollmer <mvo@zagadka.de>
525
526 * Changed license terms to the plain LGPL thru-out.
527
bd40d420
MV
5282003-03-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
529
530 * deprecated.scm: New file, to collect deprecated things.
531 * Makefile.am (ice9_sources): Added.
532
533 * boot-9.scm: Load "ice-9/deprecated.scm" when appropriate.
534 (try-load-module): Also try the old deprecated method, maybe.
535
570b5b14
MV
5362003-03-22 Marius Vollmer <mvo@zagadka.de>
537
538 * boot-9.scm (call/cc): Added.
539
44876271
MD
5402003-03-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
541
542 * list.scm: New file.
543
b80e1b5c
MV
5442003-03-19 Marius Vollmer <mvo@zagadka.de>
545
546 * format.scm (format:out-substr): Update the column counter
547 correctly. This fixes the behavior of ~T (tabbing) after ~F, for
548 instance. Thanks to Matthias Koeppe!
549
3742da68
MD
5502003-03-13 Mikael Djurfeldt <djurfeldt@nada.kth.se>
551
552 * session.scm (apropos): Don't look in duplicates interface.
553
70a459e3
MD
5542003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
555
65bed4aa
MD
556 * boot-9.scm (duplicate-handlers): Make sure the merge-generics
557 and merge-accessors handlers are available also before (oop goops)
558 has been loaded. This is so that people can put them as default
559 handlers without worrying about availability.
560
3802f9cc
MD
561 * slib.scm (logical:ipow-by-squaring): Removed.
562
fe6ee052
MD
563 * boot-9.scm (ipow-by-squaring): Removed.
564 (default-duplicate-binding-handler): Set default to
6496a663 565 '(replace warn-override-core warn last)
fe6ee052 566
d57da08b
MD
567 * boot-9.scm (module-make-local-var!): Use module-add!.
568 (module-primitive-add!): New function.
569 (resolve-interface): Use
570 (call-with-deferred-observers, module-call-observers): New
571 functions.
572 (module-defer-observers, module-defer-observers-mute,
573 module-defer-observers-table): New variables.
574 (process-define-module, process-use-modules, export, re-export):
575 Use call-with-deferred-observers.
8d8dac1f
MD
576 (module-duplicates-info, set-module-duplicates-info!): Removed.
577 (module-duplicates-handlers, module-duplicates-interface): New.
578 (module-type): Added duplicates-handlers and
579 duplicates-interface.
d57da08b
MD
580
581 * syncase.scm (eval): Mark as replacement.
582
583 * boot-9.scm (defmacro-public): Use export-syntax instead of export.
584
70a459e3
MD
585 * slib.scm (*features*): Set the core variable instead of defining
586 a local version.
587 (provide, provided?): Mark as replacements.
588
589 * boot-9.scm (beautify-user-module!): Don't install the duplicates
590 handler here.
591 (default-duplicate-binding-handler): Renamed from
592 default-module-duplicates-handler; Removed converter.
593 (process-duplicates): Lookup default duplicates handler dynamically.
594 (default-duplicate-binding-procedures): New parameter.
595
509a787a
MD
5962003-03-12 Mikael Djurfeldt <mdj@kvast.blakulla.net>
597
598 * slib.scm (identity): Removed. (Provided by core.)
599
f595ccfe
MD
6002003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
601
c614a00b
MD
602 * debugger/command-loop.scm: Prefix all commands imported from
603 (ice-9 debugger command-loop) with debugger:.
604
109c2c9f
MD
605 * boot-9.scm (process-duplicates): Use module-import-interface.
606 (module-symbol-interface): Removed.
c614a00b
MD
607 (resolve-interface): Process #:hide; Name custom interfaces
608 appropriately.
609 (module-use!, module-use-interfaces!): Remove existing interfaces
610 on the use-list based on module name rather than interface
611 identity so that custom interfaces truly replaces their previous
612 version.
109c2c9f 613
f595ccfe
MD
614 * boot-9.scm (module-override!, make-mutable-parameter,
615 lookup-duplicates-handlers, default-module-duplicates-handler):
616 New functions.
617 (process-duplicates): Don't call duplicates handlers for duplicate
618 bindings of the same variable.
619 (process-define-module): Process #:replace.
620 (compile-interface-spec, resolve-interface): Process #:prefix.
621
622 * format.scm (format): Marked as replacement.
623
624 * threads.scm (future, future-ref): Marked as replacements.
625
7b07e5ef
MD
6262003-03-07 Mikael Djurfeldt <djurfeldt@nada.kth.se>
627
628 These changes enables checking for duplicate imported bindings.
629
630 * boot-9.scm (process-define-module): Handle #:duplicates.
631 (module-use-interfaces! process-duplicates): New functions.
632 (duplicate-handlers): Dictionary of duplicate handlers.
633 (module-symbol-local-binding, module-symbol-binding): Bugfix.
634
1798b73d
MD
6352003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
636
637 * session.scm (apropos): Use hash-for-each instead of
638 array-for-each.
639
c35738c1
MD
6402003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
641
231a4ea8
MD
642 * boot-9.scm (make-module): Changed default size from 1021 to 31
643 (since the size now adapts).
644 (macro-table, xformer-table): Changed default size from 523 to 61.
645 (make-module): Don't call make-hash-table with zero size.
646
c35738c1
MD
647 * Makefile.am (ice9_sources): Added weak-vector.scm.
648
649 * weak-vector.scm: New file.
650
651 * boot-9.scm (module-clear!): Use hash-clear!.
652 (module-for-each): Use hash-for-each.
653 (module-map): Use hash-map.
654
f59a096e
MD
6552003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
656
657 * boot-9.scm (make-hash-table): Turned primitive.
658
e963ac2c
MD
6592003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
660
661 * syncase.scm (guile-macro): Strip syntactic information from
662 expression before trying to treat it as a Guile macro call.
663 (Thanks to Kevin Ryde.)
664
c2950e36
MD
6652003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
666
667 * threads.scm (parallel, letpar): Rewritten.
668
f4719f31
MD
6692003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
670
671 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
672 futures.
673
93f26b7b
MD
6742003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
675
51407fa0
MD
676 * occam-channel.scm (alt): New syntax.
677
93f26b7b
MD
678 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
679 operator as a primitive procedure.
680 (build-data): Quote vectors (psyntax.ss requires this).
681
6822003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
683
684 * psyntax.ss (self-evaluating?): Allow procedures implanted in
685 source. (Guile uses this internally.)
686
80f225df
MD
6872003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
688
689 * psyntax.ss (build-data): Don't quote self-evaluating expressions
690 in output. (We normally *would* like also these expressions to be
691 quoted, but until Guile's native macros and syncase cooperates
692 better, it is less destructive not to quote.)
693 (self-evaluating?): Removed null? (In Guile, the empty list is not
694 self-evaluating).
695 (sc-chi): Export chi as sc-chi.
696 (external-macro): New syntax type.
697
698 * psyntax.pp: Regenerated.
699
700 * compile-psyntax.scm: Set expansion-eval-closure.
7906d57d 701
cf743aea
MD
702 * boot-9.scm (use-syntax): Return *unspecified*.
703
7906d57d
MD
704 * syncase.scm: Set expansion-eval-closure to
705 the-syncase-eval-closure during booting so that variables are
cf743aea
MD
706 created in the correct module.
707 (syncase): Set expansion-eval-closure.
7906d57d
MD
708 (define-syntax define-syntax-public eval-when fluid-let-syntax
709 identifier-syntax let-syntax letrec-syntax syntax syntax-case
710 syntax-rules with-syntax include): Removed definitions (these are
711 created from within psyntax.pp).
80f225df
MD
712 Enable expansion of Guile macros during a syntax-case
713 transformation.
cf743aea 714
60eefd9c
MD
7152003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
716
8411a446 717 * occam-channel.scm (make-channel): Renamed from channel.
fb831451 718 (make-timer): New function.
8411a446 719
60eefd9c
MD
720 * Makefile.am (ice9_sources): Added occam-channel.scm.
721
722 * occam-channel.scm: New file. Implements occam-like channels.
723
db853761
NJ
7242002-12-28 Neil Jerram <neil@ossau.uklinux.net>
725
726 * boot-9.scm (module-defined-hook): New hook, run whenever a new
727 module is defined.
728 (process-define-module): Run this hook.
729
62d4fd94
MD
7302002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
731
732 * threads.scm: Removed bogus definition of future-ref.
733
87623595
MD
7342002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
735
736 * threads.scm (par-map, par-for-each): Reimplemented using
737 joing-thread.
738 (parallel): Reimplemented using futures.
739 (n-par-map, n-for-each): New procedures.
740
edeea67b
MV
7412002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
742
743 * optargs.scm (improper-list-copy): New.
744 (parse-arglist): Use it instead of list-copy.
745
fc85d095
MD
7462002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
747
748 * threads.scm (letpar): New macro.
749
b2cbe8d8
RB
7502002-12-08 Rob Browning <rlb@defaultvalue.org>
751
752 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
753 GUILE_EFFECTIVE_VERSION.
754
755 * debugger/Makefile.am (subpkgdatadir): VERSION ->
756 GUILE_EFFECTIVE_VERSION.
757
758 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
759
abce330c
MD
7602002-12-04 Mikael Djurfeldt <mdj@linnaeus>
761
fc85d095
MD
762 * threads.scm (parallel): New macro.
763 (par-map, par-for-each): New procedures.
abce330c
MD
764
765 * documentation.scm (object-documentation): Added support for
766 defmacros.
767
f2cbc0e5
DH
7682002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
769
770 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
771 removing it in my patch from 2002-11-16.
772
9123414e
DH
7732002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
774
775 Thanks to Mikael Djurfeldt for a bugreport which led to the
776 following changes:
777
778 * slib.scm (%system-define): Removed.
779
780 (define): Changed to use define-private instead of
781 %system-define.
782
783 * boot-9.scm (define-private): Undid my changes from 2002-11-16
784 until Guile supports hygienic macros.
785
50a63003
NJ
7862002-11-17 Neil Jerram <neil@ossau.uklinux.net>
787
788 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
789 has been removed from the core.
790
c55bcb32
DH
7912002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
792
793 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
794 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
795 syntax-rules, with-syntax, include): Changed definitions to form
796 'real' macro definitions.
797
6aa9ea7c
DH
7982002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
799
800 * boot-9.scm (define-private, export-syntax, export-syntax):
801 Fixed my previous fix (blush).
802
ab382f52
DH
8032002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
804
805 * boot-9.scm (define-private, export-syntax, export-syntax):
806 Changed definitions to form 'real' macro definitions.
807
81cf290d
MV
8082002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
809
810 * format.scm (format): Use 'monitor' properly. Not the definition
811 needs to be restricted, the actual function needs to be.
812
3f619266
NJ
8132002-11-05 Neil Jerram <neil@ossau.uklinux.net>
814
815 * boot-9.scm (define-option-interface): Fix to "simplification"
816 change below.
817
818 * debugger/breakpoints/source.scm: Enable source property
819 recording when module is loaded.
820 (##): Cope with ports whose `filename' is not a string.
821
9124ba8d
NJ
8222002-11-04 Neil Jerram <neil@ossau.uklinux.net>
823
0983f67f
NJ
824 * boot-9.scm (define-option-interface): Simplify code-generation
825 code.
826
9124ba8d
NJ
827 * debugger/command-loop.scm (read-and-dispatch-command): Import
828 set-readline-prompt dynamically if we need to. (Previous
829 arrangement didn't work if this module was loaded before (ice-9
830 readline).)
831
eb2c5dcb
MV
8322002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
833
834 * format.scm (format): Wrap a monitor around format:format since
835 it is not thread-safe.
836
132fe7af
MV
8372002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
838
839 * threads.scm (%thread-handler): Explicitely return '#f'. This
840 value will be returned by join-thread.
841
8ee7506b
NJ
8422002-10-26 Neil Jerram <neil@ossau.uklinux.net>
843
844 Merging debugger enhancements previously in separate
845 `guile-debugger' package ...
846
847 * debugger.scm: Factored out into the following constituent parts
848 - see comment in file for more details.
849 (*not-yet-introduced*): New (avoids repeatedly introducing the
850 debugger when entering it from breakpoints).
851 (debug-stack): New.
852 (debug): Rewrite to use more general `debug-stack'.
853
854 * debugger/commands.scm, debugger/command-loop.scm,
855 debugger/state.scm, debugger/utils.scm: New files containing bits
856 of old (ice-9 debugger), plus some rewriting and enhancements for
857 breakpoint support ...
858
859 * debugger/state.scm (state-rtd): Add flags field.
860 (make-state): Extend to optionally take flags.
861 (state-flags): New, accessor for flags field.
862 (set-state-index!, set-stack-index!): New.
863 (write-state-short): Rewritten to print out the current source
864 location in a way that is more easily trackable by Emacs.
865
866 * debugger/commands.scm (assert-continuable, continue, finish,
867 trace-finish, step, next): New debugger commands for continuing
868 execution from a breakpoint.
869
870 * debugger/behaviour.scm, debugger/breakpoints.scm,
871 debugger/breakpoints/procedural.scm,
872 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
873 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
874 support.
875
876 * Makefile.am (SUBDIRS): Add debugger subdirectory.
877
878 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
879
03453b05
MV
8802002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
881
882 * threads.scm (%thread-handler): Do not call unmask-signals, that
883 should be unnecessary now.
884
a7785f36
MD
8852002-10-20 Mikael Djurfeldt <mdj@linnaeus>
886
887 * boot-9.scm (top-repl): Look for use-emacs-interface in
888 guile-user-module (should it be there?) instead of
889 the-root-module.
890
acfa1f52
MV
8912002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
892
893 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
894 (error-catching-loop): use call-with-blocked-asyncs and
895 call-with-unblocked-asyncs instead of mask-signals and
896 unmask-signals.
897
34010f56
NJ
8982002-10-09 Neil Jerram <neil@ossau.uklinux.net>
899
900 * buffered-input.scm (make-buffered-input-port): Build an
901 input-waiting thunk for just extended version of make-soft-port.
902
9bc54879
RB
9032002-10-04 Rob Browning <rlb@defaultvalue.org>
904
905 * boot-9.scm (expt): switch if sense and use negative? rather than
906 >= 0.
907
3538c2b2
MV
9082002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
909
910 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
911 limit the signal stack.
912
f4232aa6
MV
9132002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
914
915 * boot-9.scm (feature?): Added deprecation message.
916
5fc0857e
RB
9172002-09-14 Rob Browning <rlb@defaultvalue.org>
918
919 * boot-9.scm (sqrt): minor indentation fix.
920
cfcdb8e9
MV
9212002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
922
923 * syncase.scm: Set the module transformer of the-syncase-module so
924 that we can use define-syntax.
925 (define-syntax-public): New and exported.
926
9272002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
928
929 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
930 (sc-macro): Set the expansion-eval-closure expanding the form.
931 (putprop, getprop): Use the expansion-eval-closure to find
932 variables instead of the current module.
933
fdf7e1d7
MV
9342002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
935
936 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
937
7c38399f
DH
9382002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
939
940 * boot-9.scm (define-option-interface): Replaced "macro" by
941 mmacro.
942
1334c61a
GH
9432002-06-01 Gary Houston <ghouston@arglist.com>
944
945 * boot-9.scm (file-set-position): Make third argument optional,
946 for SCM compatibility.
947 (file-position): simplify definition.
948
be87cdb7
MV
9492002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
950
951 * boot-9.scm (file-set-position): Use seek instead of fseek.
952
e717bf46
MV
9532002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
954
955 * format.scm (format:out-inf-nan): New.
956 (format:out-fixed, format:out-expon, format:out-general): Use it
957 to print infs and nans.
958
959 * boot-9.scm (unsetenv): New, for completeness.
960
9ea4ac37
MV
9612002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
962
963 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
964 print long real numbers with large positive and negative
965 exponents.
966
45845efe
MV
9672002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
968
969 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
970
0bd1b44f
TTN
9712002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
972
973 * gap-buffer.scm: New file.
974
975 * Makefile.am (ice9_sources): Add gap-buffer.scm.
976
c87af2d5
RB
9772002-03-12 Rob Browning <rlb@defaultvalue.org>
978
979 * syncase.scm: fix bad let.
980 (gensym): fix failure on non-threaded
981
6c5b8521
TTN
9822002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
983
984 * ftw.scm: New file.
985
986 * Makefile.am (ice9_sources): Add ftw.scm.
987
327d4dd3
TTN
9882002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
989
990 * Makefile.am: Update path to pre-inst-guile automake frag.
991
d51b42e2
TTN
992 * boot-9.scm: Comment grammar fixes; nfc.
993 Thanks to Christopher Cramer.
994
46151112
RB
9952002-02-24 Rob Browning <rlb@defaultvalue.org>
996
997 * syncase.scm (gensym): redefine locally so we can control it's
998 properties. This is in preparation for changing the future public
999 gensym to produce unreadable symbols.
1000
1001 * psyntax.pp: updated to reflect new syncase.scm.
1002
90d4a6b0
TTN
10032002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
1004
1005 * regex.scm: Add commentary; nfc.
1006
0187b4f4
TTN
10072002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
1008
1009 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
1010
1011 (psyntax.pp): Use $(preinstguile).
1012
dd580bd6
MV
10132002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
1014
1015 * psyntax.ss (datum->syntax-object): Removed assertion in
1016 datum->syntax-object that checked if the first argument, a
1017 syntax-object, is an identifier. This was a unconvenient and
1018 unnecessary restriction. Thanks to Dorai Sitaram!
1019
0e6f7775
MV
10202002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
1021
1022