1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00
Commit graph

9450 commits

Author SHA1 Message Date
Kevin Ryde
8b3747f9c6 (scm_i_init_rstate): Compare w to -1 not 0xffffffffUL, now
that it's an scm_t_int32.  Otherwise gcc 3.4 says it's always false on
a 64-bit system.
2005-01-23 23:58:43 +00:00
Kevin Ryde
a1b8491411 *** empty log message *** 2005-01-23 23:36:55 +00:00
Kevin Ryde
09ecf78c60 (Internationalization): Expand and revise a bit for clarity. 2005-01-23 23:22:36 +00:00
Kevin Ryde
333db3b87f *** empty log message *** 2005-01-23 22:10:12 +00:00
Kevin Ryde
0b91f1db7a (scm_flock): Update docstring from manual. 2005-01-23 22:09:14 +00:00
Kevin Ryde
41b74b7dbb (scm_setlocale): Force errno=EINVAL for an error, since
POSIX and C99 don't document errno being set.  Reported by Bruno
Haible.
2005-01-23 21:59:09 +00:00
Kevin Ryde
edfc07b3e1 *** empty log message *** 2005-01-23 21:36:22 +00:00
Kevin Ryde
7682257388 (lset=, member): New tests. 2005-01-23 21:36:00 +00:00
Kevin Ryde
d27d4bf7a7 *** empty log message *** 2005-01-23 21:28:45 +00:00
Kevin Ryde
4e3cc389f0 (scm_srfi1_member): Update docstring from manual. 2005-01-23 21:27:51 +00:00
Kevin Ryde
ac70289c71 (SRFI-1 Set Operations): Remove lset-adjoin!, doesn't exist in the
code or the srfi spec.
2005-01-23 21:21:15 +00:00
Kevin Ryde
ca04a5aef6 (SRFI-1 Searching): In member, note `=' called arg order. 2005-01-23 21:16:46 +00:00
Kevin Ryde
2f0a4e3072 *** empty log message *** 2005-01-23 21:02:42 +00:00
Kevin Ryde
2796304a40 (scm_srfi1_member): Correction to pred call arg order, srfi
spec is (PRED X elem).
2005-01-23 21:02:13 +00:00
Kevin Ryde
8e15d7f577 Add a copyright year. 2005-01-23 20:47:36 +00:00
Kevin Ryde
9d494a7371 (lset=): Allow no list arguments, per srfi spec example. 2005-01-23 20:47:12 +00:00
Marius Vollmer
611a429a8e *** empty log message *** 2005-01-21 13:23:01 +00:00
Marius Vollmer
0eeb261138 *** empty log message *** 2005-01-20 15:58:06 +00:00
Marius Vollmer
6fccb8805c (obarray_enter, obarray_replace): Call SCM_HASHTABLE_INCREMENT when
adding a new entry.
2005-01-20 15:57:50 +00:00
Marius Vollmer
88f59e537d *** empty log message *** 2005-01-20 14:41:14 +00:00
Marius Vollmer
38c9cccb96 Include goops.h for the scm_class_of prototype. 2005-01-20 14:40:46 +00:00
Marius Vollmer
937770822e (hashtable_size, HASHTABLE_SIZE_N): Restrict hashtable sizes to be
smaller than the maximum lengths of vectors.
2005-01-20 14:39:49 +00:00
Kevin Ryde
45e1938d8b *** empty log message *** 2005-01-19 23:36:06 +00:00
Kevin Ryde
0166e7f200 (SRFI-1 Searching): In list-index, note 0 based
index and #f for not found.
2005-01-19 23:35:38 +00:00
Kevin Ryde
67bcd1103b (Ports and File Descriptors): In flock, for LOCK_NB note
logior for LOCK_NB and EWOULDBLOCK error, and note flock doesn't work
over NFS.
2005-01-19 23:32:44 +00:00
Marius Vollmer
219b286864 *** empty log message *** 2005-01-18 15:00:52 +00:00
Marius Vollmer
f7aaa3b300 (class-of): Changed from being re-exported to just
being exported.
2005-01-18 15:00:44 +00:00
Marius Vollmer
539d541073 * objects.h, objects.c, goops.c, goops.h (scm_class_boolean,
scm_class_char, scm_class_pair, scm_class_procedure,
scm_class_string, scm_class_symbol,
scm_class_procedure_with_setter, scm_class_primitive_generic,
scm_class_vector, scm_class_null, scm_class_real,
scm_class_complex, scm_class_integer, scm_class_fraction,
scm_class_unknown, scm_port_class, scm_smob_class,
scm_no_applicable_method, scm_class_of): Moved from objects to
goops since they are only useable once goops has been loaded.
(scm_classes_initialized): Removed.
(scm_class_of): Do not check it.
(create_standard_classes): Do not set it.
2005-01-18 14:58:39 +00:00
Marius Vollmer
9511876f49 Include "libguile/goops.h". 2005-01-18 13:59:04 +00:00
Kevin Ryde
0f0bf3b2dd *** empty log message *** 2005-01-17 22:32:52 +00:00
Kevin Ryde
191be0a639 Remove (ice-9 session) and (ice-9 receive), not used. 2005-01-17 22:26:07 +00:00
Marius Vollmer
50472546d5 *** empty log message *** 2005-01-17 18:54:58 +00:00
Marius Vollmer
526982f570 * objects.h, objects.c (scm_classes_initialized): New.
(scm_class_of): Signal error when scm_classes_initialized is zero.
* goops.c (create_standard_classes): Set scm_classes_initialized
to one.
2005-01-17 18:11:43 +00:00
Marius Vollmer
009c6b9c89 *** empty log message *** 2005-01-17 17:22:33 +00:00
Marius Vollmer
f160e70907 (scm_random_solid_sphere_x): Use scm_c_generalized_vector_length
instead of scm_uniform_vector_length.
2005-01-17 17:22:22 +00:00
Marius Vollmer
7719cbe989 *** empty log message *** 2005-01-16 17:21:28 +00:00
Marius Vollmer
436be13ae8 (scm_compile_shell_switches): Removed debugging output. 2005-01-16 17:20:36 +00:00
Kevin Ryde
1ec44fed86 *** empty log message *** 2005-01-15 00:04:54 +00:00
Kevin Ryde
6efaeb3567 (scm_random_solid_sphere_x): Update docstring from manual. 2005-01-15 00:03:53 +00:00
Kevin Ryde
ba6e7231e4 (scm_logtest, scm_logbit_p, scm_integer_expt): Update
docstrings from manual.
2005-01-15 00:01:40 +00:00
Kevin Ryde
09246596b0 *** empty log message *** 2005-01-14 23:56:16 +00:00
Kevin Ryde
42ad91f742 (Loading): In %load-hook, need to use set!, and describe #f. 2005-01-14 23:55:07 +00:00
Kevin Ryde
4497bd2f81 (Random): In random:solid-sphere!, there is no return value. 2005-01-14 23:52:02 +00:00
Kevin Ryde
5c132e68d0 @code for %load-path 2005-01-14 23:23:08 +00:00
Kevin Ryde
a46648acb3 (Bitwise Operations): In logtest and logbit?, describe
operations in words, not just equivalent expressions.  In
integer-expt, clarify a bit and note negative k allowed and 0^0==1.
2005-01-14 23:20:25 +00:00
Marius Vollmer
0b5a0521d1 *** empty log message *** 2005-01-14 18:27:12 +00:00
Marius Vollmer
00c17d4526 (scm_take_u64vector,
scm_array_handle_u64_elements,
scm_array_handle_u64_writable_elements, scm_u64vector_elements,
scm_u64vector_writable_elements): Do not define when scm_t_uint64
is not available.
(scm_take_s64vector, scm_array_handle_s64_elements,
scm_array_handle_s64_writable_elements, scm_s64vector_elements,
scm_s64vector_writable_elements): Likewise for scm_t_int64.
(uvec_sizes, uvec_print, uvec_equalp): Use SCM bignums when
scm_t_int64/scm_t_uint64 are not available.
(uvec_mark): New, to mark the bignums.
(alloc_uvec): Initialize bignums.
(uvec_fast_ref): Return bignums directly.
(scm_uint64_min, scm_uint64_max, scm_int64_min, scm_int64_max,
assert_exact_integer): New.
(uvec_fast_set): Use them to validate the bignums.
(scm_init_srfi_4): Set mark function of smob when needed.
Initialize scm_uint64_min, scm_uint64_max, scm_int64_min,
scm_int64_max.
2005-01-14 18:19:13 +00:00
Marius Vollmer
55fcbb966b Don't check for definedness of SCM_HAVE_T_INT64, check
its value.
2005-01-14 18:01:31 +00:00
Marius Vollmer
6e4cd850f6 *** empty log message *** 2005-01-14 16:24:17 +00:00
Marius Vollmer
e70c841fe6 Describe new 1.4 compatability behavior of
-e option.
2005-01-14 16:24:09 +00:00