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