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