1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 05:20:16 +02:00
Commit graph

9601 commits

Author SHA1 Message Date
Kevin Ryde
3c4eabbee0 *** empty log message *** 2005-03-25 21:03:55 +00:00
Kevin Ryde
59216e48da (string-index): Exercise 8-bit char in string. 2005-03-25 20:58:22 +00:00
Mikael Djurfeldt
f12de0a178 * accessors.scm, simple.scm: New files.
* goops.scm (standard-define-class): Removed; Export
define-class as standard-define-class.
2005-03-24 10:23:17 +00:00
Mikael Djurfeldt
4c908f2c13 * async.h (scm_mask_ints): Removed left over reference to
scm_root.

* threads.c: Removed fprintf debug statements.
2005-03-24 10:21:22 +00:00
Neil Jerram
d193b04b7b (scm_make_memoized): Restore use of SCM_UNPACK. 2005-03-24 07:30:19 +00:00
Neil Jerram
c29748cdfe (scm_make_memoized): Remove unnecessary critical
section, and simplify by using SCM_RETURN_NEWSMOB.
2005-03-23 20:22:26 +00:00
Mikael Djurfeldt
e654b06261 (SCM_STRING_UCHARS): Added missing argument. 2005-03-20 13:56:53 +00:00
Marius Vollmer
aa9200e51a Talk about non-blockable GC. 2005-03-18 09:26:05 +00:00
Kevin Ryde
4bc6f1c693 *** empty log message *** 2005-03-17 23:16:53 +00:00
Kevin Ryde
cfa1ef52a2 (filter-map): More tests. 2005-03-17 23:16:31 +00:00
Kevin Ryde
c16359466b (filter-map): Rewrite in C. 2005-03-17 23:15:19 +00:00
Kevin Ryde
8ff3ca467c (FETCH_STORE) [generic C]: Should be
scm_i_scm_pthread_mutex_lock/unlock now.  Reported by Ludovic Courtès.
2005-03-17 23:11:54 +00:00
Kevin Ryde
e96f5ee768 *** empty log message *** 2005-03-17 21:28:49 +00:00
Kevin Ryde
3c1f825ca0 A few more tests from the 1.6 branch. 2005-03-17 21:28:19 +00:00
Kevin Ryde
56b9251450 *** empty log message *** 2005-03-15 22:03:33 +00:00
Kevin Ryde
c3c8306132 (split-at, split-at!): New tests. 2005-03-15 22:00:56 +00:00
Kevin Ryde
bb560b9c16 (split-at, split-at!): Rewrite in C. 2005-03-15 21:58:46 +00:00
Kevin Ryde
d2f57ee014 (split-at, split-at!): Rewrite in C. 2005-03-15 21:49:25 +00:00
Kevin Ryde
74b2357378 *** empty log message *** 2005-03-15 21:48:03 +00:00
Kevin Ryde
44981fcb77 *** empty log message *** 2005-03-15 21:18:02 +00:00
Kevin Ryde
ba9fb62d10 (drop-right, partition!, take-right): New tests. 2005-03-15 21:16:32 +00:00
Kevin Ryde
2b077051db (drop-right, partition!, remove!, take-right): Rewrite in C.
remove! derived from core filter!.
2005-03-15 21:15:24 +00:00
Kevin Ryde
cc93eace99 *** empty log message *** 2005-03-13 23:36:48 +00:00
Kevin Ryde
4ea9becb93 (SRFI-55): New section. 2005-03-13 23:36:20 +00:00
Kevin Ryde
8503beb82f (SRFI-60): New section. 2005-03-13 23:30:47 +00:00
Kevin Ryde
b1d5e70068 *** empty log message *** 2005-03-13 23:16:48 +00:00
Kevin Ryde
e748b272eb (find, find-tail, lset-union): New tests.
(lset-adjoin): Corrections to some tests.
2005-03-13 23:12:40 +00:00
Kevin Ryde
d68c4ebb3a *** empty log message *** 2005-03-13 23:06:15 +00:00
Kevin Ryde
5df2ac97e9 (find, find-tail): Rewrite in C. 2005-03-13 22:49:28 +00:00
Kevin Ryde
6851314445 New file. 2005-03-13 22:43:07 +00:00
Kevin Ryde
938d99096d *** empty log message *** 2005-03-13 00:52:29 +00:00
Kevin Ryde
bf04b1a384 * tests/srfi-60.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2005-03-13 00:52:01 +00:00
Kevin Ryde
17e69f21ce New file. 2005-03-13 00:51:30 +00:00
Kevin Ryde
85542c385d *** empty log message *** 2005-03-13 00:41:20 +00:00
Kevin Ryde
6e09703fa0 (lset-union): Call `=' procedure with args in the order specified by the SRFI. 2005-03-13 00:40:55 +00:00
Kevin Ryde
ba78f311d5 *** empty log message *** 2005-03-13 00:39:42 +00:00
Kevin Ryde
6bba4fad61 (LIBGUILE_SRFI_SRFI_60): New defines. 2005-03-13 00:36:50 +00:00
Kevin Ryde
9d3ea5718f * srfi-60.scm, srfi-60.c, srfi-60.h: New files.
* Makefile.am: Add them.
2005-03-13 00:31:32 +00:00
Kevin Ryde
8884a0844f New file. 2005-03-13 00:29:04 +00:00
Kevin Ryde
afd09cfba0 (logior): New tests, exercising negative bignums reducing to inum. 2005-03-13 00:21:45 +00:00
Kevin Ryde
f1531813b8 *** empty log message *** 2005-03-13 00:20:40 +00:00
Kevin Ryde
23c3b605b5 (scm_i_clonebig): Remove static, so can use in srfi-60. 2005-03-13 00:18:34 +00:00
Kevin Ryde
9806de0dca (scm_logior): Must scm_i_normbig results as per scm_logand,
because OR-ing bits into a negative can reduce the value to an inum.
2005-03-13 00:16:22 +00:00
Kevin Ryde
6f6847fa21 (=): Exercise inum/flonum cases that used to
round on 64-bit systems.
2005-03-13 00:14:23 +00:00
Kevin Ryde
e8c5b1f291 (scm_num_eq_p): On 64-bit systems, be careful about
casting inum to double since that can lose precision.
2005-03-13 00:13:10 +00:00
Marius Vollmer
a9fae247a3 *** empty log message *** 2005-03-10 18:43:04 +00:00
Marius Vollmer
98345eebf9 (scm_i_init_guile): Do not set scm_block_gc. 2005-03-10 18:42:52 +00:00
Marius Vollmer
fd20058d74 (SCM_BEGIN_FOREIGN_BLOCK, SCM_END_FOREIGN_BLOCK): Do not set
scm_block_gc.
2005-03-10 18:42:11 +00:00
Marius Vollmer
b17e0ac397 * gc.h, gc.c (SCM_FREECELL_P): Removed for good.
(scm_block_gc, scm_gc_heap_lock): Removed.  Removed all uses.
(scm_gc_running_p): Now a macro that refers to the scm_i_thread
field.
(scm_i_sweep_mutex): Now a non-recursive mutex.  GC can not happen
recursively.
(scm_igc, scm_i_gc): Renamed former to latter.  Changed all uses.
Do not lock scm_i_sweep_mutex, which is now non-recursive, or set
scm_gc_running_p.  Do not run the scm_after_gc_c_hook.
(scm_gc): Lock scm_i_sweep_mutex, set scm_gc_running_p and run the
scm_after_gc_c_hook here.
(scm_gc_for_new_cell): Set scm_gc_running_p here and run the
scm_after_gc_c_hook when a full GC has in fact been performed.
(scm_i_expensive_validation_check): Call scm_gc, not scm_i_gc.

* gc-segment.c (scm_i_get_new_heap_segment): Do not check
scm_gc_heap_lock.

* gc-malloc.c (scm_realloc, increase_mtrigger): Set
scm_gc_running_p while the scm_i_sweep_mutex is locked.
2005-03-10 18:39:53 +00:00
Marius Vollmer
94d375b5a7 (scm_cell, scm_double_cell): Do not check scm_gc_running_p, allocation
during sweeping is OK.
2005-03-10 18:08:12 +00:00