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