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