(make-array, list->array): Removed.
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
3167d5e4
MV
12004-12-22 Marius Vollmer <marius.vollmer@uni-dortmund.de>
2
3 * boot-9.scm (module-make-local-var!): When creating a new
4 variable, initialize it to the value of any imported variable with
5 the given name. This allows code like (define round round) to
6 work as expected.
7
8 From Antoine Mathys <tonigonenstein@users.sourceforge.net>:
9
10 * popen.scm: Support bidirectional communication by making
11 open-pipe support OPEN_BOTH as second argument and in that case
12 return a soft input-output port which uses two pipes internally.
13 Provide open-pipe* to execute programs without using the shell
14 (and actually base open-pipe on it) and the obvious
15 open-input-output-pipe.
16
e120686a
KR
172004-12-14 Kevin Ryde <user42@zip.com.au>
18
19 * boot-9.scm: (string-any, string-every): Use a scheme wrapper around
20 the C code so for the final call to the predicate procedure is a tail
21 call, per SRFI-13 spec.
22
f41c1142
MV
232004-12-01 mvo <mvo@zagadka.de>
24
25 * boot-9.scm (app, %app): Renamed former to the latter.
26 Previously, 'app' was reserved in every module. Now '%app' is
27 reserved, which is slightly better. The real fix is to not use
28 'local-ref' etc to find modules. Changed all uses.
29 * syncase.scm: Changed 'app' to '%app'.
30
d550e35f
MV
312004-11-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
32
33 * arrays.scm: Do not use prototypes, use creator functions.
34
2ed34885
MV
352004-11-10 Marius Vollmer <mvo@zagadka.de>
36
37 * arrays.scm (uniform-vector-read!, uniform-vector-write):
38 Removed.
39
a2b6a0e7
MV
402004-11-05 Marius Vollmer <marius.vollmer@uni-dortmund.de>
41
42 * boot-9.scm: Do not add "." to %load-path. 'load' will still be
43 able to load files in the current directory, but 'use-modules' etc
44 will not.
45
5e9c05a1
MV
462004-10-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
47
48 * arrays.scm: Do not install read-hash procedure for reading
49 arrays, this is done in libguile now.
50
7b1574ed
MV
512004-10-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
52
53 * arrays.scm (uniform-vector?, uniform-vector-set!): Removed, now
54 provided by libguile.
55
79d52182
MV
562004-10-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
57
58 * boot-9.scm: Added srfi-4 to cond-expand features.
59
98c712c4
MV
602004-10-18 Marius Vollmer <marius.vollmer@uni-dortmund.de>
61
62 * format.scm (format:obj->str): Simplified considerably by using
63 object->string or display instead of implementing our own printer.
64 Handle format:read-proof here. Unreadable objects are recognized
65 by their "#<" prefix instead of by being unknown to the custom
66 printer (which would treat keywords as unprintable, for example).
67 (format:iobj->str): Removed.
68
aef0bdb4
MV
692004-10-04 Marius Vollmer <marius.vollmer@uni-dortmund.de>
70
71 * boot-9.scm (symbol->keyword, keyword->symbol): Removed, they are
72 now implemented in C.
73
e5c2d5c8
KR
742004-09-26 Kevin Ryde <user42@zip.com.au>
75
76 * optargs.scm (let-optional-template, let-keywords-template): Change
77 "(begin body)" to "(let () body)" for empty bindings, since the former
78 allows "internal defines" in body leak out to the surrounding
79 environment.
80
c9fedf8a
MV
812004-09-23 Marius Vollmer <mvo@zagadka.de>
82
83 * boot-9.scm (handle-system-error): Pass rest argument to
84 display-backtrace for wrong-type-arg and out-of-range errors so
85 that the bad value gets highlighted.
86
1c923ba7
KR
872004-09-04 Kevin Ryde <user42@zip.com.au>
88
89 * streams.scm (stream-for-each-many): Correction, should recurse into
90 itself, not stream-for-each-one.
91
2bd2014d
KR
92 * time.scm (time-proc): Make result inexact, since format ~f doesn't
93 support fractions currently.
94
e548be5f
MV
952004-09-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
96
97 * boot-9.scm (expt): Only call integer-expt for an exact integer
98 exponent, not for an inexact integer one. Also, let integer-expt
99 handle negative exponents instead of doing it here.
100
b8d95267
KR
1012004-09-02 Kevin Ryde <user42@zip.com.au>
102
103 * format.scm (format:out): Ignore excess arguments, per common lisp.
104
105 * format.scm (format:out-num-padded): Print "+" on 0 under @ modifier.
106
24cc9192
KR
1072004-08-27 Kevin Ryde <user42@zip.com.au>
108
109 * regex.scm (regexp-quote): [ and | must be quoted. Quote ( ) { + ?
110 using char class [(] etc since \( in fact makes them become special in
111 regexp/basic.
112
4b0ad1f4
KR
1132004-08-25 Kevin Ryde <user42@zip.com.au>
114
115 * and-let-star.scm (and-let*): Give #t for an empty body, per srfi-2
116 spec, previously came out as an empty (begin).
117
c5080b51
MV
1182004-08-25 Marius Vollmer <mvo@zagadka.de>
119
c4c3360b 120 * boot-9.scm (%cond-expand-features): Added srfi-13 and srfi-14.
c5080b51 121
fac3b6bc
MV
1222004-08-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
123
124 * debugger/utils.scm (display-source): Use unmemoize-expr instead
125 of unmemoize.
126 (write-frame-short/expression): Likewise.
127
00ed256c
KR
1282004-08-18 Kevin Ryde <user42@zip.com.au>
129
130 * and-let-star.scm: Add cond-expand-provide srfi-2, since this module
131 provides that feature.
132 * receive.scm: Add cond-expand-provide srfi-8, since this module
133 provides that feature.
134
d2afa1fc
MV
1352004-08-09 Marius Vollmer <mvo@zagadka.de>
136
137 From Matthias Koeppe. Thanks!
138
139 * pretty-print.scm (generic-write): In the local procedure `wr', use
140 object->string to print all data (except for the reader macros),
141 rather than implementing an own printer. The user-visible
142 difference is that procedures and control characters like #\tab
143 are now printed in the same way as by `write'.
144
2975040b
KR
1452004-08-09 Kevin Ryde <user42@zip.com.au>
146
147 * slib.scm (*features*): Remove array and array-for-each, core
148 definitions are insufficient for latest slib.
149 (t, nil): New constants slib says are supposed to exist.
150 (call-with-open-ports, browse-url): New functions for latest slib.
151 Implementations taken from Template.scm (public domain).
152 (open-file): Extend core definition to accept symbols for the mode,
153 required by latest slib.
154 (delete-file): Replace core definition with version returning #t/#f as
155 per slib spec.
156 (system): Mark as #:replace to suppress override warning, use new
157 style "(@ (guile) system)" to call core function.
158
dc510157
KR
1592004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
160
161 * format.scm: Remove the arbitrary limit of 100 iterations for the
162 ~{...~} control structure.
163
2755366c
KR
1642004-07-10 Kevin Ryde <user42@zip.com.au>
165
166 * and-let-star.scm (and-let*): Remove unused variable "val".
167 * pretty-print.scm (read-macro-prefix): Remove unused variable "tail".
168
169 * boot-9.scm (%cond-expand-features): Add srfi-6 which is in the core.
170
171 * safe-r5rs.scm (re-export): Uncomment numerator, denominator,
172 rationalize, since they now exist.
173
40827c6d
KR
1742004-07-05 Kevin Ryde <user42@zip.com.au>
175
176 * slib.scm (system): Correction to redefinition, now guile is stricter
177 about when a define binding comes into existance.
178
3d2ada2f
DH
1792004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
180
181 * boot-9.scm: Reordered definitions such that macro definitions
182 preceed their first usage. Include and define deprecated stuff
183 late in the file to have a better change of detecting accidental
184 uses of deprecated definitions. Further, unified the layout a
185 little and grouped definitions more cleanly into topics.
186
41cfaa12
MV
1872004-05-24 Marius Vollmer <mvo@zagadka.de>
188
189 * history.scm (use-value-history): Use resolve-interface instead
190 of resolve-module so that only the exported bindings are searched.
191 (save-value-history): Export the newly defined variable. Reported
192 by Wolfgang Jaehrling.
193
9f84d6aa
DH
1942004-05-04 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
195
196 * boot-9.scm (resolve-module): Always start searching from the
197 root module. This will allow the C equivalent scm_resolve_module
198 to work, independent of what the current module is.
199
9b792a7e
MV
2002004-02-18 Marius Vollmer <mvo@zagadka.de>
201
202 * boot-9.scm (top-repl): Make the (guile-user) module use the
203 (ice-9 r5rs) module.
204
711a9fd7
MD
2052004-02-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
206
207 * boot-9.scm (module-map): Renamed hash-map -> hash-map->list.
208
2c284c94
NJ
2092004-02-09 Neil Jerram <neil@ossau.uklinux.net>
210
211 * debugger/trap-hooks.scm (debug-hook-membership): New, exported.
212
213 * debugger/commands.scm (debug-trap-hooks): New, exported.
214
f1dc5f45
MD
2152004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
216
217 * debugger/breakpoints/Makefile.am (TAGS_FILES),
218 debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
219 this variable instead of ETAGS_ARGS so that TAGS can be built
220 using separate build directory.
221
bb5ad88f
NJ
2222004-01-20 Neil Jerram <neil@ossau.uklinux.net>
223
224 * boot-9.scm (error-catching-loop): Back out 2003-11-19 change to
225 lazy-handler-dispatch lookup.
226
1dd2599f
MV
2272004-01-12 Marius Vollmer <mvo@zagadka.de>
228
229 * mapping.scm: Use '#:' prefix for keywords instead of ':'.
230 Thanks to Richard Todd!
231
9afa7a12
KR
2322004-01-11 Kevin Ryde <user42@zip.com.au>
233
7dd5eb58
KR
234 * slib.scm (system): New function, giving an exit code return in
235 accordance with slib spec.
236
9afa7a12
KR
237 Revert this, it breaks test-suite/tests/r5rs_pitfalls.test where
238 false-if-exception is used within syntax-rules. (Suspect syntax-rules
239 ought to support this sort of thing, but it doesn't right now.)
9afa7a12
KR
240 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
241 to depend on expansion environment.
242
96e3b2f8
MV
2432004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
244
245 * boot-9.scm (with-fluids): Use with-fluid* when only one fluid is
246 being set.
247
524cbf64
KR
2482004-01-07 Kevin Ryde <user42@zip.com.au>
249
250 * q.scm (q-pop!): Should be "null?" not "not" for end-of-list.
251 Reported by Richard Todd.
252
6d611fed
KR
2532004-01-04 Kevin Ryde <user42@zip.com.au>
254
255 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
256 to depend on expansion environment.
257
97ac013a
KR
258 * slib.scm (-1+, <?, <=?, =?, >?, >=?): Define as aliases for 1-, <,
259 <=, =, >, >= respectively, required by slib 'rev2-procedures but no
260 longer in the guile core.
261
64758fe2
NJ
2622003-11-19 Neil Jerram <neil@ossau.uklinux.net>
263
264 * boot-9.scm (error-catching-loop): Defer lookup of
265 lazy-handler-dispatch.
266
aff7e166
MV
2672003-11-17 Marius Vollmer <mvo@zagadka.de>
268
269 * boot-9.scm (@, @@): New macros.
270
37f5dfe5
DH
2712003-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
272
273 * boot-9.scm: Started comment about module system workings.
274
3273abd2
NJ
2752003-11-11 Neil Jerram <neil@ossau.uklinux.net>
276
30d90280
NJ
277 * debugger.scm: Change ui-* calls to gds-*.
278 (debug-on-error): Debug if throw key is in specified syms, not if
279 it isn't! Also throw 'abort after debugging, so as to skip the
280 REPL's backtrace.
281
3273abd2
NJ
282 * debugger/behaviour.scm (*trap*): New variable, stores trap type.
283 (before-enter-frame-hook, before-apply-frame-hook,
284 before-exit-frame-hook): Set here.
285 (debug-if-flag-set): Passed into flags on debug-stack call.
286 (at-step, at-next): Changed to debug at frame exit points as well.
287
288 * debugger/utils.scm: Big comment added.
289
2902003-10-30 Neil Jerram <neil@ossau.uklinux.net>
291
292 * debugger/ui-client.scm: Moved to ../emacs/gds-client.scm.
293
9f1af5d9
NJ
2942003-10-16 Neil Jerram <neil@ossau.uklinux.net>
295
296 * debugger/ui-client.scm (ui-connect): Add arg to say whether to
297 debug immediately on connection.
298 (ui-eval): Handle exceptions during read and evaluation.
299
300 * debugger.scm (debug-on-error, default-default-lazy-handler):
301 Remove an unnecessary level of indirection in calling lazy
302 handler.
303
e2de682c
MV
3042003-10-12 Marius Vollmer <mvo@zagadka.de>
305
306 * ftw.scm (directory-files): Close dir-stream when done. Thanks
307 to Paul Jarc!
308
ff6ea7b9
KR
3092003-10-09 Kevin Ryde <user42@zip.com.au>
310
311 * poe.scm (funcq-assoc): Rewrite, don't assume '() is false, and
312 actually traverse the given alist.
313
41a80feb
NJ
3142003-10-06 Neil Jerram <neil@ossau.uklinux.net>
315
316 * debugger/ui-client.scm (handle-instruction): Add evaluation
317 support.
318 (ui-eval): New.
319
02b0c692
NJ
3202003-10-04 Neil Jerram <neil@ossau.uklinux.net>
321
322 * debugger/ui-client.scm (ui-disable-async-thread,
323 ui-continue-async-thread, start-async-ui-thread): New.
324 (ui-command-loop): Call ui-disable-async-thread and
325 ui-continue-async-thread.
326 (handle-instruction): Read terminating newline char so it doesn't
327 cause following select to pop immediately.
328
79b1c5b6
NJ
3292003-09-25 Neil Jerram <neil@ossau.uklinux.net>
330
331 * debugger/ui-client.scm, debugger/ui-server.scm: New (work in
332 progress on new debugging front end).
333
3342003-09-24 Neil Jerram <neil@ossau.uklinux.net>
335
336 * debugger.scm (default-default-lazy-handler, debug-on-error):
337 New.
338
339 * debugger/behaviour.scm (debug-if-flag-set): Display debug entry
340 messages through (debugger-output-port).
341 (after-exit-frame-hook): Trace through (debugger-output-port).
342 (trace-here): Trace through (debugger-output-port).
343
344 * debugger/commands.scm (evaluate): If supplied expression is a
345 string, read from it before evaluating.
346 (evaluate): Change output format to "EXPR => VALUE".
347
9b4bbf47
KR
3482003-09-19 Kevin Ryde <user42@zip.com.au>
349
350 * popen.scm (open-process): Correction to previous fdes closing
351 change, need to watch out for stdin==stderr or stdout==stderr.
352
5dc1ba73
MV
3532003-09-15 Marius Vollmer <mvo@zagadka.de>
354
355 * format.scm (format): Rewritten as a big letrec to make it
356 reentrant. No mutex is necessary. Thanks to Clinton Ebadi!
357
7743d628
KR
3582003-09-13 Kevin Ryde <user42@zip.com.au>
359
360 * boot-9.scm (file-exists?): Use stat rather than access?, so as to
361 follow the effective UID/GID not the real ID. file-exists? is
cd56b181 362 normally used as a prelude to opening or some other operation, and
7743d628
KR
363 it's the effective ID which will apply there. Emacs file-exists-p
364 uses stat, presumably for the the same reason.
365
50e0ba57
MV
3662003-09-12 Marius Vollmer <mvo@zagadka.de>
367
368 * boot-9.scm (make-autoload-interface): Use a proper hashtable as
369 the obarray, not an empty vector.
370 (make-module): Always construct a hashtable for the obarray, even
371 for empty ones.
372
373 * format.scm (format:error): Use 'format:format' instead of
374 'format' since the latter will lock the mutex again that we have
375 already locked.
376 (format:format-work): Flag multiple '#' as an error.
377
2388d9af
KR
3782003-08-17 Kevin Ryde <user42@zip.com.au>
379
380 * boot-9.scm (while): Use a new key dynamically for each loop, so
381 break and continue associate to their loop even when recursing.
382
d97f9b42
KR
3832003-08-14 Kevin Ryde <user42@zip.com.au>
384
385 * boot-9.scm (while): Rewrite, continue as proper escape, break
386 without return value, break and continue new for each while form,
387 don't depend on bindings in expansion environment.
388
389 * popen.scm (open-process): Close input-fdes, output-fdes and
390 error-fdes after duping them to 0, 1 and 2.
391
996acdb8
KR
3922003-06-19 Kevin Ryde <user42@zip.com.au>
393
394 * threads.scm (parallel): For no forms, use `(values)' not `(begin)'.
395
42ad901d
DH
3962003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
397
398 * boot-9.scm (make-autoload-interface): Added missing quote around
399 vector constant.
400
47dee228
MV
4012003-05-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
402
403 * deprecated.scm (list*): Added.
404
6cced6fe
KR
4052003-05-10 Kevin Ryde <user42@zip.com.au>
406
407 * documentation.scm (file-commentary, find-documentation-in-file): Use
408 call-with-input-file, to close ports when done.
409
1b965c29
MV
4102003-05-03 Marius Vollmer <mvo@zagadka.de>
411
d04229df
MV
412 * gap-buffer.scm (point++n!, point+-n!): Use substring-move!
413 instead of substring-move-left! or substring-move-right!. Thanks
414 to Kevin Ryde.
415
416 * deprecated.scm (substring-move-left!, substring-move-right!):
417 New.
418
0d5271a2 419 * boot-9.scm (display-usage-report): Use keyword->symbol instead
6aa536b3 420 of keyword-symbol, which doesn't exist. Thanks to Kevin Ryde.
0d5271a2 421
2b24a689
MV
422 * hcons.scm (hashq-cons-get-handle): Pass only the expected four
423 arguments to hashx-get-handle. Thanks to Kevin Ryde!
424
1b965c29
MV
425 * lineio.scm (make-line-buffering-input-port) Pass 0 as second
426 argument to string-ref. Thanks to Kevin Ryde!
427
56b97da9
MD
4282003-04-25 Mikael Djurfeldt <mdj@kvast.blakulla.net>
429
430 * serialize.scm: New file.
431
359aab24
MD
4322003-04-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
433
434 * threads.scm (n-for-each-par-map): New procedure.
435
fc87c27a
MV
4362003-04-05 Marius Vollmer <mvo@zagadka.de>
437
438 * Changed license terms to the plain LGPL thru-out.
439
bd40d420
MV
4402003-03-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
441
442 * deprecated.scm: New file, to collect deprecated things.
443 * Makefile.am (ice9_sources): Added.
444
445 * boot-9.scm: Load "ice-9/deprecated.scm" when appropriate.
446 (try-load-module): Also try the old deprecated method, maybe.
447
570b5b14
MV
4482003-03-22 Marius Vollmer <mvo@zagadka.de>
449
450 * boot-9.scm (call/cc): Added.
451
44876271
MD
4522003-03-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
453
454 * list.scm: New file.
455
b80e1b5c
MV
4562003-03-19 Marius Vollmer <mvo@zagadka.de>
457
458 * format.scm (format:out-substr): Update the column counter
459 correctly. This fixes the behavior of ~T (tabbing) after ~F, for
460 instance. Thanks to Matthias Koeppe!
461
3742da68
MD
4622003-03-13 Mikael Djurfeldt <djurfeldt@nada.kth.se>
463
464 * session.scm (apropos): Don't look in duplicates interface.
465
70a459e3
MD
4662003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
467
65bed4aa
MD
468 * boot-9.scm (duplicate-handlers): Make sure the merge-generics
469 and merge-accessors handlers are available also before (oop goops)
470 has been loaded. This is so that people can put them as default
471 handlers without worrying about availability.
472
3802f9cc
MD
473 * slib.scm (logical:ipow-by-squaring): Removed.
474
fe6ee052
MD
475 * boot-9.scm (ipow-by-squaring): Removed.
476 (default-duplicate-binding-handler): Set default to
6496a663 477 '(replace warn-override-core warn last)
fe6ee052 478
d57da08b
MD
479 * boot-9.scm (module-make-local-var!): Use module-add!.
480 (module-primitive-add!): New function.
481 (resolve-interface): Use
482 (call-with-deferred-observers, module-call-observers): New
483 functions.
484 (module-defer-observers, module-defer-observers-mute,
485 module-defer-observers-table): New variables.
486 (process-define-module, process-use-modules, export, re-export):
487 Use call-with-deferred-observers.
8d8dac1f
MD
488 (module-duplicates-info, set-module-duplicates-info!): Removed.
489 (module-duplicates-handlers, module-duplicates-interface): New.
490 (module-type): Added duplicates-handlers and
491 duplicates-interface.
d57da08b
MD
492
493 * syncase.scm (eval): Mark as replacement.
494
495 * boot-9.scm (defmacro-public): Use export-syntax instead of export.
496
70a459e3
MD
497 * slib.scm (*features*): Set the core variable instead of defining
498 a local version.
499 (provide, provided?): Mark as replacements.
500
501 * boot-9.scm (beautify-user-module!): Don't install the duplicates
502 handler here.
503 (default-duplicate-binding-handler): Renamed from
504 default-module-duplicates-handler; Removed converter.
505 (process-duplicates): Lookup default duplicates handler dynamically.
506 (default-duplicate-binding-procedures): New parameter.
507
509a787a
MD
5082003-03-12 Mikael Djurfeldt <mdj@kvast.blakulla.net>
509
510 * slib.scm (identity): Removed. (Provided by core.)
511
f595ccfe
MD
5122003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
513
c614a00b
MD
514 * debugger/command-loop.scm: Prefix all commands imported from
515 (ice-9 debugger command-loop) with debugger:.
516
109c2c9f
MD
517 * boot-9.scm (process-duplicates): Use module-import-interface.
518 (module-symbol-interface): Removed.
c614a00b
MD
519 (resolve-interface): Process #:hide; Name custom interfaces
520 appropriately.
521 (module-use!, module-use-interfaces!): Remove existing interfaces
522 on the use-list based on module name rather than interface
523 identity so that custom interfaces truly replaces their previous
524 version.
109c2c9f 525
f595ccfe
MD
526 * boot-9.scm (module-override!, make-mutable-parameter,
527 lookup-duplicates-handlers, default-module-duplicates-handler):
528 New functions.
529 (process-duplicates): Don't call duplicates handlers for duplicate
530 bindings of the same variable.
531 (process-define-module): Process #:replace.
532 (compile-interface-spec, resolve-interface): Process #:prefix.
533
534 * format.scm (format): Marked as replacement.
535
536 * threads.scm (future, future-ref): Marked as replacements.
537
7b07e5ef
MD
5382003-03-07 Mikael Djurfeldt <djurfeldt@nada.kth.se>
539
540 These changes enables checking for duplicate imported bindings.
541
542 * boot-9.scm (process-define-module): Handle #:duplicates.
543 (module-use-interfaces! process-duplicates): New functions.
544 (duplicate-handlers): Dictionary of duplicate handlers.
545 (module-symbol-local-binding, module-symbol-binding): Bugfix.
546
1798b73d
MD
5472003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
548
549 * session.scm (apropos): Use hash-for-each instead of
550 array-for-each.
551
c35738c1
MD
5522003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
553
231a4ea8
MD
554 * boot-9.scm (make-module): Changed default size from 1021 to 31
555 (since the size now adapts).
556 (macro-table, xformer-table): Changed default size from 523 to 61.
557 (make-module): Don't call make-hash-table with zero size.
558
c35738c1
MD
559 * Makefile.am (ice9_sources): Added weak-vector.scm.
560
561 * weak-vector.scm: New file.
562
563 * boot-9.scm (module-clear!): Use hash-clear!.
564 (module-for-each): Use hash-for-each.
565 (module-map): Use hash-map.
566
f59a096e
MD
5672003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
568
569 * boot-9.scm (make-hash-table): Turned primitive.
570
e963ac2c
MD
5712003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
572
573 * syncase.scm (guile-macro): Strip syntactic information from
574 expression before trying to treat it as a Guile macro call.
575 (Thanks to Kevin Ryde.)
576
c2950e36
MD
5772003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
578
579 * threads.scm (parallel, letpar): Rewritten.
580
f4719f31
MD
5812003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
582
583 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
584 futures.
585
93f26b7b
MD
5862003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
587
51407fa0
MD
588 * occam-channel.scm (alt): New syntax.
589
93f26b7b
MD
590 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
591 operator as a primitive procedure.
592 (build-data): Quote vectors (psyntax.ss requires this).
593
5942003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
595
596 * psyntax.ss (self-evaluating?): Allow procedures implanted in
597 source. (Guile uses this internally.)
598
80f225df
MD
5992003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
600
601 * psyntax.ss (build-data): Don't quote self-evaluating expressions
602 in output. (We normally *would* like also these expressions to be
603 quoted, but until Guile's native macros and syncase cooperates
604 better, it is less destructive not to quote.)
605 (self-evaluating?): Removed null? (In Guile, the empty list is not
606 self-evaluating).
607 (sc-chi): Export chi as sc-chi.
608 (external-macro): New syntax type.
609
610 * psyntax.pp: Regenerated.
611
612 * compile-psyntax.scm: Set expansion-eval-closure.
7906d57d 613
cf743aea
MD
614 * boot-9.scm (use-syntax): Return *unspecified*.
615
7906d57d
MD
616 * syncase.scm: Set expansion-eval-closure to
617 the-syncase-eval-closure during booting so that variables are
cf743aea
MD
618 created in the correct module.
619 (syncase): Set expansion-eval-closure.
7906d57d
MD
620 (define-syntax define-syntax-public eval-when fluid-let-syntax
621 identifier-syntax let-syntax letrec-syntax syntax syntax-case
622 syntax-rules with-syntax include): Removed definitions (these are
623 created from within psyntax.pp).
80f225df
MD
624 Enable expansion of Guile macros during a syntax-case
625 transformation.
cf743aea 626
60eefd9c
MD
6272003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
628
8411a446 629 * occam-channel.scm (make-channel): Renamed from channel.
fb831451 630 (make-timer): New function.
8411a446 631
60eefd9c
MD
632 * Makefile.am (ice9_sources): Added occam-channel.scm.
633
634 * occam-channel.scm: New file. Implements occam-like channels.
635
db853761
NJ
6362002-12-28 Neil Jerram <neil@ossau.uklinux.net>
637
638 * boot-9.scm (module-defined-hook): New hook, run whenever a new
639 module is defined.
640 (process-define-module): Run this hook.
641
62d4fd94
MD
6422002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
643
644 * threads.scm: Removed bogus definition of future-ref.
645
87623595
MD
6462002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
647
648 * threads.scm (par-map, par-for-each): Reimplemented using
649 joing-thread.
650 (parallel): Reimplemented using futures.
651 (n-par-map, n-for-each): New procedures.
652
edeea67b
MV
6532002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
654
655 * optargs.scm (improper-list-copy): New.
656 (parse-arglist): Use it instead of list-copy.
657
fc85d095
MD
6582002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
659
660 * threads.scm (letpar): New macro.
661
b2cbe8d8
RB
6622002-12-08 Rob Browning <rlb@defaultvalue.org>
663
664 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
665 GUILE_EFFECTIVE_VERSION.
666
667 * debugger/Makefile.am (subpkgdatadir): VERSION ->
668 GUILE_EFFECTIVE_VERSION.
669
670 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
671
abce330c
MD
6722002-12-04 Mikael Djurfeldt <mdj@linnaeus>
673
fc85d095
MD
674 * threads.scm (parallel): New macro.
675 (par-map, par-for-each): New procedures.
abce330c
MD
676
677 * documentation.scm (object-documentation): Added support for
678 defmacros.
679
f2cbc0e5
DH
6802002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
681
682 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
683 removing it in my patch from 2002-11-16.
684
9123414e
DH
6852002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
686
687 Thanks to Mikael Djurfeldt for a bugreport which led to the
688 following changes:
689
690 * slib.scm (%system-define): Removed.
691
692 (define): Changed to use define-private instead of
693 %system-define.
694
695 * boot-9.scm (define-private): Undid my changes from 2002-11-16
696 until Guile supports hygienic macros.
697
50a63003
NJ
6982002-11-17 Neil Jerram <neil@ossau.uklinux.net>
699
700 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
701 has been removed from the core.
702
c55bcb32
DH
7032002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
704
705 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
706 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
707 syntax-rules, with-syntax, include): Changed definitions to form
708 'real' macro definitions.
709
6aa9ea7c
DH
7102002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
711
712 * boot-9.scm (define-private, export-syntax, export-syntax):
713 Fixed my previous fix (blush).
714
ab382f52
DH
7152002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
716
717 * boot-9.scm (define-private, export-syntax, export-syntax):
718 Changed definitions to form 'real' macro definitions.
719
81cf290d
MV
7202002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
721
722 * format.scm (format): Use 'monitor' properly. Not the definition
723 needs to be restricted, the actual function needs to be.
724
3f619266
NJ
7252002-11-05 Neil Jerram <neil@ossau.uklinux.net>
726
727 * boot-9.scm (define-option-interface): Fix to "simplification"
728 change below.
729
730 * debugger/breakpoints/source.scm: Enable source property
731 recording when module is loaded.
732 (##): Cope with ports whose `filename' is not a string.
733
9124ba8d
NJ
7342002-11-04 Neil Jerram <neil@ossau.uklinux.net>
735
0983f67f
NJ
736 * boot-9.scm (define-option-interface): Simplify code-generation
737 code.
738
9124ba8d
NJ
739 * debugger/command-loop.scm (read-and-dispatch-command): Import
740 set-readline-prompt dynamically if we need to. (Previous
741 arrangement didn't work if this module was loaded before (ice-9
742 readline).)
743
eb2c5dcb
MV
7442002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
745
746 * format.scm (format): Wrap a monitor around format:format since
747 it is not thread-safe.
748
132fe7af
MV
7492002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
750
751 * threads.scm (%thread-handler): Explicitely return '#f'. This
752 value will be returned by join-thread.
753
8ee7506b
NJ
7542002-10-26 Neil Jerram <neil@ossau.uklinux.net>
755
756 Merging debugger enhancements previously in separate
757 `guile-debugger' package ...
758
759 * debugger.scm: Factored out into the following constituent parts
760 - see comment in file for more details.
761 (*not-yet-introduced*): New (avoids repeatedly introducing the
762 debugger when entering it from breakpoints).
763 (debug-stack): New.
764 (debug): Rewrite to use more general `debug-stack'.
765
766 * debugger/commands.scm, debugger/command-loop.scm,
767 debugger/state.scm, debugger/utils.scm: New files containing bits
768 of old (ice-9 debugger), plus some rewriting and enhancements for
769 breakpoint support ...
770
771 * debugger/state.scm (state-rtd): Add flags field.
772 (make-state): Extend to optionally take flags.
773 (state-flags): New, accessor for flags field.
774 (set-state-index!, set-stack-index!): New.
775 (write-state-short): Rewritten to print out the current source
776 location in a way that is more easily trackable by Emacs.
777
778 * debugger/commands.scm (assert-continuable, continue, finish,
779 trace-finish, step, next): New debugger commands for continuing
780 execution from a breakpoint.
781
782 * debugger/behaviour.scm, debugger/breakpoints.scm,
783 debugger/breakpoints/procedural.scm,
784 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
785 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
786 support.
787
788 * Makefile.am (SUBDIRS): Add debugger subdirectory.
789
790 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
791
03453b05
MV
7922002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
793
794 * threads.scm (%thread-handler): Do not call unmask-signals, that
795 should be unnecessary now.
796
a7785f36
MD
7972002-10-20 Mikael Djurfeldt <mdj@linnaeus>
798
799 * boot-9.scm (top-repl): Look for use-emacs-interface in
800 guile-user-module (should it be there?) instead of
801 the-root-module.
802
acfa1f52
MV
8032002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
804
805 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
806 (error-catching-loop): use call-with-blocked-asyncs and
807 call-with-unblocked-asyncs instead of mask-signals and
808 unmask-signals.
809
34010f56
NJ
8102002-10-09 Neil Jerram <neil@ossau.uklinux.net>
811
812 * buffered-input.scm (make-buffered-input-port): Build an
813 input-waiting thunk for just extended version of make-soft-port.
814
9bc54879
RB
8152002-10-04 Rob Browning <rlb@defaultvalue.org>
816
817 * boot-9.scm (expt): switch if sense and use negative? rather than
818 >= 0.
819
3538c2b2
MV
8202002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
821
822 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
823 limit the signal stack.
824
f4232aa6
MV
8252002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
826
827 * boot-9.scm (feature?): Added deprecation message.
828
5fc0857e
RB
8292002-09-14 Rob Browning <rlb@defaultvalue.org>
830
831 * boot-9.scm (sqrt): minor indentation fix.
832
cfcdb8e9
MV
8332002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
834
835 * syncase.scm: Set the module transformer of the-syncase-module so
836 that we can use define-syntax.
837 (define-syntax-public): New and exported.
838
8392002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
840
841 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
842 (sc-macro): Set the expansion-eval-closure expanding the form.
843 (putprop, getprop): Use the expansion-eval-closure to find
844 variables instead of the current module.
845
fdf7e1d7
MV
8462002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
847
848 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
849
7c38399f
DH
8502002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
851
852 * boot-9.scm (define-option-interface): Replaced "macro" by
853 mmacro.
854
1334c61a
GH
8552002-06-01 Gary Houston <ghouston@arglist.com>
856
857 * boot-9.scm (file-set-position): Make third argument optional,
858 for SCM compatibility.
859 (file-position): simplify definition.
860
be87cdb7
MV
8612002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
862
863 * boot-9.scm (file-set-position): Use seek instead of fseek.
864
e717bf46
MV
8652002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
866
867 * format.scm (format:out-inf-nan): New.
868 (format:out-fixed, format:out-expon, format:out-general): Use it
869 to print infs and nans.
870
871 * boot-9.scm (unsetenv): New, for completeness.
872
9ea4ac37
MV
8732002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
874
875 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
876 print long real numbers with large positive and negative
877 exponents.
878
45845efe
MV
8792002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
880
881 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
882
0bd1b44f
TTN
8832002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
884
885 * gap-buffer.scm: New file.
886
887 * Makefile.am (ice9_sources): Add gap-buffer.scm.
888
c87af2d5
RB
8892002-03-12 Rob Browning <rlb@defaultvalue.org>
890
891 * syncase.scm: fix bad let.
892 (gensym): fix failure on non-threaded
893
6c5b8521
TTN
8942002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
895
896 * ftw.scm: New file.
897
898 * Makefile.am (ice9_sources): Add ftw.scm.
899
327d4dd3
TTN
9002002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
901
902 * Makefile.am: Update path to pre-inst-guile automake frag.
903
d51b42e2
TTN
904 * boot-9.scm: Comment grammar fixes; nfc.
905 Thanks to Christopher Cramer.
906
46151112
RB
9072002-02-24 Rob Browning <rlb@defaultvalue.org>
908
909 * syncase.scm (gensym): redefine locally so we can control it's
910 properties. This is in preparation for changing the future public
911 gensym to produce unreadable symbols.
912
913 * psyntax.pp: updated to reflect new syncase.scm.
914
90d4a6b0
TTN
9152002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
916
917 * regex.scm: Add commentary; nfc.
918
0187b4f4
TTN
9192002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
920
921 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
922
923 (psyntax.pp): Use $(preinstguile).
924
dd580bd6
MV
9252002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
926
927 * psyntax.ss (datum->syntax-object): Removed assertion in
928 datum->syntax-object that checked if the first argument, a
929 syntax-object, is an identifier. This was a unconvenient and
930 unnecessary restriction. Thanks to Dorai Sitaram!
931
0e6f7775
MV
9322002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
933
934