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