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