*** empty log message ***
[bpt/guile.git] / libguile / ChangeLog
1 Thu Mar 2 12:38:30 2000 Greg J. Badros <gjb@cs.washington.edu>
2
3 * list.c: Moved append docs to append! Thanks Dirk Hermann. Also,
4 added append docs from R4RS.
5
6 * strings.c: Docstring typo fix, + eliminate unneeded IMP tests.
7 Thanks Dirk Hermann!
8
9 * chars.h: Provide SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR and
10 deprecate SCM_ICHRP, SCM_ICHR, SCM_MAKICHR. Thanks Dirk Hermann!
11
12 * *.h, *.c: Use SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR throughout.
13 Drop use of SCM_P for function prototypes... assume an ANSI C
14 compiler. Thanks Dirk Hermann!
15
16 Sat Feb 19 12:20:12 2000 Greg J. Badros <gjb@cs.washington.edu>
17
18 * ports.c: Made `set-port-column!' and `set-port-line!' each
19 return SCM_UNSPECIFIED instead of a (not-scheme-object) integer
20 that caused a seg fault. Also fixed `set-port-column!'s
21 docstring. Thanks Han-Wen Nienhuys for finding the bug!
22
23 Sun Feb 13 19:11:42 2000 Greg J. Badros <gjb@cs.washington.edu>
24
25 * arbiters.c, eq.c, gc.c, guardians.c, list.c, ports.c, print.c,
26 regex-posix.c, scmsigs.c, stime.c, strings.c, variable.c, stime.c,
27 strings.c, variable.c: Added lots of documentation, cleaned up
28 some existing documentation. Occasionally changed formal params
29 to match docs. Also folded an #ifdef into the inners of a
30 primitive instead of having two copies of the primitive
31 (`get-internal-real-time', from stime.c)
32
33 Sun Feb 13 18:12:19 2000 Greg J. Badros <gjb@cs.washington.edu>
34
35 * ports.c: Added docs for primitives missing them. Written by
36 hand.
37
38 Sun Feb 13 09:40:36 2000 Greg J. Badros <gjb@cs.washington.edu>
39
40 * guile-doc-snarf.in: Use ${AWK} -f guile-func-name-check, not
41 just execing guile-func-name-check. Thanks Michael Livshin!
42
43 Thu Feb 10 11:43:23 2000 Greg J. Badros <gjb@cs.washington.edu>
44
45 * guile-snarf.awk.in: Tweak to work with Sun/HP awk, removed some
46 dead code. Patch from Michael Livshin.
47
48 * guile-doc-snarf.in: Tweak to work with Sun/HP sh. Patch from
49 Michael Livshin.
50
51 2000-02-09 Gary Houston <ghouston@arglist.com>
52
53 * init.c (scm_init_standard_ports): when stdout is a tty, make the
54 current-output-port unbuffered by default. this is less confusing
55 for interactive use. it was line-buffered because of a
56 performance problem with unbuffered ports, but I think it will be
57 OK now.
58
59 2000-02-08 Gary Houston <ghouston@arglist.com>
60
61 * __scm.h: don't define long_long or ulong_long if HAVE_LONG_LONGS
62 is not defined.
63
64 * stime.c (scm_localtime, scm_mktime): if neither HAVE_TM_ZONE nor
65 HAVE_TZNAME are defined, use an empty string instead of giving two
66 spurious compile-time errors.
67
68 Tue Feb 8 13:57:46 2000 Greg J. Badros <gjb@cs.washington.edu>
69
70 * ports.c: Doc patches from Richard Kim. Pasted from MIT Scheme.
71 Thanks Richard!
72
73 Mon Feb 7 09:07:31 2000 Greg J. Badros <gjb@cs.washington.edu>
74
75 * macros.c: Doc patches from Richard Kim. Pasted from scm.texi.
76
77 Sun Feb 6 20:26:21 2000 Greg J. Badros <gjb@cs.washington.edu>
78
79 * pairs.c: Doc patches from Richard Kim. Pasted from MIT Scheme
80 (which is GNU GPL'd).
81
82 2000-01-31 Gary Houston <ghouston@arglist.com>
83
84 * strings.h: don't use SCM_P. don't include <string.h>.
85 * error.c, gh_data.c, ports.c, script.c, strop.c: include <string.h>.
86
87 * strings.c (scm_string_ref): make the 2nd argument compulsory.
88 previously it defaulted to zero for no good reason that I can see.
89 use a local variable for SCM_INUM (k). replace
90 SCM_VALIDATE_INUM_DEF with SCM_VALIDATE_INUM_COPY.
91
92 (scm_makfromstr): cosmetic changes.
93
94 (scm_string): Accept only chars in the list, not strings, for
95 conformance to R5RS (particularly for list->string, which is
96 supposed to be the inverse of string->list.) remove
97 SCM_DEFER_INTS/SCM_ALLOW_INTS, which is unnecessary since
98 scm_makstr handles the cell allocation. when reporting wrong-type
99 arg, don't report the position as 1.
100
101 * posix.c (scm_init_posix): intern PIPE_BUF if it's defined.
102
103 2000-01-29 Gary Houston <ghouston@arglist.com>
104
105 * posix.c (scm_pipe): rewrote the docstring.
106
107 * filesys.c (scm_select, retrieve_select_type, get_element,
108 fill_select_type, set_element): modified so that Scheme
109 "select" tests port buffers for the ability to provide input
110 or accept output. Previously only the underlying file descriptors
111 were checked. Rewrote the docstring.
112
113 Thu Jan 27 10:14:25 2000 Greg J. Badros <gjb@cs.washington.edu>
114
115 * vectors.c, symbols.c, strorder.c: Documentation cut and pasted
116 from Gregg Reynolds. Thanks Gregg!
117
118 Thu Jan 27 09:59:38 2000 Greg J. Badros <gjb@cs.washington.edu>
119
120 * strop.c (scm_i_index): Obfuscated commented-out SCM_DEFINE by
121 adding "x" prefix to the line so that guile-func-name-check
122 doesn't complain unnecessarily.
123
124 Wed Jan 26 17:33:52 2000 Greg J. Badros <gjb@cs.washington.edu>
125
126 * throw.c: Factor out an #ifdef/#else/#endif choice more finely
127 for maintainability.
128
129 * strop.c: Documentation added by Gregg A. Reynolds. Pasted in
130 from qdocs, RnRs.
131
132 Wed Jan 26 10:02:11 2000 Greg J. Badros <gjb@cs.washington.edu>
133
134 * tag.c: Added doc for `tag', but mark as deprecated since Mikael
135 suggests removing tag.c altogether (and using a new `class-of'
136 instead).
137
138 * strings.c: Added documentation from Gregg A. Reynolds. Edited
139 a bit by me to use FOO instead of @var{foo} and to have the
140 summary come before preconditions on input. Also dropped trailing
141 (rnrs) note.
142
143 * gsubr.c: Do not use SCM_DEFINE for `gsubr-apply'. Register the
144 function with scm_make_subr_opt w/ last arg of 0 so it is not
145 visible at the Scheme level. Mikael says that this is the right
146 thing because the first arg to the proc is the guts of a compiled
147 closure and shouldn't be exposed to the Scheme level.
148
149 Tue Jan 25 17:15:47 2000 Greg J. Badros <gjb@cs.washington.edu>
150
151 * sort.c: typo in comment fixed.
152
153 * keywords.c: Added documentation.
154
155 * guardians.c: Added documentation (could be better).
156
157 * gc.c: Added docs for gc-set-debug-check-freelist.
158
159 * eq.c: Added docs for eq?, eqv? equal? abridged from R4RS.
160
161 * boolean.c: Added docs for `not', `boolean?' (by hand).
162
163 Tue Jan 25 13:28:56 2000 Greg J. Badros <gjb@cs.washington.edu>
164
165 * random.c: Added documentation, from SLIB page:
166 http://angela.ctrl-c.liu.se/~calle/scheme/slib_toc.html
167
168 Mon Jan 24 17:50:20 2000 Greg J. Badros <gjb@cs.washington.edu>
169
170 * variable.c, version.c: Added documentation, written by hand
171 since I could not find anything already written that was
172 relevant.
173
174 2000-01-23 Gary Houston <ghouston@arglist.com>
175
176 * filesys.c (scm_chown): omit port/fdes support if HAVE_FCHOWN is
177 not defined (thanks to Richard Y. Kim).
178
179 Thu Jan 20 13:00:38 2000 Greg J. Badros <gjb@cs.washington.edu>
180
181 * Makefile.in: Removed, this is auto-generated.
182
183 Thu Jan 20 11:33:47 2000 Dirk Hermann <dirk@ida.ing.tu-bs.de> --applied 01/20/00 gjb
184
185 * list.c: Put some variable initialization code at the point of
186 declaration; Added a comment for list*; Formatting changes.
187
188 * load.c: use SCM_NNULLP to make sure the end of a list is not
189 reached yet.
190
191 2000-01-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
192
193 * backtrace.c (scm_display_error_message): Bugfix: Don't use
194 result of scm_list_p as C boolean.
195 (scm_display_error_message, scm_set_print_params_x): Use new
196 validation macros. (Thanks to Dirk Herrmann.)
197
198 * net_db.c (scm_resolv_error): Cast result from hstrerror.
199
200 * strports.c (st_end_input): Inserted parenthesis to get operator
201 grouping correct.
202
203 * list.h (scm_init_list): Removed SCM_P around prototypes.
204
205 * fports.c, list.c, numbers.c, ports.c, stime.c, symbols.c,
206 filesys.c, posix.c: Converted docstrings to ANSI C format and
207 escaped " occurring inside string literals.
208
209 Tue Jan 18 13:21:08 2000 Mikael Djurfeldt <mdj@r11n07-s.pdc.kth.se>
210
211 * posix.c (scm_mknod): Escape " occuring inside docstring.
212
213 2000-01-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
214
215 * alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
216 evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c,
217 keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c,
218 objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c,
219 ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c,
220 stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c,
221 symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c,
222 weaks.c: Converted docstrings to ANSI C format.
223
224 * filesys.c (scm_chmod), simpos.c (scm_system), version
225 (scm_version), vports (scm_make_soft_port): Escape " occuring
226 inside docstring.
227
228 Mon Jan 17 11:41:22 2000 Greg J. Badros <gjb@cs.washington.edu>
229
230 * scm_validate.h: Added SCM_VALIDATE_ULONG_COPY,
231 SCM_VALIDATE_LONG_COPY
232
233 * numbers.c: Use SCM_VALIDATE_ULONG_COPY, instead of
234 SCM_VALIDATE_INUM_COPY to let bigger numbers be used. Rename a
235 couple of formal arguments (and fix their uses) to make arguments
236 match the documentation.
237
238 2000-01-14 <mstachow@alum.mit.edu>
239
240 * Makefile.am: Augment path when running guile-doc-snarf so
241 guile-func-name-check is found.
242
243 Fri Jan 14 09:34:55 2000 Greg J. Badros <gjb@cs.washington.edu>
244
245 * scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use
246 def, not SCM_MAKINUM(def); thanks Janis Bzerins!
247
248 Wed Jan 12 00:06:53 2000 Greg J. Badros <gjb@cs.washington.edu>
249
250 * net_db.c (s_scm_inet_makeaddr): Use SCM_NUM2ULONG since that's
251 the way guile-1.3.4 worked, but #if 0 out the version using
252 SCM_VALIDATE_INUM_COPY for stricter testing.
253
254 Tue Jan 11 18:24:18 2000 Greg J. Badros <gjb@cs.washington.edu>
255
256 * guile-doc-snarf.in: Use new $fullfilename for running
257 guile-func-name-check, and put "$fullfilename" and "$filename" in
258 quotes at uses to make sure re-splitting on whitespace does not
259 occur (so filenames w/ embedded whitespace would work okay, though
260 I sure hope we never have to deal with that! :-) ). Thanks to
261 Mikael for pointing out the source_dir != build_dir was broken.
262
263 Tue Jan 11 17:42:40 2000 Greg J. Badros <gjb@cs.washington.edu>
264
265 * scm_validate.h: Added SCM_NUM2LONG_DEF macro. Make
266 SCM_OUT_OF_RANGE use SCM_MAKINUM, not scm_long2num. Added
267 SCM_COERCE_ROSTRING macro. Added SCM_VALIDATE_NONEMPTYLIST
268 macro. Fix SCM_VALIDATE_STRINGORSUBSTR macro to not use SLOPPY
269 variants.
270
271 * ports.c (scm_port_closed_p): Validate that the arg is a PORT,
272 then return whether it's an open port (was validating that it was
273 an open port -- this was a bug I introduced back in December, but
274 my careful reading of diffs caught it).
275
276 * numbers.c: Recombine the two conditional-compilation paths for
277 all the log* primitives -- they were split based on #ifndef
278 scm_long2num; factored out a SCM_LOGOP_RETURN macro, and fixed
279 some bugs and inconsistencies in the two sets of implementations.
280 (scm_lognot) Fixed *atrocious* re-use of a SCM as an integer!
281
282 * ioext.c: Use SCM_ASSERT_RANGE in a couple places, and
283 SCM_VALIDATE_INUM_COPY once where it should've been used.
284
285 * fluids.c (scm_internal_with_fluids): Use
286 SCM_VALIDATE_LIST_COPYLEN.
287
288 * filesys.c: Use SCM_NUM2LONG instead of SCM_VALIDATE_INUM_COPY;
289 this is questionable as it relaxes type safety, but other changes
290 were useful and all SCM_NUM2LONG's should probably be
291 revisited. Use SCM_OUT_OF_RANGE, SCM_WRONG_TYPE_ARG.
292
293 * evalext.c: line-break change on 1 line.
294
295 * eval.c (nconc2last): Takes a non-empty list as its first
296 argument, not just a list.
297
298 * dynl.c: Use new SCM_COERCE_ROSTRING macro.
299
300 Tue Jan 11 15:44:23 2000 Greg J. Badros <gjb@cs.washington.edu>
301
302 * dynl.c, feature.c, filesys.c, fports.c, list.c, load.c,
303 net_db.c, sort.c, stacks.c, unif.c: Use SCM_WTA, SCM_MISC_ERROR
304 where possible.
305
306 * symbols.c (scm_sysintern0): Fixed the function name in a
307 scm_misc_error invocation.
308
309 * print.c (scm_simple_format): Do not need SCM_COERCE_SUBSTR, and
310 use scm_return_first to ward off latent GC bug that Mikael caught.
311
312 * async.c: Use SCM_VALIDATE_ASYNC_COPY one place where it wasn't
313 used before but should've been.
314
315 2000-01-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
316
317 * snarf.h (SCM_PROC1): Replaced SCM (*) (...) with
318 SCM_FUNC_CAST_ARBITRARY_ARGS.
319
320 Tue Jan 11 13:44:07 2000 Greg J. Badros <gjb@cs.washington.edu>
321
322 * guile-func-name-check.in: Added this script to statically check
323 #define FUNC_NAME, #undef FUNC_NAME in the source.
324
325 * sort.c, posix.c: Fix #undef FUNC_NAME lines to not have trailing
326 redundant comment, semicolon; caught by new guile-func-name-check
327 script.
328
329 * debug.c: Fix mistaken #define FUNC_NAME for scm_make_iloc.
330 Caught by new guile-func-name-check-script.
331
332 * Makefile.am: Added guile-func-name-check to bin_SCRIPTS
333
334 * ramap.c: Fix #if 0'd out code to be syntactically acceptable to
335 guile-func-name-check.
336
337 * guile-doc-snarf.in: Run guile-func-name-check on the file before
338 doing the snarf.
339
340 Tue Jan 11 11:31:10 2000 Greg J. Badros <gjb@cs.washington.edu>
341
342 * fports.c, ports.c, ports.h, strports.c, vports.c: Make write
343 port function take const void*, not void*.
344
345 Tue Jan 11 11:18:07 2000 Greg J. Badros <gjb@cs.washington.edu>
346
347 * scm_validate.h, chars.c, ports.c, print.c, read.c, strings.c,
348 strop.c: Use SCM_VALIDATE_ICHR, SCM_VALIDATE_ICHR_COPY instead of
349 SCM_VALIDATE_CHAR, SCM_VALIDATE_CHAR_COPY. Change made for
350 consistency with the other macros dealing with immediate
351 characters. (Similar to INT -> INUM change a week or so ago).
352
353 Tue Jan 11 10:41:46 2000 Greg J. Badros <gjb@cs.washington.edu>
354
355 * dynl.c, error.c, eval.c, feature.c, filesys.c, fports.c, list.c, load.c,
356 net_db.c, read.c, socket.c: Update error messages to use ~A for
357 %s, ~S for %S to work with new `simple-format' format and be
358 standardized better.
359
360 * print.h, print.c (scm_simple_format): Added `simple-format'
361 primitive. It's the old scm_display_error, with ARGS now a rest
362 parameter, and the destination first instead of last (and a couple
363 new capabilities inspired by `format' -- #t as destination means
364 current-output-port, #f means return the formatted text as a
365 string.
366
367 * gh.h, gh_data.c, ports.h, ports.c: Added some missing const specifications.
368
369 * backtrace.c (scm_display_error_message): Rewrote to use
370 scm_simple_format() procedure.
371
372 * __scm.h: Added commented-out #define of GUILE_DEBUG_FREELIST
373
374 2000-01-09 Marius Vollmer <mvo@zagadka.ping.de>
375
376 Finally applied the libltdl patch from Thomas Tanner, with slight
377 modifications.
378
379 * DYNAMIC-LINKING: Removed because it is obsolete.
380 * dynl.c: Use ANSI prototypes.
381 (sysdep_dynl_link): Use lt_dlopenext instead of lt_dlopen.
382 * scmconfig.h.in: Do not change, as it is automatically generated.
383
384 1999-07-25 Thomas Tanner <tanner@ffii.org>
385
386 * dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted
387 (obsolete)
388 * Makefile.am: likewise, add INCLTDL (libltdl headers) to
389 INCLUDES, set dlpreopened files in LDFLAGS, link libguile
390 against libltdl
391 * dynl.c: use libltdl if DYNAMIC_LINKING is enabled,
392 * guile.c: register preloaded modules
393 * scmconfig.h.in: remove obsolete symbols
394
395 2000-01-09 Gary Houston <ghouston@arglist.com>
396
397 * These changes should make it unnecessary to call tzset from
398 Scheme after modifying the TZ environment variable, even if the
399 system date facilities cache the value.
400 * stime.c (setzone, scm_localtime): added comments.
401 (tzset): don't define a noop tzset macro if HAVE_TZSET not defined.
402 (setzone): don't call tzset.
403 (restorezone): call tzset only if HAVE_TZSET is defined.
404 (scm_tzset): don't define if HAVE_TZSET not defined. Change the
405 doc string to indicate that this procedure isn't likely to do
406 anything useful.
407 (scm_localtime, scm_strftime, scm_mktime): call tzset if
408 LOCALTIME_CACHE is defined.
409
410 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
411
412 * posix.c (scm_sync): Return SCM_UNSPECIFIED.
413
414 2000-01-09 Gary Houston <ghouston@arglist.com>
415
416 * eval.c: define scm_unbound_variable_key ('unbound-variable).
417 scm_lookupcar1: throw an error with key 'unbound-variable instead
418 of 'misc-error when an unbound variable is encountered.
419
420 * filesys.c (scm_mkdir, scm_rmdir, scm_getcwd, scm_select,
421 scm_symlink, scm_readlink, scm_lstat),
422 posix.c (scm_setpgid, scm_setsid, scm_ctermid, scm_tcgetpgrp,
423 scm_tcsetpgrp, scm_uname, scm_setlocale, scm_mknod, scm_nice,
424 scm_sync),
425 simpos.c (scm_system),
426 stime.c (scm_times, scm_strptime):
427 move the HAVE_XXX feature tests out of the procedure bodies.
428 don't use SCM_SYSMISSING.
429 scm_validate.h (SCM_SYSMISSING): removed.
430 error.h, error.c (scm_sysmissing): comment that this is deprecated.
431 see ChangeLog entry for 1999-12-28.
432
433 Sat Jan 8 19:52:04 2000 Greg J. Badros <gjb@cs.washington.edu>
434
435 * scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo.
436
437 Sat Jan 8 17:06:46 2000 Greg J. Badros <gjb@cs.washington.edu>
438
439 * backtrace.c: Fix spelling typo in a comment.
440
441 * snarf.h: Use new SCM_DOCS macro to encapsulate the non SCM_INIT
442 text. Reformatted some of the expansions.
443
444 Fri Jan 7 15:50:46 2000 Greg J. Badros <gjb@cs.washington.edu>
445
446 * scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to
447 report the position of the argument.
448
449 * error.h, error.c (scm_out_of_range_pos): Added this function to
450 take extra "pos" argument, the position number of the errant
451 argument.
452
453 * debug.c: Use SCM_OUT_OF_RANGE instead of scm_out_of_range.
454
455 * snarf.h: Use SCM_HERE and SCM_INIT as names, not SCM_NOTSNARF
456 and SCM_SNARFING. Also put the %%% in the SCM_INIT since Mikael
457 prefers that and I'm reasonably indifferent.
458
459 Fri Jan 7 15:03:32 2000 Greg J. Badros <gjb@cs.washington.edu>
460
461 * snarf.h: Factor out differences between C++ and non-C++ into
462 SCM_FUNC_CAST_ARBITRARY_ARGS macro. Modify all the snarf macro
463 definitions to use SCM_NOTSNARF and SCM_SNARFING macros (like
464 Mikael's macros, below, but changed names and SCM_SNARFING no
465 longer expands to include %%% -- that must appear in the argument
466 so that the token appears at the call-site as a reminder).
467
468 2000-01-07 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
469
470 * snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user
471 snarf macro definitions.
472
473 2000-01-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
474
475 * chars.c (scm_integer_to_char): Use Greg's nice
476 SCM_VALIDATE_INUM_RANGE macro for argument checking for closer
477 adherence to R5RS.
478
479 Thu Jan 6 11:48:49 2000 Greg J. Badros <gjb@cs.washington.edu>
480
481 * *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout.
482
483 Thu Jan 6 11:22:53 2000 Greg J. Badros <gjb@cs.washington.edu>
484
485 * Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1
486 instead of GUILE_PROC.
487
488 Thu Jan 6 11:21:49 2000 Greg J. Badros <gjb@cs.washington.edu>
489
490 * alist.c: Do not report mismatch errors on some uses of `tmp' (do
491 this by using SCM_ARG2 instead of `2' in the SCM_VALIDATE_CONS
492 macro call.
493
494 Thu Jan 6 09:54:33 2000 Dirk Herrmann <dirk@ida.ing.tu-bs.de> --gjb applied
495
496 * scm_validate.h: Remove some redundant NIMP tests.
497
498 * alist.c: minimize scope of the tmp variables, and initialize
499 them when declared. The strange SCM_NIMP tests are replaced by
500 SCM_CONSP tests that more closely reflect the intended semantics.
501 However, we don't get a performance penalty here, because the
502 SCM_CONSP test was performed by the ALISTCELL test anyway. * The
503 extremely ugly use of ASRTGO macros was removed: The calls to
504 ASRTGO were not encapsulated by "#ifndef SCM_RECKLESS", but got a
505 label parameter that only exists when SCM_RECKLESS is not defined.
506 This works, because ASRTGO itself is defined in a way that it only
507 makes use of the label parameter if SCM_RECKLESS is not defined
508 (shudder!). Does guile make at all use of the possibility to
509 define SCM_RECKLESS? * Codesize is likely to be reduced, since
510 instead of two calls to SCM_ASSERT performed by the ALISTCELL test
511 we now only get one test.
512
513 * list.c: Use SCM_NNULLP, not SCM_NIMP as appropriate. Also use
514 SCM_NULLP instead of SCM_IMP. Drop use of "register" keyword on
515 some variables in `list?'. Fix `reverse' and `reverse!'
516 primitives to handle improper lists better.
517
518 Wed Jan 5 11:24:53 2000 Greg J. Badros <gjb@cs.washington.edu>
519
520 * *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_*
521 macros and SCM_DEFINE macros to match GNU coding standards.
522
523 Wed Jan 5 11:04:24 2000 Greg J. Badros <gjb@cs.washington.edu>
524
525 * *.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.
526
527 Wed Jan 5 10:59:06 2000 Greg J. Badros <gjb@cs.washington.edu>
528
529 * *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for
530 better consistency with the names of other SCM_VALIDATE_ macros
531 and better conformance to guile naming policy.
532
533 Wed Jan 5 10:50:39 2000 Greg J. Badros <gjb@cs.washington.edu>
534
535 * ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a
536 SCM_VALIDATE instead of 1 to avoid a check on the argument (since
537 it's not the actual name of the formal).
538
539 * guile-snarf.awk.in: Do argument/number mismatch checking and
540 print warnings in an Emacs compile-mode parseable format.
541
542 * struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/
543 SCM_OUTOFRANGE as 3rd argument.
544
545 * random.c: Fix argument/number mismatch (that I introduced :-( ).
546
547 * __scm.h: Do not #define SCM_ARG* when snarfing;
548 lets us distinguish between 1 and SCM_ARG1 when snarfing as only
549 the former (using the number) requires the argument to match the
550 formal in the current argument snarfing check.
551
552 * snarf.h: Give new definition of SCM_ASSERT when in
553 snarfing mode to output a lexically-identifiable sequence that the
554 guile-snarf.awk script uses to verify argument/position matching.
555
556 * ramap.c: Remove extraneous #undef FUNC_NAME.
557
558 Wed Jan 5 08:36:38 2000 Greg J. Badros <gjb@cs.washington.edu>
559
560 * guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the
561 current version of the same functionality; it writes the .x output
562 to stdout instead of directly into the file.
563
564 Wed Jan 5 08:15:04 2000 Greg J. Badros <gjb@cs.washington.edu>
565
566 * unif.c, symbols.c, strings.c, stacks.c, random.c, print.c,
567 posix.c: Eliminated a bunch of SCM_NIMP(..)s that are now
568 redundant with the safer macros. Patch from Dirk Hermann applied
569 by hand. Thanks Dirk!
570
571 * scm_validate.h: Added SCM_VALIDATE_VECTOR_OR_DVECTOR for some
572 uses in random.c.
573
574 * ramap.c: whitespace change.
575
576 Tue Jan 4 14:21:35 2000 Greg J. Badros <gjb@cs.washington.edu>
577
578 * options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP
579 removals from Dirk Hermann.
580
581 * alist.c: Rename formals to match the parameter names in the
582 documentation, updates to documentation. Thanks Dirk Hermann!
583
584 2000-01-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
585
586 * eval.c (SCM_CEVAL): Reverse order of
587 scm_stack_checking_enabled_p and SCM_STACK_OVERFLOW_P
588 (Thanks to Brad Knotwell.)
589
590 Mon Jan 3 08:30:02 2000 Greg Harvey <Greg.Harvey@thezone.net> (applied --01/03/00 gjb)
591
592 * gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly
593 allocated cell.
594
595 * pairs.h: Added a comment about the need for the SCM_SETCAR in
596 SCM_NEWCELL macro.
597
598 Mon Jan 3 08:25:19 2000 Greg J. Badros <gjb@cs.washington.edu>
599
600 * dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More
601 SCM_NIMP tests that were redundant are now eliminated. Patches
602 from Dirk Hermann applied by hand.
603
604 The ChangeLog continues in the file: "ChangeLog-1996-1999"