Commit | Line | Data |
---|---|---|
11b05261 MD |
1 | Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
2 | ||
3 | * boot-9.scm (keyword->symbol, display-usage-report): Changed | |
0a54457d MD |
4 | length --> string-length. (Thanks to Aleksandar Bakic.) |
5 | (separate-fields-discarding-char, separate-fields-after-char, | |
6 | separate-fields-before-char): Bugfix from Maciej Stachowiak | |
7 | <mstachow@mit.edu>. Thanks! | |
a4f9b1f6 MD |
8 | (try-module-linked): Try to find module among those already |
9 | registered. | |
10 | (try-module-dynamic-link): Removed the first test which | |
11 | corresponds to a call to `try-module-linked'. | |
12 | (resolve-module): Resolve modules in this order: 1. Already | |
13 | registered modules (for example those which have been statically | |
14 | linked), 2. Try to autoload an .scm-file, 3. Try to dynamically | |
15 | link a .so-file. | |
11b05261 | 16 | |
24b2aac7 MD |
17 | Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
18 | ||
19 | * boot-9.scm (iota): Renamed list-reverse! --> reverse! | |
20 | ||
7cfae7e6 MD |
21 | Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
22 | ||
23 | * session.scm (name): New procedure: Gives name of object. | |
24 | (source): New procedure: Gives source of object. | |
25 | ||
7a0ff2f8 MD |
26 | Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
27 | ||
28 | * * boot-9.scm (primitive-macro?): New procedure. | |
29 | ||
30 | * slib.scm: Added hack which transfers syntactic information from | |
31 | the builtin variable `define' to the slib version if module (ice-9 | |
32 | syncase) has been loaded. This is necessary to get correct | |
33 | expansion inside the slib module. | |
34 | ||
35 | * psyntax.ss (build-let, build-named-let): New output | |
36 | constructors. | |
37 | (build-lexical-var): Seed gensym with symbolic name. | |
38 | (self-evaluating?): Add keywords among self-evaluating types. | |
39 | (let): New core form. | |
40 | (if): Removed from core language. | |
41 | (or, and, let, cond): Removed syntactic definitions. | |
42 | (sc-expand3): New procedure: Expander which takes optional mode | |
43 | and eval-syntactic-expanders-when arguments. | |
44 | ||
45 | * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp. | |
46 | Should be used inside the (ice-9 syncase) module with (use-syntax | |
47 | syncase) and with the current directory containing the psyntax.ss | |
48 | source. | |
49 | Added hack to transfer syntactic information from the builtin | |
50 | variable `define' to the slib version if module (ice-9 slib) has | |
51 | been loaded. | |
52 | ||
53 | Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se> | |
54 | ||
55 | * syncase.scm (sc-interface, sc-expand): Removed hook setup. | |
56 | (syncase): Publish syntax transformer to be used with | |
57 | `use-syntax'. | |
58 | (sc-macro): Use this as the value when publishing macros. | |
59 | ||
60 | * boot-9.scm (module-type): Added `transformer'. | |
61 | (make-module): Modified initialization. | |
62 | (module-transformer, set-module-transformer!): Selector and | |
63 | mutator for module-associated transformer. | |
64 | (set-current-module): Use module-transformer to set | |
65 | `scm:eval-transformer'. | |
66 | (module-use!): Previous change reverted. | |
67 | * (use-syntax): New function: Install a transformer in current | |
68 | module. | |
69 | (sc-interface, sc-expand): Removed! :) | |
70 | ||
d43f8c97 MD |
71 | Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
72 | ||
73 | * emacs.scm (emacs-load): Added new parameter `module'. | |
74 | ||
75 | * syncase.scm (putprop, getprop): Modified to use the object | |
76 | properties of the variable object corresponding to the symbol; | |
77 | This way we can ride on the mechanisms of the module system. | |
78 | Changed `builtin-variable' calls to `define-public' calls. | |
79 | Setup the hooks sc-expand and sc-interface. | |
80 | ||
81 | * boot-9.scm (sc-interface, sc-expand): New builtin variables. | |
82 | (set-current-module): Switch to and from sc-expand as | |
83 | scm:eval-transformer when going into and out of modules using | |
84 | syncase macros. | |
85 | (module-use!): Set scm:eval-transformer to sc-expand when adding | |
86 | the syncase interface. | |
87 | ||
1f355b4f MD |
88 | Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
89 | ||
90 | * syncase.scm (putprop): Temporary fix which publishes new syntax | |
91 | globally (the old behaviour was complex and connected to the inner | |
92 | workings of the current module system). | |
93 | ||
e9b7bb80 MD |
94 | Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
95 | ||
96 | * psyntax.ss: Updated. | |
97 | psyntax.pp: Bugfix: Previous version had some leading "t":s cut | |
98 | off! | |
99 | ||
e672f1b5 MD |
100 | Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
101 | ||
102 | * boot-9.scm (gensym): Removed (replaced by primitive). | |
103 | (obarray-gensym): Rewritten to use `gensym'. | |
104 | (gentemp): Rewritten to use `gensym'. | |
105 | ||
30d732a6 MD |
106 | Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
107 | ||
108 | * gtcl.scm (make-tcl-binder): Rewritten to choose bindings | |
109 | according to the following priorities: | |
110 | 1. tcl bindings which are present in override-scheme-list | |
111 | 2. bindings from the-scm-module | |
112 | 3. tcl bindings | |
113 | This way the gtcl module can occur first in the use-list without | |
114 | disabling the scheme interpreter. | |
115 | (new-interpreter): New function. | |
116 | ||
117 | * gwish.scm: Moved initialization code for the-interpreter to | |
118 | gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote | |
119 | it; Call `new-interpreter'; Don't :use-module (guile). | |
120 | ||
1aa8162b JB |
121 | Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com> |
122 | ||
123 | * Makefile.in: Regenerated. | |
124 | ||
34695603 JB |
125 | Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com> |
126 | ||
127 | * Makefile.in: Regenerated, so it uses "tar", not "gtar". | |
128 | ||
52f1b046 MD |
129 | Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
130 | ||
131 | * emacs.scm (object->string, format, error-args->string): New | |
132 | procedures. | |
133 | (emacs-frame-eval): Reworked. | |
134 | ||
a5be27cd MD |
135 | Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
136 | ||
137 | * session.scm (apropos-internal): Musn't initialize symbol | |
138 | accumulator with a constant pair. That led to mutation of the | |
139 | source! | |
140 | ||
68aed3ea MD |
141 | Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth> |
142 | ||
143 | * session.scm (vector-for-each): Removed. | |
144 | (apropos): vector-for-each --> array-for-each. | |
145 | (apropos-internal): New function. Return list of accessible | |
146 | symbols matching regexp. | |
147 | ||
148 | * debug.scm (frame-number->index): New function. Convert frame | |
149 | number (as displayed in the backtrace) to frame index (to be used | |
150 | in stack-ref). | |
151 | ||
152 | * emacs.scm (emacs-load): New arguments: interactivep: when | |
153 | non-false, send back results to Emacs; colnum: Column number; | |
154 | Use modules (ice-9 debug) and (ice-9 session); | |
155 | (no-stack, no-source): New simple-actions; | |
156 | (result-to-emacs): New procedure. Sends data to Emacs via the | |
157 | result protocol; | |
158 | (get-frame-source, emacs-select-frame, emacs-frame-eval, | |
159 | emacs-symdoc): New procedures. | |
8c5a8bed | 160 | |
555f21d8 MD |
161 | Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
162 | ||
eb7ec1e8 | 163 | * emacs.scm (emacs-load): Adjust stack narrowing. |
8c3420ad | 164 | (whitespace-chars): Include #\np. |
eb7ec1e8 | 165 | |
555f21d8 MD |
166 | * syncase.scm: Also turn off debugging evaluator and recording of |
167 | procedure names during loading of psyntax.pp. | |
168 | ||
169 | * psyntax.pp: Removed leading blanks => 800K -> 100K. | |
170 | ||
230c4353 MD |
171 | Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
172 | ||
19ef2a9b MD |
173 | * syncase.scm: Don't tamper with debug mode setting when enabling |
174 | macros. Instead cut the stack with start-stack. | |
a48930c6 | 175 | Load psyntax.pp with recording of positions turned off. |
19ef2a9b | 176 | |
ceb177a4 | 177 | * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =. |
230c4353 MD |
178 | |
179 | * * syncase.scm: New file: Guile-adaption for syntax-case macros. | |
180 | psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by | |
181 | R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman | |
182 | ||
0e81dabd MD |
183 | Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
184 | ||
185 | * * session.scm: New file: Session support. | |
186 | (apropos): New procedure: List bindings given regexp. | |
187 | ||
6afcd3b2 GH |
188 | Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz> |
189 | ||
190 | * boot-9.scm: define tms accessors: clock, utime, stime, cutime, | |
191 | cstime. | |
192 | ||
096d5f90 MD |
193 | Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
194 | ||
db75135d MD |
195 | * emacs.scm (emacs-load): Something has changed in the reader so |
196 | that we now should set the port line count to the specified value | |
197 | (linum) instead of (- linum 1). | |
198 | ||
096d5f90 MD |
199 | * slib.scm (slib:load): Use load-from-path instead of |
200 | primitive-load-path so that backtraces get narrowed properly at | |
201 | the top. | |
202 | ||
203 | * boot-9.scm (top-repl): Save stack already in signal handler in | |
204 | order to narrow it correctly. | |
205 | (save-stack): Adjust narrowing tag for the top of load-stacks. | |
206 | ||
7a6f1ffa GH |
207 | Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz> |
208 | ||
209 | * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup. | |
210 | (dup->fdes): deleted, now done in C. | |
211 | ||
956055a9 GH |
212 | Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz> |
213 | ||
214 | * boot-9.scm (setenv): new procedure, scsh compatible. | |
215 | ||
485cb6eb MV |
216 | Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de> |
217 | ||
218 | * boot-9.scm (with-fluids): New macro to go with the | |
219 | builtin `with-fluids*'. | |
220 | ||
4d0d7ef9 MD |
221 | Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
222 | ||
223 | * slib.scm (install-require-module): In newer versions of slib | |
224 | *catalog* is #f until the first access. Therefore we call | |
225 | require:provided? for a random feature if *catalog* is #f. | |
226 | ||
8309a10d MD |
227 | Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
228 | ||
229 | * boot-9.scm: If using emacs interface, enable backtraces | |
230 | automatically. | |
231 | ||
e38303a2 GH |
232 | Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz> |
233 | ||
234 | * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes, | |
235 | dup, fdes->inport, fdes->outport, port->fdes): new procedures. | |
236 | (duplicate-port): was a C primitive, now it's here. | |
237 | (move->fdes): allow the first argument to be a file descriptor. | |
238 | Return the modified port or file descriptor (was unspecified.) | |
239 | ||
2e3e9351 JB |
240 | Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com> |
241 | ||
32552d73 JB |
242 | Changes to compile under gnu-win32, from Marcus Daniels: |
243 | * boot-9.scm (load-user-init): If HOME is unset, provide | |
244 | a default of /. | |
245 | ||
2e3e9351 JB |
246 | * boot-9.scm (define-public): Changed to accomodate Hobbit. |
247 | ||
db561408 JB |
248 | Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com> |
249 | ||
fcff2c5c JB |
250 | * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm, |
251 | poe.scm, slib.scm, tags.scm, threads.scm: Use normal list | |
252 | notation, instead of #/ notation. | |
253 | ||
db561408 JB |
254 | * expect.scm (expect-strings): Pass regexp/newline flag to |
255 | make-regexp. | |
256 | ||
2409cdfa JB |
257 | Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com> |
258 | ||
db561408 JB |
259 | Fix inconsistencies in parsing of #/ style lists. |
260 | * boot-9.scm (read-path-list-notation): New function. | |
261 | (parse-path-symbol): Deleted. Replaced by above. | |
262 | Plug in read-path-list-notation as the parser for #/ lists, | |
263 | instead of the anonymous lambda form calling parse-path-symbol. | |
264 | (Thanks to Maurizio Vitale.) | |
265 | ||
2409cdfa JB |
266 | * boot-9.scm (make-list): Remove the definition of this function |
267 | from the (ice-9 common-list) module; make the `init' argument | |
268 | optional in the scm module's definition, to match the deleted | |
269 | definition. Harmony reigneth? (Thanks to Bernard URBAN.) | |
270 | ||
91b28bb5 JB |
271 | Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com> |
272 | ||
273 | Try to detect when people are using one version of libguile and a | |
274 | different version of ice-9. People have been skewing things and | |
275 | sending in bug reports. | |
276 | * version.scm.in: New file, which the configure script munges to | |
277 | produce version.scm, which contains the ice-9 config stamp. | |
278 | * boot-9.scm: Compare the libguile and ice-9 config stamps; | |
279 | display a warning if the two are different. | |
280 | * Makefile.am: Install version.scm, but don't distribute it. | |
281 | Distribute version.scm.in, but don't install it. | |
282 | * Makefile.in: Regenerated. | |
283 | ||
9fbdb48f JB |
284 | Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com> |
285 | ||
286 | * slib.scm (slib:warn): Alias for WARN function. | |
287 | ||
e320da2f JB |
288 | Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com> |
289 | ||
290 | * boot-9.scm (struct-printer): Fix off-by-one error in range | |
291 | check. Correctly check for struct printer tag. | |
292 | ||
293 | * expect.scm: Turn this into a module, (ice-9 expect). | |
294 | (expect-port, expect-timeout, expect-timeout-proc, | |
295 | expect-eof-proc, expect-char-proc, expect, expect-strings, | |
296 | expect-select): Make these public definitions. | |
297 | (expect-strings): Use make-regexp and regexp-exec, instead of | |
298 | regcomp and regexec. We've omitted the REG_NEWLINE flag; hope | |
299 | that's okay. | |
300 | ||
301 | * boot-9.scm (with-regexp-parts): Comment this out. It has no | |
302 | users in the core, and relies on mildly hairy details of the old | |
303 | regexp interface. | |
304 | ||
305 | * test.scm: Re-enable tests asserting that '() is true, and not a | |
306 | boolean. This stuff has been true for a while. | |
307 | ||
308 | * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated | |
309 | function names. | |
310 | ||
311 | * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc | |
312 | fixes. | |
313 | ||
3688473b JB |
314 | Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com> |
315 | ||
316 | * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in | |
317 | ../configure.in. | |
318 | ||
0b46857f MV |
319 | Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de> |
320 | ||
321 | * boot-9.scm (struct-printer): Bugfix: Check the layout of the | |
322 | vtable and not the one of the struct. | |
323 | ||
5dade857 MV |
324 | Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de> |
325 | ||
326 | * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer, | |
327 | make-struct-printer, set-struct-printer-in-vtable!): New bindings | |
328 | to support printing of structures. | |
329 | (record-type-vtable, make-record-type): Add slot to hold printing | |
330 | function and initialize it with something appropriate. Removed | |
331 | commented out printing code. | |
332 | (record-type-name, record-type-fields): Adjusted slot offsets. | |
333 | (%print-module): Reduce argument list to "mod" and "port". | |
334 | ||
95d59d10 JB |
335 | Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com> |
336 | ||
337 | * slib.scm (identity): New function, used by SLIB. | |
338 | ||
e1a191a8 GH |
339 | Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz> |
340 | ||
341 | * boot-9.scm: signal-handler, alarm-thunk: removed. | |
342 | don't define ticks-interrupt etc. | |
343 | top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS | |
344 | during call to scm-style-repl. | |
345 | ||
19da35d0 JB |
346 | Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com> |
347 | ||
348 | * slib.scm (slib:load): Use primitive-load-path instead of | |
349 | basic-load. This is probably wrong, but hopefully the entire | |
350 | source access system will be revised soon anyway, and this will | |
351 | make require behave more like Emacs Lisp's require. If this | |
352 | breaks something, please let me know. Maybe this is real dumb. | |
353 | ||
0e165281 JB |
354 | Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com> |
355 | ||
356 | * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere. | |
357 | * boot-9.scm: If the `regex' feature is present, use the module | |
358 | (ice-9 regex). | |
359 | ||
737c9113 JB |
360 | Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com> |
361 | ||
362 | * regex.scm: New file. | |
363 | * Makefile.am (subpkgdata_DATA): Add regex.scm. | |
364 | * Makefile.in: Regenerated. | |
365 | ||
36539a15 JB |
366 | Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com> |
367 | ||
368 | * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm, | |
369 | gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm, | |
370 | oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm, | |
371 | threads.scm: New address for FSF. | |
372 | ||
142ad3d9 JB |
373 | Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com> |
374 | ||
375 | * debug.scm: Update copyright years; this file has been worked on | |
36539a15 | 376 | in 1997. |
142ad3d9 | 377 | |
cafa4c68 GH |
378 | Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz> |
379 | ||
380 | * expect.scm: use gettimeofday instead of get-internal-real-time | |
381 | and use a floating point timeout when calling select. Untested, | |
382 | since the regex library is currently AWOL. | |
383 | ||
223be5f0 JB |
384 | Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com> |
385 | ||
386 | * boot-9.scm (eval-string): Function deleted; it was already | |
387 | implemented in C, so there's no point in making a divergable copy | |
388 | here. | |
389 | ||
9b01064c JB |
390 | Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com> |
391 | ||
392 | * Makefile.in: Regenerated, using automake-1.1p. | |
393 | ||
394 | Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com> | |
395 | ||
396 | * Makefile.in: Regenerated, using automake-1.1p. | |
397 | ||
1fbc60b2 GH |
398 | Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz> |
399 | ||
400 | * boot-9.scm (error-catching-loop): don't read a line from | |
401 | current input when quit is encountered, the previous change | |
402 | fixes this too. | |
403 | ||
c7d97590 JB |
404 | Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com> |
405 | ||
406 | * boot-9.scm (scm-style-repl): After reading an expression, | |
407 | consume any trailing newline (perhaps preceded by whitespace), to | |
408 | avoid screwing up GDB. More detail in comments. | |
409 | ||
6b3f3366 JB |
410 | Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com> |
411 | ||
412 | * Makefile.am (ETAGS_ARGS): New variable, since we're not treating | |
413 | the Scheme code like code yet. | |
414 | * Makefile.in: Resrac,husrched. | |
415 | ||
eea324ee MV |
416 | Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de> |
417 | ||
418 | * boot-9.scm (link-dynamic-module): Do not catch errors from | |
419 | dynamic-link and dynamic-call. When the shared library exists it | |
420 | is now assumed to be suitable for a dynamic C module. | |
421 | ||
ef79b65b MV |
422 | Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de> |
423 | ||
424 | * boot-9.scm (process-use-modules): New function to support the | |
425 | use-modules macro | |
426 | (use-modules): throw an error iff one of the requested modules | |
427 | can't be found. | |
428 | ||
3be77013 GH |
429 | Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz> |
430 | ||
431 | * boot-9.scm: don't define timer-thunk or gc-thunk. | |
432 | ||
28c682fa JB |
433 | Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com> |
434 | ||
435 | * aclocal.m4: Removed; unnecessary, given changes of Apr 24. | |
436 | ||
437 | * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@"; | |
438 | we're not using AM_INIT_GUILE_MODULE any more. | |
439 | * Makefile.in: Regeneratitetedrerd. | |
440 | ||
20108301 JB |
441 | Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com> |
442 | ||
819f936b JB |
443 | Get 'make dist' to work again. |
444 | * Makefile.am (EXTRA_DIST): Remove PLUGIN files. | |
445 | * Makefile.in: Regenerated, like two tons of fleas. | |
446 | ||
20108301 JB |
447 | Changes for reduced Guile distribution: one configure script, |
448 | no plugins. | |
449 | * configure.in, configure: Removed. | |
450 | * Makefile.in: Regenerated. | |
451 | ||
dab94cac JB |
452 | Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com> |
453 | ||
48d224d7 | 454 | * boot-9.scm (eval-string, command-line, load-user-init): New |
dab94cac JB |
455 | functions. |
456 | ||
65495221 GH |
457 | Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz> |
458 | ||
459 | * boot-9.scm (log10): defined. | |
460 | ||
708bf0f3 GH |
461 | Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz> |
462 | ||
463 | * expect.scm (expect-select): correct the millisecond timeout | |
464 | arithmetic (from Marko.Kohtala@ntc.nokia.com). | |
465 | ||
466 | Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz> | |
467 | ||
468 | * boot-9.scm (open-input-pipe, open-output-pipe): defined here | |
469 | instead of in libguile. | |
470 | (tm:sec etc.) new accessors for broken-down time. | |
471 | (set-tm:sec etc.) new setters for broken-down time. | |
472 | ||
9337637f GH |
473 | Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz> |
474 | ||
475 | * boot-9.scm (netent:addrtype, servent:port): added missing | |
476 | procedures. | |
477 | (netent:net, servent:proto): repaired. | |
478 | (utsname:sysname etc.): new accessors for uname. | |
479 | ||
480 | Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz> | |
481 | ||
482 | * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr, | |
483 | sockaddr:port): new functions. | |
484 | ||
bce074ee GH |
485 | Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz> |
486 | ||
487 | * boot-9.scm: define accessor procedures for the objects returned | |
488 | by getpw, getgr, gethost, getnet, getproto, getserv (e.g., | |
489 | passwd:name, where the first component is the name of the C structure | |
490 | and the second is the unprefixed C member name.) | |
491 | ||
492 | Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz> | |
493 | ||
095936d2 | 494 | * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent, |
bce074ee GH |
495 | setservent): no longer take an argument, it was bogus. |
496 | ||
81e2a235 GH |
497 | Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz> |
498 | ||
499 | * boot-9.scm (scm-error): deleted, reimplemented in C. | |
500 | ||
04798288 MD |
501 | Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
502 | ||
503 | * boot-9.scm (process-define-module): Modified to handle both | |
504 | keywords and symbols. | |
505 | ||
75a97b92 GH |
506 | Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz> |
507 | ||
508 | * slib.scm: update read usage. | |
509 | ||
510 | * r4rs.scm: update primitive-load usage. | |
511 | Don't define read-sharp. | |
512 | ||
513 | * boot-9.scm: use read-hash-extend to install extra read syntax. | |
514 | (read-sharp): removed. | |
515 | Adjust usage of primitive-load-path, read, which no longer take | |
516 | case_i or read-sharp arguments. | |
517 | ||
63a3d814 MD |
518 | Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
519 | ||
90d5e280 MD |
520 | * boot-9.scm: Added loading of session support module. |
521 | ||
63a3d814 MD |
522 | * debug.scm: Removed `display-application'. (Replaced by |
523 | primitive procedure.) | |
524 | ||
525 | * boot-9.scm (beautify-user-module!): Don't add the root module | |
526 | interface to the end of the use-list of the root module. | |
527 | ||
75a97b92 GH |
528 | Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz> |
529 | ||
530 | * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted. | |
531 | ||
f3c23298 GH |
532 | Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz> |
533 | ||
534 | * boot-9.scm: check use-emacs-interface for emacs support. | |
535 | ||
7950df7c GH |
536 | Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz> |
537 | ||
538 | * boot-9.scm (scm-style-repl): call repl-report-start-timing if | |
539 | read gets EOF. | |
540 | * (exit): alias for quit. | |
541 | ||
8e44e7a0 GH |
542 | Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz> |
543 | ||
544 | * boot-9.scm (error-catching-loop thunk): use a status variable to | |
545 | return the quit args. | |
546 | (scm-style-repl): call -quit, passing return value from | |
547 | error-catching-repl. Make -quit return its args. | |
1a36eef2 | 548 | stand-alone-repl: comment out, since it seems unused. |
7950df7c | 549 | |
8e44e7a0 GH |
550 | (error-catching-loop thunk): discard trailing junk after a (quit). |
551 | ||
9a942103 MD |
552 | Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
553 | ||
06a02069 MD |
554 | * boot-9.scm: Removed the old printer code. |
555 | ||
556 | * r4rs.scm (apply, call-with-current-continuation): Added comment | |
557 | explaining why apply and call/cc need to be closures. | |
558 | ||
559 | * boot-9.scm (apply, call-with-current-continuation): Bugfix: | |
560 | Removed. These definitions are already present in r4rs.scm. | |
561 | ||
9a942103 MD |
562 | * debug.scm (trace-entry, trace-exit): Check that we're on a repl |
563 | stack before printing traced frames; Re-enable trace flag at end | |
564 | of handlers. | |
565 | ||
e6875011 MD |
566 | Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
567 | ||
59e1116d MD |
568 | * debug.scm: Add hook for reset of trace level at abort. |
569 | ||
570 | * boot-9.scm (run-hooks): New procedure. | |
571 | (add-hooks!): New macro. | |
572 | Change hooks to use these functions. | |
573 | ||
095936d2 | 574 | * debug.scm: *Warning* This feature is a bit premature. I add |
e6875011 MD |
575 | it anyway because 1. it is very useful, and, 2. you can start |
576 | making it less premature by complaining to me and by modifying | |
577 | the source! :-) | |
578 | (trace): Given one or more procedure objects, trace each one. | |
579 | Given no arguments, show all traced procedures. | |
580 | (untrace): Given one or more procedure objects, untrace each one. | |
581 | Given no arguments, untrace all traced procedures. The tracing in | |
582 | Guile have an advantage to most other systems: We don't create new | |
583 | procedure objects, but mark the procedure objects themselves. | |
584 | This means that also anonymous and internal procedures can be | |
585 | traced. | |
586 | ||
587 | * boot-9.scm (error-catching-loop): Added handling of apply-frame | |
588 | and exit-frame exceptions. | |
589 | ||
095936d2 | 590 | * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed. |
e6875011 MD |
591 | (set-repl-prompt!): Setter for repl prompt. |
592 | (scm-style-repl): If prompt is #f, don't prompt; if prompt is a | |
593 | string, display it; if prompt is a thunk, call it and display its | |
594 | result; otherwise display "> ". | |
595 | (Change suggested by Roland Orre <orre@nada.kth.se>.) | |
0065d90e MD |
596 | |
597 | * r4rs.scm (%load-verbosely): Reverted change to | |
598 | `module-defined?', since the module system isn't bootstrapped when | |
599 | we load r4rs.scm. This is just a temporary fix to make the | |
600 | repository version runnable. | |
601 | ||
eb52a06b MD |
602 | Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
603 | ||
604 | * boot-9.scm: Removed the enabling of debug evaluator and | |
605 | recording of source code positions. This was placed there for our | |
606 | convenience, but it has already sneaked into the distribution | |
607 | once... so we'd better add this in our local copies instead when | |
608 | we need it. (These options are normally enabled at the end of | |
609 | boot-9.scm when loading the debug module.) | |
610 | ||
d18d1b6d MV |
611 | Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de> |
612 | ||
613 | * boot-9.scm (module-defined?): New function. | |
614 | (macroexpand-1, macroexpand): Use local-ref instead of defined? | |
615 | and eval. | |
616 | * r4rs.scm (%load-verbosely): Use "module-defined?" instead of | |
617 | "defined?". | |
618 | * slib.scm (defined?): New function to take the place of the | |
619 | builtin "defined?". It allways examines the slib module. | |
620 | ||
15ae1bee MD |
621 | Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
622 | ||
623 | * configure.in: Added AM_MAINTAINER_MODE | |
624 | ||
c2132276 GH |
625 | Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz> |
626 | ||
627 | * boot-9.scm (read-sharp): define directly, don't go through a | |
628 | %read-sharp layer. | |
629 | ||
630 | Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz> | |
631 | ||
632 | * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not | |
633 | uniform-vector-set1! which doesn't exist. | |
634 | ||
d590bbf6 MD |
635 | Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth> |
636 | ||
637 | * boot-9.scm (backtrace): Removed. (A C version now exists in | |
638 | backtrace.c.) | |
639 | ||
1e531c3a GH |
640 | Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz> |
641 | ||
642 | * boot-9.scm (read-line!, read-delimited!, read-delimited, | |
643 | read-line): new procedures, see libguile/ChangeLog. | |
644 | ||
bb0102f7 MV |
645 | Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de> |
646 | ||
647 | Added dynamic linking of modules. See libguile/DYNAMIC-LINKING. | |
648 | ||
649 | * boot-9.scm (split-c-module-name, convert-c-registered-modules, | |
650 | init-dynamic-module, dynamic-maybe-call, | |
651 | find-and-link-dynamic-module, link-dynamic-module, | |
652 | try-module-dynamic-link, registered-modules): New definitions for | |
653 | dynamic linking of modules. | |
654 | (resolve-module): Try to dynamically link the requested module | |
655 | after failing to load it as Scheme code. | |
656 | ||
920235cc GH |
657 | Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz> |
658 | ||
659 | * boot-9.scm (getservbyport, getservbyname): remove stray %. | |
660 | ||
198befde JB |
661 | Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com> |
662 | ||
663 | * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos | |
664 | that's what it is. | |
665 | ||
666 | * lineio.scm (make-line-buffering-input-port): Properly test for | |
667 | the case of an empty buffer list. The old code assumed that '() | |
668 | was false. | |
669 | ||
33cf699f MD |
670 | Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth> |
671 | ||
095936d2 | 672 | * boot-9.scm (use-modules): New macro (from Marius Vollmer). |
33cf699f MD |
673 | (use-modules <module name> ...) Put the the modules named by |
674 | <module name> ... on the use list of the current module. | |
675 | ||
7a818853 JB |
676 | Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com> |
677 | ||
678 | * boot-9.scm (error-catching-loop): Remove message saying that | |
679 | typing "$" will put you in the debugger. This isn't implemented | |
680 | yet. | |
681 | ||
506067f0 JB |
682 | Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com> |
683 | ||
684 | * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have | |
685 | been fixed, so this function is superfluous. | |
686 | (transform-usage-lambda): Use delq!, not delq-all!. | |
687 | ||
2ebf3156 MV |
688 | Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de> |
689 | ||
7a818853 | 690 | * boot-9.scm (resolve-module): New optional parameter that |
2ebf3156 MV |
691 | controls whether autoloading is attempted or not. Default is #t. |
692 | (process-define-module): Don't autoload the defined module. | |
693 | (try-module-autoload): Don't autoload the directory modules. | |
694 | ||
7a818853 | 695 | * boot-9.scm (process-define-module): Ensure that the-scm-module |
2ebf3156 MV |
696 | is last in the `uses' list to allow shadowing builtin |
697 | bindings. All :use-module options are added in the order they | |
698 | appear in the arguments but before anything already on the list | |
699 | (such as the-scm-module). | |
700 | ||
00f06035 GH |
701 | Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz> |
702 | ||
703 | * slib.scm (slib-parent-dir): throw error if #f returned from | |
704 | %search-load-path. | |
705 | ||
733943b9 TT |
706 | Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com> |
707 | ||
708 | * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed. | |
709 | * Makefile.am, aclocal.m4: New files. | |
710 | * configure.in: Updated for Automake. | |
711 | ||
84abd243 MV |
712 | Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de> |
713 | ||
714 | * boot-9.scm (macroexpand-1, macroexpand), slib.scm | |
715 | (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a | |
716 | function, use it accordingly. | |
717 | ||
a31bc6fb JB |
718 | Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com> |
719 | ||
720 | It's an "eval closure", not an "eval thunk." A thunk is a | |
721 | function of no arguments. | |
722 | * boot-9.scm (module-type): Rename module field. | |
723 | (make-module, eval-in-module, make-root-module, | |
724 | set-current-module): Uses changed. | |
725 | (module-eval-closure, set-module-eval-closure!, | |
726 | root-module-closure): Renamed from module-eval-thunk, | |
727 | set-module-eval-thunk!, root-module-thunk. | |
728 | (set-current-module): Change uses of *top-level-lookup-thunk* to | |
729 | *top-level-eval-closure*. | |
730 | ||
3763761c JB |
731 | Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com> |
732 | ||
733 | * slib.scm (slib-parent-dir): Use string-length, not length. | |
734 | (Thanks to Bernard Urban.) | |
735 | ||
7ad737b6 MD |
736 | Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
737 | ||
7a818853 | 738 | * boot-9.scm: The debugging evaluator and recording of positions |
7ad737b6 MD |
739 | aren't enabled by default any longer (they are switched on in |
740 | debug.scm). But during development we want to have them also | |
741 | *inside* boot-9.scm. Therefore, two lines are added at the | |
742 | beginning of boot-9.scm to enable these. | |
743 | ||
744 | Call `provide' so that `records' are included among the | |
745 | `*features*'. | |
746 | ||
747 | The scheme for saving the stack has been adjusted: save-stack is | |
748 | now commonly available for saving the stack. Calling `save-stack' | |
749 | sets a flag `stack-saved?' which prevents overwriting the stack. | |
750 | `stack-saved?' is reset at `abort'. | |
751 | ||
752 | Spelling correction: seperate --> separate. | |
753 | ||
754 | Removed `:'s that had creeped into some comments. | |
755 | ||
7a818853 | 756 | The repl now doesn't print #<unspecified> results any longer |
7ad737b6 MD |
757 | If the user wants to see this, he can do |
758 | (assert-repl-print-unspecified #t) in his startup file. | |
759 | ||
7a818853 | 760 | The user now gets a friendly message instead of a backtrace at |
7ad737b6 MD |
761 | error. |
762 | ||
763 | Added `before-read-hook'. | |
764 | ||
765 | Load module (ice-9 emacs) if option `-e' was specified. | |
766 | ||
767 | (provide): New function. | |
768 | ||
769 | (error): Save stack at entry, so that Guile entrails won't show up | |
770 | in backtraces. | |
771 | ||
772 | (backtrace): New function. | |
773 | ||
7a818853 | 774 | (save-stack): Can now take arbitrary number of stack narrowing |
7ad737b6 MD |
775 | specifier pairs. The first specifier in a pair controls inner |
776 | border, the second the outer border. A number means cut that | |
777 | number of frames, a procedure object means cut until that object | |
778 | is found in operator position in a frame. | |
779 | ||
780 | * debug.scm: Enable debugging evaluator and recording of positions | |
781 | by default. | |
782 | ||
783 | * slib.scm (slib:load): Adapt to the new behavior of | |
784 | primitive-load: It doesn't any longer try both with and without | |
785 | ".scm" extension. (We don't want to use %search-load-path here.) | |
786 | ||
787 | (implementation-vicinity): New function. slib requires it | |
788 | ||
789 | (library-vicinity): Updated. | |
790 | ||
791 | Load "require.scm" in the library-vicinity. | |
792 | ||
793 | (install-require-vicinity, install-require-module): New functions. | |
794 | ||
99f97bfe JB |
795 | Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com> |
796 | ||
581a242b JB |
797 | * boot-9.scm (load-from-path): New function. |
798 | ||
799 | * boot-9.scm (try-load, basic-try-load, try-load-module, | |
800 | try-load): Deleted. I don't think they're being used. | |
801 | ||
48be3fb3 JB |
802 | * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list, |
803 | so they'll get distributed. | |
804 | ||
805 | Get Guile to be a little less chatty by default. The new user | |
806 | should see as little clutter as possible. | |
807 | * r4rs.scm (%load-verbosely): Make this #f by default. | |
808 | * boot-9.scm (scm-repl-verbose): Make this #f by default. | |
809 | (scm-style-repl): Don't run 'pk' on the value passed to quit. | |
810 | ||
811 | * r4rs.scm: New file. | |
812 | * boot-9.scm: Load r4rs.scm, first thing. | |
813 | (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file, | |
814 | open-output-file, open-io-file, close-input-port, | |
815 | close-output-port, close-io-port, call-with-input-file, | |
816 | call-with-output-file, with-input-from-port, with-output-to-port, | |
817 | with-error-to-port, with-input-from-file, with-output-to-file, | |
818 | with-error-to-file, with-input-from-string, with-output-to-string, | |
819 | with-error-to-string, the-eof-object): Definitions moved to | |
820 | r4rs.scm. Not all of them are R4RS, but those that are use those | |
821 | that are not. | |
822 | (load, %load-verbosely, %load-announce): Moved, along with code to | |
823 | set %load-hook, to r4rs.scm. | |
824 | ||
825 | * test.scm: New file. | |
826 | ||
827 | * boot-9.scm (integer?): Definition deleted, in favor of the one | |
828 | present in libguile (which used to be called int?). I have no | |
829 | idea why integer? didn't just call int? to begin with. | |
830 | ||
831 | * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?, | |
832 | =?, >?, and >=? deleted; they're defined that way by libguile now. | |
833 | ||
99f97bfe JB |
834 | * boot-9.scm (load): Simplified; primitive-load does most of this |
835 | work now. | |
836 | (%load-announce-win): Removed; no longer used. Set %load-hook to | |
837 | call %load-announce. | |
838 | ||
3afb28ce GH |
839 | Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz> |
840 | ||
4fe3604d JB |
841 | * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid, |
842 | stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime, | |
843 | stat:ctime, stat:blksize, stat:blocks) accessor functions for stat | |
844 | components. | |
3afb28ce GH |
845 | (file-is-directory?): use stat:type. |
846 | ||
3065a62a JB |
847 | Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com> |
848 | ||
849 | * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here; | |
850 | that's now taken care of in libguile, and in a way compatible with | |
851 | SCSH (which this isn't). | |
852 | ||
e4c5095f JB |
853 | Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com> |
854 | ||
855 | * boot-9.scm: Formatting tweaks. | |
856 | ||
1bb961a3 MD |
857 | Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
858 | ||
859 | * boot-9.scm (handle-system-error): Added hooks before-error-hook, | |
860 | after-error-hook, before-backtrace-hook and after-backtrace-hook | |
861 | to the error handler. E.g.: fancy emacs support could plug into | |
862 | these. | |
863 | (save-stack): New function. The stack is now made differently | |
864 | depending on the stack id. (The motivation is to make a better | |
865 | choice regarding what stack frames to present to the user.) | |
866 | (error-catching-loop): Stack handling code moved outside into | |
867 | save-stack. | |
868 | ||
9a0d70e2 GH |
869 | Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz> |
870 | ||
d7189b49 GH |
871 | * Makefile.in (scm_files): add expect.scm. |
872 | ||
873 | * expect.scm: new file ported from guile-iii. | |
874 | ||
9a0d70e2 GH |
875 | * boot-9.scm: remove handle-system-error, after moving the code into |
876 | error-catching-loop. | |
877 | Don't set 'throw-handler-default property on error keys. | |
878 | Just interpret (almost) any throw with 4 args as an error throw. | |
879 | Delete some try-load stuff that was already commented out. | |
880 | ||
35c5db87 GH |
881 | Second thoughts, keep handle-system-error but call it from |
882 | error-catching-loop. | |
883 | ||
d065b65f JB |
884 | Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com> |
885 | ||
aa9576ad JB |
886 | * boot-9.scm: Doc fixes. |
887 | (make-module): Rework for readability. | |
888 | (make-root-module, make-scm-module): USES argument to make-module | |
889 | should be '(), not #f. | |
890 | ||
d065b65f JB |
891 | * boot-9.scm (try-load): %sys-load-path has been renamed to |
892 | primitive-load-path; adjust call here. | |
893 | ||
c01c94bf MD |
894 | Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
895 | ||
d065b65f | 896 | * boot-9.scm (signal-handler): Bugfix: Moved the recording of |
c01c94bf MD |
897 | the stack to the correct place: when it is decided to generate an |
898 | error-signal. | |
899 | ||
2dfc85c0 MD |
900 | Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
901 | ||
902 | * boot-9.scm (error-catching-loop, signal-handler, | |
903 | handle-system-error): Backtracing now works for signals aswell; | |
904 | Backtracing mechanism can now identify the stack root created by | |
905 | start-stack so that the user isn't exposed to system stack frames. | |
906 | ||
84d8ad97 MD |
907 | Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
908 | ||
909 | * Makefile.in: Added threads.scm. | |
910 | ||
4f0292cf MD |
911 | Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
912 | ||
913 | * debug.scm (make-enable, make-disable): Simplified. | |
914 | ||
915 | * boot-9.scm: Renamed %%throw-handler-default --> | |
916 | throw-handler-default. | |
917 | ((handle-system-error key . arg-list)): Changed the way errors are | |
918 | reported. | |
919 | ((scm-style-repl)): Wrap up the call to eval in a start-stack | |
920 | acro. | |
921 | ((error-catching-loop thunk)): Introduce a lazy-catch into | |
922 | error-catching-loop so that the stack can be captured. | |
923 | ||
1eaceb61 JB |
924 | Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com> |
925 | ||
926 | * mapping.scm (hash-table-mapping): Explicitly request that | |
927 | make-vector fill new vectors with '(); this will make it easier to | |
928 | port Guile Scheme code to other Schemes. | |
929 | * boot-9.scm (make-print-style, make-print-table): Same. | |
930 | ||
6fa8995c GH |
931 | Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz> |
932 | ||
933 | * boot-9.scm (load): rewritten again. | |
934 | Append "." to the default %load-path. | |
935 | (feature?): new function: checks for a symbol in the features list. | |
936 | (module-local-variable): remove apparently useless (caddr (list m v | |
937 | ...)) | |
938 | (%load-announce): minor formatting change. | |
939 | (file-exists?): use access? if posix is featured. | |
940 | (file-is-directory?): use stat if i/o-extensions is featured. | |
941 | (try-module-autoload module-name): use file-exists? before | |
942 | file-is-directory? | |
943 | ||
8b4a21d1 MD |
944 | Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth> |
945 | ||
8acae5bb MD |
946 | * boot-9.scm: Added conditional loading of threads.scm. |
947 | ||
948 | * threads.scm: New file. Modified from the Cygnus-r0.3 | |
949 | distribution. | |
950 | ||
8b4a21d1 MD |
951 | * boot-9.scm (error-catching-loop): Added handling of key |
952 | `switch-repl'. | |
953 | ||
954 | * boot-9.scm: Name change %%bad-throw --> bad-throw. | |
955 | ||
c90c9685 JB |
956 | Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com> |
957 | ||
958 | * boot-9.scm (make-record-type, record-constructor): Don't assume | |
959 | the empty list is false when parsing the argument list. | |
960 | ||
961 | Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com> | |
962 | ||
963 | * boot-9.scm (signal-handler): Clean up logic. | |
964 | ||
965 | * boot-9.scm (load): Assume %load-path is always bound. | |
966 | ||
5552355a GH |
967 | Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz> |
968 | ||
969 | * boot-9.scm (error): replace another throw with scm-error. Throw | |
970 | to 'misc-error instead of 'error (no need to distinguish these.) | |
971 | Don't set up 'error as a key. | |
972 | Set up regex-error as a key, if regex is available. | |
973 | (signal-handler): use scm-error, not throw. | |
974 | ||
7a818853 | 975 | (%try-load, try-load-with-path, %load, load-with-path, |
5552355a GH |
976 | basic-try-load-with-path, basic-load-with-path, |
977 | try-load-module-with-path,load-module-with-path): deleted, since | |
978 | they seem redundant. | |
979 | (try-load): define using %try-load, not try-load-with-path. | |
7a818853 | 980 | (load): rewritten. load tries to open the file directly and |
5552355a GH |
981 | with a .scm extension before searching the library directories |
982 | (should "." be added to %load-path? then load could still open | |
983 | directly files starting with "/"). | |
984 | (try-module-autoload): use load, not load-with-path. | |
985 | (%load-indent): deleted, -2 was causing errors. | |
986 | ||
987 | (%read-sharp): use port-line, not line-number. | |
988 | ||
c90c9685 JB |
989 | Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com> |
990 | ||
991 | * boot-9.scm (%%bad-throw): Delete definition. 1) It's very | |
992 | straightforward to provide the equivalent functionality using | |
993 | (catch #t ...), so there's no need for the extra complexity. 2) | |
994 | Outside the context of a read-eval-print loop (which Guile should | |
995 | not require) it's not clear we should do anything more complicated | |
996 | than print an error and exit; the user or REPL can establish | |
997 | something better if it wants. 3) In that case, it's much more | |
998 | robust to just do it in the C code. | |
999 | ||
855c0eac GH |
1000 | Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz> |
1001 | ||
1002 | * boot-9.scm (%try-load): define using primitive-load. Previously | |
1003 | %try-load itself was the primitive. | |
1004 | (load-with-path): use scm-error instead of %load-announce-lossage. | |
1005 | Errors are thrown to 'misc-error instead of 'could-not-load. | |
1006 | (%load-announce-lossage): deleted. | |
1007 | ||
a0c97697 MD |
1008 | Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth> |
1009 | ||
1010 | * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'. | |
1011 | (make-record-type type-name fields): Temporarily remove support | |
1012 | for printing of records (not possible yet with C printer). | |
1013 | ||
be2d2c70 GH |
1014 | Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz> |
1015 | ||
1016 | * boot-9.scm (file-exists?, file-is-directory): catch only | |
1017 | system-error, not every kind of error. | |
1018 | (scm-error): new procedure. | |
1019 | ||
434bf5ce JB |
1020 | Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1021 | ||
1022 | * boot-9.scm: Formatting tweaks. | |
1023 | ||
2194b6f0 GH |
1024 | Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz> |
1025 | ||
1026 | * boot-9.scm (%%handle-system-error key): remove the code for | |
1027 | SCM-style errors. handle the case that an unexpected number | |
1028 | of args are supplied. | |
1029 | (%%system-errors): removed. | |
1030 | (error): redefine using a throw with key and 4 args. | |
1031 | ('error): associate 'error, 'error-signal keys with | |
1032 | %%handle-system-error. | |
1033 | (%%default-error-handler): removed. | |
1034 | (signal-handler): throw with 4 args and use the error-signal key. | |
1035 | Create an error message instead of using numerical codes. | |
1036 | (%%bad-throw): call error instead of throw if key not found. | |
1037 | ||
1038 | Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz> | |
1039 | ||
1040 | * boot-9.scm: initialize new error keys (see libguile/ChangeLog). | |
1041 | (%%handle-system-error key): check subr is not #f before printing. | |
1042 | Recognize %s (embed an argument using "display") and | |
1043 | %S (embed an argument using "write"). | |
1044 | ||
234f2da6 GH |
1045 | Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz> |
1046 | ||
1047 | * boot-9.scm (%%handle-system-error key): set args and rest to | |
1048 | the empty list if they are #f. | |
1049 | Initialize out-of-range as an error key. | |
1050 | ||
e1724d20 GH |
1051 | Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz> |
1052 | ||
40c8906e GH |
1053 | * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle. |
1054 | ||
e1724d20 GH |
1055 | * boot-9.scm: remove leading %% from references to '%%system-error. |
1056 | (%%handle-system-error): don't pass all the thrown arguments when | |
1057 | aborting, just the key and subr. | |
1058 | Remove the code to "Install default handlers for built-in errors." | |
1059 | Remove the definition of the syserror procedure. | |
1060 | Associate 'numerical-overflow with default handler. | |
1061 | ||
1a80fb07 MD |
1062 | Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1063 | ||
1064 | * boot-9.scm: Name change: value-ref --> local-ref | |
1065 | resolved-ref --> nested-ref Motivation: conformance to the other | |
1066 | dictionary operators: list-ref operates on list, vector-ref | |
1067 | operates on vector, nested-ref operates on nested namespace, | |
1068 | local-ref operates on the local nested namespace. | |
1069 | ||
7cb1d4d3 GH |
1070 | Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz> |
1071 | ||
1072 | * boot-9.scm (%%handle-system-error): recognise errors thrown | |
1073 | by lgh-error (fill-message etc.) | |
9561554c | 1074 | (fill-message): check first whether args is null. |
a949b3f2 | 1075 | (fill-message): bug fix and check that args is a list. |
7cb1d4d3 | 1076 | |
393ee9a8 JB |
1077 | Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com> |
1078 | ||
1079 | * boot-9.scm: %load-path is initialized in C code now. | |
1080 | (implementation-vicinity, parse-path): Deleted, along with code to | |
1081 | initialize %load-path. | |
1082 | ||
1083 | * boot-9.scm (in-vicinity): If the vicinity doesn't end with a | |
1084 | "/", use one to separate it from the file. | |
1085 | ||
e4ef46d4 JB |
1086 | Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu> |
1087 | ||
1088 | * boot-9.scm (%load-path): Add the site directory. | |
1089 | Add the directory named after the version number. | |
1090 | Prepend the version number to the other directories in the path. | |
1091 | Simplify by mapping the common prefix onto each item. | |
1092 | * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir, | |
1093 | sitedatadir): New definitions. | |
1094 | (libparent, libdir, install_path): Replaced by above. | |
1095 | (install): Create the above directories. | |
1096 | Put the source files into subpkgdatadir. | |
1097 | (uninstall): Remove the above directories. | |
1098 | ||
00312aa3 JB |
1099 | Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com> |
1100 | ||
1101 | Don't use the PLUGIN system to gather information for the | |
1102 | Makefile's distribution and installation targets; just put it all | |
1103 | in the Makefile directly. | |
1104 | * PLUGIN/this.configure (scm_files, aux_files): Remove sections | |
1105 | for these. | |
1106 | * configure.in: Remove code that gets and substitutes scm_files and | |
1107 | aux_files. | |
1108 | * Makefile.in (scm_files, aux_files): Write out the list of files | |
1109 | here, where people expect to find them. | |
1110 | ||
96a8aaf3 MD |
1111 | Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1112 | ||
1113 | * boot-9.scm: Preliminary solution: optionally load the debug | |
7685f77c | 1114 | module. Changed "gls" to "guile1.0b3". |
96a8aaf3 MD |
1115 | |
1116 | * debug.scm: New file: debug extensions. | |
1117 | ||
4e378733 MD |
1118 | Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1119 | ||
1120 | * boot-9.scm (print-vector): Renamed weak-hash-table? --> | |
1121 | weak-key-hash-table?. (Again!) | |
1122 | ||
0190d683 MD |
1123 | Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
1124 | ||
1125 | * boot-9.scm (print-vector, macro-table, xformer-table): | |
1126 | Renamed weak-hash-table --> weak-key-hash-table. | |
1127 | ||
1128 | * poe.scm (funcq-memo): Renamed weak-hash-table --> | |
1129 | weak-key-hash-table. | |
1130 | ||
8b13c6b3 GH |
1131 | Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz> |
1132 | ||
1133 | * boot-9.scm (*null-device*): global constant from goonix. | |
1134 | (move->fdes): adjusted for boolean primitive-move->fdes. return | |
1135 | the modified port, always set revealed count to 1 (SCSH compatible). | |
1136 | (release-port-handle port): from goonix (SCSH compatible). | |
1137 | (%open-file): removed. | |
1138 | (open-input-file, open-output-file, file-exists?, file-is-directory?): | |
1139 | modified for open-file change (does not return #f). | |
1140 | ||
a44a755d JB |
1141 | Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com> |
1142 | ||
1143 | * Makefile.in (dist-dir): New target for new dist system. | |
1144 | (manifest): Deleted. | |
1145 | * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a | |
1146 | directory, and needs special treatment in the dist-dir target. | |
1147 | ||
02b754d3 GH |
1148 | Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz> |
1149 | ||
1150 | * boot-9.scm: remove the wrappers for '%' system primitives, | |
1151 | now that they throw errors directly. | |
1152 | remove make-simple-wrapper and similar functions. | |
1153 | protect a call to getenv which may now throw an exception. | |
1154 | ||
1155 | Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz> | |
1156 | ||
1157 | * boot-9.scm (false-if-exception): new macro. | |
1158 | ||
0f2d19dd JB |
1159 | Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive> |
1160 | ||
1161 | * The more things change... | |
1162 | ||
1163 |