Commit | Line | Data |
---|---|---|
c09d12e0 RB |
1 | 2002-07-08 Rob Browning <rlb@defaultvalue.org> |
2 | ||
3 | * gc_os_dep.c: HURD fixes. | |
4 | ||
3f6571eb MV |
5 | 2002-07-07 Marius Vollmer <mvo@zagadka.ping.de> |
6 | ||
7 | Crosscompiling and Cygwin fixes by Jan Nieuwenhuizen. Thanks! | |
8 | ||
9 | * Makefile.am: Override default rule for c-tokenize.$(OBJECT); | |
10 | this should be compiled for BUILD host. | |
11 | Override default rule for | |
12 | guile_filter_doc_snarfage$(EEXECT); this should run on BUILD host. | |
13 | Add missing $(EXEEXT) to guile_filter_doc_snarfage invocation. | |
14 | (snarf2checkedtexi): Use GUILE_FOR_BUILD instead of preinstguile. | |
15 | ||
16 | * guile.c, iselect.h, net_db.c, posix.c, socket.c: Do not include | |
17 | <winsock2.h> on Cygwin even when we have it. | |
18 | ||
bd987b8e DH |
19 | 2002-07-01 Dirk Herrmann <D.Herrmann@tu-bs.de> |
20 | ||
21 | * __scm.h (SCM_CAUTIOUS), eval.c (scm_eval_args, deval_args, | |
22 | SCM_CEVAL): Removed compile time option SCM_CAUTIOUS to clean up | |
23 | the code. Full number of arguments checking of closures is | |
24 | mandatory now. However, the option to disable the checking has | |
25 | most probably not been used anyway. | |
26 | ||
8505e285 DH |
27 | 2002-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de> |
28 | ||
bd987b8e DH |
29 | * __scm.h (SCM_RECKLESS), backtrace.c (SCM_ASSERT), debug.c |
30 | (scm_debug_options), eval.c (scm_lookupcar, scm_lookupcar1, | |
31 | scm_badargsp, SCM_CEVAL, SCM_APPLY, scm_map, scm_for_each), | |
32 | feature.c (scm_init_feature), gsubr.c (scm_gsubr_apply), numbers.c | |
33 | (scm_logand, scm_logior, scm_logxor, scm_i_dbl2big), srcprop.c | |
34 | (scm_source_properties, scm_set_source_properties_x, | |
35 | scm_source_property): Removed compile time option SCM_RECKLESS to | |
36 | clean up the code. Full number of arguments checking of closures | |
37 | is mandatory now. However, the option to disable the checking has | |
38 | most probably not been used anyway. | |
8505e285 DH |
39 | |
40 | * srcprop.c (scm_source_properties, scm_set_source_properties_x, | |
41 | scm_source_property): Use !SCM_CONSP instead of SCM_NCONSP. | |
42 | ||
2ee08a28 GH |
43 | 2002-06-30 Gary Houston <ghouston@arglist.com> |
44 | ||
732b9327 GH |
45 | * dynl.c: Removed all SCM_DEFER_INTS/SCM_ALLOW_INTS, which won't |
46 | do anything useful. Added a comment about need for a mutex if | |
47 | pre-emptive threading is supported. | |
48 | ||
2ee08a28 GH |
49 | * posix.c (scm_convert_exec_args), dynl.c |
50 | (scm_make_argv_from_stringlist): static procs: 1) renamed both to | |
51 | allocate_string_pointers. 2) simplified: don't reallocate the | |
52 | strings, just make an array of pointers 3) avoid memory leaks on | |
53 | error 4) let the procedure report errors in its own name. | |
54 | Consequences: 1) the procedures now assume that SCM strings are | |
55 | nul-terminated, which should always be the case. 2) Since strings | |
56 | are not reallocated, it's now possible for strings passed to | |
57 | dynamic-args-call to be mutated. | |
58 | ||
c136c920 DH |
59 | 2002-06-28 Dirk Herrmann <D.Herrmann@tu-bs.de> |
60 | ||
61 | * __scm.h, eval.c, eval.h: Removed compile time option | |
62 | MEMOIZE_LOCALS to clean up the code. Now, caching of local | |
63 | variable positions during memoization is mandatory. However, the | |
64 | option to disable the caching has most probably not been used | |
65 | anyway. | |
66 | ||
e540802f MV |
67 | 2002-06-18 Marius Vollmer <mvo@zagadka.ping.de> |
68 | ||
69 | * print.c (scm_simple_format): Print missing part of format before | |
70 | ~% control. Thanks to Daniel Skarda! | |
71 | ||
4c1ffcdd MV |
72 | 2002-06-01 Marius Vollmer <mvo@zagadka.ping.de> |
73 | ||
74 | * mkstemp.c: Added exception notice to license statement. | |
75 | ||
ba1b077b MV |
76 | 2002-05-22 Marius Vollmer <mvo@zagadka.ping.de> |
77 | ||
8dc434c7 MV |
78 | * numbers.c (mem2ureal): When returning an inexact zero, make sure |
79 | it is represented as a floating point value so that we can change | |
80 | its sign. | |
81 | ||
ba1b077b MV |
82 | From John W. Eaton <jwe@bevo.che.wisc.edu> |
83 | ||
84 | * numbers.c (idbl2str): Don't omit sign when printing negative zero. | |
85 | ||
74c58131 TTN |
86 | 2002-05-14 Thien-Thi Nguyen <ttn@giblet.glug.org> |
87 | ||
88 | * gc_os_dep.c: For I386/OPENBSD, allow for `__i386__' | |
0926d46e | 89 | in addition to `i386'. Thanks to Dale P. Smith. |
74c58131 | 90 | |
8766d4b5 MV |
91 | 2002-05-08 Marius Vollmer <mvo@zagadka.ping.de> |
92 | ||
93 | * eq.c (real_eqv): New. | |
94 | (scm_eqv_p): Use it when comparing reals and complexes. | |
95 | ||
96 | * numbers.c: Include <string.h>, for strncmp. | |
97 | (mem2complex): Do not create negative NaNs. | |
98 | (scm_leq_p, scm_geq_p): Explicitely return #f when comparing a | |
99 | NaN. | |
100 | (scm_inexact_to_exact): Signal error when converting a NaN. | |
74c58131 | 101 | |
1d8c3cad MV |
102 | 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de> |
103 | ||
104 | * posix.c (scm_putenv): Handle removing variables explicitely by | |
105 | calling unsetenv. | |
106 | ||
107 | From John W. Eaton. | |
74c58131 | 108 | |
1d8c3cad MV |
109 | * numbers.h: Conditionally include floatingpoint.h, ieeefp.h, and |
110 | nan.h. Provide declarations for scm_inf_p, scm_nan_p, scn_inf, | |
111 | and scm_nan. | |
112 | * numbers.c: [SCO && ! HAVE_ISNAN] (isnan): New function. | |
113 | [SCO && ! HAVE_ISINF] (isinf): New function. | |
114 | (xisinf, xisnan): New functions. | |
115 | (IS_INF): Delete. | |
116 | (isfinite): Define in terms of xisinf. | |
117 | (scm_inf_p, scm_nan_p): New functions. | |
118 | (guile_Inf, guile_NaN): New file-scope vars. | |
119 | (guile_ieee_init): New function. | |
120 | (scm_inf, scm_nan): New functions. | |
121 | (idbl2str): Handle Inf and NaN. Remove funny label and | |
122 | corresponding gotos. | |
123 | (ALLOW_DIVIDE_BY_ZERO): New macro. | |
124 | (scm_divide): Allow division by zero to occur if | |
125 | ALLOW_DIVIDE_BY_ZERO is defined. | |
126 | Handle bignums and ints as special cases. | |
127 | ||
128 | Additional stuff by me: | |
129 | ||
130 | numbers.c (mem2ureal): Recognize "inf.0" and "nan.xxx". | |
131 | (scm_even_p, scm_odd_p): Treat infinity as even and odd. | |
132 | (iflo2str): Don't output a '+' for negative numbers or for Inf and | |
133 | NaN. They will provide their own sign. | |
134 | (scm_divide): Only allow divides by inexact zeros. Dividing by | |
135 | exact zeros still signals an errors. | |
74c58131 | 136 | |
7a0c65eb TTN |
137 | 2002-04-22 Thien-Thi Nguyen <ttn@giblet.glug.org> |
138 | ||
87b72063 | 139 | * goops.h (scm_slot_exists_p): Rename from scm_slots_exists_p. |
7a0c65eb TTN |
140 | * goops.c (scm_slot_exists_p): Rename from scm_slots_exists_p. |
141 | (s_scm_slot_exists_p): Rename from s_scm_slots_exists_p. | |
142 | Thanks to Andreas Rottmann. | |
143 | ||
5e423a39 GH |
144 | 2002-04-20 Gary Houston <ghouston@arglist.com> |
145 | ||
146 | * removal of unused fields in root state (thanks to Christopher | |
147 | Cramer for pointing out the disuse.) | |
148 | * root.h (scm_root_state): removed def_inp, def_outp, def_errp. | |
1841c44a | 149 | (scm_def_inp, scm_def_outp, scm_def_errp): removed. |
b6287a25 | 150 | |
5e423a39 GH |
151 | * root.c (root_mark): don't mark them. |
152 | (scm_make_root): don't set them to #f. | |
153 | * init.c (scm_init_standard_ports): don't initialise with the | |
154 | default ports. | |
155 | ||
9d2cce76 MV |
156 | 2002-04-17 Marius Vollmer <mvo@zagadka.ping.de> |
157 | ||
158 | * Makefile.am (EXTRA_DIST): Added cpp_err_symbols.c and | |
159 | cpp_sig_symbols.c. | |
160 | ||
161 | 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de> | |
162 | ||
163 | * guile-snarf.in: Do not clean input file. This would write to | |
164 | the $(srcdir) during a VPATH build, which is not allowed. It also | |
165 | isn't needed since it only works when an output filename has been | |
166 | specified and in that case we don't need to clean the input file | |
167 | because the output file will already exist. | |
168 | ||
6f79b6cc MV |
169 | 2002-03-31 Marius Vollmer <mvo@zagadka.ping.de> |
170 | ||
171 | * guile-snarf: Install the trap for removing $cleanfile only when | |
172 | the value of $cleanfile is actually known. | |
173 | ||
21550b10 RB |
174 | 2002-04-10 Rob Browning <rlb@defaultvalue.org> |
175 | ||
176 | * .cvsignore: add versiondat.h and *.c.clean.c. | |
177 | ||
bc76d628 DH |
178 | 2002-03-26 Dirk Herrmann <D.Herrmann@tu-bs.de> |
179 | ||
180 | * srcprop.[ch] (scm_c_source_property_breakpoint_p): New | |
181 | function, replaces macro SRCBRKP. | |
182 | ||
183 | (SRCBRKP): Deprecated. | |
184 | ||
185 | * eval.c (SCM_CEVAL): Replaced use of SRCBRKP by call to | |
186 | scm_c_source_property_breakpoint_p. Removed some use of arg1 as | |
187 | temporary variable. | |
188 | ||
5132eef0 DH |
189 | 2002-03-25 Dirk Herrmann <D.Herrmann@tu-bs.de> |
190 | ||
191 | * debug.h, eval.c: Deprecated CHECK_ENTRY, CHECK_APPLY and | |
192 | CHECK_EXIT and removed all references to them. | |
193 | ||
680516ba DH |
194 | 2002-03-24 Dirk Herrmann <D.Herrmann@tu-bs.de> |
195 | ||
196 | * debug.h (scm_ready_p, debug_print): Removed declarations. | |
197 | ||
198 | * eval.c (EVALCELLCAR): Removed. | |
199 | ||
200 | (SCM_CEVAL): Eliminated label loopnoap. Removed side-effecting | |
201 | operation from condition. | |
202 | ||
e2bd68e0 MV |
203 | 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de> |
204 | ||
205 | * guile-snarf.in: When the output filename is "-", write to | |
206 | stdout. When no "-o" option is given, use "-" as the output | |
207 | filename (i.e., stdout). Only 'clean' the inputfile or remove the | |
208 | output file on error when the output file name is not "-". Define | |
209 | the preprocessor macro SCM_MAGIC_SNARFER while snarfing. | |
210 | ||
211 | * Makefile.am (.c.x): Pass "-o $@" to guile-snarf. | |
212 | ||
ab1f1094 DH |
213 | 2002-03-23 Dirk Herrmann <D.Herrmann@tu-bs.de> |
214 | ||
215 | * eval.c (SCM_CEVAL, SCM_APPLY): Eliminated labels wrongnumargs | |
216 | and the corresponding goto statements. Removed redundant code. | |
217 | ||
42030fb2 DH |
218 | 2002-03-21 Dirk Herrmann <D.Herrmann@tu-bs.de> |
219 | ||
220 | * eval.c (SCM_CEVAL): Minimized scope of variable arg2. | |
221 | Eliminated redundant SCM_IMP check. Exlined call to EVALCAR. | |
222 | Re-enabled handing of rpsubrs and asubrs. | |
223 | ||
e050d4f8 DH |
224 | 2002-03-20 Dirk Herrmann <D.Herrmann@tu-bs.de> |
225 | ||
226 | * eval.c (SIDEVAL): Removed. | |
227 | ||
228 | (SCM_CEVAL): Minimized scope of variable orig_sym. Eliminated | |
229 | goto-labels cdrxnoap, cdrxbegin and nontoplevel_cdrxnoap. Changed | |
230 | argument checking order for set! to locals, variables and symbols. | |
231 | Improvements to control structure. Removed some uses of arg1 and | |
232 | arg2 as temporary variables. | |
233 | ||
a6d344d3 TTN |
234 | 2002-03-15 Thien-Thi Nguyen <ttn@giblet.glug.org> |
235 | ||
236 | * guile-snarf.in: Remove "--compat=1.4" support. | |
237 | Add "-d" and "-D" support. | |
238 | ||
239 | (deprecated_list): New var. | |
240 | (compat_mode_clean_xxx): Delete. | |
241 | (grep_deprecated): New func. | |
242 | ("main"): If "-d" or "-D", call `grep_deprecated'. | |
243 | ||
3939e9df NJ |
244 | 2002-03-15 Neil Jerram <neil@ossau.uklinux.net> |
245 | ||
387d418c NJ |
246 | * hooks.h: Change scm_t_c_hookype_t everywhere to |
247 | scm_t_c_hook_type. | |
248 | ||
bb2c02f2 | 249 | Docstring fixes: |
a6d344d3 | 250 | |
bb2c02f2 NJ |
251 | * strings.c (scm_string_p): Change unnecessary `iff' to `if'. |
252 | ||
253 | * ports.c (scm_sys_make_void_port): Use `@file'. | |
254 | ||
255 | * numbers.c (scm_number_p, scm_real_p): Use `otherwise' rather | |
256 | than `else'. | |
257 | ||
258 | * macros.c (scm_makmacro): Don't say that the form replaces its | |
259 | source, because it doesn't. | |
260 | (scm_makmmacro): Clarify difference between this and scm_makmacro. | |
261 | ||
262 | * backtrace.c (scm_display_error), filesys.c (scm_umask, | |
263 | scm_select, scm_basename), goops.c (scm_method_generic_function), | |
264 | numbers.c (scm_integer_length), posix.c (scm_getgroups, scm_execl, | |
265 | scm_setlocale, scm_flock), socket.c (scm_shutdown): Correct | |
266 | spelling mistakes. | |
267 | ||
3939e9df NJ |
268 | * debug.c (scm_debug_options), eval.c |
269 | (scm_eval_options_interface), read.c (scm_read_options): Change | |
270 | incorrect @var in docstring to @code. | |
271 | ||
3b3cc781 MV |
272 | 2002-03-14 Marius Vollmer <mvo@zagadka.ping.de> |
273 | ||
500b0d5b MV |
274 | * unif.c (singp): Use SCM_REALP instead of SCM_SLOPPY_REALP. |
275 | ||
3b3cc781 MV |
276 | * snarf.h (SCM_SNARF_INIT): Add "^:^" after code so that |
277 | guile-snarf can remove trailing non-init code. | |
278 | ||
279 | * guile-snarf.in (modern_snarf): Remove everything following and | |
280 | including "^:^" from the output. | |
281 | ||
dff98306 DH |
282 | 2002-03-14 Dirk Herrmann <D.Herrmann@tu-bs.de> |
283 | ||
284 | * eval.c (SCM_CEVAL), srcprop.h (SRCBRKP): Eliminated union 't'. | |
285 | ||
286 | * eval.c (SCM_CEVAL): Exlined call to EVALCAR. | |
287 | ||
2287fb53 TTN |
288 | 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org> |
289 | ||
290 | * guile-snarf.in: Update copyright. | |
291 | Rewrite to internalize error handling. | |
292 | Add "--compat=1.4" handling. | |
293 | Add commentary. | |
294 | ||
295 | * Makefile.am (libpath.h): Use @top_srcdir_absolute@. | |
296 | (snarfcppopts): New var. | |
297 | (.c.x): Use $(snarfcppopts). Rework guile-snarf usage. | |
298 | (.c.doc): Use $(snarfcppopts). | |
299 | ||
822250a4 TTN |
300 | * alist.c, arbiters.c, async.c, backtrace.c, boolean.c, chars.c, |
301 | continuations.c, debug-malloc.c, debug.c, deprecation.c, dynl.c, | |
302 | dynwind.c, environments.c, eq.c, error.c, eval.c, evalext.c, | |
303 | extensions.c, feature.c, filesys.c, fluids.c, fports.c, gc.c, | |
304 | goops.c, gsubr.c, guardians.c, hash.c, hashtab.c, hooks.c, | |
305 | ioext.c, iselect.c, keywords.c, lang.c, list.c, load.c, macros.c, | |
306 | modules.c, net_db.c, numbers.c, objects.c, objprop.c, options.c, | |
307 | pairs.c, ports.c, posix.c, print.c, procprop.c, procs.c, | |
308 | properties.c, ramap.c, random.c, rdelim.c, read.c, regex-posix.c, | |
309 | root.c, rw.c, scmsigs.c, script.c, simpos.c, socket.c, sort.c, | |
310 | srcprop.c, stackchk.c, stacks.c, stime.c, strings.c, strop.c, | |
311 | strorder.c, strports.c, struct.c, symbols.c, threads.c, throw.c, | |
312 | unif.c, values.c, variable.c, vectors.c, version.c, vports.c, | |
313 | weaks.c: Retire inclusion guard macro SCM_MAGIC_SNARFER. | |
314 | ||
b7798e10 DH |
315 | 2002-03-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
316 | ||
317 | * eval.c (SCM_CEVAL): Got rid of the last reference to t.lloc. | |
318 | The next step will be to remove the union 't' and simplify the | |
319 | code of SCM_CEVAL that way. | |
320 | ||
04a98cff NJ |
321 | 2002-03-12 Neil Jerram <neil@ossau.uklinux.net> |
322 | ||
323 | * iselect.c (collisionp, gnfds, greadfds, gwritefds, gexceptfds, | |
324 | rreadfds, rwritefds, rexceptfds): Made static. | |
325 | ||
326 | * gc.c (terminating), fports.c (terminating): Renamed | |
327 | scm_i_terminating. | |
328 | ||
16d98032 MV |
329 | 2002-03-11 Marius Vollmer <mvo@zagadka.ping.de> |
330 | ||
5046250e MV |
331 | * numbers.c (scm_divide): Adapt code from libstdc++/f2c to void |
332 | potential overflow problems. Thanks to John W Eaton! | |
333 | ||
8794207d MV |
334 | * strop.c (string_capitalize_x): Treat characters as unsigned so |
335 | that 8-bit chars work. Thanks to David Pirotte! | |
16d98032 | 336 | |
1d15ecd3 DH |
337 | 2002-03-10 Dirk Herrmann <D.Herrmann@tu-bs.de> |
338 | ||
339 | * eval.c (SCM_CEVAL): Cleaned up the handling of 'slot-ref', | |
340 | 'slot-set!' and 'nil-cond'. Removed some uses of t.arg1, arg2 and | |
341 | proc as temporary variables. Introduced temporary variables with | |
342 | hopefully descriptive names for clarification. Replaced SCM_N?IMP | |
343 | by a more explicit predicate in some places. | |
344 | ||
345 | 2002-03-09 Dirk Herrmann <D.Herrmann@tu-bs.de> | |
f12745b6 DH |
346 | |
347 | * eval.c (SCM_CEVAL): Cleaned up the handling of #@dispatch. | |
348 | Added lots of comments regarding the implementation of #@dispatch. | |
349 | Changed intra-procedure communication to use t.arg1 instead of | |
350 | arg2. Removed some uses of t.arg1, t.lloc and proc as temporary | |
351 | variables. Introduced temporary variables with hopefully | |
352 | descriptive names for clarification. Replaced SCM_N?IMP by a more | |
353 | explicit predicate in some places. Use SCM_INSTANCE_HASH instead | |
354 | of computing the expression explicitly. Eliminate now unused | |
355 | label nontoplevel_cdrxbegin. | |
356 | ||
357 | * goops.h (SCM_INSTANCE_HASH): New macro. | |
358 | ||
359 | * objects.h (SCM_CMETHOD_FORMALS, SCM_CMETHOD_BODY): New macros. | |
360 | ||
1ebf1566 TTN |
361 | 2002-03-08 Thien-Thi Nguyen <ttn@giblet.glug.org> |
362 | ||
363 | * Makefile.am (bin_SCRIPTS): Revive this decl, w/ initial element | |
364 | "guile-snarf" moved back from `noinst_SCRIPTS'. | |
365 | ||
020c890c NJ |
366 | 2002-03-08 Neil Jerram <neil@ossau.uklinux.net> |
367 | ||
58d233cc NJ |
368 | * srcprop.c (scm_set_source_property_x): If SRCPROPS obj already |
369 | exists when adding a source property other than those that are | |
370 | handled explicitly, add the new property to the SRCPROPS obj's | |
371 | plist. | |
372 | ||
020c890c NJ |
373 | * debug.h (SCM_MAX_FRAME_SIZE): Remove incorrect comment about use |
374 | of SCM_MAX_FRAME_SIZE as a bit mask; it isn't used like this. | |
375 | ||
376 | * eval.c (SCM_CEVAL): Don't store scm_debug_eframe_size in | |
377 | debug.status. It isn't needed, and it can overflow the bits | |
378 | reserved for it (which may lead to a segv or a GC abort). | |
379 | ||
3f04400d DH |
380 | 2002-03-02 Dirk Herrmann <D.Herrmann@tu-bs.de> |
381 | ||
382 | * eval.c (SCM_CEVAL): Cleaned up the handling of 'apply'. Removed | |
383 | side-effecting operations from conditions and macro calls. | |
384 | Replaced SCM_N?IMP by a more explicit predicate in some places. | |
385 | Minimized the scope of some variables. | |
386 | ||
97820583 SJ |
387 | 2002-03-02 Stefan Jahn <stefan@lkcc.org> |
388 | ||
389 | * convert.i.c: Fixed int <-> long conversions which would have | |
390 | failed if their sizes were different. | |
391 | ||
38ace99e DH |
392 | 2002-03-02 Dirk Herrmann <D.Herrmann@tu-bs.de> |
393 | ||
394 | * eval.c (SCM_CEVAL): Cleaned up the handling of 'if', 'let', | |
395 | 'letrec' and 'set*': Removed some uses of t.arg1, t.lloc and proc | |
396 | as temporary variables. Removed side-effecting operations from | |
397 | conditions and macro calls. Introduced temporary variables with | |
398 | hopefully descriptive names for clarification. Replaced SCM_N?IMP | |
399 | by a more explicit predicate in some places. Removed code that | |
400 | was conditionally compiled if SICP was defined - which it never | |
401 | is. | |
402 | ||
e5cb71a0 DH |
403 | 2002-03-02 Dirk Herrmann <D.Herrmann@tu-bs.de> |
404 | ||
405 | * eval.c (SCM_CEVAL): Cleaned up the handling of 'cons' and 'do': | |
406 | Removed some uses of t.arg1 and proc as temporary variables. | |
407 | Removed side-effecting operations from conditions and macro calls. | |
408 | Introduced temporary variables with hopefully descriptive names | |
409 | for clarification. Replaced SCM_N?IMP by a more explicit | |
410 | predicate in some places. | |
411 | ||
6a0f6ff3 DH |
412 | 2002-03-02 Dirk Herrmann <D.Herrmann@tu-bs.de> |
413 | ||
414 | * eval.c (scm_badargsp, SCM_CEVAL): Replaced SCM_N?IMP by a more | |
415 | explicit predicate in some places. | |
416 | ||
417 | (CHECK_EQVISH): Removed. | |
418 | ||
419 | (SCM_CEVAL): Removed some uses of t.arg1 and proc as temporary | |
420 | variables. Removed side-effecting operations from conditions and | |
421 | macro calls. Introduced temporary variables for clarification. | |
422 | Sorted if-else-if check for the type of the last form in a list by | |
423 | frequency. Avoided some unnecessary tail-recursion calls. | |
424 | ||
228a24ef DH |
425 | 2002-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de> |
426 | ||
427 | * gc.c (SCM_HEAP_SEG_SIZE, CELL_UP, CELL_DN, NEXT_DATA_CELL, | |
428 | init_heap_seg, alloc_some_heap), gc.h (struct scm_cell, struct | |
429 | scm_t_cell, SCM_CELLPTR, SCM_GC_CARD_SIZE, | |
430 | SCM_GC_IN_CARD_HEADERP), tags.h (SCM_CELLP): Renamed the struct | |
431 | scm_cell and all its uses to scm_t_cell in accordance to Guile's | |
432 | naming scheme for types. | |
433 | ||
434 | * alist.c (scm_acons), convert.i.c (CTYPES2UVECT, | |
435 | CTYPES2UVECT_OPTIONAL), coop-threads.c (scm_call_with_new_thread, | |
436 | scm_spawn_thread), debug.c (scm_make_debugobj), environments.c | |
437 | (scm_make_environment), eval.c (scm_closure), fports.c | |
438 | (scm_fdes_to_port), gc.c (scm_deprecated_newcell, | |
439 | scm_deprecated_newcell2), inline.h (scm_alloc_cell, scm_cell), | |
440 | list.c (SCM_I_CONS), numbers.c (scm_i_mkbig), pairs.c (scm_cons), | |
441 | ports.c (scm_void_port), procs.c (scm_c_make_subr, scm_makcclo), | |
442 | smob.c (scm_make_smob), smob.h (SCM_NEWSMOB), strings.c | |
443 | (scm_take_str, scm_allocate_string), strports.c (scm_mkstrport), | |
444 | unif.c (scm_make_uve), variable.c (make_variable), vectors.c | |
445 | (scm_c_make_vector), vports.c (scm_make_soft_port): Renamed | |
446 | scm_alloc_cell to scm_cell. | |
447 | ||
448 | * environments.c (core_environments_observe), gc.c | |
449 | (scm_deprecated_newcell2), goops.c (wrap_init, scm_wrap_object), | |
450 | inline.h (scm_alloc_double_cell, scm_double_cell), num2float.i.c | |
451 | (FLOAT2NUM), numbers.c (scm_make_real), procs.c | |
452 | (scm_make_procedure_with_setter), smob.h (SCM_NEWSMOB2, | |
453 | SCM_NEWSMOB3), struct.c (scm_make_struct, scm_make_vtable_vtable), | |
454 | symbols.c (scm_mem2symbol, scm_mem2uninterned_symbol), weaks.c | |
455 | (allocate_weak_vector): Renamed scm_alloc_double_cell to | |
456 | scm_double_cell. | |
457 | ||
edb810bb SJ |
458 | 2002-02-27 Stefan Jahn <stefan@lkcc.org> |
459 | ||
460 | * convert.i.c, convert.c: Better range checking. | |
461 | ||
462 | * inet_aton.c, fports.c: Commented the inclusion of <winsock2.h>. | |
463 | ||
1ebf1566 | 464 | * deprecation.c (vsnprintf): Define to `_vsnprintf' for |
edb810bb SJ |
465 | Windows (MinGW). |
466 | ||
327d4dd3 TTN |
467 | 2002-02-26 Thien-Thi Nguyen <ttn@giblet.glug.org> |
468 | ||
469 | * Makefile.am: Update path to pre-inst-guile automake frag. | |
470 | ||
89d7a92c | 471 | 2002-02-25 Dirk Herrmann <D.Herrmann@tu-bs.de> |
646052c0 DH |
472 | |
473 | * gc.c (scm_gc_sweep): Make it compile even when deprecated | |
474 | features are excluded. | |
475 | ||
89d7a92c | 476 | 2002-02-25 Dirk Herrmann <D.Herrmann@tu-bs.de> |
bac0e232 DH |
477 | |
478 | * num2integral.i.c (NUM2INTEGRAL): Fixed signedness problem. | |
479 | ||
4f2716b6 GH |
480 | 2002-02-25 Gary Houston <ghouston@arglist.com> |
481 | ||
482 | * convert.c: include <string.h> for convert_i.c. | |
483 | ||
46151112 RB |
484 | 2002-02-24 Rob Browning <rlb@defaultvalue.org> |
485 | ||
486 | * .cvsignore: add stamp-h1. | |
487 | ||
cd328b4f NJ |
488 | 2002-02-21 Neil Jerram <neil@ossau.uklinux.net> |
489 | ||
490 | * unif.c (scm_array_to_list): Correct name, which had been | |
491 | accidentally changed to scm_t_arrayo_list! | |
492 | ||
c709de7f MD |
493 | 2002-02-20 Mikael Djurfeldt <mdj@linnaeus> |
494 | ||
495 | * gc.c (scm_gc_sweep): Print an error message when aborting due to | |
496 | underflowing scm_mallocated. | |
497 | ||
c1965d31 MV |
498 | 2002-02-14 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
499 | ||
500 | * gc.h, gc.c (scm_must_malloc, scm_must_realloc, scm_must_strdup, | |
501 | scm_must_strndup, scm_done_malloc, scm_done_free, scm_must_free): | |
502 | Reimplemented using the new scm_gc_malloc, etc., functions and | |
503 | deprecated. | |
504 | ||
b606945b TTN |
505 | 2002-02-11 Thien-Thi Nguyen <ttn@giblet.glug.org> |
506 | ||
507 | * Makefile.am (bin_PROGRAMS): Move `guile_filter_doc_snarfage' | |
508 | to `noinst_PROGRAMS'. | |
509 | (bin_SCRIPTS): Move all values to `noinst_SCRIPTS'; delete. | |
510 | (noinst_PROGRAMS, noinst_SCRIPTS): New. | |
511 | ||
7c686ba8 MV |
512 | 2002-02-11 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
513 | ||
514 | * gc.h, gc.c (scm_gc_sweep): Issue deprecation warning when | |
515 | non-zero is returned from a port or smob free function. | |
516 | (scm_malloc, scm_realloc, scm_strndup, scm_strdup, | |
517 | scm_gc_register_collectable_memory, | |
518 | scm_gc_unregister_collectable_memory, scm_gc_malloc, | |
519 | scm_gc_realloc, scm_gc_free, scm_gc_strndup, scm_gc_strdup): New. | |
520 | ||
521 | * backtrace.c, continuations.c, convert.i.c, coop-threads.c, | |
522 | debug-malloc.c, dynl.c, environments.c, environments.h, | |
523 | extensions.c, filesys.c, fports.c, gc.c, gc.h, gh_data.c, goops.c, | |
524 | guardians.c, hooks.c, init.c, keywords.c, load.c, numbers.c, | |
525 | ports.c, posix.c, procs.c, rdelim.c, regex-posix.c, root.c, | |
526 | smob.c, stime.c, strings.c, struct.c, struct.h, symbols.c, unif.c, | |
527 | vectors.c, weaks.c: Use scm_gc_malloc/scm_malloc and | |
528 | scm_gc_free/free instead of scm_must_malloc and scm_must_free, as | |
529 | appropriate. Return zero from smob and port free functions. | |
530 | ||
531 | * debug-malloc.c (scm_malloc_reregister): Handle "old == NULL". | |
532 | ||
533 | * deprecation.h, deprecation.c: Reimplemented to allow deprecation | |
534 | messages while the GC is running. | |
535 | (scm_c_issue_deprecation_warning_fmt): New. | |
536 | ||
537 | * fports.c (scm_setvbuf): Reset read buffer to saved values when | |
538 | it is pointing to the putback buffer. | |
539 | ||
66adc0a6 TTN |
540 | 2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org> |
541 | ||
542 | * gsubr.c (create_gsubr): On "too many args" error, | |
543 | also display arg count and name. Thanks to Bill Schottstaedt. | |
544 | ||
0187b4f4 TTN |
545 | 2002-02-05 Thien-Thi Nguyen <ttn@giblet.glug.org> |
546 | ||
547 | * Makefile.am: Include $(top_srcdir)/pre-inst-guile.am. | |
548 | ||
549 | (bin_SCRIPTS): Remove guile-snarf-docs-texi. | |
550 | (alldotdocfiles, snarf2checkedtexi, dotdoc2texi): New vars. | |
551 | (guile.texi, guile-procedures.texi): Use $(dotdoc2texi). | |
552 | ||
553 | * guile-snarf-docs-texi.in: Bye bye. | |
554 | ||
402e687c MV |
555 | 2002-02-04 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
556 | ||
557 | * symbols.c (scm_make_symbol): Fix typo in docstring. | |
558 | ||
559 | * symbols.h (scm_mem2uninterned_symbol, scm_symbol_interned_p, | |
560 | scm_make_symbol): New prototypes. | |
561 | ||
319b98ed MV |
562 | 2002-02-03 Marius Vollmer <mvo@zagadka.ping.de> |
563 | ||
564 | * symbols.h (SCM_SET_SYMBOL_HASH): Removed. | |
565 | (SCM_SYMBOL_INTERNED_P): New. | |
566 | * symbols.c (scm_symbol_hash): Use scm_ulong2num instead of | |
567 | SCM_MAKINUM since hash values can well be bignums. | |
568 | (scm_mem2symbol): Only use hash values below SCM_T_BITS_MAX/2. | |
569 | This signals a interned symbol. | |
570 | (scm_mem2uninterned_symbol, scm_symbol_interned_p, | |
571 | scm_make_symbol): New. | |
0187b4f4 | 572 | |
319b98ed MV |
573 | * print.c (scm_iprin1): Print uninterned symbols unreadably. |
574 | ||
34472dfe TTN |
575 | 2002-02-02 Thien-Thi Nguyen <ttn@giblet.glug.org> |
576 | ||
577 | * __scm.h (HAVE_UINTPTR_T): Only define if UINTPTR_T attributes | |
578 | are defined: UINTPTR_MAX, INTPTR_MAX, INTPTR_MIN. | |
0187b4f4 | 579 | Thanks to Dave Love. |
34472dfe | 580 | |
1b39c2e3 MV |
581 | 2002-01-31 Marius Vollmer <mvo@zagadka.ping.de> |
582 | ||
583 | * symbols.c (scm_gensym): Use " g" as default prefix, not "g". | |
319b98ed | 584 | This might help to make unintended clashes less likely. |
1b39c2e3 MV |
585 | (scm_string_to_symbol): Protect the string until the symbols is |
586 | created. | |
587 | ||
1fa86ca5 SJ |
588 | 2002-01-31 Stefan Jahn <stefan@lkcc.org> |
589 | ||
590 | * convert.c, convert.h, convert.i.c: New files containing C | |
34472dfe | 591 | array to Scheme conversion helpers meant to be replacement |
1fa86ca5 SJ |
592 | functions for the deprecated gh interface. |
593 | ||
594 | * Makefile.am: Setup rules for new `convert.*' files. | |
595 | ||
af68e5e5 SJ |
596 | 2002-01-28 Stefan Jahn <stefan@lkcc.org> |
597 | ||
598 | * symbols.c (scm_c_symbol2str): New function, replacement for | |
599 | `gh_scm2newsymbol()'. | |
600 | ||
34472dfe | 601 | * strings.c (scm_c_substring2str): New function. Proper |
af68e5e5 SJ |
602 | replacement for `gh_get_substr()'. |
603 | ||
604 | * socket.c: Include `stdint.h' if available for the `uint32_t' | |
605 | declaration. | |
606 | ||
34472dfe | 607 | * scmsigs.c (s_scm_sigaction): Initialize `chandler' (inhibits |
af68e5e5 SJ |
608 | compiler warning). |
609 | ||
610 | * backtrace.c: Include `lang.h' for GUILE_DEBUG conditional. | |
611 | ||
c96d76b8 | 612 | 2002-01-22 Neil Jerram <neil@ossau.uklinux.net> |
34472dfe | 613 | |
c96d76b8 | 614 | Other changes unrelated to Elisp... |
34472dfe | 615 | |
c96d76b8 NJ |
616 | * eval.c (scm_m_if): Use s_if rather than repeating string literal |
617 | "if". | |
618 | (comments): Fix a few typos. | |
619 | (scm_for_each): Add parentheses around oddly unparenthesized | |
620 | if/while conditions. | |
621 | ||
622 | * read.c (scm_read_opts): Add full stop at end of doc for | |
623 | `keywords' option. | |
624 | ||
625 | * script.c (scm_compile_shell_switches): Use scm_str2symbol | |
626 | instead of gh_symbol2scm. | |
627 | ||
628 | * srcprop.h (SRCPROPBRK): Return C type rather than SCM. | |
629 | (SRCBRKP): Use SRCPROPBRK rather than duplicating its logic. | |
630 | ||
631 | * srcprop.c (scm_srcprops_to_plist, scm_source_property): Change | |
632 | SRCPROPBRK (x) to SCM_BOOL (SRCPROPBRK (x)). | |
633 | ||
634 | First batch of changes for Elisp support... | |
635 | ||
636 | * alist.c, async.c, boolean.c, dynl.c, eval.c, filesys.c, | |
637 | fluids.c, list.c, load.c, options.c, posix.c, print.c, sort.c, | |
638 | throw.c, vectors.c, weaks.c: Add #include for lang.h. | |
639 | ||
640 | * eval.c, eval.h, init.c, lang.c, lang.h: Use SCM_ENABLE_ELISP to | |
641 | conditionalize compilation and initialization of Elisp support | |
642 | function. | |
34472dfe | 643 | |
c96d76b8 NJ |
644 | * alist.c (scm_assq, scm_assv, scm_assoc), async.c |
645 | (scm_asyncs_pending, scm_run_asyncs, noop), backtrace.c | |
646 | (scm_set_print_params_x), dynl.c (scm_make_argv_from_stringlist), | |
647 | filesys.c (fill_select_type, retrieve_select_type), fluids.c | |
648 | (scm_swap_fluids, scm_swap_fluids_reverse), list.c (scm_null_p, | |
649 | scm_ilength, scm_append_x, scm_last_pair, scm_reverse, | |
650 | scm_reverse_x, scm_list_ref, scm_list_set_x, scm_list_cdr_set_x, | |
bbd26b5a NJ |
651 | scm_c_memq, scm_memv, scm_member), load.c (scm_search_path), |
652 | options.c (change_option_setting, scm_options), posix.c | |
653 | (environ_list_to_c), print.c (scm_iprlist), throw.c | |
654 | (scm_exit_status), vectors.c (scm_vector), weaks.c | |
655 | (scm_weak_vector): Use SCM_NULL_OR_NIL_P instead of SCM_NULLP. | |
c96d76b8 NJ |
656 | |
657 | * boolean.c (scm_not): Use `SCM_FALSEP || SCM_NILP' instead of | |
658 | just SCM_FALSEP. | |
34472dfe | 659 | |
c96d76b8 NJ |
660 | * boolean.c (scm_boolean_p): Use `SCM_BOOLP || SCM_NILP' instead |
661 | of just SCM_BOOLP. | |
662 | ||
663 | * eval.c (scm_lisp_nil, scm_lisp_t, s_nil_ify, scm_m_nil_ify, | |
664 | s_t_ify, scm_m_t_ify, s_0_cond, scm_m_0_cond, s_0_ify, | |
665 | scm_m_0_ify, s_1_ify, scm_m_1_ify): Removed. | |
666 | (scm_m_atfop): Support function aliasing. Support both function | |
667 | args, which need transformation, and macro args, which do not. | |
668 | Add explanatory comments. | |
669 | (SCM_CEVAL): In switch cases for SCM_IM_AND, SCM_IM_COND, | |
670 | SCM_IM_DO, SCM_IM_IF and SCM_IM_OR, add `|| SCM_NILP' to existing | |
671 | checks for SCM_FALSEP. In switch case for SCM_IM_NIL_COND, use | |
672 | SCM_NULLP || SCM_NILP instead of checks against (removed) | |
673 | scm_lisp_nil. Removed switch cases for SCM_IM_NIL_IFY, | |
674 | SCM_IM_T_IFY, SCM_IM_0_COND, SCM_IM_0_IFY, SCM_IM_1_IFY. | |
675 | ||
676 | * lang.c (scm_nil_cons, scm_nil_car, scm_nil_cdr, scm_null, | |
677 | scm_m_while, scm_nil_eq): Commented out; I don't think we need | |
678 | these, but I don't want to remove them yet, just in case. | |
679 | (scm_init_lang): Define `%nil' variable on Scheme level to hold | |
680 | Elisp nil value. | |
681 | ||
682 | * lang.h (SCM_NILP): Test against Elisp nil value instead of | |
683 | against (removed) scm_lisp_nil. | |
684 | (SCM_NILNULLP, SCM_NIL2EOL, SCM_EOL2NIL): Commented out. | |
685 | (SCM_NULL_OR_NIL_P): New. | |
686 | ||
687 | * list.c (scm_append): Use SCM_VALIDATE_NULL_OR_NIL instead of | |
688 | SCM_VALIDATE_NULL. | |
689 | ||
690 | * print.c (scm_isymnames): Fix comment. Remove #@nil-ify, | |
691 | #@t-ify, #@0-cond, #@0-ify, #@1-ify. Add #nil (for SCM_ELISP_NIL | |
692 | value). | |
693 | ||
694 | * sort.c (scm_sorted_p, scm_merge, scm_merge_list_x, scm_merge_x, | |
695 | scm_sort_x, scm_sort, scm_stable_sort_x, scm_stable_sort): Use | |
696 | SCM_NULL_OR_NIL_P instead of SCM_NULLP. In constructions like `if | |
697 | (SCM_NULLP (x)) return SCM_EOL;', return x rather than SCM_EOL. | |
698 | ||
699 | * tags.h (SCM_IM_NIL_IFY, SCM_IM_T_IFY, SCM_IM_0_COND, | |
700 | SCM_IM_0_IFY, SCM_IM_1_IFY): Removed. | |
701 | (SCM_IM_BIND, SCM_IM_DELAY, SCM_IM_CALL_WITH_VALUES, SCM_UNBOUND): | |
702 | Numbering shifted down accordingly. | |
703 | (SCM_ELISP_NIL): New IFLAG. | |
704 | ||
705 | * validate.h (SCM_VALIDATE_NULL_OR_NIL): New. | |
34472dfe | 706 | |
a392ee15 DH |
707 | 2002-01-10 Dirk Herrmann <D.Herrmann@tu-bs.de> |
708 | ||
709 | * eval.c: Removed outdated references to "everr". Improved some | |
710 | comments. | |
711 | ||
712 | (scm_deval_args, deval_args): Renamed scm_deval_args to | |
713 | deval_args, since it is not part of the interface. | |
714 | ||
715 | (SCM_CEVAL): Added (maybe somewhat verbose) comment. Avoid to | |
716 | use references to debug.vect[0] before it exists. Add parentheses | |
717 | to switch statement. | |
718 | ||
719 | * goops.h: Added local emacs variables. | |
720 | ||
24933780 DH |
721 | 2002-01-10 Dirk Herrmann <D.Herrmann@tu-bs.de> |
722 | ||
723 | * eval.[ch] (scm_deval_args): Made static. | |
724 | ||
725 | * srcprop.c (scm_source_property): Remove redundant SCM_IMP | |
726 | test. | |
727 | ||
728 | * strings.c (scm_c_string2str): Clarified comment. Replaced | |
729 | THINKME by FIXME for uniformness. Removed question about whether | |
730 | arguments need to be protected from garbage collection: Arguments | |
731 | must be protected as any other variable. | |
732 | ||
f9450cdb DH |
733 | 2002-01-10 Dirk Herrmann <D.Herrmann@tu-bs.de> |
734 | ||
735 | * procs.h (SCM_CLOSURE_BODY): New Macro. | |
736 | ||
737 | * debug.c (scm_procedure_name, scm_procedure_source), eval.c | |
738 | (SCM_CEVAL, SCM_APPLY), goops.c (scm_sys_initialize_object, | |
739 | get_slot_value, set_slot_value), procs.c | |
740 | (scm_procedure_documentation), sort.c (closureless), stacks.c | |
741 | (get_applybody): Replace SCM_CDR (SCM_CODE (...)) by | |
742 | SCM_CLOSURE_BODY. | |
743 | ||
744 | * sort.c (closureless): Prefer !SCM_FOOP over SCM_NFOOP. | |
745 | ||
5dc64f64 MV |
746 | 2001-12-26 Marius Vollmer <mvo@zagadka.ping.de> |
747 | ||
748 | * Makefile.am (guile-procedures.txt): When we don't have makeinfo, | |
749 | use "cp" instead. | |
750 | ||
197ee3d3 MV |
751 | 2001-12-16 Marius Vollmer <mvo@zagadka.ping.de> |
752 | ||
753 | * stacks.c, stacks.h (scm_t_stackype): Renamed to scm_stack_type | |
754 | everywhere. | |
755 | ||
756 | * continuations.c (scm_make_continuation): Do not retain the | |
757 | throw_value when the continuation is invoked. | |
758 | ||
4d4528e7 SJ |
759 | 2001-12-08 Stefan Jahn <stefan@lkcc.org> |
760 | ||
761 | * strings.c (scm_c_string2str): New function. Converts a | |
34472dfe | 762 | given Scheme string into a C string. Also put in two |
4d4528e7 SJ |
763 | THINKME's regarding the malloc policy for the missing converter |
764 | routines. | |
765 | ||
98347362 NJ |
766 | 2001-12-01 Neil Jerram <neil@ossau.uklinux.net> |
767 | ||
768 | * gh_data.c (gh_module_lookup): Use scm_str2symbol rather than | |
769 | gh_symbol2scm. | |
770 | ||
1fc8902f DH |
771 | 2001-11-28 Dirk Herrmann <D.Herrmann@tu-bs.de> |
772 | ||
773 | * gc.h (SCM_GC_CELL_WORD, SCM_GC_CELL_OBJECT, | |
774 | SCM_GC_SET_CELL_WORD, SCM_GC_SET_CELL_OBJECT): New macros. | |
775 | ||
776 | (SCM_GC_CELL_TYPE, SCM_CELL_WORD, SCM_CELL_OBJECT, | |
777 | SCM_SET_CELL_WORD, SCM_SET_CELL_OBJECT, SCM_FREE_CELL_CDR, | |
778 | SCM_GC_SET_CELL_OBJECT): Express in terms of SCM_GC_CELL_* | |
779 | macros. | |
780 | ||
781 | (SCM_FREE_CELL_P): Express in terms of SCM_GC_CELL_TYPE. | |
782 | ||
783 | * inline.h (scm_alloc_cell, scm_alloc_double_cell): Use | |
784 | SCM_GC_CELL_* macros when accessing free cells. | |
785 | ||
4878beec MV |
786 | 2001-11-25 Marius Vollmer <mvo@zagadka.ping.de> |
787 | ||
788 | * vectors.h (SCM_MAKE_VECTOR_TAG): New. | |
34472dfe | 789 | * unif.h (SCM_MAKE_BITVECTOR_TAG, SCM_MAKE_UVECTOR_TAG): New. |
4878beec MV |
790 | * symbols.h (SCM_MAKE_SYMBOL_TAG): New. |
791 | * strings.h (SCM_MAKE_STRING_TAG): New. | |
792 | * procs.h (SCM_MAKE_CCLO_TAG): New. | |
793 | * numbers.h (SCM_MAKE_BIGNUM_TAG): New. | |
794 | ||
795 | * goops.h: Replaced SCM_DEBUG_DEPRECATED with | |
796 | !SCM_ENABLE_DEPRECATED. | |
797 | ||
798 | * async.c, async.h (scm_system_async_mark_from_signal_handler): | |
799 | New. | |
800 | ||
801 | * scmsigs.c (scm_take_signal): Removed all code that assumes that | |
802 | signal handlers are allowed to divert the flow of control. Call | |
803 | scm_system_async_mark_from_signal_handler instead of | |
804 | scm_system_async_mark. | |
805 | ||
806 | ||
807 | Deprecated SCM_NEWCELL and SCM_NEWCELL2. Added scm_alloc_cell and | |
808 | scm_alloc_double_cell in their place. | |
34472dfe | 809 | |
4878beec MV |
810 | * gc.h (SCM_GC_SET_ALLOCATED, scm_debug_newcell, |
811 | scm_debug_newcell2, scm_tc16_allocated): Removed from header. | |
812 | (scm_deprecated_newcell, scm_deprecated_newcell2): New. | |
813 | (SCM_NEWCELL, SCM_NEWCELL2): Implement in terms of | |
814 | scm_deprecated_newcell and scm_deprecated_newcell2. | |
815 | ||
816 | gc.c (scm_tc16_allocated): Only define when including deprecated | |
817 | features. | |
818 | (scm_debug_newcell, scm_debug_newcell2): Removed. | |
819 | (scm_init_storage): Do not initialize scm_tc16_allocated. | |
820 | (scm_init_gc): Do it here. | |
821 | (allocated_mark): New, from old code. | |
822 | (scm_deprecated_newcell, scm_deprecated_newcell2): New. | |
34472dfe | 823 | |
4878beec | 824 | * inline.c, inline.h: New files. |
34472dfe | 825 | * Makefile.am: Added them in all the right places. |
4878beec | 826 | |
34472dfe | 827 | * _scm.h: Include "libguile/inline.h". |
4878beec MV |
828 | |
829 | * alist.c, coop-threads.c, debug.c, environments.c, eval.c, | |
830 | fports.c, gh_data.c, goops.c, guardians.c, lang.c, list.c, | |
831 | num2float.i.c, numbers.c, pairs.c, ports.c, print.c, procs.c, | |
832 | smob.c, smob.h, strings.c, strports.c, struct.c, symbols.c, | |
833 | unif.c, variable.c, vectors.c, vports.c, weaks.c: Replaced | |
834 | SCM_NEWCELL and SCM_NEWCELL2 with scm_alloc_cell and | |
835 | scm_alloc_double_cell, respectively. | |
836 | ||
d2bc7fae MV |
837 | 2001-11-23 Marius Vollmer <mvo@zagadka.ping.de> |
838 | ||
839 | * modules.c (scm_c_use_module): Adapt to changes to | |
840 | `process-use-modules'. | |
841 | ||
5eec27e9 DH |
842 | 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de> |
843 | ||
844 | * numbers.c (scm_divide): Fix more division by zero errors. | |
845 | ||
8978878f GH |
846 | 2001-11-21 Gary Houston <ghouston@arglist.com> |
847 | ||
848 | * Makefile.am (OMIT_DEPENDENCIES): removed, since it seems to be | |
849 | obsolete. autogen.sh says: | |
850 | invalid unused variable name: `OMIT_DEPENDENCIES' | |
851 | ||
164826d3 DH |
852 | 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de> |
853 | ||
854 | * numbers.c (scm_divide): Fix (/ 0). Thanks to Keith Wright for | |
855 | reporting the bug. | |
856 | ||
84aff7a7 MV |
857 | 2001-11-21 Marius Vollmer <mvo@zagadka.ping.de> |
858 | ||
859 | * Makefile.am (install-exec-hook): Prepend $(DESTDIR) to filename. | |
860 | Thanks to Eric Gillespie, Jr! | |
34472dfe | 861 | |
6063dc1d SJ |
862 | 2001-11-21 Stefan Jahn <stefan@lkcc.org> |
863 | ||
34472dfe TTN |
864 | * win32-socket.c (getservent, setservent, endservent, |
865 | getprotoent, setprotoent, endprotoent): New functions. | |
6063dc1d SJ |
866 | Appropriate replacements for M$-Windows. |
867 | ||
868 | * numbers.c (SIZE_MAX, PTRDIFF_MAX, PTRDIFF_MIN): Reintroduced | |
869 | these definitions for GUILE_DEBUG. | |
870 | ||
871 | * net_db.c: Include "win32-socket.h" if compiling with a native | |
34472dfe TTN |
872 | M$-Windows compiler. Include some pieces of code (protoent and |
873 | servent interface) protected by HAVE_* macros when using a | |
6063dc1d SJ |
874 | native M$-Windows compiler. |
875 | ||
351982f6 MV |
876 | 2001-11-20 Marius Vollmer <mvo@zagadka.ping.de> |
877 | ||
878 | * modules.c (scm_c_export): Do nothing when the first argument is | |
879 | already the terminating NULL. Thanks to Han-Wen Nienhuys! | |
880 | ||
849038b5 TTN |
881 | 2001-11-20 Thien-Thi Nguyen <ttn@glug.org> |
882 | ||
883 | * Makefile.am (libpath.h): In SCM_BUILD_INFO, | |
884 | also include `buildstamp'. | |
885 | ||
5c790b44 RB |
886 | 2001-11-18 Rob Browning <rlb@defaultvalue.org> |
887 | ||
888 | * version.c | |
889 | (s_scm_major_version): use SCM_MAJOR_VERSION. | |
890 | (s_scm_minor_version): use SCM_MINOR_VERSION. | |
891 | (s_scm_micro_version): use SCM_MICRO_VERSION. | |
892 | (s_scm_version): use SCM_MAJOR_VERSION, SCM_MINOR_VERSION, and | |
893 | SCM_MICRO_VERSION. | |
894 | ||
895 | * version.h.in | |
896 | (SCM_MAJOR_VERSION): renamed from SCM_GUILE_MAJOR_VERSION. | |
897 | (SCM_MINOR_VERSION): renamed from SCM_GUILE_MINOR_VERSION. | |
898 | (SCM_MICRO_VERSION): renamed from SCM_GUILE_MICRO_VERSION. | |
899 | ||
694a9bb3 NJ |
900 | 2001-11-18 Neil Jerram <neil@ossau.uklinux.net> |
901 | ||
902 | * vectors.c (scm_vector_move_left_x, scm_vector_move_right_x): | |
903 | Rewrite docstrings without reference to substring-move-left/right, | |
904 | since the latter no longer exist. | |
905 | ||
302c12b4 DH |
906 | 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de> |
907 | ||
908 | * eval.c: Removed bogus comment about acros. | |
909 | ||
910 | (scm_unmemocar): Use !SCM_CONSP instead of SCM_IMP. | |
911 | Minimize scope of local variable. Eliminate dependency on | |
912 | macro DEBUG_EXTENSIONS. | |
913 | ||
914 | (s_splicing): New error message string. | |
915 | ||
916 | (scm_m_body): Issue 'bad body' message rather than 'missing | |
917 | expression' message. | |
918 | ||
919 | (scm_m_quote): Eliminate unnecessary copying. | |
920 | ||
921 | (scm_m_lambda, scm_m_letstar, scm_m_letrec, scm_m_let): Leave the | |
922 | checking of the body to scm_m_body. | |
923 | ||
924 | (scm_m_do): Move comment to function header. Rename arg1 to | |
925 | binding. Made the code a bit easier to read. | |
926 | ||
927 | (evalcar): Removed. | |
928 | ||
929 | (iqq): Added a comment. Changed the depth parameter to | |
930 | unsigned. Use size_t for vector lengths. Make sure vector object | |
931 | is gc protected as long as its contents are read. Add some syntax | |
932 | checks. Get rid of unnecessary SCM_IMP test. Clean up the | |
933 | control structure a bit. | |
934 | ||
935 | (scm_m_delay): Added comment about the implementation of | |
936 | scm_m_delay. | |
937 | ||
938 | (scm_m_define): Add comment about guile's currying define | |
939 | syntax. Renamed 'proc' to 'name'. Eliminate dependency on macro | |
940 | DEBUG_EXTENSIONS. Simplified code a bit. Eliminate SICP code. | |
941 | ||
942 | (scm_m_letrec1): Removed. Part of the functionality is taken | |
943 | over by the new function 'transform_bindings'. | |
944 | ||
945 | (transform_bindings): New function. Takes over some of the | |
946 | functionality of removed function 'scm_m_letrec1', namely to split | |
947 | a list of bindings into a reversed list of variables and a list of | |
948 | initializers. | |
949 | ||
950 | (scm_m_letrec): Call 'transform_bindings'. | |
951 | ||
952 | (scm_m_let): Minimized scope of local variables. Renamed 'proc' | |
953 | to 'temp' and 'arg1' to 'binding'. Eliminated redundant SCM_NIMP | |
954 | test. Use 'transform_bindings'. Fixed scoping error with named | |
955 | let (Thanks to Aubrey Jaffer for reporting the bug and to Neil | |
956 | Jerram for suggesting the fix). Cleaned up the control structure | |
957 | a bit. | |
958 | ||
959 | (scm_m_expand_body): Use 'transform_bindings'. Eliminated | |
960 | unnecessary consing. Eliminated unnecessary | |
961 | SCM_DEFER/ALLOW_INTS. | |
962 | ||
963 | (SCM_CEVAL): Un-obfuscated some loops. | |
964 | ||
cecb4a5e NJ |
965 | 2001-11-16 Neil Jerram <neil@ossau.uklinux.net> |
966 | ||
8f85c0c6 NJ |
967 | * gc.h (scm_unhash_name): Old declaration removed. |
968 | ||
969 | * eval.c (s_scm_eval): Change @var{primitive-eval} to | |
970 | @code{primitive-eval}. | |
971 | ||
972 | * feature.c, vectors.c, net_db.c, unif.c, weaks.c, struct.c, | |
973 | version.c, alist.c, ports.c, ramap.c, unif.c, strings.c, list.c: | |
974 | Change @deffnx lines in docstrings to say {Scheme Procedure} | |
975 | rather than primitive or procedure. | |
976 | ||
977 | * posix.c (scm_execl), filesys.c (scm_close), unif.c | |
978 | (scm_array_set_x, scm_array_contents, scm_uniform_array_read_x, | |
979 | scm_bit_set_star_x, scm_bit_invert_x), ramap.c (scm_array_fill_x, | |
980 | scm_array_for_each, scm_array_index_map_x), vectors.c (scm_vector, | |
981 | scm_make_vector, scm_vector_to_list, scm_vector_fill_x), strop.c | |
982 | (scm_string_split, scm_string_ci_to_symbol), strings.c | |
983 | (scm_string_p), sort.c (scm_merge), print.c (scm_newline), | |
984 | macros.c (scm_macro_type), alist.c (scm_acons, scm_assq): | |
985 | Docstring fixes and improvements reflecting edits that have been | |
986 | made in the reference manual source. | |
987 | ||
988 | * objprop.c (scm_object_properties, scm_set_object_properties_x, | |
989 | scm_object_property, scm_set_object_property_x): Remove invalid | |
990 | @deffnx lines for corresponding procedure property primitives. | |
991 | ||
cecb4a5e NJ |
992 | These changes add a @deffnx C function declaration and function |
993 | index entries for each Guile primitive to the copy of the doc | |
994 | snarf output that is used for reference manual synchronization. | |
995 | Online help is unchanged. | |
849038b5 | 996 | |
cecb4a5e NJ |
997 | * snarf.h (SCM_SNARF_DOCS): Output primitive's C function name. |
998 | (SCM_DEFINE, SCM_DEFINE1, SCM_REGISTER_PROC): Supply to C function | |
999 | name to SCM_SNARF_DOCS. | |
849038b5 | 1000 | |
cecb4a5e NJ |
1001 | * guile-snarf-docs-texi.in: Pass the shell script's arguments into |
1002 | snarf-check-and-output-texi. | |
1003 | ||
1004 | * Makefile.am (guile-procedures.texi): New rule. | |
1005 | (BUILT_SOURCES, guile.texi, guile-procedures.txt, CLEANFILES): | |
1006 | Changed so that the last stage of doc snarfing is now performed | |
1007 | twice, once to produce guile-procedures.txt for online help, and | |
1008 | once to produce guile.texi for reference manual synchronization. | |
1009 | ||
ddea3325 DH |
1010 | 2001-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1011 | ||
1012 | * eval.c (RETURN): Wrap in do{}while(0) in order to make it | |
1013 | safely usable as a single statement followed by a ';', for example | |
1014 | in an if statement. | |
1015 | ||
1016 | (SCM_CEVAL, SCM_APPLY): Clean up code using 'RETURN'. | |
1017 | ||
72dd0a03 NJ |
1018 | 2001-11-13 Neil Jerram <neil@ossau.uklinux.net> |
1019 | ||
1020 | * random.c (scm_random_solid_sphere_x, | |
1021 | scm_random_hollow_sphere_x): Correct "shere" typos. | |
1022 | ||
1023 | * hashtab.c (scm_hash_fold): Add missing apostrophe to docstring. | |
1024 | ||
1025 | * version.c (scm_version): Update docstring to include | |
1026 | `micro-version'. | |
1027 | ||
6558eda6 MV |
1028 | 2001-11-13 Marius Vollmer <mvo@zagadka.ping.de> |
1029 | ||
409b8588 MV |
1030 | * modules.c (scm_c_export): Call va_end after collecting the |
1031 | symbols. | |
1032 | ||
adb8c0f2 MV |
1033 | * strop.h, strop.c (scm_substring_move_left_x, |
1034 | scm_substring_move_right_x): Removed. | |
1035 | ||
6558eda6 MV |
1036 | * __scm.h (HAVE_UINTPTR_T, HAVE_PTRDIFF_T, HAVE_LONG_LONG, |
1037 | HAVE_LONG_LONGS): Define to "1" when defining them, to mirror what | |
1038 | configure does. | |
1039 | ||
5d8fc640 MV |
1040 | 2001-11-12 Marius Vollmer <mvo@zagadka.ping.de> |
1041 | ||
1042 | * numbers.c: Document macros to define when including | |
1043 | num2integral.i.c. MAX_VALUE and MIN_VALU are no longer used, we | |
1044 | now rely on SIZEOF_ macros that have been figured out at | |
1045 | configure time. | |
1046 | ||
1047 | * num2integral.i.c: Adapt to new interface. | |
1048 | (NUM2INTEGRAL): Test whether a fixnum can be represented in the | |
1049 | target type by casting it and checking whether it is still the | |
1050 | same. Do not try to handle bignums for integral types that are | |
1051 | smaller than fixnums. When handling bignums, collect the | |
1052 | magnituse first into a unsigned type, and correctly check for | |
1053 | overflow. | |
1054 | (INTEGRAL2BIG): Do not use MIN_VALUE explicitely by observing that | |
1055 | only -MIN_VALUE can still be negative of all negative numbers (in | |
1056 | twos-complement). | |
1057 | ||
849038b5 | 1058 | * tags.h (SIZEOF_SCM_T_BITS): Define it appropriately. |
5d8fc640 MV |
1059 | |
1060 | * __scm.h: Define HAVE_UINTPTR_T, HAVE_PTRDIFF_T and | |
1061 | HAVE_LONG_LONG depending on whether their size is non-zero. | |
1062 | ||
d6b8cf11 TTN |
1063 | 2001-11-11 Thien-Thi Nguyen <ttn@glug.org> |
1064 | ||
1065 | * strop.c (scm_string_null_p): Docfix; nfc. | |
1066 | Thanks to Scott Lenser. | |
1067 | ||
9401323e NJ |
1068 | 2001-11-07 Neil Jerram <neil@ossau.uklinux.net> |
1069 | ||
1070 | * extensions.c (scm_load_extension): Canonicalize docstring | |
1071 | whitespace. | |
1072 | ||
1073 | * unif.c (scm_uniform_array_write), ports.c | |
1074 | (scm_current_output_port, scm_force_output), dynwind.c | |
1075 | (scm_dynamic_wind), scmsigs.c (scm_setitimer, scm_getitimer), | |
1076 | filesys.c (scm_open, scm_lstat), struct.c | |
1077 | (scm_make_struct_layout), random.c (scm_random, | |
1078 | scm_random_solid_sphere_x, scm_random_hollow_sphere_x, strop.c | |
1079 | (scm_i_index): Remove superfluous whitespace from end of docstring | |
1080 | lines. | |
1081 | ||
1082 | * filesys.c (scm_select), guardians.c (scm_guardian_greedy_p), | |
1083 | strings.c (scm_make_string), variable.c (scm_make_variable, | |
1084 | scm_make_undefined_variable, scm_variable_p, scm_variable_set_x, | |
1085 | scm_variable_bound_p), scmsigs.c (scm_setitimer, scm_getitimer), | |
1086 | posix.c (scm_crypt), struct.c (scm_make_vtable_vtable), hashtab.c | |
1087 | (scm_hash_fold), ports.c (scm_port_for_each): Remove superfluous | |
1088 | newline at end of docstrings. | |
1089 | ||
1090 | * modules.c (scm_set_current_module): Add missing newline to | |
1091 | docstring. | |
1092 | ||
b4e15479 SJ |
1093 | 2001-11-07 Stefan Jahn <stefan@lkcc.org> |
1094 | ||
1095 | * win32-socket.[ch]: New files. Defines Winsock-API error codes | |
1096 | and makes them available through Guile. That is because the | |
1097 | Winsock-API does not store its errors in `errno' and thus cannot | |
1098 | return error messages via `strerror (errno)'. | |
1099 | ||
1100 | * socket.c (scm_init_socket): Initialize `win32-socket' part | |
1101 | here under M$-Windows. | |
1102 | ||
d6b8cf11 | 1103 | * numbers.h: Added missing declaration of |
b4e15479 SJ |
1104 | `scm_sys_check_number_conversions()'. |
1105 | ||
1106 | * error.c: Local definition of SCM_I_STRERROR and SCM_I_ERRNO | |
1107 | and use in `(strerror)' and `(system-error)'. | |
1108 | ||
d6b8cf11 | 1109 | * Makefile.am (EXTRA_libguile_la_SOURCES): Added |
b4e15479 SJ |
1110 | `win32-socket.[ch]' to extra source and header files. |
1111 | ||
7ab89df1 MV |
1112 | 2001-11-06 Marius Vollmer <mvo@zagadka.ping.de> |
1113 | ||
1114 | * script.c (scm_shell_usage, scm_compile_shell_switches): Prepend | |
1115 | a call to turn-on-debugging when --debug has been given instead of | |
1116 | turning it on directly. Also, handle new `--no-debug' option, | |
1117 | which might suppress the call to turn-on-debugging. | |
1118 | ||
0233bfc1 SJ |
1119 | 2001-11-05 Stefan Jahn <stefan@lkcc.org> |
1120 | ||
1121 | * struct.c (s_scm_struct_vtable_p): Corrected docstring. | |
1122 | ||
8f99e3f3 SJ |
1123 | 2001-11-04 Stefan Jahn <stefan@lkcc.org> |
1124 | ||
1125 | * Makefile.am (libguile_la_LIBADD): Added $(THREAD_LIBS_LOCAL) | |
d6b8cf11 | 1126 | here (was at guile_LDADD) which describes the dependency |
8f99e3f3 SJ |
1127 | correctly and allows a clean build on Win32. |
1128 | ||
d6b8cf11 | 1129 | * __scm.h (SCM_API): Follow-up patch. Renamed __FOO__ macros |
8f99e3f3 SJ |
1130 | into FOO. |
1131 | ||
1132 | * __scm.h: USE_DLL_IMPORT indicates the usage of the DLL | |
1133 | import macros for external libraries (libcrypt, libqthreads, | |
1134 | libreadline and libregex). | |
1135 | ||
1136 | * coop-defs.h: Include <winsock2.h> for `struct timeval'. | |
1137 | ||
1138 | * posix.c (flock): Added support for flock() in M$-Windows. | |
1139 | ||
1140 | * guile.c (SCM_IMPORT): Follow-up patch. Use SCM_IMPORT instead | |
1141 | of __SCM_IMPORT__. | |
1142 | ||
1143 | * fports.c (getflags): Differentiate reading and writing pipes | |
1144 | descriptors. | |
1145 | ||
1146 | * filesys.c (S_IS*): Redefine all of the S_IS*() macros for | |
1147 | M$-Windows. | |
1148 | ||
1149 | * coop.c (coop_condition_variable_timed_wait_mutex): Use | |
1150 | conditionalized error code if `ETIMEDOUT' is not available. | |
1151 | (scm_thread_usleep): Remove bogus declaration of `struct timeval | |
1152 | timeout'. | |
1153 | ||
1154 | * numbers.c (PTRDIFF_MIN): Moved this definition where it actually | |
1155 | belongs. That is because NO_PREPRO_MAGIC gets undefined after | |
1156 | each inclusion of `num2integral.i.c'. | |
1157 | (SIZE_MAX): Define NO_PREPRO_MAGIC if SIZE_MAX is undefined. | |
1158 | ||
4e21fa60 MV |
1159 | 2001-11-03 Marius Vollmer <mvo@zagadka.ping.de> |
1160 | ||
1161 | * eval.c (scm_m_begin): Allow `(begin)`, with no subforms. | |
1162 | (SCM_CEVAL): Evaluate an empty `begin' to SCM_UNSPECIFIED. | |
1163 | ||
08112c95 MD |
1164 | 2001-11-02 Mikael Djurfeldt <mdj@linnaeus> |
1165 | ||
7663c008 MD |
1166 | * print.c (scm_iprin1): Mark print state as revealed when |
1167 | dispatching to generic write or display. | |
1168 | ||
08112c95 MD |
1169 | * unif.c (scm_ra2contig): Fixed memory overwrite bug. |
1170 | ||
f712d833 MV |
1171 | 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de> |
1172 | ||
1173 | Support for native Win32. Thanks to Stefan Jahn! | |
d6b8cf11 | 1174 | |
f712d833 MV |
1175 | * Makefile.am: Add win32-uname.c, win32-uname.h, win32-dirent.c |
1176 | and win32-dirent.h to extra source and header files. These | |
1177 | include the uname() and the POSIX dirent interface implementation | |
1178 | for M$-Windows. Put `-no-undefined' into LDFLAGS to support | |
1179 | linkers which do not allow unresolved symbols inside shared | |
1180 | libraries. Corrected `guile_filter_doc_snarfage$(EXEEXT)' | |
1181 | dependency. | |
1182 | ||
d6b8cf11 TTN |
1183 | * __scm.h: Defined SCM_API. This macro gets prepended to all |
1184 | function and data definitions which should be exported or imported | |
f712d833 MV |
1185 | in the resulting dynamic link library in the Win32 port. |
1186 | ||
1187 | * __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h, | |
d6b8cf11 | 1188 | chars.h, continuations.h, coop-defs.h, coop-threads.h, |
f712d833 MV |
1189 | debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h, |
1190 | environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h, | |
1191 | feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h, | |
1192 | gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h, | |
1193 | hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h, | |
d6b8cf11 | 1194 | load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h, |
f712d833 MV |
1195 | objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h, |
1196 | procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h, | |
1197 | read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h, | |
1198 | smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h, | |
1199 | strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h, | |
1200 | tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h, | |
1201 | vports.h, weaks.h: | |
1202 | Prefixed each each exported symbol with SCM_API. | |
1203 | ||
d6b8cf11 | 1204 | * continuations.c: Added comment about the use of the extern |
f712d833 MV |
1205 | declarations of {get,set}context() functions used in the ia64 port. |
1206 | ||
1207 | * continuations.h, gc.c: `__libc_ia64_register_backing_store_base' | |
1208 | is meant to be a `unsigned long *'. | |
1209 | ||
1210 | * filesys.c: Include `direct.h' if possible. Use local | |
1211 | `win32-dirent.h' for the native M$-Windows port. Define S_IS*() | |
1212 | macros for M$-Windows. Implementation of `fstat_Win32()' which is | |
1213 | able to differentiate between sockets and other file descriptors. | |
1214 | Use this function as wrapper in `scm_fstat()'. Fixed typo in | |
1215 | `scm_dirname()'. | |
1216 | ||
1217 | * fports.c: Include `io.h' is possible. Put `*fp' into referring | |
1218 | statement block in `scm_fport_buffer_add()'. | |
1219 | Some corrections in `getflags()'. | |
d6b8cf11 | 1220 | |
f712d833 MV |
1221 | * gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__. |
1222 | ||
1223 | * guile.c: Make sure to define __SCM_IMPORT__ for shared library | |
1224 | build on Win32. Disable preloaded symbols on Win2 platforms. | |
1225 | ||
1226 | * ioext.c, ports.c: Include `io.h' is possible. | |
1227 | ||
1228 | * mkstemp.c: Include `process.h' is possible. | |
1229 | ||
1230 | * net_db.c: Disable extern declaration of `h_errno' for __CYGWIN__, | |
1231 | too. | |
1232 | Put `scm_return_entry()' into HAVE_GETSERVENT conditional. | |
1233 | ||
1234 | * posix.c: Remove unnecessary dirent includes and defines. Include | |
1235 | local `win32-uname.h' for MinGW. Extern declaration of | |
1236 | `mkstemp()' for systems where it does not exists. Make | |
1237 | `getlogin()' available on M$-Windows. | |
1238 | ||
1239 | * scmsigs.c: Made `usleep()' avalable on MinGW. | |
1240 | ||
1241 | * stime.c: On M$-Windows `tzname[]' is known to be `_tzname[]'. | |
1242 | ||
1243 | * win32-dirent.c: Include "win32-dirent.h", not "dirent.h". | |
1244 | ||
1245 | * win32-uname.c: Include "win32-uname.h", not "uname.h". | |
1246 | ||
d245ce23 MD |
1247 | 2001-10-28 Mikael Djurfeldt <mdj@linnaeus> |
1248 | ||
1249 | * unif.c (scm_uniform_array_read_x, scm_uniform_array_write): | |
1250 | Don't apply scm_uniform_vector_length on arrays. | |
1251 | ||
8ea46249 DH |
1252 | 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1253 | ||
1254 | * eval.c (scm_lookupcar, scm_m_letstar, scm_m_do, iqq, | |
1255 | scm_m_define, scm_m_letrec1, scm_m_let, scm_m_expand_body, | |
1256 | scm_macroexp, unmemocopy, scm_eval_args, scm_deval_args, | |
1257 | SCM_CEVAL, scm_map, scm_init_eval): When building lists, prefer | |
1258 | scm_list_<n> over scm_cons[2]?. | |
1259 | ||
1260 | (scm_unmemocar, scm_m_cond, scm_m_letstar, scm_m_letrec1, | |
1261 | scm_m_let, scm_m_atbind, unmemocopy, SCM_CEVAL, SCM_APPLY): Use | |
1262 | SCM_C[AD][AD]R instead of explicit form. | |
1263 | ||
1264 | (scm_m_set_x, scm_m_cond, scm_m_letstar, scm_m_do): Reordered | |
1265 | comparison parameters. | |
1266 | ||
1267 | (scm_m_case, scm_m_cond, scm_m_letstar, scm_m_do, SCM_CEVAL): Use | |
1268 | !SCM_NULLP instead of SCM_NIMP. | |
1269 | ||
1270 | (scm_m_case): Don't copy the form. Renamed proc to clause and | |
1271 | minimized its scope. Renamed x to clauses. Removed side | |
1272 | effecting operation from macro call. | |
1273 | ||
1274 | (scm_m_cond): Don't copy the form. Renamed arg1 to clause and | |
1275 | minimized its scope. Renamed x to clauses. Minimized the scope | |
1276 | of variable 'len'. Make sure the else clause is treated specially | |
1277 | even in case of '=>' occurences. Don't change the else to #t in | |
1278 | order to be able to distinguish this case in the evaluator. Leave | |
1279 | type checking of the recipient to the evaluator. | |
1280 | ||
1281 | (scm_c_improper_memq): Made the comment somewhat clearer. | |
1282 | ||
1283 | (scm_m_lambda): Renamed proc to formals. Removed unnecessary | |
1284 | test for SCM_IM_LET at the place of the formal parameters. | |
1285 | Simplified the formal parameter checking. | |
1286 | ||
1287 | (scm_m_letstar): Added Comment. Renamed proc to bindings. | |
1288 | Renamed arg1 to binding and minimized its scope. Eliminated | |
1289 | unnecessary consing. | |
1290 | ||
1291 | (scm_m_do): Renamed proc to bindings. Minimized the scope of | |
1292 | variable 'len'. | |
1293 | ||
1294 | (build_binding_list): New static function. | |
1295 | ||
1296 | (unmemocopy): Don't use SCM_TYP7 on pairs (it's unclean). | |
1297 | Further, split up the 'letrec' unmemoizing code to the | |
1298 | corresponding parts for 'do', 'let' and 'letrec', adding comments | |
1299 | to each form. Cleanup the handling of the do form (This removes | |
1300 | some *real* code :-). | |
1301 | ||
1302 | (SCM_CEVAL): Removed side effecting operation from macro call. | |
1303 | Handle the 'else clause of the 'cond form specially - the symbol | |
1304 | 'else is not replaced with #t any more. | |
1305 | ||
8186c4f5 GH |
1306 | 2001-10-14 Gary Houston <ghouston@arglist.com> |
1307 | ||
1308 | * version.c (scm_version): use sprintf instead of snprintf, | |
1309 | for portability. thanks to Bill Schottstaedt. | |
1310 | ||
89759084 MD |
1311 | 2001-10-14 Mikael Djurfeldt <mdj@linnaeus> |
1312 | ||
1313 | * read.c (scm_lreadr): When user-defined hash procedure returns | |
1314 | SCM_UNSPECIFIED: Fall back to standard handling instead of raising | |
1315 | an exception. (This prevents parsing of uniform vectors from | |
1316 | interfering with parsing of numbers.) | |
1317 | ||
9c7ce563 MV |
1318 | 2001-10-13 Marius Vollmer <mvo@zagadka.ping.de> |
1319 | ||
1320 | * numbers.c: Set NO_PREPRO_MAGIC when defining our version of | |
1321 | PTRDIFF_MIN. Thanks to Ken Raeburn. | |
1322 | ||
1323 | 2001-10-07 Marius Vollmer <mvo@zagadka.ping.de> | |
1324 | ||
1325 | * Makefile.am (EXTRA_libguile_la_SOURCES): Added "mkstemp.c". | |
1326 | ||
1327 | * eval.c (scm_m_atbind): First try to find the variable without | |
1328 | defining it locally; when it has not been found, define it | |
1329 | locally. | |
1330 | ||
1331 | * modules.c (module_variable): Pass over variables that exist but | |
1332 | are unbound. | |
1333 | ||
1334 | 2001-10-06 Marius Vollmer <mvo@zagadka.ping.de> | |
1335 | ||
1336 | * backtrace.c (display_backtrace_file_and_line): Only use | |
1337 | scm_basename when POSIX support is compiled in. Thanks to Chris | |
1338 | Cramer. | |
1339 | ||
1fe5e088 DH |
1340 | 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1341 | ||
1342 | * numbers.c (mem2uinteger): Return number read so far when coming | |
1343 | across a hexdigit after having read a # or if not reading a hex | |
1344 | value. This will enable the calling code to correctly handle | |
1345 | forms like 1e2. (The background is, that the exponent markers d, | |
1346 | e and f are also hexdigits.) Thanks to Mikael Djurfeldt for | |
1347 | providing this patch. | |
1348 | ||
1349 | (mem2complex): Fix erroneous double-negation. Now, numbers like | |
1350 | 1-i will be read correctly. | |
1351 | ||
68665a97 MD |
1352 | 2001-10-12 Mikael Djurfeldt <mdj@linnaeus> |
1353 | ||
1354 | * debug.c (scm_mem_to_proc): Fixed typo in previous change. | |
1355 | ||
1356 | * validate.h (SCM_VALIDATE_DOUBLE_DEF_COPY): New macro. | |
1357 | ||
d5cf5324 DH |
1358 | 2001-10-12 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1359 | ||
1360 | * print.c (scm_print_state_vtable, print_state_pool): | |
1361 | Initialize. These variables are now registered as gc roots. | |
1362 | ||
1363 | (scm_current_pstate): Update documentation. | |
1364 | ||
1365 | (scm_current_pstate, scm_make_print_state, scm_free_print_state, | |
1366 | scm_prin1, scm_init_print): print_state_pool is registered as a | |
1367 | gc root and thus does not need to be protected by a surrounding | |
1368 | pair any more. | |
1369 | ||
1370 | (make_print_state): The car of print_state_pool no longer holds | |
1371 | the scm_print_state_vtable. | |
1372 | ||
1373 | (scm_current_pstate, scm_make_print_state, print_circref, | |
1374 | scm_iprin1, scm_prin1, scm_iprlist): Prefer !SCM_<foo> over | |
1375 | SCM_N<foo>. | |
1376 | ||
1377 | (scm_prin1): When building lists, prefer scm_list_<n> over | |
1378 | scm_cons[2]?. | |
1379 | ||
1380 | (scm_iprlist): Removed a redundant SCM_IMP test. | |
1381 | ||
1382 | (scm_simple_format): Use SCM_EQ_P to compare SCM values. | |
1383 | ||
37c56aec DH |
1384 | 2001-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1385 | ||
1386 | * debug.c (scm_make_iloc): Prefer !SCM_<foo> over SCM_N<foo>. | |
1387 | ||
1388 | (scm_memcons, scm_mem_to_proc): When building lists, prefer | |
1389 | scm_list_<n> over scm_cons[2]?. | |
1390 | ||
1391 | (scm_mem_to_proc): Prefer SCM_CONSP over SCM_NIMP. | |
1392 | ||
1393 | (scm_procedure_name): Use SCM_CADR instead of explicit form. | |
1394 | ||
1395 | (debugobj_print): Coerce scm_intprint arg 1 to long, not int. | |
1396 | Thanks to Rob Browning for the patch (see log entry 2001-09-21) - | |
1397 | for some reason his patch didn't make it into the cvs. | |
1398 | ||
79d34f68 DH |
1399 | 2001-10-09 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1400 | ||
1401 | * numbers.c (mem2decimal_from_point): Cleaned up the parsing a | |
1402 | little bit - should even be somewhat more accurate now. | |
1403 | ||
5e137c65 RB |
1404 | 2001-10-08 Rob Browning <rlb@defaultvalue.org> |
1405 | ||
1406 | * gc.c: support ia64 register backing store. | |
1407 | (SCM_MARK_BACKING_STORE): new macro. | |
1408 | ||
1409 | * continuations.h: support ia64 register backing store. | |
1410 | (struct scm_t_contregs): add ia64 register backing store. | |
1411 | ||
1412 | * continuations.c: support ia64 register backing store. | |
1413 | (continuation_mark): mark ia64 register backing store. | |
1414 | (continuation_free): free ia64 register backing store. | |
1415 | (scm_make_continuation): capture ia64 register backing store. | |
1416 | (copy_stack_and_call): copy ia64 register backing store. | |
1417 | ||
ee083ac2 DH |
1418 | 2001-10-08 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1419 | ||
1420 | * hashtab.c (scm_hash_fn_create_handle_x): The result of assoc_fn | |
1421 | is known to be #f if no entry is found. Thus, use !SCM_FALSEP | |
1422 | instead of SCM_NIMP to test for that case. | |
1423 | ||
1424 | * strings.h (SCM_SET_STRING_LENGTH): Cast the length to | |
1425 | scm_t_bits instead of long. | |
1426 | ||
71dcdbf9 MV |
1427 | 2001-10-06 Marius Vollmer <mvo@zagadka.ping.de> |
1428 | ||
1429 | * tags.h (SCM_T_BITS_MAX, SCM_T_SIGNED_BITS_MAX, | |
1430 | SCM_T_SIGNED_BITS_MIN): New. | |
1431 | * numbers.h (SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM): | |
1432 | Use them to make these macros computable by the preprocessor. | |
1433 | ||
1434 | * num2integral.i.c (INTEGRAL2NUM): Let the preprocessor test | |
1435 | whether the integral type fits in a fixnum, not the compiler. | |
1436 | This removes a spurious compiler warning. Also, honor the | |
1437 | NO_PREPRO_MAGIC flag to suppress any preprocessor tests. This is | |
1438 | needed for `long long's. | |
1439 | ||
1440 | * numbers.c: Define NO_PREPRO_MAGOC when including | |
1441 | num2integral.c.i for `long long' and `signed long long'. | |
1442 | ||
152812c0 MD |
1443 | 2001-10-06 Mikael Djurfeldt <mdj@linnaeus> |
1444 | ||
1445 | These changes fixes a race condition in the Guile coop - pthread | |
1446 | compatibility code. | |
d6b8cf11 | 1447 | |
152812c0 MD |
1448 | * coop.c (mother_awake_p): New variable. |
1449 | (coop_create): Set mother_awake_p before creating or signalling | |
1450 | mother; wait until mother is going to sleep before returning. | |
1451 | (mother): Reset mother_awake_p before going to sleep. | |
1452 | ||
11d49f54 DH |
1453 | 2001-10-05 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1454 | ||
1455 | * options.c (protected_objects, scm_init_options): The content of | |
1456 | protected_objects is now protected from garbage collection using | |
1457 | scm_gc_register_root instead of scm_permanent_object. | |
1458 | ||
1459 | (get_option_setting): New static function that computes an option | |
1460 | setting as it was formerly done in the function scm_options. | |
1461 | ||
1462 | (get_documented_option_setting): New static function that | |
1463 | returns option documentation as it was formerly done in the | |
1464 | function scm_options. Note that documentation C strings are no | |
1465 | longer precomputed into SCM objects. Instead, they are converted | |
1466 | into SCM strings every time get_documented_option_setting is | |
1467 | called. | |
1468 | ||
1469 | (change_option_setting): New static functions that modifies the | |
1470 | option setting as it was formerly done in the function | |
1471 | scm_options. The function is now exception safe, i. e. won't | |
1472 | cause a memory leak when interrupted. Further, only non-immediate | |
1473 | option values are added to the protection list. | |
1474 | ||
1475 | (scm_options): This function now has only the purpose to dispatch | |
1476 | to to get_option_setting, get_documented_option_setting or | |
1477 | change_option_setting, depending on the arguments given to | |
1478 | scm_options. | |
1479 | ||
1480 | (scm_init_opts): Don't convert documentation C strings into SCM | |
1481 | strings. Further, don't protect any object values: They _must_ | |
1482 | be immediate values, otherwise there is no guarantee that they | |
1483 | have not been collected before anyway. | |
1484 | ||
1485 | * options.[ch] (scm_t_option): Made type unsigned, name into a | |
1486 | constant char* and val into a scm_t_bits type. | |
1487 | ||
1488 | (scm_options, scm_init_opts): The number of options is guaranteed | |
1489 | to be larger or equal to zero. Thus, the type is changed to | |
1490 | unsigned. | |
1491 | ||
3dbacabc DH |
1492 | 2001-10-05 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1493 | ||
1494 | * num2integral.i.c (NUM2INTEGRAL): Eliminated some warnings about | |
1495 | testing an unsigned value for being >= 0. | |
1496 | ||
14282d0f DH |
1497 | 2001-10-05 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1498 | ||
1499 | * numbers.h: Removed old comment about using SCM_CAR to access | |
1500 | non-pair cells. | |
1501 | ||
1502 | (SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM): Make sure | |
1503 | the return value is signed. Thanks to Brian Crowder for the bug | |
1504 | report. | |
1505 | ||
1506 | (SCM_SRS): Avoid unnecessary casting and don't unpack input | |
1507 | values. With this patch, SCM_SRS can be safely used for other | |
1508 | types than scm_t_signed_bits. However, it should still better be | |
1509 | an internal macro and thus be renamed to SCM_I_SRS. | |
1510 | ||
1511 | (SCM_MAKINUM, SCM_INUM): Use proper casting. | |
1512 | ||
2dbec7b5 GH |
1513 | 2001-10-03 Gary Houston <ghouston@arglist.com> |
1514 | ||
1515 | * continuations.h, unif.h: in the descriptions of the bit patterns | |
1516 | of the heap cells, make bit 0 the least significant. | |
1517 | ||
cf4ee841 TTN |
1518 | 2001-09-25 Thien-Thi Nguyen <ttn@glug.org> |
1519 | ||
1520 | * chars.h (SCM_MAKE_CHAR): Use `scm_t_bits' instead of `intptr_t'. | |
1521 | Thanks to Golubev I. N. | |
1522 | ||
4a151b3d GH |
1523 | 2001-09-25 Gary Houston <ghouston@arglist.com> |
1524 | ||
1525 | * ports.c (scm_drain_input): extended the docstring. thanks to | |
1526 | Alex Schroeder and Thien-Thi Nguyen. | |
1527 | ||
581ded70 MD |
1528 | 2001-09-23 Mikael Djurfeldt <mdj@linnaeus> |
1529 | ||
1530 | * validate.h (SCM_NUM2FLOAT, SCM_NUM2DOUBLE, | |
1531 | SCM_VALIDATE_FLOAT_COPY, SCM_VALIDATE_DOUBLE_COPY): New | |
1532 | macros. (The NUM names might soon change.) | |
1533 | ||
1534 | * numbers.h: Added missing declarations. | |
1535 | ||
5437598b MD |
1536 | 2001-09-22 Mikael Djurfeldt <mdj@linnaeus> |
1537 | ||
1538 | * Makefile.am: Distribute num2float.i.c. | |
1539 | ||
1540 | * num2float.i.c: New file, multiply included by numbers.c, used | |
1541 | to "templatize" the float <-> num conversion routines. | |
1542 | ||
1543 | * numbers.c: New functions: scm_num2float, scm_float2num, | |
1544 | scm_num2double, scm_double2num. | |
1545 | ||
0b073f0f RB |
1546 | 2001-09-21 Rob Browning <rlb@defaultvalue.org> |
1547 | ||
1548 | * .cvsignore: really add version.h | |
1549 | ||
1550 | * strings.h (SCM_SET_STRING_LENGTH): coerce "l" to a long. | |
1551 | Otherwise it fails on the alpha. However, we might rather choose | |
1552 | this size conditionally. | |
1553 | ||
1554 | * numbers.c (scm_gcd): change "k" to a long from an int. | |
1555 | Otherwise it fails on the alpha. However, we might rather choose | |
1556 | this size conditionally. | |
1557 | ||
1558 | * error.c (scm_wta): coerce char* to intptr_t before int | |
1559 | assignment. | |
1560 | ||
1561 | * debug.c (debugobj_print): coerce scm_intprint arg 1 to long, not | |
1562 | int. | |
1563 | ||
1564 | * chars.h (SCM_MAKE_CHAR): coerce value to intptr_t. | |
1565 | ||
2830fd91 MD |
1566 | 2001-09-20 Mikael Djurfeldt <mdj@linnaeus> |
1567 | ||
1568 | * numbers.c (scm_integer_expt): Accept inexact integer in second | |
1569 | argument. (Thanks to Bill Schottstaedt.) | |
1570 | ||
c13f0a90 RB |
1571 | 2001-09-20 Rob Browning <rlb@defaultvalue.org> |
1572 | ||
1573 | * .cvsignore: add version.h | |
1574 | ||
1575 | * versiondat.h.in: removed (obsolete). | |
1576 | ||
1577 | * version.h.in: renamed from version.h. | |
1578 | (SCM_GUILE_MAJOR_VERSION): new public macro. | |
1579 | (SCM_GUILE_MINOR_VERSION): new public macro. | |
1580 | (SCM_GUILE_MICRO_VERSION): new public macro. | |
1581 | ||
1582 | * version.h: renamed to version.h.in. | |
1583 | ||
1584 | * version.c | |
1585 | (scm_major_version): support integer *_VERSION macros. | |
1586 | (scm_minor_version): support integer *_VERSION macros. | |
1587 | (scm_micro_version): support integer *_VERSION macros. | |
1588 | (scm_version): support integer *_VERSION macros. | |
1589 | ||
147c18a0 MD |
1590 | 2001-09-20 Mikael Djurfeldt <mdj@linnaeus> |
1591 | ||
1592 | * error.c, error.h: Made error keys globally accessible. | |
1593 | Applications might want to test for these or use them in a direct | |
1594 | call to scm_error. | |
1595 | ||
1596 | * num2integral.i.c (NUM2INTEGRAL): Report an error when these | |
1597 | routines are passed an inexact. This change in behavior is | |
1598 | motivated by concordance with R5RS: It is more common that a | |
1599 | primitive doesn't want to accept an inexact for an exact. | |
1600 | ||
662c5539 DH |
1601 | 2001-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1602 | ||
1603 | The following patch partially undoes my patch from 2001-06-30, | |
1604 | where I added the function scm_gc_mark_cell_conservatively. The | |
1605 | function is buggy, since it breaks guile during conservative | |
1606 | marking if a pointer on the stack points directly into the list of | |
1607 | free cells on the heap: With conservative cell marking this will | |
1608 | cause the whole free list to be scanned and marked - boom! | |
1609 | ||
1610 | * gc.c (allocated_mark, MARK, heap_segment, | |
1611 | scm_gc_mark_cell_conservatively, scm_init_storage), gc.h | |
cf4ee841 | 1612 | (scm_gc_mark_cell_conservatively): Remove function |
662c5539 DH |
1613 | scm_gc_mark_cell_conservatively and update the corresponding |
1614 | comments and uses accordingly. Thanks to Christopher Cramer for | |
1615 | the patch. (Minor corrections by me.) | |
1616 | ||
6c1b7628 GH |
1617 | 2001-09-15 Gary Houston <ghouston@arglist.com> |
1618 | ||
1619 | * root.h (scm_root_state): removed the continuation_stack and | |
1620 | continuation_stack_ptr members, which have no apparent purpose. | |
1621 | (scm_continuation_stack, scm_continuation_stack_ptr): #defines | |
1622 | removed. | |
662c5539 | 1623 | |
6c1b7628 GH |
1624 | * root.c (root_mark), init.c (restart_stack, start_stack), gc |
1625 | (scm_igc): remove all references to contination_stack and | |
1626 | continuation_stack_ptr, avoiding allocation of a vector and | |
1627 | useless processing during gc. | |
1628 | ||
455c0ac8 DH |
1629 | 2001-09-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1630 | ||
1631 | * guardians.c (tconc_t, t_tconc): Renamed tconc_t to t_tconc. | |
1632 | ||
1633 | (TCONC_IN): Make sure that the cell word 0 is initialized last. | |
1634 | ||
1635 | (guardians_t, t_guardians): Renamed guardians_t to t_guardians. | |
1636 | ||
1637 | (GUARDIAN, GUARDIAN_DATA): Renamed GUARDIAN to GUARDIAN_DATA. | |
1638 | ||
1639 | (guardian_apply, scm_get_one_zombie, scm_make_guardian, | |
1640 | mark_and_zombify): Prefer !SCM_<foo> over SCM_N<foo>. | |
1641 | ||
22ba637b DH |
1642 | 2001-09-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1643 | ||
1644 | * guardians.c (mark_dependencies_in_tconc, | |
1645 | whine_about_self_centered_zombies, scm_init_guardians): Register | |
1646 | the static global variable `self_centered_zombies' via | |
1647 | scm_gc_register_root, to make some cdr-ing unnecessary. | |
1648 | ||
c3c4d801 DH |
1649 | 2001-09-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1650 | ||
1651 | * backtrace.c (display_backtrace_file, | |
1652 | display_backtrace_file_and_line): Use SCM_EQ_P when comparing SCM | |
1653 | values, use SCM_FALSEP when comparing SCM values against #f. | |
1654 | Thanks to Rob Browning for the bug report. | |
1655 | ||
b00418df DH |
1656 | 2001-09-12 Martin Baulig <martin@home-of-linux.org> |
1657 | ||
1658 | * strings.[ch] (scm_str2string): New function. | |
1659 | ||
a0d34a0b MV |
1660 | 2001-09-06 Marius Vollmer <mvo@zagadka.ping.de> |
1661 | ||
1662 | * gc.c (scm_done_free): Always subtract size from scm_mallocated | |
1663 | when computing nm, even if it's negative. | |
1664 | (scm_must_malloc): Abort on overflow of scm_mtrigger. | |
1665 | (scm_must_realloc): Likewise. | |
1666 | ||
b10586f0 ML |
1667 | 2001-09-01 Michael Livshin <mlivshin@bigfoot.com> |
1668 | ||
1669 | * numbers.c (scm_sys_check_number_conversions): new function, | |
1670 | defined if Guile is compiled in debugging mode. currently checks | |
1671 | `scm_num2ulong', should check much much more. | |
1672 | ||
1673 | * num2integral.i.c (NUM2INTEGRAL): when converting a bignum to | |
1674 | unsigned, ensure that it's positive. thanks to Martin Baulig! | |
cf4ee841 | 1675 | |
8c494e99 DH |
1676 | 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de> |
1677 | ||
1678 | * __scm.h: Added new section about compile time selectable | |
1679 | features. | |
1680 | ||
1681 | (long_long, ulong_long, scm_sizet, SCM_WNA, SCM_OUTOFRANGE, | |
1682 | SCM_NALLOC, SCM_HUP_SIGNAL, SCM_INT_SIGNAL, SCM_FPE_SIGNAL, | |
1683 | SCM_BUS_SIGNAL, SCM_SEGV_SIGNAL, SCM_ALRM_SIGNAL, SCM_GC_SIGNAL, | |
1684 | SCM_TICK_SIGNAL, SCM_SIG_ORD, SCM_ORD_SIG, SCM_NUM_SIGS): | |
1685 | Removed. | |
1686 | ||
1687 | * deprecation.c (scm_include_deprecated_features): Simplified. | |
1688 | ||
1689 | * eval.c (EVALCAR, unmemocopy), eval.h (SCM_XEVALCAR): Use | |
1690 |