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