*** empty log message ***
[bpt/guile.git] / ice-9 / ChangeLog
1 1998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
2
3 * boot-9.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
4 testing software-type here. That's the least of our Windows
5 porting issues, and it's done wrong anyway.
6
7 1998-10-09 Jim Blandy <jimb@zwingli.cygnus.com>
8
9 * boot-9.scm (read-path-list-notation-warning): New function:
10 print a warning the first time we see `#/' notation.
11
12 * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
13 (eq? #f '()) assumptions. Make functions that aren't documented
14 to return anything else return the queue itself. (Bug report from
15 Michael Livshin --- thanks!)
16
17 1998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
18
19 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
20 trace flag.
21
22 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
23 order to allow the empty list as arg.
24 (error-catching-loop): Use `with-traps' to create a dynamic
25 context with traps enabled.
26
27 1998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
28
29 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
30 module.
31 (try-using-libtool-name): Removed dependency on (ice-9 regex).
32
33 1998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
34
35 * boot-9.scm: Make the root module use (ice-9 regex) if
36 available. The dynamic linking facilities in boot-9.scm are
37 currently dependent upon regular expressions. My change of
38 1998-07-14 removed (ice-9 regex) from the use-list of the root
39 module and thereby destroyed dynamic linking.
40
41 1998-07-29 Jim Blandy <jimb@zwingli.cygnus.com>
42
43 * Makefile.in: Regenerated using the last public version of
44 automake, not the hacked Cygnus version.
45
46 1998-07-28 Jim Blandy <jimb@zwingli.cygnus.com>
47
48 * Makefile.in: Regenerated, after removing Totoro kludge.
49
50 1998-07-28 Jim Blandy <jimb@totoro.red-bean.com>
51
52 * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.)
53
54 1998-07-26 Jim Blandy <jimb@zwingli.cygnus.com>
55
56 * Makefile.in Rebuilt, for config changes in parent dir.
57
58 1998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
59
60 * readline.scm (make-readline-port): Set prompt string to "... "
61 after first read line. (Thanks to Richard Polton.)
62
63 1998-07-19 Jim Blandy <jimb@zwingli.cygnus.com>
64
65 * lineio.scm (make-line-buffering-input-port): Don't use
66 ungetc-char-ready?, since we don't provide that function any
67 more. The unread-string function doesn't interact properly with
68 any of the standard I/O functions anyway. (Thanks to Andrew
69 Archibald.)
70
71 * hcons.scm (hashq-cons-assoc): Don't assume the empty list is
72 false. Return false when we cannot find a matching entry in the
73 list. (Thanks to Andrew Archibald.)
74
75 1998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
76
77 * boot-9.scm (export, export-syntax): New special forms: Export
78 bindings from a module. `(export name1 name2 ...)' can be used at
79 the top of a module (after `define-module') to specify which names
80 should be exported. It can be used as an alternative to
81 `define-public'. `export-syntax' works equivalently to `export'
82 but is intended for export of syntactic keywords.
83 (Thanks to Thien-Thi Nguyen.)
84
85 1998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
86
87 * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'.
88
89 1998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
90
91 * boot-9.scm: Let the user start in module `(guile-repl)' instead
92 of module `(guile)'. Also make sure that `(guile-repl)' uses
93 suitable modules. This change improves Guile stability
94 substantially since bindings will only be copied from the root
95 module: If the user redefines builtins in `(guile-repl)' it won't
96 affect the internal operation of Guile itself.
97
98 1998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
99
100 * boot-9.scm (load-module): When loading files from within files
101 themselves being loaded: Use the directory path of the file being
102 loaded as root for relative filenames. (After suggestion by
103 Steven G. Johnson.)
104
105 1998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
106
107 * emacs.scm (emacs-load): New feature: Eval in specified module.
108
109 1998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
110
111 * readline.scm: Typo in regex module name.
112
113 1998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
114
115 * readline.scm (apropos-completion-function): regexp-quote text to
116 be completed.
117
118 1998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
119
120 * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid.
121
122 1998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
123
124 * boot-9.scm: Check that (current-input-port) is a tty before
125 enabling readline. (Thanks to Michael N. Livshin.)
126
127 1998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
128
129 * boot-9.scm (use-syntax): Turned into a macro inorder to be
130 similar in use to `use-modules'.
131 Example: (use-syntax (ice-9 syncase)) will 1. load the module
132 (ice-9 syncase), and, 2. install the procedure `syncase' as eval
133 transformer.
134 (internal-use-syntax): New procedure.
135 (process-define-module): Use `internal-use-syntax'.
136
137 1998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
138
139 * Makefile.am (ice9_sources): Add emacs.scm.
140
141 1998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
142
143 * readline.scm: Use the new readline facilities: Add the
144 possibility to control input and output ports; Add apropos
145 completion.
146
147 * boot-9.scm: Antirevert Jim's readline code which he reverted
148 19971027 and adapt it to the current readline interface.
149
150 * boot-9.scm (top-repl): Only enable readline if not using the
151 Emacs interface; Only use repl prompt when using the readline port
152 from repl-read. (We don't want to see it when calling `read'.)
153
154 * boot-9.scm (remove-hook!): Parenthesis bug.
155
156 1998-05-11 Mikael Djurfeldt <mdj@kenneth>
157
158 * boot-9.scm: Load readline module if readline is present.
159
160 * readline.scm (apropos-completion-function): New procedure:
161 Symbolic completion. (Thanks to Andrew Archibald!)
162
163 1998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
164
165 * boot-9.scm (process-define-module): Added keyword use-syntax.
166
167 1998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
168
169 * nonblocking.scm: Removed. libguile is now inherently
170 nonblocking through the use of scm_internal_select.
171
172 * emacs.scm: Removed use of nonblocking.scm.
173
174 * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these
175 obsolete.
176
177 1998-04-15 Mikael Djurfeldt <mdj@nada.kth.se>
178
179 * runq.scm (runq-control): Corrected spelling of enqueue!.
180 (Thanks to Karl M. Hegbloom.)
181
182 1998-03-30 Mikael Djurfeldt <mdj@nada.kth.se>
183
184 * boot-9.scm: Added new run-time option interface eval-options.
185
186 1998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
187
188 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
189 Stachowiak.)
190
191 1998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
192
193 * threads.scm: Added simple error and signal handler.
194 (make-thread, begin-handler): Use this handler. The most
195 important effect of this is that signals get unmasked.
196 Previously, when a signal was thrown signals remained masked
197 (signals get masked when a signal is taken) which influenced other
198 threads.
199
200 1998-01-01 Tim Pierce <twp@skepsis.com>
201
202 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
203 * slib.scm (identity): Unmake public.
204 (slib:eval): Evaluate inside `slib-module'.
205
206 1997-12-24 Tim Pierce <twp@skepsis.com>
207
208 * boot-9.scm: Doc fix.
209
210 * slib.scm (identity): Made public.
211 (home-vicinity): New function (from SLIB/Template.scm).
212
213 1997-12-13 Tim Pierce <twp@skepsis.com>
214
215 * * boot-9.scm (read-line): Rewritten to call %read-line for
216 improved speed. Minor user-visible changes: the new functions are
217 hardwired to treat the LFD character as signifying end-of-line, so
218 changing `scm-line-incrementors' will no longer affect the
219 behavior of read-line. On platforms which do not represent
220 end-of-line with a LFD character, read-line should behave more
221 like native line-processing facilities, but there is still a ways
222 to go here.
223
224 Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth>
225
226 * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
227 is now a fluid.
228
229 1997-11-28 Tim Pierce <twp@skepsis.com>
230
231 * boot-9.scm (find-and-link-dynamic-module): If a module directory
232 contains a .la file (a libtool support file), attempt to extract
233 the shared library name from that file. If the .la file does not
234 exist, try to link against a .so file. Libtool-generated compiled
235 modules should load more cleanly in Guile now.
236 (try-using-libtool-name, try-using-sharlib-name): New functions.
237
238 Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
239
240 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
241 usefully so they will work from a script.
242
243 1997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
244
245 * boot-9.scm (inherit-print-state): Moved definition to the
246 neighborhood of the record code.
247
248 Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
249
250 * boot-9.scm: Revert changes to this file from Oct 23. It turns
251 out to interact badly with the Emacs support and the Tcl/Tk
252 support. It's not a high enough priority at the moment to be
253 worth fixing. I'm leaving the other readline support in, though.
254
255 Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
256
257 * Makefile.am: Include readline.scm in the list of files to be
258 installed, so Guile can find it for interactive use.
259 * Makefile.in: Regenerated.
260
261 Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
262
263 Add support for readline function.
264 * readline.scm: New module.
265 * boot-9.scm (repl-reader): New function.
266 (scm-style-repl): Call repl-reader, instead of doing the reading
267 ourselves. Remove repl-report-reset; it was never used for
268 anything.
269 (top-repl): If we've got the readline primitives, then redefine
270 repl-reader to use them.
271 If we've got the readline primitives, import the readline module.
272
273 * ls.scm (ls, lls): Don't assume (eq? #f '()).
274
275 Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
276
277 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
278 string-fun.scm: Added copyright notices; reformatted.
279
280 Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
281
282 * expect.scm: (expect-regexec): new procedure, use it in
283 expect-strings to fix the => syntax under the new regex system.
284 (top): include regex module in define-module statement.
285
286 Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
287
288 * (error-catching-loop): new local variable "interactive". if
289 #f, abort terminates the process.
290 (set-batch-mode?!, batch-mode?): new closures, defined in
291 error-catching-loop. the names are from scsh.
292
293 1997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
294
295 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
296 print-state, throw it away.
297
298 Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
299
300 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
301 `0'.
302
303 Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
304
305 * boot-9.scm (struct-printer, make-struct-printer,
306 set-struct-printer-in-vtable!, *struct-printer*): Removed.
307 (record-type-vtable, make-record-type): Don't use make-struct-printer.
308 (record-type-vtable): User fields "prpr" (printer is no longer a
309 user field).
310 (record-type-name, record-type-fields): Decreased slot index by
311 one; Use `vtable-offset-user'.
312
313 Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
314
315 * boot-9.scm (inherit-print-state): New experimental function.
316
317 Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
318
319 Suggestion and script from Maciej Stachowiak:
320 * boot-9.scm: Split off modules into separate, autoloadable files.
321 This reduces startup time from 10.5s to 5.5s (user cpu).
322 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
323 string-fun.scm: New files, containing stuff that used to be in
324 boot-9.scm.
325 * Makefile.am (ice9_sources): List new files here, for
326 distribution and installation.
327 * Makefile.in: Regenerated.
328
329 Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
330
331 * Makefile.in: Regenerated with automake 1.2c.
332
333 Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
334
335 * slib.scm (slib:load): slib:load first tries to load the file
336 named NAME, then NAME.scm. On error, report the error occuring at
337 the first attempt (NAME) rather than the second (NAME.scm).
338
339 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
340 the make-options macro so that we needn't refer to a global
341 symbol.
342
343 Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
344
345 * debug.scm: Moved options interface procedures to boot-9.scm.
346
347 * boot-9.scm: Define options interface procedures here instead.
348
349 Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
350
351 * boot-9.scm (separate-fields-discarding-char,
352 separate-fields-after-char, separate-fields-before-char): Call
353 continuation function, RET, as advertised: with each separated
354 field a separate argument.
355
356 * Makefile.in: Regenerated with automake 1.2a.
357
358 Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
359
360 * slib.scm (slib:load): Export.
361
362 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
363 vicinity;
364 Provide defmacro.
365
366 Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
367
368 * r4rs.scm (apply): Set name property to 'apply.
369
370 Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
371
372 * boot-9.scm (keyword->symbol, display-usage-report): Changed
373 length --> string-length. (Thanks to Aleksandar Bakic.)
374 (separate-fields-discarding-char, separate-fields-after-char,
375 separate-fields-before-char): Bugfix from Maciej Stachowiak
376 <mstachow@mit.edu>. Thanks!
377 (try-module-linked): Try to find module among those already
378 registered.
379 (try-module-dynamic-link): Removed the first test which
380 corresponds to a call to `try-module-linked'.
381 (resolve-module): Resolve modules in this order: 1. Already
382 registered modules (for example those which have been statically
383 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
384 link a .so-file.
385
386 Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
387
388 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
389
390 Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
391
392 * session.scm (name): New procedure: Gives name of object.
393 (source): New procedure: Gives source of object.
394
395 Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
396
397 * * boot-9.scm (primitive-macro?): New procedure.
398
399 * slib.scm: Added hack which transfers syntactic information from
400 the builtin variable `define' to the slib version if module (ice-9
401 syncase) has been loaded. This is necessary to get correct
402 expansion inside the slib module.
403
404 * psyntax.ss (build-let, build-named-let): New output
405 constructors.
406 (build-lexical-var): Seed gensym with symbolic name.
407 (self-evaluating?): Add keywords among self-evaluating types.
408 (let): New core form.
409 (if): Removed from core language.
410 (or, and, let, cond): Removed syntactic definitions.
411 (sc-expand3): New procedure: Expander which takes optional mode
412 and eval-syntactic-expanders-when arguments.
413
414 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
415 Should be used inside the (ice-9 syncase) module with (use-syntax
416 syncase) and with the current directory containing the psyntax.ss
417 source.
418 Added hack to transfer syntactic information from the builtin
419 variable `define' to the slib version if module (ice-9 slib) has
420 been loaded.
421
422 Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
423
424 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
425 (syncase): Publish syntax transformer to be used with
426 `use-syntax'.
427 (sc-macro): Use this as the value when publishing macros.
428
429 * boot-9.scm (module-type): Added `transformer'.
430 (make-module): Modified initialization.
431 (module-transformer, set-module-transformer!): Selector and
432 mutator for module-associated transformer.
433 (set-current-module): Use module-transformer to set
434 `scm:eval-transformer'.
435 (module-use!): Previous change reverted.
436 * (use-syntax): New function: Install a transformer in current
437 module.
438 (sc-interface, sc-expand): Removed! :)
439
440 Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
441
442 * emacs.scm (emacs-load): Added new parameter `module'.
443
444 * syncase.scm (putprop, getprop): Modified to use the object
445 properties of the variable object corresponding to the symbol;
446 This way we can ride on the mechanisms of the module system.
447 Changed `builtin-variable' calls to `define-public' calls.
448 Setup the hooks sc-expand and sc-interface.
449
450 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
451 (set-current-module): Switch to and from sc-expand as
452 scm:eval-transformer when going into and out of modules using
453 syncase macros.
454 (module-use!): Set scm:eval-transformer to sc-expand when adding
455 the syncase interface.
456
457 Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
458
459 * syncase.scm (putprop): Temporary fix which publishes new syntax
460 globally (the old behaviour was complex and connected to the inner
461 workings of the current module system).
462
463 Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
464
465 * psyntax.ss: Updated.
466 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
467 off!
468
469 Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
470
471 * boot-9.scm (gensym): Removed (replaced by primitive).
472 (obarray-gensym): Rewritten to use `gensym'.
473 (gentemp): Rewritten to use `gensym'.
474
475 Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
476
477 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
478 according to the following priorities:
479 1. tcl bindings which are present in override-scheme-list
480 2. bindings from the-scm-module
481 3. tcl bindings
482 This way the gtcl module can occur first in the use-list without
483 disabling the scheme interpreter.
484 (new-interpreter): New function.
485
486 * gwish.scm: Moved initialization code for the-interpreter to
487 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
488 it; Call `new-interpreter'; Don't :use-module (guile).
489
490 Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
491
492 * Makefile.in: Regenerated.
493
494 Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
495
496 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
497
498 Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
499
500 * emacs.scm (object->string, format, error-args->string): New
501 procedures.
502 (emacs-frame-eval): Reworked.
503
504 Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
505
506 * session.scm (apropos-internal): Musn't initialize symbol
507 accumulator with a constant pair. That led to mutation of the
508 source!
509
510 Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
511
512 * session.scm (vector-for-each): Removed.
513 (apropos): vector-for-each --> array-for-each.
514 (apropos-internal): New function. Return list of accessible
515 symbols matching regexp.
516
517 * debug.scm (frame-number->index): New function. Convert frame
518 number (as displayed in the backtrace) to frame index (to be used
519 in stack-ref).
520
521 * emacs.scm (emacs-load): New arguments: interactivep: when
522 non-false, send back results to Emacs; colnum: Column number;
523 Use modules (ice-9 debug) and (ice-9 session);
524 (no-stack, no-source): New simple-actions;
525 (result-to-emacs): New procedure. Sends data to Emacs via the
526 result protocol;
527 (get-frame-source, emacs-select-frame, emacs-frame-eval,
528 emacs-symdoc): New procedures.
529
530 Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
531
532 * emacs.scm (emacs-load): Adjust stack narrowing.
533 (whitespace-chars): Include #\np.
534
535 * syncase.scm: Also turn off debugging evaluator and recording of
536 procedure names during loading of psyntax.pp.
537
538 * psyntax.pp: Removed leading blanks => 800K -> 100K.
539
540 Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
541
542 * syncase.scm: Don't tamper with debug mode setting when enabling
543 macros. Instead cut the stack with start-stack.
544 Load psyntax.pp with recording of positions turned off.
545
546 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
547
548 * * syncase.scm: New file: Guile-adaption for syntax-case macros.
549 psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
550 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
551
552 Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
553
554 * * session.scm: New file: Session support.
555 (apropos): New procedure: List bindings given regexp.
556
557 Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
558
559 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
560 cstime.
561
562 Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
563
564 * emacs.scm (emacs-load): Something has changed in the reader so
565 that we now should set the port line count to the specified value
566 (linum) instead of (- linum 1).
567
568 * slib.scm (slib:load): Use load-from-path instead of
569 primitive-load-path so that backtraces get narrowed properly at
570 the top.
571
572 * boot-9.scm (top-repl): Save stack already in signal handler in
573 order to narrow it correctly.
574 (save-stack): Adjust narrowing tag for the top of load-stacks.
575
576 Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
577
578 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
579 (dup->fdes): deleted, now done in C.
580
581 Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
582
583 * boot-9.scm (setenv): new procedure, scsh compatible.
584
585 Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
586
587 * boot-9.scm (with-fluids): New macro to go with the
588 builtin `with-fluids*'.
589
590 Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
591
592 * slib.scm (install-require-module): In newer versions of slib
593 *catalog* is #f until the first access. Therefore we call
594 require:provided? for a random feature if *catalog* is #f.
595
596 Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
597
598 * boot-9.scm: If using emacs interface, enable backtraces
599 automatically.
600
601 Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
602
603 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
604 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
605 (duplicate-port): was a C primitive, now it's here.
606 (move->fdes): allow the first argument to be a file descriptor.
607 Return the modified port or file descriptor (was unspecified.)
608
609 Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
610
611 Changes to compile under gnu-win32, from Marcus Daniels:
612 * boot-9.scm (load-user-init): If HOME is unset, provide
613 a default of /.
614
615 * boot-9.scm (define-public): Changed to accomodate Hobbit.
616
617 Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
618
619 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
620 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
621 notation, instead of #/ notation.
622
623 * expect.scm (expect-strings): Pass regexp/newline flag to
624 make-regexp.
625
626 Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
627
628 Fix inconsistencies in parsing of #/ style lists.
629 * boot-9.scm (read-path-list-notation): New function.
630 (parse-path-symbol): Deleted. Replaced by above.
631 Plug in read-path-list-notation as the parser for #/ lists,
632 instead of the anonymous lambda form calling parse-path-symbol.
633 (Thanks to Maurizio Vitale.)
634
635 * boot-9.scm (make-list): Remove the definition of this function
636 from the (ice-9 common-list) module; make the `init' argument
637 optional in the scm module's definition, to match the deleted
638 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
639
640 Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
641
642 Try to detect when people are using one version of libguile and a
643 different version of ice-9. People have been skewing things and
644 sending in bug reports.
645 * version.scm.in: New file, which the configure script munges to
646 produce version.scm, which contains the ice-9 config stamp.
647 * boot-9.scm: Compare the libguile and ice-9 config stamps;
648 display a warning if the two are different.
649 * Makefile.am: Install version.scm, but don't distribute it.
650 Distribute version.scm.in, but don't install it.
651 * Makefile.in: Regenerated.
652
653 Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
654
655 * slib.scm (slib:warn): Alias for WARN function.
656
657 Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
658
659 * boot-9.scm (struct-printer): Fix off-by-one error in range
660 check. Correctly check for struct printer tag.
661
662 * expect.scm: Turn this into a module, (ice-9 expect).
663 (expect-port, expect-timeout, expect-timeout-proc,
664 expect-eof-proc, expect-char-proc, expect, expect-strings,
665 expect-select): Make these public definitions.
666 (expect-strings): Use make-regexp and regexp-exec, instead of
667 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
668 that's okay.
669
670 * boot-9.scm (with-regexp-parts): Comment this out. It has no
671 users in the core, and relies on mildly hairy details of the old
672 regexp interface.
673
674 * test.scm: Re-enable tests asserting that '() is true, and not a
675 boolean. This stuff has been true for a while.
676
677 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
678 function names.
679
680 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
681 fixes.
682
683 Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
684
685 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
686 ../configure.in.
687
688 Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
689
690 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
691 vtable and not the one of the struct.
692
693 Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
694
695 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
696 make-struct-printer, set-struct-printer-in-vtable!): New bindings
697 to support printing of structures.
698 (record-type-vtable, make-record-type): Add slot to hold printing
699 function and initialize it with something appropriate. Removed
700 commented out printing code.
701 (record-type-name, record-type-fields): Adjusted slot offsets.
702 (%print-module): Reduce argument list to "mod" and "port".
703
704 Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
705
706 * slib.scm (identity): New function, used by SLIB.
707
708 Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
709
710 * boot-9.scm: signal-handler, alarm-thunk: removed.
711 don't define ticks-interrupt etc.
712 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
713 during call to scm-style-repl.
714
715 Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
716
717 * slib.scm (slib:load): Use primitive-load-path instead of
718 basic-load. This is probably wrong, but hopefully the entire
719 source access system will be revised soon anyway, and this will
720 make require behave more like Emacs Lisp's require. If this
721 breaks something, please let me know. Maybe this is real dumb.
722
723 Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
724
725 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
726 * boot-9.scm: If the `regex' feature is present, use the module
727 (ice-9 regex).
728
729 Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
730
731 * regex.scm: New file.
732 * Makefile.am (subpkgdata_DATA): Add regex.scm.
733 * Makefile.in: Regenerated.
734
735 Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
736
737 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
738 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
739 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
740 threads.scm: New address for FSF.
741
742 Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
743
744 * debug.scm: Update copyright years; this file has been worked on
745 in 1997.
746
747 Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
748
749 * expect.scm: use gettimeofday instead of get-internal-real-time
750 and use a floating point timeout when calling select. Untested,
751 since the regex library is currently AWOL.
752
753 Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
754
755 * boot-9.scm (eval-string): Function deleted; it was already
756 implemented in C, so there's no point in making a divergable copy
757 here.
758
759 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
760
761 * Makefile.in: Regenerated, using automake-1.1p.
762
763 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
764
765 * Makefile.in: Regenerated, using automake-1.1p.
766
767 Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
768
769 * boot-9.scm (error-catching-loop): don't read a line from
770 current input when quit is encountered, the previous change
771 fixes this too.
772
773 Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
774
775 * boot-9.scm (scm-style-repl): After reading an expression,
776 consume any trailing newline (perhaps preceded by whitespace), to
777 avoid screwing up GDB. More detail in comments.
778
779 Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
780
781 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
782 the Scheme code like code yet.
783 * Makefile.in: Resrac,husrched.
784
785 Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
786
787 * boot-9.scm (link-dynamic-module): Do not catch errors from
788 dynamic-link and dynamic-call. When the shared library exists it
789 is now assumed to be suitable for a dynamic C module.
790
791 Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
792
793 * boot-9.scm (process-use-modules): New function to support the
794 use-modules macro
795 (use-modules): throw an error iff one of the requested modules
796 can't be found.
797
798 Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
799
800 * boot-9.scm: don't define timer-thunk or gc-thunk.
801
802 Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
803
804 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
805
806 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
807 we're not using AM_INIT_GUILE_MODULE any more.
808 * Makefile.in: Regeneratitetedrerd.
809
810 Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
811
812 Get 'make dist' to work again.
813 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
814 * Makefile.in: Regenerated, like two tons of fleas.
815
816 Changes for reduced Guile distribution: one configure script,
817 no plugins.
818 * configure.in, configure: Removed.
819 * Makefile.in: Regenerated.
820
821 Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
822
823 * boot-9.scm (eval-string, command-line, load-user-init): New
824 functions.
825
826 Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
827
828 * boot-9.scm (log10): defined.
829
830 Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
831
832 * expect.scm (expect-select): correct the millisecond timeout
833 arithmetic (from Marko.Kohtala@ntc.nokia.com).
834
835 Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
836
837 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
838 instead of in libguile.
839 (tm:sec etc.) new accessors for broken-down time.
840 (set-tm:sec etc.) new setters for broken-down time.
841
842 Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
843
844 * boot-9.scm (netent:addrtype, servent:port): added missing
845 procedures.
846 (netent:net, servent:proto): repaired.
847 (utsname:sysname etc.): new accessors for uname.
848
849 Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
850
851 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
852 sockaddr:port): new functions.
853
854 Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
855
856 * boot-9.scm: define accessor procedures for the objects returned
857 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
858 passwd:name, where the first component is the name of the C structure
859 and the second is the unprefixed C member name.)
860
861 Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
862
863 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
864 setservent): no longer take an argument, it was bogus.
865
866 Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
867
868 * boot-9.scm (scm-error): deleted, reimplemented in C.
869
870 Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
871
872 * boot-9.scm (process-define-module): Modified to handle both
873 keywords and symbols.
874
875 Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
876
877 * slib.scm: update read usage.
878
879 * r4rs.scm: update primitive-load usage.
880 Don't define read-sharp.
881
882 * boot-9.scm: use read-hash-extend to install extra read syntax.
883 (read-sharp): removed.
884 Adjust usage of primitive-load-path, read, which no longer take
885 case_i or read-sharp arguments.
886
887 Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
888
889 * boot-9.scm: Added loading of session support module.
890
891 * debug.scm: Removed `display-application'. (Replaced by
892 primitive procedure.)
893
894 * boot-9.scm (beautify-user-module!): Don't add the root module
895 interface to the end of the use-list of the root module.
896
897 Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
898
899 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
900
901 Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
902
903 * boot-9.scm: check use-emacs-interface for emacs support.
904
905 Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
906
907 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
908 read gets EOF.
909 * (exit): alias for quit.
910
911 Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
912
913 * boot-9.scm (error-catching-loop thunk): use a status variable to
914 return the quit args.
915 (scm-style-repl): call -quit, passing return value from
916 error-catching-repl. Make -quit return its args.
917 stand-alone-repl: comment out, since it seems unused.
918
919 (error-catching-loop thunk): discard trailing junk after a (quit).
920
921 Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
922
923 * boot-9.scm: Removed the old printer code.
924
925 * r4rs.scm (apply, call-with-current-continuation): Added comment
926 explaining why apply and call/cc need to be closures.
927
928 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
929 Removed. These definitions are already present in r4rs.scm.
930
931 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
932 stack before printing traced frames; Re-enable trace flag at end
933 of handlers.
934
935 Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
936
937 * debug.scm: Add hook for reset of trace level at abort.
938
939 * boot-9.scm (run-hooks): New procedure.
940 (add-hooks!): New macro.
941 Change hooks to use these functions.
942
943 * debug.scm: *Warning* This feature is a bit premature. I add
944 it anyway because 1. it is very useful, and, 2. you can start
945 making it less premature by complaining to me and by modifying
946 the source! :-)
947 (trace): Given one or more procedure objects, trace each one.
948 Given no arguments, show all traced procedures.
949 (untrace): Given one or more procedure objects, untrace each one.
950 Given no arguments, untrace all traced procedures. The tracing in
951 Guile have an advantage to most other systems: We don't create new
952 procedure objects, but mark the procedure objects themselves.
953 This means that also anonymous and internal procedures can be
954 traced.
955
956 * boot-9.scm (error-catching-loop): Added handling of apply-frame
957 and exit-frame exceptions.
958
959 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
960 (set-repl-prompt!): Setter for repl prompt.
961 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
962 string, display it; if prompt is a thunk, call it and display its
963 result; otherwise display "> ".
964 (Change suggested by Roland Orre <orre@nada.kth.se>.)
965
966 * r4rs.scm (%load-verbosely): Reverted change to
967 `module-defined?', since the module system isn't bootstrapped when
968 we load r4rs.scm. This is just a temporary fix to make the
969 repository version runnable.
970
971 Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
972
973 * boot-9.scm: Removed the enabling of debug evaluator and
974 recording of source code positions. This was placed there for our
975 convenience, but it has already sneaked into the distribution
976 once... so we'd better add this in our local copies instead when
977 we need it. (These options are normally enabled at the end of
978 boot-9.scm when loading the debug module.)
979
980 Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
981
982 * boot-9.scm (module-defined?): New function.
983 (macroexpand-1, macroexpand): Use local-ref instead of defined?
984 and eval.
985 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
986 "defined?".
987 * slib.scm (defined?): New function to take the place of the
988 builtin "defined?". It allways examines the slib module.
989
990 Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
991
992 * configure.in: Added AM_MAINTAINER_MODE
993
994 Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
995
996 * boot-9.scm (read-sharp): define directly, don't go through a
997 %read-sharp layer.
998
999 Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
1000
1001 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
1002 uniform-vector-set1! which doesn't exist.
1003
1004 Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
1005
1006 * boot-9.scm (backtrace): Removed. (A C version now exists in
1007 backtrace.c.)
1008
1009 Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
1010
1011 * boot-9.scm (read-line!, read-delimited!, read-delimited,
1012 read-line): new procedures, see libguile/ChangeLog.
1013
1014 Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
1015
1016 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
1017
1018 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
1019 init-dynamic-module, dynamic-maybe-call,
1020 find-and-link-dynamic-module, link-dynamic-module,
1021 try-module-dynamic-link, registered-modules): New definitions for
1022 dynamic linking of modules.
1023 (resolve-module): Try to dynamically link the requested module
1024 after failing to load it as Scheme code.
1025
1026 Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
1027
1028 * boot-9.scm (getservbyport, getservbyname): remove stray %.
1029
1030 Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
1031
1032 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
1033 that's what it is.
1034
1035 * lineio.scm (make-line-buffering-input-port): Properly test for
1036 the case of an empty buffer list. The old code assumed that '()
1037 was false.
1038
1039 Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
1040
1041 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
1042 (use-modules <module name> ...) Put the the modules named by
1043 <module name> ... on the use list of the current module.
1044
1045 Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
1046
1047 * boot-9.scm (error-catching-loop): Remove message saying that
1048 typing "$" will put you in the debugger. This isn't implemented
1049 yet.
1050
1051 Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
1052
1053 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
1054 been fixed, so this function is superfluous.
1055 (transform-usage-lambda): Use delq!, not delq-all!.
1056
1057 Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
1058
1059 * boot-9.scm (resolve-module): New optional parameter that
1060 controls whether autoloading is attempted or not. Default is #t.
1061 (process-define-module): Don't autoload the defined module.
1062 (try-module-autoload): Don't autoload the directory modules.
1063
1064 * boot-9.scm (process-define-module): Ensure that the-scm-module
1065 is last in the `uses' list to allow shadowing builtin
1066 bindings. All :use-module options are added in the order they
1067 appear in the arguments but before anything already on the list
1068 (such as the-scm-module).
1069
1070 Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
1071
1072 * slib.scm (slib-parent-dir): throw error if #f returned from
1073 %search-load-path.
1074
1075 Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
1076
1077 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
1078 * Makefile.am, aclocal.m4: New files.
1079 * configure.in: Updated for Automake.
1080
1081 Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
1082
1083 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
1084 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
1085 function, use it accordingly.
1086
1087 Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
1088
1089 It's an "eval closure", not an "eval thunk." A thunk is a
1090 function of no arguments.
1091 * boot-9.scm (module-type): Rename module field.
1092 (make-module, eval-in-module, make-root-module,
1093 set-current-module): Uses changed.
1094 (module-eval-closure, set-module-eval-closure!,
1095 root-module-closure): Renamed from module-eval-thunk,
1096 set-module-eval-thunk!, root-module-thunk.
1097 (set-current-module): Change uses of *top-level-lookup-thunk* to
1098 *top-level-eval-closure*.
1099
1100 Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
1101
1102 * slib.scm (slib-parent-dir): Use string-length, not length.
1103 (Thanks to Bernard Urban.)
1104
1105 Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1106
1107 * boot-9.scm: The debugging evaluator and recording of positions
1108 aren't enabled by default any longer (they are switched on in
1109 debug.scm). But during development we want to have them also
1110 *inside* boot-9.scm. Therefore, two lines are added at the
1111 beginning of boot-9.scm to enable these.
1112
1113 Call `provide' so that `records' are included among the
1114 `*features*'.
1115
1116 The scheme for saving the stack has been adjusted: save-stack is
1117 now commonly available for saving the stack. Calling `save-stack'
1118 sets a flag `stack-saved?' which prevents overwriting the stack.
1119 `stack-saved?' is reset at `abort'.
1120
1121 Spelling correction: seperate --> separate.
1122
1123 Removed `:'s that had creeped into some comments.
1124
1125 The repl now doesn't print #<unspecified> results any longer
1126 If the user wants to see this, he can do
1127 (assert-repl-print-unspecified #t) in his startup file.
1128
1129 The user now gets a friendly message instead of a backtrace at
1130 error.
1131
1132 Added `before-read-hook'.
1133
1134 Load module (ice-9 emacs) if option `-e' was specified.
1135
1136 (provide): New function.
1137
1138 (error): Save stack at entry, so that Guile entrails won't show up
1139 in backtraces.
1140
1141 (backtrace): New function.
1142
1143 (save-stack): Can now take arbitrary number of stack narrowing
1144 specifier pairs. The first specifier in a pair controls inner
1145 border, the second the outer border. A number means cut that
1146 number of frames, a procedure object means cut until that object
1147 is found in operator position in a frame.
1148
1149 * debug.scm: Enable debugging evaluator and recording of positions
1150 by default.
1151
1152 * slib.scm (slib:load): Adapt to the new behavior of
1153 primitive-load: It doesn't any longer try both with and without
1154 ".scm" extension. (We don't want to use %search-load-path here.)
1155
1156 (implementation-vicinity): New function. slib requires it
1157
1158 (library-vicinity): Updated.
1159
1160 Load "require.scm" in the library-vicinity.
1161
1162 (install-require-vicinity, install-require-module): New functions.
1163
1164 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
1165
1166 * boot-9.scm (load-from-path): New function.
1167
1168 * boot-9.scm (try-load, basic-try-load, try-load-module,
1169 try-load): Deleted. I don't think they're being used.
1170
1171 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
1172 so they'll get distributed.
1173
1174 Get Guile to be a little less chatty by default. The new user
1175 should see as little clutter as possible.
1176 * r4rs.scm (%load-verbosely): Make this #f by default.
1177 * boot-9.scm (scm-repl-verbose): Make this #f by default.
1178 (scm-style-repl): Don't run 'pk' on the value passed to quit.
1179
1180 * r4rs.scm: New file.
1181 * boot-9.scm: Load r4rs.scm, first thing.
1182 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
1183 open-output-file, open-io-file, close-input-port,
1184 close-output-port, close-io-port, call-with-input-file,
1185 call-with-output-file, with-input-from-port, with-output-to-port,
1186 with-error-to-port, with-input-from-file, with-output-to-file,
1187 with-error-to-file, with-input-from-string, with-output-to-string,
1188 with-error-to-string, the-eof-object): Definitions moved to
1189 r4rs.scm. Not all of them are R4RS, but those that are use those
1190 that are not.
1191 (load, %load-verbosely, %load-announce): Moved, along with code to
1192 set %load-hook, to r4rs.scm.
1193
1194 * test.scm: New file.
1195
1196 * boot-9.scm (integer?): Definition deleted, in favor of the one
1197 present in libguile (which used to be called int?). I have no
1198 idea why integer? didn't just call int? to begin with.
1199
1200 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
1201 =?, >?, and >=? deleted; they're defined that way by libguile now.
1202
1203 * boot-9.scm (load): Simplified; primitive-load does most of this
1204 work now.
1205 (%load-announce-win): Removed; no longer used. Set %load-hook to
1206 call %load-announce.
1207
1208 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
1209
1210 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
1211 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
1212 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
1213 components.
1214 (file-is-directory?): use stat:type.
1215
1216 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
1217
1218 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
1219 that's now taken care of in libguile, and in a way compatible with
1220 SCSH (which this isn't).
1221
1222 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
1223
1224 * boot-9.scm: Formatting tweaks.
1225
1226 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1227
1228 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
1229 after-error-hook, before-backtrace-hook and after-backtrace-hook
1230 to the error handler. E.g.: fancy emacs support could plug into
1231 these.
1232 (save-stack): New function. The stack is now made differently
1233 depending on the stack id. (The motivation is to make a better
1234 choice regarding what stack frames to present to the user.)
1235 (error-catching-loop): Stack handling code moved outside into
1236 save-stack.
1237
1238 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
1239
1240 * Makefile.in (scm_files): add expect.scm.
1241
1242 * expect.scm: new file ported from guile-iii.
1243
1244 * boot-9.scm: remove handle-system-error, after moving the code into
1245 error-catching-loop.
1246 Don't set 'throw-handler-default property on error keys.
1247 Just interpret (almost) any throw with 4 args as an error throw.
1248 Delete some try-load stuff that was already commented out.
1249
1250 Second thoughts, keep handle-system-error but call it from
1251 error-catching-loop.
1252
1253 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
1254
1255 * boot-9.scm: Doc fixes.
1256 (make-module): Rework for readability.
1257 (make-root-module, make-scm-module): USES argument to make-module
1258 should be '(), not #f.
1259
1260 * boot-9.scm (try-load): %sys-load-path has been renamed to
1261 primitive-load-path; adjust call here.
1262
1263 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1264
1265 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
1266 the stack to the correct place: when it is decided to generate an
1267 error-signal.
1268
1269 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1270
1271 * boot-9.scm (error-catching-loop, signal-handler,
1272 handle-system-error): Backtracing now works for signals aswell;
1273 Backtracing mechanism can now identify the stack root created by
1274 start-stack so that the user isn't exposed to system stack frames.
1275
1276 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1277
1278 * Makefile.in: Added threads.scm.
1279
1280 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1281
1282 * debug.scm (make-enable, make-disable): Simplified.
1283
1284 * boot-9.scm: Renamed %%throw-handler-default -->
1285 throw-handler-default.
1286 ((handle-system-error key . arg-list)): Changed the way errors are
1287 reported.
1288 ((scm-style-repl)): Wrap up the call to eval in a start-stack
1289 acro.
1290 ((error-catching-loop thunk)): Introduce a lazy-catch into
1291 error-catching-loop so that the stack can be captured.
1292
1293 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
1294
1295 * mapping.scm (hash-table-mapping): Explicitly request that
1296 make-vector fill new vectors with '(); this will make it easier to
1297 port Guile Scheme code to other Schemes.
1298 * boot-9.scm (make-print-style, make-print-table): Same.
1299
1300 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
1301
1302 * boot-9.scm (load): rewritten again.
1303 Append "." to the default %load-path.
1304 (feature?): new function: checks for a symbol in the features list.
1305 (module-local-variable): remove apparently useless (caddr (list m v
1306 ...))
1307 (%load-announce): minor formatting change.
1308 (file-exists?): use access? if posix is featured.
1309 (file-is-directory?): use stat if i/o-extensions is featured.
1310 (try-module-autoload module-name): use file-exists? before
1311 file-is-directory?
1312
1313 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
1314
1315 * boot-9.scm: Added conditional loading of threads.scm.
1316
1317 * threads.scm: New file. Modified from the Cygnus-r0.3
1318 distribution.
1319
1320 * boot-9.scm (error-catching-loop): Added handling of key
1321 `switch-repl'.
1322
1323 * boot-9.scm: Name change %%bad-throw --> bad-throw.
1324
1325 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
1326
1327 * boot-9.scm (make-record-type, record-constructor): Don't assume
1328 the empty list is false when parsing the argument list.
1329
1330 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
1331
1332 * boot-9.scm (signal-handler): Clean up logic.
1333
1334 * boot-9.scm (load): Assume %load-path is always bound.
1335
1336 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
1337
1338 * boot-9.scm (error): replace another throw with scm-error. Throw
1339 to 'misc-error instead of 'error (no need to distinguish these.)
1340 Don't set up 'error as a key.
1341 Set up regex-error as a key, if regex is available.
1342 (signal-handler): use scm-error, not throw.
1343
1344 (%try-load, try-load-with-path, %load, load-with-path,
1345 basic-try-load-with-path, basic-load-with-path,
1346 try-load-module-with-path,load-module-with-path): deleted, since
1347 they seem redundant.
1348 (try-load): define using %try-load, not try-load-with-path.
1349 (load): rewritten. load tries to open the file directly and
1350 with a .scm extension before searching the library directories
1351 (should "." be added to %load-path? then load could still open
1352 directly files starting with "/").
1353 (try-module-autoload): use load, not load-with-path.
1354 (%load-indent): deleted, -2 was causing errors.
1355
1356 (%read-sharp): use port-line, not line-number.
1357
1358 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
1359
1360 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
1361 straightforward to provide the equivalent functionality using
1362 (catch #t ...), so there's no need for the extra complexity. 2)
1363 Outside the context of a read-eval-print loop (which Guile should
1364 not require) it's not clear we should do anything more complicated
1365 than print an error and exit; the user or REPL can establish
1366 something better if it wants. 3) In that case, it's much more
1367 robust to just do it in the C code.
1368
1369 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
1370
1371 * boot-9.scm (%try-load): define using primitive-load. Previously
1372 %try-load itself was the primitive.
1373 (load-with-path): use scm-error instead of %load-announce-lossage.
1374 Errors are thrown to 'misc-error instead of 'could-not-load.
1375 (%load-announce-lossage): deleted.
1376
1377 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
1378
1379 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
1380 (make-record-type type-name fields): Temporarily remove support
1381 for printing of records (not possible yet with C printer).
1382
1383 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
1384
1385 * boot-9.scm (file-exists?, file-is-directory): catch only
1386 system-error, not every kind of error.
1387 (scm-error): new procedure.
1388
1389 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
1390
1391 * boot-9.scm: Formatting tweaks.
1392
1393 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
1394
1395 * boot-9.scm (%%handle-system-error key): remove the code for
1396 SCM-style errors. handle the case that an unexpected number
1397 of args are supplied.
1398 (%%system-errors): removed.
1399 (error): redefine using a throw with key and 4 args.
1400 ('error): associate 'error, 'error-signal keys with
1401 %%handle-system-error.
1402 (%%default-error-handler): removed.
1403 (signal-handler): throw with 4 args and use the error-signal key.
1404 Create an error message instead of using numerical codes.
1405 (%%bad-throw): call error instead of throw if key not found.
1406
1407 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
1408
1409 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
1410 (%%handle-system-error key): check subr is not #f before printing.
1411 Recognize %s (embed an argument using "display") and
1412 %S (embed an argument using "write").
1413
1414 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
1415
1416 * boot-9.scm (%%handle-system-error key): set args and rest to
1417 the empty list if they are #f.
1418 Initialize out-of-range as an error key.
1419
1420 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
1421
1422 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
1423
1424 * boot-9.scm: remove leading %% from references to '%%system-error.
1425 (%%handle-system-error): don't pass all the thrown arguments when
1426 aborting, just the key and subr.
1427 Remove the code to "Install default handlers for built-in errors."
1428 Remove the definition of the syserror procedure.
1429 Associate 'numerical-overflow with default handler.
1430
1431 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1432
1433 * boot-9.scm: Name change: value-ref --> local-ref
1434 resolved-ref --> nested-ref Motivation: conformance to the other
1435 dictionary operators: list-ref operates on list, vector-ref
1436 operates on vector, nested-ref operates on nested namespace,
1437 local-ref operates on the local nested namespace.
1438
1439 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
1440
1441 * boot-9.scm (%%handle-system-error): recognise errors thrown
1442 by lgh-error (fill-message etc.)
1443 (fill-message): check first whether args is null.
1444 (fill-message): bug fix and check that args is a list.
1445
1446 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
1447
1448 * boot-9.scm: %load-path is initialized in C code now.
1449 (implementation-vicinity, parse-path): Deleted, along with code to
1450 initialize %load-path.
1451
1452 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
1453 "/", use one to separate it from the file.
1454
1455 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
1456
1457 * boot-9.scm (%load-path): Add the site directory.
1458 Add the directory named after the version number.
1459 Prepend the version number to the other directories in the path.
1460 Simplify by mapping the common prefix onto each item.
1461 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
1462 sitedatadir): New definitions.
1463 (libparent, libdir, install_path): Replaced by above.
1464 (install): Create the above directories.
1465 Put the source files into subpkgdatadir.
1466 (uninstall): Remove the above directories.
1467
1468 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
1469
1470 Don't use the PLUGIN system to gather information for the
1471 Makefile's distribution and installation targets; just put it all
1472 in the Makefile directly.
1473 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
1474 for these.
1475 * configure.in: Remove code that gets and substitutes scm_files and
1476 aux_files.
1477 * Makefile.in (scm_files, aux_files): Write out the list of files
1478 here, where people expect to find them.
1479
1480 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1481
1482 * boot-9.scm: Preliminary solution: optionally load the debug
1483 module. Changed "gls" to "guile1.0b3".
1484
1485 * debug.scm: New file: debug extensions.
1486
1487 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1488
1489 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
1490 weak-key-hash-table?. (Again!)
1491
1492 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1493
1494 * boot-9.scm (print-vector, macro-table, xformer-table):
1495 Renamed weak-hash-table --> weak-key-hash-table.
1496
1497 * poe.scm (funcq-memo): Renamed weak-hash-table -->
1498 weak-key-hash-table.
1499
1500 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
1501
1502 * boot-9.scm (*null-device*): global constant from goonix.
1503 (move->fdes): adjusted for boolean primitive-move->fdes. return
1504 the modified port, always set revealed count to 1 (SCSH compatible).
1505 (release-port-handle port): from goonix (SCSH compatible).
1506 (%open-file): removed.
1507 (open-input-file, open-output-file, file-exists?, file-is-directory?):
1508 modified for open-file change (does not return #f).
1509
1510 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
1511
1512 * Makefile.in (dist-dir): New target for new dist system.
1513 (manifest): Deleted.
1514 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
1515 directory, and needs special treatment in the dist-dir target.
1516
1517 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
1518
1519 * boot-9.scm: remove the wrappers for '%' system primitives,
1520 now that they throw errors directly.
1521 remove make-simple-wrapper and similar functions.
1522 protect a call to getenv which may now throw an exception.
1523
1524 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
1525
1526 * boot-9.scm (false-if-exception): new macro.
1527
1528 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
1529
1530 * The more things change...
1531
1532