Commit | Line | Data |
---|---|---|
b8446ce8 MD |
1 | 2001-01-31 Mikael Djurfeldt <mdj@linnaeus.mit.edu> |
2 | ||
3 | * unif.c (rapr1): Don't apply scm_uniform_vector_length on arrays. | |
4 | ||
e3239868 DH |
5 | 2001-01-29 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
6 | ||
7 | * struct.c (scm_make_vtable_vtable): Removed unnecessary "" from | |
8 | end of docstring. | |
9 | ||
10 | * struct.c (scm_struct_set_x, scm_struct_vtable_tag, | |
11 | scm_struct_vtable_name, scm_set_struct_vtable_name_x), weaks.c | |
12 | (scm_make_weak_value_hash_table, scm_make_doubly_weak_hash_table, | |
13 | scm_weak_value_hash_table_p, scm_doubly_weak_hash_table_p), | |
14 | srcprop.c (scm_source_properties, scm_set_source_properties_x, | |
15 | scm_source_property, scm_set_source_property_x), sort.c | |
16 | (scm_sort_list_x, scm_restricted_vector_sort_x, scm_sorted_p, | |
17 | scm_merge, scm_merge_x, scm_sort_x, scm_sort, scm_stable_sort_x, | |
18 | scm_stable_sort, scm_sort_list_x, scm_sort_list): Added | |
19 | docstrings. | |
20 | ||
41ee56dd MD |
21 | 2001-01-29 Mikael Djurfeldt <mdj@linnaeus.mit.edu> |
22 | ||
23 | * eval.c (SCM_APPLY): Check that primitives which take 1 arg | |
24 | really get that arg. | |
25 | ||
b6311c08 KN |
26 | 2001-01-26 Keisuke Nishida <kxn30@po.cwru.edu> |
27 | ||
28 | * goops.c (s_scm_get_keyword): Bug fix. | |
29 | ||
a49af0c0 DH |
30 | 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de> |
31 | ||
32 | The following patch was sent by Martin Grabmueller. It makes sure | |
33 | that in case of parameter errors the correct function name is | |
34 | shown, and that parameter types are only checked once. | |
35 | ||
36 | * strop.c (string_copy, string_upcase_x, string_downcase_x, | |
37 | string_capitalize_x): New functions. Each one performs the core | |
38 | functionality of the corresponding scm_* function. | |
39 | ||
40 | (scm_string_copy, scm_string_upcase_x, scm_string_upcase, | |
41 | scm_string_downcase_x, scm_string_downcase, | |
42 | scm_string_capitalize_x, scm_string_capitalize): Reduced to | |
43 | parameter checking wrappers of the above functions. | |
44 | ||
13070bd3 DH |
45 | 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de> |
46 | ||
47 | * continuations.c, dynl.c, keywords.c, load.c: Include | |
48 | strings.h. Thanks to Bill Schottstaedt for the bug report. | |
49 | ||
2f2b390c DH |
50 | 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de> |
51 | ||
52 | * backtrace.c (display_header): Make sure that line and column | |
53 | information is shown independent of whether the port the code was | |
54 | read from had an associated filename. Thanks to Martin | |
55 | Grabmueller for providing this patch. | |
56 | ||
efa40607 DH |
57 | 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de> |
58 | ||
59 | * fports.[ch] (scm_file_port_p): New primitive. | |
60 | ||
a98bddfd DH |
61 | 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de> |
62 | ||
63 | * tags.h (scm_tc16_fport, scm_tc16_strport, scm_tc16_sfport): | |
64 | These are now defined in fports.c, strports.c and vports.c. | |
65 | ||
66 | * fports.[ch] (scm_tc16_fport), strports.c (scm_tc16_strport), | |
67 | vports.c (scm_tc16_sfport): Made variables (were macros defined in | |
68 | tags.h). | |
69 | ||
70 | fports.c (scm_make_fptob), strports.c (scm_make_stptob), vports.c | |
71 | (scm_make_sfptob): Made static. These return a type code now. | |
72 | ||
73 | fports.c (scm_init_fports), strports.c (scm_init_strports), | |
74 | vports.c (scm_init_vports): Create the corresponding port types. | |
75 | ||
76 | * fports.h (SCM_FPORTP, SCM_OPFPORTP, SCM_OPINFPORTP, | |
77 | SCM_OPOUTFPORTP): Redefined in terms of scm_tc16_fport. | |
78 | ||
79 | * init.c (scm_init_guile_1): Make sure strports are initialized | |
80 | before gdbint. | |
81 | ||
82 | * ports.[ch] (scm_make_port_type): Changed the return type to | |
83 | scm_bits_t. | |
84 | ||
85 | * ports.c (scm_ports_prehistory): Don't create any port types | |
86 | here. | |
87 | ||
88 | * posix.c (scm_ttyname): Use SCM_FPORTP instead of comparing | |
89 | against scm_tc16_fport directly. | |
90 | ||
0419a528 DH |
91 | 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de> |
92 | ||
93 | * srcprop.c (scm_set_source_property_x): Fix to handle | |
94 | (set-source-property! <obj> 'copy <datum>) correctly. | |
95 | ||
6d36532c GH |
96 | 2001-01-24 Gary Houston <ghouston@arglist.com> |
97 | ||
98 | * filesys.c (scm_link): docstring fix. | |
99 | * fports.h (scm_setfileno): obsolete declaration removed. | |
100 | * posix.c: bogus popen declaration removed. | |
101 | ||
102 | * rdelim.c: new file, split from ioext.c. | |
103 | * rdelim.h: new file, split from ioext.h | |
104 | * Makefile.am: add rdelim.c and related files. | |
105 | * init.c: call scm_init_rdelim. include rdelim.h. | |
106 | ||
3ba5a6c2 DH |
107 | 2001-01-24 Dirk Herrmann <D.Herrmann@tu-bs.de> |
108 | ||
109 | This patch was sent by Martin Grabmueller and makes sure that | |
110 | parameter errors are reported correctly by the lexicographic | |
111 | ordering predicates. | |
112 | ||
113 | * strorder.c (string_less_p, string_ci_less_p): New functions. | |
114 | ||
115 | (scm_string_less_p, scm_string_ci_less_p): Extracted the core | |
116 | functionality into string_less_p, string_ci_less_p respectively. | |
117 | The remaining code is just a wrapper to do the parameter | |
118 | checking. | |
119 | ||
120 | (scm_string_leq_p, scm_string_gr_p, scm_string_geq_p): Check the | |
121 | parameters and call string_less_p instead of scm_string_less_p. | |
122 | ||
123 | (scm_string_ci_leq_p, scm_string_ci_gr_p, scm_string_ci_geq_p): | |
124 | Check the parameters and call string_less_ci_p instead of | |
125 | scm_string_ci_less_p. | |
126 | ||
e40a4095 DH |
127 | 2001-01-24 Dirk Herrmann <D.Herrmann@tu-bs.de> |
128 | ||
ed6a2db9 DH |
129 | This patch modifies scm_display_error to perform parameter |
130 | checking. Thanks to Neil Jerram for the bug report. | |
131 | ||
e40a4095 DH |
132 | * backtrace.[ch] (scm_i_display_error): New function. |
133 | ||
134 | * backtrace.c (scm_display_error): Added parameter check and | |
135 | extracted the core functionality into function | |
136 | scm_i_display_error. | |
137 | ||
138 | * throw.c (handler_message): Call scm_i_display_error to display | |
139 | the error message. | |
140 | ||
f1e06a96 MD |
141 | 2001-01-23 Mikael Djurfeldt <mdj@linnaeus.mit.edu> |
142 | ||
143 | * eval.c (SCM_APPLY): Added # args check for application of | |
144 | procedures with arity 3. (Thanks to Anders Holst.) | |
145 | ||
30ea841d DH |
146 | 2001-01-24 Dirk Herrmann <D.Herrmann@tu-bs.de> |
147 | ||
148 | * filesys.h (SCM_DIR_FLAG_OPEN, SCM_DIR_OPEN_P): Added. | |
149 | ||
150 | (SCM_OPDIRP): Deprecated. | |
151 | ||
152 | * filesys.c (scm_opendir): Use SCM_DIR_FLAG_OPEN instead of | |
153 | SCM_OPN. | |
154 | ||
155 | (scm_readdir, scm_rewinddir): Don't use SCM_VALIDATE_OPDIR. | |
156 | Instead, give an explicit error message in case the directory is | |
157 | closed. | |
158 | ||
159 | (scm_closedir, scm_dir_print): Rewritten to use SCM_DIR_OPEN_P | |
160 | instead of SCM_OPENP and SCM_CLOSEDP. | |
161 | ||
162 | * validate.h (SCM_VALIDATE_OPDIR): Deprecated. | |
163 | ||
312ae976 DH |
164 | 2001-01-22 Dirk Herrmann <D.Herrmann@tu-bs.de> |
165 | ||
166 | * eval.c (inner_eval, scm_eval): Move all real functionality into | |
167 | inner_eval. Avoid to copy the expression twice by inlining some | |
168 | code from scm_i_eval. | |
169 | ||
4567ed78 DH |
170 | 2001-01-19 Dirk Herrmann <D.Herrmann@tu-bs.de> |
171 | ||
172 | * eval.c (scm_m_case): The 'else' clause of a 'case' statement | |
173 | now has to be the last clause, as required by R5RS. Thanks to | |
174 | Martin Grabmueller for the patch. | |
175 | ||
10288a09 GH |
176 | 2001-01-18 Gary Houston <ghouston@arglist.com> |
177 | ||
178 | * ioext.c: further simplify scm_read_string_x_partial by defining | |
179 | a macro SCM_EBLOCK. | |
180 | ||
8f379a8f DH |
181 | 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de> |
182 | ||
183 | * gh_data.c (gh_ints2scm): Simplified using SCM_FIXABLE. | |
184 | ||
5c75b29f DH |
185 | 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de> |
186 | ||
187 | * __scm.h: Added comment about architecture and compiler | |
188 | properties that are required by guile. | |
189 | ||
190 | (SCM_FIXNUM_BIT, SCM_MOST_POSITIVE_FIXNUM, | |
191 | SCM_MOST_NEGATIVE_FIXNUM): Moved to numbers.h. | |
192 | ||
193 | (SCM_CHAR_BIT, SCM_LONG_BIT): Moved here from numbers.h. | |
194 | ||
195 | * numbers.h (SCM_CHAR_BIT, SCM_LONG_BIT): Moved to __scm.h. | |
196 | ||
197 | (SCM_FIXNUM_BIT, SCM_MOST_POSITIVE_FIXNUM, | |
198 | SCM_MOST_NEGATIVE_FIXNUM): Moved here from __scm.h. | |
199 | ||
ac0c002c DH |
200 | 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de> |
201 | ||
202 | * __scm.h (SCM_FIXNUM_BIT): Added. The name is chosen in analogy | |
203 | to the names in limits.h. | |
204 | ||
205 | * numbers.c (abs_most_negative_fixnum): Added. | |
206 | ||
207 | (scm_quotient, scm_remainder): Fixed the fixnum-min / (abs | |
208 | fixnum-min) special case. | |
209 | ||
210 | (scm_big_and): Fix for negative first parameter. | |
211 | ||
212 | (scm_bit_extract): Fix for fixnum paramters. | |
213 | Thanks to Rob Browning for the bug report. | |
214 | ||
215 | (scm_init_numbers): Initialize abs_most_negative_fixnum. | |
216 | ||
debe0dc2 DH |
217 | 2001-01-16 Dirk Herrmann <D.Herrmann@tu-bs.de> |
218 | ||
219 | * symbols.c (scm_symbol_bound_p): Fixed comment. | |
220 | Thanks to Chris Cramer. | |
221 | ||
8a39e3fc DH |
222 | 2001-01-15 Dirk Herrmann <D.Herrmann@tu-bs.de> |
223 | ||
224 | * smob.[ch] (scm_make_smob_type): Return type is scm_bits_t now. | |
225 | Thanks to Bill Schottstaedt. | |
226 | ||
322ec19d ML |
227 | 2001-01-11 Michael Livshin <mlivshin@bigfoot.com> |
228 | ||
229 |