Commit | Line | Data |
---|---|---|
fdc7ea2d MD |
1 | 2000-03-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
2 | ||
3 | * guile-doc-snarf.in: Don't use absolute path for `sed'. (Note | |
4 | that we can't use autoconf for this. Autoconf itself relies on | |
26fba922 | 5 | the existence of `sed' somewhere on your path.) (Thanks to Dirk |
fdc7ea2d MD |
6 | Herrman.) |
7 | ||
68933ba3 MD |
8 | 2000-03-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
9 | ||
b44a555a MD |
10 | * Makefile.am (libguile_la_SOURCES): Moved iselect.c here from |
11 | EXTRA_libguile_la_SOURCES. | |
12 | ||
13 | * iselect.h: Always declare scm_internal_select. | |
14 | ||
15 | * iselect.c (scm_internal_select): Added SCM_ASYNC_TICK at the | |
16 | end. Also let scm_internal_select be a real function also when | |
17 | not using threads. | |
18 | ||
68933ba3 MD |
19 | * __scm.h (SCM_TICK): Oops! Forgot to put SCM_ASYNC_TICK here... |
20 | ||
c7f6ea11 MD |
21 | 2000-03-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
22 | ||
23 | * __scm.h (SCM_ALLOW_INTS, SCM_REALLOW_INTS): Removed call to | |
24 | SCM_ASYNC_TICK. (This is a preparation for POSIX threads support, | |
25 | and kind of an experiment: Will this cause problems?) | |
26 | ||
62dbc244 GB |
27 | Sun Mar 12 13:26:30 2000 Greg J. Badros <gjb@cs.washington.edu> |
28 | ||
29 | * Makefile.am: Added *.doc to DISTCLEANFILES. | |
30 | ||
4f2f645d GH |
31 | 2000-03-12 Gary Houston <ghouston@arglist.com> |
32 | ||
33 | * fports.c (scm_fdes_to_port): call fcntl F_GETFL to test that | |
34 | the fdes is valid before doing anything else. check that | |
35 | the file descriptor supports the modes required. | |
36 | (scm_fport_buffer_add): don't throw an error if fstat doesn't | |
37 | work: just use the default buffer size. | |
38 | ||
39 | * throw.c: change an outdated comment about scm_internal_catch | |
40 | BODY: it doesn't take a jumpbuf arg. | |
41 | ||
42 | * init.c (scm_standard_stream_to_port): install a handler in case | |
43 | scm_fdes_to_port throws an error. don't check here whether the | |
44 | file descriptor is valid, since scm_fdes_to_port will do that. | |
45 | set the revealed count depending on whether the port got the | |
46 | standard file descriptor. | |
47 | (stream_body_data): new type. | |
48 | (stream_body, stream_handler): new procs. | |
49 | ||
7f782a0a MD |
50 | 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
51 | ||
67673f75 MD |
52 | * stacks.c, stacks.h, struct.c, tags.h, unif.c (scm_bits_t): |
53 | Renamed from SCMWORD. | |
54 | ||
55 | * tags.h (SCM_NCELLP): Removed (SCMWORD). | |
56 | ||
f1267706 | 57 | * arbiters.c (SCM_ARB_LOCKED): Use SCM_UNPACK_CAR. |
67673f75 | 58 | |
74a426ae MD |
59 | * async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h, |
60 | feature.h, filesys.h, fluids.h, fports.c, fports.h, gc.c, gc.h, | |
61 | hash.c, keywords.h, macros.c, numbers.c, numbers.h, objects.c, | |
62 | objects.h, options.c, pairs.h, ports.c, ports.h, print.c, | |
63 | procs.h, ramap.c, read.c, smob.c, smob.h, srcprop.h, stacks.c, | |
64 | stacks.h, strports.c, struct.c, struct.h, tag.c, tags.h, | |
65 | throw.c, unif.c, unif.h, variable.h, vectors.h, weaks.c, | |
f1267706 | 66 | weaks.h (SCM_PACK, SCM_UNPACK, SCM_UNPACK_CAR): Renamed from |
74a426ae MD |
67 | SCM_ASSCM, SCM_ASWORD, SCM_CARW). |
68 | ||
7f782a0a MD |
69 | * numbers.h (SCM_SRS, SCM_INUM): Corrected SCM_ASSCM/ASWORD fixes. |
70 | ||
71 | * alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c, | |
72 | tags.h: Fixed copyright notices. | |
73 | ||
74 | * struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes. | |
0cd87628 | 75 | |
7f782a0a MD |
76 | 2000-03-12 Marius Vollmer <mvo@zagadka.ping.de> |
77 | ||
0cd87628 MV |
78 | * init.c (scm_standard_stream_to_port): Check whether the file |
79 | descriptor is valid and substitute "/dev/null" when not. | |
7f782a0a | 80 | |
f3b5e185 MD |
81 | 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
82 | ||
83 | * coop-defs.h (struct timespec): Conditionally defined. | |
84 | ||
85 | * coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT | |
86 | instead of ETIME. | |
38eca29b MD |
87 | |
88 | * readline.c (match_paren): Bugfix: First arg to select is not | |
89 | number of descriptors but the number of the highest descriptor + | |
90 | 1. | |
91 | ||
92 | This is a preliminary attempt at a cleanup of the threads support | |
93 | code. It moves things to better places, makes arguments more | |
94 | consistent with the POSIX API (which is used in GNOME's glib), and | |
95 | adds new functionality. | |
96 | ||
97 | * readline.c (scm_init_readline): Added new arg to scm_init_mutex. | |
98 | ||
99 | * coop-defs.h (scm_mutex_trylock): New macro: alias for | |
100 | coop_mutex_trylock. | |
101 | (scm_cond_init): Changed definition to | |
102 | coop_new_condition_variable_init. | |
38eca29b MD |
103 | |
104 | * coop.c: #include <errno.h> | |
105 | (coop_timeout_qinsert): Moved here from iselect.c | |
106 | (coop_new_mutex_init, coop_new_condition_variable_init): New | |
107 | functions. The strange names are temporary. Use scm_mutex_init | |
108 | and scm_cond_init instead. | |
109 | (coop_mutex_trylock): New function. Uses errno.h:EBUSY. errno.h | |
110 | is ANSI C, but should we check for individual error codes in | |
111 | configure.in? | |
112 | (coop_condition_variable_timed_wait_mutex): New function. | |
113 | (coop_key_create, coop_setspecific, coop_getspecific, | |
7f782a0a | 114 | coop_key_delete): New functions. |
38eca29b MD |
115 | |
116 | * iselect.c (coop_timout_qinsert): Moved to coop.c | |
117 | ||
32e1616c MD |
118 | 2000-03-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
119 | ||
120 | * pairs.h (SCM_SETAND_CAR, SCM_SETAND_CDR, SCM_SETOR_CAR, | |
121 | SCM_SETOR_CDR): Corrected SCM_ASSCM/WORD fixes. | |
122 | ||
123 | * tags.h (SCM_VOIDP_TEST): Renamed from VOIDP_TEST. | |
124 | Layout cleanups. | |
125 | ||
126 | * objects.h (SCM_CLASS_FLAGS, SCM_OBJ_CLASS_FLAGS, | |
127 | SCM_SET_CLASS_INSTANCE_SIZE), struct.h (SCM_STRUCT_VTABLE_DATA), | |
128 | proc.h (SCM_CLOSCAR): SCM_ASSCM/WORD fixes. | |
129 | ||
130 | * eval.c (scm_lookupcar1): Inserted SCM_ASWORD in expressions | |
131 | dealing with ilocs. | |
132 | ||
d5c39069 GB |
133 | 2000-03-11 Dale P. Smith <dpsm@en.com>, applied by Greg J. Badros, <gjb@cs.washington.edu> |
134 | ||
135 | * numbers.c (scm_copy_big_dec, scm_copy_smaller, scm_big_ior, | |
136 | scm_big_xor, scm_big_and, scm_big_test): Added new lowlevel bignum | |
137 | logical functions from SCM. | |
138 | ||
139 | (logand, logior, logxor, logtest, logbit?): Extended scheme | |
140 | logical functions to use bignums from SCM. | |
141 | ||
142 | (lognot): Removed call to `SCM_VALIDATE_INUM' that prevented | |
143 | lognot from using bignums. | |
144 | ||
3e892913 GB |
145 | Thu Mar 9 11:33:25 2000 Greg J. Badros <gjb@cs.washington.edu> |
146 | ||
147 | * vectors.h (SCM_VELTS_AS_STACKITEMS): Added this macro to help in | |
148 | eliminating some warnings. | |
149 | ||
150 | * unif.c, strports.c, print.c, options.c: Fix some warnings on | |
151 | mis-use of SCM/long | |
152 | ||
153 | * gc.c, gc.h: Added scm_return_first_int(), and added comment re: | |
154 | what the scm_return_first* functions do. | |
155 | ||
7ac030d6 GB |
156 | 2000-03-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>, applied by Greg J. Badros, <gjb@cs.washington.edu> |
157 | ||
158 | * libguile/*.[ch]: make a distinction between SCM as a generic | |
159 | name for a Scheme object (now a void*), and SCM as 32 bit word for | |
160 | storing tags and immediates (now a long int). Introduced | |
161 | SCM_ASWORD and SCM_ASSCM for conversion. Fixed various dubious | |
162 | code in the process: arbiter.c (use macros), unif.c (scm_array_p), | |
163 | ||
f635d2d4 GB |
164 | Wed Mar 8 10:15:59 2000 Greg J. Badros <gjb@cs.washington.edu> |
165 | ||
166 | * numbers.c: Use SCM_VALIDATE_LONG_COPY, and longs, not ints, in | |
167 | various logXXX primitives. Thanks Eric Moore! | |
168 | ||
9eaa7fb6 GB |
169 | Tue Mar 7 08:05:22 2000 Greg J. Badros <gjb@cs.washington.edu> |
170 | ||
171 | * run-test, remaining-docs-needed: Added these scripts. The | |
172 | second one is only temporary until the docstring additions are | |
173 | complete. run-test may best live on, but is here mostly for | |
174 | convenience and awareness for now. | |
175 | ||
176 | * hash.c: Docs, minor cleanup patch from Dirk Herrman. | |
177 | ||
49673698 GB |
178 | Thu Mar 2 16:06:58 2000 Greg J. Badros <gjb@cs.washington.edu> |
179 | ||
180 | * error.h, error.c: Added `scm_wrong_type_arg_msg' to support | |
181 | displaying the expected type. Use SCM_LISTn in a couple places | |
182 | instead of scm_cons-ing by hand. | |
183 | ||
184 | * __scm.h: Added SCM_ASSERT_TYPE macro. | |
185 | ||
186 | * validate.h, scm_validate.h: Added the former, as a renamed | |
187 | version of the latter with SCM_ASSERT_TYPE used in | |
188 | SCM_MAKE_VALIDATE (instead of just SCM_ASSERT) | |
189 | ||
190 | * Makefile.am: Rename scm_validate.h to validate.h. | |
191 | ||
192 | * *.c, *.h: Include validate.h, not scm_validate.h (old name's | |
193 | prefix was superfluous). | |
194 | ||
417bdef8 GB |
195 | Thu Mar 2 15:33:12 2000 Greg J. Badros <gjb@cs.washington.edu> |
196 | ||
197 | * hashtab.c: Improved documentation for lots of functions. Added | |
198 | handwritten docs for `hash-fold'. | |
199 | ||
200 | Thu Mar 2 15:13:25 2000 Greg J. Badros <gjb@cs.washington.edu> | |
201 | ||
202 | * list.c: Added hand-written docs for `del{q,v,ete}1!'. | |
203 | ||
26a760c6 GB |
204 | Thu Mar 2 12:38:30 2000 Greg J. Badros <gjb@cs.washington.edu> |
205 | ||
206 | * list.c: Moved append docs to append! Thanks Dirk Hermann. Also, | |
207 | added append docs from R4RS. | |
208 | ||
209 | * strings.c: Docstring typo fix, + eliminate unneeded IMP tests. | |
210 | Thanks Dirk Hermann! | |
211 | ||
212 | * chars.h: Provide SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR and | |
213 | deprecate SCM_ICHRP, SCM_ICHR, SCM_MAKICHR. Thanks Dirk Hermann! | |
214 | ||
215 | * *.h, *.c: Use SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR throughout. | |
216 | Drop use of SCM_P for function prototypes... assume an ANSI C | |
217 | compiler. Thanks Dirk Hermann! | |
218 | ||
898942f8 GB |
219 | Sat Feb 19 12:20:12 2000 Greg J. Badros <gjb@cs.washington.edu> |
220 | ||
221 | * ports.c: Made `set-port-column!' and `set-port-line!' each | |
222 | return SCM_UNSPECIFIED instead of a (not-scheme-object) integer | |
223 | that caused a seg fault. Also fixed `set-port-column!'s | |
224 | docstring. Thanks Han-Wen Nienhuys for finding the bug! | |
225 | ||
84a3df2c GB |
226 | Sun Feb 13 19:11:42 2000 Greg J. Badros <gjb@cs.washington.edu> |
227 | ||
228 | * arbiters.c, eq.c, gc.c, guardians.c, list.c, ports.c, print.c, | |
229 | regex-posix.c, scmsigs.c, stime.c, strings.c, variable.c, stime.c, | |
230 | strings.c, variable.c: Added lots of documentation, cleaned up | |
231 | some existing documentation. Occasionally changed formal params | |
232 | to match docs. Also folded an #ifdef into the inners of a | |
233 | primitive instead of having two copies of the primitive | |
234 | (`get-internal-real-time', from stime.c) | |
235 | ||
236 | Sun Feb 13 18:12:19 2000 Greg J. Badros <gjb@cs.washington.edu> | |
237 | ||
238 | * ports.c: Added docs for primitives missing them. Written by | |
239 | hand. | |
240 | ||
3f557de6 GB |
241 | Sun Feb 13 09:40:36 2000 Greg J. Badros <gjb@cs.washington.edu> |
242 | ||
243 | * guile-doc-snarf.in: Use ${AWK} -f guile-func-name-check, not | |
244 | just execing guile-func-name-check. Thanks Michael Livshin! | |
245 | ||
ddcccdb3 GB |
246 | Thu Feb 10 11:43:23 2000 Greg J. Badros <gjb@cs.washington.edu> |
247 | ||
248 | * guile-snarf.awk.in: Tweak to work with Sun/HP awk, removed some | |
249 | dead code. Patch from Michael Livshin. | |
250 | ||
251 | * guile-doc-snarf.in: Tweak to work with Sun/HP sh. Patch from | |
252 | Michael Livshin. | |
253 | ||
720e8692 GH |
254 | 2000-02-09 Gary Houston <ghouston@arglist.com> |
255 | ||
256 | * init.c (scm_init_standard_ports): when stdout is a tty, make the | |
257 | current-output-port unbuffered by default. this is less confusing | |
258 | for interactive use. it was line-buffered because of a | |
259 | performance problem with unbuffered ports, but I think it will be | |
260 | OK now. | |
261 | ||
43ff3170 GH |
262 | 2000-02-08 Gary Houston <ghouston@arglist.com> |
263 | ||
264 | * __scm.h: don't define long_long or ulong_long if HAVE_LONG_LONGS | |
265 | is not defined. | |
266 | ||
267 | * stime.c (scm_localtime, scm_mktime): if neither HAVE_TM_ZONE nor | |
268 | HAVE_TZNAME are defined, use an empty string instead of giving two | |
269 | spurious compile-time errors. | |
270 | ||
4ba47302 GB |
271 | Tue Feb 8 13:57:46 2000 Greg J. Badros <gjb@cs.washington.edu> |
272 | ||
273 | * ports.c: Doc patches from Richard Kim. Pasted from MIT Scheme. | |
274 | Thanks Richard! | |
275 | ||
09a617f7 GB |
276 | Mon Feb 7 09:07:31 2000 Greg J. Badros <gjb@cs.washington.edu> |
277 | ||
278 | * macros.c: Doc patches from Richard Kim. Pasted from scm.texi. | |
279 | ||
9dbcf010 GB |
280 | Sun Feb 6 20:26:21 2000 Greg J. Badros <gjb@cs.washington.edu> |
281 | ||
282 | * pairs.c: Doc patches from Richard Kim. Pasted from MIT Scheme | |
283 | (which is GNU GPL'd). | |
284 | ||
bd9e24b3 GH |
285 | 2000-01-31 Gary Houston <ghouston@arglist.com> |
286 | ||
287 | * strings.h: don't use SCM_P. don't include <string.h>. | |
288 | * error.c, gh_data.c, ports.c, script.c, strop.c: include <string.h>. | |
289 | ||
290 | * strings.c (scm_string_ref): make the 2nd argument compulsory. | |
291 | previously it defaulted to zero for no good reason that I can see. | |
292 | use a local variable for SCM_INUM (k). replace | |
293 | SCM_VALIDATE_INUM_DEF with SCM_VALIDATE_INUM_COPY. | |
294 | ||
295 | (scm_makfromstr): cosmetic changes. | |
296 | ||
297 | (scm_string): Accept only chars in the list, not strings, for | |
298 | conformance to R5RS (particularly for list->string, which is | |
299 | supposed to be the inverse of string->list.) remove | |
300 | SCM_DEFER_INTS/SCM_ALLOW_INTS, which is unnecessary since | |
301 | scm_makstr handles the cell allocation. when reporting wrong-type | |
302 | arg, don't report the position as 1. | |
303 | ||
304 | * posix.c (scm_init_posix): intern PIPE_BUF if it's defined. | |
305 | ||
28d77376 GH |
306 | 2000-01-29 Gary Houston <ghouston@arglist.com> |
307 | ||
ae1b098b GH |
308 | * posix.c (scm_pipe): rewrote the docstring. |
309 | ||
28d77376 GH |
310 | * filesys.c (scm_select, retrieve_select_type, get_element, |
311 | fill_select_type, set_element): modified so that Scheme | |
312 | "select" tests port buffers for the ability to provide input | |
313 | or accept output. Previously only the underlying file descriptors | |
314 | were checked. Rewrote the docstring. | |
315 | ||
7f1497ce GB |
316 | Thu Jan 27 10:14:25 2000 Greg J. Badros <gjb@cs.washington.edu> |
317 | ||
318 | * vectors.c, symbols.c, strorder.c: Documentation cut and pasted | |
319 | from Gregg Reynolds. Thanks Gregg! | |
320 | ||
2288ff9b GB |
321 | Thu Jan 27 09:59:38 2000 Greg J. Badros <gjb@cs.washington.edu> |
322 | ||
323 | * strop.c (scm_i_index): Obfuscated commented-out SCM_DEFINE by | |
324 | adding "x" prefix to the line so that guile-func-name-check | |
325 | doesn't complain unnecessarily. | |
326 | ||
349af6dd GB |
327 | Wed Jan 26 17:33:52 2000 Greg J. Badros <gjb@cs.washington.edu> |
328 | ||
329 | * throw.c: Factor out an #ifdef/#else/#endif choice more finely | |
330 | for maintainability. | |
331 | ||
332 | * strop.c: Documentation added by Gregg A. Reynolds. Pasted in | |
333 | from qdocs, RnRs. | |
334 | ||
a28eb127 GB |
335 | Wed Jan 26 10:02:11 2000 Greg J. Badros <gjb@cs.washington.edu> |
336 | ||
337 | * tag.c: Added doc for `tag', but mark as deprecated since Mikael | |
338 | suggests removing tag.c altogether (and using a new `class-of' | |
339 | instead). | |
340 | ||
341 | * strings.c: Added documentation from Gregg A. Reynolds. Edited | |
342 | a bit by me to use FOO instead of @var{foo} and to have the | |
343 | summary come before preconditions on input. Also dropped trailing | |
344 | (rnrs) note. | |
345 | ||
346 | * gsubr.c: Do not use SCM_DEFINE for `gsubr-apply'. Register the | |
347 | function with scm_make_subr_opt w/ last arg of 0 so it is not | |
348 | visible at the Scheme level. Mikael says that this is the right | |
349 | thing because the first arg to the proc is the guts of a compiled | |
350 | closure and shouldn't be exposed to the Scheme level. | |
351 | ||
ac2259fc GB |
352 | Tue Jan 25 17:15:47 2000 Greg J. Badros <gjb@cs.washington.edu> |
353 | ||
354 | * sort.c: typo in comment fixed. | |
355 | ||
356 | * keywords.c: Added documentation. | |
357 | ||
358 | * guardians.c: Added documentation (could be better). | |
359 | ||
360 | * gc.c: Added docs for gc-set-debug-check-freelist. | |
361 | ||
362 | * eq.c: Added docs for eq?, eqv? equal? abridged from R4RS. | |
363 | ||
364 | * boolean.c: Added docs for `not', `boolean?' (by hand). | |
365 | ||
d928e0b4 GB |
366 | Tue Jan 25 13:28:56 2000 Greg J. Badros <gjb@cs.washington.edu> |
367 | ||
368 | * random.c: Added documentation, from SLIB page: | |
369 | http://angela.ctrl-c.liu.se/~calle/scheme/slib_toc.html | |
370 | ||
371 | Mon Jan 24 17:50:20 2000 Greg J. Badros <gjb@cs.washington.edu> | |
372 | ||
373 | * variable.c, version.c: Added documentation, written by hand | |
374 | since I could not find anything already written that was | |
375 | relevant. | |
376 | ||
d831b039 GH |
377 | 2000-01-23 Gary Houston <ghouston@arglist.com> |
378 | ||
379 | * filesys.c (scm_chown): omit port/fdes support if HAVE_FCHOWN is | |
380 | not defined (thanks to Richard Y. Kim). | |
381 | ||
88ec97ad GB |
382 | Thu Jan 20 13:00:38 2000 Greg J. Badros <gjb@cs.washington.edu> |
383 | ||
384 | * Makefile.in: Removed, this is auto-generated. | |
385 | ||
078e9092 GB |
386 | Thu Jan 20 11:33:47 2000 Dirk Hermann <dirk@ida.ing.tu-bs.de> --applied 01/20/00 gjb |
387 | ||
388 | * list.c: Put some variable initialization code at the point of | |
389 | declaration; Added a comment for list*; Formatting changes. | |
390 | ||
391 | * load.c: use SCM_NNULLP to make sure the end of a list is not | |
392 | reached yet. | |
393 | ||
e7a96050 MD |
394 | 2000-01-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
395 | ||
a177af34 MD |
396 | * backtrace.c (scm_display_error_message): Bugfix: Don't use |
397 | result of scm_list_p as C boolean. | |
398 | (scm_display_error_message, scm_set_print_params_x): Use new | |
399 | validation macros. (Thanks to Dirk Herrmann.) | |
400 | ||
d06bcb02 MD |
401 | * net_db.c (scm_resolv_error): Cast result from hstrerror. |
402 | ||
403 | * strports.c (st_end_input): Inserted parenthesis to get operator | |
404 | grouping correct. | |
405 | ||
406 | * list.h (scm_init_list): Removed SCM_P around prototypes. | |
407 | ||
408 | * fports.c, list.c, numbers.c, ports.c, stime.c, symbols.c, | |
409 | filesys.c, posix.c: Converted docstrings to ANSI C format and | |
e7a96050 MD |
410 | escaped " occurring inside string literals. |
411 | ||
682eefe9 MD |
412 | Tue Jan 18 13:21:08 2000 Mikael Djurfeldt <mdj@r11n07-s.pdc.kth.se> |
413 | ||
414 | * posix.c (scm_mknod): Escape " occuring inside docstring. | |
415 | ||
56cfe22b MD |
416 | 2000-01-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
417 | ||
418 | * alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c, | |
419 | evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c, | |
420 | keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c, | |
421 | objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c, | |
422 | ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c, | |
423 | stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c, | |
424 | symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c, | |
425 | weaks.c: Converted docstrings to ANSI C format. | |
426 | ||
427 | * filesys.c (scm_chmod), simpos.c (scm_system), version | |
428 | (scm_version), vports (scm_make_soft_port): Escape " occuring | |
429 | inside docstring. | |
430 | ||
fcb1720f GB |
431 | Mon Jan 17 11:41:22 2000 Greg J. Badros <gjb@cs.washington.edu> |
432 | ||
433 | * scm_validate.h: Added SCM_VALIDATE_ULONG_COPY, | |
434 | SCM_VALIDATE_LONG_COPY | |
435 | ||
436 | * numbers.c: Use SCM_VALIDATE_ULONG_COPY, instead of | |
437 | SCM_VALIDATE_INUM_COPY to let bigger numbers be used. Rename a | |
438 | couple of formal arguments (and fix their uses) to make arguments | |
439 | match the documentation. | |
440 | ||
b9af3d0e MS |
441 | 2000-01-14 <mstachow@alum.mit.edu> |
442 | ||
443 | * Makefile.am: Augment path when running guile-doc-snarf so | |
444 | guile-func-name-check is found. | |
445 | ||
153511a7 GB |
446 | Fri Jan 14 09:34:55 2000 Greg J. Badros <gjb@cs.washington.edu> |
447 | ||
448 | * scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use | |
449 | def, not SCM_MAKINUM(def); thanks Janis Bzerins! | |
450 | ||
59d5245f GB |
451 | Wed Jan 12 00:06:53 2000 Greg J. Badros <gjb@cs.washington.edu> |
452 | ||
453 | * net_db.c (s_scm_inet_makeaddr): Use SCM_NUM2ULONG since that's | |
454 | the way guile-1.3.4 worked, but #if 0 out the version using | |
455 | SCM_VALIDATE_INUM_COPY for stricter testing. | |
456 | ||
95aec69f GB |
457 | Tue Jan 11 18:24:18 2000 Greg J. Badros <gjb@cs.washington.edu> |
458 | ||
459 | * guile-doc-snarf.in: Use new $fullfilename for running | |
460 | guile-func-name-check, and put "$fullfilename" and "$filename" in | |
461 | quotes at uses to make sure re-splitting on whitespace does not | |
462 | occur (so filenames w/ embedded whitespace would work okay, though | |
463 | I sure hope we never have to deal with that! :-) ). Thanks to | |
464 | Mikael for pointing out the source_dir != build_dir was broken. | |
465 | ||
b7ac2837 GB |
466 | Tue Jan 11 17:42:40 2000 Greg J. Badros <gjb@cs.washington.edu> |
467 | ||
468 | * scm_validate.h: Added SCM_NUM2LONG_DEF macro. Make | |
469 | SCM_OUT_OF_RANGE use SCM_MAKINUM, not scm_long2num. Added | |
470 | SCM_COERCE_ROSTRING macro. Added SCM_VALIDATE_NONEMPTYLIST | |
471 | macro. Fix SCM_VALIDATE_STRINGORSUBSTR macro to not use SLOPPY | |
472 | variants. | |
473 | ||
474 | * ports.c (scm_port_closed_p): Validate that the arg is a PORT, | |
475 | then return whether it's an open port (was validating that it was | |
476 | an open port -- this was a bug I introduced back in December, but | |
477 | my careful reading of diffs caught it). | |
478 | ||
479 | * numbers.c: Recombine the two conditional-compilation paths for | |
480 | all the log* primitives -- they were split based on #ifndef | |
481 | scm_long2num; factored out a SCM_LOGOP_RETURN macro, and fixed | |
482 | some bugs and inconsistencies in the two sets of implementations. | |
483 | (scm_lognot) Fixed *atrocious* re-use of a SCM as an integer! | |
484 | ||
485 | * ioext.c: Use SCM_ASSERT_RANGE in a couple places, and | |
486 | SCM_VALIDATE_INUM_COPY once where it should've been used. | |
487 | ||
488 | * fluids.c (scm_internal_with_fluids): Use | |
489 | SCM_VALIDATE_LIST_COPYLEN. | |
490 | ||
491 | * filesys.c: Use SCM_NUM2LONG instead of SCM_VALIDATE_INUM_COPY; | |
492 | this is questionable as it relaxes type safety, but other changes | |
493 | were useful and all SCM_NUM2LONG's should probably be | |
494 | revisited. Use SCM_OUT_OF_RANGE, SCM_WRONG_TYPE_ARG. | |
495 | ||
496 | * evalext.c: line-break change on 1 line. | |
497 | ||
498 | * eval.c (nconc2last): Takes a non-empty list as its first | |
499 | argument, not just a list. | |
500 | ||
501 | * dynl.c: Use new SCM_COERCE_ROSTRING macro. | |
502 | ||
503 | Tue Jan 11 15:44:23 2000 Greg J. Badros <gjb@cs.washington.edu> | |
504 | ||
505 | * dynl.c, feature.c, filesys.c, fports.c, list.c, load.c, | |
506 | net_db.c, sort.c, stacks.c, unif.c: Use SCM_WTA, SCM_MISC_ERROR | |
507 | where possible. | |
508 | ||
509 | * symbols.c (scm_sysintern0): Fixed the function name in a | |
510 | scm_misc_error invocation. | |
511 | ||
512 | * print.c (scm_simple_format): Do not need SCM_COERCE_SUBSTR, and | |
513 | use scm_return_first to ward off latent GC bug that Mikael caught. | |
514 | ||
515 | * async.c: Use SCM_VALIDATE_ASYNC_COPY one place where it wasn't | |
516 | used before but should've been. | |
517 | ||
d61f6b02 MD |
518 | 2000-01-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
519 | ||
520 | * snarf.h (SCM_PROC1): Replaced SCM (*) (...) with | |
521 | SCM_FUNC_CAST_ARBITRARY_ARGS. | |
522 | ||
88423ab1 GB |
523 | Tue Jan 11 13:44:07 2000 Greg J. Badros <gjb@cs.washington.edu> |
524 | ||
525 | * guile-func-name-check.in: Added this script to statically check | |
526 | #define FUNC_NAME, #undef FUNC_NAME in the source. | |
527 | ||
528 | * sort.c, posix.c: Fix #undef FUNC_NAME lines to not have trailing | |
529 | redundant comment, semicolon; caught by new guile-func-name-check | |
530 | script. | |
531 | ||
532 | * debug.c: Fix mistaken #define FUNC_NAME for scm_make_iloc. | |
533 | Caught by new guile-func-name-check-script. | |
534 | ||
535 | * Makefile.am: Added guile-func-name-check to bin_SCRIPTS | |
536 | ||
537 | * ramap.c: Fix #if 0'd out code to be syntactically acceptable to | |
538 | guile-func-name-check. | |
539 | ||
540 | * guile-doc-snarf.in: Run guile-func-name-check on the file before | |
541 | doing the snarf. | |
542 | ||
7f15e635 GB |
543 | Tue Jan 11 11:31:10 2000 Greg J. Badros <gjb@cs.washington.edu> |
544 | ||
545 | * fports.c, ports.c, ports.h, strports.c, vports.c: Make write | |
546 | port function take const void*, not void*. | |
547 | ||
bf121b59 GB |
548 | Tue Jan 11 11:18:07 2000 Greg J. Badros <gjb@cs.washington.edu> |
549 | ||
550 | * scm_validate.h, chars.c, ports.c, print.c, read.c, strings.c, | |
551 | strop.c: Use SCM_VALIDATE_ICHR, SCM_VALIDATE_ICHR_COPY instead of | |
552 | SCM_VALIDATE_CHAR, SCM_VALIDATE_CHAR_COPY. Change made for | |
553 | consistency with the other macros dealing with immediate | |
554 | characters. (Similar to INT -> INUM change a week or so ago). | |
555 | ||
7965d98f GB |
556 | Tue Jan 11 10:41:46 2000 Greg J. Badros <gjb@cs.washington.edu> |
557 | ||
558 | * dynl.c, error.c, eval.c, feature.c, filesys.c, fports.c, list.c, load.c, | |
559 | net_db.c, read.c, socket.c: Update error messages to use ~A for | |
560 | %s, ~S for %S to work with new `simple-format' format and be | |
561 | standardized better. | |
562 | ||
563 | * print.h, print.c (scm_simple_format): Added `simple-format' | |
564 | primitive. It's the old scm_display_error, with ARGS now a rest | |
565 | parameter, and the destination first instead of last (and a couple | |
566 | new capabilities inspired by `format' -- #t as destination means | |
567 | current-output-port, #f means return the formatted text as a | |
568 | string. | |
569 | ||
570 | * gh.h, gh_data.c, ports.h, ports.c: Added some missing const specifications. | |
571 | ||
572 | * backtrace.c (scm_display_error_message): Rewrote to use | |
573 | scm_simple_format() procedure. | |
574 | ||
575 | * __scm.h: Added commented-out #define of GUILE_DEBUG_FREELIST | |
576 | ||
f73d2411 MV |
577 | 2000-01-09 Marius Vollmer <mvo@zagadka.ping.de> |
578 | ||
579 | Finally applied the libltdl patch from Thomas Tanner, with slight | |
580 | modifications. | |
581 | ||
582 | * DYNAMIC-LINKING: Removed because it is obsolete. | |
583 | * dynl.c: Use ANSI prototypes. | |
584 | (sysdep_dynl_link): Use lt_dlopenext instead of lt_dlopen. | |
585 | * scmconfig.h.in: Do not change, as it is automatically generated. | |
586 | ||
587 | 1999-07-25 Thomas Tanner <tanner@ffii.org> | |
588 | ||
589 | * dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted | |
590 | (obsolete) | |
591 | * Makefile.am: likewise, add INCLTDL (libltdl headers) to | |
592 | INCLUDES, set dlpreopened files in LDFLAGS, link libguile | |
593 | against libltdl | |
594 | * dynl.c: use libltdl if DYNAMIC_LINKING is enabled, | |
595 | * guile.c: register preloaded modules | |
596 | * scmconfig.h.in: remove obsolete symbols | |
597 | ||
38c1d3c4 GH |
598 | 2000-01-09 Gary Houston <ghouston@arglist.com> |
599 | ||
600 | * These changes should make it unnecessary to call tzset from | |
601 | Scheme after modifying the TZ environment variable, even if the | |
602 | system date facilities cache the value. | |
603 | * stime.c (setzone, scm_localtime): added comments. | |
604 | (tzset): don't define a noop tzset macro if HAVE_TZSET not defined. | |
605 | (setzone): don't call tzset. | |
606 | (restorezone): call tzset only if HAVE_TZSET is defined. | |
607 | (scm_tzset): don't define if HAVE_TZSET not defined. Change the | |
608 | doc string to indicate that this procedure isn't likely to do | |
609 | anything useful. | |
610 | (scm_localtime, scm_strftime, scm_mktime): call tzset if | |
611 | LOCALTIME_CACHE is defined. | |
612 | ||
9359d657 MD |
613 | 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
614 | ||
615 | * posix.c (scm_sync): Return SCM_UNSPECIFIED. | |
616 | ||
f25f761d GH |
617 | 2000-01-09 Gary Houston <ghouston@arglist.com> |
618 | ||
619 | * eval.c: define scm_unbound_variable_key ('unbound-variable). | |
620 | scm_lookupcar1: throw an error with key 'unbound-variable instead | |
621 | of 'misc-error when an unbound variable is encountered. | |
622 | ||
623 | * filesys.c (scm_mkdir, scm_rmdir, scm_getcwd, scm_select, | |
624 | scm_symlink, scm_readlink, scm_lstat), | |
625 | posix.c (scm_setpgid, scm_setsid, scm_ctermid, scm_tcgetpgrp, | |
626 | scm_tcsetpgrp, scm_uname, scm_setlocale, scm_mknod, scm_nice, | |
627 | scm_sync), | |
628 | simpos.c (scm_system), | |
629 | stime.c (scm_times, scm_strptime): | |
630 | move the HAVE_XXX feature tests out of the procedure bodies. | |
631 | don't use SCM_SYSMISSING. | |
632 | scm_validate.h (SCM_SYSMISSING): removed. | |
633 | error.h, error.c (scm_sysmissing): comment that this is deprecated. | |
634 | see ChangeLog entry for 1999-12-28. | |
635 | ||
a4dd2611 GB |
636 | Sat Jan 8 19:52:04 2000 Greg J. Badros <gjb@cs.washington.edu> |
637 | ||
638 | * scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo. | |
639 | ||
640 | Sat Jan 8 17:06:46 2000 Greg J. Badros <gjb@cs.washington.edu> | |
641 | ||
642 | * backtrace.c: Fix spelling typo in a comment. | |
643 | ||
644 | * snarf.h: Use new SCM_DOCS macro to encapsulate the non SCM_INIT | |
645 | text. Reformatted some of the expansions. | |
646 | ||
5ac36451 GB |
647 | Fri Jan 7 15:50:46 2000 Greg J. Badros <gjb@cs.washington.edu> |
648 | ||
649 | * scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to | |
650 | report the position of the argument. | |
651 | ||
652 | * error.h, error.c (scm_out_of_range_pos): Added this function to | |
653 | take extra "pos" argument, the position number of the errant | |
654 | argument. | |
655 | ||
656 | * debug.c: Use SCM_OUT_OF_RANGE instead of scm_out_of_range. | |
657 | ||
658 | * snarf.h: Use SCM_HERE and SCM_INIT as names, not SCM_NOTSNARF | |
659 | and SCM_SNARFING. Also put the %%% in the SCM_INIT since Mikael | |
660 | prefers that and I'm reasonably indifferent. | |
661 | ||
662 | Fri Jan 7 15:03:32 2000 Greg J. Badros <gjb@cs.washington.edu> | |
663 | ||
664 | * snarf.h: Factor out differences between C++ and non-C++ into | |
665 | SCM_FUNC_CAST_ARBITRARY_ARGS macro. Modify all the snarf macro | |
666 | definitions to use SCM_NOTSNARF and SCM_SNARFING macros (like | |
667 | Mikael's macros, below, but changed names and SCM_SNARFING no | |
668 | longer expands to include %%% -- that must appear in the argument | |
669 | so that the token appears at the call-site as a reminder). | |
670 | ||
088bb1d4 MD |
671 | 2000-01-07 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
672 | ||
673 | * snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user | |
674 | snarf macro definitions. | |
675 | ||
636480e6 MD |
676 | 2000-01-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
677 | ||
678 | * chars.c (scm_integer_to_char): Use Greg's nice | |
679 | SCM_VALIDATE_INUM_RANGE macro for argument checking for closer | |
680 | adherence to R5RS. | |
681 | ||
7c5628e2 GB |
682 | Thu Jan 6 11:48:49 2000 Greg J. Badros <gjb@cs.washington.edu> |
683 | ||
684 | * *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout. | |
685 | ||
2cc0f8cb GB |
686 | Thu Jan 6 11:22:53 2000 Greg J. Badros <gjb@cs.washington.edu> |
687 | ||
688 | * Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1 | |
689 | instead of GUILE_PROC. | |
690 | ||
691 | Thu Jan 6 11:21:49 2000 Greg J. Badros <gjb@cs.washington.edu> | |
692 | ||
693 | * alist.c: Do not report mismatch errors on some uses of `tmp' (do | |
694 | this by using SCM_ARG2 instead of `2' in the SCM_VALIDATE_CONS | |
695 | macro call. | |
696 | ||
9179dcdd GB |
697 | Thu Jan 6 09:54:33 2000 Dirk Herrmann <dirk@ida.ing.tu-bs.de> --gjb applied |
698 | ||
699 | * scm_validate.h: Remove some redundant NIMP tests. | |
700 | ||
701 | * alist.c: minimize scope of the tmp variables, and initialize | |
702 | them when declared. The strange SCM_NIMP tests are replaced by | |
703 | SCM_CONSP tests that more closely reflect the intended semantics. | |
704 | However, we don't get a performance penalty here, because the | |
705 | SCM_CONSP test was performed by the ALISTCELL test anyway. * The | |
706 | extremely ugly use of ASRTGO macros was removed: The calls to | |
707 | ASRTGO were not encapsulated by "#ifndef SCM_RECKLESS", but got a | |
708 | label parameter that only exists when SCM_RECKLESS is not defined. | |
709 | This works, because ASRTGO itself is defined in a way that it only | |
710 | makes use of the label parameter if SCM_RECKLESS is not defined | |
711 | (shudder!). Does guile make at all use of the possibility to | |
712 | define SCM_RECKLESS? * Codesize is likely to be reduced, since | |
713 | instead of two calls to SCM_ASSERT performed by the ALISTCELL test | |
714 | we now only get one test. | |
715 | ||
716 | * list.c: Use SCM_NNULLP, not SCM_NIMP as appropriate. Also use | |
717 | SCM_NULLP instead of SCM_IMP. Drop use of "register" keyword on | |
718 | some variables in `list?'. Fix `reverse' and `reverse!' | |
719 | primitives to handle improper lists better. | |
720 | ||
15b33280 GB |
721 | Wed Jan 5 11:24:53 2000 Greg J. Badros <gjb@cs.washington.edu> |
722 | ||
723 | * *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_* | |
724 | macros and SCM_DEFINE macros to match GNU coding standards. | |
725 | ||
ca8cd130 GB |
726 | Wed Jan 5 11:04:24 2000 Greg J. Badros <gjb@cs.washington.edu> |
727 | ||
728 | * *.[ch]: Replace GUILE_PROC w/ SCM_DEFINE. | |
729 | ||
fb764465 GB |
730 | Wed Jan 5 10:59:06 2000 Greg J. Badros <gjb@cs.washington.edu> |
731 | ||
732 | * *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for | |
733 | better consistency with the names of other SCM_VALIDATE_ macros | |
734 | and better conformance to guile naming policy. | |
735 | ||
736 | Wed Jan 5 10:50:39 2000 Greg J. Badros <gjb@cs.washington.edu> | |
737 | ||
738 | * ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a | |
739 | SCM_VALIDATE instead of 1 to avoid a check on the argument (since | |
740 | it's not the actual name of the formal). | |
1e484823 GB |
741 | |
742 | * guile-snarf.awk.in: Do argument/number mismatch checking and | |
743 | print warnings in an Emacs compile-mode parseable format. | |
744 | ||
745 | * struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/ | |
746 | SCM_OUTOFRANGE as 3rd argument. | |
747 | ||
748 | * random.c: Fix argument/number mismatch (that I introduced :-( ). | |
749 | ||
750 | * __scm.h: Do not #define SCM_ARG* when snarfing; | |
751 | lets us distinguish between 1 and SCM_ARG1 when snarfing as only | |
752 | the former (using the number) requires the argument to match the | |
753 | formal in the current argument snarfing check. | |
754 | ||
755 | * snarf.h: Give new definition of SCM_ASSERT when in | |
756 | snarfing mode to output a lexically-identifiable sequence that the | |
757 | guile-snarf.awk script uses to verify argument/position matching. | |
758 | ||
759 | * ramap.c: Remove extraneous #undef FUNC_NAME. | |
760 | ||
53fc4636 GB |
761 | Wed Jan 5 08:36:38 2000 Greg J. Badros <gjb@cs.washington.edu> |
762 | ||
763 | * guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the | |
764 | current version of the same functionality; it writes the .x output | |
765 | to stdout instead of directly into the file. | |
766 | ||
767 | Wed Jan 5 08:15:04 2000 Greg J. Badros <gjb@cs.washington.edu> | |
768 | ||
769 | * unif.c, symbols.c, strings.c, stacks.c, random.c, print.c, | |
770 | posix.c: Eliminated a bunch of SCM_NIMP(..)s that are now | |
771 | redundant with the safer macros. Patch from Dirk Hermann applied | |
772 | by hand. Thanks Dirk! | |
773 | ||
774 | * scm_validate.h: Added SCM_VALIDATE_VECTOR_OR_DVECTOR for some | |
775 | uses in random.c. | |
776 | ||
777 | * ramap.c: whitespace change. | |
778 | ||
3b5345d9 GB |
779 | Tue Jan 4 14:21:35 2000 Greg J. Badros <gjb@cs.washington.edu> |
780 | ||
781 | * options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP | |
782 | removals from Dirk Hermann. | |
783 | ||
784 | * alist.c: Rename formals to match the parameter names in the | |
785 | documentation, updates to documentation. Thanks Dirk Hermann! | |
786 | ||
169aec65 MD |
787 | 2000-01-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
788 | ||
db62436e MD |
789 | * eval.c (SCM_CEVAL): Reverse order of |
790 | scm_stack_checking_enabled_p and SCM_STACK_OVERFLOW_P | |
791 | (Thanks to Brad Knotwell.) | |
169aec65 | 792 | |
da43d822 GB |
793 | Mon Jan 3 08:30:02 2000 Greg Harvey <Greg.Harvey@thezone.net> (applied --01/03/00 gjb) |
794 | ||
795 | * gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly | |
796 | allocated cell. | |
797 | ||
798 | * pairs.h: Added a comment about the need for the SCM_SETCAR in | |
799 | SCM_NEWCELL macro. | |
800 | ||
801 | Mon Jan 3 08:25:19 2000 Greg J. Badros <gjb@cs.washington.edu> | |
802 | ||
803 | * dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More | |
804 | SCM_NIMP tests that were redundant are now eliminated. Patches | |
805 | from Dirk Hermann applied by hand. | |
806 | ||
339999c7 | 807 | The ChangeLog continues in the file: "ChangeLog-1996-1999" |