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

9759 commits

Author SHA1 Message Date
Marius Vollmer
14bed4cc26 (scm_make_shared_array): Add old base to new base since
scm_array_handle_pos does not include the base.
(scm_aind): Likewise.
2005-05-22 17:19:17 +00:00
Marius Vollmer
9e664475b9 *** empty log message *** 2005-05-22 16:19:19 +00:00
Marius Vollmer
417b0dc1fb (scm_putc, scm_puts): Assert that the port argument is a output port. 2005-05-22 16:18:55 +00:00
Neil Jerram
5a6d139b35 * unif.c (scm_i_read_array): Declare rank as ssize_t, to guarantee
that it is signed.

* strports.c (st_resize_port): Add unsigned char cast.
(scm_mkstrport): Make read/write_buf cast unsigned.

* srfi-13.c (string_titlecase_x): Add unsigned char cast.

* rdelim.c (scm_read_line): Initialize slen.

* load.c (scm_search_path): Remove weird >=1, and add
parentheses to clarify conditions.

* hash.c (scm_hasher): Add const unsigned char cast.

* gh_data.c (gh_chars2byvect): Add scm_t_int8 cast.
2005-05-12 06:39:50 +00:00
Neil Jerram
b01532af77 * threads.c (s_scm_lock_mutex): Don't declare msg in middle of
code.

* gc.c (s_scm_gc_live_object_stats): Don't declare alist in middle
of code.

