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