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