* gc-card.c (scm_i_card_statistics): Don't declare tag in middle
of code.
(scm_i_card_statistics): Add block for declarations of tag_as_scm
and current.
2005-05-11 07:41:36 +00:00
Neil Jerram
229a07109c (signal_delivery_thread): Return a value, to avoid
compile warning reported by Werner Scheinast.
2005-05-10 20:04:14 +00:00
Kevin Ryde
b52f5697ad *** empty log message *** 2005-05-07 00:03:13 +00:00
Kevin Ryde
a17a869e3f (car+cdr, fold, last, list-index, list-tabulate,
not-pair?, xcons): New tests.
2005-05-07 00:02:02 +00:00
Kevin Ryde
e556f8c3c6 (car+cdr, fold, last, list-index,
list-tabulate, not-pair, xcons): Rewrite in C.
2005-05-06 23:59:35 +00:00
Kevin Ryde
6017642112 (make-shared-array): Add failing case shared of shared. 2005-05-04 00:30:04 +00:00
Kevin Ryde
8ad5d74a81 *** empty log message *** 2005-05-03 23:27:48 +00:00
Kevin Ryde
f1f478bf1d (fifth, sixth, seventh, eighth, ninth, tenth): New tests. 2005-05-03 23:25:48 +00:00
Kevin Ryde
03731332d5 (fifth, sixth, seventh, eighth, ninth, tenth): Rewrite in C. 2005-05-03 23:24:31 +00:00
Kevin Ryde
b2c82c27f0 (break!, drop-right!, drop-while, take-while,
take-while!, span!, take!): New tests.
2005-05-03 23:13:16 +00:00
Kevin Ryde
6e9f3c2676 (break, break!): Rewrite in C. 2005-05-03 23:03:27 +00:00
Kevin Ryde
e9508fbb7d (drop-right!, drop-while,
lset-adjoin, reduce, reduce-right, span, span!, take!, take-while,
take-while!): Rewrite in C.
2005-05-03 22:57:26 +00:00
Kevin Ryde
597dbd4eea (drop-right!, drop-while,
lset-adjoin, reduce, reduce-right, span, take!, take-while,
take-while!): Rewrite in C.
2005-05-03 22:56:01 +00:00
Kevin Ryde
da02b978d0 *** empty log message *** 2005-05-03 22:50:44 +00:00
Kevin Ryde
64bf8517e9 (SRFI-1 Selectors): In drop-right, note always a
new list.  In take-right, note result shares common tail.  Per spec.
2005-05-03 22:50:21 +00:00
Kevin Ryde
2ac46e5a51 *** empty log message *** 2005-05-02 23:34:56 +00:00
Kevin Ryde
bba26c3211 (String Constructors): Clarify string, list->string
and reverse-list->string a bit.
2005-05-02 23:26:47 +00:00
Kevin Ryde
9782da8aa9 Tweaks. 2005-05-02 23:15:11 +00:00
Han-Wen Nienhuys
8003802199 remove scm_list() 2005-04-30 20:54:35 +00:00
Han-Wen Nienhuys
645dd3fc36 (DYNAMIC_STATE_NEXT_LOC): new macro for use with
SCM_DEBUG_CELL_ACCESSES
(FLUID_NEXT_LOC): idem.
2005-04-30 20:07:50 +00:00
Kevin Ryde
6c8fbb9499 *** empty log message *** 2005-04-29 23:49:25 +00:00
Kevin Ryde
3fa0a042ba (Default Ports): Describe buffering on standard ports. 2005-04-29 23:45:11 +00:00
Kevin Ryde
97d790b384 *** empty log message *** 2005-04-29 23:24:08 +00:00
Kevin Ryde
2f359170fb (/): Further tests. 2005-04-29 23:20:04 +00:00
Kevin Ryde
9a68a4a8af *** empty log message *** 2005-04-29 23:03:41 +00:00
Kevin Ryde
4c6e36a6e3 (scm_divide): Correction to 1/complex and <any>/complex,
need to test abs(re)<abs(im) for choice of cases, otherwise divide by
zero when re==0 and im<0.  Reported by Jean Crepeau.
2005-04-29 22:59:22 +00:00
Kevin Ryde
597052a27b *** empty log message *** 2005-04-25 00:16:03 +00:00
Kevin Ryde
917abf7026 (array-map!): Further tests. 2005-04-25 00:15:24 +00:00
Kevin Ryde
0640cdaa8b *** empty log message *** 2005-04-25 00:04:02 +00:00
Kevin Ryde
f530e94f5d (scm_array_map_x): Allow no source args, add num args checks
to subr_1, subr_2, subr_2o and dsubr cases.
2005-04-25 00:02:47 +00:00
Neil Jerram
8378b269a6 Fix typo in comment 2005-04-24 12:29:14 +00:00
Neil Jerram
7346de618a Fix comment typos 2005-04-24 12:23:57 +00:00
Neil Jerram
a61b2054b4 Critical section review 2005-04-24 12:23:24 +00:00
Kevin Ryde
13155c50c4 *** empty log message *** 2005-04-23 00:40:19 +00:00
Kevin Ryde
ba46895cd3 (numerator, denominator): New tests. 2005-04-23 00:39:45 +00:00
Kevin Ryde
c51682b416 *** empty log message *** 2005-04-23 00:17:33 +00:00
Kevin Ryde
15f7341ed4 (scm_make_list): New code, moving make-list from boot-9.scm. 2005-04-23 00:15:16 +00:00
Kevin Ryde
7cfb4dd2e8 (concatenate, concatenate!, count, filter-map, lset-adjoin): More tests. 2005-04-23 00:14:42 +00:00
Kevin Ryde
eccd308a5b (scm_srfi1_count, scm_srfi1_filter_map): Don't modify the
rest argument, that belongs to the caller when reached from apply.
Use a temp vector like scm_srfi1_for_each.
2005-04-23 00:10:50 +00:00
Kevin Ryde
8cb2eff840 *** empty log message *** 2005-04-23 00:07:17 +00:00
Kevin Ryde
2ac6b60e86 (scm_make_list): New code, moving make-list from boot-9.scm. 2005-04-23 00:06:14 +00:00
Kevin Ryde
1d936c056b (make-list): New tests. 2005-04-23 00:04:57 +00:00
Kevin Ryde
ab661b7073 (make-list): Moved to C code in list.c 2005-04-23 00:03:33 +00:00
Kevin Ryde
dc1e26b0b2 *** empty log message *** 2005-04-22 23:51:45 +00:00
Kevin Ryde
a7e252d5ef (list, cons*): New tests. 2005-04-22 23:50:17 +00:00
Kevin Ryde
c0b85e9c82 *** empty log message *** 2005-04-22 23:44:24 +00:00