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