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