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