*** empty log message ***
[bpt/guile.git] / ice-9 / ChangeLog
1 Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
2
3 * slib.scm (slib:warn): Alias for WARN function.
4
5 Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
6
7 * boot-9.scm (struct-printer): Fix off-by-one error in range
8 check. Correctly check for struct printer tag.
9
10 * expect.scm: Turn this into a module, (ice-9 expect).
11 (expect-port, expect-timeout, expect-timeout-proc,
12 expect-eof-proc, expect-char-proc, expect, expect-strings,
13 expect-select): Make these public definitions.
14 (expect-strings): Use make-regexp and regexp-exec, instead of
15 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
16 that's okay.
17
18 * boot-9.scm (with-regexp-parts): Comment this out. It has no
19 users in the core, and relies on mildly hairy details of the old
20 regexp interface.
21
22 * test.scm: Re-enable tests asserting that '() is true, and not a
23 boolean. This stuff has been true for a while.
24
25 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
26 function names.
27
28 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
29 fixes.
30
31 Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
32
33 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
34 ../configure.in.
35
36 Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
37
38 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
39 vtable and not the one of the struct.
40
41 Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
42
43 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
44 make-struct-printer, set-struct-printer-in-vtable!): New bindings
45 to support printing of structures.
46 (record-type-vtable, make-record-type): Add slot to hold printing
47 function and initialize it with something appropriate. Removed
48 commented out printing code.
49 (record-type-name, record-type-fields): Adjusted slot offsets.
50 (%print-module): Reduce argument list to "mod" and "port".
51
52 Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
53
54 * slib.scm (identity): New function, used by SLIB.
55
56 Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
57
58 * boot-9.scm: signal-handler, alarm-thunk: removed.
59 don't define ticks-interrupt etc.
60 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
61 during call to scm-style-repl.
62
63 Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
64
65 * slib.scm (slib:load): Use primitive-load-path instead of
66 basic-load. This is probably wrong, but hopefully the entire
67 source access system will be revised soon anyway, and this will
68 make require behave more like Emacs Lisp's require. If this
69 breaks something, please let me know. Maybe this is real dumb.
70
71 Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
72
73 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
74 * boot-9.scm: If the `regex' feature is present, use the module
75 (ice-9 regex).
76
77 Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
78
79 * regex.scm: New file.
80 * Makefile.am (subpkgdata_DATA): Add regex.scm.
81 * Makefile.in: Regenerated.
82
83 Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
84
85 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
86 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
87 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
88 threads.scm: New address for FSF.
89
90 Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
91
92 * debug.scm: Update copyright years; this file has been worked on
93 in 1997.
94
95 Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
96
97 * expect.scm: use gettimeofday instead of get-internal-real-time
98 and use a floating point timeout when calling select. Untested,
99 since the regex library is currently AWOL.
100
101 Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
102
103 * boot-9.scm (eval-string): Function deleted; it was already
104 implemented in C, so there's no point in making a divergable copy
105 here.
106
107 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
108
109 * Makefile.in: Regenerated, using automake-1.1p.
110
111 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
112
113 * Makefile.in: Regenerated, using automake-1.1p.
114
115 Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
116
117 * boot-9.scm (error-catching-loop): don't read a line from
118 current input when quit is encountered, the previous change
119 fixes this too.
120
121 Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
122
123 * boot-9.scm (scm-style-repl): After reading an expression,
124 consume any trailing newline (perhaps preceded by whitespace), to
125 avoid screwing up GDB. More detail in comments.
126
127 Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
128
129 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
130 the Scheme code like code yet.
131 * Makefile.in: Resrac,husrched.
132
133 Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
134
135 * boot-9.scm (link-dynamic-module): Do not catch errors from
136 dynamic-link and dynamic-call. When the shared library exists it
137 is now assumed to be suitable for a dynamic C module.
138
139 Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
140
141 * boot-9.scm (process-use-modules): New function to support the
142 use-modules macro
143 (use-modules): throw an error iff one of the requested modules
144 can't be found.
145
146 Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
147
148 * boot-9.scm: don't define timer-thunk or gc-thunk.
149
150 Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
151
152 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
153
154 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
155 we're not using AM_INIT_GUILE_MODULE any more.
156 * Makefile.in: Regeneratitetedrerd.
157
158 Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
159
160 Get 'make dist' to work again.
161 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
162 * Makefile.in: Regenerated, like two tons of fleas.
163
164 Changes for reduced Guile distribution: one configure script,
165 no plugins.
166 * configure.in, configure: Removed.
167 * Makefile.in: Regenerated.
168
169 Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
170
171 * boot-9.scm (eval-string, command-line, load-user-init): New
172 functions.
173
174 Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
175
176 * boot-9.scm (log10): defined.
177
178 Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
179
180 * expect.scm (expect-select): correct the millisecond timeout
181 arithmetic (from Marko.Kohtala@ntc.nokia.com).
182
183 Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
184
185 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
186 instead of in libguile.
187 (tm:sec etc.) new accessors for broken-down time.
188 (set-tm:sec etc.) new setters for broken-down time.
189
190 Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
191
192 * boot-9.scm (netent:addrtype, servent:port): added missing
193 procedures.
194 (netent:net, servent:proto): repaired.
195 (utsname:sysname etc.): new accessors for uname.
196
197 Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
198
199 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
200 sockaddr:port): new functions.
201
202 Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
203
204 * boot-9.scm: define accessor procedures for the objects returned
205 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
206 passwd:name, where the first component is the name of the C structure
207 and the second is the unprefixed C member name.)
208
209 Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
210
211 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
212 setservent): no longer take an argument, it was bogus.
213
214 Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
215
216 * boot-9.scm (scm-error): deleted, reimplemented in C.
217
218 Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
219
220 * boot-9.scm (process-define-module): Modified to handle both
221 keywords and symbols.
222
223 Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
224
225 * slib.scm: update read usage.
226
227 * r4rs.scm: update primitive-load usage.
228 Don't define read-sharp.
229
230 * boot-9.scm: use read-hash-extend to install extra read syntax.
231 (read-sharp): removed.
232 Adjust usage of primitive-load-path, read, which no longer take
233 case_i or read-sharp arguments.
234
235 Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
236
237 * boot-9.scm: Added loading of session support module.
238
239 * debug.scm: Removed `display-application'. (Replaced by
240 primitive procedure.)
241
242 * boot-9.scm (beautify-user-module!): Don't add the root module
243 interface to the end of the use-list of the root module.
244
245 Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
246
247 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
248
249 Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
250
251 * boot-9.scm: check use-emacs-interface for emacs support.
252
253 Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
254
255 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
256 read gets EOF.
257 * (exit): alias for quit.
258
259 Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
260
261 * boot-9.scm (error-catching-loop thunk): use a status variable to
262 return the quit args.
263 (scm-style-repl): call -quit, passing return value from
264 error-catching-repl. Make -quit return its args.
265 stand-alone-repl: comment out, since it seems unused.
266
267 (error-catching-loop thunk): discard trailing junk after a (quit).
268
269 Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
270
271 * boot-9.scm: Removed the old printer code.
272
273 * r4rs.scm (apply, call-with-current-continuation): Added comment
274 explaining why apply and call/cc need to be closures.
275
276 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
277 Removed. These definitions are already present in r4rs.scm.
278
279 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
280 stack before printing traced frames; Re-enable trace flag at end
281 of handlers.
282
283 Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
284
285 * debug.scm: Add hook for reset of trace level at abort.
286
287 * boot-9.scm (run-hooks): New procedure.
288 (add-hooks!): New macro.
289 Change hooks to use these functions.
290
291 * debug.scm: *Warning* This feature is a bit premature. I add
292 it anyway because 1. it is very useful, and, 2. you can start
293 making it less premature by complaining to me and by modifying
294 the source! :-)
295 (trace): Given one or more procedure objects, trace each one.
296 Given no arguments, show all traced procedures.
297 (untrace): Given one or more procedure objects, untrace each one.
298 Given no arguments, untrace all traced procedures. The tracing in
299 Guile have an advantage to most other systems: We don't create new
300 procedure objects, but mark the procedure objects themselves.
301 This means that also anonymous and internal procedures can be
302 traced.
303
304 * boot-9.scm (error-catching-loop): Added handling of apply-frame
305 and exit-frame exceptions.
306
307 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
308 (set-repl-prompt!): Setter for repl prompt.
309 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
310 string, display it; if prompt is a thunk, call it and display its
311 result; otherwise display "> ".
312 (Change suggested by Roland Orre <orre@nada.kth.se>.)
313
314 * r4rs.scm (%load-verbosely): Reverted change to
315 `module-defined?', since the module system isn't bootstrapped when
316 we load r4rs.scm. This is just a temporary fix to make the
317 repository version runnable.
318
319 Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
320
321 * boot-9.scm: Removed the enabling of debug evaluator and
322 recording of source code positions. This was placed there for our
323 convenience, but it has already sneaked into the distribution
324 once... so we'd better add this in our local copies instead when
325 we need it. (These options are normally enabled at the end of
326 boot-9.scm when loading the debug module.)
327
328 Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
329
330 * boot-9.scm (module-defined?): New function.
331 (macroexpand-1, macroexpand): Use local-ref instead of defined?
332 and eval.
333 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
334 "defined?".
335 * slib.scm (defined?): New function to take the place of the
336 builtin "defined?". It allways examines the slib module.
337
338 Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
339
340 * configure.in: Added AM_MAINTAINER_MODE
341
342 Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
343
344 * boot-9.scm (read-sharp): define directly, don't go through a
345 %read-sharp layer.
346
347 Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
348
349 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
350 uniform-vector-set1! which doesn't exist.
351
352 Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
353
354 * boot-9.scm (backtrace): Removed. (A C version now exists in
355 backtrace.c.)
356
357 Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
358
359 * boot-9.scm (read-line!, read-delimited!, read-delimited,
360 read-line): new procedures, see libguile/ChangeLog.
361
362 Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
363
364 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
365
366 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
367 init-dynamic-module, dynamic-maybe-call,
368 find-and-link-dynamic-module, link-dynamic-module,
369 try-module-dynamic-link, registered-modules): New definitions for
370 dynamic linking of modules.
371 (resolve-module): Try to dynamically link the requested module
372 after failing to load it as Scheme code.
373
374 Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
375
376 * boot-9.scm (getservbyport, getservbyname): remove stray %.
377
378 Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
379
380 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
381 that's what it is.
382
383 * lineio.scm (make-line-buffering-input-port): Properly test for
384 the case of an empty buffer list. The old code assumed that '()
385 was false.
386
387 Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
388
389 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
390 (use-modules <module name> ...) Put the the modules named by
391 <module name> ... on the use list of the current module.
392
393 Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
394
395 * boot-9.scm (error-catching-loop): Remove message saying that
396 typing "$" will put you in the debugger. This isn't implemented
397 yet.
398
399 Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
400
401 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
402 been fixed, so this function is superfluous.
403 (transform-usage-lambda): Use delq!, not delq-all!.
404
405 Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
406
407 * boot-9.scm (resolve-module): New optional parameter that
408 controls whether autoloading is attempted or not. Default is #t.
409 (process-define-module): Don't autoload the defined module.
410 (try-module-autoload): Don't autoload the directory modules.
411
412 * boot-9.scm (process-define-module): Ensure that the-scm-module
413 is last in the `uses' list to allow shadowing builtin
414 bindings. All :use-module options are added in the order they
415 appear in the arguments but before anything already on the list
416 (such as the-scm-module).
417
418 Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
419
420 * slib.scm (slib-parent-dir): throw error if #f returned from
421 %search-load-path.
422
423 Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
424
425 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
426 * Makefile.am, aclocal.m4: New files.
427 * configure.in: Updated for Automake.
428
429 Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
430
431 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
432 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
433 function, use it accordingly.
434
435 Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
436
437 It's an "eval closure", not an "eval thunk." A thunk is a
438 function of no arguments.
439 * boot-9.scm (module-type): Rename module field.
440 (make-module, eval-in-module, make-root-module,
441 set-current-module): Uses changed.
442 (module-eval-closure, set-module-eval-closure!,
443 root-module-closure): Renamed from module-eval-thunk,
444 set-module-eval-thunk!, root-module-thunk.
445 (set-current-module): Change uses of *top-level-lookup-thunk* to
446 *top-level-eval-closure*.
447
448 Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
449
450 * slib.scm (slib-parent-dir): Use string-length, not length.
451 (Thanks to Bernard Urban.)
452
453 Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
454
455 * boot-9.scm: The debugging evaluator and recording of positions
456 aren't enabled by default any longer (they are switched on in
457 debug.scm). But during development we want to have them also
458 *inside* boot-9.scm. Therefore, two lines are added at the
459 beginning of boot-9.scm to enable these.
460
461 Call `provide' so that `records' are included among the
462 `*features*'.
463
464 The scheme for saving the stack has been adjusted: save-stack is
465 now commonly available for saving the stack. Calling `save-stack'
466 sets a flag `stack-saved?' which prevents overwriting the stack.
467 `stack-saved?' is reset at `abort'.
468
469 Spelling correction: seperate --> separate.
470
471 Removed `:'s that had creeped into some comments.
472
473 The repl now doesn't print #<unspecified> results any longer
474 If the user wants to see this, he can do
475 (assert-repl-print-unspecified #t) in his startup file.
476
477 The user now gets a friendly message instead of a backtrace at
478 error.
479
480 Added `before-read-hook'.
481
482 Load module (ice-9 emacs) if option `-e' was specified.
483
484 (provide): New function.
485
486 (error): Save stack at entry, so that Guile entrails won't show up
487 in backtraces.
488
489 (backtrace): New function.
490
491 (save-stack): Can now take arbitrary number of stack narrowing
492 specifier pairs. The first specifier in a pair controls inner
493 border, the second the outer border. A number means cut that
494 number of frames, a procedure object means cut until that object
495 is found in operator position in a frame.
496
497 * debug.scm: Enable debugging evaluator and recording of positions
498 by default.
499
500 * slib.scm (slib:load): Adapt to the new behavior of
501 primitive-load: It doesn't any longer try both with and without
502 ".scm" extension. (We don't want to use %search-load-path here.)
503
504 (implementation-vicinity): New function. slib requires it
505
506 (library-vicinity): Updated.
507
508 Load "require.scm" in the library-vicinity.
509
510 (install-require-vicinity, install-require-module): New functions.
511
512 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
513
514 * boot-9.scm (load-from-path): New function.
515
516 * boot-9.scm (try-load, basic-try-load, try-load-module,
517 try-load): Deleted. I don't think they're being used.
518
519 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
520 so they'll get distributed.
521
522 Get Guile to be a little less chatty by default. The new user
523 should see as little clutter as possible.
524 * r4rs.scm (%load-verbosely): Make this #f by default.
525 * boot-9.scm (scm-repl-verbose): Make this #f by default.
526 (scm-style-repl): Don't run 'pk' on the value passed to quit.
527
528 * r4rs.scm: New file.
529 * boot-9.scm: Load r4rs.scm, first thing.
530 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
531 open-output-file, open-io-file, close-input-port,
532 close-output-port, close-io-port, call-with-input-file,
533 call-with-output-file, with-input-from-port, with-output-to-port,
534 with-error-to-port, with-input-from-file, with-output-to-file,
535 with-error-to-file, with-input-from-string, with-output-to-string,
536 with-error-to-string, the-eof-object): Definitions moved to
537 r4rs.scm. Not all of them are R4RS, but those that are use those
538 that are not.
539 (load, %load-verbosely, %load-announce): Moved, along with code to
540 set %load-hook, to r4rs.scm.
541
542 * test.scm: New file.
543
544 * boot-9.scm (integer?): Definition deleted, in favor of the one
545 present in libguile (which used to be called int?). I have no
546 idea why integer? didn't just call int? to begin with.
547
548 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
549 =?, >?, and >=? deleted; they're defined that way by libguile now.
550
551 * boot-9.scm (load): Simplified; primitive-load does most of this
552 work now.
553 (%load-announce-win): Removed; no longer used. Set %load-hook to
554 call %load-announce.
555
556 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
557
558 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
559 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
560 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
561 components.
562 (file-is-directory?): use stat:type.
563
564 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
565
566 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
567 that's now taken care of in libguile, and in a way compatible with
568 SCSH (which this isn't).
569
570 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
571
572 * boot-9.scm: Formatting tweaks.
573
574 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
575
576 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
577 after-error-hook, before-backtrace-hook and after-backtrace-hook
578 to the error handler. E.g.: fancy emacs support could plug into
579 these.
580 (save-stack): New function. The stack is now made differently
581 depending on the stack id. (The motivation is to make a better
582 choice regarding what stack frames to present to the user.)
583 (error-catching-loop): Stack handling code moved outside into
584 save-stack.
585
586 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
587
588 * Makefile.in (scm_files): add expect.scm.
589
590 * expect.scm: new file ported from guile-iii.
591
592 * boot-9.scm: remove handle-system-error, after moving the code into
593 error-catching-loop.
594 Don't set 'throw-handler-default property on error keys.
595 Just interpret (almost) any throw with 4 args as an error throw.
596 Delete some try-load stuff that was already commented out.
597
598 Second thoughts, keep handle-system-error but call it from
599 error-catching-loop.
600
601 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
602
603 * boot-9.scm: Doc fixes.
604 (make-module): Rework for readability.
605 (make-root-module, make-scm-module): USES argument to make-module
606 should be '(), not #f.
607
608 * boot-9.scm (try-load): %sys-load-path has been renamed to
609 primitive-load-path; adjust call here.
610
611 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
612
613 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
614 the stack to the correct place: when it is decided to generate an
615 error-signal.
616
617 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
618
619 * boot-9.scm (error-catching-loop, signal-handler,
620 handle-system-error): Backtracing now works for signals aswell;
621 Backtracing mechanism can now identify the stack root created by
622 start-stack so that the user isn't exposed to system stack frames.
623
624 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
625
626 * Makefile.in: Added threads.scm.
627
628 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
629
630 * debug.scm (make-enable, make-disable): Simplified.
631
632 * boot-9.scm: Renamed %%throw-handler-default -->
633 throw-handler-default.
634 ((handle-system-error key . arg-list)): Changed the way errors are
635 reported.
636 ((scm-style-repl)): Wrap up the call to eval in a start-stack
637 acro.
638 ((error-catching-loop thunk)): Introduce a lazy-catch into
639 error-catching-loop so that the stack can be captured.
640
641 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
642
643 * mapping.scm (hash-table-mapping): Explicitly request that
644 make-vector fill new vectors with '(); this will make it easier to
645 port Guile Scheme code to other Schemes.
646 * boot-9.scm (make-print-style, make-print-table): Same.
647
648 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
649
650 * boot-9.scm (load): rewritten again.
651 Append "." to the default %load-path.
652 (feature?): new function: checks for a symbol in the features list.
653 (module-local-variable): remove apparently useless (caddr (list m v
654 ...))
655 (%load-announce): minor formatting change.
656 (file-exists?): use access? if posix is featured.
657 (file-is-directory?): use stat if i/o-extensions is featured.
658 (try-module-autoload module-name): use file-exists? before
659 file-is-directory?
660
661 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
662
663 * boot-9.scm: Added conditional loading of threads.scm.
664
665 * threads.scm: New file. Modified from the Cygnus-r0.3
666 distribution.
667
668 * boot-9.scm (error-catching-loop): Added handling of key
669 `switch-repl'.
670
671 * boot-9.scm: Name change %%bad-throw --> bad-throw.
672
673 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
674
675 * boot-9.scm (make-record-type, record-constructor): Don't assume
676 the empty list is false when parsing the argument list.
677
678 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
679
680 * boot-9.scm (signal-handler): Clean up logic.
681
682 * boot-9.scm (load): Assume %load-path is always bound.
683
684 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
685
686 * boot-9.scm (error): replace another throw with scm-error. Throw
687 to 'misc-error instead of 'error (no need to distinguish these.)
688 Don't set up 'error as a key.
689 Set up regex-error as a key, if regex is available.
690 (signal-handler): use scm-error, not throw.
691
692 (%try-load, try-load-with-path, %load, load-with-path,
693 basic-try-load-with-path, basic-load-with-path,
694 try-load-module-with-path,load-module-with-path): deleted, since
695 they seem redundant.
696 (try-load): define using %try-load, not try-load-with-path.
697 (load): rewritten. load tries to open the file directly and
698 with a .scm extension before searching the library directories
699 (should "." be added to %load-path? then load could still open
700 directly files starting with "/").
701 (try-module-autoload): use load, not load-with-path.
702 (%load-indent): deleted, -2 was causing errors.
703
704 (%read-sharp): use port-line, not line-number.
705
706 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
707
708 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
709 straightforward to provide the equivalent functionality using
710 (catch #t ...), so there's no need for the extra complexity. 2)
711 Outside the context of a read-eval-print loop (which Guile should
712 not require) it's not clear we should do anything more complicated
713 than print an error and exit; the user or REPL can establish
714 something better if it wants. 3) In that case, it's much more
715 robust to just do it in the C code.
716
717 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
718
719 * boot-9.scm (%try-load): define using primitive-load. Previously
720 %try-load itself was the primitive.
721 (load-with-path): use scm-error instead of %load-announce-lossage.
722 Errors are thrown to 'misc-error instead of 'could-not-load.
723 (%load-announce-lossage): deleted.
724
725 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
726
727 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
728 (make-record-type type-name fields): Temporarily remove support
729 for printing of records (not possible yet with C printer).
730
731 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
732
733 * boot-9.scm (file-exists?, file-is-directory): catch only
734 system-error, not every kind of error.
735 (scm-error): new procedure.
736
737 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
738
739 * boot-9.scm: Formatting tweaks.
740
741 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
742
743 * boot-9.scm (%%handle-system-error key): remove the code for
744 SCM-style errors. handle the case that an unexpected number
745 of args are supplied.
746 (%%system-errors): removed.
747 (error): redefine using a throw with key and 4 args.
748 ('error): associate 'error, 'error-signal keys with
749 %%handle-system-error.
750 (%%default-error-handler): removed.
751 (signal-handler): throw with 4 args and use the error-signal key.
752 Create an error message instead of using numerical codes.
753 (%%bad-throw): call error instead of throw if key not found.
754
755 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
756
757 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
758 (%%handle-system-error key): check subr is not #f before printing.
759 Recognize %s (embed an argument using "display") and
760 %S (embed an argument using "write").
761
762 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
763
764 * boot-9.scm (%%handle-system-error key): set args and rest to
765 the empty list if they are #f.
766 Initialize out-of-range as an error key.
767
768 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
769
770 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
771
772 * boot-9.scm: remove leading %% from references to '%%system-error.
773 (%%handle-system-error): don't pass all the thrown arguments when
774 aborting, just the key and subr.
775 Remove the code to "Install default handlers for built-in errors."
776 Remove the definition of the syserror procedure.
777 Associate 'numerical-overflow with default handler.
778
779 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
780
781 * boot-9.scm: Name change: value-ref --> local-ref
782 resolved-ref --> nested-ref Motivation: conformance to the other
783 dictionary operators: list-ref operates on list, vector-ref
784 operates on vector, nested-ref operates on nested namespace,
785 local-ref operates on the local nested namespace.
786
787 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
788
789 * boot-9.scm (%%handle-system-error): recognise errors thrown
790 by lgh-error (fill-message etc.)
791 (fill-message): check first whether args is null.
792 (fill-message): bug fix and check that args is a list.
793
794 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
795
796 * boot-9.scm: %load-path is initialized in C code now.
797 (implementation-vicinity, parse-path): Deleted, along with code to
798 initialize %load-path.
799
800 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
801 "/", use one to separate it from the file.
802
803 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
804
805 * boot-9.scm (%load-path): Add the site directory.
806 Add the directory named after the version number.
807 Prepend the version number to the other directories in the path.
808 Simplify by mapping the common prefix onto each item.
809 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
810 sitedatadir): New definitions.
811 (libparent, libdir, install_path): Replaced by above.
812 (install): Create the above directories.
813 Put the source files into subpkgdatadir.
814 (uninstall): Remove the above directories.
815
816 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
817
818 Don't use the PLUGIN system to gather information for the
819 Makefile's distribution and installation targets; just put it all
820 in the Makefile directly.
821 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
822 for these.
823 * configure.in: Remove code that gets and substitutes scm_files and
824 aux_files.
825 * Makefile.in (scm_files, aux_files): Write out the list of files
826 here, where people expect to find them.
827
828 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
829
830 * boot-9.scm: Preliminary solution: optionally load the debug
831 module. Changed "gls" to "guile1.0b3".
832
833 * debug.scm: New file: debug extensions.
834
835 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
836
837 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
838 weak-key-hash-table?. (Again!)
839
840 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
841
842 * boot-9.scm (print-vector, macro-table, xformer-table):
843 Renamed weak-hash-table --> weak-key-hash-table.
844
845 * poe.scm (funcq-memo): Renamed weak-hash-table -->
846 weak-key-hash-table.
847
848 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
849
850 * boot-9.scm (*null-device*): global constant from goonix.
851 (move->fdes): adjusted for boolean primitive-move->fdes. return
852 the modified port, always set revealed count to 1 (SCSH compatible).
853 (release-port-handle port): from goonix (SCSH compatible).
854 (%open-file): removed.
855 (open-input-file, open-output-file, file-exists?, file-is-directory?):
856 modified for open-file change (does not return #f).
857
858 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
859
860 * Makefile.in (dist-dir): New target for new dist system.
861 (manifest): Deleted.
862 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
863 directory, and needs special treatment in the dist-dir target.
864
865 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
866
867 * boot-9.scm: remove the wrappers for '%' system primitives,
868 now that they throw errors directly.
869 remove make-simple-wrapper and similar functions.
870 protect a call to getenv which may now throw an exception.
871
872 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
873
874 * boot-9.scm (false-if-exception): new macro.
875
876 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
877
878 * The more things change...
879
880