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

11174 commits

Author SHA1 Message Date
Kevin Ryde
feb22e8f80 *** empty log message *** 2005-01-27 23:13:43 +00:00
Kevin Ryde
cafbb8c05d *** empty log message *** 2005-01-27 23:13:17 +00:00
Kevin Ryde
d5fd638ca5 (lset=): Correction to pred call arg order, srfi spec is
(= e[i] e[i+1]), but had some calls the other way around.
2005-01-27 23:12:26 +00:00
Kevin Ryde
600af2edd5 (lset=): Correction to pred call arg order, srfi spec is
(= e[i] e[i+1]), but had some calls the other way around.
2005-01-27 23:11:36 +00:00
Kevin Ryde
8447f463ba *** empty log message *** 2005-01-27 23:04:05 +00:00
Kevin Ryde
788aca275f (scm_ash): Rewrite using shifts, much faster than
integer-expt and multiply/divide.  Inexacts and fractions no longer
supported (they happened to work before for left shifts, but not
right).  Don't really need inexacts and fractions, since ash is
documented as a "bitwise operation", and all the rest of those only
take exact integers.
2005-01-27 22:51:22 +00:00
Han-Wen Nienhuys
856fca7e70 * gc-card.c (scm_i_card_statistics): map structs, closures and
subrs to one tag.

* gc-card.c (scm_i_tag_name):  new function.
(scm_i_card_statistics): new function.
2005-01-27 22:50:09 +00:00
Han-Wen Nienhuys
73a4c24e41 * gc.c (s_scm_gc_live_object_stats): return alist, not hashtable.
(tag_table_to_type_alist): ignore unknown types.

* gc.c (s_scm_gc_live_object_stats): new GUILE callable: return
statistics on the number of live objects of each type.

* gc-card.c (scm_i_tag_name):  new function.
(scm_i_card_statistics): new function.
2005-01-27 22:44:43 +00:00
Han-Wen Nienhuys
8b378a5f48 *** empty log message *** 2005-01-27 22:20:13 +00:00
Han-Wen Nienhuys
1367aa5e91 * gc.c (s_scm_gc_live_object_stats): return alist, not hashtable.
* gc-segment.c (scm_i_all_segments_statistics): new function.
(scm_i_heap_segment_statistics): new function

* gc.c (s_scm_gc_live_object_stats): new GUILE callable: return
statistics on the number of live objects of each type.

* gc-card.c (scm_i_tag_name):  new function.
(scm_i_card_statistics): new function.
2005-01-27 22:19:49 +00:00
Kevin Ryde
4d38e6f0e3 *** empty log message *** 2005-01-27 21:23:36 +00:00
Kevin Ryde
2ebe323a15 (while): Tests running in empty environment are
now "unresolved" do to workaround in while implementation.
2005-01-27 21:23:09 +00:00
Kevin Ryde
c8fc38b13b (while): Remove the unquote from do, it breaks with ice-9
syncase.  Reported by Pach Roman.
2005-01-27 21:20:47 +00:00
Marius Vollmer
76da80e788 Reverted changed from 2005/01/24 19:14:54, which was a commit to the
wrong branch.  Sorry.
2005-01-24 23:41:14 +00:00
Marius Vollmer
a54a94b397 Threading changes. 2005-01-24 19:14:54 +00:00
Kevin Ryde
be1b896c82 *** empty log message *** 2005-01-24 00:11:03 +00:00
Kevin Ryde
4858610b00 (check_cont): Cast rewindable to long, to
avoid warning from gcc 3.4 on 64-bit systems about casting int
(32-bits) to pointer (64-bits).
2005-01-24 00:07:01 +00:00
Kevin Ryde
3843f734d1 (scm_sigaction_for_thread): Use scm_to_long for
sa_handler, needs to be a long on 64-bit systems where int is only 32
bits.
2005-01-24 00:03:00 +00:00
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
37666d49b9 *** empty log message *** 2005-01-23 22:02:40 +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
7398c4370a (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:57:17 +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
92277bd59d *** empty log message *** 2005-01-23 21:33:24 +00:00
Kevin Ryde
fb5f4acc64 (lset=): Exercise no-arg case. 2005-01-23 21:31:15 +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
b73d815e15 *** empty log message *** 2005-01-23 20:57:29 +00:00
Kevin Ryde
cee91599da Add a copyright year. 2005-01-23 20:56:40 +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
Kevin Ryde
b048be23f8 (lset=): Allow no list arguments, per srfi spec example. 2005-01-23 20:46:24 +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