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