* New material on macros.
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
c2c43dab
MG
12001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
2
3 * safe-r5rs.scm: Fix typo: make-rectangualr => make-rectangular.
4
41ed8fed
MV
52001-05-02 Marius Vollmer <mvo@zagadka.ping.de>
6
7 * boot-9.scm (begin-deprecated): New.
8 (call-with-deprecation): Removed.
9 (id): Use `issue-deprecation-warning' instead of
10 `call-with-deprecation'. Wrap definition in `begin-deprecated'.
11 (eval-in-module): Manifest deprecation via `begin-deprecation' and
12 `issue-deprecation-warning'.
13 (warn-autoload-deprecation): Deactivated.
14
c8127e2f
MV
152001-04-26 Marius Vollmer <mvo@zagadka.ping.de>
16
17 * boot-9.scm (the-module, set-current-module, current-module):
18 Removed, they are now defined in libguile.
19
9a6fb164
GH
202001-04-29 Gary Houston <ghouston@arglist.com>
21
22 * rw.scm: new file, for module (ice-9 rw).
23 * Makefile.am: add rw.scm.
24
a7981b6d
TTN
252001-04-28 Thien-Thi Nguyen <ttn@revel.glug.org>
26
27 * boot-9.scm, optargs.scm:
28 Surround commentary w/ standard markers; nfc.
29
30 * threads.scm, time.scm, channel.scm, expect.scm:
31 Add commentary; nfc.
32
835b2c87
TTN
332001-04-27 Thien-Thi Nguyen <ttn@revel.glug.org>
34
35 * documentation.scm: Update copyright.
36 Add commentary.
37 Use `define-module' `:export' clause instead of `define-public'.
38 Autoload (ice-9 regex) on `match:suffix'.
39
40 (default-in-line-re, default-after-line-re): New vars.
41 (default-scrub): New proc.
42 (file-commentary): New proc, exported.
43 (object-documentation): Expand docstring; nfc.
44
45 * session.scm: Update copyright.
46 Use (ice-9 rdelim).
47
48 (help): Consider a list of symbols that does not start with
49 `quote' as a module name and call `module-commentary' on it.
50 (module-filename, module-commentary): New procs.
51 (id): Delete.
52 (apropos): Use `identity' instead of deprecated `id'.
53 (help-usage): Add blurb about "(help (my module))" support.
54
7a6a68b1
MG
552001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
56
57 * Makefile.am (ice9_sources): Remove srfi-8.scm.
58
89448795
RB
592001-04-26 Rob Browning <rlb@cs.utexas.edu>
60
61 * srfi-8.scm: removed in favor of srfi/srfi-8.scm - (wasn't ever
62 in a production release).
63
2d857fb1
KN
642001-04-25 Keisuke Nishida <kxn30@po.cwru.edu>
65
66 * channel.scm: New file.
0d3e064b 67 * Makefile.am (ice9_sources): Include channel.scm.
2d857fb1 68
454a8a8f
KN
692001-04-19 Keisuke Nishida <kxn30@po.cwru.edu>
70
71 * receive.scm (receive): Use `define-macro'.
72
ff5546f5
KN
732001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
74
75 * boot-9.scm (load-compiled): New variable, initialized in the VM.
76 (try-module-autoload): Try loading compiled modules if applicable.
77
6b08d75b
KN
782001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
79
80 * boot-9.scm (call-with-deprecation): New procedure.
81 (identity): New procedure.
835b2c87 82 (id): Deprecated.
6b08d75b 83
8add1522
KN
842001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
85
86 * boot-9.scm (defmacro, define-macro, define-syntax-macro):
87 Define only at the top level.
88
a8944ae1
TTN
892001-04-06 Thien-Thi Nguyen <ttn@revel.glug.org>
90
91 * threads.scm: Update copyright.
92
93 Use `export' and `export-syntax' instead of
94 `define-public' and `defmacro-public'.
95
96 (make-thread): Rename first arg to `proc'; nfc.
97 (begin-thread, monitor): Rename second arg to `rest'; nfc.
98 (with-mutex): Rename second arg to `body'; nfc.
99
64143414
NJ
1002001-04-06 Neil Jerram <neil@ossau.uklinux.net>
101
102 * boot-9.scm (warn-autoload-deprecation): Close parenthesis in
103 "You just tried to autoload ..." message.
104
5273f7c9
KN
1052001-04-05 Keisuke Nishida <kxn30@po.cwru.edu>
106
107 * Makefile.am (ice9_sources): Add history.scm.
b727d0bd 108 * history.scm: Create the module (value-history) at the beginning.
5273f7c9 109
16c634ec
MV
1102001-03-29 Marius Vollmer <mvo@zagadka.ping.de>
111
112 * boot-9.scm (init-dynamic-module): Fix typo in call to
113 warn-autoload-deprecation. I feel silly.
114
8c2c9967
MV
1152001-03-27 Marius Vollmer <mvo@zagadka.ping.de>
116
117 * r4rs.scm (call-with-values): New definition, defers to
118 @call-with-values.
119
1202001-03-26 Marius Vollmer <mvo@zagadka.ping.de>
121
122 * boot-9.scm (warn-autoload-deprecation): New function.
123 (init-dynamic-module): Use it here to print warning. Only give
124 warning when a module has actually been found.
125
62532db3
MV
1262001-03-25 Marius Vollmer <mvo@zagadka.ping.de>
127
8c2c9967
MV
128 * boot-9.scm (init-dynamic-module): Issue warning about
129 auto-loading of compiled code modules being deprecated.
130
62532db3
MV
131 * Makefile.am (ice9_sources): Added "time.scm".
132
3b9e23a7
KN
1332001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
134
135 * time.scm (time): Reimplemented as a procedure call.
136 (Thanks to Marius Vollmer)
137
c40eb594
KN
1382001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
139
140 * safe-r5rs.scm (list): Export.
141
870777d7
KN
1422001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
143
144 * boot-9.scm (before-eval-hook, after-eval-hook,
145 before-print-hook, after-print-hook): New hooks.
146 (scm-style-repl): Call these hooks.
147
148 * history.scm: New file.
149
5e38caf1
KN
1502001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
151
152 * time.scm: New file.
153
656dfde1
DH
1542001-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
155
156 * oldprint.scm: Removed.
157
8cdeee7d
MD
1582001-03-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
159
160 * arrays.scm (make-array): Added quote in front of ().
161
d69947f7
KN
1622001-03-12 Keisuke Nishida <kxn30@po.cwru.edu>
163
164 * common-list.scm (count-if): New procedure.
165
451d273a
NJ
1662001-03-10 Neil Jerram <neil@ossau.uklinux.net>
167
168 * buffered-input.scm (make-buffered-input-port): New, more general
169 buffered input procedure. Does not assume that a newline
170 character should be interpolated between chunks of input returned
171 by the reader proc.
172 (make-line-buffered-input-port): Redefine in terms of
173 make-buffered-input-port.
174
406d8344
KN
1752001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
176
177 * match.scm: Don't export defstruct. Use (unquote defstruct) instead.
178
0c6f9602
MD
1792001-03-09 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
180
181 * Makefile.am (psyntax.pp): Added rule for producing psyntax.pp.
182
a55134ed
KN
1832001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
184
185 * match.scm: export defstruct.
186
86b96c16
MD
1872001-03-08 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
188
189 * psyntax.ss: Added FSF copyright notice. Added a notice of
3ffd876a
MD
190 changes in order to comply with paragraph 2a of the GPL. (Thanks
191 to Keith Wright.)
86b96c16 192
403a3345
NJ
1932001-03-07 Neil Jerram <neil@ossau.uklinux.net>
194
195 * buffered-input.scm (make-line-buffered-input-port): Don't set
196 the continuation flag for leading whitespace. Thanks to Dirk
197 Herrmann for the suggestion.
198
9155e458
NJ
1992001-03-05 Neil Jerram <neil@ossau.uklinux.net>
200
61819670
NJ
201 * optargs.scm (rest-arg->keyword-binding-list): Use "'()" instead
202 of "()".
203
9155e458
NJ
204 * buffered-input.scm: New file, with guts of line buffered input
205 port implementation extracted from guile-readline/readline.scm.
206
0109c4bf
MD
2072001-03-03 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
208
209 * stack-catch.scm: New file.
210
211 * Makefile.am (ice9_sources): Added stack-catch.scm.
212
2fd945df
MV
2132001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
214
215 * boot-9.scm, rdelim.scm: Use "'()" instead of "()" in all places
216 where the empty list is meant.
217
704f4e86
MD
2182001-02-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
219
220 * boot-9.scm (save-stack): Use `primitive-eval' for stack
221 cutting. Makes backtraces work again! Also added a reference to
222 save-stack from the place in the repl where the primitive-eval
223 frame is invoked.
224
c8762438
KN
2252001-02-25 Keisuke Nishida <kxn30@po.cwru.edu>
226
227 * match.scm: New file, including Andrew K. Wright's pattern matcher.
51e7dab6 228 * Makefile.am (ice9_sources): Added match.scm.
c8762438 229
b8d69b37
MV
2302001-02-16 Marius Vollmer <mvo@zagadka.ping.de>
231
232 * boot-9.scm (eval-when, eval-case): Renamed `eval-when' to
233 `eval-case', everywhere.
234
7af4defe
MV
2352001-02-13 Marius Vollmer <mvo@zagadka.ping.de>
236
237 * boot-9.scm (define-public): Removed spurious call to
238 `interaction-evironment'.
239 (define-public, defmacro-public): Use `export' instead of explicit
240 module magic.
241 (eval-when): New macro.
242 (define-module, use-modules, use-syntax, export): Use it to
243 restrict the use of these forms to the top level.
244 (define-public, defmacro-public): Only export binding when on
245 top-level.
246 (process-define-module): Call `set-current-module' with the
247 defined module.
248 (define-module): Simply call `process-define-module' without any
249 fuss (but only on top-level).
250 (named-module-use!): New function.
251 (top-repl): Do not use `define-module'. Use equivalent low-level
252 means instead.
a8944ae1 253
ec9709f0
MV
2542001-02-11 Marius Vollmer <mvo@zagadka.ping.de>
255
256 * boot-9.scm (scm-style-repl): Use `primitive-eval' instead of
257 `eval'.
258 (define-public): Do not use `eval'.
259
548728ea
MV
2602001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
261
262 * and-let-star-compat.scm: Display the warning to the
263 `current-error-port'.
a8944ae1 264
fbf0c8c7
MV
2652001-02-04 Marius Vollmer <mvo@zagadka.ping.de>
266
267 Avoid the use of "*" in file names for the benefit of lesser
268 operating systems.
a8944ae1 269
fbf0c8c7
MV
270 * and-let-star.scm, and-let*.scm: Renamed `and-let*.scm' to
271 `and-let-star.scm'. Updated module name as well.
272 * and-let-star-compat.scm: New file, installed as `and-let*.scm'.
273 * Makefile.am (ice9_sources): Replaced "and-let*.scm" with
274 "and-let-star.scm".
275 (install-data-local): Install "and-let-star-compat.scm" as
276 "and-let*.scm", ignoring errors.
277 (EXTRA_DIST): Distribute `and-let-star-compat.scm'.
a8944ae1 278
e9bab9df
DH
2792001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
280
281 This patch fixes a problem reported by Martin Grabmueller about
282 the impossibility to access readline's run-time options.
283
284 * boot-9.scm (define-option-interface): New macro. Allows to
285 conveniently define a group of option interface functions.
286
287 (readline-options readline-enable readline-disable,
288 readline-set!): Moved to guile-readline/readline.scm.
289
6d36532c
GH
2902001-01-24 Gary Houston <ghouston@arglist.com>
291
292 * boot-9.scm: don't import (ice-9 rdelim) here. it's done
293 in C for now.
294 * rdelim.scm: export the C primitives too.
295 * documentation.scm: use (ice-9 rdelim).
296
9d774814
GH
2972001-01-21 Gary Houston <ghouston@arglist.com>
298
299 * rdelim.scm: new file implementing module (ice-9 rdelim).
300 * ice-9.scm (scm-line-incrementors read-line! read-delimited!
301 read-delimited read-line): moved to rdelim.scm.
302 scm-line-incrementors is not exported.
303 * boot-9.scm: import (ice-9 rdelim) for backwards compatibility,
304 for now.
305 * lineio.scm: use module (ice-9 rdelim).
306 * Makefile.am (ice9_sources): add rdelim.scm.
307
17466330
DH
3082000-12-29 Dirk Herrmann <D.Herrmann@tu-bs.de>
309
310 * boot-9.scm (root-module-closure, scm-module-closure): Remove
311 calls '(symbol-interned? #f s)'. Formerly, these calls were
312 basically no-ops, guaranteed to return #t if 's' was a symbol.
313 After the separation of symbols and bindings, a call to
314 '(symbol-interned? #f s)' will only return #t if there really is a
315 binding for 's' in the scm_symhash table. Thanks to Dale P. Smith
316 for providing a test case that helped finding this bug.
317
10764e3c
DH
3182000-12-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
319
320 * session.scm (apropos): Completed the last patch, which did only
321 half the job. Thanks to Dale P. Smith.
322
b52e071b
DH
3232000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
324
325 * session.scm (apropos, apropos-fold): There are no weak bindings
326 any more.
327
6b098fec
DH
3282000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
329
330 * boot-9.scm (top-repl): Lookup 'use-emacs-interface in
331 the-root-module.
332
40fa5c3f
NJ
3332000-12-07 Neil Jerram <neil@ossau.uklinux.net>
334
335 * emacs.scm (flush-whitespace): Fix spelling typo ("recieving").
336
4e15fee8
DH
3372000-11-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
338
339 * boot-9.scm (read-delimited), lineio.scm
340 (make-line-buffering-input-port), regex.scm (match:prefix,
341 match:suffix, match:substring, regexp-substitute/global), slib.scm
342 (slib-parent-dir), string-fun.scm (split-after-char,
343 split-before-char, split-discarding-char, split-after-char-last,
344 split-before-char-last, split-discarding-char-last,
345 split-before-predicate, split-after-predicate,
346 split-discarding-predicate, separate-fields-discarding-char,
347 separate-fields-after-char, separate-fields-before-char,
348 string-prefix-predicate, sans-surrounding-whitespace,
349 sans-trailing-whitespace, sans-leading-whitespace,
350 sans-final-newline): Use substring instead of
351 make-shared-substring.
352
3923fa6d
GH
3532000-11-26 Gary Houston <ghouston@arglist.com>
354
355 * boot-9.scm: values?, get-values, values, call-with-values:
356 removed. values and call-with-values are now primitives and
357 the other two were only exported by accident. don't define
358 *values-rtd* record type or handle multiple values in
359 scm-style-repl.
360
a9c632a2
GH
3612000-11-07 Gary Houston <ghouston@arglist.com>
362
363 * popen.scm (open-output-pipe): added docstrings for open-input-pipe
364 and open-output-pipe.
365
8ccc61e8
GH
3662000-11-06 Gary Houston <ghouston@arglist.com>
367
368 * popen.scm (open-process): bug fix: don't use
369 close-all-ports-except to close ports in the child process, since
370 it causes port buffers to be flushed. they may be flushed again
371 in the parent, causing duplicate output. use a more elaborate
372 method for setting up the child descriptors (thanks to David
373 Pirotte for the bug report).
374 standard file descriptors 0, 1, 2 in the child process
375 are now set up from current-input-port etc., where possible.
a8944ae1 376
f304437e
DH
3772000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
378
379 * syncase.scm (eval): string=? requires a string argument.
380 Thanks to Dale P. Smith for the patch.
381
b4ad0dda
NJ
3822000-10-15 Neil Jerram <neil@ossau.uklinux.net>
383
384 * optargs.scm: Fix typos in commentary for bound? and lambda*.
385
4adc3028
DH
3862000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
387
388 * session.scm (apropos, apropos-fold): regexp-exec does not
389 accept symbol arguments any more. Thanks to Dale P. Smith for the
390 patch.
391
deaecea7
GH
3922000-09-30 Gary Houston <ghouston@arglist.com>
393
394 * posix.scm (setgrent): pass #t, not #f. thanks to
395 Jacques A. Vidrine.
396
db611983
NJ
3972000-09-29 Neil Jerram <neil@ossau.uklinux.net>
398
399 * documentation.scm (find-documentation-in-file): Modified
400 according to changed format of guile-procedures.txt caused by my
401 snarfing/makeinfo changes in libguile.
402
403 * session.scm (help-doc): Improvements to (help) output: (i) a
404 friendlier Emacs-style introduction line; (ii) where the help arg
405 matches multiple documented entries, print an initial list of the
406 entries for which documentation is found, before printing the
407 actual documentation entries themselves.
408
f7b0a8d1
MV
4092000-09-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
410
411 * boot-9.scm: Removed comment. (Thanks to Brad Knotwell.)
412
a5b265e3
DH
4132000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
414
415 * syncase.scm (putprop): Use the high-level property interface.
416
0eee4466
MD
4172000-09-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
418
419 * psyntax.ss (build-lexical-var): Use gentemp instead of gensym;
420 Convert first argument to a string.
421
422 * calling.scm (excursion-function-syntax,
423 getter-and-setter-syntax,
424 delegating-getter-and-setter-syntax): Call gensym with string
425 argument. (Thanks to Dale P. Smith.)
426
427 * oldprint.scm (print-table-add!): Ditto.
428
429 * boot-9.scm (gentemp): Moved to symbols.c.
430
8c142820
MV
4312000-08-27 Marius Vollmer <mvo@zagadka.ping.de>
432
433 * boot-9.scm (make-object-property): New function.
434
0745d387
MD
4352000-08-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
436
437 * boot-9.scm (make-record-type): Use `string-append' instead of
438 `symbol-append'.
439 (symbol-append): Map `symbol->string' on
440 args.
441 (obarray-symbol-append, obarray-gensym): Simply removed. I don't
442 think I'll announce this in NEWS even. One of the functions never
443 even worked... /mdj.
444 (find-and-link-dynamic-module, keyword->symbol): Use
445 `symbol->string'.
446 (try-module-autoload, process-define-module): Rewrote using R5RS
447 semantics.
448
9f174131
MD
4492000-08-24 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
450
451 * psyntax.ss (set!): Added generalized set! support to core syntax
452 form set!.
453
5aba8e27
MV
4542000-08-19 Marius Vollmer <mvo@zagadka.ping.de>
455
456 * optargs.scm (#\&): Changed #:allow-other-keys-value to
457 #:allow-other-keys. Thanks to Bill Schottstaedt!
458
6219924c
MV
4592000-08-17 Marius Vollmer <mvo@zagadka.ping.de>
460
461 * optargs.scm (#\&): Emit warning about `#&' being deprecated.
462
76ef92f3
MV
4632000-08-16 Marius Vollmer <mvo@zagadka.ping.de>
464
465 * optargs.scm: Replaced `#&' reader syntax with keywords.
466
d6f37755
MD
4672000-08-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
468
469 * format.scm (format:obj->str): Made tail-recursive. (Thanks to
470