Commit | Line | Data |
---|---|---|
15631a33 MD |
1 | 1999-06-04 Dirk Herrmann <D.Herrmann@tu-bs.de> |
2 | ||
3 | * boot-9.scm (iota): replaced by a tail recursive version. | |
4 | (reverse-iota): removed. | |
5 | ||
8d8fc9da MD |
6 | 1999-06-03 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> |
7 | ||
8 | * optargs.scm (lambda*): Bugfix: Replaced ARGLIST --> | |
9 | non-optional-args. (Thanks to David Lutterkort.) | |
10 | ||
7c1ce4ee JB |
11 | 1999-05-09 Jim Blandy <jimb@savonarola.red-bean.com> |
12 | ||
13 | * string-case.scm: Removed; functions moved to libguile/strop.c | |
14 | (which could be dynamically linked in the future anyway). | |
e7d37b0a JB |
15 | * Makefile.am (ice9_sources): Don't list string-case.scm. |
16 | * Makefile.in: Regenerated. | |
7c1ce4ee JB |
17 | * format.scm: Don't bother importing (ice-9 string-case). |
18 | ||
b7e13f65 JB |
19 | 1999-05-02 Jim Blandy <jimb@savonarola.red-bean.com> |
20 | ||
21 | * boot-9.scm (provided?): New function. | |
22 | ||
23 | * Makefile.am: Add string-case.scm and format.scm to ice9_sources. | |
24 | * Makefile.in: Regenerated. | |
25 | ||
26 | * string-case.scm: New file, brought in from SLIB, and adapted to | |
27 | Guile's module system. | |
28 | ||
29 | * format.scm: New file, brought in from SLIB, with the following | |
30 | changes: | |
31 | (format:format): If the first argument is the format string, stick | |
32 | a #f on the front of it, so it is now a valid CL format argument | |
33 | list. This is easier than changing everyplace else (like the | |
34 | error formatter) that expects it to be in CL form. The other | |
35 | clause which explicitly tests for this case is now dead code. | |
36 | (format:format-work): Allow `@' and `:' in either order, as per | |
37 | modern CL behavior. | |
38 | (format:num->cardinal): Don't assume that an elseless if returns | |
39 | '() when the condition is false. | |
40 | ||
cceae55d JB |
41 | 1999-04-17 Jim Blandy <jimb@savonarola.red-bean.com> |
42 | ||
43 | * Makefile.in: Regenerated. | |
44 | ||
d2b8d4ff MD |
45 | 1999-04-08 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
46 | ||
47 | * boot-9.scm: Provide 'values. | |
48 | ||
b6e17c63 MD |
49 | 1999-03-21 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
50 | ||
51 | * boot-9.scm (process-define-module, use-syntax): Bugfix: | |
52 | :use-syntax should add syntax to using module, not current module. | |
53 | (internal-use-syntax): Removed. | |
54 | ||
e059c0b7 MD |
55 | 1999-03-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
56 | ||
57 | * session.scm (apropos-internal): Modified to comply with new | |
58 | argument order for hash-fold. | |
59 | ||
275b2a7e MD |
60 | 1999-03-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
61 | ||
62 | * boot-9.scm (try-load-module): New procedure. Broken out from | |
63 | resolve-module. | |
64 | (resolve-module): Bugfix: Make it possible for a module at a | |
65 | deeper level (x y z) to depend on a module on a higher (x y). | |
33f8ad2b MD |
66 | |
67 | This also has the desired side-effect that multiple attempts to | |
68 | load a module (e.g. with `use-modules') work until source is | |
69 | actually found for the module (e.g. because the correct catalog | |
70 | has been added to the load path). | |
71 | ||
275b2a7e MD |
72 | Use try-load-module. |
73 | ||
deea77eb MD |
74 | 1999-03-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
75 | ||
76 | * session.scm (system-module): New procedure. Used to switch a | |
77 | module between system and user state. | |
78 | ||
2251c7a4 MD |
79 | 1999-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
80 | ||
81 | * session.scm (apropos-internal): Rewritten using hash-fold. | |
82 | ||
83 | * emacs.scm, session.scm, slib.scm): Added :no-backtrace in module | |
84 | definition. | |
85 | ||
6ee350ad MD |
86 | 1999-03-14 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
87 | ||
88 | * boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to | |
89 | associate a name to the record type descriptor so that the object | |
90 | system can create a wrapper class for it. | |
91 | ||
88124126 MD |
92 | 1999-03-12 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
93 | ||
94 | Improvement of backtraces: Introduces a new stack narrowing | |
95 | specifier, #t, for the inner cut. If the inner cut is specified | |
96 | by #t, `make-stack' will throw away inner stack frames (most | |
97 | recent calls on call chain) up to but excluding the first user | |
98 | stack frame encountered. | |
99 | ||
100 | This specifier is now used in `save-stack' so that the call | |
101 | `(save-stack)' will get the new behaviour. [It is recommended that | |
102 | any error reporting functions written by the user have this call | |
103 | on the outermost expression level (i.e. as a member of the lambda | |
104 | list).] | |
105 | ||
106 | Modules are partitioned into "user" and "system" modules. [I know | |
107 | that some names used here are silly, but I don't have more time to | |
108 | spend on a better solution, especially considering that the module | |
109 | system will be replaced. But if people have better ideas, then | |
110 | please tell me!] | |
111 | ||
112 | System modules are created by adding :no-backtrace among the | |
113 | define-module switches: | |
114 | ||
115 | (define-module (foo) | |
116 | :no-backtrace) | |
117 | ||
118 | Modules which doesn't have the :no-backtrace specifier are user | |
119 | modules. | |
120 | ||
121 | A stack frame is classified as a user frame if it has source code | |
122 | associated with it and if this source code can be proven to come | |
123 | from a user module. If it can be proven to come from a system | |
124 | module it is a system frame. | |
125 | ||
126 | Frames which can't be classified, e.g. application frames, are cut | |
127 | away if they occur between system frames, but are left on the | |
128 | stack if they occur between the last system frame and the first | |
129 | user frame encountered. (Note that the first user frame | |
130 | encountered is the last user code being evaluated!) | |
131 | ||
132 | In some cases the system part of the call chain is introduced by | |
133 | frames which should but can't be proven to be system frames. The | |
134 | following workaround has been implemented: The cutting proceeds | |
135 | over application frames where the operator is marked by the | |
136 | `system-procedure' property. (This has been used to cut away | |
137 | generic function dispatch code in the object system.) | |
138 | ||
139 | * boot-9.scm (set-system-module!): New procedure: Set system/user | |
140 | status of a module.; | |
141 | Mark `the-root-module' and `the-scm-module' as system modules. | |
142 | (process-define-module): Add new keyword :no-backtrace. | |
143 | ||
144 | * boot-9.scm (environment-module): Bugfixed. | |
145 | (set-module-eval-closure!): Add a pointer back from the eval | |
146 | closure to the module. | |
147 | ||
148 | * emacs.scm (emacs-load): Reset port filename after transfer. | |
149 | ||
41f50369 MD |
150 | 1999-03-03 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
151 | ||
152 | * slib.scm (make-random-state): Added for compatibility. | |
153 | ||
fcdd6672 MS |
154 | 1999-02-16 Maciej Stachowiak <mstachow@alum.mit.edu> |
155 | ||
156 | * optargs.scm (lambda*): Handle empty argument lists properly. | |
157 | ||
8d21a2ff JB |
158 | 1999-02-15 Jim Blandy <jimb@savonarola.red-bean.com> |
159 | ||
160 | Fix from Russ McManus: | |
161 | * getopt-long.scm (parse-option-spec): Store 'optional as the | |
162 | value-required? field for options that take optional values. | |
163 | (process-short-option): Grab a value for the option when it takes | |
164 | either an optional or required value. | |
165 | ||
deaceb4e JB |
166 | 1999-02-12 Jim Blandy <jimb@savonarola.red-bean.com> |
167 | ||
168 | * getopt-long.scm: Remove debugging calls to `pk'. | |
169 | ||
4ca48ad4 JB |
170 | * getopt-long.scm: Return list of ordinary arguments as the value |
171 | of the '() key, not `rest'. | |
172 | ||
deaceb4e JB |
173 | A new argument-processing package from Russ McManus. |
174 | * getopt-long.scm: New file. | |
175 | * Makefile.am (ice9_sources): Added getopt-long.scm. | |
176 | * Makefile.in: Regenerated. | |
177 | ||
08394899 MS |
178 | 1999-02-09 Maciej Stachowiak <mstachow@alum.mit.edu> |
179 | ||
180 | * optargs.scm: New file. | |
181 | * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in | |
182 | not regenerated because I don't have the right version of Automake. | |
deaceb4e | 183 | |
2e132553 JB |
184 | 1999-02-06 Jim Blandy <jimb@zwingli.cygnus.com> |
185 | ||
186 | * and-let*.scm: New file, from Michael Livshin. | |
187 | * Makefile.am (ice9_sources): Add and-let* here. | |
188 | * Makefile.in: Regenerated. | |
189 | ||
65a5dccb MD |
190 | 1999-01-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
191 | ||
192 | * slib.scm (install-require-module): Fixed the kludge which loads | |
193 | the slib catalog: Doesn't anylonger assume that the feature tested | |
194 | for isn't loaded. | |
195 | ||
333a4791 JB |
196 | 1998-12-14 Jim Blandy <jimb@zwingli.cygnus.com> |
197 | ||
198 | * Makefile.in: Regenerated. | |
199 | ||
45a02a29 MD |
200 | 1998-12-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
201 | ||
202 | * boot-9.scm (process-define-module): Reverted the change of | |
203 | 1998-11-23 which caused loading of object code if :use-module was | |
204 | applied to the module itself. | |
205 | ||
e7b6c834 MD |
206 | 1998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
207 | ||
208 | * Makefile.am: Removed setf.scm. | |
209 | ||
210 | * setf.scm: Removed. 1. It was buggy. 2. It was unschemey. | |
211 | (These shortcomings were my fault.) | |
212 | ||
bf3c93d1 MD |
213 | 1998-12-10 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
214 | ||
9705d5c2 | 215 | * boot-9.scm (environment-module): New procedure. |
bf3c93d1 | 216 | |
bc9a9137 MD |
217 | 1998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
218 | ||
219 | * Makefile.am: Added setf.scm. | |
220 | ||
221 | 1998-12-05 Christian Lynbech <chl@tbit.dk> | |
222 | ||
223 | * setf.scm: New file. Adds the new forms `setf!' and `setter' | |
224 | which implements generalized references a la Common LISP. | |
225 | ||
71225060 MD |
226 | 1998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
227 | ||
228 | * boot-9.scm (process-define-module): Added new specifier | |
229 | :autoload MODULENAME BINDINGS to the define-module form. | |
230 | The autoload specifier tells the module system to load the module | |
231 | MODULENAME at the first occasion that any variable with its name | |
232 | among BINDINGS is referenced. | |
233 | (make-autoload-interface): New procedure: Constructs a stand-in | |
234 | for the public interface for the module to be autoloaded. | |
235 | ||
3b3085c6 MD |
236 | 1998-12-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
237 | ||
238 | * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t | |
239 | if you don't want the old style hook warnings. | |
240 | ||
49e5d550 MD |
241 | 1998-12-01 Christian Lynbech <chl@tbit.dk> |
242 | ||
243 | * boot-9.scm (try-using-libtool-name): Fix check on dlname to make | |
244 | sure that it isn't empty, as it is when we are only buidling | |
245 | static libraries. | |
246 | ||
afae5cbd MD |
247 | 1998-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
248 | ||
249 | * session.scm (arity): New procedure. | |
250 | ||
3763ac3c MD |
251 | 1998-11-26 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
252 | ||
253 | * boot-9.scm: Use run-hook instead of run-hooks everywhere. | |
254 | ||
7a79c6b4 MD |
255 | 1998-11-26 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
256 | ||
257 | * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary | |
258 | code for backward compatibility until people have had time to | |
259 | adapt to the new hooks. | |
260 | ||
a56eeb46 MD |
261 | 1998-11-23 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
262 | ||
263 | * boot-9.scm (beautify-user-module!): Beautify also if public | |
264 | interface is set to the module itself. In this way we can use | |
265 | beautify-user-module! to beautify a module prepared for object | |
266 | code. | |
267 | (process-define-module): Special case: Try to load object code as | |
268 | well if a module does :use-module on itself. | |
269 | ||
270 | * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from | |
271 | invoke_main_func, we can no longer be sure that all modules have | |
272 | been registered when boot-9.scm is loaded. | |
273 | (register-modules): New function: Register and tag modules | |
274 | registered by scm_register_module_xxx since last call to this | |
275 | function. Modules are tagged with the dynamic object passed as | |
276 | argument. (Already linked modules should be tagged with #f.) | |
277 | (init-dynamic-module, link-dynamic-module): Call register-modules | |
278 | first to register linked modules. | |
279 | ||
280 | * boot-9.scm (init-dynamic-module): Remove module from | |
281 | registered-modules as soon as possible in case we are recursively | |
282 | invoked; Set public interface before doing the dynamic-call. | |
283 | ||
284 | * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map). | |
285 | (abort-hook, before-error-hook, after-error-hook, | |
286 | before-backtrace-hook, after-backtrace-hook, before-read-hook, | |
287 | after-read-hook, exit-hook): Make hooks with `make-hook'. | |
288 | ||
289 | * boot-9.scm: Make hooks first class citizens and make them easier | |
290 | to use from C: | |
291 | (make-hook, add-hook!, remove-hook!, run-hooks): Moved to | |
292 | libguile/feature.c. | |
7e414627 MD |
293 | |
294 | * boot-9.scm: Added warnings about bindings used in | |
295 | libguile/modules.c: the-module, set-current-module, | |
a56eeb46 | 296 | make-modules-in, beautify-user-module!, module-eval-closure. |
7e414627 | 297 | |
dc61592f MD |
298 | 1998-11-21 Mikael Djurfeldt <mdj@kenneth> |
299 | ||
300 | * boot-9.scm (the-environment): New special form: Returns an | |
301 | object representing the current local evaluation environment. | |
302 | This object can be used in `local-eval' and `defined?'. | |
303 | ||
7398c2c2 MD |
304 | 1998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
305 | ||
306 | * boot-9.scm (collect): New syntax. Similar to begin but returns | |
307 | a list of the results of all forms in the sequence instead of the | |
308 | result of the last form. | |
309 | ||
6162a00d | 310 | 1998-11-10 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
e586be78 | 311 | |
00f4b2e8 MD |
312 | * boot-9.scm (values, call-with-values): Moved here from |
313 | syncase.scm. | |
314 | ||
315 | * syncase.scm (values, call-with-values): Moved to boot-9.scm. | |
316 | ||
e586be78 MD |
317 | * boot-9.scm (readline-options, readline-enable, readline.disable, |
318 | readline-set!: New options interface. | |
319 | ||
6162a00d MD |
320 | * readline.scm (readline-port): Use readline-options-interface. |
321 | ||
4fdf8b2c MD |
322 | 1998-11-05 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
323 | ||
324 | * boot-9.scm: Set the repl start module in `top-repl' instead of | |
325 | at the end of boot-9.scm. | |
326 | ||
0b6925fe MD |
327 | 1998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
328 | ||
329 | * emacs.scm (format): Bugfix: Handle multiple arguments | |
330 | correctly. (Thanks to Thien-Thi Nguyen.) | |
331 | ||
e4eae9b1 MD |
332 | 1998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
333 | ||
334 | * boot-9.scm (exit-hook): New hook: Is run at the very end of an | |
335 | interactive session. | |
336 | (top-repl): Run exit-hook on exit. | |
337 | ||
338 | * readline.scm (readline-port): Maybe read history; Maybe write | |
339 | history at exit (add to exit-hook). | |
340 | ||
cad4d45b MD |
341 | Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
342 | ||
343 | * readline.scm (make-readline-port): Bugfixed last change... | |
344 | ||
24bf9166 MD |
345 | 1998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
346 | ||
347 | * readline.scm (make-readline-port): Don't set prompt to "... " if | |
348 | read line was empty. | |
349 | ||
f4be1689 JB |
350 | 1998-10-19 Jim Blandy <jimb@zwingli.cygnus.com> |
351 | ||
1f6fe22a JB |
352 | * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm, |
353 | r4rs.scm, slib.scm, threads.scm: Update copyright years. | |
354 | ||
33432c79 JB |
355 | * getopt-gnu-style.scm, slib.scm: Add copyright notice. |
356 | ||
357 | Talked to Stallman. Actually, the syntax-case copyright is no | |
358 | problem. Duh. | |
359 | * Makefile.am (ice9_sources): Revert last change. | |
360 | * syncase.scm, psyntax.pp, psyntax.ss: Added again. | |
361 | * Makefile.in: Regeneretade. | |
362 | ||
f4be1689 JB |
363 | * boot-9.scm: Don't assume that this file is loaded just before |
364 | entering a read-eval-print loop. Turn code to load (ice-9 emacs) | |
365 | into... | |
366 | (load-emacs-interface): New function. | |
367 | (top-repl): Call it, if use-emacs-interface is defined and true. | |
368 | At this point, we *do* know we're about to enter a REPL. | |
369 | ||
370 | We can't include Kent Dybvig's syntax-case macro expander in the | |
371 | core Guile distribution, because we don't have copyright | |
372 | assignments for this code. We can certainly distribute them as a | |
373 | separate package, but Guile should be FSF code. | |
374 | * syncase.scm, psyntax.pp, psyntax.ss: Removed. | |
375 | * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and | |
376 | psyntax.ss. | |
377 | * Makefile.in: Regenerated. | |
378 | ||
379 | * Makefile.am (ice9_sources): Add getopt-gnu-style.scm. | |
380 | * Makefile.in: Regenerated. | |
381 | ||
c8f11b97 MD |
382 | 1998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
383 | ||
384 | * boot-9.scm: Added extended read syntax for byte vectors #y(...) | |
385 | and short vectors #h(...). | |
386 | ||
bb2a4165 JB |
387 | 1998-10-14 Jim Blandy <jimb@zwingli.cygnus.com> |
388 | ||
389 | * calling.scm (excursion-function-syntax): Use a sequence of | |
390 | set!'s, not a single multi-variable set!; we removed support for | |
391 | that syntax a long time ago. (Thanks to Shuji Narazaki.) | |
392 | ||
c8983d6a JB |
393 | 1998-10-12 Jim Blandy <jimb@zwingli.cygnus.com> |
394 | ||
94e3e95e | 395 | * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother |
c8983d6a JB |
396 | testing software-type here. That's the least of our Windows |
397 | porting issues, and it's done wrong anyway. | |
398 | ||
77052259 JB |
399 | 1998-10-09 Jim Blandy <jimb@zwingli.cygnus.com> |
400 | ||
98330fd2 JB |
401 | * boot-9.scm (read-path-list-notation-warning): New function: |
402 | print a warning the first time we see `#/' notation. | |
403 | ||
77052259 JB |
404 | * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and |
405 | (eq? #f '()) assumptions. Make functions that aren't documented | |
406 | to return anything else return the queue itself. (Bug report from | |
407 | Michael Livshin --- thanks!) | |
408 | ||
c9dd46af MD |
409 | 1998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
410 | ||
411 | * debug.scm (trace-entry, trace-exit): Removed re-enabling of | |
412 | trace flag. | |
413 | ||
414 | * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in | |
415 | order to allow the empty list as arg. | |
416 | (error-catching-loop): Use `with-traps' to create a dynamic | |
417 | context with traps enabled. | |
418 | ||
5ef4ef4e MD |
419 | 1998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
420 | ||
421 | * boot-9.scm: Removed (ice-9 regex) from use-list of (guile) | |
422 | module. | |
423 | (try-using-libtool-name): Removed dependency on (ice-9 regex). | |
424 | ||
325f42e0 MD |
425 | 1998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
426 | ||
427 | * boot-9.scm: Make the root module use (ice-9 regex) if | |
428 | available. The dynamic linking facilities in boot-9.scm are | |
429 | currently dependent upon regular expressions. My change of | |
430 | 1998-07-14 removed (ice-9 regex) from the use-list of the root | |
431 | module and thereby destroyed dynamic linking. | |
432 | ||
0dcbc17a JB |
433 | 1998-07-29 Jim Blandy <jimb@zwingli.cygnus.com> |
434 | ||
435 | * Makefile.in: Regenerated using the last public version of | |
436 | automake, not the hacked Cygnus version. | |
437 | ||
1f5ae2fd JB |
438 | 1998-07-28 Jim Blandy <jimb@zwingli.cygnus.com> |
439 | ||
440 | * Makefile.in: Regenerated, after removing Totoro kludge. | |
441 | ||
1a0106ef JB |
442 | 1998-07-28 Jim Blandy <jimb@totoro.red-bean.com> |
443 | ||
444 | * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.) | |
445 | ||
e99cbcd6 JB |
446 | 1998-07-26 Jim Blandy <jimb@zwingli.cygnus.com> |
447 | ||
448 | * Makefile.in Rebuilt, for config changes in parent dir. | |
449 | ||
6f4d9622 MD |
450 | 1998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
451 | ||
452 | * readline.scm (make-readline-port): Set prompt string to "... " | |
453 | after first read line. (Thanks to Richard Polton.) | |
454 | ||
3ec4ec9a JB |
455 | 1998-07-19 Jim Blandy <jimb@zwingli.cygnus.com> |
456 | ||
457 | * lineio.scm (make-line-buffering-input-port): Don't use | |
458 | ungetc-char-ready?, since we don't provide that function any | |
459 | more. The unread-string function doesn't interact properly with | |
460 | any of the standard I/O functions anyway. (Thanks to Andrew | |
461 | Archibald.) | |
462 | ||
463 | * hcons.scm (hashq-cons-assoc): Don't assume the empty list is | |
464 | false. Return false when we cannot find a matching entry in the | |
465 | list. (Thanks to Andrew Archibald.) | |
466 | ||
a0cc0a01 MD |
467 | 1998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
468 | ||
469 | * boot-9.scm (export, export-syntax): New special forms: Export | |
470 | bindings from a module. `(export name1 name2 ...)' can be used at | |
471 | the top of a module (after `define-module') to specify which names | |
472 | should be exported. It can be used as an alternative to | |
473 | `define-public'. `export-syntax' works equivalently to `export' | |
474 | but is intended for export of syntactic keywords. | |
475 | (Thanks to Thien-Thi Nguyen.) | |
476 | ||
39bc9948 MD |
477 | 1998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
478 | ||
479 | * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'. | |
480 | ||
13e341bb MD |
481 | 1998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
482 | ||
ae996c08 MD |
483 | * boot-9.scm: Let the user start in module `(guile-repl)' instead |
484 | of module `(guile)'. Also make sure that `(guile-repl)' uses | |
485 | suitable modules. This change improves Guile stability | |
486 | substantially since bindings will only be copied from the root | |
487 | module: If the user redefines builtins in `(guile-repl)' it won't | |
488 | affect the internal operation of Guile itself. | |
13e341bb | 489 | |
c6775c40 MD |
490 | 1998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
491 | ||
492 | * boot-9.scm (load-module): When loading files from within files | |
493 | themselves being loaded: Use the directory path of the file being | |
494 | loaded as root for relative filenames. (After suggestion by | |
495 | Steven G. Johnson.) | |
496 | ||
ef0d04e5 MD |
497 | 1998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
498 | ||
499 | * emacs.scm (emacs-load): New feature: Eval in specified module. | |
500 | ||
4ffd142c MD |
501 | 1998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
502 | ||
503 | * readline.scm: Typo in regex module name. | |
504 | ||
edd9ac21 MD |
505 | 1998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se> |
506 | ||
507 | * readline.scm (apropos-completion-function): regexp-quote text to | |
508 | be completed. | |
509 | ||
a66c53a8 MD |
510 | 1998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
511 | ||
edd9ac21 | 512 | * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid. |
a66c53a8 | 513 | |
d38a6802 MD |
514 | 1998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
515 | ||
516 | * boot-9.scm: Check that (current-input-port) is a tty before | |
517 | enabling readline. (Thanks to Michael N. Livshin.) | |
518 | ||
cf266109 MD |
519 | 1998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
520 | ||
521 | * boot-9.scm (use-syntax): Turned into a macro inorder to be | |
522 | similar in use to `use-modules'. | |
523 | Example: (use-syntax (ice-9 syncase)) will 1. load the module | |
524 | (ice-9 syncase), and, 2. install the procedure `syncase' as eval | |
525 | transformer. | |
526 | (internal-use-syntax): New procedure. | |
527 | (process-define-module): Use `internal-use-syntax'. | |
528 | ||
67da6c57 MD |
529 | 1998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
530 | ||
531 | * Makefile.am (ice9_sources): Add emacs.scm. | |
532 | ||
1b558afd MD |
533 | 1998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
534 | ||
535 | * readline.scm: Use the new readline facilities: Add the | |
536 | possibility to control input and output ports; Add apropos | |
537 | completion. | |
538 | ||
539 | * boot-9.scm: Antirevert Jim's readline code which he reverted | |
540 | 19971027 and adapt it to the current readline interface. | |
541 | ||
542 | * boot-9.scm (top-repl): Only enable readline if not using the | |
543 | Emacs interface; Only use repl prompt when using the readline port | |
544 | from repl-read. (We don't want to see it when calling `read'.) | |
545 | ||
546 | * boot-9.scm (remove-hook!): Parenthesis bug. | |
547 | ||
f246e585 MD |
548 | 1998-05-11 Mikael Djurfeldt <mdj@kenneth> |
549 | ||
550 | * boot-9.scm: Load readline module if readline is present. | |
551 | ||
552 | * readline.scm (apropos-completion-function): New procedure: | |
553 | Symbolic completion. (Thanks to Andrew Archibald!) | |
554 | ||
f714ca8e MD |
555 | 1998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
556 | ||
557 | * boot-9.scm (process-define-module): Added keyword use-syntax. | |
558 | ||
3ede541d MD |
559 | 1998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
560 | ||
561 | * nonblocking.scm: Removed. libguile is now inherently | |
562 | nonblocking through the use of scm_internal_select. | |
563 | ||
564 | * emacs.scm: Removed use of nonblocking.scm. | |
565 | ||
566 | * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these | |
567 | obsolete. | |
568 | ||
608cf70c MD |
569 | 1998-04-15 Mikael Djurfeldt <mdj@nada.kth.se> |
570 | ||
571 | * runq.scm (runq-control): Corrected spelling of enqueue!. | |
572 | (Thanks to Karl M. Hegbloom.) | |
573 | ||
16b8ebbe MD |
574 | 1998-03-30 Mikael Djurfeldt <mdj@nada.kth.se> |
575 | ||
576 | * boot-9.scm: Added new run-time option interface eval-options. | |
577 | ||
abf06c12 MD |
578 | 1998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
579 | ||
580 | * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej | |
581 | Stachowiak.) | |
582 | ||
13dc0cae MD |
583 | 1998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
584 | ||
585 | * threads.scm: Added simple error and signal handler. | |
586 | (make-thread, begin-handler): Use this handler. The most | |
587 | important effect of this is that signals get unmasked. | |
588 | Previously, when a signal was thrown signals remained masked | |
589 | (signals get masked when a signal is taken) which influenced other | |
590 | threads. | |
591 | ||
841d28d7 TP |
592 | 1998-01-01 Tim Pierce <twp@skepsis.com> |
593 | ||
594 | A better fix to the SLIB identity problem -- thanks to Marius Vollmer. | |
595 | * slib.scm (identity): Unmake public. | |
596 | (slib:eval): Evaluate inside `slib-module'. | |
597 | ||
ad76c8d9 TP |
598 | 1997-12-24 Tim Pierce <twp@skepsis.com> |
599 | ||
249cdba6 TP |
600 | * boot-9.scm: Doc fix. |
601 | ||
ad76c8d9 TP |
602 | * slib.scm (identity): Made public. |
603 | (home-vicinity): New function (from SLIB/Template.scm). | |
604 | ||
848f2a01 TP |
605 | 1997-12-13 Tim Pierce <twp@skepsis.com> |
606 | ||
f4be1689 | 607 | * boot-9.scm (read-line): Rewritten to call %read-line for |
848f2a01 TP |
608 | improved speed. Minor user-visible changes: the new functions are |
609 | hardwired to treat the LFD character as signifying end-of-line, so | |
610 | changing `scm-line-incrementors' will no longer affect the | |
611 | behavior of read-line. On platforms which do not represent | |
612 | end-of-line with a LFD character, read-line should behave more | |
613 | like native line-processing facilities, but there is still a ways | |
614 | to go here. | |
615 | ||
8bb7f646 MD |
616 | Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth> |
617 | ||
618 | * boot-9.scm (error-catching-loop, save-stack): `the-last-stack' | |
619 | is now a fluid. | |
620 | ||
ebd79f62 TP |
621 | 1997-11-28 Tim Pierce <twp@skepsis.com> |
622 | ||
848f2a01 TP |
623 | * boot-9.scm (find-and-link-dynamic-module): If a module directory |
624 | contains a .la file (a libtool support file), attempt to extract | |
625 | the shared library name from that file. If the .la file does not | |
626 | exist, try to link against a .so file. Libtool-generated compiled | |
627 | modules should load more cleanly in Guile now. | |
ebd79f62 TP |
628 | (try-using-libtool-name, try-using-sharlib-name): New functions. |
629 | ||
28d8ab3c GH |
630 | Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz> |
631 | ||
632 | * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more | |
633 | usefully so they will work from a script. | |
634 | ||
13a7ee16 MV |
635 | 1997-10-31 Marius Vollmer <mvo@zagadka.ping.de> |
636 | ||
637 | * boot-9.scm (inherit-print-state): Moved definition to the | |
638 | neighborhood of the record code. | |
639 | ||
930b16c0 JB |
640 | Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com> |
641 | ||
642 | * boot-9.scm: Revert changes to this file from Oct 23. It turns | |
643 | out to interact badly with the Emacs support and the Tcl/Tk | |
644 | support. It's not a high enough priority at the moment to be | |
645 | worth fixing. I'm leaving the other readline support in, though. | |
646 | ||
3fa5bb75 JB |
647 | Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com> |
648 | ||
649 | * Makefile.am: Include readline.scm in the list of files to be | |
650 | installed, so Guile can find it for interactive use. | |
651 | * Makefile.in: Regenerated. | |
652 | ||
2e368582 JB |
653 | Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com> |
654 | ||
655 | Add support for readline function. | |
656 | * readline.scm: New module. | |
657 | * boot-9.scm (repl-reader): New function. | |
658 | (scm-style-repl): Call repl-reader, instead of doing the reading | |
659 | ourselves. Remove repl-report-reset; it was never used for | |
660 | anything. | |
661 | (top-repl): If we've got the readline primitives, then redefine | |
662 | repl-reader to use them. | |
663 | If we've got the readline primitives, import the readline module. | |
664 | ||
665 | * ls.scm (ls, lls): Don't assume (eq? #f '()). | |
666 | ||
667 | Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com> | |
668 | ||
669 | * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm, | |
670 | string-fun.scm: Added copyright notices; reformatted. | |
671 | ||
4bbbcd5c GH |
672 | Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz> |
673 | ||
674 | * expect.scm: (expect-regexec): new procedure, use it in | |
675 | expect-strings to fix the => syntax under the new regex system. | |
676 | (top): include regex module in define-module statement. | |
677 | ||
678 | Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz> | |
679 | ||
680 | * (error-catching-loop): new local variable "interactive". if | |
681 | #f, abort terminates the process. | |
682 | (set-batch-mode?!, batch-mode?): new closures, defined in | |
683 | error-catching-loop. the names are from scsh. | |
684 | ||
c115b54b MV |
685 | 1997-10-06 Marius Vollmer <mvo@zagadka.ping.de> |
686 | ||
687 | * boot-9.scm (inherit-print-state): If NEW-PORT contains a | |
688 | print-state, throw it away. | |
689 | ||
2e368582 | 690 | Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se> |
9f9aa47b MD |
691 | |
692 | * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of | |
693 | `0'. | |
694 | ||
2e368582 | 695 | Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se> |
9f9aa47b MD |
696 | |
697 | * boot-9.scm (struct-printer, make-struct-printer, | |
698 | set-struct-printer-in-vtable!, *struct-printer*): Removed. | |
699 | (record-type-vtable, make-record-type): Don't use make-struct-printer. | |
700 | (record-type-vtable): User fields "prpr" (printer is no longer a | |
701 | user field). | |
702 | (record-type-name, record-type-fields): Decreased slot index by | |
703 | one; Use `vtable-offset-user'. | |
704 | ||
2e368582 | 705 | Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de> |
21fdbaee MV |
706 | |
707 | * boot-9.scm (inherit-print-state): New experimental function. | |
708 | ||
adc14c93 JB |
709 | Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com> |
710 | ||
711 | Suggestion and script from Maciej Stachowiak: | |
712 | * boot-9.scm: Split off modules into separate, autoloadable files. | |
713 | This reduces startup time from 10.5s to 5.5s (user cpu). | |
714 | * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm, | |
715 | string-fun.scm: New files, containing stuff that used to be in | |
716 | boot-9.scm. | |
717 | * Makefile.am (ice9_sources): List new files here, for | |
718 | distribution and installation. | |
719 | * Makefile.in: Regenerated. | |
720 | ||
5aa28c1e JB |
721 | Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com> |
722 | ||
723 | * Makefile.in: Regenerated with automake 1.2c. | |
724 | ||
2f110c3c MD |
725 | Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
726 | ||
d1005e3c MD |
727 | * slib.scm (slib:load): slib:load first tries to load the file |
728 | named NAME, then NAME.scm. On error, report the error occuring at | |
729 | the first attempt (NAME) rather than the second (NAME.scm). | |
730 | ||
2f110c3c MD |
731 | * boot-9.scm: Bugfix: Hard-solder the print-option procedure into |
732 | the make-options macro so that we needn't refer to a global | |
733 | symbol. | |
734 | ||
83b38198 MD |
735 | Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
736 | ||
737 | * debug.scm: Moved options interface procedures to boot-9.scm. | |
738 | ||
739 | * boot-9.scm: Define options interface procedures here instead. | |
740 | ||
af01fdcd JB |
741 | Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com> |
742 | ||
743 | * boot-9.scm (separate-fields-discarding-char, | |
744 | separate-fields-after-char, separate-fields-before-char): Call | |
745 | continuation function, RET, as advertised: with each separated | |
746 | field a separate argument. | |
747 | ||
748 | * Makefile.in: Regenerated with automake 1.2a. | |
749 | ||
534a0099 MD |
750 | Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth> |
751 | ||
752 | * slib.scm (slib:load): Export. | |
753 | ||
754 | * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty | |
755 | vicinity; | |
756 | Provide defmacro. | |
757 | ||
8fa5faad MD |
758 | Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
759 | ||
760 | * r4rs.scm (apply): Set name property to 'apply. | |
761 | ||
11b05261 MD |
762 | Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
763 | ||
764 | * boot-9.scm (keyword->symbol, display-usage-report): Changed | |
0a54457d MD |
765 | length --> string-length. (Thanks to Aleksandar Bakic.) |
766 | (separate-fields-discarding-char, separate-fields-after-char, | |
767 | separate-fields-before-char): Bugfix from Maciej Stachowiak | |
768 | <mstachow@mit.edu>. Thanks! | |
a4f9b1f6 MD |
769 | (try-module-linked): Try to find module among those already |
770 | registered. | |
771 | (try-module-dynamic-link): Removed the first test which | |
772 | corresponds to a call to `try-module-linked'. | |
773 | (resolve-module): Resolve modules in this order: 1. Already | |
774 | registered modules (for example those which have been statically | |
775 | linked), 2. Try to autoload an .scm-file, 3. Try to dynamically | |
776 | link a .so-file. | |
11b05261 | 777 | |
24b2aac7 MD |
778 | Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
779 | ||
780 | * boot-9.scm (iota): Renamed list-reverse! --> reverse! | |
781 | ||
7cfae7e6 MD |
782 | Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
783 | ||
784 | * session.scm (name): New procedure: Gives name of object. | |
785 | (source): New procedure: Gives source of object. | |
786 | ||
7a0ff2f8 MD |
787 | Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
788 | ||
f4be1689 | 789 | * boot-9.scm (primitive-macro?): New procedure. |
7a0ff2f8 MD |
790 | |
791 | * slib.scm: Added hack which transfers syntactic information from | |
792 | the builtin variable `define' to the slib version if module (ice-9 | |
793 | syncase) has been loaded. This is necessary to get correct | |
794 | expansion inside the slib module. | |
795 | ||
796 | * psyntax.ss (build-let, build-named-let): New output | |
797 | constructors. | |
798 | (build-lexical-var): Seed gensym with symbolic name. | |
799 | (self-evaluating?): Add keywords among self-evaluating types. | |
800 | (let): New core form. | |
801 | (if): Removed from core language. | |
802 | (or, and, let, cond): Removed syntactic definitions. | |
803 | (sc-expand3): New procedure: Expander which takes optional mode | |
804 | and eval-syntactic-expanders-when arguments. | |
805 | ||
806 | * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp. | |
807 | Should be used inside the (ice-9 syncase) module with (use-syntax | |
808 | syncase) and with the current directory containing the psyntax.ss | |
809 | source. | |
810 | Added hack to transfer syntactic information from the builtin | |
811 | variable `define' to the slib version if module (ice-9 slib) has | |
812 | been loaded. | |
813 | ||
814 | Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se> | |
815 | ||
816 | * syncase.scm (sc-interface, sc-expand): Removed hook setup. | |
817 | (syncase): Publish syntax transformer to be used with | |
818 | `use-syntax'. | |
819 | (sc-macro): Use this as the value when publishing macros. | |
820 | ||
821 | * boot-9.scm (module-type): Added `transformer'. | |
822 | (make-module): Modified initialization. | |
823 | (module-transformer, set-module-transformer!): Selector and | |
824 | mutator for module-associated transformer. | |
825 | (set-current-module): Use module-transformer to set | |
826 | `scm:eval-transformer'. | |
827 | (module-use!): Previous change reverted. | |
f4be1689 | 828 | (use-syntax): New function: Install a transformer in current |
7a0ff2f8 MD |
829 | module. |
830 | (sc-interface, sc-expand): Removed! :) | |
831 | ||
d43f8c97 MD |
832 | Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
833 | ||
834 | * emacs.scm (emacs-load): Added new parameter `module'. | |
835 | ||
836 | * syncase.scm (putprop, getprop): Modified to use the object | |
837 | properties of the variable object corresponding to the symbol; | |
838 | This way we can ride on the mechanisms of the module system. | |
839 | Changed `builtin-variable' calls to `define-public' calls. | |
840 | Setup the hooks sc-expand and sc-interface. | |
841 | ||
842 | * boot-9.scm (sc-interface, sc-expand): New builtin variables. | |
843 | (set-current-module): Switch to and from sc-expand as | |
844 | scm:eval-transformer when going into and out of modules using | |
845 | syncase macros. | |
846 | (module-use!): Set scm:eval-transformer to sc-expand when adding | |
847 | the syncase interface. | |
848 | ||
1f355b4f MD |
849 | Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
850 | ||
851 | * syncase.scm (putprop): Temporary fix which publishes new syntax | |
852 | globally (the old behaviour was complex and connected to the inner | |
853 | workings of the current module system). | |
854 | ||
e9b7bb80 MD |
855 | Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
856 | ||
857 | * psyntax.ss: Updated. | |
858 | psyntax.pp: Bugfix: Previous version had some leading "t":s cut | |
859 | off! | |
860 | ||
e672f1b5 MD |
861 | Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
862 | ||
863 | * boot-9.scm (gensym): Removed (replaced by primitive). | |
864 | (obarray-gensym): Rewritten to use `gensym'. | |
865 | (gentemp): Rewritten to use `gensym'. | |
866 | ||
30d732a6 MD |
867 | Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
868 | ||
869 | * gtcl.scm (make-tcl-binder): Rewritten to choose bindings | |
870 | according to the following priorities: | |
871 | 1. tcl bindings which are present in override-scheme-list | |
872 | 2. bindings from the-scm-module | |
873 | 3. tcl bindings | |
874 | This way the gtcl module can occur first in the use-list without | |
875 | disabling the scheme interpreter. | |
876 | (new-interpreter): New function. | |
877 | ||
878 | * gwish.scm: Moved initialization code for the-interpreter to | |
879 | gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote | |
880 | it; Call `new-interpreter'; Don't :use-module (guile). | |
881 | ||
1aa8162b JB |
882 | Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com> |
883 | ||
884 | * Makefile.in: Regenerated. | |
885 | ||
34695603 JB |
886 | Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com> |
887 | ||
888 | * Makefile.in: Regenerated, so it uses "tar", not "gtar". | |
889 | ||
52f1b046 MD |
890 | Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
891 | ||
892 | * emacs.scm (object->string, format, error-args->string): New | |
893 | procedures. | |
894 | (emacs-frame-eval): Reworked. | |
895 | ||
a5be27cd MD |
896 | Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
897 | ||
898 | * session.scm (apropos-internal): Musn't initialize symbol | |
899 | accumulator with a constant pair. That led to mutation of the | |
900 | source! | |
901 | ||
68aed3ea MD |
902 | Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth> |
903 | ||
904 | * session.scm (vector-for-each): Removed. | |
905 | (apropos): vector-for-each --> array-for-each. | |
906 | (apropos-internal): New function. Return list of accessible | |
907 | symbols matching regexp. | |
908 | ||
909 | * debug.scm (frame-number->index): New function. Convert frame | |
910 | number (as displayed in the backtrace) to frame index (to be used | |
911 | in stack-ref). | |
912 | ||
913 | * emacs.scm (emacs-load): New arguments: interactivep: when | |
914 | non-false, send back results to Emacs; colnum: Column number; | |
915 | Use modules (ice-9 debug) and (ice-9 session); | |
916 | (no-stack, no-source): New simple-actions; | |
917 | (result-to-emacs): New procedure. Sends data to Emacs via the | |
918 | result protocol; | |
919 | (get-frame-source, emacs-select-frame, emacs-frame-eval, | |
920 | emacs-symdoc): New procedures. | |
8c5a8bed | 921 | |
555f21d8 MD |
922 | Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
923 | ||
eb7ec1e8 | 924 | * emacs.scm (emacs-load): Adjust stack narrowing. |
8c3420ad | 925 | (whitespace-chars): Include #\np. |
eb7ec1e8 | 926 | |
555f21d8 MD |
927 | * syncase.scm: Also turn off debugging evaluator and recording of |
928 | procedure names during loading of psyntax.pp. | |
929 | ||
930 | * psyntax.pp: Removed leading blanks => 800K -> 100K. | |
931 | ||
230c4353 MD |
932 | Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
933 | ||
19ef2a9b MD |
934 | * syncase.scm: Don't tamper with debug mode setting when enabling |
935 | macros. Instead cut the stack with start-stack. | |
a48930c6 | 936 | Load psyntax.pp with recording of positions turned off. |
19ef2a9b | 937 | |
ceb177a4 | 938 | * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =. |
230c4353 | 939 | |
f4be1689 JB |
940 | * syncase.scm: New file: Guile-adaption for syntax-case macros. |
941 | * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by | |
230c4353 MD |
942 | R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman |
943 | ||
0e81dabd MD |
944 | Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
945 | ||
f4be1689 | 946 | * session.scm: New file: Session support. |
0e81dabd MD |
947 | (apropos): New procedure: List bindings given regexp. |
948 | ||
6afcd3b2 GH |
949 | Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz> |
950 | ||
951 | * boot-9.scm: define tms accessors: clock, utime, stime, cutime, | |
952 | cstime. | |
953 | ||
096d5f90 MD |
954 | Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
955 | ||
db75135d MD |
956 | * emacs.scm (emacs-load): Something has changed in the reader so |
957 | that we now should set the port line count to the specified value | |
958 | (linum) instead of (- linum 1). | |
959 | ||
096d5f90 MD |
960 | * slib.scm (slib:load): Use load-from-path instead of |
961 | primitive-load-path so that backtraces get narrowed properly at | |
962 | the top. | |
963 | ||
964 | * boot-9.scm (top-repl): Save stack already in signal handler in | |
965 | order to narrow it correctly. | |
966 | (save-stack): Adjust narrowing tag for the top of load-stacks. | |
967 | ||
7a6f1ffa GH |
968 | Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz> |
969 | ||
970 | * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup. | |
971 | (dup->fdes): deleted, now done in C. | |
972 | ||
956055a9 GH |
973 | Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz> |
974 | ||
975 | * boot-9.scm (setenv): new procedure, scsh compatible. | |
976 | ||
485cb6eb MV |
977 | Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de> |
978 | ||
979 | * boot-9.scm (with-fluids): New macro to go with the | |
980 | builtin `with-fluids*'. | |
981 | ||
4d0d7ef9 MD |
982 | Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
983 | ||
984 | * slib.scm (install-require-module): In newer versions of slib | |
985 | *catalog* is #f until the first access. Therefore we call | |
986 | require:provided? for a random feature if *catalog* is #f. | |
987 | ||
8309a10d MD |
988 | Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
989 | ||
990 | * boot-9.scm: If using emacs interface, enable backtraces | |
991 | automatically. | |
992 | ||
e38303a2 GH |
993 | Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz> |
994 | ||
995 | * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes, | |
996 | dup, fdes->inport, fdes->outport, port->fdes): new procedures. | |
997 | (duplicate-port): was a C primitive, now it's here. | |
998 | (move->fdes): allow the first argument to be a file descriptor. | |
999 | Return the modified port or file descriptor (was unspecified.) | |
1000 | ||
2e3e9351 JB |
1001 | Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com> |
1002 | ||
32552d73 JB |
1003 | Changes to compile under gnu-win32, from Marcus Daniels: |
1004 | * boot-9.scm (load-user-init): If HOME is unset, provide | |
1005 | a default of /. | |
1006 | ||
2e3e9351 JB |
1007 | * boot-9.scm (define-public): Changed to accomodate Hobbit. |
1008 | ||
db561408 JB |
1009 | Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com> |
1010 | ||
fcff2c5c JB |
1011 | * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm, |
1012 | poe.scm, slib.scm, tags.scm, threads.scm: Use normal list | |
1013 | notation, instead of #/ notation. | |
1014 | ||
db561408 JB |
1015 | * expect.scm (expect-strings): Pass regexp/newline flag to |
1016 | make-regexp. | |
1017 | ||
2409cdfa JB |
1018 | Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com> |
1019 | ||
db561408 JB |
1020 | Fix inconsistencies in parsing of #/ style lists. |
1021 | * boot-9.scm (read-path-list-notation): New function. | |
1022 | (parse-path-symbol): Deleted. Replaced by above. | |
1023 | Plug in read-path-list-notation as the parser for #/ lists, | |
1024 | instead of the anonymous lambda form calling parse-path-symbol. | |
1025 | (Thanks to Maurizio Vitale.) | |
1026 | ||
2409cdfa JB |
1027 | * boot-9.scm (make-list): Remove the definition of this function |
1028 | from the (ice-9 common-list) module; make the `init' argument | |
1029 | optional in the scm module's definition, to match the deleted | |
1030 | definition. Harmony reigneth? (Thanks to Bernard URBAN.) | |
1031 | ||
91b28bb5 JB |
1032 | Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com> |
1033 | ||
1034 | Try to detect when people are using one version of libguile and a | |
1035 | different version of ice-9. People have been skewing things and | |
1036 | sending in bug reports. | |
1037 | * version.scm.in: New file, which the configure script munges to | |
1038 | produce version.scm, which contains the ice-9 config stamp. | |
1039 | * boot-9.scm: Compare the libguile and ice-9 config stamps; | |
1040 | display a warning if the two are different. | |
1041 | * Makefile.am: Install version.scm, but don't distribute it. | |
1042 | Distribute version.scm.in, but don't install it. | |
1043 | * Makefile.in: Regenerated. | |
1044 | ||
9fbdb48f JB |
1045 | Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com> |
1046 | ||
1047 | * slib.scm (slib:warn): Alias for WARN function. | |
1048 | ||
e320da2f JB |
1049 | Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com> |
1050 | ||
1051 | * boot-9.scm (struct-printer): Fix off-by-one error in range | |
1052 | check. Correctly check for struct printer tag. | |
1053 | ||
1054 | * expect.scm: Turn this into a module, (ice-9 expect). | |
1055 | (expect-port, expect-timeout, expect-timeout-proc, | |
1056 | expect-eof-proc, expect-char-proc, expect, expect-strings, | |
1057 | expect-select): Make these public definitions. | |
1058 | (expect-strings): Use make-regexp and regexp-exec, instead of | |
1059 | regcomp and regexec. We've omitted the REG_NEWLINE flag; hope | |
1060 | that's okay. | |
1061 | ||
1062 | * boot-9.scm (with-regexp-parts): Comment this out. It has no | |
1063 | users in the core, and relies on mildly hairy details of the old | |
1064 | regexp interface. | |
1065 | ||
1066 | * test.scm: Re-enable tests asserting that '() is true, and not a | |
1067 | boolean. This stuff has been true for a while. | |
1068 | ||
1069 | * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated | |
1070 | function names. | |
1071 | ||
1072 | * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc | |
1073 | fixes. | |
1074 | ||
3688473b JB |
1075 | Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com> |
1076 | ||
1077 | * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in | |
1078 | ../configure.in. | |
1079 | ||
0b46857f MV |
1080 | Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de> |
1081 | ||
1082 | * boot-9.scm (struct-printer): Bugfix: Check the layout of the | |
1083 | vtable and not the one of the struct. | |
1084 | ||
5dade857 MV |
1085 | Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de> |
1086 | ||
1087 | * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer, | |
1088 | make-struct-printer, set-struct-printer-in-vtable!): New bindings | |
1089 | to support printing of structures. | |
1090 | (record-type-vtable, make-record-type): Add slot to hold printing | |
1091 | function and initialize it with something appropriate. Removed | |
1092 | commented out printing code. | |
1093 | (record-type-name, record-type-fields): Adjusted slot offsets. | |
1094 | (%print-module): Reduce argument list to "mod" and "port". | |
1095 | ||
95d59d10 JB |
1096 | Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com> |
1097 | ||
1098 | * slib.scm (identity): New function, used by SLIB. | |
1099 | ||
e1a191a8 GH |
1100 | Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz> |
1101 | ||
1102 | * boot-9.scm: signal-handler, alarm-thunk: removed. | |
1103 | don't define ticks-interrupt etc. | |
1104 | top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS | |
1105 | during call to scm-style-repl. | |
1106 | ||
19da35d0 JB |
1107 | Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com> |
1108 | ||
1109 | * slib.scm (slib:load): Use primitive-load-path instead of | |
1110 | basic-load. This is probably wrong, but hopefully the entire | |
1111 | source access system will be revised soon anyway, and this will | |
1112 | make require behave more like Emacs Lisp's require. If this | |
1113 | breaks something, please let me know. Maybe this is real dumb. | |
1114 | ||
0e165281 JB |
1115 | Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com> |
1116 | ||
1117 | * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere. | |
1118 | * boot-9.scm: If the `regex' feature is present, use the module | |
1119 | (ice-9 regex). | |
1120 | ||
737c9113 JB |
1121 | Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com> |
1122 | ||
1123 | * regex.scm: New file. | |
1124 | * Makefile.am (subpkgdata_DATA): Add regex.scm. | |
1125 | * Makefile.in: Regenerated. | |
1126 | ||
36539a15 JB |
1127 | Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com> |
1128 | ||
1129 | * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm, | |
1130 | gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm, | |
1131 | oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm, | |
1132 | threads.scm: New address for FSF. | |
1133 | ||
142ad3d9 JB |
1134 | Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com> |
1135 | ||
1136 | * debug.scm: Update copyright years; this file has been worked on | |
36539a15 | 1137 | in 1997. |
142ad3d9 | 1138 | |
cafa4c68 GH |
1139 | Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz> |
1140 | ||
1141 | * expect.scm: use gettimeofday instead of get-internal-real-time | |
1142 | and use a floating point timeout when calling select. Untested, | |
1143 | since the regex library is currently AWOL. | |
1144 | ||
223be5f0 JB |
1145 | Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com> |
1146 | ||
1147 | * boot-9.scm (eval-string): Function deleted; it was already | |
1148 | implemented in C, so there's no point in making a divergable copy | |
1149 | here. | |
1150 | ||
9b01064c JB |
1151 | Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com> |
1152 | ||
1153 | * Makefile.in: Regenerated, using automake-1.1p. | |
1154 | ||
1155 | Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com> | |
1156 | ||
1157 | * Makefile.in: Regenerated, using automake-1.1p. | |
1158 | ||
1fbc60b2 GH |
1159 | Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz> |
1160 | ||
1161 | * boot-9.scm (error-catching-loop): don't read a line from | |
1162 | current input when quit is encountered, the previous change | |
1163 | fixes this too. | |
1164 | ||
c7d97590 JB |
1165 | Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com> |
1166 | ||
1167 | * boot-9.scm (scm-style-repl): After reading an expression, | |
1168 | consume any trailing newline (perhaps preceded by whitespace), to | |
1169 | avoid screwing up GDB. More detail in comments. | |
1170 | ||
6b3f3366 JB |
1171 | Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com> |
1172 | ||
1173 | * Makefile.am (ETAGS_ARGS): New variable, since we're not treating | |
1174 | the Scheme code like code yet. | |
1175 | * Makefile.in: Resrac,husrched. | |
1176 | ||
eea324ee MV |
1177 | Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de> |
1178 | ||
1179 | * boot-9.scm (link-dynamic-module): Do not catch errors from | |
1180 | dynamic-link and dynamic-call. When the shared library exists it | |
1181 | is now assumed to be suitable for a dynamic C module. | |
1182 | ||
ef79b65b MV |
1183 | Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de> |
1184 | ||
1185 | * boot-9.scm (process-use-modules): New function to support the | |
1186 | use-modules macro | |
1187 | (use-modules): throw an error iff one of the requested modules | |
1188 | can't be found. | |
1189 | ||
3be77013 GH |
1190 | Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz> |
1191 | ||
1192 | * boot-9.scm: don't define timer-thunk or gc-thunk. | |
1193 | ||
28c682fa JB |
1194 | Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com> |
1195 | ||
1196 | * aclocal.m4: Removed; unnecessary, given changes of Apr 24. | |
1197 | ||
1198 | * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@"; | |
1199 | we're not using AM_INIT_GUILE_MODULE any more. | |
1200 | * Makefile.in: Regeneratitetedrerd. | |
1201 | ||
20108301 JB |
1202 | Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com> |
1203 | ||
819f936b JB |
1204 | Get 'make dist' to work again. |
1205 | * Makefile.am (EXTRA_DIST): Remove PLUGIN files. | |
1206 | * Makefile.in: Regenerated, like two tons of fleas. | |
1207 | ||
20108301 JB |
1208 | Changes for reduced Guile distribution: one configure script, |
1209 | no plugins. | |
1210 | * configure.in, configure: Removed. | |
1211 | * Makefile.in: Regenerated. | |
1212 | ||
dab94cac JB |
1213 | Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com> |
1214 | ||
48d224d7 | 1215 | * boot-9.scm (eval-string, command-line, load-user-init): New |
dab94cac JB |
1216 | functions. |
1217 | ||
65495221 GH |
1218 | Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz> |
1219 | ||
1220 | * boot-9.scm (log10): defined. | |
1221 | ||
708bf0f3 GH |
1222 | Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz> |
1223 | ||
1224 | * expect.scm (expect-select): correct the millisecond timeout | |
1225 | arithmetic (from Marko.Kohtala@ntc.nokia.com). | |
1226 | ||
1227 | Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz> | |
1228 | ||
1229 | * boot-9.scm (open-input-pipe, open-output-pipe): defined here | |
1230 | instead of in libguile. | |
1231 | (tm:sec etc.) new accessors for broken-down time. | |
1232 | (set-tm:sec etc.) new setters for broken-down time. | |
1233 | ||
9337637f GH |
1234 | Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz> |
1235 | ||
1236 | * boot-9.scm (netent:addrtype, servent:port): added missing | |
1237 | procedures. | |
1238 | (netent:net, servent:proto): repaired. | |
1239 | (utsname:sysname etc.): new accessors for uname. | |
1240 | ||
1241 | Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz> | |
1242 | ||
1243 | * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr, | |
1244 | sockaddr:port): new functions. | |
1245 | ||
bce074ee GH |
1246 | Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz> |
1247 | ||
1248 | * boot-9.scm: define accessor procedures for the objects returned | |
1249 | by getpw, getgr, gethost, getnet, getproto, getserv (e.g., | |
1250 | passwd:name, where the first component is the name of the C structure | |
1251 | and the second is the unprefixed C member name.) | |
1252 | ||
1253 | Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz> | |
1254 | ||
095936d2 | 1255 | * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent, |
bce074ee GH |
1256 | setservent): no longer take an argument, it was bogus. |
1257 | ||
81e2a235 GH |
1258 | Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz> |
1259 | ||
1260 | * boot-9.scm (scm-error): deleted, reimplemented in C. | |
1261 | ||
04798288 MD |
1262 | Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
1263 | ||
1264 | * boot-9.scm (process-define-module): Modified to handle both | |
1265 | keywords and symbols. | |
1266 | ||
75a97b92 GH |
1267 | Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz> |
1268 | ||
1269 | * slib.scm: update read usage. | |
1270 | ||
1271 | * r4rs.scm: update primitive-load usage. | |
1272 | Don't define read-sharp. | |
1273 | ||
1274 | * boot-9.scm: use read-hash-extend to install extra read syntax. | |
1275 | (read-sharp): removed. | |
1276 | Adjust usage of primitive-load-path, read, which no longer take | |
1277 | case_i or read-sharp arguments. | |
1278 | ||
63a3d814 MD |
1279 | Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
1280 | ||
90d5e280 MD |
1281 | * boot-9.scm: Added loading of session support module. |
1282 | ||
63a3d814 MD |
1283 | * debug.scm: Removed `display-application'. (Replaced by |
1284 | primitive procedure.) | |
1285 | ||
1286 | * boot-9.scm (beautify-user-module!): Don't add the root module | |
1287 | interface to the end of the use-list of the root module. | |
1288 | ||
75a97b92 GH |
1289 | Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz> |
1290 | ||
1291 | * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted. | |
1292 | ||
f3c23298 GH |
1293 | Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz> |
1294 | ||
1295 | * boot-9.scm: check use-emacs-interface for emacs support. | |
1296 | ||
7950df7c GH |
1297 | Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz> |
1298 | ||
1299 | * boot-9.scm (scm-style-repl): call repl-report-start-timing if | |
1300 | read gets EOF. | |
1301 | * (exit): alias for quit. | |
1302 | ||
8e44e7a0 GH |
1303 | Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz> |
1304 | ||
1305 | * boot-9.scm (error-catching-loop thunk): use a status variable to | |
1306 | return the quit args. | |
1307 | (scm-style-repl): call -quit, passing return value from | |
1308 | error-catching-repl. Make -quit return its args. | |
1a36eef2 | 1309 | stand-alone-repl: comment out, since it seems unused. |
7950df7c | 1310 | |
8e44e7a0 GH |
1311 | (error-catching-loop thunk): discard trailing junk after a (quit). |
1312 | ||
9a942103 MD |
1313 | Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
1314 | ||
06a02069 MD |
1315 | * boot-9.scm: Removed the old printer code. |
1316 | ||
1317 | * r4rs.scm (apply, call-with-current-continuation): Added comment | |
1318 | explaining why apply and call/cc need to be closures. | |
1319 | ||
1320 | * boot-9.scm (apply, call-with-current-continuation): Bugfix: | |
1321 | Removed. These definitions are already present in r4rs.scm. | |
1322 | ||
9a942103 MD |
1323 | * debug.scm (trace-entry, trace-exit): Check that we're on a repl |
1324 | stack before printing traced frames; Re-enable trace flag at end | |
1325 | of handlers. | |
1326 | ||
e6875011 MD |
1327 | Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
1328 | ||
59e1116d MD |
1329 | * debug.scm: Add hook for reset of trace level at abort. |
1330 | ||
1331 | * boot-9.scm (run-hooks): New procedure. | |
1332 | (add-hooks!): New macro. | |
1333 | Change hooks to use these functions. | |
1334 | ||
095936d2 | 1335 | * debug.scm: *Warning* This feature is a bit premature. I add |
e6875011 MD |
1336 | it anyway because 1. it is very useful, and, 2. you can start |
1337 | making it less premature by complaining to me and by modifying | |
1338 | the source! :-) | |
1339 | (trace): Given one or more procedure objects, trace each one. | |
1340 | Given no arguments, show all traced procedures. | |
1341 | (untrace): Given one or more procedure objects, untrace each one. | |
1342 | Given no arguments, untrace all traced procedures. The tracing in | |
1343 | Guile have an advantage to most other systems: We don't create new | |
1344 | procedure objects, but mark the procedure objects themselves. | |
1345 | This means that also anonymous and internal procedures can be | |
1346 | traced. | |
1347 | ||
1348 | * boot-9.scm (error-catching-loop): Added handling of apply-frame | |
1349 | and exit-frame exceptions. | |
1350 | ||
095936d2 | 1351 | * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed. |
e6875011 MD |
1352 | (set-repl-prompt!): Setter for repl prompt. |
1353 | (scm-style-repl): If prompt is #f, don't prompt; if prompt is a | |
1354 | string, display it; if prompt is a thunk, call it and display its | |
1355 | result; otherwise display "> ". | |
1356 | (Change suggested by Roland Orre <orre@nada.kth.se>.) | |
0065d90e MD |
1357 | |
1358 | * r4rs.scm (%load-verbosely): Reverted change to | |
1359 | `module-defined?', since the module system isn't bootstrapped when | |
1360 | we load r4rs.scm. This is just a temporary fix to make the | |
1361 | repository version runnable. | |
1362 | ||
eb52a06b MD |
1363 | Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
1364 | ||
1365 | * boot-9.scm: Removed the enabling of debug evaluator and | |
1366 | recording of source code positions. This was placed there for our | |
1367 | convenience, but it has already sneaked into the distribution | |
1368 | once... so we'd better add this in our local copies instead when | |
1369 | we need it. (These options are normally enabled at the end of | |
1370 | boot-9.scm when loading the debug module.) | |
1371 | ||
d18d1b6d MV |
1372 | Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de> |
1373 | ||
1374 | * boot-9.scm (module-defined?): New function. | |
1375 | (macroexpand-1, macroexpand): Use local-ref instead of defined? | |
1376 | and eval. | |
1377 | * r4rs.scm (%load-verbosely): Use "module-defined?" instead of | |
1378 | "defined?". | |
1379 | * slib.scm (defined?): New function to take the place of the | |
1380 | builtin "defined?". It allways examines the slib module. | |
1381 | ||
15ae1bee MD |
1382 | Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
1383 | ||
1384 | * configure.in: Added AM_MAINTAINER_MODE | |
1385 | ||
c2132276 GH |
1386 | Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz> |
1387 | ||
1388 | * boot-9.scm (read-sharp): define directly, don't go through a | |
1389 | %read-sharp layer. | |
1390 | ||
1391 | Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz> | |
1392 | ||
1393 | * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not | |
1394 | uniform-vector-set1! which doesn't exist. | |
1395 | ||
d590bbf6 MD |
1396 | Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth> |
1397 | ||
1398 | * boot-9.scm (backtrace): Removed. (A C version now exists in | |
1399 | backtrace.c.) | |
1400 | ||
1e531c3a GH |
1401 | Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz> |
1402 | ||
1403 | * boot-9.scm (read-line!, read-delimited!, read-delimited, | |
1404 | read-line): new procedures, see libguile/ChangeLog. | |
1405 | ||
bb0102f7 MV |
1406 | Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de> |
1407 | ||
1408 | Added dynamic linking of modules. See libguile/DYNAMIC-LINKING. | |
1409 | ||
1410 | * boot-9.scm (split-c-module-name, convert-c-registered-modules, | |
1411 | init-dynamic-module, dynamic-maybe-call, | |
1412 | find-and-link-dynamic-module, link-dynamic-module, | |
1413 | try-module-dynamic-link, registered-modules): New definitions for | |
1414 | dynamic linking of modules. | |
1415 | (resolve-module): Try to dynamically link the requested module | |
1416 | after failing to load it as Scheme code. | |
1417 | ||
920235cc GH |
1418 | Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz> |
1419 | ||
1420 | * boot-9.scm (getservbyport, getservbyname): remove stray %. | |
1421 | ||
198befde JB |
1422 | Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com> |
1423 | ||
1424 | * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos | |
1425 | that's what it is. | |
1426 | ||
1427 | * lineio.scm (make-line-buffering-input-port): Properly test for | |
1428 | the case of an empty buffer list. The old code assumed that '() | |
1429 | was false. | |
1430 | ||
33cf699f MD |
1431 | Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth> |
1432 | ||
095936d2 | 1433 | * boot-9.scm (use-modules): New macro (from Marius Vollmer). |
33cf699f MD |
1434 | (use-modules <module name> ...) Put the the modules named by |
1435 | <module name> ... on the use list of the current module. | |
1436 | ||
7a818853 JB |
1437 | Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com> |
1438 | ||
1439 | * boot-9.scm (error-catching-loop): Remove message saying that | |
1440 | typing "$" will put you in the debugger. This isn't implemented | |
1441 | yet. | |
1442 | ||
506067f0 JB |
1443 | Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com> |
1444 | ||
1445 | * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have | |
1446 | been fixed, so this function is superfluous. | |
1447 | (transform-usage-lambda): Use delq!, not delq-all!. | |
1448 | ||
2ebf3156 MV |
1449 | Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de> |
1450 | ||
7a818853 | 1451 | * boot-9.scm (resolve-module): New optional parameter that |
2ebf3156 MV |
1452 | controls whether autoloading is attempted or not. Default is #t. |
1453 | (process-define-module): Don't autoload the defined module. | |
1454 | (try-module-autoload): Don't autoload the directory modules. | |
1455 | ||
7a818853 | 1456 | * boot-9.scm (process-define-module): Ensure that the-scm-module |
2ebf3156 MV |
1457 | is last in the `uses' list to allow shadowing builtin |
1458 | bindings. All :use-module options are added in the order they | |
1459 | appear in the arguments but before anything already on the list | |
1460 | (such as the-scm-module). | |
1461 | ||
00f06035 GH |
1462 | Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz> |
1463 | ||
1464 | * slib.scm (slib-parent-dir): throw error if #f returned from | |
1465 | %search-load-path. | |
1466 | ||
733943b9 TT |
1467 | Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com> |
1468 | ||
1469 | * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed. | |
1470 | * Makefile.am, aclocal.m4: New files. | |
1471 | * configure.in: Updated for Automake. | |
1472 | ||
84abd243 MV |
1473 | Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de> |
1474 | ||
1475 | * boot-9.scm (macroexpand-1, macroexpand), slib.scm | |
1476 | (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a | |
1477 | function, use it accordingly. | |
1478 | ||
a31bc6fb JB |
1479 | Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com> |
1480 | ||
1481 | It's an "eval closure", not an "eval thunk." A thunk is a | |
1482 | function of no arguments. | |
1483 | * boot-9.scm (module-type): Rename module field. | |
1484 | (make-module, eval-in-module, make-root-module, | |
1485 | set-current-module): Uses changed. | |
1486 | (module-eval-closure, set-module-eval-closure!, | |
1487 | root-module-closure): Renamed from module-eval-thunk, | |
1488 | set-module-eval-thunk!, root-module-thunk. | |
1489 | (set-current-module): Change uses of *top-level-lookup-thunk* to | |
1490 | *top-level-eval-closure*. | |
1491 | ||
3763761c JB |
1492 | Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1493 | ||
1494 | * slib.scm (slib-parent-dir): Use string-length, not length. | |
1495 | (Thanks to Bernard Urban.) | |
1496 | ||
7ad737b6 MD |
1497 | Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
1498 | ||
7a818853 | 1499 | * boot-9.scm: The debugging evaluator and recording of positions |
7ad737b6 MD |
1500 | aren't enabled by default any longer (they are switched on in |
1501 | debug.scm). But during development we want to have them also | |
1502 | *inside* boot-9.scm. Therefore, two lines are added at the | |
1503 | beginning of boot-9.scm to enable these. | |
1504 | ||
1505 | Call `provide' so that `records' are included among the | |
1506 | `*features*'. | |
1507 | ||
1508 | The scheme for saving the stack has been adjusted: save-stack is | |
1509 | now commonly available for saving the stack. Calling `save-stack' | |
1510 | sets a flag `stack-saved?' which prevents overwriting the stack. | |
1511 | `stack-saved?' is reset at `abort'. | |
1512 | ||
1513 | Spelling correction: seperate --> separate. | |
1514 | ||
1515 | Removed `:'s that had creeped into some comments. | |
1516 | ||
7a818853 | 1517 | The repl now doesn't print #<unspecified> results any longer |
7ad737b6 MD |
1518 | If the user wants to see this, he can do |
1519 | (assert-repl-print-unspecified #t) in his startup file. | |
1520 | ||
7a818853 | 1521 | The user now gets a friendly message instead of a backtrace at |
7ad737b6 MD |
1522 | error. |
1523 | ||
1524 | Added `before-read-hook'. | |
1525 | ||
1526 | Load module (ice-9 emacs) if option `-e' was specified. | |
1527 | ||
1528 | (provide): New function. | |
1529 | ||
1530 | (error): Save stack at entry, so that Guile entrails won't show up | |
1531 | in backtraces. | |
1532 | ||
1533 | (backtrace): New function. | |
1534 | ||
7a818853 | 1535 | (save-stack): Can now take arbitrary number of stack narrowing |
7ad737b6 MD |
1536 | specifier pairs. The first specifier in a pair controls inner |
1537 | border, the second the outer border. A number means cut that | |
1538 | number of frames, a procedure object means cut until that object | |
1539 | is found in operator position in a frame. | |
1540 | ||
1541 | * debug.scm: Enable debugging evaluator and recording of positions | |
1542 | by default. | |
1543 | ||
1544 | * slib.scm (slib:load): Adapt to the new behavior of | |
1545 | primitive-load: It doesn't any longer try both with and without | |
1546 | ".scm" extension. (We don't want to use %search-load-path here.) | |
1547 | ||
1548 | (implementation-vicinity): New function. slib requires it | |
1549 | ||
1550 | (library-vicinity): Updated. | |
1551 | ||
1552 | Load "require.scm" in the library-vicinity. | |
1553 | ||
1554 | (install-require-vicinity, install-require-module): New functions. | |
1555 | ||
99f97bfe JB |
1556 | Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com> |
1557 | ||
581a242b JB |
1558 | * boot-9.scm (load-from-path): New function. |
1559 | ||
1560 | * boot-9.scm (try-load, basic-try-load, try-load-module, | |
1561 | try-load): Deleted. I don't think they're being used. | |
1562 | ||
48be3fb3 JB |
1563 | * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list, |
1564 | so they'll get distributed. | |
1565 | ||
1566 | Get Guile to be a little less chatty by default. The new user | |
1567 | should see as little clutter as possible. | |
1568 | * r4rs.scm (%load-verbosely): Make this #f by default. | |
1569 | * boot-9.scm (scm-repl-verbose): Make this #f by default. | |
1570 | (scm-style-repl): Don't run 'pk' on the value passed to quit. | |
1571 | ||
1572 | * r4rs.scm: New file. | |
1573 | * boot-9.scm: Load r4rs.scm, first thing. | |
1574 | (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file, | |
1575 | open-output-file, open-io-file, close-input-port, | |
1576 | close-output-port, close-io-port, call-with-input-file, | |
1577 | call-with-output-file, with-input-from-port, with-output-to-port, | |
1578 | with-error-to-port, with-input-from-file, with-output-to-file, | |
1579 | with-error-to-file, with-input-from-string, with-output-to-string, | |
1580 | with-error-to-string, the-eof-object): Definitions moved to | |
1581 | r4rs.scm. Not all of them are R4RS, but those that are use those | |
1582 | that are not. | |
1583 | (load, %load-verbosely, %load-announce): Moved, along with code to | |
1584 | set %load-hook, to r4rs.scm. | |
1585 | ||
1586 | * test.scm: New file. | |
1587 | ||
1588 | * boot-9.scm (integer?): Definition deleted, in favor of the one | |
1589 | present in libguile (which used to be called int?). I have no | |
1590 | idea why integer? didn't just call int? to begin with. | |
1591 | ||
1592 | * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?, | |
1593 | =?, >?, and >=? deleted; they're defined that way by libguile now. | |
1594 | ||
99f97bfe JB |
1595 | * boot-9.scm (load): Simplified; primitive-load does most of this |
1596 | work now. | |
1597 | (%load-announce-win): Removed; no longer used. Set %load-hook to | |
1598 | call %load-announce. | |
1599 | ||
3afb28ce GH |
1600 | Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz> |
1601 | ||
4fe3604d JB |
1602 | * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid, |
1603 | stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime, | |
1604 | stat:ctime, stat:blksize, stat:blocks) accessor functions for stat | |
1605 | components. | |
3afb28ce GH |
1606 | (file-is-directory?): use stat:type. |
1607 | ||
3065a62a JB |
1608 | Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com> |
1609 | ||
1610 | * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here; | |
1611 | that's now taken care of in libguile, and in a way compatible with | |
1612 | SCSH (which this isn't). | |
1613 | ||
e4c5095f JB |
1614 | Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1615 | ||
1616 | * boot-9.scm: Formatting tweaks. | |
1617 | ||
1bb961a3 MD |
1618 | Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
1619 | ||
1620 | * boot-9.scm (handle-system-error): Added hooks before-error-hook, | |
1621 | after-error-hook, before-backtrace-hook and after-backtrace-hook | |
1622 | to the error handler. E.g.: fancy emacs support could plug into | |
1623 | these. | |
1624 | (save-stack): New function. The stack is now made differently | |
1625 | depending on the stack id. (The motivation is to make a better | |
1626 | choice regarding what stack frames to present to the user.) | |
1627 | (error-catching-loop): Stack handling code moved outside into | |
1628 | save-stack. | |
1629 | ||
9a0d70e2 GH |
1630 | Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz> |
1631 | ||
d7189b49 GH |
1632 | * Makefile.in (scm_files): add expect.scm. |
1633 | ||
1634 | * expect.scm: new file ported from guile-iii. | |
1635 | ||
9a0d70e2 GH |
1636 | * boot-9.scm: remove handle-system-error, after moving the code into |
1637 | error-catching-loop. | |
1638 | Don't set 'throw-handler-default property on error keys. | |
1639 | Just interpret (almost) any throw with 4 args as an error throw. | |
1640 | Delete some try-load stuff that was already commented out. | |
1641 | ||
35c5db87 GH |
1642 | Second thoughts, keep handle-system-error but call it from |
1643 | error-catching-loop. | |
1644 | ||
d065b65f JB |
1645 | Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com> |
1646 | ||
aa9576ad JB |
1647 | * boot-9.scm: Doc fixes. |
1648 | (make-module): Rework for readability. | |
1649 | (make-root-module, make-scm-module): USES argument to make-module | |
1650 | should be '(), not #f. | |
1651 | ||
d065b65f JB |
1652 | * boot-9.scm (try-load): %sys-load-path has been renamed to |
1653 | primitive-load-path; adjust call here. | |
1654 | ||
c01c94bf MD |
1655 | Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1656 | ||
d065b65f | 1657 | * boot-9.scm (signal-handler): Bugfix: Moved the recording of |
c01c94bf MD |
1658 | the stack to the correct place: when it is decided to generate an |
1659 | error-signal. | |
1660 | ||
2dfc85c0 MD |
1661 | Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1662 | ||
1663 | * boot-9.scm (error-catching-loop, signal-handler, | |
1664 | handle-system-error): Backtracing now works for signals aswell; | |
1665 | Backtracing mechanism can now identify the stack root created by | |
1666 | start-stack so that the user isn't exposed to system stack frames. | |
1667 | ||
84d8ad97 MD |
1668 | Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1669 | ||
1670 | * Makefile.in: Added threads.scm. | |
1671 | ||
4f0292cf MD |
1672 | Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1673 | ||
1674 | * debug.scm (make-enable, make-disable): Simplified. | |
1675 | ||
1676 | * boot-9.scm: Renamed %%throw-handler-default --> | |
1677 | throw-handler-default. | |
1678 | ((handle-system-error key . arg-list)): Changed the way errors are | |
1679 | reported. | |
1680 | ((scm-style-repl)): Wrap up the call to eval in a start-stack | |
1681 | acro. | |
1682 | ((error-catching-loop thunk)): Introduce a lazy-catch into | |
1683 | error-catching-loop so that the stack can be captured. | |
1684 | ||
1eaceb61 JB |
1685 | Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1686 | ||
1687 | * mapping.scm (hash-table-mapping): Explicitly request that | |
1688 | make-vector fill new vectors with '(); this will make it easier to | |
1689 | port Guile Scheme code to other Schemes. | |
1690 | * boot-9.scm (make-print-style, make-print-table): Same. | |
1691 | ||
6fa8995c GH |
1692 | Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz> |
1693 | ||
1694 | * boot-9.scm (load): rewritten again. | |
1695 | Append "." to the default %load-path. | |
1696 | (feature?): new function: checks for a symbol in the features list. | |
1697 | (module-local-variable): remove apparently useless (caddr (list m v | |
1698 | ...)) | |
1699 | (%load-announce): minor formatting change. | |
1700 | (file-exists?): use access? if posix is featured. | |
1701 | (file-is-directory?): use stat if i/o-extensions is featured. | |
1702 | (try-module-autoload module-name): use file-exists? before | |
1703 | file-is-directory? | |
1704 | ||
8b4a21d1 MD |
1705 | Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth> |
1706 | ||
8acae5bb MD |
1707 | * boot-9.scm: Added conditional loading of threads.scm. |
1708 | ||
1709 | * threads.scm: New file. Modified from the Cygnus-r0.3 | |
1710 | distribution. | |
1711 | ||
8b4a21d1 MD |
1712 | * boot-9.scm (error-catching-loop): Added handling of key |
1713 | `switch-repl'. | |
1714 | ||
1715 | * boot-9.scm: Name change %%bad-throw --> bad-throw. | |
1716 | ||
c90c9685 JB |
1717 | Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1718 | ||
1719 | * boot-9.scm (make-record-type, record-constructor): Don't assume | |
1720 | the empty list is false when parsing the argument list. | |
1721 | ||
1722 | Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com> | |
1723 | ||
1724 | * boot-9.scm (signal-handler): Clean up logic. | |
1725 | ||
1726 | * boot-9.scm (load): Assume %load-path is always bound. | |
1727 | ||
5552355a GH |
1728 | Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz> |
1729 | ||
1730 | * boot-9.scm (error): replace another throw with scm-error. Throw | |
1731 | to 'misc-error instead of 'error (no need to distinguish these.) | |
1732 | Don't set up 'error as a key. | |
1733 | Set up regex-error as a key, if regex is available. | |
1734 | (signal-handler): use scm-error, not throw. | |
1735 | ||
7a818853 | 1736 | (%try-load, try-load-with-path, %load, load-with-path, |
5552355a GH |
1737 | basic-try-load-with-path, basic-load-with-path, |
1738 | try-load-module-with-path,load-module-with-path): deleted, since | |
1739 | they seem redundant. | |
1740 | (try-load): define using %try-load, not try-load-with-path. | |
7a818853 | 1741 | (load): rewritten. load tries to open the file directly and |
5552355a GH |
1742 | with a .scm extension before searching the library directories |
1743 | (should "." be added to %load-path? then load could still open | |
1744 | directly files starting with "/"). | |
1745 | (try-module-autoload): use load, not load-with-path. | |
1746 | (%load-indent): deleted, -2 was causing errors. | |
1747 | ||
1748 | (%read-sharp): use port-line, not line-number. | |
1749 | ||
c90c9685 JB |
1750 | Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1751 | ||
1752 | * boot-9.scm (%%bad-throw): Delete definition. 1) It's very | |
1753 | straightforward to provide the equivalent functionality using | |
1754 | (catch #t ...), so there's no need for the extra complexity. 2) | |
1755 | Outside the context of a read-eval-print loop (which Guile should | |
1756 | not require) it's not clear we should do anything more complicated | |
1757 | than print an error and exit; the user or REPL can establish | |
1758 | something better if it wants. 3) In that case, it's much more | |
1759 | robust to just do it in the C code. | |
1760 | ||
855c0eac GH |
1761 | Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz> |
1762 | ||
1763 | * boot-9.scm (%try-load): define using primitive-load. Previously | |
1764 | %try-load itself was the primitive. | |
1765 | (load-with-path): use scm-error instead of %load-announce-lossage. | |
1766 | Errors are thrown to 'misc-error instead of 'could-not-load. | |
1767 | (%load-announce-lossage): deleted. | |
1768 | ||
a0c97697 MD |
1769 | Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth> |
1770 | ||
1771 | * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'. | |
1772 | (make-record-type type-name fields): Temporarily remove support | |
1773 | for printing of records (not possible yet with C printer). | |
1774 | ||
be2d2c70 GH |
1775 | Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz> |
1776 | ||
1777 | * boot-9.scm (file-exists?, file-is-directory): catch only | |
1778 | system-error, not every kind of error. | |
1779 | (scm-error): new procedure. | |
1780 | ||
434bf5ce JB |
1781 | Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1782 | ||
1783 | * boot-9.scm: Formatting tweaks. | |
1784 | ||
2194b6f0 GH |
1785 | Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz> |
1786 | ||
1787 | * boot-9.scm (%%handle-system-error key): remove the code for | |
1788 | SCM-style errors. handle the case that an unexpected number | |
1789 | of args are supplied. | |
1790 | (%%system-errors): removed. | |
1791 | (error): redefine using a throw with key and 4 args. | |
1792 | ('error): associate 'error, 'error-signal keys with | |
1793 | %%handle-system-error. | |
1794 | (%%default-error-handler): removed. | |
1795 | (signal-handler): throw with 4 args and use the error-signal key. | |
1796 | Create an error message instead of using numerical codes. | |
1797 | (%%bad-throw): call error instead of throw if key not found. | |
1798 | ||
1799 | Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz> | |
1800 | ||
1801 | * boot-9.scm: initialize new error keys (see libguile/ChangeLog). | |
1802 | (%%handle-system-error key): check subr is not #f before printing. | |
1803 | Recognize %s (embed an argument using "display") and | |
1804 | %S (embed an argument using "write"). | |
1805 | ||
234f2da6 GH |
1806 | Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz> |
1807 | ||
1808 | * boot-9.scm (%%handle-system-error key): set args and rest to | |
1809 | the empty list if they are #f. | |
1810 | Initialize out-of-range as an error key. | |
1811 | ||
e1724d20 GH |
1812 | Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz> |
1813 | ||
40c8906e GH |
1814 | * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle. |
1815 | ||
e1724d20 GH |
1816 | * boot-9.scm: remove leading %% from references to '%%system-error. |
1817 | (%%handle-system-error): don't pass all the thrown arguments when | |
1818 | aborting, just the key and subr. | |
1819 | Remove the code to "Install default handlers for built-in errors." | |
1820 | Remove the definition of the syserror procedure. | |
1821 | Associate 'numerical-overflow with default handler. | |
1822 | ||
1a80fb07 MD |
1823 | Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1824 | ||
1825 | * boot-9.scm: Name change: value-ref --> local-ref | |
1826 | resolved-ref --> nested-ref Motivation: conformance to the other | |
1827 | dictionary operators: list-ref operates on list, vector-ref | |
1828 | operates on vector, nested-ref operates on nested namespace, | |
1829 | local-ref operates on the local nested namespace. | |
1830 | ||
7cb1d4d3 GH |
1831 | Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz> |
1832 | ||
1833 | * boot-9.scm (%%handle-system-error): recognise errors thrown | |
1834 | by lgh-error (fill-message etc.) | |
9561554c | 1835 | (fill-message): check first whether args is null. |
a949b3f2 | 1836 | (fill-message): bug fix and check that args is a list. |
7cb1d4d3 | 1837 | |
393ee9a8 JB |
1838 | Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com> |
1839 | ||
1840 | * boot-9.scm: %load-path is initialized in C code now. | |
1841 | (implementation-vicinity, parse-path): Deleted, along with code to | |
1842 | initialize %load-path. | |
1843 | ||
1844 | * boot-9.scm (in-vicinity): If the vicinity doesn't end with a | |
1845 | "/", use one to separate it from the file. | |
1846 | ||
e4ef46d4 JB |
1847 | Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu> |
1848 | ||
1849 | * boot-9.scm (%load-path): Add the site directory. | |
1850 | Add the directory named after the version number. | |
1851 | Prepend the version number to the other directories in the path. | |
1852 | Simplify by mapping the common prefix onto each item. | |
1853 | * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir, | |
1854 | sitedatadir): New definitions. | |
1855 | (libparent, libdir, install_path): Replaced by above. | |
1856 | (install): Create the above directories. | |
1857 | Put the source files into subpkgdatadir. | |
1858 | (uninstall): Remove the above directories. | |
1859 | ||
00312aa3 JB |
1860 | Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com> |
1861 | ||
1862 | Don't use the PLUGIN system to gather information for the | |
1863 | Makefile's distribution and installation targets; just put it all | |
1864 | in the Makefile directly. | |
1865 | * PLUGIN/this.configure (scm_files, aux_files): Remove sections | |
1866 | for these. | |
1867 | * configure.in: Remove code that gets and substitutes scm_files and | |
1868 | aux_files. | |
1869 | * Makefile.in (scm_files, aux_files): Write out the list of files | |
1870 | here, where people expect to find them. | |
1871 | ||
96a8aaf3 MD |
1872 | Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1873 | ||
1874 | * boot-9.scm: Preliminary solution: optionally load the debug | |
7685f77c | 1875 | module. Changed "gls" to "guile1.0b3". |
96a8aaf3 MD |
1876 | |
1877 | * debug.scm: New file: debug extensions. | |
1878 | ||
4e378733 MD |
1879 | Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1880 | ||
1881 | * boot-9.scm (print-vector): Renamed weak-hash-table? --> | |
1882 | weak-key-hash-table?. (Again!) | |
1883 | ||
0190d683 MD |
1884 | Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1885 | ||
1886 | * boot-9.scm (print-vector, macro-table, xformer-table): | |
1887 | Renamed weak-hash-table --> weak-key-hash-table. | |
1888 | ||
1889 | * poe.scm (funcq-memo): Renamed weak-hash-table --> | |
1890 | weak-key-hash-table. | |
1891 | ||
8b13c6b3 GH |
1892 | Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz> |
1893 | ||
1894 | * boot-9.scm (*null-device*): global constant from goonix. | |
1895 | (move->fdes): adjusted for boolean primitive-move->fdes. return | |
1896 | the modified port, always set revealed count to 1 (SCSH compatible). | |
1897 | (release-port-handle port): from goonix (SCSH compatible). | |
1898 | (%open-file): removed. | |
1899 | (open-input-file, open-output-file, file-exists?, file-is-directory?): | |
1900 | modified for open-file change (does not return #f). | |
1901 | ||
a44a755d JB |
1902 | Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1903 | ||
1904 | * Makefile.in (dist-dir): New target for new dist system. | |
1905 | (manifest): Deleted. | |
1906 | * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a | |
1907 | directory, and needs special treatment in the dist-dir target. | |
1908 | ||
02b754d3 GH |
1909 | Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz> |
1910 | ||
1911 | * boot-9.scm: remove the wrappers for '%' system primitives, | |
1912 | now that they throw errors directly. | |
1913 | remove make-simple-wrapper and similar functions. | |
1914 | protect a call to getenv which may now throw an exception. | |
1915 | ||
1916 | Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz> | |
1917 | ||
1918 | * boot-9.scm (false-if-exception): new macro. | |
1919 | ||
0f2d19dd JB |
1920 | Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive> |
1921 | ||
1922 | * The more things change... | |
1923 | ||
1924 |