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