Add a copyright year.
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
996acdb8
KR
12003-06-19 Kevin Ryde <user42@zip.com.au>
2
3 * threads.scm (parallel): For no forms, use `(values)' not `(begin)'.
4
42ad901d
DH
52003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
6
7 * boot-9.scm (make-autoload-interface): Added missing quote around
8 vector constant.
9
47dee228
MV
102003-05-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
11
12 * deprecated.scm (list*): Added.
13
6cced6fe
KR
142003-05-10 Kevin Ryde <user42@zip.com.au>
15
16 * documentation.scm (file-commentary, find-documentation-in-file): Use
17 call-with-input-file, to close ports when done.
18
1b965c29
MV
192003-05-03 Marius Vollmer <mvo@zagadka.de>
20
d04229df
MV
21 * gap-buffer.scm (point++n!, point+-n!): Use substring-move!
22 instead of substring-move-left! or substring-move-right!. Thanks
23 to Kevin Ryde.
24
25 * deprecated.scm (substring-move-left!, substring-move-right!):
26 New.
27
0d5271a2 28 * boot-9.scm (display-usage-report): Use keyword->symbol instead
6aa536b3 29 of keyword-symbol, which doesn't exist. Thanks to Kevin Ryde.
0d5271a2 30
2b24a689
MV
31 * hcons.scm (hashq-cons-get-handle): Pass only the expected four
32 arguments to hashx-get-handle. Thanks to Kevin Ryde!
33
1b965c29
MV
34 * lineio.scm (make-line-buffering-input-port) Pass 0 as second
35 argument to string-ref. Thanks to Kevin Ryde!
36
56b97da9
MD
372003-04-25 Mikael Djurfeldt <mdj@kvast.blakulla.net>
38
39 * serialize.scm: New file.
40
359aab24
MD
412003-04-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
42
43 * threads.scm (n-for-each-par-map): New procedure.
44
fc87c27a
MV
452003-04-05 Marius Vollmer <mvo@zagadka.de>
46
47 * Changed license terms to the plain LGPL thru-out.
48
bd40d420
MV
492003-03-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
50
51 * deprecated.scm: New file, to collect deprecated things.
52 * Makefile.am (ice9_sources): Added.
53
54 * boot-9.scm: Load "ice-9/deprecated.scm" when appropriate.
55 (try-load-module): Also try the old deprecated method, maybe.
56
570b5b14
MV
572003-03-22 Marius Vollmer <mvo@zagadka.de>
58
59 * boot-9.scm (call/cc): Added.
60
44876271
MD
612003-03-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
62
63 * list.scm: New file.
64
b80e1b5c
MV
652003-03-19 Marius Vollmer <mvo@zagadka.de>
66
67 * format.scm (format:out-substr): Update the column counter
68 correctly. This fixes the behavior of ~T (tabbing) after ~F, for
69 instance. Thanks to Matthias Koeppe!
70
3742da68
MD
712003-03-13 Mikael Djurfeldt <djurfeldt@nada.kth.se>
72
73 * session.scm (apropos): Don't look in duplicates interface.
74
70a459e3
MD
752003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
76
65bed4aa
MD
77 * boot-9.scm (duplicate-handlers): Make sure the merge-generics
78 and merge-accessors handlers are available also before (oop goops)
79 has been loaded. This is so that people can put them as default
80 handlers without worrying about availability.
81
3802f9cc
MD
82 * slib.scm (logical:ipow-by-squaring): Removed.
83
fe6ee052
MD
84 * boot-9.scm (ipow-by-squaring): Removed.
85 (default-duplicate-binding-handler): Set default to
6496a663 86 '(replace warn-override-core warn last)
fe6ee052 87
d57da08b
MD
88 * boot-9.scm (module-make-local-var!): Use module-add!.
89 (module-primitive-add!): New function.
90 (resolve-interface): Use
91 (call-with-deferred-observers, module-call-observers): New
92 functions.
93 (module-defer-observers, module-defer-observers-mute,
94 module-defer-observers-table): New variables.
95 (process-define-module, process-use-modules, export, re-export):
96 Use call-with-deferred-observers.
8d8dac1f
MD
97 (module-duplicates-info, set-module-duplicates-info!): Removed.
98 (module-duplicates-handlers, module-duplicates-interface): New.
99 (module-type): Added duplicates-handlers and
100 duplicates-interface.
d57da08b
MD
101
102 * syncase.scm (eval): Mark as replacement.
103
104 * boot-9.scm (defmacro-public): Use export-syntax instead of export.
105
70a459e3
MD
106 * slib.scm (*features*): Set the core variable instead of defining
107 a local version.
108 (provide, provided?): Mark as replacements.
109
110 * boot-9.scm (beautify-user-module!): Don't install the duplicates
111 handler here.
112 (default-duplicate-binding-handler): Renamed from
113 default-module-duplicates-handler; Removed converter.
114 (process-duplicates): Lookup default duplicates handler dynamically.
115 (default-duplicate-binding-procedures): New parameter.
116
509a787a
MD
1172003-03-12 Mikael Djurfeldt <mdj@kvast.blakulla.net>
118
119 * slib.scm (identity): Removed. (Provided by core.)
120
f595ccfe
MD
1212003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
122
c614a00b
MD
123 * debugger/command-loop.scm: Prefix all commands imported from
124 (ice-9 debugger command-loop) with debugger:.
125
109c2c9f
MD
126 * boot-9.scm (process-duplicates): Use module-import-interface.
127 (module-symbol-interface): Removed.
c614a00b
MD
128 (resolve-interface): Process #:hide; Name custom interfaces
129 appropriately.
130 (module-use!, module-use-interfaces!): Remove existing interfaces
131 on the use-list based on module name rather than interface
132 identity so that custom interfaces truly replaces their previous
133 version.
109c2c9f 134
f595ccfe
MD
135 * boot-9.scm (module-override!, make-mutable-parameter,
136 lookup-duplicates-handlers, default-module-duplicates-handler):
137 New functions.
138 (process-duplicates): Don't call duplicates handlers for duplicate
139 bindings of the same variable.
140 (process-define-module): Process #:replace.
141 (compile-interface-spec, resolve-interface): Process #:prefix.
142
143 * format.scm (format): Marked as replacement.
144
145 * threads.scm (future, future-ref): Marked as replacements.
146
7b07e5ef
MD
1472003-03-07 Mikael Djurfeldt <djurfeldt@nada.kth.se>
148
149 These changes enables checking for duplicate imported bindings.
150
151 * boot-9.scm (process-define-module): Handle #:duplicates.
152 (module-use-interfaces! process-duplicates): New functions.
153 (duplicate-handlers): Dictionary of duplicate handlers.
154 (module-symbol-local-binding, module-symbol-binding): Bugfix.
155
1798b73d
MD
1562003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
157
158 * session.scm (apropos): Use hash-for-each instead of
159 array-for-each.
160
c35738c1
MD
1612003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
162
231a4ea8
MD
163 * boot-9.scm (make-module): Changed default size from 1021 to 31
164 (since the size now adapts).
165 (macro-table, xformer-table): Changed default size from 523 to 61.
166 (make-module): Don't call make-hash-table with zero size.
167
c35738c1
MD
168 * Makefile.am (ice9_sources): Added weak-vector.scm.
169
170 * weak-vector.scm: New file.
171
172 * boot-9.scm (module-clear!): Use hash-clear!.
173 (module-for-each): Use hash-for-each.
174 (module-map): Use hash-map.
175
f59a096e
MD
1762003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
177
178 * boot-9.scm (make-hash-table): Turned primitive.
179
e963ac2c
MD
1802003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
181
182 * syncase.scm (guile-macro): Strip syntactic information from
183 expression before trying to treat it as a Guile macro call.
184 (Thanks to Kevin Ryde.)
185
c2950e36
MD
1862003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
187
188 * threads.scm (parallel, letpar): Rewritten.
189
f4719f31
MD
1902003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
191
192 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
193 futures.
194
93f26b7b
MD
1952003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
196
51407fa0
MD
197 * occam-channel.scm (alt): New syntax.
198
93f26b7b
MD
199 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
200 operator as a primitive procedure.
201 (build-data): Quote vectors (psyntax.ss requires this).
202
2032003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
204
205 * psyntax.ss (self-evaluating?): Allow procedures implanted in
206 source. (Guile uses this internally.)
207
80f225df
MD
2082003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
209
210 * psyntax.ss (build-data): Don't quote self-evaluating expressions
211 in output. (We normally *would* like also these expressions to be
212 quoted, but until Guile's native macros and syncase cooperates
213 better, it is less destructive not to quote.)
214 (self-evaluating?): Removed null? (In Guile, the empty list is not
215 self-evaluating).
216 (sc-chi): Export chi as sc-chi.
217 (external-macro): New syntax type.
218
219 * psyntax.pp: Regenerated.
220
221 * compile-psyntax.scm: Set expansion-eval-closure.
7906d57d 222
cf743aea
MD
223 * boot-9.scm (use-syntax): Return *unspecified*.
224
7906d57d
MD
225 * syncase.scm: Set expansion-eval-closure to
226 the-syncase-eval-closure during booting so that variables are
cf743aea
MD
227 created in the correct module.
228 (syncase): Set expansion-eval-closure.
7906d57d
MD
229 (define-syntax define-syntax-public eval-when fluid-let-syntax
230 identifier-syntax let-syntax letrec-syntax syntax syntax-case
231 syntax-rules with-syntax include): Removed definitions (these are
232 created from within psyntax.pp).
80f225df
MD
233 Enable expansion of Guile macros during a syntax-case
234 transformation.
cf743aea 235
60eefd9c
MD
2362003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
237
8411a446 238 * occam-channel.scm (make-channel): Renamed from channel.
fb831451 239 (make-timer): New function.
8411a446 240
60eefd9c
MD
241 * Makefile.am (ice9_sources): Added occam-channel.scm.
242
243 * occam-channel.scm: New file. Implements occam-like channels.
244
db853761
NJ
2452002-12-28 Neil Jerram <neil@ossau.uklinux.net>
246
247 * boot-9.scm (module-defined-hook): New hook, run whenever a new
248 module is defined.
249 (process-define-module): Run this hook.
250
62d4fd94
MD
2512002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
252
253 * threads.scm: Removed bogus definition of future-ref.
254
87623595
MD
2552002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
256
257 * threads.scm (par-map, par-for-each): Reimplemented using
258 joing-thread.
259 (parallel): Reimplemented using futures.
260 (n-par-map, n-for-each): New procedures.
261
edeea67b
MV
2622002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
263
264 * optargs.scm (improper-list-copy): New.
265 (parse-arglist): Use it instead of list-copy.
266
fc85d095
MD
2672002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
268
269 * threads.scm (letpar): New macro.
270
b2cbe8d8
RB
2712002-12-08 Rob Browning <rlb@defaultvalue.org>
272
273 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
274 GUILE_EFFECTIVE_VERSION.
275
276 * debugger/Makefile.am (subpkgdatadir): VERSION ->
277 GUILE_EFFECTIVE_VERSION.
278
279 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
280
abce330c
MD
2812002-12-04 Mikael Djurfeldt <mdj@linnaeus>
282
fc85d095
MD
283 * threads.scm (parallel): New macro.
284 (par-map, par-for-each): New procedures.
abce330c
MD
285
286 * documentation.scm (object-documentation): Added support for
287 defmacros.
288
f2cbc0e5
DH
2892002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
290
291 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
292 removing it in my patch from 2002-11-16.
293
9123414e
DH
2942002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
295
296 Thanks to Mikael Djurfeldt for a bugreport which led to the
297 following changes:
298
299 * slib.scm (%system-define): Removed.
300
301 (define): Changed to use define-private instead of
302 %system-define.
303
304 * boot-9.scm (define-private): Undid my changes from 2002-11-16
305 until Guile supports hygienic macros.
306
50a63003
NJ
3072002-11-17 Neil Jerram <neil@ossau.uklinux.net>
308
309 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
310 has been removed from the core.
311
c55bcb32
DH
3122002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
313
314 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
315 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
316 syntax-rules, with-syntax, include): Changed definitions to form
317 'real' macro definitions.
318
6aa9ea7c
DH
3192002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
320
321 * boot-9.scm (define-private, export-syntax, export-syntax):
322 Fixed my previous fix (blush).
323
ab382f52
DH
3242002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
325
326 * boot-9.scm (define-private, export-syntax, export-syntax):
327 Changed definitions to form 'real' macro definitions.
328
81cf290d
MV
3292002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
330
331 * format.scm (format): Use 'monitor' properly. Not the definition
332 needs to be restricted, the actual function needs to be.
333
3f619266
NJ
3342002-11-05 Neil Jerram <neil@ossau.uklinux.net>
335
336 * boot-9.scm (define-option-interface): Fix to "simplification"
337 change below.
338
339 * debugger/breakpoints/source.scm: Enable source property
340 recording when module is loaded.
341 (##): Cope with ports whose `filename' is not a string.
342
9124ba8d
NJ
3432002-11-04 Neil Jerram <neil@ossau.uklinux.net>
344
0983f67f
NJ
345 * boot-9.scm (define-option-interface): Simplify code-generation
346 code.
347
9124ba8d
NJ
348 * debugger/command-loop.scm (read-and-dispatch-command): Import
349 set-readline-prompt dynamically if we need to. (Previous
350 arrangement didn't work if this module was loaded before (ice-9
351 readline).)
352
eb2c5dcb
MV
3532002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
354
355 * format.scm (format): Wrap a monitor around format:format since
356 it is not thread-safe.
357
132fe7af
MV
3582002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
359
360 * threads.scm (%thread-handler): Explicitely return '#f'. This
361 value will be returned by join-thread.
362
8ee7506b
NJ
3632002-10-26 Neil Jerram <neil@ossau.uklinux.net>
364
365 Merging debugger enhancements previously in separate
366 `guile-debugger' package ...
367
368 * debugger.scm: Factored out into the following constituent parts
369 - see comment in file for more details.
370 (*not-yet-introduced*): New (avoids repeatedly introducing the
371 debugger when entering it from breakpoints).
372 (debug-stack): New.
373 (debug): Rewrite to use more general `debug-stack'.
374
375 * debugger/commands.scm, debugger/command-loop.scm,
376 debugger/state.scm, debugger/utils.scm: New files containing bits
377 of old (ice-9 debugger), plus some rewriting and enhancements for
378 breakpoint support ...
379
380 * debugger/state.scm (state-rtd): Add flags field.
381 (make-state): Extend to optionally take flags.
382 (state-flags): New, accessor for flags field.
383 (set-state-index!, set-stack-index!): New.
384 (write-state-short): Rewritten to print out the current source
385 location in a way that is more easily trackable by Emacs.
386
387 * debugger/commands.scm (assert-continuable, continue, finish,
388 trace-finish, step, next): New debugger commands for continuing
389 execution from a breakpoint.
390
391 * debugger/behaviour.scm, debugger/breakpoints.scm,
392 debugger/breakpoints/procedural.scm,
393 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
394 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
395 support.
396
397 * Makefile.am (SUBDIRS): Add debugger subdirectory.
398
399 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
400
03453b05
MV
4012002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
402
403 * threads.scm (%thread-handler): Do not call unmask-signals, that
404 should be unnecessary now.
405
a7785f36
MD
4062002-10-20 Mikael Djurfeldt <mdj@linnaeus>
407
408 * boot-9.scm (top-repl): Look for use-emacs-interface in
409 guile-user-module (should it be there?) instead of
410 the-root-module.
411
acfa1f52
MV
4122002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
413
414 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
415 (error-catching-loop): use call-with-blocked-asyncs and
416 call-with-unblocked-asyncs instead of mask-signals and
417 unmask-signals.
418
34010f56
NJ
4192002-10-09 Neil Jerram <neil@ossau.uklinux.net>
420
421 * buffered-input.scm (make-buffered-input-port): Build an
422 input-waiting thunk for just extended version of make-soft-port.
423
9bc54879
RB
4242002-10-04 Rob Browning <rlb@defaultvalue.org>
425
426 * boot-9.scm (expt): switch if sense and use negative? rather than
427 >= 0.
428
3538c2b2
MV
4292002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
430
431 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
432 limit the signal stack.
433
f4232aa6
MV
4342002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
435
436 * boot-9.scm (feature?): Added deprecation message.
437
5fc0857e
RB
4382002-09-14 Rob Browning <rlb@defaultvalue.org>
439
440 * boot-9.scm (sqrt): minor indentation fix.
441
cfcdb8e9
MV
4422002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
443
444 * syncase.scm: Set the module transformer of the-syncase-module so
445 that we can use define-syntax.
446 (define-syntax-public): New and exported.
447
4482002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
449
450 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
451 (sc-macro): Set the expansion-eval-closure expanding the form.
452 (putprop, getprop): Use the expansion-eval-closure to find
453 variables instead of the current module.
454
fdf7e1d7
MV
4552002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
456
457 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
458
7c38399f
DH
4592002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
460
461 * boot-9.scm (define-option-interface): Replaced "macro" by
462 mmacro.
463
1334c61a
GH
4642002-06-01 Gary Houston <ghouston@arglist.com>
465
466 * boot-9.scm (file-set-position): Make third argument optional,
467 for SCM compatibility.
468 (file-position): simplify definition.
469
be87cdb7
MV
4702002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
471
472 * boot-9.scm (file-set-position): Use seek instead of fseek.
473
e717bf46
MV
4742002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
475
476 * format.scm (format:out-inf-nan): New.
477 (format:out-fixed, format:out-expon, format:out-general): Use it
478 to print infs and nans.
479
480 * boot-9.scm (unsetenv): New, for completeness.
481
9ea4ac37
MV
4822002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
483
484 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
485 print long real numbers with large positive and negative
486 exponents.
487
45845efe
MV
4882002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
489
490 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
491
0bd1b44f
TTN
4922002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
493
494 * gap-buffer.scm: New file.
495
496 * Makefile.am (ice9_sources): Add gap-buffer.scm.
497
c87af2d5
RB
4982002-03-12 Rob Browning <rlb@defaultvalue.org>
499
500 * syncase.scm: fix bad let.
501 (gensym): fix failure on non-threaded
502
6c5b8521
TTN
5032002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
504
505 * ftw.scm: New file.
506
507 * Makefile.am (ice9_sources): Add ftw.scm.
508
327d4dd3
TTN
5092002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
510
511 * Makefile.am: Update path to pre-inst-guile automake frag.
512
d51b42e2
TTN
513 * boot-9.scm: Comment grammar fixes; nfc.
514 Thanks to Christopher Cramer.
515
46151112
RB
5162002-02-24 Rob Browning <rlb@defaultvalue.org>
517
518 * syncase.scm (gensym): redefine locally so we can control it's
519 properties. This is in preparation for changing the future public
520 gensym to produce unreadable symbols.
521
522 * psyntax.pp: updated to reflect new syncase.scm.
523
90d4a6b0
TTN
5242002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
525
526 * regex.scm: Add commentary; nfc.
527
0187b4f4
TTN
5282002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
529
530 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
531
532 (psyntax.pp): Use $(preinstguile).
533
dd580bd6
MV
5342002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
535
536 * psyntax.ss (datum->syntax-object): Removed assertion in
537 datum->syntax-object that checked if the first argument, a
538 syntax-object, is an identifier. This was a unconvenient and
539 unnecessary restriction. Thanks to Dorai Sitaram!
540
0e6f7775
MV
5412002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
542
543