Add support for POSIX regular expressions.
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
36539a15
JB
1Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
2
3 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
4 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
5 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
6 threads.scm: New address for FSF.
7
142ad3d9
JB
8Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
9
10 * debug.scm: Update copyright years; this file has been worked on
36539a15 11 in 1997.
142ad3d9 12
cafa4c68
GH
13Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
14
15 * expect.scm: use gettimeofday instead of get-internal-real-time
16 and use a floating point timeout when calling select. Untested,
17 since the regex library is currently AWOL.
18
223be5f0
JB
19Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
20
21 * boot-9.scm (eval-string): Function deleted; it was already
22 implemented in C, so there's no point in making a divergable copy
23 here.
24
9b01064c
JB
25Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
26
27 * Makefile.in: Regenerated, using automake-1.1p.
28
29Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
30
31 * Makefile.in: Regenerated, using automake-1.1p.
32
1fbc60b2
GH
33Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
34
35 * boot-9.scm (error-catching-loop): don't read a line from
36 current input when quit is encountered, the previous change
37 fixes this too.
38
c7d97590
JB
39Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
40
41 * boot-9.scm (scm-style-repl): After reading an expression,
42 consume any trailing newline (perhaps preceded by whitespace), to
43 avoid screwing up GDB. More detail in comments.
44
6b3f3366
JB
45Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
46
47 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
48 the Scheme code like code yet.
49 * Makefile.in: Resrac,husrched.
50
eea324ee
MV
51Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
52
53 * boot-9.scm (link-dynamic-module): Do not catch errors from
54 dynamic-link and dynamic-call. When the shared library exists it
55 is now assumed to be suitable for a dynamic C module.
56
ef79b65b
MV
57Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
58
59 * boot-9.scm (process-use-modules): New function to support the
60 use-modules macro
61 (use-modules): throw an error iff one of the requested modules
62 can't be found.
63
3be77013
GH
64Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
65
66 * boot-9.scm: don't define timer-thunk or gc-thunk.
67
28c682fa
JB
68Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
69
70 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
71
72 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
73 we're not using AM_INIT_GUILE_MODULE any more.
74 * Makefile.in: Regeneratitetedrerd.
75
20108301
JB
76Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
77
819f936b
JB
78 Get 'make dist' to work again.
79 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
80 * Makefile.in: Regenerated, like two tons of fleas.
81
20108301
JB
82 Changes for reduced Guile distribution: one configure script,
83 no plugins.
84 * configure.in, configure: Removed.
85 * Makefile.in: Regenerated.
86
dab94cac
JB
87Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
88
48d224d7 89 * boot-9.scm (eval-string, command-line, load-user-init): New
dab94cac
JB
90 functions.
91
65495221
GH
92Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
93
94 * boot-9.scm (log10): defined.
95
708bf0f3
GH
96Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
97
98 * expect.scm (expect-select): correct the millisecond timeout
99 arithmetic (from Marko.Kohtala@ntc.nokia.com).
100
101Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
102
103 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
104 instead of in libguile.
105 (tm:sec etc.) new accessors for broken-down time.
106 (set-tm:sec etc.) new setters for broken-down time.
107
9337637f
GH
108Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
109
110 * boot-9.scm (netent:addrtype, servent:port): added missing
111 procedures.
112 (netent:net, servent:proto): repaired.
113 (utsname:sysname etc.): new accessors for uname.
114
115Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
116
117 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
118 sockaddr:port): new functions.
119
bce074ee
GH
120Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
121
122 * boot-9.scm: define accessor procedures for the objects returned
123 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
124 passwd:name, where the first component is the name of the C structure
125 and the second is the unprefixed C member name.)
126
127Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
128
095936d2 129 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
bce074ee
GH
130 setservent): no longer take an argument, it was bogus.
131
81e2a235
GH
132Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
133
134 * boot-9.scm (scm-error): deleted, reimplemented in C.
135
04798288
MD
136Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
137
138 * boot-9.scm (process-define-module): Modified to handle both
139 keywords and symbols.
140
75a97b92
GH
141Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
142
143 * slib.scm: update read usage.
144
145 * r4rs.scm: update primitive-load usage.
146 Don't define read-sharp.
147
148 * boot-9.scm: use read-hash-extend to install extra read syntax.
149 (read-sharp): removed.
150 Adjust usage of primitive-load-path, read, which no longer take
151 case_i or read-sharp arguments.
152
63a3d814
MD
153Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
154
90d5e280
MD
155 * boot-9.scm: Added loading of session support module.
156
63a3d814
MD
157 * debug.scm: Removed `display-application'. (Replaced by
158 primitive procedure.)
159
160 * boot-9.scm (beautify-user-module!): Don't add the root module
161 interface to the end of the use-list of the root module.
162
75a97b92
GH
163Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
164
165 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
166
f3c23298
GH
167Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
168
169 * boot-9.scm: check use-emacs-interface for emacs support.
170
7950df7c
GH
171Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
172
173 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
174 read gets EOF.
175 * (exit): alias for quit.
176
8e44e7a0
GH
177Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
178
179 * boot-9.scm (error-catching-loop thunk): use a status variable to
180 return the quit args.
181 (scm-style-repl): call -quit, passing return value from
182 error-catching-repl. Make -quit return its args.
1a36eef2 183 stand-alone-repl: comment out, since it seems unused.
7950df7c 184
8e44e7a0
GH
185 (error-catching-loop thunk): discard trailing junk after a (quit).
186
9a942103
MD
187Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
188
06a02069
MD
189 * boot-9.scm: Removed the old printer code.
190
191 * r4rs.scm (apply, call-with-current-continuation): Added comment
192 explaining why apply and call/cc need to be closures.
193
194 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
195 Removed. These definitions are already present in r4rs.scm.
196
9a942103
MD
197 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
198 stack before printing traced frames; Re-enable trace flag at end
199 of handlers.
200
e6875011
MD
201Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
202
59e1116d
MD
203 * debug.scm: Add hook for reset of trace level at abort.
204
205 * boot-9.scm (run-hooks): New procedure.
206 (add-hooks!): New macro.
207 Change hooks to use these functions.
208
095936d2 209 * debug.scm: *Warning* This feature is a bit premature. I add
e6875011
MD
210 it anyway because 1. it is very useful, and, 2. you can start
211 making it less premature by complaining to me and by modifying
212 the source! :-)
213 (trace): Given one or more procedure objects, trace each one.
214 Given no arguments, show all traced procedures.
215 (untrace): Given one or more procedure objects, untrace each one.
216 Given no arguments, untrace all traced procedures. The tracing in
217 Guile have an advantage to most other systems: We don't create new
218 procedure objects, but mark the procedure objects themselves.
219 This means that also anonymous and internal procedures can be
220 traced.
221
222 * boot-9.scm (error-catching-loop): Added handling of apply-frame
223 and exit-frame exceptions.
224
095936d2 225 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
e6875011
MD
226 (set-repl-prompt!): Setter for repl prompt.
227 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
228 string, display it; if prompt is a thunk, call it and display its
229 result; otherwise display "> ".
230 (Change suggested by Roland Orre <orre@nada.kth.se>.)
0065d90e
MD
231
232 * r4rs.scm (%load-verbosely): Reverted change to
233 `module-defined?', since the module system isn't bootstrapped when
234 we load r4rs.scm. This is just a temporary fix to make the
235 repository version runnable.
236
eb52a06b
MD
237Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
238
239 * boot-9.scm: Removed the enabling of debug evaluator and
240 recording of source code positions. This was placed there for our
241 convenience, but it has already sneaked into the distribution
242 once... so we'd better add this in our local copies instead when
243 we need it. (These options are normally enabled at the end of
244 boot-9.scm when loading the debug module.)
245
d18d1b6d
MV
246Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
247
248 * boot-9.scm (module-defined?): New function.
249 (macroexpand-1, macroexpand): Use local-ref instead of defined?
250 and eval.
251 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
252 "defined?".
253 * slib.scm (defined?): New function to take the place of the
254 builtin "defined?". It allways examines the slib module.
255
15ae1bee
MD
256Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
257
258 * configure.in: Added AM_MAINTAINER_MODE
259
c2132276
GH
260Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
261
262 * boot-9.scm (read-sharp): define directly, don't go through a
263 %read-sharp layer.
264
265Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
266
267 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
268 uniform-vector-set1! which doesn't exist.
269
d590bbf6
MD
270Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
271
272 * boot-9.scm (backtrace): Removed. (A C version now exists in
273 backtrace.c.)
274
1e531c3a
GH
275Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
276
277 * boot-9.scm (read-line!, read-delimited!, read-delimited,
278 read-line): new procedures, see libguile/ChangeLog.
279
bb0102f7
MV
280Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
281
282 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
283
284 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
285 init-dynamic-module, dynamic-maybe-call,
286 find-and-link-dynamic-module, link-dynamic-module,
287 try-module-dynamic-link, registered-modules): New definitions for
288 dynamic linking of modules.
289 (resolve-module): Try to dynamically link the requested module
290 after failing to load it as Scheme code.
291
920235cc
GH
292Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
293
294 * boot-9.scm (getservbyport, getservbyname): remove stray %.
295
198befde
JB
296Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
297
298 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
299 that's what it is.
300
301 * lineio.scm (make-line-buffering-input-port): Properly test for
302 the case of an empty buffer list. The old code assumed that '()
303 was false.
304
33cf699f
MD
305Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
306
095936d2 307 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
33cf699f
MD
308 (use-modules <module name> ...) Put the the modules named by
309 <module name> ... on the use list of the current module.
310
7a818853
JB
311Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
312
313 * boot-9.scm (error-catching-loop): Remove message saying that
314 typing "$" will put you in the debugger. This isn't implemented
315 yet.
316
506067f0
JB
317Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
318
319 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
320 been fixed, so this function is superfluous.
321 (transform-usage-lambda): Use delq!, not delq-all!.
322
2ebf3156
MV
323Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
324
7a818853 325 * boot-9.scm (resolve-module): New optional parameter that
2ebf3156
MV
326 controls whether autoloading is attempted or not. Default is #t.
327 (process-define-module): Don't autoload the defined module.
328 (try-module-autoload): Don't autoload the directory modules.
329
7a818853 330 * boot-9.scm (process-define-module): Ensure that the-scm-module
2ebf3156
MV
331 is last in the `uses' list to allow shadowing builtin
332 bindings. All :use-module options are added in the order they
333 appear in the arguments but before anything already on the list
334 (such as the-scm-module).
335
00f06035
GH
336Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
337
338 * slib.scm (slib-parent-dir): throw error if #f returned from
339 %search-load-path.
340
733943b9
TT
341Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
342
343 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
344 * Makefile.am, aclocal.m4: New files.
345 * configure.in: Updated for Automake.
346
84abd243
MV
347Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
348
349 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
350 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
351 function, use it accordingly.
352
a31bc6fb
JB
353Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
354
355 It's an "eval closure", not an "eval thunk." A thunk is a
356 function of no arguments.
357 * boot-9.scm (module-type): Rename module field.
358 (make-module, eval-in-module, make-root-module,
359 set-current-module): Uses changed.
360 (module-eval-closure, set-module-eval-closure!,
361 root-module-closure): Renamed from module-eval-thunk,
362 set-module-eval-thunk!, root-module-thunk.
363 (set-current-module): Change uses of *top-level-lookup-thunk* to
364 *top-level-eval-closure*.
365
3763761c
JB
366Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
367
368 * slib.scm (slib-parent-dir): Use string-length, not length.
369 (Thanks to Bernard Urban.)
370
7ad737b6
MD
371Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
372
7a818853 373 * boot-9.scm: The debugging evaluator and recording of positions
7ad737b6
MD
374 aren't enabled by default any longer (they are switched on in
375 debug.scm). But during development we want to have them also
376 *inside* boot-9.scm. Therefore, two lines are added at the
377 beginning of boot-9.scm to enable these.
378
379 Call `provide' so that `records' are included among the
380 `*features*'.
381
382 The scheme for saving the stack has been adjusted: save-stack is
383 now commonly available for saving the stack. Calling `save-stack'
384 sets a flag `stack-saved?' which prevents overwriting the stack.
385 `stack-saved?' is reset at `abort'.
386
387 Spelling correction: seperate --> separate.
388
389 Removed `:'s that had creeped into some comments.
390
7a818853 391 The repl now doesn't print #<unspecified> results any longer
7ad737b6
MD
392 If the user wants to see this, he can do
393 (assert-repl-print-unspecified #t) in his startup file.
394
7a818853 395 The user now gets a friendly message instead of a backtrace at
7ad737b6
MD
396 error.
397
398 Added `before-read-hook'.
399
400 Load module (ice-9 emacs) if option `-e' was specified.
401
402 (provide): New function.
403
404 (error): Save stack at entry, so that Guile entrails won't show up
405 in backtraces.
406
407 (backtrace): New function.
408
7a818853 409 (save-stack): Can now take arbitrary number of stack narrowing
7ad737b6
MD
410 specifier pairs. The first specifier in a pair controls inner
411 border, the second the outer border. A number means cut that
412 number of frames, a procedure object means cut until that object
413 is found in operator position in a frame.
414
415 * debug.scm: Enable debugging evaluator and recording of positions
416 by default.
417
418 * slib.scm (slib:load): Adapt to the new behavior of
419 primitive-load: It doesn't any longer try both with and without
420 ".scm" extension. (We don't want to use %search-load-path here.)
421
422 (implementation-vicinity): New function. slib requires it
423
424 (library-vicinity): Updated.
425
426 Load "require.scm" in the library-vicinity.
427
428 (install-require-vicinity, install-require-module): New functions.
429
99f97bfe
JB
430Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
431
581a242b
JB
432 * boot-9.scm (load-from-path): New function.
433
434 * boot-9.scm (try-load, basic-try-load, try-load-module,
435 try-load): Deleted. I don't think they're being used.
436
48be3fb3
JB
437 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
438 so they'll get distributed.
439
440 Get Guile to be a little less chatty by default. The new user
441 should see as little clutter as possible.
442 * r4rs.scm (%load-verbosely): Make this #f by default.
443 * boot-9.scm (scm-repl-verbose): Make this #f by default.
444 (scm-style-repl): Don't run 'pk' on the value passed to quit.
445
446 * r4rs.scm: New file.
447 * boot-9.scm: Load r4rs.scm, first thing.
448 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
449 open-output-file, open-io-file, close-input-port,
450 close-output-port, close-io-port, call-with-input-file,
451 call-with-output-file, with-input-from-port, with-output-to-port,
452 with-error-to-port, with-input-from-file, with-output-to-file,
453 with-error-to-file, with-input-from-string, with-output-to-string,
454 with-error-to-string, the-eof-object): Definitions moved to
455 r4rs.scm. Not all of them are R4RS, but those that are use those
456 that are not.
457 (load, %load-verbosely, %load-announce): Moved, along with code to
458 set %load-hook, to r4rs.scm.
459
460 * test.scm: New file.
461
462 * boot-9.scm (integer?): Definition deleted, in favor of the one
463 present in libguile (which used to be called int?). I have no
464 idea why integer? didn't just call int? to begin with.
465
466 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
467 =?, >?, and >=? deleted; they're defined that way by libguile now.
468
99f97bfe
JB
469 * boot-9.scm (load): Simplified; primitive-load does most of this
470 work now.
471 (%load-announce-win): Removed; no longer used. Set %load-hook to
472 call %load-announce.
473
3afb28ce
GH
474Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
475
4fe3604d
JB
476 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
477 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
478 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
479 components.
3afb28ce
GH
480 (file-is-directory?): use stat:type.
481
3065a62a
JB
482Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
483
484 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
485 that's now taken care of in libguile, and in a way compatible with
486 SCSH (which this isn't).
487
e4c5095f
JB
488Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
489
490 * boot-9.scm: Formatting tweaks.
491
1bb961a3
MD
492Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
493
494 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
495 after-error-hook, before-backtrace-hook and after-backtrace-hook
496 to the error handler. E.g.: fancy emacs support could plug into
497 these.
498 (save-stack): New function. The stack is now made differently
499 depending on the stack id. (The motivation is to make a better
500 choice regarding what stack frames to present to the user.)
501 (error-catching-loop): Stack handling code moved outside into
502 save-stack.
503
9a0d70e2
GH
504Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
505
d7189b49
GH
506 * Makefile.in (scm_files): add expect.scm.
507
508 * expect.scm: new file ported from guile-iii.
509
9a0d70e2
GH
510 * boot-9.scm: remove handle-system-error, after moving the code into
511 error-catching-loop.
512 Don't set 'throw-handler-default property on error keys.
513 Just interpret (almost) any throw with 4 args as an error throw.
514 Delete some try-load stuff that was already commented out.
515
35c5db87
GH
516 Second thoughts, keep handle-system-error but call it from
517 error-catching-loop.
518
d065b65f
JB
519Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
520
aa9576ad
JB
521 * boot-9.scm: Doc fixes.
522 (make-module): Rework for readability.
523 (make-root-module, make-scm-module): USES argument to make-module
524 should be '(), not #f.
525
d065b65f
JB
526 * boot-9.scm (try-load): %sys-load-path has been renamed to
527 primitive-load-path; adjust call here.
528
c01c94bf
MD
529Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
530
d065b65f 531 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
c01c94bf
MD
532 the stack to the correct place: when it is decided to generate an
533 error-signal.
534
2dfc85c0
MD
535Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
536
537 * boot-9.scm (error-catching-loop, signal-handler,
538 handle-system-error): Backtracing now works for signals aswell;
539 Backtracing mechanism can now identify the stack root created by
540 start-stack so that the user isn't exposed to system stack frames.
541
84d8ad97
MD
542Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
543
544 * Makefile.in: Added threads.scm.
545
4f0292cf
MD
546Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
547
548 * debug.scm (make-enable, make-disable): Simplified.
549
550 * boot-9.scm: Renamed %%throw-handler-default -->
551 throw-handler-default.
552 ((handle-system-error key . arg-list)): Changed the way errors are
553 reported.
554 ((scm-style-repl)): Wrap up the call to eval in a start-stack
555 acro.
556 ((error-catching-loop thunk)): Introduce a lazy-catch into
557 error-catching-loop so that the stack can be captured.
558
1eaceb61
JB
559Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
560
561 * mapping.scm (hash-table-mapping): Explicitly request that
562 make-vector fill new vectors with '(); this will make it easier to
563 port Guile Scheme code to other Schemes.
564 * boot-9.scm (make-print-style, make-print-table): Same.
565
6fa8995c
GH
566Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
567
568 * boot-9.scm (load): rewritten again.
569 Append "." to the default %load-path.
570 (feature?): new function: checks for a symbol in the features list.
571 (module-local-variable): remove apparently useless (caddr (list m v
572 ...))
573 (%load-announce): minor formatting change.
574 (file-exists?): use access? if posix is featured.
575 (file-is-directory?): use stat if i/o-extensions is featured.
576 (try-module-autoload module-name): use file-exists? before
577 file-is-directory?
578
8b4a21d1
MD
579Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
580
8acae5bb
MD
581 * boot-9.scm: Added conditional loading of threads.scm.
582
583 * threads.scm: New file. Modified from the Cygnus-r0.3
584 distribution.
585
8b4a21d1
MD
586 * boot-9.scm (error-catching-loop): Added handling of key
587 `switch-repl'.
588
589 * boot-9.scm: Name change %%bad-throw --> bad-throw.
590
c90c9685
JB
591Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
592
593 * boot-9.scm (make-record-type, record-constructor): Don't assume
594 the empty list is false when parsing the argument list.
595
596Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
597
598 * boot-9.scm (signal-handler): Clean up logic.
599
600 * boot-9.scm (load): Assume %load-path is always bound.
601
5552355a
GH
602Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
603
604 * boot-9.scm (error): replace another throw with scm-error. Throw
605 to 'misc-error instead of 'error (no need to distinguish these.)
606 Don't set up 'error as a key.
607 Set up regex-error as a key, if regex is available.
608 (signal-handler): use scm-error, not throw.
609
7a818853 610 (%try-load, try-load-with-path, %load, load-with-path,
5552355a
GH
611 basic-try-load-with-path, basic-load-with-path,
612 try-load-module-with-path,load-module-with-path): deleted, since
613 they seem redundant.
614 (try-load): define using %try-load, not try-load-with-path.
7a818853 615 (load): rewritten. load tries to open the file directly and
5552355a
GH
616 with a .scm extension before searching the library directories
617 (should "." be added to %load-path? then load could still open
618 directly files starting with "/").
619 (try-module-autoload): use load, not load-with-path.
620 (%load-indent): deleted, -2 was causing errors.
621
622 (%read-sharp): use port-line, not line-number.
623
c90c9685
JB
624Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
625
626 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
627 straightforward to provide the equivalent functionality using
628 (catch #t ...), so there's no need for the extra complexity. 2)
629 Outside the context of a read-eval-print loop (which Guile should
630 not require) it's not clear we should do anything more complicated
631 than print an error and exit; the user or REPL can establish
632 something better if it wants. 3) In that case, it's much more
633 robust to just do it in the C code.
634
855c0eac
GH
635Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
636
637 * boot-9.scm (%try-load): define using primitive-load. Previously
638 %try-load itself was the primitive.
639 (load-with-path): use scm-error instead of %load-announce-lossage.
640 Errors are thrown to 'misc-error instead of 'could-not-load.
641 (%load-announce-lossage): deleted.
642
a0c97697
MD
643Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
644
645 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
646 (make-record-type type-name fields): Temporarily remove support
647 for printing of records (not possible yet with C printer).
648
be2d2c70
GH
649Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
650
651 * boot-9.scm (file-exists?, file-is-directory): catch only
652 system-error, not every kind of error.
653 (scm-error): new procedure.
654
434bf5ce
JB
655Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
656
657 * boot-9.scm: Formatting tweaks.
658
2194b6f0
GH
659Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
660
661 * boot-9.scm (%%handle-system-error key): remove the code for
662 SCM-style errors. handle the case that an unexpected number
663 of args are supplied.
664 (%%system-errors): removed.
665 (error): redefine using a throw with key and 4 args.
666 ('error): associate 'error, 'error-signal keys with
667 %%handle-system-error.
668 (%%default-error-handler): removed.
669 (signal-handler): throw with 4 args and use the error-signal key.
670 Create an error message instead of using numerical codes.
671 (%%bad-throw): call error instead of throw if key not found.
672
673Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
674
675 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
676 (%%handle-system-error key): check subr is not #f before printing.
677 Recognize %s (embed an argument using "display") and
678 %S (embed an argument using "write").
679
234f2da6
GH
680Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
681
682 * boot-9.scm (%%handle-system-error key): set args and rest to
683 the empty list if they are #f.
684 Initialize out-of-range as an error key.
685
e1724d20
GH
686Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
687
40c8906e
GH
688 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
689
e1724d20
GH
690 * boot-9.scm: remove leading %% from references to '%%system-error.
691 (%%handle-system-error): don't pass all the thrown arguments when
692 aborting, just the key and subr.
693 Remove the code to "Install default handlers for built-in errors."
694 Remove the definition of the syserror procedure.
695 Associate 'numerical-overflow with default handler.
696
1a80fb07
MD
697Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
698
699 * boot-9.scm: Name change: value-ref --> local-ref
700 resolved-ref --> nested-ref Motivation: conformance to the other
701 dictionary operators: list-ref operates on list, vector-ref
702 operates on vector, nested-ref operates on nested namespace,
703 local-ref operates on the local nested namespace.
704
7cb1d4d3
GH
705Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
706
707 * boot-9.scm (%%handle-system-error): recognise errors thrown
708 by lgh-error (fill-message etc.)
9561554c 709 (fill-message): check first whether args is null.
a949b3f2 710 (fill-message): bug fix and check that args is a list.
7cb1d4d3 711
393ee9a8
JB
712Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
713
714 * boot-9.scm: %load-path is initialized in C code now.
715 (implementation-vicinity, parse-path): Deleted, along with code to
716 initialize %load-path.
717
718 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
719 "/", use one to separate it from the file.
720
e4ef46d4
JB
721Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
722
723 * boot-9.scm (%load-path): Add the site directory.
724 Add the directory named after the version number.
725 Prepend the version number to the other directories in the path.
726 Simplify by mapping the common prefix onto each item.
727 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
728 sitedatadir): New definitions.
729 (libparent, libdir, install_path): Replaced by above.
730 (install): Create the above directories.
731 Put the source files into subpkgdatadir.
732 (uninstall): Remove the above directories.
733
00312aa3
JB
734Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
735
736 Don't use the PLUGIN system to gather information for the
737 Makefile's distribution and installation targets; just put it all
738 in the Makefile directly.
739 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
740 for these.
741 * configure.in: Remove code that gets and substitutes scm_files and
742 aux_files.
743 * Makefile.in (scm_files, aux_files): Write out the list of files
744 here, where people expect to find them.
745
96a8aaf3
MD
746Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
747
748 * boot-9.scm: Preliminary solution: optionally load the debug
7685f77c 749 module. Changed "gls" to "guile1.0b3".
96a8aaf3
MD
750
751 * debug.scm: New file: debug extensions.
752
4e378733
MD
753Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
754
755 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
756 weak-key-hash-table?. (Again!)
757
0190d683
MD
758Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
759
760 * boot-9.scm (print-vector, macro-table, xformer-table):
761 Renamed weak-hash-table --> weak-key-hash-table.
762
763 * poe.scm (funcq-memo): Renamed weak-hash-table -->
764 weak-key-hash-table.
765
8b13c6b3
GH
766Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
767
768 * boot-9.scm (*null-device*): global constant from goonix.
769 (move->fdes): adjusted for boolean primitive-move->fdes. return
770 the modified port, always set revealed count to 1 (SCSH compatible).
771 (release-port-handle port): from goonix (SCSH compatible).
772 (%open-file): removed.
773 (open-input-file, open-output-file, file-exists?, file-is-directory?):
774 modified for open-file change (does not return #f).
775
a44a755d
JB
776Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
777
778 * Makefile.in (dist-dir): New target for new dist system.
779 (manifest): Deleted.
780 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
781 directory, and needs special treatment in the dist-dir target.
782
02b754d3
GH
783Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
784
785 * boot-9.scm: remove the wrappers for '%' system primitives,
786 now that they throw errors directly.
787 remove make-simple-wrapper and similar functions.
788 protect a call to getenv which may now throw an exception.
789
790Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
791
792 * boot-9.scm (false-if-exception): new macro.
793
0f2d19dd
JB
794Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
795
796 * The more things change...
797
798