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