* numbers.c (scm_logior) [SCM_DIGSTOOBIG]: Correctly use
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
7090240c
MG
12001-02-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
2
3 * variable.c (scm_make_variable, scm_make_undefined_variable)
4 (scm_variable_ref, scm_variable_set_x, scm_builtin_variable)
5 (scm_variable_bound_p), values.c (scm_values)
6 (scm_call_with_values), unif.c (scm_bit_count)
7 (scm_bit_set_star_x), symbols.c (scm_gentemp)
8 (scm_gensym), strings.c (scm_string_p, scm_make_string)
9 (scm_read_only_string_p, scm_string_length, scm_string_ref)
10 (scm_string_set_x, scm_substring, scm_string_append), stime.c
11 (scm_strptime, scm_mktime), random.c (scm_seed_to_random_state)
12 (scm_copy_random_state, scm_random), print.c (scm_newline)
13 (scm_write_char, scm_simple_format), debug-malloc.c
14 (scm_malloc_stats), environments.c (scm_environment_p)
15 (scm_environment_bound_p, scm_environment_ref)
16 (scm_environment_fold, scm_environment_define)
17 (scm_environment_undefine, scm_environment_set_x)
18 (scm_environment_cell, scm_environment_observe)
19 (scm_environment_observe_weak, scm_environment_unobserve)
20 (scm_make_eval_environment, scm_eval_environment_p)
21 (scm_eval_environment_set_local_x, scm_eval_environment_local)
22 (scm_eval_environment_imported)
23 (scm_eval_environment_set_imported_x, scm_make_import_environment)
24 (scm_import_environment_p, scm_import_environment_imports)
25 (scm_import_environment_set_imports_x, scm_make_export_environment)
26 (scm_export_environment_p, scm_export_environment_private)
27 (scm_export_environment_set_private_x)
28 (scm_export_environment_signature)
29 (scm_export_environment_set_signature_x, scm_leaf_environment_p):
30 Added texinfo markup.
31
32 * ports.c (scm_drain_input): Lowercased argument to @var.
33 (scm_current_input_port, scm_current_output_port): Filled in
34 missing explanation.
35 (scm_current_load_port, scm_set_current_output_port)
36 (scm_set_current_error_port, scm_port_line, scm_set_port_line_x):
37 Added texinfo markup.
38
39 * arbiters.c (scm_make_arbiter, scm_try_arbiter)
40 (scm_release_arbiter): Added texinfo markup to docstrings.
41 Changed `Returns' to `Return'.
42 (arbiter_print): Changed SCM_CDR to SCM_SMOB_DATA.
43
25703850
NJ
442001-02-16 Neil Jerram <neil@ossau.uklinux.net>
45
46 * guile-snarf.awk.in: Quote any `@'s that occur in Scheme names,
47 by doubling them to `@@'.
48
73c0fdce
MG
492001-02-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
50
51 * numbers.c (scm_lognot), random.c (scm_random,
52 scm_random_normal, scm_random_solid_sphere_x,
53 scm_random_hollow_sphere_x, scm_random_normal_vector_x,
54 scm_random_exp), dynwind.c
55 (scm_dynamic_wind): Removed unnecessary "" from docstrings.
56
57 * goops.c (scm_sys_initialize_object, scm_instance_p,
58 scm_class_name, scm_class_precedence_list, scm_class_slots,
59 scm_class_environment, scm_generic_function_name,
60 scm_generic_function_methods, scm_method_generic_function,
61 scm_method_specializers, scm_method_procedure, scm_make_unbound,
62 scm_unbound_p, scm_assert_bound, scm_at_assert_bound_ref,
63 scm_sys_fast_slot_ref, scm_sys_fast_slot_set_x, scm_slot_ref,
64 scm_slot_set_x, _scm_slot_bound_p, scm_slots_exists_p,
65 scm_sys_allocate_instance, scm_make, scm_pure_generic_p,
66 scm_class_direct_supers, scm_class_direct_slots,
67 scm_class_direct_subclasses, scm_class_direct_methods,
68 scm_accessor_method_slot_definition, scm_sys_goops_loaded),
69 debug.c (scm_with_traps, scm_memoized_p, scm_make_gloc,
70 scm_gloc_p, scm_make_iloc, scm_iloc_p, scm_memcons,
71 scm_mem_to_proc, scm_proc_to_mem, scm_unmemoize,
72 scm_memoized_environment, scm_procedure_name,
73 scm_procedure_source, scm_procedure_environment, scm_debug_hang),
74 objects.c
75 (scm_class_of, scm_entity_p, scm_operator_p,
76 scm_set_object_procedure_x, scm_object_procedure,
77 scm_make_class_object), hooks.c (scm_make_hook_with_name,
78 scm_make_hook, scm_hook_p, scm_hook_empty_p, scm_add_hook_x,
79 scm_remove_hook_x, scm_reset_hook_x, scm_run_hook,
80 scm_hook_to_list), lang.c
81 (scm_nil_cons, scm_nil_car, scm_nil_cdr, scm_null, scm_nil_eq),
82 numbers.c (scm_sys_expt, scm_sys_atan2), print.c
83 (scm_print_options, scm_port_with_print_state,
84 scm_get_print_state), procs.c (scm_make_cclo, scm_procedure_p,
85 scm_closure_p, scm_thunk_p, scm_procedure_with_setter_p,
86 scm_make_procedure_with_setter, scm_procedure), throw.c
87 (scm_lazy_catch), modules.c (scm_standard_eval_closure), load.c
88 (scm_parse_path, scm_search_path), stacks.c (scm_make_stack,
89 scm_stack_ref, scm_stack_length, scm_frame_p,
90 scm_last_stack_frame, scm_frame_number, scm_frame_source,
91 scm_frame_procedure, scm_frame_arguments, scm_frame_previous,
92 scm_frame_next, scm_frame_real_p, scm_frame_procedure_p,
93 scm_frame_evaluating_args_p, scm_frame_overflow_p), filesys.c
94 (scm_dirname, scm_basename), dynwind.c
95 (scm_wind_chain), read.c (scm_read_options, scm_read,
96 scm_read_hash_extend), gc.c
97 (scm_unhash_name), eval.c (scm_eval_options_interface,
98 scm_evaluator_traps, s_scm_nconc2last), backtrace.c
99 (scm_display_error, scm_set_print_params_x,
100 scm_display_application, scm_display_backtrace, scm_backtrace),
101 async.c (scm_async, scm_system_async, scm_async_mark,
102 scm_system_async_mark, scm_run_asyncs, scm_noop,
103 scm_set_tick_rate, scm_set_switch_rate, scm_unmask_signals,
104 scm_mask_signals): Added docstrings.
105
e228a203
KN
1062001-02-15 Keisuke Nishida <kxn30@po.cwru.edu>
107
108 * dump.c (scm_undump): Use SCM_CARLOC/SCM_CDRLOC to obtain the
109 address of car/cdr. (Thanks to Dirk Herrmann)
110 Use scm_sizet to obtain the length of strings.
111 (Thanks to Matthias Koeppe)
112
1552a59d
MV
1132001-02-15 Marius Vollmer <mvo@zagadka.ping.de>
114
115 * symbols.c (scm_mem2symbol): Put a empty statement after the
116 next_symbol label. This is mandated by ANSI, appearantly.
117
3178f751
MV
1182001-02-13 Marius Vollmer <marius.vollmer@uni-dortmund.de>
119
120 * gc_os_dep.c: Do not include <linux/version.h>. It makes no
121 sense to compile for a specific kernel version. Do not include
122 <asm/signal.h> while defining __KERNEL__. This hack should no
123 longer be needed and caused problems.
124
7af4defe
MV
1252001-02-13 Marius Vollmer <mvo@zagadka.ping.de>
126
127 * eval.c (scm_ceval, scm_deval): use `SIDEVAL' instead of
128 SCM_CEVAL when evaluating subforms of `begin' forms. SCM_CEVAL
129 can not deal with immediates.
130
5d6bb349
KN
1312001-02-12 Keisuke Nishida <kxn30@po.cwru.edu>
132
133 * list.c (scm_list_copy): Validate the first argument.
134
ec9709f0
MV
1352001-02-11 Marius Vollmer <mvo@zagadka.ping.de>
136
137 Fix evaluator so that top-level expressions are correctly
138 evaluated with respect to the module system.
139
140 * modules.h. modules.c (scm_current_module_lookup_closure): New
141 function.
142
143 * eval.h (scm_primitive_eval, scm_primitive_eval_x): New
144 prototypes.
145 (scm_i_eval, scm_i_eval_x, scm_eval, scm_eval_x): Changed argument
146 names to better reflect their meaning.
147
148 * eval.c (scm_ceval, scm_deval): Recognize when `begin' is being
149 evaluated at top-level and synronize lookup closure before
150 executing every subform.
151 (scm_primitve_eval_x, scm_primitive_eval): New functions.
152 (scm_eval_x, scm_eval): Reimplement in terms of
153 scm_primitive_eval_x and scm_primitive_eval, respectively.
154
1552001-02-09 Marius Vollmer <mvo@zagadka.ping.de>
156
157 * macros.c (scm_macro_name, scm_macro_transformer): Use
158 SCM_SMOB_DATA instead of SCM_CDR. Provided by Martin Grabmueller.
159 Thanks!
160
42417394
KN
1612001-02-10 Keisuke Nishida <kxn30@po.cwru.edu>
162
163 * dump.c (scm_store_bytes): Store data size before data.
164 (scm_restore_bytes): Restore data size. Takes a pointer to size.
165 * dump.h (scm_restore_bytes): Updated.
166
bf942687
KN
1672001-02-09 Keisuke Nishida <kxn30@po.cwru.edu>
168
169 * dump.c: Use double cells for update schedule.
170
1be4270a
KN
1712001-02-08 Keisuke Nishida <kxn30@po.cwru.edu>
172
173 * ports.c (scm_unread_char): Take an optional argument.
174
548728ea
MV
1752001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
176
177 * modules.h (scm_selected_module, scm_current_module): Renamed
178 scm_selected_module to scm_current_module to synchronize Scheme
179 and C names.
180 (scm_select_module, scm_set_current_module): Likewise. Changed
181 all uses.
182
183 * ports.c (scm_port_for_each): Make a snapshot of the port table
184 before iterating over it. The table might change while the user
185 code is running. With the snapshot, the user can depend on the
c5408bc3 186 fact that each port that existed at the start of the iteration is
548728ea
MV
187 encountered exactly once. (ice-9 popen) depends on this.
188
cb0d8be2
DH
1892001-02-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
190
191 * strings.h (SCM_STRING_MAX_LENGTH): New macro.
192
193 * strings.c (scm_makstr, scm_take_str, scm_make_string): Added
194 range checking for the size parameter. Thanks to Martin
195 Grabmueller for the hint.
196
197 (scm_makstr): Reordered string initialization to make interrupt
198 deferring unnecessary.
199
200 * vectors.c (scm_make_vector): Fixed range checking.
201
e382fdbe
DH
2022001-02-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
203
204 * vectors.h (SCM_VECTOR_MAX_LENGTH): New macro.
205
206 * vectors.c (scm_make_vector, scm_c_make_vector): Improved the
207 checking of the size parameter for type correctness and valid
208 range. Thanks to Rob Browning for reporting the problem. Instead
209 of deferring interrupts, scm_remember_upto_here_1 is used.
210
bf8f0922
KN
2112001-02-05 Keisuke Nishida <kxn30@po.cwru.edu>
212
213 * dump.c (scm_store_cell_object, scm_restore_cell_object): Removed.
214 (scm_dump_cell_update): Removed.
215 (scm_dump_update): Renamed from scm_dump_object_update.
216 (scm_restore_string, scm_restore_bytes, scm_restore_word): Takes
217 a pointer instead of returning a value.
218 * keywords.c (keyword_undump): Updated.
219
914cceec
KN
2202001-02-05 Keisuke Nishida <kxn30@po.cwru.edu>
221
222 * dump.c, dump.h: Modified a lot.
5f17c66f 223 (SCM_DUMP_COOKIE): Version 0.1
914cceec
KN
224 (scm_dump_mark): Removed.
225 (scm_restore_cell_object, scm_store_cell_object): New functions.
226
227 * smob.h (scm_smob_descriptor): Removed slots: dump_mark,
228 dump_dealloc, dump_store, undump_alloc, undump_restore, undump_init.
229 New slots: dump, undump.
230 * smob.c (scm_make_smob_type, scm_set_smob_dump, scm_set_smob_undump):
231 Updated.
232
233 * keywords.c (keyword_dump): Renamed from keyword_dealloc.
234 (keyword_undump): Renamed from keyword_alloc.
235 (scm_init_keywords): Set keyword_dump and keyword_undump.
236
ecf470a2
ML
2372001-02-03 Michael Livshin <mlivshin@bigfoot.com>
238
239 * gc.c (DOUBLECELL_ALIGNED_P): new macro, a better-named analog of
240 the deprecated SCM_DOUBLE_CELLP.
241
242 * tags.h (SCM_DOUBLE_CELLP): deprecated.
243
03416a99
KN
2442001-02-02 Keisuke Nishida <kxn30@po.cwru.edu>
245
246 * dump.c, dump.h: New files.
247 * Makefile.am: Added dump.c, dump.h, dump.x, dump.doc.
248 * init.c: #include "libguile/dump.h".
249 (scm_init_guile_1): Call scm_init_dump.
250 * smob.h (scm_smob_descriptor): New slots: dump_mark,
251 dump_dealloc, dump_store, undump_alloc, undump_restore,
252 undump_init.
253 * smob.c (scm_make_smob_type): Init the new slots.
254 (scm_set_smob_dump, scm_set_smob_undump): New functions.
255 * smob.h (scm_set_smob_dump, scm_set_smob_undump): Declared.
256
257 * keywords.c: #include "libguile/dump.h".
258 (keyword_dealloc, keyword_alloc): New functions.
259 (scm_init_keywords): Set smob_dump and smob_undump.
260
00ffa0e7
KN
2612001-02-01 Keisuke Nishida <kxn30@po.cwru.edu>
262
263 * vectors.c (scm_c_make_vector): New function.
264 * vectors.h (scm_c_make_vector): Declared.
265 * eval.c (scm_copy_tree), filesys.c (scm_stat2scm), fluids.c
266 (scm_make_initial_fluids, grow_fluids), gc.c (scm_init_storage),
267 gh_data.c (gh_ints2scm, gh_doubles2scm): goops.c
268 (scm_make_method_cache, scm_i_vector2list,
269 scm_compute_applicable_methods, scm_sys_method_more_specific_p),
270 init.c (start_stack), net_db.c (scm_gethost, scm_getnet,
271 scm_getproto, scm_return_entry), posix.c (scm_getgroups,
272 scm_getpwuid, scm_getgrgid, scm_uname), print.c (make_print_state,
273 grow_ref_stack), regex-posix.c (scm_regexp_exec), scmsigs.c
274 (scm_init_scmsigs), socket.c (scm_addr_vector, scm_addr_vector),
275 stime.c (scm_times, filltime), unif.c (scm_make_uve), vectors.c
276 (scm_vector, scm_make_vector): Use scm_c_make_vector.
277
278 * hashtab.c (scm_c_make_hash_table): New function.
279 * hashtab.h (scm_c_make_hash_table): Declared.
280 * environments.c (scm_make_leaf_environment,
281 scm_make_eval_environment), gc.c (scm_init_storage),
282 keywords.c (scm_init_keywords), symbols.c (scm_builtin_bindings):
283 Use scm_c_make_hash_table.
284
b8446ce8
MD
2852001-01-31 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
286
287 * unif.c (rapr1): Don't apply scm_uniform_vector_length on arrays.
288
e3239868
DH
2892001-01-29 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
290
291 * struct.c (scm_make_vtable_vtable): Removed unnecessary "" from
292 end of docstring.
293
294 * struct.c (scm_struct_set_x, scm_struct_vtable_tag,
295 scm_struct_vtable_name, scm_set_struct_vtable_name_x), weaks.c
296 (scm_make_weak_value_hash_table, scm_make_doubly_weak_hash_table,
297 scm_weak_value_hash_table_p, scm_doubly_weak_hash_table_p),
298 srcprop.c (scm_source_properties, scm_set_source_properties_x,
299 scm_source_property, scm_set_source_property_x), sort.c
300 (scm_sort_list_x, scm_restricted_vector_sort_x, scm_sorted_p,
301 scm_merge, scm_merge_x, scm_sort_x, scm_sort, scm_stable_sort_x,
302 scm_stable_sort, scm_sort_list_x, scm_sort_list): Added
303 docstrings.
304
41ee56dd
MD
3052001-01-29 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
306
307 * eval.c (SCM_APPLY): Check that primitives which take 1 arg
308 really get that arg.
309
b6311c08
KN
3102001-01-26 Keisuke Nishida <kxn30@po.cwru.edu>
311
312 * goops.c (s_scm_get_keyword): Bug fix.
313
a49af0c0
DH
3142001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
315
316 The following patch was sent by Martin Grabmueller. It makes sure
317 that in case of parameter errors the correct function name is
318 shown, and that parameter types are only checked once.
319
320 * strop.c (string_copy, string_upcase_x, string_downcase_x,
321 string_capitalize_x): New functions. Each one performs the core
322 functionality of the corresponding scm_* function.
323
324 (scm_string_copy, scm_string_upcase_x, scm_string_upcase,
325 scm_string_downcase_x, scm_string_downcase,
326 scm_string_capitalize_x, scm_string_capitalize): Reduced to
327 parameter checking wrappers of the above functions.
328
13070bd3
DH
3292001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
330
331 * continuations.c, dynl.c, keywords.c, load.c: Include
332 strings.h. Thanks to Bill Schottstaedt for the bug report.
333
2f2b390c
DH
3342001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
335
336 * backtrace.c (display_header): Make sure that line and column
337 information is shown independent of whether the port the code was
338 read from had an associated filename. Thanks to Martin
339 Grabmueller for providing this patch.
340
efa40607
DH
3412001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
342
343 * fports.[ch] (scm_file_port_p): New primitive.
344
a98bddfd
DH
3452001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
346
347 * tags.h (scm_tc16_fport, scm_tc16_strport, scm_tc16_sfport):
348 These are now defined in fports.c, strports.c and vports.c.
349
350 * fports.[ch] (scm_tc16_fport), strports.c (scm_tc16_strport),
351 vports.c (scm_tc16_sfport): Made variables (were macros defined in
352 tags.h).
353
354 fports.c (scm_make_fptob), strports.c (scm_make_stptob), vports.c
355 (scm_make_sfptob): Made static. These return a type code now.
356
357 fports.c (scm_init_fports), strports.c (scm_init_strports),
358 vports.c (scm_init_vports): Create the corresponding port types.
359
360 * fports.h (SCM_FPORTP, SCM_OPFPORTP, SCM_OPINFPORTP,
361 SCM_OPOUTFPORTP): Redefined in terms of scm_tc16_fport.
362
363 * init.c (scm_init_guile_1): Make sure strports are initialized
364 before gdbint.
365
366 * ports.[ch] (scm_make_port_type): Changed the return type to
367 scm_bits_t.
368
369 * ports.c (scm_ports_prehistory): Don't create any port types
370 here.
371
372 * posix.c (scm_ttyname): Use SCM_FPORTP instead of comparing
373 against scm_tc16_fport directly.
374
0419a528
DH
3752001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
376
377 * srcprop.c (scm_set_source_property_x): Fix to handle
378 (set-source-property! <obj> 'copy <datum>) correctly.
379
6d36532c
GH
3802001-01-24 Gary Houston <ghouston@arglist.com>
381
382 * filesys.c (scm_link): docstring fix.
383 * fports.h (scm_setfileno): obsolete declaration removed.
384 * posix.c: bogus popen declaration removed.
385
386 * rdelim.c: new file, split from ioext.c.
387 * rdelim.h: new file, split from ioext.h
388 * Makefile.am: add rdelim.c and related files.
389 * init.c: call scm_init_rdelim. include rdelim.h.
390
3ba5a6c2
DH
3912001-01-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
392
393 This patch was sent by Martin Grabmueller and makes sure that
394 parameter errors are reported correctly by the lexicographic
395 ordering predicates.
396
397 * strorder.c (string_less_p, string_ci_less_p): New functions.
398
399 (scm_string_less_p, scm_string_ci_less_p): Extracted the core
400 functionality into string_less_p, string_ci_less_p respectively.
401 The remaining code is just a wrapper to do the parameter
402 checking.
403
404 (scm_string_leq_p, scm_string_gr_p, scm_string_geq_p): Check the
405 parameters and call string_less_p instead of scm_string_less_p.
406
407 (scm_string_ci_leq_p, scm_string_ci_gr_p, scm_string_ci_geq_p):
408 Check the parameters and call string_less_ci_p instead of
409 scm_string_ci_less_p.
410
e40a4095
DH
4112001-01-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
412
ed6a2db9
DH
413 This patch modifies scm_display_error to perform parameter
414 checking. Thanks to Neil Jerram for the bug report.
415
e40a4095
DH
416 * backtrace.[ch] (scm_i_display_error): New function.
417
418 * backtrace.c (scm_display_error): Added parameter check and
419 extracted the core functionality into function
420 scm_i_display_error.
421
422 * throw.c (handler_message): Call scm_i_display_error to display
423 the error message.
424
f1e06a96
MD
4252001-01-23 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
426
427 * eval.c (SCM_APPLY): Added # args check for application of
428 procedures with arity 3. (Thanks to Anders Holst.)
429
30ea841d
DH
4302001-01-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
431
432 * filesys.h (SCM_DIR_FLAG_OPEN, SCM_DIR_OPEN_P): Added.
433
434 (SCM_OPDIRP): Deprecated.
435
436 * filesys.c (scm_opendir): Use SCM_DIR_FLAG_OPEN instead of
437 SCM_OPN.
438
439 (scm_readdir, scm_rewinddir): Don't use SCM_VALIDATE_OPDIR.
440 Instead, give an explicit error message in case the directory is
441 closed.
442
443 (scm_closedir, scm_dir_print): Rewritten to use SCM_DIR_OPEN_P
444 instead of SCM_OPENP and SCM_CLOSEDP.
445
446 * validate.h (SCM_VALIDATE_OPDIR): Deprecated.
447
312ae976
DH
4482001-01-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
449
450 * eval.c (inner_eval, scm_eval): Move all real functionality into
451 inner_eval. Avoid to copy the expression twice by inlining some
452 code from scm_i_eval.
453
4567ed78
DH
4542001-01-19 Dirk Herrmann <D.Herrmann@tu-bs.de>
455
456 * eval.c (scm_m_case): The 'else' clause of a 'case' statement
457 now has to be the last clause, as required by R5RS. Thanks to
458 Martin Grabmueller for the patch.
459
10288a09
GH
4602001-01-18 Gary Houston <ghouston@arglist.com>
461
462 * ioext.c: further simplify scm_read_string_x_partial by defining
463 a macro SCM_EBLOCK.
464
8f379a8f
DH
4652001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
466
467 * gh_data.c (gh_ints2scm): Simplified using SCM_FIXABLE.
468
5c75b29f
DH
4692001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
470
471 * __scm.h: Added comment about architecture and compiler
472 properties that are required by guile.
473
474 (SCM_FIXNUM_BIT, SCM_MOST_POSITIVE_FIXNUM,
475 SCM_MOST_NEGATIVE_FIXNUM): Moved to numbers.h.
476
477 (SCM_CHAR_BIT, SCM_LONG_BIT): Moved here from numbers.h.
478
479 * numbers.h (SCM_CHAR_BIT, SCM_LONG_BIT): Moved to __scm.h.
480
481 (SCM_FIXNUM_BIT, SCM_MOST_POSITIVE_FIXNUM,
482 SCM_MOST_NEGATIVE_FIXNUM): Moved here from __scm.h.
483
ac0c002c
DH
4842001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
485
486 * __scm.h (SCM_FIXNUM_BIT): Added. The name is chosen in analogy
487 to the names in limits.h.
488
489 * numbers.c (abs_most_negative_fixnum): Added.
490
491 (scm_quotient, scm_remainder): Fixed the fixnum-min / (abs
492 fixnum-min) special case.
493
494 (scm_big_and): Fix for negative first parameter.
495
496 (scm_bit_extract): Fix for fixnum paramters.
497 Thanks to Rob Browning for the bug report.
498
499 (scm_init_numbers): Initialize abs_most_negative_fixnum.
500
debe0dc2
DH
5012001-01-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
502
503 * symbols.c (scm_symbol_bound_p): Fixed comment.
504 Thanks to Chris Cramer.
505
8a39e3fc
DH
5062001-01-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
507
508 * smob.[ch] (scm_make_smob_type): Return type is scm_bits_t now.
509 Thanks to Bill Schottstaedt.
510
322ec19d
ML
5112001-01-11 Michael Livshin <mlivshin@bigfoot.com>
512
513