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