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