Commit | Line | Data |
---|---|---|
95aec69f GB |
1 | Tue Jan 11 18:24:18 2000 Greg J. Badros <gjb@cs.washington.edu> |
2 | ||
3 | * guile-doc-snarf.in: Use new $fullfilename for running | |
4 | guile-func-name-check, and put "$fullfilename" and "$filename" in | |
5 | quotes at uses to make sure re-splitting on whitespace does not | |
6 | occur (so filenames w/ embedded whitespace would work okay, though | |
7 | I sure hope we never have to deal with that! :-) ). Thanks to | |
8 | Mikael for pointing out the source_dir != build_dir was broken. | |
9 | ||
b7ac2837 GB |
10 | Tue Jan 11 17:42:40 2000 Greg J. Badros <gjb@cs.washington.edu> |
11 | ||
12 | * scm_validate.h: Added SCM_NUM2LONG_DEF macro. Make | |
13 | SCM_OUT_OF_RANGE use SCM_MAKINUM, not scm_long2num. Added | |
14 | SCM_COERCE_ROSTRING macro. Added SCM_VALIDATE_NONEMPTYLIST | |
15 | macro. Fix SCM_VALIDATE_STRINGORSUBSTR macro to not use SLOPPY | |
16 | variants. | |
17 | ||
18 | * ports.c (scm_port_closed_p): Validate that the arg is a PORT, | |
19 | then return whether it's an open port (was validating that it was | |
20 | an open port -- this was a bug I introduced back in December, but | |
21 | my careful reading of diffs caught it). | |
22 | ||
23 | * numbers.c: Recombine the two conditional-compilation paths for | |
24 | all the log* primitives -- they were split based on #ifndef | |
25 | scm_long2num; factored out a SCM_LOGOP_RETURN macro, and fixed | |
26 | some bugs and inconsistencies in the two sets of implementations. | |
27 | (scm_lognot) Fixed *atrocious* re-use of a SCM as an integer! | |
28 | ||
29 | * ioext.c: Use SCM_ASSERT_RANGE in a couple places, and | |
30 | SCM_VALIDATE_INUM_COPY once where it should've been used. | |
31 | ||
32 | * fluids.c (scm_internal_with_fluids): Use | |
33 | SCM_VALIDATE_LIST_COPYLEN. | |
34 | ||
35 | * filesys.c: Use SCM_NUM2LONG instead of SCM_VALIDATE_INUM_COPY; | |
36 | this is questionable as it relaxes type safety, but other changes | |
37 | were useful and all SCM_NUM2LONG's should probably be | |
38 | revisited. Use SCM_OUT_OF_RANGE, SCM_WRONG_TYPE_ARG. | |
39 | ||
40 | * evalext.c: line-break change on 1 line. | |
41 | ||
42 | * eval.c (nconc2last): Takes a non-empty list as its first | |
43 | argument, not just a list. | |
44 | ||
45 | * dynl.c: Use new SCM_COERCE_ROSTRING macro. | |
46 | ||
47 | Tue Jan 11 15:44:23 2000 Greg J. Badros <gjb@cs.washington.edu> | |
48 | ||
49 | * dynl.c, feature.c, filesys.c, fports.c, list.c, load.c, | |
50 | net_db.c, sort.c, stacks.c, unif.c: Use SCM_WTA, SCM_MISC_ERROR | |
51 | where possible. | |
52 | ||
53 | * symbols.c (scm_sysintern0): Fixed the function name in a | |
54 | scm_misc_error invocation. | |
55 | ||
56 | * print.c (scm_simple_format): Do not need SCM_COERCE_SUBSTR, and | |
57 | use scm_return_first to ward off latent GC bug that Mikael caught. | |
58 | ||
59 | * async.c: Use SCM_VALIDATE_ASYNC_COPY one place where it wasn't | |
60 | used before but should've been. | |
61 | ||
d61f6b02 MD |
62 | 2000-01-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
63 | ||
64 | * snarf.h (SCM_PROC1): Replaced SCM (*) (...) with | |
65 | SCM_FUNC_CAST_ARBITRARY_ARGS. | |
66 | ||
88423ab1 GB |
67 | Tue Jan 11 13:44:07 2000 Greg J. Badros <gjb@cs.washington.edu> |
68 | ||
69 | * guile-func-name-check.in: Added this script to statically check | |
70 | #define FUNC_NAME, #undef FUNC_NAME in the source. | |
71 | ||
72 | * sort.c, posix.c: Fix #undef FUNC_NAME lines to not have trailing | |
73 | redundant comment, semicolon; caught by new guile-func-name-check | |
74 | script. | |
75 | ||
76 | * debug.c: Fix mistaken #define FUNC_NAME for scm_make_iloc. | |
77 | Caught by new guile-func-name-check-script. | |
78 | ||
79 | * Makefile.am: Added guile-func-name-check to bin_SCRIPTS | |
80 | ||
81 | * ramap.c: Fix #if 0'd out code to be syntactically acceptable to | |
82 | guile-func-name-check. | |
83 | ||
84 | * guile-doc-snarf.in: Run guile-func-name-check on the file before | |
85 | doing the snarf. | |
86 | ||
7f15e635 GB |
87 | Tue Jan 11 11:31:10 2000 Greg J. Badros <gjb@cs.washington.edu> |
88 | ||
89 | * fports.c, ports.c, ports.h, strports.c, vports.c: Make write | |
90 | port function take const void*, not void*. | |
91 | ||
bf121b59 GB |
92 | Tue Jan 11 11:18:07 2000 Greg J. Badros <gjb@cs.washington.edu> |
93 | ||
94 | * scm_validate.h, chars.c, ports.c, print.c, read.c, strings.c, | |
95 | strop.c: Use SCM_VALIDATE_ICHR, SCM_VALIDATE_ICHR_COPY instead of | |
96 | SCM_VALIDATE_CHAR, SCM_VALIDATE_CHAR_COPY. Change made for | |
97 | consistency with the other macros dealing with immediate | |
98 | characters. (Similar to INT -> INUM change a week or so ago). | |
99 | ||
7965d98f GB |
100 | Tue Jan 11 10:41:46 2000 Greg J. Badros <gjb@cs.washington.edu> |
101 | ||
102 | * dynl.c, error.c, eval.c, feature.c, filesys.c, fports.c, list.c, load.c, | |
103 | net_db.c, read.c, socket.c: Update error messages to use ~A for | |
104 | %s, ~S for %S to work with new `simple-format' format and be | |
105 | standardized better. | |
106 | ||
107 | * print.h, print.c (scm_simple_format): Added `simple-format' | |
108 | primitive. It's the old scm_display_error, with ARGS now a rest | |
109 | parameter, and the destination first instead of last (and a couple | |
110 | new capabilities inspired by `format' -- #t as destination means | |
111 | current-output-port, #f means return the formatted text as a | |
112 | string. | |
113 | ||
114 | * gh.h, gh_data.c, ports.h, ports.c: Added some missing const specifications. | |
115 | ||
116 | * backtrace.c (scm_display_error_message): Rewrote to use | |
117 | scm_simple_format() procedure. | |
118 | ||
119 | * __scm.h: Added commented-out #define of GUILE_DEBUG_FREELIST | |
120 | ||
f73d2411 MV |
121 | 2000-01-09 Marius Vollmer <mvo@zagadka.ping.de> |
122 | ||
123 | Finally applied the libltdl patch from Thomas Tanner, with slight | |
124 | modifications. | |
125 | ||
126 | * DYNAMIC-LINKING: Removed because it is obsolete. | |
127 | * dynl.c: Use ANSI prototypes. | |
128 | (sysdep_dynl_link): Use lt_dlopenext instead of lt_dlopen. | |
129 | * scmconfig.h.in: Do not change, as it is automatically generated. | |
130 | ||
131 | 1999-07-25 Thomas Tanner <tanner@ffii.org> | |
132 | ||
133 | * dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted | |
134 | (obsolete) | |
135 | * Makefile.am: likewise, add INCLTDL (libltdl headers) to | |
136 | INCLUDES, set dlpreopened files in LDFLAGS, link libguile | |
137 | against libltdl | |
138 | * dynl.c: use libltdl if DYNAMIC_LINKING is enabled, | |
139 | * guile.c: register preloaded modules | |
140 | * scmconfig.h.in: remove obsolete symbols | |
141 | ||
38c1d3c4 GH |
142 | 2000-01-09 Gary Houston <ghouston@arglist.com> |
143 | ||
144 | * These changes should make it unnecessary to call tzset from | |
145 | Scheme after modifying the TZ environment variable, even if the | |
146 | system date facilities cache the value. | |
147 | * stime.c (setzone, scm_localtime): added comments. | |
148 | (tzset): don't define a noop tzset macro if HAVE_TZSET not defined. | |
149 | (setzone): don't call tzset. | |
150 | (restorezone): call tzset only if HAVE_TZSET is defined. | |
151 | (scm_tzset): don't define if HAVE_TZSET not defined. Change the | |
152 | doc string to indicate that this procedure isn't likely to do | |
153 | anything useful. | |
154 | (scm_localtime, scm_strftime, scm_mktime): call tzset if | |
155 | LOCALTIME_CACHE is defined. | |
156 | ||
9359d657 MD |
157 | 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
158 | ||
159 | * posix.c (scm_sync): Return SCM_UNSPECIFIED. | |
160 | ||
f25f761d GH |
161 | 2000-01-09 Gary Houston <ghouston@arglist.com> |
162 | ||
163 | * eval.c: define scm_unbound_variable_key ('unbound-variable). | |
164 | scm_lookupcar1: throw an error with key 'unbound-variable instead | |
165 | of 'misc-error when an unbound variable is encountered. | |
166 | ||
167 | * filesys.c (scm_mkdir, scm_rmdir, scm_getcwd, scm_select, | |
168 | scm_symlink, scm_readlink, scm_lstat), | |
169 | posix.c (scm_setpgid, scm_setsid, scm_ctermid, scm_tcgetpgrp, | |
170 | scm_tcsetpgrp, scm_uname, scm_setlocale, scm_mknod, scm_nice, | |
171 | scm_sync), | |
172 | simpos.c (scm_system), | |
173 | stime.c (scm_times, scm_strptime): | |
174 | move the HAVE_XXX feature tests out of the procedure bodies. | |
175 | don't use SCM_SYSMISSING. | |
176 | scm_validate.h (SCM_SYSMISSING): removed. | |
177 | error.h, error.c (scm_sysmissing): comment that this is deprecated. | |
178 | see ChangeLog entry for 1999-12-28. | |
179 | ||
a4dd2611 GB |
180 | Sat Jan 8 19:52:04 2000 Greg J. Badros <gjb@cs.washington.edu> |
181 | ||
182 | * scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo. | |
183 | ||
184 | Sat Jan 8 17:06:46 2000 Greg J. Badros <gjb@cs.washington.edu> | |
185 | ||
186 | * backtrace.c: Fix spelling typo in a comment. | |
187 | ||
188 | * snarf.h: Use new SCM_DOCS macro to encapsulate the non SCM_INIT | |
189 | text. Reformatted some of the expansions. | |
190 | ||
5ac36451 GB |
191 | Fri Jan 7 15:50:46 2000 Greg J. Badros <gjb@cs.washington.edu> |
192 | ||
193 | * scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to | |
194 | report the position of the argument. | |
195 | ||
196 | * error.h, error.c (scm_out_of_range_pos): Added this function to | |
197 | take extra "pos" argument, the position number of the errant | |
198 | argument. | |
199 | ||
200 | * debug.c: Use SCM_OUT_OF_RANGE instead of scm_out_of_range. | |
201 | ||
202 | * snarf.h: Use SCM_HERE and SCM_INIT as names, not SCM_NOTSNARF | |
203 | and SCM_SNARFING. Also put the %%% in the SCM_INIT since Mikael | |
204 | prefers that and I'm reasonably indifferent. | |
205 | ||
206 | Fri Jan 7 15:03:32 2000 Greg J. Badros <gjb@cs.washington.edu> | |
207 | ||
208 | * snarf.h: Factor out differences between C++ and non-C++ into | |
209 | SCM_FUNC_CAST_ARBITRARY_ARGS macro. Modify all the snarf macro | |
210 | definitions to use SCM_NOTSNARF and SCM_SNARFING macros (like | |
211 | Mikael's macros, below, but changed names and SCM_SNARFING no | |
212 | longer expands to include %%% -- that must appear in the argument | |
213 | so that the token appears at the call-site as a reminder). | |
214 | ||
088bb1d4 MD |
215 | 2000-01-07 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
216 | ||
217 | * snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user | |
218 | snarf macro definitions. | |
219 | ||
636480e6 MD |
220 | 2000-01-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
221 | ||
222 | * chars.c (scm_integer_to_char): Use Greg's nice | |
223 | SCM_VALIDATE_INUM_RANGE macro for argument checking for closer | |
224 | adherence to R5RS. | |
225 | ||
7c5628e2 GB |
226 | Thu Jan 6 11:48:49 2000 Greg J. Badros <gjb@cs.washington.edu> |
227 | ||
228 | * *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout. | |
229 | ||
2cc0f8cb GB |
230 | Thu Jan 6 11:22:53 2000 Greg J. Badros <gjb@cs.washington.edu> |
231 | ||
232 | * Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1 | |
233 | instead of GUILE_PROC. | |
234 | ||
235 | Thu Jan 6 11:21:49 2000 Greg J. Badros <gjb@cs.washington.edu> | |
236 | ||
237 | * alist.c: Do not report mismatch errors on some uses of `tmp' (do | |
238 | this by using SCM_ARG2 instead of `2' in the SCM_VALIDATE_CONS | |
239 | macro call. | |
240 | ||
9179dcdd GB |
241 | Thu Jan 6 09:54:33 2000 Dirk Herrmann <dirk@ida.ing.tu-bs.de> --gjb applied |
242 | ||
243 | * scm_validate.h: Remove some redundant NIMP tests. | |
244 | ||
245 | * alist.c: minimize scope of the tmp variables, and initialize | |
246 | them when declared. The strange SCM_NIMP tests are replaced by | |
247 | SCM_CONSP tests that more closely reflect the intended semantics. | |
248 | However, we don't get a performance penalty here, because the | |
249 | SCM_CONSP test was performed by the ALISTCELL test anyway. * The | |
250 | extremely ugly use of ASRTGO macros was removed: The calls to | |
251 | ASRTGO were not encapsulated by "#ifndef SCM_RECKLESS", but got a | |
252 | label parameter that only exists when SCM_RECKLESS is not defined. | |
253 | This works, because ASRTGO itself is defined in a way that it only | |
254 | makes use of the label parameter if SCM_RECKLESS is not defined | |
255 | (shudder!). Does guile make at all use of the possibility to | |
256 | define SCM_RECKLESS? * Codesize is likely to be reduced, since | |
257 | instead of two calls to SCM_ASSERT performed by the ALISTCELL test | |
258 | we now only get one test. | |
259 | ||
260 | * list.c: Use SCM_NNULLP, not SCM_NIMP as appropriate. Also use | |
261 | SCM_NULLP instead of SCM_IMP. Drop use of "register" keyword on | |
262 | some variables in `list?'. Fix `reverse' and `reverse!' | |
263 | primitives to handle improper lists better. | |
264 | ||
15b33280 GB |
265 | Wed Jan 5 11:24:53 2000 Greg J. Badros <gjb@cs.washington.edu> |
266 | ||
267 | * *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_* | |
268 | macros and SCM_DEFINE macros to match GNU coding standards. | |
269 | ||
ca8cd130 GB |
270 | Wed Jan 5 11:04:24 2000 Greg J. Badros <gjb@cs.washington.edu> |
271 | ||
272 | * *.[ch]: Replace GUILE_PROC w/ SCM_DEFINE. | |
273 | ||
fb764465 GB |
274 | Wed Jan 5 10:59:06 2000 Greg J. Badros <gjb@cs.washington.edu> |
275 | ||
276 | * *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for | |
277 | better consistency with the names of other SCM_VALIDATE_ macros | |
278 | and better conformance to guile naming policy. | |
279 | ||
280 | Wed Jan 5 10:50:39 2000 Greg J. Badros <gjb@cs.washington.edu> | |
281 | ||
282 | * ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a | |
283 | SCM_VALIDATE instead of 1 to avoid a check on the argument (since | |
284 | it's not the actual name of the formal). | |
1e484823 GB |
285 | |
286 | * guile-snarf.awk.in: Do argument/number mismatch checking and | |
287 | print warnings in an Emacs compile-mode parseable format. | |
288 | ||
289 | * struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/ | |
290 | SCM_OUTOFRANGE as 3rd argument. | |
291 | ||
292 | * random.c: Fix argument/number mismatch (that I introduced :-( ). | |
293 | ||
294 | * __scm.h: Do not #define SCM_ARG* when snarfing; | |
295 | lets us distinguish between 1 and SCM_ARG1 when snarfing as only | |
296 | the former (using the number) requires the argument to match the | |
297 | formal in the current argument snarfing check. | |
298 | ||
299 | * snarf.h: Give new definition of SCM_ASSERT when in | |
300 | snarfing mode to output a lexically-identifiable sequence that the | |
301 | guile-snarf.awk script uses to verify argument/position matching. | |
302 | ||
303 | * ramap.c: Remove extraneous #undef FUNC_NAME. | |
304 | ||
53fc4636 GB |
305 | Wed Jan 5 08:36:38 2000 Greg J. Badros <gjb@cs.washington.edu> |
306 | ||
307 | * guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the | |
308 | current version of the same functionality; it writes the .x output | |
309 | to stdout instead of directly into the file. | |
310 | ||
311 | Wed Jan 5 08:15:04 2000 Greg J. Badros <gjb@cs.washington.edu> | |
312 | ||
313 | * unif.c, symbols.c, strings.c, stacks.c, random.c, print.c, | |
314 | posix.c: Eliminated a bunch of SCM_NIMP(..)s that are now | |
315 | redundant with the safer macros. Patch from Dirk Hermann applied | |
316 | by hand. Thanks Dirk! | |
317 | ||
318 | * scm_validate.h: Added SCM_VALIDATE_VECTOR_OR_DVECTOR for some | |
319 | uses in random.c. | |
320 | ||
321 | * ramap.c: whitespace change. | |
322 | ||
3b5345d9 GB |
323 | Tue Jan 4 14:21:35 2000 Greg J. Badros <gjb@cs.washington.edu> |
324 | ||
325 | * options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP | |
326 | removals from Dirk Hermann. | |
327 | ||
328 | * alist.c: Rename formals to match the parameter names in the | |
329 | documentation, updates to documentation. Thanks Dirk Hermann! | |
330 | ||
169aec65 MD |
331 | 2000-01-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
332 | ||
db62436e MD |
333 | * eval.c (SCM_CEVAL): Reverse order of |
334 | scm_stack_checking_enabled_p and SCM_STACK_OVERFLOW_P | |
335 | (Thanks to Brad Knotwell.) | |
169aec65 | 336 | |
da43d822 GB |
337 | Mon Jan 3 08:30:02 2000 Greg Harvey <Greg.Harvey@thezone.net> (applied --01/03/00 gjb) |
338 | ||
339 | * gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly | |
340 | allocated cell. | |
341 | ||
342 | * pairs.h: Added a comment about the need for the SCM_SETCAR in | |
343 | SCM_NEWCELL macro. | |
344 | ||
345 | Mon Jan 3 08:25:19 2000 Greg J. Badros <gjb@cs.washington.edu> | |
346 | ||
347 | * dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More | |
348 | SCM_NIMP tests that were redundant are now eliminated. Patches | |
349 | from Dirk Hermann applied by hand. | |
350 | ||
339999c7 | 351 | The ChangeLog continues in the file: "ChangeLog-1996-1999" |