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