| 1 | Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de> |
| 2 | |
| 3 | * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer, |
| 4 | make-struct-printer, set-struct-printer-in-vtable!): New bindings |
| 5 | to support printing of structures. |
| 6 | (record-type-vtable, make-record-type): Add slot to hold printing |
| 7 | function and initialize it with something appropriate. Removed |
| 8 | commented out printing code. |
| 9 | (record-type-name, record-type-fields): Adjusted slot offsets. |
| 10 | (%print-module): Reduce argument list to "mod" and "port". |
| 11 | |
| 12 | Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 13 | |
| 14 | * boot-9.scm: signal-handler, alarm-thunk: removed. |
| 15 | don't define ticks-interrupt etc. |
| 16 | top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS |
| 17 | during call to scm-style-repl. |
| 18 | |
| 19 | Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 20 | |
| 21 | * slib.scm (slib:load): Use primitive-load-path instead of |
| 22 | basic-load. This is probably wrong, but hopefully the entire |
| 23 | source access system will be revised soon anyway, and this will |
| 24 | make require behave more like Emacs Lisp's require. If this |
| 25 | breaks something, please let me know. Maybe this is real dumb. |
| 26 | |
| 27 | Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 28 | |
| 29 | * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere. |
| 30 | * boot-9.scm: If the `regex' feature is present, use the module |
| 31 | (ice-9 regex). |
| 32 | |
| 33 | Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com> |
| 34 | |
| 35 | * regex.scm: New file. |
| 36 | * Makefile.am (subpkgdata_DATA): Add regex.scm. |
| 37 | * Makefile.in: Regenerated. |
| 38 | |
| 39 | Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com> |
| 40 | |
| 41 | * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm, |
| 42 | gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm, |
| 43 | oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm, |
| 44 | threads.scm: New address for FSF. |
| 45 | |
| 46 | Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 47 | |
| 48 | * debug.scm: Update copyright years; this file has been worked on |
| 49 | in 1997. |
| 50 | |
| 51 | Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 52 | |
| 53 | * expect.scm: use gettimeofday instead of get-internal-real-time |
| 54 | and use a floating point timeout when calling select. Untested, |
| 55 | since the regex library is currently AWOL. |
| 56 | |
| 57 | Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 58 | |
| 59 | * boot-9.scm (eval-string): Function deleted; it was already |
| 60 | implemented in C, so there's no point in making a divergable copy |
| 61 | here. |
| 62 | |
| 63 | Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 64 | |
| 65 | * Makefile.in: Regenerated, using automake-1.1p. |
| 66 | |
| 67 | Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 68 | |
| 69 | * Makefile.in: Regenerated, using automake-1.1p. |
| 70 | |
| 71 | Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 72 | |
| 73 | * boot-9.scm (error-catching-loop): don't read a line from |
| 74 | current input when quit is encountered, the previous change |
| 75 | fixes this too. |
| 76 | |
| 77 | Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 78 | |
| 79 | * boot-9.scm (scm-style-repl): After reading an expression, |
| 80 | consume any trailing newline (perhaps preceded by whitespace), to |
| 81 | avoid screwing up GDB. More detail in comments. |
| 82 | |
| 83 | Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 84 | |
| 85 | * Makefile.am (ETAGS_ARGS): New variable, since we're not treating |
| 86 | the Scheme code like code yet. |
| 87 | * Makefile.in: Resrac,husrched. |
| 88 | |
| 89 | Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de> |
| 90 | |
| 91 | * boot-9.scm (link-dynamic-module): Do not catch errors from |
| 92 | dynamic-link and dynamic-call. When the shared library exists it |
| 93 | is now assumed to be suitable for a dynamic C module. |
| 94 | |
| 95 | Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de> |
| 96 | |
| 97 | * boot-9.scm (process-use-modules): New function to support the |
| 98 | use-modules macro |
| 99 | (use-modules): throw an error iff one of the requested modules |
| 100 | can't be found. |
| 101 | |
| 102 | Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 103 | |
| 104 | * boot-9.scm: don't define timer-thunk or gc-thunk. |
| 105 | |
| 106 | Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 107 | |
| 108 | * aclocal.m4: Removed; unnecessary, given changes of Apr 24. |
| 109 | |
| 110 | * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@"; |
| 111 | we're not using AM_INIT_GUILE_MODULE any more. |
| 112 | * Makefile.in: Regeneratitetedrerd. |
| 113 | |
| 114 | Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 115 | |
| 116 | Get 'make dist' to work again. |
| 117 | * Makefile.am (EXTRA_DIST): Remove PLUGIN files. |
| 118 | * Makefile.in: Regenerated, like two tons of fleas. |
| 119 | |
| 120 | Changes for reduced Guile distribution: one configure script, |
| 121 | no plugins. |
| 122 | * configure.in, configure: Removed. |
| 123 | * Makefile.in: Regenerated. |
| 124 | |
| 125 | Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 126 | |
| 127 | * boot-9.scm (eval-string, command-line, load-user-init): New |
| 128 | functions. |
| 129 | |
| 130 | Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 131 | |
| 132 | * boot-9.scm (log10): defined. |
| 133 | |
| 134 | Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 135 | |
| 136 | * expect.scm (expect-select): correct the millisecond timeout |
| 137 | arithmetic (from Marko.Kohtala@ntc.nokia.com). |
| 138 | |
| 139 | Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 140 | |
| 141 | * boot-9.scm (open-input-pipe, open-output-pipe): defined here |
| 142 | instead of in libguile. |
| 143 | (tm:sec etc.) new accessors for broken-down time. |
| 144 | (set-tm:sec etc.) new setters for broken-down time. |
| 145 | |
| 146 | Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 147 | |
| 148 | * boot-9.scm (netent:addrtype, servent:port): added missing |
| 149 | procedures. |
| 150 | (netent:net, servent:proto): repaired. |
| 151 | (utsname:sysname etc.): new accessors for uname. |
| 152 | |
| 153 | Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 154 | |
| 155 | * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr, |
| 156 | sockaddr:port): new functions. |
| 157 | |
| 158 | Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 159 | |
| 160 | * boot-9.scm: define accessor procedures for the objects returned |
| 161 | by getpw, getgr, gethost, getnet, getproto, getserv (e.g., |
| 162 | passwd:name, where the first component is the name of the C structure |
| 163 | and the second is the unprefixed C member name.) |
| 164 | |
| 165 | Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 166 | |
| 167 | * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent, |
| 168 | setservent): no longer take an argument, it was bogus. |
| 169 | |
| 170 | Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 171 | |
| 172 | * boot-9.scm (scm-error): deleted, reimplemented in C. |
| 173 | |
| 174 | Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 175 | |
| 176 | * boot-9.scm (process-define-module): Modified to handle both |
| 177 | keywords and symbols. |
| 178 | |
| 179 | Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 180 | |
| 181 | * slib.scm: update read usage. |
| 182 | |
| 183 | * r4rs.scm: update primitive-load usage. |
| 184 | Don't define read-sharp. |
| 185 | |
| 186 | * boot-9.scm: use read-hash-extend to install extra read syntax. |
| 187 | (read-sharp): removed. |
| 188 | Adjust usage of primitive-load-path, read, which no longer take |
| 189 | case_i or read-sharp arguments. |
| 190 | |
| 191 | Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 192 | |
| 193 | * boot-9.scm: Added loading of session support module. |
| 194 | |
| 195 | * debug.scm: Removed `display-application'. (Replaced by |
| 196 | primitive procedure.) |
| 197 | |
| 198 | * boot-9.scm (beautify-user-module!): Don't add the root module |
| 199 | interface to the end of the use-list of the root module. |
| 200 | |
| 201 | Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 202 | |
| 203 | * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted. |
| 204 | |
| 205 | Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 206 | |
| 207 | * boot-9.scm: check use-emacs-interface for emacs support. |
| 208 | |
| 209 | Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 210 | |
| 211 | * boot-9.scm (scm-style-repl): call repl-report-start-timing if |
| 212 | read gets EOF. |
| 213 | * (exit): alias for quit. |
| 214 | |
| 215 | Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 216 | |
| 217 | * boot-9.scm (error-catching-loop thunk): use a status variable to |
| 218 | return the quit args. |
| 219 | (scm-style-repl): call -quit, passing return value from |
| 220 | error-catching-repl. Make -quit return its args. |
| 221 | stand-alone-repl: comment out, since it seems unused. |
| 222 | |
| 223 | (error-catching-loop thunk): discard trailing junk after a (quit). |
| 224 | |
| 225 | Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 226 | |
| 227 | * boot-9.scm: Removed the old printer code. |
| 228 | |
| 229 | * r4rs.scm (apply, call-with-current-continuation): Added comment |
| 230 | explaining why apply and call/cc need to be closures. |
| 231 | |
| 232 | * boot-9.scm (apply, call-with-current-continuation): Bugfix: |
| 233 | Removed. These definitions are already present in r4rs.scm. |
| 234 | |
| 235 | * debug.scm (trace-entry, trace-exit): Check that we're on a repl |
| 236 | stack before printing traced frames; Re-enable trace flag at end |
| 237 | of handlers. |
| 238 | |
| 239 | Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 240 | |
| 241 | * debug.scm: Add hook for reset of trace level at abort. |
| 242 | |
| 243 | * boot-9.scm (run-hooks): New procedure. |
| 244 | (add-hooks!): New macro. |
| 245 | Change hooks to use these functions. |
| 246 | |
| 247 | * debug.scm: *Warning* This feature is a bit premature. I add |
| 248 | it anyway because 1. it is very useful, and, 2. you can start |
| 249 | making it less premature by complaining to me and by modifying |
| 250 | the source! :-) |
| 251 | (trace): Given one or more procedure objects, trace each one. |
| 252 | Given no arguments, show all traced procedures. |
| 253 | (untrace): Given one or more procedure objects, untrace each one. |
| 254 | Given no arguments, untrace all traced procedures. The tracing in |
| 255 | Guile have an advantage to most other systems: We don't create new |
| 256 | procedure objects, but mark the procedure objects themselves. |
| 257 | This means that also anonymous and internal procedures can be |
| 258 | traced. |
| 259 | |
| 260 | * boot-9.scm (error-catching-loop): Added handling of apply-frame |
| 261 | and exit-frame exceptions. |
| 262 | |
| 263 | * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed. |
| 264 | (set-repl-prompt!): Setter for repl prompt. |
| 265 | (scm-style-repl): If prompt is #f, don't prompt; if prompt is a |
| 266 | string, display it; if prompt is a thunk, call it and display its |
| 267 | result; otherwise display "> ". |
| 268 | (Change suggested by Roland Orre <orre@nada.kth.se>.) |
| 269 | |
| 270 | * r4rs.scm (%load-verbosely): Reverted change to |
| 271 | `module-defined?', since the module system isn't bootstrapped when |
| 272 | we load r4rs.scm. This is just a temporary fix to make the |
| 273 | repository version runnable. |
| 274 | |
| 275 | Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 276 | |
| 277 | * boot-9.scm: Removed the enabling of debug evaluator and |
| 278 | recording of source code positions. This was placed there for our |
| 279 | convenience, but it has already sneaked into the distribution |
| 280 | once... so we'd better add this in our local copies instead when |
| 281 | we need it. (These options are normally enabled at the end of |
| 282 | boot-9.scm when loading the debug module.) |
| 283 | |
| 284 | Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de> |
| 285 | |
| 286 | * boot-9.scm (module-defined?): New function. |
| 287 | (macroexpand-1, macroexpand): Use local-ref instead of defined? |
| 288 | and eval. |
| 289 | * r4rs.scm (%load-verbosely): Use "module-defined?" instead of |
| 290 | "defined?". |
| 291 | * slib.scm (defined?): New function to take the place of the |
| 292 | builtin "defined?". It allways examines the slib module. |
| 293 | |
| 294 | Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 295 | |
| 296 | * configure.in: Added AM_MAINTAINER_MODE |
| 297 | |
| 298 | Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 299 | |
| 300 | * boot-9.scm (read-sharp): define directly, don't go through a |
| 301 | %read-sharp layer. |
| 302 | |
| 303 | Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 304 | |
| 305 | * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not |
| 306 | uniform-vector-set1! which doesn't exist. |
| 307 | |
| 308 | Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth> |
| 309 | |
| 310 | * boot-9.scm (backtrace): Removed. (A C version now exists in |
| 311 | backtrace.c.) |
| 312 | |
| 313 | Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 314 | |
| 315 | * boot-9.scm (read-line!, read-delimited!, read-delimited, |
| 316 | read-line): new procedures, see libguile/ChangeLog. |
| 317 | |
| 318 | Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de> |
| 319 | |
| 320 | Added dynamic linking of modules. See libguile/DYNAMIC-LINKING. |
| 321 | |
| 322 | * boot-9.scm (split-c-module-name, convert-c-registered-modules, |
| 323 | init-dynamic-module, dynamic-maybe-call, |
| 324 | find-and-link-dynamic-module, link-dynamic-module, |
| 325 | try-module-dynamic-link, registered-modules): New definitions for |
| 326 | dynamic linking of modules. |
| 327 | (resolve-module): Try to dynamically link the requested module |
| 328 | after failing to load it as Scheme code. |
| 329 | |
| 330 | Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz> |
| 331 | |
| 332 | * boot-9.scm (getservbyport, getservbyname): remove stray %. |
| 333 | |
| 334 | Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 335 | |
| 336 | * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos |
| 337 | that's what it is. |
| 338 | |
| 339 | * lineio.scm (make-line-buffering-input-port): Properly test for |
| 340 | the case of an empty buffer list. The old code assumed that '() |
| 341 | was false. |
| 342 | |
| 343 | Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth> |
| 344 | |
| 345 | * boot-9.scm (use-modules): New macro (from Marius Vollmer). |
| 346 | (use-modules <module name> ...) Put the the modules named by |
| 347 | <module name> ... on the use list of the current module. |
| 348 | |
| 349 | Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com> |
| 350 | |
| 351 | * boot-9.scm (error-catching-loop): Remove message saying that |
| 352 | typing "$" will put you in the debugger. This isn't implemented |
| 353 | yet. |
| 354 | |
| 355 | Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com> |
| 356 | |
| 357 | * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have |
| 358 | been fixed, so this function is superfluous. |
| 359 | (transform-usage-lambda): Use delq!, not delq-all!. |
| 360 | |
| 361 | Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de> |
| 362 | |
| 363 | * boot-9.scm (resolve-module): New optional parameter that |
| 364 | controls whether autoloading is attempted or not. Default is #t. |
| 365 | (process-define-module): Don't autoload the defined module. |
| 366 | (try-module-autoload): Don't autoload the directory modules. |
| 367 | |
| 368 | * boot-9.scm (process-define-module): Ensure that the-scm-module |
| 369 | is last in the `uses' list to allow shadowing builtin |
| 370 | bindings. All :use-module options are added in the order they |
| 371 | appear in the arguments but before anything already on the list |
| 372 | (such as the-scm-module). |
| 373 | |
| 374 | Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 375 | |
| 376 | * slib.scm (slib-parent-dir): throw error if #f returned from |
| 377 | %search-load-path. |
| 378 | |
| 379 | Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com> |
| 380 | |
| 381 | * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed. |
| 382 | * Makefile.am, aclocal.m4: New files. |
| 383 | * configure.in: Updated for Automake. |
| 384 | |
| 385 | Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de> |
| 386 | |
| 387 | * boot-9.scm (macroexpand-1, macroexpand), slib.scm |
| 388 | (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a |
| 389 | function, use it accordingly. |
| 390 | |
| 391 | Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com> |
| 392 | |
| 393 | It's an "eval closure", not an "eval thunk." A thunk is a |
| 394 | function of no arguments. |
| 395 | * boot-9.scm (module-type): Rename module field. |
| 396 | (make-module, eval-in-module, make-root-module, |
| 397 | set-current-module): Uses changed. |
| 398 | (module-eval-closure, set-module-eval-closure!, |
| 399 | root-module-closure): Renamed from module-eval-thunk, |
| 400 | set-module-eval-thunk!, root-module-thunk. |
| 401 | (set-current-module): Change uses of *top-level-lookup-thunk* to |
| 402 | *top-level-eval-closure*. |
| 403 | |
| 404 | Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com> |
| 405 | |
| 406 | * slib.scm (slib-parent-dir): Use string-length, not length. |
| 407 | (Thanks to Bernard Urban.) |
| 408 | |
| 409 | Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 410 | |
| 411 | * boot-9.scm: The debugging evaluator and recording of positions |
| 412 | aren't enabled by default any longer (they are switched on in |
| 413 | debug.scm). But during development we want to have them also |
| 414 | *inside* boot-9.scm. Therefore, two lines are added at the |
| 415 | beginning of boot-9.scm to enable these. |
| 416 | |
| 417 | Call `provide' so that `records' are included among the |
| 418 | `*features*'. |
| 419 | |
| 420 | The scheme for saving the stack has been adjusted: save-stack is |
| 421 | now commonly available for saving the stack. Calling `save-stack' |
| 422 | sets a flag `stack-saved?' which prevents overwriting the stack. |
| 423 | `stack-saved?' is reset at `abort'. |
| 424 | |
| 425 | Spelling correction: seperate --> separate. |
| 426 | |
| 427 | Removed `:'s that had creeped into some comments. |
| 428 | |
| 429 | The repl now doesn't print #<unspecified> results any longer |
| 430 | If the user wants to see this, he can do |
| 431 | (assert-repl-print-unspecified #t) in his startup file. |
| 432 | |
| 433 | The user now gets a friendly message instead of a backtrace at |
| 434 | error. |
| 435 | |
| 436 | Added `before-read-hook'. |
| 437 | |
| 438 | Load module (ice-9 emacs) if option `-e' was specified. |
| 439 | |
| 440 | (provide): New function. |
| 441 | |
| 442 | (error): Save stack at entry, so that Guile entrails won't show up |
| 443 | in backtraces. |
| 444 | |
| 445 | (backtrace): New function. |
| 446 | |
| 447 | (save-stack): Can now take arbitrary number of stack narrowing |
| 448 | specifier pairs. The first specifier in a pair controls inner |
| 449 | border, the second the outer border. A number means cut that |
| 450 | number of frames, a procedure object means cut until that object |
| 451 | is found in operator position in a frame. |
| 452 | |
| 453 | * debug.scm: Enable debugging evaluator and recording of positions |
| 454 | by default. |
| 455 | |
| 456 | * slib.scm (slib:load): Adapt to the new behavior of |
| 457 | primitive-load: It doesn't any longer try both with and without |
| 458 | ".scm" extension. (We don't want to use %search-load-path here.) |
| 459 | |
| 460 | (implementation-vicinity): New function. slib requires it |
| 461 | |
| 462 | (library-vicinity): Updated. |
| 463 | |
| 464 | Load "require.scm" in the library-vicinity. |
| 465 | |
| 466 | (install-require-vicinity, install-require-module): New functions. |
| 467 | |
| 468 | Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com> |
| 469 | |
| 470 | * boot-9.scm (load-from-path): New function. |
| 471 | |
| 472 | * boot-9.scm (try-load, basic-try-load, try-load-module, |
| 473 | try-load): Deleted. I don't think they're being used. |
| 474 | |
| 475 | * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list, |
| 476 | so they'll get distributed. |
| 477 | |
| 478 | Get Guile to be a little less chatty by default. The new user |
| 479 | should see as little clutter as possible. |
| 480 | * r4rs.scm (%load-verbosely): Make this #f by default. |
| 481 | * boot-9.scm (scm-repl-verbose): Make this #f by default. |
| 482 | (scm-style-repl): Don't run 'pk' on the value passed to quit. |
| 483 | |
| 484 | * r4rs.scm: New file. |
| 485 | * boot-9.scm: Load r4rs.scm, first thing. |
| 486 | (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file, |
| 487 | open-output-file, open-io-file, close-input-port, |
| 488 | close-output-port, close-io-port, call-with-input-file, |
| 489 | call-with-output-file, with-input-from-port, with-output-to-port, |
| 490 | with-error-to-port, with-input-from-file, with-output-to-file, |
| 491 | with-error-to-file, with-input-from-string, with-output-to-string, |
| 492 | with-error-to-string, the-eof-object): Definitions moved to |
| 493 | r4rs.scm. Not all of them are R4RS, but those that are use those |
| 494 | that are not. |
| 495 | (load, %load-verbosely, %load-announce): Moved, along with code to |
| 496 | set %load-hook, to r4rs.scm. |
| 497 | |
| 498 | * test.scm: New file. |
| 499 | |
| 500 | * boot-9.scm (integer?): Definition deleted, in favor of the one |
| 501 | present in libguile (which used to be called int?). I have no |
| 502 | idea why integer? didn't just call int? to begin with. |
| 503 | |
| 504 | * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?, |
| 505 | =?, >?, and >=? deleted; they're defined that way by libguile now. |
| 506 | |
| 507 | * boot-9.scm (load): Simplified; primitive-load does most of this |
| 508 | work now. |
| 509 | (%load-announce-win): Removed; no longer used. Set %load-hook to |
| 510 | call %load-announce. |
| 511 | |
| 512 | Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 513 | |
| 514 | * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid, |
| 515 | stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime, |
| 516 | stat:ctime, stat:blksize, stat:blocks) accessor functions for stat |
| 517 | components. |
| 518 | (file-is-directory?): use stat:type. |
| 519 | |
| 520 | Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com> |
| 521 | |
| 522 | * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here; |
| 523 | that's now taken care of in libguile, and in a way compatible with |
| 524 | SCSH (which this isn't). |
| 525 | |
| 526 | Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com> |
| 527 | |
| 528 | * boot-9.scm: Formatting tweaks. |
| 529 | |
| 530 | Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 531 | |
| 532 | * boot-9.scm (handle-system-error): Added hooks before-error-hook, |
| 533 | after-error-hook, before-backtrace-hook and after-backtrace-hook |
| 534 | to the error handler. E.g.: fancy emacs support could plug into |
| 535 | these. |
| 536 | (save-stack): New function. The stack is now made differently |
| 537 | depending on the stack id. (The motivation is to make a better |
| 538 | choice regarding what stack frames to present to the user.) |
| 539 | (error-catching-loop): Stack handling code moved outside into |
| 540 | save-stack. |
| 541 | |
| 542 | Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 543 | |
| 544 | * Makefile.in (scm_files): add expect.scm. |
| 545 | |
| 546 | * expect.scm: new file ported from guile-iii. |
| 547 | |
| 548 | * boot-9.scm: remove handle-system-error, after moving the code into |
| 549 | error-catching-loop. |
| 550 | Don't set 'throw-handler-default property on error keys. |
| 551 | Just interpret (almost) any throw with 4 args as an error throw. |
| 552 | Delete some try-load stuff that was already commented out. |
| 553 | |
| 554 | Second thoughts, keep handle-system-error but call it from |
| 555 | error-catching-loop. |
| 556 | |
| 557 | Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com> |
| 558 | |
| 559 | * boot-9.scm: Doc fixes. |
| 560 | (make-module): Rework for readability. |
| 561 | (make-root-module, make-scm-module): USES argument to make-module |
| 562 | should be '(), not #f. |
| 563 | |
| 564 | * boot-9.scm (try-load): %sys-load-path has been renamed to |
| 565 | primitive-load-path; adjust call here. |
| 566 | |
| 567 | Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
| 568 | |
| 569 | * boot-9.scm (signal-handler): Bugfix: Moved the recording of |
| 570 | the stack to the correct place: when it is decided to generate an |
| 571 | error-signal. |
| 572 | |
| 573 | Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
| 574 | |
| 575 | * boot-9.scm (error-catching-loop, signal-handler, |
| 576 | handle-system-error): Backtracing now works for signals aswell; |
| 577 | Backtracing mechanism can now identify the stack root created by |
| 578 | start-stack so that the user isn't exposed to system stack frames. |
| 579 | |
| 580 | Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
| 581 | |
| 582 | * Makefile.in: Added threads.scm. |
| 583 | |
| 584 | Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
| 585 | |
| 586 | * debug.scm (make-enable, make-disable): Simplified. |
| 587 | |
| 588 | * boot-9.scm: Renamed %%throw-handler-default --> |
| 589 | throw-handler-default. |
| 590 | ((handle-system-error key . arg-list)): Changed the way errors are |
| 591 | reported. |
| 592 | ((scm-style-repl)): Wrap up the call to eval in a start-stack |
| 593 | acro. |
| 594 | ((error-catching-loop thunk)): Introduce a lazy-catch into |
| 595 | error-catching-loop so that the stack can be captured. |
| 596 | |
| 597 | Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com> |
| 598 | |
| 599 | * mapping.scm (hash-table-mapping): Explicitly request that |
| 600 | make-vector fill new vectors with '(); this will make it easier to |
| 601 | port Guile Scheme code to other Schemes. |
| 602 | * boot-9.scm (make-print-style, make-print-table): Same. |
| 603 | |
| 604 | Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 605 | |
| 606 | * boot-9.scm (load): rewritten again. |
| 607 | Append "." to the default %load-path. |
| 608 | (feature?): new function: checks for a symbol in the features list. |
| 609 | (module-local-variable): remove apparently useless (caddr (list m v |
| 610 | ...)) |
| 611 | (%load-announce): minor formatting change. |
| 612 | (file-exists?): use access? if posix is featured. |
| 613 | (file-is-directory?): use stat if i/o-extensions is featured. |
| 614 | (try-module-autoload module-name): use file-exists? before |
| 615 | file-is-directory? |
| 616 | |
| 617 | Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth> |
| 618 | |
| 619 | * boot-9.scm: Added conditional loading of threads.scm. |
| 620 | |
| 621 | * threads.scm: New file. Modified from the Cygnus-r0.3 |
| 622 | distribution. |
| 623 | |
| 624 | * boot-9.scm (error-catching-loop): Added handling of key |
| 625 | `switch-repl'. |
| 626 | |
| 627 | * boot-9.scm: Name change %%bad-throw --> bad-throw. |
| 628 | |
| 629 | Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com> |
| 630 | |
| 631 | * boot-9.scm (make-record-type, record-constructor): Don't assume |
| 632 | the empty list is false when parsing the argument list. |
| 633 | |
| 634 | Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com> |
| 635 | |
| 636 | * boot-9.scm (signal-handler): Clean up logic. |
| 637 | |
| 638 | * boot-9.scm (load): Assume %load-path is always bound. |
| 639 | |
| 640 | Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 641 | |
| 642 | * boot-9.scm (error): replace another throw with scm-error. Throw |
| 643 | to 'misc-error instead of 'error (no need to distinguish these.) |
| 644 | Don't set up 'error as a key. |
| 645 | Set up regex-error as a key, if regex is available. |
| 646 | (signal-handler): use scm-error, not throw. |
| 647 | |
| 648 | (%try-load, try-load-with-path, %load, load-with-path, |
| 649 | basic-try-load-with-path, basic-load-with-path, |
| 650 | try-load-module-with-path,load-module-with-path): deleted, since |
| 651 | they seem redundant. |
| 652 | (try-load): define using %try-load, not try-load-with-path. |
| 653 | (load): rewritten. load tries to open the file directly and |
| 654 | with a .scm extension before searching the library directories |
| 655 | (should "." be added to %load-path? then load could still open |
| 656 | directly files starting with "/"). |
| 657 | (try-module-autoload): use load, not load-with-path. |
| 658 | (%load-indent): deleted, -2 was causing errors. |
| 659 | |
| 660 | (%read-sharp): use port-line, not line-number. |
| 661 | |
| 662 | Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com> |
| 663 | |
| 664 | * boot-9.scm (%%bad-throw): Delete definition. 1) It's very |
| 665 | straightforward to provide the equivalent functionality using |
| 666 | (catch #t ...), so there's no need for the extra complexity. 2) |
| 667 | Outside the context of a read-eval-print loop (which Guile should |
| 668 | not require) it's not clear we should do anything more complicated |
| 669 | than print an error and exit; the user or REPL can establish |
| 670 | something better if it wants. 3) In that case, it's much more |
| 671 | robust to just do it in the C code. |
| 672 | |
| 673 | Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 674 | |
| 675 | * boot-9.scm (%try-load): define using primitive-load. Previously |
| 676 | %try-load itself was the primitive. |
| 677 | (load-with-path): use scm-error instead of %load-announce-lossage. |
| 678 | Errors are thrown to 'misc-error instead of 'could-not-load. |
| 679 | (%load-announce-lossage): deleted. |
| 680 | |
| 681 | Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth> |
| 682 | |
| 683 | * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'. |
| 684 | (make-record-type type-name fields): Temporarily remove support |
| 685 | for printing of records (not possible yet with C printer). |
| 686 | |
| 687 | Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 688 | |
| 689 | * boot-9.scm (file-exists?, file-is-directory): catch only |
| 690 | system-error, not every kind of error. |
| 691 | (scm-error): new procedure. |
| 692 | |
| 693 | Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com> |
| 694 | |
| 695 | * boot-9.scm: Formatting tweaks. |
| 696 | |
| 697 | Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 698 | |
| 699 | * boot-9.scm (%%handle-system-error key): remove the code for |
| 700 | SCM-style errors. handle the case that an unexpected number |
| 701 | of args are supplied. |
| 702 | (%%system-errors): removed. |
| 703 | (error): redefine using a throw with key and 4 args. |
| 704 | ('error): associate 'error, 'error-signal keys with |
| 705 | %%handle-system-error. |
| 706 | (%%default-error-handler): removed. |
| 707 | (signal-handler): throw with 4 args and use the error-signal key. |
| 708 | Create an error message instead of using numerical codes. |
| 709 | (%%bad-throw): call error instead of throw if key not found. |
| 710 | |
| 711 | Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 712 | |
| 713 | * boot-9.scm: initialize new error keys (see libguile/ChangeLog). |
| 714 | (%%handle-system-error key): check subr is not #f before printing. |
| 715 | Recognize %s (embed an argument using "display") and |
| 716 | %S (embed an argument using "write"). |
| 717 | |
| 718 | Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 719 | |
| 720 | * boot-9.scm (%%handle-system-error key): set args and rest to |
| 721 | the empty list if they are #f. |
| 722 | Initialize out-of-range as an error key. |
| 723 | |
| 724 | Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 725 | |
| 726 | * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle. |
| 727 | |
| 728 | * boot-9.scm: remove leading %% from references to '%%system-error. |
| 729 | (%%handle-system-error): don't pass all the thrown arguments when |
| 730 | aborting, just the key and subr. |
| 731 | Remove the code to "Install default handlers for built-in errors." |
| 732 | Remove the definition of the syserror procedure. |
| 733 | Associate 'numerical-overflow with default handler. |
| 734 | |
| 735 | Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
| 736 | |
| 737 | * boot-9.scm: Name change: value-ref --> local-ref |
| 738 | resolved-ref --> nested-ref Motivation: conformance to the other |
| 739 | dictionary operators: list-ref operates on list, vector-ref |
| 740 | operates on vector, nested-ref operates on nested namespace, |
| 741 | local-ref operates on the local nested namespace. |
| 742 | |
| 743 | Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 744 | |
| 745 | * boot-9.scm (%%handle-system-error): recognise errors thrown |
| 746 | by lgh-error (fill-message etc.) |
| 747 | (fill-message): check first whether args is null. |
| 748 | (fill-message): bug fix and check that args is a list. |
| 749 | |
| 750 | Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com> |
| 751 | |
| 752 | * boot-9.scm: %load-path is initialized in C code now. |
| 753 | (implementation-vicinity, parse-path): Deleted, along with code to |
| 754 | initialize %load-path. |
| 755 | |
| 756 | * boot-9.scm (in-vicinity): If the vicinity doesn't end with a |
| 757 | "/", use one to separate it from the file. |
| 758 | |
| 759 | Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu> |
| 760 | |
| 761 | * boot-9.scm (%load-path): Add the site directory. |
| 762 | Add the directory named after the version number. |
| 763 | Prepend the version number to the other directories in the path. |
| 764 | Simplify by mapping the common prefix onto each item. |
| 765 | * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir, |
| 766 | sitedatadir): New definitions. |
| 767 | (libparent, libdir, install_path): Replaced by above. |
| 768 | (install): Create the above directories. |
| 769 | Put the source files into subpkgdatadir. |
| 770 | (uninstall): Remove the above directories. |
| 771 | |
| 772 | Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com> |
| 773 | |
| 774 | Don't use the PLUGIN system to gather information for the |
| 775 | Makefile's distribution and installation targets; just put it all |
| 776 | in the Makefile directly. |
| 777 | * PLUGIN/this.configure (scm_files, aux_files): Remove sections |
| 778 | for these. |
| 779 | * configure.in: Remove code that gets and substitutes scm_files and |
| 780 | aux_files. |
| 781 | * Makefile.in (scm_files, aux_files): Write out the list of files |
| 782 | here, where people expect to find them. |
| 783 | |
| 784 | Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
| 785 | |
| 786 | * boot-9.scm: Preliminary solution: optionally load the debug |
| 787 | module. Changed "gls" to "guile1.0b3". |
| 788 | |
| 789 | * debug.scm: New file: debug extensions. |
| 790 | |
| 791 | Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
| 792 | |
| 793 | * boot-9.scm (print-vector): Renamed weak-hash-table? --> |
| 794 | weak-key-hash-table?. (Again!) |
| 795 | |
| 796 | Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se> |
| 797 | |
| 798 | * boot-9.scm (print-vector, macro-table, xformer-table): |
| 799 | Renamed weak-hash-table --> weak-key-hash-table. |
| 800 | |
| 801 | * poe.scm (funcq-memo): Renamed weak-hash-table --> |
| 802 | weak-key-hash-table. |
| 803 | |
| 804 | Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 805 | |
| 806 | * boot-9.scm (*null-device*): global constant from goonix. |
| 807 | (move->fdes): adjusted for boolean primitive-move->fdes. return |
| 808 | the modified port, always set revealed count to 1 (SCSH compatible). |
| 809 | (release-port-handle port): from goonix (SCSH compatible). |
| 810 | (%open-file): removed. |
| 811 | (open-input-file, open-output-file, file-exists?, file-is-directory?): |
| 812 | modified for open-file change (does not return #f). |
| 813 | |
| 814 | Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com> |
| 815 | |
| 816 | * Makefile.in (dist-dir): New target for new dist system. |
| 817 | (manifest): Deleted. |
| 818 | * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a |
| 819 | directory, and needs special treatment in the dist-dir target. |
| 820 | |
| 821 | Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 822 | |
| 823 | * boot-9.scm: remove the wrappers for '%' system primitives, |
| 824 | now that they throw errors directly. |
| 825 | remove make-simple-wrapper and similar functions. |
| 826 | protect a call to getenv which may now throw an exception. |
| 827 | |
| 828 | Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz> |
| 829 | |
| 830 | * boot-9.scm (false-if-exception): new macro. |
| 831 | |
| 832 | Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive> |
| 833 | |
| 834 | * The more things change... |
| 835 | |
| 836 | |