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