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