* slib.scm (identity): Removed. (Provided by core.)
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
509a787a
MD
12003-03-12 Mikael Djurfeldt <mdj@kvast.blakulla.net>
2
3 * slib.scm (identity): Removed. (Provided by core.)
4
f595ccfe
MD
52003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
6
c614a00b
MD
7 * debugger/command-loop.scm: Prefix all commands imported from
8 (ice-9 debugger command-loop) with debugger:.
9
109c2c9f
MD
10 * boot-9.scm (process-duplicates): Use module-import-interface.
11 (module-symbol-interface): Removed.
c614a00b
MD
12 (resolve-interface): Process #:hide; Name custom interfaces
13 appropriately.
14 (module-use!, module-use-interfaces!): Remove existing interfaces
15 on the use-list based on module name rather than interface
16 identity so that custom interfaces truly replaces their previous
17 version.
109c2c9f 18
f595ccfe
MD
19 * boot-9.scm (module-override!, make-mutable-parameter,
20 lookup-duplicates-handlers, default-module-duplicates-handler):
21 New functions.
22 (process-duplicates): Don't call duplicates handlers for duplicate
23 bindings of the same variable.
24 (process-define-module): Process #:replace.
25 (compile-interface-spec, resolve-interface): Process #:prefix.
26
27 * format.scm (format): Marked as replacement.
28
29 * threads.scm (future, future-ref): Marked as replacements.
30
7b07e5ef
MD
312003-03-07 Mikael Djurfeldt <djurfeldt@nada.kth.se>
32
33 These changes enables checking for duplicate imported bindings.
34
35 * boot-9.scm (process-define-module): Handle #:duplicates.
36 (module-use-interfaces! process-duplicates): New functions.
37 (duplicate-handlers): Dictionary of duplicate handlers.
38 (module-symbol-local-binding, module-symbol-binding): Bugfix.
39
1798b73d
MD
402003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
41
42 * session.scm (apropos): Use hash-for-each instead of
43 array-for-each.
44
c35738c1
MD
452003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
46
231a4ea8
MD
47 * boot-9.scm (make-module): Changed default size from 1021 to 31
48 (since the size now adapts).
49 (macro-table, xformer-table): Changed default size from 523 to 61.
50 (make-module): Don't call make-hash-table with zero size.
51
c35738c1
MD
52 * Makefile.am (ice9_sources): Added weak-vector.scm.
53
54 * weak-vector.scm: New file.
55
56 * boot-9.scm (module-clear!): Use hash-clear!.
57 (module-for-each): Use hash-for-each.
58 (module-map): Use hash-map.
59
f59a096e
MD
602003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
61
62 * boot-9.scm (make-hash-table): Turned primitive.
63
e963ac2c
MD
642003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
65
66 * syncase.scm (guile-macro): Strip syntactic information from
67 expression before trying to treat it as a Guile macro call.
68 (Thanks to Kevin Ryde.)
69
c2950e36
MD
702003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
71
72 * threads.scm (parallel, letpar): Rewritten.
73
f4719f31
MD
742003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
75
76 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
77 futures.
78
93f26b7b
MD
792003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
80
51407fa0
MD
81 * occam-channel.scm (alt): New syntax.
82
93f26b7b
MD
83 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
84 operator as a primitive procedure.
85 (build-data): Quote vectors (psyntax.ss requires this).
86
872003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
88
89 * psyntax.ss (self-evaluating?): Allow procedures implanted in
90 source. (Guile uses this internally.)
91
80f225df
MD
922003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
93
94 * psyntax.ss (build-data): Don't quote self-evaluating expressions
95 in output. (We normally *would* like also these expressions to be
96 quoted, but until Guile's native macros and syncase cooperates
97 better, it is less destructive not to quote.)
98 (self-evaluating?): Removed null? (In Guile, the empty list is not
99 self-evaluating).
100 (sc-chi): Export chi as sc-chi.
101 (external-macro): New syntax type.
102
103 * psyntax.pp: Regenerated.
104
105 * compile-psyntax.scm: Set expansion-eval-closure.
7906d57d 106
cf743aea
MD
107 * boot-9.scm (use-syntax): Return *unspecified*.
108
7906d57d
MD
109 * syncase.scm: Set expansion-eval-closure to
110 the-syncase-eval-closure during booting so that variables are
cf743aea
MD
111 created in the correct module.
112 (syncase): Set expansion-eval-closure.
7906d57d
MD
113 (define-syntax define-syntax-public eval-when fluid-let-syntax
114 identifier-syntax let-syntax letrec-syntax syntax syntax-case
115 syntax-rules with-syntax include): Removed definitions (these are
116 created from within psyntax.pp).
80f225df
MD
117 Enable expansion of Guile macros during a syntax-case
118 transformation.
cf743aea 119
60eefd9c
MD
1202003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
121
8411a446 122 * occam-channel.scm (make-channel): Renamed from channel.
fb831451 123 (make-timer): New function.
8411a446 124
60eefd9c
MD
125 * Makefile.am (ice9_sources): Added occam-channel.scm.
126
127 * occam-channel.scm: New file. Implements occam-like channels.
128
db853761
NJ
1292002-12-28 Neil Jerram <neil@ossau.uklinux.net>
130
131 * boot-9.scm (module-defined-hook): New hook, run whenever a new
132 module is defined.
133 (process-define-module): Run this hook.
134
62d4fd94
MD
1352002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
136
137 * threads.scm: Removed bogus definition of future-ref.
138
87623595
MD
1392002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
140
141 * threads.scm (par-map, par-for-each): Reimplemented using
142 joing-thread.
143 (parallel): Reimplemented using futures.
144 (n-par-map, n-for-each): New procedures.
145
edeea67b
MV
1462002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
147
148 * optargs.scm (improper-list-copy): New.
149 (parse-arglist): Use it instead of list-copy.
150
fc85d095
MD
1512002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
152
153 * threads.scm (letpar): New macro.
154
b2cbe8d8
RB
1552002-12-08 Rob Browning <rlb@defaultvalue.org>
156
157 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
158 GUILE_EFFECTIVE_VERSION.
159
160 * debugger/Makefile.am (subpkgdatadir): VERSION ->
161 GUILE_EFFECTIVE_VERSION.
162
163 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
164
abce330c
MD
1652002-12-04 Mikael Djurfeldt <mdj@linnaeus>
166
fc85d095
MD
167 * threads.scm (parallel): New macro.
168 (par-map, par-for-each): New procedures.
abce330c
MD
169
170 * documentation.scm (object-documentation): Added support for
171 defmacros.
172
f2cbc0e5
DH
1732002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
174
175 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
176 removing it in my patch from 2002-11-16.
177
9123414e
DH
1782002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
179
180 Thanks to Mikael Djurfeldt for a bugreport which led to the
181 following changes:
182
183 * slib.scm (%system-define): Removed.
184
185 (define): Changed to use define-private instead of
186 %system-define.
187
188 * boot-9.scm (define-private): Undid my changes from 2002-11-16
189 until Guile supports hygienic macros.
190
50a63003
NJ
1912002-11-17 Neil Jerram <neil@ossau.uklinux.net>
192
193 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
194 has been removed from the core.
195
c55bcb32
DH
1962002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
197
198 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
199 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
200 syntax-rules, with-syntax, include): Changed definitions to form
201 'real' macro definitions.
202
6aa9ea7c
DH
2032002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
204
205 * boot-9.scm (define-private, export-syntax, export-syntax):
206 Fixed my previous fix (blush).
207
ab382f52
DH
2082002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
209
210 * boot-9.scm (define-private, export-syntax, export-syntax):
211 Changed definitions to form 'real' macro definitions.
212
81cf290d
MV
2132002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
214
215 * format.scm (format): Use 'monitor' properly. Not the definition
216 needs to be restricted, the actual function needs to be.
217
3f619266
NJ
2182002-11-05 Neil Jerram <neil@ossau.uklinux.net>
219
220 * boot-9.scm (define-option-interface): Fix to "simplification"
221 change below.
222
223 * debugger/breakpoints/source.scm: Enable source property
224 recording when module is loaded.
225 (##): Cope with ports whose `filename' is not a string.
226
9124ba8d
NJ
2272002-11-04 Neil Jerram <neil@ossau.uklinux.net>
228
0983f67f
NJ
229 * boot-9.scm (define-option-interface): Simplify code-generation
230 code.
231
9124ba8d
NJ
232 * debugger/command-loop.scm (read-and-dispatch-command): Import
233 set-readline-prompt dynamically if we need to. (Previous
234 arrangement didn't work if this module was loaded before (ice-9
235 readline).)
236
eb2c5dcb
MV
2372002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
238
239 * format.scm (format): Wrap a monitor around format:format since
240 it is not thread-safe.
241
132fe7af
MV
2422002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
243
244 * threads.scm (%thread-handler): Explicitely return '#f'. This
245 value will be returned by join-thread.
246
8ee7506b
NJ
2472002-10-26 Neil Jerram <neil@ossau.uklinux.net>
248
249 Merging debugger enhancements previously in separate
250 `guile-debugger' package ...
251
252 * debugger.scm: Factored out into the following constituent parts
253 - see comment in file for more details.
254 (*not-yet-introduced*): New (avoids repeatedly introducing the
255 debugger when entering it from breakpoints).
256 (debug-stack): New.
257 (debug): Rewrite to use more general `debug-stack'.
258
259 * debugger/commands.scm, debugger/command-loop.scm,
260 debugger/state.scm, debugger/utils.scm: New files containing bits
261 of old (ice-9 debugger), plus some rewriting and enhancements for
262 breakpoint support ...
263
264 * debugger/state.scm (state-rtd): Add flags field.
265 (make-state): Extend to optionally take flags.
266 (state-flags): New, accessor for flags field.
267 (set-state-index!, set-stack-index!): New.
268 (write-state-short): Rewritten to print out the current source
269 location in a way that is more easily trackable by Emacs.
270
271 * debugger/commands.scm (assert-continuable, continue, finish,
272 trace-finish, step, next): New debugger commands for continuing
273 execution from a breakpoint.
274
275 * debugger/behaviour.scm, debugger/breakpoints.scm,
276 debugger/breakpoints/procedural.scm,
277 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
278 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
279 support.
280
281 * Makefile.am (SUBDIRS): Add debugger subdirectory.
282
283 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
284
03453b05
MV
2852002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
286
287 * threads.scm (%thread-handler): Do not call unmask-signals, that
288 should be unnecessary now.
289
a7785f36
MD
2902002-10-20 Mikael Djurfeldt <mdj@linnaeus>
291
292 * boot-9.scm (top-repl): Look for use-emacs-interface in
293 guile-user-module (should it be there?) instead of
294 the-root-module.
295
acfa1f52
MV
2962002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
297
298 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
299 (error-catching-loop): use call-with-blocked-asyncs and
300 call-with-unblocked-asyncs instead of mask-signals and
301 unmask-signals.
302
34010f56
NJ
3032002-10-09 Neil Jerram <neil@ossau.uklinux.net>
304
305 * buffered-input.scm (make-buffered-input-port): Build an
306 input-waiting thunk for just extended version of make-soft-port.
307
9bc54879
RB
3082002-10-04 Rob Browning <rlb@defaultvalue.org>
309
310 * boot-9.scm (expt): switch if sense and use negative? rather than
311 >= 0.
312
3538c2b2
MV
3132002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
314
315 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
316 limit the signal stack.
317
f4232aa6
MV
3182002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
319
320 * boot-9.scm (feature?): Added deprecation message.
321
5fc0857e
RB
3222002-09-14 Rob Browning <rlb@defaultvalue.org>
323
324 * boot-9.scm (sqrt): minor indentation fix.
325
cfcdb8e9
MV
3262002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
327
328 * syncase.scm: Set the module transformer of the-syncase-module so
329 that we can use define-syntax.
330 (define-syntax-public): New and exported.
331
3322002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
333
334 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
335 (sc-macro): Set the expansion-eval-closure expanding the form.
336 (putprop, getprop): Use the expansion-eval-closure to find
337 variables instead of the current module.
338
fdf7e1d7
MV
3392002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
340
341 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
342
7c38399f
DH
3432002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
344
345 * boot-9.scm (define-option-interface): Replaced "macro" by
346 mmacro.
347
1334c61a
GH
3482002-06-01 Gary Houston <ghouston@arglist.com>
349
350 * boot-9.scm (file-set-position): Make third argument optional,
351 for SCM compatibility.
352 (file-position): simplify definition.
353
be87cdb7
MV
3542002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
355
356 * boot-9.scm (file-set-position): Use seek instead of fseek.
357
e717bf46
MV
3582002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
359
360 * format.scm (format:out-inf-nan): New.
361 (format:out-fixed, format:out-expon, format:out-general): Use it
362 to print infs and nans.
363
364 * boot-9.scm (unsetenv): New, for completeness.
365
9ea4ac37
MV
3662002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
367
368 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
369 print long real numbers with large positive and negative
370 exponents.
371
45845efe
MV
3722002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
373
374 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
375
0bd1b44f
TTN
3762002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
377
378 * gap-buffer.scm: New file.
379
380 * Makefile.am (ice9_sources): Add gap-buffer.scm.
381
c87af2d5
RB
3822002-03-12 Rob Browning <rlb@defaultvalue.org>
383
384 * syncase.scm: fix bad let.
385 (gensym): fix failure on non-threaded
386
6c5b8521
TTN
3872002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
388
389 * ftw.scm: New file.
390
391 * Makefile.am (ice9_sources): Add ftw.scm.
392
327d4dd3
TTN
3932002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
394
395 * Makefile.am: Update path to pre-inst-guile automake frag.
396
d51b42e2
TTN
397 * boot-9.scm: Comment grammar fixes; nfc.
398 Thanks to Christopher Cramer.
399
46151112
RB
4002002-02-24 Rob Browning <rlb@defaultvalue.org>
401
402 * syncase.scm (gensym): redefine locally so we can control it's
403 properties. This is in preparation for changing the future public
404 gensym to produce unreadable symbols.
405
406 * psyntax.pp: updated to reflect new syncase.scm.
407
90d4a6b0
TTN
4082002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
409
410 * regex.scm: Add commentary; nfc.
411
0187b4f4
TTN
4122002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
413
414 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
415
416 (psyntax.pp): Use $(preinstguile).
417
dd580bd6
MV
4182002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
419
420 * psyntax.ss (datum->syntax-object): Removed assertion in
421 datum->syntax-object that checked if the first argument, a
422 syntax-object, is an identifier. This was a unconvenient and
423 unnecessary restriction. Thanks to Dorai Sitaram!
424
0e6f7775
MV
4252002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
426
427