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