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