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