Rename `ChangeLog' files to `ChangeLog-2008'.
[bpt/guile.git] / ice-9 / ChangeLog-2008
CommitLineData
091baf9e
NJ
12008-07-17 Neil Jerram <neil@ossau.uklinux.net>
2
3 * gds-client.scm (handle-nondebug-protocol): Add support for
4 setting a trap on code that is about to be evaluated.
5
b1860cb3
NJ
62008-04-14 Neil Jerram <neil@ossau.uklinux.net>
7
8 * gds-client.scm (gds-debug-trap): Ensure that frame index passed
9 to Emacs is always positive.
10
09499546
NJ
112008-03-19 Neil Jerram <neil@ossau.uklinux.net>
12
13 * debugging/ice-9-debugger-extensions.scm (command-loop): Use
14 needed modules.
15
e27d2495
LC
162008-02-22 Ludovic Courtès <ludo@gnu.org>
17
18 * match.scm: Export `match:andmap'. This fixes evaluation of
19 expressions like `(match expr (((_ ...) ...) #t))' where a list
20 of lists is to be matched.
21
7df13834
NJ
222008-01-22 Neil Jerram <neil@ossau.uklinux.net>
23
24 * COPYING: Removed.
25
dc061a74
LC
262007-10-02 Ludovic Courtès <ludo@gnu.org>
27
28 * slib.scm: Let SLIB's `guile.init' do most of the job. See the
29 `guile-devel@gnu.org' mailing list archive for details.
30
d7c0c26d
LC
312007-09-01 Andy Wingo <wingo@pobox.com>
32
33 * boot-9.scm (duplicate-handlers)[warn, warn-override-core]:
34 Send warnings to `stderr' instead of `stdout'.
35
3ba9acb1
LC
362007-08-08 Ludovic Courtès <ludo@gnu.org>
37
38 * boot-9.scm (%record-type-check): Renamed to
39 `%record-type-error'.
40 (record-accessor): Directly use `struct-vtable' and
41 `struct-ref', thereby avoiding indirections and procedure-call
42 overhead.
43 (record-modifier): Likewise.
44
608860a5
LC
452007-05-05 Ludovic Courtès <ludo@chbouib.org>
46
47 Implemented lazy duplicate binding handling. Fixed the
48 `module-observe-weak' API.
49
50 * boot-9.scm: Updated the `module-type' documentation under "{Low
51 Level Modules}".
52 (module-type)[import-obarray]: New slot.
53 [duplicates-interface, observer-id]: Removed.
54 (make-module): Updated accordingly. Use a weak-key hash table for
55 weak observers, so that observers aren't unregistered when the
56 observing closure gets GC'd.
57 (module-duplicates-interface, set-module-duplicates-interface!,
58 module-observer-id, set-module-observer-id!): Removed.
59 (module-import-obarray): New.
60 (module-observe-weak): Accept a new OBSERVER-ID argument allowing
61 callers control over when the observer will get unregistered.
62 (module-call-observers): Use `hash-for-each' rather than
63 `hash-fold'.
64 (module-local-variable, module-variable): Removed, now implemented
65 in C.
66 (module-make-local-var!): Simplified. No need to check for the
67 value of a same-named imported binding since the newly created
68 variable is systematically assigned afterwards.
69 (module-use!): Check whether MODULE and INTERFACE are `eq?'.
70 (module-use-interfaces!): Simplified. No longer calls
71 `process-duplicates'.
72 (beautify-user-module!): Use `module-use!' rather than
73 `set-module-uses!' when importing THE-SCM-MODULE.
74 (process-define-module): Added an AUTOLOADS local variable so that
75 autoloads are handled separately from regular interfaces.
76 (make-autoload-interface): Updated `module-constructor'
77 invocation.
78 (module-autoload!): New.
79 (make-duplicates-interface, process-duplicates): Removed.
80 (top-repl): Use `module-autoload!' rather than
81 `make-autoload-interface'.
82
169ccff5
NJ
832007-02-18 Neil Jerram <neil@ossau.uklinux.net>
84
85 * gds-client.scm (connect-to-gds): Break generation of client name
86 into ...
87 (client-name): New procedure.
88 (client-name): Put something from (program-arguments) in the
89 client name that GDS displays in Emacs.
90 (connect-to-gds, client-name): Add application-name arg to allow
91 caller to specify client name.
92
e6ee0d48
LC
932007-02-09 Ludovic Courtès <ludovic.courtes@laas.fr>
94
95 * Makefile.am (ice9_sources): Added `i18n.scm'.
96
a2f00b9b
LC
972007-01-31 Ludovic Courtès <ludovic.courtes@laas.fr>
98
99 * i18n.scm: Use `(ice-9 optargs)'. Don't export `LC_*_MASK'
100 variables. Added new exports.
101 (locale-encoding, locale-day-short, locale-day,
102 locale-month-short, locale-month, locale-am-string,
103 locale-pm-string, locale-date+time-format, locale-date-format,
104 locale-time-format, locale-time+am/pm-format, locale-era,
105 locale-era-year, locale-era-date+time-format,
106 locale-era-date-format, locale-era-time-format,
107 locale-currency-symbol, locale-monetary-fractional-digits,
108 locale-monetary-positive-sign, locale-monetary-negative-sign,
109 locale-monetary-decimal-point,
110 locale-monetary-thousands-separator,
111 locale-monetary-digit-grouping,
112 locale-currency-symbol-precedes-positive?,
113 locale-currency-symbol-precedes-negative?,
114 locale-positive-separated-by-space?,
115 locale-negative-separated-by-space?,
116 locale-positive-sign-position, locale-negative-sign-position,
117 %number-integer-part, add-monetary-sign+currency,
118 monetary-amount->locale-string, locale-digit-grouping,
119 locale-decimal-point, locale-thousands-separator,
120 number->locale-string, locale-yes-regexp, locale-no-regexp): New
121 procedures.
122 (define-vector-langinfo-mapping, define-simple-langinfo-mapping,
123 define-monetary-langinfo-mapping): New macros.
124
9a18d8d4
KR
1252007-01-04 Kevin Ryde <user42@zip.com.au>
126
127 * boot-9.scm (top-repl): Check (defined? 'SIGBUS) before using that
128 value, there's no such signal on mingw. Reported by Cesar Strauss.
129
1302006-12-13 Kevin Ryde <user42@zip.com.au>
131
132 * boot-9.scm (use-srfis, top-repl): Use process-use-modules, to
133 correctly handle duplicates between the core and other modules, in
134 particular srfi-17 which should replace `car' etc (but didn't).
135
1362006-12-09 Kevin Ryde <user42@zip.com.au>
137
138 * boot-9.scm (top-repl): Remove module-use! of the core `(guile)'
139 module. It's already in `(guile-user)' and the module-use! elevates
140 it making core bindings override those from elsewhere, such as `iota'
141 under a run of "guile --use-srfi=1". Reported by Sven Hartrumpf.
142
31b6212e
NJ
1432006-11-13 Neil Jerram <neil@ossau.uklinux.net>
144
145 * boot-9.scm (environment-module): Change eval-closure-module call
146 back to procedure-property lookup. (This completes the reversion
147 of the change made on 2005-06-10, which was only partially undone
148 by the change on 2005-08-01.)
149
e2d23cc0
NJ
1502006-10-13 Neil Jerram <neil@ossau.uklinux.net>
151
152 Integration of Unix domain socket patch from William Xu:
153
154 * gds-client.scm (connect-to-gds): Try to connect by Unix domain
155 socket if TCP connection fails.
156
157 * gds-server.scm (run-server): Update to support listening on a
158 Unix domain socket.
159
afc4ccd4
KR
1602006-10-05 Kevin Ryde <user42@zip.com.au>
161
162 * ftw.scm (visited?-proc): Use hashv since we know we're getting
163 numbers. Incorporate stat:dev, since stat:ino is only unique within a
164 single device. This fixes a bug where if two files with the same
165 inode on different devices where seen only the first would be returned
166 by ftw (and nftw).
167
83a5b41b
NJ
1682006-10-03 Neil Jerram <neil@ossau.uklinux.net>
169
170 * gds-client.scm (run-utility): Remove unnecessary
171 `connect-to-gds' call.
172
63258dc9
NJ
1732006-09-30 Neil Jerram <neil@ossau.uklinux.net>
174
175 * debugging/ice-9-debugger-extensions.scm (debug-trap): Use
176 `debugger-command-loop' instead of `read-and-dispatch-commands',
177 which isn't actually available. Thanks to Carlos Pita for
178 reporting this.
179 (debugger-command-loop): Define here for 1.6.x.
180
ee6be719
NJ
1812006-09-25 Neil Jerram <neil@ossau.uklinux.net>
182
183 * debugging/ice-9-debugger-extensions.scm (debugger:step):
184 Docstring improvements.
185 (debugger:next): Docstring improvements.
186 (debugger:continue): Docstring improvements.
187
188 * debugger/commands.scm (up, down): Docstring corrections.
189 (info-args, info-frame, position, evaluate): Docstring
190 improvements.
191
afc4ccd4
KR
1922006-09-23 Kevin Ryde <user42@zip.com.au>
193
194 * boot-9.scm (log, log10, exp, sqrt): Remove, now in
195 libguile/numbers.c.
196
1972006-09-07 Kevin Ryde <user42@zip.com.au>
198
199 * format.scm: Module "(ice-9 threads)" no longer used, now no mutex.
200 (format:parse-float): Fix normalization of leading zeros like "02.5"
201 to "2.5". left-zeros was zeroed before adjusting format:fn-dot,
202 resulting in the latter being unchanged.
203
8746959c
NJ
2042006-08-18 Neil Jerram <neil@ossau.uklinux.net>
205
206 * debugging/trc.scm: New file.
207
208 * debugging/traps.scm: New file.
209
210 * debugging/trace.scm: New file.
211
212 * debugging/steps.scm: New file.
213
214 * debugging/load-hooks.scm: New file.
215
216 * debugging/ice-9-debugger-extensions.scm: New file.
217
218 * debugging/example-fns.scm: New file.
219
220 * debugging/breakpoints.scm: New file.
221
222 * debugging/Makefile.am: New.
223
224 * Makefile.am (SUBDIRS): Add debugging.
225
afc4ccd4
KR
2262006-08-02 Kevin Ryde <user42@zip.com.au>
227
228 * boot-9.scm (%record-type-check): New function.
229 (record-accessor, record-modifier): Use it for a strict type check of
230 the given record. Previously an accessor returned #f on a wrong
231 record type, and modifier silently did nothing.
232
ea19f0b3
NJ
2332006-06-19 Neil Jerram <neil@ossau.uklinux.net>
234
235 * Makefile.am (ice9_sources): Add new files.
236
237 * gds-client.scm, gds-server.scm: New files.
238
5be9f729
KR
2392006-05-28 Kevin Ryde <user42@zip.com.au>
240
241 * documentation.scm (file-commentary): Move make-regexp into
242 file-commentary so that it's possible to get to the repl prompt when
243 regexps are not available.
244
2452006-05-09 Kevin Ryde <user42@zip.com.au>
246
247 * threads.scm (n-par-for-each, n-for-each-par-map): Two more spots
248 where `futures' should become `threads' from Marius' change of
249 2006-01-29.
250
a2f00b9b 2512006-03-04 Ludovic Courtès <ludovic.courtes@laas.fr>
cd5fea8d
KR
252
253 * ice-9/boot-9.scm (make-autoload-interface): Don't call `set-car!' if
254 the autoload interface has already been removed from MODULE's uses.
255 This bug showed up when using a given module both with `autoload' and
256 `use-module'.
257
2582006-02-21 Kevin Ryde <user42@zip.com.au>
259
260 * format.scm (format:out-dollar): Use format:out-inf-nan per ~f etc.
261
1aaa1c17
MV
2622006-02-12 Marius Vollmer <mvo@zagadka.de>
263
264 * deprecated.scm (make-uniform-array): Don't pass the prototype as
265 the fill value, dimensions->uniform-array will do the right thing
266 now. See scm_dimensions_to_uniform_array why we need to be tricky
267 about the fill value.
268
56658166
NJ
2692006-02-04 Neil Jerram <neil@ossau.uklinux.net>
270
2328328f
NJ
271 * boot-9.scm (try-module-autoload): Make sure that module code is
272 loaded with the default reader (current-reader #f). Thanks to
a2f00b9b 273 Ludovic Courtès for pointing this problem out.
2328328f 274
56658166
NJ
275 * stack-catch.scm (stack-catch): Use catch pre-unwind handler
276 instead of lazy-catch.
277
278 * boot-9.scm (error-catching-loop): Use catch pre-unwind handler
279 instead of lazy-catch.
280
a2f00b9b 2812006-02-01 Ludovic Courtès <ludovic.courtes@laas.fr>
7a5e7cba
KR
282
283 * deprecated.scm (make-uniform-array): Fill the returned vector with
284 PROT, per guile 1.6 behaviour.
285
e28cd808
MV
2862006-01-30 Marius Vollmer <mvo@zagadka.de>
287
288 * threads.scm (ice-9): Export %thread-handler.
289
a64d0589
MV
2902006-01-29 Marius Vollmer <mvo@zagadka.de>
291
292 * threads.scm: Replaced 'futures' with threads.
293
27d64e2b
NJ
2942006-01-13 Neil Jerram <neil@ossau.uklinux.net>
295
296 * boot-9.scm (repl-reader): Use value of current-reader fluid to
a2f00b9b 297 do the read, if set. (Thanks to Ludovic Courtès for the patch.)
27d64e2b 298
ec3a8ace
NJ
2992005-12-14 Neil Jerram <neil@ossau.uklinux.net>
300
301 * boot-9.scm (load-module): Support an optional custom reader arg,
302 implemented by passing on to r4rs's load.
303
304 * r4rs.scm (load): Support an optional custom reader arg,
305 implemented by passing on to primitive-load.
306
9d9ce2b5
MV
3072005-12-06 Marius Vollmer <mvo@zagadka.de>
308
309 From Stephen Compall.
310
311 * boot-9.scm (%cond-expand-features): Add srfi-61.
312
a2f00b9b 3132005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
551387fd
KR
314
315 * networking.scm (sockaddr:flowinfo, sockaddr:scopeid): New functions.
316
25bdfbb6
NJ
3172005-09-01 Neil Jerram <neil@ossau.uklinux.net>
318
319 * debugger/utils.scm: Export write-frame-long.
320
7f278dc6
MV
3212005-08-01 Marius Vollmer <mvo@zagadka.de>
322
323 * boot-9.scm (set-module-eval-closure!): Undone change from
324 2005-06-10; with the new weak hashtable semantics, cyclic
325 references are no longer a problem.
326
9f4f1758
NJ
3272005-07-09 Neil Jerram <neil@ossau.uklinux.net>
328
4199ace5
NJ
329 * debugger.scm: Remove comments which are now incorrect.
330
d5c3f236
NJ
331 * debugger/Makefile.am (ice9_debugger_sources): Removed
332 breakpoints.scm, behaviour.scm, trap-hooks.scm.
333 (SUBDIRS): Removed.
334
9f4f1758
NJ
335 Changes to remove breakpoint support from CVS, as I am now
336 developing this function outside Guile core.
337
338 * debugger/commands.scm (assert-continuable, continue, finish,
339 trace-finish, step, next): Removed.
340
341 * debugger/breakpoints/*: Removed.
342
343 * debugger/breakpoints.scm: Removed.
344
345 * debugger/command-loop.scm: Remove command definitions for
346 continue, finish, trace-finish, step and next.
347
348 * debugger/behaviour.scm: Removed.
349
350 * debugger.scm (debug-stack): Remove GDS related code.
351
e4da0740
HWN
3522005-06-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
353
354 * boot-9.scm (set-module-eval-closure!): remove
355 set-procedure-property! closure 'module. Setting this property
356 causes un-gc-able modules.
357
fccc3e92
MV
3582005-06-05 Marius Vollmer <mvo@zagadka.de>
359
360 * boot-9.scm (substring-fill!): New, for compatability.
361
8cb2eff8
KR
3622005-04-23 Kevin Ryde <user42@zip.com.au>
363
364 * boot-9.scm (make-list): Moved to C code in list.c
365
c0575bde
KR
3662005-04-14 Kevin Ryde <user42@zip.com.au>
367
368 * boot-9.scm (1+, 1-): Moved to numbers.c.
369
d1ad188c
KR
3702005-03-08 Kevin Ryde <user42@zip.com.au>
371
372 * slib.scm (*features*): Remove 'random, need to use the slib code for
373 that module since guile doesn't provide `random:chunk'.
374
f7fb2f39
RB
3752005-02-12 Rob Browning <rlb@defaultvalue.org>
376
377 * boot-9.scm (%cond-expand-features): add srfi-55.
378 (require-extension): add require-extension macro for srfi-55.
379
bba35c80
KR
3802005-01-29 Kevin Ryde <user42@zip.com.au>
381
382 * regex.scm (regexp-quote): Use string-for-each, now that function is
383 in the core.
384
4d38e6f0
KR
3852005-01-28 Kevin Ryde <user42@zip.com.au>
386
387 * boot-9.scm (while): Remove the unquote from do, it breaks with ice-9
388 syncase. Reported by Pach Roman.
389
1a523873
MV
3902005-01-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
391
392 * arrays.scm, deprecated.scm (uniform-vector-fill!,
393 make-uniform-vector, make-uniform-array, list->uniform-vector):
394 Moved from arrays.scm to deprecated.scm.
395 * arrays.scm, boot-9.scm (array-dimensions): Moved from arrays.scm
396 to boo-9.scm.
397 * Makefile.am (ice9_sources): Removed arrays.scm.
398
5be5e699
MV
3992005-01-02 Marius Vollmer <mvo@zagadka.de>
400
401 * arrays.scm (uniform-vector-fill!, make-uniform-vector,
402 make-uniform-array,list->uniform-array): Deprecated for real.
403
1ebcfa34
MV
4042004-12-29 Marius Vollmer <mvo@zagadka.de>
405
406 * arrays.scm (make-array, list->array): Removed.
407 (uniform-vector-fill!): Prepared to be deprecated.
408
3167d5e4
MV
4092004-12-22 Marius Vollmer <marius.vollmer@uni-dortmund.de>
410
411 * boot-9.scm (module-make-local-var!): When creating a new
412 variable, initialize it to the value of any imported variable with
413 the given name. This allows code like (define round round) to
414 work as expected.
415
416 From Antoine Mathys <tonigonenstein@users.sourceforge.net>:
417
418 * popen.scm: Support bidirectional communication by making
419 open-pipe support OPEN_BOTH as second argument and in that case
420 return a soft input-output port which uses two pipes internally.
421 Provide open-pipe* to execute programs without using the shell
422 (and actually base open-pipe on it) and the obvious
423 open-input-output-pipe.
424
e120686a
KR
4252004-12-14 Kevin Ryde <user42@zip.com.au>
426
427 * boot-9.scm: (string-any, string-every): Use a scheme wrapper around
428 the C code so for the final call to the predicate procedure is a tail
429 call, per SRFI-13 spec.
430
f41c1142
MV
4312004-12-01 mvo <mvo@zagadka.de>
432
433 * boot-9.scm (app, %app): Renamed former to the latter.
434 Previously, 'app' was reserved in every module. Now '%app' is
435 reserved, which is slightly better. The real fix is to not use
436 'local-ref' etc to find modules. Changed all uses.
437 * syncase.scm: Changed 'app' to '%app'.
438
d550e35f
MV
4392004-11-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
440
441 * arrays.scm: Do not use prototypes, use creator functions.
442
2ed34885
MV
4432004-11-10 Marius Vollmer <mvo@zagadka.de>
444
445 * arrays.scm (uniform-vector-read!, uniform-vector-write):
446 Removed.
447
a2b6a0e7
MV
4482004-11-05 Marius Vollmer <marius.vollmer@uni-dortmund.de>
449
450 * boot-9.scm: Do not add "." to %load-path. 'load' will still be
451 able to load files in the current directory, but 'use-modules' etc
452 will not.
453
5e9c05a1
MV
4542004-10-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
455
456 * arrays.scm: Do not install read-hash procedure for reading
457 arrays, this is done in libguile now.
458
7b1574ed
MV
4592004-10-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
460
461 * arrays.scm (uniform-vector?, uniform-vector-set!): Removed, now
462 provided by libguile.
463
79d52182
MV
4642004-10-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
465
466 * boot-9.scm: Added srfi-4 to cond-expand features.
467
98c712c4
MV
4682004-10-18 Marius Vollmer <marius.vollmer@uni-dortmund.de>
469
470 * format.scm (format:obj->str): Simplified considerably by using
471 object->string or display instead of implementing our own printer.
472 Handle format:read-proof here. Unreadable objects are recognized
473 by their "#<" prefix instead of by being unknown to the custom
474 printer (which would treat keywords as unprintable, for example).
475 (format:iobj->str): Removed.
476
aef0bdb4
MV
4772004-10-04 Marius Vollmer <marius.vollmer@uni-dortmund.de>
478
479 * boot-9.scm (symbol->keyword, keyword->symbol): Removed, they are
480 now implemented in C.
481
e5c2d5c8
KR
4822004-09-26 Kevin Ryde <user42@zip.com.au>
483
484 * optargs.scm (let-optional-template, let-keywords-template): Change
485 "(begin body)" to "(let () body)" for empty bindings, since the former
486 allows "internal defines" in body leak out to the surrounding
487 environment.
488
c9fedf8a
MV
4892004-09-23 Marius Vollmer <mvo@zagadka.de>
490
491 * boot-9.scm (handle-system-error): Pass rest argument to
492 display-backtrace for wrong-type-arg and out-of-range errors so
493 that the bad value gets highlighted.
494
1c923ba7
KR
4952004-09-04 Kevin Ryde <user42@zip.com.au>
496
497 * streams.scm (stream-for-each-many): Correction, should recurse into
498 itself, not stream-for-each-one.
499
2bd2014d
KR
500 * time.scm (time-proc): Make result inexact, since format ~f doesn't
501 support fractions currently.
502
e548be5f
MV
5032004-09-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
504
505 * boot-9.scm (expt): Only call integer-expt for an exact integer
506 exponent, not for an inexact integer one. Also, let integer-expt
507 handle negative exponents instead of doing it here.
508
b8d95267
KR
5092004-09-02 Kevin Ryde <user42@zip.com.au>
510
511 * format.scm (format:out): Ignore excess arguments, per common lisp.
512
513 * format.scm (format:out-num-padded): Print "+" on 0 under @ modifier.
514
24cc9192
KR
5152004-08-27 Kevin Ryde <user42@zip.com.au>
516
517 * regex.scm (regexp-quote): [ and | must be quoted. Quote ( ) { + ?
518 using char class [(] etc since \( in fact makes them become special in
519 regexp/basic.
520
4b0ad1f4
KR
5212004-08-25 Kevin Ryde <user42@zip.com.au>
522
523 * and-let-star.scm (and-let*): Give #t for an empty body, per srfi-2
524 spec, previously came out as an empty (begin).
525
c5080b51
MV
5262004-08-25 Marius Vollmer <mvo@zagadka.de>
527
c4c3360b 528 * boot-9.scm (%cond-expand-features): Added srfi-13 and srfi-14.
c5080b51 529
fac3b6bc
MV
5302004-08-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
531
532 * debugger/utils.scm (display-source): Use unmemoize-expr instead
533 of unmemoize.
534 (write-frame-short/expression): Likewise.
535
00ed256c
KR
5362004-08-18 Kevin Ryde <user42@zip.com.au>
537
538 * and-let-star.scm: Add cond-expand-provide srfi-2, since this module
539 provides that feature.
540 * receive.scm: Add cond-expand-provide srfi-8, since this module
541 provides that feature.
542
d2afa1fc
MV
5432004-08-09 Marius Vollmer <mvo@zagadka.de>
544
545 From Matthias Koeppe. Thanks!
546
547 * pretty-print.scm (generic-write): In the local procedure `wr', use
548 object->string to print all data (except for the reader macros),
549 rather than implementing an own printer. The user-visible
550 difference is that procedures and control characters like #\tab
551 are now printed in the same way as by `write'.
552
2975040b
KR
5532004-08-09 Kevin Ryde <user42@zip.com.au>
554
555 * slib.scm (*features*): Remove array and array-for-each, core
556 definitions are insufficient for latest slib.
557 (t, nil): New constants slib says are supposed to exist.
558 (call-with-open-ports, browse-url): New functions for latest slib.
559 Implementations taken from Template.scm (public domain).
560 (open-file): Extend core definition to accept symbols for the mode,
561 required by latest slib.
562 (delete-file): Replace core definition with version returning #t/#f as
563 per slib spec.
564 (system): Mark as #:replace to suppress override warning, use new
565 style "(@ (guile) system)" to call core function.
566
dc510157
KR
5672004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
568
569 * format.scm: Remove the arbitrary limit of 100 iterations for the
570 ~{...~} control structure.
571
2755366c
KR
5722004-07-10 Kevin Ryde <user42@zip.com.au>
573
574 * and-let-star.scm (and-let*): Remove unused variable "val".
575 * pretty-print.scm (read-macro-prefix): Remove unused variable "tail".
576
577 * boot-9.scm (%cond-expand-features): Add srfi-6 which is in the core.
578
579 * safe-r5rs.scm (re-export): Uncomment numerator, denominator,
580 rationalize, since they now exist.
581
40827c6d
KR
5822004-07-05 Kevin Ryde <user42@zip.com.au>
583
584 * slib.scm (system): Correction to redefinition, now guile is stricter
585 about when a define binding comes into existance.
586
3d2ada2f
DH
5872004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
588
589 * boot-9.scm: Reordered definitions such that macro definitions
590 preceed their first usage. Include and define deprecated stuff
591 late in the file to have a better change of detecting accidental
592 uses of deprecated definitions. Further, unified the layout a
593 little and grouped definitions more cleanly into topics.
594
41cfaa12
MV
5952004-05-24 Marius Vollmer <mvo@zagadka.de>
596
597 * history.scm (use-value-history): Use resolve-interface instead
598 of resolve-module so that only the exported bindings are searched.
599 (save-value-history): Export the newly defined variable. Reported
600 by Wolfgang Jaehrling.
601
9f84d6aa
DH
6022004-05-04 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
603
604 * boot-9.scm (resolve-module): Always start searching from the
605 root module. This will allow the C equivalent scm_resolve_module
606 to work, independent of what the current module is.
607
9b792a7e
MV
6082004-02-18 Marius Vollmer <mvo@zagadka.de>
609
610 * boot-9.scm (top-repl): Make the (guile-user) module use the
611 (ice-9 r5rs) module.
612
711a9fd7
MD
6132004-02-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
614
615 * boot-9.scm (module-map): Renamed hash-map -> hash-map->list.
616
2c284c94
NJ
6172004-02-09 Neil Jerram <neil@ossau.uklinux.net>
618
619 * debugger/trap-hooks.scm (debug-hook-membership): New, exported.
620
621 * debugger/commands.scm (debug-trap-hooks): New, exported.
622
f1dc5f45
MD
6232004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
624
625 * debugger/breakpoints/Makefile.am (TAGS_FILES),
626 debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
627 this variable instead of ETAGS_ARGS so that TAGS can be built
628 using separate build directory.
629
bb5ad88f
NJ
6302004-01-20 Neil Jerram <neil@ossau.uklinux.net>
631
632 * boot-9.scm (error-catching-loop): Back out 2003-11-19 change to
633 lazy-handler-dispatch lookup.
634
1dd2599f
MV
6352004-01-12 Marius Vollmer <mvo@zagadka.de>
636
637 * mapping.scm: Use '#:' prefix for keywords instead of ':'.
638 Thanks to Richard Todd!
639
9afa7a12
KR
6402004-01-11 Kevin Ryde <user42@zip.com.au>
641
7dd5eb58
KR
642 * slib.scm (system): New function, giving an exit code return in
643 accordance with slib spec.
644
9afa7a12
KR
645 Revert this, it breaks test-suite/tests/r5rs_pitfalls.test where
646 false-if-exception is used within syntax-rules. (Suspect syntax-rules
647 ought to support this sort of thing, but it doesn't right now.)
9afa7a12
KR
648 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
649 to depend on expansion environment.
650
96e3b2f8
MV
6512004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
652
653 * boot-9.scm (with-fluids): Use with-fluid* when only one fluid is
654 being set.
655
524cbf64
KR
6562004-01-07 Kevin Ryde <user42@zip.com.au>
657
658 * q.scm (q-pop!): Should be "null?" not "not" for end-of-list.
659 Reported by Richard Todd.
660
6d611fed
KR
6612004-01-04 Kevin Ryde <user42@zip.com.au>
662
663 * boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
664 to depend on expansion environment.
665
97ac013a
KR
666 * slib.scm (-1+, <?, <=?, =?, >?, >=?): Define as aliases for 1-, <,
667 <=, =, >, >= respectively, required by slib 'rev2-procedures but no
668 longer in the guile core.
669
64758fe2
NJ
6702003-11-19 Neil Jerram <neil@ossau.uklinux.net>
671
672 * boot-9.scm (error-catching-loop): Defer lookup of
673 lazy-handler-dispatch.
674
aff7e166
MV
6752003-11-17 Marius Vollmer <mvo@zagadka.de>
676
677 * boot-9.scm (@, @@): New macros.
678
37f5dfe5
DH
6792003-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
680
681 * boot-9.scm: Started comment about module system workings.
682
3273abd2
NJ
6832003-11-11 Neil Jerram <neil@ossau.uklinux.net>
684
30d90280
NJ
685 * debugger.scm: Change ui-* calls to gds-*.
686 (debug-on-error): Debug if throw key is in specified syms, not if
687 it isn't! Also throw 'abort after debugging, so as to skip the
688 REPL's backtrace.
689
3273abd2
NJ
690 * debugger/behaviour.scm (*trap*): New variable, stores trap type.
691 (before-enter-frame-hook, before-apply-frame-hook,
692 before-exit-frame-hook): Set here.
693 (debug-if-flag-set): Passed into flags on debug-stack call.
694 (at-step, at-next): Changed to debug at frame exit points as well.
695
696 * debugger/utils.scm: Big comment added.
697
6982003-10-30 Neil Jerram <neil@ossau.uklinux.net>
699
700 * debugger/ui-client.scm: Moved to ../emacs/gds-client.scm.
701
9f1af5d9
NJ
7022003-10-16 Neil Jerram <neil@ossau.uklinux.net>
703
704 * debugger/ui-client.scm (ui-connect): Add arg to say whether to
705 debug immediately on connection.
706 (ui-eval): Handle exceptions during read and evaluation.
707
708 * debugger.scm (debug-on-error, default-default-lazy-handler):
709 Remove an unnecessary level of indirection in calling lazy
710 handler.
711
e2de682c
MV
7122003-10-12 Marius Vollmer <mvo@zagadka.de>
713
714 * ftw.scm (directory-files): Close dir-stream when done. Thanks
715 to Paul Jarc!
716
ff6ea7b9
KR
7172003-10-09 Kevin Ryde <user42@zip.com.au>
718
719 * poe.scm (funcq-assoc): Rewrite, don't assume '() is false, and
720 actually traverse the given alist.
721
41a80feb
NJ
7222003-10-06 Neil Jerram <neil@ossau.uklinux.net>
723
724 * debugger/ui-client.scm (handle-instruction): Add evaluation
725 support.
726 (ui-eval): New.
727
02b0c692
NJ
7282003-10-04 Neil Jerram <neil@ossau.uklinux.net>
729
730 * debugger/ui-client.scm (ui-disable-async-thread,
731 ui-continue-async-thread, start-async-ui-thread): New.
732 (ui-command-loop): Call ui-disable-async-thread and
733 ui-continue-async-thread.
734 (handle-instruction): Read terminating newline char so it doesn't
735 cause following select to pop immediately.
736
79b1c5b6
NJ
7372003-09-25 Neil Jerram <neil@ossau.uklinux.net>
738
739 * debugger/ui-client.scm, debugger/ui-server.scm: New (work in
740 progress on new debugging front end).
741
7422003-09-24 Neil Jerram <neil@ossau.uklinux.net>
743
744 * debugger.scm (default-default-lazy-handler, debug-on-error):
745 New.
746
747 * debugger/behaviour.scm (debug-if-flag-set): Display debug entry
748 messages through (debugger-output-port).
749 (after-exit-frame-hook): Trace through (debugger-output-port).
750 (trace-here): Trace through (debugger-output-port).
751
752 * debugger/commands.scm (evaluate): If supplied expression is a
753 string, read from it before evaluating.
754 (evaluate): Change output format to "EXPR => VALUE".
755
9b4bbf47
KR
7562003-09-19 Kevin Ryde <user42@zip.com.au>
757
758 * popen.scm (open-process): Correction to previous fdes closing
759 change, need to watch out for stdin==stderr or stdout==stderr.
760
5dc1ba73
MV
7612003-09-15 Marius Vollmer <mvo@zagadka.de>
762
763 * format.scm (format): Rewritten as a big letrec to make it
764 reentrant. No mutex is necessary. Thanks to Clinton Ebadi!
765
7743d628
KR
7662003-09-13 Kevin Ryde <user42@zip.com.au>
767
768 * boot-9.scm (file-exists?): Use stat rather than access?, so as to
769 follow the effective UID/GID not the real ID. file-exists? is
cd56b181 770 normally used as a prelude to opening or some other operation, and
7743d628
KR
771 it's the effective ID which will apply there. Emacs file-exists-p
772 uses stat, presumably for the the same reason.
773
50e0ba57
MV
7742003-09-12 Marius Vollmer <mvo@zagadka.de>
775
776 * boot-9.scm (make-autoload-interface): Use a proper hashtable as
777 the obarray, not an empty vector.
778 (make-module): Always construct a hashtable for the obarray, even
779 for empty ones.
780
781 * format.scm (format:error): Use 'format:format' instead of
782 'format' since the latter will lock the mutex again that we have
783 already locked.
784 (format:format-work): Flag multiple '#' as an error.
785
2388d9af
KR
7862003-08-17 Kevin Ryde <user42@zip.com.au>
787
788 * boot-9.scm (while): Use a new key dynamically for each loop, so
789 break and continue associate to their loop even when recursing.
790
d97f9b42
KR
7912003-08-14 Kevin Ryde <user42@zip.com.au>
792
793 * boot-9.scm (while): Rewrite, continue as proper escape, break
794 without return value, break and continue new for each while form,
795 don't depend on bindings in expansion environment.
796
797 * popen.scm (open-process): Close input-fdes, output-fdes and
798 error-fdes after duping them to 0, 1 and 2.
799
996acdb8
KR
8002003-06-19 Kevin Ryde <user42@zip.com.au>
801
802 * threads.scm (parallel): For no forms, use `(values)' not `(begin)'.
803
42ad901d
DH
8042003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
805
806 * boot-9.scm (make-autoload-interface): Added missing quote around
807 vector constant.
808
47dee228
MV
8092003-05-20 Marius Vollmer <marius.vollmer@uni-dortmund.de>
810
811 * deprecated.scm (list*): Added.
812
6cced6fe
KR
8132003-05-10 Kevin Ryde <user42@zip.com.au>
814
815 * documentation.scm (file-commentary, find-documentation-in-file): Use
816 call-with-input-file, to close ports when done.
817
1b965c29
MV
8182003-05-03 Marius Vollmer <mvo@zagadka.de>
819
d04229df
MV
820 * gap-buffer.scm (point++n!, point+-n!): Use substring-move!
821 instead of substring-move-left! or substring-move-right!. Thanks
822 to Kevin Ryde.
823
824 * deprecated.scm (substring-move-left!, substring-move-right!):
825 New.
826
0d5271a2 827 * boot-9.scm (display-usage-report): Use keyword->symbol instead
6aa536b3 828 of keyword-symbol, which doesn't exist. Thanks to Kevin Ryde.
0d5271a2 829
2b24a689
MV
830 * hcons.scm (hashq-cons-get-handle): Pass only the expected four
831 arguments to hashx-get-handle. Thanks to Kevin Ryde!
832
1b965c29
MV
833 * lineio.scm (make-line-buffering-input-port) Pass 0 as second
834 argument to string-ref. Thanks to Kevin Ryde!
835
56b97da9
MD
8362003-04-25 Mikael Djurfeldt <mdj@kvast.blakulla.net>
837
838 * serialize.scm: New file.
839
359aab24
MD
8402003-04-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
841
842 * threads.scm (n-for-each-par-map): New procedure.
843
fc87c27a
MV
8442003-04-05 Marius Vollmer <mvo@zagadka.de>
845
846 * Changed license terms to the plain LGPL thru-out.
847
bd40d420
MV
8482003-03-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
849
850 * deprecated.scm: New file, to collect deprecated things.
851 * Makefile.am (ice9_sources): Added.
852
853 * boot-9.scm: Load "ice-9/deprecated.scm" when appropriate.
854 (try-load-module): Also try the old deprecated method, maybe.
855
570b5b14
MV
8562003-03-22 Marius Vollmer <mvo@zagadka.de>
857
858 * boot-9.scm (call/cc): Added.
859
44876271
MD
8602003-03-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
861
862 * list.scm: New file.
863
b80e1b5c
MV
8642003-03-19 Marius Vollmer <mvo@zagadka.de>
865
866 * format.scm (format:out-substr): Update the column counter
867 correctly. This fixes the behavior of ~T (tabbing) after ~F, for
868 instance. Thanks to Matthias Koeppe!
869
3742da68
MD
8702003-03-13 Mikael Djurfeldt <djurfeldt@nada.kth.se>
871
872 * session.scm (apropos): Don't look in duplicates interface.
873
70a459e3
MD
8742003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
875
65bed4aa
MD
876 * boot-9.scm (duplicate-handlers): Make sure the merge-generics
877 and merge-accessors handlers are available also before (oop goops)
878 has been loaded. This is so that people can put them as default
879 handlers without worrying about availability.
880
3802f9cc
MD
881 * slib.scm (logical:ipow-by-squaring): Removed.
882
fe6ee052
MD
883 * boot-9.scm (ipow-by-squaring): Removed.
884 (default-duplicate-binding-handler): Set default to
6496a663 885 '(replace warn-override-core warn last)
fe6ee052 886
d57da08b
MD
887 * boot-9.scm (module-make-local-var!): Use module-add!.
888 (module-primitive-add!): New function.
889 (resolve-interface): Use
890 (call-with-deferred-observers, module-call-observers): New
891 functions.
892 (module-defer-observers, module-defer-observers-mute,
893 module-defer-observers-table): New variables.
894 (process-define-module, process-use-modules, export, re-export):
895 Use call-with-deferred-observers.
8d8dac1f
MD
896 (module-duplicates-info, set-module-duplicates-info!): Removed.
897 (module-duplicates-handlers, module-duplicates-interface): New.
898 (module-type): Added duplicates-handlers and
899 duplicates-interface.
d57da08b
MD
900
901 * syncase.scm (eval): Mark as replacement.
902
903 * boot-9.scm (defmacro-public): Use export-syntax instead of export.
904
70a459e3
MD
905 * slib.scm (*features*): Set the core variable instead of defining
906 a local version.
907 (provide, provided?): Mark as replacements.
908
909 * boot-9.scm (beautify-user-module!): Don't install the duplicates
910 handler here.
911 (default-duplicate-binding-handler): Renamed from
912 default-module-duplicates-handler; Removed converter.
913 (process-duplicates): Lookup default duplicates handler dynamically.
914 (default-duplicate-binding-procedures): New parameter.
915
509a787a
MD
9162003-03-12 Mikael Djurfeldt <mdj@kvast.blakulla.net>
917
918 * slib.scm (identity): Removed. (Provided by core.)
919
f595ccfe
MD
9202003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
921
c614a00b
MD
922 * debugger/command-loop.scm: Prefix all commands imported from
923 (ice-9 debugger command-loop) with debugger:.
924
109c2c9f
MD
925 * boot-9.scm (process-duplicates): Use module-import-interface.
926 (module-symbol-interface): Removed.
c614a00b
MD
927 (resolve-interface): Process #:hide; Name custom interfaces
928 appropriately.
929 (module-use!, module-use-interfaces!): Remove existing interfaces
930 on the use-list based on module name rather than interface
931 identity so that custom interfaces truly replaces their previous
932 version.
109c2c9f 933
f595ccfe
MD
934 * boot-9.scm (module-override!, make-mutable-parameter,
935 lookup-duplicates-handlers, default-module-duplicates-handler):
936 New functions.
937 (process-duplicates): Don't call duplicates handlers for duplicate
938 bindings of the same variable.
939 (process-define-module): Process #:replace.
940 (compile-interface-spec, resolve-interface): Process #:prefix.
941
942 * format.scm (format): Marked as replacement.
943
944 * threads.scm (future, future-ref): Marked as replacements.
945
7b07e5ef
MD
9462003-03-07 Mikael Djurfeldt <djurfeldt@nada.kth.se>
947
948 These changes enables checking for duplicate imported bindings.
949
950 * boot-9.scm (process-define-module): Handle #:duplicates.
951 (module-use-interfaces! process-duplicates): New functions.
952 (duplicate-handlers): Dictionary of duplicate handlers.
953 (module-symbol-local-binding, module-symbol-binding): Bugfix.
954
1798b73d
MD
9552003-03-04 Mikael Djurfeldt <djurfeldt@nada.kth.se>
956
957 * session.scm (apropos): Use hash-for-each instead of
958 array-for-each.
959
c35738c1
MD
9602003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
961
231a4ea8
MD
962 * boot-9.scm (make-module): Changed default size from 1021 to 31
963 (since the size now adapts).
964 (macro-table, xformer-table): Changed default size from 523 to 61.
965 (make-module): Don't call make-hash-table with zero size.
966
c35738c1
MD
967 * Makefile.am (ice9_sources): Added weak-vector.scm.
968
969 * weak-vector.scm: New file.
970
971 * boot-9.scm (module-clear!): Use hash-clear!.
972 (module-for-each): Use hash-for-each.
973 (module-map): Use hash-map.
974
f59a096e
MD
9752003-02-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
976
977 * boot-9.scm (make-hash-table): Turned primitive.
978
e963ac2c
MD
9792003-01-27 Mikael Djurfeldt <djurfeldt@nada.kth.se>
980
981 * syncase.scm (guile-macro): Strip syntactic information from
982 expression before trying to treat it as a Guile macro call.
983 (Thanks to Kevin Ryde.)
984
c2950e36
MD
9852003-01-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
986
987 * threads.scm (parallel, letpar): Rewritten.
988
f4719f31
MD
9892003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se>
990
991 * threads.scm (par-mapper, n-par-map, n-par-for-each): Use
992 futures.
993
93f26b7b
MD
9942003-01-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
995
51407fa0
MD
996 * occam-channel.scm (alt): New syntax.
997
93f26b7b
MD
998 * psyntax.ss (self-evaluating?): Removed. Guile now provides this
999 operator as a primitive procedure.
1000 (build-data): Quote vectors (psyntax.ss requires this).
1001
10022003-01-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
1003
1004 * psyntax.ss (self-evaluating?): Allow procedures implanted in
1005 source. (Guile uses this internally.)
1006
80f225df
MD
10072003-01-16 Mikael Djurfeldt <djurfeldt@nada.kth.se>
1008
1009 * psyntax.ss (build-data): Don't quote self-evaluating expressions
1010 in output. (We normally *would* like also these expressions to be
1011 quoted, but until Guile's native macros and syncase cooperates
1012 better, it is less destructive not to quote.)
1013 (self-evaluating?): Removed null? (In Guile, the empty list is not
1014 self-evaluating).
1015 (sc-chi): Export chi as sc-chi.
1016 (external-macro): New syntax type.
1017
1018 * psyntax.pp: Regenerated.
1019
1020 * compile-psyntax.scm: Set expansion-eval-closure.
7906d57d 1021
cf743aea
MD
1022 * boot-9.scm (use-syntax): Return *unspecified*.
1023
7906d57d
MD
1024 * syncase.scm: Set expansion-eval-closure to
1025 the-syncase-eval-closure during booting so that variables are
cf743aea
MD
1026 created in the correct module.
1027 (syncase): Set expansion-eval-closure.
7906d57d
MD
1028 (define-syntax define-syntax-public eval-when fluid-let-syntax
1029 identifier-syntax let-syntax letrec-syntax syntax syntax-case
1030 syntax-rules with-syntax include): Removed definitions (these are
1031 created from within psyntax.pp).
80f225df
MD
1032 Enable expansion of Guile macros during a syntax-case
1033 transformation.
cf743aea 1034
60eefd9c
MD
10352003-01-10 Mikael Djurfeldt <djurfeldt@nada.kth.se>
1036
8411a446 1037 * occam-channel.scm (make-channel): Renamed from channel.
fb831451 1038 (make-timer): New function.
8411a446 1039
60eefd9c
MD
1040 * Makefile.am (ice9_sources): Added occam-channel.scm.
1041
1042 * occam-channel.scm: New file. Implements occam-like channels.
1043
db853761
NJ
10442002-12-28 Neil Jerram <neil@ossau.uklinux.net>
1045
1046 * boot-9.scm (module-defined-hook): New hook, run whenever a new
1047 module is defined.
1048 (process-define-module): Run this hook.
1049
62d4fd94
MD
10502002-12-18 Mikael Djurfeldt <mdj@kvast.blakulla.net>
1051
1052 * threads.scm: Removed bogus definition of future-ref.
1053
87623595
MD
10542002-12-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
1055
1056 * threads.scm (par-map, par-for-each): Reimplemented using
1057 joing-thread.
1058 (parallel): Reimplemented using futures.
1059 (n-par-map, n-for-each): New procedures.
1060
edeea67b
MV
10612002-12-12 Marius Vollmer <mvo@zagadka.ping.de>
1062
1063 * optargs.scm (improper-list-copy): New.
1064 (parse-arglist): Use it instead of list-copy.
1065
fc85d095
MD
10662002-12-09 Mikael Djurfeldt <djurfeldt@nada.kth.se>
1067
1068 * threads.scm (letpar): New macro.
1069
b2cbe8d8
RB
10702002-12-08 Rob Browning <rlb@defaultvalue.org>
1071
1072 * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
1073 GUILE_EFFECTIVE_VERSION.
1074
1075 * debugger/Makefile.am (subpkgdatadir): VERSION ->
1076 GUILE_EFFECTIVE_VERSION.
1077
1078 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
1079
abce330c
MD
10802002-12-04 Mikael Djurfeldt <mdj@linnaeus>
1081
fc85d095
MD
1082 * threads.scm (parallel): New macro.
1083 (par-map, par-for-each): New procedures.
abce330c
MD
1084
1085 * documentation.scm (object-documentation): Added support for
1086 defmacros.
1087
f2cbc0e5
DH
10882002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
1089
1090 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
1091 removing it in my patch from 2002-11-16.
1092
9123414e
DH
10932002-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
1094
1095 Thanks to Mikael Djurfeldt for a bugreport which led to the
1096 following changes:
1097
1098 * slib.scm (%system-define): Removed.
1099
1100 (define): Changed to use define-private instead of
1101 %system-define.
1102
1103 * boot-9.scm (define-private): Undid my changes from 2002-11-16
1104 until Guile supports hygienic macros.
1105
50a63003
NJ
11062002-11-17 Neil Jerram <neil@ossau.uklinux.net>
1107
1108 * emacs.scm (emacs-load): Locally define `read-and-eval!', as it
1109 has been removed from the core.
1110
c55bcb32
DH
11112002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1112
1113 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
1114 identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
1115 syntax-rules, with-syntax, include): Changed definitions to form
1116 'real' macro definitions.
1117
6aa9ea7c
DH
11182002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1119
1120 * boot-9.scm (define-private, export-syntax, export-syntax):
1121 Fixed my previous fix (blush).
1122
ab382f52
DH
11232002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1124
1125 * boot-9.scm (define-private, export-syntax, export-syntax):
1126 Changed definitions to form 'real' macro definitions.
1127
81cf290d
MV
11282002-11-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1129
1130 * format.scm (format): Use 'monitor' properly. Not the definition
1131 needs to be restricted, the actual function needs to be.
1132
3f619266
NJ
11332002-11-05 Neil Jerram <neil@ossau.uklinux.net>
1134
1135 * boot-9.scm (define-option-interface): Fix to "simplification"
1136 change below.
1137
1138 * debugger/breakpoints/source.scm: Enable source property
1139 recording when module is loaded.
1140 (##): Cope with ports whose `filename' is not a string.
1141
9124ba8d
NJ
11422002-11-04 Neil Jerram <neil@ossau.uklinux.net>
1143
0983f67f
NJ
1144 * boot-9.scm (define-option-interface): Simplify code-generation
1145 code.
1146
9124ba8d
NJ
1147 * debugger/command-loop.scm (read-and-dispatch-command): Import
1148 set-readline-prompt dynamically if we need to. (Previous
1149 arrangement didn't work if this module was loaded before (ice-9
1150 readline).)
1151
eb2c5dcb
MV
11522002-11-03 Marius Vollmer <mvo@zagadka.ping.de>
1153
1154 * format.scm (format): Wrap a monitor around format:format since
1155 it is not thread-safe.
1156
132fe7af
MV
11572002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
1158
1159 * threads.scm (%thread-handler): Explicitely return '#f'. This
1160 value will be returned by join-thread.
1161
8ee7506b
NJ
11622002-10-26 Neil Jerram <neil@ossau.uklinux.net>
1163
1164 Merging debugger enhancements previously in separate
1165 `guile-debugger' package ...
1166
1167 * debugger.scm: Factored out into the following constituent parts
1168 - see comment in file for more details.
1169 (*not-yet-introduced*): New (avoids repeatedly introducing the
1170 debugger when entering it from breakpoints).
1171 (debug-stack): New.
1172 (debug): Rewrite to use more general `debug-stack'.
1173
1174 * debugger/commands.scm, debugger/command-loop.scm,
1175 debugger/state.scm, debugger/utils.scm: New files containing bits
1176 of old (ice-9 debugger), plus some rewriting and enhancements for
1177 breakpoint support ...
1178
1179 * debugger/state.scm (state-rtd): Add flags field.
1180 (make-state): Extend to optionally take flags.
1181 (state-flags): New, accessor for flags field.
1182 (set-state-index!, set-stack-index!): New.
1183 (write-state-short): Rewritten to print out the current source
1184 location in a way that is more easily trackable by Emacs.
1185
1186 * debugger/commands.scm (assert-continuable, continue, finish,
1187 trace-finish, step, next): New debugger commands for continuing
1188 execution from a breakpoint.
1189
1190 * debugger/behaviour.scm, debugger/breakpoints.scm,
1191 debugger/breakpoints/procedural.scm,
1192 debugger/breakpoints/range.scm, debugger/breakpoints/source.scm,
1193 debugger/trap-hooks.scm, debugger/trc.scm: New files - breakpoint
1194 support.
1195
1196 * Makefile.am (SUBDIRS): Add debugger subdirectory.
1197
1198 * debugger/Makefile.am, debugger/breakpoints/Makefile.am: New.
1199
03453b05
MV
12002002-10-21 Marius Vollmer <mvo@zagadka.ping.de>
1201
1202 * threads.scm (%thread-handler): Do not call unmask-signals, that
1203 should be unnecessary now.
1204
a7785f36
MD
12052002-10-20 Mikael Djurfeldt <mdj@linnaeus>
1206
1207 * boot-9.scm (top-repl): Look for use-emacs-interface in
1208 guile-user-module (should it be there?) instead of
1209 the-root-module.
1210
acfa1f52
MV
12112002-10-10 Marius Vollmer <mvo@zagadka.ping.de>
1212
1213 * boot-9.scm (top-repl): Use 2 as the limit when saving the stack.
1214 (error-catching-loop): use call-with-blocked-asyncs and
1215 call-with-unblocked-asyncs instead of mask-signals and
1216 unmask-signals.
1217
34010f56
NJ
12182002-10-09 Neil Jerram <neil@ossau.uklinux.net>
1219
1220 * buffered-input.scm (make-buffered-input-port): Build an
1221 input-waiting thunk for just extended version of make-soft-port.
1222
9bc54879
RB
12232002-10-04 Rob Browning <rlb@defaultvalue.org>
1224
1225 * boot-9.scm (expt): switch if sense and use negative? rather than
1226 >= 0.
1227
3538c2b2
MV
12282002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
1229
1230 * boot-9.scm (top-repl): Use "1" instead of "%deliver-signals" to
1231 limit the signal stack.
1232
f4232aa6
MV
12332002-09-15 Marius Vollmer <mvo@zagadka.ping.de>
1234
1235 * boot-9.scm (feature?): Added deprecation message.
1236
5fc0857e
RB
12372002-09-14 Rob Browning <rlb@defaultvalue.org>
1238
1239 * boot-9.scm (sqrt): minor indentation fix.
1240
cfcdb8e9
MV
12412002-09-05 Marius Vollmer <mvo@zagadka.ping.de>
1242
1243 * syncase.scm: Set the module transformer of the-syncase-module so
1244 that we can use define-syntax.
1245 (define-syntax-public): New and exported.
1246
12472002-09-04 Marius Vollmer <mvo@zagadka.ping.de>
1248
1249 * syncase.scm (expansion-eval-closure, env->eval-closure): New.
1250 (sc-macro): Set the expansion-eval-closure expanding the form.
1251 (putprop, getprop): Use the expansion-eval-closure to find
1252 variables instead of the current module.
1253
fdf7e1d7
MV
12542002-07-08 Marius Vollmer <mvo@zagadka.ping.de>
1255
1256 * slib.scm (make-exchanger): Added. Thanks to Clinton Ebadi!
1257
7c38399f
DH
12582002-07-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
1259
1260 * boot-9.scm (define-option-interface): Replaced "macro" by
1261 mmacro.
1262
1334c61a
GH
12632002-06-01 Gary Houston <ghouston@arglist.com>
1264
1265 * boot-9.scm (file-set-position): Make third argument optional,
1266 for SCM compatibility.
1267 (file-position): simplify definition.
1268
be87cdb7
MV
12692002-06-01 Marius Vollmer <mvo@zagadka.ping.de>
1270
1271 * boot-9.scm (file-set-position): Use seek instead of fseek.
1272
e717bf46
MV
12732002-05-09 Marius Vollmer <mvo@zagadka.ping.de>
1274
1275 * format.scm (format:out-inf-nan): New.
1276 (format:out-fixed, format:out-expon, format:out-general): Use it
1277 to print infs and nans.
1278
1279 * boot-9.scm (unsetenv): New, for completeness.
1280
9ea4ac37
MV
12812002-05-08 Marius Vollmer <mvo@zagadka.ping.de>
1282
1283 * format.scm (format:fn-max): Increase to 400 so ~f and ~g can
1284 print long real numbers with large positive and negative
1285 exponents.
1286
45845efe
MV
12872002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
1288
1289 * syncase.scm: Use (ice-9 threads) so that with-mutex is defined.
1290
0bd1b44f
TTN
12912002-04-30 Thien-Thi Nguyen <ttn@giblet.glug.org>
1292
1293 * gap-buffer.scm: New file.
1294
1295 * Makefile.am (ice9_sources): Add gap-buffer.scm.
1296
c87af2d5
RB
12972002-03-12 Rob Browning <rlb@defaultvalue.org>
1298
1299 * syncase.scm: fix bad let.
1300 (gensym): fix failure on non-threaded
1301
6c5b8521
TTN
13022002-03-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
1303
1304 * ftw.scm: New file.
1305
1306 * Makefile.am (ice9_sources): Add ftw.scm.
1307
327d4dd3
TTN
13082002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org>
1309
1310 * Makefile.am: Update path to pre-inst-guile automake frag.
1311
d51b42e2
TTN
1312 * boot-9.scm: Comment grammar fixes; nfc.
1313 Thanks to Christopher Cramer.
1314
46151112
RB
13152002-02-24 Rob Browning <rlb@defaultvalue.org>
1316
1317 * syncase.scm (gensym): redefine locally so we can control it's
1318 properties. This is in preparation for changing the future public
1319 gensym to produce unreadable symbols.
1320
1321 * psyntax.pp: updated to reflect new syncase.scm.
1322
90d4a6b0
TTN
13232002-02-07 Thien-Thi Nguyen <ttn@giblet.glug.org>
1324
1325 * regex.scm: Add commentary; nfc.
1326
0187b4f4
TTN
13272002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org>
1328
1329 * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am.
1330
1331 (psyntax.pp): Use $(preinstguile).
1332
dd580bd6
MV
13332002-01-14 Marius Vollmer <mvo@zagadka.ping.de>
1334
1335 * psyntax.ss (datum->syntax-object): Removed assertion in
1336 datum->syntax-object that checked if the first argument, a
1337 syntax-object, is an identifier. This was a unconvenient and
1338 unnecessary restriction. Thanks to Dorai Sitaram!
1339
0e6f7775
MV
13402002-01-12 Marius Vollmer <mvo@zagadka.ping.de>
1341
a2f00b9b 1342 More options for pretty-print. Thanks to Matthias Köppe!
0187b4f4 1343
0e6f7775
MV
1344 * pretty-print.scm (generic-write): New per-line-prefix argument.
1345 (pretty-print): Check whether the new keyword argument style is
1346 used and dispatch to pretty-print-with-keys accordingly.
1347
ff0e175c
MV
13482001-11-27 Marius Vollmer <mvo@zagadka.ping.de>
1349
0e6f7775
MV
1350 * format.scm (string-index, list-head): Removed, we already have
1351 these in the core.
ff0e175c 1352
7ab89df1
MV
13532001-11-06 Marius Vollmer <mvo@zagadka.ping.de>
1354
1355 * boot-9.scm (turn-on-debugging): New function, to be used by
1356 scm_compile_shell_switches.
1357
1358 * debug.scm: Do not enable debugging and recording of source
1359 positions.
1360
1a179b03
MD
13612001-10-21 Mikael Djurfeldt <mdj@linnaeus>
1362
1363 * slib.scm (array-indexes): New procedure.
1364 (*features*): Extend. (Probably some of these options should be
1365 set elsewhere.) (Thanks to Aubrey Jaffer.)
1366
1367 * and-let-star-compat.scm, and-let-star.scm, calling.scm,
1368 channel.scm, common-list.scm, debug.scm, debugger.scm,
1369 expect.scm, hcons.scm, lineio.scm, ls.scm, mapping.scm,
1370 null.scm, optargs.scm, poe.scm, popen.scm, pretty-print.scm,
1371 q.scm, r5rs.scm, rdelim.scm, regex.scm, runq.scm, safe-r5rs.scm,
1372 safe.scm, session.scm, slib.scm, streams.scm, string-fun.scm,
1373 syncase.scm, threads.scm: Move module the system directives
1374 `export', `export-syntax', `re-export' and `re-export-syntax'
1375 into the `define-module' form. This is the recommended way of
1376 exporting bindings.
1377
39819fa9
MD
13782001-10-17 Mikael Djurfeldt <mdj@linnaeus>
1379
1380 * boot-9.scm (process-define-module): New options: :export-syntax,
1381 :re-export-syntax
1382
89759084
MD
13832001-10-14 Mikael Djurfeldt <mdj@linnaeus>
1384
1385 * arrays.scm (read:uniform-vector): Return *unspecified* instead
1386 of raising an exception if hash extend character isn't followed by
1387 the array list. (This prevents parsing of uniform vectors from
1388 interfering with parsing of numbers.)
1389
c81f296a
MD
13902001-10-08 Mikael Djurfeldt <mdj@linnaeus>
1391
1392 * emacs.scm (%%load-port, %%emacs-load, %%emacs-eval-request,
1393 %%emacs-select-frame, %%emacs-frame-eval, %%emacs-symdoc,
1394 %%apropos-internal): Use module-define! instead of
1395 builtin-variable.
1396
5d20b8c7
MD
13972001-09-24 Mikael Djurfeldt <mdj@linnaeus>
1398
1399 * boot-9.scm (process-define-module): Added :re-export.
1400
a7a6705e
TTN
14012001-09-19 Thien-Thi Nguyen <ttn@glug.org>
1402
af40357b
TTN
1403 * expect.scm: Commentary fix; nfc.
1404
a7a6705e
TTN
1405 * boot-9.scm (process-use-modules): Fix typo.
1406
29251bef
MD
14072001-09-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1408
1409 * Makefile.am (psyntax.pp): Reference compile-psyntax.scm in
1410 $(srcdir) in order to support separate build trees.
1411
2851e5bc
TTN
14122001-09-08 Thien-Thi Nguyen <ttn@revel.glug.org>
1413
1414 * optargs.scm (lambda*): Record the broken-down argument list in
1415 the `arglist' procedure property.
1416 * session.scm (arity): Use new `arglist' procedure property to
1417 present a more detailed argument list.
1418
a2f00b9b 1419 Thanks to Matthias Köppe!
2851e5bc 1420
95e2cd37
TTN
14212001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
1422
1423 * getopt-long.scm (process-options, getopt-long): Fix omission
1424 bug: Handle multiple occurrances of an option. Thanks to Daniel
1425 Skarda.
1426
8c494e99
DH
14272001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
1428
1429 * boot-9.scm: Don't load module (ice-9 rdelim).
1430
1431 (feature?): Deprecated.
1432
1433 (id, -1+, return-it, string-character-length, flags,
1434 eval-in-module, split-c-module-name,
1435 (convert-c-registered-modules, registered-modules,
1436 register-modules, warn-autoload-deprecation, init-dynamic-module,
1437 dynamic-maybe-call, dynamic-maybe-link,
1438 find-and-link-dynamic-module, try-using-libtool-name,
1439 try-using-sharlib-name, link-dynamic-module, try-module-linked,
1440 try-module-dynamic-link): Removed.
1441
1442 (module-make-local-var!, module-ensure-local-variable!,
ea2c3968 1443 module-define!): Eliminate call to `variable-set-name-hint!'.
8c494e99
DH
1444
1445 (try-load-module, use-syntax, module-export!): Remove deprecated
1446 functionality.
1447
1448 * format.scm: Remove deprecated definition of format that was
1449 needed to trick export.
1450
431e2ac1
DH
14512001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
1452
1453 * optargs.scm: Remove #& reader extension.
1454
fc6629a7
DH
14552001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
1456
1457 * and-let-star-compat.scm: Deleted.
1458
1459 * Makefile.am: Remove references to and-let-star-compat.scm.
1460
e09c8eb7
TTN
14612001-08-30 Thien-Thi Nguyen <ttn@revel.glug.org>
1462
1463 * boot-9.scm (resolve-interface): When returning a custom
1464 interface, also consult source module's entire binding set,
1465 not just its exported bindings, before throwing error.
1466
b573e744
MV
14672001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
1468
1469 * boot-9.scm (resolve-interface): Get variables from the public
1470 interface of a module instead of from the module itselfs.
1471
969e8e45
MV
14722001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
1473
1474 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
1475
4030287e
TTN
14762001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
1477
1478 * getopt-long.scm: Rewrite.
1479 Touch up docstrings.
1480 Augment commentary.
1481
d3b924ba
NJ
14822001-08-02 Neil Jerram <neil@ossau.uklinux.net>
1483
1484 * debugger.scm (run-last-command): Return current state if
1485 last-command fluid is not yet set.
1486
8940c16b
TTN
14872001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
1488
1489 * getopt-long.scm: Refill to fit in 80 columns.
1490
1491 (process-long-option): Fix bug: Keep track of `optional'
1492 value-required info and use this to determine whether or not the
1493 next element is to be taken as the option arg.
1494
88c4ba2a
KN
14952001-07-31 Keisuke Nishida <knishida@nurs.or.jp>
1496
29aa75ea
KN
1497 * boot-9.scm (process-define-module): Fixed a bug that did not
1498 handle :use-syntax correctly.
88c4ba2a 1499
11057044
MV
15002001-07-24 Marius Vollmer <mvo@zagadka.ping.de>
1501
1502 * syncase.scm (psyncomp): Removed, it is now in
1503 compile-psyntax.scm.
1504
15052001-07-23 Marius Vollmer <mvo@zagadka.ping.de>
1506
1507 * Makefile.am (psyntax.pp): Enable rule for psyntax.pp only in
1508 maintainer mode. Use compile-psyntax.scm for actual compilation.
1509 Make sure the uninstalled guile is used.
1510 (EXTRA_DIST): Distribute compile-psyntax.scm
1511 * compile-psyntax.scm: New file.
1512
e39bbe80
MG
15132001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1514
1515 * and-let-star.scm, debug.scm, debugger.scm, history.scm,
1516 lineio.scm, null.scm, optargs.scm, r4rs.scm, r5rs.scm,
1517 receive.scm, safe-r5rs.scm, streams.scm: Updated copyright notice.
1518
90ee03da
MG
15192001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1520
1521 * r5rs.scm: Use `re-export' instead of `export' for re-exported
1522 primitives. Thanks Neil!
1523
22647fef
MV
15242001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
1525
1526 * safe-r5rs.scm: Use `re-export' instead of `export' for
1527 re-exported core bindings. Do not re-export `numerator',
1528 `denominator' and `rationalize' since Guile does not have them.
1529 Continue to use `export' for `null-environment'.
1530
1531 * null.scm: Use `re-export' instead of `export' for re-exported
1532 core bindings. Do not export `unquote' and `unquote-splicing'
1533 since there aren't definitions for them.
1534
1535 * boot-9.scm (compile-interface-spec): Bug fix: the keyword
1536 argument is "renamer" not "rename".
1537
4aea9e7b
RB
15382001-07-09 Rob Browning <rlb@defaultvalue.org>
1539
1540 * boot-9.scm: Fixed the sense of the error message when read-eval?
1541 is #f. Thanks to Matthias for catching this.
1542
8630fdfc
RB
15432001-07-06 Rob Browning <rlb@defaultvalue.org>
1544
1545 * boot-9.scm: added fix suggested by Matthias for #. read
1546 extension -- now only works if read-eval? is not #f.
1547
197edeea
DH
15482001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1549
1550 * arrays.scm: Don't install a read-hash-extension for 'b': #b
1551 is already defined by R5RS. Further, there is already a working
1552 read syntax for bitvectors, starting with #*.
1553
5dc13e98
MG
15542001-06-30 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1555
1556 * Makefile.am (ice9_sources): Removed tags.scm.
1557
1558 * tags.scm: Removed file.
1559
941614c6
NJ
15602001-06-29 Neil Jerram <neil@ossau.uklinux.net>
1561
1562 Changes to support tracing other than inside the repl-stack that
1563 is set up by the REPL code in boot-9.scm.
8940c16b 1564
941614c6
NJ
1565 * debug.scm (trace-entry, trace-exit): Conditionalize tracing on
1566 whether the current stack id is in `traced-stack-ids'.
1567 (traced-stack-ids, trace-all-stacks?, trace-stack, untrace-stack):
1568 New.
1569
4cda41f6
MV
15702001-06-27 Marius Vollmer <mvo@zagadka.ping.de>
1571
1572 * common-list.scm (member-if): Put in docstring for member-if, it
1573 was a cut-n-paste error previously.
1574
d95c0b76
NJ
15752001-06-26 Neil Jerram <neil@ossau.uklinux.net>
1576
1577 * debug.scm (trace): Set evaluator trap options to handle tracing.
1578 Don't reset trace-level to 0.
8940c16b 1579
d95c0b76
NJ
1580 * boot-9.scm (lazy-handler-dispatch): Remove enter-frame-handler,
1581 apply-frame-handler and exit-frame-handler. (They're replaced by
1582 evaluator trap options.)
1583
fc7a9e81
ML
15842001-06-25 Michael Livshin <mlivshin@bigfoot.com>
1585
1586 * streams.scm (stream-for-each-many): typo fix.
1587
f6581113
MV
15882001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
1589
1590 * boot-9.scm (re-export-syntax): New.
1591
eb6c2de8
MV
15922001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
1593
1594 * boot-9.scm (system-error-errno): New.
1595
0f002b27
MV
15962001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
1597
1598 * common-list.scm (remove-if, remove-if-not): Fix typo: use
1599 `pred', not `pred?', in the body.
1600
60850aed
TTN
16012001-06-13 Thien-Thi Nguyen <ttn@revel.glug.org>
1602
95717232
TTN
1603 * match.scm:
1604 No longer use module `(ice-9 slib)'.
1605 Use module `(ice-9 pretty-print)'.
1606 No longer require `pretty-print'.
1607
1608 (slib:error): Delete.
1609 (match:error, match:syntax-err): Rewrite.
1610
1611 Thanks to Dale P. Smith.
1612
b4b50361 1613 * README: New file.
95717232 1614
60850aed
TTN
1615 * common-list.scm:
1616 Clean up some docstrings; nfc.
1617 Add Commentary.
1618 Update copyright.
1619
7c95e366
MV
16202001-06-11 Marius Vollmer <mvo@zagadka.ping.de>
1621
1622 * boot-9.scm: Use `begin-deprecated' instead of testing
1623 `include-deprecated-features' when conditionally using the (ice-9
1624 rdelim) module. See below.
1625
495c67e5
GH
16262001-06-10 Gary Houston <ghouston@arglist.com>
1627
1628 * boot-9.scm: use the (ice-9 rdelim) module if
1629 include-deprecated-features is true.
1630
6a9003d3
MV
16312001-06-09 Marius Vollmer <mvo@zagadka.ping.de>
1632
1633 * pretty-print.scm (generic-write): Use `object->string' to print
1634 unknown objects.
1635
1636 * optargs.scm (lambda*): Make sure that BODY is always put into a
1637 real body context so that it can contain internal definitions.
a2f00b9b 1638 Thanks to Matthias Köppe!
60850aed 1639
6a9003d3
MV
1640 * format.scm: Use (ice-9 and-let-star).
1641 (format:out): Initialize format:output-col with current column of
1642 `port', if it has one. Else leave it alone. Thanks to Matthias
a2f00b9b 1643 Köppe!
6a9003d3 1644
feeedafb
MV
16452001-06-05 Marius Vollmer <mvo@zagadka.ping.de>
1646
1647 * boot-9.scm (module-ensure-local-variable!): Renamed from
1648 `module-ensure-variable!'. Make sure that there really is a local
1649 variable, not just a visible one.
1650 (module-ensure-variable!): See above.
1651 (module-export!): Behave like always when deprecated features are
1652 enabled, but issue a warning when re-exporting a variable. When
1653 deprecated features are disabled, only export local variables,
1654 creating them uninitialized when they don't yet exist.
1655 (module-re-export!): New. Use this for re-exporting imported
1656 variables.
1657 (re-export): New, to go with `module-re-export!'.
60850aed 1658
feeedafb
MV
1659 * format.scm: Added kluge at top that keeps `export' from
1660 re-exporting the `format' variable of the `(guile)' module.
1661
16622001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
1663
1664 * boot-9.scm (named-module-use!, top-repl): Use resolve-interface
1665 instead of resolve-module to get at the used module.
1666
4bcdfe46
GH
16672001-06-04 Gary Houston <ghouston@arglist.com>
1668
1669 * rw.scm: export write-string/partial.
1670
f480396b
MV
16712001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
1672
1673 Added exception notice to all files.
60850aed 1674
f480396b
MV
1675 * boot-9.scm (module-export!): Revert 2001-06-02 change. It
1676 caused more problems than it solved by accidentally re-exporting
1677 importing bindings once in a while.
1678
c794483c
MV
16792001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
1680
1681 * boot-9.scm (try-load-module): Bracket calls to try-module-linked
1682 and try-module-dynamic-link with `begin-deprecated'.
1683 (split-c-module-name, convert-c-registered-modules,
1684 registered-modules, register-modules, warn-autoload-deprecation,
1685 init-dynamic-module, dynamic-maybe-call, dynamic-maybe-link,
1686 find-and-link-dynamic-module, try-using-libtool-name,
1687 try-using-sharlib-name, link-dynamic-module, try-module-linked,
1688 try-module-dynamic-link): Deprecated. Activate deprecation
1689 message.
f480396b
MV
1690 (define-public): Define binding before exporting it. This is to
1691 avoid accidentally re-exporting a imported binding.
c794483c 1692
b0c16cd9
MV
16932001-06-02 Marius Vollmer <mvo@zagadka.ping.de>
1694
1695 * Makefile.am (psyntax.pp): Make it dependent on psyntax.ss and
1696 fix command so that it works.
1697
1698 * session.scm (apropos-fold, submodules, apropos): Be careful not
1699 to access unbound variables.
1700
1701 * boot-9.scm (module-ensure-variable!): New.
1702 (module-export!): Use it to ensure that there is a variable to
1703 export. Previously, we would always create a new variable, copy
1704 the value over, and export the new variable. This confused
1705 syncase since it keys important properties on variables.
1706
05c64f52
MV
17072001-06-01 Marius Vollmer <mvo@zagadka.ping.de>
1708
1709 * boot-9.scm (top-repl): Revert part of the 2001-05-19 change.
1710 When defining the guile-user module, do not use any modules. Add
1711 them to guile-user when `top-repl' is called.
63b62b73
MV
1712 (resolve-interface): Expect keyword arguments instead of a `spec'.
1713 (compile-interface-spec, compile-define-module-args): New.
1714 (define-module): Use compile-define-module-args to construct
1715 argument for process-define-module.
1716 (use-modules, use-syntax): Use compile-interface-spec to construct
1717 arguments for process-use-modules.
1718 (process-define-module): Expect keywords in argument list.
05c64f52 1719
0120801d
MV
17202001-05-25 Marius Vollmer <mvo@zagadka.ping.de>
1721
f4e0611e
MV
1722 * boot-9.scm (cond-expand): Define using
1723 `procedure->memoizing-macro' to get at the lexical environment.
1724 Use `env-module' instead of `current-module' to get the right
1725 module.
1726
0120801d
MV
1727 * Makefile.am (ice9_sources): Added "pretty-print.scm".
1728 * pretty-print.scm: New file, copied from SLIB.
f4e0611e
MV
1729 (generic-write): Return the `unspecified' value.
1730
0120801d
MV
1731 * format.scm: Autoload `pretty-print'.
1732
b9b8f9da
MG
17332001-05-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1734
1735 * boot-9.scm (%cond-expand-table): New hash table mapping modules
1736 to feature lists.
1737 (cond-expand): Use feature information associated with modules.
1738
17392001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1740
1741 * boot-9.scm (use-srfis): Do not extend the srfi-0 feature list.
1742 (cond-expand-provide): New procedure.
60850aed 1743
a6219f22
MV
17442001-05-22 Marius Vollmer <mvo@zagadka.ping.de>
1745
1746 * boot-9.scm (define-module): Return the new module.
1747 (process-define-module): Use `spec' instead of `module-name' when
a2f00b9b 1748 getting the syntax transformer. Thanks to Matthias Köppe!
a6219f22 1749
311b6a3c
MV
17502001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
1751
bab34d2a
MV
1752 * boot-9.scm (use-syntax): Do not set scm:eval-transformer when
1753 deprecated features have been removed. Thanks to Dale P. Smith!
1754
311b6a3c
MV
1755 * optargs.scm (#\&): Use `issue-deprecation-warning' instead of
1756 `display'.
1757
e4e1ea73
MV
17582001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
1759
1760 * psyntax.ss (build-lexical-var): Use gensym instead of gentemp.
1761 * match.scm: Likewise.
1762 * expect.scm: Likewise.
1763 * psyntax.pp: Regenerated.
60850aed 1764
e4e1ea73
MV
1765 * rdelim.scm: Call `%init-rdelim-builtins'.
1766
1767 * rw.scm: Call `%init-rw-builtins'.
1768
1769 * boot-9.scm (process-define-module): Do not call
1770 set-current-module.
1771 (define-module): Do it here, in the expansion.
1772 (top-repl): Do not define '(guile-user)' module and conditionally
1773 load `(ice-9 threads)' and/or `(ice-9 regex)' here. Do it on
1774 top-level as the last thing in boot-9.scm instead.
1775 (%load-path): Use `list' instead of `cons' to create a single
1776 element list when adding "." to it.
1777 (process-define-module, process-use-modules, module-export!): Add
1778 dummy definitions prior to booting the mdule system.
1779
adcbdb16
TTN
17802001-05-18 Thien-Thi Nguyen <ttn@revel.glug.org>
1781
d28690d7
TTN
1782 * boot-9.scm: (resolve-interface, use-srfis): Small
1783 cleanup; nfc.
1784 (process-define-module): Internal proc `unrecognized'
1785 now accepts arg; update callers.
1786 Reverse order of interfaces added to module to be
1787 consistent with that specified in `define-module' form.
1788
d58f1edf
TTN
1789 * session.scm: (help): Use `provided?' instead of `feature?'.
1790 Factor "TYPE not found for X" output into internal proc.
1791 Support `(quote SYMBOL)'; call `search-documentation-files'.
1792 (help-doc): If initial search fails, try using
1793 `search-documentation-files'.
1794 (apropos-fold-accessible, apropos-fold-all): Use `identity'
1795 instead of `(lambda (x) x)'. "An identity edit", ha ha.
3125fbe0 1796 (help-usage): Mention support for "(help 'NAME)".
d58f1edf 1797
adcbdb16
TTN
1798 * documentation.scm: Fix documentation for Guile Documentation
1799 Format Version 2: Mention required terminating newlines.
1800
1801 (find-documentation): Delete.
1802 (search-documentation-files): New proc, exported.
1803 (object-documentation): Use `search-documentation-files'.
1804
f41be016
MG
18052001-05-15 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1806
1807 * boot-9.scm (cond-expand-features): Made the feature list public,
1808 so it can be manipulated by `use-srfis'.
1809 (use-srfis): New procedure.
1810
7dfc3d0f
TTN
18112001-05-15 Thien-Thi Nguyen <ttn@revel.glug.org>
1812
1813 * boot-9.scm (resolve-interface): Signal error now also if
1814 used module's public interface is not available.
1815 No longer call `beautify-user-module!'.
1816 Signal error now also if selected binding not found.
1817
f3f9dcbc
MV
18182001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
1819
1820 Merge from mvo-vcell-clenaup-1-branch.
7dfc3d0f 1821
f3f9dcbc
MV
1822 * session.scm (apropos): Do not use `builtin-bindings', always use
1823 the module obarray.
1824 (apropos-fold): Likewise.
1825
1826 * optargs.scm (bound?): Removed. We should not play games with
1827 the magical undefined value.
1828 (let-o-k-template): Use `#f' instead of the undefined value as
1829 the default default for bindings.
7dfc3d0f 1830
f3f9dcbc
MV
1831 * boot-9.scm (module-make-local-var!): Do not pass name hint to
1832 make-undefined-variable, use `variable-set-name-hint!' instead.
1833 (root-module-closure): Removed.
1834 (make-root-module): Set the obarray of the module to the
1835 `pre-modules-obarray'. Do not use a lazy binder.
1836 (scm-module-closure): Removed.
1837 (make-root-module): Set the obarray of the module to the
1838 `pre-modules-obarray'. Do not use a lazy binder. Set the
1839 eval-closure to a `standard-interface-eval-closure'.
1840 (module-define!): Do not pass name hint to make-variable, use
1841 `variable-set-name-hint!' instead.
1842 (make-modules-in, beautify-user-module, resolve-module): Moved
1843 towards the beginning of boot-9.scm, across the call to
1844 set-current-module that boots the module system. These
1845 definitions need to be visible at the time of the first
1846 `set-current-module' call.
1847 (try-module-autoload): Define a `#f' before the call to
1848 set-current-module. It is redefined later.
1849
1850 * debug.scm: Use `module-set!' instead of `variable-set!' to set
1851 insert `debug-options' into the-root-module.
1852 * format.scm: Likewise, for `format'.
1853
11bbab47
MV
18542001-05-15 Marius Vollmer <mvo@zagadka.ping.de>
1855
1856 * boot-9.scm (error-catching-repl): Call the E
1857 ("eval'er") procedure via call-with-values and call the P
a2f00b9b 1858 ("printer") for each produced value. Thanks to Matthias Köppe!
11bbab47 1859
1d00af09
MG
18602001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1861
1862 * boot-9.scm (cond-expand): Reduce feature list to built-in
1863 features.
1864
5cd06d5e
DH
18652001-05-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
1866
1867 * boot-9.scm (-1+, return-it, string-character-length, flags):
1868 Deprecated.
1869
7f24bc58
MG
18702001-05-11 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1871
1872 * boot-9.scm: Added `cond-expand' (SRFI-0) for portable feature
1873 checking.
1874
7787297b
TTN
18752001-05-10 Thien-Thi Nguyen <ttn@revel.glug.org>
1876
1877 * boot-9.scm (resolve-module): Abstraction maintenance: Use
1878 `module-public-interface'.
f3f9dcbc 1879 (resolve-interface): Extend to handle selection and renaming in spec.
7787297b
TTN
1880 Arg is now `spec' which can be a simple module name (list of symbols)
1881 or a interface spec.
1882 (symbol-prefix-proc): New proc.
1883 (%autoloader-developer-mode): Delete.
1884 (process-define-module): Use "define-module" in error messages
1885 instead of "defmodule". Factor error into internal proc.
1886 Rewrite `use-module' and `use-syntax' handlers.
1887 Replace some single-arm `if-not' constructs w/ `or'.
1888 (process-use-modules): Arg is now `module-interface-specs',
1889 which is passed through to `resolve-interface' as before; nfc.
1890 (named-module-use!, top-repl): Abstraction maintenance: Use
1891 `provided?'.
1892
7874f3d0
TTN
18932001-05-06 Thien-Thi Nguyen <ttn@revel.glug.org>
1894
1895 * q.scm, runq.scm, getopt-long.scm: Update copyright.
1896 Surround commentary w/ standard markers; nfc.
1897
1898 * expect.scm: Update copyright.
1899 Fix commentary typo; nfc.
1900
677cd590
RB
19012001-05-05 Rob Browning <rlb@cs.utexas.edu>
1902
1903 * psyntax.ss: make sure emacs knows it's scheme code.
1904
4879243c
NJ
19052001-05-05 Neil Jerram <neil@ossau.uklinux.net>
1906
1907 * boot-9.scm (use-syntax): Change error message to say
1908 `use-syntax' rather than `use-modules'.
1909
c2c43dab
MG
19102001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1911
1912 * safe-r5rs.scm: Fix typo: make-rectangualr => make-rectangular.
1913
41ed8fed
MV
19142001-05-02 Marius Vollmer <mvo@zagadka.ping.de>
1915
1916 * boot-9.scm (begin-deprecated): New.
1917 (call-with-deprecation): Removed.
1918 (id): Use `issue-deprecation-warning' instead of
1919 `call-with-deprecation'. Wrap definition in `begin-deprecated'.
1920 (eval-in-module): Manifest deprecation via `begin-deprecation' and
1921 `issue-deprecation-warning'.
1922 (warn-autoload-deprecation): Deactivated.
7874f3d0 1923
c8127e2f
MV
19242001-04-26 Marius Vollmer <mvo@zagadka.ping.de>
1925
1926 * boot-9.scm (the-module, set-current-module, current-module):
1927 Removed, they are now defined in libguile.
1928
9a6fb164
GH
19292001-04-29 Gary Houston <ghouston@arglist.com>
1930
1931 * rw.scm: new file, for module (ice-9 rw).
1932 * Makefile.am: add rw.scm.
1933
a7981b6d
TTN
19342001-04-28 Thien-Thi Nguyen <ttn@revel.glug.org>
1935
1936 * boot-9.scm, optargs.scm:
1937 Surround commentary w/ standard markers; nfc.
1938
1939 * threads.scm, time.scm, channel.scm, expect.scm:
1940 Add commentary; nfc.
1941
835b2c87
TTN
19422001-04-27 Thien-Thi Nguyen <ttn@revel.glug.org>
1943
1944 * documentation.scm: Update copyright.
1945 Add commentary.
1946 Use `define-module' `:export' clause instead of `define-public'.
1947 Autoload (ice-9 regex) on `match:suffix'.
1948
1949 (default-in-line-re, default-after-line-re): New vars.
1950 (default-scrub): New proc.
1951 (file-commentary): New proc, exported.
1952 (object-documentation): Expand docstring; nfc.
1953
1954 * session.scm: Update copyright.
1955 Use (ice-9 rdelim).
1956
1957 (help): Consider a list of symbols that does not start with
1958 `quote' as a module name and call `module-commentary' on it.
1959 (module-filename, module-commentary): New procs.
1960 (id): Delete.
1961 (apropos): Use `identity' instead of deprecated `id'.
1962 (help-usage): Add blurb about "(help (my module))" support.
1963
7a6a68b1
MG
19642001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1965
1966 * Makefile.am (ice9_sources): Remove srfi-8.scm.
1967
89448795
RB
19682001-04-26 Rob Browning <rlb@cs.utexas.edu>
1969
1970 * srfi-8.scm: removed in favor of srfi/srfi-8.scm - (wasn't ever
1971 in a production release).
1972
2d857fb1
KN
19732001-04-25 Keisuke Nishida <kxn30@po.cwru.edu>
1974
1975 * channel.scm: New file.
0d3e064b 1976 * Makefile.am (ice9_sources): Include channel.scm.
2d857fb1 1977
454a8a8f
KN
19782001-04-19 Keisuke Nishida <kxn30@po.cwru.edu>
1979
1980 * receive.scm (receive): Use `define-macro'.
1981
ff5546f5
KN
19822001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
1983
1984 * boot-9.scm (load-compiled): New variable, initialized in the VM.
1985 (try-module-autoload): Try loading compiled modules if applicable.
1986
6b08d75b
KN
19872001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
1988
1989 * boot-9.scm (call-with-deprecation): New procedure.
1990 (identity): New procedure.
835b2c87 1991 (id): Deprecated.
6b08d75b 1992
8add1522
KN
19932001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
1994
1995 * boot-9.scm (defmacro, define-macro, define-syntax-macro):
1996 Define only at the top level.
1997
a8944ae1
TTN
19982001-04-06 Thien-Thi Nguyen <ttn@revel.glug.org>
1999
2000 * threads.scm: Update copyright.
2001
2002 Use `export' and `export-syntax' instead of
2003 `define-public' and `defmacro-public'.
2004
2005 (make-thread): Rename first arg to `proc'; nfc.
2006 (begin-thread, monitor): Rename second arg to `rest'; nfc.
2007 (with-mutex): Rename second arg to `body'; nfc.
2008
64143414
NJ
20092001-04-06 Neil Jerram <neil@ossau.uklinux.net>
2010
2011 * boot-9.scm (warn-autoload-deprecation): Close parenthesis in
2012 "You just tried to autoload ..." message.
2013
5273f7c9
KN
20142001-04-05 Keisuke Nishida <kxn30@po.cwru.edu>
2015
2016 * Makefile.am (ice9_sources): Add history.scm.
b727d0bd 2017 * history.scm: Create the module (value-history) at the beginning.
5273f7c9 2018
16c634ec
MV
20192001-03-29 Marius Vollmer <mvo@zagadka.ping.de>
2020
2021 * boot-9.scm (init-dynamic-module): Fix typo in call to
2022 warn-autoload-deprecation. I feel silly.
2023
8c2c9967
MV
20242001-03-27 Marius Vollmer <mvo@zagadka.ping.de>
2025
2026 * r4rs.scm (call-with-values): New definition, defers to
2027 @call-with-values.
2028
20292001-03-26 Marius Vollmer <mvo@zagadka.ping.de>
2030
2031 * boot-9.scm (warn-autoload-deprecation): New function.
2032 (init-dynamic-module): Use it here to print warning. Only give
2033 warning when a module has actually been found.
2034
62532db3
MV
20352001-03-25 Marius Vollmer <mvo@zagadka.ping.de>
2036
8c2c9967
MV
2037 * boot-9.scm (init-dynamic-module): Issue warning about
2038 auto-loading of compiled code modules being deprecated.
2039
62532db3
MV
2040 * Makefile.am (ice9_sources): Added "time.scm".
2041
3b9e23a7
KN
20422001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
2043
2044 * time.scm (time): Reimplemented as a procedure call.
2045 (Thanks to Marius Vollmer)
2046
c40eb594
KN
20472001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
2048
2049 * safe-r5rs.scm (list): Export.
2050
870777d7
KN
20512001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
2052
2053 * boot-9.scm (before-eval-hook, after-eval-hook,
2054 before-print-hook, after-print-hook): New hooks.
2055 (scm-style-repl): Call these hooks.
2056
2057 * history.scm: New file.
2058
5e38caf1
KN
20592001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
2060
2061 * time.scm: New file.
2062
656dfde1
DH
20632001-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
2064
2065 * oldprint.scm: Removed.
2066
8cdeee7d
MD
20672001-03-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2068
2069 * arrays.scm (make-array): Added quote in front of ().
2070
d69947f7
KN
20712001-03-12 Keisuke Nishida <kxn30@po.cwru.edu>
2072
2073 * common-list.scm (count-if): New procedure.
2074
451d273a
NJ
20752001-03-10 Neil Jerram <neil@ossau.uklinux.net>
2076
2077 * buffered-input.scm (make-buffered-input-port): New, more general
2078 buffered input procedure. Does not assume that a newline
2079 character should be interpolated between chunks of input returned
2080 by the reader proc.
2081 (make-line-buffered-input-port): Redefine in terms of
2082 make-buffered-input-port.
2083
406d8344
KN
20842001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
2085
2086 * match.scm: Don't export defstruct. Use (unquote defstruct) instead.
2087
0c6f9602
MD
20882001-03-09 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2089
2090 * Makefile.am (psyntax.pp): Added rule for producing psyntax.pp.
2091
a55134ed
KN
20922001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
2093
2094 * match.scm: export defstruct.
2095
86b96c16
MD
20962001-03-08 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2097
2098 * psyntax.ss: Added FSF copyright notice. Added a notice of
3ffd876a
MD
2099 changes in order to comply with paragraph 2a of the GPL. (Thanks
2100 to Keith Wright.)
86b96c16 2101
403a3345
NJ
21022001-03-07 Neil Jerram <neil@ossau.uklinux.net>
2103
2104 * buffered-input.scm (make-line-buffered-input-port): Don't set
2105 the continuation flag for leading whitespace. Thanks to Dirk
2106 Herrmann for the suggestion.
2107
9155e458
NJ
21082001-03-05 Neil Jerram <neil@ossau.uklinux.net>
2109
61819670
NJ
2110 * optargs.scm (rest-arg->keyword-binding-list): Use "'()" instead
2111 of "()".
2112
9155e458
NJ
2113 * buffered-input.scm: New file, with guts of line buffered input
2114 port implementation extracted from guile-readline/readline.scm.
2115
0109c4bf
MD
21162001-03-03 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2117
2118 * stack-catch.scm: New file.
2119
2120 * Makefile.am (ice9_sources): Added stack-catch.scm.
2121
2fd945df
MV
21222001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
2123
2124 * boot-9.scm, rdelim.scm: Use "'()" instead of "()" in all places
2125 where the empty list is meant.
2126
704f4e86
MD
21272001-02-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2128
2129 * boot-9.scm (save-stack): Use `primitive-eval' for stack
2130 cutting. Makes backtraces work again! Also added a reference to
2131 save-stack from the place in the repl where the primitive-eval
2132 frame is invoked.
2133
c8762438
KN
21342001-02-25 Keisuke Nishida <kxn30@po.cwru.edu>
2135
2136 * match.scm: New file, including Andrew K. Wright's pattern matcher.
51e7dab6 2137 * Makefile.am (ice9_sources): Added match.scm.
c8762438 2138
b8d69b37
MV
21392001-02-16 Marius Vollmer <mvo@zagadka.ping.de>
2140
2141 * boot-9.scm (eval-when, eval-case): Renamed `eval-when' to
2142 `eval-case', everywhere.
2143
7af4defe
MV
21442001-02-13 Marius Vollmer <mvo@zagadka.ping.de>
2145
2146 * boot-9.scm (define-public): Removed spurious call to
2147 `interaction-evironment'.
2148 (define-public, defmacro-public): Use `export' instead of explicit
2149 module magic.
2150 (eval-when): New macro.
2151 (define-module, use-modules, use-syntax, export): Use it to
2152 restrict the use of these forms to the top level.
2153 (define-public, defmacro-public): Only export binding when on
2154 top-level.
2155 (process-define-module): Call `set-current-module' with the
2156 defined module.
2157 (define-module): Simply call `process-define-module' without any
2158 fuss (but only on top-level).
2159 (named-module-use!): New function.
2160 (top-repl): Do not use `define-module'. Use equivalent low-level
2161 means instead.
a8944ae1 2162
ec9709f0
MV
21632001-02-11 Marius Vollmer <mvo@zagadka.ping.de>
2164
2165 * boot-9.scm (scm-style-repl): Use `primitive-eval' instead of
2166 `eval'.
2167 (define-public): Do not use `eval'.
2168
548728ea
MV
21692001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
2170
2171 * and-let-star-compat.scm: Display the warning to the
2172 `current-error-port'.
a8944ae1 2173
fbf0c8c7
MV
21742001-02-04 Marius Vollmer <mvo@zagadka.ping.de>
2175
2176 Avoid the use of "*" in file names for the benefit of lesser
2177 operating systems.
a8944ae1 2178
fbf0c8c7
MV
2179 * and-let-star.scm, and-let*.scm: Renamed `and-let*.scm' to
2180 `and-let-star.scm'. Updated module name as well.
2181 * and-let-star-compat.scm: New file, installed as `and-let*.scm'.
2182 * Makefile.am (ice9_sources): Replaced "and-let*.scm" with
2183 "and-let-star.scm".
2184 (install-data-local): Install "and-let-star-compat.scm" as
2185 "and-let*.scm", ignoring errors.
2186 (EXTRA_DIST): Distribute `and-let-star-compat.scm'.
a8944ae1 2187
e9bab9df
DH
21882001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
2189
2190 This patch fixes a problem reported by Martin Grabmueller about
2191 the impossibility to access readline's run-time options.
2192
2193 * boot-9.scm (define-option-interface): New macro. Allows to
2194 conveniently define a group of option interface functions.
2195
2196 (readline-options readline-enable readline-disable,
2197 readline-set!): Moved to guile-readline/readline.scm.
2198
6d36532c
GH
21992001-01-24 Gary Houston <ghouston@arglist.com>
2200
2201 * boot-9.scm: don't import (ice-9 rdelim) here. it's done
2202 in C for now.
2203 * rdelim.scm: export the C primitives too.
2204 * documentation.scm: use (ice-9 rdelim).
2205
9d774814
GH
22062001-01-21 Gary Houston <ghouston@arglist.com>
2207
2208 * rdelim.scm: new file implementing module (ice-9 rdelim).
2209 * ice-9.scm (scm-line-incrementors read-line! read-delimited!
2210 read-delimited read-line): moved to rdelim.scm.
2211 scm-line-incrementors is not exported.
2212 * boot-9.scm: import (ice-9 rdelim) for backwards compatibility,
2213 for now.
2214 * lineio.scm: use module (ice-9 rdelim).
2215 * Makefile.am (ice9_sources): add rdelim.scm.
2216
17466330
DH
22172000-12-29 Dirk Herrmann <D.Herrmann@tu-bs.de>
2218
2219 * boot-9.scm (root-module-closure, scm-module-closure): Remove
2220 calls '(symbol-interned? #f s)'. Formerly, these calls were
2221 basically no-ops, guaranteed to return #t if 's' was a symbol.
2222 After the separation of symbols and bindings, a call to
2223 '(symbol-interned? #f s)' will only return #t if there really is a
2224 binding for 's' in the scm_symhash table. Thanks to Dale P. Smith
2225 for providing a test case that helped finding this bug.
2226
10764e3c
DH
22272000-12-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
2228
2229 * session.scm (apropos): Completed the last patch, which did only
2230 half the job. Thanks to Dale P. Smith.
2231
b52e071b
DH
22322000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
2233
2234 * session.scm (apropos, apropos-fold): There are no weak bindings
2235 any more.
2236
6b098fec
DH
22372000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
2238
2239 * boot-9.scm (top-repl): Lookup 'use-emacs-interface in
2240 the-root-module.
2241
40fa5c3f
NJ
22422000-12-07 Neil Jerram <neil@ossau.uklinux.net>
2243
2244 * emacs.scm (flush-whitespace): Fix spelling typo ("recieving").
2245
4e15fee8
DH
22462000-11-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
2247
2248 * boot-9.scm (read-delimited), lineio.scm
2249 (make-line-buffering-input-port), regex.scm (match:prefix,
2250 match:suffix, match:substring, regexp-substitute/global), slib.scm
2251 (slib-parent-dir), string-fun.scm (split-after-char,
2252 split-before-char, split-discarding-char, split-after-char-last,
2253 split-before-char-last, split-discarding-char-last,
2254 split-before-predicate, split-after-predicate,
2255 split-discarding-predicate, separate-fields-discarding-char,
2256 separate-fields-after-char, separate-fields-before-char,
2257 string-prefix-predicate, sans-surrounding-whitespace,
2258 sans-trailing-whitespace, sans-leading-whitespace,
2259 sans-final-newline): Use substring instead of
2260 make-shared-substring.
2261
3923fa6d
GH
22622000-11-26 Gary Houston <ghouston@arglist.com>
2263
2264 * boot-9.scm: values?, get-values, values, call-with-values:
2265 removed. values and call-with-values are now primitives and
2266 the other two were only exported by accident. don't define
2267 *values-rtd* record type or handle multiple values in
2268 scm-style-repl.
2269
a9c632a2
GH
22702000-11-07 Gary Houston <ghouston@arglist.com>
2271
2272 * popen.scm (open-output-pipe): added docstrings for open-input-pipe
2273 and open-output-pipe.
2274
8ccc61e8
GH
22752000-11-06 Gary Houston <ghouston@arglist.com>
2276
2277 * popen.scm (open-process): bug fix: don't use
2278 close-all-ports-except to close ports in the child process, since
2279 it causes port buffers to be flushed. they may be flushed again
2280 in the parent, causing duplicate output. use a more elaborate
2281 method for setting up the child descriptors (thanks to David
2282 Pirotte for the bug report).
2283 standard file descriptors 0, 1, 2 in the child process
2284 are now set up from current-input-port etc., where possible.
a8944ae1 2285
f304437e
DH
22862000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
2287
2288 * syncase.scm (eval): string=? requires a string argument.
2289 Thanks to Dale P. Smith for the patch.
2290
b4ad0dda
NJ
22912000-10-15 Neil Jerram <neil@ossau.uklinux.net>
2292
2293 * optargs.scm: Fix typos in commentary for bound? and lambda*.
2294
4adc3028
DH
22952000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
2296
2297 * session.scm (apropos, apropos-fold): regexp-exec does not
2298 accept symbol arguments any more. Thanks to Dale P. Smith for the
2299 patch.
2300
deaecea7
GH
23012000-09-30 Gary Houston <ghouston@arglist.com>
2302
2303 * posix.scm (setgrent): pass #t, not #f. thanks to
2304 Jacques A. Vidrine.
2305
db611983
NJ
23062000-09-29 Neil Jerram <neil@ossau.uklinux.net>
2307
2308 * documentation.scm (find-documentation-in-file): Modified
2309 according to changed format of guile-procedures.txt caused by my
2310 snarfing/makeinfo changes in libguile.
2311
2312 * session.scm (help-doc): Improvements to (help) output: (i) a
2313 friendlier Emacs-style introduction line; (ii) where the help arg
2314 matches multiple documented entries, print an initial list of the
2315 entries for which documentation is found, before printing the
2316 actual documentation entries themselves.
2317
f7b0a8d1
MV
23182000-09-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2319
2320 * boot-9.scm: Removed comment. (Thanks to Brad Knotwell.)
2321
a5b265e3
DH
23222000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
2323
2324 * syncase.scm (putprop): Use the high-level property interface.
2325
0eee4466
MD
23262000-09-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2327
2328 * psyntax.ss (build-lexical-var): Use gentemp instead of gensym;
2329 Convert first argument to a string.
2330
2331 * calling.scm (excursion-function-syntax,
2332 getter-and-setter-syntax,
2333 delegating-getter-and-setter-syntax): Call gensym with string
2334 argument. (Thanks to Dale P. Smith.)
2335
2336 * oldprint.scm (print-table-add!): Ditto.
2337
2338 * boot-9.scm (gentemp): Moved to symbols.c.
2339
8c142820
MV
23402000-08-27 Marius Vollmer <mvo@zagadka.ping.de>
2341
2342 * boot-9.scm (make-object-property): New function.
2343
0745d387
MD
23442000-08-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2345
2346 * boot-9.scm (make-record-type): Use `string-append' instead of
2347 `symbol-append'.
2348 (symbol-append): Map `symbol->string' on
2349 args.
2350 (obarray-symbol-append, obarray-gensym): Simply removed. I don't
2351 think I'll announce this in NEWS even. One of the functions never
2352 even worked... /mdj.
2353 (find-and-link-dynamic-module, keyword->symbol): Use
2354 `symbol->string'.
2355 (try-module-autoload, process-define-module): Rewrote using R5RS
2356 semantics.
2357
9f174131
MD
23582000-08-24 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2359
2360 * psyntax.ss (set!): Added generalized set! support to core syntax
2361 form set!.
2362
5aba8e27
MV
23632000-08-19 Marius Vollmer <mvo@zagadka.ping.de>
2364
2365 * optargs.scm (#\&): Changed #:allow-other-keys-value to
2366 #:allow-other-keys. Thanks to Bill Schottstaedt!
2367
6219924c
MV
23682000-08-17 Marius Vollmer <mvo@zagadka.ping.de>
2369
2370 * optargs.scm (#\&): Emit warning about `#&' being deprecated.
2371
76ef92f3
MV
23722000-08-16 Marius Vollmer <mvo@zagadka.ping.de>
2373
2374 * optargs.scm: Replaced `#&' reader syntax with keywords.
2375
d6f37755
MD
23762000-08-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2377
2378 * format.scm (format:obj->str): Made tail-recursive. (Thanks to
a2f00b9b 2379 Matthias Köppe.)
d6f37755 2380
c4778010
MD
23812000-08-13 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2382
2383 * psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
2384 `(interaction-environment)' as second arg to `eval'. This is
2385 completely equivalent with the state before the change to eval of
2386 2000-08-11, but we should extend psyntax.ss to be module aware.
2387 (Thanks to Ian Bicking.)
2388
2389 * emacs.scm (emacs-symdoc): Parenthesis fix.
2390
3a33a9b1
MD
23912000-08-11 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2392
f7de400a
MD
2393 * r5rs.scm (interaction-environment): Removed definition. (Is now
2394 provided by libguile/modules.c.)
2395
2396 * safe-r5rs.scm (null-environment): Bugfix: Should include
2397 syntactic bindings.
2398
3a33a9b1
MD
2399 * boot-9.scm (record-constructor, record-accessor,
2400 record-modifier, scm-style-repl): Add second arg to eval.
2401 (read-hash-extend #\.): Ditto. (This is actually a bugfix!)
2402 (eval-in-module): Redefined to be eval and deprecated.
2403
2404 * syncase.scm (eval): Add second arg both in definition and use.
2405
2406 * slib.scm (slib:eval): Use eval instead of eval-in-module.
2407 (defmacro:eval): Eval in (interaction-environment).
2408
2409 * safe-r5rs.scm (eval): Removed definition.
2410
a8944ae1 2411 * emacs.scm (emacs-eval-request):
3a33a9b1
MD
2412 (emacs-symdoc): (This procedure needs updating!)
2413
1807c7b8
MD
24142000-08-10 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
2415
3a33a9b1
MD
2416 * boot-9.scm: Added note about dependency in modules.h to
2417 definition of module-type.
2418
1807c7b8
MD
2419 * Makefile.am (ice9_sources): Added receive.scm, srfi-8.scm.
2420
2421 * receive.scm, srfi-8.scm: New files.
2422
2423 * boot-9.scm (scm-style-repl): Print multiple values on successive
2424 lines.
2425 (process-define-module): Bugfix: Make sure that exports are done
2426 *after* all used interfaces has been added.
2427
b73bde31
MV
24282000-07-24 Marius Vollmer <mvo@zagadka.ping.de>
2429
2430 * common-list.scm (uniq): Made tail-recursive. Thanks to thi!
2431
22381005
DH
24322000-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
2433
2434 * boot-9.scm (expt): In case of negative integer exponents return
2435 an exact result if the input paramters were exact. Thanks to
2436 Mikael for the suggestion.
2437
24511502
DH
24382000-07-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
2439
2440 * boot-9.scm (expt): Make sure that integer-expt is only called
2441 if the exponent is a non-negative integer.
2442
45036de1
MD
24432000-07-01 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2444
2445 * boot-9.scm (process-define-module): Bugfix: Only check the CDR
2446 for export args.
2447
ac373580
DH
24482000-06-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
2449
2450 * popen.scm: gc-thunk is deprecated. Use after-gc-hook instead.
2451
e5d2c2fa
DH
24522000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
2453
2454 * common-list.scm (intersection, set-difference, remove-if,
2455 remove-if-not): Made tail-recursive. Thanks to William Webber
2456 for the hint.
2457
2458 (delete-if!, delete-if-not!): Renamed parameter from `list' to
2459 `l' in order to avoid confusion. Note: These functions are not
2460 tail recursive yet.
2461
c0997079
MD
24622000-06-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2463
2b6e0d2b
MD
2464 * boot-9.scm: Turned `the-module', `*top-level-lookup-closure*',
2465 and `scm:eval-transformer' into fluids.
2466
c0997079
MD
2467 * boot-9.scm (purify-module!, module-export!): New procedures.
2468 (export): Rewritten using `module-export!'.
2469 (process-define-module): New define-module options: pure, export.
2470 See NEWS.
2b6e0d2b 2471 (scm-style-repl): Added optional module argument.
a8944ae1 2472
c0997079
MD
2473 * null.scm, r5rs.scm, safe-r5rs.scm, safe.scm: New modules.
2474
8b2294f7
MD
24752000-06-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2476
2477 * session.scm (make-fold-modules): Detect circular references in
a2f00b9b 2478 module graph. (Thanks to Matthias Köppe.)
8b2294f7 2479
b5074b23
MD
24802000-06-20 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2481
2482 * session.scm: Use module (ice-9 regex).
2483 (help): Regexp-quote a name given as a symbol.
2484
79494f15
DH
24852000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
2486
2487 * common-list.scm (list*): Removed, since this function is
2488 implemented as a primitive in libguile/list.c.
2489
341f78c9
MD
24902000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2491
8f820364
MD
2492 * session.scm (help): Warn user if 'regex isn't provided.
2493
341f78c9
MD
2494 * Makefile.am (ice9_sources): Removed getopt-gnu-style.scm.
2495
2496 * getopt-gnu-style.scm: Removed deprecated module.
2497
59321178
MD
24982000-06-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2499
2500 * boot-9.scm (make-autoload-interface): Set init value for uses to
2501 '() instead of #f.
2502 (make-modules-in): Name modules with their real (= full) names.
2503 (the-root-module, the-scm-module): Named `(guile)' instead of
2504 `the-root-module'.
2505 (the-scm-module): Set kind to 'interface.
2506
2507 * Makefile.am (ice9_sources): Replaced doc.scm with
2508 documentation.scm.
2509
2510 * session.scm (ice-9): Use module (ice-9 documentation).
2511 (name): Use the name property if everything else fails.
2512 (apropos-fold): New procedure.
2513 (apropos-internal): Re-implement in terms of `apropos-fold'.
2514 (help): Rewritten.
2515
2516 * doc.scm: Removed module (ice-9 doc).
2517
2518 * documentation.scm: New module (ice-9 documentation).
2519
25202000-06-08 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2521
2522 * doc.scm (documentation-files): Renamed from `doc-files'.
2523 (write-all): Removed.
2524 (find-documentation): Renamed from `documentation'. Return
2525 documentation string instead of printing it. Not exported.
2526
80edbc33
GB
2527Tue Jun 6 09:21:28 2000 Greg J. Badros <gregb@go2net.com>
2528
2529 * session.scm: Update references to `proc-doc' to be
2530 `proc-documentation'
2531
2532 * doc.scm: Cleaned up a great deal. Put variables at the top of
2533 the file, eliminated `object-documentation' that was broken
2534 (referencing Scwm), drop `help' as session.scm has a better
2535 supported version of that procedure. Rename `proc-doc' to
2536 `proc-documentation' -- `procedure-documentation' is a primitive
2537 getter function, so I use the shorter name for this more useful
2538 function. (Alternatively, we could rename the primitive
2539 getter...)
2540
1f496b05
MD
25412000-06-05 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2542
2543 * boot-9.scm (error-catching-loop): Inform about debugger on error.
2544
2c4fc472
MD
25452000-06-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2546
2547 * boot-9.scm (scm-module-closure): New procedure: Was previously
2548 anonymous. Now needed in modules.c.
2549 (make-module): Use `standard-eval-closure' to create the eval
2550 closure.
2551
32f1b9fd
GH
25522000-05-14 Gary Houston <ghouston@arglist.com>
2553
2554 * boot-9.scm (load-user-init): rewritten. first work out the home
2555 directory and then try to open the file (previously it could try
2556 to open a file in more than one place). catch exceptions when
2557 trying to get a directory from the user database. don't check
2558 that ~/.guile is not a directory before trying to load it (a lack
2559 of ~/.guile is not a crime, but if the file is not valid for any
2560 reason then primitive-load will raise an error).
2561
5ea6d531
DH
25622000-05-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
2563
2564 * boot-9.scm (abs): Don't set to magnitude. abs now does not
2565 accept complex numbers as parameter.
2566
7bbe9dee
MV
25672000-05-09 Marius Vollmer <mvo@zagadka.ping.de>
2568
2569 * common-list.scm (delete-if-not!): Bug fix of bug fix: change
2570 label of named let to `delete-if-not'. Sorry.
2571
e2d1d99d
MV
25722000-05-08 Marius Vollmer <mvo@zagadka.ping.de>
2573
2574 * common-list.scm (doc fixes): Talk about `true values' instead of
2575 `#t' when a function treats all non-#f valuers the same.
2576 (remove-if-not): Bug fix: call remove-if-not
2577 instead of remove-if when iterating.
2578 (delete-if-not!): Bug fix: call delete-if-not! instead of
2579 delete-if! when iterating.
2580
a0128ebe
MD
25812000-04-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2582
2583 * r4rs.scm (close-input-port, close-output-port): Removed.
2584
068cb539
MD
25852000-04-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2586
2587 * session.scm (help): New macro. Prints helpful information.
2588
d8859d6b
GH
25892000-04-10 Gary Houston <ghouston@arglist.com>
2590
2591 * popen.scm (open-process): after forking, close all ports except
2592 the end of the pipe to the parent. otherwise move->fdes and
2593 the exec'd program and the exit handlers can interfere with file
2594 descriptors still in use in parent ports.
2595
bf0e28d8
GH
25962000-04-09 Gary Houston <ghouston@arglist.com>
2597
2598 * popen.scm (close-process-quietly): new procedure. use it from
2599 reap-pipes to avoid errors or hanging during background cleanup.
2600
304b56da
MD
26012000-04-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2602
2603 * format.scm (format:obj->str): Handle circular references. Also,
2604 print improper lists with (x y . z) syntax rather than as
2605 individual pairs. (This code should probably be integrated into C
2606 level facilities. It is currently terribly slow.)
2607
b87e3d4d
ML
26082000-04-03 Michael Livshin <mlivshin@bigfoot.com>
2609
a8944ae1 2610 * streams.scm (stream-fold, stream-for-each): don't use named let,
b87e3d4d
ML
2611 because it prevents the gc from junking the stream argument.
2612
df8bb2dc
GB
2613Thu Mar 9 08:05:08 2000 Greg J. Badros <gjb@cs.washington.edu>
2614
2615 * slib.scm: Back-out change to software-type -- renamed
2616 slib:software-type to software-type, and leave it non-public.
2617
e510ed37
GB
2618Thu Mar 2 12:20:52 2000 Greg J. Badros <gjb@cs.washington.edu>
2619
2620 * boot-9.scm: Drop unused definition of sfx function -- thanks
2621 Dirk Hermann!
2622
0f202d3f
GB
2623Wed Mar 1 12:21:02 2000 Greg J. Badros <gjb@cs.washington.edu>
2624
2625 * streams.scm: Doc patch from Richard Kim, using MIT Scheme as
2626 source of the numerous very short changes.
2627
92540145
GB
2628Sun Feb 13 18:03:19 2000 Greg J. Badros <gjb@cs.washington.edu>
2629
a8944ae1 2630 * slib.scm: Rename software-type to slib:software-type and make it
92540145
GB
2631 public.
2632
2633 * r4rs.scm: Added documentation; largely cut and pasted from R4RS
2634 info pages.
2635
2636Sun Feb 13 17:49:29 2000 Greg J. Badros <gjb@cs.washington.edu>
2637
2638 * common-list.scm: Added documentation; largely cut and pasted
2639 from slib docs.
2640
b1c7c8f1
MD
26412000-02-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2642
2643 * format.scm (format): Reintroduce (define format format:format)
2644 so that the binding in the public interface of the module will be OK.
2645
bd9e24b3
GH
26462000-01-30 Gary Houston <ghouston@arglist.com>
2647
2648 * boot-9.scm (find-and-link-dynamic-module): pass strings, not symbols,
2649 to string-append.
2650
28d77376
GH
26512000-01-29 Gary Houston <ghouston@arglist.com>
2652
2653 * expect.scm (expect): don't call char-ready? before expect-select,
2654 since select now checks port buffers itself. don't bother to check
2655 the time first either, since expect-select does it.
2656
078e9092
GB
2657Thu Jan 20 12:57:36 2000 Greg J. Badros <gjb@cs.washington.edu>
2658
2659 * format.scm: Use (variable-set! (builtin-variable 'format)) to
2660 re-define format to be format:format (instead of just define,
2661 which interacts poorly with the module system). Thanks to Shuji
2662 Narazaki for this change.
2663
7965d98f
GB
2664Tue Jan 11 10:49:22 2000 Greg J. Badros <gjb@cs.washington.edu>
2665
2666 * boot-9.scm expect.scm, syncase.scm: Switch to new style
2667 `simple-format' message strings: substitute ~A for %s, and ~S for
2668 %S.
2669
2670 * boot-9.scm: Added (define format simple-format) to expose that
2671 primitive via the simpler name until format.scm is loaded.
2672
f73d2411
MV
26732000-01-09 Marius Vollmer <mvo@zagadka.ping.de>
2674
2675 * boot-9.scm (try-using-libtool-name): Do not bother to look
2676 inside libtool ".la" file, dynamic-link does this for us now.
2677
f353a9e2
GH
26781999-12-15 Gary Houston <ghouston@freewire.co.uk>
2679
a8944ae1 2680 * slib.scm (library-vicinity, home-vicinity,
f353a9e2
GH
2681 scheme-implementation-type, scheme-implemenation-version):
2682 use define-public to export from the module.
2683
e18a3a4d
GB
2684Wed Dec 15 08:32:09 1999 Greg J. Badros <gjb@cs.washington.edu>
2685
2686 * doc.scm: Use `%library-dir' and the other system directories,
2687 not the quickly defuncted `library-dir' that I added before
2688 realizing the former existed. Thanks Brad Knotwell!
2689
62b82274
GB
2690Sun Dec 12 19:18:52 1999 Greg J. Badros <gjb@cs.washington.edu>
2691
2692 * Makefile.am, doc.scm: Added doc.scm.
2693
5622c630
GB
26941999-12-12 18:54:06 1999 Greg J. Badros <gjb@cs.washington.edu>
2695
2696 * popen.scm, slib.scm: Added some docstrings for procedures that
2697 were primitives that I encountered in posix.texi.
a8944ae1 2698
afe5177e
GH
26991999-11-19 Gary Houston <ghouston@freewire.co.uk>
2700
2701 * Makefile.am (ice9_sources): add arrays.scm.
2702
2703 * boot-9.scm: load arrays.scm if 'array is provided.
2704
2705 * arrays.scm: new file with stuff from boot-9.scm.
2706
5c11cc9d
GH
27071999-11-18 Gary Houston <ghouston@freewire.co.uk>
2708
2709 * boot-9.scm (read-hash-extend to set up arrays): add 'l' for
2710 long_long uniform vectors.
2711
27121999-11-17 Gary Houston <ghouston@freewire.co.uk>
2713
2714 * networking.scm (sethostent, setnetent, setprotoent, setservent):
2715 take an optional argument STAYOPEN. default is #f.
2716
0c1221ab
JB
27171999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
2718
2719 * Makefile.in: Deleted from CVS repository. Run the autogen.sh
2720 script to create generated files like this one.
2721
52cfc69b
GH
27221999-09-23 Gary Houston <ghouston@freewire.co.uk>
2723
2724 * boot-9.scm (load-user-init): check that the posix feature is
2725 available before using getpw and getuid.
2726 (top-repl): don't install handlers for SIGINT etc., without posix.
a8944ae1 2727 (file-is-directory?): use 'posix instead of i/o-extensions to
52cfc69b
GH
2728 check for stat.
2729 (load-user-init): use file-exists? and file-is-directory? to
2730 check for .guile, instead of stat.
2731 (file-is-directory?): don't display the file name if posix not
2732 available.
2733 (feature?): I guess this is deprecated. redefined using "provided?"
2734 and changed users in boot-9.scm to "provided?".
2735 Conditionally load posix.scm and networking.scm.
2736
2737 posix.scm, networking.scm: new files. Move definitions from
2738 boot-9.scm if they are only useful with posix/networking available.
a8944ae1 2739
52cfc69b
GH
2740 * Makefile.am (ice9_sources): add posix.scm, networking.scm.
2741
4c59297c
MD
27421999-09-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2743
09cbffcd
MD
2744 * debugger.scm (read-and-dispatch-commands): Handle other throws
2745 than 'exit-debugger.
2746
2747 * boot-9.scm (before-signal-stack): New fluid.
2748 (top-repl): Set before-signal-stack in the signal handler.
2749
4c59297c
MD
2750 * debugger.scm (eval-handler): Handle unhandled exceptions.
2751
b50408e5
MD
27521999-09-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2753
2754 * debugger.scm ("p"): New alias for "evaluate";
2755 Mark module with :no-backtrace.
2756 ("position"): New command.
2757 (source-position, display-position): New procedures.
2758 (display-source): Display position of expression, if available.
2759 (catch-user-errors): Return #f on error. (Commands are expected
2760 to return a valid state.)
2761 (read-and-dispatch-command): Bugfix: Return old state on error.
2762
bbfba545
JB
27631999-09-16 Jim Blandy <jimb@savonarola.red-bean.com>
2764
2765 * regex.scm (regexp-substitute/global): Handle the end of the
2766 match list and an empty match list identically. (Thanks to Greg
2767 Badros.)
2768
5eb548fc
MD
27691999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2770
2771 * debugger.scm ("evaluate"): Replaced `write-line' with calls to
2772 `write' and `newline' since write-line doesn't write but displays.
2773
69fafe46
MD
27741999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2775
0fdcbcaa
MD
2776 * debugger.scm ("evaluate"): Newline after no env announcement.
2777
30772a34 2778 * debug.scm, emacs.scm: Updated copyright notices.
03ce8ed1
MD
2779
2780 * boot-9.scm (make-autoload-interface): Bugfix.
2781 (top-repl): Autoload debugger.
2782
69fafe46
MD
2783 * debugger.scm ("backtrace"): Don't pass length param to
2784 display-backtrace if it wasn't explicitly given by the user.
2785 (write-frame-long/application): Also print corresponding source
2786 expression.
2787 ("evaluate"): Evaluate in local environment frame, if existent;
2788 Handle errors.
2789
b142c81d
JB
27901999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
2791
2792 * format.scm (format:format-work): Use #\tab and #\page instead of
2793 slib:form-feed and slib:tab. (Thanks to Ceri Storey.)
2794
2795 * format.scm (format:abort): Call error, not slib:error.
2796
f14d3ff8
MD
27971999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2798
0fdcbcaa 2799 * boot-9.scm (using-readline?): New procedure: Returns #t if
f14d3ff8
MD
2800 readline is used by the repl run by this thread.
2801 (handle-system-error): Print "Backtrace:" before backtrace since
2802 this is no longer done by display-backtrace.
a8944ae1 2803
f14d3ff8
MD
2804 * debug.scm (frame-number->index): Optionally take stack as
2805 argument.
2806
2807 * debugger.scm: Use the frame number abstraction which allows for
2808 both forward and backward views of the stack
2809 (write-frame-index-short, write-frame-index-long):
2810 Use selector `frame-number';
2811 (select-frame-absolute): Use frame-number->index.
2812 ("backtrace"): Use builtin backtrace printing.
2813 Use (ice-9 debug).
2814 Use readline conditionally.
a8944ae1 2815
50ff2ecb
JB
28161999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
2817
2818 * regex.scm (fold-matches, list-matches): New functions.
2819 (regexp-substitute/global): Rewritten again in terms of
2820 list-matches, to get null match behavior correct.
2821
2822 * regex.scm (regexp-substitute/global): Rewrite so that 'post at
2823 the end of the item list actually causes a tail call. (Thanks to
2824 Jan Nieuwenhuizen.)
2825
98baa684
MV
28261999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
2827
2828 * readline.scm: Moved to ../guile-readline.
2829
50ff2ecb 2830 * boot-9.scm (top-repl): Removed code for activating readline.
98baa684
MV
2831
2832 * Makefile.am: Removed mention of readline.scm.
2833
2834 * Makefile.in: Regenerated.
a8944ae1 2835
e1f20ec6
JB
28361999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
2837
2838 Delete the test which compares the configuration date of libguile
2839 with the configuration date of ice-9. This test yields too many
2840 false positives to be helpful. For example, if you build Guile
2841 for several architectures but have them all share a "share"
2842 directory (which is supposed to work), then all but one
2843 architecture's Guile will complain that the configuration dates
2844 don't match. Which is true, but indicates nothing wrong.
2845 * boot-9.scm: Delete code which compares ice-9-config-stamp with
2846 libguile-config-stamp.
2847 * version.scm.in: Delete.
2848 * Makefile.am (ice9_generated): Delete.
2849 (subpkgdata_DATA): Remove ice9_generated.
2850 (EXTRA_DIST): Remove version.scm.in.
2851 * Makefile.in: Regenerate.
2852
d61d2039
MD
28531999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2854
0fdcbcaa 2855 * debugger.scm: New file: Initial version of the Guile debugger
d61d2039
MD
2856 written by Chris Hanson. (The debugger isn't finished, but is
2857 included in Guile anyway since it is already quite useful.)
2858
0fdcbcaa 2859 * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9
d61d2039
MD
2860 session) (ice-9 threads) (ice-9 regex) from guile-user only if
2861 top-repl is called. This makes startup time for scripts 30% of
2862 what it was before... Removed redundant code for loading of
2863 readline.
2864
2865 * Makefile.am (ice9_sources): Added debugger.scm.
2866
a48a7629
MD
28671999-08-29 Keisuke Nishida <kxn30@po.cwru.edu>
2868
2869 * boot-9.scm (try-module-autoload): Use %search-load-path.
a8944ae1 2870
6822fe53
MD
28711999-08-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2872
2873 * boot-9.scm: Removed old style hooks.
2874 (inherit-print-state): Rwwritten to use port-with-print-state.
2875
f8c9d497
JB
28761999-08-20 James Blandy <jimb@mule.m17n.org>
2877
2878 Remove support for the #/ path list syntax entirely.
2879 * boot-9.scm (read-path-list-notation,
2880 read-path-list-notation-warning): Deleted.
2881 Don't register read-path-list-notation-warning as a reader for
2882 objects starting with '#/'.
2883
eba96884
MD
28841999-08-05 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2885
2886 GOOPS needs the observer protocol specified for the new module
2887 system. Here's a simple version for the old module system:
2888 * boot-9.scm (module-observers, module-weak-observers,
2889 module-observer-id, set-module-observers!,
2890 set-module-observer-id!): New accessors.
2891 (module-type): Added slots `observers', `weak-observers' and
2892 `observer-id'.
2893 (module-observe, module-observe-weak, module-unobserve,
1a961d7e 2894 module-modified): New procedures.
eba96884 2895 (module-make-local-var!, module-add!, module-remove!,
1a961d7e 2896 module-clear!, module-define!, module-use!): Call module-modified.
eba96884 2897
2a52b429
MD
28981999-07-29 Marius Vollmer <mvo@zagadka.ping.de>
2899
2900 * boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
2901 defines.
2902
a3bb43e5
JB
29031999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
2904
59526439
JB
2905 * streams.scm: New module, contributed by Michael Livshin.
2906 * Makefile.am (ice9_sources): List it.
2907 * Makefile.in: Regenerated.
2908
a3bb43e5
JB
2909 * boot-9.scm (read-delimited!): Put the terminator in the correct
2910 position.
2911
40ed3fe6
MD
29121999-06-29 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
2913
2914 * readline.scm: Bugfix: Avoid getting the continued-lines prompt
2915 at multiple calls to read.
2916 (promtp2): Variable for continued-lines prompt.
2917 (make-readline-port): Use prompt2.
2918 (set-readline-prompt!): New optional arg which sets
2919 continued-lines prompt.
2920
2921 * boot-9.scm (top-repl): Set/clear readline prompts before/after
2922 reading expressions.
2923
d21ffe26
JB
29241999-06-18 Jim Blandy <jimb@savonarola.red-bean.com>
2925
2926 * ls.scm (ls, lls): Handle no arguments as meaning to look in
2927 `(current-module)'. (Patch from Thien-Thi Nguyen.)
2928
8044bbc8
JB
29291999-06-14 Jim Blandy <jimb@savonarola.red-bean.com>
2930
2931 * string-fun.scm (split-before-predicate, split-after-predicate,
2932 split-discarding-predicate): Make these public. (Thanks to
2933 Thien-Thi Nguyen.)
2934
2935 1999-06-13 Gary Houston <ghouston@easynet.co.uk>
2936
2937 * more changes to expect.scm, to avoid the one-character lookhead
2938 that was introduced to fix the $ problem:
2939
2940 * expect.scm (expect): call the match proc an extra time at end
a8944ae1 2941 of file and set the eof? argument appropriately. call
8044bbc8
JB
2942 expect-eof-proc only if the last call didn't match.
2943 * expect.scm (expect-strings): change port to eof? in match proc.
2944 * expect.scm (expect-regexec): take an eof indicator as an argument
2945 instead of a port.
2946
027ffa31 29471999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
aad827f4
JB
2948
2949 * Makefile.am (ice9_sources): Add popen.scm to list.
2950 * Makefile.in: Regenerated.
2951
8ed3c2fb
JB
2952 Fixes for expect from Gary Houston <ghouston@easynet.co.uk>:
2953
2954 * expect.scm (expect-regexec): define 'eof-next?'. I don't
2955 know why it was missing. also don't peek for end of lines
027ffa31 2956 unless expect-strings-exec-flags contains regexp/noteol.
8ed3c2fb
JB
2957 (expect-strings-exec-flags): initialise to regexp/noteol.
2958
aad827f4
JB
2959 Gary Houston's open-buffer port patches:
2960
2961 1999-04-01 Gary Houston <ghouston@easynet.co.uk>
2962
2963 * popen.scm: applied fixes from Greg Harvey. use a guardian
2964 and a gc-thunk so that cleanup is done if a pipe is garbage
a8944ae1 2965 collected or closed with close-port. use a weak hash-table instead of
aad827f4 2966 an alist.
a8944ae1 2967
aad827f4
JB
2968 1999-03-20 Gary Houston <ghouston@easynet.co.uk>
2969
ad226f25 2970 * expect.scm (expect): call the match proc with the port instead.
aad827f4
JB
2971 (expect-strings): use peek-char to get the next char. this has
2972 the advantage of getting the handling of $ "correct", but the
2973 disadvantage of needing to get (and maybe block for) an extra character
2974 from the port when it may not be needed. hence:
ad226f25 2975 (expect-strings-exec-flags): new variable/parameter, supplies
027ffa31 2976 flags for regexp-exec. if this includes regexp/noteol, then
a8944ae1 2977 automatic regexp/noteol handling (requiring an extra peeked char)
aad827f4 2978 is enabled. default is regexp/noteol.
027ffa31
JB
2979 (expect-strings-compile-flags): new variable/parameter, supplies
2980 flags for make-regexp. default is regexp/newline.
aad827f4
JB
2981
2982 1999-03-15 Gary Houston <ghouston@easynet.co.uk>
2983
ad226f25 2984 * expect.scm (expect): call the match proc with an extra char,
aad827f4
JB
2985 peeked from the stream.
2986 (expect-strings): build a match proc which takes the extra char.
2987 (expect-regexec): take an extra arg "eof-next?" and use it
2988 to decide whether the regexp/noteol flag should be added.
2989
2990 1999-02-26 Gary Houston <ghouston@easynet.co.uk>
2991
2992 * boot-9.scm (top-repl): don't flush all ports at exit.
2993 (error-catching-loop): likewise.
2994
2995 1998-12-23 Gary Houston <ghouston@easynet.co.uk>
2996
2997 * boot-9.scm (scm-style-repl): -read: don't call
2998 consume-trailing-whitespace if val is eof object. Allows
2999 exiting repl with single control-D.
3000
3001 1998-12-06 Gary Houston <ghouston@easynet.co.uk>
3002
3003 * boot-9.scm (error-catching-loop): don't force output within
3004 error catching loop after quit received.
3005 (top-repl): flush all ports when the repl terminates.
3006
a8944ae1
TTN
3007 * boot-9.scm (error-catching-loop): flush all ports before
3008 primitive exit if non-interactive.
aad827f4
JB
3009 force-output on current-error-port if interactive.
3010
3011 * boot-9.scm (reopen-file): deleted.
3012 * popen.scm (open-output-pipe, open-input-pipe): moved from
3013 boot-9.scm.
3014 * popen.scm: new file.
3015
15631a33
MD
30161999-06-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
3017
3018 * boot-9.scm (iota): replaced by a tail recursive version.
027ffa31 3019 (reverse-iota): removed.
15631a33 3020
8d8fc9da
MD
30211999-06-03 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
3022
3023 * optargs.scm (lambda*): Bugfix: Replaced ARGLIST -->
3024 non-optional-args. (Thanks to David Lutterkort.)
3025
027ffa31 30261999-05-09 Jim Blandy <jimb@savonarola.red-bean.com>
7c1ce4ee
JB
3027
3028 * string-case.scm: Removed; functions moved to libguile/strop.c
3029 (which could be dynamically linked in the future anyway).
e7d37b0a
JB
3030 * Makefile.am (ice9_sources): Don't list string-case.scm.
3031 * Makefile.in: Regenerated.
7c1ce4ee
JB
3032 * format.scm: Don't bother importing (ice-9 string-case).
3033
027ffa31 30341999-05-02 Jim Blandy <jimb@savonarola.red-bean.com>
b7e13f65
JB
3035
3036 * boot-9.scm (provided?): New function.
3037
3038 * Makefile.am: Add string-case.scm and format.scm to ice9_sources.
3039 * Makefile.in: Regenerated.
a8944ae1 3040
b7e13f65
JB
3041 * string-case.scm: New file, brought in from SLIB, and adapted to
3042 Guile's module system.
3043
3044 * format.scm: New file, brought in from SLIB, with the following
3045 changes:
3046 (format:format): If the first argument is the format string, stick
3047 a #f on the front of it, so it is now a valid CL format argument
3048 list. This is easier than changing everyplace else (like the
3049 error formatter) that expects it to be in CL form. The other
3050 clause which explicitly tests for this case is now dead code.
3051 (format:format-work): Allow `@' and `:' in either order, as per
3052 modern CL behavior.
3053 (format:num->cardinal): Don't assume that an elseless if returns
3054 '() when the condition is false.
a8944ae1 3055
027ffa31 30561999-04-17 Jim Blandy <jimb@savonarola.red-bean.com>
cceae55d
JB
3057
3058 * Makefile.in: Regenerated.
3059
d2b8d4ff
MD
30601999-04-08 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3061
3062 * boot-9.scm: Provide 'values.
3063
b6e17c63
MD
30641999-03-21 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3065
3066 * boot-9.scm (process-define-module, use-syntax): Bugfix:
3067 :use-syntax should add syntax to using module, not current module.
3068 (internal-use-syntax): Removed.
3069
e059c0b7
MD
30701999-03-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3071
3072 * session.scm (apropos-internal): Modified to comply with new
3073 argument order for hash-fold.
3074
275b2a7e
MD
30751999-03-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3076
027ffa31 3077 * boot-9.scm (try-load-module): New procedure. Broken out from
275b2a7e
MD
3078 resolve-module.
3079 (resolve-module): Bugfix: Make it possible for a module at a
3080 deeper level (x y z) to depend on a module on a higher (x y).
33f8ad2b
MD
3081
3082 This also has the desired side-effect that multiple attempts to
3083 load a module (e.g. with `use-modules') work until source is
3084 actually found for the module (e.g. because the correct catalog
3085 has been added to the load path).
a8944ae1 3086
275b2a7e
MD
3087 Use try-load-module.
3088
deea77eb
MD
30891999-03-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3090
3091 * session.scm (system-module): New procedure. Used to switch a
3092 module between system and user state.
3093
2251c7a4
MD
30941999-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3095
3096 * session.scm (apropos-internal): Rewritten using hash-fold.
3097
3098 * emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
3099 definition.
3100
6ee350ad
MD
31011999-03-14 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3102
3103 * boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to
3104 associate a name to the record type descriptor so that the object
3105 system can create a wrapper class for it.
3106
88124126
MD
31071999-03-12 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3108
3109 Improvement of backtraces: Introduces a new stack narrowing
3110 specifier, #t, for the inner cut. If the inner cut is specified
3111 by #t, `make-stack' will throw away inner stack frames (most
3112 recent calls on call chain) up to but excluding the first user
3113 stack frame encountered.
3114
3115 This specifier is now used in `save-stack' so that the call
3116 `(save-stack)' will get the new behaviour. [It is recommended that
3117 any error reporting functions written by the user have this call
3118 on the outermost expression level (i.e. as a member of the lambda
3119 list).]
3120
3121 Modules are partitioned into "user" and "system" modules. [I know
3122 that some names used here are silly, but I don't have more time to
3123 spend on a better solution, especially considering that the module
3124 system will be replaced. But if people have better ideas, then
3125 please tell me!]
3126
3127 System modules are created by adding :no-backtrace among the
3128 define-module switches:
3129
3130 (define-module (foo)
3131 :no-backtrace)
3132
3133 Modules which doesn't have the :no-backtrace specifier are user
3134 modules.
a8944ae1 3135
88124126
MD
3136 A stack frame is classified as a user frame if it has source code
3137 associated with it and if this source code can be proven to come
3138 from a user module. If it can be proven to come from a system
3139 module it is a system frame.
3140
3141 Frames which can't be classified, e.g. application frames, are cut
3142 away if they occur between system frames, but are left on the
3143 stack if they occur between the last system frame and the first
027ffa31 3144 user frame encountered. (Note that the first user frame
88124126
MD
3145 encountered is the last user code being evaluated!)
3146
3147 In some cases the system part of the call chain is introduced by
3148 frames which should but can't be proven to be system frames. The
3149 following workaround has been implemented: The cutting proceeds
3150 over application frames where the operator is marked by the
3151 `system-procedure' property. (This has been used to cut away
3152 generic function dispatch code in the object system.)
3153
3154 * boot-9.scm (set-system-module!): New procedure: Set system/user
3155 status of a module.;
3156 Mark `the-root-module' and `the-scm-module' as system modules.
3157 (process-define-module): Add new keyword :no-backtrace.
3158
3159 * boot-9.scm (environment-module): Bugfixed.
3160 (set-module-eval-closure!): Add a pointer back from the eval
3161 closure to the module.
3162
3163 * emacs.scm (emacs-load): Reset port filename after transfer.
3164
41f50369
MD
31651999-03-03 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3166
3167 * slib.scm (make-random-state): Added for compatibility.
3168
fcdd6672
MS
31691999-02-16 Maciej Stachowiak <mstachow@alum.mit.edu>
3170
3171 * optargs.scm (lambda*): Handle empty argument lists properly.
3172
027ffa31 31731999-02-15 Jim Blandy <jimb@savonarola.red-bean.com>
8d21a2ff
JB
3174
3175 Fix from Russ McManus:
3176 * getopt-long.scm (parse-option-spec): Store 'optional as the
3177 value-required? field for options that take optional values.
3178 (process-short-option): Grab a value for the option when it takes
3179 either an optional or required value.
3180
027ffa31 31811999-02-12 Jim Blandy <jimb@savonarola.red-bean.com>
deaceb4e
JB
3182
3183 * getopt-long.scm: Remove debugging calls to `pk'.
3184
4ca48ad4
JB
3185 * getopt-long.scm: Return list of ordinary arguments as the value
3186 of the '() key, not `rest'.
3187
deaceb4e
JB
3188 A new argument-processing package from Russ McManus.
3189 * getopt-long.scm: New file.
3190 * Makefile.am (ice9_sources): Added getopt-long.scm.
3191 * Makefile.in: Regenerated.
3192
08394899
MS
31931999-02-09 Maciej Stachowiak <mstachow@alum.mit.edu>
3194
a8944ae1 3195 * optargs.scm: New file.
08394899 3196 * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in
027ffa31 3197 not regenerated because I don't have the right version of Automake.
deaceb4e 3198
027ffa31 31991999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
2e132553
JB
3200
3201 * and-let*.scm: New file, from Michael Livshin.
3202 * Makefile.am (ice9_sources): Add and-let* here.
3203 * Makefile.in: Regenerated.
3204
65a5dccb
MD
32051999-01-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3206
3207 * slib.scm (install-require-module): Fixed the kludge which loads
3208 the slib catalog: Doesn't anylonger assume that the feature tested
3209 for isn't loaded.
3210
027ffa31 32111998-12-14 Jim Blandy <jimb@zwingli.cygnus.com>
333a4791
JB
3212
3213 * Makefile.in: Regenerated.
3214
45a02a29
MD
32151998-12-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3216
3217 * boot-9.scm (process-define-module): Reverted the change of
3218 1998-11-23 which caused loading of object code if :use-module was
3219 applied to the module itself.
3220
e7b6c834
MD
32211998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3222
3223 * Makefile.am: Removed setf.scm.
3224
027ffa31 3225 * setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
e7b6c834
MD
3226 (These shortcomings were my fault.)
3227
bf3c93d1
MD
32281998-12-10 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3229
9705d5c2 3230 * boot-9.scm (environment-module): New procedure.
bf3c93d1 3231
bc9a9137
MD
32321998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3233
3234 * Makefile.am: Added setf.scm.
3235
32361998-12-05 Christian Lynbech <chl@tbit.dk>
3237
3238 * setf.scm: New file. Adds the new forms `setf!' and `setter'
3239 which implements generalized references a la Common LISP.
3240
71225060
MD
32411998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3242
3243 * boot-9.scm (process-define-module): Added new specifier
3244 :autoload MODULENAME BINDINGS to the define-module form.
3245 The autoload specifier tells the module system to load the module
3246 MODULENAME at the first occasion that any variable with its name
3247 among BINDINGS is referenced.
3248 (make-autoload-interface): New procedure: Constructs a stand-in
3249 for the public interface for the module to be autoloaded.
3250
3b3085c6
MD
32511998-12-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3252
3253 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
3254 if you don't want the old style hook warnings.
3255
49e5d550
MD
32561998-12-01 Christian Lynbech <chl@tbit.dk>
3257
3258 * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
3259 sure that it isn't empty, as it is when we are only buidling
3260 static libraries.
3261
afae5cbd
MD
32621998-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3263
3264 * session.scm (arity): New procedure.
3265
3763ac3c
MD
32661998-11-26 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3267
3268 * boot-9.scm: Use run-hook instead of run-hooks everywhere.
3269
7a79c6b4
MD
32701998-11-26 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3271
3272 * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary
3273 code for backward compatibility until people have had time to
3274 adapt to the new hooks.
3275
a56eeb46
MD
32761998-11-23 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3277
3278 * boot-9.scm (beautify-user-module!): Beautify also if public
027ffa31 3279 interface is set to the module itself. In this way we can use
a56eeb46
MD
3280 beautify-user-module! to beautify a module prepared for object
3281 code.
3282 (process-define-module): Special case: Try to load object code as
3283 well if a module does :use-module on itself.
3284
3285 * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from
3286 invoke_main_func, we can no longer be sure that all modules have
3287 been registered when boot-9.scm is loaded.
3288 (register-modules): New function: Register and tag modules
3289 registered by scm_register_module_xxx since last call to this
3290 function. Modules are tagged with the dynamic object passed as
3291 argument. (Already linked modules should be tagged with #f.)
3292 (init-dynamic-module, link-dynamic-module): Call register-modules
3293 first to register linked modules.
3294
3295 * boot-9.scm (init-dynamic-module): Remove module from
3296 registered-modules as soon as possible in case we are recursively
3297 invoked; Set public interface before doing the dynamic-call.
a8944ae1 3298
a56eeb46
MD
3299 * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map).
3300 (abort-hook, before-error-hook, after-error-hook,
3301 before-backtrace-hook, after-backtrace-hook, before-read-hook,
3302 after-read-hook, exit-hook): Make hooks with `make-hook'.
3303
3304 * boot-9.scm: Make hooks first class citizens and make them easier
3305 to use from C:
3306 (make-hook, add-hook!, remove-hook!, run-hooks): Moved to
3307 libguile/feature.c.
7e414627
MD
3308
3309 * boot-9.scm: Added warnings about bindings used in
3310 libguile/modules.c: the-module, set-current-module,
a56eeb46 3311 make-modules-in, beautify-user-module!, module-eval-closure.
7e414627 3312
dc61592f
MD
33131998-11-21 Mikael Djurfeldt <mdj@kenneth>
3314
3315 * boot-9.scm (the-environment): New special form: Returns an
3316 object representing the current local evaluation environment.
3317 This object can be used in `local-eval' and `defined?'.
3318
7398c2c2
MD
33191998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3320
3321 * boot-9.scm (collect): New syntax. Similar to begin but returns
3322 a list of the results of all forms in the sequence instead of the
3323 result of the last form.
3324
6162a00d 33251998-11-10 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
e586be78 3326
00f4b2e8
MD
3327 * boot-9.scm (values, call-with-values): Moved here from
3328 syncase.scm.
3329
3330 * syncase.scm (values, call-with-values): Moved to boot-9.scm.
3331
e586be78
MD
3332 * boot-9.scm (readline-options, readline-enable, readline.disable,
3333 readline-set!: New options interface.
3334
6162a00d
MD
3335 * readline.scm (readline-port): Use readline-options-interface.
3336
4fdf8b2c
MD
33371998-11-05 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3338
3339 * boot-9.scm: Set the repl start module in `top-repl' instead of
3340 at the end of boot-9.scm.
3341
0b6925fe
MD
33421998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3343
3344 * emacs.scm (format): Bugfix: Handle multiple arguments
3345 correctly. (Thanks to Thien-Thi Nguyen.)
3346
e4eae9b1
MD
33471998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3348
3349 * boot-9.scm (exit-hook): New hook: Is run at the very end of an
3350 interactive session.
3351 (top-repl): Run exit-hook on exit.
3352
3353 * readline.scm (readline-port): Maybe read history; Maybe write
3354 history at exit (add to exit-hook).
3355
cad4d45b
MD
3356Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3357
3358 * readline.scm (make-readline-port): Bugfixed last change...
3359
24bf9166
MD
33601998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3361
3362 * readline.scm (make-readline-port): Don't set prompt to "... " if
3363 read line was empty.
3364
027ffa31 33651998-10-19 Jim Blandy <jimb@zwingli.cygnus.com>
f4be1689 3366
1f6fe22a 3367 * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm,
027ffa31 3368 r4rs.scm, slib.scm, threads.scm: Update copyright years.
1f6fe22a 3369
33432c79
JB
3370 * getopt-gnu-style.scm, slib.scm: Add copyright notice.
3371
3372 Talked to Stallman. Actually, the syntax-case copyright is no
3373 problem. Duh.
3374 * Makefile.am (ice9_sources): Revert last change.
3375 * syncase.scm, psyntax.pp, psyntax.ss: Added again.
3376 * Makefile.in: Regeneretade.
3377
f4be1689
JB
3378 * boot-9.scm: Don't assume that this file is loaded just before
3379 entering a read-eval-print loop. Turn code to load (ice-9 emacs)
3380 into...
3381 (load-emacs-interface): New function.
3382 (top-repl): Call it, if use-emacs-interface is defined and true.
3383 At this point, we *do* know we're about to enter a REPL.
3384
3385 We can't include Kent Dybvig's syntax-case macro expander in the
027ffa31
JB
3386 core Guile distribution, because we don't have copyright
3387 assignments for this code. We can certainly distribute them as a
3388 separate package, but Guile should be FSF code.
f4be1689
JB
3389 * syncase.scm, psyntax.pp, psyntax.ss: Removed.
3390 * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
3391 psyntax.ss.
3392 * Makefile.in: Regenerated.
3393
3394 * Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
3395 * Makefile.in: Regenerated.
3396
c8f11b97
MD
33971998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3398
3399 * boot-9.scm: Added extended read syntax for byte vectors #y(...)
3400 and short vectors #h(...).
3401
027ffa31 34021998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
bb2a4165
JB
3403
3404 * calling.scm (excursion-function-syntax): Use a sequence of
3405 set!'s, not a single multi-variable set!; we removed support for
3406 that syntax a long time ago. (Thanks to Shuji Narazaki.)
3407
027ffa31 34081998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
c8983d6a 3409
94e3e95e 3410 * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
c8983d6a
JB
3411 testing software-type here. That's the least of our Windows
3412 porting issues, and it's done wrong anyway.
3413
027ffa31 34141998-10-09 Jim Blandy <jimb@zwingli.cygnus.com>
77052259 3415
98330fd2
JB
3416 * boot-9.scm (read-path-list-notation-warning): New function:
3417 print a warning the first time we see `#/' notation.
3418
77052259 3419 * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
027ffa31
JB
3420 (eq? #f '()) assumptions. Make functions that aren't documented
3421 to return anything else return the queue itself. (Bug report from
3422 Michael Livshin --- thanks!)
77052259 3423
c9dd46af
MD
34241998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3425
3426 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
3427 trace flag.
3428
3429 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
3430 order to allow the empty list as arg.
3431 (error-catching-loop): Use `with-traps' to create a dynamic
3432 context with traps enabled.
3433
5ef4ef4e
MD
34341998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3435
3436 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
3437 module.
3438 (try-using-libtool-name): Removed dependency on (ice-9 regex).
3439
325f42e0
MD
34401998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3441
3442 * boot-9.scm: Make the root module use (ice-9 regex) if
3443 available. The dynamic linking facilities in boot-9.scm are
3444 currently dependent upon regular expressions. My change of
3445 1998-07-14 removed (ice-9 regex) from the use-list of the root
3446 module and thereby destroyed dynamic linking.
3447
027ffa31 34481998-07-29 Jim Blandy <jimb@zwingli.cygnus.com>
0dcbc17a
JB
3449
3450 * Makefile.in: Regenerated using the last public version of
3451 automake, not the hacked Cygnus version.
3452
027ffa31 34531998-07-28 Jim Blandy <jimb@zwingli.cygnus.com>
1f5ae2fd
JB
3454
3455 * Makefile.in: Regenerated, after removing Totoro kludge.
3456
027ffa31 34571998-07-28 Jim Blandy <jimb@totoro.red-bean.com>
1a0106ef
JB
3458
3459 * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.)
3460
027ffa31 34611998-07-26 Jim Blandy <jimb@zwingli.cygnus.com>
e99cbcd6
JB
3462
3463 * Makefile.in Rebuilt, for config changes in parent dir.
3464
6f4d9622
MD
34651998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3466
3467 * readline.scm (make-readline-port): Set prompt string to "... "
027ffa31 3468 after first read line. (Thanks to Richard Polton.)
6f4d9622 3469
027ffa31 34701998-07-19 Jim Blandy <jimb@zwingli.cygnus.com>
3ec4ec9a
JB
3471
3472 * lineio.scm (make-line-buffering-input-port): Don't use
3473 ungetc-char-ready?, since we don't provide that function any
3474 more. The unread-string function doesn't interact properly with
3475 any of the standard I/O functions anyway. (Thanks to Andrew
3476 Archibald.)
3477
3478 * hcons.scm (hashq-cons-assoc): Don't assume the empty list is
027ffa31 3479 false. Return false when we cannot find a matching entry in the
3ec4ec9a
JB
3480 list. (Thanks to Andrew Archibald.)
3481
a0cc0a01
MD
34821998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3483
3484 * boot-9.scm (export, export-syntax): New special forms: Export
027ffa31 3485 bindings from a module. `(export name1 name2 ...)' can be used at
a0cc0a01
MD
3486 the top of a module (after `define-module') to specify which names
3487 should be exported. It can be used as an alternative to
3488 `define-public'. `export-syntax' works equivalently to `export'
3489 but is intended for export of syntactic keywords.
3490 (Thanks to Thien-Thi Nguyen.)
3491
39bc9948
MD
34921998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3493
3494 * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'.
3495
13e341bb
MD
34961998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3497
ae996c08
MD
3498 * boot-9.scm: Let the user start in module `(guile-repl)' instead
3499 of module `(guile)'. Also make sure that `(guile-repl)' uses
3500 suitable modules. This change improves Guile stability
3501 substantially since bindings will only be copied from the root
3502 module: If the user redefines builtins in `(guile-repl)' it won't
3503 affect the internal operation of Guile itself.
13e341bb 3504
c6775c40
MD
35051998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3506
3507 * boot-9.scm (load-module): When loading files from within files
3508 themselves being loaded: Use the directory path of the file being
027ffa31 3509 loaded as root for relative filenames. (After suggestion by
c6775c40
MD
3510 Steven G. Johnson.)
3511
ef0d04e5
MD
35121998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3513
3514 * emacs.scm (emacs-load): New feature: Eval in specified module.
3515
4ffd142c
MD
35161998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3517
3518 * readline.scm: Typo in regex module name.
3519
edd9ac21
MD
35201998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
3521
3522 * readline.scm (apropos-completion-function): regexp-quote text to
3523 be completed.
3524
a66c53a8
MD
35251998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3526
edd9ac21 3527 * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid.
a66c53a8 3528
d38a6802
MD
35291998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3530
3531 * boot-9.scm: Check that (current-input-port) is a tty before
3532 enabling readline. (Thanks to Michael N. Livshin.)
3533
cf266109
MD
35341998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3535
3536 * boot-9.scm (use-syntax): Turned into a macro inorder to be
3537 similar in use to `use-modules'.
3538 Example: (use-syntax (ice-9 syncase)) will 1. load the module
3539 (ice-9 syncase), and, 2. install the procedure `syncase' as eval
3540 transformer.
3541 (internal-use-syntax): New procedure.
3542 (process-define-module): Use `internal-use-syntax'.
3543
67da6c57
MD
35441998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3545
3546 * Makefile.am (ice9_sources): Add emacs.scm.
3547
1b558afd
MD
35481998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3549
3550 * readline.scm: Use the new readline facilities: Add the
3551 possibility to control input and output ports; Add apropos
3552 completion.
3553
3554 * boot-9.scm: Antirevert Jim's readline code which he reverted
3555 19971027 and adapt it to the current readline interface.
a8944ae1 3556
1b558afd
MD
3557 * boot-9.scm (top-repl): Only enable readline if not using the
3558 Emacs interface; Only use repl prompt when using the readline port
027ffa31 3559 from repl-read. (We don't want to see it when calling `read'.)
1b558afd
MD
3560
3561 * boot-9.scm (remove-hook!): Parenthesis bug.
3562
f246e585
MD
35631998-05-11 Mikael Djurfeldt <mdj@kenneth>
3564
3565 * boot-9.scm: Load readline module if readline is present.
3566
3567 * readline.scm (apropos-completion-function): New procedure:
3568 Symbolic completion. (Thanks to Andrew Archibald!)
3569
f714ca8e
MD
35701998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3571
3572 * boot-9.scm (process-define-module): Added keyword use-syntax.
3573
3ede541d
MD
35741998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3575
3576 * nonblocking.scm: Removed. libguile is now inherently
3577 nonblocking through the use of scm_internal_select.
a8944ae1 3578
3ede541d
MD
3579 * emacs.scm: Removed use of nonblocking.scm.
3580
027ffa31 3581 * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these
3ede541d 3582 obsolete.
a8944ae1 3583
608cf70c
MD
35841998-04-15 Mikael Djurfeldt <mdj@nada.kth.se>
3585
3586 * runq.scm (runq-control): Corrected spelling of enqueue!.
3587 (Thanks to Karl M. Hegbloom.)
3588
16b8ebbe
MD
35891998-03-30 Mikael Djurfeldt <mdj@nada.kth.se>
3590
3591 * boot-9.scm: Added new run-time option interface eval-options.
3592
abf06c12
MD
35931998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3594
027ffa31 3595 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
abf06c12
MD
3596 Stachowiak.)
3597
13dc0cae
MD
35981998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3599
3600 * threads.scm: Added simple error and signal handler.
027ffa31 3601 (make-thread, begin-handler): Use this handler. The most
13dc0cae
MD
3602 important effect of this is that signals get unmasked.
3603 Previously, when a signal was thrown signals remained masked
3604 (signals get masked when a signal is taken) which influenced other
3605 threads.
3606
027ffa31 36071998-01-01 Tim Pierce <twp@skepsis.com>
841d28d7
TP
3608
3609 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
3610 * slib.scm (identity): Unmake public.
3611 (slib:eval): Evaluate inside `slib-module'.
3612
027ffa31 36131997-12-24 Tim Pierce <twp@skepsis.com>
ad76c8d9 3614
249cdba6
TP
3615 * boot-9.scm: Doc fix.
3616
ad76c8d9
TP
3617 * slib.scm (identity): Made public.
3618 (home-vicinity): New function (from SLIB/Template.scm).
3619
027ffa31 36201997-12-13 Tim Pierce <twp@skepsis.com>
848f2a01 3621
f4be1689 3622 * boot-9.scm (read-line): Rewritten to call %read-line for
027ffa31 3623 improved speed. Minor user-visible changes: the new functions are
848f2a01
TP
3624 hardwired to treat the LFD character as signifying end-of-line, so
3625 changing `scm-line-incrementors' will no longer affect the
027ffa31 3626 behavior of read-line. On platforms which do not represent
848f2a01
TP
3627 end-of-line with a LFD character, read-line should behave more
3628 like native line-processing facilities, but there is still a ways
3629 to go here.
3630
8bb7f646
MD
3631Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth>
3632
3633 * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
3634 is now a fluid.
3635
027ffa31 36361997-11-28 Tim Pierce <twp@skepsis.com>
ebd79f62 3637
848f2a01
TP
3638 * boot-9.scm (find-and-link-dynamic-module): If a module directory
3639 contains a .la file (a libtool support file), attempt to extract
027ffa31
JB
3640 the shared library name from that file. If the .la file does not
3641 exist, try to link against a .so file. Libtool-generated compiled
848f2a01 3642 modules should load more cleanly in Guile now.
ebd79f62
TP
3643 (try-using-libtool-name, try-using-sharlib-name): New functions.
3644
027ffa31 3645Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
28d8ab3c
GH
3646
3647 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
3648 usefully so they will work from a script.
3649
13a7ee16
MV
36501997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
3651
3652 * boot-9.scm (inherit-print-state): Moved definition to the
3653 neighborhood of the record code.
3654
930b16c0
JB
3655Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
3656
027ffa31
JB
3657 * boot-9.scm: Revert changes to this file from Oct 23. It turns
3658 out to interact badly with the Emacs support and the Tcl/Tk
3659 support. It's not a high enough priority at the moment to be
3660 worth fixing. I'm leaving the other readline support in, though.
930b16c0 3661
3fa5bb75
JB
3662Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
3663
3664 * Makefile.am: Include readline.scm in the list of files to be
3665 installed, so Guile can find it for interactive use.
3666 * Makefile.in: Regenerated.
3667
2e368582
JB
3668Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
3669
3670 Add support for readline function.
3671 * readline.scm: New module.
3672 * boot-9.scm (repl-reader): New function.
3673 (scm-style-repl): Call repl-reader, instead of doing the reading
3674 ourselves. Remove repl-report-reset; it was never used for
3675 anything.
3676 (top-repl): If we've got the readline primitives, then redefine
3677 repl-reader to use them.
3678 If we've got the readline primitives, import the readline module.
3679
3680 * ls.scm (ls, lls): Don't assume (eq? #f '()).
3681
3682Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
3683
3684 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
3685 string-fun.scm: Added copyright notices; reformatted.
3686
027ffa31 3687Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
4bbbcd5c
GH
3688
3689 * expect.scm: (expect-regexec): new procedure, use it in
3690 expect-strings to fix the => syntax under the new regex system.
3691 (top): include regex module in define-module statement.
3692
027ffa31 3693Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
4bbbcd5c
GH
3694
3695 * (error-catching-loop): new local variable "interactive". if
3696 #f, abort terminates the process.
a8944ae1 3697 (set-batch-mode?!, batch-mode?): new closures, defined in
4bbbcd5c
GH
3698 error-catching-loop. the names are from scsh.
3699
c115b54b
MV
37001997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
3701
3702 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
3703 print-state, throw it away.
3704
027ffa31 3705Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
9f9aa47b
MD
3706
3707 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
3708 `0'.
3709
027ffa31 3710Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
9f9aa47b
MD
3711
3712 * boot-9.scm (struct-printer, make-struct-printer,
3713 set-struct-printer-in-vtable!, *struct-printer*): Removed.
3714 (record-type-vtable, make-record-type): Don't use make-struct-printer.
3715 (record-type-vtable): User fields "prpr" (printer is no longer a
3716 user field).
3717 (record-type-name, record-type-fields): Decreased slot index by
3718 one; Use `vtable-offset-user'.
3719
027ffa31 3720Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
21fdbaee
MV
3721
3722 * boot-9.scm (inherit-print-state): New experimental function.
3723
adc14c93
JB
3724Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
3725
3726 Suggestion and script from Maciej Stachowiak:
3727 * boot-9.scm: Split off modules into separate, autoloadable files.
3728 This reduces startup time from 10.5s to 5.5s (user cpu).
3729 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
027ffa31 3730 string-fun.scm: New files, containing stuff that used to be in
adc14c93
JB
3731 boot-9.scm.
3732 * Makefile.am (ice9_sources): List new files here, for
3733 distribution and installation.
3734 * Makefile.in: Regenerated.
3735
5aa28c1e
JB
3736Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
3737
3738 * Makefile.in: Regenerated with automake 1.2c.
3739
2f110c3c
MD
3740Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3741
d1005e3c
MD
3742 * slib.scm (slib:load): slib:load first tries to load the file
3743 named NAME, then NAME.scm. On error, report the error occuring at
3744 the first attempt (NAME) rather than the second (NAME.scm).
3745
2f110c3c 3746 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
027ffa31 3747 the make-options macro so that we needn't refer to a global
2f110c3c
MD
3748 symbol.
3749
83b38198
MD
3750Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3751
3752 * debug.scm: Moved options interface procedures to boot-9.scm.
3753
3754 * boot-9.scm: Define options interface procedures here instead.
3755
af01fdcd
JB
3756Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
3757
3758 * boot-9.scm (separate-fields-discarding-char,
3759 separate-fields-after-char, separate-fields-before-char): Call
3760 continuation function, RET, as advertised: with each separated
3761 field a separate argument.
3762
3763 * Makefile.in: Regenerated with automake 1.2a.
3764
534a0099
MD
3765Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
3766
3767 * slib.scm (slib:load): Export.
3768
3769 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
3770 vicinity;
3771 Provide defmacro.
3772
8fa5faad
MD
3773Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3774
3775 * r4rs.scm (apply): Set name property to 'apply.
3776
11b05261
MD
3777Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3778
3779 * boot-9.scm (keyword->symbol, display-usage-report): Changed
027ffa31 3780 length --> string-length. (Thanks to Aleksandar Bakic.)
0a54457d 3781 (separate-fields-discarding-char, separate-fields-after-char,
027ffa31 3782 separate-fields-before-char): Bugfix from Maciej Stachowiak
0a54457d 3783 <mstachow@mit.edu>. Thanks!
a4f9b1f6
MD
3784 (try-module-linked): Try to find module among those already
3785 registered.
3786 (try-module-dynamic-link): Removed the first test which
3787 corresponds to a call to `try-module-linked'.
3788 (resolve-module): Resolve modules in this order: 1. Already
3789 registered modules (for example those which have been statically
3790 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
3791 link a .so-file.
11b05261 3792
24b2aac7
MD
3793Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3794
3795 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
3796
7cfae7e6
MD
3797Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3798
3799 * session.scm (name): New procedure: Gives name of object.
3800 (source): New procedure: Gives source of object.
3801
7a0ff2f8
MD
3802Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3803
f4be1689 3804 * boot-9.scm (primitive-macro?): New procedure.
7a0ff2f8
MD
3805
3806 * slib.scm: Added hack which transfers syntactic information from
3807 the builtin variable `define' to the slib version if module (ice-9
3808 syncase) has been loaded. This is necessary to get correct
3809 expansion inside the slib module.
3810
3811 * psyntax.ss (build-let, build-named-let): New output
027ffa31 3812 constructors.
7a0ff2f8
MD
3813 (build-lexical-var): Seed gensym with symbolic name.
3814 (self-evaluating?): Add keywords among self-evaluating types.
3815 (let): New core form.
3816 (if): Removed from core language.
3817 (or, and, let, cond): Removed syntactic definitions.
3818 (sc-expand3): New procedure: Expander which takes optional mode
027ffa31 3819 and eval-syntactic-expanders-when arguments.
7a0ff2f8
MD
3820
3821 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
3822 Should be used inside the (ice-9 syncase) module with (use-syntax
3823 syncase) and with the current directory containing the psyntax.ss
3824 source.
3825 Added hack to transfer syntactic information from the builtin
3826 variable `define' to the slib version if module (ice-9 slib) has
3827 been loaded.
a8944ae1 3828
027ffa31 3829Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
7a0ff2f8
MD
3830
3831 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
3832 (syncase): Publish syntax transformer to be used with
3833 `use-syntax'.
3834 (sc-macro): Use this as the value when publishing macros.
3835
3836 * boot-9.scm (module-type): Added `transformer'.
3837 (make-module): Modified initialization.
3838 (module-transformer, set-module-transformer!): Selector and
027ffa31 3839 mutator for module-associated transformer.
7a0ff2f8 3840 (set-current-module): Use module-transformer to set
027ffa31 3841 `scm:eval-transformer'.
7a0ff2f8 3842 (module-use!): Previous change reverted.
f4be1689 3843 (use-syntax): New function: Install a transformer in current
027ffa31 3844 module.
7a0ff2f8
MD
3845 (sc-interface, sc-expand): Removed! :)
3846
027ffa31 3847Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
d43f8c97
MD
3848
3849 * emacs.scm (emacs-load): Added new parameter `module'.
3850
3851 * syncase.scm (putprop, getprop): Modified to use the object
027ffa31
JB
3852 properties of the variable object corresponding to the symbol;
3853 This way we can ride on the mechanisms of the module system.
d43f8c97
MD
3854 Changed `builtin-variable' calls to `define-public' calls.
3855 Setup the hooks sc-expand and sc-interface.
3856
3857 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
3858 (set-current-module): Switch to and from sc-expand as
3859 scm:eval-transformer when going into and out of modules using
3860 syncase macros.
3861 (module-use!): Set scm:eval-transformer to sc-expand when adding
3862 the syncase interface.
3863
027ffa31 3864Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1f355b4f
MD
3865
3866 * syncase.scm (putprop): Temporary fix which publishes new syntax
3867 globally (the old behaviour was complex and connected to the inner
3868 workings of the current module system).
3869
027ffa31 3870Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e9b7bb80
MD
3871
3872 * psyntax.ss: Updated.
3873 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
3874 off!
3875
027ffa31 3876Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e672f1b5
MD
3877
3878 * boot-9.scm (gensym): Removed (replaced by primitive).
3879 (obarray-gensym): Rewritten to use `gensym'.
3880 (gentemp): Rewritten to use `gensym'.
3881
027ffa31 3882Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
30d732a6
MD
3883
3884 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
3885 according to the following priorities:
3886 1. tcl bindings which are present in override-scheme-list
3887 2. bindings from the-scm-module
3888 3. tcl bindings
3889 This way the gtcl module can occur first in the use-list without
3890 disabling the scheme interpreter.
3891 (new-interpreter): New function.
3892
3893 * gwish.scm: Moved initialization code for the-interpreter to
027ffa31
JB
3894 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
3895 it; Call `new-interpreter'; Don't :use-module (guile).
30d732a6 3896
1aa8162b
JB
3897Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
3898
3899 * Makefile.in: Regenerated.
3900
34695603
JB
3901Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
3902
3903 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
3904
52f1b046
MD
3905Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3906
3907 * emacs.scm (object->string, format, error-args->string): New
3908 procedures.
3909 (emacs-frame-eval): Reworked.
3910
a5be27cd
MD
3911Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3912
3913 * session.scm (apropos-internal): Musn't initialize symbol
3914 accumulator with a constant pair. That led to mutation of the
3915 source!
3916
68aed3ea
MD
3917Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
3918
3919 * session.scm (vector-for-each): Removed.
3920 (apropos): vector-for-each --> array-for-each.
3921 (apropos-internal): New function. Return list of accessible
3922 symbols matching regexp.
3923
3924 * debug.scm (frame-number->index): New function. Convert frame
3925 number (as displayed in the backtrace) to frame index (to be used
3926 in stack-ref).
3927
3928 * emacs.scm (emacs-load): New arguments: interactivep: when
027ffa31 3929 non-false, send back results to Emacs; colnum: Column number;
68aed3ea
MD
3930 Use modules (ice-9 debug) and (ice-9 session);
3931 (no-stack, no-source): New simple-actions;
3932 (result-to-emacs): New procedure. Sends data to Emacs via the
3933 result protocol;
3934 (get-frame-source, emacs-select-frame, emacs-frame-eval,
3935 emacs-symdoc): New procedures.
8c5a8bed 3936
555f21d8
MD
3937Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3938
eb7ec1e8 3939 * emacs.scm (emacs-load): Adjust stack narrowing.
8c3420ad 3940 (whitespace-chars): Include #\np.
eb7ec1e8 3941
555f21d8
MD
3942 * syncase.scm: Also turn off debugging evaluator and recording of
3943 procedure names during loading of psyntax.pp.
3944
3945 * psyntax.pp: Removed leading blanks => 800K -> 100K.
3946
230c4353
MD
3947Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3948
19ef2a9b 3949 * syncase.scm: Don't tamper with debug mode setting when enabling
027ffa31 3950 macros. Instead cut the stack with start-stack.
a48930c6 3951 Load psyntax.pp with recording of positions turned off.
19ef2a9b 3952
ceb177a4 3953 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
230c4353 3954
f4be1689 3955 * syncase.scm: New file: Guile-adaption for syntax-case macros.
027ffa31
JB
3956 * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
3957 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
230c4353 3958
0e81dabd
MD
3959Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3960
f4be1689 3961 * session.scm: New file: Session support.
0e81dabd
MD
3962 (apropos): New procedure: List bindings given regexp.
3963
027ffa31 3964Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
6afcd3b2
GH
3965
3966 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
3967 cstime.
3968
096d5f90
MD
3969Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3970
db75135d
MD
3971 * emacs.scm (emacs-load): Something has changed in the reader so
3972 that we now should set the port line count to the specified value
3973 (linum) instead of (- linum 1).
3974
096d5f90 3975 * slib.scm (slib:load): Use load-from-path instead of
027ffa31
JB
3976 primitive-load-path so that backtraces get narrowed properly at
3977 the top.
096d5f90
MD
3978
3979 * boot-9.scm (top-repl): Save stack already in signal handler in
3980 order to narrow it correctly.
3981 (save-stack): Adjust narrowing tag for the top of load-stacks.
3982
027ffa31 3983Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
7a6f1ffa
GH
3984
3985 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
3986 (dup->fdes): deleted, now done in C.
3987
027ffa31 3988Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
956055a9
GH
3989
3990 * boot-9.scm (setenv): new procedure, scsh compatible.
3991
485cb6eb
MV
3992Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
3993
3994 * boot-9.scm (with-fluids): New macro to go with the
027ffa31 3995 builtin `with-fluids*'.
485cb6eb 3996
4d0d7ef9
MD
3997Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3998
3999 * slib.scm (install-require-module): In newer versions of slib
027ffa31 4000 *catalog* is #f until the first access. Therefore we call
4d0d7ef9
MD
4001 require:provided? for a random feature if *catalog* is #f.
4002
8309a10d
MD
4003Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
4004
4005 * boot-9.scm: If using emacs interface, enable backtraces
4006 automatically.
4007
027ffa31 4008Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
e38303a2
GH
4009
4010 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
4011 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
4012 (duplicate-port): was a C primitive, now it's here.
4013 (move->fdes): allow the first argument to be a file descriptor.
4014 Return the modified port or file descriptor (was unspecified.)
4015
2e3e9351
JB
4016Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
4017
32552d73
JB
4018 Changes to compile under gnu-win32, from Marcus Daniels:
4019 * boot-9.scm (load-user-init): If HOME is unset, provide
4020 a default of /.
4021
2e3e9351
JB
4022 * boot-9.scm (define-public): Changed to accomodate Hobbit.
4023
db561408
JB
4024Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
4025
fcff2c5c 4026 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
027ffa31 4027 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
fcff2c5c
JB
4028 notation, instead of #/ notation.
4029
db561408
JB
4030 * expect.scm (expect-strings): Pass regexp/newline flag to
4031 make-regexp.
4032
2409cdfa
JB
4033Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
4034
db561408
JB
4035 Fix inconsistencies in parsing of #/ style lists.
4036 * boot-9.scm (read-path-list-notation): New function.
4037 (parse-path-symbol): Deleted. Replaced by above.
4038 Plug in read-path-list-notation as the parser for #/ lists,
4039 instead of the anonymous lambda form calling parse-path-symbol.
4040 (Thanks to Maurizio Vitale.)
a8944ae1 4041
2409cdfa
JB
4042 * boot-9.scm (make-list): Remove the definition of this function
4043 from the (ice-9 common-list) module; make the `init' argument
4044 optional in the scm module's definition, to match the deleted
027ffa31 4045 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
2409cdfa 4046
91b28bb5
JB
4047Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
4048
4049 Try to detect when people are using one version of libguile and a
4050 different version of ice-9. People have been skewing things and
4051 sending in bug reports.
4052 * version.scm.in: New file, which the configure script munges to
4053 produce version.scm, which contains the ice-9 config stamp.
4054 * boot-9.scm: Compare the libguile and ice-9 config stamps;
4055 display a warning if the two are different.
4056 * Makefile.am: Install version.scm, but don't distribute it.
4057 Distribute version.scm.in, but don't install it.
4058 * Makefile.in: Regenerated.
4059
9fbdb48f
JB
4060Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
4061
4062 * slib.scm (slib:warn): Alias for WARN function.
4063
e320da2f
JB
4064Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
4065
4066 * boot-9.scm (struct-printer): Fix off-by-one error in range
027ffa31 4067 check. Correctly check for struct printer tag.
e320da2f
JB
4068
4069 * expect.scm: Turn this into a module, (ice-9 expect).
4070 (expect-port, expect-timeout, expect-timeout-proc,
027ffa31
JB
4071 expect-eof-proc, expect-char-proc, expect, expect-strings,
4072 expect-select): Make these public definitions.
e320da2f
JB
4073 (expect-strings): Use make-regexp and regexp-exec, instead of
4074 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
4075 that's okay.
4076
4077 * boot-9.scm (with-regexp-parts): Comment this out. It has no
027ffa31
JB
4078 users in the core, and relies on mildly hairy details of the old
4079 regexp interface.
e320da2f
JB
4080
4081 * test.scm: Re-enable tests asserting that '() is true, and not a
4082 boolean. This stuff has been true for a while.
4083
4084 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
027ffa31 4085 function names.
e320da2f
JB
4086
4087 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
4088 fixes.
4089
3688473b
JB
4090Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
4091
4092 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
4093 ../configure.in.
4094
027ffa31 4095Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
0b46857f
MV
4096
4097 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
027ffa31 4098 vtable and not the one of the struct.
0b46857f 4099
027ffa31 4100Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
5dade857
MV
4101
4102 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
027ffa31
JB
4103 make-struct-printer, set-struct-printer-in-vtable!): New bindings
4104 to support printing of structures.
4105 (record-type-vtable, make-record-type): Add slot to hold printing
4106 function and initialize it with something appropriate. Removed
4107 commented out printing code.
5dade857
MV
4108 (record-type-name, record-type-fields): Adjusted slot offsets.
4109 (%print-module): Reduce argument list to "mod" and "port".
a8944ae1 4110
027ffa31 4111Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
95d59d10
JB
4112
4113 * slib.scm (identity): New function, used by SLIB.
4114
027ffa31 4115Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
e1a191a8
GH
4116
4117 * boot-9.scm: signal-handler, alarm-thunk: removed.
4118 don't define ticks-interrupt etc.
4119 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
4120 during call to scm-style-repl.
a8944ae1 4121
19da35d0
JB
4122Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
4123
4124 * slib.scm (slib:load): Use primitive-load-path instead of
4125 basic-load. This is probably wrong, but hopefully the entire
4126 source access system will be revised soon anyway, and this will
4127 make require behave more like Emacs Lisp's require. If this
4128 breaks something, please let me know. Maybe this is real dumb.
4129
0e165281
JB
4130Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
4131
027ffa31 4132 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
0e165281
JB
4133 * boot-9.scm: If the `regex' feature is present, use the module
4134 (ice-9 regex).
4135
737c9113
JB
4136Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
4137
4138 * regex.scm: New file.
4139 * Makefile.am (subpkgdata_DATA): Add regex.scm.
4140 * Makefile.in: Regenerated.
4141
36539a15
JB
4142Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
4143
4144 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
027ffa31
JB
4145 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
4146 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
4147 threads.scm: New address for FSF.
36539a15 4148
142ad3d9
JB
4149Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
4150
4151 * debug.scm: Update copyright years; this file has been worked on
027ffa31 4152 in 1997.
142ad3d9 4153
027ffa31 4154Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
cafa4c68
GH
4155
4156 * expect.scm: use gettimeofday instead of get-internal-real-time
4157 and use a floating point timeout when calling select. Untested,
4158 since the regex library is currently AWOL.
4159
223be5f0
JB
4160Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
4161
4162 * boot-9.scm (eval-string): Function deleted; it was already
4163 implemented in C, so there's no point in making a divergable copy
4164 here.
4165
9b01064c
JB
4166Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
4167
4168 * Makefile.in: Regenerated, using automake-1.1p.
4169
4170Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
4171
4172 * Makefile.in: Regenerated, using automake-1.1p.
4173
027ffa31 4174Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
1fbc60b2
GH
4175
4176 * boot-9.scm (error-catching-loop): don't read a line from
4177 current input when quit is encountered, the previous change
4178 fixes this too.
4179
c7d97590
JB
4180Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
4181
4182 * boot-9.scm (scm-style-repl): After reading an expression,
4183 consume any trailing newline (perhaps preceded by whitespace), to
027ffa31 4184 avoid screwing up GDB. More detail in comments.
c7d97590 4185
027ffa31 4186Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
6b3f3366
JB
4187
4188 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
4189 the Scheme code like code yet.
4190 * Makefile.in: Resrac,husrched.
4191
eea324ee
MV
4192Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
4193
4194 * boot-9.scm (link-dynamic-module): Do not catch errors from
027ffa31
JB
4195 dynamic-link and dynamic-call. When the shared library exists it
4196 is now assumed to be suitable for a dynamic C module.
a8944ae1 4197
ef79b65b
MV
4198Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
4199
4200 * boot-9.scm (process-use-modules): New function to support the
027ffa31 4201 use-modules macro
ef79b65b
MV
4202 (use-modules): throw an error iff one of the requested modules
4203 can't be found.
a8944ae1 4204
027ffa31 4205Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
3be77013
GH
4206
4207 * boot-9.scm: don't define timer-thunk or gc-thunk.
4208
28c682fa
JB
4209Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
4210
4211 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
4212
4213 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
4214 we're not using AM_INIT_GUILE_MODULE any more.
4215 * Makefile.in: Regeneratitetedrerd.
4216
20108301
JB
4217Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
4218
819f936b
JB
4219 Get 'make dist' to work again.
4220 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
4221 * Makefile.in: Regenerated, like two tons of fleas.
4222
20108301
JB
4223 Changes for reduced Guile distribution: one configure script,
4224 no plugins.
4225 * configure.in, configure: Removed.
4226 * Makefile.in: Regenerated.
4227
dab94cac
JB
4228Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
4229
48d224d7 4230 * boot-9.scm (eval-string, command-line, load-user-init): New
dab94cac
JB
4231 functions.
4232
027ffa31 4233Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
65495221
GH
4234
4235 * boot-9.scm (log10): defined.
4236
027ffa31 4237Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
708bf0f3
GH
4238
4239 * expect.scm (expect-select): correct the millisecond timeout
4240 arithmetic (from Marko.Kohtala@ntc.nokia.com).
a8944ae1 4241
027ffa31 4242Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
708bf0f3
GH
4243
4244 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
4245 instead of in libguile.
4246 (tm:sec etc.) new accessors for broken-down time.
4247 (set-tm:sec etc.) new setters for broken-down time.
4248
027ffa31 4249Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
9337637f
GH
4250
4251 * boot-9.scm (netent:addrtype, servent:port): added missing
4252 procedures.
4253 (netent:net, servent:proto): repaired.
4254 (utsname:sysname etc.): new accessors for uname.
4255
027ffa31 4256Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
9337637f
GH
4257
4258 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
4259 sockaddr:port): new functions.
4260
027ffa31 4261Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
bce074ee
GH
4262
4263 * boot-9.scm: define accessor procedures for the objects returned
4264 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
4265 passwd:name, where the first component is the name of the C structure
027ffa31 4266 and the second is the unprefixed C member name.)
bce074ee 4267
027ffa31 4268Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
bce074ee 4269
095936d2 4270 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
bce074ee
GH
4271 setservent): no longer take an argument, it was bogus.
4272
027ffa31 4273Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
81e2a235
GH
4274
4275 * boot-9.scm (scm-error): deleted, reimplemented in C.
4276
04798288
MD
4277Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
4278
4279 * boot-9.scm (process-define-module): Modified to handle both
4280 keywords and symbols.
4281
027ffa31 4282Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
75a97b92
GH
4283
4284 * slib.scm: update read usage.
4285
4286 * r4rs.scm: update primitive-load usage.
4287 Don't define read-sharp.
4288
4289 * boot-9.scm: use read-hash-extend to install extra read syntax.
4290 (read-sharp): removed.
4291 Adjust usage of primitive-load-path, read, which no longer take
4292 case_i or read-sharp arguments.
4293
027ffa31 4294Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
63a3d814 4295
90d5e280
MD
4296 * boot-9.scm: Added loading of session support module.
4297
63a3d814 4298 * debug.scm: Removed `display-application'. (Replaced by
027ffa31 4299 primitive procedure.)
63a3d814
MD
4300
4301 * boot-9.scm (beautify-user-module!): Don't add the root module
4302 interface to the end of the use-list of the root module.
4303
027ffa31 4304Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
75a97b92
GH
4305
4306 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
4307
027ffa31 4308Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
f3c23298
GH
4309
4310 * boot-9.scm: check use-emacs-interface for emacs support.
4311
027ffa31 4312Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
7950df7c
GH
4313
4314 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
4315 read gets EOF.
4316 * (exit): alias for quit.
4317
027ffa31 4318Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
8e44e7a0
GH
4319
4320 * boot-9.scm (error-catching-loop thunk): use a status variable to
4321 return the quit args.
4322 (scm-style-repl): call -quit, passing return value from
4323 error-catching-repl. Make -quit return its args.
1a36eef2 4324 stand-alone-repl: comment out, since it seems unused.
7950df7c 4325
8e44e7a0
GH
4326 (error-catching-loop thunk): discard trailing junk after a (quit).
4327
027ffa31 4328Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
9a942103 4329
06a02069
MD
4330 * boot-9.scm: Removed the old printer code.
4331
4332 * r4rs.scm (apply, call-with-current-continuation): Added comment
4333 explaining why apply and call/cc need to be closures.
4334
4335 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
4336 Removed. These definitions are already present in r4rs.scm.
4337
9a942103 4338 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
027ffa31
JB
4339 stack before printing traced frames; Re-enable trace flag at end
4340 of handlers.
9a942103 4341
027ffa31 4342Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e6875011 4343
59e1116d
MD
4344 * debug.scm: Add hook for reset of trace level at abort.
4345
4346 * boot-9.scm (run-hooks): New procedure.
4347 (add-hooks!): New macro.
4348 Change hooks to use these functions.
4349
027ffa31
JB
4350 * debug.scm: *Warning* This feature is a bit premature. I add
4351 it anyway because 1. it is very useful, and, 2. you can start
e6875011
MD
4352 making it less premature by complaining to me and by modifying
4353 the source! :-)
4354 (trace): Given one or more procedure objects, trace each one.
027ffa31 4355 Given no arguments, show all traced procedures.
e6875011 4356 (untrace): Given one or more procedure objects, untrace each one.
027ffa31
JB
4357 Given no arguments, untrace all traced procedures. The tracing in
4358 Guile have an advantage to most other systems: We don't create new
4359 procedure objects, but mark the procedure objects themselves.
4360 This means that also anonymous and internal procedures can be
4361 traced.
e6875011
MD
4362
4363 * boot-9.scm (error-catching-loop): Added handling of apply-frame
4364 and exit-frame exceptions.
a8944ae1 4365
095936d2 4366 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
e6875011
MD
4367 (set-repl-prompt!): Setter for repl prompt.
4368 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
027ffa31
JB
4369 string, display it; if prompt is a thunk, call it and display its
4370 result; otherwise display "> ".
4371 (Change suggested by Roland Orre <orre@nada.kth.se>.)
0065d90e
MD
4372
4373 * r4rs.scm (%load-verbosely): Reverted change to
027ffa31
JB
4374 `module-defined?', since the module system isn't bootstrapped when
4375 we load r4rs.scm. This is just a temporary fix to make the
0065d90e
MD
4376 repository version runnable.
4377
eb52a06b
MD
4378Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
4379
4380 * boot-9.scm: Removed the enabling of debug evaluator and
027ffa31
JB
4381 recording of source code positions. This was placed there for our
4382 convenience, but it has already sneaked into the distribution
4383 once... so we'd better add this in our local copies instead when
4384 we need it. (These options are normally enabled at the end of
eb52a06b
MD
4385 boot-9.scm when loading the debug module.)
4386
d18d1b6d
MV
4387Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
4388
4389 * boot-9.scm (module-defined?): New function.
4390 (macroexpand-1, macroexpand): Use local-ref instead of defined?
027ffa31 4391 and eval.
d18d1b6d 4392 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
027ffa31 4393 "defined?".
d18d1b6d 4394 * slib.scm (defined?): New function to take the place of the
027ffa31 4395 builtin "defined?". It allways examines the slib module.
d18d1b6d 4396
15ae1bee
MD
4397Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
4398
4399 * configure.in: Added AM_MAINTAINER_MODE
4400
027ffa31 4401Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
c2132276
GH
4402
4403 * boot-9.scm (read-sharp): define directly, don't go through a
4404 %read-sharp layer.
4405
027ffa31 4406Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
c2132276
GH
4407
4408 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
4409 uniform-vector-set1! which doesn't exist.
4410
d590bbf6
MD
4411Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
4412
4413 * boot-9.scm (backtrace): Removed. (A C version now exists in
4414 backtrace.c.)
4415
027ffa31 4416Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
1e531c3a
GH
4417
4418 * boot-9.scm (read-line!, read-delimited!, read-delimited,
4419 read-line): new procedures, see libguile/ChangeLog.
4420
bb0102f7
MV
4421Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
4422
4423 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
4424
4425 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
027ffa31
JB
4426 init-dynamic-module, dynamic-maybe-call,
4427 find-and-link-dynamic-module, link-dynamic-module,
4428 try-module-dynamic-link, registered-modules): New definitions for
4429 dynamic linking of modules.
bb0102f7 4430 (resolve-module): Try to dynamically link the requested module
027ffa31 4431 after failing to load it as Scheme code.
bb0102f7 4432
027ffa31 4433Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
920235cc
GH
4434
4435 * boot-9.scm (getservbyport, getservbyname): remove stray %.
4436
027ffa31 4437Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
198befde
JB
4438
4439 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
4440 that's what it is.
4441
4442 * lineio.scm (make-line-buffering-input-port): Properly test for
4443 the case of an empty buffer list. The old code assumed that '()
4444 was false.
4445
027ffa31 4446Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
33cf699f 4447
095936d2 4448 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
33cf699f 4449 (use-modules <module name> ...) Put the the modules named by
027ffa31 4450 <module name> ... on the use list of the current module.
33cf699f 4451
027ffa31 4452Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
7a818853
JB
4453
4454 * boot-9.scm (error-catching-loop): Remove message saying that
4455 typing "$" will put you in the debugger. This isn't implemented
4456 yet.
4457
506067f0
JB
4458Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
4459
4460 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
4461 been fixed, so this function is superfluous.
4462 (transform-usage-lambda): Use delq!, not delq-all!.
4463
2ebf3156
MV
4464Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
4465
7a818853 4466 * boot-9.scm (resolve-module): New optional parameter that
027ffa31 4467 controls whether autoloading is attempted or not. Default is #t.
2ebf3156
MV
4468 (process-define-module): Don't autoload the defined module.
4469 (try-module-autoload): Don't autoload the directory modules.
4470
7a818853 4471 * boot-9.scm (process-define-module): Ensure that the-scm-module
027ffa31
JB
4472 is last in the `uses' list to allow shadowing builtin
4473 bindings. All :use-module options are added in the order they
4474 appear in the arguments but before anything already on the list
4475 (such as the-scm-module).
2ebf3156 4476
027ffa31 4477Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
00f06035
GH
4478
4479 * slib.scm (slib-parent-dir): throw error if #f returned from
027ffa31 4480 %search-load-path.
00f06035 4481
733943b9
TT
4482Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
4483
4484 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
4485 * Makefile.am, aclocal.m4: New files.
4486 * configure.in: Updated for Automake.
4487
84abd243
MV
4488Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
4489
4490 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
027ffa31
JB
4491 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
4492 function, use it accordingly.
a8944ae1 4493
a31bc6fb
JB
4494Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
4495
4496 It's an "eval closure", not an "eval thunk." A thunk is a
4497 function of no arguments.
4498 * boot-9.scm (module-type): Rename module field.
4499 (make-module, eval-in-module, make-root-module,
a8944ae1 4500 set-current-module): Uses changed.
a31bc6fb
JB
4501 (module-eval-closure, set-module-eval-closure!,
4502 root-module-closure): Renamed from module-eval-thunk,
4503 set-module-eval-thunk!, root-module-thunk.
4504 (set-current-module): Change uses of *top-level-lookup-thunk* to
4505 *top-level-eval-closure*.
4506
3763761c
JB
4507Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
4508
4509 * slib.scm (slib-parent-dir): Use string-length, not length.
4510 (Thanks to Bernard Urban.)
4511
027ffa31 4512Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
7ad737b6 4513
7a818853 4514 * boot-9.scm: The debugging evaluator and recording of positions
7ad737b6
MD
4515 aren't enabled by default any longer (they are switched on in
4516 debug.scm). But during development we want to have them also
4517 *inside* boot-9.scm. Therefore, two lines are added at the
4518 beginning of boot-9.scm to enable these.
a8944ae1 4519
7ad737b6 4520 Call `provide' so that `records' are included among the
027ffa31 4521 `*features*'.
a8944ae1 4522
7ad737b6
MD
4523 The scheme for saving the stack has been adjusted: save-stack is
4524 now commonly available for saving the stack. Calling `save-stack'
4525 sets a flag `stack-saved?' which prevents overwriting the stack.
4526 `stack-saved?' is reset at `abort'.
a8944ae1 4527
7ad737b6 4528 Spelling correction: seperate --> separate.
a8944ae1 4529
7ad737b6 4530 Removed `:'s that had creeped into some comments.
a8944ae1 4531
7a818853 4532 The repl now doesn't print #<unspecified> results any longer
7ad737b6
MD
4533 If the user wants to see this, he can do
4534 (assert-repl-print-unspecified #t) in his startup file.
a8944ae1 4535
7a818853 4536 The user now gets a friendly message instead of a backtrace at
7ad737b6 4537 error.
a8944ae1 4538
7ad737b6 4539 Added `before-read-hook'.
a8944ae1 4540
7ad737b6 4541 Load module (ice-9 emacs) if option `-e' was specified.
a8944ae1 4542
7ad737b6 4543 (provide): New function.
a8944ae1 4544
7ad737b6
MD
4545 (error): Save stack at entry, so that Guile entrails won't show up
4546 in backtraces.
a8944ae1 4547
7ad737b6 4548 (backtrace): New function.
a8944ae1 4549
7a818853 4550 (save-stack): Can now take arbitrary number of stack narrowing
7ad737b6
MD
4551 specifier pairs. The first specifier in a pair controls inner
4552 border, the second the outer border. A number means cut that
4553 number of frames, a procedure object means cut until that object
4554 is found in operator position in a frame.
4555
4556 * debug.scm: Enable debugging evaluator and recording of positions
4557 by default.
4558
4559 * slib.scm (slib:load): Adapt to the new behavior of
4560 primitive-load: It doesn't any longer try both with and without
4561 ".scm" extension. (We don't want to use %search-load-path here.)
a8944ae1 4562
7ad737b6 4563 (implementation-vicinity): New function. slib requires it
a8944ae1 4564
7ad737b6 4565 (library-vicinity): Updated.
a8944ae1 4566
7ad737b6 4567 Load "require.scm" in the library-vicinity.
a8944ae1 4568
7ad737b6 4569 (install-require-vicinity, install-require-module): New functions.
a8944ae1 4570
99f97bfe
JB
4571Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
4572
581a242b
JB
4573 * boot-9.scm (load-from-path): New function.
4574
4575 * boot-9.scm (try-load, basic-try-load, try-load-module,
4576 try-load): Deleted. I don't think they're being used.
4577
48be3fb3
JB
4578 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
4579 so they'll get distributed.
4580
4581 Get Guile to be a little less chatty by default. The new user
4582 should see as little clutter as possible.
4583 * r4rs.scm (%load-verbosely): Make this #f by default.
4584 * boot-9.scm (scm-repl-verbose): Make this #f by default.
4585 (scm-style-repl): Don't run 'pk' on the value passed to quit.
4586
4587 * r4rs.scm: New file.
4588 * boot-9.scm: Load r4rs.scm, first thing.
4589 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
027ffa31
JB
4590 open-output-file, open-io-file, close-input-port,
4591 close-output-port, close-io-port, call-with-input-file,
4592 call-with-output-file, with-input-from-port, with-output-to-port,
4593 with-error-to-port, with-input-from-file, with-output-to-file,
4594 with-error-to-file, with-input-from-string, with-output-to-string,
4595 with-error-to-string, the-eof-object): Definitions moved to
48be3fb3
JB
4596 r4rs.scm. Not all of them are R4RS, but those that are use those
4597 that are not.
4598 (load, %load-verbosely, %load-announce): Moved, along with code to
4599 set %load-hook, to r4rs.scm.
4600
4601 * test.scm: New file.
4602
4603 * boot-9.scm (integer?): Definition deleted, in favor of the one
4604 present in libguile (which used to be called int?). I have no
4605 idea why integer? didn't just call int? to begin with.
4606
4607 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
4608 =?, >?, and >=? deleted; they're defined that way by libguile now.
4609
99f97bfe 4610 * boot-9.scm (load): Simplified; primitive-load does most of this
027ffa31
JB
4611 work now.
4612 (%load-announce-win): Removed; no longer used. Set %load-hook to
4613 call %load-announce.
99f97bfe 4614
027ffa31 4615Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
3afb28ce 4616
4fe3604d
JB
4617 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
4618 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
4619 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
4620 components.
3afb28ce
GH
4621 (file-is-directory?): use stat:type.
4622
3065a62a
JB
4623Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
4624
4625 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
4626 that's now taken care of in libguile, and in a way compatible with
4627 SCSH (which this isn't).
4628
e4c5095f
JB
4629Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
4630
4631 * boot-9.scm: Formatting tweaks.
4632
1bb961a3
MD
4633Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
4634
4635 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
027ffa31
JB
4636 after-error-hook, before-backtrace-hook and after-backtrace-hook
4637 to the error handler. E.g.: fancy emacs support could plug into
4638 these.
1bb961a3 4639 (save-stack): New function. The stack is now made differently
027ffa31
JB
4640 depending on the stack id. (The motivation is to make a better
4641 choice regarding what stack frames to present to the user.)
1bb961a3 4642 (error-catching-loop): Stack handling code moved outside into
027ffa31 4643 save-stack.
1bb961a3 4644
027ffa31 4645Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
9a0d70e2 4646
d7189b49
GH
4647 * Makefile.in (scm_files): add expect.scm.
4648
4649 * expect.scm: new file ported from guile-iii.
4650
9a0d70e2
GH
4651 * boot-9.scm: remove handle-system-error, after moving the code into
4652 error-catching-loop.
4653 Don't set 'throw-handler-default property on error keys.
4654 Just interpret (almost) any throw with 4 args as an error throw.
4655 Delete some try-load stuff that was already commented out.
4656
35c5db87
GH
4657 Second thoughts, keep handle-system-error but call it from
4658 error-catching-loop.
4659
d065b65f
JB
4660Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
4661
aa9576ad
JB
4662 * boot-9.scm: Doc fixes.
4663 (make-module): Rework for readability.
4664 (make-root-module, make-scm-module): USES argument to make-module
027ffa31 4665 should be '(), not #f.
aa9576ad 4666
d065b65f
JB
4667 * boot-9.scm (try-load): %sys-load-path has been renamed to
4668 primitive-load-path; adjust call here.
4669
c01c94bf
MD
4670Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4671
d065b65f 4672 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
027ffa31 4673 the stack to the correct place: when it is decided to generate an
c01c94bf
MD
4674 error-signal.
4675
2dfc85c0
MD
4676Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4677
4678 * boot-9.scm (error-catching-loop, signal-handler,
027ffa31
JB
4679 handle-system-error): Backtracing now works for signals aswell;
4680 Backtracing mechanism can now identify the stack root created by
4681 start-stack so that the user isn't exposed to system stack frames.
2dfc85c0 4682
84d8ad97
MD
4683Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4684
4685 * Makefile.in: Added threads.scm.
a8944ae1 4686
4f0292cf
MD
4687Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4688
4689 * debug.scm (make-enable, make-disable): Simplified.
4690
4691 * boot-9.scm: Renamed %%throw-handler-default -->
027ffa31 4692 throw-handler-default.
4f0292cf
MD
4693 ((handle-system-error key . arg-list)): Changed the way errors are
4694 reported.
4695 ((scm-style-repl)): Wrap up the call to eval in a start-stack
027ffa31 4696 acro.
4f0292cf 4697 ((error-catching-loop thunk)): Introduce a lazy-catch into
027ffa31 4698 error-catching-loop so that the stack can be captured.
4f0292cf 4699
1eaceb61
JB
4700Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
4701
4702 * mapping.scm (hash-table-mapping): Explicitly request that
027ffa31 4703 make-vector fill new vectors with '(); this will make it easier to
1eaceb61
JB
4704 port Guile Scheme code to other Schemes.
4705 * boot-9.scm (make-print-style, make-print-table): Same.
4706
027ffa31 4707Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
6fa8995c
GH
4708
4709 * boot-9.scm (load): rewritten again.
4710 Append "." to the default %load-path.
4711 (feature?): new function: checks for a symbol in the features list.
4712 (module-local-variable): remove apparently useless (caddr (list m v
4713 ...))
4714 (%load-announce): minor formatting change.
4715 (file-exists?): use access? if posix is featured.
4716 (file-is-directory?): use stat if i/o-extensions is featured.
a8944ae1 4717 (try-module-autoload module-name): use file-exists? before
6fa8995c
GH
4718 file-is-directory?
4719
027ffa31 4720Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
8b4a21d1 4721
8acae5bb
MD
4722 * boot-9.scm: Added conditional loading of threads.scm.
4723
4724 * threads.scm: New file. Modified from the Cygnus-r0.3
4725 distribution.
4726
8b4a21d1
MD
4727 * boot-9.scm (error-catching-loop): Added handling of key
4728 `switch-repl'.
4729
4730 * boot-9.scm: Name change %%bad-throw --> bad-throw.
4731
027ffa31 4732Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
c90c9685
JB
4733
4734 * boot-9.scm (make-record-type, record-constructor): Don't assume
4735 the empty list is false when parsing the argument list.
4736
4737Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
4738
4739 * boot-9.scm (signal-handler): Clean up logic.
4740
4741 * boot-9.scm (load): Assume %load-path is always bound.
4742
027ffa31 4743Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
5552355a 4744
027ffa31
JB
4745 * boot-9.scm (error): replace another throw with scm-error. Throw
4746 to 'misc-error instead of 'error (no need to distinguish these.)
5552355a
GH
4747 Don't set up 'error as a key.
4748 Set up regex-error as a key, if regex is available.
4749 (signal-handler): use scm-error, not throw.
4750
7a818853 4751 (%try-load, try-load-with-path, %load, load-with-path,
5552355a
GH
4752 basic-try-load-with-path, basic-load-with-path,
4753 try-load-module-with-path,load-module-with-path): deleted, since
4754 they seem redundant.
4755 (try-load): define using %try-load, not try-load-with-path.
7a818853 4756 (load): rewritten. load tries to open the file directly and
5552355a
GH
4757 with a .scm extension before searching the library directories
4758 (should "." be added to %load-path? then load could still open
027ffa31 4759 directly files starting with "/").
5552355a
GH
4760 (try-module-autoload): use load, not load-with-path.
4761 (%load-indent): deleted, -2 was causing errors.
4762
4763 (%read-sharp): use port-line, not line-number.
4764
c90c9685
JB
4765Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
4766
4767 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
027ffa31
JB
4768 straightforward to provide the equivalent functionality using
4769 (catch #t ...), so there's no need for the extra complexity. 2)
4770 Outside the context of a read-eval-print loop (which Guile should
4771 not require) it's not clear we should do anything more complicated
4772 than print an error and exit; the user or REPL can establish
4773 something better if it wants. 3) In that case, it's much more
4774 robust to just do it in the C code.
c90c9685 4775
027ffa31 4776Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
855c0eac 4777
027ffa31 4778 * boot-9.scm (%try-load): define using primitive-load. Previously
855c0eac
GH
4779 %try-load itself was the primitive.
4780 (load-with-path): use scm-error instead of %load-announce-lossage.
4781 Errors are thrown to 'misc-error instead of 'could-not-load.
4782 (%load-announce-lossage): deleted.
4783
a0c97697
MD
4784Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
4785
4786 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
4787 (make-record-type type-name fields): Temporarily remove support
4788 for printing of records (not possible yet with C printer).
4789
027ffa31 4790Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
be2d2c70
GH
4791
4792 * boot-9.scm (file-exists?, file-is-directory): catch only
4793 system-error, not every kind of error.
4794 (scm-error): new procedure.
4795
434bf5ce
JB
4796Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
4797
4798 * boot-9.scm: Formatting tweaks.
4799
027ffa31 4800Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
2194b6f0
GH
4801
4802 * boot-9.scm (%%handle-system-error key): remove the code for
4803 SCM-style errors. handle the case that an unexpected number
4804 of args are supplied.
4805 (%%system-errors): removed.
4806 (error): redefine using a throw with key and 4 args.
4807 ('error): associate 'error, 'error-signal keys with
4808 %%handle-system-error.
4809 (%%default-error-handler): removed.
4810 (signal-handler): throw with 4 args and use the error-signal key.
4811 Create an error message instead of using numerical codes.
4812 (%%bad-throw): call error instead of throw if key not found.
4813
027ffa31 4814Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
2194b6f0
GH
4815
4816 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
4817 (%%handle-system-error key): check subr is not #f before printing.
4818 Recognize %s (embed an argument using "display") and
4819 %S (embed an argument using "write").
4820
027ffa31 4821Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
234f2da6
GH
4822
4823 * boot-9.scm (%%handle-system-error key): set args and rest to
4824 the empty list if they are #f.
4825 Initialize out-of-range as an error key.
4826
027ffa31 4827Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
e1724d20 4828
40c8906e
GH
4829 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
4830
e1724d20
GH
4831 * boot-9.scm: remove leading %% from references to '%%system-error.
4832 (%%handle-system-error): don't pass all the thrown arguments when
4833 aborting, just the key and subr.
4834 Remove the code to "Install default handlers for built-in errors."
4835 Remove the definition of the syserror procedure.
4836 Associate 'numerical-overflow with default handler.
4837
1a80fb07
MD
4838Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4839
4840 * boot-9.scm: Name change: value-ref --> local-ref
4841 resolved-ref --> nested-ref Motivation: conformance to the other
4842 dictionary operators: list-ref operates on list, vector-ref
4843 operates on vector, nested-ref operates on nested namespace,
4844 local-ref operates on the local nested namespace.
4845
027ffa31 4846Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
7cb1d4d3
GH
4847
4848 * boot-9.scm (%%handle-system-error): recognise errors thrown
4849 by lgh-error (fill-message etc.)
9561554c 4850 (fill-message): check first whether args is null.
a949b3f2 4851 (fill-message): bug fix and check that args is a list.
7cb1d4d3 4852
027ffa31 4853Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
393ee9a8
JB
4854
4855 * boot-9.scm: %load-path is initialized in C code now.
4856 (implementation-vicinity, parse-path): Deleted, along with code to
4857 initialize %load-path.
4858
4859 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
4860 "/", use one to separate it from the file.
4861
027ffa31 4862Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
e4ef46d4
JB
4863
4864 * boot-9.scm (%load-path): Add the site directory.
4865 Add the directory named after the version number.
4866 Prepend the version number to the other directories in the path.
4867 Simplify by mapping the common prefix onto each item.
4868 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
4869 sitedatadir): New definitions.
4870 (libparent, libdir, install_path): Replaced by above.
4871 (install): Create the above directories.
4872 Put the source files into subpkgdatadir.
4873 (uninstall): Remove the above directories.
4874
00312aa3
JB
4875Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
4876
4877 Don't use the PLUGIN system to gather information for the
4878 Makefile's distribution and installation targets; just put it all
4879 in the Makefile directly.
4880 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
4881 for these.
4882 * configure.in: Remove code that gets and substitutes scm_files and
4883 aux_files.
4884 * Makefile.in (scm_files, aux_files): Write out the list of files
4885 here, where people expect to find them.
4886
96a8aaf3
MD
4887Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4888
4889 * boot-9.scm: Preliminary solution: optionally load the debug
027ffa31 4890 module. Changed "gls" to "guile1.0b3".
96a8aaf3
MD
4891
4892 * debug.scm: New file: debug extensions.
4893
4e378733
MD
4894Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4895
4896 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
027ffa31 4897 weak-key-hash-table?. (Again!)
4e378733 4898
0190d683
MD
4899Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
4900
4901 * boot-9.scm (print-vector, macro-table, xformer-table):
4902 Renamed weak-hash-table --> weak-key-hash-table.
4903
4904 * poe.scm (funcq-memo): Renamed weak-hash-table -->
4905 weak-key-hash-table.
a8944ae1 4906
027ffa31 4907Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
8b13c6b3
GH
4908
4909 * boot-9.scm (*null-device*): global constant from goonix.
4910 (move->fdes): adjusted for boolean primitive-move->fdes. return
4911 the modified port, always set revealed count to 1 (SCSH compatible).
4912 (release-port-handle port): from goonix (SCSH compatible).
4913 (%open-file): removed.
4914 (open-input-file, open-output-file, file-exists?, file-is-directory?):
4915 modified for open-file change (does not return #f).
4916
027ffa31 4917Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
a44a755d
JB
4918
4919 * Makefile.in (dist-dir): New target for new dist system.
4920 (manifest): Deleted.
4921 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
4922 directory, and needs special treatment in the dist-dir target.
4923
027ffa31 4924Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
02b754d3
GH
4925
4926 * boot-9.scm: remove the wrappers for '%' system primitives,
4927 now that they throw errors directly.
4928 remove make-simple-wrapper and similar functions.
4929 protect a call to getenv which may now throw an exception.
4930
027ffa31 4931Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
02b754d3
GH
4932
4933 * boot-9.scm (false-if-exception): new macro.
4934
0f2d19dd
JB
4935Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
4936
4937 * The more things change...
4938
4939
a2f00b9b
LC
4940;; Local Variables:
4941;; coding: utf-8
4942;; End: