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