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

9759 commits

Author SHA1 Message Date
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
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