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