1 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
3 * boot-9.scm (load): Simplified; primitive-load does most of this
5 (%load-announce-win): Removed; no longer used. Set %load-hook to
8 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
10 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
11 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
12 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
14 (file-is-directory?): use stat:type.
16 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
18 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
19 that's now taken care of in libguile, and in a way compatible with
20 SCSH (which this isn't).
22 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
24 * boot-9.scm: Formatting tweaks.
26 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
28 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
29 after-error-hook, before-backtrace-hook and after-backtrace-hook
30 to the error handler. E.g.: fancy emacs support could plug into
32 (save-stack): New function. The stack is now made differently
33 depending on the stack id. (The motivation is to make a better
34 choice regarding what stack frames to present to the user.)
35 (error-catching-loop): Stack handling code moved outside into
38 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
40 * Makefile.in (scm_files): add expect.scm.
42 * expect.scm: new file ported from guile-iii.
44 * boot-9.scm: remove handle-system-error, after moving the code into
46 Don't set 'throw-handler-default property on error keys.
47 Just interpret (almost) any throw with 4 args as an error throw.
48 Delete some try-load stuff that was already commented out.
50 Second thoughts, keep handle-system-error but call it from
53 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
55 * boot-9.scm: Doc fixes.
56 (make-module): Rework for readability.
57 (make-root-module, make-scm-module): USES argument to make-module
58 should be '(), not #f.
60 * boot-9.scm (try-load): %sys-load-path has been renamed to
61 primitive-load-path; adjust call here.
63 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
65 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
66 the stack to the correct place: when it is decided to generate an
69 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
71 * boot-9.scm (error-catching-loop, signal-handler,
72 handle-system-error): Backtracing now works for signals aswell;
73 Backtracing mechanism can now identify the stack root created by
74 start-stack so that the user isn't exposed to system stack frames.
76 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
78 * Makefile.in: Added threads.scm.
80 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
82 * debug.scm (make-enable, make-disable): Simplified.
84 * boot-9.scm: Renamed %%throw-handler-default -->
85 throw-handler-default.
86 ((handle-system-error key . arg-list)): Changed the way errors are
88 ((scm-style-repl)): Wrap up the call to eval in a start-stack
90 ((error-catching-loop thunk)): Introduce a lazy-catch into
91 error-catching-loop so that the stack can be captured.
93 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
95 * mapping.scm (hash-table-mapping): Explicitly request that
96 make-vector fill new vectors with '(); this will make it easier to
97 port Guile Scheme code to other Schemes.
98 * boot-9.scm (make-print-style, make-print-table): Same.
100 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
102 * boot-9.scm (load): rewritten again.
103 Append "." to the default %load-path.
104 (feature?): new function: checks for a symbol in the features list.
105 (module-local-variable): remove apparently useless (caddr (list m v
107 (%load-announce): minor formatting change.
108 (file-exists?): use access? if posix is featured.
109 (file-is-directory?): use stat if i/o-extensions is featured.
110 (try-module-autoload module-name): use file-exists? before
113 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
115 * boot-9.scm: Added conditional loading of threads.scm.
117 * threads.scm: New file. Modified from the Cygnus-r0.3
120 * boot-9.scm (error-catching-loop): Added handling of key
123 * boot-9.scm: Name change %%bad-throw --> bad-throw.
125 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
127 * boot-9.scm (make-record-type, record-constructor): Don't assume
128 the empty list is false when parsing the argument list.
130 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
132 * boot-9.scm (signal-handler): Clean up logic.
134 * boot-9.scm (load): Assume %load-path is always bound.
136 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
138 * boot-9.scm (error): replace another throw with scm-error. Throw
139 to 'misc-error instead of 'error (no need to distinguish these.)
140 Don't set up 'error as a key.
141 Set up regex-error as a key, if regex is available.
142 (signal-handler): use scm-error, not throw.
144 * (%try-load, try-load-with-path, %load, load-with-path,
145 basic-try-load-with-path, basic-load-with-path,
146 try-load-module-with-path,load-module-with-path): deleted, since
148 (try-load): define using %try-load, not try-load-with-path.
149 * (load): rewritten. load tries to open the file directly and
150 with a .scm extension before searching the library directories
151 (should "." be added to %load-path? then load could still open
152 directly files starting with "/").
153 (try-module-autoload): use load, not load-with-path.
154 (%load-indent): deleted, -2 was causing errors.
156 (%read-sharp): use port-line, not line-number.
158 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
160 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
161 straightforward to provide the equivalent functionality using
162 (catch #t ...), so there's no need for the extra complexity. 2)
163 Outside the context of a read-eval-print loop (which Guile should
164 not require) it's not clear we should do anything more complicated
165 than print an error and exit; the user or REPL can establish
166 something better if it wants. 3) In that case, it's much more
167 robust to just do it in the C code.
169 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
171 * boot-9.scm (%try-load): define using primitive-load. Previously
172 %try-load itself was the primitive.
173 (load-with-path): use scm-error instead of %load-announce-lossage.
174 Errors are thrown to 'misc-error instead of 'could-not-load.
175 (%load-announce-lossage): deleted.
177 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
179 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
180 (make-record-type type-name fields): Temporarily remove support
181 for printing of records (not possible yet with C printer).
183 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
185 * boot-9.scm (file-exists?, file-is-directory): catch only
186 system-error, not every kind of error.
187 (scm-error): new procedure.
189 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
191 * boot-9.scm: Formatting tweaks.
193 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
195 * boot-9.scm (%%handle-system-error key): remove the code for
196 SCM-style errors. handle the case that an unexpected number
197 of args are supplied.
198 (%%system-errors): removed.
199 (error): redefine using a throw with key and 4 args.
200 ('error): associate 'error, 'error-signal keys with
201 %%handle-system-error.
202 (%%default-error-handler): removed.
203 (signal-handler): throw with 4 args and use the error-signal key.
204 Create an error message instead of using numerical codes.
205 (%%bad-throw): call error instead of throw if key not found.
207 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
209 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
210 (%%handle-system-error key): check subr is not #f before printing.
211 Recognize %s (embed an argument using "display") and
212 %S (embed an argument using "write").
214 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
216 * boot-9.scm (%%handle-system-error key): set args and rest to
217 the empty list if they are #f.
218 Initialize out-of-range as an error key.
220 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
222 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
224 * boot-9.scm: remove leading %% from references to '%%system-error.
225 (%%handle-system-error): don't pass all the thrown arguments when
226 aborting, just the key and subr.
227 Remove the code to "Install default handlers for built-in errors."
228 Remove the definition of the syserror procedure.
229 Associate 'numerical-overflow with default handler.
231 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
233 * boot-9.scm: Name change: value-ref --> local-ref
234 resolved-ref --> nested-ref Motivation: conformance to the other
235 dictionary operators: list-ref operates on list, vector-ref
236 operates on vector, nested-ref operates on nested namespace,
237 local-ref operates on the local nested namespace.
239 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
241 * boot-9.scm (%%handle-system-error): recognise errors thrown
242 by lgh-error (fill-message etc.)
243 (fill-message): check first whether args is null.
244 (fill-message): bug fix and check that args is a list.
246 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
248 * boot-9.scm: %load-path is initialized in C code now.
249 (implementation-vicinity, parse-path): Deleted, along with code to
250 initialize %load-path.
252 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
253 "/", use one to separate it from the file.
255 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
257 * boot-9.scm (%load-path): Add the site directory.
258 Add the directory named after the version number.
259 Prepend the version number to the other directories in the path.
260 Simplify by mapping the common prefix onto each item.
261 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
262 sitedatadir): New definitions.
263 (libparent, libdir, install_path): Replaced by above.
264 (install): Create the above directories.
265 Put the source files into subpkgdatadir.
266 (uninstall): Remove the above directories.
268 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
270 Don't use the PLUGIN system to gather information for the
271 Makefile's distribution and installation targets; just put it all
272 in the Makefile directly.
273 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
275 * configure.in: Remove code that gets and substitutes scm_files and
277 * Makefile.in (scm_files, aux_files): Write out the list of files
278 here, where people expect to find them.
280 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
282 * boot-9.scm: Preliminary solution: optionally load the debug
283 module. Changed "gls" to "guile1.0b3".
285 * debug.scm: New file: debug extensions.
287 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
289 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
290 weak-key-hash-table?. (Again!)
292 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
294 * boot-9.scm (print-vector, macro-table, xformer-table):
295 Renamed weak-hash-table --> weak-key-hash-table.
297 * poe.scm (funcq-memo): Renamed weak-hash-table -->
300 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
302 * boot-9.scm (*null-device*): global constant from goonix.
303 (move->fdes): adjusted for boolean primitive-move->fdes. return
304 the modified port, always set revealed count to 1 (SCSH compatible).
305 (release-port-handle port): from goonix (SCSH compatible).
306 (%open-file): removed.
307 (open-input-file, open-output-file, file-exists?, file-is-directory?):
308 modified for open-file change (does not return #f).
310 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
312 * Makefile.in (dist-dir): New target for new dist system.
314 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
315 directory, and needs special treatment in the dist-dir target.
317 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
319 * boot-9.scm: remove the wrappers for '%' system primitives,
320 now that they throw errors directly.
321 remove make-simple-wrapper and similar functions.
322 protect a call to getenv which may now throw an exception.
324 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
326 * boot-9.scm (false-if-exception): new macro.
328 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
330 * The more things change...