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