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