* srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
1798b73d
MD
12003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
2
3 * session.scm (apropos): Use hash-for-each instead of
4 array-for-each.
5
c35738c1
MD
62003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
7
231a4ea8
MD
8 * boot-9.scm (make-module): Changed default size from 1021 to 31
9 (since the size now adapts).
10 (macro-table, xformer-table): Changed default size from 523 to 61.
11 (make-module): Don't call make-hash-table with zero size.
12
c35738c1
MD
13 * Makefile.am (ice9_sources): Added weak-vector.scm.
14
15 * weak-vector.scm: New file.
16
17 * boot-9.scm (module-clear!): Use hash-clear!.
18 (module-for-each): Use hash-for-each.
19 (module-map): Use hash-map.
20
f59a096e
MD
212003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
22
23 * boot-9.scm (make-hash-table): Turned primitive.
24
e963ac2c
MD
252003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
26
27 * syncase.scm (guile-macro): Strip syntactic information from
28 expression before trying to treat it as a Guile macro call.
29 (Thanks to Kevin Ryde.)
30
c2950e36
MD
312003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
32
33 * threads.scm (parallel, letpar): Rewritten.
34
f4719f31
MD
352003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
36
37 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
38 futures.
39
93f26b7b
MD
402003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
41
51407fa0
MD
42 * occam-channel.scm (alt): New syntax.
43
93f26b7b
MD
44 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
45 operator as a primitive procedure.
46 (build-data): Quote vectors (psyntax.ss requires this).
47
482003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
49
50 * psyntax.ss (self-evaluating?): Allow procedures implanted in
51 source. (Guile uses this internally.)
52
80f225df
MD
532003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
54
55 * psyntax.ss (build-data): Don't quote self-evaluating expressions
56 in output. (We normally *would* like also these expressions to be
57 quoted, but until Guile's native macros and syncase cooperates
58 better, it is less destructive not to quote.)
59 (self-evaluating?): Removed null? (In Guile, the empty list is not
60 self-evaluating).
61 (sc-chi): Export chi as sc-chi.
62 (external-macro): New syntax type.
63
64 * psyntax.pp: Regenerated.
65
66 * compile-psyntax.scm: Set expansion-eval-closure.
7906d57d 67
cf743aea
MD
68 * boot-9.scm (use-syntax): Return *unspecified*.
69
7906d57d
MD
70 * syncase.scm: Set expansion-eval-closure to
71 the-syncase-eval-closure during booting so that variables are
cf743aea
MD
72 created in the correct module.
73 (syncase): Set expansion-eval-closure.
7906d57d
MD
74 (define-syntax define-syntax-public eval-when fluid-let-syntax
75 identifier-syntax let-syntax letrec-syntax syntax syntax-case
76 syntax-rules with-syntax include): Removed definitions (these are
77 created from within psyntax.pp).
80f225df
MD
78 Enable expansion of Guile macros during a syntax-case
79 transformation.
cf743aea 80
60eefd9c
MD
812003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
82
8411a446 83 * occam-channel.scm (make-channel): Renamed from channel.
fb831451 84 (make-timer): New function.
8411a446 85
60eefd9c
MD
86 * Makefile.am (ice9_sources): Added occam-channel.scm.
87
88 * occam-channel.scm: New file. Implements occam-like channels.
89
db853761
NJ
902002-12-28 Neil Jerram <neil@ossau.uklinux.net>
91
92 * boot-9.scm (module-defined-hook): New hook, run whenever a new
93 module is defined.
94 (process-define-module): Run this hook.
95
62d4fd94
MD
962002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
97
98 * threads.scm: Removed bogus definition of future-ref.
99
87623595
MD
1002002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
101
102 * threads.scm (par-map, par-for-each): Reimplemented using
103 joing-thread.
104 (parallel): Reimplemented using futures.
105 (n-par-map, n-for-each): New procedures.
106
edeea67b
MV
1072002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
108
109 * optargs.scm (improper-list-copy): New.
110 (parse-arglist): Use it instead of list-copy.
111
fc85d095
MD
1122002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
113
114 * threads.scm (letpar): New macro.
115
b2cbe8d8
RB
1162002-12-08 Rob Browning <rlb@defaultvalue.org>
117
118 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
119 GUILE_EFFECTIVE_VERSION.
120
121 * debugger/Makefile.am (subpkgdatadir): VERSION ->
122 GUILE_EFFECTIVE_VERSION.
123
124 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
125
abce330c
MD
1262002-12-04 Mikael Djurfeldt <mdj@linnaeus>
127
fc85d095
MD
128 * threads.scm (parallel): New macro.
129 (par-map, par-for-each): New procedures.
abce330c
MD
130
131 * documentation.scm (object-documentation): Added support for
132 defmacros.
133
f2cbc0e5
DH
1342002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
135
136 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
137 removing it in my patch from 2002-11-16.
138
9123414e
DH
1392002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
140
141 Thanks to Mikael Djurfeldt for a bugreport which led to the
142 following changes:
143
144 * slib.scm (%system-define): Removed.
145
146 (define): Changed to use define-private instead of
147 %system-define.
148
149 * boot-9.scm (define-private): Undid my changes from 2002-11-16
150 until Guile supports hygienic macros.
151
50a63003
NJ
1522002-11-17 Neil Jerram <neil@ossau.uklinux.net>
153
154 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
155 has been removed from the core.
156
c55bcb32
DH
1572002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
158
159 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
160 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
161 syntax-rules, with-syntax, include): Changed definitions to form
162 'real' macro definitions.
163
6aa9ea7c
DH
1642002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
165
166 * boot-9.scm (define-private, export-syntax, export-syntax):
167 Fixed my previous fix (blush).
168
ab382f52
DH
1692002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
170
171 * boot-9.scm (define-private, export-syntax, export-syntax):
172 Changed definitions to form 'real' macro definitions.
173
81cf290d
MV
1742002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
175
176 * format.scm (format): Use 'monitor' properly. Not the definition
177 needs to be restricted, the actual function needs to be.
178
3f619266
NJ
1792002-11-05 Neil Jerram <neil@ossau.uklinux.net>
180
181 * boot-9.scm (define-option-interface): Fix to "simplification"
182 change below.
183
184 * debugger/breakpoints/source.scm: Enable source property
185 recording when module is loaded.
186 (##): Cope with ports whose `filename' is not a string.
187
9124ba8d
NJ
1882002-11-04 Neil Jerram <neil@ossau.uklinux.net>
189
0983f67f
NJ
190 * boot-9.scm (define-option-interface): Simplify code-generation
191 code.
192
9124ba8d
NJ
193 * debugger/command-loop.scm (read-and-dispatch-command): Import
194 set-readline-prompt dynamically if we need to. (Previous
195 arrangement didn't work if this module was loaded before (ice-9
196 readline).)
197
eb2c5dcb
MV
1982002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
199
200 * format.scm (format): Wrap a monitor around format:format since
201 it is not thread-safe.
202
132fe7af
MV
2032002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
204
205 * threads.scm (%thread-handler): Explicitely return '#f'. This
206 value will be returned by join-thread.
207
8ee7506b
NJ
2082002-10-26 Neil Jerram <neil@ossau.uklinux.net>
209
210 Merging debugger enhancements previously in separate
211 `guile-debugger' package ...
212
213 * debugger.scm: Factored out into the following constituent parts
214 - see comment in file for more details.
215 (*not-yet-introduced*): New (avoids repeatedly introducing the
216 debugger when entering it from breakpoints).
217 (debug-stack): New.
218 (debug): Rewrite to use more general `debug-stack'.
219
220 * debugger/commands.scm, debugger/command-loop.scm,
221 debugger/state.scm, debugger/utils.scm: New files containing bits
222 of old (ice-9 debugger), plus some rewriting and enhancements for
223 breakpoint support ...
224
225 * debugger/state.scm (state-rtd): Add flags field.
226 (make-state): Extend to optionally take flags.
227 (state-flags): New, accessor for flags field.
228 (set-state-index!, set-stack-index!): New.
229 (write-state-short): Rewritten to print out the current source
230 location in a way that is more easily trackable by Emacs.
231
232 * debugger/commands.scm (assert-continuable, continue, finish,
233 trace-finish, step, next): New debugger commands for continuing
234 execution from a breakpoint.
235
236 * debugger/behaviour.scm, debugger/breakpoints.scm,
237 debugger/breakpoints/procedural.scm,
238 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
239 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
240 support.
241
242 * Makefile.am (SUBDIRS): Add debugger subdirectory.
243
244 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
245
03453b05
MV
2462002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
247
248 * threads.scm (%thread-handler): Do not call unmask-signals, that
249 should be unnecessary now.
250
a7785f36
MD
2512002-10-20 Mikael Djurfeldt <mdj@linnaeus>
252
253 * boot-9.scm (top-repl): Look for use-emacs-interface in
254 guile-user-module (should it be there?) instead of
255 the-root-module.
256
acfa1f52
MV
2572002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
258
259 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
260 (error-catching-loop): use call-with-blocked-asyncs and
261 call-with-unblocked-asyncs instead of mask-signals and
262 unmask-signals.
263
34010f56
NJ
2642002-10-09 Neil Jerram <neil@ossau.uklinux.net>
265
266 * buffered-input.scm (make-buffered-input-port): Build an
267 input-waiting thunk for just extended version of make-soft-port.
268
9bc54879
RB
2692002-10-04 Rob Browning <rlb@defaultvalue.org>
270
271 * boot-9.scm (expt): switch if sense and use negative? rather than
272 >= 0.
273
3538c2b2
MV
2742002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
275
276 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
277 limit the signal stack.
278
f4232aa6
MV
2792002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
280
281 * boot-9.scm (feature?): Added deprecation message.
282
5fc0857e
RB
2832002-09-14 Rob Browning <rlb@defaultvalue.org>
284
285 * boot-9.scm (sqrt): minor indentation fix.
286
cfcdb8e9
MV
2872002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
288
289 * syncase.scm: Set the module transformer of the-syncase-module so
290 that we can use define-syntax.
291 (define-syntax-public): New and exported.
292
2932002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
294
295 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
296 (sc-macro): Set the expansion-eval-closure expanding the form.
297 (putprop, getprop): Use the expansion-eval-closure to find
298 variables instead of the current module.
299
fdf7e1d7
MV
3002002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
301
302 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
303
7c38399f
DH
3042002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
305
306 * boot-9.scm (define-option-interface): Replaced "macro" by
307 mmacro.
308
1334c61a
GH
3092002-06-01 Gary Houston <ghouston@arglist.com>
310
311 * boot-9.scm (file-set-position): Make third argument optional,
312 for SCM compatibility.
313 (file-position): simplify definition.
314
be87cdb7
MV
3152002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
316
317 * boot-9.scm (file-set-position): Use seek instead of fseek.
318
e717bf46
MV
3192002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
320
321 * format.scm (format:out-inf-nan): New.
322 (format:out-fixed, format:out-expon, format:out-general): Use it
323 to print infs and nans.
324
325 * boot-9.scm (unsetenv): New, for completeness.
326
9ea4ac37
MV
3272002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
328
329 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
330 print long real numbers with large positive and negative
331 exponents.
332
45845efe
MV
3332002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
334
335 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
336
0bd1b44f
TTN
3372002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
338
339 * gap-buffer.scm: New file.
340
341 * Makefile.am (ice9_sources): Add gap-buffer.scm.
342
c87af2d5
RB
3432002-03-12 Rob Browning <rlb@defaultvalue.org>
344
345 * syncase.scm: fix bad let.
346 (gensym): fix failure on non-threaded
347
6c5b8521
TTN
3482002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
349
350 * ftw.scm: New file.
351
352 * Makefile.am (ice9_sources): Add ftw.scm.
353
327d4dd3
TTN
3542002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
355
356 * Makefile.am: Update path to pre-inst-guile automake frag.
357
d51b42e2
TTN
358 * boot-9.scm: Comment grammar fixes; nfc.
359 Thanks to Christopher Cramer.
360
46151112
RB
3612002-02-24 Rob Browning <rlb@defaultvalue.org>
362
363 * syncase.scm (gensym): redefine locally so we can control it's
364 properties. This is in preparation for changing the future public
365 gensym to produce unreadable symbols.
366
367 * psyntax.pp: updated to reflect new syncase.scm.
368
90d4a6b0
TTN
3692002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
370
371 * regex.scm: Add commentary; nfc.
372
0187b4f4
TTN
3732002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
374
375 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
376
377 (psyntax.pp): Use $(preinstguile).
378
dd580bd6
MV
3792002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
380
381 * psyntax.ss (datum->syntax-object): Removed assertion in
382 datum->syntax-object that checked if the first argument, a
383 syntax-object, is an identifier. This was a unconvenient and
384 unnecessary restriction. Thanks to Dorai Sitaram!
385
0e6f7775
MV
3862002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
387
388