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