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