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