Commit | Line | Data |
---|---|---|
e40a4095 DH |
1 | 2001-01-24 Dirk Herrmann <D.Herrmann@tu-bs.de> |
2 | ||
ed6a2db9 DH |
3 | This patch modifies scm_display_error to perform parameter |
4 | checking. Thanks to Neil Jerram for the bug report. | |
5 | ||
e40a4095 DH |
6 | * backtrace.[ch] (scm_i_display_error): New function. |
7 | ||
8 | * backtrace.c (scm_display_error): Added parameter check and | |
9 | extracted the core functionality into function | |
10 | scm_i_display_error. | |
11 | ||
12 | * throw.c (handler_message): Call scm_i_display_error to display | |
13 | the error message. | |
14 | ||
f1e06a96 MD |
15 | 2001-01-23 Mikael Djurfeldt <mdj@linnaeus.mit.edu> |
16 | ||
17 | * eval.c (SCM_APPLY): Added # args check for application of | |
18 | procedures with arity 3. (Thanks to Anders Holst.) | |
19 | ||
30ea841d DH |
20 | 2001-01-24 Dirk Herrmann <D.Herrmann@tu-bs.de> |
21 | ||
22 | * filesys.h (SCM_DIR_FLAG_OPEN, SCM_DIR_OPEN_P): Added. | |
23 | ||
24 | (SCM_OPDIRP): Deprecated. | |
25 | ||
26 | * filesys.c (scm_opendir): Use SCM_DIR_FLAG_OPEN instead of | |
27 | SCM_OPN. | |
28 | ||
29 | (scm_readdir, scm_rewinddir): Don't use SCM_VALIDATE_OPDIR. | |
30 | Instead, give an explicit error message in case the directory is | |
31 | closed. | |
32 | ||
33 | (scm_closedir, scm_dir_print): Rewritten to use SCM_DIR_OPEN_P | |
34 | instead of SCM_OPENP and SCM_CLOSEDP. | |
35 | ||
36 | * validate.h (SCM_VALIDATE_OPDIR): Deprecated. | |
37 | ||
312ae976 DH |
38 | 2001-01-22 Dirk Herrmann <D.Herrmann@tu-bs.de> |
39 | ||
40 | * eval.c (inner_eval, scm_eval): Move all real functionality into | |
41 | inner_eval. Avoid to copy the expression twice by inlining some | |
42 | code from scm_i_eval. | |
43 | ||
4567ed78 DH |
44 | 2001-01-19 Dirk Herrmann <D.Herrmann@tu-bs.de> |
45 | ||
46 | * eval.c (scm_m_case): The 'else' clause of a 'case' statement | |
47 | now has to be the last clause, as required by R5RS. Thanks to | |
48 | Martin Grabmueller for the patch. | |
49 | ||
10288a09 GH |
50 | 2001-01-18 Gary Houston <ghouston@arglist.com> |
51 | ||
52 | * ioext.c: further simplify scm_read_string_x_partial by defining | |
53 | a macro SCM_EBLOCK. | |
54 | ||
8f379a8f DH |
55 | 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de> |
56 | ||
57 | * gh_data.c (gh_ints2scm): Simplified using SCM_FIXABLE. | |
58 | ||
5c75b29f DH |
59 | 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de> |
60 | ||
61 | * __scm.h: Added comment about architecture and compiler | |
62 | properties that are required by guile. | |
63 | ||
64 | (SCM_FIXNUM_BIT, SCM_MOST_POSITIVE_FIXNUM, | |
65 | SCM_MOST_NEGATIVE_FIXNUM): Moved to numbers.h. | |
66 | ||
67 | (SCM_CHAR_BIT, SCM_LONG_BIT): Moved here from numbers.h. | |
68 | ||
69 | * numbers.h (SCM_CHAR_BIT, SCM_LONG_BIT): Moved to __scm.h. | |
70 | ||
71 | (SCM_FIXNUM_BIT, SCM_MOST_POSITIVE_FIXNUM, | |
72 | SCM_MOST_NEGATIVE_FIXNUM): Moved here from __scm.h. | |
73 | ||
ac0c002c DH |
74 | 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de> |
75 | ||
76 | * __scm.h (SCM_FIXNUM_BIT): Added. The name is chosen in analogy | |
77 | to the names in limits.h. | |
78 | ||
79 | * numbers.c (abs_most_negative_fixnum): Added. | |
80 | ||
81 | (scm_quotient, scm_remainder): Fixed the fixnum-min / (abs | |
82 | fixnum-min) special case. | |
83 | ||
84 | (scm_big_and): Fix for negative first parameter. | |
85 | ||
86 | (scm_bit_extract): Fix for fixnum paramters. | |
87 | Thanks to Rob Browning for the bug report. | |
88 | ||
89 | (scm_init_numbers): Initialize abs_most_negative_fixnum. | |
90 | ||
debe0dc2 DH |
91 | 2001-01-16 Dirk Herrmann <D.Herrmann@tu-bs.de> |
92 | ||
93 | * symbols.c (scm_symbol_bound_p): Fixed comment. | |
94 | Thanks to Chris Cramer. | |
95 | ||
8a39e3fc DH |
96 | 2001-01-15 Dirk Herrmann <D.Herrmann@tu-bs.de> |
97 | ||
98 | * smob.[ch] (scm_make_smob_type): Return type is scm_bits_t now. | |
99 | Thanks to Bill Schottstaedt. | |
100 | ||
322ec19d ML |
101 | 2001-01-11 Michael Livshin <mlivshin@bigfoot.com> |
102 | ||
103 |