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