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