(expt): Only call integer-expt for an exact integer exponent, not for
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
b8d95267
KR
12004-09-02 Kevin Ryde <user42@zip.com.au>
2
3 * format.scm (format:out): Ignore excess arguments, per common lisp.
4
5 * format.scm (format:out-num-padded): Print "+" on 0 under @ modifier.
6
24cc9192
KR
72004-08-27 Kevin Ryde <user42@zip.com.au>
8
9 * regex.scm (regexp-quote): [ and | must be quoted. Quote ( ) { + ?
10 using char class [(] etc since \( in fact makes them become special in
11 regexp/basic.
12
4b0ad1f4
KR
132004-08-25 Kevin Ryde <user42@zip.com.au>
14
15 * and-let-star.scm (and-let*): Give #t for an empty body, per srfi-2
16 spec, previously came out as an empty (begin).
17
c5080b51
MV
182004-08-25 Marius Vollmer <mvo@zagadka.de>
19
c4c3360b 20 * boot-9.scm (%cond-expand-features): Added srfi-13 and srfi-14.
c5080b51 21
fac3b6bc
MV
222004-08-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
23
24 * debugger/utils.scm (display-source): Use unmemoize-expr instead
25 of unmemoize.
26 (write-frame-short/expression): Likewise.
27
00ed256c
KR
282004-08-18 Kevin Ryde <user42@zip.com.au>
29
30 * and-let-star.scm: Add cond-expand-provide srfi-2, since this module
31 provides that feature.
32 * receive.scm: Add cond-expand-provide srfi-8, since this module
33 provides that feature.
34
d2afa1fc
MV
352004-08-09 Marius Vollmer <mvo@zagadka.de>
36
37 From Matthias Koeppe. Thanks!
38
39 * pretty-print.scm (generic-write): In the local procedure `wr', use
40 object->string to print all data (except for the reader macros),
41 rather than implementing an own printer. The user-visible
42 difference is that procedures and control characters like #\tab
43 are now printed in the same way as by `write'.
44
2975040b
KR
452004-08-09 Kevin Ryde <user42@zip.com.au>
46
47 * slib.scm (*features*): Remove array and array-for-each, core
48 definitions are insufficient for latest slib.
49 (t, nil): New constants slib says are supposed to exist.
50 (call-with-open-ports, browse-url): New functions for latest slib.
51 Implementations taken from Template.scm (public domain).
52 (open-file): Extend core definition to accept symbols for the mode,
53 required by latest slib.
54 (delete-file): Replace core definition with version returning #t/#f as
55 per slib spec.
56 (system): Mark as #:replace to suppress override warning, use new
57 style "(@ (guile) system)" to call core function.
58
dc510157
KR
592004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
60
61 * format.scm: Remove the arbitrary limit of 100 iterations for the
62 ~{...~} control structure.
63
2755366c
KR
642004-07-10 Kevin Ryde <user42@zip.com.au>
65
66 * and-let-star.scm (and-let*): Remove unused variable "val".
67 * pretty-print.scm (read-macro-prefix): Remove unused variable "tail".
68
69 * boot-9.scm (%cond-expand-features): Add srfi-6 which is in the core.
70
71 * safe-r5rs.scm (re-export): Uncomment numerator, denominator,
72 rationalize, since they now exist.
73
40827c6d
KR
742004-07-05 Kevin Ryde <user42@zip.com.au>
75
76 * slib.scm (system): Correction to redefinition, now guile is stricter
77 about when a define binding comes into existance.
78
3d2ada2f
DH
792004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
80
81 * boot-9.scm: Reordered definitions such that macro definitions
82 preceed their first usage. Include and define deprecated stuff
83 late in the file to have a better change of detecting accidental
84 uses of deprecated definitions. Further, unified the layout a
85 little and grouped definitions more cleanly into topics.
86
41cfaa12
MV
872004-05-24 Marius Vollmer <mvo@zagadka.de>
88
89 * history.scm (use-value-history): Use resolve-interface instead
90 of resolve-module so that only the exported bindings are searched.
91 (save-value-history): Export the newly defined variable. Reported
92 by Wolfgang Jaehrling.
93
9f84d6aa
DH
942004-05-04 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
95
96 * boot-9.scm (resolve-module): Always start searching from the
97 root module. This will allow the C equivalent scm_resolve_module
98 to work, independent of what the current module is.
99
9b792a7e
MV
1002004-02-18 Marius Vollmer <mvo@zagadka.de>
101
102 * boot-9.scm (top-repl): Make the (guile-user) module use the
103 (ice-9 r5rs) module.
104
711a9fd7
MD
1052004-02-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
106
107 * boot-9.scm (module-map): Renamed hash-map -> hash-map->list.
108
2c284c94
NJ
1092004-02-09 Neil Jerram <neil@ossau.uklinux.net>
110
111 * debugger/trap-hooks.scm (debug-hook-membership): New, exported.
112
113 * debugger/commands.scm (debug-trap-hooks): New, exported.
114
f1dc5f45
MD
1152004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
116
117 * debugger/breakpoints/Makefile.am (TAGS_FILES),
118 debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
119 this variable instead of ETAGS_ARGS so that TAGS can be built
120 using separate build directory.
121
bb5ad88f
NJ
1222004-01-20 Neil Jerram <neil@ossau.uklinux.net>
123
124 * boot-9.scm (error-catching-loop): Back out 2003-11-19 change to
125 lazy-handler-dispatch lookup.
126
1dd2599f
MV
1272004-01-12 Marius Vollmer <mvo@zagadka.de>
128
129 * mapping.scm: Use '#:' prefix for keywords instead of ':'.
130 Thanks to Richard Todd!
131
9afa7a12
KR
1322004-01-11 Kevin Ryde <user42@zip.com.au>
133
7dd5eb58
KR
134 * slib.scm (system): New function, giving an exit code return in
135 accordance with slib spec.
136
9afa7a12
KR
137 Revert this, it breaks test-suite/tests/r5rs_pitfalls.test where
138 false-if-exception is used within syntax-rules. (Suspect syntax-rules
139 ought to support this sort of thing, but it doesn't right now.)
9afa7a12
KR
140 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
141 to depend on expansion environment.
142
96e3b2f8
MV
1432004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
144
145 * boot-9.scm (with-fluids): Use with-fluid* when only one fluid is
146 being set.
147
524cbf64
KR
1482004-01-07 Kevin Ryde <user42@zip.com.au>
149
150 * q.scm (q-pop!): Should be "null?" not "not" for end-of-list.
151 Reported by Richard Todd.
152
6d611fed
KR
1532004-01-04 Kevin Ryde <user42@zip.com.au>
154
155 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
156 to depend on expansion environment.
157
97ac013a
KR
158 * slib.scm (-1+, <?, <=?, =?, >?, >=?): Define as aliases for 1-, <,
159 <=, =, >, >= respectively, required by slib 'rev2-procedures but no
160 longer in the guile core.
161
64758fe2
NJ
1622003-11-19 Neil Jerram <neil@ossau.uklinux.net>
163
164 * boot-9.scm (error-catching-loop): Defer lookup of
165 lazy-handler-dispatch.
166
aff7e166
MV
1672003-11-17 Marius Vollmer <mvo@zagadka.de>
168
169 * boot-9.scm (@, @@): New macros.
170
37f5dfe5
DH
1712003-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
172
173 * boot-9.scm: Started comment about module system workings.
174
3273abd2
NJ
1752003-11-11 Neil Jerram <neil@ossau.uklinux.net>
176
30d90280
NJ
177 * debugger.scm: Change ui-* calls to gds-*.
178 (debug-on-error): Debug if throw key is in specified syms, not if
179 it isn't! Also throw 'abort after debugging, so as to skip the
180 REPL's backtrace.
181
3273abd2
NJ
182 * debugger/behaviour.scm (*trap*): New variable, stores trap type.
183 (before-enter-frame-hook, before-apply-frame-hook,
184 before-exit-frame-hook): Set here.
185 (debug-if-flag-set): Passed into flags on debug-stack call.
186 (at-step, at-next): Changed to debug at frame exit points as well.
187
188 * debugger/utils.scm: Big comment added.
189
1902003-10-30 Neil Jerram <neil@ossau.uklinux.net>
191
192 * debugger/ui-client.scm: Moved to ../emacs/gds-client.scm.
193
9f1af5d9
NJ
1942003-10-16 Neil Jerram <neil@ossau.uklinux.net>
195
196 * debugger/ui-client.scm (ui-connect): Add arg to say whether to
197 debug immediately on connection.
198 (ui-eval): Handle exceptions during read and evaluation.
199
200 * debugger.scm (debug-on-error, default-default-lazy-handler):
201 Remove an unnecessary level of indirection in calling lazy
202 handler.
203
e2de682c
MV
2042003-10-12 Marius Vollmer <mvo@zagadka.de>
205
206 * ftw.scm (directory-files): Close dir-stream when done. Thanks
207 to Paul Jarc!
208
ff6ea7b9
KR
2092003-10-09 Kevin Ryde <user42@zip.com.au>
210
211 * poe.scm (funcq-assoc): Rewrite, don't assume '() is false, and
212 actually traverse the given alist.
213
41a80feb
NJ
2142003-10-06 Neil Jerram <neil@ossau.uklinux.net>
215
216 * debugger/ui-client.scm (handle-instruction): Add evaluation
217 support.
218 (ui-eval): New.
219
02b0c692
NJ
2202003-10-04 Neil Jerram <neil@ossau.uklinux.net>
221
222 * debugger/ui-client.scm (ui-disable-async-thread,
223 ui-continue-async-thread, start-async-ui-thread): New.
224 (ui-command-loop): Call ui-disable-async-thread and
225 ui-continue-async-thread.
226 (handle-instruction): Read terminating newline char so it doesn't
227 cause following select to pop immediately.
228
79b1c5b6
NJ
2292003-09-25 Neil Jerram <neil@ossau.uklinux.net>
230
231 * debugger/ui-client.scm, debugger/ui-server.scm: New (work in
232 progress on new debugging front end).
233
2342003-09-24 Neil Jerram <neil@ossau.uklinux.net>
235
236 * debugger.scm (default-default-lazy-handler, debug-on-error):
237 New.
238
239 * debugger/behaviour.scm (debug-if-flag-set): Display debug entry
240 messages through (debugger-output-port).
241 (after-exit-frame-hook): Trace through (debugger-output-port).
242 (trace-here): Trace through (debugger-output-port).
243
244 * debugger/commands.scm (evaluate): If supplied expression is a
245 string, read from it before evaluating.
246 (evaluate): Change output format to "EXPR => VALUE".
247
9b4bbf47
KR
2482003-09-19 Kevin Ryde <user42@zip.com.au>
249
250 * popen.scm (open-process): Correction to previous fdes closing
251 change, need to watch out for stdin==stderr or stdout==stderr.
252
5dc1ba73
MV
2532003-09-15 Marius Vollmer <mvo@zagadka.de>
254
255 * format.scm (format): Rewritten as a big letrec to make it
256 reentrant. No mutex is necessary. Thanks to Clinton Ebadi!
257
7743d628
KR
2582003-09-13 Kevin Ryde <user42@zip.com.au>
259
260 * boot-9.scm (file-exists?): Use stat rather than access?, so as to
261 follow the effective UID/GID not the real ID. file-exists? is
cd56b181 262 normally used as a prelude to opening or some other operation, and
7743d628
KR
263 it's the effective ID which will apply there. Emacs file-exists-p
264 uses stat, presumably for the the same reason.
265
50e0ba57
MV
2662003-09-12 Marius Vollmer <mvo@zagadka.de>
267
268 * boot-9.scm (make-autoload-interface): Use a proper hashtable as
269 the obarray, not an empty vector.
270 (make-module): Always construct a hashtable for the obarray, even
271 for empty ones.
272
273 * format.scm (format:error): Use 'format:format' instead of
274 'format' since the latter will lock the mutex again that we have
275 already locked.
276 (format:format-work): Flag multiple '#' as an error.
277
2388d9af
KR
2782003-08-17 Kevin Ryde <user42@zip.com.au>
279
280 * boot-9.scm (while): Use a new key dynamically for each loop, so
281 break and continue associate to their loop even when recursing.
282
d97f9b42
KR
2832003-08-14 Kevin Ryde <user42@zip.com.au>
284
285 * boot-9.scm (while): Rewrite, continue as proper escape, break
286 without return value, break and continue new for each while form,
287 don't depend on bindings in expansion environment.
288
289 * popen.scm (open-process): Close input-fdes, output-fdes and
290 error-fdes after duping them to 0, 1 and 2.
291
996acdb8
KR
2922003-06-19 Kevin Ryde <user42@zip.com.au>
293
294 * threads.scm (parallel): For no forms, use `(values)' not `(begin)'.
295
42ad901d
DH
2962003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
297
298 * boot-9.scm (make-autoload-interface): Added missing quote around
299 vector constant.
300
47dee228
MV
3012003-05-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
302
303 * deprecated.scm (list*): Added.
304
6cced6fe
KR
3052003-05-10 Kevin Ryde <user42@zip.com.au>
306
307 * documentation.scm (file-commentary, find-documentation-in-file): Use
308 call-with-input-file, to close ports when done.
309
1b965c29
MV
3102003-05-03 Marius Vollmer <mvo@zagadka.de>
311
d04229df
MV
312 * gap-buffer.scm (point++n!, point+-n!): Use substring-move!
313 instead of substring-move-left! or substring-move-right!. Thanks
314 to Kevin Ryde.
315
316 * deprecated.scm (substring-move-left!, substring-move-right!):
317 New.
318
0d5271a2 319 * boot-9.scm (display-usage-report): Use keyword->symbol instead
6aa536b3 320 of keyword-symbol, which doesn't exist. Thanks to Kevin Ryde.
0d5271a2 321
2b24a689
MV
322 * hcons.scm (hashq-cons-get-handle): Pass only the expected four
323 arguments to hashx-get-handle. Thanks to Kevin Ryde!
324
1b965c29
MV
325 * lineio.scm (make-line-buffering-input-port) Pass 0 as second
326 argument to string-ref. Thanks to Kevin Ryde!
327
56b97da9
MD
3282003-04-25 Mikael Djurfeldt <mdj@kvast.blakulla.net>
329
330 * serialize.scm: New file.
331
359aab24
MD
3322003-04-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
333
334 * threads.scm (n-for-each-par-map): New procedure.
335
fc87c27a
MV
3362003-04-05 Marius Vollmer <mvo@zagadka.de>
337
338 * Changed license terms to the plain LGPL thru-out.
339
bd40d420
MV
3402003-03-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
341
342 * deprecated.scm: New file, to collect deprecated things.
343 * Makefile.am (ice9_sources): Added.
344
345 * boot-9.scm: Load "ice-9/deprecated.scm" when appropriate.
346 (try-load-module): Also try the old deprecated method, maybe.
347
570b5b14
MV
3482003-03-22 Marius Vollmer <mvo@zagadka.de>
349
350 * boot-9.scm (call/cc): Added.
351
44876271
MD
3522003-03-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
353
354 * list.scm: New file.
355
b80e1b5c
MV
3562003-03-19 Marius Vollmer <mvo@zagadka.de>
357
358 * format.scm (format:out-substr): Update the column counter
359 correctly. This fixes the behavior of ~T (tabbing) after ~F, for
360 instance. Thanks to Matthias Koeppe!
361
3742da68
MD
3622003-03-13 Mikael Djurfeldt <djurfeldt@nada.kth.se>
363
364 * session.scm (apropos): Don't look in duplicates interface.
365
70a459e3
MD
3662003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
367
65bed4aa
MD
368 * boot-9.scm (duplicate-handlers): Make sure the merge-generics
369 and merge-accessors handlers are available also before (oop goops)
370 has been loaded. This is so that people can put them as default
371 handlers without worrying about availability.
372
3802f9cc
MD
373 * slib.scm (logical:ipow-by-squaring): Removed.
374
fe6ee052
MD
375 * boot-9.scm (ipow-by-squaring): Removed.
376 (default-duplicate-binding-handler): Set default to
6496a663 377 '(replace warn-override-core warn last)
fe6ee052 378
d57da08b
MD
379 * boot-9.scm (module-make-local-var!): Use module-add!.
380 (module-primitive-add!): New function.
381 (resolve-interface): Use
382 (call-with-deferred-observers, module-call-observers): New
383 functions.
384 (module-defer-observers, module-defer-observers-mute,
385 module-defer-observers-table): New variables.
386 (process-define-module, process-use-modules, export, re-export):
387 Use call-with-deferred-observers.
8d8dac1f
MD
388 (module-duplicates-info, set-module-duplicates-info!): Removed.
389 (module-duplicates-handlers, module-duplicates-interface): New.
390 (module-type): Added duplicates-handlers and
391 duplicates-interface.
d57da08b
MD
392
393 * syncase.scm (eval): Mark as replacement.
394
395 * boot-9.scm (defmacro-public): Use export-syntax instead of export.
396
70a459e3
MD
397 * slib.scm (*features*): Set the core variable instead of defining
398 a local version.
399 (provide, provided?): Mark as replacements.
400
401 * boot-9.scm (beautify-user-module!): Don't install the duplicates
402 handler here.
403 (default-duplicate-binding-handler): Renamed from
404 default-module-duplicates-handler; Removed converter.
405 (process-duplicates): Lookup default duplicates handler dynamically.
406 (default-duplicate-binding-procedures): New parameter.
407
509a787a
MD
4082003-03-12 Mikael Djurfeldt <mdj@kvast.blakulla.net>
409
410 * slib.scm (identity): Removed. (Provided by core.)
411
f595ccfe
MD
4122003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
413
c614a00b
MD
414 * debugger/command-loop.scm: Prefix all commands imported from
415 (ice-9 debugger command-loop) with debugger:.
416
109c2c9f
MD
417 * boot-9.scm (process-duplicates): Use module-import-interface.
418 (module-symbol-interface): Removed.
c614a00b
MD
419 (resolve-interface): Process #:hide; Name custom interfaces
420 appropriately.
421 (module-use!, module-use-interfaces!): Remove existing interfaces
422 on the use-list based on module name rather than interface
423 identity so that custom interfaces truly replaces their previous
424 version.
109c2c9f 425
f595ccfe
MD
426 * boot-9.scm (module-override!, make-mutable-parameter,
427 lookup-duplicates-handlers, default-module-duplicates-handler):
428 New functions.
429 (process-duplicates): Don't call duplicates handlers for duplicate
430 bindings of the same variable.
431 (process-define-module): Process #:replace.
432 (compile-interface-spec, resolve-interface): Process #:prefix.
433
434 * format.scm (format): Marked as replacement.
435
436 * threads.scm (future, future-ref): Marked as replacements.
437
7b07e5ef
MD
4382003-03-07 Mikael Djurfeldt <djurfeldt@nada.kth.se>
439
440 These changes enables checking for duplicate imported bindings.
441
442 * boot-9.scm (process-define-module): Handle #:duplicates.
443 (module-use-interfaces! process-duplicates): New functions.
444 (duplicate-handlers): Dictionary of duplicate handlers.
445 (module-symbol-local-binding, module-symbol-binding): Bugfix.
446
1798b73d
MD
4472003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
448
449 * session.scm (apropos): Use hash-for-each instead of
450 array-for-each.
451
c35738c1
MD
4522003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
453
231a4ea8
MD
454 * boot-9.scm (make-module): Changed default size from 1021 to 31
455 (since the size now adapts).
456 (macro-table, xformer-table): Changed default size from 523 to 61.
457 (make-module): Don't call make-hash-table with zero size.
458
c35738c1
MD
459 * Makefile.am (ice9_sources): Added weak-vector.scm.
460
461 * weak-vector.scm: New file.
462
463 * boot-9.scm (module-clear!): Use hash-clear!.
464 (module-for-each): Use hash-for-each.
465 (module-map): Use hash-map.
466
f59a096e
MD
4672003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
468
469 * boot-9.scm (make-hash-table): Turned primitive.
470
e963ac2c
MD
4712003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
472
473 * syncase.scm (guile-macro): Strip syntactic information from
474 expression before trying to treat it as a Guile macro call.
475 (Thanks to Kevin Ryde.)
476
c2950e36
MD
4772003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
478
479 * threads.scm (parallel, letpar): Rewritten.
480
f4719f31
MD
4812003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
482
483 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
484 futures.
485
93f26b7b
MD
4862003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
487
51407fa0
MD
488 * occam-channel.scm (alt): New syntax.
489
93f26b7b
MD
490 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
491 operator as a primitive procedure.
492 (build-data): Quote vectors (psyntax.ss requires this).
493
4942003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
495
496 * psyntax.ss (self-evaluating?): Allow procedures implanted in
497 source. (Guile uses this internally.)
498
80f225df
MD
4992003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
500
501 * psyntax.ss (build-data): Don't quote self-evaluating expressions
502 in output. (We normally *would* like also these expressions to be
503 quoted, but until Guile's native macros and syncase cooperates
504 better, it is less destructive not to quote.)
505 (self-evaluating?): Removed null? (In Guile, the empty list is not
506 self-evaluating).
507 (sc-chi): Export chi as sc-chi.
508 (external-macro): New syntax type.
509
510 * psyntax.pp: Regenerated.
511
512 * compile-psyntax.scm: Set expansion-eval-closure.
7906d57d 513
cf743aea
MD
514 * boot-9.scm (use-syntax): Return *unspecified*.
515
7906d57d
MD
516 * syncase.scm: Set expansion-eval-closure to
517 the-syncase-eval-closure during booting so that variables are
cf743aea
MD
518 created in the correct module.
519 (syncase): Set expansion-eval-closure.
7906d57d
MD
520 (define-syntax define-syntax-public eval-when fluid-let-syntax
521 identifier-syntax let-syntax letrec-syntax syntax syntax-case
522 syntax-rules with-syntax include): Removed definitions (these are
523 created from within psyntax.pp).
80f225df
MD
524 Enable expansion of Guile macros during a syntax-case
525 transformation.
cf743aea 526
60eefd9c
MD
5272003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
528
8411a446 529 * occam-channel.scm (make-channel): Renamed from channel.
fb831451 530 (make-timer): New function.
8411a446 531
60eefd9c
MD
532 * Makefile.am (ice9_sources): Added occam-channel.scm.
533
534 * occam-channel.scm: New file. Implements occam-like channels.
535
db853761
NJ
5362002-12-28 Neil Jerram <neil@ossau.uklinux.net>
537
538 * boot-9.scm (module-defined-hook): New hook, run whenever a new
539 module is defined.
540 (process-define-module): Run this hook.
541
62d4fd94
MD
5422002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
543
544 * threads.scm: Removed bogus definition of future-ref.
545
87623595
MD
5462002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
547
548 * threads.scm (par-map, par-for-each): Reimplemented using
549 joing-thread.
550 (parallel): Reimplemented using futures.
551 (n-par-map, n-for-each): New procedures.
552
edeea67b
MV
5532002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
554
555 * optargs.scm (improper-list-copy): New.
556 (parse-arglist): Use it instead of list-copy.
557
fc85d095
MD
5582002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
559
560 * threads.scm (letpar): New macro.
561
b2cbe8d8
RB
5622002-12-08 Rob Browning <rlb@defaultvalue.org>
563
564 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
565 GUILE_EFFECTIVE_VERSION.
566
567 * debugger/Makefile.am (subpkgdatadir): VERSION ->
568 GUILE_EFFECTIVE_VERSION.
569
570 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
571
abce330c
MD
5722002-12-04 Mikael Djurfeldt <mdj@linnaeus>
573
fc85d095
MD
574 * threads.scm (parallel): New macro.
575 (par-map, par-for-each): New procedures.
abce330c
MD
576
577 * documentation.scm (object-documentation): Added support for
578 defmacros.
579
f2cbc0e5
DH
5802002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
581
582 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
583 removing it in my patch from 2002-11-16.
584
9123414e
DH
5852002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
586
587 Thanks to Mikael Djurfeldt for a bugreport which led to the
588 following changes:
589
590 * slib.scm (%system-define): Removed.
591
592 (define): Changed to use define-private instead of
593 %system-define.
594
595 * boot-9.scm (define-private): Undid my changes from 2002-11-16
596 until Guile supports hygienic macros.
597
50a63003
NJ
5982002-11-17 Neil Jerram <neil@ossau.uklinux.net>
599
600 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
601 has been removed from the core.
602
c55bcb32
DH
6032002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
604
605 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
606 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
607 syntax-rules, with-syntax, include): Changed definitions to form
608 'real' macro definitions.
609
6aa9ea7c
DH
6102002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
611
612 * boot-9.scm (define-private, export-syntax, export-syntax):
613 Fixed my previous fix (blush).
614
ab382f52
DH
6152002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
616
617 * boot-9.scm (define-private, export-syntax, export-syntax):
618 Changed definitions to form 'real' macro definitions.
619
81cf290d
MV
6202002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
621
622 * format.scm (format): Use 'monitor' properly. Not the definition
623 needs to be restricted, the actual function needs to be.
624
3f619266
NJ
6252002-11-05 Neil Jerram <neil@ossau.uklinux.net>
626
627 * boot-9.scm (define-option-interface): Fix to "simplification"
628 change below.
629
630 * debugger/breakpoints/source.scm: Enable source property
631 recording when module is loaded.
632 (##): Cope with ports whose `filename' is not a string.
633
9124ba8d
NJ
6342002-11-04 Neil Jerram <neil@ossau.uklinux.net>
635
0983f67f
NJ
636 * boot-9.scm (define-option-interface): Simplify code-generation
637 code.
638
9124ba8d
NJ
639 * debugger/command-loop.scm (read-and-dispatch-command): Import
640 set-readline-prompt dynamically if we need to. (Previous
641 arrangement didn't work if this module was loaded before (ice-9
642 readline).)
643
eb2c5dcb
MV
6442002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
645
646 * format.scm (format): Wrap a monitor around format:format since
647 it is not thread-safe.
648
132fe7af
MV
6492002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
650
651 * threads.scm (%thread-handler): Explicitely return '#f'. This
652 value will be returned by join-thread.
653
8ee7506b
NJ
6542002-10-26 Neil Jerram <neil@ossau.uklinux.net>
655
656 Merging debugger enhancements previously in separate
657 `guile-debugger' package ...
658
659 * debugger.scm: Factored out into the following constituent parts
660 - see comment in file for more details.
661 (*not-yet-introduced*): New (avoids repeatedly introducing the
662 debugger when entering it from breakpoints).
663 (debug-stack): New.
664 (debug): Rewrite to use more general `debug-stack'.
665
666 * debugger/commands.scm, debugger/command-loop.scm,
667 debugger/state.scm, debugger/utils.scm: New files containing bits
668 of old (ice-9 debugger), plus some rewriting and enhancements for
669 breakpoint support ...
670
671 * debugger/state.scm (state-rtd): Add flags field.
672 (make-state): Extend to optionally take flags.
673 (state-flags): New, accessor for flags field.
674 (set-state-index!, set-stack-index!): New.
675 (write-state-short): Rewritten to print out the current source
676 location in a way that is more easily trackable by Emacs.
677
678 * debugger/commands.scm (assert-continuable, continue, finish,
679 trace-finish, step, next): New debugger commands for continuing
680 execution from a breakpoint.
681
682 * debugger/behaviour.scm, debugger/breakpoints.scm,
683 debugger/breakpoints/procedural.scm,
684 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
685 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
686 support.
687
688 * Makefile.am (SUBDIRS): Add debugger subdirectory.
689
690 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
691
03453b05
MV
6922002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
693
694 * threads.scm (%thread-handler): Do not call unmask-signals, that
695 should be unnecessary now.
696
a7785f36
MD
6972002-10-20 Mikael Djurfeldt <mdj@linnaeus>
698
699 * boot-9.scm (top-repl): Look for use-emacs-interface in
700 guile-user-module (should it be there?) instead of
701 the-root-module.
702
acfa1f52
MV
7032002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
704
705 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
706 (error-catching-loop): use call-with-blocked-asyncs and
707 call-with-unblocked-asyncs instead of mask-signals and
708 unmask-signals.
709
34010f56
NJ
7102002-10-09 Neil Jerram <neil@ossau.uklinux.net>
711
712 * buffered-input.scm (make-buffered-input-port): Build an
713 input-waiting thunk for just extended version of make-soft-port.
714
9bc54879
RB
7152002-10-04 Rob Browning <rlb@defaultvalue.org>
716
717 * boot-9.scm (expt): switch if sense and use negative? rather than
718 >= 0.
719
3538c2b2
MV
7202002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
721
722 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
723 limit the signal stack.
724
f4232aa6
MV
7252002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
726
727 * boot-9.scm (feature?): Added deprecation message.
728
5fc0857e
RB
7292002-09-14 Rob Browning <rlb@defaultvalue.org>
730
731 * boot-9.scm (sqrt): minor indentation fix.
732
cfcdb8e9
MV
7332002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
734
735 * syncase.scm: Set the module transformer of the-syncase-module so
736 that we can use define-syntax.
737 (define-syntax-public): New and exported.
738
7392002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
740
741 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
742 (sc-macro): Set the expansion-eval-closure expanding the form.
743 (putprop, getprop): Use the expansion-eval-closure to find
744 variables instead of the current module.
745
fdf7e1d7
MV
7462002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
747
748 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
749
7c38399f
DH
7502002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
751
752 * boot-9.scm (define-option-interface): Replaced "macro" by
753 mmacro.
754
1334c61a
GH
7552002-06-01 Gary Houston <ghouston@arglist.com>
756
757 * boot-9.scm (file-set-position): Make third argument optional,
758 for SCM compatibility.
759 (file-position): simplify definition.
760
be87cdb7
MV
7612002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
762
763 * boot-9.scm (file-set-position): Use seek instead of fseek.
764
e717bf46
MV
7652002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
766
767 * format.scm (format:out-inf-nan): New.
768 (format:out-fixed, format:out-expon, format:out-general): Use it
769 to print infs and nans.
770
771 * boot-9.scm (unsetenv): New, for completeness.
772
9ea4ac37
MV
7732002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
774
775 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
776 print long real numbers with large positive and negative
777 exponents.
778
45845efe
MV
7792002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
780
781 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
782
0bd1b44f
TTN
7832002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
784
785 * gap-buffer.scm: New file.
786
787 * Makefile.am (ice9_sources): Add gap-buffer.scm.
788
c87af2d5
RB
7892002-03-12 Rob Browning <rlb@defaultvalue.org>
790
791 * syncase.scm: fix bad let.
792 (gensym): fix failure on non-threaded
793
6c5b8521
TTN
7942002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
795
796 * ftw.scm: New file.
797
798 * Makefile.am (ice9_sources): Add ftw.scm.
799
327d4dd3
TTN
8002002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
801
802 * Makefile.am: Update path to pre-inst-guile automake frag.
803
d51b42e2
TTN
804 * boot-9.scm: Comment grammar fixes; nfc.
805 Thanks to Christopher Cramer.
806
46151112
RB
8072002-02-24 Rob Browning <rlb@defaultvalue.org>
808
809 * syncase.scm (gensym): redefine locally so we can control it's
810 properties. This is in preparation for changing the future public
811 gensym to produce unreadable symbols.
812
813 * psyntax.pp: updated to reflect new syncase.scm.
814
90d4a6b0
TTN
8152002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
816
817 * regex.scm: Add commentary; nfc.
818
0187b4f4
TTN
8192002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
820
821 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
822
823 (psyntax.pp): Use $(preinstguile).
824
dd580bd6
MV
8252002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
826
827 * psyntax.ss (datum->syntax-object): Removed assertion in
828 datum->syntax-object that checked if the first argument, a
829 syntax-object, is an identifier. This was a unconvenient and
830 unnecessary restriction. Thanks to Dorai Sitaram!
831
0e6f7775
MV
8322002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
833
834