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