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