* scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo.
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
5ac36451
GB
1Fri Jan 7 15:50:46 2000 Greg J. Badros <gjb@cs.washington.edu>
2
3 * scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to
4 report the position of the argument.
5
6 * error.h, error.c (scm_out_of_range_pos): Added this function to
7 take extra "pos" argument, the position number of the errant
8 argument.
9
10 * debug.c: Use SCM_OUT_OF_RANGE instead of scm_out_of_range.
11
12 * snarf.h: Use SCM_HERE and SCM_INIT as names, not SCM_NOTSNARF
13 and SCM_SNARFING. Also put the %%% in the SCM_INIT since Mikael
14 prefers that and I'm reasonably indifferent.
15
16Fri Jan 7 15:03:32 2000 Greg J. Badros <gjb@cs.washington.edu>
17
18 * snarf.h: Factor out differences between C++ and non-C++ into
19 SCM_FUNC_CAST_ARBITRARY_ARGS macro. Modify all the snarf macro
20 definitions to use SCM_NOTSNARF and SCM_SNARFING macros (like
21 Mikael's macros, below, but changed names and SCM_SNARFING no
22 longer expands to include %%% -- that must appear in the argument
23 so that the token appears at the call-site as a reminder).
24
088bb1d4
MD
252000-01-07 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
26
27 * snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user
28 snarf macro definitions.
29
636480e6
MD
302000-01-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
31
32 * chars.c (scm_integer_to_char): Use Greg's nice
33 SCM_VALIDATE_INUM_RANGE macro for argument checking for closer
34 adherence to R5RS.
35
7c5628e2
GB
36Thu Jan 6 11:48:49 2000 Greg J. Badros <gjb@cs.washington.edu>
37
38 * *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout.
39
2cc0f8cb
GB
40Thu Jan 6 11:22:53 2000 Greg J. Badros <gjb@cs.washington.edu>
41
42 * Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1
43 instead of GUILE_PROC.
44
45Thu Jan 6 11:21:49 2000 Greg J. Badros <gjb@cs.washington.edu>
46
47 * alist.c: Do not report mismatch errors on some uses of `tmp' (do
48 this by using SCM_ARG2 instead of `2' in the SCM_VALIDATE_CONS
49 macro call.
50
9179dcdd
GB
51Thu Jan 6 09:54:33 2000 Dirk Herrmann <dirk@ida.ing.tu-bs.de> --gjb applied
52
53 * scm_validate.h: Remove some redundant NIMP tests.
54
55 * alist.c: minimize scope of the tmp variables, and initialize
56 them when declared. The strange SCM_NIMP tests are replaced by
57 SCM_CONSP tests that more closely reflect the intended semantics.
58 However, we don't get a performance penalty here, because the
59 SCM_CONSP test was performed by the ALISTCELL test anyway. * The
60 extremely ugly use of ASRTGO macros was removed: The calls to
61 ASRTGO were not encapsulated by "#ifndef SCM_RECKLESS", but got a
62 label parameter that only exists when SCM_RECKLESS is not defined.
63 This works, because ASRTGO itself is defined in a way that it only
64 makes use of the label parameter if SCM_RECKLESS is not defined
65 (shudder!). Does guile make at all use of the possibility to
66 define SCM_RECKLESS? * Codesize is likely to be reduced, since
67 instead of two calls to SCM_ASSERT performed by the ALISTCELL test
68 we now only get one test.
69
70 * list.c: Use SCM_NNULLP, not SCM_NIMP as appropriate. Also use
71 SCM_NULLP instead of SCM_IMP. Drop use of "register" keyword on
72 some variables in `list?'. Fix `reverse' and `reverse!'
73 primitives to handle improper lists better.
74
15b33280
GB
75Wed Jan 5 11:24:53 2000 Greg J. Badros <gjb@cs.washington.edu>
76
77 * *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_*
78 macros and SCM_DEFINE macros to match GNU coding standards.
79
ca8cd130
GB
80Wed Jan 5 11:04:24 2000 Greg J. Badros <gjb@cs.washington.edu>
81
82 * *.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.
83
fb764465
GB
84Wed Jan 5 10:59:06 2000 Greg J. Badros <gjb@cs.washington.edu>
85
86 * *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for
87 better consistency with the names of other SCM_VALIDATE_ macros
88 and better conformance to guile naming policy.
89
90Wed Jan 5 10:50:39 2000 Greg J. Badros <gjb@cs.washington.edu>
91
92 * ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a
93 SCM_VALIDATE instead of 1 to avoid a check on the argument (since
94 it's not the actual name of the formal).
1e484823
GB
95
96 * guile-snarf.awk.in: Do argument/number mismatch checking and
97 print warnings in an Emacs compile-mode parseable format.
98
99 * struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/
100 SCM_OUTOFRANGE as 3rd argument.
101
102 * random.c: Fix argument/number mismatch (that I introduced :-( ).
103
104 * __scm.h: Do not #define SCM_ARG* when snarfing;
105 lets us distinguish between 1 and SCM_ARG1 when snarfing as only
106 the former (using the number) requires the argument to match the
107 formal in the current argument snarfing check.
108
109 * snarf.h: Give new definition of SCM_ASSERT when in
110 snarfing mode to output a lexically-identifiable sequence that the
111 guile-snarf.awk script uses to verify argument/position matching.
112
113 * ramap.c: Remove extraneous #undef FUNC_NAME.
114
53fc4636
GB
115Wed Jan 5 08:36:38 2000 Greg J. Badros <gjb@cs.washington.edu>
116
117 * guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the
118 current version of the same functionality; it writes the .x output
119 to stdout instead of directly into the file.
120
121Wed Jan 5 08:15:04 2000 Greg J. Badros <gjb@cs.washington.edu>
122
123 * unif.c, symbols.c, strings.c, stacks.c, random.c, print.c,
124 posix.c: Eliminated a bunch of SCM_NIMP(..)s that are now
125 redundant with the safer macros. Patch from Dirk Hermann applied
126 by hand. Thanks Dirk!
127
128 * scm_validate.h: Added SCM_VALIDATE_VECTOR_OR_DVECTOR for some
129 uses in random.c.
130
131 * ramap.c: whitespace change.
132
3b5345d9
GB
133Tue Jan 4 14:21:35 2000 Greg J. Badros <gjb@cs.washington.edu>
134
135 * options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP
136 removals from Dirk Hermann.
137
138 * alist.c: Rename formals to match the parameter names in the
139 documentation, updates to documentation. Thanks Dirk Hermann!
140
169aec65
MD
1412000-01-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
142
db62436e
MD
143 * eval.c (SCM_CEVAL): Reverse order of
144 scm_stack_checking_enabled_p and SCM_STACK_OVERFLOW_P
145 (Thanks to Brad Knotwell.)
169aec65 146
da43d822
GB
147Mon Jan 3 08:30:02 2000 Greg Harvey <Greg.Harvey@thezone.net> (applied --01/03/00 gjb)
148
149 * gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly
150 allocated cell.
151
152 * pairs.h: Added a comment about the need for the SCM_SETCAR in
153 SCM_NEWCELL macro.
154
155Mon Jan 3 08:25:19 2000 Greg J. Badros <gjb@cs.washington.edu>
156
157 * dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More
158 SCM_NIMP tests that were redundant are now eliminated. Patches
159 from Dirk Hermann applied by hand.
160
339999c7 161The ChangeLog continues in the file: "ChangeLog-1996-1999"