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