Debian Codegraph @

ChangeLog

raw
1 2024-01-18 <RShouman@MOSHE5>
2
3 * Makefile (gw32scmwb.sh): Use BUILD macro in gw32scmwb.sh rule.
4
5 2024-01-17 Aubrey Jaffer <[email protected]>
6
7 * Makefile: Summary: Removed prevdocs
8
9 * Makefile (CITERS): added $(htmldir)FreeSnell/FreeSnell.texi
10
11 * prevdocs/scm.info, prevdocs/scm_1.html, prevdocs/scm_10.html, prevdocs/scm_2.html, prevdocs/scm_3.html, prevdocs/scm_4.html, prevdocs/scm_5.html, prevdocs/scm_6.html, prevdocs/scm_7.html, prevdocs/scm_8.html, prevdocs/scm_9.html, prevdocs/scm_toc.html:
12 Summary: no longer used.
13
14 2024-01-17 shouman <shouman@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA>
15
16 * build.bat: * build.bat: Use "scmlit.exe" instead of "scmlit".
17
18 2024-01-17 Aubrey Jaffer <[email protected]>
19
20 * Makefile (CITERS): added $(htmldir)FreeSnell/FreeSnell.texi
21
22 2024-01-17 Radey <[email protected]>
23
24 * Makefile (all5): Fix sh script by removing extra "fi". Use
25 $(EXE) and $(BAT) macros to allow passing Windows file suffixes
26 using the environment. Use $(SCMLIT) as a target instead of scmlit,
27 so that suffix is included.
28
29 2024-01-15 Aubrey Jaffer <jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA>
30
31 * patchlvl.h (SCMVERSION): Bumped from 5f4 to 5f4.
32
33 2023-10-16 Aubrey Jaffer <[email protected]>
34
35 * subr.c (scm_big_and): Patch from Radey to fix
36 (logior 0 (ash -1 64)) => 0 on 64 bit hardware.
37
38 2023-10-14 Aubrey Jaffer <[email protected]>
39
40 * mkimpcat.scm: Aubrey Jaffer <[email protected]>
41 Patch from Radey Shouman to use SLIB's new catalog:expand-path.
42
43 2023-08-15 shouman <shouman@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA>
44
45 * debug.c:
46 Summary: Fix recent breakage in printing #@lambda expressions.
47
48 * debug.c, eval.c, repl.c, scm.h, sys.c:
49 Use IFLAGs for environment markers instead of
50 integers, to simplify debugging. Bash egc roots that are collected during main heap gc,
51 so we don't keep pointers to free cells.
52
53 2023-08-04 Radey <[email protected]>
54
55 * build.scm (gnu-win32 platform): For compile-dll-c-files and make-archive change "dllwrap"
56 call to "gcc -shared", dllwrap is deprecated. For link-c-program add linker directives to produce
57 .def and .lib files. scm.lib is required for linking dlls.
58
59 * scmfig.h: #define HAVE_DYNL if SCM_WIN_DLL is #defined, so init_dynl is called.
60
61 2023-08-04 Radey Shouman <[email protected]>
62
63 * scl.c (scm_intexpt): Fix overflow detection so that it works
64 without -fwrapv and with optimization. Uses a similar strategy to
65 that used for fixnum product.
66
67 2023-08-04 Radey Shouman <[email protected]>
68
69 * r4rstest.scm (test-bignum): Added some tests of EXPT requiring bignums.
70
71 2023-07-28 Radey Shouman <[email protected]>
72
73 * r4rstest.scm (test-bignum): Add test for bignum ash of -1.
74
75 2023-07-28 Radey Shouman <[email protected]>
76
77 * subr.c (scm_big_ash): Fix bug when first argument is 0 or -1 and
78 shift is a multiple of bigdig bits. Gave unpredictable results
79 due to internal array bounds error.
80
81 2023-07-24 Radey Shouman <rshouman@pmdlinux>
82
83 * scm.h (SCM_DLL_EXPORT, SCM_EXPORT): Changed for win32 so
84 that build with dynamic loading works.
85
86 * repl.c (input_waiting): For win32 fix so that this works
87 for an input pipe.
88
89 * scm.c (init_buf0): For win32 make stdin unbuffered if
90 an input pipe because it is when running in an emacs buffer.
91
92 2023-07-21 Radey Shouman <[email protected]>
93
94 * r4rstest.scm: Add a few more bignum arithmetic tests. Beautify
95 output of some float r/w tests by not printing closure.
96
97 * scl.c (product): Fix fixnum*fixnum case. The result of an
98 overflowing signed product in C is implementation dependent, and
99 gcc uses this freedom to optimize out a check. Fixed by either
100 using unsigned product or by using new SCM_LLONG optional type
101 macro.
102
103 * sys.c (scm_maksubr, scm_make_cont): Improve clarity.
104
105 * scmfig.h: Add conditional #defines for SCM_LLONG, a signed type
106 wide enough to hold the product of scm_int*scm_int. Defined for
107 x86_64 and x86_32. Defining this will enable better performance
108 for product subr.
109
110 * scm.h: Added typedefs scm_int and scm_uint, currently these
111 are always long and unsigned long, but that would change for
112 a 64-bit windows port.
113
114 2023-07-16 Radey Shouman <[email protected]>
115
116 * rgx.c (lregcomp): Replace calls to scm_protect_temp with
117 volatile SCM array on stack.
118
119 * unif.c (make_sh_array): Replace calls to scm_protect_temp with
120 volatile SCM array on stack.
121
122 * ramap.c (ramapc, ramap, rafe, scm_array_index_for_each, array_imap):
123 Replace calls to scm_protect_temp with volatile SCM array on stack.
124
125 * posix.c (getgroups): Replace calls to scm_protect_temp with
126 volatile SCM array on stack.
127
128 * eval.c (map, for_each): Replace calls to scm_protect_temp with
129 volatile SCM array on stack.
130
131 * subr.c (divbigbig): Use volatile SCM array on stack for gc
132 protection. Float test now passes with -O3.
133
134 * scl.c (big2str, istr2flo, pmantexp2dbl): Add gc protection for
135 temporary SCM cells using volatile SCM array on stack. Remove
136 calls to scm_protect_temp*.
137
138 2023-07-15 Radey Shouman <[email protected]>
139
140 * sys.c (scm_egc): Use s_numheaps instead of literal string.
141
142 2023-07-13 Aubrey Jaffer <[email protected]>
143
144 * keysymdef.scm, x11.scm: Updated.
145
146 * Makefile (*.opt): Removed Makefile dependency so that
147 user's customization persists.
148
149 2023-07-12 Radey Shouman <[email protected]>
150
151 * ramap.c (scm_array_index_for_each): use scm_protect_temp2 instead
152 of scm_protect_temp twice.
153
154 * scl.c (istr2flo): GC protect locals manstr and second.
155
156 * subr.c (divbigbig): GC protect locals quocell and dencell.
157
158 * sys.c, scm.h: Add scm_protect_temp2, to simplify GC protection
159 of two local variables. Procedure does literally nothing, but calling
160 it should make it harder to optimize SCM locals away.
161
162 2023-07-09 Radey Shouman <[email protected]>
163
164 * Make all .opt files depend on Makefile, so they do not need
165 to be deleted after editing Makefile.
166
167 2023-06-30 Aubrey Jaffer <[email protected]>
168
169 * Makefile ($(distdir)scm-$(VERSION)-$(RELEASE).exe): Added HTML
170 documentation dependencies.
171
172 * scm.nsi: Commented out test for SLIB.
173
174 2023-06-30 Aubrey Jaffer <[email protected]>
175
176 * Makefile ($(distdir)scm-$(VERSION)-$(RELEASE).exe): Added HTML
177 documentation dependencies.
178
179 * scm.nsi: Commented out test for SLIB.
180
181 2023-06-26 Aubrey Jaffer <[email protected]>
182
183 * r4rstest.scm (test-bignum): Added multiplication test for GCC
184 -O1 optimizer bug.
185
186 2021-09-01 Aubrey Jaffer <[email protected]>
187
188 * scl.c (istr2flo): Corrected case #ifndef SINGLES.
189
190 * unif.c (cvref): Corrected case #ifndef SINGLES.
191
192 2022-04-28 Radey <[email protected]>
193
194 * repl.c (scm_iprin1): When writing a string, reproduce all escaped characters
195 accepted as input: \0, \f, \n, \r, \t, \a, \v, \" & \\.
196 For _WIN32, #define strcasecmp as stricmp.
197
198 2022-04-27 Radey <[email protected]>
199
200 * socket.c (l_servinfo): Fix case of first argument an integer.
201 Add some casts to avert warnings.
202
203 2020-02-15 Aubrey Jaffer <jaffer@jaffer-Lenovo-Z70-80>
204
205 * patchlvl.h (SCMVERSION): Bumped from 5f2 to 5f3.
206
207 2018-06-29 Steve VanDevender
208
209 * scl.c (pmantexp2dbl): Fixed declaration following
210 non-declaration statement.
211
212 2018-06-24 Aubrey Jaffer <[email protected]>
213
214 * scl.c (pmantexp2dbl): Scale mantissa length for unnormalized FP.
215
216 2018-06-17 Aubrey Jaffer <[email protected]>
217
218 * scl.c (pmantexp2dbl): Do multiplication or division in FP when
219 it fits (uses precomputed dpows5[23]).
220
221 2018-06-06 Aubrey Jaffer <[email protected]>
222
223 * scl.c (pdbl2str): Moved power-of-two test earlier to avoid
224 bignum recycling.
225
226 2018-05-28 Aubrey Jaffer <[email protected]>
227
228 * scl.c: For powers-of-2 try incrementing quotient before adding
229 decimal digit.
230
231 * Makefile: rm -f for info files.
232
233 * keysymdef.scm, x11.scm: X11 codes changed.
234
235 2018-05-27 Aubrey Jaffer <[email protected]>
236
237 * scl.c: Restricted second conversion to fractional powers of two
238 of mant.
239
240 * scl.c (pdbl2str): Corrected for powers of two.
241
242 * r4rstest.scm (test-inexact-printing): Added float-powers-of-2-test.
243
244 2018-01-10 Aubrey Jaffer <[email protected]>
245
246 * Transcen.scm (real-log): Permit second argument to be 0.
247
248 2017-11-04 Aubrey Jaffer <[email protected]>
249
250 * Transcen.scm (real-log): Was missing.
251
252 2017-10-22 Aubrey Jaffer <[email protected]>
253
254 * sys.c (HUGE_LENGTH): Return unsigned long.
255
256 2017-10-21 Steve VanDevender
257
258 * scmhob.h (PRE_TRANSC_FUN): big2dbl() --> int2dbl().
259
260 2017-10-21 Aubrey Jaffer <[email protected]>
261
262 * scm.h: (must_realloc, must_realloc_cell): Made olen and len
263 arguments unsigned long.
264
265 * repl.c, scm.h, sys.c(mallocated, lmallocated): Made unsigned long.
266
267 * sys.c (igc_for_alloc): Made olen and size unsigned long.
268
269 2017-10-14 Steve VanDevender
270
271 * scl.c (pmantexp2dbl, int2dbl):
272 Fixed: (exact->inexact (+ most-positive-fixnum 1)) => 0.
273
274 2016-11-10 Radey Shouman <[email protected]>
275
276 * subr.c (scm_ash): Make (ash -1 shift) return -1 for
277 large values of shift.
278
279 2016-11-05 Karl Zhang
280
281 * build.scm (inexact): feature requires bignum for float I/O.
282
283 2016-09-01 Imre Patyi
284
285 * scl.c: Changed 0.0 to 0. on output.
286
287 2016-08-09 Jakub Bogusz
288
289 * scl.c (scm_ash, scm_round_quotient, product): I noticed that scm
290 5f2 built with "make all" fails make check with "Wrong type in
291 arg1" (0.0) in round_quotient.
292
293 It appeared to be caused by bigrecy() calls introduced in scm 5f2: in
294 some cases some bignum values are used after their bigrecy(), because
295 some routines reuse arguments as results:
296
297 2015-07-15 Martin Michlmayr
298
299 * scmfig.h: Added support for ARM64 (aarch64).
300
301 2015-01-14 Aubrey Jaffer <jaffer@dv7t>
302
303 * patchlvl.h (SCMVERSION): Bumped from 5f1 to 5f2.
304
305 2015-01-03 Aubrey Jaffer <[email protected]>
306
307 * scl.c (int2dbl, pmantexp2dbl): Recycle temporary bignums.
308
309 2014-11-27 Aubrey Jaffer <[email protected]>
310
311 * scl.c (pdbl2str, pmantexp2dbl): Cleaned up code.
312
313 2014-11-22 Aubrey Jaffer <[email protected]>
314
315 * scl.c (pmantexp2dbl): Handle exponents smaller than -324.
316 (pmantexp2dbl): Optimized. Added bigrecy(quo).
317 (pdbl2str, pmantexp2dbl): Uses powers-of-5.
318
319 2014-11-21 Aubrey Jaffer <[email protected]>
320
321 * scl.c (pmantexp2dbl): call int2dbl() instead of num2dbl().
322 (pdbl2str): Use powers-of-5 table instead of powers-of-10.
323 (pdbl2str): e2 > 0 prints out extra digit; reverting.
324
325 2014-05-04 Aubrey Jaffer <[email protected]>
326
327 * scl.c (strrecy, pdbl2str): Recycle temporary string used in
328 number->string conversion.
329 (scm_intexpt): Call bigrecy only when #ifdef BIGDIG.
330
331 2014-05-02 Aubrey Jaffer <[email protected]>
332
333 * subr.c (scm_bitwise_bit_count, scm_logcount, scm_intlength)
334 (big2inum): Recycle temporary bignums.
335
336 * scl.c (int2dbl, scm_intexpt, divide, difference, big2str)
337 (pdbl2str): Recycle temporary bignums.
338
339 2014-04-27 Aubrey Jaffer <[email protected]>
340
341 * scl.c (bigrecy): Added procedure to recycle bignums.
342 (mantexp2dbl, pmantexp2dbl, int2dbl): Recycle temporary bignums.
343
344 * r4rstest.scm (test-bignum): Added tests for GCD and LCM.
345
346 2014-04-24 Aubrey Jaffer <[email protected]>
347
348 * sys.c (sysptob): Added sysflush (for sys_errp). Fixed exit when
349 verbose > 3.
350
351 * scm.c (process_signals): Reenabled lfflush(sys_errp).
352
353 2014-04-21 Aubrey Jaffer <[email protected]>
354
355 * scm.texi (Internal State): Added "(gc #t)".
356
357 2014-04-07 Aubrey Jaffer <[email protected]>
358
359 * scl.c (pdbl2str): Replaced call to int2dbl() with scm_intlength().
360
361 2014-02-17 Aubrey Jaffer <[email protected]>
362
363 * scm.texi: TeXinfo-5 now disallows text between @defunx lines.
364
365 2014-02-08 From: Marc Espie
366
367 * time.c: OpenBSD is phasing out old interfaces such as ftime and
368 the timeb data structure. This should allow things to work in a
369 saner way on any system that uses gettimeofday().
370
371 2013-05-08 Aubrey Jaffer <[email protected]>
372
373 * patchlvl.h (SCMVERSION): Bumped from 5e7 to 5f1.
374
375 2013-04-14 Aubrey Jaffer <[email protected]>
376
377 * r4rstest.scm (test-inexact-printing): Added float-rw-range-test
378 to check that all powers of 10 in the range of IEEE doubles are
379 read-write-invariant and their strings are short.
380
381 2013-04-13 Aubrey Jaffer <[email protected]>
382
383 * scl.c (pmantexp2dbl): Renamed from imantexp2dbl and radically
384 simplified (because bex < 0).
385
386 2013-04-12 Aubrey Jaffer <[email protected]>
387
388 * scl.c (scm_intexpt): Fixed (integer-expt 2 -1074).
389 (dbl2big): Was returning unnormalized bignums.
390
391 2013-04-10 Aubrey Jaffer <[email protected]>
392
393 * scl.c (llog2): Use with bignums also.
394
395 2013-04-06 Aubrey Jaffer <[email protected]>
396
397 * scmfig.h (BIGDIG): Enable 32-bit BIGDIGs.
398
399 * subr.c (scm_big_ash): Workaround left-shifting unsigned int by
400 32-bits in gcc -O0 bug.
401
402 * scl.c: Removed debugging printf()s.
403
404 * dynl.c, eval.c, repl.c, scmmain.c (scm_verbose): Replaced uses
405 of `verbose' alias.
406
407 2013-03-31 Aubrey Jaffer <[email protected]>
408
409 * scmfig.h: Rearranged to enable detection of int size.
410
411 * subr.c (scm_bitfield, scm_ash): Don't reuse SCM variables as longs.
412
413 2013-03-30 Aubrey Jaffer <[email protected]>
414
415 * scl.c (ilong2str): Renamed from iint2str().
416 (pdbl2str): No longer assumes that ulong is larger than double.
417
418 * subr.c (divbigdig): Return type changed to UBIGLONG.
419
420 2013-03-24 Aubrey Jaffer <[email protected]>
421
422 * scm.h (iuint2str): Added declaration.
423
424 * scmfig.h (UBIGLONG, SBIGLONG): Added in preparation for 32-bit
425 BIDIG.
426
427 * bytenumb.c (scm_bytes_to_integer, scm_integer_to_bytes): Use
428 UBIGLONG for integers holding 2 BIGDIGs.
429
430 * scl.c (int2dbl): Only accumulate dbl_mant_dig worth of BIGDIGs.
431 (dbl2big, int2dbl): Use ldexp() instead of multiplication by BIGRAD.
432 (pdbl2str): Use unsigned int2str conversion.
433 (istr2int): Changed radix from long to int.
434
435 * subr.c (divbigbig): Implements core of scm_round_quotient().
436 (divbigbig): Round correctly when x is shorter than y.
437 (scm_copy_big_ash1): Abstracted repeated code from divbigbig().
438 (scm_big_ash, big2inum, long2big, addbig, mulbig)
439 (divbigdig, divbigint, divbigbig): Use UBIGLONG and SBIGLONG for
440 integers holding 2 BIGDIGs.
441
442 2013-03-17 Aubrey Jaffer <[email protected]>
443
444 * subr.c (scm_round_quotient): Round toward even.
445
446 2013-03-14 Aubrey Jaffer <[email protected]>
447
448 * scl.c (imantexp2dbl): Added to check that conversion to decimal
449 is accurate.
450 (pdbl2str): Uses smallest number of digits!
451
452 * subr.c (scm_round_quotient): Abstracted from decimal conversion
453 code and int2dbl().
454
455 2013-03-10 Aubrey Jaffer <[email protected]>
456
457 * scl.c (int2dbl): Renamed from big2dbl.
458 (inex_divintbig): Renamed from inex_divbigbig.
459 (big2scaldbl): Removed for not returning unnormalized doubles.
460 (divide, inex_divintbig): Can now return unnormalized doubles.
461
462 2013-03-09 Aubrey Jaffer <[email protected]>
463
464 * Makefile (scm4, scm5, dscm5): Don't ignore (readback) errors.
465
466 * scl.c (mantexp2dbl, big2dbl): Comment out checks for rounding
467 evenness making a difference.
468
469 * r4rstest.scm (test-inexact): Changed 4.0 to f4.0.
470
471 * scl.c (mantexp2dbl): Reading now accurate for negative
472 exponents. Only one readback error remains: 699.99999999998702e18
473 (big2dbl): Turned out to need explicit rounding -- all are fixed!
474
475 2013-02-20 Aubrey Jaffer <[email protected]>
476
477 * scl.c (pdbl2str): Does engineering notation now.
478
479 2013-02-18 Aubrey Jaffer <[email protected]>
480
481 * scl.c (pdbl2str): Replaced with homegrown version.
482 (pdbl2str): Fixed nasty range error around 2.^53.
483 Still failing 12 readback tests; too many digits output.
484
485 2013-02-07 Aubrey Jaffer <[email protected]>
486
487 * r4rstest.scm (test-inexact-printing): Output both original and
488 readback value.
489
490 * scl.c (pdbl2str): Implements "Printing Floating-Point Numbers
491 Quickly and Accurately" by Robert G. Burger and R. Kent Dybvig.
492 1.000000000000001 doesn't seem right.
493
494 2013-01-24 Aubrey Jaffer <[email protected]>
495
496 * scl.c (dbl_prec, apx_log10, lpow10): Moved adjacent to
497 pdbl2str(), which is their only use.
498
499 2013-01-23 Aubrey Jaffer <[email protected]>
500
501 * scl.c (scm_cintlog): Fixed eqv reference in scmlit build.
502
503 2013-01-21 Aubrey Jaffer <[email protected]>
504
505 * scl.c (scm_next_dfloat): Removed (skipped codes).
506 (pdbl2str): Split from idbl2str() in preparation for improved
507 printing of floats.
508
509 2013-01-14 Aubrey Jaffer <[email protected]>
510
511 * scl.c (scm_intlog, integer-log): Ported to C.
512 * (ceiling-integer-log): Ported to C for use in printing floats.
513
514 2013-01-02 Aubrey Jaffer <[email protected]>
515
516 * scl.c (mantexp2dbl): Fixed reading of small magnitude numbers;
517 seem to be no missing codes from ieee-double->bytes.
518
519 2013-01-01 Aubrey Jaffer <[email protected]>
520
521 * scl.c (istr2flo): Convert '#' to '0' in mantissa string.
522 (mantexp2dbl): Fixed reading of large magnitude numbers!
523 (dbl2big): Don't loop forever on infinite arguments.
524
525 2012-12-29 Aubrey Jaffer <[email protected]>
526
527 * scl.c (mantexp2dbl): Separated mantissa conversion and scaling
528 from istr2flo().
529
530 2012-12-27 Aubrey Jaffer <[email protected]>
531
532 * bytenumb.c (get_bytes): Fixed bytes-length checking.
533
534 2012-12-18 Aubrey Jaffer <[email protected]>
535
536 * Makefile: Removed turtlegr files from distribution because
537 copyright isn't assigned to FSF.
538
539 * findexec.c: Copyright was assigned to FSF.
540
541 2012-08-16 Aubrey Jaffer <[email protected]>
542
543 * eval.c (m_body): Reverse letrec bindings (and internal defines)
544 to produce LETREC* behavior.
545
546 2012-04-10 Aubrey Jaffer <[email protected]>
547
548 * Makefile (upgnu): Added target to upload to ftp.gnu.org.
549
550 2012-01-11 Aubrey Jaffer <[email protected]>
551
552 * Init5e7.scm (integer->list): Negative k not allowed.
553
554 2011-12-27 Aubrey Jaffer <[email protected]>
555
556 * Makefile (catfiles): Create catalogs at end of install and
557 remove in uninstall.
558
559 2011-12-25 Aubrey Jaffer <[email protected]>
560
561 * Makefile (install-lib): Install $(wbfiles) if -f wbscm.so.
562
563 2011-12-23 Aubrey Jaffer <[email protected]>
564
565 * Makefile (install-lib): Install "build" as program.
566
567 2011-11-24 Aubrey Jaffer <[email protected]>
568
569 * scm.texi (Testing): Moved between "Problems Linking" and
570 "Problems Starting".
571
572 2011-11-20 Aubrey Jaffer <[email protected]>
573
574 * Makefile (install-lib): Make installation of libscm.a optional.
575
576 * scm.texi (Distributions, GNU configure and make): Added text
577 suggested by John Gabriele.
578
579 2011-11-15 Aubrey Jaffer <[email protected]>
580
581 * lastfile.c: Fixed typo ("macosx-config.h").
582
583 2011-11-12 Aubrey Jaffer <[email protected]>
584
585 * scm.texi, README (Installing SCM): Reorganized and expanded.
586
587 * Makefile (SETARCH): Use for disabling OS-X dump-time ASLR.
588 (udscm*.opt scm*.opt): Refactored dependencies.
589
590 2011-11-06 Aubrey Jaffer <[email protected]>
591
592 * Makefile (alld5, all5): Clever sub-targets of all.
593
594 * scm.texi (Building Using Make): Added subsection.
595
596 2011-10-26 Aubrey Jaffer <[email protected]>
597
598 * scm.texi (Installing SCM): Reorganized in response to
599 suggestions from John Gabriele.
600
601 2011-10-25 Aubrey Jaffer <[email protected]>
602
603 * scm.texi (Installing SCM): Reorganized.
604 Updated email addresses.
605
606 * Makefile (configure.usage): Added.
607
608 2011-09-04 Aubrey Jaffer <[email protected]>
609
610 * scl.c (inf2str): Ouput +nan.0 for NaN.
611 (istr2flo): Parse [-+]nan.0.
612
613 2011-08-18 Aubrey Jaffer <[email protected]>
614
615 * scl.c (istr2flo): 1e-1 ==> 100.0e-3; 1f-1 ==> 100.00000149011612e-3
616
617 2011-08-05 Aubrey Jaffer <[email protected]>
618
619 * unexmacosx.c: Added Emacs dump code for OS-X.
620
621 * x11.scm: Updated for X Server 1.9.0.
622
623 2011-06-15 Aubrey Jaffer <[email protected]>
624
625 * scm.texi (I/O-Extensions): Added DIRECTORY*-FOR-EACH.
626
627 2011-03-11 Aubrey Jaffer <[email protected]>
628
629 * scmfig.h (__APPLE__): Include unistd.h.
630
631 2010-10-17 Aubrey Jaffer <[email protected]>
632
633 * scl.c (scm_bigdblcomp): Fixed type of argument to frexp().
634
635 * findexec.c (dld_find_executable): Handle getcwd() failure.
636
637 * sys.c (ltmpnam): Handle tmpnam() failure.
638
639 * unif.c (list->uniform-array): Fixed rank check.
640
641 2010-10-13 Aubrey Jaffer <[email protected]>
642
643 * scm.h (tc7_VfixN64, tc7_VfixZ64): Added.
644
645 * scm.texi (Data Type Representations): Allocated codes for
646 tc7_VfixN64 and tc7_VfixZ64.
647
648 2010-08-21 Aubrey Jaffer <[email protected]>
649
650 * differ.c (I32): Workaround for A:fixZ32b actually being 64.bit
651 on __x86_64.
652
653 * rope.c (scm_addr, scm_base_addr): Changed return type to void*.
654
655 2010-07-17 Aubrey Jaffer <[email protected]>
656
657 * scm.texi (Conventional Arrays): @exdent wide examples.
658
659 * Makefile (scm5, scm4): Fail if check fails.
660
661 * scl.c (inf2str): Use strcpy() instead of explicity copying.
662
663 2010-06-29 Aubrey Jaffer <[email protected]>
664
665 * patchlvl.h (SCMVERSION): Bumped from 5e6 to 5e7.
666
667 * Makefile (winscm5.opt): Use wb-no-threads.
668
669 * build.scm (wb-no-threads): wb feature for mingw.
670
671 * hobbit.texi (Compiling And Linking): Fixed \" quoting in @example.
672
673 * Makefile, scm.spec: Fixed RPM build.
674
675 2010-06-19 Aubrey Jaffer <[email protected]>
676
677 * Makefile: INSTALL_INFO = ginstall-info.
678
679 2010-06-02 Aubrey Jaffer <[email protected]>
680
681 * configure: Improved portability of trailing / detection.
682
683 * Makefile (db.so): Added $(wbfiles) dependency.
684
685 2010-05-22 Aubrey Jaffer <[email protected]>
686
687 * configure (ac_default_prefix): Was lacking trailing /.
688
689 2010-04-27 Aubrey Jaffer <[email protected]>
690
691 * Makefile (db.so): Recompile if any ../wb/c/*.c changes.
692 (tagfiles): Don't include documentation sources twice.
693 (x.h): CPROTO no longer available; "x.h" is in CVS.
694
695 2010-03-31 Aubrey Jaffer <[email protected]>
696
697 * ioext.c (copy-file): Added.
698
699 2010-03-16 Aubrey Jaffer <[email protected]>
700
701 * hobbit.texi (Compiling And Linking): Fixed quoting in example
702 compile commands for MS-DOS prompt.
703
704 2010-02-23 Aubrey Jaffer <[email protected]>
705
706 * Makefile (Makefile): Runs ./configure to create config.status.
707
708 2010-02-13 Aubrey Jaffer <[email protected]>
709
710 * Makefile: Reorganized per <http://www.gnu.org/prep/standards/>.
711
712 2010-02-04 Aubrey Jaffer <[email protected]>
713
714 * configure: GNU-style configuration for installation creates
715 config.status, which is included by Makefile.
716
717 2010-01-27 Aubrey Jaffer <[email protected]>
718
719 * scm.texi (Numeric): Added infinite?, finite?, exact-round,
720 exact-floor, exact-ceiling, and exact-truncate.
721
722 2009-12-27 Aubrey Jaffer <[email protected]>
723
724 * scm.texi (Bit Vectors): Fixed doc for bit-set*!.
725
726 2009-10-21 Aubrey Jaffer <[email protected]>
727
728 * ioext.c (init_ioext): Added directory*-for-each.
729
730 2009-10-05 Aubrey Jaffer <[email protected]>
731
732 * build.scm (wb): Added c-lib pthread.
733 (C-libraries): pthread added.
734
735 * Makefile (db.so): Corrected for new WB file organization.
736
737 2009-09-14 Radey Shouman <[email protected]>
738
739 * Macexp.scm (macro:expand-syntax): Fix non-pretty case.
740 Fully expand identifier macros.
741
742 * eval.c (scm_macroexpand1): Properly handle identifier macros.
743 (macroexp1): Fixed for the case of the first argument an
744 identifier -- used to return a list headed by #@quote.
745 (ceval_1): Fixed argument number check for nullary procedures --
746 used to incorrectly call scm_dynthrow.
747
748 2009-08-29 Aubrey Jaffer <[email protected]>
749
750 * dynl.c (l_dyn_main_call): Added cast to eliminate gcc warning.
751
752 * sys.c (free_storage): Removed late call to lfflush() which
753 caused segfault in fc9.
754
755 * mkimpcat.scm (in-wb-vicinity): is "../wb/c/".
756
757 2009-08-26 Aubrey Jaffer <[email protected]>
758
759 * sys.c (gc_mark): For tcs_cons_nimcar, do one CDR lookahead for
760 mark.
761
762 2009-08-02 Aubrey Jaffer <[email protected]>
763
764 * patchlvl.h (SCMVERSION): Bumped from 5e5 to 5e6.
765
766 2009-07-14 Aubrey Jaffer <[email protected]>
767
768 * ioext.c (make-directory): Fixed umask (to #o022).
769
770 2009-03-21 Aubrey Jaffer <[email protected]>
771
772 * scl.c (scm_bigdblcomp): Fixed comparison with infinities.
773 (scm_max, scm_min): Renamed from lmax, lmin.
774 (bigdblop): Fixed division by 0 and infinities.
775 (bigdblop): Fixed case: (/ (+ 1 most-positive-fixnum) 1e-165)
776
777 2008-12-14 Aubrey Jaffer <[email protected]>
778
779 * r4rstest.scm (6 5 5): Added exact-integer division tests.
780
781 2008-12-13 Aubrey Jaffer <[email protected]>
782
783 * r4rstest.scm (6 9): Added (procedure? /).
784 (4 2 4): Added test for test clause without expressions.
785
786 2008-11-15 Aubrey Jaffer <[email protected]>
787
788 * build.scm (build:command): Comment interfered with make-build-cgi.
789
790 2008-08-06 Aubrey Jaffer <[email protected]>
791
792 * rope.c (scm_gc_protect): Don't check if already protected; for
793 large Hobbit compiles that is an O(N^2) process.
794
795 * hobbit.scm (make-initialization-function!): Sets no_symhash_gc.
796
797 * sys.c, scm.h (no_symhash_gc): Added for Hobbit-produced code.
798
799 * Link.scm (link:link): Added calls to load:pre and load:post.
800
801 * mkimpcat.scm (add-links): Added "hobbit.so".
802
803 * Init5e5.scm (load:pre, load:post): Take operation argument for
804 use with both loading and linking.
805
806 2008-08-06 Martin Ward
807
808 * hobbit.scm (*c-keywords*): Added system, random, and exit.
809 (*char-replacements*): Added backslash.
810
811 2008-07-27 Thomas Bushnell BSG
812
813 * build.scm (linux-ia64, build-continue-ia64): Include
814 continue-ia64.o in .a libraries.
815
816 2008-07-05 Aubrey Jaffer <[email protected]>
817
818 * scm.texi (SCM Session): Added description of getenv (extension).
819
820 * scm.c (scm_getenv): Renamed from lgetenv; with no arguments,
821 returns names and values of all the environment variables as an
822 association-list.
823
824 2008-06-29 Aubrey Jaffer <[email protected]>
825
826 * sys.c (sfwrite, sfputs): Added "const" to first argument
827 declaration.
828
829 2008-06-15 Aubrey Jaffer <[email protected]>
830
831 * scm.nsi: Added "Tscript.scm".
832
833 2008-05-14 Aubrey Jaffer <[email protected]>
834
835 * repl.c (wait_for_input): Removed restriction to input-ports.
836
837 * record.c (recprin1): Don't print field values unless
838 SCM_SHOW_RECORD_FIELDS; allows suffix-trees to print.
839
840 2008-05-13 Radey Shouman <[email protected]>
841
842 * scm.c (ignore_signals): Added volatile assignment to
843 prevent scmable_signal function from being optimized
844 away - relevant only to windows builds.
845
846 2008-03-11 Aubrey Jaffer <[email protected]>
847
848 * scl.c (istr2flo): +/, +/0, and 234/ are no longer numbers.
849
850 * sys.c (scm_portp): Added SLIB prerequisite.
851
852 2008-02-25 Aubrey Jaffer <[email protected]>
853
854 * inc2scm, xgen.scm: Changed first line to invoke ./scmlit.
855
856 2008-02-19 Aubrey Jaffer <[email protected]>
857
858 * continue.h (STACK_GROWS_UP): if __hppa__.
859
860 * scm.texi (Automatic C Preprocessor Definitions): Added __hppa__
861
862 2008-02-18 Aubrey Jaffer <[email protected]>
863
864 * mkimpcat.scm (add-source): Look for file with scheme-suffix.
865
866 * Makefile (xevent.h xevent.scm xatoms.scm):
867 (x11.scm, keysymdef.scm): Don't source include files from DESTDIR.
868
869 2008-02-14 Aubrey Jaffer <[email protected]>
870
871 * build.scm (compile-dll-c-files, compile-c-files): Added missing
872 '(include-spec "-I" parms)'.
873
874 2008-02-13 Aubrey Jaffer <[email protected]>
875
876 * Makefile (lsdfiles): Removed duplicate "Iedline.scm".
877
878 2008-02-10 Aubrey Jaffer <[email protected]>
879
880 * Makefile (texifiles): Moved definition before use.
881
882 * build.scm (compile-dll-c-files, make-dll-archive):
883 MACOSX_DEPLOYMENT_TARGET=10.3
884
885 * Makefile (all): Don't make db.so.
886 (lsdfiles): Removed WB files.
887 (afiles): Removed $(wbfiles).
888
889 2008-02-01 Aubrey Jaffer <[email protected]>
890
891 * patchlvl.h (SCMVERSION): Bumped from 5e4 to 5e5.
892
893 2008-01-31 Aubrey Jaffer <[email protected]>
894
895 * build (make-readme): Put - between scm and version.
896
897 * keysymdef.scm, x11.scm: X Window System Version 7.1.1
898 Release Date: 12 May 2006
899 X Protocol Version 11, Revision 0, Release 7.1.1
900
901 * Makefile, scm.spec: Always put - between scm and version.
902
903 * unexelf.c, unexmacosx.c, unexsgi.c, unexsunos4.c, gmalloc.c,
904 lastfile.c, macos-config.h, r4rstest.scm, syntest2.scm,
905 unexalpha.c, unexec.c, !#.c, build, build.scm, ecrt0.c,
906 findexec.c, bench.scm:
907 Changed license to GPL version 3.
908
909 * Transcen.scm, Tscript.scm, unif.c, unix.c, x.c, xgen.scm,
910 subr.c, sys.c, time.c, scm.texi, script.c, setjump.h, socket.c,
911 split.scm, scm.c, scm.h, scmfig.h, scmhob.h, scmhob.scm,
912 scmmain.c, repl.c, rgx.c, rope.c, sc2.c, scl.c, Macro.scm,
913 Makefile, mkimpcat.scm, pi.c, pi.scm, posix.c, ramap.c,
914 record.c, Iedline.scm, Init5e4.scm, Link.scm, Macexp.scm,
915 inc2scm, ioext.c, Idiffer.scm, gsubr.c, hobbit.scm, .gdbinit,
916 differ.c, disarm.scm, dynl.c, edline.c, eval.c,
917 get-contoffset-ia64.c, byte.c, bytenumb.c, compile.scm,
918 continue-ia64.S, continue.c, continue.h, crs.c, debug.c:
919 Changed license to LGPL version 3.
920
921 2008-01-30 Aubrey Jaffer <[email protected]>
922
923 * Tscript.scm: Handle EOF.
924
925 2008-01-28 Aubrey Jaffer <[email protected]>
926
927 * scm.texi (Overview): SCM is a GNU package.
928 (GNU Free Documentation License): Subsection of "Copying".
929
930 * Makefile, build.scm (manifest): Added fdl.texi and
931 COPYING.LESSER.
932
933 * README, build (make-readme): SCM is a GNU package.
934
935 2008-01-27 Aubrey Jaffer <[email protected]>
936
937 * byte.c (init_byte): Identity isn't defined yet; use cr.
938
939 2008-01-24 Aubrey Jaffer <[email protected]>
940
941 * scm.texi: Changed to "GNU Free Documentation License".
942
943 * fdl.texi (GNU Free Documentation License): Added.
944
945 * COPYING.LESSER: Added "GNU LESSER GENERAL PUBLIC LICENSE".
946
947 * COPYING: "GNU GENERAL PUBLIC LICENSE" Version 3.
948
949 * byte.c (bytes-append, bytes->string, string->bytes): Added.
950
951 2008-01-21 Aubrey Jaffer <[email protected]>
952
953 * scm.nsi (Uninstall): Delete tmp1, tmp2, and tmp3.
954
955 2008-01-19 Aubrey Jaffer <[email protected]>
956
957 * macos-config.h, unexmacosx.c, lastfile.c:
958 Added from Emacs for MacOS (darwin).
959
960 * build.scm (C-libraries): Added dump and dlll darwin entries.
961 (make-dll-archive, compile-dll-c-files): Added Darwin tagets.
962 (manifest): Added entries for "macos-config.h" and "lastfile.c".
963
964 * Makefile (all): Make x.so only if /usr/X11R6/lib exists.
965 (install, installlib): test -d is not needed with mkdir -p.
966
967 2008-01-18 Aubrey Jaffer <[email protected]>
968
969 * Makefile (install): mkdir -p.
970
971 2008-01-16 Aubrey Jaffer <[email protected]>
972
973 * Makefile (RSYNC): --rsync-path no longer needed.
974
975 2008-01-15 Radey Shouman <[email protected]>
976
977 * repl.c: Fix igc prototype, avert warning.
978
979 2008-01-15 Aubrey Jaffer <[email protected]>
980
981 * scm.nsi: Create shortcuts at installation; removed SCM.lnk.
982 (MUI_ICON): Set to "SCM.ico".
983
984 * Makefile ($(DOSCM)scm$(VERSION).zip): Removed SCM.lnk.
985
986 2008-01-13 Aubrey Jaffer <[email protected]>
987
988 * scm.nsi: Delete scmlit.exe, implcat, and slibcat when
989 uninstalling.
990
991 2008-01-11 Aubrey Jaffer <[email protected]>
992
993 * Makefile ($(htmldir)Xlibscm_toc.html)
994 ($(htmldir)hobbit_toc.html): Add SCM.ico.
995
996 2008-01-09 Aubrey Jaffer <[email protected]>
997
998 * Makefile (all): Make differ.so.
999 (libscm.a, db.so, bytenumb.so, differ.so, myturtle, x.so): Depend
1000 on scm.h and scmfig.h.
1001 (doszip): Added SCM.ico
1002
1003 * scm.h, repl.c: Made ints_disabled VOLATILE.
1004
1005 2008-01-09 Radey Shouman <[email protected]>
1006
1007 * eval.c (ceval_1): Remove redundant DEFER_INTS_EGC from
1008 new code.
1009
1010 2008-01-07 Radey Shouman <[email protected]>
1011
1012 * eval.c (scm_eval_values, ceval_1): Catch VALUES arity errors
1013 in top-level repl evaluations. Eg (list (values 1 2)) now
1014 throws an error even when typed to repl.
1015
1016 * scm.h (IM_EVAL_VALUES): Add isym for use by scm_eval_values.
1017
1018 * repl.c (isymnames): Add name for IM_EVAL_VALUES.
1019
1020 2008-01-02 Aubrey Jaffer <[email protected]>
1021
1022 * ANNOUNCE: Culled and reorganized URLs.
1023
1024 2007-12-23 Aubrey Jaffer <[email protected]>
1025
1026 * ioext.c (directory-for-each): Require 'filename, not 'glob.
1027
1028 * Init5e4.scm (slib:features): Added srfi-96.
1029
1030 2007-12-17 Aubrey Jaffer <[email protected]>
1031
1032 * Makefile (CITERS): Added $(htmldir)FreeSnell/index.html.
1033
1034 2007-12-16 Aubrey Jaffer <[email protected]>
1035
1036 * scm.c (init_scm): The streams when the program was dumped need
1037 to be reset at initialization.
1038
1039 2007-12-13 Aubrey Jaffer <[email protected]>
1040
1041 * scm.texi (SCM Features): Hobbit is included in distribution.
1042
1043 2007-11-28 Aubrey Jaffer <[email protected]>
1044
1045 * bytenumb.c (scm_integer_to_bytes): Declaration must start block.
1046
1047 * Makefile (Checklit, Check): Added case-sensitive checks.
1048
1049 * repl.c (scm_lreadr): Made case-insensitive for character names.
1050
1051 2007-11-25 Aubrey Jaffer <[email protected]>
1052
1053 * patchlvl.h (SCMVERSION): Bumped from 5e3 to 5e4.
1054
1055 2007-11-24 Aubrey Jaffer <[email protected]>
1056
1057 * Makefile (release): Upload scm.pdf.
1058
1059 * repl.c (scm_lreadparen): Fixed case-sensitive symbol reading.
1060
1061 2007-11-23 Aubrey Jaffer <[email protected]>
1062
1063 * requires.scm, Iedline.scm, Init5e4.scm: Downcased symbols to
1064 work with case-sensitive symbols (--no-symbol-case-fold).
1065
1066 2007-11-03 Aubrey Jaffer <[email protected]>
1067
1068 * repl.c (scm_file_position): Added replacement for
1069 file_set_position and file_position.
1070
1071 * Init5e3.scm (file-position, file-set-position): Added stub.
1072
1073 * ioext.c (file_set_position, file_position): Moved to repl.c.
1074
1075 * scm.texi (Port Properties): Moved file-position from
1076 I/O-Extensions.
1077
1078 2007-10-24 Aubrey Jaffer <[email protected]>
1079
1080 * build.scm (wb): Added "../wb/segs.c".
1081
1082 2007-10-20 Aubrey Jaffer <[email protected]>
1083
1084 * scm.nsi: Install "mkimpcat.scm", "wbtab.scm", and "rwb-isam.scm".
1085
1086 2007-10-14 Aubrey Jaffer <[email protected]>
1087
1088 * Init5e3.scm (slib:load): Is not the same as slib:load-source.
1089
1090 2007-09-07 Aubrey Jaffer <[email protected]>
1091
1092 * scm.texi (Making SCM): Added cross reference to "Building SCM".
1093
1094 2007-09-04 Aubrey Jaffer <[email protected]>
1095
1096 * Makefile (install): Remove wb dependencies.
1097
1098 * build.scm, build: Changed copyright and license to match others.
1099
1100 2007-09-03 Aubrey Jaffer <[email protected]>
1101
1102 * Makefile (scm4): Added target.
1103 (install*): Added $(DESTDIR) prefix.
1104
1105 2007-08-05 Aubrey Jaffer <[email protected]>
1106
1107 * findexec.c (__DragonflyBSD__, __OpenBSD__): Added. Made BSD
1108 derivative includes more uniform.
1109
1110 * scm.texi (Automatic C Preprocessor Definitions): Added
1111 __DragonflyBSD__ and __OpenBSD__.
1112
1113 * repl.c, scl.c, scm.h: Replaced (int) casts with PTR2INT().
1114
1115 * scmfig.h (PTR2INT): Added; conditioned on 64.bit processor.
1116
1117 2007-07-22 Aubrey Jaffer <[email protected]>
1118
1119 * repl.c (linux): Adding "#include <ctype.h>" fixes implicit
1120 declaration warnings.
1121
1122 2007-07-21 Aubrey Jaffer <[email protected]>
1123
1124 * scm.h (num2char): Added declaration.
1125
1126 * scmfig.h (linux): Adding "#include <unistd.h>" fixes implicit
1127 declaration warnings.
1128
1129 * findexec.c (linux): Adding "#include <string.h>" fixes implicit
1130 declaration warnings.
1131
1132 2007-07-19 Aubrey Jaffer <[email protected]>
1133
1134 * dynl.c (l_dyn_main_call): Removed const from argv.
1135
1136 * rope.c, scm.h (must_free_argv): Removed `const's from argv.
1137
1138 2007-07-16 Aubrey Jaffer <[email protected]>
1139
1140 * Makefile (udscm5): strip udscm5.
1141
1142 * scmfig.h: __FreeBSD__ now includes <unistd.h>.
1143
1144 2007-07-15 Aubrey Jaffer <[email protected]>
1145
1146 * sys.c (prinport): Don't choke if ttyname returns NULL.
1147
1148 2007-06-18 Aubrey Jaffer <[email protected]>
1149
1150 * subr.c (scm_bitwise_bit_count): Added; returns negative integer
1151 for negative input.
1152
1153 2007-06-08 Aubrey Jaffer <[email protected]>
1154
1155 * Makefile: Changed to use "mkdir -p".
1156
1157 2007-05-31 Aubrey Jaffer <[email protected]>
1158
1159 * ramap.c (scm_array_index_for_each): Added.
1160
1161 2007-04-28 Aubrey Jaffer <[email protected]>
1162
1163 * Makefile (gdb.opt): Clear when copying from udscm5.opt.
1164 (scm.html, hobbit.html): Make in unix for w32install because MinGW
1165 chokes on @syncodeindex.
1166
1167 2007-04-19 Aubrey Jaffer <[email protected]>
1168
1169 * scm.texi: Don't break @ref fields over lines.
1170
1171 2007-04-19 Jerry van Dijk
1172
1173 * scm.nsi: Added "scmhob.scm".
1174
1175 2007-04-16 Aubrey Jaffer <[email protected]>
1176
1177 * repl.c (scm_write): Renamed from lwrite.
1178 (scm_display): Renamed from display.
1179 (scm_newline): Renamed from newline.
1180 (scm_write_char): Renamed from write_char.
1181 (scm_peek_char): Renamed from peek_char.
1182
1183 * Makefile (udgdbscm, gdbscm): Added dependencies.
1184
1185 2007-04-15 Aubrey Jaffer <[email protected]>
1186
1187 * sys.c (sysputs): Don't lfflush cur_errp.
1188 (sysflush): Removed call to syswrite() which doesn't flush.
1189
1190 * scm.c (process_signals): Don't lfflush.
1191
1192 * sys.c (marksafep, syswrite): Internal calls to lflush replaced
1193 by conditioned calls to lfflush.
1194
1195 * repl.c (scm_force_output): Renamed from lflush.
1196 Internal calls replaced by conditioned calls to lfflush.
1197
1198 2007-04-14 Aubrey Jaffer <[email protected]>
1199
1200 * Makefile (udscm5): Depends on ufiles.
1201 (ufiles): Moved earlier in file so dependencies work.
1202
1203 2007-03-28 Aubrey Jaffer <[email protected]>
1204
1205 * build.scm (build): atari.st --> atari-st.
1206
1207 2007-03-27 Aubrey Jaffer <[email protected]>
1208
1209 * Makefile (gw32scmwb.sh, scm.exe): Run in MinGW MSYS.
1210
1211 2007-03-26 Aubrey Jaffer <[email protected]>
1212
1213 * Transcen.scm: Provide math-real and srfi-94.
1214
1215 * Makefile ($(DOSCM)dist/scm$(VERSION).zip): Don't fail if there
1216 is nothing to be updated in zip file.
1217
1218 2007-03-25 Aubrey Jaffer <[email protected]>
1219
1220 * build.scm (wb): Trailing "/" on -I ../scm/ choked MinGW.
1221
1222 * Makefile (gw32scmwb.sh): Added target for GNU-Win32 compilation.
1223 (mfiles): Added "scm.nsi".
1224
1225 * build.scm (wb): wb/ent.c --> wb/ents.c.
1226
1227 2007-03-24 Aubrey Jaffer <[email protected]>
1228
1229 * indexes.texi: Made like SLIB's; doesn't choke makeinfo --html.
1230
1231 2007-03-09 Aubrey Jaffer <[email protected]>
1232
1233 * r4rstest.scm (5 2 1): Added tests for top-level define scope
1234 violation (Kawa).
1235
1236 2007-03-05 Jerry van Dijk
1237
1238 * Makefile (w32install): Added target.
1239
1240 * make-scm-msys.sh: Compile script for MS-Windows.
1241
1242 * scm.nsi: NSIS Windows installer script.
1243
1244 2007-01-06 Aubrey Jaffer <[email protected]>
1245
1246 * build.scm (byte-number): Added feature.
1247
1248 * mkimpcat.scm (byte-number): Added.
1249
1250 * Makefile (cfiles, mydlls): Added bytenumb.c.
1251 (bytenumb.so): Added.
1252
1253 * bytenumb.c: Byte/integer and byte/IEEE-floating-point
1254 conversions.
1255
1256 2007-01-03 Aubrey Jaffer <[email protected]>
1257
1258 * rope.c (scm_addr, scm_base_addr): Added const to s_name arg.
1259
1260 2006-11-24 Aubrey Jaffer <[email protected]>
1261
1262 * Init5e3.scm, scm.1, scm.doc, scm.texi (--no-symbol-case-fold):
1263 Added command-line option.
1264
1265 2006-11-22 Aubrey Jaffer <[email protected]>
1266
1267 * repl.c: Prefixed lread* functions with scm_ (like Guile).
1268 (scm_iprin1): Don't slashify capitals if case_sensitize_symbols.
1269 (scm_read_token): Don't downcase if case_sensitize_symbols.
1270
1271 * scm.c (case_sensitize_symbols): Added variable.
1272 (scm_init_from_argv): Set case_sensitize_symbols (to 8) if option
1273 "--no-symbol-case-fold" given.
1274
1275 * x.c, unif.c, sys.c, socket.c, scm.h, scl.c, rgx.c, record.c,
1276 hobbit.scm, .gdbinit, eval.c, dynl.c, debug.c: Prefixed ipr*
1277 functions with scm_ (like Guile).
1278
1279 2006-10-28 Aubrey Jaffer <[email protected]>
1280
1281 * build.scm (C-libraries): Regularized lib-path field.
1282 (make-defaulting-platform-lookup): Default to OS before *unknown*.
1283
1284 * Makefile (scm5, udscm4, udscm5): Don't fail deleting *.o files.
1285
1286 2006-10-21 Aubrey Jaffer <[email protected]>
1287
1288 * patchlvl.h (SCMVERSION): Bumped from 5e2 to 5e3.
1289
1290 2006-10-20 Aubrey Jaffer <[email protected]>
1291
1292 * scm.texi (Testing): Fixed typo in CHEAP_CONTINUATIONS.
1293
1294 * Transcen.scm (real-functions): Define real-* in terms of $* for
1295 legacy executables.
1296
1297 * Makefile (checklit): No longer does test-cont.
1298 (scmflags.h): Fixed crucial typo in CHEAP_CONTINUATIONS.
1299
1300 2006-10-20 Richard Harke
1301
1302 * continue-ia64.S: Update.
1303
1304 * build.scm (link-c-program linux-ia64): Added. "continue-ia64.o".
1305
1306 2006-10-03 Radey Shouman <[email protected]>
1307
1308 * eval.c (ceval_1): Change LETREC behavior to that of LETREC*:
1309 initializers are run in left to right order, and may use
1310 previously evaluated variables bound in the same contour. This
1311 change also applies to LETRECs resulting from internal DEFINE.
1312
1313 2006-09-26 Aubrey Jaffer <[email protected]>
1314
1315 * byte.c (subbytes): Added.
1316
1317 2006-09-21 Aubrey Jaffer <[email protected]>
1318
1319 * scm.texi (Index): Replaced nodes under Indexes with node Index
1320 when in info mode; fixes indexing in Emacs 21.4.1.
1321
1322 * indexes.texi (Indexes): Give each index its own node when not in
1323 info mode. Moved index stuff here so it doesn't break
1324 texinfo-every-node-update.
1325
1326 2006-09-19 Aubrey Jaffer <[email protected]>
1327
1328 * scm.h (BYTESP): Added.
1329
1330 * byte.c (scm_subbytes_read, scm_subbytes_write): Renamed from
1331 substring.
1332
1333 2006-09-18 Aubrey Jaffer <[email protected]>
1334
1335 * Init5e2.scm (integer-log): Added from SRFI-94.
1336
1337 2006-08-28 Aubrey Jaffer <[email protected]>
1338
1339 * continue.h (FLUSH_REGISTER_WINDOWS): Undid __ia64__ hack.
1340
1341 * sys.c (igc): Call mark_regs_ia64() for __ia64__.
1342
1343 * scl.c: real-atan replaces $atan.
1344
1345 * Transcen.scm (atan): real-atan replaces $atan.
1346
1347 2006-08-27 Aubrey Jaffer <[email protected]>
1348
1349 * Transcen.scm: Aliases defined for `$' prefixes replaced by
1350 `real-'.
1351
1352 * scm.texi (Numeric, Subr Cells): Most Scheme name `$' prefixes
1353 changed to `real-'.
1354
1355 * hobbit.texi (Hobbit Options, SCM Primitive Procedures): Added
1356 `real-' prefixed names.
1357
1358 * hobbit.scm (*float-recognize-ops*, *standard-s->c-fun-table*):
1359 Added `real-' prefixed names.
1360
1361 * scl.c (cxrs): Most Scheme name `$' prefixes changed to `real-'.
1362
1363 * eval.c (scm_apply_cxr): Pulled common code out of ceval_1,
1364 apply, and scm_cvapply which applies tc7_cxr. Now signals error
1365 if function returns 0/0.
1366
1367 * Init5e2.scm (integer-sqrt): Added.
1368
1369 2006-08-23 Aubrey Jaffer <[email protected]>
1370
1371 * continue.h, continue.c: Added conditionals for ia64 port.
1372
1373 * sys.c (igc): Changed second argument to type SCM so it works
1374 with Richard Harke's Linux-ia64 port.
1375
1376 * get-contoffset-ia64.c (main): Don't try to wrap jmpbuf.
1377
1378 * Transcen.scm (ln): Added synonym for log.
1379 (quo, rem, mod): Simplified.
1380
1381 2006-08-16 Aubrey Jaffer <[email protected]>
1382
1383 * unif.c, sys.c, scl.c, rope.c, repl.c: Added support for
1384 tc7_VfixN8 and tc7_VfixZ8.
1385
1386 * scm.h, scm.texi (Data Type Representations): Reassigned.
1387 (tc7_VfixN8, tc7_VfixZ8): Added byte arrays.
1388
1389 * unif.c (aset): VfixN16 use num2ushort.
1390
1391 * ramap.c (array_copy): Corrected cast.
1392
1393 * scm.texi (Data Type Representations): Corrected pattern for
1394 specfun and cclo.
1395
1396 * unif.c, sys.c, scl.c, rope.c, repl.c: Added support for
1397 tc7_VfixN16.
1398
1399 * scm.h, scm.texi (tc7_VfixN16): Added; reordered tc7 assignments.
1400
1401 2006-08-15 Aubrey Jaffer <[email protected]>
1402
1403 * ramap.c, repl.c, rope.c, scl.c, sys.c, unif.c: Added support for
1404 tc7_VfloC32.
1405
1406 * scm.h, scm.texi (tc7_VfloC32): Added; reordered tc7 assignments.
1407
1408 * scm.texi (Header Cells, Data Type Representations): Renamed
1409 uniform vector types similarly to SRFI-63.
1410
1411 * scm.h (tc7_Vbool, tc7_VfixZ16, tc7_VfixN32, tc7_VfixZ32)
1412 (tc7_VfloR32, tc7_VfloR64, tc7_VfloC64): Renamed uniform vector
1413 types similarly to SRFI-63.
1414
1415 * Makefile (dscm4, dscm5): != is string operator in shell.
1416 "mv -f" for previous scm, slibcat, and implcat.
1417
1418 2006-08-11 Aubrey Jaffer <[email protected]>
1419
1420 * Init5e2.scm (provide, slib:load-compiled): Modified to ease
1421 transition from *FEATURES* to SLIB:FEATURES.
1422
1423 * Makefile (dscm4, dscm5): Added randomize_va_space machinations.
1424
1425 2006-08-10 Aubrey Jaffer <[email protected]>
1426
1427 * scm.texi (Saving Images): Explains recent Linux machinations.
1428
1429 * Makefile (dvi, pdf): New tetex-3.0(-20.FC5) broke them -- fixed.
1430
1431 2006-08-09 Aubrey Jaffer <[email protected]>
1432
1433 * Makefile (SETARCH): Workarounds allow dumping in recent Linux.
1434
1435 * time.c (linux): defined CLKTCK to (sysconf(_SC_CLK_TCK)).
1436
1437 2006-07-20 Aubrey Jaffer <[email protected]>
1438
1439 * eval.c (m_body): Removed gratuitous CAUTIOUS conditional.
1440
1441 * build.scm (manifest): Corrected "get-contoffset-ia64.c".
1442
1443 2006-06-26 Aubrey Jaffer <[email protected]>
1444
1445 * build.scm (link-c-program linux-ia64): Create include file and
1446 assemble "continue-ia64.S".
1447
1448 * get-contoffset-ia64.c: Small program to write ia64 assembly
1449 include file "contoffset-ia64.S" with C offsets from Richard
1450 Harke. Modified to take output filename as argument.
1451
1452 2006-06-03 Aubrey Jaffer <[email protected]>
1453
1454 * scm.texi (Debugging Scheme Code): Updated about stack checking.
1455
1456 * build.scm (stack-limit): Removed feature.
1457
1458 * scmfig.h (STACK_LIMIT): Always defined.
1459 (CHECK_STACK): Condition on scm_verbose.
1460
1461 * sys.c (stack_check): Always present.
1462
1463 2006-06-02 Aubrey Jaffer <[email protected]>
1464
1465 * continue.h (FLUSH_REGISTER_WINDOWS): Use to mark multiple stacks
1466 on __ia64__.
1467
1468 * Makefile (sfiles): Added getoffs.c.
1469 (scmflags): CHEAP_CONTIUATIONS for scmlit.
1470
1471 * build.scm (stack-limit): HEAP_SEG_SIZE/2 was too small on FC2;
1472 now HEAP_SEG_SIZE.
1473
1474 2006-05-21 Aubrey Jaffer <[email protected]>
1475
1476 * sys.c (igc): Moved FLUSH_REGISTER_WINDOWS to after setjump().
1477
1478 * repl.c (scm_read_numbered): Don't #ifndef MEMOIZED_LOCALS.
1479
1480 * build.scm (dont-memoize-locals): Added feature.
1481
1482 2006-05-14 Aubrey Jaffer <[email protected]>
1483
1484 * Makefile (docs): Added target to make all documentation files;
1485 then invoke xdvi.
1486
1487 * scm.texi: Converted to use @copying.
1488 (Indexes): Reorganized.
1489
1490 2006-05-13 Aubrey Jaffer <[email protected]>
1491
1492 * r4rstest.scm (5 2 1): Expose Bigloo tprint redefinition bug.
1493
1494 2006-05-07 Richard Harke
1495
1496 * continue-ia64.S: Added.
1497
1498 * continue.c (make_root_continuation, make_continuation)
1499 (dynthrow): #ifndef __ia64__.
1500
1501 2006-05-07 Aubrey Jaffer <[email protected]>
1502
1503 * ugsetjmp.s (_setjump, _longjump): For Ultrix VAX circa 1997.
1504
1505 * Makefile (sfiles): Renamed from vfiles; added continue-ia64.S
1506 and ugsetjump.s.
1507
1508 * subr.c (mkbig, adjbig): Improved overflow message.
1509
1510 2006-04-24 Radey Shouman <[email protected]>
1511
1512 * eval.c (macroexp1): Add #ifdef to switch case handling line numbers
1513 in ceval_1 so that they are safely discarded when MEMOIZE_LOCALS is
1514 not #defined. Perhaps line number generation should be disabled in
1515 that case.
1516
1517 2006-04-19 Aubrey Jaffer <[email protected]>
1518
1519 * Init5e2.scm (boot-tail): Don't load ScmInit.scm if *script*.
1520
1521 2006-03-24 Aubrey Jaffer <[email protected]>
1522
1523 * r4rstest.scm (test-bignum): Convert test bignums from strings.
1524
1525 * Init5e2.scm (string-index, read-line): Defined for
1526 login->home-directory, which may be called before require defined.
1527
1528 * mkimpcat.scm (wbtab, rwb-isam): moved to "Simple associations".
1529 (add-source): Use 'source form and check file's existence.
1530
1531 2006-03-23 Aubrey Jaffer <[email protected]>
1532
1533 * r4rstest.scm (have-bignums?): Check bignum arithmetic works.
1534 (test-inexact): Do complex tests only if non-real numbers are
1535 supported.
1536
1537 2006-03-18 Aubrey Jaffer <[email protected]>
1538
1539 * r4rstest.scm (test-inexact): Added equal? tests.
1540
1541 2006-03-17 Aubrey Jaffer <[email protected]>
1542
1543 * r4rstest.scm (test-inexact): Test for -0.0 lossage.
1544
1545 2006-03-14 Aubrey Jaffer <[email protected]>
1546
1547 * r4rstest.scm (test-inexact): Check that / and magnitude work for
1548 very large and very small complex numbers (1e300; 1e-300);
1549
1550 2006-03-13 Aubrey Jaffer <[email protected]>
1551
1552 * scl.c (scm_magnitude): Extend dynamic range by eliminating
1553 intermediate expression swell.
1554
1555 2006-03-12 Aubrey Jaffer <[email protected]>
1556
1557 * scl.c (divide): Use "Smith's formula" to extend dynamic range;
1558 but makes an insignificant difference when compiled with -O3.
1559
1560 2006-02-19 Aubrey Jaffer <[email protected]>
1561
1562 * scl.c (atanh, acosh, asinh): define if #ifndef HAVE_ATANH.
1563
1564 * scmfig.h (HAVE_ATANH): Decides whether atanh, asinh, and acosh
1565 are supported.
1566
1567 2006-02-16 Radey Shouman <[email protected]>
1568
1569 * scl.c: Changes to allow compilation with MinGW (gnu-win32);
1570 asinh, acosh, and atanh are not yet supported.
1571
1572 2006-02-13 Aubrey Jaffer <jaffer@aubrey>
1573
1574 * patchlvl.h (SCMVERSION): Bumped from 5e1 to 5e2.
1575
1576 2006-02-08 Aubrey Jaffer <[email protected]>
1577
1578 * scl.c (lasinh, lacosh, latanh): Replaced by libc functions.
1579
1580 2006-02-08 Steve VanDevender
1581
1582 * scmfig.h (SHORT_INT, CDR_DOUBLES): For __x86_64 (AMD Opteron).
1583
1584 2006-01-23 Aubrey Jaffer <[email protected]>
1585
1586 * Transcen.scm (exact-round, exact-floor, exact-ceiling)
1587 (exact-truncate): Returned inexacts.
1588
1589 2006-01-14 Aubrey Jaffer <[email protected]>
1590
1591 * Transcen.scm (quo, rem, mod): New names for inexact quotient,
1592 remainder, and modulo.
1593
1594 * scmfig.h (SCM_EXPECT_TRUE, SCM_EXPECT_FALSE): Added.
1595 (POSFIXABLE, NEGFIXABLE, UNEGFIXABLE): SCM_EXPECT_TRUE.
1596
1597 * scm.h: SCM_EXPECT_TRUE and SCM_EXPECT_FALSE replace
1598 __builtin_expect().
1599 (ASRTER, ASRTGO): SCM_EXPECT_FALSE.
1600
1601 * scl.c (sum, difference, divide): Added BIGDIG* cast to &z.
1602
1603 * scmfig.h (__builtin_expect): Added stub for non-gcc compilers.
1604
1605 * scm.h (INUMP, IMP, SINGP): Added __builtin_expect() netting more
1606 than 9% speed improvement in JACAL.
1607
1608 * Makefile (scm5.opt, udscm4.opt): Commented out
1609 -fno-guess-branch-probability flag.
1610
1611 2006-01-09 Aubrey Jaffer <[email protected]>
1612
1613 * Makefile (udscm4.opt, scm5.opt): Condition
1614 -fno-guess-branch-probability on `type gcc'.
1615
1616 2006-01-06 Aubrey Jaffer <[email protected]>
1617
1618 * byte.c, continue.c, crs.c, dynl.c, eval.c, gsubr.c, ioext.c,
1619 posix.c, ramap.c, record.c, repl.c, rope.c, sc2.c, scl.c, scm.c,
1620 scm.h, socket.c, subr.c, sys.c, time.c, unif.c, unix.c, x.c:
1621 Regularized `if' syntax.
1622
1623 * Makefile (scm5.opt, udscm4.opt): -fno-guess-branch-probability
1624 improves benchmark speed 10% on i686.
1625 (hfiles): Moved to top of file so that dependencies work.
1626
1627 2006-01-04 Aubrey Jaffer <[email protected]>
1628
1629 * scl.c (numident): Don't bomb given bignums.
1630
1631 * scm.c (l_pause): __CYGWIN__ now has pause().
1632
1633 * scmfig.h (LACK_FTIME): __CYGWIN__ now has ftime().
1634
1635 * ioext.c: __CYGWIN__ has <unistd.h>.
1636
1637 * build.scm (build:command): Comment to script: [-p <platform>].
1638
1639 2005-12-18 Aubrey Jaffer <[email protected]>
1640
1641 * socket.c (l_lna, l_hostinfo, l_netinfo, l_setnet): Made
1642 conditional on __CYGWIN__.
1643
1644 2005-12-07 Aubrey Jaffer <[email protected]>
1645
1646 * scl.c (makdbl): (+ -1/0 +5i) ==> -1/0; not 0/0.
1647
1648 2005-12-01 Aubrey Jaffer <[email protected]>
1649
1650 * scmmain.c, scm.h, scm.c, rope.c, repl.c: Added const decls.
1651
1652 * scl.c (apx_log10): Removed unused variable.
1653
1654 2005-10-29 Aubrey Jaffer <[email protected]>
1655
1656 * scl.c (scm_magnitude): Renamed from magnitude().
1657 (scm_abs): Added, real-only.
1658
1659 * subr.c (absval): Moved to scl.c.
1660
1661 * hobbit.scm (*c-keywords*): absval --> scm_abs; magnitude -->
1662 scm_magnitude.
1663
1664 * rope.c, scm.c, scm.texi, scmmain.c, script.c, socket.c: Added
1665 const to argv.
1666
1667 * Init5e1.scm (abs): Is no longer synonym for magnitude.
1668
1669 2005-10-28 Aubrey Jaffer <[email protected]>
1670
1671 * Makefile (turfiles): Added turtle-graphics files.
1672
1673 2005-10-27 Thomas Bushnell
1674
1675 * scm.doc, scm.1: Corrected spelling errors.
1676
1677 2005-10-02 Aubrey Jaffer <[email protected]>
1678
1679 * unexelf.c: Imported from emacs-22.0.50 to fix FC4 build.
1680
1681 2005-09-22 Aubrey Jaffer <[email protected]>
1682
1683 * rope.c (num2dbl): Handle 0/0.
1684
1685 2005-08-16 Aubrey Jaffer <[email protected]>
1686
1687 * Transcen.scm (exact-round, exact-floor, exact-ceiling)
1688 (exact-truncate): Renamed from xxx->exact.
1689 (limit): Removed.
1690
1691 * scl.c (inf2str): Changed to "+inf.0" and "-inf.0".
1692 (istr2flo): Parse "+inf.0", "-inf.0", and
1693 COMPACT_INFINITY_NOTATION.
1694
1695 2005-08-07 Aubrey Jaffer <[email protected]>
1696
1697 * Transcen.scm (round->exact, floor->exact, ceiling->exact,
1698 truncate->exact): Added SRFI-70 convenience functions.
1699
1700 * differ.c (diff_mid_split): Unused `m' argument removed.
1701
1702 2005-07-17 Aubrey Jaffer <[email protected]>
1703
1704 * scl.c (safe_add_1): Replaces add1.
1705 (scm_truncate): Renamed from ltrunc.
1706
1707 * scm.h (scm_truncate): Renamed from ltrunc.
1708 (scm_floor, scm_ceiling): Added.
1709
1710 2005-07-02 Aubrey Jaffer <[email protected]>
1711
1712 * Transcen.scm (sequence->limit): Removed use of 1/0 literal.
1713
1714 * scl.c (inf2str): Prefix "1/0" with '+'.
1715 (istr2flo, inf2str): COMPACT_INFINITY_NOTATION flag enables +/0
1716 and -/0 infinity notations.
1717
1718 2005-06-30 Aubrey Jaffer <[email protected]>
1719
1720 * r4rstest.scm (SECTION 6 5 5): Restored 0^0 test.
1721
1722 * Transcen.scm (expt): 0^0 ==> 1.
1723
1724 * scl.c (scm_intexpt): 0^0 ==> 1.
1725
1726 2005-06-25 Aubrey Jaffer <[email protected]>
1727
1728 * scm.spec (slibpath, dumparch): Added.
1729
1730 2005-06-24 Aubrey Jaffer <[email protected]>
1731
1732 * Makefile (DOSCM): Abstracted DOS zip creation.
1733
1734 * Transcen.scm, Init5e1.scm (infinite?, finite?): Added.
1735
1736 * scl.c (makdbl, init_scl): Don't bother with scm_narn for MSC.
1737 (scm_finitep): Removed to Transcen.scm and Init5e1.scm.
1738
1739 * scm.h (scm_narn): Renamed from infi.
1740
1741 2005-06-21 Aubrey Jaffer <jaffer@aubrey>
1742
1743 * patchlvl.h (SCMVERSION): Bumped from 5d9 to 5e1.
1744
1745 2005-06-13 Aubrey Jaffer <[email protected]>
1746
1747 * Transcen.scm (limit): Check and report input errors.
1748
1749 2005-06-12 Aubrey Jaffer <[email protected]>
1750
1751 * Transcen.scm (limit): Added srfi-70 procedure.
1752
1753 2005-05-20 Aubrey Jaffer <[email protected]>
1754
1755 * r4rstest.scm: Removed tests for 0^0 in anticipation of SRFI-70.
1756
1757 * scl.c (scm_complex_p): 0/0 is not complex.
1758
1759 2005-05-18 Aubrey Jaffer <[email protected]>
1760
1761 * Makfile (scm5): Added target for undumpable architectures (FC3).
1762 * Transcen.scm (expt, quotient, remainder, modulo): SRFI-70
1763 extensions.
1764
1765 2005-05-10 Aubrey Jaffer <[email protected]>
1766
1767 * scl.c (inf2str): Renamed from NaN2str().
1768 (makdbl): Returns `infi' for unreal infinities.
1769 (scm_rationalp): Added (infinities not).
1770
1771 * scm.h (infi): Nonreal infinity added to sys_protects.
1772
1773 * scmfig.h (IS_INF): Removed.
1774
1775 * Init5d9.scm (numerator, denominator): Check rational.
1776
1777 2005-04-15 Aubrey Jaffer <[email protected]>
1778
1779 * Init5d9.scm (numerator, denominator): Added.
1780
1781 2005-04-14 Aubrey Jaffer <[email protected]>
1782
1783 * Init5d9.scm (with-load-pathname): Moved from slib/require.scm.
1784
1785 2005-03-18 Aubrey Jaffer <[email protected]>
1786
1787 * Makefile (install): Added db.so.
1788 (uninstall): Beefed up.
1789
1790 2005-01-30 Radey Shouman <[email protected]>
1791
1792 * Init5d9.scm (read:array): Make default rank one, not zero.
1793 (as before).
1794
1795 2005-01-27 Aubrey Jaffer <[email protected]>
1796
1797 * Init5d9.scm (any-bits-set?, first-set-bit, bitwise-merge): Added
1798 remaining SRFI-33 aliases.
1799
1800 2005-01-26 Aubrey Jaffer <[email protected]>
1801
1802 * Init5d9.scm (read-array-type): Handle A:char.
1803
1804 2005-01-19 Radey Shouman <[email protected]>
1805
1806 * script.c (find_impl_file): Find executable path accurately
1807 on MS windows.
1808
1809 * Init5d9.scm (read:array): (read:sharp): (load:sharp): Use read
1810 argument passed to READ:SHARP only for eval, otherwise unexpected
1811 line numbers cause trouble. eg #+(or) in load file.
1812
1813 2005-01-18 Aubrey Jaffer <[email protected]>
1814
1815 * scm.texi (MS-DOS Compatible Scripts): Replaced %0 ... %9 with
1816 %~f0 %*
1817
1818 * xgen.scm, build.bat, inc2scm: Replaced %0 ... %9 with %~f0 %*
1819
1820 2005-01-16 Aubrey Jaffer <[email protected]>
1821
1822 * Init5d9.scm (list->array, vector->array, array->vector): Added.
1823
1824 2005-01-09 Aubrey Jaffer <[email protected]>
1825
1826 * Init5d9.scm: Updated per SRFI-60.
1827
1828 * subr.c (scm_copybitfield): Changed argument order (SRFI-60).
1829
1830 2005-01-08 Aubrey Jaffer <[email protected]>
1831
1832 * Init5d9.scm (arithmetic-shift): Aliases ASH.
1833
1834 * scmhob.scm: Moved LOGICAL: aliases from logical.scm.
1835
1836 2005-01-06 Aubrey Jaffer <[email protected]>
1837
1838 * Init5d9.scm (read:array, read:sharp): Accept whole boatload of
1839 SRFI-58 sytnaxes.
1840
1841 2005-01-01 Aubrey Jaffer <[email protected]>
1842
1843 * unif.c (scm_prot2type): Was not defaulting correctly.
1844
1845 2004-12-26 Aubrey Jaffer <[email protected]>
1846
1847 * unif.c (raprin1): Don't elide 1 from #1A.
1848
1849 2004-11-29 Aubrey Jaffer <[email protected]>
1850
1851 * Makefile (SETARCH): Workaround for unexec on Fedora Linux i386.
1852
1853 2004-11-14 Aubrey Jaffer <[email protected]>
1854
1855 * r4rstest.scm (test-numeric-predicates): Raised exponent so
1856 intransitive 128-bit-float implementations are caught.
1857
1858 2004-10-13 Aubrey Jaffer <[email protected]>
1859
1860 * byte.c (scm_write_byte): Was hosed for even number of bytes.
1861
1862 * scl.c (scm_intexpt): EXPT of zero behaves like Common-Lisp.
1863
1864 * r4rstest.scm (SECTION 6 5 5): Removed tests for (EXPT 0 -255)
1865 so Common-Lisp compatible EXPT won't bomb.
1866 Test EXPT inexactness contagion of zero cases.
1867
1868 * Transcen.scm (expt): Changed so (expt 0 -5) signals error.
1869 EXPT of zero returns zero or one matching input exactness.
1870
1871 2004-10-10 Aubrey Jaffer <[email protected]>
1872
1873 * r4rstest.scm (SECTION 6 5 5): Added exact tests for EXPT.
1874 Inexact EXPT corner cases should return inexacts.
1875
1876 * scl.c (scm_intexpt): Bombed given (integer-expt 0 25).
1877
1878 2004-09-23 Aubrey Jaffer <[email protected]>
1879
1880 * Init5d9.scm (inexact->exact, exact->inexact): Identity when
1881 exacts-only.
1882
1883 2004-09-15 Aubrey Jaffer <[email protected]>
1884
1885 * ramap.c (array:copy!): Renamed from array-copy!.
1886 (array_copy): Arguments reversed.
1887
1888 2004-09-12 Aubrey Jaffer <[email protected]>
1889
1890 * scm.texi (SCMDB): Added section with link.
1891 (Hobbit): Moved notinfo stuff after Xlib so it appears same place
1892 in all products.
1893
1894 2004-09-09 Wim Lewis
1895
1896 * Makefile (scmflags): Use "cmp -s" instead of "diff".
1897 (x.h): Use -x $CPROTO to test for cproto's existence.
1898
1899 2004-09-04 Aubrey Jaffer <[email protected]>
1900
1901 * build.scm (dlll gnu-win32): Changed flag to "-DSCM_WIN_DLL".
1902 (dlll microsoft-c-nt): Changed flag to "-DSCM_WIN_DLL".
1903
1904 * scm.h (SCM_WIN_DLL): renamed from SCM_DLL and DLLSCM.
1905 Unatabified.
1906
1907 * ramap.c (init_ramap): Its tc7_subr_2 not tc7_subr2!
1908
1909 2004-08-11 Aubrey Jaffer <[email protected]>
1910
1911 * byte.c (scm_substring_read): Fixed off-by-one reading backwards.
1912
1913 2004-07-29 Aubrey Jaffer <[email protected]>
1914
1915 * Makefile (db.so, rwb-isam.scm, wbtab.scm): Added.
1916
1917 2004-07-28 Aubrey Jaffer <[email protected]>
1918
1919 * build.scm (wb): Added for source in ../wb/.
1920 (build:command): Assume c-files are relative to cd; don't prefix
1921 c-files with scm-srcdir.
1922 (compile-dll-c-files): Many were missing include-spec "-I" call.
1923
1924 * mkimpcat.scm: Support WB compiled in implementation-vicinity.
1925
1926 2002-07-07 Radey Shouman <[email protected]>
1927
1928 * scm.texi (Debugging Continuations): Added documenting
1929 frame-trace, frame->environment, scope-trace, frame-eval.
1930
1931 2004-06-14 Aubrey Jaffer <[email protected]>
1932
1933 * Init5d9.scm (slib:eval-load): Define moved to "slib/require.scm"
1934
1935 2004-06-13 Aubrey Jaffer <[email protected]>
1936
1937 * repl.c (err_head): Fixed "loaded from" messages and formatting.
1938
1939 * Init5d9.scm (slib:eval-load): Converted to use (SLIB)
1940 with-load-pathname.
1941
1942 * Link.scm (link:link): Converted to use with-load-pathname.
1943
1944 2004-05-28 Aubrey Jaffer <[email protected]>
1945
1946 * Makefile: (SHOBJS): Abstracted *.sl and *.so.
1947
1948 2004-05-27 Aubrey Jaffer <[email protected]>
1949
1950 * repl.c (iprin1): Slashify uppercase chars in symbols.
1951
1952 2004-04-17 Aubrey Jaffer <[email protected]>
1953
1954 * differ.c, Idiffer.scm: Linear-space O(PN) sequence comparison.
1955
1956 * scm.spec (differ.so, Idiffer.scm): Added to %files.
1957
1958 * Makefile (differ.so): Added target.
1959
1960 * scm.texi (Sequence Comparison): Added.
1961
1962 2004-03-27 Aubrey Jaffer <[email protected]>
1963
1964 * ramap.c (rafe): Removed unused variables inc and base.
1965
1966 2004-03-26 Radey Shouman <[email protected]>
1967
1968 * eval.c (toplevel_define) (scm_arity_check) (ceval_1)
1969 (scm_cvapply) (apply): Pass multiple arguments to captured
1970 continuations, eg:
1971 (call-with-values (lambda () (call/cc (lambda (k) 1 2))) list)
1972 Better error checking for multiple-value returns in repl.
1973
1974 * sys.c (scm_dynthrow): Allow passing multiple arguments
1975 to a continuation captured in the producer argument of
1976 call-with-values.
1977
1978 2004-03-08 Aubrey Jaffer <[email protected]>
1979
1980 * Makefile (mydlls): Call BUILD separately for each dll.
1981
1982 2004-03-07 Aubrey Jaffer <[email protected]>
1983
1984 * mkimpcat.scm: Added 'DIFF.
1985
1986 * build.scm (compile-dll-c-files): For those platforms supporting
1987 shared object files, generate just one combining all FILES.
1988
1989 2004-02-24 Radey Shouman <[email protected]>
1990
1991 * subr.c (scm_logbitp): Fixed bug in range check for fixnum
1992 case. Eg (logbit? 10 #xffff) now correctly returns #t.
1993
1994 2004-02-19 Aubrey Jaffer <[email protected]>
1995
1996 * Init5d9.scm (read:array): Ignore third argument; line-numbers
1997 were hosing array reading.
1998
1999 2004-02-08 Aubrey Jaffer <[email protected]>
2000
2001 * repl.c (handle_it): Added comments. Call scm_fill_freelist() if
2002 interrupt lacks handler.
2003
2004 2004-02-02 Aubrey Jaffer <[email protected]>
2005
2006 * repl.c (scm_top_level): Default value of toplvl_fun just once.
2007
2008 2004-01-30 Aubrey Jaffer <[email protected]>
2009
2010 * build.scm (compile-dll-c-files): Fixed -I for netbsd, openbsd.
2011 (compile-dll-c-files): Added -I for svr4-gcc-sun-ld.
2012 (file-categories): Renamed CORE from REQUIRED.
2013
2014 2004-01-20 Aubrey Jaffer <[email protected]>
2015
2016 * repl.c (read_token, iprin1, lreadr): Handle slashified symbols.
2017
2018 2004-01-19 Radey Shouman <[email protected]>
2019
2020 * eval.c (macroexp1): Catch more syntax errors: ('f . f)
2021
2022 2004-01-17 Aubrey Jaffer <[email protected]>
2023
2024 * scm.texi (SIOD copyright): Put in subsection.
2025 (The SCM License): Parallel Guile License text.
2026
2027 2004-01-16 Aubrey Jaffer <[email protected]>
2028
2029 * scm.texi (Automatic C Preprocessor Definitions): Added "sun".
2030
2031 * unif.c, sys.c: Sun cc doesn't like fwrite declaration.
2032
2033 2004-01-14 Aubrey Jaffer <[email protected]>
2034
2035 * Makefile (srcdir.mk): Include after target.
2036 Separated shell assignments and exports.
2037
2038 2004-01-07 Aubrey Jaffer <[email protected]>
2039
2040 * r4rstest.scm: Added URLs.
2041
2042 2004-01-07 Radey Shouman <[email protected]>
2043
2044 * eval.c (m_case) (definedp): Avoid segfault in cases of syntax
2045 error.
2046
2047 2003-12-03 Aubrey Jaffer <[email protected]>
2048
2049 * eval.c (definedp): Added third (dummy) argument.
2050
2051 2003-11-30 Aubrey Jaffer <[email protected]>
2052
2053 * patchlvl.h (SCMVERSION): Bumped from 5d8 to 5d9.
2054
2055 2003-11-13 Aubrey Jaffer <[email protected]>
2056
2057 * scm.texi (Embedding SCM): Updated libtest example for
2058 init_user_scm indirection (which Radey added 2003-01-24).
2059
2060 2003-11-08 Aubrey Jaffer <[email protected]>
2061
2062 * scm.texi (MS-DOS Compatible Scripts): Added sharpbang URL.
2063
2064 2003-11-05 Aubrey Jaffer <[email protected]>
2065
2066 * ramap.c (array-map): Added.
2067
2068 2003-10-30 Aubrey Jaffer <[email protected]>
2069
2070 * r4rstest.scm (inexact->exact): Added tests.
2071 (exact->inexact): check for both exact and inexact argument.
2072
2073 2003-10-25 Aubrey Jaffer <[email protected]>
2074
2075 * build.scm (build): processor-family now symbol; i8086 <- 8086.
2076
2077 * mkimpcat.scm: Added rwb-isam feature.
2078
2079 2003-10-23 Aubrey Jaffer <[email protected]>
2080
2081 * Makefile (dfiles): Added version.txi platform.txi features.txi.
2082
2083 2003-10-18 Aubrey Jaffer <[email protected]>
2084
2085 * build.scm (manifest): Added "byte.c".
2086
2087 * byte.c: Added. Improves RANDOM speed by 32%.
2088
2089 2003-10-15 <[email protected]>
2090
2091 * scm.texi (Build Options): Described *.opt option files.
2092
2093 * Makefile (CFLAGS): Removed "-g".
2094
2095 * bench.scm (benchmark-prng): Limit to 1000 samples if no bignums.
2096
2097 * Makefile (pg.opt, gdb.opt, dlls.opt): Added. Cleanup options.
2098
2099 2003-10-08 Aubrey Jaffer <[email protected]>
2100
2101 * build.scm (compile-c-files): Removed "-O" and "-Wall" options;
2102 use --compiler-options= instead.
2103
2104 * subr.c (scm_logbitp, scm_ash): Prevent wraparound (1>>32==1).
2105
2106 2003-09-25 Sam Hocevar
2107
2108 * r4rstest.scm (test-inexact): SECTION 6.2 checks that
2109 (not (eqv? 1 1.0)).
2110
2111 2003-09-23 Aubrey Jaffer <[email protected]>
2112
2113 * bench.scm (prng): Calls to random:random --> random.
2114
2115 2003-09-22 Aubrey Jaffer <[email protected]>
2116
2117 * scmfig.h (CDR_DOUBLES, SHORT_INT): Added __ia64 #defines.
2118
2119 * scm.texi (Automatic C Preprocessor Definitions): Added IA64.
2120
2121 2003-09-21 Aubrey Jaffer <[email protected]>
2122
2123 * ioext.c, posix.c (system->line): Defined.
2124
2125 2003-09-10 Aubrey Jaffer <[email protected]>
2126
2127 * Makefile (continue.o): Was missing scmfig.h and scm.h
2128 dependencies.
2129
2130 2003-08-26 Aubrey Jaffer <[email protected]>
2131
2132 * build.scm: Use open-table! and open-table.
2133
2134 * build (print-manifest, make-features-txi): Use open-table.
2135
2136 2003-08-23 Aubrey Jaffer <[email protected]>
2137
2138 * r4rstest.scm (6 5 5): Added some kawa chokers: #i, #e.
2139 Added more kawa STRING->NUMBER bait.
2140
2141 2003-08-17 Aubrey Jaffer <[email protected]>
2142
2143 * scm.texi (Line Numbers): Added read-for-load.
2144 (Load Syntax): Distinguished from Read syntax; documented #?line,
2145 #?column, and #?file.
2146 (Data Type Representations): Updated port formats.
2147
2148 * Init5d8.scm (slib:eval-load): Use *load-reader*.
2149
2150 * repl.c (scm_read_for_load): Added.
2151 (p_read_numbered, p_read_for_load, p_read): Added locatives.
2152 (lreadr): Pass appropriate read routine to load:sharp; read:sharp.
2153 (flgs): Renamed from nump to reduce interference with INUMP, etc.
2154
2155 2003-08-16 Aubrey Jaffer <[email protected]>
2156
2157 * Init5d8.scm (load:sharp, read:sharp): Split read:sharp.
2158 (load:sharp, read:sharp, char:sharp, read:array): Added READ arg.
2159 (char:sharp): Renamed from read:sharp-char.
2160 (read:sharp): Integrated #; into.
2161
2162 * repl.c (scm_read): Renamed from lread().
2163 (loc_charsharp): Renamed from loc_readsharpc.
2164 (loc_loadsharp): Added to separate LOAD-macros from READ-macros.
2165 (f_read_numbered): Removed unused variable.
2166 (repl, tryload, scm_load_string): Use scm_read_numbered().
2167 (lreadpr): Dispatch to loc_readsharp or loc_loadsharp depending on
2168 nump.
2169
2170 2003-08-15 Aubrey Jaffer <[email protected]>
2171
2172 * scl.c (floequal): Fixed so 0/0==0/0.
2173 (eqv, eqp): Use floequal.
2174
2175 2003-08-14 Aubrey Jaffer <[email protected]>
2176
2177 * eval.c (init_eval): add_feature("primitive-hygiene").
2178
2179 * mkimpcat.scm (primitive-hygiene): Use feature to conditionalize
2180 macro association.
2181
2182 2003-08-13 Aubrey Jaffer <[email protected]>
2183
2184 * scl.c (eqp): Fixed so (let ((nan 0/0)) (= nan nan)) ==> #t.
2185 (in2ex): Infinite loop on (inexact->exact 0/0) change to err.
2186
2187 2003-07-22 Aubrey Jaffer <[email protected]>
2188
2189 * Makefile (uninstallinfo): Created.
2190 (uninstall): Remove libscmdir files.
2191
2192 2003-07-22 Andy Gaynor <[email protected]>
2193
2194 * Makefile (Xlibscm.info, hobbit.info): Fixed / separators.
2195
2196 * unif.c (make_sh_array): Bracket with ifndef RECKLESS.
2197
2198 2003-07-16 Aubrey Jaffer <[email protected]>
2199
2200 * Makefile (release): Make pdf(s).
2201
2202 2003-07-11 Radey Shouman <[email protected]>
2203
2204 * eval.c (m_case): Check on clauses for CASE was
2205 confused by line-number annotations.
2206
2207 2003-07-10 Aubrey Jaffer <[email protected]>
2208
2209 * hobbit.texi (SLIB Logical Procedures): Removed "logical:"
2210 aliases.
2211
2212 * compile.scm, hobbit.scm: Added REQUIRE-IFs.
2213
2214 * build, build.scm: Moved requires to top.
2215
2216 2003-07-02 Aubrey Jaffer <[email protected]>
2217
2218 * Init5d8.scm (make-array): Alias of create-array.
2219 (read:sharp): Feature evaluation now slib:provided?
2220
2221 2003-06-29 Aubrey Jaffer <[email protected]>
2222
2223 * r4rstest.scm (test-string->number): Implementations which don't
2224 allow division by 0 can have fragile string->number.
2225
2226 2003-06-24 Aubrey Jaffer <[email protected]>
2227
2228 * scl.c (iflo2str): Use negated conditional to handle 0/0.
2229 (NaN2str): Removed "#i" prefix.
2230
2231 2003-06-22 Aubrey Jaffer <[email protected]>
2232
2233 * patchlvl.h (SCMVERSION): Bumped from 5d7 to 5d8.
2234
2235 * hobbit.texi (Macro-Expansion and Analysis): Put @code{} around
2236 some confusing words (or or and).
2237
2238 2003-06-20 Aubrey Jaffer <[email protected]>
2239
2240 * scm.texi (Array Mapping): Moved after uniform arrays.
2241
2242 * Init5d7.scm (make-array): Removed legacy procedure.
2243
2244 * x.c (x_free_color_cells, x_screen_size): Corrected prot numbers.
2245
2246 * eval.c (scm_profile): Corrected prot numbers.
2247
2248 * record.c (MAKE_REC_INDS): Corrected prot number.
2249
2250 * ramap.c (ramapc, array_imap): Corrected prot codes.
2251 (array-fill!) Removed.
2252
2253 * unif.c (uniform-vector-fill!): Removed.
2254
2255 2003-06-18 Aubrey Jaffer <[email protected]>
2256
2257 * Macro.scm (@pprint, @print): display --> write.
2258
2259 2003-06-17 Aubrey Jaffer <[email protected]>
2260
2261 * scl.c (istr2flo): 1/0, -1/0, 0/0 are inexact infinities.
2262 (idbl2str): Infinities represented by #i+1/0, #i-1/0, #i0/0.
2263
2264 * x11.scm: Lots of symbol ID-codes changed in XFree86-4.2.0.
2265
2266 * keysymdef.scm: Lots of new symbols in XFree86-4.2.0.
2267
2268 2003-04-04 Radey Shouman <[email protected]>
2269
2270 * sys.c (prinport): print column and line numbers if available.
2271
2272 2003-03-12 Radey Shouman <[email protected]>
2273
2274 * Init5d7.scm (read:sharp-char): Add #\x<hex-number>
2275 #\o<octal-number>, #\d<decimal-number> character read syntax.
2276
2277 * repl.c (lreadr): Remove #\<octal-number> syntax,
2278 moved to read:sharp-char.
2279
2280 2003-03-12 Radey Shouman <[email protected]>
2281
2282 * rope.c (init_rope): Replace static initializer for scm_protidx
2283 with initialization in init_rope so that RESTART works.
2284
2285 * sys.c (init_storage):
2286 * eval.c (init_eval): Replace static initializers so that
2287 RESTART works.
2288
2289 2003-03-11 Radey Shouman <[email protected]>
2290
2291 * sys.c (close_port): Return value from port close function so
2292 we can get the exit status of pipes at close time.
2293 (free_storage): Re-initialize some values for RESTART.
2294
2295 2003-03-06 Aubrey Jaffer <[email protected]>
2296
2297 * eval.c (for_each): Fixed arity_check message.
2298
2299 2003-02-22 Aubrey Jaffer <[email protected]>
2300
2301 * build.scm (compile-dll-c-files, make-dll-archive, make-archive):
2302 Added for gnu-win32.
2303
2304 2003-02-21 Aubrey Jaffer <[email protected]>
2305
2306 * build.scm (make-archive, make-dll-archive, compile-dll-c-files):
2307 Added for microsoft-c-nt.
2308
2309 2003-01-29 Radey Shouman <[email protected]>
2310
2311 * repl.c (final_repl): Make sure to reinitialize closure print
2312 information strings when restarting -- this caused segfaults under
2313 windows.
2314
2315 2003-01-27 Aubrey Jaffer <[email protected]>
2316
2317 * eval.c, sys.c (s_redefining): Definition moved to "sys.c" from
2318 "eval.c".
2319
2320 2003-01-24 Radey Shouman <[email protected]>
2321
2322 * dynl.c (prinshl, scm_dyn_link, scm_dyn_unlink, scm_dyn_call,
2323 scm_dyn_main_call, init_dynl):
2324 * scm.c (scm_init_extensions):
2325 * scm.h (SCM_EXPORT):
2326 * scmmain.c (main):
2327
2328 Changes to allow dynamic linking under MS win32.c
2329
2330 2003-01-11 Aubrey Jaffer <[email protected]>
2331
2332 * eval.c (ceval_1): Added workaround for GCC-2.3.1 on SPARC bug
2333 reported by Steve VanDevender.
2334
2335 2003-01-07 Aubrey Jaffer <[email protected]>
2336
2337 * bench.scm (benchmark-prng): Increased time threshold.
2338
2339 * eval.c (ceval_1): arg1 now #defined to (struct) t.arg_1.
2340 Consistently nets 3% on pi benchmark.
2341
2342 * bench.scm (benchmark-pi): Moved threshold; 450.MHz Pentium II
2343 was on edge.
2344
2345 2003-01-05 Aubrey Jaffer <[email protected]>
2346
2347 * eval.c (ceval_1): "SCM arg1" replaces unused "union {} t".
2348
2349 2003-01-02 Aubrey Jaffer <[email protected]>
2350
2351 * hobbit.texi (Index): Added.
2352 (Compiling And Linking): Documented option-files.
2353
2354 * compile.scm (compile-file, compile->executable): Use
2355 option-files named for the first argument with ".opt" appended.
2356
2357 * build.scm (options-file): Made nary parameter.
2358 (build:build): Report option-files used.
2359
2360 * build (build-from-argv): Don't splice out "-f <options-file>".
2361
2362 2003-01-02 Steve VanDevender <[email protected]>
2363
2364 * build.scm (compile-c-files, compile-dll-c-files)
2365 (make-dll-archive): Added for OSF1 (was ALPHA).
2366
2367 * socket.c (inet:make-address): Removed duplicate definition.
2368
2369 2002-12-30 Aubrey Jaffer <[email protected]>
2370
2371 * scm.h: Removed unused prototypes.
2372
2373 * scl.c (difference, divide):
2374 * sys.c (init_storage, egc_copy_stack):
2375 * unif.c (dims2ura, bit_position):
2376 * repl.c (everr): Added {} to squelch gcc -Wall.
2377
2378 * ramap.c (sc2array): Moved prototype from "scm.h".
2379
2380 2002-12-29 Aubrey Jaffer <[email protected]>
2381
2382 * Init5d7.scm (logical:ones): Return 0 for 0 argument.
2383 (gray-code->integer): Improved running time from O(b^2) to
2384 O(b*log(b)).
2385
2386 2002-12-19 Aubrey Jaffer <[email protected]>
2387
2388 * scm.texi (SCM Options): Clarified descriptions of -, --, and -s.
2389
2390 2002-12-19 Radey Shouman <[email protected]>
2391
2392 * Init5d7.scm (error): Terminate in breakpointing error function
2393 even if REQUIRE fails (and calls ERROR).
2394
2395 2002-12-18 Radey Shouman <[email protected]>
2396
2397 * ioext.c (l_opendir, l_readdir, l_closedir, l_rewinddir):
2398 Added for win32 (tested on XP).
2399
2400 2002-12-11 Aubrey Jaffer <[email protected]>
2401
2402 * Makefile (scmlit): #define CAUTIOUS.
2403
2404 * sys.c (make_subr): Reuse repeated names.
2405
2406 * eval.c (checked_define): Share warning strings.
2407
2408 * time.c (your_time): Shortened long warning message.
2409
2410 * rope.c (scm_gc_protect): Check if argument is already protected.
2411
2412 * scm.texi (Changing Scm): Added scm_protect_temp() and
2413 scm_gc_protect().
2414 (Type Conversions): Added num2short(), num2dbl(), and
2415 scm_base_addr().
2416
2417 2002-12-09 Aubrey Jaffer <[email protected]>
2418
2419 * build.scm (array-for-each, record, generalized-c-arguments)
2420 (curses, regex, socket, posix, unix): Changed to compiled-inits.
2421
2422 * Makefile (udscm4.opt, udscm5.opt, libscm.opt): Added.
2423 (udscm4, udscm5, libscm.a): Take feature options from .opt file.
2424 The *.opt files are never overwritten.
2425
2426 * posix.c (scm_getlogin): Removed.
2427
2428 * scm.texi (SCM Session): getlogin moved from Posix Extensions.
2429
2430 * Init5d7.scm (getlogin): Posix getlogin is useless; always define
2431 getlogin using getenv.
2432
2433 2002-12-08 Aubrey Jaffer <[email protected]>
2434
2435 * build (build-from-argv): Fluid-let getopt-- to splice in options
2436 from -f <filename>.
2437
2438 * build.scm (build): Added -f <filename> option.
2439
2440 * Makefile (bench): Run both pi and prng benchmarks.
2441
2442 * bench.scm (time-call): Abstracted timing procedure.
2443 (benchmark-prng): Added.
2444
2445 2002-12-02 Aubrey Jaffer <[email protected]>
2446
2447 * Init5d7.scm:
2448 * build (build-from-argv): Global variable *argv* replaces argc,
2449 argv arguments.
2450 (build-from-whole-argv, bi): Straightened.
2451
2452 2002-11-26 Aubrey Jaffer <[email protected]>
2453
2454 * patchlvl.h (SCMVERSION): Bumped from 5d6 to 5d7.
2455
2456 2002-11-26 Aubrey Jaffer <[email protected]>
2457
2458 * Init5d6.scm (error, warn): Simplified.
2459
2460 2002-11-25 Aubrey Jaffer <[email protected]>
2461
2462 * scm.c (init_buf0): ifndef scoping didn't match "{}"s.
2463
2464 * x.c, unix.c, unif.c, sys.c, subr.c, socket.c, scm.texi, scm.h,
2465 scm.c, scl.c, sc2.c, rope.c, rgx.c, repl.c, record.c, ramap.c,
2466 posix.c, ioext.c, gsubr.c, eval.c, edline.c, dynl.c, debug.c,
2467 crs.c (ASRTER): Renamed from ASSERT; conflict with "windows.h".
2468
2469 * scm.texi (Compiling and Linking Custom Files): ./build.
2470
2471 2002-11-25 dai <[email protected]>
2472
2473 * build.scm (compile-c-files freebsd, compile-dll-c-files
2474 freebsd): Fixed for FreeBSD.
2475
2476 * build: Added -no-init-file to first line.
2477
2478 2002-11-20 Aubrey Jaffer <[email protected]>
2479
2480 * Init5d6.scm (browse-url): Added.
2481
2482 2002-11-17 Aubrey Jaffer <[email protected]>
2483
2484 * scm.texi (I/O-Extensions): directory feature renamed from
2485 directory-for-each.
2486
2487 * ioext.c (current-directory, make-directory): Added.
2488
2489 2002-11-15 Radey Shouman <[email protected]>
2490
2491 * sys.c (scm_dynthrow): Fix bug in throwing to continuation
2492 when environment stack segment needed to grow.
2493 (scm_estk_shrink): Make sure the entire chain of non-writable
2494 environment stack segments is appropriately marked.
2495 Thanks to <[email protected]> for calling attention to the problem.
2496
2497 2002-11-11 Aubrey Jaffer <[email protected]>
2498
2499 * Init5d6.scm (logical:rotate): Added.
2500
2501 2002-10-30 Radey Shouman <[email protected]>
2502
2503 * eval.c (m_body): Fixed error reporting -- was segfaulting.
2504
2505 2002-10-24 Aubrey Jaffer <[email protected]>
2506
2507 * unif.c (make_sh_array): scm_arity_check(mapfunc).
2508
2509 2002-08-20 Radey Shouman <[email protected]>
2510
2511 * eval.c (m_do): Splicing BEGIN in the test of a DO removed because
2512 it is buggy. Thanks for bug report from Daniel Skarda <[email protected]>.
2513
2514 2002-07-14 Rainer Urian <[email protected]>
2515
2516 * sys.c: include <io.h> ifdef POCKETCONSOLE.
2517
2518 * scmmain.c (scm_find_implpath): Don't scm_try_path ifdef
2519 POCKETCONSOLE.
2520
2521 * scmfig.h (NOSETBUF): Set ifdef POCKETCONSOLE.
2522
2523 * scm.texi (Automatic C Preprocessor Definitions): Added
2524 _WIN32_WCE, _M_ARM, _M_ARMT.
2525
2526 * scm.h (CODE):
2527 * eval.c (I_SYM, I_VAL):
2528 * repl.c (iprin1): Workaround Microsoft CLARM compiler bug.
2529
2530 2002-06-07 Rainer Urian <[email protected]>
2531
2532 * scm.c (scmable_signal):
2533 * repl.c (wait_for_input):
2534 * scmmain.c (main):
2535 * scmfig.h:
2536 Fixed console break handling for win32 systems, tested using
2537 Microsoft visual C and the MinGW gcc port.
2538
2539 2002-06-02 Aubrey Jaffer <[email protected]>
2540
2541 * scm.texi (Syntax): Added example of SLIB/repl use.
2542 (The Language): Reorganization of most sections.
2543
2544 * hobbit.texi: Fixed stale email address.
2545
2546 2002-06-01 Aubrey Jaffer <[email protected]>
2547
2548 * scm.texi (Unix Scheme Scripts, Unix Shell Scripts): Updated
2549 script mechanics.
2550 (Files and Ports): Moved port-filename, port-line, and port-column
2551 from "Miscellaneous Procedures".
2552
2553 2002-05-26 Aubrey Jaffer <[email protected]>
2554
2555 * inc2scm (inc2scm): Replaces go-script; takes args.
2556
2557 * xgen.scm (xgen.scm): Replaces go-script; takes args.
2558
2559 * compile.scm (compile.scm): Replaces go-script; takes args.
2560
2561 2002-05-25 David S. <[email protected]>
2562
2563 * scmmain.c, scm.c, time.c, repl.c, ioext.c, sys.c, crs.c,
2564 posix.c, socket.c, unix.c, findexec.c: __NetBSD__ support.
2565
2566 * scm.texi (Automatic C Preprocessor Definitions): Add __NetBSD__
2567
2568 2002-05-21 Radey Shouman <[email protected]>
2569
2570 * unif.c (shap2ra): Check that upper bound is >= lower bound.
2571
2572 2002-05-18 Radey Shouman <[email protected]>
2573
2574 * unif.c (dim2ura): Fix unsigned vs signed comparison problem that
2575 caused negative sizes to be passed to make_uve.
2576
2577 2002-04-26 Aubrey Jaffer <[email protected]>
2578
2579 * scm.texi (SLIB): Load of "require" unneeded.
2580
2581 * requires.scm (library-vicinity): Removed call of LOAD.
2582
2583 * Init5d6.scm (set-vicinities!): Fluid-let of LOAD unneeded.
2584 (program-vicinity, pathname->vicinity): Removed to slib.
2585
2586 2002-04-24 Aubrey Jaffer <[email protected]>
2587
2588 * scm.texi (Unix Extensions, Posix Extensions): Added @cindexs.
2589
2590 * scl.c (dbl_mant_dig): Always use variable dbl_mant_dig when
2591 ifdef FLOATS.
2592
2593 2002-04-23 Aubrey Jaffer <[email protected]>
2594
2595 * script.c (dld_find_executable): Eliminated unused #defines.
2596
2597 2002-04-18 Aubrey Jaffer <[email protected]>
2598
2599 * Makefile, scm.spec (install): Added patchlvl.h.
2600
2601 2002-04-14 Aubrey Jaffer <[email protected]>
2602
2603 * patchlvl.h (SCMVERSION): Bumped from 5d5 to 5d6.
2604
2605 * build.scm (platform->os): Added.
2606
2607 2002-04-11 Aubrey Jaffer <[email protected]>
2608
2609 * scm.texi (Invoking Build): Updated script examples. Changed vms
2610 example to darwin.
2611
2612 * Makefile (CITERS): Added hobbit.scm.
2613 (CC): Commented out "CC = gcc".
2614
2615 2002-04-11 Tanel Tammet <[email protected]>
2616
2617 * hobbit.scm (verbose): compilation corrected.
2618 (require): moved from top level to hobbit procedure.
2619 (copy-tree, acons, system): compilation introduced.
2620
2621 2002-04-08 Aubrey Jaffer <[email protected]>
2622
2623 * compile.scm (compile->executable): Removed gratuitous "-cscm.c".
2624
2625 * scm.c (SYSTNAME): __MACH__ was causing conflicting #define.
2626 __MACH__ is "unix".
2627
2628 2002-04-07 Aubrey Jaffer <[email protected]>
2629
2630 * scl.c (subr1s, subr2s): Corrected conditioning for
2631 scm_make_dfloat, scm_next_dfloat, and scm_dfloat_parts.
2632
2633 * scm.c (LACK_RAISE): Cleaned up conditional tree for l_raise.
2634
2635 * repl.c (kbhit): #define to 0 for PLAN9.
2636
2637 * sys.c: PLAN9 needed fwrite() prototype.
2638 (mark_finalizers): Was wrongly conditioned on !NO_SYM_GC.
2639
2640 * mkimpcat.scm (build): Changed to load "build" (sans ".scm").
2641
2642 * hobbit.texi (Compiling And Linking): Added examples for
2643 compile-file and compile->executable.
2644
2645 * compile.scm (compile->executable): Replaces link-named-scm.
2646
2647 2002-04-05 <[email protected]>
2648
2649 * scmfig.h (STDC_HEADERS): Corrected PLAN9 typo.
2650 (sizet): Corrected for PLAN9.
2651
2652 2002-04-03 Aubrey Jaffer <[email protected]>
2653
2654 * sys.c, time.c, continue.h, findexec.c, repl.c, scmfig.h, scm.h:
2655 Ported to PLAN9.
2656
2657 * build.scm (plan9-8): Added port for Intel running PLAN9.
2658 Comments desribe PLAN9 native C compiler `8c' options.
2659
2660 2002-04-03 George Bronnikov <[email protected]>
2661
2662 * scm.c (raise, system, isatty): Added for PLAN9 port.
2663
2664 2002-03-30 Aubrey Jaffer <[email protected]>
2665
2666 * Init5d5.scm (vicinity:suffix?, set-vicinities!): Added PLAN9.
2667 Cleaned archaic conditional defines.
2668 (set-vicinities!): Moved to just before load of require.scm.
2669
2670 * requires.scm (PLAN9): Added support.
2671
2672 2002-03-28 Aubrey Jaffer <[email protected]>
2673
2674 * hobbit.texi: Changed most inline code snippets to @example.
2675
2676 2002-03-28 Martin Lafaix <[email protected]>
2677
2678 * scm.c (l_raise, l_sleep):
2679 * script.c (dld_find_executable):
2680 * scmmain.c, scmfig.h: Ported to OS/2, IBM VisualAge C++ v3.
2681
2682 2002-03-22 <[email protected]>
2683
2684 * build.scm (C-libraries): Fixed dlll svr4-gcc-sun-ld.
2685
2686 2002-03-21 Aubrey Jaffer <[email protected]>
2687
2688 * hobbit.scm (every1): Renamed from EVERY. Hobbit self-compile
2689 chokes on multi-arg EVERY, complaining of non-liftable lambdaterm.
2690
2691 2002-03-19 Aubrey Jaffer <[email protected]>
2692
2693 * build.scm (make-dll-archive gcc): Was mistakenly labeled sunos.
2694
2695 2002-03-10 Aubrey Jaffer <[email protected]>
2696
2697 * Makefile (hobbit.texi): Moved from hobfiles to dfiles.
2698
2699 * scm.spec (%files, %post): Added hobbit.
2700
2701 * hobbit.texi: Reorganization to chapter/section structure.
2702 (Benchmarks): Shuffled so source not broken over dvi and pdf page
2703 boundaries.
2704
2705 * Makefile (Xlibscm.pdf, hobbit.pdf): Targets added.
2706
2707 2002-03-05 Aubrey Jaffer <[email protected]>
2708
2709 * scl.c (istr2int, in2ex): Conditioned HP700 workaround on hpux.
2710
2711 * r4rstest.scm (SECTION 6 5 9): Added 32-bit corner cases.
2712
2713 * hobbit.texi (Compiling And Linking): Moved from "scm.texi".
2714
2715 2002-03-04 Radey Shouman <[email protected]>
2716
2717 * scl.c (ist2int): Fix integer overflow bug for fixnum-only case.
2718 eg: (string->number "80000000" 16) ==> 0
2719
2720 2002-03-03 Aubrey Jaffer <[email protected]>
2721
2722 * hobbit.texi: Converted to texinfo from plaintext hobbit.doc.
2723
2724 * unif.c (bit_position): Renamed from position.
2725
2726 * eval.c (scm_cp_list): Renamed from copy_list to avoid hobbit
2727 conflict.
2728
2729 * Link.scm (file->init_name): Added to map "-" ==> "_".
2730
2731 * hobbit.scm (scm-gc-protect): Wraps replace protect-constant.
2732 (*c-keywords*): Added names from "sc2.c".
2733
2734 * Init5d5.scm (hobbit.tms): Removed dependence on missing file.
2735
2736 * mkimpcat.scm: Reorganized more compactly.
2737 (compile): Added feature.
2738
2739 * build.scm (manifest): Added "compile.scm".
2740
2741 * compile.scm (scm): For script to compile inexacts.
2742 (hobbit, compile-file, link-named-scm): Extracted from Link.scm.
2743 Require 'compile to use.
2744
2745 * rope.c (scm_gc_protect): Always return argument.
2746
2747 * xgen.scm (progname): Added so works when loaded (vs. script).
2748 (xatoms): Read XcmsColorFormat value as two hex integers so SCMLIT
2749 doesn't truncate 32-bit value.
2750
2751 * xatoms.scm (X:RGB): Corrected (SCMLIT truncated 32-bit value).
2752 (X:RGBi): Added.
2753
2754 * Makefile (ifiles): Added "compile.scm".
2755 (xevent.scm, xatoms.scm): Added aliases for xevent.h.
2756
2757 2002-02-28 Aubrey Jaffer <[email protected]>
2758
2759 * Init5d5.scm (*features*): Moved forward in file.
2760
2761 * scm.c (scm_init_INITS): Added.
2762
2763 * repl.c (scm_top_level): Added call to scm_init_INITS().
2764
2765 * build.scm (turtlegr, mysql): Changed to compiled-init.
2766
2767 * Makefile (udscm5): Removed "-l debug".
2768 (BUILD): Abstracted ./build -hsystem -p WHATEVER.
2769
2770 * rope.c (scm_gc_protect): Don't bother protecting IMPs.
2771
2772 * hobbit.scm (file-exists?): Removed.
2773 comlist.scm functions moved to end; names corrected.
2774 (*constant-list-var*): Removed; replaced with calls to
2775 scm_gc_protect.
2776 (*filter-inside-term-res*, filter-inside-term-aux!): Moved inside
2777 filter-inside-term.
2778 (nth-cdr, split): Unused; removed.
2779 (first-n-reverse): Moved inside only use: make-tailrec-call.
2780 (headerline, *h-port*): Moved inside display-header.
2781 (build-wrapper-aux, build-wrapper): Moved inside build-wrappers.
2782 (my-last-pair-aux): Moved inside my-last-pair.
2783
2784 * Link.scm (link:link): Fixed prepending "./" for SUN-DL.
2785
2786 2002-02-26 Radey Shouman <[email protected]>
2787
2788 * eval.c (scm_cvapply): Removed PUSH_TRACE and POP_TRACE, which
2789 were #ifdeffed out. Testing with a version that pushed temporary
2790 values on the C stack showed little to gain.
2791
2792 2002-02-25 Aubrey Jaffer <[email protected]>
2793
2794 * hobbit.scm (neq?): Inlined; removed.
2795 (make-list, some): Rename egregious conflicts with SLIB, comlist.
2796 (butlast): Changed to 2 argument function.
2797
2798 * Makefile (TAGFILES): build.scm was tagged twice.
2799
2800 * Link.scm (compile-file): Fixed suffix substitution.
2801
2802 2002-02-23 Aubrey Jaffer <[email protected]>
2803
2804 * sys.c (sysintern): Use scm_gc_protect().
2805
2806 * scm.h (scm_uprotects): Added to sys_protects[].
2807
2808 * scm.c (init_scm): Added init_rope() call.
2809
2810 * rope.c (scm_gc_protect, init_rope): Added.
2811
2812 2002-02-17 Aubrey Jaffer <[email protected]>
2813
2814 * sys.c (mark_subrs): Renamed from mark_subr_table.
2815 (gra_report): Report both alloclen and len.
2816 (init_types): scm.exe uses 397; always init malloc 420 subrs.
2817 (scm_trim_gra): Added to downsize after init.
2818
2819 * scm.h (subrs_gra): Renamed from subr_table_gra.
2820
2821 * scm.c (scm_init_extensions): scm_trim_gra() ifndef HAVE_DYNL.
2822
2823 2002-02-14 Aubrey Jaffer <[email protected]>
2824
2825 * inc2scm, xgen.scm (go-script): Run even if not *script*.
2826
2827 * Makefile (CPROTO): Moved to srcdir.mk.
2828 (x.h): Only create with $(CPROTO) if $(CPROTO) exists.
2829 (x11.scm, keysymdef.scm, xevent.h, x.h): Don't use #!.
2830
2831 2002-02-13 Aubrey Jaffer <[email protected]>
2832
2833 * Makefile (PREVDOCS): Changed to prevdocs/
2834
2835 2002-02-11 Aubrey Jaffer <[email protected]>
2836
2837 * patchlvl.h (SCMVERSION): Bumped from 5d4 to 5d5.
2838
2839 * sys.c (init_types): Initial subr_table size depends on
2840 SHORT_SIZET.
2841
2842 2002-02-10 Aubrey Jaffer <[email protected]>
2843
2844 * Makefile (CITERS, TAGFILES): Abstracted functional file groups.
2845
2846 * debug.c (stacktrace1): call to intprint() need long cast.
2847
2848 * rope.c: No longer include "continue.h".
2849
2850 * scmfig.h (PTR_GT, PTR_LE, PTR_GE): Put near PTR_LT.
2851
2852 * sys.c (heap_report): Moved from "repl.c".
2853
2854 * eval.c (scm_check_linum): Most calls to needed 0L.
2855
2856 * repl.c (everr): Call to scm_check_linum needed 0L.
2857
2858 * scm.texi (Allocating memory): must_realloc_cell, must_realloc
2859 disallowed during init.
2860
2861 * sys.c (gra_report): Added.
2862 (scm_gc_protect): Removed.
2863 (init_types): Initialize sys_protects to UNDEFINED.
2864 (init_types): Increased initial *_gra limits to prevent realloc
2865 during init.
2866 (must_realloc_cell, must_realloc): ASSERT !errjmp_bad.
2867
2868 * repl.c (lroom): Call gra_report().
2869
2870 * scm.h (flo0, NUM_PROTECTS): Don't #ifdef to save 4 bytes.
2871 (f_apply_closure, eval_env, list_unspecified, f_evapply): In
2872 sys_protects[].
2873
2874 * eval.c (init_eval): Removed calls to scm_gc_protect; put them in
2875 sys_protects[].
2876
2877 2002-02-08 Aubrey Jaffer <[email protected]>
2878
2879 * eval.c (init_eval): eval_env assignment uses sysintern for INTS
2880 discipline.
2881
2882 * sys.c (scm_estk_grow, scm_estk_shrink): +0L.
2883 (mksafeport): Only called from init_storage(); don't DEFER_INTS.
2884 (sysintern, scm_grow_gra): Only called while protected; don't
2885 DEFER_INTS.
2886 (scm_port_entry): Move malloc to init_storage().
2887 (init_storage): Inlined creation of null string and vector; fixed
2888 INTS discipline.
2889
2890 * scm.c (*scm-version*): Value changed to ssymbol for INTS
2891 discipline.
2892
2893 2002-02-06 Aubrey Jaffer <[email protected]>
2894
2895 * sys.c (scm_open_ports, sysintern): Removed gratuitous casts.
2896
2897 * scm.c (init_scm): Changed order of init_*s.
2898
2899 * subr.c (mkbig): Removed gratuitous cast.
2900
2901 * unif.c (resizuve): Removed gratuitous cast.
2902
2903 2002-02-03 Aubrey Jaffer <[email protected]>
2904
2905 * sys.c (scm_grow_gra): Don't DEFER_INTS; only called from inits.
2906 (scm_estk_shrink): Cast sizet passed to make_stk_seg().
2907
2908 * eval.c: Cleanup; made __LINE__ numbers int.
2909
2910 * scmmain.c (main): freeall is always 1.
2911
2912 * scmfig.h (ints_infot): linum long->int.
2913
2914 * scl.c (inex_divbigbig): Added default case.
2915
2916 * scm.texi (Memory Management for Environments): Added indexes.
2917
2918 2002-02-02 Aubrey Jaffer <[email protected]>
2919
2920 * posix.c (l_pipe): DEFER_INTS was missing.
2921
2922 * eval.c (init_eval): Cast argument to intern().
2923
2924 * repl.c (scm_top_level): Removed unreachable code.
2925
2926 * sys.c (scm_estk_shrink): Removed unused SCM *v.
2927
2928 2002-01-31 Aubrey Jaffer <[email protected]>
2929
2930 * scm.texi (Uniform Array): Updated for SLIB changes.
2931
2932 * unif.c (float_eq_double_P, i_short): Removed.
2933 (scm_prot2type): Removed most legacy prototypes; much simpler!
2934
2935 * Init5d4.scm (make-uniform-wrapper): Get rank correct.
2936 (read:array): Use orthogonal prototypes for legacy syntax.
2937
2938 * ramap.c (array-indexes): Change to use create-array.
2939
2940 * Init5d4.scm (Ac64, Ac32, Ar64, Ar32, As64, As32, As16, As8,
2941 Au64, Au32, Au16, Au8, At1): Added prototype makers.
2942
2943 2002-01-29 Aubrey Jaffer <[email protected]>
2944
2945 * debug.c (num_frames, estk_frame, cont_frame, stacktrace1):
2946 Removed "static"; moved prototypes to scm.h.
2947
2948 2002-01-28 Radey Shouman <[email protected]>
2949
2950 * eval.c (macroexp1): Fix error handling for line-numbered objects
2951 other than pairs.
2952
2953 * repl.c (lread_rec): Add line numbers to vectors read using
2954 READ-NUMBERED, to allow more specific unquoted vector warnings.
2955
2956 * Init5d4.scm (read:sharp-char): Make #\C-M-a equivalent to #\M-C-a.
2957
2958 2002-01-28 Aubrey Jaffer <[email protected]>
2959
2960 * scm.texi (Uniform Array): Removed most uniform-vector functions.
2961
2962 * Init5d4.scm: Removed uniform-vector functions.
2963
2964 * unif.c (uve_len, uniform-vector-length): Removed.
2965 (uniform-vector-set1!, uniform-vector-ref): Removed.
2966 (scm_prot2type, array_prot): Converted to new prototypes.
2967
2968 * unif.c (raprin1): Changed to new array syntax.
2969
2970 * Init5d4.scm (read:sharp-char): Rearranged.
2971 (read:array): Support new array syntax.
2972
2973 2002-01-26 Aubrey Jaffer <[email protected]>
2974
2975 * Init5d4.scm (call-with-open-ports): Accept arguments reversed.
2976 (try-create-file): Accept symbol for modes argument.
2977 (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Changed to symbols.
2978 (_IONBF, _TRACKED, _EXCLUSIVE): Work with strings OR symbols.
2979
2980 * ioext.c (reopen_file, l_dup2, scm_try_create_file):
2981 * sys.c (mksfpt, try_open_file):
2982 * posix.c (open_pipe): Accept symbol for modes argument.
2983
2984 * scm.texi (tc7_svect): Uniform short vector type.
2985
2986 2002-01-24 Radey Shouman <[email protected]>
2987
2988 * scm.c (l_sleep): Microsoft Sleep takes millisecond argument,
2989 convert from seconds.
2990
2991 * repl.c (scm_err_line): Added for standard printing of erring
2992 file and line number.
2993 (err_head): Use scm_err_line.
2994
2995 * debug.c (princlosure, scm_scope_trace): Use scm_err_line.
2996
2997 * findexec.c: Do nothing if __MINGW32__ is #defined, so scmlit can
2998 be built with mingw using the makefile.
2999
3000 2002-01-22 Radey Shouman <[email protected]>
3001
3002 * eval.c: (scm_cvapply, apply): Save and restore scm_trace
3003 expression for better backtraces.
3004 (map, for_each): No longer need additional tracing.
3005
3006 * debug.c: (stacktrace1): Use BOOL_F as default value of trace, to
3007 avoid confusion with the UNDEFINED end-of-estk marker.
3008
3009 2002-01-22 Aubrey Jaffer <[email protected]>
3010
3011 * ioext.c, time.c, scm.c, findexec.c (__MACH__): Darwin port.
3012
3013 * build.scm (Darwin): Added support for APPLE/MACH/PPC.
3014
3015 * repl.c (swapcar): Added synchronization primitive.
3016
3017 * scm.texi (Process Synchronization): Added make-exchanger.
3018
3019 * Init5d4.scm (make-exchanger): Defined using swap-car!.
3020
3021 2002-01-20 Aubrey Jaffer <[email protected]>
3022
3023 * xgen.scm: QASE renamed from CASEV.
3024
3025 * Init5d4.scm, scm.texi (qase): Renamed from casev.
3026 Feature `database-utilities' renamed `databases'.
3027
3028 * build.scm: Feature `database-utilities' renamed `databases'.
3029
3030 2002-01-19 Aubrey Jaffer <[email protected]>
3031
3032 * Makefile (intro): Moved above srcdir.hk. Added "make scm".
3033
3034 2002-01-18 Radey Shouman <[email protected]>
3035
3036 * ramap.c (racp): Fixed bug in array-copy! from a general array to
3037 a bit-array or a char-array.
3038
3039 2002-01-15 Aubrey Jaffer <[email protected]>
3040
3041 * scmfig.h: Added MSVC pragmas.
3042
3043 * unif.c (raprin1): Fixed #Aid array prefix.
3044 (float_eq_double_P): Added workaround for MSVC.
3045
3046 2002-01-13 Aubrey Jaffer <[email protected]>
3047
3048 * Makefile (scm): Added just-bignums-and-arrays target for JACAL.
3049
3050 * Init5d4.scm (set-vicinities!): Load "requires.scm" if
3051 "require.scm" absent.
3052
3053 * scm.c (SYSTNAME): __MACH__ -> "mach".
3054
3055 * scm.texi (Automatic C Preprocessor Definitions): Updated with
3056 Apple Darwin flags.
3057
3058 2002-01-03 Aubrey Jaffer <[email protected]>
3059
3060 * Init5d4.scm (array=?): Added.
3061
3062 2001-12-06 Aubrey Jaffer <[email protected]>
3063
3064 * Makefile (scm.info): Depends on rautil.txi.
3065
3066 2001-12-01 Aubrey Jaffer <[email protected]>
3067
3068 * Init5d4.scm (logical): Removed legacy definitions.
3069
3070 * r4rstest.scm (4 2 2): Added test for LET bug.
3071
3072 2001-11-15 Aubrey Jaffer <[email protected]>
3073
3074 * build.scm (build): Updated for SLIB dbutil changes.
3075
3076 2001-11-11 Aubrey Jaffer <[email protected]>
3077
3078 * Init5d4.scm (bit-reverse integer->list list->integer
3079 booleans->integer bitwise:laminate bitwise:delaminate): Added bit
3080 order and lamination functions.
3081
3082 (integer->gray-code gray-code->integer gray-code<? gray-code<=?
3083 gray-code>? gray-code>=?): Added Gray code functions.
3084
3085 2001-10-27 Radey Shouman <[email protected]>
3086
3087 * repl.c (gc_start, gc_end): Removed check for FPORTP(cur_errp),
3088 no longer useful since we now write to sys_errp with no real
3089 output until gc is over.
3090
3091 2001-10-21 Aubrey Jaffer <[email protected]>
3092
3093 * build (build-from-argv): Fail gracefully if params is #f.
3094
3095 2001-09-27 Aubrey Jaffer <[email protected]>
3096
3097 * ioext.c (file-exists?): Defined using ACCESS.
3098 (scm_try_create_file): Conditional on O_EXCL being defined.
3099
3100 2001-09-26 Aubrey Jaffer <[email protected]>
3101
3102 * Init5d4.scm (_EXCLUSIVE): Added.
3103 (try-create-file): Added; supports open for exclusive write.
3104 (file-exists?): Conditionally defined.
3105
3106 * ioext.c (scm_try_create_file): Moved from "unix.c".
3107
3108 2001-09-24 Aubrey Jaffer <[email protected]>
3109
3110 * scm.texi (SCM Session): boot-tail documented.
3111
3112 2001-09-21 Aubrey Jaffer <[email protected]>
3113
3114 * bench.scm (benchmark): Metric interchange units.
3115
3116 2001-09-11 Aubrey Jaffer <[email protected]>
3117
3118 * xgen.scm (schemeify-name): Converted to use StudlyCapsExpand.
3119
3120 * Init5d4.scm (string-case): Added StudlyCapsExpand.
3121
3122 2001-09-10 Radey Shouman <[email protected]>
3123
3124 * unix.c: (scm_try_create_file): Opens a file only if it does not
3125 already exist. (Uses open() with the O_EXCL flag).
3126
3127 * sys.c: (try_open_file): Calls back to try-create-file if an "x"
3128 flag is specified.
3129
3130 * Init5d4.scm: (try-create-file): autoloaded.
3131
3132 2001-09-03 Igor Goldenberg <[email protected]>
3133
3134 * findexec.c, scmfig.h, scm.c, time.c (__amigaos__): replaces
3135 obsolete __amigados__.
3136
3137 * build.scm (amiga-gcc): "-O2" option removed (executable fails).
3138
3139 2001-09-02 Aubrey Jaffer <[email protected]>
3140
3141 * scm.texi (SCM Options): Added "-r*rs" options.
3142
3143 * mkimpcat.scm (2rs, 3rs, 4rs, 5rs): Added aliases to make
3144 "-r2rs".."-r5rs" command-line options work.
3145
3146 * Init5d4.scm (*syntax-rules*): Renamed from *R4RS-MACROS*.
3147
3148 2001-09-01 Aubrey Jaffer <[email protected]>
3149
3150 * Init5d4.scm (boot-tail): Converted -r2, -r3, -r4, and -r5
3151 options to use r2rs, r3rs, r4rs, and r5rs features added to SLIB.
3152
3153 * Makefile (scmlit): 'rm slibcat implcat' *after* compilation.
3154
3155 2001-08-31 Aubrey Jaffer <[email protected]>
3156
3157 * scm.c, scmfig.h, script.c, time.c: Changed unix flags to
3158 HAVE_UNIX.
3159
3160 2001-08-31 Radey Shouman <[email protected]>
3161
3162 * eval.c (m_expand_body, macroexp1): Try harder to keep non-memoizing
3163 macros unmemoized.
3164
3165 * repl.c (scm_io_error): Now returns non-zero if EINTR seen.
3166 (lfflush, lflush, lputc, lputs, lfwrite): No longer use
3167 SYSCALL, but leave checking for EINTR to scm_io_error -- errno
3168 need not be checked or set until an erring return value is seen.
3169 (scm_warn): Now takes a scheme object to be printed as third argument.
3170
3171 2001-08-30 Radey Shouman <[email protected]>
3172
3173 * sys.c (scm_port_entry): Now accepts a stream argument and
3174 allocates the port cell. Puts a back pointer (not a gc protect)
3175 into the port table, for introspection.
3176 (open-ports): Returns a list of open ports. Should be useful for
3177 fork, and maybe dump.
3178 (port-type): Describes a port.
3179
3180 * crs.c ioext.c posix.c scm.h socket.c Use new scm_port_entry call.
3181
3182 * ioext.c (ldup): Better error reporting for invalid mode flags.
3183
3184 2001-08-27 Radey Shouman <[email protected]>
3185
3186 * eval.c (scm_arity_check): Always return false for negative argc.
3187 (macroexp1): Better error message for malformed expressions.
3188
3189 2001-08-26 Radey Shouman <[email protected]>
3190
3191 * repl.c (lungetc): Calls ungetc function if provided, this allows
3192 string ports to work without using up port table entries.
3193
3194 * sys.c (stclose): Allows gc of string.
3195 (stungetc): ungetc for string ports.
3196
3197 2001-08-24 Radey Shouman <[email protected]>
3198
3199 * repl.c: (scm_io_error): Added BROKEN-PIPE callback.
3200
3201 * eval.c (m_case): Added callback to @case-aux to check for CASEs
3202 that can be optimized to jump tables.
3203
3204 * Init5d4.scm (@case-aux): Definition added.
3205
3206 2001-08-23 Radey Shouman <[email protected]>
3207
3208 * scmfig.h eval.c record.c rgx.c sys.c unif.c
3209 (SCM2PTR, PTR2SCM): Added test definition, so we can verify that
3210 the code still works. Flushed out two actual bugs in eval.c.
3211
3212 2001-08-16 Radey Shouman <[email protected]>
3213
3214 * eval.c (m_case): CASE speed tweak.
3215 (scm_case_selector): Added auxiliary function for CASE runtime.
3216
3217 * sys.c (scm_gc_protect): Added to simplify eval.c.
3218
3219 2001-08-15 Aubrey Jaffer <[email protected]>
3220
3221 * Link.scm (link:link): Load main file last for sun-dl.
3222
3223 2001-08-13 Radey Shouman <[email protected]>
3224
3225 * eval.c (NO_ENV_CACHE): option bitrot fixed.
3226 (scm_v2lst): Now takes third argument for compatibility with
3227 scm_env_v2lst.
3228
3229 * sys.c (scm_env_v2lst): Length argument now long instead of int
3230 for compatibility with scm_v2lst.
3231
3232 2001-08-11 Radey Shouman <[email protected]>
3233
3234 * dynl.c: DLOPEN_MODE now uses RTLD_GLOBAL iff it is #defined,
3235 Linux (at least) requires it in order to stack compiled modules.
3236 Also use RTLD_NOW, which allows reporting errors at load time,
3237 rather than crashing the program when an undefined symbol is accessed.
3238
3239 2001-08-09 Aubrey Jaffer <[email protected]>
3240
3241 * mkimpcat.scm (add-link): Support symbols (features) in list.
3242 (unix): Uses this feature.
3243
3244 * Init5d4.scm (slib:load-compiled): Require any symbols in list.
3245
3246 * Link.scm (link:link): Run 'init_<file>' only for first object
3247 file.
3248
3249 2001-07-30 Radey Shouman <[email protected]>
3250
3251 * repl.c: (err_head): Make sure cur_outp is open before fflushing it.
3252 * sys.c: (clptob): Make flushing a closed port raise an error.
3253
3254 2001-07-27 Radey Shouman <[email protected]>
3255
3256 * sys.c: (mode_bits, try_open_file, mksfpt):
3257 * ioext.c: (reopen_file, l_dup):
3258 Improved error checking for mode strings.
3259
3260 2001-07-24 Radey Shouman <[email protected]>
3261
3262 * repl.c (scm_io_error, lflush, lwrite, display, newline,
3263 write_char, scm_freshline): Common code checking for EPIPE after
3264 file errors, now prints warning before closing port.
3265
3266 * ioext.c (read_line, read_line1): Remove check that current
3267 input port is open, errors caught by dispatching on closed port.
3268
3269 * sys.c (init_types): Add a closed port type, so we can avoid I/O
3270 to closed FILEs even if we don't explicitly check for a closed SCM
3271 port before each operation.
3272
3273 2001-07-21 Radey Shouman <[email protected]>
3274
3275 * repl.c: (char_readyp, lflush, lwrite, display, newline):
3276 (write_char, read_char, peek_char, scm_freshline):
3277 Don't assume currrent input or output ports are open.
3278 Remove checks for EPIPE.
3279
3280 (lfputc, lfputs, lfwrite): Checks for EPIPE moved here. Now
3281 check errno only if an erring return value is seen. Signals error
3282 for non-EPIPE errors.
3283
3284 (def_err_response): Exit quietly (without core dump) if default
3285 error port has been closed.
3286
3287 * ioext.c (read_line, read_line1):
3288 No longer assume current input port is open.
3289
3290 * unif.c: (uve_write): Use lfwrite instead of fwrite,
3291 (checks for EPIPE).
3292
3293 * sys.c (safewrite): Fix return value.
3294
3295 2001-07-19 Aubrey Jaffer <[email protected]>
3296
3297 * sys.c (port_closedp): Added.
3298
3299 2001-07-13 Aubrey Jaffer <[email protected]>
3300
3301 * Link.scm (link:link): Runs 'init_<file>' for all linked
3302 object-files with inits.
3303
3304 2001-07-13 Radey Shouman <[email protected]>
3305
3306 * repl.c (def_err_response): Deal with closed error-port.
3307
3308 2001-07-12 Steve VanDevender <[email protected]>
3309
3310 * unexalpha.c (TEXT_START): Fixed for Digital UNIX 4.0d and 4.0g.
3311
3312 2001-07-12 Radey Shouman <[email protected]>
3313
3314 * (scm_port_entry): Fixed for 64-bit machines.
3315 (SCM_PORTNUM_MAX): Replaces PORT_TABLE_MAXLEN, fixed for 64-bit
3316 machines. Thanks for bug report from Steve VanDevender
3317 <[email protected]>
3318
3319 (sysintern): Make sure we have a non-garbage-collectable symbol
3320 whether it existed previously interned or not. This can be an
3321 issue with dynamically loaded code, since sysintern can be called
3322 at any time.
3323
3324 2001-07-02 Radey Shouman <[email protected]>
3325
3326 * eval.c (force): Now works for zero or multiple values.
3327
3328 2001-06-27 Steve VanDevender <[email protected]>
3329
3330 * gmalloc.c (check_block, check_frag_blocks): Conditioned on
3331 #ifdef DEBUG_GMALLOC.
3332
3333 2001-06-27 Radey Shouman <[email protected]>
3334
3335 * sys.c (prinport): Print filename or pipe command, if available.
3336
3337 2001-06-23 Radey Shouman <[email protected]>
3338
3339 * r4rstest.scm (test-numeric-predicates): Added tests for bignum
3340 to flonum comparisons.
3341
3342 * scl.c (lessp, eqp, lmin, lmax): Make bignum to float
3343 comparisons transitive as required by R5RS.
3344 (scm_twos_power, scm_bigdblcomp): Support functions added.
3345
3346 * eval.c (m_letstar1): Introduced to allow more sensible error
3347 messages for LET, LETREC.
3348
3349 2001-06-17 Aubrey Jaffer <[email protected]>
3350
3351 * posix.c (scm_getlogin): Added -- doesn't work on RH6.2.
3352
3353 * Init5d4.scm (getlogin, login->home-directory): Added.
3354 (home-vicinity): Defined in terms of getlogin, etc.
3355
3356 2001-06-14 Radey Shouman <[email protected]>
3357
3358 * subr.c (scm_bitfield): Made more efficient.
3359
3360 2001-06-10 Radey Shouman <[email protected]>
3361
3362 * scl.c (integer-expt): For negative exponents, raise to a
3363 positive power first, then reciprocate. This should almost always
3364 reduce roundoff error.. For INUMs, convert to floats before
3365 raising to the positive power, to avoid allocating bignums.
3366
3367 (next-double-float): Takes two flonums, returns the next flonum
3368 from the first in the direction of the second. Not sure whether
3369 this should stay.
3370
3371 2001-05-28 Aubrey Jaffer <[email protected]>
3372
3373 * r4rstest.scm (test-inexact): Added (test (atan 1) atan 1 1).
3374
3375 2001-05-23 Radey Shouman <[email protected]>
3376
3377 * eval.c (ceval_1, ceval_1): Optimize LAMBDA expressions without
3378 rest arguments in function call position to LETs. Introduce
3379 IM_FUNCALL spcsym for other non-variable reference expressions in
3380 function call position so they are not repeatedly expanded.
3381
3382 2001-05-16 Aubrey Jaffer <[email protected]>
3383
3384 * Makefile (pdf): Added targets.
3385
3386 2001-05-15 Radey Shouman <[email protected]>
3387
3388 * Macro.scm: (macro:compile-syntax-rules): Generalized ellipsis
3389 quote from (... ...) to (... <pattern-or-template>).
3390
3391 * sys.c: (free_storage): Zero loc_gc_hook since it will be freed,
3392 otherwise restart may fail.
3393
3394 2001-05-14 Steve VanDevender <[email protected]>
3395
3396 * eval.c (scm_arity_check): Lacked explicit return value in the
3397 tcs_closures case.
3398
3399 2001-05-05 Aubrey Jaffer <[email protected]>
3400
3401 * Macro.scm (@pprint): Added.
3402
3403 2001-04-17 Radey Shouman <[email protected]>
3404
3405 * eval.c (scm_eval_values): Now applies eval, so that
3406 values-context errors are caught for expressions entered in the
3407 repl. Example bug: > (cons (values) '()) => (#<undefined>)
3408
3409 (ceval_1): Primitive @EVAL does not copytree its argument.
3410
3411 * Init5d4.scm (eval): Now defined in terms of @eval.
3412
3413 2001-04-16 Aubrey Jaffer <[email protected]>
3414
3415 * Makefile (all): make x.so after other components.
3416 (myscm): Removed target; use 'make all' instead.
3417
3418 2001-04-16 Radey Shouman <[email protected]>
3419
3420 * scl.c (previous_dfloat, next_dfloat, dfloat_parts): Fixed
3421 for gradual underflow, as long as DBL_MIN_EXP is #defined.
3422
3423 * repl.c scm.h Init5d4.scm
3424 * eval.c (ceval_1, apply, cvapply): Moved most of the work of
3425 applying a closure into ceval_1, by providing a syntax token
3426 IM_EVAL_FOR_APPLY. CALL-WITH-VALUES is now a specfun, no special
3427 form or closure needed.
3428
3429 2001-04-13 Radey Shouman <[email protected]>
3430
3431 * scl.c (dfloat_parts, make_dfloat, next_dfloat):
3432 (previous_dfloat): Implement DOUBLE-FLOAT-PARTS,
3433 MAKE-DOUBLE-FLOAT, NEXT-DOUBLE-FLOAT, PREVIOUS-DOUBLE-FLOAT. Low
3434 level floating point functions.
3435
3436 2001-04-10 Radey Shouman <[email protected]>
3437
3438 * subr.c (scm_copybit): No longer makes so many bignums.
3439 (scm_2scomp1): Static auxiliary function.
3440 (scm_big_ash): Uses scm_2scomp1.
3441
3442 2001-04-09 Radey Shouman <[email protected]>
3443
3444 * subr.c (scm_big_ash, scm_ash): Faster bignum ash,
3445 allocates only one bignum per call.
3446 (scm_copy_big_2scomp): Static support routine.
3447
3448 2001-04-07 Radey Shouman <[email protected]>
3449
3450 * repl.c (scm_stack_trace): Reworked with general stack-inspection
3451 function estk_frame.
3452 (def_err_response): Use null s_subr argument to indicate that an
3453 entire expression is being printed.
3454
3455 * eval.c (macroexp1): Check early for unbound variable references
3456 in a form, so nicer error messages can be produced.
3457
3458 2001-04-06 Radey Shouman <[email protected]>
3459
3460 * subr.c (scm_big_and): Fixed bug in LOGAND for one negative and
3461 one positive argument.
3462 Bug example: (logand #x-10000 #x3ffffffff) => #x3ffffffff
3463
3464 2001-04-04 Radey Shouman <[email protected]>
3465
3466 * Macro.scm (macro:compile-syntax-rules): Better error messages,
3467 renamed some internal functions for clarity. Fix checking of
3468 pattern variable rank in templates. Some legal syntax-rules
3469 templates were being rejected, eg
3470 (syntax-rules () ((_ (?x ...) (?y ...))
3471 (let ((?x (list ?y ...)) ...)
3472 (list ?x ...)))))
3473
3474 2001-03-30 Radey Shouman <[email protected]>
3475
3476 * eval.c (scm_values): Exported, since it can reasonably be called
3477 from subrs.
3478
3479 * record.c (recprin1): Call default printer if the custom printer
3480 returns #F. Print object-hash value of the rtd after type name,
3481 so all distinct record types can be distinguished by eye.
3482
3483 (rec_rtdprin1): Custom printer for record type descriptors,
3484 includes rtd object-hash value.
3485
3486 2001-03-29 Radey Shouman <[email protected]>
3487
3488 * repl.c (everr): Pass a `writing' value of 2, rather than
3489 1, during printing of error messages, so writing procedures
3490 may take special action.
3491
3492 * record.c (recprin1, rec_prinset): record-printer now takes
3493 three arguments instead of two, the third being a boolean
3494 WRITING?.
3495 Supress calling the record-printer during error reports,
3496 avoiding the possibility of a recursive error.
3497
3498 * eval.c (m_letrec1): Fix error report in case macro keyword
3499 is a synthetic identifier.
3500 (m_letstar): Preserve distinction between LET* and LET in the
3501 printed representation of evaluated code, for easier debugging of
3502 backtraces.
3503
3504 2001-03-24 Dai Inukai <[email protected]>
3505
3506 * scmmain.c (main): Since release 2.0.5, FreeBSD's double
3507 precision arithmetic defaults to 53 bits instead of 64 bits. Set
3508 precision to 64 bits for all arithmetics and run the risk of
3509 overflow, though I have not seen any in 6 months of use.
3510
3511 2001-03-27 Radey Shouman <[email protected]>
3512
3513 * Macexp.scm (macro:expand):
3514 * eval.c (scm_macroexpand1): Now expand identifier macros.
3515
3516 2001-03-26 Radey Shouman <[email protected]>
3517
3518 * Macro.scm (syntax-rules): Only use procedure->identifier-macro
3519 if needed, so macros print something without an error message.
3520
3521 * eval.c (scm_macroexpand1): Expand forms with identifier macros
3522 in keyword position (needed for macro:expand). Should also expand
3523 single identifiers ...
3524
3525 2001-03-23 Radey Shouman <[email protected]>
3526
3527 *sys.c (scm_gc_hook, scm_run_finalizers, mark_finalizers):
3528 Added hook to be run like an interrupt shortly after gc. Added
3529 finalizer facility to gc.
3530 (scm_add_finalizer): Implements Scheme-level interface to
3531 finalizer facility, ADD-FINALIZER.
3532
3533 *scm.c (process_signals): run scm_gc_hook.
3534 (setitimer): beautified somewhat.
3535
3536 *repl.c (scm_top_level): Modified for gc hook.
3537
3538 2001-03-20 Radey Shouman <[email protected]>
3539
3540 * eval.c (ceval_1): modified
3541 (values, m_call_wv, scm_eval_values): Added.
3542 Implement CALL-WITH-VALUES and VALUES by returning extra values in
3543 scm_env_tmp.
3544 (scm_arity_check): Raise an error for unknown tc7_specfuns.
3545
3546 * repl.c (repl): Expects and prints multiple values.
3547
3548 * Init5d4.scm (call-with-values): Implemented by wrapping
3549 undocumented special form @CALL-WITH-VALUES. CALL-WITH-VALUES
3550 is hard to implement using the C level apply function, because
3551 that function is not tail-recursive.
3552
3553 2001-03-18 Aubrey Jaffer <[email protected]>
3554
3555 * build.scm (build): Removed unused parameter scm-srcdir.
3556
3557 * scm.spec (%post): 'ln -s %{prefix}/lib/scm /usr/local/lib/scm'
3558 fixes vicinity problem caused by linking /usr/local/bin/scm.
3559
3560 Thu Mar 15 21:33:30 EST 2001 Aubrey Jaffer <[email protected]>
3561
3562 * patchlvl.h (SCMVERSION): Bumped from 5d3 to 5d4.
3563
3564 2001-03-15 Aubrey Jaffer <[email protected]>
3565
3566 * x.c (init_x): Don't scm_ldprog("xatoms.scm") because it
3567 redefines STRING.
3568
3569 2001-03-15 Radey Shouman <[email protected]>
3570
3571 * scm.spec: Added spec file to generate a .rpm file.
3572
3573 2001-03-13 Radey Shouman <[email protected]>
3574
3575 * Macro.scm (macro:compile-syntax-rules): Support for identifier
3576 macros.
3577
3578 * repl.c (iprin1): Print inlined procedure calls without infinite
3579 recursion.
3580
3581 * scm.h: subtypes of tcs_cons_imcar are broken out for use in repl.c.
3582
3583 * eval.c (makidmacro): Implement PROCEDURE->IDENTIFIER-MACRO.
3584 (macroexp1, lookupcar, prinmacro): Clean up macro type codes,
3585 support identifier macros.
3586
3587 (m_inline_lambda, env_depth, env_tail, ceval_1): Support inline
3588 procedures. Commented out for now, since the macro expander is not
3589 yet smart enough to figure out which lambda expressions can be
3590 inlined.
3591
3592 2001-03-04 Aubrey Jaffer <[email protected]>
3593
3594 * unif.c (init_unif): Removed scm_ldstr() call -- was failing to
3595 define string-case functions when compiled on files.posmikk.
3596
3597 * Init5d3.scm (string-case): provided if string-upcase! defined.
3598 (display-file): Take optional port argument.
3599
3600 2001-02-25 Aubrey Jaffer <[email protected]>
3601
3602 * build.scm (build:serve): Improved error reporting.
3603
3604 2001-02-22 Radey Shouman <[email protected]>
3605
3606 * record.c (rec_constr): Fixed error checking of fields argument.
3607
3608 2001-02-12 Aubrey Jaffer <[email protected]>
3609
3610 * Init5d3.scm (pprint): Added (returns last argument).
3611
3612 2001-02-07 Aubrey Jaffer <[email protected]>
3613
3614 * unif.c (init_unif): Moved string-*case definitions from
3615 Init5d3.scm. Added string-append.
3616
3617 2001-01-30 Marc Espie <[email protected]>
3618
3619 * build.scm, *.c: Ported to OpenBSD.
3620
3621 2001-01-21 Aubrey Jaffer <[email protected]>
3622
3623 * x.c (x_event_keysym): Added. Translates XKeyEvent to KeySym.
3624 (x_window_geometry_set): Added interface to XConfigureWindow.
3625
3626 * Makefile (keysymdef.scm): Added target.
3627
3628 * inc2scm (scm<-includes): #ifdef each prospective #define.
3629
3630 2001-01-18 Radey Shouman <[email protected]>
3631
3632 * ramap.c (ramap_cxr): Fix bug in dynamic allocation of
3633 workspace for large number of arguments (>= 5 in argument list).
3634
3635 2001-12-18 Aubrey Jaffer <[email protected]>
3636
3637 * Makefile (xafiles): Generated xlib-scheme files weren't being
3638 installed.
3639
3640 2001-01-18 Aubrey Jaffer <[email protected]>
3641
3642 * x.c (scm2display_screen): Fixed off-by-one problem.
3643
3644 2000-12-06 Aubrey Jaffer <[email protected]>
3645
3646 * r4rstest.scm (Section 5 2 1): added (begin)s.
3647
3648 2000-12-04 Radey Shouman <[email protected]>
3649
3650 * eval.c (m_begin): now accepts (BEGIN) which evaluates to
3651 #<unspecified>.
3652 (m_expand_body): checks for memoized (BEGIN) so that empty BEGINs
3653 do not interrupt a sequence of internal definitions. Properly
3654 rewrites internal definitions in several BEGINs as one LETREC,
3655 rather than several.
3656
3657 2000-11-13 Aubrey Jaffer <[email protected]>
3658
3659 * x.c (x_default_ccc, x:default-ccc): Added.
3660 (x_list_properties, x:list-properties): Added.
3661 (x_window_ref, x:window-ref): Added.
3662 (tc16_xccc): Added.
3663 (CCC2SCM_P, CCC2SCM, xtc_ccc): Added backlinks from CCCs.
3664 (print_xccc): Print out device-dependent ColorSpace names.
3665
3666 2000-11-07 Aubrey Jaffer <[email protected]>
3667
3668 * x.c (x_list_properties): Added.
3669 (x_propdata2scm): Fixed.
3670
3671 2000-11-06 Aubrey Jaffer <[email protected]>
3672
3673 * xatoms.scm (X:CIEXYZ): Added Xcms formats from Xcms.h.
3674
3675 * xgen.scm (xatoms): Also grab Xcms formats from Xcms.h.
3676
3677 * x.c (x_visual_class, x_visual_geometry): Added.
3678 (free_visual): Fixed vinfo_mask argument to XGetVisualInfo.
3679
3680 2000-10-30 Aubrey Jaffer <[email protected]>
3681
3682 * x.c (tc16_xvisual): Now holds XVisualInfo.
3683 (x:default-visual): Removed.
3684
3685 * xtest.scm: Removed use of x:default-visual.
3686
3687 * xgen.scm (xatoms): Added.
3688
3689 * xatoms.scm: Translation of Xatom.h added.
3690
3691 2000-10-14 Aubrey Jaffer <[email protected]>
3692
3693 * Init5d3.scm (call-with-open-ports): Added.
3694 (call-with-input-file):
3695 (call-with-output-file): Use call-with-open-ports.
3696
3697 2000-10-07 Aubrey Jaffer <[email protected]>
3698
3699 * Init5d3.scm (call-with-outputs): Added.
3700
3701 2000-09-24 Jacob Strauss <[email protected]>
3702
3703 * scm.texi (waitpid): Fixed return value paragraph.
3704
3705 2000-09-23 Aubrey Jaffer <[email protected]>
3706
3707 * build.scm (build:serve): Added.
3708
3709 2000-09-09 Aubrey Jaffer <[email protected]>
3710
3711 * r4rstest.scm (display): Test only on chars and strings.
3712
3713 2000-08-05 Aubrey Jaffer <[email protected]>
3714
3715 * rautil.scm (subarray): Added.
3716
3717 2000-06-11 Ben Goetter <[email protected]>
3718
3719 * build.scm (Microsoft-C-nt): Set options correctly for
3720 feature 'stack-limit.
3721
3722 * scmfig.h (MSDOS): NT lacks sbrk().
3723
3724 Sat Jun 3 22:12:39 EDT 2000 Aubrey Jaffer <[email protected]>
3725
3726 * patchlvl.h (SCMVERSION): Bumped from 5d2 to 5d3.
3727
3728 2000-06-01 Aubrey Jaffer <[email protected]>
3729
3730 * scm.texi (Making SCM): Updated.
3731
3732 2000-05-02 C Nick Beaudrot <[email protected]>
3733
3734 * scmfig.h: __SVR4 is the official Sun flag.
3735
3736 2000-04-18 Aubrey Jaffer <[email protected]>
3737
3738 * r4rstest.scm (modulo): Added test cases.
3739
3740 2000-04-18 Radey Shouman <[email protected]>
3741
3742 * subr.c (modulo): Fixed sign handling bug for INUM0, following
3743 Dirk Herrmann's <[email protected]> fix for Guile.
3744
3745 2000-03-31 Radey Shouman <[email protected]>
3746
3747 * ioext.c (file_set_position): Do not disable port tracking for
3748 zero pos.
3749
3750 2000-03-30 Radey Shouman <[email protected]>
3751
3752 * ioext.c (file_set_position): For tracked ports (line & column
3753 number), issue warning and turn off tracking.
3754
3755 * repl.c (scm_port_col): column numbers made consistently 1-based.
3756 Fixed handling of ungetted chars.
3757
3758 2000-03-28 Aubrey Jaffer <[email protected]>
3759
3760 * Makefile (Xlibscm_toc.html): fixed.
3761
3762 * Transcen.scm (pi, pi*, pi/): Added.
3763
3764 2000-02-24 Radey Shouman <[email protected]>
3765
3766 * Init5d2.scm (warn, error): Don't use PROVIDED?, it can cause
3767 error loops.
3768 (library-vicinity): Give a meaningful error message if we can't load
3769 require.scm.
3770
3771 2000-02-16 Radey Shouman <[email protected]>
3772
3773 * Macexp.scm (macro:expand): Fixed for keywords that would be
3774 lexically shadowed except for hygiene.
3775
3776 2000-02-15 Radey Shouman <[email protected]>
3777
3778 * eval.c (ceval_1): Check for immediate procedure argument to
3779 APPLY.
3780
3781 2000-02-14 Radey Shouman <[email protected]>
3782
3783 * Init5d2.scm (read:sharp): Accept #! syntax without checking
3784 line-number, so source files may be READ. Made more robust.
3785
3786 * Macexp.scm (macro:expand-syntax): Fixed handling of BEGIN with
3787 only one subform.
3788
3789 2000-02-11 Radey Shouman <[email protected]>
3790
3791 * eval.c (env2tree): Rewritten to make it easier to change
3792 behavior based on bound values.
3793
3794 2000-02-07 Radey Shouman <[email protected]>
3795
3796 * Macro.scm (define-syntax, let-syntax, letrec-syntax): Made
3797 Primitive syntax.
3798
3799 * eval.c (makro): Abstracts process of making syntax.
3800 (makacro, makmacro, makmmacro): Now call makro.
3801 (makpmacro, @procedure->primitive-syntax): Scheme level way of
3802 defining primitive syntax, meaning syntax that @macroexpand and
3803 hence macro:expand will not expand.
3804
3805 * scm.h (IM_DEFINE): now an ISYM but not SPCSYM, since IM_DEFINE
3806 no longer occurs in executable Scheme code there is no reason
3807 dispatching on it need be fast. There is now one spare SPCSYM.
3808
3809 2000-02-06 Radey Shouman <[email protected]>
3810
3811 * Macexp.scm (macro:expand): Fixed handling of CASE.
3812
3813 * eval.c (m_letstar): Transforms (LET* () ...) into either a
3814 BEGIN, a single body form, or, if at top level, a LAMBDA
3815 expression. Wrapping macro arguments in (LET () ... ) to allow
3816 internal DEFINE becomes free.
3817
3818 (ceval_1): Code to deal with zero binding LET* commented out.
3819
3820 (nullenv_p): Added, since we test for null environments in both
3821 m_define and m_letstar.
3822
3823 (scm_extended_env, env2tree): #define constant
3824 ENV_TREED for the car bit that identifies environments that have
3825 been migrated out of ecache.
3826
3827 (wrapenv): Return '() if at top level, instead of
3828 allocating a cell for an environment object.
3829
3830 (topdenote_eq): Added to reduce code size.
3831
3832 (m_begin): if only one form, just returns it.
3833 (scm_macroexpand1): Fixed to work with macro:expand.
3834
3835 2000-02-06 Radey Shouman <[email protected]>
3836
3837 * Macexp.scm: Added, rewritten replacement for Macroexpand.scm.
3838 Implements MACRO:EXPAND including LET-SYNTAX and LETREC-SYNTAX.
3839 Rewrites synthetic identifiers to symbols for pretty display.
3840
3841 2000-02-04 Aubrey Jaffer <[email protected]>
3842
3843 * build.scm (C-libraries): __FreeBSD__ uses libncurses.
3844
3845 * crs.c: __FreeBSD__ includes ncurses.h
3846
3847 2000-02-02 Radey Shouman <[email protected]>
3848
3849 * scm.texi: Updated documentation for DEFMACRO and SYNTAX-RULES.
3850
3851 * ramap.c (array_map, array_for_each, array_imap): No longer
3852 need to call procedurep, scm_arity_check is sufficient.
3853
3854 * eval.c (scm_arity_check): Was not doing the right thing if
3855 passed an immediate as a procedure.
3856
3857 (ceval_1): Added ALLOW_INTS_EGC to ensure that a tight
3858 loop applying a closure of >3 arguments will handle signals. Bug
3859 report thanks to Tomas Lozano-Perez <[email protected]>.
3860
3861 2000-02-01 Aubrey Jaffer <[email protected]>
3862
3863 * Xlibscm.texi: TeX doesn't like @itemx in @tables.
3864
3865 2000-02-01 Radey Shouman <[email protected]>
3866
3867 * Macro.scm (compile-pattern): Allow (... ...) escapes to be
3868 matched in patterns as a literal ... ellipsis, allowing use of
3869 ellipses as syntax in user macros.
3870
3871 * sys.c (scm_env_cons3): Added.
3872 * eval.c (scm_env_cons_tmp): Removed, replaced in one remaining
3873 use by scm_env_cons3.
3874
3875 2000-01-28 Radey Shouman <[email protected]>
3876
3877 * Init5d2.scm (file-exists?, file-readable?): Zero errno to
3878 prevent spurious error messages.
3879
3880 * Macro.scm (@print): Moved from Init*.scm, where it did no good
3881 since 'macro was never provided at that stage.
3882
3883 (destructuring-bind): SYNTAX-RULES version, gives better error
3884 reporting.
3885
3886 2000-01-28 Dorai Sitaram <[email protected]>
3887 (actually contributed March 1993)
3888
3889 * Init5d2.scm (destructuring-bind):
3890 (defmacro:get-destructuring-bind-pairs): Added for destructuring
3891 DEFMACRO.
3892
3893 2000-01-28 Radey Shouman <[email protected]>
3894 * Init5d2.scm (defmacro:simple-defmacro): Added, does what
3895 DEFMACRO used to do.
3896 (defmacro): Now does CL style destructuring.
3897
3898 2000-01-27 Radey Shouman <[email protected]>
3899
3900 * Init5d2.scm (defmacro): Now accepts
3901 (DEFMACRO (<name> . <args>) ...) as equivalent to
3902 (DEFMACRO <name> (<args>) ...)
3903
3904 2000-01-24 Radey Shouman <[email protected]>
3905
3906 * eval.c (map, for_each): Check that the cdr of each list
3907 argument is in fact a pair -- averting possible segfault.
3908
3909 2000-01-11 Aubrey Jaffer <[email protected]>
3910
3911 * Makefile (SCMLIT, SCMEXE): local executables for build, bench, ...
3912
3913 2000-01-09 Aubrey Jaffer <[email protected]>
3914
3915 * Init5d2.scm (track-all, stack-all, break-all): Added autoloads.
3916 (trace, break): Improved Macro Autoloads.
3917
3918 2000-01-04 Aubrey Jaffer <[email protected]>
3919
3920 * Init5d2.scm (boot-tail): Added -h(ave) feature option.
3921
3922 2000-01-03 Aubrey Jaffer <[email protected]>
3923
3924 * Init5d2.scm (error, warn): print-call-stack.
3925
3926 1999-12-23 Radey Shouman <[email protected]>
3927
3928 * repl.c (scm_top_level): Moved dowinds() call later in the error
3929 recovery sequence so that the errjmp_recursive flag is cleared
3930 before calling DYNAMIC-WIND exit thunks. This move prevents
3931 spurious "recursive error" exits.
3932 Bug report by Tomas Lozano-Perez <[email protected]>.
3933
3934 1999-12-17 Aubrey Jaffer <[email protected]>
3935
3936 * scm.texi (Bibliography): Added (Japanese) SchemePrimer.
3937
3938 1999-12-17 Radey Shouman <[email protected]>
3939
3940 * Init5d2.scm (@print): Added.
3941
3942 1999-12-10 Aubrey Jaffer <[email protected]>
3943
3944 * r4rstest.scm (SECTION 6 9): Added tests for map of single
3945 argument +, -, and *.
3946
3947 1999-12-10 Radey Shouman <[email protected]>
3948
3949 * eval.c (scm_cvapply): Fixed bug in handling of asubrs.
3950
3951 Sun Dec 5 22:04:18 EST 1999 Aubrey Jaffer <[email protected]>
3952
3953 * patchlvl.h (SCMVERSION): Bumped from 5d1 to 5d2.
3954
3955 1999-12-02 Aubrey Jaffer <[email protected]>
3956
3957 * Makefile (install): Make sure $(libscmdir)require.scm exists.
3958 (libscmdir): Use instead of IMPLPATH.
3959
3960 1999-12-02 Radey Shouman <[email protected]>
3961
3962 * scmfig.h: Don't #define SINGLES for MSC, per suggestion of David
3963 Yeh <[email protected]>
3964
3965 1999-12-01 Radey Shouman <[email protected]>
3966
3967 * repl.c (scm_top_level): Corrected error test on exit in case 0
3968 is not success.
3969
3970 (repl): Return MAKINUM(EXIT_SUCCESS) when exiting an interactive
3971 session on EOF, this should not be an error.
3972
3973 1999-11-14 Aubrey Jaffer <[email protected]>
3974
3975 * build.scm (define-compile-commands): Added.
3976 (defcommand): Added.
3977 (platform): formatted; simplified names.
3978
3979 * Makefile (features.txi): Added.
3980
3981 * scm.texi (Build Options): take feature documentation from
3982 "features.txi".
3983
3984 * build (make-features-txi): Creates documentation of build
3985 features from 'features table.
3986
3987 * build.scm (build:define-feature): Added. Feature definitions
3988 moved to top level.
3989
3990 * Init5d1.scm (comment): Added.
3991 (read:sharp): Added `#;' comment syntax, *feature* SHARP:SEMI.
3992
3993 1999-11-09 Radey Shouman <[email protected]>
3994
3995 * sys.c (scm_env_v2lst): Made tolerant to argc of zero,
3996 since ecache_evalx may call it thus for DO loops binding
3997 no values.
3998
3999 * eval.c (debug_env_save): Function for use in ENV_SAVE when the
4000 CAREFUL_INTS paranoid debugging flag is #defined.
4001
4002 (ecache_eval_args): Now calls ecache_evalx(), which
4003 evaluates a list of expressions and returns a list allocated on
4004 the ecache in scm_env_tmp.
4005
4006 (m_do, m_letrec1, ceval_1): LET, LETREC, and DO now call
4007 ecache_evalx instead of using inline loops, this seems to improve
4008 speed by 5% - 10% for jacal and for simsynch simulation. C stack
4009 usage will increase somewhat for large env frames.
4010
4011 (lookupcar): Added support for constant bindings, to be created by
4012 LET, LETREC, LET*.
4013
4014 1999-11-04 Radey Shouman <[email protected]>
4015
4016 * scl.c (dbl_prec): Use dbl_mant_dig in preference of potentially
4017 undefined DBL_MANT_DIG.
4018
4019 1999-11-04 David Yeh <[email protected]>
4020 * scl.c (makdbl): Mods to compile using MSVC
4021
4022 1999-11-01 Aubrey Jaffer <[email protected]>
4023
4024 * gmalloc.c: include "getpagesize.h" conditionalized on __svr4__.
4025
4026 1999-10-31 Aubrey Jaffer <[email protected]>
4027
4028 * build.scm (batch:chop-to-fit-system): Removed. Use new
4029 batch:try-chopped-command instead.
4030 (mysql): Added to features.
4031 (build:build): Added comments describing stages and errors.
4032
4033 1999-10-17 Aubrey Jaffer <[email protected]>
4034
4035 * Makefile: Added platform.txi dependency where dependent on
4036 scm.texi.
4037
4038 1999-10-16 Aubrey Jaffer <[email protected]>
4039
4040 * Makefile (scm.info require.scm): "cp -p" more portable than "cp -a"?
4041
4042 1999-10-15 Radey Shouman <[email protected]>
4043
4044 * sys.c (mode_bits): Fix for null output string case.
4045
4046 1999-10-14 Radey Shouman <[email protected]>
4047
4048 * unif.c (make_sh_array): Reduced consing by using scm_cvapply
4049 instead of apply.
4050
4051 1999-10-13 Radey Shouman <[email protected]>
4052
4053 *sys.c (mode_bits): Now takes an optional buffer which, on exit,
4054 will hold a mode string suitable to pass to fopen(), without any
4055 SCM extension characters.
4056
4057 1999-10-13 Aubrey Jaffer <[email protected]>
4058
4059 * r4rstest.scm (float-print-test): stop after first error.
4060
4061 1999-10-13 Radey Shouman <[email protected]>
4062
4063 * sys.c (try_open_file): Insure that only 'r', 'w', 'b', or '+'
4064 may be included in mode strings passed to fopen.
4065
4066 1999-10-11 Radey Shouman <[email protected]>
4067
4068 * repl.c (scm_freshline): Added FRESHLINE.
4069 * sys.c (init_storage): Make def_outp tracked, so freshline will
4070 work with it.
4071
4072 1999-10-10 Radey Shouman <[email protected]>
4073
4074 * ramap.c (cind): Now takes C vector of indices, which may be
4075 allocated on the C stack, rather than a uve.
4076
4077 (ramapc, ramap, ramap_cxr, array_imap, array_for_each, rafe):
4078 Use scm_cvapply instead of apply, allocate index and argument vectors
4079 on the C stack for array ranks < 5.
4080
4081 * record.c (makrectyp, recprin1): Use scm_cvapply instead of
4082 apply.
4083 (rec_prinset): Checks arity of argument procedure.
4084
4085 * sys.c (sfputc, sfwrite, sfgetc): Use scm_cvapply instead of
4086 apply.
4087 (mksfpt): Checks arities of soft port procedures when the port is made.
4088
4089 * eval.c (scm_cvapply, scm_arity_check): Exported.
4090 (makacro, makmacro, makmmacro): Call scm_cvapply rather than
4091 consing up argument lists. Check arity of macro transformers
4092 once, when syntax is defined.
4093
4094 1999-10-09 Radey Shouman <[email protected]>
4095
4096 * subr.c (make_vector): Fixed broken length argument test.
4097
4098 1999-10-08 Radey Shouman <[email protected]>
4099
4100 * sys.c (scm_env_v2lst): Now takes list tail in scm_env_tmp, so
4101 tail can be allocated on ecache.
4102
4103 1999-10-06 Radey Shouman <[email protected]>
4104
4105 * repl.c (scm_top_level): Print out supplied program arguments for
4106 failure exits to simplify debugging scripts.
4107
4108 * eval.c (varcheck): Fixed for RECKLESS case.
4109
4110 1999-10-04 Radey Shouman <[email protected]>
4111
4112 * eval.c (scm_arity_check, macroexp1): Argument number checking
4113 in macroexp1 abstracted as scm_arity_check, for use in map,
4114 for-each ...
4115 (scm_cvapply): Apply a function to a C vector of arguments, used by
4116 map and for-each.
4117 (scm_v2lst): Added for use in scm_cvapply.
4118 (map, for_each): Speed considerably improved: No longer allocate
4119 Scheme vector temporaries for up to 5 list arguments. No longer
4120 allocate unnecessary argument lists, allocate on ecache if
4121 possible.
4122
4123 * repl.c (iprin1): Print out first elt of cclo environment --
4124 makes record procedures more identifiable.
4125
4126 * sys.c (scm_env_v2lst): Now takes last cdr of list as argument.
4127
4128 1999-09-21 Aubrey Jaffer <[email protected]>
4129
4130 * sys.c (scm_port_entry): Make 16-bit safe.
4131
4132 1999-09-19 Radey Shouman <[email protected]>
4133
4134 * Tscript.scm: File added to implement transcript-on,
4135 transcript-off without burdening normal i/o.
4136
4137 * Init5d1.scm (transcript-on, transcript-off): Now autoloads
4138 from SCM/Tscript.scm
4139
4140 (_TRACKED): Added.
4141
4142 * socket.c (l_socket, l_connect, l_listen): Modified to use
4143 port table.
4144
4145 (l_shutdown, l_getpeername, l_getsockname): Test for OPFPORTP, not
4146 just OPPORTP.
4147
4148 * posix.c (l_pipe): Modified to use port table.
4149 (prinpipe): Removed.
4150
4151 * ioext.c (reopen_file, l_dup, l_dup2): Modified to use port
4152 table.
4153
4154 * crs.c (prinwindow): Removed.
4155
4156 (mkwindow): Uses scm_port_entry.
4157
4158 * repl.c (iprin1): Uses "name" field for printing ports.
4159 (input_waiting, wait_for_input, trans_on, trans_off): Removed in
4160 favor of soft-port implementation.
4161
4162 (lputc, lgetc, lputs, lfwrite, lungetc): Removed check for
4163 transcript, added line and column number support. Unread char now
4164 kept in port table rather than CAR.
4165
4166 (lreadpr, line_num): Removed line counting for load port, now done
4167 using general line and column counting.
4168
4169 (scm_port_line, scm_port_column, scm_port_filename): Added.
4170
4171 (err_head): Now prints out multiple filenames for nested loads.
4172 Tries to recover from recursive errors if current-error-port is a
4173 soft-port.
4174
4175 * unif.c (uve_read): Removed ungetc call, if there is an unread
4176 character, just call lgetc repeatedly for the first elt.
4177
4178 * sys.c (must_malloc, must_realloc): Now check whether the heap
4179 is initialized or not, so may be called earlier.
4180
4181 (scm_init_gra, scm_grow_gra): Use above feature.
4182
4183 (scm_port_entry): Added, allocates entry in a port table used to store
4184 unread characters, file names, line & column numbers, &c.
4185
4186 (mark_port_table, sweep_port_table): Gc support for port table.
4187
4188 ptobfuns now has a "name" element, used for printing.
4189 (prinfport, prinstpt, prinsfpt): Removed.
4190
4191 Sun Sep 12 22:54:58 EDT 1999 Aubrey Jaffer <[email protected]>
4192
4193 * patchlvl.h (SCMVERSION): Bumped from 5d0 to 5d1.
4194
4195 1999-09-12 Aubrey Jaffer <[email protected]>
4196
4197 * x.c (init_x): Load "xevent.scm".
4198
4199 * xtest.scm: Test key-press event.
4200
4201 * xevent.h: Generated by "xgen.scm"
4202
4203 * xevent.scm: Generated by "xgen.scm"
4204
4205 * requires.scm: Sample "require.scm".
4206
4207 1999-09-11 Aubrey Jaffer <[email protected]>
4208
4209 * Xlibscm.texi (Event): Documented x:event-ref.
4210
4211 1999-08-26 Radey Shouman <[email protected]>
4212
4213 * sys.c (scm_egc): More robust test for sufficient cells in
4214 freelist.
4215
4216 1999-08-24 Radey Shouman <[email protected]>
4217
4218 * eval.c (wrapenv): Will no longer wrap an already wrapped
4219 environment.
4220
4221 * repl.c (def_err_response): Now prints "expand-time environment"
4222 message only when relevant.
4223
4224 1999-08-21 Aubrey Jaffer <[email protected]>
4225
4226 * xgen.scm (event-map): Added.
4227
4228 * x.c: Absorbed event_names into "xevent.h".
4229
4230 1999-08-20 Radey Shouman <[email protected]>
4231
4232 * repl.c (def_err_response): Error message for expand-time only
4233 environment.
4234
4235 * eval.c (lookupcar, id_denote): Now handle environment objects
4236 in scm_env, lookupcar will complain if this happens in a run-time
4237 (rather than expand-time) context.
4238
4239 (eval_syntax): Added, to be used in Macroexpand.scm for LET-SYNTAX,
4240 LETREC-SYNTAX.
4241
4242 (ceval_1): Fixed bug in eval.
4243
4244 * scm.h (ENVP): exported macro from eval.c.
4245
4246 1999-08-18 Radey Shouman <[email protected]>
4247
4248 * eval.c (apply): Removed some unreached statements, merged
4249 duplicate code in tc7_specfun case.
4250
4251 1999-08-17 Radey Shouman <[email protected]>
4252
4253 * eval.c: (ceval_1): Made EVAL tail recursive.
4254 Cleaned up some stack tracing cases, renamed POP_TRACE
4255 to TOP_TRACE, since POP_TRACE sounds as though it should be the
4256 inverse of PUSH_TRACE.
4257
4258 (ceval_1): Now modifies stack trace only after an estk
4259 frame may be pushed, that is, when some invocation of eval may
4260 modify the environment. The bottom of the stack trace (the form
4261 being evaluated during a call to a subr) is kept in a global
4262 `scm_trace'. Nested expressions involving primitives now give
4263 more accurate stack traces, without a speed penalty.
4264
4265 (map, for_each): Always push an estk frame for the sake of stack
4266 tracing.
4267
4268 * repl.c (scm_stack_trace): Now may print out the value of the
4269 global `scm_trace' as the top of the stack trace.
4270
4271 1999-08-13 Radey Shouman <[email protected]>
4272
4273 * repl.c: Include <sys/types.h> for Cygwin, needed for select
4274 support macros.
4275 * scmfig.h: Define HAVE_SELECT for the Cygwin environment.
4276
4277 1999-07-23 Radey Shouman <[email protected]>
4278
4279 * repl.c (scm_stack_trace): Put semi colons after frame numbers in
4280 stack trace, rather than colons so emacs will not try to balance
4281 parens.
4282
4283 1999-07-20 Radey Shouman <[email protected]>
4284
4285 * build: Require build.scm in program-vicinity, since build.scm
4286 may not be installed in implementation-vicinity.
4287
4288 1999-07-19 <[email protected]>
4289
4290 * repl.c (def_err_response): Changed setjump to setjmp when
4291 setting up safeport.
4292
4293 1999-07-11 Aubrey Jaffer <[email protected]>
4294
4295 * Makefile (incdir): Added to abstract include directory location.
4296
4297 * xgen.scm: Rewritten. generates xevent.h and xevent.scm from
4298 <Xlib.h>.
4299
4300 * inc2scm (scm<-usr/includes): System include path can be passed
4301 as argument.
4302
4303 1999-07-07 Radey Shouman <[email protected]>
4304
4305 * unif.c (arrayp): Fixed problem with immediate arguments.
4306
4307 (scm_prot2type): Added, abstracts prototype ->
4308 internal-array-type mapping. Accepts positive bignums as uvect
4309 prototypes if they are small enough to be elements of a uvect,
4310 similarly for negative bignums and ivects.
4311
4312 (make_uve, arrayp): Now use scm_prot2type.
4313
4314 SINGLES no longer need to be #DEFINEd in order to allow fvects.
4315
4316 * ramap.c: Modifications for fvects if SINGLES not #DEFINEd.
4317
4318 1999-07-06 Radey Shouman <[email protected]>
4319
4320 * r4rstest.scm: Added named LET test for scope of init forms.
4321 * eval.c (m_let): Changed scope of init forms in named LET, to
4322 conform to R5RS, in response to posting of Allegro Petrofsky
4323 <[email protected]> to comp.lang.scheme
4324
4325 1999-07-04 Aubrey Jaffer <[email protected]>
4326
4327 * crs.c (lwinsch): Renamed from lwinsert. Why were idlok and
4328 nodelay commented out?
4329
4330 1999-07-02 "Dai INUKAI(GAF05" <[email protected]>
4331
4332 * rgx.c: __FreeBSD__ include should be "gnuregex.h".
4333
4334 1999-05-31 Aubrey Jaffer <[email protected]>
4335
4336 * Xlibscm.texi: Pulled out of "scm.texi".
4337
4338 1999-05-29 Aubrey Jaffer <[email protected]>
4339
4340 * scl.c (llog2 lpow10): renamed from log2 and lpow10, which
4341 conflicted with djgpp include file /d/djgpp/include/math.h.
4342
4343 1999-05-15 Dai INUKAI <[email protected]>
4344
4345 * Transcen.scm (expt): R5RS: 0^z is 1 if z = 0 and 0 otherwise.
4346 * r4rstest.scm (test-inexact): Added tests for EXPT of zero.
4347
4348 1999-05-12 Radey Shouman <[email protected]>
4349
4350 * eval.c (lookupcar): Combined some error checking cases.
4351
4352 (scm_macroexpand1):
4353 (scm_extended_env):
4354 (scm_env_ref): Low level support for hygienic macro expansion.
4355
4356 * Macroexpand.scm (macro:expand): Added for hygienic macro expansion.
4357
4358 * Macro.scm (renaming-transformer): Now passes a memoizing RENAME
4359 procedure, so that renaming the same identifier results in renamed
4360 identifiers that are EQV? per "Hygienic Macros Through Explicit
4361 Renaming".
4362
4363 * Init5d0.scm (defconst): Now allows redefinitions without effect
4364 in the sense of EQUAL? rather than EQV? to allow reloading code
4365 defining constant list structure.
4366
4367 1999-05-09 Aubrey Jaffer <[email protected]>
4368
4369 * r4rstest.scm (test-eq?-eqv?-agreement): Added tests for eqv?
4370 vs. eq? agreement discussed in section "Equivalence predicates".
4371
4372 1999-05-09 Arne Glenstrup <[email protected]>
4373
4374 * Makefile (udscm5): Added '-s $(IMPLPATH)' for executable builds.
4375
4376 1999-04-26 Radey Shouman <[email protected]>
4377
4378 * scl.c (inex_divbigbig): Was broken (did not return valid SCM)
4379 for some cases.
4380
4381 1999-04-22 Radey Shouman <[email protected]>
4382
4383 * r4rstest.scm (test-inexact-printing): Added to check that
4384 (EQV? X (STRING->NUMBER (NUMBER->STRING X))) holds for inexact X.
4385
4386 * scl.c (iflo2str): Revamped so that (EQV? X (STRING->NUMBER
4387 (NUMBER->STRING X))) holds for floating point X. Somewhat as in:
4388 Burger & Dybvig
4389 "Printing Floating-Point Numbers Quickly and Accurately"
4390 <http://www.cs.indiana.edu/scheme-repository/doc.publications.html>
4391 But floating point rather than bignum arithmetic is used -- due to
4392 this state of sin one slop factor was introduced. It would be
4393 good to check this on non-IEEE-754 architectures.
4394
4395 (istr2flo): Now reads floating point numbers with exponents somewhat
4396 below -MAXEXP, since this such numbers can be represented with
4397 gradually underflowing denormals.
4398
4399 1999-04-15 Aubrey Jaffer <[email protected]>
4400
4401 * Makefile (require.scm): Added constructor.
4402
4403 1999-04-01 Radey Shouman <[email protected]>
4404
4405 * sys.c (scm_maksubr): Added, returns a subr not (yet) bound to an
4406 interned symbol, abstracts the addition of the subr_table entry.
4407 (make_subr): Now uses scm_maksubr.
4408
4409 * gsubr.c (make_gsubr): Now uses scm_maksubr (was buggily using
4410 old subr name encoding.)
4411
4412 * eval.c (make_synt): Now uses scm_maksubr.
4413
4414 * scm.h: Added prototypes for make_gsubr, scm_maksubr.
4415
4416 1999-03-26 Arne John Glenstrup <[email protected]>
4417
4418 * scm.h (ptobfuns): added const to puts() and fwrite() prototypes.
4419
4420 * gmalloc.c: fixed compilation on hpux.
4421
4422 1999-03-26 Radey Shouman <[email protected]>
4423
4424 * Init5d0.scm (identity): Now a subr: CR.
4425 * eval.c
4426 * gsubr.c
4427 * repl.c
4428 * scm.h
4429 * subr.c
4430 * sys.c (SNAME): Pointers to subr names now kept in a mallocated
4431 data structure, the top 16 bits of the CAR of a subr is an index
4432 into this table. Eventually this should help support eg generic
4433 arithmetic.
4434
4435 1999-03-25 Radey Shouman <[email protected]>
4436
4437 * sys.c (scm_grow_gra): Fixed error in mallocated accounting, made
4438 increment grow with allocated size.
4439
4440 1999-03-22 Aubrey Jaffer <[email protected]>
4441
4442 * Init5d0.scm (exec-self): Undo *script* meta-argument processing.
4443
4444 1999-03-18 Radey Shouman <[email protected]>
4445
4446 * Init5d0.scm (read:sharp): Simplified somewhat; again accepts
4447 '#2((a b c) (1 2 3)) as array read syntax, with warning.
4448
4449 1999-03-17 Radey Shouman <[email protected]>
4450
4451 * unif.c (raprin1): New write syntax for uniform vectors and arrays.
4452 (array2list, list2ura): Fixed for zero-rank arrays.
4453
4454 * Init5d0.scm (read:sharp): New read syntax for uniform vectors
4455 and arrays.
4456
4457 1999-03-16 Radey Shouman <[email protected]>
4458
4459 * x.c (scm2int_pair): Generalized to accept uniform vectors and
4460 arrays.
4461
4462 * eval.c
4463 * ramap.c
4464 * repl.c
4465 * rope.c
4466 * scl.c
4467 * scm.h
4468 * sys.c
4469 * unif.c
4470 Added uniform vector type for signed short integers, tc7_svect.
4471 The prototype is the symbol 'short, the print representation is
4472 not currently readable. (Both items subject to change.)
4473
4474 1999-03-11 Aubrey Jaffer <[email protected]>
4475
4476 * x.c (x:close): Merged from x:close-display and x:destroy-window.
4477 Flushes after closing window.
4478
4479 * x.c: Use OPN and other bits in type-word. Fixed GC of closed
4480 windows and displays.
4481
4482 1999-03-10 Aubrey Jaffer <[email protected]>
4483
4484 * x.c: Added copyright notice.
4485
4486 1999-03-07 Aubrey Jaffer <[email protected]>
4487
4488 * mkimpcat.scm (edit-line): editline -> readline.
4489
4490 * Makefile (mydlls): build edit-line separately to link in
4491 libraries correctly.
4492
4493 1999-02-17 Aubrey Jaffer <[email protected]>
4494
4495 * build.scm, mkimpcat.scm, x.c, x.h, x11.scm, xgen.scm, xscm.doc,
4496 xtest.scm: Xlib interface from xscm-2.01
4497
4498 1999-02-12 Hakan L. Younes <[email protected]>
4499
4500 * build.scm, findexec.c, scm.c, scm.texi, scmfig.h, time.c:
4501 amiga-gcc port.
4502
4503 1999-02-11 Aubrey Jaffer <[email protected]>
4504
4505 * repl.c (scm_warn): renamed from warn().
4506
4507 1999-02-04 Radey Shouman <[email protected]>
4508
4509 * setjump.h
4510 * repl.c (scm_stack_trace):
4511 * sys.c (safewrite):
4512 Made all safeport operations consistently use the standard C
4513 setjmp, longjmp, and jmp_buf.
4514
4515 1999-01-27 Aubrey Jaffer <[email protected]>
4516
4517 * build.scm (build): -Dfreebsd no longer necessary for freebsd
4518 builds.
4519
4520 * findexec.c: freebsd -> __FreeBSD__.
4521 * ioext.c: freebsd -> __FreeBSD__.
4522 * time.c: freebsd -> __FreeBSD__.
4523
4524 1999-01-27 Bakul Shah <[email protected]>
4525
4526 * sys.c (add_final): Fixed call to scm_grow_gra.
4527
4528 * subr.c (promisep): Added PROMISE?
4529
4530 1999-01-23 Aubrey Jaffer <[email protected]>
4531
4532 * build.scm (obj->): Added (was called but not defined).
4533
4534 1999-01-17 Aubrey Jaffer <[email protected]>
4535
4536 * build.scm (read-version): 5d0 READ as a number; Assemble
4537 characters till whitespace.
4538
4539 Sun Jan 17 14:52:11 EST 1999 Aubrey Jaffer <[email protected]>
4540
4541 * patchlvl.h (SCMVERSION): Bumped from 5c4 to 5d0.
4542
4543 1999-01-16 Aubrey Jaffer <[email protected]>
4544
4545 * ramap.c (init_ramap): definition for ARRAY-INDEXES added.
4546
4547 * scmmain.c (generic_name): Added (local char** init wasn't
4548 portable).
4549
4550 1999-01-12 Aubrey Jaffer <[email protected]>
4551
4552 * Makefile (version.txi): support added.
4553
4554 * scm.texi (SCM_VERSION): abstracted to version.txi.
4555
4556 1999-01-12 Aubrey Jaffer <[email protected]>
4557
4558 * build (make-readme): moved (require 'posix) here.
4559
4560 1999-01-11 Aubrey Jaffer <[email protected]>
4561
4562 * build.scm (read-version): simplified.
4563
4564 * build (make-readme): added. Makes README from scm5c4.info.
4565
4566 1999-01-11 Aubrey Jaffer <[email protected]>
4567
4568 * Makefile (README): added target.
4569
4570 * build (print-manifest): added.
4571
4572 * scm.texi: Added spacing workaround for Texinfo @deftypefun bugs.
4573 (Problems *): @table --> @multitable.
4574 (Standards Compliance): Updated for R5RS.
4575 (SCM Options): fixed - and --; @minus{} breaks TeX!
4576
4577 1999-01-10 Aubrey Jaffer <[email protected]>
4578
4579 * scm.texi (Scripting): renamed from Shell Scripts. Reorganized;
4580 rewrote examples.
4581 (SCM Options): fixed -- as well as texinfo can.
4582
4583 * Init5c4.scm (boot-tail): load *script* if not done by options.
4584
4585 * script.c (script_process_argv): Allow space between #! and
4586 pathname.
4587
4588 * scm.c (scm_init_from_argv): gets additional argument
4589 `script_arg', which becomes the value of *script*.
4590
4591 * ioext.c (director-for-each): fail gracefully if can't open
4592 directory.
4593
4594 1999-01-08 Aubrey Jaffer <[email protected]>
4595
4596 * scm.texi (Smob Cells): Explained NUMDIGS_MAX limit.
4597
4598 * sys.c (init_storage): Added check for NUMDIGS_MAX.
4599
4600 * scmfig.h (NUMDIGS_MAX): moved from "scm.h". Reduced to 1000
4601 (4816 decimal digits).
4602
4603 1999-01-04 Aubrey Jaffer <[email protected]>
4604
4605 * scm.texi (Embedding SCM): Added libtest.c example.
4606
4607 * Makefile (libtest): Added target.
4608
4609 * scm.c (dirsep): added variable.
4610
4611 * repl.c (heap_report): Only call scm_brk_report() if scm_init_brk
4612 has been set.
4613
4614 1999-01-04 Aubrey Jaffer <[email protected]>
4615
4616 * scm.texi (Unix Shell Scripts): merged in "SCSH scripts".
4617 Removed description of single non-\ argument on first script line.
4618
4619 1999-01-03 Aubrey Jaffer <[email protected]>
4620
4621 * scm.texi (Embedding SCM): Rewrote.
4622
4623 * repl.c (scm_top_level): Pass initpath string to boot-tail
4624 (rather than #t) for dumped executables.
4625
4626 * scmfig.h (RTL): removed. main() is now in scmmain.c.
4627
4628 * build.scm (C-libraries): Added `lib', which excludes
4629 "scmmain.c"; Removed RTL flag.
4630
4631 * dynl.c (init_dynl): Don't try to compute execpath.
4632
4633 * script.c (find_impl_file): Renamed from scm_find_impl_file.
4634 Fixed reduntant "lib" check. Added tests for executable-name peer
4635 and generic peer directories.
4636
4637 * Init5c4.scm (set-vicinities!): Simplified. Now takes init-file
4638 argument.
4639
4640 * scmmain.c: created, stealing main() and scm_find_implpath() from
4641 "scm.c".
4642
4643 * scm.c (scm_find_impl RTL main): removed.
4644
4645 1999-01-02 Aubrey Jaffer <[email protected]>
4646
4647 * repl.c, scm.c: moved initpath==0 argument handling from main to
4648 scm_top_level().
4649
4650 * Makefile: Redundant DFLAG = -DIMPLINIT=\"$(IMPLINIT)\" removed.
4651 IMPLINIT still #defined by scmflags.h.
4652
4653 1998-12-18 Aubrey Jaffer <[email protected]>
4654
4655 * Link.scm (compile-file): Converted from replace-suffix to
4656 filename:substitute??.
4657
4658 * build.scm (c->): Added.
4659 (c->o): Added.
4660 (c->obj): Added.
4661 (obj->exe): Converted from replace-suffix to filename:substitute??.
4662
4663 1998-12-15 Radey Shouman <[email protected]>
4664
4665 * eval.c (ecache_eval_args): Added, allocates an environment frame
4666 in the ecache and does argument number checking for closures with
4667 >= 3 arguments (and no rest argument).
4668 (asubr_apply): Added to apply multiargument rpsubrs and asubrs without
4669 consing.
4670
4671 * sys.c (scm_env_v2lst): Added for ecache_eval_args, builds a list
4672 of ecache cells from an argument vector.
4673
4674 1998-12-14 Radey Shouman <[email protected]>
4675
4676 * eval.c (m_lambda, closure): Now checks that argc <= 3 during
4677 memoization instead of each time a closure is made.
4678 (macroexp1): Gives more sensible error messages when a
4679 non-identifier non-list is in the function position.
4680
4681 1998-12-10 Radey Shouman <[email protected]>
4682
4683 * (scm_top_level, repl): Made repl an acceptable second argument to
4684 scm_top_level.
4685
4686 1998-12-09 Aubrey Jaffer <[email protected]>
4687
4688 * sys.c (VERIFY_INTS): Pass 0L rather than 0 for null pointer args.
4689
4690 * scm.c: Pass 0L rather than 0 for null pointer args.
4691
4692 * rgx.c (lregerror): Pass 0L rather than 0 for null pointer args.
4693
4694 1998-12-09 Radey Shouman <[email protected]>
4695
4696 * repl.c (scm_top_level): Now takes a second argument, toplvl_fun,
4697 which is a function of no arguments returning SCM. If this
4698 variable is non-null, it will be called instead of repl(), if
4699 toplvl_fun returns BOOL_T, it may be called again, otherwise
4700 scm_top_level will return.
4701
4702 Now checks that BOOT-TAIL is non-immediate before applying it, so
4703 that it becomes optional.
4704
4705 * scm.c (run_scm): Deleted, subsumed by main().
4706
4707 * patchlvl.h (INIT_FILE_NAME): #defined even for RTL case. The
4708 init file is probably useful even if the default top level is not
4709 used.
4710
4711 * eval.c (varcheck): Now counts required arguments so m_lambda
4712 doesn't have to.
4713
4714 1998-12-08 Radey Shouman <[email protected]>
4715
4716 * Macro.scm (Macro:compile-syntax-rules) Check that car of each
4717 rule is a pair.
4718
4719 1998-12-08 Aubrey Jaffer <[email protected]>
4720
4721 * scm.c (main): Changed argc==0 argv[0] from "scm" to
4722 GENERIC_NAME.
4723
4724 1998-12-06 Aubrey Jaffer <[email protected]>
4725
4726 * scm.texi (Embedding SCM): Changed from "Calling Scheme From C".
4727
4728 * scm.c (scm_execpath scm_find_executable): moved from repl.c.
4729 (init_banner): Changed to use pre-processor concatenation.
4730 (main): modularized.
4731 (run_scm): freeall argument added to control calling of
4732 free_storage().
4733
4734 * repl.c (scm_top_level): initpath with leading '(', ';', or
4735 whitespace taken as string to load (rather than filename).
4736 (init_sbrk): extracted from main().
4737
4738 * dynl.c (init_dynl): ifdef RTL removed.
4739
4740 1998-12-06 Radey Shouman <[email protected]>
4741
4742 * subr.c
4743 * scl.c (scm_intexpt): Special cases for arithmetic that can be
4744 done with native C types. Moved from subr.c to scl.c because of
4745 FLOAT dependencies.
4746
4747 * eval.c (lookupcar, ceval_1): Added MEMOIZE_LOCALS cpp macro to
4748 control memoization of local variables to ilocs.
4749
4750 1998-12-05 Aubrey Jaffer <[email protected]>
4751
4752 * repl.c (tryload): Removed TAIL_RECURSIVE_LOAD version.
4753 (scm_top_level): If string argument starts with whitespace, `)', or
4754 `;', then call scm_ldstr() with argument rather than scm_ldfile().
4755
4756 * build.scm (compile-dll-c-files linux): delete .o after making .so.
4757
4758 * scm.c (init_scm): Rest of inits moved into.
4759 (final_scm): Handles finals.
4760 (scm_init_from_argv): Handles universal argv processing;
4761 platform-dependent argv processing remains in main().
4762
4763 1998-12-04 Radey Shouman <[email protected]>
4764
4765 * repl.c (def_err_response): Fixed to print stack trace even if
4766 err_exp is not defined.
4767
4768 * repl.c
4769 * sys.c
4770 * scm.h errjmp_bad is now a pointer to a string, rather than an
4771 int, so that the final error message can say in which critical
4772 code section the error occured.
4773
4774 1998-12-03 Aubrey Jaffer <[email protected]>
4775
4776 * repl.c (scm_top_level): renamed from repl_driver.
4777
4778 1998-12-03 Radey Shouman <[email protected]>
4779
4780 * scl.c (makdbl): Combined some DEFER_INTS and ALLOW_INTS,
4781 possible because NEWCELL is now callable with ints deferred.
4782 (product, divide): Now scale bignums if necessary before
4783 converting them to doubles for calculating inexact results.
4784 (big2scaldbl, bigdblop, inex_divbigbig): Auxiliary functions
4785 added.
4786 (idbl2str): Decrease minimum exponent to allow printing of
4787 gradually underflowing IEEE doubles.
4788
4789 * scm.c (setitimer): Made each option individually controlled by #ifdef,
4790 now returns #f instead of error if given an unsupported option.
4791
4792 * Init5c4.scm This is used to initialize the appropriate alarm
4793 procedures.
4794
4795 1998-12-02 Radey Shouman <[email protected]>
4796
4797 * scm.h (NUMDIGS): Added cast so that NALLOC error reports would
4798 print correctly.
4799
4800 1998-12-02 Aubrey Jaffer <[email protected]>
4801
4802 * setjump.h: windframe removed -- dowinds could only be processed
4803 while (possibly oversize) stack was intact.
4804
4805 * scm.h (ARGn .. PROF_SIGNAL): Special err_pos values renumbered
4806 from 1; this allows 0 to indicate message has been printed.
4807 (dynwinds): restored to sys_protects.
4808
4809 * repl.c (repl_driver): dowinds() call moved from abrt(), quit(),
4810 and restart(); dowinds() now done after longjump.
4811 (repl_driver): cur_inp being closed now indicates that SCM should
4812 exit -- after printing error messages.
4813 (def_err_response): err_pos = 0 after printing message. If
4814 err_pos==0, don't print message.
4815
4816 * Init5c4.scm (fluid-let): Shrunk using multi_set returns.
4817
4818 * eval.c (scm_multi_set): Now returns new list of old values.
4819
4820 * scm.c (l_pause): DJGPP2.0 lacks ITIMER_VIRTUAL; can't quit SCM!
4821 #undef SIGPROF if ITIMER_VIRTUAL not defined.
4822
4823 * sys.c (reset_safeport): fixed 16-bit argument to
4824 must_malloc_cell.
4825 (dowinds): fixed limit case behavior.
4826
4827 1998-12-01 Aubrey Jaffer <[email protected]>
4828
4829 * Init5c4.scm (fluid-let): defmacro added.
4830
4831 * eval.c (scm_multi_set): Added. (set! (a b c) (list 10 20 30))
4832 sets 3 variables.
4833
4834 * sys.c (dowinds): Eliminated second argument.
4835 (dynwinds): No longer a sysprotect.
4836
4837 * setjump.h (windframe): Dynamic wind information now kept in
4838 linked struct windframe on C-stack.
4839
4840 1998-12-01 Radey Shouman <[email protected]>
4841
4842 * sys.c safeport now includes jmp_buf, to which it will longjump
4843 after writing its character limit. This makes it safe to print
4844 out possibly circular structures in error handling routines.
4845 (reset_safeport): Now returns non-zero only if its argument
4846 really was a safeport.
4847
4848 * setjump.h (SAFEP_JMPBUF): Macro accessor for the jmp_buf,
4849 setjump *must* be called with this argument before using a
4850 safeport.
4851
4852 * repl.c (scm_stack_trace, def_err_response): Use new
4853 safeport features.
4854
4855 * Macro.scm (substitute-in-template): Added check that all pattern
4856 variables combined in an ellipsis template have the same length.
4857
4858 1998-11-29 Aubrey Jaffer <[email protected]>
4859
4860 * scm.texi (Socket): examples updated to use wait-for-input; no
4861 longer spin-wait.
4862
4863 * repl.c (wait_for_input): `select'-like procedure added.
4864 (char_readyp): now supported by DJGPP.
4865
4866 * ioext.c (l_putenv lexec*): DJGPP now supports.
4867
4868 * scm.c (l_raise SIGALRM): DJGPP now supports.
4869
4870 * scmfig.h: include <float.h> now seems safe for DJGPP.
4871
4872 1998-11-28 Aubrey Jaffer <[email protected]>
4873
4874 * scm.texi (Data Type Representations): PTOBs had wrong code and
4875 lsubr was missing!
4876
4877 1998-11-26 Aubrey Jaffer <[email protected]>
4878
4879 * repl.c (def_err_response): Now truncates ALL long expressions
4880 being printed.
4881
4882 * sys.c (must_malloc must_malloc_cell): 0 -> 0L to fix 16-bit
4883 scmlit.
4884
4885 1998-11-26 Radey Shouman <[email protected]>
4886
4887 * eval.c (ceval, env2tree, ident_eqp): Removed redundant
4888 DEFER_INTS_EGC before ENV_PUSH.
4889 (ceval_1): Removed label retunspec, replaced by jumps to
4890 retx. Seems to run a tad faster, be a little easier to look at.
4891 (copy_list): Now takes second argument giving minimum length of
4892 list, allowing the removal of several calls to ilength.
4893 (m_case, m_cond, ceval_1): ilength checks replaced.
4894
4895 1998-11-25 Radey Shouman <[email protected]>
4896
4897 * repl.c (scm_stack_trace): Changed numbering of stack frames.
4898 (def_err_response): Now prints erring expression before
4899 stack trace.
4900 (init_tables): Removed unnecessary assignment to
4901 scm_verbose, which was already 1 under any circumstances.
4902 (def_err_response): Now truncates long expressions being
4903 printed.
4904 (err_head): More robust test for output to stderr, to
4905 decide whether to call perror or not.
4906
4907 * sys.c (init_types): Initialize sys_safep to tmp_errp.
4908 (reset_safeport): Now does exactly nothing if handed a
4909 non-safe-port.
4910 (init_types, init_storage): Moved initialization of tmp_errp and
4911 sys_protects earlier, in case allocating ptobs or smobs causes
4912 errors to be thrown.
4913
4914 1998-11-24 Radey Shouman <[email protected]>
4915
4916 * scm.h (NUM_IFLAGS): Added to make COOKIE, UNCOOK definitions a
4917 little easier to read.
4918
4919 * sys.c (reset_safeport): Added, resets count and optionally
4920 parent port on a safe-port.
4921 (sys_safep): New sys_protect, so stack-trace doesn't have to
4922 allocate pairs for a safe-port.
4923
4924 * repl.c (scm_stack_trace): Now uses sys_safep and reset_safeport.
4925 (def_err_response, handle_it, repl_driver, everr):
4926 Now checks and dies horribly but predictably if def_err_response
4927 is recursively entered.
4928
4929 1998-11-20 Radey Shouman <[email protected]>
4930
4931 * eval.c (env2tree): Check for undefineds in environment to
4932 prevent endless loop, substitute #<unspecified>.
4933 * repl.c (stack_trace): Now uses safe ports, prints "STACK TRACE"
4934 message (I don't remember when that disappeared) and prints at
4935 most 12 traced frames.
4936
4937 * sys.c (makesafeport, safewrite, safeputs, safeputc):
4938 (safeflush): Added support for `safe' ports for error messages,
4939 which will accept and re-output only a fixed number of
4940 characters. Subsequent characters are simply discarded.
4941
4942 1998-11-19 Radey Shouman <[email protected]>
4943
4944 * record.c (rec_error, rec_accessor1, rec_modifier1):
4945 (rec_constr1): Better error reporting, including the name of the
4946 expected record type and the relevant field.
4947
4948 (rec_prinset): Added PRINTER field to RTDs so they may be printed
4949 by a user- specified procedure. Scheme signature:
4950 (RECORD-PRINTER-SET! RTD PRINT-PROCEDURE) where PRINT-PROCEDURE
4951 takes as arguments the record and a port.
4952
4953 Added local accessor macros for record & rtd fields, removed
4954 questionable union type declarations.
4955
4956 1998-11-18 Radey Shouman <[email protected]>
4957
4958 * Macro.scm (macro:compile-syntax-rules): Minor cleanup, made
4959 internal rule representation a record type rather than list.
4960 (renaming-transformer): Added to support `explicit
4961 renaming' low-level macros.
4962
4963 * eval.c (varcheck, m_lambda): Some checks moved from m_lambda
4964 to varcheck, argument added to varcheck to give different message
4965 (about "formals") in case of lambda.
4966 (ENVP): Added predicate macro local to eval.c.
4967
4968 1998-11-16 Radey Shouman <[email protected]>
4969
4970 * eval.c (varcheck): Renamed from uniqcheck, now checks that
4971 elements are identifiers so m_do, m_lambda, m_letrec1 don't have to.
4972
4973 * Init5c4.scm (alarm-interrupt, profile-alarm-interrupt):
4974 (virtual-alarm-interrupt): Now initially defined to turn off their
4975 respective alarms, so that restarting does not cause an error when
4976 an alarm is pending.
4977
4978 * sys.c (gc_mark): Now marks the header of smobs and ptobs, so the
4979 mark function doesn't have to.
4980 * unif.c:
4981 * record.c:
4982 * rgx.c:
4983 * rope.c:
4984 * scm.h: Ptob and smob mark functions modified to not mark headers.
4985
4986 1998-11-15 Radey Shouman <[email protected]>
4987
4988 * eval.c (bodycheck): Removed, was only used in m_do.
4989 (m_do): No longer calls bodycheck.
4990 (lookupcar): No longer memoizes if no checking is to be done, eg
4991 if doing speculative expansion.
4992 (macroexp1): Now saves car in local variable to avoid calling
4993 unmemocar.
4994 (uniqcheck): Added, checks for non-unique identifiers in a binding
4995 list.
4996 (m_lambda, m_letrec1, m_do): Now check for duplicate bound
4997 names.
4998
4999 1998-11-13 Radey Shouman <[email protected]>
5000
5001 * unif.c (shap2ra): better error checking of dimension specs
5002
5003 1998-11-12 Aubrey Jaffer <[email protected]>
5004
5005 * scmfig.h (SCM_NEED_FDS SCM_INTERRUPTED): added argument to make
5006 clear that this is not a constant.
5007
5008 1998-11-11 Radey Shouman <[email protected]>
5009
5010 * scmfig.h (SCM_INTERRUPTED): Abstracted the interrupted test from
5011 SYSCALL.
5012 (SCM_OPENCALL): Similar to SYSCALL, but will gc to reclaim
5013 file descriptors.
5014
5015 * sys.c (try_open_file): Now uses SCM_OPENCALL.
5016 (gc_for_open_files): Added.
5017
5018 * ioext.c:
5019 * posix.c:
5020 * socket.c: File opening system calls now use SCM_OPENCALL.
5021 If an open fails because there are no unused file handles, GC for
5022 for file handles.
5023
5024 1998-11-11 Aubrey Jaffer <[email protected]>
5025
5026 * Init5c4.scm (vicinity:suffix?): Abstracted from
5027 pathname->vicinity and "Link.scm".
5028
5029 1998-11-08 Aubrey Jaffer <[email protected]>
5030
5031 * sys.c, scm.c, record.c, ramap.c: Changed some intern -> sysintern.
5032
5033 * build.scm (compile-c-files linux): gcc -O2 produces unreliable
5034 objects for Cyrix 6x86 processor; -O2 option removed.
5035
5036 1998-11-05 Aubrey Jaffer <[email protected]>
5037
5038 * ioext.c (init_ioext, provide 'directory-for-each) changed to
5039 add_feature("directory-for-each"); so ioext.o can be statically
5040 linked.
5041
5042 1998-11-04 Radey Shouman <[email protected]>
5043
5044 * scm.h (ESTK_PARENT, ESTK_PARENT_WRITABLEP):
5045 (ESTK_PARENT_INDEX): SCM_ prepended, definition moved to scm.h,
5046 now used in repl.c.
5047
5048 * repl.c (handle_it): Fixed so stack traces extend before
5049 interrupt handler calls.
5050 (scm_stack_trace): Fixed for segmented environment stack.
5051
5052 1998-11-03 Aubrey Jaffer <[email protected]>
5053
5054 * repl.c (def_err_response): print out errobj if short string; if
5055 long string, print out first 57 characters and "...". This makes
5056 messages about not finding Init???.scm more informative.
5057
5058 Tue Nov 3 17:41:40 EST 1998 Aubrey Jaffer <[email protected]>
5059
5060 * patchlvl.h (SCMVERSION): Bumped from 5c3 to 5c4.
5061
5062 1998-11-03 Aubrey Jaffer <[email protected]>
5063
5064 * ioext.c (directory-for-each): Added.
5065
5066 * Makefile (build): Added to TAGS.
5067
5068 1998-11-02 Radey Shouman <[email protected]>
5069
5070 * sys.c (makcclo): Fixed argument to ASSERT.
5071
5072 1998-11-02 Aubrey Jaffer <[email protected]>
5073
5074 * record.c rgx.c scm.texi socket.c subr.c sys.c unif.c: Callers to
5075 must_malloc and friends now check that length will fit in field.
5076
5077 * scmfig.h sys.c (SHORT_SIZET): Added to detect whether sizet
5078 width or LENGTH field more restrictive.
5079
5080 * rope.c (must_free_argv): changed to use must_free.
5081
5082 * scm.h (LENGTH_MAX): Changed from fixed constant to cpp computed.
5083 (NUMDIGS_MAX): Added.
5084
5085 1998-11-01 Aubrey Jaffer <[email protected]>
5086
5087 * sys.c (gc_sweep): Continuation storage was not being counted
5088 when freed.
5089
5090 * time.c (your_time): fixed scaling so numbers returned use full
5091 INUM range.
5092
5093 1998-10-29 Radey Shouman <[email protected]>
5094
5095 * eval.c (m_and, m_or): Special case for one argument.
5096
5097 1998-10-28 Radey Shouman <[email protected]>
5098
5099 * setjump.h
5100 * sys.c (scm_make_cont, scm_dynthrow, egc_copy_roots):
5101 No longer copy scm_estk if CHEAP_CONTINUATIONS is #defined.
5102
5103 * eval.c (ceval_1): Fix up environment stack accounting for
5104 CHEAP_CONTINUATIONS.
5105
5106 1998-10-27 Aubrey Jaffer <[email protected]>
5107
5108 * scm.c (scm_init_extensions): Added call to init_user_scm
5109 for RTL case.
5110 Moved #ifndef RTL to insure DIRSEP and GENERIC_NAME are #defined
5111 for RTL case.
5112
5113 * build.scm Now builds archive called libscm.a rather than scm.a
5114
5115 1998-10-20 Aubrey Jaffer <[email protected]>
5116
5117 * Init5c3.scm (with-XXX-to-port): Oops. fixed earlier change.
5118
5119 1998-10-19 Aubrey Jaffer <[email protected]>
5120
5121 * scm.texi (Build Options): Build platform table in Makefile and
5122 @include.
5123
5124 1998-10-19 Radey Shouman <[email protected]>
5125 * dynl.c (l_dyn_call, l_dyn_main_call): Now use new P_SHL macro,
5126 prevents compiler warning under hpux.
5127
5128 * sys.c (scm_free_gra): Now sets elts pointer to zero.
5129 (free_storage): scm_free_gra now sets smobs and ptobs to zero.
5130 (egc_sweep): Give dead cells immediate values, prevents obscure
5131 gc bug seen in hpux.
5132
5133 * sys.c (scm_estk_grow, scm_estk_shrink): Deleted incorrect
5134 DEFER/ALLOW_INTS.
5135
5136 (init_storage): SHORT_INT fixconfig message now suggests changing
5137 scmfig.h rather than setjump.h
5138
5139 1998-10-16 Basile STARYNKEVITCH <[email protected]>
5140
5141 * repl.c (lreadr): linum now incremented for LINE_INCREMENTORS
5142 within strings.
5143
5144 1998-10-16 Aubrey Jaffer <[email protected]>
5145
5146 * scmfig.h (SHORT_INT): __alpha is.
5147
5148 1998-10-14 Radey Shouman <[email protected]>
5149
5150 * eval.c (apply): Deleted redundant DEFER_INTS_EGC, added
5151 ALLOW_INTS_EGC to closure apply case.
5152
5153 1998-10-13 Radey Shouman <[email protected]>
5154
5155 * sys.c (egc_copy_stack): Provide strict bound on live locations.
5156
5157 * eval.c (apply): Added default case for tc7_specfun type,
5158 replaces special handling for (apply apply ...) and (apply
5159 call-with-current-continuation ...)
5160
5161 1998-10-12 Radey Shouman <[email protected]>
5162
5163 * scm.h (ISYMSETVAL): renamed to MAKISYMVAL.
5164
5165 * sys.c (scm_estk_reset): Now takes an argument giving the size of
5166 the environment stack to create, 0 gives a default size.
5167
5168 (scm_estk_grow, scm_estk_shrink): Rewritten to use segmented
5169 stack, so all of the stack need not be copied when the stack grows
5170 or when a continuation is captured.
5171
5172 (scm_env_cons, scm_env_cons2, scm_env_cons_tmp):
5173 (scm_extend_env): Rewritten using local temporary for indexing
5174 into ecache.
5175
5176 1998-10-06 Radey Shouman <[email protected]>
5177
5178 * scm.c: SIGPROF #undefined if LACK_SETITIMER is #defined, needed
5179 to build profiling version of SCM.
5180
5181 1998-10-06 Aubrey Jaffer <[email protected]>
5182
5183 * build.scm (read-version): Will use implementation-vicinity if
5184 scm-srcdir does not contain "patchlvl.h".
5185
5186 1998-10-03 Radey Shouman <[email protected]>
5187
5188 * scm.c (run_scm): Fixed finals call loop
5189
5190 1998-10-02 Aubrey Jaffer <[email protected]>
5191
5192 * unif.c, sys.c, subr.c, socket.c, scm.h, scl.c, rgx.c, posix.c:
5193 Fixed argument types in calls to must_malloc_cell().
5194
5195 * scm.h, repl.c, dynl.c, continue.h:
5196 CodeWarrior-Pro-3 port from Bob Schumaker <[email protected]>
5197
5198 1998-10-01 Bob Schumaker <[email protected]>
5199
5200 * dynl.c: must_free_argv() was called with extra argument!
5201
5202 * continue.h (SHORT_ALIGN): Port for `CodeWarrior Pro 3'.
5203
5204 * repl.c, scm.h: declarations added for `CodeWarrior Pro 3'.
5205
5206 1998-09-29 Aubrey Jaffer <[email protected]>
5207
5208 * Link.scm (link-named-scm): simplified; prepping for hobbit5.
5209
5210 1998-09-29 Radey Shouman <[email protected]>
5211
5212 * scm.c Added SIGVTALRM callback.
5213
5214 * Init5c3.scm (profile-alarm-timer): Renamed from profile-timer,
5215 (virtual-alarm-timer): added.
5216
5217 * sys.c (must_malloc_cell): Takes an argument specifying the CAR
5218 of the cell to be returned.
5219
5220 * scm.h (MAKE_LENGTH, MAKE_NUMDIGS): Preprocessor macros added.
5221
5222 1998-09-29 Aubrey Jaffer <[email protected]>
5223
5224 * build (build-from-argv): slib:warns if not successful.
5225 (bi): Exits with error indication when build not successful.
5226
5227 * build.scm (build): Sense was wrong; heap-can-shrink renamed
5228 no-heap-shrink
5229 (batch:rebuild-catalog): always return #t.
5230
5231 1998-09-22 Radey Shouman <[email protected]>
5232
5233 * sys.c (scm_init_gra, scm_grow_gra, scm_free_gra): GRowable
5234 Array type.
5235 (newsmob, newptob, add_final): Implemented using scm_gra type.
5236
5237 1998-09-18 Radey Shouman <[email protected]>
5238
5239 * Init5c3.scm (profile-timer, milli-alarm): Defined in terms of
5240 SETITIMER.
5241
5242 * sys.c (sysintern): No longer changes the CDR of an existing
5243 symhash value cell if second argument is UNDEFINED. For use with
5244 scm_setitimer, which uses symbols as keys, but not as identifiers.
5245
5246 * scm.c (scm_proftimer): Removed.
5247 (scm_setitimer): Added, interface to setitimer/getitimer allowing
5248 use of ITIMER_REAL, ITIMER_VIRTUAL, ITIMER_PROF.
5249
5250 1998-09-18 Aubrey Jaffer <[email protected]>
5251
5252 * posix.c (scm_getgroups): added scm_protect_temp(&grps);
5253
5254 1998-09-17 Aubrey Jaffer <[email protected]>
5255
5256 * Init5c3.scm (with-input-from-port, with-output-to-port):
5257 (with-error-to-port): Replicated procedure rather than using
5258 SWAPPORTS twice. This in combo with repl.c change fixes Radey's
5259 strange multi-process bug!
5260
5261 * repl.c (set_inp set_outp set_errp): Made variable swap atomic.
5262 Also changed so port argument can be closed.
5263
5264 1998-09-17 Radey Shouman <[email protected]>
5265
5266 * sys.c (init_storage): Fixed estk initialization to work when
5267 restarted.
5268
5269 1998-09-16 Radey Shouman <[email protected]>
5270
5271 * Init5c3.scm (read:sharp-char): Added, parses emacs style meta
5272 and control char syntax.
5273
5274 * repl.c (lreadpr): Added callout to READ:SHARP-CHAR for otherwise
5275 undefined #\ read sequences, memoized references to READ:SHARP.
5276
5277 * unif.c (resizuve): Fixed accounting of mallocated storage for
5278 strings and bitvectors.
5279
5280 * sys.c (igc_for_alloc, must_malloc, must_realloc):
5281 (must_malloc_cell):
5282 (must_realloc_cell): Fixed accounting of mallocated storage.
5283
5284 (igc): Added malloc consistency check for patched gmalloc, conditional
5285 on #define DEBUG_GMALLOC.
5286
5287 (gc_sweep): Fixed accounting of bignum storage for DIGSTOOBIG case.
5288
5289 (intern): Avoid possible race condition by deferring ints during
5290 search.
5291
5292 * scm.c (process_signals): Process from low numbers to higher, ala
5293 Unix signals. More fatal errors should come earlier in the list.
5294
5295 Fri Sep 11 17:25:14 EDT 1998 Aubrey Jaffer <[email protected]>
5296
5297 * patchlvl.h (SCMVERSION): Bumped from 5c2 to 5c3.
5298
5299 1998-09-11 Radey Shouman <[email protected]>
5300
5301 * gmalloc.c: Imported gmalloc.c from emacs 20.2.1.
5302
5303 (check_block, check_frag_blocks): Debugging functions added.
5304
5305 * sys.c (scm_protect_temp): Added, is currently, and probably will
5306 remain, a noop to force allocation of a SCM temporary on the
5307 stack.
5308
5309 * scl.c (big2str): Added call to scm_protect_temp.
5310
5311 * eval.c (map, for_each): Added calls to scm_protect_temp.
5312
5313 * rgx.c (lregcomp): Added call to scm_protect_temp.
5314
5315 1998-09-04 Radey Shouman <[email protected]>
5316
5317 * scl.c (big2str): Take address of SCM temporary as gc protection.
5318
5319 1998-09-02 Aubrey Jaffer <[email protected]>
5320
5321 * dynl.c (l_dyn_link):
5322 conditionalized message on verbose. Cleaned up message.
5323
5324 * Link.scm (link:link):
5325 prepend ./ to non-absolute sun-dl library paths.
5326
5327 * scm.texi, scm.doc, scm.1, r4rstest.scm, README, Init5c2.scm, ANNOUNCE:
5328 ...-swiss => swissnet
5329
5330 * scm.h (verbose): read only macro for scm_verbose.
5331
5332 * repl.c (scm_verbose): renamed from verbose.
5333
5334 1998-08-31 Radey Shouman <[email protected]>
5335
5336 * scmfig.h (VERIFY_INTS): Added macro to print warnings if
5337 interrupts are improperly allowed and CAREFUL_INTS is #defined.
5338
5339 (VOLATILE): Expands to `volatile' keyword if __STDC__ is #defined.
5340
5341 * sys.c (sys_errp): Interrupt safe system output port added.
5342 (scm_estk_reset, must_malloc, must_realloc, scm_make_cont):
5343 Now should be run with ints deferred, no longer ever allow ints.
5344 scm-estk_reset builds a new stack if scm_estk is BOOL_F.
5345
5346 * scm.c (process_signals): Modified to print deferred output to
5347 sys_errp.
5348
5349 * eval.c (SCM_ENV_SAVE, SCM_ENV_RESTORE): now ENV_SAVE,
5350 ENV_RESTORE, local to eval.c
5351 (apply, ceval_1): Ints deferred before call to scm_make_cont,
5352 which no longer allows ints.
5353 (closure): Now takes the number of required closure arguments as a
5354 second argument.
5355 (m_lambda): Computes and memoizes the number of required arguments.
5356
5357 * repl.c (iprlist): Uses GCCDR so that fatal error messages during
5358 gc may print better.
5359 (handle_it): Call to scm_egc made conditional on NO_ENV_CACHE.
5360 (growth_mon, gc_start, gc_end, heap_report): Now use
5361 sys_errp.
5362 (ints_warn): Added for interrupt warnings using VERIFY_INTS.
5363 (scm_stack_trace): Now completely prints stacks up to 20 deep,
5364 rather than 10.
5365 (def_err_response): Prints errobj if error is fatal.
5366 (lroom): Made subr_1o for easier calling from C.
5367
5368 1998-08-27 Radey Shouman <[email protected]>
5369
5370 * Init5c2.scm (array-shape): No longer signals an error when
5371 passed a non-array -- now returns whatever ARRAY-DIMENSIONS
5372 returned (currently #f).
5373
5374 1998-08-26 Aubrey Jaffer <[email protected]>
5375
5376 * scm.c (scm_proftimer): Also conditional on SIGALRM.
5377
5378 1998-08-25 Radey Shouman <[email protected]>
5379
5380 * sys.c (init_storage): Fixed initialization of tmp_errp so that
5381 it is always correctly aligned.
5382
5383 * scm.c (process_signals): Fixed braino in code to search for
5384 deferred signals.
5385 (scmable_signal): Added POSIX signal unblocking call, conditional
5386 on SIG_UNBLOCK, so Scheme signal handlers may be interrupted
5387 before they exit.
5388
5389 1998-08-24 Radey Shouman <[email protected]>
5390
5391 * scm.c (scmable_signal, err_signal, init_signals):
5392 (ignore_signals):
5393 (unignore_signals, restore_signals): Abstracted signal handling.
5394
5395 (fpe_signal, bus_signal, segv_signal, alrm_signal):
5396 (prof_signal): Removed.
5397
5398 * repl.c (process_signals): Moved to scm.c
5399
5400 * sys.c (must_realloc_cell): Now returns void.
5401
5402 1998-08-20 Radey Shouman <[email protected]>
5403
5404 * scm.c (prof_signal, scm_proftimer, ignore_signals):
5405 (unignore_signals): Added handler for SIGPROF, raised via call to
5406 setitimer (Scheme function PROFILE-TIMER).
5407
5408 * repl.c (handle_it): No longer saves scm_env, scm_env_tmp to
5409 estk, they are protected by doing ecache gc.
5410 (process_signals): Handles SIGPROF.
5411
5412 * sys.c (scm_fill_freelist): No longer always does gc.
5413 (gc_mark): No longer bashes cdr of `free' cells, handle_it now
5414 bashes more selectively.
5415 (scm_egc): DEFER/ALLOW_INTS moved to minimize debugging ints_viol
5416 messages -- some will still occur.
5417 (scm_egc): No longer saves scm_env and scm_env_ptr to estk, they
5418 are protected separately. To improve interrupt safety.
5419
5420 1998-08-19 Radey Shouman <[email protected]>
5421
5422 * unif.c (resizuve): eliminated unused variable `ptr'.
5423
5424 * sys.c (freeprint): Now prints cdr of new cell.
5425
5426 1998-08-18 Radey Shouman <[email protected]>
5427
5428 * repl.c (input_waiting): Now checks return value of select and
5429 restarts if interrupted. This was causing CHAR-READY? to return
5430 #T when no input was actually readable.
5431
5432 1998-08-17 Radey Shouman <[email protected]>
5433
5434 * sys.c (scm_egc, scm_egc_copy_roots): Eliminated extra root
5435 argument, made safe because EGC_ROOT is always called with ints
5436 deferred.
5437
5438 (gc_mark): Check for ecache broken heart during mark -- fatal error.
5439
5440 (gc_sweep): Now uses HUGE_LENGTH instead of LENGTH for string
5441 termination check.
5442
5443 (must_malloc_cell, must_realloc_cell): Added.
5444
5445 (gc_for_alloc): Static function abstracts gc calls for malloc/realloc.
5446
5447 * unif.c (make_uve): Removed call to makestr in order to support
5448 huge strings.
5449 (resizuve): Now uses must_realloc_cell.
5450
5451 * subr.c (make_vector, mkbig, adjbig): Now use
5452 must_malloc_cell, must_realloc_cell.
5453
5454 * socket.c (maksknm): Now uses must_malloc_cell.
5455
5456 * scm.h (ISYMNUM): Use only 8 bits for number, freeing some bits
5457 for other uses.
5458
5459 * scl.c (makdbl): Now uses must_malloc_cell.
5460
5461 * rgx.c (lrgecomp): Now uses must_malloc_cell.
5462
5463 * repl.c (handle_it): Keep pointers to discarded new cells.
5464
5465 * record.c (rec_constr1, init_record): Now use must_malloc_cell.
5466
5467 * posix.c (scm_getgroups): Now uses must_malloc_cell.
5468
5469 * dynl.c (l_dyn_link, l_dyn_call): Moved NEWCELL out of deferred
5470 ints sections. For dlopen versions, print more error messages.
5471
5472 1998-08-17 Aubrey Jaffer <[email protected]>
5473
5474 * eval.c (macroexp1): now prints name of unbound variable.
5475 (s_unbnd s_wtap): abstracted error message strings.
5476
5477 1998-08-11 Radey Shouman <[email protected]>
5478
5479 * eval.c (ceval_1): No longer make extra environment frame for
5480 LETREC, since internal DEFINE is now rewritten.
5481
5482 1998-08-10 Aubrey Jaffer <[email protected]>
5483
5484 * sys.c (scm_fill_freelist): Added; assures that at least
5485 MIN_GC_YIELD cells are in freelist. This is used before returning
5486 from interrupts.
5487
5488 * repl.c (handle_it): Discard 2 cells (because of CDR in NEWCELL).
5489 Call scm_fill_freelist();
5490
5491 1998-08-08 Aubrey Jaffer <[email protected]>
5492
5493 * Init5c2.scm: removed DEFINED? conditionals for old SCMs.
5494
5495 1998-07-28 Radey Shouman <[email protected]>
5496
5497 * sys.c (scm_estk_grow): Now pushes estk ptr, with ints deferred.
5498
5499 * eval.c (ENV_PUSH, ENV_POP): Now done with DEFER_INTS_EGC to
5500 prevent problems with interrupt handlers that run Scheme code.
5501
5502 1998-07-27 Radey Shouman <[email protected]>
5503
5504 * sys.c (scm_estk_grow): Protected critical section with
5505 DEFER/ALLOW_INTS
5506
5507 (must_malloc, must_realloc): Protected igc call with
5508 DEFER/ALLOW_INTS.
5509
5510 (scm_egc): Added DEFER/ALLOW_INTS around call to igc -- prevents
5511 interrupts violation message in debug mode.
5512
5513 (igc): Now SCM_ENV_SAVE before any gc marking to fix gc bug
5514 tickled by running Scheme code from interrupts.
5515
5516 (scm_egc, scm_egc_copy_roots): Now take a single argument, a gc
5517 root. Simplifies handling of the case where scm_egc calls igc,
5518 and possibly itself.
5519
5520 * repl.c (growth_mon): Now prints "shrank" instead of "grew" if
5521 the relevant limit decreased.
5522 (handle_it): Do env cache gc before applying interrupt
5523 handler, to protect data on the estk, which might move.
5524
5525 Wed Jul 22 16:36:48 EDT 1998 Aubrey Jaffer <[email protected]>
5526
5527 * patchlvl.h (SCMVERSION): Bumped from 5c1 to 5c2.
5528
5529 1998-07-22 Radey Shouman <[email protected]>
5530
5531 * sys.c: Added include of unistd.h for linux.
5532 (freeprint): Distinguishes between free cells (on freelist)
5533 and new cells.
5534 (scm_egc): Check for scm_estk, scm_estk_ptr not consistent.
5535
5536 *repl.c (ints_viol): Added sense argument again, since there are
5537 several meaningful values for ints_disabled.
5538 (handle_it): More careful about interrupts when saving estk. *
5539
5540 *scmfig.h (DEFER_INTS, ALLOW_INTS, DEFER_INTS_EGC):
5541 (ALLOW_INTS_EGC): ints_viol calls changed.
5542
5543 * ramap.c (array_for_each, array_map): Always act as if CCLO is
5544 defined, this does no harm, and allows CCLO optimizations for the
5545 dynamicly loaded case.
5546
5547 * posix.c: Added include of unistd.h for linux.
5548
5549 * eval.c (ident2sym): Now available in Scheme as
5550 IDENTIFIER->SYMBOL.
5551 (closure): Removed env argument, now uses scm_env and is more careful
5552 about interrupts.
5553 (env2tree): Now uses DEFER_INTS_EGC.
5554
5555 1998-07-22 Aubrey Jaffer <[email protected]>
5556
5557 * build.scm (read-version): added to read version number from
5558 "patchlvl.h".
5559 (batch:rebuild-catalog): rebuilds the catalog in implvic (executable's
5560 implementation vicinity).
5561 (build-params): implinit renamed to implvic.
5562 (make-dll-archive): deposits dll-archives in implvic.
5563
5564 * scm.c (INIT_FILE_NAME): definitions moved to "patchlvl.h".
5565
5566 * patchlvl.h (INIT_FILE_NAME): moved from "scm.c" so it will be
5567 updated automatically.
5568
5569 * Init.scm: renamed Init5c1.scm. The init file-name will
5570 henceforth include the version number.
5571
5572 * Makefile (new): Added support for Init file renaming (including
5573 CVS).
5574
5575 1998-07-17 Radey Shouman <[email protected]>
5576
5577 * eval.c (ceval_1): Changed IM_SET to make High C happy.
5578
5579 * scmfig.h: ioext.c: Added STDC_HEADERS #define and #include
5580 <unistd.h> for linux. Allows use of the rename() system call,
5581 which works for some filesystems that do not allow multiple links
5582 (smbfs).
5583
5584 1998-07-16 Aubrey Jaffer <[email protected]>
5585
5586 * repl.c (repl): changed __TURBOC__ flag to __MSDOS__. This
5587 enables the cr/lf fix for DJGPP also.
5588 (repl): Enabled cr/lf fix for __HIGHC__ also.
5589
5590 1998-07-16 Radey Shouman <[email protected]>
5591
5592 * eval.c (lookupcar): Second argument now specifies what to check:
5593 LOOKUP_UNDEFP for error on undefined, LOOKUP_MACROP for error on
5594 keyword. LOOKUP_UNDEFP and LOOKUP_MACROP are #defined only in
5595 eval.c. Error is again signalled for undefined symbols at top
5596 level.
5597
5598 1998-07-14 Radey Shouman <[email protected]>
5599
5600 * eval.c (ENV_PUSH, ENV_POP): Modified for interrupt safety.
5601
5602 (ceval_1, apply, procedurep, macroexp1, make_specfun):
5603 cclo is now a subtype of tc7_specfun, which also includes
5604 tc16_apply and tc16_call_cc, smobs are now never procedures.
5605
5606 (apply): Added call/cc support, error checking for subr_2o and
5607 subr_3 types.
5608
5609 * sys.c (gc_mark, gc_sweep): Modified for new specfun, cclo
5610 representation.
5611
5612 (gc): Now does ecache gc if given optional argument.
5613
5614 * repl.c (iprin1): Modified for new specfun, cclo representation.
5615
5616 (handle_it): Now saves and restores estk for interrupt safety.
5617
5618 * ramap.c (array_map): Changed for new cclo representation.
5619
5620 1998-07-10 Radey Shouman <[email protected]>
5621
5622 * eval.c (macroexp1): Made sure to call unmemocar before
5623 throwing error.
5624 (ceval_1): ALLOW_INTS_EGC before returning value.
5625
5626 1998-07-09 Radey Shouman <[email protected]>
5627
5628 * eval.c (ceval_1): Modifications to allow rewriting of interal
5629 DEFINE to LETREC: If an ISYM is evaluated in non-tail position the
5630 body of which it is the CAR is macro expanded by m_expand_body,
5631 which rewrites internal DEFINE.
5632
5633 (m_expand_body): Added.
5634
5635 (m_macroexp1): Added argument to control error checking:
5636 m_expand_body may speculatively expand forms in the wrong
5637 environments. Made argument number checks conditional on
5638 RECKLESS.
5639
5640 (m_body): Added, error checks bodies and inserts the ISYM tokens.
5641
5642 (m_lambda, m_letstar, m_letrec1, m_letrec, m_let): Now
5643 call m_body.
5644
5645 (m_cond, m_case, m_quote): Modified to avoid destructively changing
5646 their argument forms. Since m_expand_body speculatively macro
5647 expands forms the process must be reversible.
5648
5649 (m_ident_eqp): Fixed to use proper environment.
5650
5651 (renamed_ident): Added DEFER_INTS_EGC.
5652
5653 Added prototypes for static functions.
5654
5655 1998-07-07 Radey Shouman <[email protected]>
5656
5657 * eval.c (SPECFUN): Removed -- now the only case.
5658 (ceval_1, m_cont): IM_CONT case removed.
5659 (scm_evalatomcar): Added check for tc16_specfun. Made unquoted vector
5660 message conditional on RECKLESS.
5661
5662 * scm.h:
5663 * repl.c: IM_CONT removed.
5664
5665 * sys.c (gc_sweep): Fixed bug in float gc introduced with NUM_HP.
5666 (freeprint): Added for debugging.
5667
5668 1998-07-06 Radey Shouman <[email protected]>
5669
5670 * eval.c (ceval_1): envpp now -1 after estk has been popped,
5671 allows better stack tracing.
5672
5673 * eval.c (ceval_1): Fixed argument number check for closures and
5674 made conditional on CAUTIOUS.
5675
5676 (ceval_1, evalatomcar, lookupcar): Moved check for
5677 using macro as variable from ceval_1 and evalatomcar to lookupcar.
5678
5679 1998-07-02 Radey Shouman <[email protected]>
5680
5681 * Init.scm (call-with-current-continuation): Now subr.
5682
5683 * eval.c (ceval_1): Made CALL-WITH-CURRENT-CONTINUATION an inlined
5684 smob, like APPLY. Flushed @CALL-WITH-CURRENT-CONTINUATION.
5685
5686 ecache allocated lists now no longer passed to apply of asubrs and
5687 rpsubrs -- this is not interrupt safe.
5688
5689 (macroexp1): Added argument number checks for subrs, this gives error
5690 messages with unmemoized code.
5691
5692 * eval.c (ceval_1): Fixed error reporting -- "wrong number of
5693 args" was sometimes reported as "wrong type to apply".
5694
5695 Now pass arglist allocated in ecache for asubrs and rpsubrs with
5696 3+ args.
5697
5698 1998-07-01 Radey Shouman <[email protected]>
5699
5700 * eval.c (ceval, ceval_1, ilookup, lookupcar, farlookup):
5701 New model of interrupt control for protecting ecache references
5702 using DEFER_INTS_EGC, ALLOW_INTS_EGC. These need not be strictly
5703 nested, ints are always allowed by ceval_1 before tail-calling a
5704 subr.
5705 (ceval_1): @apply flushed in favor of a smob denoting apply and
5706 understood by the evaluator -- allows ecache allocation of
5707 argument lists.
5708 (scm_macroexp1): Now checks arity for closures, checking had been
5709 broken for non-CAUTIOUS SCM.
5710
5711 * scmfig.h (DEFER_INTS_EGC, ALLOW_INTS_EGC): Defined.
5712
5713 * sys.c (scm_env_cons, scm_env_cons, scm_env_cons2):
5714 (scm_extend_env): DEFER_INTS replaced with DEFER_INTS_EGC.
5715
5716 * repl.c (repl_report): At verbose level 3 now reports number of
5717 ecache cells migrated and why, also number of ecache garbage
5718 collections.
5719 (ints_viol): Reports filename and line number of violation, and
5720 filename and number of last previous DEFER/ALLOW_INTS.
5721
5722
5723 1998-06-23 Radey Shouman <[email protected]>
5724
5725 * scm.c (int_signal): Now signals error if there is no Scheme
5726 handler.
5727 (ignore_signals): Changed SIG_IGN to SIG_DFL for SIGINT.
5728
5729 1998-06-22 Radey Shouman <[email protected]>
5730
5731 * eval.c (ENV_PUSH): Fixed problem introduced during last change:
5732 estk was overstepping its bounds.
5733
5734 1998-06-19 Radey Shouman <[email protected]>
5735
5736 * eval.c (ilookup, farlookup, unmemocar, ceval_1):
5737 (id_denote): Wrapped all pointer-chasing of possible ecache cells
5738 in DEFER/ALLOW_INTS for safety when interrupt handlers may
5739 evaluate Scheme code asynchronously.
5740
5741 (scm_macroexp1, m_define, m_atlet_syntax): Environments now
5742 always wrapped when passed to macro expanders.
5743
5744 (ecache_p, debug_env_car, debug_env_cdr): Added for CAREFUL_INTS
5745 checking.
5746
5747 (test_ints): Added when CAREFUL_INTS is defined for checking interrupt
5748 safety.
5749
5750 * repl.c (ints_viol): Now prints file and line number.
5751
5752 1998-06-15 Radey Shouman <[email protected]>
5753
5754 * scm.h (SCM_ENV_SAVE, SCM_ENV_RESTORE): Added, to prevent
5755 oversights in sys.c.
5756
5757 * sys.c (scm_env_cons, scm_env_cons2): Made interrupt safe;
5758 return results in global scm_env_tmp, use DEFER/ALLOW_INTS.
5759 (scm_extend_env, scm_env_cons_tmp): Added.
5760 (scm_env_acons): Deleted, superseded by scm_extend_env.
5761
5762 *eval.c (ceval_1, apply): Replaced and rewrote scm_env_ routines
5763 to use new interrupt safe versions. ENV_TMP replaced by
5764 scm_env_tmp, it was hard to remember that ENV_TMP might move.
5765 CLEAR_ENV_TMP removed since scm_env_tmp will be overwritten almost
5766 every time estk is pushed.
5767
5768 1998-06-15 Aubrey Jaffer <[email protected]>
5769
5770 * build.scm (compile-c-files *unknown*): Now uses
5771 BATCH:APPLY-CHOP-TO-FIT BATCH:TRY-SYSTEM rather than BATCH-SYSTEM.
5772
5773 1998-06-12 Aubrey Jaffer <[email protected]>
5774
5775 * eval.c (evalatomcar): #ifdef MACRO added around M_IDENTP.
5776
5777 * Makefile (dist): Added cvs flag command to dist target.
5778
5779 1998-06-12 Radey Shouman <[email protected]>
5780
5781 * repl.c (scm_execpath): Added ASSERTion to signal error in case
5782 malloc fails.
5783
5784 * subr.c (scm_copybitfield): corrected unsigned declaration of len
5785 variable, will now signal errors if END < START.
5786 (bigcomp): Changed type of xlen from sizet to long, since
5787 it is compared with -1.
5788
5789 1998-06-07 Aubrey Jaffer <[email protected]>
5790
5791 * Init.scm (string-ci->symbol): added (new in "slib/strcase.scm")
5792
5793 Fri Jun 5 16:01:02 EDT 1998 Aubrey Jaffer <[email protected]>
5794
5795 * patchlvl.h (SCMVERSION): Bumped from 5c0 to 5c1.
5796
5797 1998-06-05 Aubrey Jaffer <[email protected]>
5798
5799 * ANNOUNCE: Removed ftp.cs.indiana.edu:/pub/scheme-repository/
5800 entries because they are no longer being maintained or updated.
5801
5802 1998-06-03 Aubrey Jaffer <[email protected]>
5803
5804 * Makefile (Install): target updated to include more recent *.scm
5805 as well as *.sl and *.so files.
5806
5807 * continue.h (setjump): Using (include <signal.h> and) SIG_UNBLOCK
5808 for setjump #defines.
5809
5810 * scm.c (ignore_signals): SIG_UNBLOCK is a better indicator for
5811 sigprocmask() than __USE_POSIX.
5812
5813 1998-06-03 Radey Shouman <[email protected]>
5814
5815 * unif.c (array_inbp): Deleted unused label badarg:
5816
5817 1998-06-02 Aubrey Jaffer <[email protected]>
5818
5819 * repl.c: SIGHUP_deferred added.
5820
5821 1998-06-02 Radey Shouman <[email protected]>
5822
5823 * scm.c (ignore_signals): now unblocks signals (mask).
5824
5825 * ioext.c (i_execv): Now brackets execv[p] with un/ignore_signals().
5826
5827 1998-06-01 Radey Shouman <[email protected]>
5828
5829 * scm.c (unblock_signals): Deleted. Signal mask problem fixed by
5830 of #defining setjump as sigsetjmp, longjump as siglongjmp.
5831
5832 1998-05-30 Aubrey Jaffer <[email protected]>
5833
5834 * build.scm (batch:rebuild-catalog): rewritten from
5835 rebuild-catalog.
5836 (default-for-platform): new batch-dialect added.
5837 (guess-how): removed. Guessing delayed using
5838 default-for-platform.
5839
5840 1998-05-28 Radey Shouman <[email protected]>
5841
5842 * eval.c (ceval_1): setjmp changed to setjump.
5843
5844 * continue.h:
5845 Changed setjump, longjump to use sigsetjmp, siglongjmp if it
5846 looks as though we're POSIX
5847
5848 1998-05-28 Aubrey Jaffer <[email protected]>
5849
5850 * repl.c (handle_it): absorbed wta() call always used with it.
5851 (SIGALRM_deferred): renamed from alrm_deferred.
5852 (SIGINT_deferred): renamed from sig_deferred.
5853 (han_sig han_alarm): collapsed into (new) process_signals().
5854
5855 * scm.c (alrm_signal int_signal): now call handle_it() directly,
5856 instead of through han_sig() and han_alarm().
5857
5858 * scmfig.h (CHECK_INTS): simplified; deferred_proc when non-zero
5859 is address of procedure to call for signal processing (always
5860 process_signals()).
5861
5862 * sys.c (sysintern mksubr): "const" added to declaration of first
5863 arguments.
5864
5865 1998-05-27 Aubrey Jaffer <[email protected]>
5866
5867 * repl.c (everr): fixed really broken default vs. dowinds stuff.
5868
5869 * socket.c (l_accept): moved DEFER_INTS so accept() call won't
5870 block.
5871
5872 1998-05-27 Radey Shouman <[email protected]>
5873
5874 * repl.c: Fixed bug in scm_stack_trace: could have a negative
5875 number of stack frames if interrupted at top level.
5876
5877 1998-05-26 Aubrey Jaffer <[email protected]>
5878
5879 * scmfig.h: Metaware __HIGHC__ lacks sbrk (LACK_SBRK).
5880
5881 1998-05-21 Radey Shouman <[email protected]>
5882
5883 * sys.c (must_realloc): Fixed sense of check on realloc return
5884 value in must_realloc.
5885
5886 * repl.c (scm_ecache_report): Fixed ecache stack report in ROOM.
5887
5888 1998-05-21 Aubrey Jaffer <[email protected]>
5889
5890 * sys.c, scm.h, repl.c: Fixed long vs. int bugs for 16-bit compilers.
5891
5892 * Init.scm: Made renamed logical operations safe for old executables.
5893
5894 * scmfig.h: Borland sbrk() is a noop.
5895
5896 * sys.c: Fixed ECACHEP for Borland C.
5897
5898 * Init.scm: Removed check for duplicate key values for CASEV (now
5899 done by CASE).
5900
5901 * Init.scm (casev): Removed check for duplicate key values for
5902 CASEV (now done by CASE).
5903
5904 1998-05-21 radey <[email protected]>
5905
5906 * scm.texi: Documented changes to closure format.
5907
5908 * sys.c: cosmetic changes.
5909
5910 Wed May 20 17:53:52 EDT 1998 Aubrey Jaffer <[email protected]>
5911
5912 * patchlvl.h (SCMVERSION): Bumped from 5b5 to 5c0.
5913
5914 1998-05-20 Radey Shouman <[email protected]>
5915
5916 * eval.c: Added check for duplicate key values for CASE.
5917
5918 * sys.c (scm_egc): Modified scm_egc to prevent a major gc from
5919 happening inside an ecache gc -- which was causing environment lossage.
5920
5921 1998-05-20 Aubrey Jaffer <[email protected]>
5922
5923 * Makefile: made check or checklit part of normal build.
5924
5925 * scm.texi (Evaluation): Added description of FARLOC.
5926 (Memory Management for Environments): Added Tom Lord's
5927 documentation of ecache.
5928
5929 * build.scm (build): compile-c-files linux: don't use -O2 when -g
5930 is specified.
5931
5932 1998-05-14 Radey Shouman <[email protected]>
5933
5934 * Init.scm (bit-extract, logical:bit-field):
5935 (logical:bitwise-if, logical:copy-bit):
5936 (logical:copy-bit-field): definitions added for SLIB compatibility.
5937
5938 * subr.c (scm_bitfield): renamed BIT-EXTRACT to BIT-FIELD,
5939 added range check on END.
5940 (scm_bitif, scm_copybitfield, scm_copybit): added.
5941
5942 1998-05-12 Aubrey Jaffer <[email protected]>
5943
5944 * eval.c (m_case): Added checks for ELSE clause.
5945
5946 * Init.scm (defconst): added.
5947 (casev): added.
5948 (print-args): fixed (environment-cache broke).
5949
5950 * eval.c (env2tree): exported to Scheme as environment->tree.
5951
5952 1998-05-11 Aubrey Jaffer <[email protected]>
5953
5954 * continue.c (dynthrow): Giving up on HPUX stack growth.
5955 "growth[] being optimized out" message disabled for HPUX.
5956
5957 * sys.c (try_open_file): Renamed from open_file.
5958 (open_file): Now calls back to Scheme; applies `open-file'.
5959
5960 Fri May 8 17:40:44 EDT 1998 Aubrey Jaffer <[email protected]>
5961
5962 * patchlvl.h (SCMVERSION): Bumped from 5b4 to 5b5.
5963
5964 1998-05-08 Radey Shouman <[email protected]>
5965
5966 * eval.c (m_letrec1): added to support tagged environment frames.
5967 (m_let, m_letrec, m_lambda, m_do): Now put an ISPCSYM in the last
5968 cdr of the names they add to the environment, this is intended for
5969 debugging.
5970
5971 1998-05-07 Radey Shouman <[email protected]>
5972
5973 * repl.c (scm_brk_report): Added.
5974 * scm.c (main): set global variables remembering initial brk.
5975
5976 * eval.c (ceval_1): LETREC now adds extra (empty) environment
5977 frame so internal define does not upset memoization.
5978 * r4rstest.scm: tests for LETREC/internal DEFINE bug added.
5979
5980 1998-04-22 <[email protected]>
5981
5982 * repl.c (repl_driver): Added sbrk call just before dumping --
5983 fixes problems with linux dumped executables.
5984
5985 1998-04-16 <[email protected]>
5986
5987 * unif.c (scm_logaref, scm_logaset): Added.
5988
5989 Thu Apr 9 11:31:20 EDT 1998 Aubrey Jaffer <[email protected]>
5990
5991 * patchlvl.h (SCMVERSION): Bumped from 5b3 to 5b4.
5992
5993 1998-04-08 Aubrey Jaffer <[email protected]>
5994
5995 * sys.c (gc_mark): first column #endif was within comment.
5996 (sweep_symhash): was being called by igc -- even with NO_SYM_GC flag.
5997
5998 1998-04-07 Aubrey Jaffer <[email protected]>
5999
6000 * build.scm (link-c-program highc.31): added -stack 65000.
6001
6002 * sys.c (gc_mark): added CHECK_STACK;
6003
6004 1998-04-06 Aubrey Jaffer <[email protected]>
6005
6006 * sys.c (gc_mark): Checks strings and symbols for extra 0 byte.
6007 (mark_syms): Added check for extra 0 byte; check strhash() of
6008 symbol matches bucket index.
6009
6010 1998-04-06 Aubrey Jaffer <[email protected]>
6011
6012 * unif.c (make_uve): Changed to call makstr for strings. This is
6013 so extra byte will be 0.
6014
6015 * time.c (your_time): PharLap.51 ftime() is non-monotonic. Fix
6016 added to assure ftime() never decreases.
6017
6018 1998-04-03 Aubrey Jaffer <[email protected]>
6019
6020 * Init.scm (apply:nconc-to-last): Changed value to nconc2copy;
6021 this allows apply's definition to remain unchanged.
6022
6023 1998-04-03 <[email protected]>
6024
6025 * rope.c: scm_cell_p now returns true for env cache cells, so they
6026 may be printed during debugging.
6027
6028 1998-04-03 Ben Caradoc-Davies <[email protected]>
6029
6030 * sys.c (gc_sweep): If a segment is freed during garbage
6031 collection, the heap size counter is adjusted, but the cells
6032 collected counter is not. Then when calculating cells allocated,
6033 cells in a freed segment are counted twice (negatively).
6034
6035 1998-04-03 Aubrey Jaffer <[email protected]>
6036
6037 * scm.texi (Low Level Syntactic Hooks): Documented behavior of
6038 @apply; turning a former bug into a feature.
6039
6040 1998-04-01 Aubrey Jaffer <[email protected]>
6041
6042 * scl.c (ex2in): changed tc7_cxr floident() to tc7_subr_1 ex2in()
6043 so it will handle complex numbers.
6044
6045 1998-04-01 <[email protected]>
6046
6047 * eval.c (nconc2copy): Added to fix bug in apply that
6048 allowed local SET! to mutate lists passed to APPLY.
6049 * Init.scm (apply): now uses apply:nconc-to-copy.
6050
6051 1998-03-26 Radey Shouman <[email protected]>
6052
6053 * eval.c (ilookup, lookupcar, farlookup, ceval, evalatomcar):
6054 (ceval_1, iqq, wrapenv): Substantial changes to use
6055 copy-collected stack cache intended to reduce time in gc.
6056
6057 * sys.c (egc_mark, egc_sweep, egc_copy, egc_copy_stack):
6058 (egc_copy_roots, scm_egc): The cache garbage collector.
6059 (scm_env_cons, scm_env_cons2, scm_env_acons): Functions to
6060 allocate storage in the environment cache.
6061
6062 * repl.c (scm_egc_start, scm_egc_end, scm_ecache_report):
6063 (scm_stack_trace): Added to support environment cache.
6064 stack-trace now does not print all of stacktraces deeper than
6065 10 levels.
6066
6067 1998-03-20 Patrick Lecoanet <[email protected]>
6068
6069 * sys.c (igc): Use of NO_SYM_GC flag fixed.
6070
6071 1998-03-20 Aubrey Jaffer <[email protected]>
6072
6073 * eval.c (m_define): "redefining built-in " message now
6074 conditional on verbose >= 2.
6075 (evalatomcar): unquoted vectors give warning when verbose >= 2.
6076 (EVALCELLCAR): Now always uses ATOMP, which catches all non-pair cells.
6077
6078 1998-03-20 Radey Shouman <[email protected]>
6079
6080 * Macro.scm (macro:compile-syntax-rules): Allows vectors to
6081 be used as patterns and templates, per R5RS.
6082 * eval.c (unpaint): Unpaints identifiers in quoted vectors.
6083
6084 1998-03-09 Aubrey Jaffer <[email protected]>
6085
6086 * repl.c (dump): made compatible with change to boot-tail
6087 * time.c:
6088 * scmfig.h: Removed support for HAVE_CONFIG_H.
6089
6090 1998-03-09 Radey Shouman <[email protected]>
6091
6092 * time.c: I found that SCM on Linux uses ftime(), but that ftime()
6093 is implemented in glibc as a call to time(). Linux does support
6094 gettimeofday(), which does allow 10 msec resolution. I tried
6095 using the definition of ftime() using gettimeofday() at the end of
6096 time.c (#ifdef freebsd). It worked like a charm.
6097
6098 1998-03-05 Radey Shouman <[email protected]>
6099
6100 * Init.scm (boot-tail): added `dumped?' argument.
6101 * Init.scm (set-vicinities!): added.
6102 * time.c (reset_time): Added to fix user time report for dumped
6103 executables -- now reports the time since invocation, rather than
6104 the time since dumping.
6105 * scm.c (init_scm): Calls reset_time if dumped.
6106 * scm.c (scm_find_impl): Wrapper for scm_find_impl_file.
6107 * scm.c (find-init-file): added Scheme interface for scm_find_impl.
6108
6109 1998-02-27 Bob Schumaker <[email protected]>
6110
6111 * dynl.c: added Macintosh support.
6112
6113 1998-02-23 Drew Csillag <[email protected]>
6114
6115 * scm.c: Port for __CYGWIN32__
6116
6117 1998-02-17 Radey Shouman <[email protected]>
6118
6119 * Macro.scm (macro:compile-syntax-rules): Fixed to recognize
6120 non-identifier literals in patterns.
6121
6122 1998-02-09 <[email protected]>
6123
6124 * scm.h (CGETUN):
6125 * sys.c (noop0): I found two places where SCM uses a possibly
6126 signed type for characters in a stream and risks confusing '\377'
6127 (a legitimate character) with EOF (-1). This patch addresses this
6128 problem, and should make SCM's streams completely 8-bit clean.
6129
6130 1998-02-11 Aubrey Jaffer <[email protected]>
6131
6132 * scm.texi (Index): combined indexes into one node. Added use of
6133 @url command.
6134
6135 Mon Jan 12 10:12:20 1998 Aubrey Jaffer <[email protected]>
6136
6137 * disarm.scm: (require 'disarm) disables opening and modifications
6138 of files.
6139
6140 Sun Jan 11 22:52:59 1998 Aubrey Jaffer <[email protected]>
6141
6142 * posix.c: replaced C definitions of open-input-pipe and
6143 open-output-pipe with call to scm_ldstr().
6144
6145 Sat Jan 10 11:54:03 1998 Aubrey Jaffer <[email protected]>
6146
6147 * Init.scm (read:eval-feature): moved into read:sharp (only use).
6148 (read:sharp): now handles `#\.'; moved from lreadr in "repl.c".
6149
6150 Sun Dec 21 19:40:31 1997 Aubrey Jaffer <[email protected]>
6151
6152 * repl.c (exit_report exit_report): improved.
6153 * sys.c (stack_report): improved.
6154
6155 * scl.c (iint2str): split into two routines. Negative radix
6156 argument now forces unsigned conversion.
6157
6158 * sys.c (alloc_some_heap): heap size variables were confused.
6159 heap_cells is now used instead of heap_size.
6160
6161 * setjump.h (MIN_GC_YIELD NUM_HASH_BUCKETS): moved from scmfig.h.
6162
6163 * scm.h (THRASH): added.
6164
6165 Mon, 01 Dec 1997 17:56:43 Andreas Menke <[email protected]>
6166
6167 * sys.c (must_malloc must_realloc): Bumps up mtrigger if less than
6168 1/8 of malloc space was reclaimed by GC.
6169
6170 Wed Dec 17 22:40:45 1997 Aaron Ucko <[email protected]>
6171
6172 * rgx.c (lregcomp): There is a small bug in rgx.c; a few things
6173 should be set before sending the pattern buffer to
6174 re_compile_pattern(). These fields should be set to zero, which
6175 means the bug only appers after memory is reused. This only
6176 affects use of GNU regex (i.e., only happens with _GNU_SOURCE
6177 defined). cf. regex.info for more information.
6178
6179 Wed Dec 17 22:40:45 1997 Aubrey Jaffer <[email protected]>
6180
6181 * sys.c (free_storage): added fflush for stdout and stderr
6182 (because those ports don't get closed).
6183
6184 Sun Nov 30 23:21:05 1997 Aubrey Jaffer <[email protected]>
6185
6186 * build (build-from-argv): split from "build.scm" so that cgi
6187 scripts don't carry getopt baggage.
6188
6189 Thu Nov 20 09:45:28 1997 Aubrey Jaffer <[email protected]>
6190
6191 * build.scm (build): suppress-files field restored to C-libraries
6192 table. It really is the correct way to deal with "findexec.c".
6193
6194 Sun Nov 16 13:43:21 1997 Aubrey Jaffer <[email protected]>
6195
6196 * mkimpcat.scm: 'hobbit, 'scmhob, and 'build added.
6197
6198 * Link.scm (compile-file link-named-scm): Fixed. Require of
6199 strings removed. Tested with Hobbit 5x.
6200 (scm:object-suffix): changed to ".o"; only used by link-named-scm.
6201
6202 Sun Nov 2 23:15:57 1997 Aubrey Jaffer <[email protected]>
6203
6204 * patchlvl.h (SCMVERSION): Bumped from 5b2 to 5b3.
6205
6206 * mkimpcat.scm: modified for new SLIB catalog arrangement.
6207
6208 Sat Nov 1 14:19:24 1997 Aubrey Jaffer <[email protected]>
6209
6210 * sys.c (gc_sweep): added `contin_bad' argument. When set,
6211 gc_sweep will warn of any uncollected continuations of non-zero
6212 length. This should make unexec problems less mysterious.
6213
6214 Tue Oct 28 16:54:00 1997 Aubrey Jaffer <[email protected]>
6215
6216 * Init.scm (home-vicinity): added. Used to find "ScmInit.scm".
6217
6218 Sat Oct 25 23:05:43 1997 Aubrey Jaffer <[email protected]>
6219
6220 * unexsunos4.c: added from emacs.
6221
6222 * unexhp9k800.c: added from emacs. Broken -- doesn't change the
6223 segment sizes.
6224
6225 * unexalpha.c: added from emacs.
6226
6227 Sat Oct 18 11:50:34 1997 Aubrey Jaffer <[email protected]>
6228
6229 * build.scm (build C-libraries): changed horrible `supress-files'
6230 field to `lib-support'.
6231 (rebuild-catalog): added. Called by dll and dlls methods.
6232
6233 Sat Oct 11 23:19:55 1997 Aubrey Jaffer <[email protected]>
6234
6235 * scm.texi (Compiling and Linking Custom Files): Added to describe
6236 how to use "build.scm" with custom files.
6237
6238 Fri Oct 10 00:31:08 1997 Aubrey Jaffer <[email protected]>
6239
6240 * Makefile (myscm4 myscm5): now delete slibcat and implcat to keep
6241 them from getting stale.
6242
6243 * gmalloc.c: HP-UX B.10.10 A doesn't have getpagesize.h.
6244
6245 Fri Oct 10 00:18:40 1997 Peter E. Davis <[email protected]>
6246
6247 * unexhp9k800.c: added HP-UX unexec support.
6248
6249 Mon Sep 29 15:18:37 1997 Aubrey Jaffer <[email protected]>
6250
6251 * sys.c (mark_syms): No longer mark the value cell because value
6252 cells get returned by calls to intern(). This caused a rare GC
6253 leak which showed up in large programs.
6254
6255 Sun Sep 28 21:36:53 1997 Aubrey Jaffer <[email protected]>
6256
6257 * scm.h (const): defined to comment for hpux native cc.
6258
6259 Sun Sep 28 14:48:10 1997 Radey Shouman <[email protected]>
6260
6261 * ramap.c (array_imap): Fixed for zero-rank arrays arguments.
6262
6263 Fri Sep 19 23:23:46 EDT 1997 Aubrey Jaffer <[email protected]>
6264
6265 * patchlvl.h (SCMVERSION): Bumped from 5b1 to 5b2.
6266
6267 Fri Sep 19 23:17:48 1997 Aubrey Jaffer <[email protected]>
6268
6269 * build.scm (build:build): DEFAULT field-name changed to
6270 DEFAULTER in concert with SLIB/dbutil.scm.
6271
6272 Tue Aug 26 17:40:44 1997 Aubrey Jaffer <[email protected]>
6273
6274 * build.scm (build): Changed sun to sunos; This gives automatic
6275 platform from uname.
6276
6277 Wed Jul 2 14:25:52 1997 Anthony Green <[email protected]>
6278
6279 * scmfig.h (FENCE): macro added. DEFER_INTS/ALLOW_INTS doesn't
6280 actually promise to keep the critical code within the boundries of
6281 the DEFER/ALLOW_INTS instructions. It may very well schedule it
6282 outside of the magic defined in those macros. GCC's volatile asm
6283 feature forms a barrier over which code is never moved.
6284
6285 Wed Jun 25 12:56:22 1997 Aubrey Jaffer <[email protected]>
6286
6287 * repl.c (tryload): Undid previous tail-recursive hack; it caused
6288 errors and warning to issue from grossly wrong line numbers.
6289
6290 Sun Jun 8 21:40:50 1997 Aubrey Jaffer <[email protected]>
6291
6292 * mkimpcat.scm: updated for shared-library wb.
6293
6294 Mon May 19 18:12:33 1997 Aubrey Jaffer <[email protected]>
6295
6296 * dynl.c (l_dyn_main_call): added for SUN_DL.
6297
6298 Sat May 17 23:21:05 1997 Aubrey Jaffer <[email protected]>
6299
6300 * repl.c (lreadparen): Now calls wta when EOF is encountered in
6301 list. This must have broken when rewritten to use `UNDEFINED' as
6302 magic-cookie.
6303
6304 Sat May 10 21:54:47 EDT 1997 Aubrey Jaffer <[email protected]>
6305
6306 * patchlvl.h (SCMVERSION): Bumped from 5b0 to 5b1.
6307
6308 Sat May 10 21:08:41 1997 Aubrey Jaffer <[email protected]>
6309
6310 * mkimpcat.scm: moved from Init.scm, macro feature now properly
6311 listed.
6312
6313 Thu Apr 17 15:16:56 1997 Denys Duchier <[email protected]>
6314
6315 * build.scm (build): extended with the new platform
6316 sun-svr4-gcc-sunld because my system runs solaris, uses gcc as its
6317 compiler, but is configured to use sun's linker rather than gnu's.
6318
6319 I tested the changes in so far as the resulting system compiles,
6320 runs, passes the tests, and is able to dump an image which can be
6321 successfully restarted. I used the following command to create my
6322 building script:
6323
6324 build.scm -p sun-svr4-gcc-sunld -o SCM+ -w redo \
6325 --compiler-options=-DHAVE_UNISTD_H -F bignums \
6326 arrays array-for-each inexact rev2-procedures \
6327 record compiled-closure generalized-c-arguments \
6328 i/o-extensions regex socket posix unix dump \
6329 cheap-continuations macro
6330
6331 * scm.texi (Build Options): updated the documentation of `build
6332 options': removed memoize-local-bindings, which is not supported
6333 by build.scm, and added macro, which is.
6334
6335 * ecrt0.c: modified the sparc's asm in ecrt0.c to call main
6336 and _exit when __svr4__ is defined instead of _main
6337 and __exit. It seems the prepending of an underscore
6338 is a thing of the past.
6339
6340 Tue May 6 12:34:43 1997 Aubrey Jaffer <[email protected]>
6341
6342 * Init.scm (print-args): syntax added.
6343
6344 Mon Apr 28 20:24:47 1997 Aubrey Jaffer <[email protected]>
6345
6346 * mkimpcat.scm: created from "Link.scm"; mkimpcat.scm creates
6347 "implcat" in implementation-vicinity, supporting slib2b0
6348 catalog abstraction.
6349
6350 * repl.c (dump): dump (defined by init_repl) now sets *catalog* to
6351 #f in order to trigger loading of "slibcat" and "implcat".
6352
6353 * build.scm (build): make-nothing renamed to update-catalog.
6354 update-catalog and make-dll-archive create fresh "implcat".
6355
6356 * sys.c (open_file): ALLOW_INTS was misplaced, causing lots of
6357 "ints already enabled" messages.
6358
6359 * repl.c (ints_viol): written.
6360
6361 * scmfig.h (DEFER_INTS ALLOW_INTS): rewritten using ints_viol() to
6362 allow easy gdb breakpointing.
6363
6364 * repl.c (lreadpr): renamed from lreadr(). New lreadr() created.
6365 (flush_ws): fixed linum++ bug.
6366 (lreadparen): rewrote to use UNDEFINED as close-parenthesis magic
6367 cookie; #+foo <expression> can now appear at end of lists and files.
6368
6369 Fri Apr 25 22:52:20 1997 Aubrey Jaffer <[email protected]>
6370
6371 * scl.c (istr2flo): supplied missing IMP test before INEXP test.
6372
6373 Fri Mar 21 08:44:52 1997 Aubrey Jaffer <[email protected]>
6374
6375 * Transcen.scm (log10): defined to $log10.
6376
6377 * scl.c: added $log10.
6378
6379 Thu Mar 20 21:09:19 1997 Aubrey Jaffer <[email protected]>
6380
6381 * Init.scm (scm:load): test for script files skips hopeless calls
6382 to link:link.
6383 (file-readable?): added. Non-blocking reads first 2 characters of
6384 file.
6385
6386 Tue Mar 18 18:38:14 1997 Aubrey Jaffer <[email protected]>
6387
6388 * script.c (scm_cat_path scm_try_path scm_sep_init_try):
6389 (scm_find_impl_file dld_find_executable): moved from scm.c
6390 (script_find_executable script_P): added.
6391 (script_read_arg script_meta_arg_P): added.
6392 (script_process_argv script_count_argv): added.
6393 These functions implement `script meta-args' ala SCSH for unix
6394 and MS-DOS.
6395
6396 * repl.c (scm_unexec): Now checks for execpath being set.
6397 (final_repl): No longer tries to set execpath.
6398
6399 * dynl.c (init_dynl): Instead of trying to set execpath, now gives
6400 error message if NULL.
6401
6402 * patchlvl.h (SCMVERSION): Bumped from 5a1 to 5b0.
6403
6404 Sat Mar 15 17:04:07 1997 Aubrey Jaffer <[email protected]>
6405
6406 * scm.c (main): Assumes called as a script when first argument
6407 (argv[1]) is "\\"; and finds execpath with
6408 dld_find_script_executable() instead of dld_find_executable().
6409
6410 * findexec.c (dld_find_executable): Now prepends current working
6411 directory to any path with a `/' in it.
6412 (dld_find_script_executable): Added to resolve real executable
6413 pathname when program is invoked as a script.
6414
6415 * Init.scm (read:sharp): #! now a balanced comment when first line
6416 ends with \ (backslash). This is to support SCSH scripts.
6417
6418 Fri Mar 7 21:12:17 EST 1997 Aubrey Jaffer <[email protected]>
6419
6420 * patchlvl.h (SCMVERSION): Bumped from 5a0 to 5a1.
6421
6422 Mon Mar 3 20:09:43 1997 Radey Shouman <[email protected]>
6423
6424 * eval.c (renamed_ident): Renamed RENAME-IDENTIFIER to
6425 RENAMED-IDENTIFIER.
6426
6427 * eval.c (m_case): Avoid renaming data at the head of each
6428 clause.
6429
6430 Wed Feb 26 10:17:59 1997 Aubrey Jaffer <[email protected]>
6431
6432 * Macro.scm (macro:compile-syntax-rules):
6433 * Init.scm (copy-tree): use of copy-tree changed to @copy-tree.
6434
6435 * eval.c (copy-tree): renamed to @copy-tree.
6436
6437 * sys.c (igc): test added for calls to igc within igc.
6438
6439 * unif.c (raprin1): calls ipruk() instead of using cells if
6440 called during gc.
6441
6442 * scl.c (bigprint floprint): no longer try to allocate cells if
6443 called during gc.
6444
6445 * .gdbinit (runscm verbose errobj scm load eval): added for
6446 debugging with GDB 4.16.
6447
6448 Tue Feb 25 21:32:50 1997 Aubrey Jaffer <[email protected]>
6449
6450 * repl.c (iprin1): Now checks that a cell is actually in a heap
6451 before trying to print it.
6452
6453 * rope.c (scm_cell_p): added. Returns !0 if SCM argument is
6454 cell-aligned and points into a valid heap segment.
6455
6456 Sun Feb 23 21:21:21 1997 Aubrey Jaffer <[email protected]>
6457
6458 * continue.h: SCM source now uses jump_buf, setjump, and longjump
6459 in lieu of jmp_buf, setjmp, and longjmp. This should prevent name
6460 and declaration conflicts.
6461
6462 * build.scm (include-spec): created to elide "-I" if scm-srcdir is
6463 "".
6464
6465 Sat Feb 22 20:45:58 1997 Aubrey Jaffer <[email protected]>
6466
6467 * repl.c (lreadr): uncommented line 640 to allow reading balanced
6468 comments at end of files.
6469
6470 * build.scm (scm-srcdir): now defaults to user-vicinity, rather
6471 than implementation-vicinity.
6472
6473 * Init.scm (warn): added.
6474
6475 * repl.c (exitval): Now initialized.
6476 (quit): fixed return value bug.
6477 (abrt): Now returns failure exit code if errjmp_bad.
6478
6479 Tue Feb 11 21:08:44 1997 Aubrey Jaffer <[email protected]>
6480
6481 * ugsetjmp.s: Created for Ultrix-VAX port.
6482
6483 Mon Feb 3 08:55:43 1997 Aubrey Jaffer <[email protected]>
6484
6485 * repl.c (read_token): `#' no longer terminates tokens
6486 (identifiers and numbers).
6487
6488 Sun Feb 2 17:42:50 1997 Aubrey Jaffer <[email protected]>
6489
6490 * build.scm (build-whats): #define DLL if compiling for library.
6491
6492 * record.c (MAKE_REC_INDS REC_IND_REF REC_IND_SET): now default to
6493 regular vectors if compiling as DLL.
6494
6495 Sat Feb 1 21:41:15 EST 1997 Aubrey Jaffer <[email protected]>
6496
6497 * patchlvl.h (SCMVERSION): Bumped from 4e6 to 5a0.
6498
6499 Sat Jan 25 19:48:19 1997 Radey Shouman <[email protected]>
6500
6501 * scm.h (IM_DELAY, IM_QUASIQUOTE, IM_UNQUOTE, IM_UQ_SPLICING):
6502 (IM_ELSE, IM_ARROW): Added to support hygienic macros.
6503
6504 * repl.c: isymnames modified.
6505
6506 * eval.c (lookupcar): Added support for hygienic macros
6507 (evalatomcar): Added.
6508 (ident2sym, id_denote, unpaint, prinid, ident_eqp)
6509 (rename_ident, syn_quote, m_atlet_syntax, m_the_macro): added.
6510 (m_quote, m_cond, m_case, m_quasiquote): Modified to be
6511 referentially transparent.
6512 (m_iqq): added.
6513 (m_delay): now memoizes to prevent speed hit from slower lookupcar.
6514
6515 * scmfig.h: MACRO macro included.
6516
6517 * Init.scm: Modified to avoid "keyword as variable" errors.
6518
6519 * Macro.scm: SYNTAX-RULES, added.
6520
6521 * syntest1.scm: syntest2.scm: SYNTAX-RULES tests, added.
6522
6523 * scm.texi: Hygienic macro support documentation.
6524
6525 Thu Dec 12 13:00:46 1996 Aubrey Jaffer <[email protected]>
6526
6527 * subr.c (string make_string st_ref st_set st_equal st_append):
6528 Corrected long-standing
6529 (not (eqv? (integer->char 128)
6530 (string-ref (make-string 1 (integer->char 128)) 0)))
6531 bug found by John Kozak <[email protected]>.
6532
6533 Mon Dec 2 20:40:40 1996 Radey Shouman <[email protected]>
6534
6535 * eval.c (farlookup): Added, to handle memoized lookups in local
6536 environments with very wide or deep local environments.
6537 These print as (#@farloc-car iframe . idist).
6538 (lookupcar): Now inserts `farloc' forms instead of ilocs if
6539 necessary.
6540 (ceval): Modified to do the right thing with farlocs.
6541
6542 * scm.h (MAKILOC): Added, now used in lookupcar.
6543 (IM_FARLOC_CDR, IM_FARLOC_CAR): ISYMS added.
6544
6545 Sun Dec 1 00:41:07 1996 Aubrey Jaffer <[email protected]>
6546
6547 * build.scm (build): Added scm-srcdir to support compilation of
6548 SCM source while not cd'd to SCM directory. -I<scm-srcdir> added
6549 to all builds (to pick up scm.h, etc.).
6550
6551 Sat Nov 30 20:53:03 1996 Lorens Younes <[email protected]>
6552
6553 * findexec.c, scmfig.h, time.c: __amigados__ (gcc on amiga)
6554 support added.
6555
6556 Mon Nov 18 22:56:11 1996 Aubrey Jaffer <[email protected]>
6557
6558 * patchlvl.h (SCMVERSION): 4e6 released.
6559
6560 * bench.scm (benchmark): added. computes and display statistics
6561 on "pi.scm" benchmark.
6562
6563 * Makefile (benchlit bench): targets added. Append stats to file
6564 "BenchLog".
6565
6566 Sun Nov 17 22:21:28 1996 Aubrey Jaffer <[email protected]>
6567
6568 * scm.texi (Socket): added examples of chat servers and clients.
6569 (Internet Addresses and Socket Names): enlarged from "Internet
6570 Addresses".
6571
6572 * socket.c (l_connect): BUF0 was missing from mode bits set in
6573 returned port.
6574
6575 Sat Nov 16 22:02:39 1996 Aubrey Jaffer <[email protected]>
6576
6577 * build.scm (build-params): Added compiler-options and
6578 linker-options; added --batch-dialect and --script-name as aliases
6579 for -h and -w.
6580
6581 * scmfig.h (HAVE_SELECT): Now defined for linux.
6582
6583 Sat Nov 2 09:24:50 EST 1996 maximum entropy <[email protected]>
6584
6585 * ioext.c, scmfig.h: support for SGI (tested with SGI IRIX 5.2/gcc)
6586
6587 * ioext.c (file_set_position): If a port is bidirectional
6588 (e.g. a socket) it may be necessary on some systems to perform a
6589 file positioning operation when switching between reading and
6590 writing. This is required by ANSI C (ISO/IEC 9899:1990
6591 7.9.5.3). Therefore, a file-set-position on a bidirectional
6592 port should not signal an error if fseek generates an
6593 ESPIPE -- the fseek operation actually "succeeded" in that it
6594 reset the I/O direction flag for the FILE.
6595
6596 * repl.c (input_waiting): R4RS requires that "char-ready?"
6597 return "#t" at end-of-file. The semantics for "ioctl(...,
6598 FIONREAD, ...)" are such that it gives 0 on a socket that is
6599 closed (on the other side of the connection). If the
6600 system has select(), use that instead to get the correct
6601 behavior.
6602
6603 * socket.c (l_listen): Treat sockets that have been "listened"
6604 as input-ports. This allows polling for new connections
6605 (e.g. with "char-ready?") instead of blocking in
6606 "socket:accept".
6607
6608 * socket.c (l_accept): Fix type checking to agree with
6609 previous patch.
6610
6611 Wed Nov 13 17:11:59 1996 Aubrey Jaffer <[email protected]>
6612
6613 * sys.c (igc): fixed off-by-1 error for sizeof save_regs_gc_mark.
6614 (gc_mark): fixed off-by-1 error for sizeof(CONTINUATION). These
6615 seem to fix a very obscure GC bug.
6616
6617 Tue Oct 29 10:47:41 1996 Aubrey Jaffer <[email protected]>
6618
6619 * Init.scm (exec-self): Added.
6620
6621 * repl.c (init_repl): DUMP sets RESTART to EXEC-SELF.
6622
6623 Mon Oct 28 11:39:30 1996 Aubrey Jaffer <[email protected]>
6624
6625 * repl.c (tryload): Made tail-recursive so that dump, quit, exit,
6626 etc. will work as the last expression in a loading file.
6627 (scm_execpath): Split out from scm_unexec.
6628
6629 Sun Oct 27 22:12:32 1996 Aubrey Jaffer <[email protected]>
6630
6631 * unexec.c: All Updated from emacs-19.34 -- no changes necessary.
6632 * gmalloc.c:
6633 * pre-crt0.c:
6634 * ecrt0.c:
6635 * unexelf.c: fixes Linux (ELF) dump bug.
6636
6637 Mon Oct 21 21:49:20 1996 Aubrey Jaffer <[email protected]>
6638
6639 * build.scm (platform): linux renamed linux-aout. linux-elf fixed
6640 and renamed linux.
6641 (C-libraries): X11R6 moved library files on RedHat Linux. Linux
6642 graphics library now has entry (doesn't default).
6643 (compile-dll-c-files linux):
6644 (make-dll-archive linux): Now converts from ".o" objects to ELF
6645 ".so" form and "links" the usual libraries.
6646
6647 * Link.scm (usr:lib x:lib): dynamic linking fixed for (linux ELF)
6648 dlopen. Libraries other than ".so" object not needed; eliminated
6649 by usr:lib and x:lib returning #f.
6650
6651 * dynl.c (l_dyn_unlink): prints result of dlerror() on errors.
6652
6653 Thu Oct 10 14:05:14 1996 Aubrey Jaffer <[email protected]>
6654
6655 * eval.c (nconc2last): If CAUTIOUS is defined, checks that
6656 APPLY's arglist and last element of arglist are LIST?s.
6657
6658 Sun Oct 6 16:40:54 1996 Radey Shouman <[email protected]>
6659
6660 * eval.c (unmemocar): The code in unmemocar to deal with ILOCs was
6661 never being executed.
6662
6663 Fri Oct 4 13:57:35 1996 Aubrey Jaffer <[email protected]>
6664
6665 * sys.c (igc): symhash GC can now be disabled with
6666 #define NO_SYM_GC.
6667
6668 Wed Oct 2 20:51:07 1996 Aubrey Jaffer <[email protected]>
6669
6670 * Init.scm (boot-tail): Added FSF --help and --version options.
6671 Added --no-init-file as a synonym for -no-init-file.
6672
6673 Sun Sep 29 23:59:19 1996 Aubrey Jaffer <[email protected]>
6674
6675 * scm.texi (File-System Habitat): improved wording and added
6676 examples.
6677
6678 Thu Sep 26 22:23:32 1996 Radey Shouman <[email protected]>
6679
6680 * sys.c (intern): fixed (new) symhash GC bug.
6681
6682 Tue Sep 24 13:55:11 1996 Aubrey Jaffer <[email protected]>
6683
6684 * scm.texi (Top): Renamed sections.
6685
6686 * sys.c (mark_syms mark_sym_values): Split up mark_symhash() to
6687 immunize against accidental pointers.
6688
6689 Sat Sep 14 22:53:46 1996 Aubrey Jaffer <[email protected]>
6690
6691 * repl.c (gc_ports_collected): added to instrument symbol GC.
6692
6693 Sat Sep 14 15:35:29 1996 Radey Shouman <[email protected]>
6694
6695 * sys.c (igc): Added calls to mark_symhash() and sweep_symhash().
6696 These GC unused symbols with a top-level value of UNDEFINED.
6697 (mark_symhash): added.
6698 (sweep_symhash): added.
6699
6700 Wed Sep 11 21:18:05 1996 Aubrey Jaffer <[email protected]>
6701
6702 * scm.texi (Debugging Scheme Code): Added section.
6703
6704 Sat Aug 31 14:05:24 1996 Eric Hanchrow <[email protected]>
6705
6706 * scm.c (l_sleep): Ported to Windows NT (_WIN32)
6707
6708 * ioext.c: Ported to Windows NT (_WIN32)
6709
6710 Sat Aug 31 13:18:34 1996 Aubrey Jaffer <[email protected]>
6711
6712 * eval.c (definedp): Changed from a memoizing macro to a `syntax'.
6713
6714 Sun Jul 21 01:06:44 1996 Aubrey Jaffer <[email protected]>
6715
6716 * Link.scm (link-named-scm): fixed to call "build.scm".
6717
6718 Sat Jul 20 23:53:17 1996 Aubrey Jaffer <[email protected]>
6719
6720 * scm.texi (Memoized Expressions): section added.
6721 (Errors): section added.
6722
6723 Wed Jul 17 17:40:01 1996 Aubrey Jaffer <[email protected]>
6724
6725 * r4rstest.scm: renamed from "test.scm". Now carries copyright
6726 notice suitable for single file distribution.
6727
6728 Fri May 17 23:37:16 1996 Aubrey Jaffer <[email protected]>
6729
6730 * findexec.c (dld_find_executable): names changed to keep up with
6731 DLD changes.
6732
6733 Sun May 12 21:43:14 1996 Radey Shouman <[email protected]>
6734
6735 * unif.c (array_rank): Was returning 0 for bit-vectors.
6736 (uve_fill): Fixed error report.
6737 (lcount):
6738 (position): Made to work with 1-d shared bit-arrays.
6739 (aind): Added check for second argument, must be either
6740 an INUM, NULL, or a pair. Without this, e.g.
6741 (uniform-vector-set! <vector> 'x 0)
6742 starts cdr'ing down the symbol ...
6743 (array_inbp): Cleaned up to work with enclosed and huge arrays.
6744
6745 * gsubr.c (gsubr_apply): Fixed error report.
6746
6747 * scl.c (equal): Prevent fallthrough on last case, could cause
6748 wierdness if cases are added later.
6749
6750 * ramap.c (ra_matchp): Fixed to allow any 1-d array of zero size
6751 to match a uniform vector, and to require all non-zero length
6752 dimensions of two arrays to match even after a zero length
6753 dimension. Now promotes 0-d arrays as well as scalars to match
6754 first array shape.
6755 (sc2array): Reshapes 0-d arrays as well as scalars.
6756 Added check to make sure 2nd argument is really an array,
6757 vector or uve.
6758 (ramapc): Changed to allocate fewer array headers when arguments
6759 are 1-d arrays. (Still allocates more than strictly necessary.)
6760 (array_copy): Added check for scalar destination argument, since
6761 ra_matchp() will now promote scalars to arrays.
6762
6763 Sun May 12 00:52:51 1996 Aubrey Jaffer <[email protected]>
6764
6765 * build.scm (build): fixed HP-UX compile-dll-c-files.
6766
6767 * findexec.c (dld_find_executable): ifdefed out stat() for hpux.
6768
6769 * scm.c: New const declarations rejected by hp-ux cc; ifdefed out.
6770
6771 Thu May 9 10:28:14 1996 Tim Pierce <[email protected]>
6772
6773 * time.c sys.c findexec.c: string[s].h configuration for Solaris
6774 2.3 system using gcc 2.7.2.
6775
6776 Tue Apr 9 19:46:21 1996 Aubrey Jaffer <[email protected]>
6777
6778 * sys.c (igc): stackbase argument added. Passing 0 disables stack
6779 marking (used by dump).
6780
6781 * build.scm (build link-c-program djgpp):
6782 (build compile-c-files djgpp): Uses new batch:apply-chop-to-fit to
6783 deal with MS-DOS line length restrictions.
6784
6785 Sun Apr 7 23:15:36 1996 Aubrey Jaffer <[email protected]>
6786
6787 * repl.c (repl_driver): now supports unexec conditionally by
6788 CAN_DUMP.
6789 (scm_unexec): moved from dump.c. Now throws to top level to avoid
6790 saving continuations.
6791
6792 * dump.c: removed. Contents moved to repl.c.
6793
6794 * continue.c (dynthrow): One instruction interrupt vulnerability
6795 removed for machines with long ints. Others define SHORT_INT.
6796
6797 * repl.c (repl_driver): Throws to top level now encoded by COOKIE
6798 flags for non- SHORT_INT platforms.
6799
6800 Sat Apr 6 14:29:47 1996 Aubrey Jaffer <[email protected]>
6801
6802 * unexec.c (A_TEXT_OFFSET A_TEXT_SEEK ADJUST_EXEC_HEADER NO_REMAP
6803 TEXT_START HAVE_GETPAGESIZE SEGMENT_MASK): definitions moved from
6804 scmfig.h.
6805
6806 * gmalloc.c (HAVE_GETPAGESIZE): copied definition here so that
6807 scm.h and scmfig.h won't be included for just one definition.
6808
6809 * dump.c (scm_dump): reworked to use execpath as default second
6810 argument. Removed "#include DUMP_CODE" abomination; using
6811 suppress parameters in build.scm
6812
6813 * build.scm (build C-libraries): added dump (unexec) and nostart
6814 libraries to support dump.
6815 (build compile-commands): Added support for dump
6816 (build features): dump
6817
6818 * scm.c (execpath): now a global which init_dump() also sets.
6819
6820 * repl.c (repl_driver): added scm_evstr("(boot-tail)") call
6821 after scm_ldfile(initpath) so command-line arguments can be
6822 processed after "Init.scm" is loaded.
6823
6824 * build.scm (build platform): added record for MS-DOS so defaults
6825 don't cause errors when -p not specified.
6826
6827 Mon Jan 9 15:43:36 1995 Patrick LECOANET <lecoanet%[email protected]>
6828
6829 * dump.c (dump): created.
6830
6831 * pre-crt0.c crt0.c gmalloc.c unexec.c unexelf.c: adapted from
6832 emacs (circa 1994).
6833
6834 Fri Apr 5 00:16:59 1996 Aubrey Jaffer <[email protected]>
6835
6836 * ramap.c (ramapc ra2contig array_imap): Added +0L to cast first
6837 argument to make_uve() to long.
6838
6839 Thu Apr 4 00:47:09 1996 Aubrey Jaffer <[email protected]>
6840
6841 * ramap.c: removed #ifdef ARRAYS (over whole file).
6842
6843 Wed Apr 3 10:14:18 1996 Aubrey Jaffer <[email protected]>
6844
6845 * Link.scm (compile-file): Now calls build.scm for compiling C.
6846
6847 * hobbit.scm ("auxiliary functions" butlast ...): removed and
6848 renamed gratuitous (and incompatible) duplications of
6849 slib/comlist.scm.
6850
6851 Mon Apr 1 08:56:09 1996 Johann Friedrich Heinrichmeyer <[email protected]>
6852
6853 * sys.c (stack_check): sizeof(STACKITEM) was multiplied on wrong
6854 side of inequality.
6855
6856 Fri Mar 29 23:52:03 1996 Aubrey Jaffer <[email protected]>
6857
6858 * patchlvl.h (SCMVERSION): 4e4
6859
6860 * build.scm (build): microsoft-c-nt support added.
6861
6862 * scm.c (l_raise): Disabled for WINDOWS_NT.
6863 (scm_find_impl_file): fixed for getenv("SCM_INIT_PATH") case.
6864
6865 Sun Mar 24 00:18:10 1996 Aubrey Jaffer <[email protected]>
6866
6867 * build.scm (build): fixed -tdll to not make archive or compile
6868 all 'linkable files.
6869
6870 Sun Mar 10 17:23:39 1996 Radey Shouman <[email protected]>
6871
6872 * ramap.c (sc2array): Added, converts a scalar to a shared array.
6873 (ramapc): Uses sc2array to convert scalar arguments to arrays
6874 for ARRAY-MAP! &c.
6875 (ura_read, ura_write, ura_fill): Added.
6876 (array_map): Added check for number of arguments when procedure
6877 arg is a subr. Added cclo case.
6878
6879 * unif.c (dims2ura): Fixed, it wasn't properly filling its result
6880 sometimes. Added range check for size of conventional arrays.
6881 (aind): Added range check when called as subr3.
6882 (array_inbp): Returns #t if called with a scalar and no
6883 index args -- APLish boundary case.
6884 (cvref): Now recycles enclosed array refs.
6885 (aset): Uses num2dbl for setting inexact array elts, so
6886 e.g. (array-set! <inexact-array> 0 ...) works.
6887 (array_contents): For strict option, wasn't returning an array
6888 whenever the base was non-zero, now less restrictive.
6889 (ra2contig): moved to ramap.c, as it calls ramapc(). To allow
6890 dynamic linking of ramap.c.
6891 (rafill): moved from ramap.c, to allow filling of arrays on
6892 creation without needing ramap.c.
6893 (uve_fill): Added, for filling uves / 1-d arrays without needing
6894 ramap.c.
6895 (uve_read, uve_write): (Re)added
6896 (ura_read, ura_write): Moved to ramap.c, now call uve_[read write].
6897 (ra2l): uses cvref instead of aref, maybe faster and works for
6898 enclosed arrays.
6899 (init_unif): Added feature 'string-case, to prevent require
6900 from nuking STRING-UPCASE!, STRING-DOWNCASE!
6901 (encl_array): Added range check for dimension args.
6902
6903 * rope.c (num2dbl): Added, analogous to num2dbl.
6904
6905 * scmfig.h Eliminated redundant #ifdef
6906
6907 * scl.c (makdbl) Rearranged so that it tests for out of range
6908 double argument before assigning to float variable, this
6909 avoids causing SIGFPE on my Linux box.
6910 (equal): Fixed so that it doesn't need extern array_equal,
6911 allowing ramap.c to be dynamically linkable.
6912
6913 * scm.c Added documented variable *scm-version*
6914
6915 Thu Mar 21 00:14:29 1996 Aubrey Jaffer <[email protected]>
6916
6917 * Link.scm (scm:object-suffix): Changed to ".so" when
6918 'sun-dl is PROVIDED?.
6919
6920 * scmfig.h (getcwd): addition for scmconfig.
6921 * findexec.c: minor change for scmconfig.
6922
6923 Wed Mar 20 00:12:43 1996 Aubrey Jaffer <[email protected]>
6924
6925 * README (Making SCM with Think C 4.0 or 4.1): Instructions added
6926 back in.
6927
6928 Sun Mar 17 00:17:21 1996 Aubrey Jaffer <[email protected]>
6929
6930 * findexec.c (dld_find_executable): Added support for ~ and ~/ in
6931 PATH environment variable.
6932
6933 Sat Mar 16 10:38:15 1996 Aubrey Jaffer <[email protected]>
6934
6935 * scm.c (scm_find_impl_file): Added generic_name argument to test
6936 for cases where executable *doesn't* have its usual name.
6937 (scm_sep_init_try): Added combined function to reduce length of
6938 scm_find_impl_file.
6939 (scm_try_path): Now tests for (and returns) 0.
6940
6941 * build.scm (build): fixed assorted bugs.
6942
6943 Tue Mar 12 12:48:28 1996 Aubrey Jaffer <[email protected]>
6944
6945 * 4e3: released.
6946 * repl.c (read_token): ',' now delimits token.
6947
6948 Mon Mar 4 23:19:50 1996 Aubrey Jaffer <[email protected]>
6949
6950 * scm.texi (SLIB and require.scm): SLIB installation and
6951 "require.scm" trampoline configuration method explained.
6952
6953 * Init.scm (load:pre load:post): added to share code between
6954 scm:load and scm:load-source. "require" is now loaded using the
6955 regular calls; trying to maintain SCM initializing without SLIB is
6956 too hard.
6957
6958 Sun Mar 3 10:59:23 1996 Aubrey Jaffer <[email protected]>
6959
6960 * build.bat: Added for MS-DOS.
6961
6962 Fri Mar 1 23:47:57 1996 Aubrey Jaffer <[email protected]>
6963
6964 * scm.texi (Line Editing): html-linked readline and editline ftp
6965 sites.
6966
6967 * build.scm: Added support for edline.
6968
6969 Wed Feb 28 23:39:55 1996 Aubrey Jaffer <[email protected]>
6970
6971 * build.scm (build:build): library field `supress-files' added.
6972 Used for supressing "findexec.c" when DLD is present.
6973
6974 Sun Feb 25 00:29:47 1996 Aubrey Jaffer <[email protected]>
6975
6976 * scm.c (scm_find_impl_file): Tries hard to find Init.scm in
6977 implementation vicinity.
6978 (scm_try_path scm_cat_path): used by scm_find_impl_file.
6979 (main): Changed to use scm_find_impl_file() and free pathnames
6980 before exit.
6981
6982 Wed Feb 21 23:27:43 1996 Aubrey Jaffer <[email protected]>
6983
6984 * findexec.c (dld_find_executable): extracted from DLD for
6985 general use.
6986
6987 Tue Feb 20 00:08:29 1996 Jochen Schwarze <[email protected]>
6988
6989 * Init.scm (*vicinity-suffix*): Now includes #\/ for MSDOS,
6990 etc. (GCC support).
6991 (library-vicinity): Now set from implementation-vicinity if
6992 environment variable SCHEME_LIBRARY_PATH is not defined.
6993
6994 * scm.c (SYSTNAME): not redefined with DJGPP (both MSDOS and
6995 unix).
6996
6997 Sun Feb 18 09:29:57 1996 Aubrey Jaffer <[email protected]>
6998
6999 * subr.c (divbigint): fixed sign bug for 0 return value.
7000
7001 Sun Feb 18 00:29:43 1996 Per Bothner <[email protected]>
7002
7003 * gsubr.c (gsubr_apply): elided gratuitous make_vector call.
7004
7005 Sat Feb 17 11:50:41 1996 Aubrey Jaffer <[email protected]>
7006
7007 * Init.scm (*features*): string-case added.
7008 (string-upcase string-downcase string-capitalize): added.
7009
7010 * unif.c (strcap): string-capitalize!
7011
7012 * sys.c (sysintern): Now looks for (and uses) symbol already
7013 created. This will eliminate order of linking and loading
7014 dependencies.
7015
7016 Tue Sep 26 20:37:25 1995 Aubrey Jaffer (jaffer@jacal)
7017
7018 * scm.texi (Evaluation): Enlarged description to include type
7019 folding.
7020 (Cells): Split Node Cells into Header, Subr, Ptob, and Smob Cells.
7021
7022 Fri Sep 22 22:31:13 1995 Aubrey Jaffer (jaffer@jacal)
7023
7024 * scm.c scmfig.h (WINDOWS_NT): support added. But what flag does
7025 Windows NT #define?
7026
7027 Sun Sep 10 13:37:44 1995 Aubrey Jaffer (jaffer@jacal)
7028
7029 * repl.c (scm_stack_trace): Added Scheme call "stack-trace" to
7030 print stack from exception handlers.
7031 (everr): Now processes all exceptions before longjmping to
7032 rootcont #ifdef CAUTIOUS.
7033
7034 * Init.scm (user-interrupt): If stack-trace available, prints
7035 stack-trace and enters breakpoint.
7036 (break): Autoloaded.
7037
7038 Mon Aug 7 12:52:15 1995 Aubrey Jaffer (jaffer@jacal)
7039
7040 * scm.h (stacktrace): now a sys_protect.
7041
7042 * subr.c (ilength): differentiated negative return codes;
7043 non-terminating returns -1, not a list -2.
7044
7045 Sat Aug 5 18:50:11 1995 Aubrey Jaffer (jaffer@jacal)
7046
7047 * repl.c (scm_print_stack): added. Called by def_err_response.
7048
7049 * eval.c (ceval): SCM stacktrace variable maintained and saved
7050 in CONT(cont)->other.stacktrace. Under CAUTIOUS flag,
7051 checkargs1 label added to check special single argument calls.
7052
7053 Wed Jul 26 23:26:21 1995 Aubrey Jaffer (jaffer@jacal)
7054
7055 * repl.c (char_readyp): Now looks for BUF0 flag to determine if
7056 input_waiting() possible.
7057
7058 * scm.c (init_scm run_scm main): BUF0 flag now set on cur_inp
7059 to indicate whether CHAR-READY? will work.
7060
7061 Wed Jul 19 13:25:01 1995 Shigenobu Kimura <[email protected]>
7062 * dynl.c (l_dyn_main_call): Arguments to main (in DLD section)
7063 were reveresed! Added hpux l_dyn_main_call.
7064
7065 Sat Jul 8 22:23:03 1995 Aubrey Jaffer (jaffer@jacal)
7066
7067 * Init.scm (scm:load): Internal define dependency problem fixed.
7068 Variable *interactive* set for invocation without options.
7069
7070 * scm.texi: Guile WWW and citation added.
7071
7072 * subr.c: logical (2's complement) operations rewritten to now
7073 work with bignums. Logical procedure names changed to conform
7074 with Guile convention.
7075
7076 Fri Jun 9 13:47:58 1995 Aubrey Jaffer (jaffer@jacal)
7077
7078 * continue.c (stack_size):
7079 (make_root_continuation):
7080 (make_continuation):
7081 (free_continuation):
7082 (throw_to_continuation): moved from sys.c to make possible library
7083 module.
7084
7085 * continue.h: created from setjump.h
7086
7087 * scm.texi (Compiling And Linking): Documented l_dyn_main_call.
7088 (Type Conversions): added rope.c documentation.
7089 (Callbacks): split from "Calling Scheme From C".
7090 (Continuations): Rewritten to describe new "continue.c"
7091
7092 Fri May 19 01:32:12 1995 Aubrey Jaffer (jaffer@jacal)
7093
7094 * *.c: converted applicable uses of makfromstr with strlen to
7095 makfrom0str.
7096
7097 * rope.c: new
7098 (scm_addr): added.
7099 (num2long num2ulong num2ushort num2uchar ulong2num long2num):
7100 moved from scl.c and elsewhere.
7101 (makfromstrs makfrom0str makfromstr): moved from sys.c and posix.c
7102 (must_free_argv): new
7103 (scm_ldprog scm_ldfile scm_ldstr scm_evstr): moved from repl.c
7104 (makargvfrmstrs): chopped out of i_execv in ioext.c.
7105 makargvfrmstrs isn't really done correctly; it is GC leaky.
7106 It should return a SMOB which can be GCed, but this makes this
7107 C interface harder to use.
7108
7109 * dynl.c (l_dyn_main_call): added procedure to call
7110 dynamically linked procedure with string arguments converted
7111 to argv and argc. Written only for DLD. Needs to be repeated
7112 for other dynamic linking regimes.
7113
7114 Tue Apr 25 10:24:42 1995 Aubrey Jaffer (jaffer@jacal)
7115
7116 * subr.c (make_string): Was silently failing for illegal 2nd args!
7117
7118 Sat Apr 15 23:18:47 1995 Aubrey Jaffer (jaffer@jacal)
7119
7120 * Link.scm (catalog:add-link): When feature is already in catalog,
7121 will only add new feature association to catalog if file exists.
7122
7123 Sun Apr 9 22:59:46 1995 Aubrey Jaffer (jaffer@jacal)
7124
7125 * repl.c (repl_driver): Now closes load port when ABORTing.
7126
7127 Sat Apr 8 21:35:43 1995 Aubrey Jaffer (jaffer@jacal)
7128
7129 From: Tom Lord <[email protected]>
7130 * scm.texi:
7131 Tcl Facilities:: Mutual calling between Tcl and Scheme.
7132 Tk Facilities:: Accessing Tk from Scheme.
7133 Gwish:: A Wish-like application of Guile.
7134 System Calls:: Psst. Wanna write a manual section?
7135 Gscsh:: Shell and systems programming features.
7136
7137 From: [email protected] (Franklin Chen)
7138 * scm.c (l_raise): uses raise() ifdef STDC_HEADERS, otherwise
7139 kill().
7140
7141 From: Radey Shouman <[email protected]>
7142 * scl.c (istr2int): Fixed complaints of overflow on octal numbers
7143 >= 2^BITSPERDIGIT. Patch should make this work for all radix 2 <=
7144 radix <= 16.
7145 (num2ulong): Makes it work for negative bignum argments, and
7146 adds an overflow check.
7147
7148 * ramap.c unif.c: There are several places in ramap.c, and
7149 raprin1() in unif.c, where I had assumed that an ivect or uvect
7150 elt would be representable no larger than an INUM. This patch
7151 should fix these, also adding overflow checking for array
7152 arithmetic on uvects and ivects.
7153
7154 Also, fixes aref, which assumed that if its argument was a smob
7155 that it was an array. Changes cvref to return a real number when
7156 the imaginary part of an elt is 0.
7157
7158 Sat Mar 25 20:37:48 1995 Aubrey Jaffer (jaffer@jacal)
7159
7160 From: Don Bennett <[email protected]>
7161 * rgx.c: rewritten and extended. The compile function now takes a
7162 string of optional flags. New operations specific to the GNU
7163 regex library is conditionalized with _GNU_SOURCE.
7164
7165 From: Radey Shouman <[email protected]>
7166 * Iedline.scm (make-edited-line-port):
7167 * edline.c (lreadline): Added Gnu `readline' input editing
7168 (get ftp.sys.toronto.edu:/pub/rc/editline.shar).
7169
7170 * unif.c (ra2contig): Fix a nasty bug ra2contig() (used for
7171 UNIFORM-ARRAY-WRITE / READ!) that produced arrays with undersized
7172 contents vectors.
7173
7174 * eval.c (apply): Fix so that (APPLY <cclo> '()) works properly.
7175
7176 * gsubr.c (make_gsubr): Give the arg number ASSERTion the right
7177 sense.
7178 (gsubr_apply): Add an ASSERTion to check for too many arguments.
7179 (gsubr_apply): Take the address of the temporary vector, so as to
7180 prevent its being optimized away and allowing gc of the vector.
7181 (This happened with Cray cc in the MAP and FOR-EACH code; I'm no
7182 longer able to find out if it would happen there.)
7183
7184 Thu Mar 23 23:22:59 1995 Aubrey Jaffer (jaffer@jacal)
7185
7186 * scm.texi (I/O-Extensions): Finished.
7187
7188 * Init.scm (scm:load): `loading' messages now indented.
7189
7190 Sat Mar 4 20:58:51 1995 Aubrey Jaffer (jaffer@jacal)
7191
7192 * scm.texi: documentation finished for "posix.c" and "unix.c".
7193
7194 * posix.c (scm_getgroups): added.
7195
7196 * posix.c (makfrom0str): According to glibc.info, some field in
7197 structures like pwent may have NULL pointers. Changed makfrom0str
7198 to return BOOL_F in this case.
7199
7200 Thu Mar 2 12:52:25 1995 Aubrey Jaffer (jaffer@jacal)
7201
7202 * time.c: CLKTCK set from CLOCKS_PER_SEC, if available. Metaware
7203 HighC ported.
7204
7205 * scm.h: USE_ANSI_PROTOTYPES now controls prototypes (was
7206 __STDC__). This allows an overly fussy compiler to still have
7207 __STDC__.
7208
7209 From: [email protected] (Dorai Sitaram)
7210 * ioext.c (l_utime): include files fixed for __EMX__
7211
7212 Sun Feb 26 21:03:04 1995 Aubrey Jaffer (jaffer@jacal)
7213
7214 * sys.c (gc_mark gc_sweep): tc7_ssymbol now gets GCed because it
7215 gets used for non-GCed strings in scm_evalstr scm_loadstr.
7216 (mkstrport cwos cwis): changed so caller's name is passed into
7217 mkstrport().
7218
7219 * repl.c
7220 (scm_eval_string scm_evalstr scm_load_string scm_loadstr): added
7221 for easier C to scheme callbacks.
7222 (loadport): variable added so lreadr() and flush_ws()
7223 increment linum only when reading from the correct port.
7224 (def_err_response): now handles ARGn for argument numbers > 5 and
7225 unknown position arguments.
7226
7227 * dynl.c: Dynamic Linking now sets and restores *load-pathname*
7228 around the init_ call.
7229
7230 Sat Feb 25 11:03:56 1995 Aubrey Jaffer (jaffer@jacal)
7231
7232 * scm.c (lsystem getenv softtype ed vms_debug): moved from scl.c.
7233 (add_feature): moved from repl.c.
7234 (features): init table removed (caused multiple symbols).
7235
7236 Fri Feb 24 23:48:03 1995 Aubrey Jaffer (jaffer@jacal)
7237
7238 * scm.c (scm_init_extensions COMPILED_INITS): Added so that
7239 statically linked, compiled code can be initialized *after* most
7240 of Init.scm has loaded.
7241
7242 Wed Feb 22 15:54:01 1995 Aubrey Jaffer (jaffer@jacal)
7243
7244 * subr.c (append): Added check for bad arguments and fixed errobj.
7245
7246 Sun Feb 19 01:31:59 1995 Aubrey Jaffer (jaffer@jacal)
7247
7248 * ioext.c (exec execp): changed so that 2nd arguments is argv[0]
7249 (like posix) and renamed to execl and execlp.
7250 (execv execvp): added.
7251
7252 Sat Feb 11 17:30:14 1995 Aubrey Jaffer (jaffer@jacal)
7253
7254 * ioext.c (lexec): moved from repl.c and scm.c.
7255 (lexecp i_exec l_putenv): added.
7256
7257 * posix.c (open_pipe l_open_input_pipe l_open_output_pipe
7258 prinpipe): moved from ioext.c.
7259 (l_fork): added.
7260
7261 Fri Feb 10 10:50:03 1995 Aubrey Jaffer (jaffer@jacal)
7262
7263 * scl.c (num2long long2num): moved here from subr.c.
7264 (num2ulong): fixed (< to >=) bug.
7265
7266 * unif.c (aset array2list array_ref cvref): uniform integers and
7267 unsigned integer arrays now handle full size integers (and
7268 inexacts) using num2long, num2ulong, long2num, and ulong2num when
7269 INUMS_ONLY is not defined.
7270
7271 * scmfig.h (INUMS_ONLY): defined when INUMs are the only numbers.
7272
7273 Sun Jan 29 23:22:40 1995 Aubrey Jaffer (jaffer@jacal)
7274
7275 * scm.texi (Overview): scm.1 converted to texinfo format and
7276 incorporated.
7277
7278 Sun Jan 22 11:13:58 1995 Aubrey Jaffer (jaffer@jacal)
7279
7280 * scm.texi (Internals): code.doc converted to texinfo format.
7281 Much added and reorganized. code.doc removed.
7282
7283 Thu Jan 19 00:40:11 1995 Aubrey Jaffer (jaffer@jacal)
7284
7285 * subr.c (logbitp logtest): added.
7286
7287 Wed Jan 11 14:45:17 1995 Aubrey Jaffer (jaffer@jacal)
7288
7289 * scl.c (num2ulong): checks for bignum sign and magnitude added.
7290
7291 * subr.c (logand logior logxor lognot): lognot restriction to
7292 INUMs removed. Logand, logior, and logxor now will work for up to
7293 32 bit signed numbers.
7294
7295 Tue Jan 10 13:19:52 1995 Aubrey Jaffer (jaffer@jacal)
7296
7297 * repl.c (def_err_response): Circuitous call to quit() replaced
7298 with exit(EXIT_FAILURE);
7299 (everr): Now calls def_err_response() in interrupt frame if
7300 errjmp_bad or there are dynwinds to do. This prevents silent
7301 failure in batch mode.
7302
7303 Mon Jan 9 00:12:14 1995 Aubrey Jaffer (jaffer@jacal)
7304
7305 * scm.texi (Trouble Shooting): Section converted from README.
7306
7307 * Init.scm (-d filename): option added which does:
7308 (begin (require 'database-utilities) (open-database filename))
7309
7310 * repl.c (handle_it): Now discards possibly used top freelist cell
7311 for GC safety. Also now just punts if errjmp_bad.
7312
7313 * scm.texi: converted from MANUAL. GUILE documentation merged in.
7314
7315 Tue Jan 3 15:09:36 1995 Aubrey Jaffer (jaffer@jacal)
7316
7317 * scl.c (SYSTNAME): msdos changed to ms-dos. windows added.
7318 archimedes changed to acorn.
7319
7320 From: [email protected] (jon seymour)
7321 * scmfig.h: defined LACK_TIMES and STDC_HEADERS if __IBMC__ is
7322 defined.
7323
7324 * sys.c: #include <io.h> and #include <direct.h>. define ttyname()
7325 macro.
7326
7327 * scm.c: #include <io.h> and compile out execvp() call.
7328
7329 * time.c: #include <sys/timeb.h>
7330
7331 * makefile.os2: makefile for use with OS/2 toolkit nmake.
7332
7333 Sun Jan 1 21:17:36 1995 Aubrey Jaffer (jaffer@jacal)
7334
7335 * dynl.c Link.scm: names unified. Libraries for HP-UX fixed.
7336 HP-UX dll suffix now ".sl".
7337
7338 From: Shigenobu Kimura <[email protected]> *
7339 dynl.c (fcall): Fixed dynamic linking on hp9000s700 (or 720) HP-UX
7340 9.01 or 9.03.
7341
7342 Wed Dec 7 21:19:26 1994 Aubrey Jaffer (jaffer@jacal)
7343
7344 * ioext.c (l_open_input_pipe, l_open_output_pipe): moved from
7345 "Init.scm".
7346
7347 Mon Dec 5 16:55:21 1994 Aubrey Jaffer (jaffer@jacal)
7348
7349 * sys.c (i_setbuf0): added.
7350 (open_file): `0' in mode string now controls the buffered-ness of
7351 returned port.
7352
7353 * Init.scm (slib:load-compiled): no longer silently fails if other
7354 than the first argument does not link correctly.
7355
7356 From: Robert Sanders <[email protected]>
7357 * ioext.c (l_write_line): moved from "Init.scm".
7358
7359 Sun Dec 4 21:47:08 1994 Aubrey Jaffer (jaffer@jacal)
7360
7361 * sys.c (free_storage): [email protected] pointed out that candle
7362 was being burnt from both ends. Loop fixed. Mallocs either
7363 leaking or counted wrong.
7364
7365 Sat Dec 3 22:32:59 1994 Aubrey Jaffer (jaffer@jacal)
7366
7367 * code.doc: added description of compiled closures.
7368
7369 Thu Nov 24 23:10:31 1994 Aubrey Jaffer (jaffer@jacal)
7370
7371 * socket.c (l_socketpair): added. Both make-stream-socketpair and
7372 make-stream-socket now take optional prototype argument.
7373
7374 Tue Nov 22 00:16:05 1994 Aubrey Jaffer (jaffer@jacal)
7375
7376 * ramap.c (ramapc and friends): moved from unif.c to get source
7377 file sizes below 64k.
7378
7379 Mon Nov 21 00:44:32 1994 Aubrey Jaffer (jaffer@jacal)
7380
7381 * posix.c (l_pwinfo grinfo): made to work like network inquiry
7382 procedures (no args steps through entries).
7383 (l_setgr l_setpw l_uname): added.
7384
7385 From: Radey Shouman <[email protected]>
7386 * gsubr.c (make_gsubr gubr_apply): allows arbitrary (< 11)
7387 required, optional, and rest arguments to compiled functions.
7388
7389 Sun Nov 20 11:59:18 1994 Aubrey Jaffer (jaffer@jacal)
7390
7391 * socket.c MANUAL: most Scheme names for socket functions changed
7392 for consistency.
7393 * socket.c (socket:shutdown): added. I can't imagine what use
7394 shutdown provides. SOCKETs can be closed like any other port.
7395 Should socket:shutdown SOCKETs be closed? Does having shutdown
7396 sockets cause file descriptors to be reused? Socket:shutdown will
7397 be removed if no use is found for it.
7398 (tc16_sknm): added to encapsulate information retrieved from
7399 getpeername and getsockname.
7400 (socket-name:family socket-name:port-number socket-name:address):
7401 added to retrieve information from tc16_sknm.
7402 (inet:string->address inet:address->string inet:network
7403 inet:local-network-address inet:make-address): added.
7404 (gethost sethostent getnet getnetent getproto setprotoent getserv
7405 setservent): inquiry procedures added.
7406
7407 * sys.c (makfromstrs(argc, argv)): added. converts C array of
7408 strings to SCM list of strings. If argc < 0, a null terminated
7409 array is assumed.
7410
7411 Sat Nov 19 00:20:58 1994 Aubrey Jaffer (jaffer@jacal)
7412
7413 * eval.c (l_proc_doc): added procedure-documentation.
7414
7415 Fri Nov 18 23:34:35 1994 Aubrey Jaffer (jaffer@jacal)
7416
7417 * build.scm (scm:build): Added. Replaces system specific
7418 makefiles.
7419 * ccnfigdb.scm: Database of system specific compile, link, and
7420 archive procedures and library information.
7421
7422 Thu Oct 27 12:57:02 1994 Jerry D. Hedden <[email protected]>
7423
7424 * ioext.c: conditional code for vms and version (3.6) of Aztec C.
7425 * pi.scm ((e digits)): Modified 'bigpi' for slight speed
7426 improvement. Added function to calculate digits of 'e'.
7427
7428 Wed Oct 26 11:22:05 1994 Gary Houston <[email protected]>
7429
7430 * scl.c (round): Now rounds as described in R4RS.
7431
7432 * test.scm (test-inexact): test cases for round.
7433
7434 Tue Oct 25 00:02:27 1994 Aubrey Jaffer (jaffer@jacal)
7435
7436 * sys.c (grow_throw lthrow dynthrow): now pass arrays, check
7437 for adequate growth, and clear out register windows (on sparc).
7438
7439 Mon Oct 24 01:05:34 1994 Aubrey Jaffer (jaffer@jacal)
7440
7441 * ioext.c (ttyname fileno): added.
7442
7443 Sat Oct 22 12:12:57 1994 Aubrey Jaffer (jaffer@jacal)
7444
7445 * unix.c (symlink readlink lstat): added.
7446
7447 * scmfig.h repl.c sys.c (IO_EXTENSIONS): flag removed.
7448
7449 * ioext.c (read-line read-line! file-position, file-set-position
7450 reopen-file open-pipe opendir readdir rewinddir closedir chdir
7451 umask rename-file isatty? access chmod mkdir rmdir stat utime
7452 raise): moved from "repl.c" and "sys.c".
7453
7454 Fri Oct 21 21:19:13 1994 Radey Shouman <[email protected]>
7455
7456 * unif.c (ra2contig): now has a second parameter to indicate
7457 whether copying is necessary or not. Eliminates gratuitous copy
7458 by UNIFORM-ARRAY-READ! when called with a noncontiguous array.
7459
7460 (array_map): more liberal check on when ARRAY-MAP! can use
7461 array-ified asubrs.
7462
7463 Thu Oct 20 18:00:35 1994 Aubrey Jaffer (jaffer@jacal)
7464
7465 * sys.c (opendir readdir rewinddir closedir reopen-file): added
7466 under IO_EXTENSIONS.
7467
7468 Wed Oct 19 14:18:26 1994 Aubrey Jaffer (jaffer@jacal)
7469
7470 * eval.c (badargsp): added under ifndef RECKLESS to check @apply
7471 and apply() arg counts.
7472
7473 Tue Oct 18 00:02:10 1994 Aubrey Jaffer (jaffer@jacal)
7474
7475 * unix.c (mknod acct nice sync): added.
7476
7477 * socket.c (socket bind! gethost connect! listen! accept): added.
7478
7479 * time.c (utime): added under IO_EXTENSIONS.
7480
7481 Mon Oct 17 23:49:06 1994 Aubrey Jaffer (jaffer@jacal)
7482
7483 * sys.c (getcwd umask access chmod mkdir rmdir): added
7484 under IO_EXTENSIONS.
7485
7486 * scm.c (l_pause): added if SIGALRM defined.
7487 (l_sleep): added if SIGALRM not defined.
7488
7489 * scl.c (num2ulong): added. Used in "time.c"
7490
7491 Sun Oct 16 22:41:04 1994 Aubrey Jaffer (jaffer@jacal)
7492
7493 * sys.c (access chmod): Posix access added under IO_EXTENSIONS.
7494
7495 Fri Oct 14 09:45:32 1994 Aubrey Jaffer (jaffer@jacal)
7496
7497 * posix.c (chown link pipe waitpid, kill, getpw, getgr, get*id,
7498 set*id): added.
7499
7500 * time.c (l_raise l_getpid): added
7501 * subr.c (ulong2big):
7502 * scl.c (ulong2num): useful routines for system call data
7503 conversion moved from "time.c".
7504
7505 Thu Sep 22 14:48:16 1994 Aubrey Jaffer (jaffer@jacal)
7506
7507 * subr.c (big2inum): (more accruately) renamed from big2long.
7508
7509 Mon Aug 29 11:36:46 1994 Radey Shouman <[email protected]>
7510
7511 * unif.c: This is a large patch, but also a bit larger than it
7512 appears -- I moved a few function definitions around to eliminate
7513 gratuitous forward references.
7514
7515 * unif.c repl.c (raprin1): Combined print routine for arrays with
7516 that for uves.
7517
7518 * unif.c (UNIFORM-VECTOR-READ! and -WRITE): work with general
7519 arrays, by copying when necessary, renamed them to
7520 UNIFORM-ARRAY-READ! and -WRITE.
7521
7522 * unif.c (ARRAY-CONTENTS): Generalized so that it returns a 1-d
7523 array even when the stride in the last dimension is greater than
7524 one, gave it an optional second argument STRICT, which makes it
7525 behave as it did before, returning an array/vector only if the
7526 contents are contiguous in memory.
7527
7528 * unif.c (ARRAY-CONTIGUOUS?) Eliminated. Instead, use
7529 (lambda (ra) (array? (array-contents ra #t)))
7530
7531 * unif.c code.doc (ramapc): unrolls arrays mapping into one loop
7532 if possible, to make this quick, changed the format of the array
7533 CAR, now uses one bit to indicate that an array is contiguous --
7534 this still allows a ridiculous number of dimensions.
7535
7536 * scm.h (DSUBRF): dsubrs are mapped directly, to allow this I
7537 moved the typedef for dsubr and #define for DSUBRF to scm.h
7538
7539 * unif.c (ARRAY-MAP!) taught something about subrs, now most subrs
7540 may be mapped without going through apply(), saving time and
7541 reducing consing. +, -, *, /, =, <, <=, >, and >= are mapped
7542 directly as special cases -- for uniform arrays this is nearly as
7543 fast as the equivalent C, and doesnt' cons. I've made sure that
7544 +, -, *, and / vectorize on the CRAY, this may be wasted effort
7545 but the effort is not great.
7546
7547 * unif.c (ARRAY-COPY!) now copies many arrays of differing types
7548 to each other without going through the aref/aset, e.g. float ->
7549 double, double -> complex, integer -> float ... This should make
7550 array type coercions for arithmetic faster.
7551
7552 * unif.c (TRANSPOSE-ARRAY) Added, which returns a shared array
7553 that is the transpose of its first argument. I think this does
7554 what an APL:TRANSPOSE would.
7555
7556 * unif.c (ENCLOSE-ARRAY) Added, this returns an array that looks
7557 like an array of shared arrays, the difference being that the
7558 shared arrays are not actually allocated until referenced.
7559 Internally, the contents of an enclosed array is another array.
7560 The main reason for this is to allow a reasonably efficient
7561 implementation of APL:COMPRESS, EXPAND, and INDEXING. In order to
7562 actually make an array of shared arrays, just use ARRAY-COPY!.
7563
7564 * unif.c (cvref): Created internal version of aref(), cvref() that
7565 doesn't do error checking; Thus speeding things up. Profiling of
7566 SCM running array code revealed that aref() was taking a
7567 surprising fraction of the CPU time
7568
7569 TO DO:
7570
7571 The mechanism for looking up the vectorized functions is a little
7572 kludgy, I was tempted to steal some of the CAR of the subr type to
7573 encode an offset into a table of vectorized functions, but this
7574 would make it more likely that dynamically loaded subrs lose thier
7575 names.
7576
7577 It is almost possible to write APL:+ and friends now, it is just
7578 necessary to figure out the appropriate type of the returned array
7579 and allocate it, and to promote scalar arguments to arrays (with
7580 increments 0).
7581
7582 This doesn't include vectorized REAL-PART, IMAG-PART,
7583 MAKE-RECTANGULAR ...
7584
7585 I think some C support for APL:REDUCE and maybe INNER-PRODUCT will
7586 be needed for a reasonably fast APL.scm
7587
7588 unif.c is getting quite big, time to split it up?
7589
7590
7591 Mon Sep 5 22:44:50 1994 Aubrey Jaffer (jaffer@jacal)
7592
7593 * Init.scm repl.c (quit): code was not using return values
7594 correctly.
7595
7596 Sun Aug 21 01:02:48 1994 Aubrey Jaffer (jaffer@jacal)
7597
7598 * record.c (init_record): remaining record functions moved into C
7599 code.
7600 * eval.c sys.c: compiled closures now conditional under CCLO.
7601
7602 Sat Aug 20 23:03:36 1994 [email protected] (Radey Shouman)
7603
7604 * eval.c (ceval apply):
7605 * sys.c (makcclo): tc7_cclo, compiled closures, now supported.
7606 * record.c (init_record): C implementation of slib "Record"s using
7607 CCLO.
7608 * scm.h subr.c (QUOTIENT MODULO REMAINDER): fixes a bug for
7609 bignums with DIGSTOOBIG defined. Also, changed the return type of
7610 longdigs() to void, since that value is no longer used anywhere.
7611
7612 Mon Aug 1 11:16:56 1994 Aubrey Jaffer (jaffer@jacal)
7613
7614 * time.c (curtime): replaces get-universal-time. Other time
7615 functions removed (SLIB support more complete).
7616
7617 * subr.c (divbigbig): fixed (modulo -2177452800 86400) => 86400
7618 bug. Also added to test.scm.
7619
7620 Sun Jul 24 16:09:48 1994 Aubrey Jaffer (jaffer@jacal)
7621
7622 * dynl.c (init_dynl): *feature* dld:dyncm added for dynamically
7623 (ldso) linked libc.sa and libm.sa (under Linux).
7624
7625 Fri Jul 15 12:53:48 1994 Aubrey Jaffer (jaffer@jacal)
7626
7627 * unif.c (array-fill!): bug with increment in default clause fixed.
7628 Fast string support added.
7629
7630 From: [email protected] (Radey Shouman)
7631 * unif.c (array-fill! array-for-each): bug fixes.
7632
7633 Sun Jul 10 01:51:00 1994 Aubrey Jaffer (jaffer@jacal)
7634
7635 * scm.c (run_scm init_scm): "-a" heap allocation argument supported.
7636
7637 * Makefile (proto.h): removed.
7638
7639 From: Drew Whitehouse, [email protected]
7640 * scm.h (P): Conditionalized ANSI'fied version of the scm.h.
7641
7642 Sun Jun 26 12:41:59 1994 Aubrey Jaffer (jaffer@jacal)
7643
7644 * Link.scm (usr:lib lib): Now checks for shared libraries
7645 (lib*.sa) first.
7646
7647 Thu Jun 23 19:45:53 1994 Aubrey Jaffer (jaffer@jacal)
7648
7649 * scl.c scm.c: Support for compilation under Turbo C++ for Windows
7650 (system and exec disabled) added under C flag "_Windows".
7651
7652 Sat Jun 18 11:47:17 1994 Aubrey Jaffer (jaffer@jacal)
7653
7654 * test.scm ((test-delay)): added.
7655 ((test-bignum)): added and called automatically if bignums
7656 suported. test-inexact called automatically if inexacts
7657 supported.
7658
7659 Mon Jun 6 09:26:35 1994 Aubrey Jaffer (jaffer@jacal)
7660
7661 * Init.scm (trace untrace): moved to SLIB/trace.scm.
7662
7663 Thu May 12 00:01:20 1994 Aubrey Jaffer (jaffer@jacal)
7664
7665 * Link.scm: Autoload for hobbit now does (provide 'hobbit). This
7666 allows hobbit to know if it is self compiling (although reloads of
7667 hobbit will not be quite right).
7668 ((compile file . args)): removed.
7669
7670 * makefile.unix (proto.h): removed.
7671
7672 * Transcen.scm: compile-allnumbers HOBBIT declaration added.
7673 Init.scm will now load compiled Transcen.o.
7674
7675 * scm.h: HOBBIT section removed.
7676
7677 * README (SLIB): Now strongly recommends getting SLIB and lists
7678 ftp sites.
7679
7680 * eval.c (m_delay): fixed bug with multiple sets of (delay x).
7681
7682 Thu Apr 28 22:41:41 1994 Aubrey Jaffer (jaffer@jacal)
7683
7684 * unif.c (makflo): shortcut for single precision float arrays
7685 added.
7686
7687 Fri Apr 15 00:54:14 1994 [email protected] (Radey Shouman)
7688
7689 * unif.c: no longer uses pointer comparisons in loops. Should
7690 fix problems on 8086 processors.
7691 * unif.c (make_sh_array): Fixes MAKE-SHARED-ARRAY so that shared
7692 arrays with only 1 element in some direction may still be
7693 ARRAY-CONTIGUOUS?
7694 (uve_write uve_read): Fixes bug in UNIFORM-ARRAY-WRITE,
7695 UNIFORM-ARRAY_READ!. Now they do the right thing for shared
7696 bit-arrays not starting at the beginning of their contents vector.
7697 (array_contents ARRAY-SIMPLE?): ARRAY-CONTENTS may now return a
7698 shared, contiguous, 1-d array, instead of a vector, if the array
7699 cannot access all of the contents vector. ARRAY-SIMPLE? removed.
7700 (array-fill!): a replacement and generalization of
7701 UNIFORM-VECTOR-FILL!.
7702 (raequal): Combines with uve_equal(), providing also ARRAY-EQUAL?
7703 ARRAY-EQUAL? is equivalent to EQUAL? if all its arguments are
7704 uniform vectors or if all are arrays. It differs from EQUAL? in
7705 that a shared, 1-d array may be ARRAY-EQUAL? to a uniform vector.
7706 for example
7707 (define sh (make-shared-array '#(0 1 2 3) list '(0 1))) ==> #1(0 1)
7708 (equal? '#(0 1) sh) ==> #F
7709 (array-equal? '#(0 1) sh) ==> #T
7710 (list2ura): Combines list2uve() and list2ura().
7711
7712 Thu Apr 14 23:26:54 1994 Aubrey Jaffer (jaffer@jacal)
7713
7714 * time.c (LACK_FTIME LACK_TIMES): defined for vms.
7715
7716 Mon Apr 4 10:39:47 1994 Aubrey Jaffer (jaffer@jacal)
7717
7718 * eval.c (copytree): now copies vectors as well.
7719
7720 * repl.c (quit): now accepts #t and #f values.
7721
7722 Sun Apr 3 23:30:14 1994 Aubrey Jaffer (jaffer@jacal)
7723
7724 * repl.c (repl): call to my_time() moved to not include READ time.
7725
7726 * time.c (mytime): now prefers to use times() over clock().
7727 Compilation constant CLOCKS_PER_SEC doesn't scale when a binary is
7728 moved between machines.
7729
7730 Thu Mar 31 16:22:53 1994 Aubrey Jaffer (jaffer@jacal)
7731
7732 * Init.scm (*SCM-VERSION*): added.
7733
7734 * Makefile (intro): Added message for those who just make.
7735 Cleaned up and reorganized Makefile.
7736
7737 * patchlvl.h (PATCHLEVEL): removed. Whole version now just in
7738 SCMVERSION.
7739
7740 Wed Mar 23 00:09:51 1994 [email protected] (Radey Shouman)
7741
7742 * repl.c (iprin1): Characters higher than 127 print as
7743 #\<octal-number>.
7744
7745 * Init.scm ((read:array digit port)): added. Most # syntax
7746 handled in read:sharp.
7747
7748 * unif.c (clist2uve clist2array): removed.
7749
7750 Fri Mar 11 15:10:53 1994 Radey Shouman ([email protected])
7751
7752 * sys.c (sfgetc): can now return EOF.
7753
7754 Mon Mar 7 17:07:26 1994 Aubrey Jaffer (jaffer@jacal)
7755
7756 * patchlvl.h (SCMVERSION): 4e0
7757
7758 * scmfig.h: was config.h (too generic).
7759
7760 * scm.c (main run_scm) repl.c (repl_driver init_init): now take
7761 initpath argument. IMPLINIT now used in scm.c
7762
7763 Sun Feb 27 00:27:45 1994 Aubrey Jaffer (jaffer@jacal)
7764
7765 * eval.c (ceval m_cont IM_CONT): @call-with-current-continuation
7766 special form for tail recursive call-with-current-continuation
7767 added. call_cc() routine removed.
7768
7769 Fri Feb 25 01:55:06 1994 Aubrey Jaffer (jaffer@jacal)
7770
7771 * eval.c (ceval m_apply IM_APPLY apply:nconc-to-last): @apply
7772 special form for tail-recursive apply added. ISYMs reactivated.
7773
7774 Mon Feb 21 14:42:12 1994 Aubrey Jaffer (jaffer@jacal)
7775
7776 * crs.c (nodelay): added. In NODELAY mode WGETCH returns
7777 eof-object when no input is ready.
7778
7779 * Init.scm ((read:sharp c port)): defined to handle #', #+, and
7780 #-.
7781
7782 * repl.c (lreadr): Now calls out to Scheme function read:sharp
7783 when encountering unknown #<char>.
7784
7785 Tue Feb 15 01:08:10 1994 Shiro KAWAI <[email protected]>
7786
7787 * eval.c (ceval apply): under flag CAUTIOUS, checks for applying
7788 to non-lists added.
7789
7790 Sat Feb 12 21:23:01 1994 Aubrey Jaffer (jaffer@jacal)
7791
7792 * sys.c (sym2vcell intern sysintern): now use internal strhash().
7793
7794 * scl.c sys.c (hash hashv hashq strhash()): added.
7795
7796 Sat Feb 5 01:24:35 1994 Aubrey Jaffer (jaffer@jacal)
7797
7798 * scm.h (ARRAY_NDIM): #define ARRAY_NDIM NUMDIGS changed to
7799 #define ARRAY_NDIM(x) NUMDIGS(x) to correct problem on Next.
7800
7801 Fri Feb 4 23:15:21 1994 [email protected] (Radey Shouman)
7802
7803 * unif.c: 0d arrays added. Serial array mapping functions and
7804 ARRAY-SIMPLE? added.
7805
7806 Thu Feb 3 12:42:18 1994 Aubrey Jaffer (jaffer@jacal)
7807
7808 * scm.h (LENGTH): now does unsigned shift.
7809
7810 Wed Feb 2 23:40:25 1994 Aubrey Jaffer (jaffer@jacal)
7811
7812 * Link.scm (*catalog*): catalog entries for db (wb),
7813 turtle-graphics, curses, regex, rev2-procedures, and
7814 rev3-procedures added.
7815
7816 Sun Jan 30 19:25:24 1994 [email protected] (Radey Shouman)
7817
7818 * sys.c eval.c setjump.h setjump.s (longjump setjump): full
7819 continuations now work on Cray YMP.
7820
7821 Thu Jan 27 01:09:13 1994 Aubrey Jaffer (jaffer@jacal)
7822
7823 * dynl.c MANUAL Init.scm (init_dynl): dynamic linking modified for
7824 modern linux.
7825
7826 Sat Jan 22 17:58:55 1994 Aubrey Jaffer (jaffer@jacal)
7827
7828 From: [email protected] (Al Slater)
7829 * makefile.acorn repl.c (set_erase): Port to acorn archimedes.
7830 This uses Huw Rogers free unix function call library for the
7831 archimedes - this is very very widely available and should pose no
7832 problem to anyone trying to find it - its on every archimedes ftp
7833 site.
7834
7835 From: [email protected] (Hugh Emberson)
7836 * dynl.c Link.scm: Dynamic Linking with SunOS.
7837
7838 Thu Jan 6 22:12:51 1994 (jaffer at jacal)
7839
7840 * sys.c (gc_mark mark_locations): now externally callable.
7841
7842 Sun Jan 2 19:32:59 1994 [email protected] (Fred J Kaudel)
7843
7844 * unif.c (ra_matchp ramapc): patch to unif.c avoids two problems
7845 (K&R C does not allow initialization of "automatic" arrays or
7846 structures). This was not use in 4d2 or previously, and the
7847 following patch ensures that such initialization only occurs for
7848 ANSI C compilers (Note that K&R C compilers need to explicitly
7849 assign the values).
7850
7851 Sat Dec 18 23:55:30 1993 (jaffer at jacal)
7852
7853 * scm.1 scm.doc (FEATURES): improved and updated manual page.
7854
7855 * repl.c (BRACKETS_AS_PARENS): controls whether [ and ] are read
7856 as ( and ) in forms.
7857
7858 Wed Dec 8 23:13:09 1993 [email protected] (Radey Shouman)
7859
7860 * unif.c: More array fixes and functions.
7861
7862 Tue Dec 7 00:44:23 1993 (jaffer at jacal)
7863
7864 * dynl.c (dld_stub): removed since dld is working better on Linux.
7865
7866 Wed Dec 1 15:27:44 1993 (jaffer at jacal)
7867
7868 * scm.h (SNAME): explicit cast added to get rid of compiler
7869 warnings.
7870
7871 From: [email protected] (Brian Harvey)
7872 * repl.c (repl) output newlines when more than one form on a line
7873 for Borland C.
7874
7875 From: [email protected] (Radey Shouman)
7876 * unif.c: More array fixes and documentation.
7877
7878 Mon Nov 29 01:06:21 1993 [email protected] (Radey Shouman)
7879
7880 * unif.c: More array functions (need documentation).
7881
7882 Sun Nov 28 01:34:22 1993 (jaffer at jacal)
7883
7884 * scm.h (SNAME): returns a pointer to nullstr if offset is 0.
7885
7886 * subr.c eval.c (make_synt make_subr): now check that offset from
7887 heap_org hack works for each subr. If not, 0 is used.
7888
7889 * Link.scm (compile-file): compiles SCM file to object suitable
7890 for LOAD.
7891
7892 * Link.scm: initialization file created with Scheme code for
7893 compilation and linking. LOAD now automatically loads SCM object
7894 files.
7895
7896 * dynl.c Init.scm: dynamic linking now works under DLD on Linux.
7897 Wb, crs, and sc2 can by dynamically loaded.
7898
7899 Thu Nov 25 22:58:36 1993 (jaffer at jacal)
7900
7901 * sys.c (ltmpnam): return value of mktemp call tested in accord
7902 with HP-UX documentation (returns "" on error).
7903
7904 * config.h (SYSCALLDEF): removed. Macro I/O calls (getc, putc)
7905 replaced with function versions. Control-C interrupts should work
7906 while pending input on all systems again.
7907
7908 Tue Nov 23 01:18:35 1993 [email protected] (Dorai Sitaram)
7909
7910 * repl.c sys.c time.c config.h: MWC (Mark Williams C) support.
7911
7912 Sun Nov 7 10:58:53 1993 "Greg Wilson" <[email protected]>
7913
7914 * scm.c config.h (TICKS ticks tick-interrupt): if TICKS is
7915 #defined, ticks and tick-interrupt work like alarm and
7916 alarm-interrupt, but with units of evaluation rather than units of
7917 time.
7918
7919 Mon Nov 1 18:47:04 1993 (jaffer at jacal)
7920
7921 * unif.c (uniform-vector-ref => array-ref): integrated arrays
7922 with uniform-vectors. Strings, vectors, and uniform-vectors
7923 now just special case of arrays (to the user).
7924
7925 Fri Oct 29 01:26:53 1993 (jaffer at jacal)
7926
7927 * unif.c (rasmob tc16_array): arrays are now a smob.
7928
7929 Thu Oct 28 01:21:43 1993 (jaffer at jacal)
7930
7931 * sys.c repl.c (igc gc_start): GC message gives reason for GC.
7932
7933 Wed Oct 27 10:03:00 1993 (jaffer at jacal)
7934
7935 * config.h (SICP): flag makes (eq? '() '#f) and changes other
7936 things in order to make SCM more compatible with Abelson and
7937 Sussman's book.
7938
7939 * sys.c (gc_mark gc_sweep mark_locations): GC bug fixed. GC from
7940 must_malloc would collect the tc_free_cell already allocated.
7941
7942 * sys.c setjump.h (must_malloc must_realloc INIT_MALLOC_LIMIT):
7943 modified to call igc when malloc usage exceeds mtrigger (idea from
7944 [email protected], Hugh Secker-Walker).
7945
7946 From: Jerry D. Hedden
7947 * pi.scm (bigpi): bignum version of pi calculator.
7948
7949 Tue Oct 26 18:41:33 1993 (jaffer at jacal)
7950
7951 * repl.c (room): added procedure for printing storage statistics.
7952
7953 Sun Oct 24 22:40:15 1993 (jaffer at jacal)
7954
7955 * config.h eval.c scl.c (STACK_LIMIT CHECK_STACK): added.
7956 * sys.c (stack_check): added.
7957
7958 Sat Oct 23 00:08:30 1993 (jaffer at jacal)
7959
7960 * sys.c (mallocated): added to keep track of non-heap usage.
7961
7962 * sys.c (igc): fixed interrupt vulnerabilities around gc.
7963
7964 Sun Oct 17 13:06:11 1993 (jaffer at jacal)
7965
7966 * repl.c (exit_report): added. Prints cumulative times if
7967 (verbose > 2). Called from free_storage().
7968
7969 * repl.c (repl): fixed CRDYP(stdin) BUG! Transcripts should work
7970 again. Other annoying CR behaviour fixed.
7971
7972 * time.c (init_time your_base my_base): now not reset when
7973 restarting so timing numbers for restarting are correct.
7974
7975 * scm.h (sys_protects): rearranged.
7976 * sys.c (tmp_errp): now a statically allocated global variable,
7977 used by init_storage and free_storage.
7978 * scm.h sys.c (tc16_fport, tc16_pupe, tc16_strport, tc16_sfport):
7979 now #defines (which must correspond to order of newptob calls).
7980
7981 Sun Oct 3 20:38:09 1993 Bryan O'Sullivan ([email protected])
7982
7983 * README.unix configure configure.in scmconfig.h.in
7984 mkinstalldirs Makefile.in acconfig-1.5.h: SCM can now be built
7985 using GNU autoconf. Put in scmconfig4c5.tar.gz
7986
7987 Sun Oct 3 00:33:57 1993 (jaffer at jacal)
7988
7989 * MANUAL (bit-count bit-position bit-set*! bit-count*
7990 bit-invert!): (from unif.c) are now documented.
7991
7992 * sys.c (fixconfig): added 3rd argument to distinguish between
7993 setjump.h and config.h.
7994 * setjump.h config.h: moved IN_SYS stuff from config.h to
7995 setjump.h.
7996 * config.h (HAVE_CONFIG_H): User config preferences now taken
7997 from "scmconfig.h" if HAVE_CONFIG_H is defined.
7998 * config.h (EXIT_SUCCESS EXIT_FAILURE): fixed for VMS.
7999
8000 Sat Oct 2 00:34:38 1993 [email protected] (Radey Shouman)
8001
8002 * unif.c repl.c: added read and write syntax for uniform vectors.
8003 * unif.c (uniform-vector->list list->uniform-vector): created.
8004 * time.c (time_in_msec): conditionalized for wide range of CLKTCK
8005 values.
8006 * config.h (BITSPERDIG POINTERS_MUNGED)
8007 * scm.h (PTR2SCM SCM2PTR)
8008 * scl.c (DIGSTOOBIG)
8009 Ported SCM to Unicos, the Cray operating system.
8010
8011 From: [email protected] (Andreas Schwab)
8012 * scl.c (dblprec): set from DBL_DIG, if available.
8013
8014 Fri Oct 1 21:43:58 1993 (jaffer at jacal)
8015
8016 * unif.c (bit-position): now returns #f when item is not found.
8017 Now returns #f when 3rd argument is length of 2nd argument
8018 (instead of error).
8019
8020 Fri Sep 24 14:30:47 1993 (jaffer at jacal)
8021
8022 * sys.c (free_storage): fixed bug where growth_mon was being
8023 called after the port cell had been freed. gc_end now also
8024 called at end.
8025
8026 Tue Sep 21 23:46:05 1993 (jaffer at jacal)
8027
8028 * Init.scm scm.c: Restored old command line behaviour (loading all
8029 command line arguments) for case when first command line argument
8030 does not have leading `-'.
8031
8032 * sys.c (mode_bits): abstracted from open_file and mksfpt.
8033
8034 * scm.h (*FPORTP): series of predicates added for operations which
8035 only work on some fports.
8036
8037 * sys.c crs.c: ungetc removed from ptobfuns structure and
8038 soft-ports.
8039
8040 Mon Sep 20 23:53:25 1993 (jaffer at jacal)
8041
8042 * sys.c (make-soft-port): Soft-ports added, allowing Scheme
8043 i/o extensions.
8044
8045 Sun Sep 19 22:55:28 1993 (jaffer at jacal)
8046
8047 * 4c4: released.
8048 * Init.scm scm.c scm.1: command line proccessing totally
8049 rewritten. Thanks to Scott Schwartz
8050 <[email protected]> for help with this.
8051
8052 Mon Sep 13 21:45:52 1993 [email protected] (Ulrich Pegelow)
8053
8054 * scl.c (add1): finally a way to fool optimizing gcc to not use
8055 extra precision registers.
8056
8057 Sun Sep 12 18:46:02 1993 (jaffer at jacal)
8058
8059 * sys.c (pwrite): added to stubbify fwrite to fix bug on VMS.
8060 * config.h: moved flags to top per suggestions from Bryan
8061 O'Sullivan ([email protected]).
8062
8063 Fri Sep 10 11:42:27 1993 (jaffer at jacal)
8064
8065 * repl.c config.h (EXIT_SUCCESS EXIT_ERROR): added. Values
8066 returned by SCM program.
8067
8068 Thu Sep 9 13:09:28 1993 Vincent Manis <[email protected]>
8069
8070 * sys.c (stwrite init_types add_final): fixed declarations.
8071
8072 Mon Sep 6 16:10:50 1993 Bryan O'Sullivan ([email protected])
8073
8074 * README: changed the build and installation instructions to bring
8075 them up to date with reality.
8076
8077 Sun Sep 5 23:08:54 1993 Bryan O'Sullivan ([email protected])
8078
8079 * Wrote autoconf script to support GNU Autoconf configuration
8080 to make scm easier to build.
8081
8082 * Created Makefile.in; a radical overhaul of Makefile to remove
8083 some of the brokenness and allow cross-compilation and use of
8084 autoconf.
8085
8086 Sat Sep 4 23:00:49 1993 (jaffer at jacal)
8087
8088 * 4c3: released.
8089 * sys.c (grow_throw): removed use of memset for SPARC machines.
8090
8091 Sat Sep 4 18:09:59 1993 Bryan O'Sullivan ([email protected])
8092
8093 * time.c: added SVR4 to the list of LACK_FTIME systems, because
8094 most all SVR4 BSD-compatibility stuff is a total mess.
8095
8096 * config.h: changed definition of STDC_HEADERS so it does the
8097 Right Thing on systems which run GCC but don't have header files
8098 with prototypes.
8099
8100 * makefile.unix: added a note for SVR4 users.
8101
8102 Tue Aug 31 18:30:53 1993 (jaffer at jacal)
8103
8104 * eval.c (m_define): if verbose >= 5 warnings are issued for all
8105 top-level redefinitions.
8106
8107 Mon Aug 30 16:24:26 1993 (jaffer at jacal)
8108
8109 * scm.c sys.c (finals num_finals add_final): Finalization calls
8110 now dynamically, incrementally, defined.
8111
8112 Thu Aug 26 12:38:27 1993 Aubrey Jaffer (jaffer at camelot)
8113
8114 * 4c2: fixed declaration problems in PTOB with K&R C.
8115
8116 Sun Aug 22 23:02:51 1993 (jaffer at jacal)
8117
8118 * split.scm: code which directs input, output, and diagnostic
8119 output to separate windows (using curses functions defined in
8120 crs.c).
8121
8122 Sat Aug 21 16:46:33 1993 (jaffer at jacal)
8123
8124 * Init.scm (output-port-height): added if not already defined.
8125 output-port-width also made conditional.
8126
8127 * sys.c (tc16_strport): string ports created.
8128
8129 Thu Aug 19 11:37:07 1993 (jaffer at jacal)
8130
8131 * sys.c (init_types): freecell, floats, and bignums now have SMOB
8132 entries. gc_sweep and gc_mark still inline codes for bignums and
8133 floats.
8134
8135 * sys.c repl.c code.doc: Ports now an extensible type.
8136 Indirection suggested by Shen <[email protected]>.
8137
8138 Mon Aug 16 01:20:26 1993 (jaffer at jacal)
8139
8140 * crs.c: curses support created.
8141
8142 Sun Aug 15 16:56:36 1993 (jaffer at jacal)
8143
8144 * rgx.c sys.c (mark0 equal0): mark0 moved to sys.c. equal0
8145 created.
8146
8147 Fri Jun 25 01:16:31 1993 (jaffer at jacal)
8148
8149 * QUICKREF: added.
8150
8151 Tue Jun 22 00:40:58 1993 Aubrey Jaffer (jaffer at camelot)
8152
8153 * repl.c (ungetted): replaced with CRDYP(stdin) to fix recently
8154 introduced transcript bug.
8155
8156 Sun Jun 20 22:29:32 1993 Aubrey Jaffer (jaffer at camelot)
8157
8158 * config.h (NOSETBUF): setbuf() now conditionalized on NOSETBUF.
8159
8160 * Init.scm (defmacro): now copies the results of macro expansion
8161 in order to avoid capture of memoized code by macros like:
8162 (defmacro f (x) `(list '= ',x ,x)).
8163
8164 Wed Jun 2 23:32:05 1993 Aubrey Jaffer (jaffer at caddr)
8165
8166 * eval.c (map for-each): now check that arguments are lists.
8167
8168 Mon May 31 23:05:19 1993 Aubrey Jaffer (jaffer at camelot)
8169
8170 * Init.scm (trace untrace): now defmacros which handle (trace) and
8171 (untrace) as in Common Lisp.
8172
8173 Wed May 5 01:17:37 1993 Roland Orre <[email protected]>
8174
8175 * all: internal output functions now take SCM ports instead of
8176 FILE* in preparation for string-ports.
8177
8178 Tue May 4 17:49:49 1993 Aubrey Jaffer (jaffer at wbtree)
8179
8180 * makefile.unix (escm.a): created scm "ar" file and used for
8181 dbscm.
8182
8183 Sun Apr 25 21:35:46 1993 Aubrey Jaffer (jaffer at camelot)
8184
8185 * sys.c (free_storage): i++ moved out of CELL_* in response to:
8186 From: john kozak <[email protected]>
8187 Minor bug report: around line 10 of routine "free_storage" you do calls
8188 to CELL_UP and CELL_DOWN with arguments having side-effects: with the
8189 PROT386switch defined in config.h these args are evaluated twice...
8190
8191 Sun Apr 11 22:56:19 1993 Aubrey Jaffer (jaffer at camelot)
8192
8193 * eval.c (IM_DEFINE): added. Internal defines are no longer
8194 turned into LETRECS.
8195
8196 Wed Apr 7 13:32:53 1993 Jerry D. Hedden <[email protected]>
8197
8198 * scl.c (idbl2str): fix for bug introduced by removing +'s.
8199
8200 Tue Mar 23 15:37:12 1993 Aubrey Jaffer (jaffer at camelot)
8201
8202 * scl.c (idbl2str): now prints positivie infinity as +#.# again
8203 (instead of #.#).
8204
8205 Mon Mar 22 01:38:02 1993 Aubrey Jaffer (jaffer at montreux)
8206
8207 * subr.c (quotient): renamed to lquotient to avoid conflict with
8208 HP-UX 9.01.
8209
8210 Fri Mar 19 01:21:08 1993 Aubrey Jaffer (jaffer at camelot)
8211
8212 * sys.c repl.c: #ifndef THINK_C #include <sys/ioctl.h>
8213 * time.c (lstat): #ifndef THINK_C. ThinkC 5.0.1 lacked.
8214
8215 Mon Mar 15 23:35:32 1993 [email protected] (Dr. John E. Howland)
8216
8217 * scl.c (idbl2str iflo2str big2str): leading + eliminated on
8218 output and number->string.
8219
8220 Wed Mar 10 00:58:32 1993 Aubrey Jaffer (jaffer at camelot)
8221
8222 * repl.c scm.h (CRDYP CLRDY CGETUN CUNGET): cleaned up ungetc hack.
8223
8224 * scm.c repl.c (exec): added.
8225
8226 Sun Mar 7 22:44:23 1993 Aubrey Jaffer (jaffer at camelot)
8227
8228 * repl.c (def_err_response): now will print errobjs if they are
8229 immediates, symbols, ports, procedures, or numbers.
8230
8231 Fri Mar 5 23:15:54 1993 Aubrey Jaffer (jaffer at camelot)
8232
8233 * repl.c (repl): now gives repl_report() for initialization.
8234
8235 * Init.scm (defvar): added.
8236
8237 From: Roland Orre <[email protected]>
8238 * repl.c (lungetc): no longer calls ungetc. Fixed problem that
8239 many systems had with ungetc on unbuffered ports (setbuf(0)).
8240
8241 Thu Mar 4 13:51:12 1993 Stephen Schissler
8242
8243 * makefile.wcc: Watcom support added.
8244
8245 Wed Mar 3 23:11:08 1993 Aubrey Jaffer (jaffer at montreux)
8246
8247 * sys.c scm.h (dynwinds): made a sys_protect.
8248
8249 Mon Feb 15 11:30:50 1993 Aubrey Jaffer (jaffer at camelot)
8250
8251 * Init.scm (defmacro macroexpand macroexpand1 macro? gensym):
8252 added.
8253
8254 * repl.c (stdin): setbuf not done for __TURBOC__==1.
8255
8256 * makefile.bor: now has method to build turtegr.exe.
8257
8258 * eval.c (ceval): Memoizing macros now can return any legal Scheme
8259 expression.
8260
8261 Sat Feb 13 18:01:13 1993 Aubrey Jaffer (jaffer at camelot)
8262
8263 * subr.c (mkbig adjbig): now check for bignum size.
8264
8265 * Init.scm: reorganized so site-specific information is at the
8266 head.
8267
8268 * repl.c (errno): changed from set-errno now returns value.
8269
8270 * subr.c (intexpt): now handles bignum exponents.
8271
8272 From: "David J. Fiander" <[email protected]>
8273 * time.c makefile.unix subr.c: SCO Unix and XENIX patches.
8274
8275 Fri Feb 12 22:18:57 1993 Aubrey Jaffer (jaffer at camelot)
8276
8277 * Init.scm (WITH-INPUT-FROM-PORT WITH-OUTPUT-TO-PORT
8278 WITH-ERROR-TO-PORT): added.
8279
8280 * subr.c (ash): fixed for case (ash 2 40) where INUM arguments
8281 make a bignum result.
8282
8283 * repl.c (lreadr): \ followed by a newline in a string is ignored.
8284
8285 From: Scott Schwartz <[email protected]>
8286 * repl.c (lreadr): Can now read \0\f\n\r\t\a\v in strings.
8287
8288 Thu Feb 11 01:25:50 1993 Aubrey Jaffer (jaffer at camelot)
8289
8290 * Init.scm (with-input-from-file with-output-to-file
8291 with-error-to-file): now use dynamic-wind.
8292
8293 Sun Feb 7 22:51:08 1993 Aubrey Jaffer (jaffer at camelot)
8294
8295 * eval.c (ceval): fixed bug with non-memoizing macro returning an
8296 IMP.
8297
8298 Sat Feb 6 01:22:27 1993 Aubrey Jaffer (jaffer at camelot)
8299
8300 * (current-error-port with-error-to-file): add.
8301
8302 Fri Feb 5 00:51:23 1993 Aubrey Jaffer (jaffer at camelot)
8303
8304 * time.c (stat): added.
8305
8306 From: [email protected] (roger nelson)
8307 * dmakefile: support for DICE C on Amiga.
8308
8309 Thu Feb 4 01:55:30 1993 Aubrey Jaffer (jaffer at camelot)
8310
8311 * sys.c (open-file) makes unbuffered if isatty.
8312
8313 * repl.c (char-ready?) added.
8314
8315 Mon Feb 1 15:24:18 1993 Aubrey Jaffer (jaffer at camelot)
8316
8317 * subr.c (logor): changed to LOGIOR to be compatible with common
8318 Lisp.
8319
8320 * eval.c (bodycheck): now checks for empty bodies.
8321
8322 Sun Jan 31 01:01:11 1993 Aubrey Jaffer (jaffer at camelot)
8323
8324 * time.c (get-universal-time decode-universal-time): now use
8325 bignums.
8326
8327 Tue Jan 26 00:17:06 1993 Aubrey Jaffer (jaffer at camelot)
8328
8329 * sys.c (mark_locations): now length argument in terms of
8330 STACKITEM. Does both alignments in one pass.
8331
8332 Mon Jan 25 12:13:40 1993 [email protected]
8333
8334 * makefile.emx: for OS/2
8335
8336 Sun Jan 24 18:46:32 1993 [email protected] (Steve VanDevender)
8337
8338 * scl.c (big2str): now faster because it divides by as many 10s as
8339 fit in a BIGDIG.
8340
8341 Sat Jan 23 00:23:53 1993 [email protected] (Steve VanDevender):
8342
8343 * config.h (INUM MAKINUM): shift optimization for TURBOC.
8344
8345 Fri Jan 22 00:46:58 1993 [email protected] (Harald Hanche-Olsen)
8346
8347 * unif.c (uniform-vector?): added.
8348
8349 Tue Jan 19 00:27:04 1993 [email protected] (Steve VanDevender)
8350
8351 * subr.c scl.c config.h: bignum bug fixes for MSDOS.
8352
8353 Mon Jan 18 01:15:24 1993 Aubrey Jaffer (jaffer at camelot)
8354
8355 * subr.c (ash lognot intlength logcount bitextract): now handle
8356 bignums.
8357
8358 Sun Jan 17 10:42:44 1993 Aubrey Jaffer (jaffer at camelot)
8359
8360 * sys.c (close_port): can now close pipes as well.
8361
8362 * subr.c (adjbig normbig divide quotient): fixed more divide bugs.
8363
8364 * subr.c (even? odd?): fixed problem with bignums.
8365
8366 Sat Jan 16 00:02:05 1993 Aubrey Jaffer (jaffer at camelot)
8367
8368 * subr.c (divbigbig): Fixed last divide bug?
8369
8370 Fri Jan 15 00:07:27 1993 Aubrey Jaffer (jaffer at camelot)
8371
8372 * rgx.c (regmatch?): added. Debugged for both HP-UX and GNU
8373 regex-0.11. Documentation added to MANUAL.
8374
8375 Thu Jan 14 11:54:52 1993 Aubrey Jaffer (jaffer at camelot)
8376
8377 * patchlvl.h (SCMVERSION): moved from config.h.
8378
8379 * scl.c (product): fixed missing {} bug.
8380
8381 From: [email protected]
8382 * scl.c (lmin lmax) bignum versions.
8383
8384 Wed Jan 13 01:40:51 1993 Aubrey Jaffer (jaffer at camelot)
8385
8386 * released scm4b0.
8387
8388 * subr.c: fixed bignum bugs found by jacal.
8389
8390 * code cleanup.
8391
8392 From: [email protected]
8393 * subr.c (lgcd quotent modulo lremainder): Bignum versions.
8394 * subr.c (divbigbig): new version.
8395
8396 Sun Jan 3 00:29:35 1993 [email protected] (Steve VanDevender)
8397
8398 * Re-port to BorlandC v2.0
8399
8400 * sys.c (must_realloc): added
8401
8402 * config.h subr.c (BIGRAD pseudolong): now insensitive to ratio of
8403 sizeof(long)/sizeof(BIGDIG).
8404
8405 Mon Dec 21 23:20:47 1992 Aubrey Jaffer (jaffer at camelot)
8406
8407 From: Scott Schwartz <[email protected]>
8408 * rgx.c: created SCM interface to regex and regexp routines.
8409
8410 From: [email protected]
8411 * subr.c scl.c: Now just one mulbigbig and addbigbig routine.
8412
8413 from: [email protected]
8414 * README: directions for compiling SCM under OS/2 2.0.
8415
8416 Wed Dec 9 15:34:30 1992 Aubrey Jaffer (jaffer at camelot)
8417
8418 * eval.c (tc7_subr_2x): eliminated. All comparison subrs now
8419 rpsubrs.
8420
8421 * scm.h: Changed SUBR numbers. This improves HP-UX interpretation
8422 speed (why?).
8423
8424 * eval.c (PURE_FUNCTIONAL): removed. Can now be done in
8425 initialization code.
8426
8427 * eval.c (tc7_rpsubr): added type for transitive comparison
8428 operators. Suprisingly, this slows down (pi 100 5).
8429
8430 Mon Dec 7 16:15:47 1992 Aubrey Jaffer (jaffer at camelot)
8431
8432 * subr.c (logand logor logxor lognot ash logcount integer-length
8433 bit-extract): added.
8434
8435 From: [email protected]
8436 * scl.c: lots more numeric improvements and code reductions.
8437
8438 Mon Nov 30 12:25:54 1992 Aubrey Jaffer (jaffer at camelot)
8439
8440 * scm.h (IDINC ICDR IDIST): enlarged depth count in ILOCs.
8441
8442 Sun Nov 29 01:10:18 1992 Aubrey Jaffer (jaffer at camelot)
8443
8444 * subr.c scl.c: most arithmetic operations will now return
8445 bignums.
8446
8447 * config.h (FIXABLE POSFIXABLE NEGFIXABLE): added.
8448
8449 * sys.c (object-hash object-unhash): now use bignums.
8450
8451 * scl.c (big2str istr2int): bignum i/o implemented.
8452
8453 * unif.c: subr2s were incorrectly initialized as lsubr2s.
8454
8455 Tue Nov 24 14:02:52 1992 Aubrey Jaffer (jaffer at camelot)
8456
8457 * eval.c (ceval): added unmemocar calls to error handling when
8458 possible.
8459
8460 * scl.c (idbl2str): added back NAN and infinity support.
8461
8462 * eval.c (syntax_mem): replaced with individual macros.
8463 * eval.c (procedure->syntax procedure->macro
8464 procedure->memoizing-macro): All syntactic keywords are now
8465 tc7_symbol. User definable macros added.
8466 * sys.c: ISYMs no longer in symhash. ISYMs cannot be read.
8467 init_isyms merged into init_eval.
8468
8469 Sat Nov 21 00:39:31 1992 Aubrey Jaffer (jaffer at camelot)
8470
8471 * makefile.unix (check): now exits with error code.
8472
8473 * sys.c (init_isyms): eliminated. ISYMS now inited in init_eval.
8474
8475 Fri Nov 20 16:14:06 1992 Aubrey Jaffer (jaffer at camelot)
8476
8477 * released scm4a13
8478
8479 * repl.c: longjmps now dowinds() first.
8480
8481 * setjump.h: now has all setjmp related definitions.
8482
8483 * Init.scm (trace untrace): use new macro system.
8484
8485 * eval.c (defined? procedure->macro procedure->memoizing-macro
8486 make_synt): macro system added. defined? uses it.
8487
8488 From: [email protected]
8489 * scl.c: fixes for several transcendental functions.
8490
8491 Thu Nov 19 01:14:38 1992 Aubrey Jaffer (jaffer at camelot)
8492
8493 * repl.c sys.c: errjmp replaced with JMPBUF(rootcont).
8494
8495 Sun Nov 15 01:49:00 1992 [email protected]
8496
8497 * scl.c (istr2int istr2flo istring2number string2number): new
8498 versions.
8499
8500 Thu Nov 12 23:00:04 1992 Aubrey Jaffer (jaffer at Ivan)
8501
8502 * Init.scm (load): now prints out actual filename found in mesasge
8503 ;done loading ...
8504
8505 Wed Nov 11 01:01:59 1992 Aubrey Jaffer (jaffer at camelot)
8506
8507 * repl.c (def_err_response): ARG1 error with errobj==UNDEFINED
8508 becomes WNA error.
8509
8510 From: [email protected] (Jerry D. Hedden)
8511 * scl.c (difference divide): Now are asubrs.
8512
8513 * Init.scm (*features*): fixed to correspond to SLIB conventions.
8514
8515 Mon Nov 9 12:03:58 1992 Aubrey Jaffer (jaffer at camelot)
8516
8517 * scl.h test.scm: (string->number "i") and "3I" and "3.3I" fixed
8518 to return #f. Tests added to test.scm.
8519
8520 Fri Nov 6 16:39:38 1992 Aubrey Jaffer (jaffer at camelot)
8521
8522 * scm.h (rootcont): sysprotect added.
8523
8524 From: Vincent Manis <[email protected]>
8525 * scm.h: __cplusplus prototype support.
8526
8527 Thu Nov 5 00:39:50 1992 Aubrey Jaffer (jaffer at Ivan)
8528
8529 * eval.c (lookupcar): now checks for UNDEFINED in local bindings
8530 becuase LETREC inits to UNDEFINED.
8531
8532 * sys.c (dynamic-wind): added.
8533
8534 * config.h eval.c (ceval): CAUTIOUS mode added.
8535
8536 From: [email protected] (Hugh Secker-Walker)
8537 * eval.c (ceval): internal defines now transformed to letrecs.
8538
8539 Sun Oct 25 12:27:23 1992 Aubrey Jaffer (jaffer at Ivan)
8540
8541 * repl.c (read-line read-line!): created.
8542
8543 Sat Oct 24 18:36:23 1992 Aubrey Jaffer (jaffer at camelot)
8544
8545 * repl.c (lreadparen): now tail-recursive.
8546
8547 * eval.c (copy-tree eval): added. dummy_cell replaced with a
8548 cons(obj,UNDEFINED).
8549
8550 Thu Oct 22 21:26:53 1992 Aubrey Jaffer (jaffer at Ivan)
8551
8552 * repl.c (set-errno!): changed to set-errno.
8553
8554 Thu Oct 15 00:49:20 1992 Aubrey Jaffer (jaffer at camelot)
8555
8556 * sys.c (must_free): must_free created. Pointers are set to 0.
8557 It detects objects being freed twice.
8558
8559 Wed Oct 14 23:57:43 1992 Aubrey Jaffer (jaffer at camelot)
8560
8561 * scm.c (run_scm): Now has INITS and FINALS.
8562
8563 * scm.c (init_signals ignore_signals unignore_signals
8564 restore_signals): siginterrupt() for ultix.
8565
8566 Fri Oct 9 14:25:06 1992 Aubrey Jaffer (jaffer at camelot)
8567
8568 * all: put in explicit casts to (unsigned char *) and (long) to
8569 satisfy lint.
8570
8571 * sys.c (gc): all to gc_end was during deferred interrupts,
8572 causing problems with verbose=3 and interrupts during GC.
8573
8574 * config.h(SYSCALLDEF): fixed so that test on errno occurs before
8575 ALLOW_INTS (and possible call to user code).
8576
8577 Sun Oct 4 01:45:25 1992 Aubrey Jaffer (jaffer at camelot)
8578
8579 * eval.c (syntax_mem): removed gratuitous cons.
8580
8581 * eval.c repl.c scm.h: Reduced static string use. Added peephole
8582 optimizations for AND and OR.
8583
8584 From: [email protected] (Hugh Secker-Walker)
8585 * eval.c repl.c scm.h (syntax_mem): syntax forms are now memoized
8586 so that syntax checks are done only once. Interpreter is now
8587 smaller and faster and uses less stack space. Modifications to
8588 code are now made under DEFER_INTS as they always should have
8589 been.
8590
8591 Wed Sep 30 22:06:24 1992 Aubrey Jaffer (jaffer at Ivan)
8592
8593 * scl.c subr.c scm.h config.h: Started adding bignum code.
8594
8595 Sun Sep 27 22:59:59 1992 Aubrey Jaffer (jaffer at Ivan)
8596
8597 * repl.c (restart): added.
8598
8599 * sys.c (freeall): finished.
8600
8601 * scm.h (tc7_symbol): split into tc7_ssymbol and tc7_msymbol to
8602 distinguish between non-GCable and GCable symbols.
8603
8604 Wed Sep 23 00:36:23 1992 Aubrey Jaffer (jaffer at Ivan)
8605
8606 * repl.c (peek_char lungetc): added workaround for TURBOC 1.0
8607 problem with ungetc inside SYSCALLDEF macro.
8608
8609 * repl.c (iprin1): uses ttyname for #<stream ..> if available.
8610
8611 * Init.scm: now sets verbose to 0 if stdin or stdout is not a tty.
8612
8613 * repl.c (isatty?): added.
8614
8615 * repl.c (verbose): levels bumped up by 1. verbose == 0 means no
8616 prompt.
8617
8618 * makefile.djg config.h (GNUDOS -> GO32): flags changed for djgpp108.
8619
8620 Wed Aug 26 21:46:26 1992 Aubrey Jaffer (jaffer at Ivan)
8621
8622 * test.scm: put in (test #f < 1 3 2) and (test #f >= 1 3 2).
8623
8624 * scl.c (leqp greqp): put back in. (not (< 1 3 2)) does not imply
8625 (>= 1 3 2).
8626
8627 * makefile.unix: tar and shar files now created in subdirectory.
8628
8629 * config.h time.c: Linux support added.
8630
8631 * repl.c: Greatly improved VMS interrupt support.
8632
8633 * eval.c (ceval): I_LET now changes to I_LETSTAR for single clause
8634 unnamed lets.y
8635
8636 * (tc7_lsubr_2n): removed.
8637
8638 Fri Jul 31 00:24:50 1992 Aubrey Jaffer (jaffer at Ivan)
8639
8640 * unif.c (bit-position): fixed; I am sure I had done these
8641 changes before. Also corrected some error messages.
8642
8643 From: [email protected] (Larry Campbell)
8644 * scm.h subr.c sys.c (equalp): smobfuns now include equalp.
8645
8646 Mon Jul 20 16:44:30 1992 Aubrey Jaffer (jaffer at Ivan)
8647
8648 From: Stephen Adams <[email protected]>
8649 * eval.c scm.h subr.c (BOOL_NOT) macro added to fix ^ bug in
8650 BorlandC. This was fixed previously as well.
8651
8652 From: [email protected] (Larry Campbell)
8653 * unif.c (vector-set-length!): was always typing to tc7_vector.
8654
8655 Sat Jul 18 01:07:33 1992 Aubrey Jaffer (jaffer at Ivan)
8656
8657 * subr.c sys.c (make_vector init_storage resizuve): mallocs and
8658 reallocs are now always > 0.
8659
8660 * time.c (get_univ_time): bypassed mktime() for (__TURBOC__ == 1).
8661
8662 Mon Jul 13 22:27:04 1992 Aubrey Jaffer (jaffer at Ivan)
8663
8664 * repl.c (lreadr): now ignores first line of port if begins with "#!"
8665
8666 * scl.c (lesseqp greqp): removed; changed to use tc7_lsubr_2n.
8667
8668 * scm.h eval.c (tc7_lsubr_2n): type added. Other subr types
8669 rearranged.
8670
8671 Sat Jul 11 23:47:18 1992 Aubrey Jaffer (jaffer at Ivan)
8672
8673 * scm.h sys.c repl.c eval.c code.doc (newsmob smobs smobfuns): now
8674 support dynamically added smob types. Promises moved to eval.c.
8675 Promises and arbiters are now newsmobs.
8676
8677 * makefile.unix repl.c scl.c (floprint): moved from repl.c to
8678 scl.c. The only files which care about -DFLOATS are now scl.c,
8679 eval.c, scm.c, and unif.c.
8680
8681 * sys.c scm.h (init_storage): now uses variable num_protects
8682 instead of #define NUM_PROTECTS.
8683
8684 Tue Jul 7 00:00:57 1992 [email protected] (Ulf Moeller)
8685
8686 * Init.scm config.h makefile.prj: support for the ATARI-ST with
8687 Turbo C added.
8688
8689 Tue Jun 30 23:45:50 1992 Aubrey Jaffer (jaffer at Ivan)
8690
8691 * unif.c (make-uniform-vector uniform-vector-set!
8692 uniform-vector-ref): added.
8693
8694 Tue Jun 23 11:49:13 1992 Aubrey Jaffer (jaffer at Ivan)
8695
8696 * scm.h sys.c code.doc: rearranged tc7 codes and added bvect,
8697 ivect, uvect, fvect, dvect, cvect, and cclo.
8698
8699 * scm.h sys.c eval.c repl.c code.doc: Changed symbols to be
8700 tc7_symbol.
8701
8702 Sat Jun 6 22:27:40 1992 [email protected] (Larry Campbell)
8703
8704 * scl.c (divide): divide by 0 and Exact-only divides of non
8705 multiples now cause exception in RECKLESS mode.
8706
8707 Wed May 27 16:02:58 1992 Aubrey Jaffer (jaffer at Ivan)
8708
8709 * config.h scl.c (NUMBUFLEN): split into INTBUFLEN and FLOBUFLEN
8710 and made proportional to size of numeric types.
8711
8712 From: [email protected] (Fred J Kaudel)
8713 * makefile.ast scm.c Init.scm: minor chages for ATARI ST support.
8714
8715 * test.scm (test-inexact): created.
8716
8717 Thu May 21 11:43:41 1992 Aubrey Jaffer (jaffer at Ivan)
8718
8719 * patchlvl.h (PATCHLEVEL): 5
8720
8721 From: [email protected] (Hugh Secker-Walker)
8722 * config.h: better wording for heap allocation strategy
8723 explanation.
8724
8725 Wed May 20 00:31:18 1992 [email protected]
8726
8727 * subr.c (stci_leqp st_leqp): reversed order of ^ clauses to avoid
8728 Borland 3.0 bug.
8729
8730 * sys.c (gc_sweep): missing i-=2; added when splicing out segment.
8731
8732 * MANUAL time.c (get-universal-time decode-universal-time): half
8733 hearted attempt to add these. Needs bignums.
8734
8735 Wed May 13 14:01:07 1992 Aubrey Jaffer (jaffer at Ivan)
8736
8737 * sys.c (gc_mark): improved tail recursivness for CONSes.
8738
8739 * repl.c (growth_mon): now prints out the hplims table if
8740 verbose>3.
8741
8742 * sys.c (init_heap_seg): Serious bug in growing hplims fixed.
8743 num_heap_segs eliminated; hplims are realloced whenever grown.
8744
8745 Tue May 12 15:36:17 1992 Aubrey Jaffer (jaffer at train)
8746
8747 * config.h sys.c (alloc_some_heap expmem): expmem captures
8748 whether the INIT_HEAP_SIZE allocation was successful. If so,
8749 alloc_some_heap uses exponential heap allocation instead of
8750 HEAP_SEG_SIZE.
8751
8752 Mon May 11 15:29:04 1992 Aubrey Jaffer (jaffer at Ivan)
8753
8754 * sys.c (gc_sweep init_heap_seg heap_org): Empty heap segments
8755 are now freed.
8756
8757 * sc2.c (STR_EXTENSIONS): renamed REV2_PROCEDURES and R2RS and
8758 R3RS functions put into sc2.c.
8759
8760 Sun May 10 01:34:11 1992 Aubrey Jaffer (jaffer at Ivan)
8761
8762 * scm.c (ignore_interrupts unignore_interrupts): added for
8763 system, edt$edit, and popen to use.
8764
8765 * repl.c (lwrite display newline write_char): Close pipe if EPIPE.
8766
8767 * repl.c (file_set_position): now errs on ESPIPE.
8768
8769 * scm.c (SIGPIPE): now ignored (errs come back as EPIPE).
8770
8771 Sat May 9 17:52:36 1992 Stephen Adams <[email protected]>
8772
8773 * config.h (PROT386): PROT386 added. PTR_LT and CELL_UP modified.
8774
8775 Fri May 8 17:57:22 1992 [email protected] (Hugh Secker-Walker)
8776
8777 * Init.scm (last-pair append!): last-pair is faster version.
8778 Append! corrected for null first arg. (getenv "HOME") now gets
8779 a "/" added if not present.
8780
8781 * config.scm (MIN_GC_YIELD): now proportional to HEAP_SEG_SIZE.
8782
8783 * README: setting environment variables corrected.
8784
8785 * subr.c (length): error message now has arg if not a list.
8786
8787 * sys.c (open-pipe): now turns off interrupts before forking.
8788
8789 * scl.c (lsystem): now turns off interrupts before forking.
8790
8791 * scm.c (ignore_signals): created.
8792
8793 Sat May 2 01:02:16 1992 Aubrey Jaffer (jaffer at Ivan)
8794
8795 * Init.c (WITH-INPUT-FROM-FILE WITH-OUTPUT-TO-FILE): defined in
8796 terms of current-input-port and current-output-port. Bug in
8797 open-input-pipe and open-output-pipe fixed.
8798
8799 * sys.c repl.c (current-input-port current-output-port): moved
8800 from sys.c to repl.c. set-current-input-port and
8801 set-current-output-port added to repl.c.
8802
8803 Mon Apr 13 22:51:32 1992 Aubrey Jaffer (jaffer at Ivan)
8804
8805 * patchlvl.h: (PATCHLEVEL): released scm4a1.
8806
8807 * makefile.* VMSBUILD.COM VMSGCC.COM: compile time.h.
8808
8809 * scm.c (alrm_signal int_signal): now save and restore errno so
8810 SYSCALL will work correctly across interrupts.
8811
8812 Sun Apr 12 01:44:10 1992 Aubrey Jaffer (jaffer at Ivan)
8813
8814 * patchlvl.h: (PATCHLEVEL): released scm4a0.
8815
8816 * repl.c (lread): tok_buf now local to each invocation of read.
8817 This makes READ interruptable and reentrant.
8818
8819 * sys.c MANUAL (STRING-SET-LENGTH! STRING-VECTOR-LENGTH!): created.
8820
8821 * sys.c repl.c (grow_tok_buf tok_buf tok_buf_len): moved to repl.c
8822
8823 * repl.c (lfwrite): now emulated for VMS.
8824
8825 * repl.c scl.c (num_buf): now local to all routines that use it.
8826
8827 * time.h: created by moving time functions from repl.c. Read and
8828 write functions were moved from sys.c to repl.c.
8829
8830 * sys.c repl.c (DEFER_INTS ALLOW_INTS CHECK_INTS): totally
8831 rewritten. SIGALRM and SIGINT now execute at interrupt level.
8832 Interrupts deferred only for protected code sections, not for
8833 reads and writes.
8834
8835 * sys.c repl.c (SYSCALL): created to reexecute system calls
8836 interrupted (EINTR) by SIGALRM and SIGINT.
8837
8838 * sys.c scl.c (flo0): 0.0 is now always flo0.
8839
8840 * repl.c sys.c (TRANSCRIPT-ON TRANSCRIPT-OFF): added. This
8841 required shadowing putc, fputs, fwrite, and getc with lputc,
8842 lputs, lfwrite, and lgetc.
8843
8844 Sun Apr 5 00:27:33 1992 [email protected] (Jerry D. Hedden)
8845
8846 * scl.c (eqp lessp greaterp lesseqp greatereqp):
8847 Comparisons with inexact numbers was not being performed
8848 correctly. For example, (< 1.0 2.0 1.5) would yield #t. What was
8849 missing was a line x=y; in the inexact comparison sections of
8850 lessp(), greaterp(), lesseqp() and greatereqp(). In addition, I
8851 modified these routines and eqp() to allow for mixed arithmetic
8852 types.
8853
8854 Sat Apr 4 00:17:29 1992 Aubrey Jaffer (jaffer at Ivan)
8855
8856 * scm.h code.doc: tc7_bignum => tc7_spare. Added tc16_bigpos and
8857 tc16_bigneg. SMOBS reordered. tc16_record added.
8858
8859 * scm.h repl.c sys.c (make-arbiter try-arbiter release-arbiter):
8860 added. tc16_arbiter added.
8861
8862 Fri Apr 3 01:25:35 1992 Aubrey Jaffer (jaffer at Ivan)
8863
8864 * sys.c config.h (TEMPTEMPLATE): created in config.h.
8865
8866 * scm.h: removed long aliases for C versions of Scheme functions.
8867
8868 * sys.c eval.c scm.h: (delay force makprom): added. Also added
8869 tc16_promise data type.
8870
8871 * Init.scm (trace untrace): added autoloads and read macros.
8872
8873 From: T. Kurt Bond, [email protected]
8874 * sys.c (template): correct template for VMS.
8875
8876 Tue Mar 31 01:50:12 1992 Aubrey Jaffer (jaffer at Ivan)
8877
8878 * sys.c config.h Init.scm (open-file open-pipe): created and
8879 expressed other open functions in terms of. Bracketed all i/o
8880 system calls with DEFER and ALLOW _SIGINTS.
8881
8882 Sat Mar 28 00:24:01 1992 Aubrey Jaffer (jaffer at Ivan)
8883
8884 * sys.c MANUAL (#.): read macro syntax added. Balanced comments
8885 also documented.
8886
8887 Fri Mar 27 22:53:26 1992 Aubrey Jaffer (jaffer at Ivan)
8888
8889 * sys.c (iprin1): changed printed representation for unreadable
8890 objects from #[...] to #<...>.
8891
8892 From: [email protected] (brian r hanson x6009):
8893 * scm.h config.h (NCELLP PTR_LT): fixes for 64 bit pointers on
8894 nosve.
8895
8896 Fri Mar 20 01:36:08 1992 Aubrey Jaffer (jaffer at Ivan)
8897
8898 * Released scm3c13
8899
8900 * code.doc: corrected some minor inconsistencies and added a
8901 section "To add a package of new procedures to scm".
8902
8903 Sun Mar 15 19:44:45 1992 Aubrey Jaffer (jaffer at Ivan)
8904
8905 * Init.scm: now loads <program-name>_INIT_PATH when <program-name>
8906 is not "SCM".
8907
8908 * config.h (PTR_LT): (x < y) => ((x) < (y))
8909
8910 Wed Mar 4 01:53:15 1992 Aubrey Jaffer (jaffer at Ivan)
8911
8912 * Released scm3c12.
8913
8914 * scm.h code.doc eval.c sys.c (IXSYM): Eliminated Immediate IXSYM
8915 type.
8916
8917 Tue Mar 3 00:58:18 1992 Aubrey Jaffer (jaffer at Ivan)
8918
8919 * eval.c config.c (ceval DEFINED? SYNTAX_EXTENSIONS): added
8920 DEFINED? to ceval conditional on SYNTAX_EXTENSIONS.
8921
8922 From: Andrew Wilcox <[email protected]>
8923 * makefile.unix scm.c (main init_scm display_banner init_signals
8924 restore_signals run_scm): RTL support.
8925
8926 Mon Mar 2 19:05:29 1992 Aubrey Jaffer (jaffer at Ivan)
8927
8928 * subr.c (make-string): now checks for ARG1 >= 0.
8929
8930 Fri Feb 28 00:13:00 1992 Aubrey Jaffer (jaffer at Ivan)
8931
8932 * patchlvl.h (PATCHLEVEL): 12
8933
8934 * Init.scm: loads JCAL if scm is invoked with name JCAL, JACAL,
8935 jcal or jacal.
8936
8937 * Init.scm (ABS): set to MAGNITUDE if FLOATS are supported.
8938
8939 * gc_mark gc: no longer assume sizeof(short) == 2.
8940
8941 * config.h (CELL_UP CELL_DN): no longer assume sizeof(CELL) == 8.
8942
8943 From: Brian Hanson, Control Data Corporation. [email protected]
8944 * scl.c config.h repl.c: partial port to Control Data NOS/VE.
8945
8946 From: [email protected] (Fred J Kaudel)
8947 * repl.c Init.scm makefile.ast: Port to Atari-ST
8948
8949 * sys.c scm.h eval.c (throw): renamed to lthrow to avoid conflict
8950 with Gnu CC.
8951
8952 Mon Feb 10 14:31:24 1992 Aubrey Jaffer (jaffer at Ivan)
8953
8954 * sys.c (delete-file rename-file): added.
8955
8956 * sys.c (chdir): now returns #f instead of error.
8957
8958 * Init.scm: Calls to PROVIDED? inlined so no longer dependent on
8959 SLIB being loaded. (set! ABS MAGNITUDE) if inexacts supported.
8960 Support for slib1b3 added.
8961
8962 * sys.c (alloc_some_heap): fixed bugs. One fix from
8963 [email protected].
8964
8965 * eval.c (ceval): fixed bug with internal (define foo bar) where
8966 bar is a global. Put badfun2: back in for better error reporting.
8967
8968 * patchlvl.h (PATCHLEVEL): 11
8969
8970 Mon Jan 20 16:19:04 1992 Aubrey Jaffer (jaffer at Ivan)
8971
8972 * config.c (INITS): comments added.
8973
8974 From: T. Kurt Bond, [email protected]
8975 * VMSGCC.COM VMSMAKE.COM: now take arguments.
8976
8977 From: "Fred Bayer" <[email protected]>
8978 * makefile.aztec repl.c: Aztec C (makefile) port.
8979
8980 Fri Jan 17 16:36:07 1992 Aubrey Jaffer (jaffer at Ivan)
8981
8982 * sys.c (gc init_storage stack_size): stack_size now of type
8983 sizet. init_storage no longer uses it. gc() now uses it instead
8984 of pointer to local. This fixes bug with gcc -O.
8985
8986 * sys.c (cons cons2 cons2r): &w;&x;&y; removed because of above
8987 fix.
8988
8989 Thu Jan 16 22:33:00 1992 Aubrey Jaffer (jaffer at Ivan)
8990
8991 * scl.c (real-part): added.
8992
8993 Wed Jan 15 13:06:39 1992 "Fred Bayer" <[email protected]>
8994
8995 * scl.c repl.c scm.c config.c: Port for AMIGA
8996
8997 * scm.h (REALP): fixed for SINGLES not defined.
8998
8999 Sat Jan 11 20:20:40 1992 Aubrey Jaffer (jaffer at Ivan)
9000
9001 * patchlvl.h (PATCHLEVEL): 8 released.
9002
9003 * README: added hints for EDITING SCHEME CODE.
9004
9005 * repl.c (SIGRETTYPE): now int for __TURBOC__.
9006
9007 * makefile.tur makefile.djg: created.
9008
9009 * config.h: DJGPP (__GO32__) support added.
9010
9011 * scm.h (memv): definition added.
9012
9013 Sun Jan 5 00:33:44 1992 Aubrey Jaffer (jaffer at Ivan)
9014
9015 * repl.c makefile.* (main): INITS added.
9016
9017 * scl.c: fixed ASSERT statements with mismatched ARGn and
9018 arguments.
9019
9020 Thu Dec 19 19:16:50 1991 Aubrey Jaffer (jaffer at train)
9021
9022 * sys.c (cons cons2 cons2r): added fix for gcc -O bug.
9023
9024 * repl.c (LACK_FTIME LACK_TIMES): more messing with these.
9025
9026 * sys.c config.o (HAVE_PIPE): created.
9027
9028 * config.h (FLT_RADIX): now #ifdef FLT_RADIX rather than __STDC__.
9029 Needed for DJGCC.
9030
9031 * sys.c (DBLMANT_DIG DBL_FLOAT_DIG): now tested for directly
9032 rather than STDC_INCLUDES.
9033
9034 * makefile.unix (subr.o): explicit compilation line added.
9035
9036 * scl.c (truncate -> ltrunc): Name conflict with DJGCC libraries.
9037
9038 Sun Dec 8 23:31:04 1991 Aubrey Jaffer (jaffer at Ivan)
9039
9040 * eval.c (apply): added check for number of args to closures.
9041
9042 Sat Dec 7 01:30:46 1991 Aubrey Jaffer (jaffer at Ivan)
9043
9044 * patchlvl.h (PATCHLEVEL): 7
9045
9046 * sys.c (chdir): THINK_C doesn't support;
9047
9048 * repl.c: SVR2 needs <time.h> instead of <sys/time.h>
9049
9050 * repl.c: SVR2 needs LACK_FTIME
9051
9052 * repl.c: #include <sys/timeb.h> now automatic ifndef LACK_FTIME.
9053
9054 Mon Dec 2 15:42:11 1991 Aubrey Jaffer (jaffer at Ivan)
9055
9056 * patchlvl.h (PATCHLEVEL): 5
9057
9058 * sys.c (intern sysintern): made strings and hash unsigned. Fixed
9059 bug with characters > 128 in symbols.
9060
9061 From: [email protected] (Michael A. Borza)
9062 * scl.c (eqv? memv assv): created if FLOATS is #defined.
9063
9064 Mon Dec 2 11:37:11 1991 Aubrey Jaffer (jaffer at Ivan)
9065
9066 * patchlvl.h (PATCHLEVEL): 4
9067
9068 * sys.c (gc_sweep): usaage of pclose() now conditional on unix.
9069
9070 * MANUAL (chdir): documented.
9071
9072 From: T. Kurt Bond, Adminisoft, Inc. <[email protected]>:
9073
9074 * repl.c sys.c (errno): VMS GNU C uses a special hack in <errno.h>
9075 to get the link-time attributes for the errno variable to match
9076 those the VMS C run-time library expects (it makes errno a
9077 preprocessor define so that the variable that the compiler sees
9078 has a special form that the assember then interprets), so if it is
9079 VMS and __GNUC__ is defined <errno.h> needs included.
9080
9081 * setjump.h (SETJUMP LONGJUMP): SETJUMP and LONGJUMP changed to
9082 setjump and longjump. The VMS linker is case-indifferent. VMS GNU
9083 C mangles variable names that have upper case letters in them to
9084 preserve their uniqueness.
9085
9086 * sys.c (iprint iprin1): Now inline putc loops instead of calls to
9087 fwrite for VMS. The VMS `fwrite' has been enhanced to work with
9088 VMS's Record Management Sevice, RMS. Part of this enhancement is
9089 to treat each call to `fwrite' as producing a seperate record.
9090 This works fine if you are writing to a stream_LF file or an
9091 actual terminal screen, but if you are writing to a file that has
9092 implied carriage control (such as a batch log file, or a mailbox
9093 used for subprocess communication), which is a more common file
9094 organization for RMS, each call to `fwrite' has a newline appended
9095 to it. This causes much of the output to be incorrectly split
9096 across lines.
9097
9098 * vmsgcc.com: created.
9099
9100 Sun Dec 1 00:33:42 1991 Aubrey Jaffer (jaffer at Ivan)
9101
9102 * patchlvl.h (PATCHLEVEL): 3 released.
9103
9104 * Init.scm (rev2-procedures): all now supported.
9105
9106 * Init.scm sys.c MANUAL (flush): flush changed to force-output to
9107 be compatible with Common Lisp.
9108
9109 * sys.c (chdir): added.
9110
9111 Wed Nov 27 09:37:20 1991 Aubrey Jaffer (jaffer at Ivan)
9112
9113 * patchlvl.h (PATCHLEVEL): 2
9114
9115 * repl.c (set-errno! perror): added.
9116
9117 * sys.c (gc): FLUSH_REGISTER_WINDOWS call added.
9118
9119 * sys.c (open-input-pipe open-output-pipe close-pipe): added.
9120
9121 Mon Nov 25 13:02:13 1991 Aubrey Jaffer (jaffer at Ivan)
9122
9123 * patchlvl.h (PATCHLEVEL): 1
9124
9125 * sys.c (flush): added.
9126
9127 * repl.c (mytime): macro was missing (). CLKTCK now defaults to 60.
9128
9129 From: Yasuaki Honda, [email protected],
9130 * README Init.scm subr.c scm.c repl.c scl.c: support for
9131 Macintosh running Think C.
9132
9133 Sun Nov 24 15:30:51 1991 Aubrey Jaffer (jaffer at Ivan)
9134
9135 * scl.c (str2flo): fixed parsing of -1-i.
9136
9137 * subr.c (equal): Now correct for inexacts. Need to do eqv.
9138
9139 * scm.h (REALPART): fixed pixel C compiler bug with doubles inside
9140 `?' conditionals.
9141
9142 * scl.c (zerop): now checks imaginary half of complex number.
9143
9144 From: [email protected]
9145 * repl.c (repl_driver): now checks that s_response is non-NULL
9146 before INTERNing.
9147
9148 Tue Nov 19 00:10:59 1991 Aubrey Jaffer (jaffer at Ivan)
9149
9150 * version scm3c0
9151
9152 * documentation: changed revised^3.99 to revised^4.
9153
9154 * example.scm: created from Scheme^4 spec.
9155
9156 * makefile.msc: -Ox changed to -Oxp to fix over-enthusiastic float
9157 optimizations.
9158
9159 * Init.scm (ed): defined.
9160
9161 * repl.c (def_err_response): UNDEFINED objects don't print out.
9162
9163 Sun Nov 17 23:11:03 1991 Aubrey Jaffer (jaffer at Ivan)
9164
9165 * scl.c (vms-debug): now returns UNSPECIFIED.
9166
9167 * repl.c MANUAL (restart_repl): RESTART-REPL changed to ABORT.
9168
9169 * repl.c (err_ctrl_c):now clears sig_pending.
9170
9171 Wed Nov 13 23:51:36 1991 Aubrey Jaffer (jaffer at Ivan)
9172
9173 * config.h: removed #ifdef sparc #define STDC_HEADERS
9174
9175 * makefile.bor: added extra '\' to filepath.
9176
9177 * repl.c (everr): fixed bug with ARGx.
9178
9179 * repl.c (errmsgs def_err_response): cleaned up error messages.
9180
9181 Sun Nov 10 23:10:24 1991 Aubrey Jaffer (jaffer at Ivan)
9182
9183 * released scm3b7
9184
9185 Mon Nov 4 18:36:49 1991 Aubrey Jaffer (jaffer at Ivan)
9186
9187 * patchlvl.h (PATCHLEVEL): 6
9188
9189 * sys.c (idbl2str): tests for Not-a-Number and Infinity added.
9190
9191 * repl.c scm.h: response system rewritten and integrated with
9192 error system.
9193
9194 * scl.c (/): now returns inexacts if integer arguments do not
9195 divide evenly.
9196
9197 Mon Oct 28 23:44:16 1991 Aubrey Jaffer (jaffer at Ivan)
9198
9199 * makefile.unix: can now make float (scm) and integer-only (escm)
9200 versions in same directory.
9201
9202 * repl.c (*sigint-response* *arithmetic-response* restart-repl):
9203 responses for signals added.
9204
9205 * scl.c (lmin lmax sum difference product divide expt exp log):
9206 now take mixed types. expt available in non-FLOATS compilation.
9207
9208 * repl.c (get-decoded-time): added. Includes and time functions
9209 reorganized.
9210
9211 * sys.c (object-hash object-unhash): added.
9212
9213 Tue Oct 15 00:45:35 1991 Aubrey Jaffer (jaffer at Ivan)
9214
9215 * repl.c Init.scm (*features*): moved constant features into
9216 Init.scm. Moved tests for numeric features to slib/require.scm.
9217
9218 * release scm3b1.
9219
9220 * config.h (ANSI_INCLUDES): redid include files.
9221
9222 * subr.c scl.c: moved all FLOAT conditionals from subr.c to scl.c.
9223
9224 Wed Oct 9 00:28:54 1991 Aubrey Jaffer (jaffer at Ivan)
9225
9226 * release scm3a13.
9227
9228 * patchlvl.h (PATCHLEVEL): 13
9229
9230 * Init.scm: "vicinity.scm" changed to "require.scm"
9231
9232 Mon Oct 7 00:34:07 1991 Aubrey Jaffer (jaffer at Ivan)
9233
9234 * test.scm: test of redefining built-in symbol and extra ')'
9235 removed.
9236
9237 * scm.doc makefile.unix: scm.doc created from scm.1 in
9238 makefile.unix.
9239
9240 * VMSBUILD.COM setjump.asm setjump.h (setjmp longjmp jmp_buf): put
9241 in from comp.sources.reviewed in order to let VMS have full
9242 continuations. VMSBUILD.COM is a compile script.
9243
9244 Fri Oct 4 00:05:54 1991 Aubrey Jaffer (jaffer at Ivan)
9245
9246 * scl.c(sleep): removed; not supported by MSC (although could be
9247 written).
9248
9249 * scm.h config.h (size_t): moved to config.h.
9250
9251 * sys.c (f_getc): -> lgetc for vax, getc otherwise.
9252
9253 * patchlvl.h (PATCHLEVEL): 12
9254
9255 Mon Sep 30 01:14:48 1991 Aubrey Jaffer (jaffer at Ivan)
9256
9257 * scl.c(sleep): created.
9258
9259 * repl.c(internal-time-units-per-second get=internal-run-time):
9260 created
9261
9262 * repl.c: created from scm.c (shuffled around lots of functions).
9263
9264 Sat Sep 28 00:22:30 1991 Aubrey Jaffer (jaffer at Ivan)
9265
9266 * scm.c config.h (char-code-limit most-positive-fixnum
9267 most-negative-fixnum): created.
9268
9269 Tue Sep 24 01:21:43 1991 Aubrey Jaffer (jaffer at Ivan)
9270
9271 * scm.c (software-type); created.
9272
9273 * scm.c config.h (terms, list-file, library-vicinity,
9274 program-vicinity, user-vicinity, make-vicinity, sub-vicinity):
9275 moved to Init.scm and library.
9276
9277 * scm.c config.h Makefile (PROGPATH): changed to IMPLPATH.
9278
9279 * Init.scm: created
9280
9281 Fri Sep 20 13:22:08 1991 Aubrey Jaffer (jaffer at Ivan)
9282
9283 * patchlvl.h (PATCHLEVEL): 5
9284
9285 * all: changed declarations to size_t where appropriate. scm.h
9286 test preprocessor flag _SIZE_T to determine if already declared.
9287 size_t should greatly enhance portability to Macintosh and other
9288 machines.
9289
9290 Tue Sep 17 01:15:31 1991 Aubrey Jaffer (jaffer at Ivan)
9291
9292 * scm.c (tmpnam): support for mktemp added.
9293
9294 Mon Sep 16 14:06:26 1991 Aubrey Jaffer (jaffer at train)
9295
9296 * scm.c (implementation-vicinity): added. (program-vicinity) now
9297 returns undefined if called not within a load.
9298
9299 * sys.c (call-with-io-file): removed.
9300
9301 * scm.c (tmpnam): added.
9302
9303 * scm.c config.h (tmporary-vicinity): removed.
9304
9305 Sun Sep 15 22:21:30 1991 [email protected]
9306
9307 * subr.c scm.h (remainder): renamed to lremainder to avoid
9308 conflict with math.h on SunOS4.1.
9309
9310 Sat Sep 7 22:27:49 1991 Aubrey Jaffer (jaffer at Ivan)
9311
9312 * scm.c (program-arguments load): program-arguments created.
9313
9314 * scm.c (getenv): added getenv and used for program-vicinity and
9315 library-vicinity.
9316
9317 * scm.c (program-vicinity): fixed if load_name is NULL.
9318
9319 * scl.c config.h (substring-move-left! substring-move-right!):
9320 added under STR_EXTENSIONS flag.
9321
9322 Wed Aug 28 22:59:20 1991 Aubrey Jaffer (jaffer at Ivan)
9323
9324 * Sending scm3a to comp.sources.reviewed
9325
9326 * scm.c (main): prints out feature list at startup.
9327
9328 * subr.c (eqp lessp greaterp lesseqp greatereqp): now work for
9329 floats.
9330
9331 * scl.c (sum difference divide product): moved to scl.c and
9332 now work for floats.
9333
9334 * all: all masks with low bits explicity cast to (int).
9335
9336 Sat Aug 17 00:39:06 1991 Aubrey Jaffer (jaffer at Ivan)
9337
9338 * sys.c subr.c scl.c (iint2str istr2int istring2number istr2flo
9339 iflo2str idbl2str): number I/O and conversion to strings rewritten.
9340
9341 * sys.c (gc_mark): continuations now marked SHORT_ALIGNed. (from
9342 Craig Lawson).
9343
9344 * added QuickC support from Craig Lawson.
9345
9346 Tue Jul 30 01:08:52 1991 Aubrey Jaffer (jaffer at Ivan)
9347
9348 * config.h: #ifdef pyr added.
9349
9350 * scm.c MANUAL: vicinity functions added.
9351
9352 Tue Jul 16 00:51:23 1991 Aubrey Jaffer (jaffer at Ivan)
9353
9354 * scl.c sys.c: float functions added.
9355
9356 * Documentation reorganized according to comp.sources.reviewed
9357 guidelines.
9358
9359 * sys.c config.h (open_input_file open_output_file open_rw_file):
9360 file mode string moved to defines in config.h
9361
9362 Thu Jul 11 23:30:03 1991 Aubrey Jaffer (jaffer at Ivan)
9363
9364 * sys.c config.h (EBCDIC ASCII) moved to config.h
9365
9366 * subr.c config.h (BADIVSGNS) moved to config.h
9367
9368 * scm.h config.h (SRS) moved to config.h
9369
9370 Sun Jul 7 23:49:26 1991 Aubrey Jaffer (jaffer at Ivan)
9371
9372 * all: started adding comp.sources.reviewed corrections and
9373 suggestions.
9374
9375 * scm.c patchlvl.h (main): PATCHLEVEL now printed in banner.
9376
9377 * subr.c sys.c: read_integer removed. istring2number created.
9378 lread and string2number now both use istring2number.
9379
9380 Fri Jun 7 13:43:40 1991 Aubrey Jaffer (jaffer at Ivan)
9381
9382 * VERSION scm2e sent to comp.sources.reviewed
9383
9384 * public.lic: renamed COPYING.
9385
9386 * scm.c (gc_status): gc_status renamed prolixity. Now returns old
9387 value of verbose. Can take 0 arguments.
9388
9389 * sys.c (lreadr): added #| common lisp style |# balanced comments.
9390
9391 * scm.h scm.c sys.c (I/O functions): combined **PORTP and OPENP to
9392 become OP**PORTP.
9393
9394 * scm.h sys.c (gc_sweep): moved OPENP to bit in upper half word of
9395 port cells.
9396
9397 Sat May 25 00:04:45 1991 Aubrey Jaffer (jaffer at Ivan)
9398
9399 * scm.c (stack_start_ptr, repl_driver, main, err functions):
9400 exits removed from all err functions. all escapes through
9401 repl_driver.
9402
9403 * scm.c README (verbose): Now has graded verbosity.
9404
9405 * scm.c README (quit): Now takes optional argument which is return
9406 value.
9407
9408 Wed May 22 01:40:17 1991 Aubrey Jaffer (jaffer at Ivan)
9409
9410 * code.doc scm.h eval.c (ceval): Rearanged immediate type codes to
9411 create IXSYMs (immediate extension syms) to allow more than 15
9412 special forms. ILOCs now work with up to 32767 in one environment
9413 frame. Dispatch is slightly faster for ILOCs in function position.
9414 ICHRs can be up to 24 bits.
9415
9416 Fri May 10 00:16:32 1991 Aubrey Jaffer (jaffer at Ivan)
9417
9418 * scm.h sys.c (gc_mark, gc_sweep): GCMARK moved to bit 8 of CAR
9419 for some datatypes.
9420
9421 Wed May 1 14:11:05 1991 Aubrey Jaffer (jaffer at Ivan)
9422
9423 * patch1 MESSAGE SENT.
9424
9425 From: [email protected]
9426 * sys.c (lreadr): removed
9427 order evaluation bug when growing tok_buf.
9428
9429 Fri Apr 26 10:39:41 1991 Aubrey Jaffer (jaffer at Ivan)
9430
9431 * scm2d RELEASED
9432
9433 * sys.c (closure) no longer calls ilength (ECONS problem). Added
9434 ASSERT before call to closure in eval.
9435
9436 Thu Apr 25 09:53:40 1991 Aubrey Jaffer (jaffer at Ivan)
9437
9438 * scm.c (error): created.
9439
9440 Wed Apr 24 16:58:06 1991 Aubrey Jaffer (jaffer at Ivan)
9441
9442 * utils.scm: created.
9443
9444 * makefile (name8s): code from dmason works in makefile.
9445
9446 * eval.c (evalcar): fixed errobj on (else 3 4) error.
9447 Inlined function application in (cond ((foo => fun))).
9448
9449 * sys.c (lprin1): change looped putcs to fwrite.
9450
9451 Wed Apr 24 01:54:09 1991 Aubrey Jaffer (jaffer at Ivan)
9452
9453 * sys.c (lreadr): fixed assert for "eof in string".
9454
9455 * subr.c (lgcd): changed to work with borland C.
9456
9457 * eval.c (eval): added checks to LAMBDA and LET.
9458
9459 * eval.c (apply): now checks for null arg1 in lsubr.
9460
9461 Fri Apr 12 00:09:03 1991 Aubrey Jaffer (jaffer at kleph)
9462
9463 * config.h scm.h (SCMPTR): created to correct address arithmetic
9464 on stack bounds under Borland C++. Borland C++ now runs scm2c.
9465
9466 Wed Apr 10 21:38:09 1991 Aubrey Jaffer (jaffer at Ivan)
9467
9468 * sys.c (open_io_file, cw_io_file, file_position, file_set_pos,
9469 read_to_str) created (IO_EXTENSIONS)
9470
9471 * config.h (IO_EXTENSIONS): defined
9472
9473 * sys.c scm.c: lprin1f changed to iprin1
9474
9475 Wed Apr 10 12:58:59 1991 Aubrey Jaffer (jaffer at Ivan)
9476
9477 * sys.c (intern): line 850: for(i = alen;0 <= --i;)changed to
9478 for(i = alen;0 < --i;).
9479 This fixed b_pos and v_pos mapping to the same symbol.
9480
9481 Wed Apr 4 00:00:00 1991 Aubrey Jaffer (jaffer at kleph.ai.mit.edu)
9482
9483 * released scm2b
9484
9485 Wed Apr 3 22:51:39 1991 Aubrey Jaffer (jaffer at Ivan)
9486
9487 * all files: eliminated types tc7_subr_2n and tc7_subr_2xn.
9488 Replaced with tc7_subr_2o and tc7_subr_1o so that all subr calls
9489 can be checked for number of arguments.
9490
9491 Tue Apr 2 23:11:15 1991 Aubrey Jaffer (jaffer at Ivan)
9492
9493 * code.doc: cleaned up.
9494
9495 Mon Apr 1 14:27:22 1991 Aubrey Jaffer (jaffer at Ivan)
9496
9497 * eval.c (ceval): fixed nasty tail recursion bug at carloop:.
9498
9499 * scm.c (everr): still fixing error reporting.
9500
9501 * eval.c subr.c: added flag PURE_FUNCTIONAL which removes side
9502 effect special forms and functions.
9503
9504 * subr.c (substring): now allows first index to be equal to length
9505 of string
9506
9507 * sys.c (lprin1f): dispatches on TYP16 of smobs.
9508
9509 * scm.h: fixed typo in unused function defs.
9510
9511 Mon Mar 28 00:00:00 1991 Aubrey Jaffer (jaffer at zohar.ai.mit.edu)
9512
9513 * scm2a released: too many changes to record. See code.doc.
9514
9515 Mon Feb 18 21:48:24 1991 Aubrey Jaffer (jaffer at foxkid)
9516
9517 * scm.h: types reformatted (TYP6 -> TYP7).
9518
9519 * eval.c (ceval): Now dispatch directly on ISYMs in ceval.
9520
9521 Fri Feb 15 23:39:48 1991 Aubrey Jaffer (jaffer at foxkid)
9522
9523 * sys.c: #include <malloc.h> not done for VMS
9524
9525 Wed Feb 13 17:49:33 1991 Aubrey Jaffer (jaffer at foxkid)
9526
9527 * scm.c scl.c: added unsigned declarations to some char *
9528 definitions in order to fix characters having negative codes.
9529
9530 * scm.h (MAKISYM, MAKFLAG, ICHR, MAKICHR, MAKINUM): Now cast to
9531 long so that their calls don't have to. Changing MAKICHR fixed
9532 problem in scl.c (string2list) on IBMPC.
9533
9534 * subr.c (quotient): support for `/' reintroduced; required by
9535 r3.99rs but not IEEE.
9536
9537 * subr.c (char functions): added isascii tests for
9538 char-alphabetic, char-numeric?, char-whitespace?,
9539 char-upper-case?, and char-lower-case?. Added test against
9540 char_code_limit to int2char.
9541
9542 * subr.c (s_char_alphap): is subr_1 not lsubr.
9543
9544 * test.scm: added tests for char-alphabetic, char-numeric?,
9545 char-whitespace?, char-upper-case?, and char-lower-case?.
9546
9547 * sys.c: most `return;'s eliminated to reduce warning messages.
9548 Substituted breaks and reordered switch and if clauses.
9549
9550 Sun Feb 3 23:12:34 1991 Aubrey Jaffer (jaffer at foxkid)
9551
9552 * scm1-2: released.
9553
9554 * sys.c (read-char peek-char) added code for EOF.
9555
9556 * test.scm (leaf-eq?) added and file "cont.scm" removed. I/O
9557 tests added.
9558
9559 * sys.c (I/O functions) now check for input and output ports
9560 rather than just ports.
9561
9562 * sys.c (lprin1f): occurences of stdout changed to f. Newlines
9563 after printing port removed.
9564
9565 Thu Jan 31 22:52:39 1991 Aubrey Jaffer (jaffer at foxkid)
9566
9567 * subr.c (quotient): support for `/' removed; not required.
9568
9569 * scm.c (wta): message for OUTOFRANGE fixed.
9570
9571 Mon Jan 28 12:45:55 1991 Aubrey Jaffer (jaffer at foxkid)
9572
9573 * eval.c (apply): added checks for number of arguments.
9574
9575 * scm.h (CHECK_SIGINT): checks for blocked SIGINT.
9576
9577 * sys.c (lprin1): added blocking and testing for SIGINT so that
9578 output won't hang on VMS.
9579
9580 * scm.c (repl): added fflush call.
9581
9582 * scm.c (err_head, wta): added fflush calls to error routines so
9583 that error message come out in proper order.