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