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