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