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