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