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