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