Commit | Line | Data |
---|---|---|
98347362 NJ |
1 | 2001-12-01 Neil Jerram <neil@ossau.uklinux.net> |
2 | ||
3 | * gh_data.c (gh_module_lookup): Use scm_str2symbol rather than | |
4 | gh_symbol2scm. | |
5 | ||
1fc8902f DH |
6 | 2001-11-28 Dirk Herrmann <D.Herrmann@tu-bs.de> |
7 | ||
8 | * gc.h (SCM_GC_CELL_WORD, SCM_GC_CELL_OBJECT, | |
9 | SCM_GC_SET_CELL_WORD, SCM_GC_SET_CELL_OBJECT): New macros. | |
10 | ||
11 | (SCM_GC_CELL_TYPE, SCM_CELL_WORD, SCM_CELL_OBJECT, | |
12 | SCM_SET_CELL_WORD, SCM_SET_CELL_OBJECT, SCM_FREE_CELL_CDR, | |
13 | SCM_GC_SET_CELL_OBJECT): Express in terms of SCM_GC_CELL_* | |
14 | macros. | |
15 | ||
16 | (SCM_FREE_CELL_P): Express in terms of SCM_GC_CELL_TYPE. | |
17 | ||
18 | * inline.h (scm_alloc_cell, scm_alloc_double_cell): Use | |
19 | SCM_GC_CELL_* macros when accessing free cells. | |
20 | ||
4878beec MV |
21 | 2001-11-25 Marius Vollmer <mvo@zagadka.ping.de> |
22 | ||
23 | * vectors.h (SCM_MAKE_VECTOR_TAG): New. | |
24 | * unif.h (SCM_MAKE_BITVECTOR_TAG, SCM_MAKE_UVECTOR_TAG): New. | |
25 | * symbols.h (SCM_MAKE_SYMBOL_TAG): New. | |
26 | * strings.h (SCM_MAKE_STRING_TAG): New. | |
27 | * procs.h (SCM_MAKE_CCLO_TAG): New. | |
28 | * numbers.h (SCM_MAKE_BIGNUM_TAG): New. | |
29 | ||
30 | * goops.h: Replaced SCM_DEBUG_DEPRECATED with | |
31 | !SCM_ENABLE_DEPRECATED. | |
32 | ||
33 | * async.c, async.h (scm_system_async_mark_from_signal_handler): | |
34 | New. | |
35 | ||
36 | * scmsigs.c (scm_take_signal): Removed all code that assumes that | |
37 | signal handlers are allowed to divert the flow of control. Call | |
38 | scm_system_async_mark_from_signal_handler instead of | |
39 | scm_system_async_mark. | |
40 | ||
41 | ||
42 | Deprecated SCM_NEWCELL and SCM_NEWCELL2. Added scm_alloc_cell and | |
43 | scm_alloc_double_cell in their place. | |
44 | ||
45 | * gc.h (SCM_GC_SET_ALLOCATED, scm_debug_newcell, | |
46 | scm_debug_newcell2, scm_tc16_allocated): Removed from header. | |
47 | (scm_deprecated_newcell, scm_deprecated_newcell2): New. | |
48 | (SCM_NEWCELL, SCM_NEWCELL2): Implement in terms of | |
49 | scm_deprecated_newcell and scm_deprecated_newcell2. | |
50 | ||
51 | gc.c (scm_tc16_allocated): Only define when including deprecated | |
52 | features. | |
53 | (scm_debug_newcell, scm_debug_newcell2): Removed. | |
54 | (scm_init_storage): Do not initialize scm_tc16_allocated. | |
55 | (scm_init_gc): Do it here. | |
56 | (allocated_mark): New, from old code. | |
57 | (scm_deprecated_newcell, scm_deprecated_newcell2): New. | |
58 | ||
59 | * inline.c, inline.h: New files. | |
60 | * Makefile.am: Added them in all the right places. | |
61 | ||
62 | * _scm.h: Include "libguile/inline.h". | |
63 | ||
64 | * alist.c, coop-threads.c, debug.c, environments.c, eval.c, | |
65 | fports.c, gh_data.c, goops.c, guardians.c, lang.c, list.c, | |
66 | num2float.i.c, numbers.c, pairs.c, ports.c, print.c, procs.c, | |
67 | smob.c, smob.h, strings.c, strports.c, struct.c, symbols.c, | |
68 | unif.c, variable.c, vectors.c, vports.c, weaks.c: Replaced | |
69 | SCM_NEWCELL and SCM_NEWCELL2 with scm_alloc_cell and | |
70 | scm_alloc_double_cell, respectively. | |
71 | ||
d2bc7fae MV |
72 | 2001-11-23 Marius Vollmer <mvo@zagadka.ping.de> |
73 | ||
74 | * modules.c (scm_c_use_module): Adapt to changes to | |
75 | `process-use-modules'. | |
76 | ||
5eec27e9 DH |
77 | 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de> |
78 | ||
79 | * numbers.c (scm_divide): Fix more division by zero errors. | |
80 | ||
8978878f GH |
81 | 2001-11-21 Gary Houston <ghouston@arglist.com> |
82 | ||
83 | * Makefile.am (OMIT_DEPENDENCIES): removed, since it seems to be | |
84 | obsolete. autogen.sh says: | |
85 | invalid unused variable name: `OMIT_DEPENDENCIES' | |
86 | ||
164826d3 DH |
87 | 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de> |
88 | ||
89 | * numbers.c (scm_divide): Fix (/ 0). Thanks to Keith Wright for | |
90 | reporting the bug. | |
91 | ||
84aff7a7 MV |
92 | 2001-11-21 Marius Vollmer <mvo@zagadka.ping.de> |
93 | ||
94 | * Makefile.am (install-exec-hook): Prepend $(DESTDIR) to filename. | |
95 | Thanks to Eric Gillespie, Jr! | |
96 | ||
6063dc1d SJ |
97 | 2001-11-21 Stefan Jahn <stefan@lkcc.org> |
98 | ||
99 | * win32-socket.c (getservent, setservent, endservent, | |
100 | getprotoent, setprotoent, endprotoent): New functions. | |
101 | Appropriate replacements for M$-Windows. | |
102 | ||
103 | * numbers.c (SIZE_MAX, PTRDIFF_MAX, PTRDIFF_MIN): Reintroduced | |
104 | these definitions for GUILE_DEBUG. | |
105 | ||
106 | * net_db.c: Include "win32-socket.h" if compiling with a native | |
107 | M$-Windows compiler. Include some pieces of code (protoent and | |
108 | servent interface) protected by HAVE_* macros when using a | |
109 | native M$-Windows compiler. | |
110 | ||
351982f6 MV |
111 | 2001-11-20 Marius Vollmer <mvo@zagadka.ping.de> |
112 | ||
113 | * modules.c (scm_c_export): Do nothing when the first argument is | |
114 | already the terminating NULL. Thanks to Han-Wen Nienhuys! | |
115 | ||
849038b5 TTN |
116 | 2001-11-20 Thien-Thi Nguyen <ttn@glug.org> |
117 | ||
118 | * Makefile.am (libpath.h): In SCM_BUILD_INFO, | |
119 | also include `buildstamp'. | |
120 | ||
5c790b44 RB |
121 | 2001-11-18 Rob Browning <rlb@defaultvalue.org> |
122 | ||
123 | * version.c | |
124 | (s_scm_major_version): use SCM_MAJOR_VERSION. | |
125 | (s_scm_minor_version): use SCM_MINOR_VERSION. | |
126 | (s_scm_micro_version): use SCM_MICRO_VERSION. | |
127 | (s_scm_version): use SCM_MAJOR_VERSION, SCM_MINOR_VERSION, and | |
128 | SCM_MICRO_VERSION. | |
129 | ||
130 | * version.h.in | |
131 | (SCM_MAJOR_VERSION): renamed from SCM_GUILE_MAJOR_VERSION. | |
132 | (SCM_MINOR_VERSION): renamed from SCM_GUILE_MINOR_VERSION. | |
133 | (SCM_MICRO_VERSION): renamed from SCM_GUILE_MICRO_VERSION. | |
134 | ||
694a9bb3 NJ |
135 | 2001-11-18 Neil Jerram <neil@ossau.uklinux.net> |
136 | ||
137 | * vectors.c (scm_vector_move_left_x, scm_vector_move_right_x): | |
138 | Rewrite docstrings without reference to substring-move-left/right, | |
139 | since the latter no longer exist. | |
140 | ||
302c12b4 DH |
141 | 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de> |
142 | ||
143 | * eval.c: Removed bogus comment about acros. | |
144 | ||
145 | (scm_unmemocar): Use !SCM_CONSP instead of SCM_IMP. | |
146 | Minimize scope of local variable. Eliminate dependency on | |
147 | macro DEBUG_EXTENSIONS. | |
148 | ||
149 | (s_splicing): New error message string. | |
150 | ||
151 | (scm_m_body): Issue 'bad body' message rather than 'missing | |
152 | expression' message. | |
153 | ||
154 | (scm_m_quote): Eliminate unnecessary copying. | |
155 | ||
156 | (scm_m_lambda, scm_m_letstar, scm_m_letrec, scm_m_let): Leave the | |
157 | checking of the body to scm_m_body. | |
158 | ||
159 | (scm_m_do): Move comment to function header. Rename arg1 to | |
160 | binding. Made the code a bit easier to read. | |
161 | ||
162 | (evalcar): Removed. | |
163 | ||
164 | (iqq): Added a comment. Changed the depth parameter to | |
165 | unsigned. Use size_t for vector lengths. Make sure vector object | |
166 | is gc protected as long as its contents are read. Add some syntax | |
167 | checks. Get rid of unnecessary SCM_IMP test. Clean up the | |
168 | control structure a bit. | |
169 | ||
170 | (scm_m_delay): Added comment about the implementation of | |
171 | scm_m_delay. | |
172 | ||
173 | (scm_m_define): Add comment about guile's currying define | |
174 | syntax. Renamed 'proc' to 'name'. Eliminate dependency on macro | |
175 | DEBUG_EXTENSIONS. Simplified code a bit. Eliminate SICP code. | |
176 | ||
177 | (scm_m_letrec1): Removed. Part of the functionality is taken | |
178 | over by the new function 'transform_bindings'. | |
179 | ||
180 | (transform_bindings): New function. Takes over some of the | |
181 | functionality of removed function 'scm_m_letrec1', namely to split | |
182 | a list of bindings into a reversed list of variables and a list of | |
183 | initializers. | |
184 | ||
185 | (scm_m_letrec): Call 'transform_bindings'. | |
186 | ||
187 | (scm_m_let): Minimized scope of local variables. Renamed 'proc' | |
188 | to 'temp' and 'arg1' to 'binding'. Eliminated redundant SCM_NIMP | |
189 | test. Use 'transform_bindings'. Fixed scoping error with named | |
190 | let (Thanks to Aubrey Jaffer for reporting the bug and to Neil | |
191 | Jerram for suggesting the fix). Cleaned up the control structure | |
192 | a bit. | |
193 | ||
194 | (scm_m_expand_body): Use 'transform_bindings'. Eliminated | |
195 | unnecessary consing. Eliminated unnecessary | |
196 | SCM_DEFER/ALLOW_INTS. | |
197 | ||
198 | (SCM_CEVAL): Un-obfuscated some loops. | |
199 | ||
cecb4a5e NJ |
200 | 2001-11-16 Neil Jerram <neil@ossau.uklinux.net> |
201 | ||
8f85c0c6 NJ |
202 | * gc.h (scm_unhash_name): Old declaration removed. |
203 | ||
204 | * eval.c (s_scm_eval): Change @var{primitive-eval} to | |
205 | @code{primitive-eval}. | |
206 | ||
207 | * feature.c, vectors.c, net_db.c, unif.c, weaks.c, struct.c, | |
208 | version.c, alist.c, ports.c, ramap.c, unif.c, strings.c, list.c: | |
209 | Change @deffnx lines in docstrings to say {Scheme Procedure} | |
210 | rather than primitive or procedure. | |
211 | ||
212 | * posix.c (scm_execl), filesys.c (scm_close), unif.c | |
213 | (scm_array_set_x, scm_array_contents, scm_uniform_array_read_x, | |
214 | scm_bit_set_star_x, scm_bit_invert_x), ramap.c (scm_array_fill_x, | |
215 | scm_array_for_each, scm_array_index_map_x), vectors.c (scm_vector, | |
216 | scm_make_vector, scm_vector_to_list, scm_vector_fill_x), strop.c | |
217 | (scm_string_split, scm_string_ci_to_symbol), strings.c | |
218 | (scm_string_p), sort.c (scm_merge), print.c (scm_newline), | |
219 | macros.c (scm_macro_type), alist.c (scm_acons, scm_assq): | |
220 | Docstring fixes and improvements reflecting edits that have been | |
221 | made in the reference manual source. | |
222 | ||
223 | * objprop.c (scm_object_properties, scm_set_object_properties_x, | |
224 | scm_object_property, scm_set_object_property_x): Remove invalid | |
225 | @deffnx lines for corresponding procedure property primitives. | |
226 | ||
cecb4a5e NJ |
227 | These changes add a @deffnx C function declaration and function |
228 | index entries for each Guile primitive to the copy of the doc | |
229 | snarf output that is used for reference manual synchronization. | |
230 | Online help is unchanged. | |
849038b5 | 231 | |
cecb4a5e NJ |
232 | * snarf.h (SCM_SNARF_DOCS): Output primitive's C function name. |
233 | (SCM_DEFINE, SCM_DEFINE1, SCM_REGISTER_PROC): Supply to C function | |
234 | name to SCM_SNARF_DOCS. | |
849038b5 | 235 | |
cecb4a5e NJ |
236 | * guile-snarf-docs-texi.in: Pass the shell script's arguments into |
237 | snarf-check-and-output-texi. | |
238 | ||
239 | * Makefile.am (guile-procedures.texi): New rule. | |
240 | (BUILT_SOURCES, guile.texi, guile-procedures.txt, CLEANFILES): | |
241 | Changed so that the last stage of doc snarfing is now performed | |
242 | twice, once to produce guile-procedures.txt for online help, and | |
243 | once to produce guile.texi for reference manual synchronization. | |
244 | ||
ddea3325 DH |
245 | 2001-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de> |
246 | ||
247 | * eval.c (RETURN): Wrap in do{}while(0) in order to make it | |
248 | safely usable as a single statement followed by a ';', for example | |
249 | in an if statement. | |
250 | ||
251 | (SCM_CEVAL, SCM_APPLY): Clean up code using 'RETURN'. | |
252 | ||
72dd0a03 NJ |
253 | 2001-11-13 Neil Jerram <neil@ossau.uklinux.net> |
254 | ||
255 | * random.c (scm_random_solid_sphere_x, | |
256 | scm_random_hollow_sphere_x): Correct "shere" typos. | |
257 | ||
258 | * hashtab.c (scm_hash_fold): Add missing apostrophe to docstring. | |
259 | ||
260 | * version.c (scm_version): Update docstring to include | |
261 | `micro-version'. | |
262 | ||
6558eda6 MV |
263 | 2001-11-13 Marius Vollmer <mvo@zagadka.ping.de> |
264 | ||
409b8588 MV |
265 | * modules.c (scm_c_export): Call va_end after collecting the |
266 | symbols. | |
267 | ||
adb8c0f2 MV |
268 | * strop.h, strop.c (scm_substring_move_left_x, |
269 | scm_substring_move_right_x): Removed. | |
270 | ||
6558eda6 MV |
271 | * __scm.h (HAVE_UINTPTR_T, HAVE_PTRDIFF_T, HAVE_LONG_LONG, |
272 | HAVE_LONG_LONGS): Define to "1" when defining them, to mirror what | |
273 | configure does. | |
274 | ||
5d8fc640 MV |
275 | 2001-11-12 Marius Vollmer <mvo@zagadka.ping.de> |
276 | ||
277 | * numbers.c: Document macros to define when including | |
278 | num2integral.i.c. MAX_VALUE and MIN_VALU are no longer used, we | |
279 | now rely on SIZEOF_ macros that have been figured out at | |
280 | configure time. | |
281 | ||
282 | * num2integral.i.c: Adapt to new interface. | |
283 | (NUM2INTEGRAL): Test whether a fixnum can be represented in the | |
284 | target type by casting it and checking whether it is still the | |
285 | same. Do not try to handle bignums for integral types that are | |
286 | smaller than fixnums. When handling bignums, collect the | |
287 | magnituse first into a unsigned type, and correctly check for | |
288 | overflow. | |
289 | (INTEGRAL2BIG): Do not use MIN_VALUE explicitely by observing that | |
290 | only -MIN_VALUE can still be negative of all negative numbers (in | |
291 | twos-complement). | |
292 | ||
849038b5 | 293 | * tags.h (SIZEOF_SCM_T_BITS): Define it appropriately. |
5d8fc640 MV |
294 | |
295 | * __scm.h: Define HAVE_UINTPTR_T, HAVE_PTRDIFF_T and | |
296 | HAVE_LONG_LONG depending on whether their size is non-zero. | |
297 | ||
d6b8cf11 TTN |
298 | 2001-11-11 Thien-Thi Nguyen <ttn@glug.org> |
299 | ||
300 | * strop.c (scm_string_null_p): Docfix; nfc. | |
301 | Thanks to Scott Lenser. | |
302 | ||
9401323e NJ |
303 | 2001-11-07 Neil Jerram <neil@ossau.uklinux.net> |
304 | ||
305 | * extensions.c (scm_load_extension): Canonicalize docstring | |
306 | whitespace. | |
307 | ||
308 | * unif.c (scm_uniform_array_write), ports.c | |
309 | (scm_current_output_port, scm_force_output), dynwind.c | |
310 | (scm_dynamic_wind), scmsigs.c (scm_setitimer, scm_getitimer), | |
311 | filesys.c (scm_open, scm_lstat), struct.c | |
312 | (scm_make_struct_layout), random.c (scm_random, | |
313 | scm_random_solid_sphere_x, scm_random_hollow_sphere_x, strop.c | |
314 | (scm_i_index): Remove superfluous whitespace from end of docstring | |
315 | lines. | |
316 | ||
317 | * filesys.c (scm_select), guardians.c (scm_guardian_greedy_p), | |
318 | strings.c (scm_make_string), variable.c (scm_make_variable, | |
319 | scm_make_undefined_variable, scm_variable_p, scm_variable_set_x, | |
320 | scm_variable_bound_p), scmsigs.c (scm_setitimer, scm_getitimer), | |
321 | posix.c (scm_crypt), struct.c (scm_make_vtable_vtable), hashtab.c | |
322 | (scm_hash_fold), ports.c (scm_port_for_each): Remove superfluous | |
323 | newline at end of docstrings. | |
324 | ||
325 | * modules.c (scm_set_current_module): Add missing newline to | |
326 | docstring. | |
327 | ||
b4e15479 SJ |
328 | 2001-11-07 Stefan Jahn <stefan@lkcc.org> |
329 | ||
330 | * win32-socket.[ch]: New files. Defines Winsock-API error codes | |
331 | and makes them available through Guile. That is because the | |
332 | Winsock-API does not store its errors in `errno' and thus cannot | |
333 | return error messages via `strerror (errno)'. | |
334 | ||
335 | * socket.c (scm_init_socket): Initialize `win32-socket' part | |
336 | here under M$-Windows. | |
337 | ||
d6b8cf11 | 338 | * numbers.h: Added missing declaration of |
b4e15479 SJ |
339 | `scm_sys_check_number_conversions()'. |
340 | ||
341 | * error.c: Local definition of SCM_I_STRERROR and SCM_I_ERRNO | |
342 | and use in `(strerror)' and `(system-error)'. | |
343 | ||
d6b8cf11 | 344 | * Makefile.am (EXTRA_libguile_la_SOURCES): Added |
b4e15479 SJ |
345 | `win32-socket.[ch]' to extra source and header files. |
346 | ||
7ab89df1 MV |
347 | 2001-11-06 Marius Vollmer <mvo@zagadka.ping.de> |
348 | ||
349 | * script.c (scm_shell_usage, scm_compile_shell_switches): Prepend | |
350 | a call to turn-on-debugging when --debug has been given instead of | |
351 | turning it on directly. Also, handle new `--no-debug' option, | |
352 | which might suppress the call to turn-on-debugging. | |
353 | ||
0233bfc1 SJ |
354 | 2001-11-05 Stefan Jahn <stefan@lkcc.org> |
355 | ||
356 | * struct.c (s_scm_struct_vtable_p): Corrected docstring. | |
357 | ||
8f99e3f3 SJ |
358 | 2001-11-04 Stefan Jahn <stefan@lkcc.org> |
359 | ||
360 | * Makefile.am (libguile_la_LIBADD): Added $(THREAD_LIBS_LOCAL) | |
d6b8cf11 | 361 | here (was at guile_LDADD) which describes the dependency |
8f99e3f3 SJ |
362 | correctly and allows a clean build on Win32. |
363 | ||
d6b8cf11 | 364 | * __scm.h (SCM_API): Follow-up patch. Renamed __FOO__ macros |
8f99e3f3 SJ |
365 | into FOO. |
366 | ||
367 | * __scm.h: USE_DLL_IMPORT indicates the usage of the DLL | |
368 | import macros for external libraries (libcrypt, libqthreads, | |
369 | libreadline and libregex). | |
370 | ||
371 | * coop-defs.h: Include <winsock2.h> for `struct timeval'. | |
372 | ||
373 | * posix.c (flock): Added support for flock() in M$-Windows. | |
374 | ||
375 | * guile.c (SCM_IMPORT): Follow-up patch. Use SCM_IMPORT instead | |
376 | of __SCM_IMPORT__. | |
377 | ||
378 | * fports.c (getflags): Differentiate reading and writing pipes | |
379 | descriptors. | |
380 | ||
381 | * filesys.c (S_IS*): Redefine all of the S_IS*() macros for | |
382 | M$-Windows. | |
383 | ||
384 | * coop.c (coop_condition_variable_timed_wait_mutex): Use | |
385 | conditionalized error code if `ETIMEDOUT' is not available. | |
386 | (scm_thread_usleep): Remove bogus declaration of `struct timeval | |
387 | timeout'. | |
388 | ||
389 | * numbers.c (PTRDIFF_MIN): Moved this definition where it actually | |
390 | belongs. That is because NO_PREPRO_MAGIC gets undefined after | |
391 | each inclusion of `num2integral.i.c'. | |
392 | (SIZE_MAX): Define NO_PREPRO_MAGIC if SIZE_MAX is undefined. | |
393 | ||
4e21fa60 MV |
394 | 2001-11-03 Marius Vollmer <mvo@zagadka.ping.de> |
395 | ||
396 | * eval.c (scm_m_begin): Allow `(begin)`, with no subforms. | |
397 | (SCM_CEVAL): Evaluate an empty `begin' to SCM_UNSPECIFIED. | |
398 | ||
08112c95 MD |
399 | 2001-11-02 Mikael Djurfeldt <mdj@linnaeus> |
400 | ||
7663c008 MD |
401 | * print.c (scm_iprin1): Mark print state as revealed when |
402 | dispatching to generic write or display. | |
403 | ||
08112c95 MD |
404 | * unif.c (scm_ra2contig): Fixed memory overwrite bug. |
405 | ||
f712d833 MV |
406 | 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de> |
407 | ||
408 | Support for native Win32. Thanks to Stefan Jahn! | |
d6b8cf11 | 409 | |
f712d833 MV |
410 | * Makefile.am: Add win32-uname.c, win32-uname.h, win32-dirent.c |
411 | and win32-dirent.h to extra source and header files. These | |
412 | include the uname() and the POSIX dirent interface implementation | |
413 | for M$-Windows. Put `-no-undefined' into LDFLAGS to support | |
414 | linkers which do not allow unresolved symbols inside shared | |
415 | libraries. Corrected `guile_filter_doc_snarfage$(EXEEXT)' | |
416 | dependency. | |
417 | ||
d6b8cf11 TTN |
418 | * __scm.h: Defined SCM_API. This macro gets prepended to all |
419 | function and data definitions which should be exported or imported | |
f712d833 MV |
420 | in the resulting dynamic link library in the Win32 port. |
421 | ||
422 | * __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h, | |
d6b8cf11 | 423 | chars.h, continuations.h, coop-defs.h, coop-threads.h, |
f712d833 MV |
424 | debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h, |
425 | environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h, | |
426 | feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h, | |
427 | gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h, | |
428 | hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h, | |
d6b8cf11 | 429 | load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h, |
f712d833 MV |
430 | objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h, |
431 | procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h, | |
432 | read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h, | |
433 | smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h, | |
434 | strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h, | |
435 | tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h, | |
436 | vports.h, weaks.h: | |
437 | Prefixed each each exported symbol with SCM_API. | |
438 | ||
d6b8cf11 | 439 | * continuations.c: Added comment about the use of the extern |
f712d833 MV |
440 | declarations of {get,set}context() functions used in the ia64 port. |
441 | ||
442 | * continuations.h, gc.c: `__libc_ia64_register_backing_store_base' | |
443 | is meant to be a `unsigned long *'. | |
444 | ||
445 | * filesys.c: Include `direct.h' if possible. Use local | |
446 | `win32-dirent.h' for the native M$-Windows port. Define S_IS*() | |
447 | macros for M$-Windows. Implementation of `fstat_Win32()' which is | |
448 | able to differentiate between sockets and other file descriptors. | |
449 | Use this function as wrapper in `scm_fstat()'. Fixed typo in | |
450 | `scm_dirname()'. | |
451 | ||
452 | * fports.c: Include `io.h' is possible. Put `*fp' into referring | |
453 | statement block in `scm_fport_buffer_add()'. | |
454 | Some corrections in `getflags()'. | |
d6b8cf11 | 455 | |
f712d833 MV |
456 | * gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__. |
457 | ||
458 | * guile.c: Make sure to define __SCM_IMPORT__ for shared library | |
459 | build on Win32. Disable preloaded symbols on Win2 platforms. | |
460 | ||
461 | * ioext.c, ports.c: Include `io.h' is possible. | |
462 | ||
463 | * mkstemp.c: Include `process.h' is possible. | |
464 | ||
465 | * net_db.c: Disable extern declaration of `h_errno' for __CYGWIN__, | |
466 | too. | |
467 | Put `scm_return_entry()' into HAVE_GETSERVENT conditional. | |
468 | ||
469 | * posix.c: Remove unnecessary dirent includes and defines. Include | |
470 | local `win32-uname.h' for MinGW. Extern declaration of | |
471 | `mkstemp()' for systems where it does not exists. Make | |
472 | `getlogin()' available on M$-Windows. | |
473 | ||
474 | * scmsigs.c: Made `usleep()' avalable on MinGW. | |
475 | ||
476 | * stime.c: On M$-Windows `tzname[]' is known to be `_tzname[]'. | |
477 | ||
478 | * win32-dirent.c: Include "win32-dirent.h", not "dirent.h". | |
479 | ||
480 | * win32-uname.c: Include "win32-uname.h", not "uname.h". | |
481 | ||
d245ce23 MD |
482 | 2001-10-28 Mikael Djurfeldt <mdj@linnaeus> |
483 | ||
484 | * unif.c (scm_uniform_array_read_x, scm_uniform_array_write): | |
485 | Don't apply scm_uniform_vector_length on arrays. | |
486 | ||
8ea46249 DH |
487 | 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de> |
488 | ||
489 | * eval.c (scm_lookupcar, scm_m_letstar, scm_m_do, iqq, | |
490 | scm_m_define, scm_m_letrec1, scm_m_let, scm_m_expand_body, | |
491 | scm_macroexp, unmemocopy, scm_eval_args, scm_deval_args, | |
492 | SCM_CEVAL, scm_map, scm_init_eval): When building lists, prefer | |
493 | scm_list_<n> over scm_cons[2]?. | |
494 | ||
495 | (scm_unmemocar, scm_m_cond, scm_m_letstar, scm_m_letrec1, | |
496 | scm_m_let, scm_m_atbind, unmemocopy, SCM_CEVAL, SCM_APPLY): Use | |
497 | SCM_C[AD][AD]R instead of explicit form. | |
498 | ||
499 | (scm_m_set_x, scm_m_cond, scm_m_letstar, scm_m_do): Reordered | |
500 | comparison parameters. | |
501 | ||
502 | (scm_m_case, scm_m_cond, scm_m_letstar, scm_m_do, SCM_CEVAL): Use | |
503 | !SCM_NULLP instead of SCM_NIMP. | |
504 | ||
505 | (scm_m_case): Don't copy the form. Renamed proc to clause and | |
506 | minimized its scope. Renamed x to clauses. Removed side | |
507 | effecting operation from macro call. | |
508 | ||
509 | (scm_m_cond): Don't copy the form. Renamed arg1 to clause and | |
510 | minimized its scope. Renamed x to clauses. Minimized the scope | |
511 | of variable 'len'. Make sure the else clause is treated specially | |
512 | even in case of '=>' occurences. Don't change the else to #t in | |
513 | order to be able to distinguish this case in the evaluator. Leave | |
514 | type checking of the recipient to the evaluator. | |
515 | ||
516 | (scm_c_improper_memq): Made the comment somewhat clearer. | |
517 | ||
518 | (scm_m_lambda): Renamed proc to formals. Removed unnecessary | |
519 | test for SCM_IM_LET at the place of the formal parameters. | |
520 | Simplified the formal parameter checking. | |
521 | ||
522 | (scm_m_letstar): Added Comment. Renamed proc to bindings. | |
523 | Renamed arg1 to binding and minimized its scope. Eliminated | |
524 | unnecessary consing. | |
525 | ||
526 | (scm_m_do): Renamed proc to bindings. Minimized the scope of | |
527 | variable 'len'. | |
528 | ||
529 | (build_binding_list): New static function. | |
530 | ||
531 | (unmemocopy): Don't use SCM_TYP7 on pairs (it's unclean). | |
532 | Further, split up the 'letrec' unmemoizing code to the | |
533 | corresponding parts for 'do', 'let' and 'letrec', adding comments | |
534 | to each form. Cleanup the handling of the do form (This removes | |
535 | some *real* code :-). | |
536 | ||
537 | (SCM_CEVAL): Removed side effecting operation from macro call. | |
538 | Handle the 'else clause of the 'cond form specially - the symbol | |
539 | 'else is not replaced with #t any more. | |
540 | ||
8186c4f5 GH |
541 | 2001-10-14 Gary Houston <ghouston@arglist.com> |
542 | ||
543 | * version.c (scm_version): use sprintf instead of snprintf, | |
544 | for portability. thanks to Bill Schottstaedt. | |
545 | ||
89759084 MD |
546 | 2001-10-14 Mikael Djurfeldt <mdj@linnaeus> |
547 | ||
548 | * read.c (scm_lreadr): When user-defined hash procedure returns | |
549 | SCM_UNSPECIFIED: Fall back to standard handling instead of raising | |
550 | an exception. (This prevents parsing of uniform vectors from | |
551 | interfering with parsing of numbers.) | |
552 | ||
9c7ce563 MV |
553 | 2001-10-13 Marius Vollmer <mvo@zagadka.ping.de> |
554 | ||
555 | * numbers.c: Set NO_PREPRO_MAGIC when defining our version of | |
556 | PTRDIFF_MIN. Thanks to Ken Raeburn. | |
557 | ||
558 | 2001-10-07 Marius Vollmer <mvo@zagadka.ping.de> | |
559 | ||
560 | * Makefile.am (EXTRA_libguile_la_SOURCES): Added "mkstemp.c". | |
561 | ||
562 | * eval.c (scm_m_atbind): First try to find the variable without | |
563 | defining it locally; when it has not been found, define it | |
564 | locally. | |
565 | ||
566 | * modules.c (module_variable): Pass over variables that exist but | |
567 | are unbound. | |
568 | ||
569 | 2001-10-06 Marius Vollmer <mvo@zagadka.ping.de> | |
570 | ||
571 | * backtrace.c (display_backtrace_file_and_line): Only use | |
572 | scm_basename when POSIX support is compiled in. Thanks to Chris | |
573 | Cramer. | |
574 | ||
1fe5e088 DH |
575 | 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
576 | ||
577 | * numbers.c (mem2uinteger): Return number read so far when coming | |
578 | across a hexdigit after having read a # or if not reading a hex | |
579 | value. This will enable the calling code to correctly handle | |
580 | forms like 1e2. (The background is, that the exponent markers d, | |
581 | e and f are also hexdigits.) Thanks to Mikael Djurfeldt for | |
582 | providing this patch. | |
583 | ||
584 | (mem2complex): Fix erroneous double-negation. Now, numbers like | |
585 | 1-i will be read correctly. | |
586 | ||
68665a97 MD |
587 | 2001-10-12 Mikael Djurfeldt <mdj@linnaeus> |
588 | ||
589 | * debug.c (scm_mem_to_proc): Fixed typo in previous change. | |
590 | ||
591 | * validate.h (SCM_VALIDATE_DOUBLE_DEF_COPY): New macro. | |
592 | ||
d5cf5324 DH |
593 | 2001-10-12 Dirk Herrmann <D.Herrmann@tu-bs.de> |
594 | ||
595 | * print.c (scm_print_state_vtable, print_state_pool): | |
596 | Initialize. These variables are now registered as gc roots. | |
597 | ||
598 | (scm_current_pstate): Update documentation. | |
599 | ||
600 | (scm_current_pstate, scm_make_print_state, scm_free_print_state, | |
601 | scm_prin1, scm_init_print): print_state_pool is registered as a | |
602 | gc root and thus does not need to be protected by a surrounding | |
603 | pair any more. | |
604 | ||
605 | (make_print_state): The car of print_state_pool no longer holds | |
606 | the scm_print_state_vtable. | |
607 | ||
608 | (scm_current_pstate, scm_make_print_state, print_circref, | |
609 | scm_iprin1, scm_prin1, scm_iprlist): Prefer !SCM_<foo> over | |
610 | SCM_N<foo>. | |
611 | ||
612 | (scm_prin1): When building lists, prefer scm_list_<n> over | |
613 | scm_cons[2]?. | |
614 | ||
615 | (scm_iprlist): Removed a redundant SCM_IMP test. | |
616 | ||
617 | (scm_simple_format): Use SCM_EQ_P to compare SCM values. | |
618 | ||
37c56aec DH |
619 | 2001-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de> |
620 | ||
621 | * debug.c (scm_make_iloc): Prefer !SCM_<foo> over SCM_N<foo>. | |
622 | ||
623 | (scm_memcons, scm_mem_to_proc): When building lists, prefer | |
624 | scm_list_<n> over scm_cons[2]?. | |
625 | ||
626 | (scm_mem_to_proc): Prefer SCM_CONSP over SCM_NIMP. | |
627 | ||
628 | (scm_procedure_name): Use SCM_CADR instead of explicit form. | |
629 | ||
630 | (debugobj_print): Coerce scm_intprint arg 1 to long, not int. | |
631 | Thanks to Rob Browning for the patch (see log entry 2001-09-21) - | |
632 | for some reason his patch didn't make it into the cvs. | |
633 | ||
79d34f68 DH |
634 | 2001-10-09 Dirk Herrmann <D.Herrmann@tu-bs.de> |
635 | ||
636 | * numbers.c (mem2decimal_from_point): Cleaned up the parsing a | |
637 | little bit - should even be somewhat more accurate now. | |
638 | ||
5e137c65 RB |
639 | 2001-10-08 Rob Browning <rlb@defaultvalue.org> |
640 | ||
641 | * gc.c: support ia64 register backing store. | |
642 | (SCM_MARK_BACKING_STORE): new macro. | |
643 | ||
644 | * continuations.h: support ia64 register backing store. | |
645 | (struct scm_t_contregs): add ia64 register backing store. | |
646 | ||
647 | * continuations.c: support ia64 register backing store. | |
648 | (continuation_mark): mark ia64 register backing store. | |
649 | (continuation_free): free ia64 register backing store. | |
650 | (scm_make_continuation): capture ia64 register backing store. | |
651 | (copy_stack_and_call): copy ia64 register backing store. | |
652 | ||
ee083ac2 DH |
653 | 2001-10-08 Dirk Herrmann <D.Herrmann@tu-bs.de> |
654 | ||
655 | * hashtab.c (scm_hash_fn_create_handle_x): The result of assoc_fn | |
656 | is known to be #f if no entry is found. Thus, use !SCM_FALSEP | |
657 | instead of SCM_NIMP to test for that case. | |
658 | ||
659 | * strings.h (SCM_SET_STRING_LENGTH): Cast the length to | |
660 | scm_t_bits instead of long. | |
661 | ||
71dcdbf9 MV |
662 | 2001-10-06 Marius Vollmer <mvo@zagadka.ping.de> |
663 | ||
664 | * tags.h (SCM_T_BITS_MAX, SCM_T_SIGNED_BITS_MAX, | |
665 | SCM_T_SIGNED_BITS_MIN): New. | |
666 | * numbers.h (SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM): | |
667 | Use them to make these macros computable by the preprocessor. | |
668 | ||
669 | * num2integral.i.c (INTEGRAL2NUM): Let the preprocessor test | |
670 | whether the integral type fits in a fixnum, not the compiler. | |
671 | This removes a spurious compiler warning. Also, honor the | |
672 | NO_PREPRO_MAGIC flag to suppress any preprocessor tests. This is | |
673 | needed for `long long's. | |
674 | ||
675 | * numbers.c: Define NO_PREPRO_MAGOC when including | |
676 | num2integral.c.i for `long long' and `signed long long'. | |
677 | ||
152812c0 MD |
678 | 2001-10-06 Mikael Djurfeldt <mdj@linnaeus> |
679 | ||
680 | These changes fixes a race condition in the Guile coop - pthread | |
681 | compatibility code. | |
d6b8cf11 | 682 | |
152812c0 MD |
683 | * coop.c (mother_awake_p): New variable. |
684 | (coop_create): Set mother_awake_p before creating or signalling | |
685 | mother; wait until mother is going to sleep before returning. | |
686 | (mother): Reset mother_awake_p before going to sleep. | |
687 | ||
11d49f54 DH |
688 | 2001-10-05 Dirk Herrmann <D.Herrmann@tu-bs.de> |
689 | ||
690 | * options.c (protected_objects, scm_init_options): The content of | |
691 | protected_objects is now protected from garbage collection using | |
692 | scm_gc_register_root instead of scm_permanent_object. | |
693 | ||
694 | (get_option_setting): New static function that computes an option | |
695 | setting as it was formerly done in the function scm_options. | |
696 | ||
697 | (get_documented_option_setting): New static function that | |
698 | returns option documentation as it was formerly done in the | |
699 | function scm_options. Note that documentation C strings are no | |
700 | longer precomputed into SCM objects. Instead, they are converted | |
701 | into SCM strings every time get_documented_option_setting is | |
702 | called. | |
703 | ||
704 | (change_option_setting): New static functions that modifies the | |
705 | option setting as it was formerly done in the function | |
706 | scm_options. The function is now exception safe, i. e. won't | |
707 | cause a memory leak when interrupted. Further, only non-immediate | |
708 | option values are added to the protection list. | |
709 | ||
710 | (scm_options): This function now has only the purpose to dispatch | |
711 | to to get_option_setting, get_documented_option_setting or | |
712 | change_option_setting, depending on the arguments given to | |
713 | scm_options. | |
714 | ||
715 | (scm_init_opts): Don't convert documentation C strings into SCM | |
716 | strings. Further, don't protect any object values: They _must_ | |
717 | be immediate values, otherwise there is no guarantee that they | |
718 | have not been collected before anyway. | |
719 | ||
720 | * options.[ch] (scm_t_option): Made type unsigned, name into a | |
721 | constant char* and val into a scm_t_bits type. | |
722 | ||
723 | (scm_options, scm_init_opts): The number of options is guaranteed | |
724 | to be larger or equal to zero. Thus, the type is changed to | |
725 | unsigned. | |
726 | ||
3dbacabc DH |
727 | 2001-10-05 Dirk Herrmann <D.Herrmann@tu-bs.de> |
728 | ||
729 | * num2integral.i.c (NUM2INTEGRAL): Eliminated some warnings about | |
730 | testing an unsigned value for being >= 0. | |
731 | ||
14282d0f DH |
732 | 2001-10-05 Dirk Herrmann <D.Herrmann@tu-bs.de> |
733 | ||
734 | * numbers.h: Removed old comment about using SCM_CAR to access | |
735 | non-pair cells. | |
736 | ||
737 | (SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM): Make sure | |
738 | the return value is signed. Thanks to Brian Crowder for the bug | |
739 | report. | |
740 | ||
741 | (SCM_SRS): Avoid unnecessary casting and don't unpack input | |
742 | values. With this patch, SCM_SRS can be safely used for other | |
743 | types than scm_t_signed_bits. However, it should still better be | |
744 | an internal macro and thus be renamed to SCM_I_SRS. | |
745 | ||
746 | (SCM_MAKINUM, SCM_INUM): Use proper casting. | |
747 | ||
2dbec7b5 GH |
748 | 2001-10-03 Gary Houston <ghouston@arglist.com> |
749 | ||
750 | * continuations.h, unif.h: in the descriptions of the bit patterns | |
751 | of the heap cells, make bit 0 the least significant. | |
752 | ||
cf4ee841 TTN |
753 | 2001-09-25 Thien-Thi Nguyen <ttn@glug.org> |
754 | ||
755 | * chars.h (SCM_MAKE_CHAR): Use `scm_t_bits' instead of `intptr_t'. | |
756 | Thanks to Golubev I. N. | |
757 | ||
4a151b3d GH |
758 | 2001-09-25 Gary Houston <ghouston@arglist.com> |
759 | ||
760 | * ports.c (scm_drain_input): extended the docstring. thanks to | |
761 | Alex Schroeder and Thien-Thi Nguyen. | |
762 | ||
581ded70 MD |
763 | 2001-09-23 Mikael Djurfeldt <mdj@linnaeus> |
764 | ||
765 | * validate.h (SCM_NUM2FLOAT, SCM_NUM2DOUBLE, | |
766 | SCM_VALIDATE_FLOAT_COPY, SCM_VALIDATE_DOUBLE_COPY): New | |
767 | macros. (The NUM names might soon change.) | |
768 | ||
769 | * numbers.h: Added missing declarations. | |
770 | ||
5437598b MD |
771 | 2001-09-22 Mikael Djurfeldt <mdj@linnaeus> |
772 | ||
773 | * Makefile.am: Distribute num2float.i.c. | |
774 | ||
775 | * num2float.i.c: New file, multiply included by numbers.c, used | |
776 | to "templatize" the float <-> num conversion routines. | |
777 | ||
778 | * numbers.c: New functions: scm_num2float, scm_float2num, | |
779 | scm_num2double, scm_double2num. | |
780 | ||
0b073f0f RB |
781 | 2001-09-21 Rob Browning <rlb@defaultvalue.org> |
782 | ||
783 | * .cvsignore: really add version.h | |
784 | ||
785 | * strings.h (SCM_SET_STRING_LENGTH): coerce "l" to a long. | |
786 | Otherwise it fails on the alpha. However, we might rather choose | |
787 | this size conditionally. | |
788 | ||
789 | * numbers.c (scm_gcd): change "k" to a long from an int. | |
790 | Otherwise it fails on the alpha. However, we might rather choose | |
791 | this size conditionally. | |
792 | ||
793 | * error.c (scm_wta): coerce char* to intptr_t before int | |
794 | assignment. | |
795 | ||
796 | * debug.c (debugobj_print): coerce scm_intprint arg 1 to long, not | |
797 | int. | |
798 | ||
799 | * chars.h (SCM_MAKE_CHAR): coerce value to intptr_t. | |
800 | ||
2830fd91 MD |
801 | 2001-09-20 Mikael Djurfeldt <mdj@linnaeus> |
802 | ||
803 | * numbers.c (scm_integer_expt): Accept inexact integer in second | |
804 | argument. (Thanks to Bill Schottstaedt.) | |
805 | ||
c13f0a90 RB |
806 | 2001-09-20 Rob Browning <rlb@defaultvalue.org> |
807 | ||
808 | * .cvsignore: add version.h | |
809 | ||
810 | * versiondat.h.in: removed (obsolete). | |
811 | ||
812 | * version.h.in: renamed from version.h. | |
813 | (SCM_GUILE_MAJOR_VERSION): new public macro. | |
814 | (SCM_GUILE_MINOR_VERSION): new public macro. | |
815 | (SCM_GUILE_MICRO_VERSION): new public macro. | |
816 | ||
817 | * version.h: renamed to version.h.in. | |
818 | ||
819 | * version.c | |
820 | (scm_major_version): support integer *_VERSION macros. | |
821 | (scm_minor_version): support integer *_VERSION macros. | |
822 | (scm_micro_version): support integer *_VERSION macros. | |
823 | (scm_version): support integer *_VERSION macros. | |
824 | ||
147c18a0 MD |
825 | 2001-09-20 Mikael Djurfeldt <mdj@linnaeus> |
826 | ||
827 | * error.c, error.h: Made error keys globally accessible. | |
828 | Applications might want to test for these or use them in a direct | |
829 | call to scm_error. | |
830 | ||
831 | * num2integral.i.c (NUM2INTEGRAL): Report an error when these | |
832 | routines are passed an inexact. This change in behavior is | |
833 | motivated by concordance with R5RS: It is more common that a | |
834 | primitive doesn't want to accept an inexact for an exact. | |
835 | ||
662c5539 DH |
836 | 2001-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de> |
837 | ||
838 | The following patch partially undoes my patch from 2001-06-30, | |
839 | where I added the function scm_gc_mark_cell_conservatively. The | |
840 | function is buggy, since it breaks guile during conservative | |
841 | marking if a pointer on the stack points directly into the list of | |
842 | free cells on the heap: With conservative cell marking this will | |
843 | cause the whole free list to be scanned and marked - boom! | |
844 | ||
845 | * gc.c (allocated_mark, MARK, heap_segment, | |
846 | scm_gc_mark_cell_conservatively, scm_init_storage), gc.h | |
cf4ee841 | 847 | (scm_gc_mark_cell_conservatively): Remove function |
662c5539 DH |
848 | scm_gc_mark_cell_conservatively and update the corresponding |
849 | comments and uses accordingly. Thanks to Christopher Cramer for | |
850 | the patch. (Minor corrections by me.) | |
851 | ||
6c1b7628 GH |
852 | 2001-09-15 Gary Houston <ghouston@arglist.com> |
853 | ||
854 | * root.h (scm_root_state): removed the continuation_stack and | |
855 | continuation_stack_ptr members, which have no apparent purpose. | |
856 | (scm_continuation_stack, scm_continuation_stack_ptr): #defines | |
857 | removed. | |
662c5539 | 858 | |
6c1b7628 GH |
859 | * root.c (root_mark), init.c (restart_stack, start_stack), gc |
860 | (scm_igc): remove all references to contination_stack and | |
861 | continuation_stack_ptr, avoiding allocation of a vector and | |
862 | useless processing during gc. | |
863 | ||
455c0ac8 DH |
864 | 2001-09-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
865 | ||
866 | * guardians.c (tconc_t, t_tconc): Renamed tconc_t to t_tconc. | |
867 | ||
868 | (TCONC_IN): Make sure that the cell word 0 is initialized last. | |
869 | ||
870 | (guardians_t, t_guardians): Renamed guardians_t to t_guardians. | |
871 | ||
872 | (GUARDIAN, GUARDIAN_DATA): Renamed GUARDIAN to GUARDIAN_DATA. | |
873 | ||
874 | (guardian_apply, scm_get_one_zombie, scm_make_guardian, | |
875 | mark_and_zombify): Prefer !SCM_<foo> over SCM_N<foo>. | |
876 | ||
22ba637b DH |
877 | 2001-09-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
878 | ||
879 | * guardians.c (mark_dependencies_in_tconc, | |
880 | whine_about_self_centered_zombies, scm_init_guardians): Register | |
881 | the static global variable `self_centered_zombies' via | |
882 | scm_gc_register_root, to make some cdr-ing unnecessary. | |
883 | ||
c3c4d801 DH |
884 | 2001-09-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
885 | ||
886 | * backtrace.c (display_backtrace_file, | |
887 | display_backtrace_file_and_line): Use SCM_EQ_P when comparing SCM | |
888 | values, use SCM_FALSEP when comparing SCM values against #f. | |
889 | Thanks to Rob Browning for the bug report. | |
890 | ||
b00418df DH |
891 | 2001-09-12 Martin Baulig <martin@home-of-linux.org> |
892 | ||
893 | * strings.[ch] (scm_str2string): New function. | |
894 | ||
a0d34a0b MV |
895 | 2001-09-06 Marius Vollmer <mvo@zagadka.ping.de> |
896 | ||
897 | * gc.c (scm_done_free): Always subtract size from scm_mallocated | |
898 | when computing nm, even if it's negative. | |
899 | (scm_must_malloc): Abort on overflow of scm_mtrigger. | |
900 | (scm_must_realloc): Likewise. | |
901 | ||
b10586f0 ML |
902 | 2001-09-01 Michael Livshin <mlivshin@bigfoot.com> |
903 | ||
904 | * numbers.c (scm_sys_check_number_conversions): new function, | |
905 | defined if Guile is compiled in debugging mode. currently checks | |
906 | `scm_num2ulong', should check much much more. | |
907 | ||
908 | * num2integral.i.c (NUM2INTEGRAL): when converting a bignum to | |
909 | unsigned, ensure that it's positive. thanks to Martin Baulig! | |
cf4ee841 | 910 | |
8c494e99 DH |
911 | 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de> |
912 | ||
913 | * __scm.h: Added new section about compile time selectable | |
914 | features. | |
915 | ||
916 | (long_long, ulong_long, scm_sizet, SCM_WNA, SCM_OUTOFRANGE, | |
917 | SCM_NALLOC, SCM_HUP_SIGNAL, SCM_INT_SIGNAL, SCM_FPE_SIGNAL, | |
918 | SCM_BUS_SIGNAL, SCM_SEGV_SIGNAL, SCM_ALRM_SIGNAL, SCM_GC_SIGNAL, | |
919 | SCM_TICK_SIGNAL, SCM_SIG_ORD, SCM_ORD_SIG, SCM_NUM_SIGS): | |
920 | Removed. | |
921 | ||
922 | * deprecation.c (scm_include_deprecated_features): Simplified. | |
923 | ||
924 | * eval.c (EVALCAR, unmemocopy), eval.h (SCM_XEVALCAR): Use | |
925 |