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