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