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