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