* Scheme cells now consist of scm_bits_t values instead of SCM values.
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
7bbe9dee
MV
12000-05-09 Marius Vollmer <mvo@zagadka.ping.de>
2
3 * common-list.scm (delete-if-not!): Bug fix of bug fix: change
4 label of named let to `delete-if-not'. Sorry.
5
e2d1d99d
MV
62000-05-08 Marius Vollmer <mvo@zagadka.ping.de>
7
8 * common-list.scm (doc fixes): Talk about `true values' instead of
9 `#t' when a function treats all non-#f valuers the same.
10 (remove-if-not): Bug fix: call remove-if-not
11 instead of remove-if when iterating.
12 (delete-if-not!): Bug fix: call delete-if-not! instead of
13 delete-if! when iterating.
14
a0128ebe
MD
152000-04-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
16
17 * r4rs.scm (close-input-port, close-output-port): Removed.
18
068cb539
MD
192000-04-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
20
21 * session.scm (help): New macro. Prints helpful information.
22
d8859d6b
GH
232000-04-10 Gary Houston <ghouston@arglist.com>
24
25 * popen.scm (open-process): after forking, close all ports except
26 the end of the pipe to the parent. otherwise move->fdes and
27 the exec'd program and the exit handlers can interfere with file
28 descriptors still in use in parent ports.
29
bf0e28d8
GH
302000-04-09 Gary Houston <ghouston@arglist.com>
31
32 * popen.scm (close-process-quietly): new procedure. use it from
33 reap-pipes to avoid errors or hanging during background cleanup.
34
304b56da
MD
352000-04-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
36
37 * format.scm (format:obj->str): Handle circular references. Also,
38 print improper lists with (x y . z) syntax rather than as
39 individual pairs. (This code should probably be integrated into C
40 level facilities. It is currently terribly slow.)
41
b87e3d4d
ML
422000-04-03 Michael Livshin <mlivshin@bigfoot.com>
43
44 * streams.scm (stream-fold, stream-for-each): don't use named let,
45 because it prevents the gc from junking the stream argument.
46
df8bb2dc
GB
47Thu Mar 9 08:05:08 2000 Greg J. Badros <gjb@cs.washington.edu>
48
49 * slib.scm: Back-out change to software-type -- renamed
50 slib:software-type to software-type, and leave it non-public.
51
e510ed37
GB
52Thu Mar 2 12:20:52 2000 Greg J. Badros <gjb@cs.washington.edu>
53
54 * boot-9.scm: Drop unused definition of sfx function -- thanks
55 Dirk Hermann!
56
0f202d3f
GB
57Wed Mar 1 12:21:02 2000 Greg J. Badros <gjb@cs.washington.edu>
58
59 * streams.scm: Doc patch from Richard Kim, using MIT Scheme as
60 source of the numerous very short changes.
61
92540145
GB
62Sun Feb 13 18:03:19 2000 Greg J. Badros <gjb@cs.washington.edu>
63
64 * slib.scm: Rename software-type to slib:software-type and make it
65 public.
66
67 * r4rs.scm: Added documentation; largely cut and pasted from R4RS
68 info pages.
69
70Sun Feb 13 17:49:29 2000 Greg J. Badros <gjb@cs.washington.edu>
71
72 * common-list.scm: Added documentation; largely cut and pasted
73 from slib docs.
74
b1c7c8f1
MD
752000-02-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
76
77 * format.scm (format): Reintroduce (define format format:format)
78 so that the binding in the public interface of the module will be OK.
79
bd9e24b3
GH
802000-01-30 Gary Houston <ghouston@arglist.com>
81
82 * boot-9.scm (find-and-link-dynamic-module): pass strings, not symbols,
83 to string-append.
84
28d77376
GH
852000-01-29 Gary Houston <ghouston@arglist.com>
86
87 * expect.scm (expect): don't call char-ready? before expect-select,
88 since select now checks port buffers itself. don't bother to check
89 the time first either, since expect-select does it.
90
078e9092
GB
91Thu Jan 20 12:57:36 2000 Greg J. Badros <gjb@cs.washington.edu>
92
93 * format.scm: Use (variable-set! (builtin-variable 'format)) to
94 re-define format to be format:format (instead of just define,
95 which interacts poorly with the module system). Thanks to Shuji
96 Narazaki for this change.
97
7965d98f
GB
98Tue Jan 11 10:49:22 2000 Greg J. Badros <gjb@cs.washington.edu>
99
100 * boot-9.scm expect.scm, syncase.scm: Switch to new style
101 `simple-format' message strings: substitute ~A for %s, and ~S for
102 %S.
103
104 * boot-9.scm: Added (define format simple-format) to expose that
105 primitive via the simpler name until format.scm is loaded.
106
f73d2411
MV
1072000-01-09 Marius Vollmer <mvo@zagadka.ping.de>
108
109 * boot-9.scm (try-using-libtool-name): Do not bother to look
110 inside libtool ".la" file, dynamic-link does this for us now.
111
f353a9e2
GH
1121999-12-15 Gary Houston <ghouston@freewire.co.uk>
113
114 * slib.scm (library-vicinity, home-vicinity,
115 scheme-implementation-type, scheme-implemenation-version):
116 use define-public to export from the module.
117
e18a3a4d
GB
118Wed Dec 15 08:32:09 1999 Greg J. Badros <gjb@cs.washington.edu>
119
120 * doc.scm: Use `%library-dir' and the other system directories,
121 not the quickly defuncted `library-dir' that I added before
122 realizing the former existed. Thanks Brad Knotwell!
123
62b82274
GB
124Sun Dec 12 19:18:52 1999 Greg J. Badros <gjb@cs.washington.edu>
125
126 * Makefile.am, doc.scm: Added doc.scm.
127
5622c630
GB
1281999-12-12 18:54:06 1999 Greg J. Badros <gjb@cs.washington.edu>
129
130 * popen.scm, slib.scm: Added some docstrings for procedures that
131 were primitives that I encountered in posix.texi.
132
afe5177e
GH
1331999-11-19 Gary Houston <ghouston@freewire.co.uk>
134
135 * Makefile.am (ice9_sources): add arrays.scm.
136
137 * boot-9.scm: load arrays.scm if 'array is provided.
138
139 * arrays.scm: new file with stuff from boot-9.scm.
140
5c11cc9d
GH
1411999-11-18 Gary Houston <ghouston@freewire.co.uk>
142
143 * boot-9.scm (read-hash-extend to set up arrays): add 'l' for
144 long_long uniform vectors.
145
1461999-11-17 Gary Houston <ghouston@freewire.co.uk>
147
148 * networking.scm (sethostent, setnetent, setprotoent, setservent):
149 take an optional argument STAYOPEN. default is #f.
150
0c1221ab
JB
1511999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
152
153 * Makefile.in: Deleted from CVS repository. Run the autogen.sh
154 script to create generated files like this one.
155
52cfc69b
GH
1561999-09-23 Gary Houston <ghouston@freewire.co.uk>
157
158 * boot-9.scm (load-user-init): check that the posix feature is
159 available before using getpw and getuid.
160 (top-repl): don't install handlers for SIGINT etc., without posix.
161 (file-is-directory?): use 'posix instead of i/o-extensions to
162 check for stat.
163 (load-user-init): use file-exists? and file-is-directory? to
164 check for .guile, instead of stat.
165 (file-is-directory?): don't display the file name if posix not
166 available.
167 (feature?): I guess this is deprecated. redefined using "provided?"
168 and changed users in boot-9.scm to "provided?".
169 Conditionally load posix.scm and networking.scm.
170
171 posix.scm, networking.scm: new files. Move definitions from
172 boot-9.scm if they are only useful with posix/networking available.
173
174 * Makefile.am (ice9_sources): add posix.scm, networking.scm.
175
4c59297c
MD
1761999-09-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
177
09cbffcd
MD
178 * debugger.scm (read-and-dispatch-commands): Handle other throws
179 than 'exit-debugger.
180
181 * boot-9.scm (before-signal-stack): New fluid.
182 (top-repl): Set before-signal-stack in the signal handler.
183
4c59297c
MD
184 * debugger.scm (eval-handler): Handle unhandled exceptions.
185
b50408e5
MD
1861999-09-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
187
188 * debugger.scm ("p"): New alias for "evaluate";
189 Mark module with :no-backtrace.
190 ("position"): New command.
191 (source-position, display-position): New procedures.
192 (display-source): Display position of expression, if available.
193 (catch-user-errors): Return #f on error. (Commands are expected
194 to return a valid state.)
195 (read-and-dispatch-command): Bugfix: Return old state on error.
196
bbfba545
JB
1971999-09-16 Jim Blandy <jimb@savonarola.red-bean.com>
198
199 * regex.scm (regexp-substitute/global): Handle the end of the
200 match list and an empty match list identically. (Thanks to Greg
201 Badros.)
202
5eb548fc
MD
2031999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
204
205 * debugger.scm ("evaluate"): Replaced `write-line' with calls to
206 `write' and `newline' since write-line doesn't write but displays.
207
69fafe46
MD
2081999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
209
0fdcbcaa
MD
210 * debugger.scm ("evaluate"): Newline after no env announcement.
211
30772a34 212 * debug.scm, emacs.scm: Updated copyright notices.
03ce8ed1
MD
213
214 * boot-9.scm (make-autoload-interface): Bugfix.
215 (top-repl): Autoload debugger.
216
69fafe46
MD
217 * debugger.scm ("backtrace"): Don't pass length param to
218 display-backtrace if it wasn't explicitly given by the user.
219 (write-frame-long/application): Also print corresponding source
220 expression.
221 ("evaluate"): Evaluate in local environment frame, if existent;
222 Handle errors.
223
b142c81d
JB
2241999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
225
226 * format.scm (format:format-work): Use #\tab and #\page instead of
227 slib:form-feed and slib:tab. (Thanks to Ceri Storey.)
228
229 * format.scm (format:abort): Call error, not slib:error.
230
f14d3ff8
MD
2311999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
232
0fdcbcaa 233 * boot-9.scm (using-readline?): New procedure: Returns #t if
f14d3ff8
MD
234 readline is used by the repl run by this thread.
235 (handle-system-error): Print "Backtrace:" before backtrace since
236 this is no longer done by display-backtrace.
237
238 * debug.scm (frame-number->index): Optionally take stack as
239 argument.
240
241 * debugger.scm: Use the frame number abstraction which allows for
242 both forward and backward views of the stack
243 (write-frame-index-short, write-frame-index-long):
244 Use selector `frame-number';
245 (select-frame-absolute): Use frame-number->index.
246 ("backtrace"): Use builtin backtrace printing.
247 Use (ice-9 debug).
248 Use readline conditionally.
249
50ff2ecb
JB
2501999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
251
252 * regex.scm (fold-matches, list-matches): New functions.
253 (regexp-substitute/global): Rewritten again in terms of
254 list-matches, to get null match behavior correct.
255
256 * regex.scm (regexp-substitute/global): Rewrite so that 'post at
257 the end of the item list actually causes a tail call. (Thanks to
258 Jan Nieuwenhuizen.)
259
98baa684
MV
2601999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
261
262 * readline.scm: Moved to ../guile-readline.
263
50ff2ecb 264 * boot-9.scm (top-repl): Removed code for activating readline.
98baa684
MV
265
266 * Makefile.am: Removed mention of readline.scm.
267
268 * Makefile.in: Regenerated.
269
e1f20ec6
JB
2701999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
271
272 Delete the test which compares the configuration date of libguile
273 with the configuration date of ice-9. This test yields too many
274 false positives to be helpful. For example, if you build Guile
275 for several architectures but have them all share a "share"
276 directory (which is supposed to work), then all but one
277 architecture's Guile will complain that the configuration dates
278 don't match. Which is true, but indicates nothing wrong.
279 * boot-9.scm: Delete code which compares ice-9-config-stamp with
280 libguile-config-stamp.
281 * version.scm.in: Delete.
282 * Makefile.am (ice9_generated): Delete.
283 (subpkgdata_DATA): Remove ice9_generated.
284 (EXTRA_DIST): Remove version.scm.in.
285 * Makefile.in: Regenerate.
286
d61d2039
MD
2871999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
288
0fdcbcaa 289 * debugger.scm: New file: Initial version of the Guile debugger
d61d2039
MD
290 written by Chris Hanson. (The debugger isn't finished, but is
291 included in Guile anyway since it is already quite useful.)
292
0fdcbcaa 293 * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9
d61d2039
MD
294 session) (ice-9 threads) (ice-9 regex) from guile-user only if
295 top-repl is called. This makes startup time for scripts 30% of
296 what it was before... Removed redundant code for loading of
297 readline.
298
299 * Makefile.am (ice9_sources): Added debugger.scm.
300
a48a7629
MD
3011999-08-29 Keisuke Nishida <kxn30@po.cwru.edu>
302
303 * boot-9.scm (try-module-autoload): Use %search-load-path.
304
6822fe53
MD
3051999-08-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
306
307 * boot-9.scm: Removed old style hooks.
308 (inherit-print-state): Rwwritten to use port-with-print-state.
309
f8c9d497
JB
3101999-08-20 James Blandy <jimb@mule.m17n.org>
311
312 Remove support for the #/ path list syntax entirely.
313 * boot-9.scm (read-path-list-notation,
314 read-path-list-notation-warning): Deleted.
315 Don't register read-path-list-notation-warning as a reader for
316 objects starting with '#/'.
317
eba96884
MD
3181999-08-05 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
319
320 GOOPS needs the observer protocol specified for the new module
321 system. Here's a simple version for the old module system:
322 * boot-9.scm (module-observers, module-weak-observers,
323 module-observer-id, set-module-observers!,
324 set-module-observer-id!): New accessors.
325 (module-type): Added slots `observers', `weak-observers' and
326 `observer-id'.
327 (module-observe, module-observe-weak, module-unobserve,
1a961d7e 328 module-modified): New procedures.
eba96884 329 (module-make-local-var!, module-add!, module-remove!,
1a961d7e 330 module-clear!, module-define!, module-use!): Call module-modified.
eba96884 331
2a52b429
MD
3321999-07-29 Marius Vollmer <mvo@zagadka.ping.de>
333
334 * boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
335 defines.
336
a3bb43e5
JB
3371999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
338
59526439
JB
339 * streams.scm: New module, contributed by Michael Livshin.
340 * Makefile.am (ice9_sources): List it.
341 * Makefile.in: Regenerated.
342
a3bb43e5
JB
343 * boot-9.scm (read-delimited!): Put the terminator in the correct
344 position.
345
40ed3fe6
MD
3461999-06-29 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
347
348 * readline.scm: Bugfix: Avoid getting the continued-lines prompt
349 at multiple calls to read.
350 (promtp2): Variable for continued-lines prompt.
351 (make-readline-port): Use prompt2.
352 (set-readline-prompt!): New optional arg which sets
353 continued-lines prompt.
354
355 * boot-9.scm (top-repl): Set/clear readline prompts before/after
356 reading expressions.
357
d21ffe26
JB
3581999-06-18 Jim Blandy <jimb@savonarola.red-bean.com>
359
360 * ls.scm (ls, lls): Handle no arguments as meaning to look in
361 `(current-module)'. (Patch from Thien-Thi Nguyen.)
362
8044bbc8
JB
3631999-06-14 Jim Blandy <jimb@savonarola.red-bean.com>
364
365 * string-fun.scm (split-before-predicate, split-after-predicate,
366 split-discarding-predicate): Make these public. (Thanks to
367 Thien-Thi Nguyen.)
368
369 1999-06-13 Gary Houston <ghouston@easynet.co.uk>
370
371 * more changes to expect.scm, to avoid the one-character lookhead
372 that was introduced to fix the $ problem:
373
374 * expect.scm (expect): call the match proc an extra time at end
375 of file and set the eof? argument appropriately. call
376 expect-eof-proc only if the last call didn't match.
377 * expect.scm (expect-strings): change port to eof? in match proc.
378 * expect.scm (expect-regexec): take an eof indicator as an argument
379 instead of a port.
380
027ffa31 3811999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
aad827f4
JB
382
383 * Makefile.am (ice9_sources): Add popen.scm to list.
384 * Makefile.in: Regenerated.
385
8ed3c2fb
JB
386 Fixes for expect from Gary Houston <ghouston@easynet.co.uk>:
387
388 * expect.scm (expect-regexec): define 'eof-next?'. I don't
389 know why it was missing. also don't peek for end of lines
027ffa31 390 unless expect-strings-exec-flags contains regexp/noteol.
8ed3c2fb
JB
391 (expect-strings-exec-flags): initialise to regexp/noteol.
392
aad827f4
JB
393 Gary Houston's open-buffer port patches:
394
395 1999-04-01 Gary Houston <ghouston@easynet.co.uk>
396
397 * popen.scm: applied fixes from Greg Harvey. use a guardian
398 and a gc-thunk so that cleanup is done if a pipe is garbage
399 collected or closed with close-port. use a weak hash-table instead of
400 an alist.
401
402 1999-03-20 Gary Houston <ghouston@easynet.co.uk>
403
ad226f25 404 * expect.scm (expect): call the match proc with the port instead.
aad827f4
JB
405 (expect-strings): use peek-char to get the next char. this has
406 the advantage of getting the handling of $ "correct", but the
407 disadvantage of needing to get (and maybe block for) an extra character
408 from the port when it may not be needed. hence:
ad226f25 409 (expect-strings-exec-flags): new variable/parameter, supplies
027ffa31 410 flags for regexp-exec. if this includes regexp/noteol, then
aad827f4
JB
411 automatic regexp/noteol handling (requiring an extra peeked char)
412 is enabled. default is regexp/noteol.
027ffa31
JB
413 (expect-strings-compile-flags): new variable/parameter, supplies
414 flags for make-regexp. default is regexp/newline.
aad827f4
JB
415
416 1999-03-15 Gary Houston <ghouston@easynet.co.uk>
417
ad226f25 418 * expect.scm (expect): call the match proc with an extra char,
aad827f4
JB
419 peeked from the stream.
420 (expect-strings): build a match proc which takes the extra char.
421 (expect-regexec): take an extra arg "eof-next?" and use it
422 to decide whether the regexp/noteol flag should be added.
423
424 1999-02-26 Gary Houston <ghouston@easynet.co.uk>
425
426 * boot-9.scm (top-repl): don't flush all ports at exit.
427 (error-catching-loop): likewise.
428
429 1998-12-23 Gary Houston <ghouston@easynet.co.uk>
430
431 * boot-9.scm (scm-style-repl): -read: don't call
432 consume-trailing-whitespace if val is eof object. Allows
433 exiting repl with single control-D.
434
435 1998-12-06 Gary Houston <ghouston@easynet.co.uk>
436
437 * boot-9.scm (error-catching-loop): don't force output within
438 error catching loop after quit received.
439 (top-repl): flush all ports when the repl terminates.
440
441 * boot-9.scm (error-catching-loop): flush all ports before
442 primitive exit if non-interactive.
443 force-output on current-error-port if interactive.
444
445 * boot-9.scm (reopen-file): deleted.
446 * popen.scm (open-output-pipe, open-input-pipe): moved from
447 boot-9.scm.
448 * popen.scm: new file.
449
15631a33
MD
4501999-06-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
451
452 * boot-9.scm (iota): replaced by a tail recursive version.
027ffa31 453 (reverse-iota): removed.
15631a33 454
8d8fc9da
MD
4551999-06-03 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
456
457 * optargs.scm (lambda*): Bugfix: Replaced ARGLIST -->
458 non-optional-args. (Thanks to David Lutterkort.)
459
027ffa31 4601999-05-09 Jim Blandy <jimb@savonarola.red-bean.com>
7c1ce4ee
JB
461
462 * string-case.scm: Removed; functions moved to libguile/strop.c
463 (which could be dynamically linked in the future anyway).
e7d37b0a
JB
464 * Makefile.am (ice9_sources): Don't list string-case.scm.
465 * Makefile.in: Regenerated.
7c1ce4ee
JB
466 * format.scm: Don't bother importing (ice-9 string-case).
467
027ffa31 4681999-05-02 Jim Blandy <jimb@savonarola.red-bean.com>
b7e13f65
JB
469
470 * boot-9.scm (provided?): New function.
471
472 * Makefile.am: Add string-case.scm and format.scm to ice9_sources.
473 * Makefile.in: Regenerated.
474
475 * string-case.scm: New file, brought in from SLIB, and adapted to
476 Guile's module system.
477
478 * format.scm: New file, brought in from SLIB, with the following
479 changes:
480 (format:format): If the first argument is the format string, stick
481 a #f on the front of it, so it is now a valid CL format argument
482 list. This is easier than changing everyplace else (like the
483 error formatter) that expects it to be in CL form. The other
484 clause which explicitly tests for this case is now dead code.
485 (format:format-work): Allow `@' and `:' in either order, as per
486 modern CL behavior.
487 (format:num->cardinal): Don't assume that an elseless if returns
488 '() when the condition is false.
489
027ffa31 4901999-04-17 Jim Blandy <jimb@savonarola.red-bean.com>
cceae55d
JB
491
492 * Makefile.in: Regenerated.
493
d2b8d4ff
MD
4941999-04-08 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
495
496 * boot-9.scm: Provide 'values.
497
b6e17c63
MD
4981999-03-21 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
499
500 * boot-9.scm (process-define-module, use-syntax): Bugfix:
501 :use-syntax should add syntax to using module, not current module.
502 (internal-use-syntax): Removed.
503
e059c0b7
MD
5041999-03-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
505
506 * session.scm (apropos-internal): Modified to comply with new
507 argument order for hash-fold.
508
275b2a7e
MD
5091999-03-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
510
027ffa31 511 * boot-9.scm (try-load-module): New procedure. Broken out from
275b2a7e
MD
512 resolve-module.
513 (resolve-module): Bugfix: Make it possible for a module at a
514 deeper level (x y z) to depend on a module on a higher (x y).
33f8ad2b
MD
515
516 This also has the desired side-effect that multiple attempts to
517 load a module (e.g. with `use-modules') work until source is
518 actually found for the module (e.g. because the correct catalog
519 has been added to the load path).
520
275b2a7e
MD
521 Use try-load-module.
522
deea77eb
MD
5231999-03-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
524
525 * session.scm (system-module): New procedure. Used to switch a
526 module between system and user state.
527
2251c7a4
MD
5281999-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
529
530 * session.scm (apropos-internal): Rewritten using hash-fold.
531
532 * emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
533 definition.
534
6ee350ad
MD
5351999-03-14 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
536
537 * boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to
538 associate a name to the record type descriptor so that the object
539 system can create a wrapper class for it.
540
88124126
MD
5411999-03-12 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
542
543 Improvement of backtraces: Introduces a new stack narrowing
544 specifier, #t, for the inner cut. If the inner cut is specified
545 by #t, `make-stack' will throw away inner stack frames (most
546 recent calls on call chain) up to but excluding the first user
547 stack frame encountered.
548
549 This specifier is now used in `save-stack' so that the call
550 `(save-stack)' will get the new behaviour. [It is recommended that
551 any error reporting functions written by the user have this call
552 on the outermost expression level (i.e. as a member of the lambda
553 list).]
554
555 Modules are partitioned into "user" and "system" modules. [I know
556 that some names used here are silly, but I don't have more time to
557 spend on a better solution, especially considering that the module
558 system will be replaced. But if people have better ideas, then
559 please tell me!]
560
561 System modules are created by adding :no-backtrace among the
562 define-module switches:
563
564 (define-module (foo)
565 :no-backtrace)
566
567 Modules which doesn't have the :no-backtrace specifier are user
568 modules.
569
570 A stack frame is classified as a user frame if it has source code
571 associated with it and if this source code can be proven to come
572 from a user module. If it can be proven to come from a system
573 module it is a system frame.
574
575 Frames which can't be classified, e.g. application frames, are cut
576 away if they occur between system frames, but are left on the
577 stack if they occur between the last system frame and the first
027ffa31 578 user frame encountered. (Note that the first user frame
88124126
MD
579 encountered is the last user code being evaluated!)
580
581 In some cases the system part of the call chain is introduced by
582 frames which should but can't be proven to be system frames. The
583 following workaround has been implemented: The cutting proceeds
584 over application frames where the operator is marked by the
585 `system-procedure' property. (This has been used to cut away
586 generic function dispatch code in the object system.)
587
588 * boot-9.scm (set-system-module!): New procedure: Set system/user
589 status of a module.;
590 Mark `the-root-module' and `the-scm-module' as system modules.
591 (process-define-module): Add new keyword :no-backtrace.
592
593 * boot-9.scm (environment-module): Bugfixed.
594 (set-module-eval-closure!): Add a pointer back from the eval
595 closure to the module.
596
597 * emacs.scm (emacs-load): Reset port filename after transfer.
598
41f50369
MD
5991999-03-03 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
600
601 * slib.scm (make-random-state): Added for compatibility.
602
fcdd6672
MS
6031999-02-16 Maciej Stachowiak <mstachow@alum.mit.edu>
604
605 * optargs.scm (lambda*): Handle empty argument lists properly.
606
027ffa31 6071999-02-15 Jim Blandy <jimb@savonarola.red-bean.com>
8d21a2ff
JB
608
609 Fix from Russ McManus:
610 * getopt-long.scm (parse-option-spec): Store 'optional as the
611 value-required? field for options that take optional values.
612 (process-short-option): Grab a value for the option when it takes
613 either an optional or required value.
614
027ffa31 6151999-02-12 Jim Blandy <jimb@savonarola.red-bean.com>
deaceb4e
JB
616
617 * getopt-long.scm: Remove debugging calls to `pk'.
618
4ca48ad4
JB
619 * getopt-long.scm: Return list of ordinary arguments as the value
620 of the '() key, not `rest'.
621
deaceb4e
JB
622 A new argument-processing package from Russ McManus.
623 * getopt-long.scm: New file.
624 * Makefile.am (ice9_sources): Added getopt-long.scm.
625 * Makefile.in: Regenerated.
626
08394899
MS
6271999-02-09 Maciej Stachowiak <mstachow@alum.mit.edu>
628
629 * optargs.scm: New file.
630 * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in
027ffa31 631 not regenerated because I don't have the right version of Automake.
deaceb4e 632
027ffa31 6331999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
2e132553
JB
634
635 * and-let*.scm: New file, from Michael Livshin.
636 * Makefile.am (ice9_sources): Add and-let* here.
637 * Makefile.in: Regenerated.
638
65a5dccb
MD
6391999-01-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
640
641 * slib.scm (install-require-module): Fixed the kludge which loads
642 the slib catalog: Doesn't anylonger assume that the feature tested
643 for isn't loaded.
644
027ffa31 6451998-12-14 Jim Blandy <jimb@zwingli.cygnus.com>
333a4791
JB
646
647 * Makefile.in: Regenerated.
648
45a02a29
MD
6491998-12-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
650
651 * boot-9.scm (process-define-module): Reverted the change of
652 1998-11-23 which caused loading of object code if :use-module was
653 applied to the module itself.
654
e7b6c834
MD
6551998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
656
657 * Makefile.am: Removed setf.scm.
658
027ffa31 659 * setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
e7b6c834
MD
660 (These shortcomings were my fault.)
661
bf3c93d1
MD
6621998-12-10 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
663
9705d5c2 664 * boot-9.scm (environment-module): New procedure.
bf3c93d1 665
bc9a9137
MD
6661998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
667
668 * Makefile.am: Added setf.scm.
669
6701998-12-05 Christian Lynbech <chl@tbit.dk>
671
672 * setf.scm: New file. Adds the new forms `setf!' and `setter'
673 which implements generalized references a la Common LISP.
674
71225060
MD
6751998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
676
677 * boot-9.scm (process-define-module): Added new specifier
678 :autoload MODULENAME BINDINGS to the define-module form.
679 The autoload specifier tells the module system to load the module
680 MODULENAME at the first occasion that any variable with its name
681 among BINDINGS is referenced.
682 (make-autoload-interface): New procedure: Constructs a stand-in
683 for the public interface for the module to be autoloaded.
684
3b3085c6
MD
6851998-12-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
686
687 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
688 if you don't want the old style hook warnings.
689
49e5d550
MD
6901998-12-01 Christian Lynbech <chl@tbit.dk>
691
692 * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
693 sure that it isn't empty, as it is when we are only buidling
694 static libraries.
695
afae5cbd
MD
6961998-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
697
698 * session.scm (arity): New procedure.
699
3763ac3c
MD
7001998-11-26 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
701
702 * boot-9.scm: Use run-hook instead of run-hooks everywhere.
703
7a79c6b4
MD
7041998-11-26 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
705
706 * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary
707 code for backward compatibility until people have had time to
708 adapt to the new hooks.
709
a56eeb46
MD
7101998-11-23 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
711
712 * boot-9.scm (beautify-user-module!): Beautify also if public
027ffa31 713 interface is set to the module itself. In this way we can use
a56eeb46
MD
714 beautify-user-module! to beautify a module prepared for object
715 code.
716 (process-define-module): Special case: Try to load object code as
717 well if a module does :use-module on itself.
718
719 * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from
720 invoke_main_func, we can no longer be sure that all modules have
721 been registered when boot-9.scm is loaded.
722 (register-modules): New function: Register and tag modules
723 registered by scm_register_module_xxx since last call to this
724 function. Modules are tagged with the dynamic object passed as
725 argument. (Already linked modules should be tagged with #f.)
726 (init-dynamic-module, link-dynamic-module): Call register-modules
727 first to register linked modules.
728
729 * boot-9.scm (init-dynamic-module): Remove module from
730 registered-modules as soon as possible in case we are recursively
731 invoked; Set public interface before doing the dynamic-call.
732
733 * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map).
734 (abort-hook, before-error-hook, after-error-hook,
735 before-backtrace-hook, after-backtrace-hook, before-read-hook,
736 after-read-hook, exit-hook): Make hooks with `make-hook'.
737
738 * boot-9.scm: Make hooks first class citizens and make them easier
739 to use from C:
740 (make-hook, add-hook!, remove-hook!, run-hooks): Moved to
741 libguile/feature.c.
7e414627
MD
742
743 * boot-9.scm: Added warnings about bindings used in
744 libguile/modules.c: the-module, set-current-module,
a56eeb46 745 make-modules-in, beautify-user-module!, module-eval-closure.
7e414627 746
dc61592f
MD
7471998-11-21 Mikael Djurfeldt <mdj@kenneth>
748
749 * boot-9.scm (the-environment): New special form: Returns an
750 object representing the current local evaluation environment.
751 This object can be used in `local-eval' and `defined?'.
752
7398c2c2
MD
7531998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
754
755 * boot-9.scm (collect): New syntax. Similar to begin but returns
756 a list of the results of all forms in the sequence instead of the
757 result of the last form.
758
6162a00d 7591998-11-10 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
e586be78 760
00f4b2e8
MD
761 * boot-9.scm (values, call-with-values): Moved here from
762 syncase.scm.
763
764 * syncase.scm (values, call-with-values): Moved to boot-9.scm.
765
e586be78
MD
766 * boot-9.scm (readline-options, readline-enable, readline.disable,
767 readline-set!: New options interface.
768
6162a00d
MD
769 * readline.scm (readline-port): Use readline-options-interface.
770
4fdf8b2c
MD
7711998-11-05 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
772
773 * boot-9.scm: Set the repl start module in `top-repl' instead of
774 at the end of boot-9.scm.
775
0b6925fe
MD
7761998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
777
778 * emacs.scm (format): Bugfix: Handle multiple arguments
779 correctly. (Thanks to Thien-Thi Nguyen.)
780
e4eae9b1
MD
7811998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
782
783 * boot-9.scm (exit-hook): New hook: Is run at the very end of an
784 interactive session.
785 (top-repl): Run exit-hook on exit.
786
787 * readline.scm (readline-port): Maybe read history; Maybe write
788 history at exit (add to exit-hook).
789
cad4d45b
MD
790Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
791
792 * readline.scm (make-readline-port): Bugfixed last change...
793
24bf9166
MD
7941998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
795
796 * readline.scm (make-readline-port): Don't set prompt to "... " if
797 read line was empty.
798
027ffa31 7991998-10-19 Jim Blandy <jimb@zwingli.cygnus.com>
f4be1689 800
1f6fe22a 801 * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm,
027ffa31 802 r4rs.scm, slib.scm, threads.scm: Update copyright years.
1f6fe22a 803
33432c79
JB
804 * getopt-gnu-style.scm, slib.scm: Add copyright notice.
805
806 Talked to Stallman. Actually, the syntax-case copyright is no
807 problem. Duh.
808 * Makefile.am (ice9_sources): Revert last change.
809 * syncase.scm, psyntax.pp, psyntax.ss: Added again.
810 * Makefile.in: Regeneretade.
811
f4be1689
JB
812 * boot-9.scm: Don't assume that this file is loaded just before
813 entering a read-eval-print loop. Turn code to load (ice-9 emacs)
814 into...
815 (load-emacs-interface): New function.
816 (top-repl): Call it, if use-emacs-interface is defined and true.
817 At this point, we *do* know we're about to enter a REPL.
818
819 We can't include Kent Dybvig's syntax-case macro expander in the
027ffa31
JB
820 core Guile distribution, because we don't have copyright
821 assignments for this code. We can certainly distribute them as a
822 separate package, but Guile should be FSF code.
f4be1689
JB
823 * syncase.scm, psyntax.pp, psyntax.ss: Removed.
824 * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
825 psyntax.ss.
826 * Makefile.in: Regenerated.
827
828 * Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
829 * Makefile.in: Regenerated.
830
c8f11b97
MD
8311998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
832
833 * boot-9.scm: Added extended read syntax for byte vectors #y(...)
834 and short vectors #h(...).
835
027ffa31 8361998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
bb2a4165
JB
837
838 * calling.scm (excursion-function-syntax): Use a sequence of
839 set!'s, not a single multi-variable set!; we removed support for
840 that syntax a long time ago. (Thanks to Shuji Narazaki.)
841
027ffa31 8421998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
c8983d6a 843
94e3e95e 844 * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
c8983d6a
JB
845 testing software-type here. That's the least of our Windows
846 porting issues, and it's done wrong anyway.
847
027ffa31 8481998-10-09 Jim Blandy <jimb@zwingli.cygnus.com>
77052259 849
98330fd2
JB
850 * boot-9.scm (read-path-list-notation-warning): New function:
851 print a warning the first time we see `#/' notation.
852
77052259 853 * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
027ffa31
JB
854 (eq? #f '()) assumptions. Make functions that aren't documented
855 to return anything else return the queue itself. (Bug report from
856 Michael Livshin --- thanks!)
77052259 857
c9dd46af
MD
8581998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
859
860 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
861 trace flag.
862
863 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
864 order to allow the empty list as arg.
865 (error-catching-loop): Use `with-traps' to create a dynamic
866 context with traps enabled.
867
5ef4ef4e
MD
8681998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
869
870 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
871 module.
872 (try-using-libtool-name): Removed dependency on (ice-9 regex).
873
325f42e0
MD
8741998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
875
876 * boot-9.scm: Make the root module use (ice-9 regex) if
877 available. The dynamic linking facilities in boot-9.scm are
878 currently dependent upon regular expressions. My change of
879 1998-07-14 removed (ice-9 regex) from the use-list of the root
880 module and thereby destroyed dynamic linking.
881
027ffa31 8821998-07-29 Jim Blandy <jimb@zwingli.cygnus.com>
0dcbc17a
JB
883
884 * Makefile.in: Regenerated using the last public version of
885 automake, not the hacked Cygnus version.
886
027ffa31 8871998-07-28 Jim Blandy <jimb@zwingli.cygnus.com>
1f5ae2fd
JB
888
889 * Makefile.in: Regenerated, after removing Totoro kludge.
890
027ffa31 8911998-07-28 Jim Blandy <jimb@totoro.red-bean.com>
1a0106ef
JB
892
893 * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.)
894
027ffa31 8951998-07-26 Jim Blandy <jimb@zwingli.cygnus.com>
e99cbcd6
JB
896
897 * Makefile.in Rebuilt, for config changes in parent dir.
898
6f4d9622
MD
8991998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
900
901 * readline.scm (make-readline-port): Set prompt string to "... "
027ffa31 902 after first read line. (Thanks to Richard Polton.)
6f4d9622 903
027ffa31 9041998-07-19 Jim Blandy <jimb@zwingli.cygnus.com>
3ec4ec9a
JB
905
906 * lineio.scm (make-line-buffering-input-port): Don't use
907 ungetc-char-ready?, since we don't provide that function any
908 more. The unread-string function doesn't interact properly with
909 any of the standard I/O functions anyway. (Thanks to Andrew
910 Archibald.)
911
912 * hcons.scm (hashq-cons-assoc): Don't assume the empty list is
027ffa31 913 false. Return false when we cannot find a matching entry in the
3ec4ec9a
JB
914 list. (Thanks to Andrew Archibald.)
915
a0cc0a01
MD
9161998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
917
918 * boot-9.scm (export, export-syntax): New special forms: Export
027ffa31 919 bindings from a module. `(export name1 name2 ...)' can be used at
a0cc0a01
MD
920 the top of a module (after `define-module') to specify which names
921 should be exported. It can be used as an alternative to
922 `define-public'. `export-syntax' works equivalently to `export'
923 but is intended for export of syntactic keywords.
924 (Thanks to Thien-Thi Nguyen.)
925
39bc9948
MD
9261998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
927
928 * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'.
929
13e341bb
MD
9301998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
931
ae996c08
MD
932 * boot-9.scm: Let the user start in module `(guile-repl)' instead
933 of module `(guile)'. Also make sure that `(guile-repl)' uses
934 suitable modules. This change improves Guile stability
935 substantially since bindings will only be copied from the root
936 module: If the user redefines builtins in `(guile-repl)' it won't
937 affect the internal operation of Guile itself.
13e341bb 938
c6775c40
MD
9391998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
940
941 * boot-9.scm (load-module): When loading files from within files
942 themselves being loaded: Use the directory path of the file being
027ffa31 943 loaded as root for relative filenames. (After suggestion by
c6775c40
MD
944 Steven G. Johnson.)
945
ef0d04e5
MD
9461998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
947
948 * emacs.scm (emacs-load): New feature: Eval in specified module.
949
4ffd142c
MD
9501998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
951
952 * readline.scm: Typo in regex module name.
953
edd9ac21
MD
9541998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
955
956 * readline.scm (apropos-completion-function): regexp-quote text to
957 be completed.
958
a66c53a8
MD
9591998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
960
edd9ac21 961 * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid.
a66c53a8 962
d38a6802
MD
9631998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
964
965 * boot-9.scm: Check that (current-input-port) is a tty before
966 enabling readline. (Thanks to Michael N. Livshin.)
967
cf266109
MD
9681998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
969
970 * boot-9.scm (use-syntax): Turned into a macro inorder to be
971 similar in use to `use-modules'.
972 Example: (use-syntax (ice-9 syncase)) will 1. load the module
973 (ice-9 syncase), and, 2. install the procedure `syncase' as eval
974 transformer.
975 (internal-use-syntax): New procedure.
976 (process-define-module): Use `internal-use-syntax'.
977
67da6c57
MD
9781998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
979
980 * Makefile.am (ice9_sources): Add emacs.scm.
981
1b558afd
MD
9821998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
983
984 * readline.scm: Use the new readline facilities: Add the
985 possibility to control input and output ports; Add apropos
986 completion.
987
988 * boot-9.scm: Antirevert Jim's readline code which he reverted
989 19971027 and adapt it to the current readline interface.
990
991 * boot-9.scm (top-repl): Only enable readline if not using the
992 Emacs interface; Only use repl prompt when using the readline port
027ffa31 993 from repl-read. (We don't want to see it when calling `read'.)
1b558afd
MD
994
995 * boot-9.scm (remove-hook!): Parenthesis bug.
996
f246e585
MD
9971998-05-11 Mikael Djurfeldt <mdj@kenneth>
998
999 * boot-9.scm: Load readline module if readline is present.
1000
1001 * readline.scm (apropos-completion-function): New procedure:
1002 Symbolic completion. (Thanks to Andrew Archibald!)
1003
f714ca8e
MD
10041998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1005
1006 * boot-9.scm (process-define-module): Added keyword use-syntax.
1007
3ede541d
MD
10081998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1009
1010 * nonblocking.scm: Removed. libguile is now inherently
1011 nonblocking through the use of scm_internal_select.
1012
1013 * emacs.scm: Removed use of nonblocking.scm.
1014
027ffa31 1015 * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these
3ede541d
MD
1016 obsolete.
1017
608cf70c
MD
10181998-04-15 Mikael Djurfeldt <mdj@nada.kth.se>
1019
1020 * runq.scm (runq-control): Corrected spelling of enqueue!.
1021 (Thanks to Karl M. Hegbloom.)
1022
16b8ebbe
MD
10231998-03-30 Mikael Djurfeldt <mdj@nada.kth.se>
1024
1025 * boot-9.scm: Added new run-time option interface eval-options.
1026
abf06c12
MD
10271998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1028
027ffa31 1029 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
abf06c12
MD
1030 Stachowiak.)
1031
13dc0cae
MD
10321998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1033
1034 * threads.scm: Added simple error and signal handler.
027ffa31 1035 (make-thread, begin-handler): Use this handler. The most
13dc0cae
MD
1036 important effect of this is that signals get unmasked.
1037 Previously, when a signal was thrown signals remained masked
1038 (signals get masked when a signal is taken) which influenced other
1039 threads.
1040
027ffa31 10411998-01-01 Tim Pierce <twp@skepsis.com>
841d28d7
TP
1042
1043 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
1044 * slib.scm (identity): Unmake public.
1045 (slib:eval): Evaluate inside `slib-module'.
1046
027ffa31 10471997-12-24 Tim Pierce <twp@skepsis.com>
ad76c8d9 1048
249cdba6
TP
1049 * boot-9.scm: Doc fix.
1050
ad76c8d9
TP
1051 * slib.scm (identity): Made public.
1052 (home-vicinity): New function (from SLIB/Template.scm).
1053
027ffa31 10541997-12-13 Tim Pierce <twp@skepsis.com>
848f2a01 1055
f4be1689 1056 * boot-9.scm (read-line): Rewritten to call %read-line for
027ffa31 1057 improved speed. Minor user-visible changes: the new functions are
848f2a01
TP
1058 hardwired to treat the LFD character as signifying end-of-line, so
1059 changing `scm-line-incrementors' will no longer affect the
027ffa31 1060 behavior of read-line. On platforms which do not represent
848f2a01
TP
1061 end-of-line with a LFD character, read-line should behave more
1062 like native line-processing facilities, but there is still a ways
1063 to go here.
1064
8bb7f646
MD
1065Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth>
1066
1067 * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
1068 is now a fluid.
1069
027ffa31 10701997-11-28 Tim Pierce <twp@skepsis.com>
ebd79f62 1071
848f2a01
TP
1072 * boot-9.scm (find-and-link-dynamic-module): If a module directory
1073 contains a .la file (a libtool support file), attempt to extract
027ffa31
JB
1074 the shared library name from that file. If the .la file does not
1075 exist, try to link against a .so file. Libtool-generated compiled
848f2a01 1076 modules should load more cleanly in Guile now.
ebd79f62
TP
1077 (try-using-libtool-name, try-using-sharlib-name): New functions.
1078
027ffa31 1079Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
28d8ab3c
GH
1080
1081 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
1082 usefully so they will work from a script.
1083
13a7ee16
MV
10841997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
1085
1086 * boot-9.scm (inherit-print-state): Moved definition to the
1087 neighborhood of the record code.
1088
930b16c0
JB
1089Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
1090
027ffa31
JB
1091 * boot-9.scm: Revert changes to this file from Oct 23. It turns
1092 out to interact badly with the Emacs support and the Tcl/Tk
1093 support. It's not a high enough priority at the moment to be
1094 worth fixing. I'm leaving the other readline support in, though.
930b16c0 1095
3fa5bb75
JB
1096Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
1097
1098 * Makefile.am: Include readline.scm in the list of files to be
1099 installed, so Guile can find it for interactive use.
1100 * Makefile.in: Regenerated.
1101
2e368582
JB
1102Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
1103
1104 Add support for readline function.
1105 * readline.scm: New module.
1106 * boot-9.scm (repl-reader): New function.
1107 (scm-style-repl): Call repl-reader, instead of doing the reading
1108 ourselves. Remove repl-report-reset; it was never used for
1109 anything.
1110 (top-repl): If we've got the readline primitives, then redefine
1111 repl-reader to use them.
1112 If we've got the readline primitives, import the readline module.
1113
1114 * ls.scm (ls, lls): Don't assume (eq? #f '()).
1115
1116Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
1117
1118 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
1119 string-fun.scm: Added copyright notices; reformatted.
1120
027ffa31 1121Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
4bbbcd5c
GH
1122
1123 * expect.scm: (expect-regexec): new procedure, use it in
1124 expect-strings to fix the => syntax under the new regex system.
1125 (top): include regex module in define-module statement.
1126
027ffa31 1127Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
4bbbcd5c
GH
1128
1129 * (error-catching-loop): new local variable "interactive". if
1130 #f, abort terminates the process.
1131 (set-batch-mode?!, batch-mode?): new closures, defined in
1132 error-catching-loop. the names are from scsh.
1133
c115b54b
MV
11341997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
1135
1136 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
1137 print-state, throw it away.
1138
027ffa31 1139Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
9f9aa47b
MD
1140
1141 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
1142 `0'.
1143
027ffa31 1144Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
9f9aa47b
MD
1145
1146 * boot-9.scm (struct-printer, make-struct-printer,
1147 set-struct-printer-in-vtable!, *struct-printer*): Removed.
1148 (record-type-vtable, make-record-type): Don't use make-struct-printer.
1149 (record-type-vtable): User fields "prpr" (printer is no longer a
1150 user field).
1151 (record-type-name, record-type-fields): Decreased slot index by
1152 one; Use `vtable-offset-user'.
1153
027ffa31 1154Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
21fdbaee
MV
1155
1156 * boot-9.scm (inherit-print-state): New experimental function.
1157
adc14c93
JB
1158Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
1159
1160 Suggestion and script from Maciej Stachowiak:
1161 * boot-9.scm: Split off modules into separate, autoloadable files.
1162 This reduces startup time from 10.5s to 5.5s (user cpu).
1163 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
027ffa31 1164 string-fun.scm: New files, containing stuff that used to be in
adc14c93
JB
1165 boot-9.scm.
1166 * Makefile.am (ice9_sources): List new files here, for
1167 distribution and installation.
1168 * Makefile.in: Regenerated.
1169
5aa28c1e
JB
1170Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
1171
1172 * Makefile.in: Regenerated with automake 1.2c.
1173
2f110c3c
MD
1174Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1175
d1005e3c
MD
1176 * slib.scm (slib:load): slib:load first tries to load the file
1177 named NAME, then NAME.scm. On error, report the error occuring at
1178 the first attempt (NAME) rather than the second (NAME.scm).
1179
2f110c3c 1180 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
027ffa31 1181 the make-options macro so that we needn't refer to a global
2f110c3c
MD
1182 symbol.
1183
83b38198
MD
1184Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1185
1186 * debug.scm: Moved options interface procedures to boot-9.scm.
1187
1188 * boot-9.scm: Define options interface procedures here instead.
1189
af01fdcd
JB
1190Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
1191
1192 * boot-9.scm (separate-fields-discarding-char,
1193 separate-fields-after-char, separate-fields-before-char): Call
1194 continuation function, RET, as advertised: with each separated
1195 field a separate argument.
1196
1197 * Makefile.in: Regenerated with automake 1.2a.
1198
534a0099
MD
1199Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
1200
1201 * slib.scm (slib:load): Export.
1202
1203 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
1204 vicinity;
1205 Provide defmacro.
1206
8fa5faad
MD
1207Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1208
1209 * r4rs.scm (apply): Set name property to 'apply.
1210
11b05261
MD
1211Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1212
1213 * boot-9.scm (keyword->symbol, display-usage-report): Changed
027ffa31 1214 length --> string-length. (Thanks to Aleksandar Bakic.)
0a54457d 1215 (separate-fields-discarding-char, separate-fields-after-char,
027ffa31 1216 separate-fields-before-char): Bugfix from Maciej Stachowiak
0a54457d 1217 <mstachow@mit.edu>. Thanks!
a4f9b1f6
MD
1218 (try-module-linked): Try to find module among those already
1219 registered.
1220 (try-module-dynamic-link): Removed the first test which
1221 corresponds to a call to `try-module-linked'.
1222 (resolve-module): Resolve modules in this order: 1. Already
1223 registered modules (for example those which have been statically
1224 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
1225 link a .so-file.
11b05261 1226
24b2aac7
MD
1227Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1228
1229 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
1230
7cfae7e6
MD
1231Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1232
1233 * session.scm (name): New procedure: Gives name of object.
1234 (source): New procedure: Gives source of object.
1235
7a0ff2f8
MD
1236Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1237
f4be1689 1238 * boot-9.scm (primitive-macro?): New procedure.
7a0ff2f8
MD
1239
1240 * slib.scm: Added hack which transfers syntactic information from
1241 the builtin variable `define' to the slib version if module (ice-9
1242 syncase) has been loaded. This is necessary to get correct
1243 expansion inside the slib module.
1244
1245 * psyntax.ss (build-let, build-named-let): New output
027ffa31 1246 constructors.
7a0ff2f8
MD
1247 (build-lexical-var): Seed gensym with symbolic name.
1248 (self-evaluating?): Add keywords among self-evaluating types.
1249 (let): New core form.
1250 (if): Removed from core language.
1251 (or, and, let, cond): Removed syntactic definitions.
1252 (sc-expand3): New procedure: Expander which takes optional mode
027ffa31 1253 and eval-syntactic-expanders-when arguments.
7a0ff2f8
MD
1254
1255 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
1256 Should be used inside the (ice-9 syncase) module with (use-syntax
1257 syncase) and with the current directory containing the psyntax.ss
1258 source.
1259 Added hack to transfer syntactic information from the builtin
1260 variable `define' to the slib version if module (ice-9 slib) has
1261 been loaded.
1262
027ffa31 1263Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
7a0ff2f8
MD
1264
1265 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
1266 (syncase): Publish syntax transformer to be used with
1267 `use-syntax'.
1268 (sc-macro): Use this as the value when publishing macros.
1269
1270 * boot-9.scm (module-type): Added `transformer'.
1271 (make-module): Modified initialization.
1272 (module-transformer, set-module-transformer!): Selector and
027ffa31 1273 mutator for module-associated transformer.
7a0ff2f8 1274 (set-current-module): Use module-transformer to set
027ffa31 1275 `scm:eval-transformer'.
7a0ff2f8 1276 (module-use!): Previous change reverted.
f4be1689 1277 (use-syntax): New function: Install a transformer in current
027ffa31 1278 module.
7a0ff2f8
MD
1279 (sc-interface, sc-expand): Removed! :)
1280
027ffa31 1281Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
d43f8c97
MD
1282
1283 * emacs.scm (emacs-load): Added new parameter `module'.
1284
1285 * syncase.scm (putprop, getprop): Modified to use the object
027ffa31
JB
1286 properties of the variable object corresponding to the symbol;
1287 This way we can ride on the mechanisms of the module system.
d43f8c97
MD
1288 Changed `builtin-variable' calls to `define-public' calls.
1289 Setup the hooks sc-expand and sc-interface.
1290
1291 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
1292 (set-current-module): Switch to and from sc-expand as
1293 scm:eval-transformer when going into and out of modules using
1294 syncase macros.
1295 (module-use!): Set scm:eval-transformer to sc-expand when adding
1296 the syncase interface.
1297
027ffa31 1298Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1f355b4f
MD
1299
1300 * syncase.scm (putprop): Temporary fix which publishes new syntax
1301 globally (the old behaviour was complex and connected to the inner
1302 workings of the current module system).
1303
027ffa31 1304Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e9b7bb80
MD
1305
1306 * psyntax.ss: Updated.
1307 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
1308 off!
1309
027ffa31 1310Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e672f1b5
MD
1311
1312 * boot-9.scm (gensym): Removed (replaced by primitive).
1313 (obarray-gensym): Rewritten to use `gensym'.
1314 (gentemp): Rewritten to use `gensym'.
1315
027ffa31 1316Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
30d732a6
MD
1317
1318 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
1319 according to the following priorities:
1320 1. tcl bindings which are present in override-scheme-list
1321 2. bindings from the-scm-module
1322 3. tcl bindings
1323 This way the gtcl module can occur first in the use-list without
1324 disabling the scheme interpreter.
1325 (new-interpreter): New function.
1326
1327 * gwish.scm: Moved initialization code for the-interpreter to
027ffa31
JB
1328 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
1329 it; Call `new-interpreter'; Don't :use-module (guile).
30d732a6 1330
1aa8162b
JB
1331Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
1332
1333 * Makefile.in: Regenerated.
1334
34695603
JB
1335Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
1336
1337 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
1338
52f1b046
MD
1339Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1340
1341 * emacs.scm (object->string, format, error-args->string): New
1342 procedures.
1343 (emacs-frame-eval): Reworked.
1344
a5be27cd
MD
1345Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1346
1347 * session.scm (apropos-internal): Musn't initialize symbol
1348 accumulator with a constant pair. That led to mutation of the
1349 source!
1350
68aed3ea
MD
1351Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
1352
1353 * session.scm (vector-for-each): Removed.
1354 (apropos): vector-for-each --> array-for-each.
1355 (apropos-internal): New function. Return list of accessible
1356 symbols matching regexp.
1357
1358 * debug.scm (frame-number->index): New function. Convert frame
1359 number (as displayed in the backtrace) to frame index (to be used
1360 in stack-ref).
1361
1362 * emacs.scm (emacs-load): New arguments: interactivep: when
027ffa31 1363 non-false, send back results to Emacs; colnum: Column number;
68aed3ea
MD
1364 Use modules (ice-9 debug) and (ice-9 session);
1365 (no-stack, no-source): New simple-actions;
1366 (result-to-emacs): New procedure. Sends data to Emacs via the
1367 result protocol;
1368 (get-frame-source, emacs-select-frame, emacs-frame-eval,
1369 emacs-symdoc): New procedures.
8c5a8bed 1370
555f21d8
MD
1371Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1372
eb7ec1e8 1373 * emacs.scm (emacs-load): Adjust stack narrowing.
8c3420ad 1374 (whitespace-chars): Include #\np.
eb7ec1e8 1375
555f21d8
MD
1376 * syncase.scm: Also turn off debugging evaluator and recording of
1377 procedure names during loading of psyntax.pp.
1378
1379 * psyntax.pp: Removed leading blanks => 800K -> 100K.
1380
230c4353
MD
1381Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1382
19ef2a9b 1383 * syncase.scm: Don't tamper with debug mode setting when enabling
027ffa31 1384 macros. Instead cut the stack with start-stack.
a48930c6 1385 Load psyntax.pp with recording of positions turned off.
19ef2a9b 1386
ceb177a4 1387 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
230c4353 1388
f4be1689 1389 * syncase.scm: New file: Guile-adaption for syntax-case macros.
027ffa31
JB
1390 * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
1391 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
230c4353 1392
0e81dabd
MD
1393Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1394
f4be1689 1395 * session.scm: New file: Session support.
0e81dabd
MD
1396 (apropos): New procedure: List bindings given regexp.
1397
027ffa31 1398Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
6afcd3b2
GH
1399
1400 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
1401 cstime.
1402
096d5f90
MD
1403Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1404
db75135d
MD
1405 * emacs.scm (emacs-load): Something has changed in the reader so
1406 that we now should set the port line count to the specified value
1407 (linum) instead of (- linum 1).
1408
096d5f90 1409 * slib.scm (slib:load): Use load-from-path instead of
027ffa31
JB
1410 primitive-load-path so that backtraces get narrowed properly at
1411 the top.
096d5f90
MD
1412
1413 * boot-9.scm (top-repl): Save stack already in signal handler in
1414 order to narrow it correctly.
1415 (save-stack): Adjust narrowing tag for the top of load-stacks.
1416
027ffa31 1417Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
7a6f1ffa
GH
1418
1419 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
1420 (dup->fdes): deleted, now done in C.
1421
027ffa31 1422Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
956055a9
GH
1423
1424 * boot-9.scm (setenv): new procedure, scsh compatible.
1425
485cb6eb
MV
1426Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
1427
1428 * boot-9.scm (with-fluids): New macro to go with the
027ffa31 1429 builtin `with-fluids*'.
485cb6eb 1430
4d0d7ef9
MD
1431Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1432
1433 * slib.scm (install-require-module): In newer versions of slib
027ffa31 1434 *catalog* is #f until the first access. Therefore we call
4d0d7ef9
MD
1435 require:provided? for a random feature if *catalog* is #f.
1436
8309a10d
MD
1437Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1438
1439 * boot-9.scm: If using emacs interface, enable backtraces
1440 automatically.
1441
027ffa31 1442Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
e38303a2
GH
1443
1444 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
1445 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
1446 (duplicate-port): was a C primitive, now it's here.
1447 (move->fdes): allow the first argument to be a file descriptor.
1448 Return the modified port or file descriptor (was unspecified.)
1449
2e3e9351
JB
1450Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
1451
32552d73
JB
1452 Changes to compile under gnu-win32, from Marcus Daniels:
1453 * boot-9.scm (load-user-init): If HOME is unset, provide
1454 a default of /.
1455
2e3e9351
JB
1456 * boot-9.scm (define-public): Changed to accomodate Hobbit.
1457
db561408
JB
1458Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
1459
fcff2c5c 1460 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
027ffa31 1461 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
fcff2c5c
JB
1462 notation, instead of #/ notation.
1463
db561408
JB
1464 * expect.scm (expect-strings): Pass regexp/newline flag to
1465 make-regexp.
1466
2409cdfa
JB
1467Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
1468
db561408
JB
1469 Fix inconsistencies in parsing of #/ style lists.
1470 * boot-9.scm (read-path-list-notation): New function.
1471 (parse-path-symbol): Deleted. Replaced by above.
1472 Plug in read-path-list-notation as the parser for #/ lists,
1473 instead of the anonymous lambda form calling parse-path-symbol.
1474 (Thanks to Maurizio Vitale.)
1475
2409cdfa
JB
1476 * boot-9.scm (make-list): Remove the definition of this function
1477 from the (ice-9 common-list) module; make the `init' argument
1478 optional in the scm module's definition, to match the deleted
027ffa31 1479 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
2409cdfa 1480
91b28bb5
JB
1481Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
1482
1483 Try to detect when people are using one version of libguile and a
1484 different version of ice-9. People have been skewing things and
1485 sending in bug reports.
1486 * version.scm.in: New file, which the configure script munges to
1487 produce version.scm, which contains the ice-9 config stamp.
1488 * boot-9.scm: Compare the libguile and ice-9 config stamps;
1489 display a warning if the two are different.
1490 * Makefile.am: Install version.scm, but don't distribute it.
1491 Distribute version.scm.in, but don't install it.
1492 * Makefile.in: Regenerated.
1493
9fbdb48f
JB
1494Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
1495
1496 * slib.scm (slib:warn): Alias for WARN function.
1497
e320da2f
JB
1498Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
1499
1500 * boot-9.scm (struct-printer): Fix off-by-one error in range
027ffa31 1501 check. Correctly check for struct printer tag.
e320da2f
JB
1502
1503 * expect.scm: Turn this into a module, (ice-9 expect).
1504 (expect-port, expect-timeout, expect-timeout-proc,
027ffa31
JB
1505 expect-eof-proc, expect-char-proc, expect, expect-strings,
1506 expect-select): Make these public definitions.
e320da2f
JB
1507 (expect-strings): Use make-regexp and regexp-exec, instead of
1508 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
1509 that's okay.
1510
1511 * boot-9.scm (with-regexp-parts): Comment this out. It has no
027ffa31
JB
1512 users in the core, and relies on mildly hairy details of the old
1513 regexp interface.
e320da2f
JB
1514
1515 * test.scm: Re-enable tests asserting that '() is true, and not a
1516 boolean. This stuff has been true for a while.
1517
1518 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
027ffa31 1519 function names.
e320da2f
JB
1520
1521 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
1522 fixes.
1523
3688473b
JB
1524Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
1525
1526 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
1527 ../configure.in.
1528
027ffa31 1529Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
0b46857f
MV
1530
1531 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
027ffa31 1532 vtable and not the one of the struct.
0b46857f 1533
027ffa31 1534Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
5dade857
MV
1535
1536 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
027ffa31
JB
1537 make-struct-printer, set-struct-printer-in-vtable!): New bindings
1538 to support printing of structures.
1539 (record-type-vtable, make-record-type): Add slot to hold printing
1540 function and initialize it with something appropriate. Removed
1541 commented out printing code.
5dade857
MV
1542 (record-type-name, record-type-fields): Adjusted slot offsets.
1543 (%print-module): Reduce argument list to "mod" and "port".
1544
027ffa31 1545Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
95d59d10
JB
1546
1547 * slib.scm (identity): New function, used by SLIB.
1548
027ffa31 1549Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
e1a191a8
GH
1550
1551 * boot-9.scm: signal-handler, alarm-thunk: removed.
1552 don't define ticks-interrupt etc.
1553 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
1554 during call to scm-style-repl.
1555
19da35d0
JB
1556Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
1557
1558 * slib.scm (slib:load): Use primitive-load-path instead of
1559 basic-load. This is probably wrong, but hopefully the entire
1560 source access system will be revised soon anyway, and this will
1561 make require behave more like Emacs Lisp's require. If this
1562 breaks something, please let me know. Maybe this is real dumb.
1563
0e165281
JB
1564Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
1565
027ffa31 1566 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
0e165281
JB
1567 * boot-9.scm: If the `regex' feature is present, use the module
1568 (ice-9 regex).
1569
737c9113
JB
1570Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
1571
1572 * regex.scm: New file.
1573 * Makefile.am (subpkgdata_DATA): Add regex.scm.
1574 * Makefile.in: Regenerated.
1575
36539a15
JB
1576Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
1577
1578 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
027ffa31
JB
1579 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
1580 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
1581 threads.scm: New address for FSF.
36539a15 1582
142ad3d9
JB
1583Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
1584
1585 * debug.scm: Update copyright years; this file has been worked on
027ffa31 1586 in 1997.
142ad3d9 1587
027ffa31 1588Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
cafa4c68
GH
1589
1590 * expect.scm: use gettimeofday instead of get-internal-real-time
1591 and use a floating point timeout when calling select. Untested,
1592 since the regex library is currently AWOL.
1593
223be5f0
JB
1594Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
1595
1596 * boot-9.scm (eval-string): Function deleted; it was already
1597 implemented in C, so there's no point in making a divergable copy
1598 here.
1599
9b01064c
JB
1600Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
1601
1602 * Makefile.in: Regenerated, using automake-1.1p.
1603
1604Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
1605
1606 * Makefile.in: Regenerated, using automake-1.1p.
1607
027ffa31 1608Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
1fbc60b2
GH
1609
1610 * boot-9.scm (error-catching-loop): don't read a line from
1611 current input when quit is encountered, the previous change
1612 fixes this too.
1613
c7d97590
JB
1614Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
1615
1616 * boot-9.scm (scm-style-repl): After reading an expression,
1617 consume any trailing newline (perhaps preceded by whitespace), to
027ffa31 1618 avoid screwing up GDB. More detail in comments.
c7d97590 1619
027ffa31 1620Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
6b3f3366
JB
1621
1622 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
1623 the Scheme code like code yet.
1624 * Makefile.in: Resrac,husrched.
1625
eea324ee
MV
1626Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
1627
1628 * boot-9.scm (link-dynamic-module): Do not catch errors from
027ffa31
JB
1629 dynamic-link and dynamic-call. When the shared library exists it
1630 is now assumed to be suitable for a dynamic C module.
eea324ee 1631
ef79b65b
MV
1632Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
1633
1634 * boot-9.scm (process-use-modules): New function to support the
027ffa31 1635 use-modules macro
ef79b65b
MV
1636 (use-modules): throw an error iff one of the requested modules
1637 can't be found.
1638
027ffa31 1639Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
3be77013
GH
1640
1641 * boot-9.scm: don't define timer-thunk or gc-thunk.
1642
28c682fa
JB
1643Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
1644
1645 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
1646
1647 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
1648 we're not using AM_INIT_GUILE_MODULE any more.
1649 * Makefile.in: Regeneratitetedrerd.
1650
20108301
JB
1651Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
1652
819f936b
JB
1653 Get 'make dist' to work again.
1654 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
1655 * Makefile.in: Regenerated, like two tons of fleas.
1656
20108301
JB
1657 Changes for reduced Guile distribution: one configure script,
1658 no plugins.
1659 * configure.in, configure: Removed.
1660 * Makefile.in: Regenerated.
1661
dab94cac
JB
1662Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
1663
48d224d7 1664 * boot-9.scm (eval-string, command-line, load-user-init): New
dab94cac
JB
1665 functions.
1666
027ffa31 1667Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
65495221
GH
1668
1669 * boot-9.scm (log10): defined.
1670
027ffa31 1671Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
708bf0f3
GH
1672
1673 * expect.scm (expect-select): correct the millisecond timeout
1674 arithmetic (from Marko.Kohtala@ntc.nokia.com).
1675
027ffa31 1676Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
708bf0f3
GH
1677
1678 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
1679 instead of in libguile.
1680 (tm:sec etc.) new accessors for broken-down time.
1681 (set-tm:sec etc.) new setters for broken-down time.
1682
027ffa31 1683Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
9337637f
GH
1684
1685 * boot-9.scm (netent:addrtype, servent:port): added missing
1686 procedures.
1687 (netent:net, servent:proto): repaired.
1688 (utsname:sysname etc.): new accessors for uname.
1689
027ffa31 1690Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
9337637f
GH
1691
1692 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
1693 sockaddr:port): new functions.
1694
027ffa31 1695Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
bce074ee
GH
1696
1697 * boot-9.scm: define accessor procedures for the objects returned
1698 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
1699 passwd:name, where the first component is the name of the C structure
027ffa31 1700 and the second is the unprefixed C member name.)
bce074ee 1701
027ffa31 1702Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
bce074ee 1703
095936d2 1704 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
bce074ee
GH
1705 setservent): no longer take an argument, it was bogus.
1706
027ffa31 1707Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
81e2a235
GH
1708
1709 * boot-9.scm (scm-error): deleted, reimplemented in C.
1710
04798288
MD
1711Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1712
1713 * boot-9.scm (process-define-module): Modified to handle both
1714 keywords and symbols.
1715
027ffa31 1716Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
75a97b92
GH
1717
1718 * slib.scm: update read usage.
1719
1720 * r4rs.scm: update primitive-load usage.
1721 Don't define read-sharp.
1722
1723 * boot-9.scm: use read-hash-extend to install extra read syntax.
1724 (read-sharp): removed.
1725 Adjust usage of primitive-load-path, read, which no longer take
1726 case_i or read-sharp arguments.
1727
027ffa31 1728Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
63a3d814 1729
90d5e280
MD
1730 * boot-9.scm: Added loading of session support module.
1731
63a3d814 1732 * debug.scm: Removed `display-application'. (Replaced by
027ffa31 1733 primitive procedure.)
63a3d814
MD
1734
1735 * boot-9.scm (beautify-user-module!): Don't add the root module
1736 interface to the end of the use-list of the root module.
1737
027ffa31 1738Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
75a97b92
GH
1739
1740 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
1741
027ffa31 1742Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
f3c23298
GH
1743
1744 * boot-9.scm: check use-emacs-interface for emacs support.
1745
027ffa31 1746Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
7950df7c
GH
1747
1748 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
1749 read gets EOF.
1750 * (exit): alias for quit.
1751
027ffa31 1752Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
8e44e7a0
GH
1753
1754 * boot-9.scm (error-catching-loop thunk): use a status variable to
1755 return the quit args.
1756 (scm-style-repl): call -quit, passing return value from
1757 error-catching-repl. Make -quit return its args.
1a36eef2 1758 stand-alone-repl: comment out, since it seems unused.
7950df7c 1759
8e44e7a0
GH
1760 (error-catching-loop thunk): discard trailing junk after a (quit).
1761
027ffa31 1762Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
9a942103 1763
06a02069
MD
1764 * boot-9.scm: Removed the old printer code.
1765
1766 * r4rs.scm (apply, call-with-current-continuation): Added comment
1767 explaining why apply and call/cc need to be closures.
1768
1769 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
1770 Removed. These definitions are already present in r4rs.scm.
1771
9a942103 1772 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
027ffa31
JB
1773 stack before printing traced frames; Re-enable trace flag at end
1774 of handlers.
9a942103 1775
027ffa31 1776Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e6875011 1777
59e1116d
MD
1778 * debug.scm: Add hook for reset of trace level at abort.
1779
1780 * boot-9.scm (run-hooks): New procedure.
1781 (add-hooks!): New macro.
1782 Change hooks to use these functions.
1783
027ffa31
JB
1784 * debug.scm: *Warning* This feature is a bit premature. I add
1785 it anyway because 1. it is very useful, and, 2. you can start
e6875011
MD
1786 making it less premature by complaining to me and by modifying
1787 the source! :-)
1788 (trace): Given one or more procedure objects, trace each one.
027ffa31 1789 Given no arguments, show all traced procedures.
e6875011 1790 (untrace): Given one or more procedure objects, untrace each one.
027ffa31
JB
1791 Given no arguments, untrace all traced procedures. The tracing in
1792 Guile have an advantage to most other systems: We don't create new
1793 procedure objects, but mark the procedure objects themselves.
1794 This means that also anonymous and internal procedures can be
1795 traced.
e6875011
MD
1796
1797 * boot-9.scm (error-catching-loop): Added handling of apply-frame
1798 and exit-frame exceptions.
1799
095936d2 1800 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
e6875011
MD
1801 (set-repl-prompt!): Setter for repl prompt.
1802 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
027ffa31
JB
1803 string, display it; if prompt is a thunk, call it and display its
1804 result; otherwise display "> ".
1805 (Change suggested by Roland Orre <orre@nada.kth.se>.)
0065d90e
MD
1806
1807 * r4rs.scm (%load-verbosely): Reverted change to
027ffa31
JB
1808 `module-defined?', since the module system isn't bootstrapped when
1809 we load r4rs.scm. This is just a temporary fix to make the
0065d90e
MD
1810 repository version runnable.
1811
eb52a06b
MD
1812Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1813
1814 * boot-9.scm: Removed the enabling of debug evaluator and
027ffa31
JB
1815 recording of source code positions. This was placed there for our
1816 convenience, but it has already sneaked into the distribution
1817 once... so we'd better add this in our local copies instead when
1818 we need it. (These options are normally enabled at the end of
eb52a06b
MD
1819 boot-9.scm when loading the debug module.)
1820
d18d1b6d
MV
1821Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
1822
1823 * boot-9.scm (module-defined?): New function.
1824 (macroexpand-1, macroexpand): Use local-ref instead of defined?
027ffa31 1825 and eval.
d18d1b6d 1826 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
027ffa31 1827 "defined?".
d18d1b6d 1828 * slib.scm (defined?): New function to take the place of the
027ffa31 1829 builtin "defined?". It allways examines the slib module.
d18d1b6d 1830
15ae1bee
MD
1831Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1832
1833 * configure.in: Added AM_MAINTAINER_MODE
1834
027ffa31 1835Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
c2132276
GH
1836
1837 * boot-9.scm (read-sharp): define directly, don't go through a
1838 %read-sharp layer.
1839
027ffa31 1840Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
c2132276
GH
1841
1842 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
1843 uniform-vector-set1! which doesn't exist.
1844
d590bbf6
MD
1845Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
1846
1847 * boot-9.scm (backtrace): Removed. (A C version now exists in
1848 backtrace.c.)
1849
027ffa31 1850Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
1e531c3a
GH
1851
1852 * boot-9.scm (read-line!, read-delimited!, read-delimited,
1853 read-line): new procedures, see libguile/ChangeLog.
1854
bb0102f7
MV
1855Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
1856
1857 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
1858
1859 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
027ffa31
JB
1860 init-dynamic-module, dynamic-maybe-call,
1861 find-and-link-dynamic-module, link-dynamic-module,
1862 try-module-dynamic-link, registered-modules): New definitions for
1863 dynamic linking of modules.
bb0102f7 1864 (resolve-module): Try to dynamically link the requested module
027ffa31 1865 after failing to load it as Scheme code.
bb0102f7 1866
027ffa31 1867Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
920235cc
GH
1868
1869 * boot-9.scm (getservbyport, getservbyname): remove stray %.
1870
027ffa31 1871Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
198befde
JB
1872
1873 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
1874 that's what it is.
1875
1876 * lineio.scm (make-line-buffering-input-port): Properly test for
1877 the case of an empty buffer list. The old code assumed that '()
1878 was false.
1879
027ffa31 1880Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
33cf699f 1881
095936d2 1882 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
33cf699f 1883 (use-modules <module name> ...) Put the the modules named by
027ffa31 1884 <module name> ... on the use list of the current module.
33cf699f 1885
027ffa31 1886Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
7a818853
JB
1887
1888 * boot-9.scm (error-catching-loop): Remove message saying that
1889 typing "$" will put you in the debugger. This isn't implemented
1890 yet.
1891
506067f0
JB
1892Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
1893
1894 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
1895 been fixed, so this function is superfluous.
1896 (transform-usage-lambda): Use delq!, not delq-all!.
1897
2ebf3156
MV
1898Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
1899
7a818853 1900 * boot-9.scm (resolve-module): New optional parameter that
027ffa31 1901 controls whether autoloading is attempted or not. Default is #t.
2ebf3156
MV
1902 (process-define-module): Don't autoload the defined module.
1903 (try-module-autoload): Don't autoload the directory modules.
1904
7a818853 1905 * boot-9.scm (process-define-module): Ensure that the-scm-module
027ffa31
JB
1906 is last in the `uses' list to allow shadowing builtin
1907 bindings. All :use-module options are added in the order they
1908 appear in the arguments but before anything already on the list
1909 (such as the-scm-module).
2ebf3156 1910
027ffa31 1911Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
00f06035
GH
1912
1913 * slib.scm (slib-parent-dir): throw error if #f returned from
027ffa31 1914 %search-load-path.
00f06035 1915
733943b9
TT
1916Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
1917
1918 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
1919 * Makefile.am, aclocal.m4: New files.
1920 * configure.in: Updated for Automake.
1921
84abd243
MV
1922Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
1923
1924 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
027ffa31
JB
1925 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
1926 function, use it accordingly.
84abd243 1927
a31bc6fb
JB
1928Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
1929
1930 It's an "eval closure", not an "eval thunk." A thunk is a
1931 function of no arguments.
1932 * boot-9.scm (module-type): Rename module field.
1933 (make-module, eval-in-module, make-root-module,
1934 set-current-module): Uses changed.
1935 (module-eval-closure, set-module-eval-closure!,
1936 root-module-closure): Renamed from module-eval-thunk,
1937 set-module-eval-thunk!, root-module-thunk.
1938 (set-current-module): Change uses of *top-level-lookup-thunk* to
1939 *top-level-eval-closure*.
1940
3763761c
JB
1941Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
1942
1943 * slib.scm (slib-parent-dir): Use string-length, not length.
1944 (Thanks to Bernard Urban.)
1945
027ffa31 1946Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
7ad737b6 1947
7a818853 1948 * boot-9.scm: The debugging evaluator and recording of positions
7ad737b6
MD
1949 aren't enabled by default any longer (they are switched on in
1950 debug.scm). But during development we want to have them also
1951 *inside* boot-9.scm. Therefore, two lines are added at the
1952 beginning of boot-9.scm to enable these.
1953
1954 Call `provide' so that `records' are included among the
027ffa31 1955 `*features*'.
7ad737b6
MD
1956
1957 The scheme for saving the stack has been adjusted: save-stack is
1958 now commonly available for saving the stack. Calling `save-stack'
1959 sets a flag `stack-saved?' which prevents overwriting the stack.
1960 `stack-saved?' is reset at `abort'.
1961
1962 Spelling correction: seperate --> separate.
1963
1964 Removed `:'s that had creeped into some comments.
1965
7a818853 1966 The repl now doesn't print #<unspecified> results any longer
7ad737b6
MD
1967 If the user wants to see this, he can do
1968 (assert-repl-print-unspecified #t) in his startup file.
1969
7a818853 1970 The user now gets a friendly message instead of a backtrace at
7ad737b6
MD
1971 error.
1972
1973 Added `before-read-hook'.
1974
1975 Load module (ice-9 emacs) if option `-e' was specified.
1976
1977 (provide): New function.
1978
1979 (error): Save stack at entry, so that Guile entrails won't show up
1980 in backtraces.
1981
1982 (backtrace): New function.
1983
7a818853 1984 (save-stack): Can now take arbitrary number of stack narrowing
7ad737b6
MD
1985 specifier pairs. The first specifier in a pair controls inner
1986 border, the second the outer border. A number means cut that
1987 number of frames, a procedure object means cut until that object
1988 is found in operator position in a frame.
1989
1990 * debug.scm: Enable debugging evaluator and recording of positions
1991 by default.
1992
1993 * slib.scm (slib:load): Adapt to the new behavior of
1994 primitive-load: It doesn't any longer try both with and without
1995 ".scm" extension. (We don't want to use %search-load-path here.)
1996
1997 (implementation-vicinity): New function. slib requires it
1998
1999 (library-vicinity): Updated.
2000
2001 Load "require.scm" in the library-vicinity.
2002
2003 (install-require-vicinity, install-require-module): New functions.
2004
99f97bfe
JB
2005Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
2006
581a242b
JB
2007 * boot-9.scm (load-from-path): New function.
2008
2009 * boot-9.scm (try-load, basic-try-load, try-load-module,
2010 try-load): Deleted. I don't think they're being used.
2011
48be3fb3
JB
2012 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
2013 so they'll get distributed.
2014
2015 Get Guile to be a little less chatty by default. The new user
2016 should see as little clutter as possible.
2017 * r4rs.scm (%load-verbosely): Make this #f by default.
2018 * boot-9.scm (scm-repl-verbose): Make this #f by default.
2019 (scm-style-repl): Don't run 'pk' on the value passed to quit.
2020
2021 * r4rs.scm: New file.
2022 * boot-9.scm: Load r4rs.scm, first thing.
2023 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
027ffa31
JB
2024 open-output-file, open-io-file, close-input-port,
2025 close-output-port, close-io-port, call-with-input-file,
2026 call-with-output-file, with-input-from-port, with-output-to-port,
2027 with-error-to-port, with-input-from-file, with-output-to-file,
2028 with-error-to-file, with-input-from-string, with-output-to-string,
2029 with-error-to-string, the-eof-object): Definitions moved to
48be3fb3
JB
2030 r4rs.scm. Not all of them are R4RS, but those that are use those
2031 that are not.
2032 (load, %load-verbosely, %load-announce): Moved, along with code to
2033 set %load-hook, to r4rs.scm.
2034
2035 * test.scm: New file.
2036
2037 * boot-9.scm (integer?): Definition deleted, in favor of the one
2038 present in libguile (which used to be called int?). I have no
2039 idea why integer? didn't just call int? to begin with.
2040
2041 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
2042 =?, >?, and >=? deleted; they're defined that way by libguile now.
2043
99f97bfe 2044 * boot-9.scm (load): Simplified; primitive-load does most of this
027ffa31
JB
2045 work now.
2046 (%load-announce-win): Removed; no longer used. Set %load-hook to
2047 call %load-announce.
99f97bfe 2048
027ffa31 2049Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
3afb28ce 2050
4fe3604d
JB
2051 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
2052 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
2053 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
2054 components.
3afb28ce
GH
2055 (file-is-directory?): use stat:type.
2056
3065a62a
JB
2057Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
2058
2059 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
2060 that's now taken care of in libguile, and in a way compatible with
2061 SCSH (which this isn't).
2062
e4c5095f
JB
2063Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
2064
2065 * boot-9.scm: Formatting tweaks.
2066
1bb961a3
MD
2067Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2068
2069 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
027ffa31
JB
2070 after-error-hook, before-backtrace-hook and after-backtrace-hook
2071 to the error handler. E.g.: fancy emacs support could plug into
2072 these.
1bb961a3 2073 (save-stack): New function. The stack is now made differently
027ffa31
JB
2074 depending on the stack id. (The motivation is to make a better
2075 choice regarding what stack frames to present to the user.)
1bb961a3 2076 (error-catching-loop): Stack handling code moved outside into
027ffa31 2077 save-stack.
1bb961a3 2078
027ffa31 2079Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
9a0d70e2 2080
d7189b49
GH
2081 * Makefile.in (scm_files): add expect.scm.
2082
2083 * expect.scm: new file ported from guile-iii.
2084
9a0d70e2
GH
2085 * boot-9.scm: remove handle-system-error, after moving the code into
2086 error-catching-loop.
2087 Don't set 'throw-handler-default property on error keys.
2088 Just interpret (almost) any throw with 4 args as an error throw.
2089 Delete some try-load stuff that was already commented out.
2090
35c5db87
GH
2091 Second thoughts, keep handle-system-error but call it from
2092 error-catching-loop.
2093
d065b65f
JB
2094Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
2095
aa9576ad
JB
2096 * boot-9.scm: Doc fixes.
2097 (make-module): Rework for readability.
2098 (make-root-module, make-scm-module): USES argument to make-module
027ffa31 2099 should be '(), not #f.
aa9576ad 2100
d065b65f
JB
2101 * boot-9.scm (try-load): %sys-load-path has been renamed to
2102 primitive-load-path; adjust call here.
2103
c01c94bf
MD
2104Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2105
d065b65f 2106 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
027ffa31 2107 the stack to the correct place: when it is decided to generate an
c01c94bf
MD
2108 error-signal.
2109
2dfc85c0
MD
2110Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2111
2112 * boot-9.scm (error-catching-loop, signal-handler,
027ffa31
JB
2113 handle-system-error): Backtracing now works for signals aswell;
2114 Backtracing mechanism can now identify the stack root created by
2115 start-stack so that the user isn't exposed to system stack frames.
2dfc85c0 2116
84d8ad97
MD
2117Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2118
2119 * Makefile.in: Added threads.scm.
2120
4f0292cf
MD
2121Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2122
2123 * debug.scm (make-enable, make-disable): Simplified.
2124
2125 * boot-9.scm: Renamed %%throw-handler-default -->
027ffa31 2126 throw-handler-default.
4f0292cf
MD
2127 ((handle-system-error key . arg-list)): Changed the way errors are
2128 reported.
2129 ((scm-style-repl)): Wrap up the call to eval in a start-stack
027ffa31 2130 acro.
4f0292cf 2131 ((error-catching-loop thunk)): Introduce a lazy-catch into
027ffa31 2132 error-catching-loop so that the stack can be captured.
4f0292cf 2133
1eaceb61
JB
2134Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
2135
2136 * mapping.scm (hash-table-mapping): Explicitly request that
027ffa31 2137 make-vector fill new vectors with '(); this will make it easier to
1eaceb61
JB
2138 port Guile Scheme code to other Schemes.
2139 * boot-9.scm (make-print-style, make-print-table): Same.
2140
027ffa31 2141Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
6fa8995c
GH
2142
2143 * boot-9.scm (load): rewritten again.
2144 Append "." to the default %load-path.
2145 (feature?): new function: checks for a symbol in the features list.
2146 (module-local-variable): remove apparently useless (caddr (list m v
2147 ...))
2148 (%load-announce): minor formatting change.
2149 (file-exists?): use access? if posix is featured.
2150 (file-is-directory?): use stat if i/o-extensions is featured.
2151 (try-module-autoload module-name): use file-exists? before
2152 file-is-directory?
2153
027ffa31 2154Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
8b4a21d1 2155
8acae5bb
MD
2156 * boot-9.scm: Added conditional loading of threads.scm.
2157
2158 * threads.scm: New file. Modified from the Cygnus-r0.3
2159 distribution.
2160
8b4a21d1
MD
2161 * boot-9.scm (error-catching-loop): Added handling of key
2162 `switch-repl'.
2163
2164 * boot-9.scm: Name change %%bad-throw --> bad-throw.
2165
027ffa31 2166Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
c90c9685
JB
2167
2168 * boot-9.scm (make-record-type, record-constructor): Don't assume
2169 the empty list is false when parsing the argument list.
2170
2171Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
2172
2173 * boot-9.scm (signal-handler): Clean up logic.
2174
2175 * boot-9.scm (load): Assume %load-path is always bound.
2176
027ffa31 2177Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
5552355a 2178
027ffa31
JB
2179 * boot-9.scm (error): replace another throw with scm-error. Throw
2180 to 'misc-error instead of 'error (no need to distinguish these.)
5552355a
GH
2181 Don't set up 'error as a key.
2182 Set up regex-error as a key, if regex is available.
2183 (signal-handler): use scm-error, not throw.
2184
7a818853 2185 (%try-load, try-load-with-path, %load, load-with-path,
5552355a
GH
2186 basic-try-load-with-path, basic-load-with-path,
2187 try-load-module-with-path,load-module-with-path): deleted, since
2188 they seem redundant.
2189 (try-load): define using %try-load, not try-load-with-path.
7a818853 2190 (load): rewritten. load tries to open the file directly and
5552355a
GH
2191 with a .scm extension before searching the library directories
2192 (should "." be added to %load-path? then load could still open
027ffa31 2193 directly files starting with "/").
5552355a
GH
2194 (try-module-autoload): use load, not load-with-path.
2195 (%load-indent): deleted, -2 was causing errors.
2196
2197 (%read-sharp): use port-line, not line-number.
2198
c90c9685
JB
2199Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
2200
2201 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
027ffa31
JB
2202 straightforward to provide the equivalent functionality using
2203 (catch #t ...), so there's no need for the extra complexity. 2)
2204 Outside the context of a read-eval-print loop (which Guile should
2205 not require) it's not clear we should do anything more complicated
2206 than print an error and exit; the user or REPL can establish
2207 something better if it wants. 3) In that case, it's much more
2208 robust to just do it in the C code.
c90c9685 2209
027ffa31 2210Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
855c0eac 2211
027ffa31 2212 * boot-9.scm (%try-load): define using primitive-load. Previously
855c0eac
GH
2213 %try-load itself was the primitive.
2214 (load-with-path): use scm-error instead of %load-announce-lossage.
2215 Errors are thrown to 'misc-error instead of 'could-not-load.
2216 (%load-announce-lossage): deleted.
2217
a0c97697
MD
2218Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
2219
2220 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
2221 (make-record-type type-name fields): Temporarily remove support
2222 for printing of records (not possible yet with C printer).
2223
027ffa31 2224Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
be2d2c70
GH
2225
2226 * boot-9.scm (file-exists?, file-is-directory): catch only
2227 system-error, not every kind of error.
2228 (scm-error): new procedure.
2229
434bf5ce
JB
2230Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
2231
2232 * boot-9.scm: Formatting tweaks.
2233
027ffa31 2234Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
2194b6f0
GH
2235
2236 * boot-9.scm (%%handle-system-error key): remove the code for
2237 SCM-style errors. handle the case that an unexpected number
2238 of args are supplied.
2239 (%%system-errors): removed.
2240 (error): redefine using a throw with key and 4 args.
2241 ('error): associate 'error, 'error-signal keys with
2242 %%handle-system-error.
2243 (%%default-error-handler): removed.
2244 (signal-handler): throw with 4 args and use the error-signal key.
2245 Create an error message instead of using numerical codes.
2246 (%%bad-throw): call error instead of throw if key not found.
2247
027ffa31 2248Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
2194b6f0
GH
2249
2250 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
2251 (%%handle-system-error key): check subr is not #f before printing.
2252 Recognize %s (embed an argument using "display") and
2253 %S (embed an argument using "write").
2254
027ffa31 2255Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
234f2da6
GH
2256
2257 * boot-9.scm (%%handle-system-error key): set args and rest to
2258 the empty list if they are #f.
2259 Initialize out-of-range as an error key.
2260
027ffa31 2261Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
e1724d20 2262
40c8906e
GH
2263 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
2264
e1724d20
GH
2265 * boot-9.scm: remove leading %% from references to '%%system-error.
2266 (%%handle-system-error): don't pass all the thrown arguments when
2267 aborting, just the key and subr.
2268 Remove the code to "Install default handlers for built-in errors."
2269 Remove the definition of the syserror procedure.
2270 Associate 'numerical-overflow with default handler.
2271
1a80fb07
MD
2272Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2273
2274 * boot-9.scm: Name change: value-ref --> local-ref
2275 resolved-ref --> nested-ref Motivation: conformance to the other
2276 dictionary operators: list-ref operates on list, vector-ref
2277 operates on vector, nested-ref operates on nested namespace,
2278 local-ref operates on the local nested namespace.
2279
027ffa31 2280Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
7cb1d4d3
GH
2281
2282 * boot-9.scm (%%handle-system-error): recognise errors thrown
2283 by lgh-error (fill-message etc.)
9561554c 2284 (fill-message): check first whether args is null.
a949b3f2 2285 (fill-message): bug fix and check that args is a list.
7cb1d4d3 2286
027ffa31 2287Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
393ee9a8
JB
2288
2289 * boot-9.scm: %load-path is initialized in C code now.
2290 (implementation-vicinity, parse-path): Deleted, along with code to
2291 initialize %load-path.
2292
2293 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
2294 "/", use one to separate it from the file.
2295
027ffa31 2296Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
e4ef46d4
JB
2297
2298 * boot-9.scm (%load-path): Add the site directory.
2299 Add the directory named after the version number.
2300 Prepend the version number to the other directories in the path.
2301 Simplify by mapping the common prefix onto each item.
2302 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
2303 sitedatadir): New definitions.
2304 (libparent, libdir, install_path): Replaced by above.
2305 (install): Create the above directories.
2306 Put the source files into subpkgdatadir.
2307 (uninstall): Remove the above directories.
2308
00312aa3
JB
2309Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
2310
2311 Don't use the PLUGIN system to gather information for the
2312 Makefile's distribution and installation targets; just put it all
2313 in the Makefile directly.
2314 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
2315 for these.
2316 * configure.in: Remove code that gets and substitutes scm_files and
2317 aux_files.
2318 * Makefile.in (scm_files, aux_files): Write out the list of files
2319 here, where people expect to find them.
2320
96a8aaf3
MD
2321Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2322
2323 * boot-9.scm: Preliminary solution: optionally load the debug
027ffa31 2324 module. Changed "gls" to "guile1.0b3".
96a8aaf3
MD
2325
2326 * debug.scm: New file: debug extensions.
2327
4e378733
MD
2328Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2329
2330 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
027ffa31 2331 weak-key-hash-table?. (Again!)
4e378733 2332
0190d683
MD
2333Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2334
2335 * boot-9.scm (print-vector, macro-table, xformer-table):
2336 Renamed weak-hash-table --> weak-key-hash-table.
2337
2338 * poe.scm (funcq-memo): Renamed weak-hash-table -->
2339 weak-key-hash-table.
2340
027ffa31 2341Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
8b13c6b3
GH
2342
2343 * boot-9.scm (*null-device*): global constant from goonix.
2344 (move->fdes): adjusted for boolean primitive-move->fdes. return
2345 the modified port, always set revealed count to 1 (SCSH compatible).
2346 (release-port-handle port): from goonix (SCSH compatible).
2347 (%open-file): removed.
2348 (open-input-file, open-output-file, file-exists?, file-is-directory?):
2349 modified for open-file change (does not return #f).
2350
027ffa31 2351Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
a44a755d
JB
2352
2353 * Makefile.in (dist-dir): New target for new dist system.
2354 (manifest): Deleted.
2355 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
2356 directory, and needs special treatment in the dist-dir target.
2357
027ffa31 2358Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
02b754d3
GH
2359
2360 * boot-9.scm: remove the wrappers for '%' system primitives,
2361 now that they throw errors directly.
2362 remove make-simple-wrapper and similar functions.
2363 protect a call to getenv which may now throw an exception.
2364
027ffa31 2365Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
02b754d3
GH
2366
2367 * boot-9.scm (false-if-exception): new macro.
2368
0f2d19dd
JB
2369Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
2370
2371 * The more things change...
2372
2373