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