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