Removed empty file genio.h and references to it.
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
0fa27efa
DH
12000-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
2
3 * genio.h: removed. (Only content was '/* delete me */'.)
4
5 * Makefile.am arbiters.c backtrace.c debug.c dynl.c dynwind.c
6 error.c filesys.c fluids.c gc.c gsubr.c guardians.c keywords.c
7 libguile.h mallocs.c numbers.c print.c random.c read.c root.c
8 srcprop.c stackchk.c struct.c threads.c throw.c variable.c:
9 Removed reference to genio.h
10
148f31de
MD
112000-03-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
12
13 * gc.c, gc.h: Cleanup of the change of 2000-03-15.
14 Cluster sizes are now independent of GC trigger values.
15 GUILE_GC_TRIGGER_n can now specify a relative trigger value:
16 A negative integer gives fraction of total heap size in percent.
1eb489a2 17 (SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2): Default values set to -40.
148f31de
MD
18
19 * init.c (scm_boot_guile_1): Introduced new variable
20 GUILE_MAX_SEGMENT_SIZE; New environment variable names:
21 GUILE_INIT_SEGMENT_SIZE_1, GUILE_GC_TRIGGER_1,
22 GUILE_INIT_SEGMENT_SIZE_2, GUILE_GC_TRIGGER_2
23
6d0f81dd 242000-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
bc2c8d98 25
6d0f81dd
MD
26 * __scm.h (GC_FREE_SEGMENTS): Disable this until we have made
27 freeing of segment work with the new GC scheme. (Thanks to
bc2c8d98
MD
28 Michael Livshin.) Oops, also happened to make GUILE_NEW_GC_SCHEME
29 the default, but I'll let this change stay in CVS Guile since this
30 code is not expected to contain serious bugs.
31
17351a6f 322000-03-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
c5133dc9 33
6c7c449e
MD
34 * gc.c, gc.h (scm_map_free_list): Define also if GUILE_DEBUG is
35 defined.
5a551542
MD
36 (scm_free_list_length): New procedure (GUILE_DEBUG).
37 Fixed a small but serious bug introduced by the previous change.
38
17351a6f
MD
39 * gc.c (scm_gc_sweep): Moved variable n_objects to inner sweep
40 loop and declare as register.
6c7c449e 41
c5133dc9
MD
42 * gc.c (scm_gc_sweep): Sigh... forgot to clear private freelists
43 after GC.
44
3820581c
GB
45Wed Mar 15 08:27:04 2000 Greg J. Badros <gjb@cs.washington.edu>
46
47 * fluids.c: Docstring patch from Keisuke Nishida. Some
48 reindentation, too, and a couple formals renamed. Should
49 fluid-set! return UNSPECIFIED instead of a value?
50
51Wed Mar 15 08:24:58 2000 Greg J. Badros <gjb@cs.washington.edu>
52
53 * Makefile.am: Separate out DOT_X_FILES and DOT_DOC_FILES, and
54 generate the latter from the concrete listing of the former. Then
55 make guile-procedures.txt depend on DOT_DOC_FILES instead of
56 *.doc, so that rebuilding it works.
57
dd6390bf
GB
58Wed Mar 15 08:12:14 2000 Greg J. Badros <gjb@cs.washington.edu>
59
60 * libguile.h: Include libguile/validate.h. Thanks Keisuke Nishida!
61
62 * guile-snarf.awk.in: Replace docstring line-ending \n" and \n\n"
63 with nothing and \n, respectively. Thanks Keisuke Nishida for
64 noticing this problem.
65
4fdb0ae2
MD
662000-03-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
67
68 * __scm.h (GUILE_NEW_GC_SCHEME): Define this if you want to test a
69 new way of allocating heap. It makes Guile fast, but still
70 contains bugs.
71
72 * gc.c, gc.h, pairs.h, init.c: Implementation of a new way of
73 allocating heap. The basic idea is to trigger GC every Nth
74 allocated cell and grow heap when free list runs out. The scheme
75 has been extended so that GC isn't triggered until all remaining
76 cells are used. The implementation is also prepared for
77 development in the direction of POSIX threads.
78
79 * gc.c (SCM_EXPHEAP): In order to grow by a factor of 1.5,
80 SCM_EXPHEAP should return half of the heap size.
81
3d8d1283
MD
822000-03-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
83
5f4edb86
MD
84 The following change to init.c is only enabled if Guile was
85 configured with --enable-guile-debug.
86
87 * init.c (scm_i_getenv_int): New function.
88 (scm_boot_guile_1): Use the environment variables
89 GUILE_INIT_HEAP_SIZE, GUILE_INIT_HEAP_SIZE2 to select heap size if
90 they exist. (This may be replaced by a Scheme level mechanism in
91 the future.)
92
3d8d1283 93 * objprop.c (s_scm_set_object_property_x): Use scm_assq instead of
90e77861 94 scm_assoc. (Thanks to Keisuke Nishida.)
3d8d1283 95
b0e37c83
MD
962000-03-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
97
98 * eval.c, lang.c, lang.h (scm_lisp_nil, scm_lisp_t): Renamed from
2b260c0f 99 scm_nil, scm_t. (Thanks to Keisuke Nishida.)
b0e37c83 100
16d35552
MD
1012000-03-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
102
5ebf0091
MD
103 * init.c (scm_boot_guile_1): Use same initial segment size for
104 1-word and 2-word segments. Having the smaller size causes Guile
105 to GC too often. Obviously something needs to be done to allow
106 for a smaller 2-word segment without this to happen. (The amount
107 of heap for each type should be automatically adapted to the
108 application somehow.)
109
31ed4cff
MD
110 [Almost all of these changes should be documented in the NEWS
111 file.]
112
cf2c7413
MD
113 * gc.h (scm_freelist_t): New type.
114
115 * pairs.h (SCM_NEWCELL, SCM_NEWCELL2): Use new style freelists.
116
117 * gc.c (SCM_INIT_HEAP_SIZE): Changed from 32768 --> 40000 so that
118 all of Guile basics fits into one segment and there suitable room
119 for work.
120 (SCM_EXPHEAP): Now takes an argument. Grow by a factor of 1.5
121 instead of 2.
122 (scm_freelist, scm_freelist2): Now of type scm_freelist_t.
123 Freelists now contains information about object span, cells
124 collected and amount of cells in heap segments belonging to the
125 list.
126 (scm_heap_size, scm_gc_cells_collected): Removed.
127
128 * init.c (scm_boot_guile_1): Make 2-word segment 8K (512 cells).
129
16d35552
MD
130 * Makefile.am (libguile_la_LDFLAGS): Bumped library version
131 number.
132
cf2c7413 133 * __scm.h eq.c, eval.c, gc.c, gc.h, gh_data, hash.c, numbers.c,
16d35552
MD
134 numbers.h, objects.c, ramap.c, random.c, unif.c, unif.h: Extensive
135 rewrite of handling of real and complex numbers.
136 (SCM_FLOATS, SCM_SINGLES): These #ifdef conditionals have been
137 removed along with the support for floats. (Float vectors are
138 still supported.)
139
140 * tags.h (scm_tcs_bignums): Removed.
141 (scm_tc16_bigpos, scm_tc16_bigneg): Replaced by scm_tc16_big.
142 Use SCM_BIGSIGN(x) to test for sign!
143 (scm_tc16_big): The new bignum type.
144 (SCM_REAL_PART, SCM_IMAG_PART): Removed.
145
146 * numbers.h (SCM_BIGSIGN): Sign moved to bit 16.
147 (scm_makdbl): Deprecated.
148 (SCM_NEWREAL, SCM_NEWCOMPLEX): New macros.
149 (SCM_SINGP): Deprecated.
150 (SCM_FLO): Removed.
151 (SCM_INEXP, SCM_CPLXP): Deprecated.
152 (SCM_INEXACTP, SCM_COMPLEXP): New macros.
153 (SCM_COMPLEX_REAL, SCM_COMPLEX_IMAG): Renamed from
154 SCM_REAL, SCM_IMAG (and now only valid for complex numbers).
155 (SCM_REAL, SCM_IMAG): New, *deprecated*, selectors which work both
156 for doubles and complex numbers.
157 (SCM_REAL_VALUE): New selector for doubles.
158 (scm_double_t, scm_complex_t): New types.
159 (scm_dbl): Removed.
160
161 * numbers.c (scm_floprint, scm_floequal): Removed.
162 (scm_print_real, scm_print_complex, scm_real_equalp,
163 scm_complex_equalp): New functions.
164
165 * unif.c (scm_makflo): Removed.
166
167 * smob.h (SCM_SMOB_PREDICATE): New macro.
168 (SCM_NEWSMOB2, SCM_RETURN_NEWSMOB2, SCM_NEWSMOB3,
169 SCM_RETURN_NEWSMOB3): New macros.
170
1711999-11-21 Michael Livshin <mlivshin@bigfoot.com>
172
173 The following changes implement primitive support for double cells
174 (i.e. four-word cells) and change the representation of some
175 things to multi-cells instead of cons+malloc. (Applied and
176 modified by mdj.)
177
178 * pairs.h (SCM_NEWCELL2): double-cell variants of SCM_NEWCELL.
179 (SCM_CELL_WORD, SCM_CELL_WORDLOC, SCM_SET_CELL_WORD): primitive
180 multi-cell access macros (used by the ones below).
181 (SCM_CELL_WORD[0-3], SCM_SET_CELL_WORD[0-3]): multi-cell access
182 macros.
183
184 * gc.c (scm_freelist2): multi-cell freelists.
185 (inner_map_free_list): map_free_list, parameterized on ncells.
186 "nn cells in segment mm" was misleading for ncells > 1; changed to
187 "objects". still print cells too, though.
188 (scm_map_free_list): rewritten using inner_map_free_list.
189 (scm_check_freelist): get freelist as parameter, since now we have
190 more than one.
191 (scm_debug_newcell2): multi-cell variants of
192 scm_debug_newcell.
193 (scm_gc_for_newcell): take ncells and freelist pointer as
194 parameters.
195 (scm_gc_mark): add case for tc7_pws (procedures with setters are
196 now double cells).
197 (scm_gc_sweep): don't free the float data, since it's not malloced
198 anymore.
199 (init_heap_seg): didn't understand what n_new_objects stood for,
200 so changed to n_new_cells.
201 (make_initial_segment): new function, makes an initial segment
202 according to given ncells.
203 (scm_init_storage): call make_initial_segment, for ncells={1,2,3}.
204
205 * numbers.c (scm_makdbl): no malloc'ing needed, so the
206 {DEFER,ALLOW}_INTS thing removed.
207
208 * numbers.h (struct scm_dbl): changed to represent a double cell,
209 with the number in the second half.
16d35552
MD
210
211 * dynwind.c: changed the wind-guards representation to double
212 cell.
213
214 * procs.c, procs.h: changed the procedure-with-setter representation
215 to double cell.
216
217 * async.c, async.h: made async representation a double cell.
218
16d35552
MD
219 * dynl.c: made dynamic_obj representation a double cell.
220
b70ecbd0
GH
2212000-03-13 Gary Houston <ghouston@arglist.com>
222
223 * ports.c (flush_void_port): renamed to flush_port_default.
224 (end_input_void_port): renamed to end_input_default.
225
226 * init.c (scm_standard_stream_to_port): create a void port instead
227 of opening /dev/null if the standard file descriptors are bad.
228 advantages: no portability problems, doesn't waste a file descriptor,
229 simplifies the code (thanks to Marius for the idea).
230
231 * vports.c (s_scm_make_soft_port): call scm_port_non_buffer.
232
233 * void ports: make reading from a void port give EOF instead of
234 segv:
235 * ports.c (s_scm_sys_make_void_port): modified docstring.
236 (fill_input_void_port): new proc.
237 (scm_init_ports): set up fill_input_void_port.
238 * ports.c (scm_port_non_buffer): new proc.
239 (scm_void_port): call scm_port_non_buffer.
240
241 * fports.c (scm_setvbuf): docstring: remove the fcntl documentation
242 which was incorrectly appended.
243
fdc7ea2d
MD
2442000-03-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
245
246 * guile-doc-snarf.in: Don't use absolute path for `sed'. (Note
247 that we can't use autoconf for this. Autoconf itself relies on
26fba922 248 the existence of `sed' somewhere on your path.) (Thanks to Dirk
fdc7ea2d
MD
249 Herrman.)
250
68933ba3
MD
2512000-03-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
252
b44a555a
MD
253 * Makefile.am (libguile_la_SOURCES): Moved iselect.c here from
254 EXTRA_libguile_la_SOURCES.
255
256 * iselect.h: Always declare scm_internal_select.
257
258 * iselect.c (scm_internal_select): Added SCM_ASYNC_TICK at the
259 end. Also let scm_internal_select be a real function also when
260 not using threads.
261
68933ba3
MD
262 * __scm.h (SCM_TICK): Oops! Forgot to put SCM_ASYNC_TICK here...
263
c7f6ea11
MD
2642000-03-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
265
266 * __scm.h (SCM_ALLOW_INTS, SCM_REALLOW_INTS): Removed call to
267 SCM_ASYNC_TICK. (This is a preparation for POSIX threads support,
268 and kind of an experiment: Will this cause problems?)
269
62dbc244
GB
270Sun Mar 12 13:26:30 2000 Greg J. Badros <gjb@cs.washington.edu>
271
272 * Makefile.am: Added *.doc to DISTCLEANFILES.
273
4f2f645d
GH
2742000-03-12 Gary Houston <ghouston@arglist.com>
275
276 * fports.c (scm_fdes_to_port): call fcntl F_GETFL to test that
277 the fdes is valid before doing anything else. check that
278 the file descriptor supports the modes required.
279 (scm_fport_buffer_add): don't throw an error if fstat doesn't
280 work: just use the default buffer size.
281
282 * throw.c: change an outdated comment about scm_internal_catch
283 BODY: it doesn't take a jumpbuf arg.
284
285 * init.c (scm_standard_stream_to_port): install a handler in case
286 scm_fdes_to_port throws an error. don't check here whether the
287 file descriptor is valid, since scm_fdes_to_port will do that.
288 set the revealed count depending on whether the port got the
289 standard file descriptor.
290 (stream_body_data): new type.
291 (stream_body, stream_handler): new procs.
292
7f782a0a
MD
2932000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
294
67673f75
MD
295 * stacks.c, stacks.h, struct.c, tags.h, unif.c (scm_bits_t):
296 Renamed from SCMWORD.
297
298 * tags.h (SCM_NCELLP): Removed (SCMWORD).
299
f1267706 300 * arbiters.c (SCM_ARB_LOCKED): Use SCM_UNPACK_CAR.
67673f75 301
74a426ae
MD
302 * async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h,
303 feature.h, filesys.h, fluids.h, fports.c, fports.h, gc.c, gc.h,
304 hash.c, keywords.h, macros.c, numbers.c, numbers.h, objects.c,
305 objects.h, options.c, pairs.h, ports.c, ports.h, print.c,
306 procs.h, ramap.c, read.c, smob.c, smob.h, srcprop.h, stacks.c,
307 stacks.h, strports.c, struct.c, struct.h, tag.c, tags.h,
308 throw.c, unif.c, unif.h, variable.h, vectors.h, weaks.c,
f1267706 309 weaks.h (SCM_PACK, SCM_UNPACK, SCM_UNPACK_CAR): Renamed from
74a426ae
MD
310 SCM_ASSCM, SCM_ASWORD, SCM_CARW).
311
7f782a0a
MD
312 * numbers.h (SCM_SRS, SCM_INUM): Corrected SCM_ASSCM/ASWORD fixes.
313
314 * alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
315 tags.h: Fixed copyright notices.
316
317 * struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes.
0cd87628 318
7f782a0a
MD
3192000-03-12 Marius Vollmer <mvo@zagadka.ping.de>
320
0cd87628
MV
321 * init.c (scm_standard_stream_to_port): Check whether the file
322 descriptor is valid and substitute "/dev/null" when not.
7f782a0a 323
f3b5e185
MD
3242000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
325
326 * coop-defs.h (struct timespec): Conditionally defined.
327
328 * coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT
329 instead of ETIME.
38eca29b
MD
330
331 * readline.c (match_paren): Bugfix: First arg to select is not
332 number of descriptors but the number of the highest descriptor +
333 1.
334
335 This is a preliminary attempt at a cleanup of the threads support
336 code. It moves things to better places, makes arguments more
337 consistent with the POSIX API (which is used in GNOME's glib), and
338 adds new functionality.
339
340 * readline.c (scm_init_readline): Added new arg to scm_init_mutex.
341
342 * coop-defs.h (scm_mutex_trylock): New macro: alias for
343 coop_mutex_trylock.
344 (scm_cond_init): Changed definition to
345 coop_new_condition_variable_init.
38eca29b
MD
346
347 * coop.c: #include <errno.h>
348 (coop_timeout_qinsert): Moved here from iselect.c
349 (coop_new_mutex_init, coop_new_condition_variable_init): New
350 functions. The strange names are temporary. Use scm_mutex_init
351 and scm_cond_init instead.
352 (coop_mutex_trylock): New function. Uses errno.h:EBUSY. errno.h
353 is ANSI C, but should we check for individual error codes in
354 configure.in?
355 (coop_condition_variable_timed_wait_mutex): New function.
356 (coop_key_create, coop_setspecific, coop_getspecific,
7f782a0a 357 coop_key_delete): New functions.
38eca29b
MD
358
359 * iselect.c (coop_timout_qinsert): Moved to coop.c
360
32e1616c
MD
3612000-03-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
362
363 * pairs.h (SCM_SETAND_CAR, SCM_SETAND_CDR, SCM_SETOR_CAR,
364 SCM_SETOR_CDR): Corrected SCM_ASSCM/WORD fixes.
365
366 * tags.h (SCM_VOIDP_TEST): Renamed from VOIDP_TEST.
367 Layout cleanups.
368
369 * objects.h (SCM_CLASS_FLAGS, SCM_OBJ_CLASS_FLAGS,
370 SCM_SET_CLASS_INSTANCE_SIZE), struct.h (SCM_STRUCT_VTABLE_DATA),
371 proc.h (SCM_CLOSCAR): SCM_ASSCM/WORD fixes.
372
373 * eval.c (scm_lookupcar1): Inserted SCM_ASWORD in expressions
374 dealing with ilocs.
375
d5c39069
GB
3762000-03-11 Dale P. Smith <dpsm@en.com>, applied by Greg J. Badros, <gjb@cs.washington.edu>
377
378 * numbers.c (scm_copy_big_dec, scm_copy_smaller, scm_big_ior,
379 scm_big_xor, scm_big_and, scm_big_test): Added new lowlevel bignum
380 logical functions from SCM.
381
382 (logand, logior, logxor, logtest, logbit?): Extended scheme
383 logical functions to use bignums from SCM.
384
385 (lognot): Removed call to `SCM_VALIDATE_INUM' that prevented
386 lognot from using bignums.
387
3e892913
GB
388Thu Mar 9 11:33:25 2000 Greg J. Badros <gjb@cs.washington.edu>
389
390 * vectors.h (SCM_VELTS_AS_STACKITEMS): Added this macro to help in
391 eliminating some warnings.
392
393 * unif.c, strports.c, print.c, options.c: Fix some warnings on
394 mis-use of SCM/long
395
396 * gc.c, gc.h: Added scm_return_first_int(), and added comment re:
397 what the scm_return_first* functions do.
398
7ac030d6
GB
3992000-03-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>, applied by Greg J. Badros, <gjb@cs.washington.edu>
400
401 * libguile/*.[ch]: make a distinction between SCM as a generic
402 name for a Scheme object (now a void*), and SCM as 32 bit word for
403 storing tags and immediates (now a long int). Introduced
404 SCM_ASWORD and SCM_ASSCM for conversion. Fixed various dubious
405 code in the process: arbiter.c (use macros), unif.c (scm_array_p),
406
f635d2d4
GB
407Wed Mar 8 10:15:59 2000 Greg J. Badros <gjb@cs.washington.edu>
408
409 * numbers.c: Use SCM_VALIDATE_LONG_COPY, and longs, not ints, in
410 various logXXX primitives. Thanks Eric Moore!
411
9eaa7fb6
GB
412Tue Mar 7 08:05:22 2000 Greg J. Badros <gjb@cs.washington.edu>
413
414 * run-test, remaining-docs-needed: Added these scripts. The
415 second one is only temporary until the docstring additions are
416 complete. run-test may best live on, but is here mostly for
417 convenience and awareness for now.
418
419 * hash.c: Docs, minor cleanup patch from Dirk Herrman.
420
49673698
GB
421Thu Mar 2 16:06:58 2000 Greg J. Badros <gjb@cs.washington.edu>
422
423 * error.h, error.c: Added `scm_wrong_type_arg_msg' to support
424 displaying the expected type. Use SCM_LISTn in a couple places
425 instead of scm_cons-ing by hand.
426
427 * __scm.h: Added SCM_ASSERT_TYPE macro.
428
429 * validate.h, scm_validate.h: Added the former, as a renamed
430 version of the latter with SCM_ASSERT_TYPE used in
431 SCM_MAKE_VALIDATE (instead of just SCM_ASSERT)
432
433 * Makefile.am: Rename scm_validate.h to validate.h.
434
435 * *.c, *.h: Include validate.h, not scm_validate.h (old name's
436 prefix was superfluous).
437
417bdef8
GB
438Thu Mar 2 15:33:12 2000 Greg J. Badros <gjb@cs.washington.edu>
439
440 * hashtab.c: Improved documentation for lots of functions. Added
441 handwritten docs for `hash-fold'.
442
443Thu Mar 2 15:13:25 2000 Greg J. Badros <gjb@cs.washington.edu>
444
445 * list.c: Added hand-written docs for `del{q,v,ete}1!'.
446
26a760c6
GB
447Thu Mar 2 12:38:30 2000 Greg J. Badros <gjb@cs.washington.edu>
448
449 * list.c: Moved append docs to append! Thanks Dirk Hermann. Also,
450 added append docs from R4RS.
451
452 * strings.c: Docstring typo fix, + eliminate unneeded IMP tests.
453 Thanks Dirk Hermann!
454
455 * chars.h: Provide SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR and
456 deprecate SCM_ICHRP, SCM_ICHR, SCM_MAKICHR. Thanks Dirk Hermann!
457
458 * *.h, *.c: Use SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR throughout.
459 Drop use of SCM_P for function prototypes... assume an ANSI C
460 compiler. Thanks Dirk Hermann!
461
898942f8
GB
462Sat Feb 19 12:20:12 2000 Greg J. Badros <gjb@cs.washington.edu>
463
464 * ports.c: Made `set-port-column!' and `set-port-line!' each
465 return SCM_UNSPECIFIED instead of a (not-scheme-object) integer
466 that caused a seg fault. Also fixed `set-port-column!'s
467 docstring. Thanks Han-Wen Nienhuys for finding the bug!
468
84a3df2c
GB
469Sun Feb 13 19:11:42 2000 Greg J. Badros <gjb@cs.washington.edu>
470
471 * arbiters.c, eq.c, gc.c, guardians.c, list.c, ports.c, print.c,
472 regex-posix.c, scmsigs.c, stime.c, strings.c, variable.c, stime.c,
473 strings.c, variable.c: Added lots of documentation, cleaned up
474 some existing documentation. Occasionally changed formal params
475 to match docs. Also folded an #ifdef into the inners of a
476 primitive instead of having two copies of the primitive
477 (`get-internal-real-time', from stime.c)
478
479Sun Feb 13 18:12:19 2000 Greg J. Badros <gjb@cs.washington.edu>
480
481 * ports.c: Added docs for primitives missing them. Written by
482 hand.
483
3f557de6
GB
484Sun Feb 13 09:40:36 2000 Greg J. Badros <gjb@cs.washington.edu>
485
486 * guile-doc-snarf.in: Use ${AWK} -f guile-func-name-check, not
487 just execing guile-func-name-check. Thanks Michael Livshin!
488
ddcccdb3
GB
489Thu Feb 10 11:43:23 2000 Greg J. Badros <gjb@cs.washington.edu>
490
491 * guile-snarf.awk.in: Tweak to work with Sun/HP awk, removed some
492 dead code. Patch from Michael Livshin.
493
494 * guile-doc-snarf.in: Tweak to work with Sun/HP sh. Patch from
495 Michael Livshin.
496
720e8692
GH
4972000-02-09 Gary Houston <ghouston@arglist.com>
498
499 * init.c (scm_init_standard_ports): when stdout is a tty, make the
500 current-output-port unbuffered by default. this is less confusing
501 for interactive use. it was line-buffered because of a
502 performance problem with unbuffered ports, but I think it will be
503 OK now.
504
43ff3170
GH
5052000-02-08 Gary Houston <ghouston@arglist.com>
506
507 * __scm.h: don't define long_long or ulong_long if HAVE_LONG_LONGS
508 is not defined.
509
510 * stime.c (scm_localtime, scm_mktime): if neither HAVE_TM_ZONE nor
511 HAVE_TZNAME are defined, use an empty string instead of giving two
512 spurious compile-time errors.
513
4ba47302
GB
514Tue Feb 8 13:57:46 2000 Greg J. Badros <gjb@cs.washington.edu>
515
516 * ports.c: Doc patches from Richard Kim. Pasted from MIT Scheme.
517 Thanks Richard!
518
09a617f7
GB
519Mon Feb 7 09:07:31 2000 Greg J. Badros <gjb@cs.washington.edu>
520
521 * macros.c: Doc patches from Richard Kim. Pasted from scm.texi.
522
9dbcf010
GB
523Sun Feb 6 20:26:21 2000 Greg J. Badros <gjb@cs.washington.edu>
524
525 * pairs.c: Doc patches from Richard Kim. Pasted from MIT Scheme
526 (which is GNU GPL'd).
527
bd9e24b3
GH
5282000-01-31 Gary Houston <ghouston@arglist.com>
529
530 * strings.h: don't use SCM_P. don't include <string.h>.
531 * error.c, gh_data.c, ports.c, script.c, strop.c: include <string.h>.
532
533 * strings.c (scm_string_ref): make the 2nd argument compulsory.
534 previously it defaulted to zero for no good reason that I can see.
535 use a local variable for SCM_INUM (k). replace
536 SCM_VALIDATE_INUM_DEF with SCM_VALIDATE_INUM_COPY.
537
538 (scm_makfromstr): cosmetic changes.
539
540 (scm_string): Accept only chars in the list, not strings, for
541 conformance to R5RS (particularly for list->string, which is
542 supposed to be the inverse of string->list.) remove
543 SCM_DEFER_INTS/SCM_ALLOW_INTS, which is unnecessary since
544 scm_makstr handles the cell allocation. when reporting wrong-type
545 arg, don't report the position as 1.
546
547 * posix.c (scm_init_posix): intern PIPE_BUF if it's defined.
548
28d77376
GH
5492000-01-29 Gary Houston <ghouston@arglist.com>
550
ae1b098b
GH
551 * posix.c (scm_pipe): rewrote the docstring.
552
28d77376
GH
553 * filesys.c (scm_select, retrieve_select_type, get_element,
554 fill_select_type, set_element): modified so that Scheme
555 "select" tests port buffers for the ability to provide input
556 or accept output. Previously only the underlying file descriptors
557 were checked. Rewrote the docstring.
558
7f1497ce
GB
559Thu Jan 27 10:14:25 2000 Greg J. Badros <gjb@cs.washington.edu>
560
561 * vectors.c, symbols.c, strorder.c: Documentation cut and pasted
562 from Gregg Reynolds. Thanks Gregg!
563
2288ff9b
GB
564Thu Jan 27 09:59:38 2000 Greg J. Badros <gjb@cs.washington.edu>
565
566 * strop.c (scm_i_index): Obfuscated commented-out SCM_DEFINE by
567 adding "x" prefix to the line so that guile-func-name-check
568 doesn't complain unnecessarily.
569
349af6dd
GB
570Wed Jan 26 17:33:52 2000 Greg J. Badros <gjb@cs.washington.edu>
571
572 * throw.c: Factor out an #ifdef/#else/#endif choice more finely
573 for maintainability.
574
575 * strop.c: Documentation added by Gregg A. Reynolds. Pasted in
576 from qdocs, RnRs.
577
a28eb127
GB
578Wed Jan 26 10:02:11 2000 Greg J. Badros <gjb@cs.washington.edu>
579
580 * tag.c: Added doc for `tag', but mark as deprecated since Mikael
581 suggests removing tag.c altogether (and using a new `class-of'
582 instead).
583
584 * strings.c: Added documentation from Gregg A. Reynolds. Edited
585 a bit by me to use FOO instead of @var{foo} and to have the
586 summary come before preconditions on input. Also dropped trailing
587 (rnrs) note.
588
589 * gsubr.c: Do not use SCM_DEFINE for `gsubr-apply'. Register the
590 function with scm_make_subr_opt w/ last arg of 0 so it is not
591 visible at the Scheme level. Mikael says that this is the right
592 thing because the first arg to the proc is the guts of a compiled
593 closure and shouldn't be exposed to the Scheme level.
594
ac2259fc
GB
595Tue Jan 25 17:15:47 2000 Greg J. Badros <gjb@cs.washington.edu>
596
597 * sort.c: typo in comment fixed.
598
599 * keywords.c: Added documentation.
600
601 * guardians.c: Added documentation (could be better).
602
603 * gc.c: Added docs for gc-set-debug-check-freelist.
604
605 * eq.c: Added docs for eq?, eqv? equal? abridged from R4RS.
606
607 * boolean.c: Added docs for `not', `boolean?' (by hand).
608
d928e0b4
GB
609Tue Jan 25 13:28:56 2000 Greg J. Badros <gjb@cs.washington.edu>
610
611 * random.c: Added documentation, from SLIB page:
612 http://angela.ctrl-c.liu.se/~calle/scheme/slib_toc.html
613
614Mon Jan 24 17:50:20 2000 Greg J. Badros <gjb@cs.washington.edu>
615
616 * variable.c, version.c: Added documentation, written by hand
617 since I could not find anything already written that was
618 relevant.
619
d831b039
GH
6202000-01-23 Gary Houston <ghouston@arglist.com>
621
622 * filesys.c (scm_chown): omit port/fdes support if HAVE_FCHOWN is
623 not defined (thanks to Richard Y. Kim).
624
88ec97ad
GB
625Thu Jan 20 13:00:38 2000 Greg J. Badros <gjb@cs.washington.edu>
626
627 * Makefile.in: Removed, this is auto-generated.
628
078e9092
GB
629Thu Jan 20 11:33:47 2000 Dirk Hermann <dirk@ida.ing.tu-bs.de> --applied 01/20/00 gjb
630
631 * list.c: Put some variable initialization code at the point of
632 declaration; Added a comment for list*; Formatting changes.
633
634 * load.c: use SCM_NNULLP to make sure the end of a list is not
635 reached yet.
636
e7a96050
MD
6372000-01-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
638
a177af34
MD
639 * backtrace.c (scm_display_error_message): Bugfix: Don't use
640 result of scm_list_p as C boolean.
641 (scm_display_error_message, scm_set_print_params_x): Use new
642 validation macros. (Thanks to Dirk Herrmann.)
643
d06bcb02
MD
644 * net_db.c (scm_resolv_error): Cast result from hstrerror.
645
646 * strports.c (st_end_input): Inserted parenthesis to get operator
647 grouping correct.
648
649 * list.h (scm_init_list): Removed SCM_P around prototypes.
650
651 * fports.c, list.c, numbers.c, ports.c, stime.c, symbols.c,
652 filesys.c, posix.c: Converted docstrings to ANSI C format and
e7a96050
MD
653 escaped " occurring inside string literals.
654
682eefe9
MD
655Tue Jan 18 13:21:08 2000 Mikael Djurfeldt <mdj@r11n07-s.pdc.kth.se>
656
657 * posix.c (scm_mknod): Escape " occuring inside docstring.
658
56cfe22b
MD
6592000-01-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
660
661 * alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
662 evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c,
663 keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c,
664 objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c,
665 ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c,
666 stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c,
667 symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c,
668 weaks.c: Converted docstrings to ANSI C format.
669
670 * filesys.c (scm_chmod), simpos.c (scm_system), version
671 (scm_version), vports (scm_make_soft_port): Escape " occuring
672 inside docstring.
673
fcb1720f
GB
674Mon Jan 17 11:41:22 2000 Greg J. Badros <gjb@cs.washington.edu>
675
676 * scm_validate.h: Added SCM_VALIDATE_ULONG_COPY,
677 SCM_VALIDATE_LONG_COPY
678
679 * numbers.c: Use SCM_VALIDATE_ULONG_COPY, instead of
680 SCM_VALIDATE_INUM_COPY to let bigger numbers be used. Rename a
681 couple of formal arguments (and fix their uses) to make arguments
682 match the documentation.
683
b9af3d0e
MS
6842000-01-14 <mstachow@alum.mit.edu>
685
686 * Makefile.am: Augment path when running guile-doc-snarf so
687 guile-func-name-check is found.
688
153511a7
GB
689Fri Jan 14 09:34:55 2000 Greg J. Badros <gjb@cs.washington.edu>
690
691 * scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use
692 def, not SCM_MAKINUM(def); thanks Janis Bzerins!
693
59d5245f
GB
694Wed Jan 12 00:06:53 2000 Greg J. Badros <gjb@cs.washington.edu>
695
696 * net_db.c (s_scm_inet_makeaddr): Use SCM_NUM2ULONG since that's
697 the way guile-1.3.4 worked, but #if 0 out the version using
698 SCM_VALIDATE_INUM_COPY for stricter testing.
699
95aec69f
GB
700Tue Jan 11 18:24:18 2000 Greg J. Badros <gjb@cs.washington.edu>
701
702 * guile-doc-snarf.in: Use new $fullfilename for running
703 guile-func-name-check, and put "$fullfilename" and "$filename" in
704 quotes at uses to make sure re-splitting on whitespace does not
705 occur (so filenames w/ embedded whitespace would work okay, though
706 I sure hope we never have to deal with that! :-) ). Thanks to
707 Mikael for pointing out the source_dir != build_dir was broken.
708
b7ac2837
GB
709Tue Jan 11 17:42:40 2000 Greg J. Badros <gjb@cs.washington.edu>
710
711 * scm_validate.h: Added SCM_NUM2LONG_DEF macro. Make
712 SCM_OUT_OF_RANGE use SCM_MAKINUM, not scm_long2num. Added
713 SCM_COERCE_ROSTRING macro. Added SCM_VALIDATE_NONEMPTYLIST
714 macro. Fix SCM_VALIDATE_STRINGORSUBSTR macro to not use SLOPPY
715 variants.
716
717 * ports.c (scm_port_closed_p): Validate that the arg is a PORT,
718 then return whether it's an open port (was validating that it was
719 an open port -- this was a bug I introduced back in December, but
720 my careful reading of diffs caught it).
721
722 * numbers.c: Recombine the two conditional-compilation paths for
723 all the log* primitives -- they were split based on #ifndef
724 scm_long2num; factored out a SCM_LOGOP_RETURN macro, and fixed
725 some bugs and inconsistencies in the two sets of implementations.
726 (scm_lognot) Fixed *atrocious* re-use of a SCM as an integer!
727
728 * ioext.c: Use SCM_ASSERT_RANGE in a couple places, and
729 SCM_VALIDATE_INUM_COPY once where it should've been used.
730
731 * fluids.c (scm_internal_with_fluids): Use
732 SCM_VALIDATE_LIST_COPYLEN.
733
734 * filesys.c: Use SCM_NUM2LONG instead of SCM_VALIDATE_INUM_COPY;
735 this is questionable as it relaxes type safety, but other changes
736 were useful and all SCM_NUM2LONG's should probably be
737 revisited. Use SCM_OUT_OF_RANGE, SCM_WRONG_TYPE_ARG.
738
739 * evalext.c: line-break change on 1 line.
740
741 * eval.c (nconc2last): Takes a non-empty list as its first
742 argument, not just a list.
743
744 * dynl.c: Use new SCM_COERCE_ROSTRING macro.
745
746Tue Jan 11 15:44:23 2000 Greg J. Badros <gjb@cs.washington.edu>
747
748 * dynl.c, feature.c, filesys.c, fports.c, list.c, load.c,
749 net_db.c, sort.c, stacks.c, unif.c: Use SCM_WTA, SCM_MISC_ERROR
750 where possible.
751
752 * symbols.c (scm_sysintern0): Fixed the function name in a
753 scm_misc_error invocation.
754
755 * print.c (scm_simple_format): Do not need SCM_COERCE_SUBSTR, and
756 use scm_return_first to ward off latent GC bug that Mikael caught.
757
758 * async.c: Use SCM_VALIDATE_ASYNC_COPY one place where it wasn't
759 used before but should've been.
760
d61f6b02
MD
7612000-01-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
762
763 * snarf.h (SCM_PROC1): Replaced SCM (*) (...) with
764 SCM_FUNC_CAST_ARBITRARY_ARGS.
765
88423ab1
GB
766Tue Jan 11 13:44:07 2000 Greg J. Badros <gjb@cs.washington.edu>
767
768 * guile-func-name-check.in: Added this script to statically check
769 #define FUNC_NAME, #undef FUNC_NAME in the source.
770
771 * sort.c, posix.c: Fix #undef FUNC_NAME lines to not have trailing
772 redundant comment, semicolon; caught by new guile-func-name-check
773 script.
774
775 * debug.c: Fix mistaken #define FUNC_NAME for scm_make_iloc.
776 Caught by new guile-func-name-check-script.
777
778 * Makefile.am: Added guile-func-name-check to bin_SCRIPTS
779
780 * ramap.c: Fix #if 0'd out code to be syntactically acceptable to
781 guile-func-name-check.
782
783 * guile-doc-snarf.in: Run guile-func-name-check on the file before
784 doing the snarf.
785
7f15e635
GB
786Tue Jan 11 11:31:10 2000 Greg J. Badros <gjb@cs.washington.edu>
787
788 * fports.c, ports.c, ports.h, strports.c, vports.c: Make write
789 port function take const void*, not void*.
790
bf121b59
GB
791Tue Jan 11 11:18:07 2000 Greg J. Badros <gjb@cs.washington.edu>
792
793 * scm_validate.h, chars.c, ports.c, print.c, read.c, strings.c,
794 strop.c: Use SCM_VALIDATE_ICHR, SCM_VALIDATE_ICHR_COPY instead of
795 SCM_VALIDATE_CHAR, SCM_VALIDATE_CHAR_COPY. Change made for
796 consistency with the other macros dealing with immediate
797 characters. (Similar to INT -> INUM change a week or so ago).
798
7965d98f
GB
799Tue Jan 11 10:41:46 2000 Greg J. Badros <gjb@cs.washington.edu>
800
801 * dynl.c, error.c, eval.c, feature.c, filesys.c, fports.c, list.c, load.c,
802 net_db.c, read.c, socket.c: Update error messages to use ~A for
803 %s, ~S for %S to work with new `simple-format' format and be
804 standardized better.
805
806 * print.h, print.c (scm_simple_format): Added `simple-format'
807 primitive. It's the old scm_display_error, with ARGS now a rest
808 parameter, and the destination first instead of last (and a couple
809 new capabilities inspired by `format' -- #t as destination means
810 current-output-port, #f means return the formatted text as a
811 string.
812
813 * gh.h, gh_data.c, ports.h, ports.c: Added some missing const specifications.
814
815 * backtrace.c (scm_display_error_message): Rewrote to use
816 scm_simple_format() procedure.
817
818 * __scm.h: Added commented-out #define of GUILE_DEBUG_FREELIST
819
f73d2411
MV
8202000-01-09 Marius Vollmer <mvo@zagadka.ping.de>
821
822 Finally applied the libltdl patch from Thomas Tanner, with slight
823 modifications.
824
825 * DYNAMIC-LINKING: Removed because it is obsolete.
826 * dynl.c: Use ANSI prototypes.
827 (sysdep_dynl_link): Use lt_dlopenext instead of lt_dlopen.
828 * scmconfig.h.in: Do not change, as it is automatically generated.
829
830 1999-07-25 Thomas Tanner <tanner@ffii.org>
831
832 * dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted
833 (obsolete)
834 * Makefile.am: likewise, add INCLTDL (libltdl headers) to
835 INCLUDES, set dlpreopened files in LDFLAGS, link libguile
836 against libltdl
837 * dynl.c: use libltdl if DYNAMIC_LINKING is enabled,
838 * guile.c: register preloaded modules
839 * scmconfig.h.in: remove obsolete symbols
840
38c1d3c4
GH
8412000-01-09 Gary Houston <ghouston@arglist.com>
842
843 * These changes should make it unnecessary to call tzset from
844 Scheme after modifying the TZ environment variable, even if the
845 system date facilities cache the value.
846 * stime.c (setzone, scm_localtime): added comments.
847 (tzset): don't define a noop tzset macro if HAVE_TZSET not defined.
848 (setzone): don't call tzset.
849 (restorezone): call tzset only if HAVE_TZSET is defined.
850 (scm_tzset): don't define if HAVE_TZSET not defined. Change the
851 doc string to indicate that this procedure isn't likely to do
852 anything useful.
853 (scm_localtime, scm_strftime, scm_mktime): call tzset if
854 LOCALTIME_CACHE is defined.
855
9359d657
MD
8562000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
857
858 * posix.c (scm_sync): Return SCM_UNSPECIFIED.
859
f25f761d
GH
8602000-01-09 Gary Houston <ghouston@arglist.com>
861
862 * eval.c: define scm_unbound_variable_key ('unbound-variable).
863 scm_lookupcar1: throw an error with key 'unbound-variable instead
864 of 'misc-error when an unbound variable is encountered.
865
866 * filesys.c (scm_mkdir, scm_rmdir, scm_getcwd, scm_select,
867 scm_symlink, scm_readlink, scm_lstat),
868 posix.c (scm_setpgid, scm_setsid, scm_ctermid, scm_tcgetpgrp,
869 scm_tcsetpgrp, scm_uname, scm_setlocale, scm_mknod, scm_nice,
870 scm_sync),
871 simpos.c (scm_system),
872 stime.c (scm_times, scm_strptime):
873 move the HAVE_XXX feature tests out of the procedure bodies.
874 don't use SCM_SYSMISSING.
875 scm_validate.h (SCM_SYSMISSING): removed.
876 error.h, error.c (scm_sysmissing): comment that this is deprecated.
877 see ChangeLog entry for 1999-12-28.
878
a4dd2611
GB
879Sat Jan 8 19:52:04 2000 Greg J. Badros <gjb@cs.washington.edu>
880
881 * scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo.
882
883Sat Jan 8 17:06:46 2000 Greg J. Badros <gjb@cs.washington.edu>
884
885 * backtrace.c: Fix spelling typo in a comment.
886
887 * snarf.h: Use new SCM_DOCS macro to encapsulate the non SCM_INIT
888 text. Reformatted some of the expansions.
889
5ac36451
GB
890Fri Jan 7 15:50:46 2000 Greg J. Badros <gjb@cs.washington.edu>
891
892 * scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to
893 report the position of the argument.
894
895 * error.h, error.c (scm_out_of_range_pos): Added this function to
896 take extra "pos" argument, the position number of the errant
897 argument.
898
899 * debug.c: Use SCM_OUT_OF_RANGE instead of scm_out_of_range.
900
901 * snarf.h: Use SCM_HERE and SCM_INIT as names, not SCM_NOTSNARF
902 and SCM_SNARFING. Also put the %%% in the SCM_INIT since Mikael
903 prefers that and I'm reasonably indifferent.
904
905Fri Jan 7 15:03:32 2000 Greg J. Badros <gjb@cs.washington.edu>
906
907 * snarf.h: Factor out differences between C++ and non-C++ into
908 SCM_FUNC_CAST_ARBITRARY_ARGS macro. Modify all the snarf macro
909 definitions to use SCM_NOTSNARF and SCM_SNARFING macros (like
910 Mikael's macros, below, but changed names and SCM_SNARFING no
911 longer expands to include %%% -- that must appear in the argument
912 so that the token appears at the call-site as a reminder).
913
088bb1d4
MD
9142000-01-07 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
915
916 * snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user
917 snarf macro definitions.
918
636480e6
MD
9192000-01-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
920
921 * chars.c (scm_integer_to_char): Use Greg's nice
922 SCM_VALIDATE_INUM_RANGE macro for argument checking for closer
923 adherence to R5RS.
924
7c5628e2
GB
925Thu Jan 6 11:48:49 2000 Greg J. Badros <gjb@cs.washington.edu>
926
927 * *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout.
928
2cc0f8cb
GB
929Thu Jan 6 11:22:53 2000 Greg J. Badros <gjb@cs.washington.edu>
930
931 * Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1
932 instead of GUILE_PROC.
933
934Thu Jan 6 11:21:49 2000 Greg J. Badros <gjb@cs.washington.edu>
935
936 * alist.c: Do not report mismatch errors on some uses of `tmp' (do
937 this by using SCM_ARG2 instead of `2' in the SCM_VALIDATE_CONS
938 macro call.
939
9179dcdd
GB
940Thu Jan 6 09:54:33 2000 Dirk Herrmann <dirk@ida.ing.tu-bs.de> --gjb applied
941
942 * scm_validate.h: Remove some redundant NIMP tests.
943
944 * alist.c: minimize scope of the tmp variables, and initialize
945 them when declared. The strange SCM_NIMP tests are replaced by
946 SCM_CONSP tests that more closely reflect the intended semantics.
947 However, we don't get a performance penalty here, because the
948 SCM_CONSP test was performed by the ALISTCELL test anyway. * The
949 extremely ugly use of ASRTGO macros was removed: The calls to
950 ASRTGO were not encapsulated by "#ifndef SCM_RECKLESS", but got a
951 label parameter that only exists when SCM_RECKLESS is not defined.
952 This works, because ASRTGO itself is defined in a way that it only
953 makes use of the label parameter if SCM_RECKLESS is not defined
954 (shudder!). Does guile make at all use of the possibility to
955 define SCM_RECKLESS? * Codesize is likely to be reduced, since
956 instead of two calls to SCM_ASSERT performed by the ALISTCELL test
957 we now only get one test.
958
959 * list.c: Use SCM_NNULLP, not SCM_NIMP as appropriate. Also use
960 SCM_NULLP instead of SCM_IMP. Drop use of "register" keyword on
961 some variables in `list?'. Fix `reverse' and `reverse!'
962 primitives to handle improper lists better.
963
15b33280
GB
964Wed Jan 5 11:24:53 2000 Greg J. Badros <gjb@cs.washington.edu>
965
966 * *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_*
967 macros and SCM_DEFINE macros to match GNU coding standards.
968
ca8cd130
GB
969Wed Jan 5 11:04:24 2000 Greg J. Badros <gjb@cs.washington.edu>
970
971 * *.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.
972
fb764465
GB
973Wed Jan 5 10:59:06 2000 Greg J. Badros <gjb@cs.washington.edu>
974
975 * *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for
976 better consistency with the names of other SCM_VALIDATE_ macros
977 and better conformance to guile naming policy.
978
979Wed Jan 5 10:50:39 2000 Greg J. Badros <gjb@cs.washington.edu>
980
981 * ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a
982 SCM_VALIDATE instead of 1 to avoid a check on the argument (since
983 it's not the actual name of the formal).
1e484823
GB
984
985 * guile-snarf.awk.in: Do argument/number mismatch checking and
986 print warnings in an Emacs compile-mode parseable format.
987
988 * struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/
989 SCM_OUTOFRANGE as 3rd argument.
990
991 * random.c: Fix argument/number mismatch (that I introduced :-( ).
992
993 * __scm.h: Do not #define SCM_ARG* when snarfing;
994 lets us distinguish between 1 and SCM_ARG1 when snarfing as only
995 the former (using the number) requires the argument to match the
996 formal in the current argument snarfing check.
997
998 * snarf.h: Give new definition of SCM_ASSERT when in
999 snarfing mode to output a lexically-identifiable sequence that the
1000 guile-snarf.awk script uses to verify argument/position matching.
1001
1002 * ramap.c: Remove extraneous #undef FUNC_NAME.
1003
53fc4636
GB
1004Wed Jan 5 08:36:38 2000 Greg J. Badros <gjb@cs.washington.edu>
1005
1006 * guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the
1007 current version of the same functionality; it writes the .x output
1008 to stdout instead of directly into the file.
1009
1010Wed Jan 5 08:15:04 2000 Greg J. Badros <gjb@cs.washington.edu>
1011
1012 * unif.c, symbols.c, strings.c, stacks.c, random.c, print.c,
1013 posix.c: Eliminated a bunch of SCM_NIMP(..)s that are now
1014 redundant with the safer macros. Patch from Dirk Hermann applied
1015 by hand. Thanks Dirk!
1016
1017 * scm_validate.h: Added SCM_VALIDATE_VECTOR_OR_DVECTOR for some
1018 uses in random.c.
1019
1020 * ramap.c: whitespace change.
1021
3b5345d9
GB
1022Tue Jan 4 14:21:35 2000 Greg J. Badros <gjb@cs.washington.edu>
1023
1024 * options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP
1025 removals from Dirk Hermann.
1026
1027 * alist.c: Rename formals to match the parameter names in the
1028 documentation, updates to documentation. Thanks Dirk Hermann!
1029
169aec65
MD
10302000-01-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1031
db62436e
MD
1032 * eval.c (SCM_CEVAL): Reverse order of
1033 scm_stack_checking_enabled_p and SCM_STACK_OVERFLOW_P
1034 (Thanks to Brad Knotwell.)
169aec65 1035
da43d822
GB
1036Mon Jan 3 08:30:02 2000 Greg Harvey <Greg.Harvey@thezone.net> (applied --01/03/00 gjb)
1037
1038 * gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly
1039 allocated cell.
1040
1041 * pairs.h: Added a comment about the need for the SCM_SETCAR in
1042 SCM_NEWCELL macro.
1043
1044Mon Jan 3 08:25:19 2000 Greg J. Badros <gjb@cs.washington.edu>
1045
1046 * dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More
1047 SCM_NIMP tests that were redundant are now eliminated. Patches
1048 from Dirk Hermann applied by hand.
1049
339999c7 1050The ChangeLog continues in the file: "ChangeLog-1996-1999"