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