* debugger.scm ("p"): New alias for "evaluate";
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
bbfba545
JB
11999-09-16 Jim Blandy <jimb@savonarola.red-bean.com>
2
3 * regex.scm (regexp-substitute/global): Handle the end of the
4 match list and an empty match list identically. (Thanks to Greg
5 Badros.)
6
5eb548fc
MD
71999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
8
9 * debugger.scm ("evaluate"): Replaced `write-line' with calls to
10 `write' and `newline' since write-line doesn't write but displays.
11
69fafe46
MD
121999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
13
0fdcbcaa
MD
14 * debugger.scm ("evaluate"): Newline after no env announcement.
15
30772a34 16 * debug.scm, emacs.scm: Updated copyright notices.
03ce8ed1
MD
17
18 * boot-9.scm (make-autoload-interface): Bugfix.
19 (top-repl): Autoload debugger.
20
69fafe46
MD
21 * debugger.scm ("backtrace"): Don't pass length param to
22 display-backtrace if it wasn't explicitly given by the user.
23 (write-frame-long/application): Also print corresponding source
24 expression.
25 ("evaluate"): Evaluate in local environment frame, if existent;
26 Handle errors.
27
b142c81d
JB
281999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
29
30 * format.scm (format:format-work): Use #\tab and #\page instead of
31 slib:form-feed and slib:tab. (Thanks to Ceri Storey.)
32
33 * format.scm (format:abort): Call error, not slib:error.
34
f14d3ff8
MD
351999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
36
0fdcbcaa 37 * boot-9.scm (using-readline?): New procedure: Returns #t if
f14d3ff8
MD
38 readline is used by the repl run by this thread.
39 (handle-system-error): Print "Backtrace:" before backtrace since
40 this is no longer done by display-backtrace.
41
42 * debug.scm (frame-number->index): Optionally take stack as
43 argument.
44
45 * debugger.scm: Use the frame number abstraction which allows for
46 both forward and backward views of the stack
47 (write-frame-index-short, write-frame-index-long):
48 Use selector `frame-number';
49 (select-frame-absolute): Use frame-number->index.
50 ("backtrace"): Use builtin backtrace printing.
51 Use (ice-9 debug).
52 Use readline conditionally.
53
50ff2ecb
JB
541999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
55
56 * regex.scm (fold-matches, list-matches): New functions.
57 (regexp-substitute/global): Rewritten again in terms of
58 list-matches, to get null match behavior correct.
59
60 * regex.scm (regexp-substitute/global): Rewrite so that 'post at
61 the end of the item list actually causes a tail call. (Thanks to
62 Jan Nieuwenhuizen.)
63
98baa684
MV
641999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
65
66 * readline.scm: Moved to ../guile-readline.
67
50ff2ecb 68 * boot-9.scm (top-repl): Removed code for activating readline.
98baa684
MV
69
70 * Makefile.am: Removed mention of readline.scm.
71
72 * Makefile.in: Regenerated.
73
e1f20ec6
JB
741999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
75
76 Delete the test which compares the configuration date of libguile
77 with the configuration date of ice-9. This test yields too many
78 false positives to be helpful. For example, if you build Guile
79 for several architectures but have them all share a "share"
80 directory (which is supposed to work), then all but one
81 architecture's Guile will complain that the configuration dates
82 don't match. Which is true, but indicates nothing wrong.
83 * boot-9.scm: Delete code which compares ice-9-config-stamp with
84 libguile-config-stamp.
85 * version.scm.in: Delete.
86 * Makefile.am (ice9_generated): Delete.
87 (subpkgdata_DATA): Remove ice9_generated.
88 (EXTRA_DIST): Remove version.scm.in.
89 * Makefile.in: Regenerate.
90
d61d2039
MD
911999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
92
0fdcbcaa 93 * debugger.scm: New file: Initial version of the Guile debugger
d61d2039
MD
94 written by Chris Hanson. (The debugger isn't finished, but is
95 included in Guile anyway since it is already quite useful.)
96
0fdcbcaa 97 * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9
d61d2039
MD
98 session) (ice-9 threads) (ice-9 regex) from guile-user only if
99 top-repl is called. This makes startup time for scripts 30% of
100 what it was before... Removed redundant code for loading of
101 readline.
102
103 * Makefile.am (ice9_sources): Added debugger.scm.
104
a48a7629
MD
1051999-08-29 Keisuke Nishida <kxn30@po.cwru.edu>
106
107 * boot-9.scm (try-module-autoload): Use %search-load-path.
108
6822fe53
MD
1091999-08-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
110
111 * boot-9.scm: Removed old style hooks.
112 (inherit-print-state): Rwwritten to use port-with-print-state.
113
f8c9d497
JB
1141999-08-20 James Blandy <jimb@mule.m17n.org>
115
116 Remove support for the #/ path list syntax entirely.
117 * boot-9.scm (read-path-list-notation,
118 read-path-list-notation-warning): Deleted.
119 Don't register read-path-list-notation-warning as a reader for
120 objects starting with '#/'.
121
eba96884
MD
1221999-08-05 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
123
124 GOOPS needs the observer protocol specified for the new module
125 system. Here's a simple version for the old module system:
126 * boot-9.scm (module-observers, module-weak-observers,
127 module-observer-id, set-module-observers!,
128 set-module-observer-id!): New accessors.
129 (module-type): Added slots `observers', `weak-observers' and
130 `observer-id'.
131 (module-observe, module-observe-weak, module-unobserve,
1a961d7e 132 module-modified): New procedures.
eba96884 133 (module-make-local-var!, module-add!, module-remove!,
1a961d7e 134 module-clear!, module-define!, module-use!): Call module-modified.
eba96884 135
2a52b429
MD
1361999-07-29 Marius Vollmer <mvo@zagadka.ping.de>
137
138 * boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
139 defines.
140
a3bb43e5
JB
1411999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
142
59526439
JB
143 * streams.scm: New module, contributed by Michael Livshin.
144 * Makefile.am (ice9_sources): List it.
145 * Makefile.in: Regenerated.
146
a3bb43e5
JB
147 * boot-9.scm (read-delimited!): Put the terminator in the correct
148 position.
149
40ed3fe6
MD
1501999-06-29 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
151
152 * readline.scm: Bugfix: Avoid getting the continued-lines prompt
153 at multiple calls to read.
154 (promtp2): Variable for continued-lines prompt.
155 (make-readline-port): Use prompt2.
156 (set-readline-prompt!): New optional arg which sets
157 continued-lines prompt.
158
159 * boot-9.scm (top-repl): Set/clear readline prompts before/after
160 reading expressions.
161
d21ffe26
JB
1621999-06-18 Jim Blandy <jimb@savonarola.red-bean.com>
163
164 * ls.scm (ls, lls): Handle no arguments as meaning to look in
165 `(current-module)'. (Patch from Thien-Thi Nguyen.)
166
8044bbc8
JB
1671999-06-14 Jim Blandy <jimb@savonarola.red-bean.com>
168
169 * string-fun.scm (split-before-predicate, split-after-predicate,
170 split-discarding-predicate): Make these public. (Thanks to
171 Thien-Thi Nguyen.)
172
173 1999-06-13 Gary Houston <ghouston@easynet.co.uk>
174
175 * more changes to expect.scm, to avoid the one-character lookhead
176 that was introduced to fix the $ problem:
177
178 * expect.scm (expect): call the match proc an extra time at end
179 of file and set the eof? argument appropriately. call
180 expect-eof-proc only if the last call didn't match.
181 * expect.scm (expect-strings): change port to eof? in match proc.
182 * expect.scm (expect-regexec): take an eof indicator as an argument
183 instead of a port.
184
027ffa31 1851999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
aad827f4
JB
186
187 * Makefile.am (ice9_sources): Add popen.scm to list.
188 * Makefile.in: Regenerated.
189
8ed3c2fb
JB
190 Fixes for expect from Gary Houston <ghouston@easynet.co.uk>:
191
192 * expect.scm (expect-regexec): define 'eof-next?'. I don't
193 know why it was missing. also don't peek for end of lines
027ffa31 194 unless expect-strings-exec-flags contains regexp/noteol.
8ed3c2fb
JB
195 (expect-strings-exec-flags): initialise to regexp/noteol.
196
aad827f4
JB
197 Gary Houston's open-buffer port patches:
198
199 1999-04-01 Gary Houston <ghouston@easynet.co.uk>
200
201 * popen.scm: applied fixes from Greg Harvey. use a guardian
202 and a gc-thunk so that cleanup is done if a pipe is garbage
203 collected or closed with close-port. use a weak hash-table instead of
204 an alist.
205
206 1999-03-20 Gary Houston <ghouston@easynet.co.uk>
207
ad226f25 208 * expect.scm (expect): call the match proc with the port instead.
aad827f4
JB
209 (expect-strings): use peek-char to get the next char. this has
210 the advantage of getting the handling of $ "correct", but the
211 disadvantage of needing to get (and maybe block for) an extra character
212 from the port when it may not be needed. hence:
ad226f25 213 (expect-strings-exec-flags): new variable/parameter, supplies
027ffa31 214 flags for regexp-exec. if this includes regexp/noteol, then
aad827f4
JB
215 automatic regexp/noteol handling (requiring an extra peeked char)
216 is enabled. default is regexp/noteol.
027ffa31
JB
217 (expect-strings-compile-flags): new variable/parameter, supplies
218 flags for make-regexp. default is regexp/newline.
aad827f4
JB
219
220 1999-03-15 Gary Houston <ghouston@easynet.co.uk>
221
ad226f25 222 * expect.scm (expect): call the match proc with an extra char,
aad827f4
JB
223 peeked from the stream.
224 (expect-strings): build a match proc which takes the extra char.
225 (expect-regexec): take an extra arg "eof-next?" and use it
226 to decide whether the regexp/noteol flag should be added.
227
228 1999-02-26 Gary Houston <ghouston@easynet.co.uk>
229
230 * boot-9.scm (top-repl): don't flush all ports at exit.
231 (error-catching-loop): likewise.
232
233 1998-12-23 Gary Houston <ghouston@easynet.co.uk>
234
235 * boot-9.scm (scm-style-repl): -read: don't call
236 consume-trailing-whitespace if val is eof object. Allows
237 exiting repl with single control-D.
238
239 1998-12-06 Gary Houston <ghouston@easynet.co.uk>
240
241 * boot-9.scm (error-catching-loop): don't force output within
242 error catching loop after quit received.
243 (top-repl): flush all ports when the repl terminates.
244
245 * boot-9.scm (error-catching-loop): flush all ports before
246 primitive exit if non-interactive.
247 force-output on current-error-port if interactive.
248
249 * boot-9.scm (reopen-file): deleted.
250 * popen.scm (open-output-pipe, open-input-pipe): moved from
251 boot-9.scm.
252 * popen.scm: new file.
253
15631a33
MD
2541999-06-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
255
256 * boot-9.scm (iota): replaced by a tail recursive version.
027ffa31 257 (reverse-iota): removed.
15631a33 258
8d8fc9da
MD
2591999-06-03 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
260
261 * optargs.scm (lambda*): Bugfix: Replaced ARGLIST -->
262 non-optional-args. (Thanks to David Lutterkort.)
263
027ffa31 2641999-05-09 Jim Blandy <jimb@savonarola.red-bean.com>
7c1ce4ee
JB
265
266 * string-case.scm: Removed; functions moved to libguile/strop.c
267 (which could be dynamically linked in the future anyway).
e7d37b0a
JB
268 * Makefile.am (ice9_sources): Don't list string-case.scm.
269 * Makefile.in: Regenerated.
7c1ce4ee
JB
270 * format.scm: Don't bother importing (ice-9 string-case).
271
027ffa31 2721999-05-02 Jim Blandy <jimb@savonarola.red-bean.com>
b7e13f65
JB
273
274 * boot-9.scm (provided?): New function.
275
276 * Makefile.am: Add string-case.scm and format.scm to ice9_sources.
277 * Makefile.in: Regenerated.
278
279 * string-case.scm: New file, brought in from SLIB, and adapted to
280 Guile's module system.
281
282 * format.scm: New file, brought in from SLIB, with the following
283 changes:
284 (format:format): If the first argument is the format string, stick
285 a #f on the front of it, so it is now a valid CL format argument
286 list. This is easier than changing everyplace else (like the
287 error formatter) that expects it to be in CL form. The other
288 clause which explicitly tests for this case is now dead code.
289 (format:format-work): Allow `@' and `:' in either order, as per
290 modern CL behavior.
291 (format:num->cardinal): Don't assume that an elseless if returns
292 '() when the condition is false.
293
027ffa31 2941999-04-17 Jim Blandy <jimb@savonarola.red-bean.com>
cceae55d
JB
295
296 * Makefile.in: Regenerated.
297
d2b8d4ff
MD
2981999-04-08 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
299
300 * boot-9.scm: Provide 'values.
301
b6e17c63
MD
3021999-03-21 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
303
304 * boot-9.scm (process-define-module, use-syntax): Bugfix:
305 :use-syntax should add syntax to using module, not current module.
306 (internal-use-syntax): Removed.
307
e059c0b7
MD
3081999-03-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
309
310 * session.scm (apropos-internal): Modified to comply with new
311 argument order for hash-fold.
312
275b2a7e
MD
3131999-03-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
314
027ffa31 315 * boot-9.scm (try-load-module): New procedure. Broken out from
275b2a7e
MD
316 resolve-module.
317 (resolve-module): Bugfix: Make it possible for a module at a
318 deeper level (x y z) to depend on a module on a higher (x y).
33f8ad2b
MD
319
320 This also has the desired side-effect that multiple attempts to
321 load a module (e.g. with `use-modules') work until source is
322 actually found for the module (e.g. because the correct catalog
323 has been added to the load path).
324
275b2a7e
MD
325 Use try-load-module.
326
deea77eb
MD
3271999-03-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
328
329 * session.scm (system-module): New procedure. Used to switch a
330 module between system and user state.
331
2251c7a4
MD
3321999-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
333
334 * session.scm (apropos-internal): Rewritten using hash-fold.
335
336 * emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
337 definition.
338
6ee350ad
MD
3391999-03-14 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
340
341 * boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to
342 associate a name to the record type descriptor so that the object
343 system can create a wrapper class for it.
344
88124126
MD
3451999-03-12 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
346
347 Improvement of backtraces: Introduces a new stack narrowing
348 specifier, #t, for the inner cut. If the inner cut is specified
349 by #t, `make-stack' will throw away inner stack frames (most
350 recent calls on call chain) up to but excluding the first user
351 stack frame encountered.
352
353 This specifier is now used in `save-stack' so that the call
354 `(save-stack)' will get the new behaviour. [It is recommended that
355 any error reporting functions written by the user have this call
356 on the outermost expression level (i.e. as a member of the lambda
357 list).]
358
359 Modules are partitioned into "user" and "system" modules. [I know
360 that some names used here are silly, but I don't have more time to
361 spend on a better solution, especially considering that the module
362 system will be replaced. But if people have better ideas, then
363 please tell me!]
364
365 System modules are created by adding :no-backtrace among the
366 define-module switches:
367
368 (define-module (foo)
369 :no-backtrace)
370
371 Modules which doesn't have the :no-backtrace specifier are user
372 modules.
373
374 A stack frame is classified as a user frame if it has source code
375 associated with it and if this source code can be proven to come
376 from a user module. If it can be proven to come from a system
377 module it is a system frame.
378
379 Frames which can't be classified, e.g. application frames, are cut
380 away if they occur between system frames, but are left on the
381 stack if they occur between the last system frame and the first
027ffa31 382 user frame encountered. (Note that the first user frame
88124126
MD
383 encountered is the last user code being evaluated!)
384
385 In some cases the system part of the call chain is introduced by
386 frames which should but can't be proven to be system frames. The
387 following workaround has been implemented: The cutting proceeds
388 over application frames where the operator is marked by the
389 `system-procedure' property. (This has been used to cut away
390 generic function dispatch code in the object system.)
391
392 * boot-9.scm (set-system-module!): New procedure: Set system/user
393 status of a module.;
394 Mark `the-root-module' and `the-scm-module' as system modules.
395 (process-define-module): Add new keyword :no-backtrace.
396
397 * boot-9.scm (environment-module): Bugfixed.
398 (set-module-eval-closure!): Add a pointer back from the eval
399 closure to the module.
400
401 * emacs.scm (emacs-load): Reset port filename after transfer.
402
41f50369
MD
4031999-03-03 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
404
405 * slib.scm (make-random-state): Added for compatibility.
406
fcdd6672
MS
4071999-02-16 Maciej Stachowiak <mstachow@alum.mit.edu>
408
409 * optargs.scm (lambda*): Handle empty argument lists properly.
410
027ffa31 4111999-02-15 Jim Blandy <jimb@savonarola.red-bean.com>
8d21a2ff
JB
412
413 Fix from Russ McManus:
414 * getopt-long.scm (parse-option-spec): Store 'optional as the
415 value-required? field for options that take optional values.
416 (process-short-option): Grab a value for the option when it takes
417 either an optional or required value.
418
027ffa31 4191999-02-12 Jim Blandy <jimb@savonarola.red-bean.com>
deaceb4e
JB
420
421 * getopt-long.scm: Remove debugging calls to `pk'.
422
4ca48ad4
JB
423 * getopt-long.scm: Return list of ordinary arguments as the value
424 of the '() key, not `rest'.
425
deaceb4e
JB
426 A new argument-processing package from Russ McManus.
427 * getopt-long.scm: New file.
428 * Makefile.am (ice9_sources): Added getopt-long.scm.
429 * Makefile.in: Regenerated.
430
08394899
MS
4311999-02-09 Maciej Stachowiak <mstachow@alum.mit.edu>
432
433 * optargs.scm: New file.
434 * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in
027ffa31 435 not regenerated because I don't have the right version of Automake.
deaceb4e 436
027ffa31 4371999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
2e132553
JB
438
439 * and-let*.scm: New file, from Michael Livshin.
440 * Makefile.am (ice9_sources): Add and-let* here.
441 * Makefile.in: Regenerated.
442
65a5dccb
MD
4431999-01-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
444
445 * slib.scm (install-require-module): Fixed the kludge which loads
446 the slib catalog: Doesn't anylonger assume that the feature tested
447 for isn't loaded.
448
027ffa31 4491998-12-14 Jim Blandy <jimb@zwingli.cygnus.com>
333a4791
JB
450
451 * Makefile.in: Regenerated.
452
45a02a29
MD
4531998-12-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
454
455 * boot-9.scm (process-define-module): Reverted the change of
456 1998-11-23 which caused loading of object code if :use-module was
457 applied to the module itself.
458
e7b6c834
MD
4591998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
460
461 * Makefile.am: Removed setf.scm.
462
027ffa31 463 * setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
e7b6c834
MD
464 (These shortcomings were my fault.)
465
bf3c93d1
MD
4661998-12-10 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
467
9705d5c2 468 * boot-9.scm (environment-module): New procedure.
bf3c93d1 469
bc9a9137
MD
4701998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
471
472 * Makefile.am: Added setf.scm.
473
4741998-12-05 Christian Lynbech <chl@tbit.dk>
475
476 * setf.scm: New file. Adds the new forms `setf!' and `setter'
477 which implements generalized references a la Common LISP.
478
71225060
MD
4791998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
480
481 * boot-9.scm (process-define-module): Added new specifier
482 :autoload MODULENAME BINDINGS to the define-module form.
483 The autoload specifier tells the module system to load the module
484 MODULENAME at the first occasion that any variable with its name
485 among BINDINGS is referenced.
486 (make-autoload-interface): New procedure: Constructs a stand-in
487 for the public interface for the module to be autoloaded.
488
3b3085c6
MD
4891998-12-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
490
491 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
492 if you don't want the old style hook warnings.
493
49e5d550
MD
4941998-12-01 Christian Lynbech <chl@tbit.dk>
495
496 * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
497 sure that it isn't empty, as it is when we are only buidling
498 static libraries.
499
afae5cbd
MD
5001998-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
501
502 * session.scm (arity): New procedure.
503
3763ac3c
MD
5041998-11-26 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
505
506 * boot-9.scm: Use run-hook instead of run-hooks everywhere.
507
7a79c6b4
MD
5081998-11-26 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
509
510 * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary
511 code for backward compatibility until people have had time to
512 adapt to the new hooks.
513
a56eeb46
MD
5141998-11-23 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
515
516 * boot-9.scm (beautify-user-module!): Beautify also if public
027ffa31 517 interface is set to the module itself. In this way we can use
a56eeb46
MD
518 beautify-user-module! to beautify a module prepared for object
519 code.
520 (process-define-module): Special case: Try to load object code as
521 well if a module does :use-module on itself.
522
523 * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from
524 invoke_main_func, we can no longer be sure that all modules have
525 been registered when boot-9.scm is loaded.
526 (register-modules): New function: Register and tag modules
527 registered by scm_register_module_xxx since last call to this
528 function. Modules are tagged with the dynamic object passed as
529 argument. (Already linked modules should be tagged with #f.)
530 (init-dynamic-module, link-dynamic-module): Call register-modules
531 first to register linked modules.
532
533 * boot-9.scm (init-dynamic-module): Remove module from
534 registered-modules as soon as possible in case we are recursively
535 invoked; Set public interface before doing the dynamic-call.
536
537 * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map).
538 (abort-hook, before-error-hook, after-error-hook,
539 before-backtrace-hook, after-backtrace-hook, before-read-hook,
540 after-read-hook, exit-hook): Make hooks with `make-hook'.
541
542 * boot-9.scm: Make hooks first class citizens and make them easier
543 to use from C:
544 (make-hook, add-hook!, remove-hook!, run-hooks): Moved to
545 libguile/feature.c.
7e414627
MD
546
547 * boot-9.scm: Added warnings about bindings used in
548 libguile/modules.c: the-module, set-current-module,
a56eeb46 549 make-modules-in, beautify-user-module!, module-eval-closure.
7e414627 550
dc61592f
MD
5511998-11-21 Mikael Djurfeldt <mdj@kenneth>
552
553 * boot-9.scm (the-environment): New special form: Returns an
554 object representing the current local evaluation environment.
555 This object can be used in `local-eval' and `defined?'.
556
7398c2c2
MD
5571998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
558
559 * boot-9.scm (collect): New syntax. Similar to begin but returns
560 a list of the results of all forms in the sequence instead of the
561 result of the last form.
562
6162a00d 5631998-11-10 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
e586be78 564
00f4b2e8
MD
565 * boot-9.scm (values, call-with-values): Moved here from
566 syncase.scm.
567
568 * syncase.scm (values, call-with-values): Moved to boot-9.scm.
569
e586be78
MD
570 * boot-9.scm (readline-options, readline-enable, readline.disable,
571 readline-set!: New options interface.
572
6162a00d
MD
573 * readline.scm (readline-port): Use readline-options-interface.
574
4fdf8b2c
MD
5751998-11-05 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
576
577 * boot-9.scm: Set the repl start module in `top-repl' instead of
578 at the end of boot-9.scm.
579
0b6925fe
MD
5801998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
581
582 * emacs.scm (format): Bugfix: Handle multiple arguments
583 correctly. (Thanks to Thien-Thi Nguyen.)
584
e4eae9b1
MD
5851998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
586
587 * boot-9.scm (exit-hook): New hook: Is run at the very end of an
588 interactive session.
589 (top-repl): Run exit-hook on exit.
590
591 * readline.scm (readline-port): Maybe read history; Maybe write
592 history at exit (add to exit-hook).
593
cad4d45b
MD
594Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
595
596 * readline.scm (make-readline-port): Bugfixed last change...
597
24bf9166
MD
5981998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
599
600 * readline.scm (make-readline-port): Don't set prompt to "... " if
601 read line was empty.
602
027ffa31 6031998-10-19 Jim Blandy <jimb@zwingli.cygnus.com>
f4be1689 604
1f6fe22a 605 * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm,
027ffa31 606 r4rs.scm, slib.scm, threads.scm: Update copyright years.
1f6fe22a 607
33432c79
JB
608 * getopt-gnu-style.scm, slib.scm: Add copyright notice.
609
610 Talked to Stallman. Actually, the syntax-case copyright is no
611 problem. Duh.
612 * Makefile.am (ice9_sources): Revert last change.
613 * syncase.scm, psyntax.pp, psyntax.ss: Added again.
614 * Makefile.in: Regeneretade.
615
f4be1689
JB
616 * boot-9.scm: Don't assume that this file is loaded just before
617 entering a read-eval-print loop. Turn code to load (ice-9 emacs)
618 into...
619 (load-emacs-interface): New function.
620 (top-repl): Call it, if use-emacs-interface is defined and true.
621 At this point, we *do* know we're about to enter a REPL.
622
623 We can't include Kent Dybvig's syntax-case macro expander in the
027ffa31
JB
624 core Guile distribution, because we don't have copyright
625 assignments for this code. We can certainly distribute them as a
626 separate package, but Guile should be FSF code.
f4be1689
JB
627 * syncase.scm, psyntax.pp, psyntax.ss: Removed.
628 * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
629 psyntax.ss.
630 * Makefile.in: Regenerated.
631
632 * Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
633 * Makefile.in: Regenerated.
634
c8f11b97
MD
6351998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
636
637 * boot-9.scm: Added extended read syntax for byte vectors #y(...)
638 and short vectors #h(...).
639
027ffa31 6401998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
bb2a4165
JB
641
642 * calling.scm (excursion-function-syntax): Use a sequence of
643 set!'s, not a single multi-variable set!; we removed support for
644 that syntax a long time ago. (Thanks to Shuji Narazaki.)
645
027ffa31 6461998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
c8983d6a 647
94e3e95e 648 * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
c8983d6a
JB
649 testing software-type here. That's the least of our Windows
650 porting issues, and it's done wrong anyway.
651
027ffa31 6521998-10-09 Jim Blandy <jimb@zwingli.cygnus.com>
77052259 653
98330fd2
JB
654 * boot-9.scm (read-path-list-notation-warning): New function:
655 print a warning the first time we see `#/' notation.
656
77052259 657 * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
027ffa31
JB
658 (eq? #f '()) assumptions. Make functions that aren't documented
659 to return anything else return the queue itself. (Bug report from
660 Michael Livshin --- thanks!)
77052259 661
c9dd46af
MD
6621998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
663
664 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
665 trace flag.
666
667 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
668 order to allow the empty list as arg.
669 (error-catching-loop): Use `with-traps' to create a dynamic
670 context with traps enabled.
671
5ef4ef4e
MD
6721998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
673
674 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
675 module.
676 (try-using-libtool-name): Removed dependency on (ice-9 regex).
677
325f42e0
MD
6781998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
679
680 * boot-9.scm: Make the root module use (ice-9 regex) if
681 available. The dynamic linking facilities in boot-9.scm are
682 currently dependent upon regular expressions. My change of
683 1998-07-14 removed (ice-9 regex) from the use-list of the root
684 module and thereby destroyed dynamic linking.
685
027ffa31 6861998-07-29 Jim Blandy <jimb@zwingli.cygnus.com>
0dcbc17a
JB
687
688 * Makefile.in: Regenerated using the last public version of
689 automake, not the hacked Cygnus version.
690
027ffa31 6911998-07-28 Jim Blandy <jimb@zwingli.cygnus.com>
1f5ae2fd
JB
692
693 * Makefile.in: Regenerated, after removing Totoro kludge.
694
027ffa31 6951998-07-28 Jim Blandy <jimb@totoro.red-bean.com>
1a0106ef
JB
696
697 * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.)
698
027ffa31 6991998-07-26 Jim Blandy <jimb@zwingli.cygnus.com>
e99cbcd6
JB
700
701 * Makefile.in Rebuilt, for config changes in parent dir.
702
6f4d9622
MD
7031998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
704
705 * readline.scm (make-readline-port): Set prompt string to "... "
027ffa31 706 after first read line. (Thanks to Richard Polton.)
6f4d9622 707
027ffa31 7081998-07-19 Jim Blandy <jimb@zwingli.cygnus.com>
3ec4ec9a
JB
709
710 * lineio.scm (make-line-buffering-input-port): Don't use
711 ungetc-char-ready?, since we don't provide that function any
712 more. The unread-string function doesn't interact properly with
713 any of the standard I/O functions anyway. (Thanks to Andrew
714 Archibald.)
715
716 * hcons.scm (hashq-cons-assoc): Don't assume the empty list is
027ffa31 717 false. Return false when we cannot find a matching entry in the
3ec4ec9a
JB
718 list. (Thanks to Andrew Archibald.)
719
a0cc0a01
MD
7201998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
721
722 * boot-9.scm (export, export-syntax): New special forms: Export
027ffa31 723 bindings from a module. `(export name1 name2 ...)' can be used at
a0cc0a01
MD
724 the top of a module (after `define-module') to specify which names
725 should be exported. It can be used as an alternative to
726 `define-public'. `export-syntax' works equivalently to `export'
727 but is intended for export of syntactic keywords.
728 (Thanks to Thien-Thi Nguyen.)
729
39bc9948
MD
7301998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
731
732 * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'.
733
13e341bb
MD
7341998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
735
ae996c08
MD
736 * boot-9.scm: Let the user start in module `(guile-repl)' instead
737 of module `(guile)'. Also make sure that `(guile-repl)' uses
738 suitable modules. This change improves Guile stability
739 substantially since bindings will only be copied from the root
740 module: If the user redefines builtins in `(guile-repl)' it won't
741 affect the internal operation of Guile itself.
13e341bb 742
c6775c40
MD
7431998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
744
745 * boot-9.scm (load-module): When loading files from within files
746 themselves being loaded: Use the directory path of the file being
027ffa31 747 loaded as root for relative filenames. (After suggestion by
c6775c40
MD
748 Steven G. Johnson.)
749
ef0d04e5
MD
7501998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
751
752 * emacs.scm (emacs-load): New feature: Eval in specified module.
753
4ffd142c
MD
7541998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
755
756 * readline.scm: Typo in regex module name.
757
edd9ac21
MD
7581998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
759
760 * readline.scm (apropos-completion-function): regexp-quote text to
761 be completed.
762
a66c53a8
MD
7631998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
764
edd9ac21 765 * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid.
a66c53a8 766
d38a6802
MD
7671998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
768
769 * boot-9.scm: Check that (current-input-port) is a tty before
770 enabling readline. (Thanks to Michael N. Livshin.)
771
cf266109
MD
7721998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
773
774 * boot-9.scm (use-syntax): Turned into a macro inorder to be
775 similar in use to `use-modules'.
776 Example: (use-syntax (ice-9 syncase)) will 1. load the module
777 (ice-9 syncase), and, 2. install the procedure `syncase' as eval
778 transformer.
779 (internal-use-syntax): New procedure.
780 (process-define-module): Use `internal-use-syntax'.
781
67da6c57
MD
7821998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
783
784 * Makefile.am (ice9_sources): Add emacs.scm.
785
1b558afd
MD
7861998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
787
788 * readline.scm: Use the new readline facilities: Add the
789 possibility to control input and output ports; Add apropos
790 completion.
791
792 * boot-9.scm: Antirevert Jim's readline code which he reverted
793 19971027 and adapt it to the current readline interface.
794
795 * boot-9.scm (top-repl): Only enable readline if not using the
796 Emacs interface; Only use repl prompt when using the readline port
027ffa31 797 from repl-read. (We don't want to see it when calling `read'.)
1b558afd
MD
798
799 * boot-9.scm (remove-hook!): Parenthesis bug.
800
f246e585
MD
8011998-05-11 Mikael Djurfeldt <mdj@kenneth>
802
803 * boot-9.scm: Load readline module if readline is present.
804
805 * readline.scm (apropos-completion-function): New procedure:
806 Symbolic completion. (Thanks to Andrew Archibald!)
807
f714ca8e
MD
8081998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
809
810 * boot-9.scm (process-define-module): Added keyword use-syntax.
811
3ede541d
MD
8121998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
813
814 * nonblocking.scm: Removed. libguile is now inherently
815 nonblocking through the use of scm_internal_select.
816
817 * emacs.scm: Removed use of nonblocking.scm.
818
027ffa31 819 * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these
3ede541d
MD
820 obsolete.
821
608cf70c
MD
8221998-04-15 Mikael Djurfeldt <mdj@nada.kth.se>
823
824 * runq.scm (runq-control): Corrected spelling of enqueue!.
825 (Thanks to Karl M. Hegbloom.)
826
16b8ebbe
MD
8271998-03-30 Mikael Djurfeldt <mdj@nada.kth.se>
828
829 * boot-9.scm: Added new run-time option interface eval-options.
830
abf06c12
MD
8311998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
832
027ffa31 833 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
abf06c12
MD
834 Stachowiak.)
835
13dc0cae
MD
8361998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
837
838 * threads.scm: Added simple error and signal handler.
027ffa31 839 (make-thread, begin-handler): Use this handler. The most
13dc0cae
MD
840 important effect of this is that signals get unmasked.
841 Previously, when a signal was thrown signals remained masked
842 (signals get masked when a signal is taken) which influenced other
843 threads.
844
027ffa31 8451998-01-01 Tim Pierce <twp@skepsis.com>
841d28d7
TP
846
847 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
848 * slib.scm (identity): Unmake public.
849 (slib:eval): Evaluate inside `slib-module'.
850
027ffa31 8511997-12-24 Tim Pierce <twp@skepsis.com>
ad76c8d9 852
249cdba6
TP
853 * boot-9.scm: Doc fix.
854
ad76c8d9
TP
855 * slib.scm (identity): Made public.
856 (home-vicinity): New function (from SLIB/Template.scm).
857
027ffa31 8581997-12-13 Tim Pierce <twp@skepsis.com>
848f2a01 859
f4be1689 860 * boot-9.scm (read-line): Rewritten to call %read-line for
027ffa31 861 improved speed. Minor user-visible changes: the new functions are
848f2a01
TP
862 hardwired to treat the LFD character as signifying end-of-line, so
863 changing `scm-line-incrementors' will no longer affect the
027ffa31 864 behavior of read-line. On platforms which do not represent
848f2a01
TP
865 end-of-line with a LFD character, read-line should behave more
866 like native line-processing facilities, but there is still a ways
867 to go here.
868
8bb7f646
MD
869Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth>
870
871 * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
872 is now a fluid.
873
027ffa31 8741997-11-28 Tim Pierce <twp@skepsis.com>
ebd79f62 875
848f2a01
TP
876 * boot-9.scm (find-and-link-dynamic-module): If a module directory
877 contains a .la file (a libtool support file), attempt to extract
027ffa31
JB
878 the shared library name from that file. If the .la file does not
879 exist, try to link against a .so file. Libtool-generated compiled
848f2a01 880 modules should load more cleanly in Guile now.
ebd79f62
TP
881 (try-using-libtool-name, try-using-sharlib-name): New functions.
882
027ffa31 883Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
28d8ab3c
GH
884
885 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
886 usefully so they will work from a script.
887
13a7ee16
MV
8881997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
889
890 * boot-9.scm (inherit-print-state): Moved definition to the
891 neighborhood of the record code.
892
930b16c0
JB
893Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
894
027ffa31
JB
895 * boot-9.scm: Revert changes to this file from Oct 23. It turns
896 out to interact badly with the Emacs support and the Tcl/Tk
897 support. It's not a high enough priority at the moment to be
898 worth fixing. I'm leaving the other readline support in, though.
930b16c0 899
3fa5bb75
JB
900Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
901
902 * Makefile.am: Include readline.scm in the list of files to be
903 installed, so Guile can find it for interactive use.
904 * Makefile.in: Regenerated.
905
2e368582
JB
906Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
907
908 Add support for readline function.
909 * readline.scm: New module.
910 * boot-9.scm (repl-reader): New function.
911 (scm-style-repl): Call repl-reader, instead of doing the reading
912 ourselves. Remove repl-report-reset; it was never used for
913 anything.
914 (top-repl): If we've got the readline primitives, then redefine
915 repl-reader to use them.
916 If we've got the readline primitives, import the readline module.
917
918 * ls.scm (ls, lls): Don't assume (eq? #f '()).
919
920Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
921
922 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
923 string-fun.scm: Added copyright notices; reformatted.
924
027ffa31 925Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
4bbbcd5c
GH
926
927 * expect.scm: (expect-regexec): new procedure, use it in
928 expect-strings to fix the => syntax under the new regex system.
929 (top): include regex module in define-module statement.
930
027ffa31 931Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
4bbbcd5c
GH
932
933 * (error-catching-loop): new local variable "interactive". if
934 #f, abort terminates the process.
935 (set-batch-mode?!, batch-mode?): new closures, defined in
936 error-catching-loop. the names are from scsh.
937
c115b54b
MV
9381997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
939
940 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
941 print-state, throw it away.
942
027ffa31 943Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
9f9aa47b
MD
944
945 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
946 `0'.
947
027ffa31 948Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
9f9aa47b
MD
949
950 * boot-9.scm (struct-printer, make-struct-printer,
951 set-struct-printer-in-vtable!, *struct-printer*): Removed.
952 (record-type-vtable, make-record-type): Don't use make-struct-printer.
953 (record-type-vtable): User fields "prpr" (printer is no longer a
954 user field).
955 (record-type-name, record-type-fields): Decreased slot index by
956 one; Use `vtable-offset-user'.
957
027ffa31 958Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
21fdbaee
MV
959
960 * boot-9.scm (inherit-print-state): New experimental function.
961
adc14c93
JB
962Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
963
964 Suggestion and script from Maciej Stachowiak:
965 * boot-9.scm: Split off modules into separate, autoloadable files.
966 This reduces startup time from 10.5s to 5.5s (user cpu).
967 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
027ffa31 968 string-fun.scm: New files, containing stuff that used to be in
adc14c93
JB
969 boot-9.scm.
970 * Makefile.am (ice9_sources): List new files here, for
971 distribution and installation.
972 * Makefile.in: Regenerated.
973
5aa28c1e
JB
974Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
975
976 * Makefile.in: Regenerated with automake 1.2c.
977
2f110c3c
MD
978Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
979
d1005e3c
MD
980 * slib.scm (slib:load): slib:load first tries to load the file
981 named NAME, then NAME.scm. On error, report the error occuring at
982 the first attempt (NAME) rather than the second (NAME.scm).
983
2f110c3c 984 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
027ffa31 985 the make-options macro so that we needn't refer to a global
2f110c3c
MD
986 symbol.
987
83b38198
MD
988Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
989
990 * debug.scm: Moved options interface procedures to boot-9.scm.
991
992 * boot-9.scm: Define options interface procedures here instead.
993
af01fdcd
JB
994Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
995
996 * boot-9.scm (separate-fields-discarding-char,
997 separate-fields-after-char, separate-fields-before-char): Call
998 continuation function, RET, as advertised: with each separated
999 field a separate argument.
1000
1001 * Makefile.in: Regenerated with automake 1.2a.
1002
534a0099
MD
1003Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
1004
1005 * slib.scm (slib:load): Export.
1006
1007 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
1008 vicinity;
1009 Provide defmacro.
1010
8fa5faad
MD
1011Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1012
1013 * r4rs.scm (apply): Set name property to 'apply.
1014
11b05261
MD
1015Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1016
1017 * boot-9.scm (keyword->symbol, display-usage-report): Changed
027ffa31 1018 length --> string-length. (Thanks to Aleksandar Bakic.)
0a54457d 1019 (separate-fields-discarding-char, separate-fields-after-char,
027ffa31 1020 separate-fields-before-char): Bugfix from Maciej Stachowiak
0a54457d 1021 <mstachow@mit.edu>. Thanks!
a4f9b1f6
MD
1022 (try-module-linked): Try to find module among those already
1023 registered.
1024 (try-module-dynamic-link): Removed the first test which
1025 corresponds to a call to `try-module-linked'.
1026 (resolve-module): Resolve modules in this order: 1. Already
1027 registered modules (for example those which have been statically
1028 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
1029 link a .so-file.
11b05261 1030
24b2aac7
MD
1031Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1032
1033 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
1034
7cfae7e6
MD
1035Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1036
1037 * session.scm (name): New procedure: Gives name of object.
1038 (source): New procedure: Gives source of object.
1039
7a0ff2f8
MD
1040Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1041
f4be1689 1042 * boot-9.scm (primitive-macro?): New procedure.
7a0ff2f8
MD
1043
1044 * slib.scm: Added hack which transfers syntactic information from
1045 the builtin variable `define' to the slib version if module (ice-9
1046 syncase) has been loaded. This is necessary to get correct
1047 expansion inside the slib module.
1048
1049 * psyntax.ss (build-let, build-named-let): New output
027ffa31 1050 constructors.
7a0ff2f8
MD
1051 (build-lexical-var): Seed gensym with symbolic name.
1052 (self-evaluating?): Add keywords among self-evaluating types.
1053 (let): New core form.
1054 (if): Removed from core language.
1055 (or, and, let, cond): Removed syntactic definitions.
1056 (sc-expand3): New procedure: Expander which takes optional mode
027ffa31 1057 and eval-syntactic-expanders-when arguments.
7a0ff2f8
MD
1058
1059 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
1060 Should be used inside the (ice-9 syncase) module with (use-syntax
1061 syncase) and with the current directory containing the psyntax.ss
1062 source.
1063 Added hack to transfer syntactic information from the builtin
1064 variable `define' to the slib version if module (ice-9 slib) has
1065 been loaded.
1066
027ffa31 1067Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
7a0ff2f8
MD
1068
1069 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
1070 (syncase): Publish syntax transformer to be used with
1071 `use-syntax'.
1072 (sc-macro): Use this as the value when publishing macros.
1073
1074 * boot-9.scm (module-type): Added `transformer'.
1075 (make-module): Modified initialization.
1076 (module-transformer, set-module-transformer!): Selector and
027ffa31 1077 mutator for module-associated transformer.
7a0ff2f8 1078 (set-current-module): Use module-transformer to set
027ffa31 1079 `scm:eval-transformer'.
7a0ff2f8 1080 (module-use!): Previous change reverted.
f4be1689 1081 (use-syntax): New function: Install a transformer in current
027ffa31 1082 module.
7a0ff2f8
MD
1083 (sc-interface, sc-expand): Removed! :)
1084
027ffa31 1085Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
d43f8c97
MD
1086
1087 * emacs.scm (emacs-load): Added new parameter `module'.
1088
1089 * syncase.scm (putprop, getprop): Modified to use the object
027ffa31
JB
1090 properties of the variable object corresponding to the symbol;
1091 This way we can ride on the mechanisms of the module system.
d43f8c97
MD
1092 Changed `builtin-variable' calls to `define-public' calls.
1093 Setup the hooks sc-expand and sc-interface.
1094
1095 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
1096 (set-current-module): Switch to and from sc-expand as
1097 scm:eval-transformer when going into and out of modules using
1098 syncase macros.
1099 (module-use!): Set scm:eval-transformer to sc-expand when adding
1100 the syncase interface.
1101
027ffa31 1102Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1f355b4f
MD
1103
1104 * syncase.scm (putprop): Temporary fix which publishes new syntax
1105 globally (the old behaviour was complex and connected to the inner
1106 workings of the current module system).
1107
027ffa31 1108Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e9b7bb80
MD
1109
1110 * psyntax.ss: Updated.
1111 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
1112 off!
1113
027ffa31 1114Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e672f1b5
MD
1115
1116 * boot-9.scm (gensym): Removed (replaced by primitive).
1117 (obarray-gensym): Rewritten to use `gensym'.
1118 (gentemp): Rewritten to use `gensym'.
1119
027ffa31 1120Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
30d732a6
MD
1121
1122 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
1123 according to the following priorities:
1124 1. tcl bindings which are present in override-scheme-list
1125 2. bindings from the-scm-module
1126 3. tcl bindings
1127 This way the gtcl module can occur first in the use-list without
1128 disabling the scheme interpreter.
1129 (new-interpreter): New function.
1130
1131 * gwish.scm: Moved initialization code for the-interpreter to
027ffa31
JB
1132 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
1133 it; Call `new-interpreter'; Don't :use-module (guile).
30d732a6 1134
1aa8162b
JB
1135Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
1136
1137 * Makefile.in: Regenerated.
1138
34695603
JB
1139Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
1140
1141 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
1142
52f1b046
MD
1143Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1144
1145 * emacs.scm (object->string, format, error-args->string): New
1146 procedures.
1147 (emacs-frame-eval): Reworked.
1148
a5be27cd
MD
1149Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1150
1151 * session.scm (apropos-internal): Musn't initialize symbol
1152 accumulator with a constant pair. That led to mutation of the
1153 source!
1154
68aed3ea
MD
1155Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
1156
1157 * session.scm (vector-for-each): Removed.
1158 (apropos): vector-for-each --> array-for-each.
1159 (apropos-internal): New function. Return list of accessible
1160 symbols matching regexp.
1161
1162 * debug.scm (frame-number->index): New function. Convert frame
1163 number (as displayed in the backtrace) to frame index (to be used
1164 in stack-ref).
1165
1166 * emacs.scm (emacs-load): New arguments: interactivep: when
027ffa31 1167 non-false, send back results to Emacs; colnum: Column number;
68aed3ea
MD
1168 Use modules (ice-9 debug) and (ice-9 session);
1169 (no-stack, no-source): New simple-actions;
1170 (result-to-emacs): New procedure. Sends data to Emacs via the
1171 result protocol;
1172 (get-frame-source, emacs-select-frame, emacs-frame-eval,
1173 emacs-symdoc): New procedures.
8c5a8bed 1174
555f21d8
MD
1175Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1176
eb7ec1e8 1177 * emacs.scm (emacs-load): Adjust stack narrowing.
8c3420ad 1178 (whitespace-chars): Include #\np.
eb7ec1e8 1179
555f21d8
MD
1180 * syncase.scm: Also turn off debugging evaluator and recording of
1181 procedure names during loading of psyntax.pp.
1182
1183 * psyntax.pp: Removed leading blanks => 800K -> 100K.
1184
230c4353
MD
1185Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1186
19ef2a9b 1187 * syncase.scm: Don't tamper with debug mode setting when enabling
027ffa31 1188 macros. Instead cut the stack with start-stack.
a48930c6 1189 Load psyntax.pp with recording of positions turned off.
19ef2a9b 1190
ceb177a4 1191 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
230c4353 1192
f4be1689 1193 * syncase.scm: New file: Guile-adaption for syntax-case macros.
027ffa31
JB
1194 * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
1195 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
230c4353 1196
0e81dabd
MD
1197Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1198
f4be1689 1199 * session.scm: New file: Session support.
0e81dabd
MD
1200 (apropos): New procedure: List bindings given regexp.
1201
027ffa31 1202Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
6afcd3b2
GH
1203
1204 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
1205 cstime.
1206
096d5f90
MD
1207Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1208
db75135d
MD
1209 * emacs.scm (emacs-load): Something has changed in the reader so
1210 that we now should set the port line count to the specified value
1211 (linum) instead of (- linum 1).
1212
096d5f90 1213 * slib.scm (slib:load): Use load-from-path instead of
027ffa31
JB
1214 primitive-load-path so that backtraces get narrowed properly at
1215 the top.
096d5f90
MD
1216
1217 * boot-9.scm (top-repl): Save stack already in signal handler in
1218 order to narrow it correctly.
1219 (save-stack): Adjust narrowing tag for the top of load-stacks.
1220
027ffa31 1221Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
7a6f1ffa
GH
1222
1223 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
1224 (dup->fdes): deleted, now done in C.
1225
027ffa31 1226Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
956055a9
GH
1227
1228 * boot-9.scm (setenv): new procedure, scsh compatible.
1229
485cb6eb
MV
1230Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
1231
1232 * boot-9.scm (with-fluids): New macro to go with the
027ffa31 1233 builtin `with-fluids*'.
485cb6eb 1234
4d0d7ef9
MD
1235Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1236
1237 * slib.scm (install-require-module): In newer versions of slib
027ffa31 1238 *catalog* is #f until the first access. Therefore we call
4d0d7ef9
MD
1239 require:provided? for a random feature if *catalog* is #f.
1240
8309a10d
MD
1241Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1242
1243 * boot-9.scm: If using emacs interface, enable backtraces
1244 automatically.
1245
027ffa31 1246Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
e38303a2
GH
1247
1248 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
1249 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
1250 (duplicate-port): was a C primitive, now it's here.
1251 (move->fdes): allow the first argument to be a file descriptor.
1252 Return the modified port or file descriptor (was unspecified.)
1253
2e3e9351
JB
1254Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
1255
32552d73
JB
1256 Changes to compile under gnu-win32, from Marcus Daniels:
1257 * boot-9.scm (load-user-init): If HOME is unset, provide
1258 a default of /.
1259
2e3e9351
JB
1260 * boot-9.scm (define-public): Changed to accomodate Hobbit.
1261
db561408
JB
1262Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
1263
fcff2c5c 1264 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
027ffa31 1265 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
fcff2c5c
JB
1266 notation, instead of #/ notation.
1267
db561408
JB
1268 * expect.scm (expect-strings): Pass regexp/newline flag to
1269 make-regexp.
1270
2409cdfa
JB
1271Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
1272
db561408
JB
1273 Fix inconsistencies in parsing of #/ style lists.
1274 * boot-9.scm (read-path-list-notation): New function.
1275 (parse-path-symbol): Deleted. Replaced by above.
1276 Plug in read-path-list-notation as the parser for #/ lists,
1277 instead of the anonymous lambda form calling parse-path-symbol.
1278 (Thanks to Maurizio Vitale.)
1279
2409cdfa
JB
1280 * boot-9.scm (make-list): Remove the definition of this function
1281 from the (ice-9 common-list) module; make the `init' argument
1282 optional in the scm module's definition, to match the deleted
027ffa31 1283 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
2409cdfa 1284
91b28bb5
JB
1285Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
1286
1287 Try to detect when people are using one version of libguile and a
1288 different version of ice-9. People have been skewing things and
1289 sending in bug reports.
1290 * version.scm.in: New file, which the configure script munges to
1291 produce version.scm, which contains the ice-9 config stamp.
1292 * boot-9.scm: Compare the libguile and ice-9 config stamps;
1293 display a warning if the two are different.
1294 * Makefile.am: Install version.scm, but don't distribute it.
1295 Distribute version.scm.in, but don't install it.
1296 * Makefile.in: Regenerated.
1297
9fbdb48f
JB
1298Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
1299
1300 * slib.scm (slib:warn): Alias for WARN function.
1301
e320da2f
JB
1302Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
1303
1304 * boot-9.scm (struct-printer): Fix off-by-one error in range
027ffa31 1305 check. Correctly check for struct printer tag.
e320da2f
JB
1306
1307 * expect.scm: Turn this into a module, (ice-9 expect).
1308 (expect-port, expect-timeout, expect-timeout-proc,
027ffa31
JB
1309 expect-eof-proc, expect-char-proc, expect, expect-strings,
1310 expect-select): Make these public definitions.
e320da2f
JB
1311 (expect-strings): Use make-regexp and regexp-exec, instead of
1312 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
1313 that's okay.
1314
1315 * boot-9.scm (with-regexp-parts): Comment this out. It has no
027ffa31
JB
1316 users in the core, and relies on mildly hairy details of the old
1317 regexp interface.
e320da2f
JB
1318
1319 * test.scm: Re-enable tests asserting that '() is true, and not a
1320 boolean. This stuff has been true for a while.
1321
1322 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
027ffa31 1323 function names.
e320da2f
JB
1324
1325 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
1326 fixes.
1327
3688473b
JB
1328Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
1329
1330 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
1331 ../configure.in.
1332
027ffa31 1333Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
0b46857f
MV
1334
1335 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
027ffa31 1336 vtable and not the one of the struct.
0b46857f 1337
027ffa31 1338Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
5dade857
MV
1339
1340 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
027ffa31
JB
1341 make-struct-printer, set-struct-printer-in-vtable!): New bindings
1342 to support printing of structures.
1343 (record-type-vtable, make-record-type): Add slot to hold printing
1344 function and initialize it with something appropriate. Removed
1345 commented out printing code.
5dade857
MV
1346 (record-type-name, record-type-fields): Adjusted slot offsets.
1347 (%print-module): Reduce argument list to "mod" and "port".
1348
027ffa31 1349Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
95d59d10
JB
1350
1351 * slib.scm (identity): New function, used by SLIB.
1352
027ffa31 1353Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
e1a191a8
GH
1354
1355 * boot-9.scm: signal-handler, alarm-thunk: removed.
1356 don't define ticks-interrupt etc.
1357 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
1358 during call to scm-style-repl.
1359
19da35d0
JB
1360Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
1361
1362 * slib.scm (slib:load): Use primitive-load-path instead of
1363 basic-load. This is probably wrong, but hopefully the entire
1364 source access system will be revised soon anyway, and this will
1365 make require behave more like Emacs Lisp's require. If this
1366 breaks something, please let me know. Maybe this is real dumb.
1367
0e165281
JB
1368Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
1369
027ffa31 1370 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
0e165281
JB
1371 * boot-9.scm: If the `regex' feature is present, use the module
1372 (ice-9 regex).
1373
737c9113
JB
1374Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
1375
1376 * regex.scm: New file.
1377 * Makefile.am (subpkgdata_DATA): Add regex.scm.
1378 * Makefile.in: Regenerated.
1379
36539a15
JB
1380Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
1381
1382 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
027ffa31
JB
1383 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
1384 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
1385 threads.scm: New address for FSF.
36539a15 1386
142ad3d9
JB
1387Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
1388
1389 * debug.scm: Update copyright years; this file has been worked on
027ffa31 1390 in 1997.
142ad3d9 1391
027ffa31 1392Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
cafa4c68
GH
1393
1394 * expect.scm: use gettimeofday instead of get-internal-real-time
1395 and use a floating point timeout when calling select. Untested,
1396 since the regex library is currently AWOL.
1397
223be5f0
JB
1398Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
1399
1400 * boot-9.scm (eval-string): Function deleted; it was already
1401 implemented in C, so there's no point in making a divergable copy
1402 here.
1403
9b01064c
JB
1404Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
1405
1406 * Makefile.in: Regenerated, using automake-1.1p.
1407
1408Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
1409
1410 * Makefile.in: Regenerated, using automake-1.1p.
1411
027ffa31 1412Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
1fbc60b2
GH
1413
1414 * boot-9.scm (error-catching-loop): don't read a line from
1415 current input when quit is encountered, the previous change
1416 fixes this too.
1417
c7d97590
JB
1418Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
1419
1420 * boot-9.scm (scm-style-repl): After reading an expression,
1421 consume any trailing newline (perhaps preceded by whitespace), to
027ffa31 1422 avoid screwing up GDB. More detail in comments.
c7d97590 1423
027ffa31 1424Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
6b3f3366
JB
1425
1426 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
1427 the Scheme code like code yet.
1428 * Makefile.in: Resrac,husrched.
1429
eea324ee
MV
1430Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
1431
1432 * boot-9.scm (link-dynamic-module): Do not catch errors from
027ffa31
JB
1433 dynamic-link and dynamic-call. When the shared library exists it
1434 is now assumed to be suitable for a dynamic C module.
eea324ee 1435
ef79b65b
MV
1436Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
1437
1438 * boot-9.scm (process-use-modules): New function to support the
027ffa31 1439 use-modules macro
ef79b65b
MV
1440 (use-modules): throw an error iff one of the requested modules
1441 can't be found.
1442
027ffa31 1443Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
3be77013
GH
1444
1445 * boot-9.scm: don't define timer-thunk or gc-thunk.
1446
28c682fa
JB
1447Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
1448
1449 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
1450
1451 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
1452 we're not using AM_INIT_GUILE_MODULE any more.
1453 * Makefile.in: Regeneratitetedrerd.
1454
20108301
JB
1455Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
1456
819f936b
JB
1457 Get 'make dist' to work again.
1458 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
1459 * Makefile.in: Regenerated, like two tons of fleas.
1460
20108301
JB
1461 Changes for reduced Guile distribution: one configure script,
1462 no plugins.
1463 * configure.in, configure: Removed.
1464 * Makefile.in: Regenerated.
1465
dab94cac
JB
1466Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
1467
48d224d7 1468 * boot-9.scm (eval-string, command-line, load-user-init): New
dab94cac
JB
1469 functions.
1470
027ffa31 1471Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
65495221
GH
1472
1473 * boot-9.scm (log10): defined.
1474
027ffa31 1475Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
708bf0f3
GH
1476
1477 * expect.scm (expect-select): correct the millisecond timeout
1478 arithmetic (from Marko.Kohtala@ntc.nokia.com).
1479
027ffa31 1480Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
708bf0f3
GH
1481
1482 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
1483 instead of in libguile.
1484 (tm:sec etc.) new accessors for broken-down time.
1485 (set-tm:sec etc.) new setters for broken-down time.
1486
027ffa31 1487Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
9337637f
GH
1488
1489 * boot-9.scm (netent:addrtype, servent:port): added missing
1490 procedures.
1491 (netent:net, servent:proto): repaired.
1492 (utsname:sysname etc.): new accessors for uname.
1493
027ffa31 1494Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
9337637f
GH
1495
1496 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
1497 sockaddr:port): new functions.
1498
027ffa31 1499Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
bce074ee
GH
1500
1501 * boot-9.scm: define accessor procedures for the objects returned
1502 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
1503 passwd:name, where the first component is the name of the C structure
027ffa31 1504 and the second is the unprefixed C member name.)
bce074ee 1505
027ffa31 1506Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
bce074ee 1507
095936d2 1508 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
bce074ee
GH
1509 setservent): no longer take an argument, it was bogus.
1510
027ffa31 1511Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
81e2a235
GH
1512
1513 * boot-9.scm (scm-error): deleted, reimplemented in C.
1514
04798288
MD
1515Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1516
1517 * boot-9.scm (process-define-module): Modified to handle both
1518 keywords and symbols.
1519
027ffa31 1520Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
75a97b92
GH
1521
1522 * slib.scm: update read usage.
1523
1524 * r4rs.scm: update primitive-load usage.
1525 Don't define read-sharp.
1526
1527 * boot-9.scm: use read-hash-extend to install extra read syntax.
1528 (read-sharp): removed.
1529 Adjust usage of primitive-load-path, read, which no longer take
1530 case_i or read-sharp arguments.
1531
027ffa31 1532Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
63a3d814 1533
90d5e280
MD
1534 * boot-9.scm: Added loading of session support module.
1535
63a3d814 1536 * debug.scm: Removed `display-application'. (Replaced by
027ffa31 1537 primitive procedure.)
63a3d814
MD
1538
1539 * boot-9.scm (beautify-user-module!): Don't add the root module
1540 interface to the end of the use-list of the root module.
1541
027ffa31 1542Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
75a97b92
GH
1543
1544 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
1545
027ffa31 1546Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
f3c23298
GH
1547
1548 * boot-9.scm: check use-emacs-interface for emacs support.
1549
027ffa31 1550Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
7950df7c
GH
1551
1552 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
1553 read gets EOF.
1554 * (exit): alias for quit.
1555
027ffa31 1556Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
8e44e7a0
GH
1557
1558 * boot-9.scm (error-catching-loop thunk): use a status variable to
1559 return the quit args.
1560 (scm-style-repl): call -quit, passing return value from
1561 error-catching-repl. Make -quit return its args.
1a36eef2 1562 stand-alone-repl: comment out, since it seems unused.
7950df7c 1563
8e44e7a0
GH
1564 (error-catching-loop thunk): discard trailing junk after a (quit).
1565
027ffa31 1566Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
9a942103 1567
06a02069
MD
1568 * boot-9.scm: Removed the old printer code.
1569
1570 * r4rs.scm (apply, call-with-current-continuation): Added comment
1571 explaining why apply and call/cc need to be closures.
1572
1573 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
1574 Removed. These definitions are already present in r4rs.scm.
1575
9a942103 1576 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
027ffa31
JB
1577 stack before printing traced frames; Re-enable trace flag at end
1578 of handlers.
9a942103 1579
027ffa31 1580Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
e6875011 1581
59e1116d
MD
1582 * debug.scm: Add hook for reset of trace level at abort.
1583
1584 * boot-9.scm (run-hooks): New procedure.
1585 (add-hooks!): New macro.
1586 Change hooks to use these functions.
1587
027ffa31
JB
1588 * debug.scm: *Warning* This feature is a bit premature. I add
1589 it anyway because 1. it is very useful, and, 2. you can start
e6875011
MD
1590 making it less premature by complaining to me and by modifying
1591 the source! :-)
1592 (trace): Given one or more procedure objects, trace each one.
027ffa31 1593 Given no arguments, show all traced procedures.
e6875011 1594 (untrace): Given one or more procedure objects, untrace each one.
027ffa31
JB
1595 Given no arguments, untrace all traced procedures. The tracing in
1596 Guile have an advantage to most other systems: We don't create new
1597 procedure objects, but mark the procedure objects themselves.
1598 This means that also anonymous and internal procedures can be
1599 traced.
e6875011
MD
1600
1601 * boot-9.scm (error-catching-loop): Added handling of apply-frame
1602 and exit-frame exceptions.
1603
095936d2 1604 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
e6875011
MD
1605 (set-repl-prompt!): Setter for repl prompt.
1606 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
027ffa31
JB
1607 string, display it; if prompt is a thunk, call it and display its
1608 result; otherwise display "> ".
1609 (Change suggested by Roland Orre <orre@nada.kth.se>.)
0065d90e
MD
1610
1611 * r4rs.scm (%load-verbosely): Reverted change to
027ffa31
JB
1612 `module-defined?', since the module system isn't bootstrapped when
1613 we load r4rs.scm. This is just a temporary fix to make the
0065d90e
MD
1614 repository version runnable.
1615
eb52a06b
MD
1616Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1617
1618 * boot-9.scm: Removed the enabling of debug evaluator and
027ffa31
JB
1619 recording of source code positions. This was placed there for our
1620 convenience, but it has already sneaked into the distribution
1621 once... so we'd better add this in our local copies instead when
1622 we need it. (These options are normally enabled at the end of
eb52a06b
MD
1623 boot-9.scm when loading the debug module.)
1624
d18d1b6d
MV
1625Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
1626
1627 * boot-9.scm (module-defined?): New function.
1628 (macroexpand-1, macroexpand): Use local-ref instead of defined?
027ffa31 1629 and eval.
d18d1b6d 1630 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
027ffa31 1631 "defined?".
d18d1b6d 1632 * slib.scm (defined?): New function to take the place of the
027ffa31 1633 builtin "defined?". It allways examines the slib module.
d18d1b6d 1634
15ae1bee
MD
1635Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1636
1637 * configure.in: Added AM_MAINTAINER_MODE
1638
027ffa31 1639Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
c2132276
GH
1640
1641 * boot-9.scm (read-sharp): define directly, don't go through a
1642 %read-sharp layer.
1643
027ffa31 1644Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
c2132276
GH
1645
1646 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
1647 uniform-vector-set1! which doesn't exist.
1648
d590bbf6
MD
1649Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
1650
1651 * boot-9.scm (backtrace): Removed. (A C version now exists in
1652 backtrace.c.)
1653
027ffa31 1654Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
1e531c3a
GH
1655
1656 * boot-9.scm (read-line!, read-delimited!, read-delimited,
1657 read-line): new procedures, see libguile/ChangeLog.
1658
bb0102f7
MV
1659Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
1660
1661 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
1662
1663 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
027ffa31
JB
1664 init-dynamic-module, dynamic-maybe-call,
1665 find-and-link-dynamic-module, link-dynamic-module,
1666 try-module-dynamic-link, registered-modules): New definitions for
1667 dynamic linking of modules.
bb0102f7 1668 (resolve-module): Try to dynamically link the requested module
027ffa31 1669 after failing to load it as Scheme code.
bb0102f7 1670
027ffa31 1671Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
920235cc
GH
1672
1673 * boot-9.scm (getservbyport, getservbyname): remove stray %.
1674
027ffa31 1675Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
198befde
JB
1676
1677 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
1678 that's what it is.
1679
1680 * lineio.scm (make-line-buffering-input-port): Properly test for
1681 the case of an empty buffer list. The old code assumed that '()
1682 was false.
1683
027ffa31 1684Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
33cf699f 1685
095936d2 1686 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
33cf699f 1687 (use-modules <module name> ...) Put the the modules named by
027ffa31 1688 <module name> ... on the use list of the current module.
33cf699f 1689
027ffa31 1690Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
7a818853
JB
1691
1692 * boot-9.scm (error-catching-loop): Remove message saying that
1693 typing "$" will put you in the debugger. This isn't implemented
1694 yet.
1695
506067f0
JB
1696Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
1697
1698 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
1699 been fixed, so this function is superfluous.
1700 (transform-usage-lambda): Use delq!, not delq-all!.
1701
2ebf3156
MV
1702Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
1703
7a818853 1704 * boot-9.scm (resolve-module): New optional parameter that
027ffa31 1705 controls whether autoloading is attempted or not. Default is #t.
2ebf3156
MV
1706 (process-define-module): Don't autoload the defined module.
1707 (try-module-autoload): Don't autoload the directory modules.
1708
7a818853 1709 * boot-9.scm (process-define-module): Ensure that the-scm-module
027ffa31
JB
1710 is last in the `uses' list to allow shadowing builtin
1711 bindings. All :use-module options are added in the order they
1712 appear in the arguments but before anything already on the list
1713 (such as the-scm-module).
2ebf3156 1714
027ffa31 1715Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
00f06035
GH
1716
1717 * slib.scm (slib-parent-dir): throw error if #f returned from
027ffa31 1718 %search-load-path.
00f06035 1719
733943b9
TT
1720Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
1721
1722 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
1723 * Makefile.am, aclocal.m4: New files.
1724 * configure.in: Updated for Automake.
1725
84abd243
MV
1726Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
1727
1728 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
027ffa31
JB
1729 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
1730 function, use it accordingly.
84abd243 1731
a31bc6fb
JB
1732Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
1733
1734 It's an "eval closure", not an "eval thunk." A thunk is a
1735 function of no arguments.
1736 * boot-9.scm (module-type): Rename module field.
1737 (make-module, eval-in-module, make-root-module,
1738 set-current-module): Uses changed.
1739 (module-eval-closure, set-module-eval-closure!,
1740 root-module-closure): Renamed from module-eval-thunk,
1741 set-module-eval-thunk!, root-module-thunk.
1742 (set-current-module): Change uses of *top-level-lookup-thunk* to
1743 *top-level-eval-closure*.
1744
3763761c
JB
1745Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
1746
1747 * slib.scm (slib-parent-dir): Use string-length, not length.
1748 (Thanks to Bernard Urban.)
1749
027ffa31 1750Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
7ad737b6 1751
7a818853 1752 * boot-9.scm: The debugging evaluator and recording of positions
7ad737b6
MD
1753 aren't enabled by default any longer (they are switched on in
1754 debug.scm). But during development we want to have them also
1755 *inside* boot-9.scm. Therefore, two lines are added at the
1756 beginning of boot-9.scm to enable these.
1757
1758 Call `provide' so that `records' are included among the
027ffa31 1759 `*features*'.
7ad737b6
MD
1760
1761 The scheme for saving the stack has been adjusted: save-stack is
1762 now commonly available for saving the stack. Calling `save-stack'
1763 sets a flag `stack-saved?' which prevents overwriting the stack.
1764 `stack-saved?' is reset at `abort'.
1765
1766 Spelling correction: seperate --> separate.
1767
1768 Removed `:'s that had creeped into some comments.
1769
7a818853 1770 The repl now doesn't print #<unspecified> results any longer
7ad737b6
MD
1771 If the user wants to see this, he can do
1772 (assert-repl-print-unspecified #t) in his startup file.
1773
7a818853 1774 The user now gets a friendly message instead of a backtrace at
7ad737b6
MD
1775 error.
1776
1777 Added `before-read-hook'.
1778
1779 Load module (ice-9 emacs) if option `-e' was specified.
1780
1781 (provide): New function.
1782
1783 (error): Save stack at entry, so that Guile entrails won't show up
1784 in backtraces.
1785
1786 (backtrace): New function.
1787
7a818853 1788 (save-stack): Can now take arbitrary number of stack narrowing
7ad737b6
MD
1789 specifier pairs. The first specifier in a pair controls inner
1790 border, the second the outer border. A number means cut that
1791 number of frames, a procedure object means cut until that object
1792 is found in operator position in a frame.
1793
1794 * debug.scm: Enable debugging evaluator and recording of positions
1795 by default.
1796
1797 * slib.scm (slib:load): Adapt to the new behavior of
1798 primitive-load: It doesn't any longer try both with and without
1799 ".scm" extension. (We don't want to use %search-load-path here.)
1800
1801 (implementation-vicinity): New function. slib requires it
1802
1803 (library-vicinity): Updated.
1804
1805 Load "require.scm" in the library-vicinity.
1806
1807 (install-require-vicinity, install-require-module): New functions.
1808
99f97bfe
JB
1809Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
1810
581a242b
JB
1811 * boot-9.scm (load-from-path): New function.
1812
1813 * boot-9.scm (try-load, basic-try-load, try-load-module,
1814 try-load): Deleted. I don't think they're being used.
1815
48be3fb3
JB
1816 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
1817 so they'll get distributed.
1818
1819 Get Guile to be a little less chatty by default. The new user
1820 should see as little clutter as possible.
1821 * r4rs.scm (%load-verbosely): Make this #f by default.
1822 * boot-9.scm (scm-repl-verbose): Make this #f by default.
1823 (scm-style-repl): Don't run 'pk' on the value passed to quit.
1824
1825 * r4rs.scm: New file.
1826 * boot-9.scm: Load r4rs.scm, first thing.
1827 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
027ffa31
JB
1828 open-output-file, open-io-file, close-input-port,
1829 close-output-port, close-io-port, call-with-input-file,
1830 call-with-output-file, with-input-from-port, with-output-to-port,
1831 with-error-to-port, with-input-from-file, with-output-to-file,
1832 with-error-to-file, with-input-from-string, with-output-to-string,
1833 with-error-to-string, the-eof-object): Definitions moved to
48be3fb3
JB
1834 r4rs.scm. Not all of them are R4RS, but those that are use those
1835 that are not.
1836 (load, %load-verbosely, %load-announce): Moved, along with code to
1837 set %load-hook, to r4rs.scm.
1838
1839 * test.scm: New file.
1840
1841 * boot-9.scm (integer?): Definition deleted, in favor of the one
1842 present in libguile (which used to be called int?). I have no
1843 idea why integer? didn't just call int? to begin with.
1844
1845 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
1846 =?, >?, and >=? deleted; they're defined that way by libguile now.
1847
99f97bfe 1848 * boot-9.scm (load): Simplified; primitive-load does most of this
027ffa31
JB
1849 work now.
1850 (%load-announce-win): Removed; no longer used. Set %load-hook to
1851 call %load-announce.
99f97bfe 1852
027ffa31 1853Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
3afb28ce 1854
4fe3604d
JB
1855 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
1856 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
1857 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
1858 components.
3afb28ce
GH
1859 (file-is-directory?): use stat:type.
1860
3065a62a
JB
1861Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
1862
1863 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
1864 that's now taken care of in libguile, and in a way compatible with
1865 SCSH (which this isn't).
1866
e4c5095f
JB
1867Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
1868
1869 * boot-9.scm: Formatting tweaks.
1870
1bb961a3
MD
1871Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1872
1873 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
027ffa31
JB
1874 after-error-hook, before-backtrace-hook and after-backtrace-hook
1875 to the error handler. E.g.: fancy emacs support could plug into
1876 these.
1bb961a3 1877 (save-stack): New function. The stack is now made differently
027ffa31
JB
1878 depending on the stack id. (The motivation is to make a better
1879 choice regarding what stack frames to present to the user.)
1bb961a3 1880 (error-catching-loop): Stack handling code moved outside into
027ffa31 1881 save-stack.
1bb961a3 1882
027ffa31 1883Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
9a0d70e2 1884
d7189b49
GH
1885 * Makefile.in (scm_files): add expect.scm.
1886
1887 * expect.scm: new file ported from guile-iii.
1888
9a0d70e2
GH
1889 * boot-9.scm: remove handle-system-error, after moving the code into
1890 error-catching-loop.
1891 Don't set 'throw-handler-default property on error keys.
1892 Just interpret (almost) any throw with 4 args as an error throw.
1893 Delete some try-load stuff that was already commented out.
1894
35c5db87
GH
1895 Second thoughts, keep handle-system-error but call it from
1896 error-catching-loop.
1897
d065b65f
JB
1898Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
1899
aa9576ad
JB
1900 * boot-9.scm: Doc fixes.
1901 (make-module): Rework for readability.
1902 (make-root-module, make-scm-module): USES argument to make-module
027ffa31 1903 should be '(), not #f.
aa9576ad 1904
d065b65f
JB
1905 * boot-9.scm (try-load): %sys-load-path has been renamed to
1906 primitive-load-path; adjust call here.
1907
c01c94bf
MD
1908Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1909
d065b65f 1910 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
027ffa31 1911 the stack to the correct place: when it is decided to generate an
c01c94bf
MD
1912 error-signal.
1913
2dfc85c0
MD
1914Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1915
1916 * boot-9.scm (error-catching-loop, signal-handler,
027ffa31
JB
1917 handle-system-error): Backtracing now works for signals aswell;
1918 Backtracing mechanism can now identify the stack root created by
1919 start-stack so that the user isn't exposed to system stack frames.
2dfc85c0 1920
84d8ad97
MD
1921Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1922
1923 * Makefile.in: Added threads.scm.
1924
4f0292cf
MD
1925Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1926
1927 * debug.scm (make-enable, make-disable): Simplified.
1928
1929 * boot-9.scm: Renamed %%throw-handler-default -->
027ffa31 1930 throw-handler-default.
4f0292cf
MD
1931 ((handle-system-error key . arg-list)): Changed the way errors are
1932 reported.
1933 ((scm-style-repl)): Wrap up the call to eval in a start-stack
027ffa31 1934 acro.
4f0292cf 1935 ((error-catching-loop thunk)): Introduce a lazy-catch into
027ffa31 1936 error-catching-loop so that the stack can be captured.
4f0292cf 1937
1eaceb61
JB
1938Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
1939
1940 * mapping.scm (hash-table-mapping): Explicitly request that
027ffa31 1941 make-vector fill new vectors with '(); this will make it easier to
1eaceb61
JB
1942 port Guile Scheme code to other Schemes.
1943 * boot-9.scm (make-print-style, make-print-table): Same.
1944
027ffa31 1945Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
6fa8995c
GH
1946
1947 * boot-9.scm (load): rewritten again.
1948 Append "." to the default %load-path.
1949 (feature?): new function: checks for a symbol in the features list.
1950 (module-local-variable): remove apparently useless (caddr (list m v
1951 ...))
1952 (%load-announce): minor formatting change.
1953 (file-exists?): use access? if posix is featured.
1954 (file-is-directory?): use stat if i/o-extensions is featured.
1955 (try-module-autoload module-name): use file-exists? before
1956 file-is-directory?
1957
027ffa31 1958Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
8b4a21d1 1959
8acae5bb
MD
1960 * boot-9.scm: Added conditional loading of threads.scm.
1961
1962 * threads.scm: New file. Modified from the Cygnus-r0.3
1963 distribution.
1964
8b4a21d1
MD
1965 * boot-9.scm (error-catching-loop): Added handling of key
1966 `switch-repl'.
1967
1968 * boot-9.scm: Name change %%bad-throw --> bad-throw.
1969
027ffa31 1970Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
c90c9685
JB
1971
1972 * boot-9.scm (make-record-type, record-constructor): Don't assume
1973 the empty list is false when parsing the argument list.
1974
1975Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
1976
1977 * boot-9.scm (signal-handler): Clean up logic.
1978
1979 * boot-9.scm (load): Assume %load-path is always bound.
1980
027ffa31 1981Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
5552355a 1982
027ffa31
JB
1983 * boot-9.scm (error): replace another throw with scm-error. Throw
1984 to 'misc-error instead of 'error (no need to distinguish these.)
5552355a
GH
1985 Don't set up 'error as a key.
1986 Set up regex-error as a key, if regex is available.
1987 (signal-handler): use scm-error, not throw.
1988
7a818853 1989 (%try-load, try-load-with-path, %load, load-with-path,
5552355a
GH
1990 basic-try-load-with-path, basic-load-with-path,
1991 try-load-module-with-path,load-module-with-path): deleted, since
1992 they seem redundant.
1993 (try-load): define using %try-load, not try-load-with-path.
7a818853 1994 (load): rewritten. load tries to open the file directly and
5552355a
GH
1995 with a .scm extension before searching the library directories
1996 (should "." be added to %load-path? then load could still open
027ffa31 1997 directly files starting with "/").
5552355a
GH
1998 (try-module-autoload): use load, not load-with-path.
1999 (%load-indent): deleted, -2 was causing errors.
2000
2001 (%read-sharp): use port-line, not line-number.
2002
c90c9685
JB
2003Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
2004
2005 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
027ffa31
JB
2006 straightforward to provide the equivalent functionality using
2007 (catch #t ...), so there's no need for the extra complexity. 2)
2008 Outside the context of a read-eval-print loop (which Guile should
2009 not require) it's not clear we should do anything more complicated
2010 than print an error and exit; the user or REPL can establish
2011 something better if it wants. 3) In that case, it's much more
2012 robust to just do it in the C code.
c90c9685 2013
027ffa31 2014Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
855c0eac 2015
027ffa31 2016 * boot-9.scm (%try-load): define using primitive-load. Previously
855c0eac
GH
2017 %try-load itself was the primitive.
2018 (load-with-path): use scm-error instead of %load-announce-lossage.
2019 Errors are thrown to 'misc-error instead of 'could-not-load.
2020 (%load-announce-lossage): deleted.
2021
a0c97697
MD
2022Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
2023
2024 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
2025 (make-record-type type-name fields): Temporarily remove support
2026 for printing of records (not possible yet with C printer).
2027
027ffa31 2028Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
be2d2c70
GH
2029
2030 * boot-9.scm (file-exists?, file-is-directory): catch only
2031 system-error, not every kind of error.
2032 (scm-error): new procedure.
2033
434bf5ce
JB
2034Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
2035
2036 * boot-9.scm: Formatting tweaks.
2037
027ffa31 2038Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
2194b6f0
GH
2039
2040 * boot-9.scm (%%handle-system-error key): remove the code for
2041 SCM-style errors. handle the case that an unexpected number
2042 of args are supplied.
2043 (%%system-errors): removed.
2044 (error): redefine using a throw with key and 4 args.
2045 ('error): associate 'error, 'error-signal keys with
2046 %%handle-system-error.
2047 (%%default-error-handler): removed.
2048 (signal-handler): throw with 4 args and use the error-signal key.
2049 Create an error message instead of using numerical codes.
2050 (%%bad-throw): call error instead of throw if key not found.
2051
027ffa31 2052Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
2194b6f0
GH
2053
2054 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
2055 (%%handle-system-error key): check subr is not #f before printing.
2056 Recognize %s (embed an argument using "display") and
2057 %S (embed an argument using "write").
2058
027ffa31 2059Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
234f2da6
GH
2060
2061 * boot-9.scm (%%handle-system-error key): set args and rest to
2062 the empty list if they are #f.
2063 Initialize out-of-range as an error key.
2064
027ffa31 2065Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
e1724d20 2066
40c8906e
GH
2067 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
2068
e1724d20
GH
2069 * boot-9.scm: remove leading %% from references to '%%system-error.
2070 (%%handle-system-error): don't pass all the thrown arguments when
2071 aborting, just the key and subr.
2072 Remove the code to "Install default handlers for built-in errors."
2073 Remove the definition of the syserror procedure.
2074 Associate 'numerical-overflow with default handler.
2075
1a80fb07
MD
2076Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2077
2078 * boot-9.scm: Name change: value-ref --> local-ref
2079 resolved-ref --> nested-ref Motivation: conformance to the other
2080 dictionary operators: list-ref operates on list, vector-ref
2081 operates on vector, nested-ref operates on nested namespace,
2082 local-ref operates on the local nested namespace.
2083
027ffa31 2084Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
7cb1d4d3
GH
2085
2086 * boot-9.scm (%%handle-system-error): recognise errors thrown
2087 by lgh-error (fill-message etc.)
9561554c 2088 (fill-message): check first whether args is null.
a949b3f2 2089 (fill-message): bug fix and check that args is a list.
7cb1d4d3 2090
027ffa31 2091Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
393ee9a8
JB
2092
2093 * boot-9.scm: %load-path is initialized in C code now.
2094 (implementation-vicinity, parse-path): Deleted, along with code to
2095 initialize %load-path.
2096
2097 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
2098 "/", use one to separate it from the file.
2099
027ffa31 2100Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
e4ef46d4
JB
2101
2102 * boot-9.scm (%load-path): Add the site directory.
2103 Add the directory named after the version number.
2104 Prepend the version number to the other directories in the path.
2105 Simplify by mapping the common prefix onto each item.
2106 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
2107 sitedatadir): New definitions.
2108 (libparent, libdir, install_path): Replaced by above.
2109 (install): Create the above directories.
2110 Put the source files into subpkgdatadir.
2111 (uninstall): Remove the above directories.
2112
00312aa3
JB
2113Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
2114
2115 Don't use the PLUGIN system to gather information for the
2116 Makefile's distribution and installation targets; just put it all
2117 in the Makefile directly.
2118 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
2119 for these.
2120 * configure.in: Remove code that gets and substitutes scm_files and
2121 aux_files.
2122 * Makefile.in (scm_files, aux_files): Write out the list of files
2123 here, where people expect to find them.
2124
96a8aaf3
MD
2125Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2126
2127 * boot-9.scm: Preliminary solution: optionally load the debug
027ffa31 2128 module. Changed "gls" to "guile1.0b3".
96a8aaf3
MD
2129
2130 * debug.scm: New file: debug extensions.
2131
4e378733
MD
2132Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2133
2134 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
027ffa31 2135 weak-key-hash-table?. (Again!)
4e378733 2136
0190d683
MD
2137Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
2138
2139 * boot-9.scm (print-vector, macro-table, xformer-table):
2140 Renamed weak-hash-table --> weak-key-hash-table.
2141
2142 * poe.scm (funcq-memo): Renamed weak-hash-table -->
2143 weak-key-hash-table.
2144
027ffa31 2145Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
8b13c6b3
GH
2146
2147 * boot-9.scm (*null-device*): global constant from goonix.
2148 (move->fdes): adjusted for boolean primitive-move->fdes. return
2149 the modified port, always set revealed count to 1 (SCSH compatible).
2150 (release-port-handle port): from goonix (SCSH compatible).
2151 (%open-file): removed.
2152 (open-input-file, open-output-file, file-exists?, file-is-directory?):
2153 modified for open-file change (does not return #f).
2154
027ffa31 2155Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
a44a755d
JB
2156
2157 * Makefile.in (dist-dir): New target for new dist system.
2158 (manifest): Deleted.
2159 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
2160 directory, and needs special treatment in the dist-dir target.
2161
027ffa31 2162Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
02b754d3
GH
2163
2164 * boot-9.scm: remove the wrappers for '%' system primitives,
2165 now that they throw errors directly.
2166 remove make-simple-wrapper and similar functions.
2167 protect a call to getenv which may now throw an exception.
2168
027ffa31 2169Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
02b754d3
GH
2170
2171 * boot-9.scm (false-if-exception): new macro.
2172
0f2d19dd
JB
2173Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
2174
2175 * The more things change...
2176
2177