Change type of member 'stream' in scm_port from SCM to scm_bits_t.
[bpt/guile.git] / libguile / ChangeLog
1 2000-03-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
2
3 * ports.h (scm_port): Change type of stream member to scm_bits_t.
4
5 * gdbint.c (unmark_port, remark_port), ports.c (scm_markstream),
6 strports.c (st_resize_port, scm_mkstrport), vports (sf_flush,
7 sf_write, sf_fill_input, sf_close, scm_make_soft_port): Since
8 streams are now of type scm_bits_t, SCM streams have to be
9 unpacked/packed.
10
11 * ports.h (SCM_SETPTAB_ENTRY, SCM_SETSTREAM): Cast input to
12 scm_bits_t.
13
14 2000-03-31 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
15
16 * coop-defs.h (struct coop_t): Added `sto'-field again because of
17 binary compatibility---let's remove it next time we alter some
18 major structure.
19
20 * coop.c (coop_quitting_p, coop_cond_create, coop_mutex_create,
21 coop_mother, coop_child): New variables.
22 (mother): New function.
23 (coop_create): New thread spawning mechanism which uses a "mother
24 thread". The "dummy" pthreads aren't healthy enough to give birth
25 to new threads since Linux threads thinks they are asleep.
26
27 * coop-defs.h (struct coop_t): Removed dummy_mutex.
28
29 * coop-defs.h, coop-threads.c (struct coop_t): Eliminate
30 `sto'-field when GUILE_PTHREAD_COMPAT is enabled.
31
32 2000-03-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
33
34 * arbiters.c (scm_make_arbiter), async.c (scm_async), dynwind.c
35 (scm_internal_dynamic_wind): Smob data is always of type
36 scm_bits_t.
37
38 * arbiters.c (SCM_ARB_LOCKED, SCM_LOCK_ARB, SCM_UNLOCK_ARB):
39 Access the locking information in cell entry 0 with
40 SCM_{SET_}?CELL_WORD_0 instead of SCM_*CAR.
41
42 * async.c (scm_run_asyncs): Use SCM_NULLP to test for the empty
43 list.
44
45 * dynwind.c (scm_dowinds): Use SCM_EQ_P to compare SCM values.
46
47 * ports.h (SCM_PTAB_ENTRY, SCM_SETPTAB_ENTRY): Access the ptab
48 entry data using SCM_{SET_}?CELL_WORD_1 instead of SCM_{SET}?CDR.
49
50 2000-03-29 Dirk Herrmann <D.Herrmann@tu-bs.de>
51
52 * alist.c (scm_sloppy_assq, scm_assq), eq.c (scm_eq_p, scm_eqv_p,
53 scm_equal_p), list.c (scm_ilength, scm_last_pair, scm_reverse,
54 scm_sloppy_memq, scm_delq_x, scm_delq1_x), tags.h (SCM_UNBNDP):
55 Don't use C operators == and != to compare SCM values, use
56 SCM_EQ_P instead.
57
58 * boolean.c (scm_boolean_p): Use SCM_BOOLP to determine whether a
59 SCM value is equal to #t or #f.
60
61 * eq.c (scm_eqv_p, scm_equal_p): Don't use SCM_CAR to access the
62 cell type entry of non immediate objects of unknown type. Use
63 SCM_CELL_TYPE instead.
64
65 * gh_data.c (gh_scm2bool, gh_module_lookup), list.c
66 (scm_sloppy_memv, scm_sloppy_member, scm_delv_x, scm_delete_x,
67 scm_delv1_x, scm_delete1_x), scmsigs.c (scm_sigaction): Use
68 SCM_FALSEP and SCM_TRUE_P to compare SCM values against #f and
69 #t.
70
71 * list.c (scm_listify): Use SCM_UNBNDP to test for an unbound
72 scheme value.
73
74 2000-03-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
75
76 * coop-threads.c (scm_call_with_new_thread, scm_spawn_thread,
77 scm_make_mutex, scm_make_condition_variable): Cast data to
78 scm_bits_t in SCM_SET_CELL_WORD and SCM_NEWSMOB macros.
79
80 * coop.c (coop_create): Set `specific' field, not `data' to NULL.
81
82 2000-03-29 Dirk Herrmann <D.Herrmann@tu-bs.de>
83
84 * smob.h (SCM_NEWSMOB, SCM_NEWSMOB2, SCM_NEWSMOB3, SCM_SMOB_DATA,
85 SCM_SET_SMOB_DATA, SCM_TC2SMOBNUM, SCM_SMOBNUM): To access smob
86 data, use SCM_{SET_}?CELL_TYPE or SCM_{SET_}?WORD_[1-3].
87
88 Note that this implies that smob data has always to be passed as
89 values of type scm_bits_t.
90
91 2000-03-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
92
93 * threads.c (scm_init_threads): Pass 0 size to scm_make_smob_type
94 for scm_tc16_thread. As the current COOP threads are written, GC
95 is not supposed to manage storage for threads.
96
97 * error.c (scm_error): Don't try to throw an error if
98 scm_gc_heap_lock is true.
99
100 * coop.c (coop_finish): New function. Called at exit.
101 (coop_aborthelp): Free thread structures when threads die.
102 Finished LinuxThreads compatibility support => COOP threads now
103 mesh with LinuxThreads.
104
105 * coop-threads.c (scm_call_with_new_thread, scm_spawn_thread):
106 Changed SETCDR --> SET_CELL_WORD_1.
107
108 * coop-threads.c (scheme_launch_thread): Set word 1 of handle to 0
109 when thread dies.
110
111 2000-03-29 Dirk Herrmann <D.Herrmann@tu-bs.de>
112
113 * boolean.h (SCM_TRUE_P): New macro.
114
115 * boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOLP), pairs.h
116 (SCM_NULLP, SCM_NNULLP): Use SCM_EQ_P to compare SCM values.
117
118 2000-03-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
119
120 * continuations.h (SCM_CONTREGS, SCM_SET_CONTREGS): New macros to
121 access continuation data.
122
123 (SCM_SETJMPBUF): Deprecated. Use SCM_SET_CONTREGS instead.
124
125 (SCM_JMPBUF, SCM_DYNENV, SCM_THROW_VALUE, SCM_BASE, SCM_SEQ,
126 SCM_DFRAME): Use SCM_CONTREGS instead of SCM_CHARS to access
127 continuation data.
128
129 * continuations.c (scm_make_cont), init.c (start_stack),
130 root.c (scm_internal_cwdr): Use SCM_SET_CONTREGS instead of
131 SCM_SETJMPBUF.
132
133 2000-03-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
134
135 * symbols.h (SCM_LENGTH, SCM_SETLENGTH): Access the length field
136 of strings and symbols by using SCM_{SET_}?CELL_WORD_0.
137
138 (SCM_CHARS, SCM_UCHARS, SCM_SETCHARS): Use SCM_{SET_}?CELL_WORD_1
139 to access the char * field of strings and symbols.
140
141 2000-03-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
142
143 * gc.h (SCM_NEWCELL, SCM_NEWCELL2): Use SCM_SET_CELL_TYPE to set
144 the type entry of a new cell. Added a comment about things to
145 remember when updating the list of free cells.
146
147 (SCM_FREEP, SCM_MARKEDP): Use SCM_CELL_TYPE to access the type
148 entry of a cell.
149
150 2000-03-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
151
152 * pairs.h (SCM_CAR, SCM_CDR, SCM_SETCAR, SCM_SETCDR): Use
153 SCM_CELL_OBJECT and SCM_SET_CELL_OBJECT. This change implies that
154 with strict type checking enabled these macros will only work if
155 given valid SCM parameters.
156
157 (SCM_GCCDR): Moved to tags.h.
158
159 * tags.h (SCM_GCCDR): Moved here from pairs.h.
160
161 2000-03-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
162
163 * tags.h (SCM2PTR, PTR2SCM): Moved to gc.h.
164
165 * pairs.h (scm_cell, SCM_CELLPTR, SCM_CELL_WORD*, SCM_CELL_OBJECT*,
166 SCM_SET_CELL_WORD*, SCM_SET_CELL_OBJECT*, SCM_CELL_TYPE,
167 SCM_SET_CELL_TYPE, SCM_PTR_LT, SCM_PTR_MASK, SCM_PTR_GT,
168 SCM_PTR_LE, SCM_PTR_GE, SCM_CELL_WORD_LOC, SCM_NEWCELL,
169 SCM_NEWCELL2): Moved to gc.h.
170
171 (SCM_CARLOC, SCM_CDRLOC, SCM_SETAND_CAR, SCM_SETAND_CDR,
172 SCM_SETOR_CAR, SCM_SETOR_CDR): Moved to gc.h. These names should
173 be changed, though, since the macros are not only pair related.
174
175 (SCMPTR): Deleted.
176
177 * gc.h (SCM2PTR, PTR2SCM, scm_cell, SCM_CELLPTR, SCM_CELL_WORD*,
178 SCM_CELL_OBJECT*, SCM_SET_CELL_WORD*, SCM_SET_CELL_OBJECT*,
179 SCM_CELL_TYPE, SCM_SET_CELL_TYPE, SCM_PTR_LT, SCM_PTR_MASK,
180 SCM_PTR_GT, SCM_PTR_LE, SCM_PTR_GE, SCM_CELL_WORD_LOC,
181 SCM_NEWCELL, SCM_NEWCELL2, SCM_CARLOC, SCM_CDRLOC, SCM_SETAND_CAR,
182 SCM_SETAND_CDR, SCM_SETOR_CAR, SCM_SETOR_CDR): Moved here from
183 tags.h and pairs.h.
184
185 2000-03-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
186
187 * tags.h (SCM_STRICT_TYPING): New macro that, if defined,
188 activates strict compile time type checking for variables of
189 type SCM.
190 (SCM, SCM_PACK, SCM_UNPACK): Define according to whether
191 SCM_STRICT_TYPING or SCM_VOIDP_TEST are defined.
192 (SCM_EQ_P): Defined as a macro equivalent for eq?.
193
194 2000-03-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
195
196 * tags.h (SCM_POINTERS_MUNGED): Removed.
197
198 * gc.c (scm_gc_sweep, init_heap_seg): Removed use of
199 SCM_POINTERS_MUNGED, thus fixing some illegal casts to SCM.
200
201 2000-03-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
202
203 * pairs.h (SCM_CELL_OBJECT, SCM_CELL_OBJECT_[0-3],
204 SCM_SET_CELL_OBJECT, SCM_SET_CELL_OBJECT_[0-3], SCM_CELL_TYPE,
205 SCM_SET_CELL_TYPE): Added a set of low level macros for accessing
206 cell entries.
207 (SCM_CELL_WORD_[0-3]): Renamed from the SCM_CELL_WORD[0-3].
208
209 * procs.h, procs.c: Instead of SCM_{SET_}?CELL_WORD[12], use the
210 newly introduced SCM_{SET_}?CELL_OBJECT_[12] macros.
211
212 2000-03-23 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
213
214 * tags.h: Disabled definition of SCM_VOIDP_TEST.
215
216 Defining SCM as void * introduces problems which haven't been
217 handled yet. Developers who work with these issues can enable it
218 in their working copies.
219
220 Disabling this definition exposes a set of newly introduced and
221 older misuses of types which causes warning messages during
222 compilation. We'll fix this successively.
223
224 * gc.c (scm_mark_locations): Changed * (SCM **) X --> * (SCM *) X
225 in order to obtain a value of type SCM.
226 (scm_cellp): Updated with new changes to scm_mark_locations.
227
228 * continuations.h (SCM_SETJMPBUF): Cast second arg into SCM.
229
230 * continuations.c (scm_make_cont): Removed cast of size_t into
231 long.
232
233 * symbols.h (SCM_SETCHARS): Cast second arg into SCM.
234
235 2000-03-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
236
237 * numbers.h (SCM_SETNUMDIGS): Use SCM_BIGSIZEFIELD macro for
238 shifting, not constant. Thanks to Dale P. Smith.
239
240 * numbers.c (scm_sum, scm_difference): Don't test a SCM value
241 for being less than zero. Decode it to a C value first. Again,
242 thank you Dale.
243
244 2000-03-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
245
246 * numbers.h, ramap.c, struct.h, vectors.h: Don't use SCM2PTR for
247 non scheme values. If raw data is stored in SCM variables, it has
248 to be accessed using SCM_UNPACK until a better solution is found.
249
250 2000-03-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
251
252 * tags.h (SCM_ECONSP, SCM_NECONSP): More corrections of
253 pointer-arithmetic induced by the SCM_PACK/UNPACK change.
254
255 * print.c (scm_iprin1): SCM_PACK/UNPACK corrections.
256
257 * gc.c (scm_gc_sweep): SCM_PACK/UNPACK corrections.
258
259 * eval.c (SCM_CEVAL, scm_unmemocar): SCM_PACK/UNPACK corrections.
260
261 * dynwind.c (scm_swap_bindings): SCM_PACK/UNPACK corrections.
262
263 * async.c, __scm.h: Removed lots of the old async click logic. It
264 is possible to reinsert it by defining GUILE_OLD_ASYNC_CLICK in
265 __scm.h. Let's try this out and dump the old code after the
266 threads reorganization.
267 (set-tick-rate, set-switch-rate): Conditionally removed.
268
269 2000-03-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
270
271 * gc.c (scm_gc_mark): Bugfix 1: The recent SCM_PACK/UNPACK change
272 made SCM values into pointers. This turned an arithmetic
273 computation of the address of the vcell into a pointer-arithmetic
274 one, thereby screwing up marking of structs.
275 Bugfix 2: Removed incompletely introduced loop variable `j' used
276 when protecting the tail array of a struct.
277
278 2000-03-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
279
280 * struct.h (SCM_STRUCT_DATA): Don't cast SCM values to pointers.
281
282 2000-03-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
283
284 * symbols.h, symbols.c (scm_strhash): Declare the string
285 parameter as constant, since it is not modified.
286
287 * symbols.c (scm_intern_obarray_soft,
288 scm_sysintern0_no_module_lookup): Can now pass constant strings
289 to scm_strhash without need for casting.
290
291 2000-03-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
292
293 * vectors.h (SCM_VELTS, SCM_VELTS_AS_STACKITEMS): Don't cast SCM
294 values to pointers. Use SCM2PTR instead.
295
296 2000-03-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
297
298 * async.c (scm_set_tick_rate, scm_set_switch_rate): Don't unpack
299 results of SCM_INUM.
300
301 2000-03-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
302
303 * init.c (scm_boot_guile_1): Renamed GUILE_GC_TRIGGER_1 -->
304 GUILE_MIN_YIELD_1, GUILE_GC_TRIGGER_2 --> GUILE_MIN_YIELD_2.
305 GUILE_MIN_YIELD_X now take *positive* fractions of heap size.
306
307 * gc.c, gc.h (SCM_MIN_YIELD_1, SCM_MIN_YIELD_2,
308 min_yield_fraction, min_yield, adjust_min_yield): Renamed from
309 SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2, gc_trigger_fraction,
310 gc_trigger, adjust_gc_trigger.
311
312 * gc.c (alloc_some_heap): Further improvement of minimal heap size
313 prediction.
314 (SCM_MAX): New macro.
315 (scm_freelist_t): New field: collected_1. Previous amount of
316 collected cells.
317 (gc_sweep_freelist_finish): Trigger based on two last values of
318 freelist->collected to avoid unnecessary allocation due to
319 temporary peaks.
320 (SCM_INIT_HEAP_SIZE_1, SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2):
321 Adjusted to 45000 cells, 40% and 40%. Gives quick startup
322 without extra heap allocation.
323
324 2000-03-20 Dirk Herrmann <D.Herrmann@tu-bs.de>
325
326 * numbers.h (SCM_MAKINUM): The parameter to SCM_MAKINUM should
327 already be a C value. No need to unpack it.
328
329 * numbers.c (scm_long_long2num): Cast the parameter to scm_bits_t
330 if we know it fits into an inum.
331
332 * ramap.c (ramap_rp): An scm_tc7_[ui]vect object does point to a
333 field of long values. In contrast, SCM_VELTS accesses a field of
334 SCM values.
335
336 2000-03-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
337
338 * gc.c (scm_gc_stats): Inserted explanation of local_scm_mtrigger
339 etc.
340 (scm_gc_yield_1): New variable: Holds previous yield. Used to
341 make better judgements.
342 (gc_sweep_freelist_finish): Inserted explanation of use of
343 gc_trigger.
344
345 * print.h, stacks.h, options.c, options.h: Changed C++
346 commentaries to C.
347
348 2000-03-20 Dirk Herrmann <D.Herrmann@tu-bs.de>
349
350 * tags.h (SCM2PTR, PTR2SCM): Use SCM_PACK / SCM_UNPACK correctly.
351
352 * numbers.h (SCM_INUMP, SCM_MAKINUM, SCM_INUM0, SCM_COMPLEX_REAL,
353 SCM_COMPLEX_IMAG, SCM_NUMP, SCM_BDIGITS): Use SCM_PACK /
354 SCM_UNPACK / SCM2PTR correctly.
355
356 2000-03-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
357
358 * gc.c (adjust_gc_trigger): Improved documentation.
359 (alloc_some_heap): Since gc_trigger is used against
360 freelist->collected, this is the value which should be used to
361 predict minimum growth.
362
363 2000-03-20 Dirk Herrmann <D.Herrmann@tu-bs.de>
364
365 * eval.h: Fix mixup of packed/unpacked SCM values. (Thanks
366 Thien-Thi Nguyen for the patch.)
367
368 2000-03-20 Dirk Herrmann <D.Herrmann@tu-bs.de>
369
370 * numbers.c (scm_ash): Fixed typing problems with the second
371 parameter and added some documentation. (Thanks Thien-Thi Nguyen
372 for indicating the problem.)
373
374 2000-03-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
375
376 * gc.c, gc.h (scm_gc_yield): New variable.
377 (adjust_gc_trigger): Use scm_gc_yield.
378 (alloc_some_heap): Use scm_gc_yield instead of
379 scm_gc_cells_collected.
380
381 * coop-threads.c: Addd #include "root.h", #include "strings.h".
382
383 * debug.c: Added #include "root.h". (Thanks to Thien-Thi Nguyen.)
384
385 * gc.c (scm_gc_for_newcell, adjust_gc_trigger): Improved GC
386 trigger adjustmeant: Take yield (freed cells) for all freelists
387 into account.
388 (SCM_INIT_HEAP_SIZE_1, SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2): Tuned
389 to 50000 cell heap with 45% trigger.
390 (scm_gc_cells_collected): Reintroduced.
391 (SCM_HEAP_SIZE): New macro.
392 (scm_gc_sweep): Reintroduced correct computation of
393 scm_cells_allocated.
394 (scm_freelist_t): Corrected commentary for field `cluster_size':
395 Clustersize counts objects, not cells; New member
396 `clusters_allocated'.
397
398 2000-03-19 Michael Livshin <mlivshin@bigfoot.com>
399
400 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
401 indentation style.
402
403 2000-03-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
404
405 * threads.h: Added #include "libguile/throw.h". (Thanks to
406 Thien-Thi Nguyen.)
407
408 2000-03-18 Michael Livshin <mlivshin@bigfoot.com>
409
410 * tags.h: (SCM_DOUBLE_CELLP, SCM_NDOUBLE_CELLP): new macros.
411
412 * gc.h: (typedef struct scm_freelist_t) remove from here.
413
414 * gc.c: (CELL_UP, CELL_DN) make these macros take additional
415 parameter (the span).
416 (CLUSTER_SIZE_IN_BYTES, ALIGNMENT_SLACK) new macros.
417 (typedef struct scm_freelist_t) move here from gc.h, it had no
418 business being externally visible.
419 (typedef struct scm_heap_seg_data_t) renamed from
420 scm_heap_seg_data, to be style-compliant.
421 (scm_mark_locations) if the possible pointer points to a
422 multy-cell, check that it's properly aligned.
423 (init_heap_seg) alighn multy-cells properly, work with the
424 assumption that the segment size divides cleanly by cluster size
425 (so that there's no spill).
426 (round_to_cluster_size) new function.
427 (alloc_some_heap, make_initial_segment) use round_to_cluster_size
428 to satisfy the new init_heap_seg invariant.
429
430 2000-03-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
431
432 * _scm.h: Don't include async.h everywhere...
433
434 * eq.c eval.c iselect.c: ... only include it here.
435
436 2000-03-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
437
438 * _scm.h: Don't include root.h everywhere...
439
440 * async.c continuations.c eq.c eval.c evalext.c feature.c gc.c
441 gdbint.c gsubr.c ioext.c keywords.c lang.c load.c macros.c
442 numbers.c objprop.c ports.c print.c procprop.c ramap.c read.c
443 srcprop.c stackchk.c stacks.c strports.c symbols.c unif.c
444 variable.c vectors.c vports.c: ... only include it here.
445
446 2000-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
447
448 * _scm.h: Don't include strings.h everywhere...
449
450 * backtrace.c dynl.c error.c feature.c filesys.c fports.c gc.c
451 gdbint.c ioext.c load.c net_db.c numbers.c objects.c options.c
452 ports.c posix.c print.c procs.c random.c read.c regex-posix.c
453 simpos.c socket.c stacks.c stime.c strop.c strports.c struct.c
454 symbols.c unif.c vectors.c version.c vports.c: ... only include it
455 here.
456
457 2000-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
458
459 * _scm.h: Don't include ports.h everywhere...
460
461 * arbiters.c backtrace.c debug.c dynl.c dynwind.c eval.c feature.c
462 fluids.c gc.c gdbint.c guardians.c hash.c keywords.c mallocs.c
463 numbers.c objects.c print.c read.c root.c smob.c srcprop.c
464 stackchk.c strports.c struct.c throw.c variable.c: ... only
465 include it here.
466
467 2000-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
468
469 * _scm.h: Don't include vectors.h everywhere...
470
471 * eq.c eval.c filesys.c gc.c gsubr.c guardians.c hash.c hashtab.c
472 keywords.c net_db.c numbers.c objects.c posix.c print.c procprop.c
473 procs.c ramap.c random.c read.c scmsigs.c socket.c sort.c stime.c
474 strports.c symbols.c unif.c vports.c weaks.c: ... only include it
475 here.
476
477 2000-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
478
479 * genio.h: removed. (Only content was '/* delete me */'.)
480
481 * Makefile.am arbiters.c backtrace.c debug.c dynl.c dynwind.c
482 error.c filesys.c fluids.c gc.c gsubr.c guardians.c keywords.c
483 libguile.h mallocs.c numbers.c print.c random.c read.c root.c
484 srcprop.c stackchk.c struct.c threads.c throw.c variable.c:
485 Removed reference to genio.h
486
487 2000-03-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
488
489 * gc.c, gc.h: Cleanup of the change of 2000-03-15.
490 Cluster sizes are now independent of GC trigger values.
491 GUILE_GC_TRIGGER_n can now specify a relative trigger value:
492 A negative integer gives fraction of total heap size in percent.
493 (SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2): Default values set to -40.
494
495 * init.c (scm_boot_guile_1): Introduced new variable
496 GUILE_MAX_SEGMENT_SIZE; New environment variable names:
497 GUILE_INIT_SEGMENT_SIZE_1, GUILE_GC_TRIGGER_1,
498 GUILE_INIT_SEGMENT_SIZE_2, GUILE_GC_TRIGGER_2
499
500 2000-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
501
502 * __scm.h (GC_FREE_SEGMENTS): Disable this until we have made
503 freeing of segment work with the new GC scheme. (Thanks to
504 Michael Livshin.) Oops, also happened to make GUILE_NEW_GC_SCHEME
505 the default, but I'll let this change stay in CVS Guile since this
506 code is not expected to contain serious bugs.
507
508 2000-03-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
509
510 * gc.c, gc.h (scm_map_free_list): Define also if GUILE_DEBUG is
511 defined.
512 (scm_free_list_length): New procedure (GUILE_DEBUG).
513 Fixed a small but serious bug introduced by the previous change.
514
515 * gc.c (scm_gc_sweep): Moved variable n_objects to inner sweep
516 loop and declare as register.
517
518 * gc.c (scm_gc_sweep): Sigh... forgot to clear private freelists
519 after GC.
520
521 Wed Mar 15 08:27:04 2000 Greg J. Badros <gjb@cs.washington.edu>
522
523 * fluids.c: Docstring patch from Keisuke Nishida. Some
524 reindentation, too, and a couple formals renamed. Should
525 fluid-set! return UNSPECIFIED instead of a value?
526
527 Wed Mar 15 08:24:58 2000 Greg J. Badros <gjb@cs.washington.edu>
528
529 * Makefile.am: Separate out DOT_X_FILES and DOT_DOC_FILES, and
530 generate the latter from the concrete listing of the former. Then
531 make guile-procedures.txt depend on DOT_DOC_FILES instead of
532 *.doc, so that rebuilding it works.
533
534 Wed Mar 15 08:12:14 2000 Greg J. Badros <gjb@cs.washington.edu>
535
536 * libguile.h: Include libguile/validate.h. Thanks Keisuke Nishida!
537
538 * guile-snarf.awk.in: Replace docstring line-ending \n" and \n\n"
539 with nothing and \n, respectively. Thanks Keisuke Nishida for
540 noticing this problem.
541
542 2000-03-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
543
544 * __scm.h (GUILE_NEW_GC_SCHEME): Define this if you want to test a
545 new way of allocating heap. It makes Guile fast, but still
546 contains bugs.
547
548 * gc.c, gc.h, pairs.h, init.c: Implementation of a new way of
549 allocating heap. The basic idea is to trigger GC every Nth
550 allocated cell and grow heap when free list runs out. The scheme
551 has been extended so that GC isn't triggered until all remaining
552 cells are used. The implementation is also prepared for
553 development in the direction of POSIX threads.
554
555 * gc.c (SCM_EXPHEAP): In order to grow by a factor of 1.5,
556 SCM_EXPHEAP should return half of the heap size.
557
558 2000-03-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
559
560 The following change to init.c is only enabled if Guile was
561 configured with --enable-guile-debug.
562
563 * init.c (scm_i_getenv_int): New function.
564 (scm_boot_guile_1): Use the environment variables
565 GUILE_INIT_HEAP_SIZE, GUILE_INIT_HEAP_SIZE2 to select heap size if
566 they exist. (This may be replaced by a Scheme level mechanism in
567 the future.)
568
569 * objprop.c (s_scm_set_object_property_x): Use scm_assq instead of
570 scm_assoc. (Thanks to Keisuke Nishida.)
571
572 2000-03-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
573
574 * eval.c, lang.c, lang.h (scm_lisp_nil, scm_lisp_t): Renamed from
575 scm_nil, scm_t. (Thanks to Keisuke Nishida.)
576
577 2000-03-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
578
579 * init.c (scm_boot_guile_1): Use same initial segment size for
580 1-word and 2-word segments. Having the smaller size causes Guile
581 to GC too often. Obviously something needs to be done to allow
582 for a smaller 2-word segment without this to happen. (The amount
583 of heap for each type should be automatically adapted to the
584 application somehow.)
585
586 [Almost all of these changes should be documented in the NEWS
587 file.]
588
589 * gc.h (scm_freelist_t): New type.
590
591 * pairs.h (SCM_NEWCELL, SCM_NEWCELL2): Use new style freelists.
592
593 * gc.c (SCM_INIT_HEAP_SIZE): Changed from 32768 --> 40000 so that
594 all of Guile basics fits into one segment and there suitable room
595 for work.
596 (SCM_EXPHEAP): Now takes an argument. Grow by a factor of 1.5
597 instead of 2.
598 (scm_freelist, scm_freelist2): Now of type scm_freelist_t.
599 Freelists now contains information about object span, cells
600 collected and amount of cells in heap segments belonging to the
601 list.
602 (scm_heap_size, scm_gc_cells_collected): Removed.
603
604 * init.c (scm_boot_guile_1): Make 2-word segment 8K (512 cells).
605
606 * Makefile.am (libguile_la_LDFLAGS): Bumped library version
607 number.
608
609 * __scm.h eq.c, eval.c, gc.c, gc.h, gh_data, hash.c, numbers.c,
610 numbers.h, objects.c, ramap.c, random.c, unif.c, unif.h: Extensive
611 rewrite of handling of real and complex numbers.
612 (SCM_FLOATS, SCM_SINGLES): These #ifdef conditionals have been
613 removed along with the support for floats. (Float vectors are
614 still supported.)
615
616 * tags.h (scm_tcs_bignums): Removed.
617 (scm_tc16_bigpos, scm_tc16_bigneg): Replaced by scm_tc16_big.
618 Use SCM_BIGSIGN(x) to test for sign!
619 (scm_tc16_big): The new bignum type.
620 (SCM_REAL_PART, SCM_IMAG_PART): Removed.
621
622 * numbers.h (SCM_BIGSIGN): Sign moved to bit 16.
623 (scm_makdbl): Deprecated.
624 (SCM_NEWREAL, SCM_NEWCOMPLEX): New macros.
625 (SCM_SINGP): Deprecated.
626 (SCM_FLO): Removed.
627 (SCM_INEXP, SCM_CPLXP): Deprecated.
628 (SCM_INEXACTP, SCM_COMPLEXP): New macros.
629 (SCM_COMPLEX_REAL, SCM_COMPLEX_IMAG): Renamed from
630 SCM_REAL, SCM_IMAG (and now only valid for complex numbers).
631 (SCM_REAL, SCM_IMAG): New, *deprecated*, selectors which work both
632 for doubles and complex numbers.
633 (SCM_REAL_VALUE): New selector for doubles.
634 (scm_double_t, scm_complex_t): New types.
635 (scm_dbl): Removed.
636
637 * numbers.c (scm_floprint, scm_floequal): Removed.
638 (scm_print_real, scm_print_complex, scm_real_equalp,
639 scm_complex_equalp): New functions.
640
641 * unif.c (scm_makflo): Removed.
642
643 * smob.h (SCM_SMOB_PREDICATE): New macro.
644 (SCM_NEWSMOB2, SCM_RETURN_NEWSMOB2, SCM_NEWSMOB3,
645 SCM_RETURN_NEWSMOB3): New macros.
646
647 1999-11-21 Michael Livshin <mlivshin@bigfoot.com>
648
649 The following changes implement primitive support for double cells
650 (i.e. four-word cells) and change the representation of some
651 things to multi-cells instead of cons+malloc. (Applied and
652 modified by mdj.)
653
654 * pairs.h (SCM_NEWCELL2): double-cell variants of SCM_NEWCELL.
655 (SCM_CELL_WORD, SCM_CELL_WORDLOC, SCM_SET_CELL_WORD): primitive
656 multi-cell access macros (used by the ones below).
657 (SCM_CELL_WORD[0-3], SCM_SET_CELL_WORD[0-3]): multi-cell access
658 macros.
659
660 * gc.c (scm_freelist2): multi-cell freelists.
661 (inner_map_free_list): map_free_list, parameterized on ncells.
662 "nn cells in segment mm" was misleading for ncells > 1; changed to
663 "objects". still print cells too, though.
664 (scm_map_free_list): rewritten using inner_map_free_list.
665 (scm_check_freelist): get freelist as parameter, since now we have
666 more than one.
667 (scm_debug_newcell2): multi-cell variants of
668 scm_debug_newcell.
669 (scm_gc_for_newcell): take ncells and freelist pointer as
670 parameters.
671 (scm_gc_mark): add case for tc7_pws (procedures with setters are
672 now double cells).
673 (scm_gc_sweep): don't free the float data, since it's not malloced
674 anymore.
675 (init_heap_seg): didn't understand what n_new_objects stood for,
676 so changed to n_new_cells.
677 (make_initial_segment): new function, makes an initial segment
678 according to given ncells.
679 (scm_init_storage): call make_initial_segment, for ncells={1,2,3}.
680
681 * numbers.c (scm_makdbl): no malloc'ing needed, so the
682 {DEFER,ALLOW}_INTS thing removed.
683
684 * numbers.h (struct scm_dbl): changed to represent a double cell,
685 with the number in the second half.
686
687 * dynwind.c: changed the wind-guards representation to double
688 cell.
689
690 * procs.c, procs.h: changed the procedure-with-setter representation
691 to double cell.
692
693 * async.c, async.h: made async representation a double cell.
694
695 * dynl.c: made dynamic_obj representation a double cell.
696
697 2000-03-13 Gary Houston <ghouston@arglist.com>
698
699 * ports.c (flush_void_port): renamed to flush_port_default.
700 (end_input_void_port): renamed to end_input_default.
701
702 * init.c (scm_standard_stream_to_port): create a void port instead
703 of opening /dev/null if the standard file descriptors are bad.
704 advantages: no portability problems, doesn't waste a file descriptor,
705 simplifies the code (thanks to Marius for the idea).
706
707 * vports.c (s_scm_make_soft_port): call scm_port_non_buffer.
708
709 * void ports: make reading from a void port give EOF instead of
710 segv:
711 * ports.c (s_scm_sys_make_void_port): modified docstring.
712 (fill_input_void_port): new proc.
713 (scm_init_ports): set up fill_input_void_port.
714 * ports.c (scm_port_non_buffer): new proc.
715 (scm_void_port): call scm_port_non_buffer.
716
717 * fports.c (scm_setvbuf): docstring: remove the fcntl documentation
718 which was incorrectly appended.
719
720 2000-03-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
721
722 * guile-doc-snarf.in: Don't use absolute path for `sed'. (Note
723 that we can't use autoconf for this. Autoconf itself relies on
724 the existence of `sed' somewhere on your path.) (Thanks to Dirk
725 Herrman.)
726
727 2000-03-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
728
729 * Makefile.am (libguile_la_SOURCES): Moved iselect.c here from
730 EXTRA_libguile_la_SOURCES.
731
732 * iselect.h: Always declare scm_internal_select.
733
734 * iselect.c (scm_internal_select): Added SCM_ASYNC_TICK at the
735 end. Also let scm_internal_select be a real function also when
736 not using threads.
737
738 * __scm.h (SCM_TICK): Oops! Forgot to put SCM_ASYNC_TICK here...
739
740 2000-03-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
741
742 * __scm.h (SCM_ALLOW_INTS, SCM_REALLOW_INTS): Removed call to
743 SCM_ASYNC_TICK. (This is a preparation for POSIX threads support,
744 and kind of an experiment: Will this cause problems?)
745
746 Sun Mar 12 13:26:30 2000 Greg J. Badros <gjb@cs.washington.edu>
747
748 * Makefile.am: Added *.doc to DISTCLEANFILES.
749
750 2000-03-12 Gary Houston <ghouston@arglist.com>
751
752 * fports.c (scm_fdes_to_port): call fcntl F_GETFL to test that
753 the fdes is valid before doing anything else. check that
754 the file descriptor supports the modes required.
755 (scm_fport_buffer_add): don't throw an error if fstat doesn't
756 work: just use the default buffer size.
757
758 * throw.c: change an outdated comment about scm_internal_catch
759 BODY: it doesn't take a jumpbuf arg.
760
761 * init.c (scm_standard_stream_to_port): install a handler in case
762 scm_fdes_to_port throws an error. don't check here whether the
763 file descriptor is valid, since scm_fdes_to_port will do that.
764 set the revealed count depending on whether the port got the
765 standard file descriptor.
766 (stream_body_data): new type.
767 (stream_body, stream_handler): new procs.
768
769 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
770
771 * stacks.c, stacks.h, struct.c, tags.h, unif.c (scm_bits_t):
772 Renamed from SCMWORD.
773
774 * tags.h (SCM_NCELLP): Removed (SCMWORD).
775
776 * arbiters.c (SCM_ARB_LOCKED): Use SCM_UNPACK_CAR.
777
778 * async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h,
779 feature.h, filesys.h, fluids.h, fports.c, fports.h, gc.c, gc.h,
780 hash.c, keywords.h, macros.c, numbers.c, numbers.h, objects.c,
781 objects.h, options.c, pairs.h, ports.c, ports.h, print.c,
782 procs.h, ramap.c, read.c, smob.c, smob.h, srcprop.h, stacks.c,
783 stacks.h, strports.c, struct.c, struct.h, tag.c, tags.h,
784 throw.c, unif.c, unif.h, variable.h, vectors.h, weaks.c,
785 weaks.h (SCM_PACK, SCM_UNPACK, SCM_UNPACK_CAR): Renamed from
786 SCM_ASSCM, SCM_ASWORD, SCM_CARW).
787
788 * numbers.h (SCM_SRS, SCM_INUM): Corrected SCM_ASSCM/ASWORD fixes.
789
790 * alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
791 tags.h: Fixed copyright notices.
792
793 * struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes.
794
795 2000-03-12 Marius Vollmer <mvo@zagadka.ping.de>
796
797 * init.c (scm_standard_stream_to_port): Check whether the file
798 descriptor is valid and substitute "/dev/null" when not.
799
800 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
801
802 * coop-defs.h (struct timespec): Conditionally defined.
803
804 * coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT
805 instead of ETIME.
806
807 * readline.c (match_paren): Bugfix: First arg to select is not
808 number of descriptors but the number of the highest descriptor +
809 1.
810
811 This is a preliminary attempt at a cleanup of the threads support
812 code. It moves things to better places, makes arguments more
813 consistent with the POSIX API (which is used in GNOME's glib), and
814 adds new functionality.
815
816 * readline.c (scm_init_readline): Added new arg to scm_init_mutex.
817
818 * coop-defs.h (scm_mutex_trylock): New macro: alias for
819 coop_mutex_trylock.
820 (scm_cond_init): Changed definition to
821 coop_new_condition_variable_init.
822
823 * coop.c: #include <errno.h>
824 (coop_timeout_qinsert): Moved here from iselect.c
825 (coop_new_mutex_init, coop_new_condition_variable_init): New
826 functions. The strange names are temporary. Use scm_mutex_init
827 and scm_cond_init instead.
828 (coop_mutex_trylock): New function. Uses errno.h:EBUSY. errno.h
829 is ANSI C, but should we check for individual error codes in
830 configure.in?
831 (coop_condition_variable_timed_wait_mutex): New function.
832 (coop_key_create, coop_setspecific, coop_getspecific,
833 coop_key_delete): New functions.
834
835 * iselect.c (coop_timout_qinsert): Moved to coop.c
836
837 2000-03-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
838
839 * pairs.h (SCM_SETAND_CAR, SCM_SETAND_CDR, SCM_SETOR_CAR,
840 SCM_SETOR_CDR): Corrected SCM_ASSCM/WORD fixes.
841
842 * tags.h (SCM_VOIDP_TEST): Renamed from VOIDP_TEST.
843 Layout cleanups.
844
845 * objects.h (SCM_CLASS_FLAGS, SCM_OBJ_CLASS_FLAGS,
846 SCM_SET_CLASS_INSTANCE_SIZE), struct.h (SCM_STRUCT_VTABLE_DATA),
847 proc.h (SCM_CLOSCAR): SCM_ASSCM/WORD fixes.
848
849 * eval.c (scm_lookupcar1): Inserted SCM_ASWORD in expressions
850 dealing with ilocs.
851
852 2000-03-11 Dale P. Smith <dpsm@en.com>, applied by Greg J. Badros, <gjb@cs.washington.edu>
853
854 * numbers.c (scm_copy_big_dec, scm_copy_smaller, scm_big_ior,
855 scm_big_xor, scm_big_and, scm_big_test): Added new lowlevel bignum
856 logical functions from SCM.
857
858 (logand, logior, logxor, logtest, logbit?): Extended scheme
859 logical functions to use bignums from SCM.
860
861 (lognot): Removed call to `SCM_VALIDATE_INUM' that prevented
862 lognot from using bignums.
863
864 Thu Mar 9 11:33:25 2000 Greg J. Badros <gjb@cs.washington.edu>
865
866 * vectors.h (SCM_VELTS_AS_STACKITEMS): Added this macro to help in
867 eliminating some warnings.
868
869 * unif.c, strports.c, print.c, options.c: Fix some warnings on
870 mis-use of SCM/long
871
872 * gc.c, gc.h: Added scm_return_first_int(), and added comment re:
873 what the scm_return_first* functions do.
874
875 2000-03-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>, applied by Greg J. Badros, <gjb@cs.washington.edu>
876
877 * libguile/*.[ch]: make a distinction between SCM as a generic
878 name for a Scheme object (now a void*), and SCM as 32 bit word for
879 storing tags and immediates (now a long int). Introduced
880 SCM_ASWORD and SCM_ASSCM for conversion. Fixed various dubious
881 code in the process: arbiter.c (use macros), unif.c (scm_array_p),
882
883 Wed Mar 8 10:15:59 2000 Greg J. Badros <gjb@cs.washington.edu>
884
885 * numbers.c: Use SCM_VALIDATE_LONG_COPY, and longs, not ints, in
886 various logXXX primitives. Thanks Eric Moore!
887
888 Tue Mar 7 08:05:22 2000 Greg J. Badros <gjb@cs.washington.edu>
889
890 * run-test, remaining-docs-needed: Added these scripts. The
891 second one is only temporary until the docstring additions are
892 complete. run-test may best live on, but is here mostly for
893 convenience and awareness for now.
894
895 * hash.c: Docs, minor cleanup patch from Dirk Herrman.
896
897 Thu Mar 2 16:06:58 2000 Greg J. Badros <gjb@cs.washington.edu>
898
899 * error.h, error.c: Added `scm_wrong_type_arg_msg' to support
900 displaying the expected type. Use SCM_LISTn in a couple places
901 instead of scm_cons-ing by hand.
902
903 * __scm.h: Added SCM_ASSERT_TYPE macro.
904
905 * validate.h, scm_validate.h: Added the former, as a renamed
906 version of the latter with SCM_ASSERT_TYPE used in
907 SCM_MAKE_VALIDATE (instead of just SCM_ASSERT)
908
909 * Makefile.am: Rename scm_validate.h to validate.h.
910
911 * *.c, *.h: Include validate.h, not scm_validate.h (old name's
912 prefix was superfluous).
913
914 Thu Mar 2 15:33:12 2000 Greg J. Badros <gjb@cs.washington.edu>
915
916 * hashtab.c: Improved documentation for lots of functions. Added
917 handwritten docs for `hash-fold'.
918
919 Thu Mar 2 15:13:25 2000 Greg J. Badros <gjb@cs.washington.edu>
920
921 * list.c: Added hand-written docs for `del{q,v,ete}1!'.
922
923 Thu Mar 2 12:38:30 2000 Greg J. Badros <gjb@cs.washington.edu>
924
925 * list.c: Moved append docs to append! Thanks Dirk Hermann. Also,
926 added append docs from R4RS.
927
928 * strings.c: Docstring typo fix, + eliminate unneeded IMP tests.
929 Thanks Dirk Hermann!
930
931 * chars.h: Provide SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR and
932 deprecate SCM_ICHRP, SCM_ICHR, SCM_MAKICHR. Thanks Dirk Hermann!
933
934 * *.h, *.c: Use SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR throughout.
935 Drop use of SCM_P for function prototypes... assume an ANSI C
936 compiler. Thanks Dirk Hermann!
937
938 Sat Feb 19 12:20:12 2000 Greg J. Badros <gjb@cs.washington.edu>
939
940 * ports.c: Made `set-port-column!' and `set-port-line!' each
941 return SCM_UNSPECIFIED instead of a (not-scheme-object) integer
942 that caused a seg fault. Also fixed `set-port-column!'s
943 docstring. Thanks Han-Wen Nienhuys for finding the bug!
944
945 Sun Feb 13 19:11:42 2000 Greg J. Badros <gjb@cs.washington.edu>
946
947 * arbiters.c, eq.c, gc.c, guardians.c, list.c, ports.c, print.c,
948 regex-posix.c, scmsigs.c, stime.c, strings.c, variable.c, stime.c,
949 strings.c, variable.c: Added lots of documentation, cleaned up
950 some existing documentation. Occasionally changed formal params
951 to match docs. Also folded an #ifdef into the inners of a
952 primitive instead of having two copies of the primitive
953 (`get-internal-real-time', from stime.c)
954
955 Sun Feb 13 18:12:19 2000 Greg J. Badros <gjb@cs.washington.edu>
956
957 * ports.c: Added docs for primitives missing them. Written by
958 hand.
959
960 Sun Feb 13 09:40:36 2000 Greg J. Badros <gjb@cs.washington.edu>
961
962 * guile-doc-snarf.in: Use ${AWK} -f guile-func-name-check, not
963 just execing guile-func-name-check. Thanks Michael Livshin!
964
965 Thu Feb 10 11:43:23 2000 Greg J. Badros <gjb@cs.washington.edu>
966
967 * guile-snarf.awk.in: Tweak to work with Sun/HP awk, removed some
968 dead code. Patch from Michael Livshin.
969
970 * guile-doc-snarf.in: Tweak to work with Sun/HP sh. Patch from
971 Michael Livshin.
972
973 2000-02-09 Gary Houston <ghouston@arglist.com>
974
975 * init.c (scm_init_standard_ports): when stdout is a tty, make the
976 current-output-port unbuffered by default. this is less confusing
977 for interactive use. it was line-buffered because of a
978 performance problem with unbuffered ports, but I think it will be
979 OK now.
980
981 2000-02-08 Gary Houston <ghouston@arglist.com>
982
983 * __scm.h: don't define long_long or ulong_long if HAVE_LONG_LONGS
984 is not defined.
985
986 * stime.c (scm_localtime, scm_mktime): if neither HAVE_TM_ZONE nor
987 HAVE_TZNAME are defined, use an empty string instead of giving two
988 spurious compile-time errors.
989
990 Tue Feb 8 13:57:46 2000 Greg J. Badros <gjb@cs.washington.edu>
991
992 * ports.c: Doc patches from Richard Kim. Pasted from MIT Scheme.
993 Thanks Richard!
994
995 Mon Feb 7 09:07:31 2000 Greg J. Badros <gjb@cs.washington.edu>
996
997 * macros.c: Doc patches from Richard Kim. Pasted from scm.texi.
998
999 Sun Feb 6 20:26:21 2000 Greg J. Badros <gjb@cs.washington.edu>
1000
1001 * pairs.c: Doc patches from Richard Kim. Pasted from MIT Scheme
1002 (which is GNU GPL'd).
1003
1004 2000-01-31 Gary Houston <ghouston@arglist.com>
1005
1006 * strings.h: don't use SCM_P. don't include <string.h>.
1007 * error.c, gh_data.c, ports.c, script.c, strop.c: include <string.h>.
1008
1009 * strings.c (scm_string_ref): make the 2nd argument compulsory.
1010 previously it defaulted to zero for no good reason that I can see.
1011 use a local variable for SCM_INUM (k). replace
1012 SCM_VALIDATE_INUM_DEF with SCM_VALIDATE_INUM_COPY.
1013
1014 (scm_makfromstr): cosmetic changes.
1015
1016 (scm_string): Accept only chars in the list, not strings, for
1017 conformance to R5RS (particularly for list->string, which is
1018 supposed to be the inverse of string->list.) remove
1019 SCM_DEFER_INTS/SCM_ALLOW_INTS, which is unnecessary since
1020 scm_makstr handles the cell allocation. when reporting wrong-type
1021 arg, don't report the position as 1.
1022
1023 * posix.c (scm_init_posix): intern PIPE_BUF if it's defined.
1024
1025 2000-01-29 Gary Houston <ghouston@arglist.com>
1026
1027 * posix.c (scm_pipe): rewrote the docstring.
1028
1029 * filesys.c (scm_select, retrieve_select_type, get_element,
1030 fill_select_type, set_element): modified so that Scheme
1031 "select" tests port buffers for the ability to provide input
1032 or accept output. Previously only the underlying file descriptors
1033 were checked. Rewrote the docstring.
1034
1035 Thu Jan 27 10:14:25 2000 Greg J. Badros <gjb@cs.washington.edu>
1036
1037 * vectors.c, symbols.c, strorder.c: Documentation cut and pasted
1038 from Gregg Reynolds. Thanks Gregg!
1039
1040 Thu Jan 27 09:59:38 2000 Greg J. Badros <gjb@cs.washington.edu>
1041
1042 * strop.c (scm_i_index): Obfuscated commented-out SCM_DEFINE by
1043 adding "x" prefix to the line so that guile-func-name-check
1044 doesn't complain unnecessarily.
1045
1046 Wed Jan 26 17:33:52 2000 Greg J. Badros <gjb@cs.washington.edu>
1047
1048 * throw.c: Factor out an #ifdef/#else/#endif choice more finely
1049 for maintainability.
1050
1051 * strop.c: Documentation added by Gregg A. Reynolds. Pasted in
1052 from qdocs, RnRs.
1053
1054 Wed Jan 26 10:02:11 2000 Greg J. Badros <gjb@cs.washington.edu>
1055
1056 * tag.c: Added doc for `tag', but mark as deprecated since Mikael
1057 suggests removing tag.c altogether (and using a new `class-of'
1058 instead).
1059
1060 * strings.c: Added documentation from Gregg A. Reynolds. Edited
1061 a bit by me to use FOO instead of @var{foo} and to have the
1062 summary come before preconditions on input. Also dropped trailing
1063 (rnrs) note.
1064
1065 * gsubr.c: Do not use SCM_DEFINE for `gsubr-apply'. Register the
1066 function with scm_make_subr_opt w/ last arg of 0 so it is not
1067 visible at the Scheme level. Mikael says that this is the right
1068 thing because the first arg to the proc is the guts of a compiled
1069 closure and shouldn't be exposed to the Scheme level.
1070
1071 Tue Jan 25 17:15:47 2000 Greg J. Badros <gjb@cs.washington.edu>
1072
1073 * sort.c: typo in comment fixed.
1074
1075 * keywords.c: Added documentation.
1076
1077 * guardians.c: Added documentation (could be better).
1078
1079 * gc.c: Added docs for gc-set-debug-check-freelist.
1080
1081 * eq.c: Added docs for eq?, eqv? equal? abridged from R4RS.
1082
1083 * boolean.c: Added docs for `not', `boolean?' (by hand).
1084
1085 Tue Jan 25 13:28:56 2000 Greg J. Badros <gjb@cs.washington.edu>
1086
1087 * random.c: Added documentation, from SLIB page:
1088 http://angela.ctrl-c.liu.se/~calle/scheme/slib_toc.html
1089
1090 Mon Jan 24 17:50:20 2000 Greg J. Badros <gjb@cs.washington.edu>
1091
1092 * variable.c, version.c: Added documentation, written by hand
1093 since I could not find anything already written that was
1094 relevant.
1095
1096 2000-01-23 Gary Houston <ghouston@arglist.com>
1097
1098 * filesys.c (scm_chown): omit port/fdes support if HAVE_FCHOWN is
1099 not defined (thanks to Richard Y. Kim).
1100
1101 Thu Jan 20 13:00:38 2000 Greg J. Badros <gjb@cs.washington.edu>
1102
1103 * Makefile.in: Removed, this is auto-generated.
1104
1105 Thu Jan 20 11:33:47 2000 Dirk Hermann <dirk@ida.ing.tu-bs.de> --applied 01/20/00 gjb
1106
1107 * list.c: Put some variable initialization code at the point of
1108 declaration; Added a comment for list*; Formatting changes.
1109
1110 * load.c: use SCM_NNULLP to make sure the end of a list is not
1111 reached yet.
1112
1113 2000-01-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1114
1115 * backtrace.c (scm_display_error_message): Bugfix: Don't use
1116 result of scm_list_p as C boolean.
1117 (scm_display_error_message, scm_set_print_params_x): Use new
1118 validation macros. (Thanks to Dirk Herrmann.)
1119
1120 * net_db.c (scm_resolv_error): Cast result from hstrerror.
1121
1122 * strports.c (st_end_input): Inserted parenthesis to get operator
1123 grouping correct.
1124
1125 * list.h (scm_init_list): Removed SCM_P around prototypes.
1126
1127 * fports.c, list.c, numbers.c, ports.c, stime.c, symbols.c,
1128 filesys.c, posix.c: Converted docstrings to ANSI C format and
1129 escaped " occurring inside string literals.
1130
1131 Tue Jan 18 13:21:08 2000 Mikael Djurfeldt <mdj@r11n07-s.pdc.kth.se>
1132
1133 * posix.c (scm_mknod): Escape " occuring inside docstring.
1134
1135 2000-01-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1136
1137 * alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
1138 evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c,
1139 keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c,
1140 objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c,
1141 ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c,
1142 stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c,
1143 symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c,
1144 weaks.c: Converted docstrings to ANSI C format.
1145
1146 * filesys.c (scm_chmod), simpos.c (scm_system), version
1147 (scm_version), vports (scm_make_soft_port): Escape " occuring
1148 inside docstring.
1149
1150 Mon Jan 17 11:41:22 2000 Greg J. Badros <gjb@cs.washington.edu>
1151
1152 * scm_validate.h: Added SCM_VALIDATE_ULONG_COPY,
1153 SCM_VALIDATE_LONG_COPY
1154
1155 * numbers.c: Use SCM_VALIDATE_ULONG_COPY, instead of
1156 SCM_VALIDATE_INUM_COPY to let bigger numbers be used. Rename a
1157 couple of formal arguments (and fix their uses) to make arguments
1158 match the documentation.
1159
1160 2000-01-14 <mstachow@alum.mit.edu>
1161
1162 * Makefile.am: Augment path when running guile-doc-snarf so
1163 guile-func-name-check is found.
1164
1165 Fri Jan 14 09:34:55 2000 Greg J. Badros <gjb@cs.washington.edu>
1166
1167 * scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use
1168 def, not SCM_MAKINUM(def); thanks Janis Bzerins!
1169
1170 Wed Jan 12 00:06:53 2000 Greg J. Badros <gjb@cs.washington.edu>
1171
1172 * net_db.c (s_scm_inet_makeaddr): Use SCM_NUM2ULONG since that's
1173 the way guile-1.3.4 worked, but #if 0 out the version using
1174 SCM_VALIDATE_INUM_COPY for stricter testing.
1175
1176 Tue Jan 11 18:24:18 2000 Greg J. Badros <gjb@cs.washington.edu>
1177
1178 * guile-doc-snarf.in: Use new $fullfilename for running
1179 guile-func-name-check, and put "$fullfilename" and "$filename" in
1180 quotes at uses to make sure re-splitting on whitespace does not
1181 occur (so filenames w/ embedded whitespace would work okay, though
1182 I sure hope we never have to deal with that! :-) ). Thanks to
1183 Mikael for pointing out the source_dir != build_dir was broken.
1184
1185 Tue Jan 11 17:42:40 2000 Greg J. Badros <gjb@cs.washington.edu>
1186
1187 * scm_validate.h: Added SCM_NUM2LONG_DEF macro. Make
1188 SCM_OUT_OF_RANGE use SCM_MAKINUM, not scm_long2num. Added
1189 SCM_COERCE_ROSTRING macro. Added SCM_VALIDATE_NONEMPTYLIST
1190 macro. Fix SCM_VALIDATE_STRINGORSUBSTR macro to not use SLOPPY
1191 variants.
1192
1193 * ports.c (scm_port_closed_p): Validate that the arg is a PORT,
1194 then return whether it's an open port (was validating that it was
1195 an open port -- this was a bug I introduced back in December, but
1196 my careful reading of diffs caught it).
1197
1198 * numbers.c: Recombine the two conditional-compilation paths for
1199 all the log* primitives -- they were split based on #ifndef
1200 scm_long2num; factored out a SCM_LOGOP_RETURN macro, and fixed
1201 some bugs and inconsistencies in the two sets of implementations.
1202 (scm_lognot) Fixed *atrocious* re-use of a SCM as an integer!
1203
1204 * ioext.c: Use SCM_ASSERT_RANGE in a couple places, and
1205 SCM_VALIDATE_INUM_COPY once where it should've been used.
1206
1207 * fluids.c (scm_internal_with_fluids): Use
1208 SCM_VALIDATE_LIST_COPYLEN.
1209
1210 * filesys.c: Use SCM_NUM2LONG instead of SCM_VALIDATE_INUM_COPY;
1211 this is questionable as it relaxes type safety, but other changes
1212 were useful and all SCM_NUM2LONG's should probably be
1213 revisited. Use SCM_OUT_OF_RANGE, SCM_WRONG_TYPE_ARG.
1214
1215 * evalext.c: line-break change on 1 line.
1216
1217 * eval.c (nconc2last): Takes a non-empty list as its first
1218 argument, not just a list.
1219
1220 * dynl.c: Use new SCM_COERCE_ROSTRING macro.
1221
1222 Tue Jan 11 15:44:23 2000 Greg J. Badros <gjb@cs.washington.edu>
1223
1224 * dynl.c, feature.c, filesys.c, fports.c, list.c, load.c,
1225 net_db.c, sort.c, stacks.c, unif.c: Use SCM_WTA, SCM_MISC_ERROR
1226 where possible.
1227
1228 * symbols.c (scm_sysintern0): Fixed the function name in a
1229 scm_misc_error invocation.
1230
1231 * print.c (scm_simple_format): Do not need SCM_COERCE_SUBSTR, and
1232 use scm_return_first to ward off latent GC bug that Mikael caught.
1233
1234 * async.c: Use SCM_VALIDATE_ASYNC_COPY one place where it wasn't
1235 used before but should've been.
1236
1237 2000-01-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1238
1239 * snarf.h (SCM_PROC1): Replaced SCM (*) (...) with
1240 SCM_FUNC_CAST_ARBITRARY_ARGS.
1241
1242 Tue Jan 11 13:44:07 2000 Greg J. Badros <gjb@cs.washington.edu>
1243
1244 * guile-func-name-check.in: Added this script to statically check
1245 #define FUNC_NAME, #undef FUNC_NAME in the source.
1246
1247 * sort.c, posix.c: Fix #undef FUNC_NAME lines to not have trailing
1248 redundant comment, semicolon; caught by new guile-func-name-check
1249 script.
1250
1251 * debug.c: Fix mistaken #define FUNC_NAME for scm_make_iloc.
1252 Caught by new guile-func-name-check-script.
1253
1254 * Makefile.am: Added guile-func-name-check to bin_SCRIPTS
1255
1256 * ramap.c: Fix #if 0'd out code to be syntactically acceptable to
1257 guile-func-name-check.
1258
1259 * guile-doc-snarf.in: Run guile-func-name-check on the file before
1260 doing the snarf.
1261
1262 Tue Jan 11 11:31:10 2000 Greg J. Badros <gjb@cs.washington.edu>
1263
1264 * fports.c, ports.c, ports.h, strports.c, vports.c: Make write
1265 port function take const void*, not void*.
1266
1267 Tue Jan 11 11:18:07 2000 Greg J. Badros <gjb@cs.washington.edu>
1268
1269 * scm_validate.h, chars.c, ports.c, print.c, read.c, strings.c,
1270 strop.c: Use SCM_VALIDATE_ICHR, SCM_VALIDATE_ICHR_COPY instead of
1271 SCM_VALIDATE_CHAR, SCM_VALIDATE_CHAR_COPY. Change made for
1272 consistency with the other macros dealing with immediate
1273 characters. (Similar to INT -> INUM change a week or so ago).
1274
1275 Tue Jan 11 10:41:46 2000 Greg J. Badros <gjb@cs.washington.edu>
1276
1277 * dynl.c, error.c, eval.c, feature.c, filesys.c, fports.c, list.c, load.c,
1278 net_db.c, read.c, socket.c: Update error messages to use ~A for
1279 %s, ~S for %S to work with new `simple-format' format and be
1280 standardized better.
1281
1282 * print.h, print.c (scm_simple_format): Added `simple-format'
1283 primitive. It's the old scm_display_error, with ARGS now a rest
1284 parameter, and the destination first instead of last (and a couple
1285 new capabilities inspired by `format' -- #t as destination means
1286 current-output-port, #f means return the formatted text as a
1287 string.
1288
1289 * gh.h, gh_data.c, ports.h, ports.c: Added some missing const specifications.
1290
1291 * backtrace.c (scm_display_error_message): Rewrote to use
1292 scm_simple_format() procedure.
1293
1294 * __scm.h: Added commented-out #define of GUILE_DEBUG_FREELIST
1295
1296 2000-01-09 Marius Vollmer <mvo@zagadka.ping.de>
1297
1298 Finally applied the libltdl patch from Thomas Tanner, with slight
1299 modifications.
1300
1301 * DYNAMIC-LINKING: Removed because it is obsolete.
1302 * dynl.c: Use ANSI prototypes.
1303 (sysdep_dynl_link): Use lt_dlopenext instead of lt_dlopen.
1304 * scmconfig.h.in: Do not change, as it is automatically generated.
1305
1306 1999-07-25 Thomas Tanner <tanner@ffii.org>
1307
1308 * dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted
1309 (obsolete)
1310 * Makefile.am: likewise, add INCLTDL (libltdl headers) to
1311 INCLUDES, set dlpreopened files in LDFLAGS, link libguile
1312 against libltdl
1313 * dynl.c: use libltdl if DYNAMIC_LINKING is enabled,
1314 * guile.c: register preloaded modules
1315 * scmconfig.h.in: remove obsolete symbols
1316
1317 2000-01-09 Gary Houston <ghouston@arglist.com>
1318
1319 * These changes should make it unnecessary to call tzset from
1320 Scheme after modifying the TZ environment variable, even if the
1321 system date facilities cache the value.
1322 * stime.c (setzone, scm_localtime): added comments.
1323 (tzset): don't define a noop tzset macro if HAVE_TZSET not defined.
1324 (setzone): don't call tzset.
1325 (restorezone): call tzset only if HAVE_TZSET is defined.
1326 (scm_tzset): don't define if HAVE_TZSET not defined. Change the
1327 doc string to indicate that this procedure isn't likely to do
1328 anything useful.
1329 (scm_localtime, scm_strftime, scm_mktime): call tzset if
1330 LOCALTIME_CACHE is defined.
1331
1332 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1333
1334 * posix.c (scm_sync): Return SCM_UNSPECIFIED.
1335
1336 2000-01-09 Gary Houston <ghouston@arglist.com>
1337
1338 * eval.c: define scm_unbound_variable_key ('unbound-variable).
1339 scm_lookupcar1: throw an error with key 'unbound-variable instead
1340 of 'misc-error when an unbound variable is encountered.
1341
1342 * filesys.c (scm_mkdir, scm_rmdir, scm_getcwd, scm_select,
1343 scm_symlink, scm_readlink, scm_lstat),
1344 posix.c (scm_setpgid, scm_setsid, scm_ctermid, scm_tcgetpgrp,
1345 scm_tcsetpgrp, scm_uname, scm_setlocale, scm_mknod, scm_nice,
1346 scm_sync),
1347 simpos.c (scm_system),
1348 stime.c (scm_times, scm_strptime):
1349 move the HAVE_XXX feature tests out of the procedure bodies.
1350 don't use SCM_SYSMISSING.
1351 scm_validate.h (SCM_SYSMISSING): removed.
1352 error.h, error.c (scm_sysmissing): comment that this is deprecated.
1353 see ChangeLog entry for 1999-12-28.
1354
1355 Sat Jan 8 19:52:04 2000 Greg J. Badros <gjb@cs.washington.edu>
1356
1357 * scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo.
1358
1359 Sat Jan 8 17:06:46 2000 Greg J. Badros <gjb@cs.washington.edu>
1360
1361 * backtrace.c: Fix spelling typo in a comment.
1362
1363 * snarf.h: Use new SCM_DOCS macro to encapsulate the non SCM_INIT
1364 text. Reformatted some of the expansions.
1365
1366 Fri Jan 7 15:50:46 2000 Greg J. Badros <gjb@cs.washington.edu>
1367
1368 * scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to
1369 report the position of the argument.
1370
1371 * error.h, error.c (scm_out_of_range_pos): Added this function to
1372 take extra "pos" argument, the position number of the errant
1373 argument.
1374
1375 * debug.c: Use SCM_OUT_OF_RANGE instead of scm_out_of_range.
1376
1377 * snarf.h: Use SCM_HERE and SCM_INIT as names, not SCM_NOTSNARF
1378 and SCM_SNARFING. Also put the %%% in the SCM_INIT since Mikael
1379 prefers that and I'm reasonably indifferent.
1380
1381 Fri Jan 7 15:03:32 2000 Greg J. Badros <gjb@cs.washington.edu>
1382
1383 * snarf.h: Factor out differences between C++ and non-C++ into
1384 SCM_FUNC_CAST_ARBITRARY_ARGS macro. Modify all the snarf macro
1385 definitions to use SCM_NOTSNARF and SCM_SNARFING macros (like
1386 Mikael's macros, below, but changed names and SCM_SNARFING no
1387 longer expands to include %%% -- that must appear in the argument
1388 so that the token appears at the call-site as a reminder).
1389
1390 2000-01-07 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1391
1392 * snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user
1393 snarf macro definitions.
1394
1395 2000-01-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1396
1397 * chars.c (scm_integer_to_char): Use Greg's nice
1398 SCM_VALIDATE_INUM_RANGE macro for argument checking for closer
1399 adherence to R5RS.
1400
1401 Thu Jan 6 11:48:49 2000 Greg J. Badros <gjb@cs.washington.edu>
1402
1403 * *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout.
1404
1405 Thu Jan 6 11:22:53 2000 Greg J. Badros <gjb@cs.washington.edu>
1406
1407 * Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1
1408 instead of GUILE_PROC.
1409
1410 Thu Jan 6 11:21:49 2000 Greg J. Badros <gjb@cs.washington.edu>
1411
1412 * alist.c: Do not report mismatch errors on some uses of `tmp' (do
1413 this by using SCM_ARG2 instead of `2' in the SCM_VALIDATE_CONS
1414 macro call.
1415
1416 Thu Jan 6 09:54:33 2000 Dirk Herrmann <dirk@ida.ing.tu-bs.de> --gjb applied
1417
1418 * scm_validate.h: Remove some redundant NIMP tests.
1419
1420 * alist.c: minimize scope of the tmp variables, and initialize
1421 them when declared. The strange SCM_NIMP tests are replaced by
1422 SCM_CONSP tests that more closely reflect the intended semantics.
1423 However, we don't get a performance penalty here, because the
1424 SCM_CONSP test was performed by the ALISTCELL test anyway. * The
1425 extremely ugly use of ASRTGO macros was removed: The calls to
1426 ASRTGO were not encapsulated by "#ifndef SCM_RECKLESS", but got a
1427 label parameter that only exists when SCM_RECKLESS is not defined.
1428 This works, because ASRTGO itself is defined in a way that it only
1429 makes use of the label parameter if SCM_RECKLESS is not defined
1430 (shudder!). Does guile make at all use of the possibility to
1431 define SCM_RECKLESS? * Codesize is likely to be reduced, since
1432 instead of two calls to SCM_ASSERT performed by the ALISTCELL test
1433 we now only get one test.
1434
1435 * list.c: Use SCM_NNULLP, not SCM_NIMP as appropriate. Also use
1436 SCM_NULLP instead of SCM_IMP. Drop use of "register" keyword on
1437 some variables in `list?'. Fix `reverse' and `reverse!'
1438 primitives to handle improper lists better.
1439
1440 Wed Jan 5 11:24:53 2000 Greg J. Badros <gjb@cs.washington.edu>
1441
1442 * *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_*
1443 macros and SCM_DEFINE macros to match GNU coding standards.
1444
1445 Wed Jan 5 11:04:24 2000 Greg J. Badros <gjb@cs.washington.edu>
1446
1447 * *.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.
1448
1449 Wed Jan 5 10:59:06 2000 Greg J. Badros <gjb@cs.washington.edu>
1450
1451 * *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for
1452 better consistency with the names of other SCM_VALIDATE_ macros
1453 and better conformance to guile naming policy.
1454
1455 Wed Jan 5 10:50:39 2000 Greg J. Badros <gjb@cs.washington.edu>
1456
1457 * ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a
1458 SCM_VALIDATE instead of 1 to avoid a check on the argument (since
1459 it's not the actual name of the formal).
1460
1461 * guile-snarf.awk.in: Do argument/number mismatch checking and
1462 print warnings in an Emacs compile-mode parseable format.
1463
1464 * struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/
1465 SCM_OUTOFRANGE as 3rd argument.
1466
1467 * random.c: Fix argument/number mismatch (that I introduced :-( ).
1468
1469 * __scm.h: Do not #define SCM_ARG* when snarfing;
1470 lets us distinguish between 1 and SCM_ARG1 when snarfing as only
1471 the former (using the number) requires the argument to match the
1472 formal in the current argument snarfing check.
1473
1474 * snarf.h: Give new definition of SCM_ASSERT when in
1475 snarfing mode to output a lexically-identifiable sequence that the
1476 guile-snarf.awk script uses to verify argument/position matching.
1477
1478 * ramap.c: Remove extraneous #undef FUNC_NAME.
1479
1480 Wed Jan 5 08:36:38 2000 Greg J. Badros <gjb@cs.washington.edu>
1481
1482 * guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the
1483 current version of the same functionality; it writes the .x output
1484 to stdout instead of directly into the file.
1485
1486 Wed Jan 5 08:15:04 2000 Greg J. Badros <gjb@cs.washington.edu>
1487
1488 * unif.c, symbols.c, strings.c, stacks.c, random.c, print.c,
1489 posix.c: Eliminated a bunch of SCM_NIMP(..)s that are now
1490 redundant with the safer macros. Patch from Dirk Hermann applied
1491 by hand. Thanks Dirk!
1492
1493 * scm_validate.h: Added SCM_VALIDATE_VECTOR_OR_DVECTOR for some
1494 uses in random.c.
1495
1496 * ramap.c: whitespace change.
1497
1498 Tue Jan 4 14:21:35 2000 Greg J. Badros <gjb@cs.washington.edu>
1499
1500 * options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP
1501 removals from Dirk Hermann.
1502
1503 * alist.c: Rename formals to match the parameter names in the
1504 documentation, updates to documentation. Thanks Dirk Hermann!
1505
1506 2000-01-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1507
1508 * eval.c (SCM_CEVAL): Reverse order of
1509 scm_stack_checking_enabled_p and SCM_STACK_OVERFLOW_P
1510 (Thanks to Brad Knotwell.)
1511
1512 Mon Jan 3 08:30:02 2000 Greg Harvey <Greg.Harvey@thezone.net> (applied --01/03/00 gjb)
1513
1514 * gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly
1515 allocated cell.
1516
1517 * pairs.h: Added a comment about the need for the SCM_SETCAR in
1518 SCM_NEWCELL macro.
1519
1520 Mon Jan 3 08:25:19 2000 Greg J. Badros <gjb@cs.washington.edu>
1521
1522 * dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More
1523 SCM_NIMP tests that were redundant are now eliminated. Patches
1524 from Dirk Hermann applied by hand.
1525
1526 The ChangeLog continues in the file: "ChangeLog-1996-1999"