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