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

9638 commits

Author SHA1 Message Date
Marius Vollmer
6d92f14f14 (iprin1): When writing a string, collect all characters that can be
printed directly into one call to scm_lfwrite.  Previously, every
character was output with its own call to write(2) on unbuffered
ports.
2005-06-06 19:54:20 +00:00
Marius Vollmer
589f22f665 *** empty log message *** 2005-06-06 18:50:17 +00:00
Marius Vollmer
876099d4ef (scm_eval_options_interface): Use scm_frame_critical_section instead
of SCM_CRITICAL_SECTION_START and SCM_CRITICAL_SECTION_END.
2005-06-06 18:49:55 +00:00
Marius Vollmer
a677679f49 *** empty log message *** 2005-06-06 17:21:50 +00:00
Marius Vollmer
cb5773fe72 (scm_array_in_bounds_p): First test for real arrays, then
check for generalized vectors.  This ensures that the generalized
vector case need only work with zero-origin ranges.
2005-06-06 17:21:26 +00:00
Kevin Ryde
10bb867973 *** empty log message *** 2005-06-05 21:38:22 +00:00
Kevin Ryde
fcae94c51e (array-in-bounds?): Add a test failing in the current code. 2005-06-05 21:37:59 +00:00
Kevin Ryde
4d54ee3597 *** empty log message *** 2005-06-05 21:36:31 +00:00
Kevin Ryde
50e20a6061 (string-split): Try splitting on an 8-bit char. 2005-06-05 21:33:33 +00:00
Kevin Ryde
f8cda9ee2d *** empty log message *** 2005-06-05 21:19:09 +00:00
Kevin Ryde
994f151dc3 (scm_string_split): Compare char/char in scan. Mixing an
unsigned int SCM_CHAR and a char string meant an 8-bit char was never
matched.
2005-06-05 21:10:13 +00:00
Marius Vollmer
b8ad7a213a Added comment that there is a comment in eval.c about how to make case
1.1 succeed.
2005-06-05 20:54:19 +00:00
Marius Vollmer
6642f7ace4 *** empty log message *** 2005-06-05 20:52:56 +00:00
Marius Vollmer
e9ed042cbc Added comment on how to make case 1.1 of r5rs_pitfall.test succeed. 2005-06-05 20:52:23 +00:00
Kevin Ryde
80a09c4718 *** empty log message *** 2005-06-05 20:45:30 +00:00
Kevin Ryde
c211008171 {} groups around "void*" C return types. 2005-06-05 20:44:53 +00:00
Kevin Ryde
da6773f3f5 *** empty log message *** 2005-06-05 20:43:09 +00:00
Kevin Ryde
b83ecb8fb5 (Array Procedures): In array-in-bounds?, correction to example result. 2005-06-05 20:42:46 +00:00
Marius Vollmer
cdac1be446 *** empty log message *** 2005-06-05 18:28:20 +00:00
Marius Vollmer
ecc9f40fe5 * hashtab.h: Bugfix: use SCM_API (WAS: extern).
* socket.c: Remove obsolete comment about socklen_t.
(s_scm_setsockopt)[!HAVE_IP_MREQ]: Do not use ip_mreq code.

* numbers.h (isnan)[__MINGW32__]: Remove.

* Makefile.am (gen_scmconfig_SOURCES): Bugfix: Add
DEFAULT_INCLUDES when cross compiling.

* threads.c (ETIMEDOUT, pipe)[__MINGW32__]: Add defines.

* stime.c (s_scm_strftime)[!HAVE_TM_ZONE]: Use
SCM_SIMPLE_VECTOR_REF instead of SCM_VELTS.  (Changed slightly
from Jan's patch.)
2005-06-05 18:27:53 +00:00
Marius Vollmer
875a58aa81 *** empty log message *** 2005-06-05 18:15:30 +00:00
Marius Vollmer
46e04854a8 Add tests for socklen_t and ip_mreq. 2005-06-05 18:15:21 +00:00
Marius Vollmer
fccc3e9290 *** empty log message *** 2005-06-05 17:26:07 +00:00
Marius Vollmer
1b05b32436 (substring-fill!): New, for compatability. 2005-06-05 17:24:52 +00:00
Marius Vollmer
92205699d0 The FSF has a new address. 2005-05-23 19:57:22 +00:00
Marius Vollmer
5ae1bd9109 New versions of the GPLand LGPL with the new address of the FSF. 2005-05-23 19:00:08 +00:00
Marius Vollmer
a470c1bdfb *** empty log message *** 2005-05-22 18:03:30 +00:00
Marius Vollmer
d34bd7d483 Clarifications from Ludovic Courtès. Thanks! 2005-05-22 18:03:03 +00:00
Marius Vollmer
188d0c5ef7 *** empty log message *** 2005-05-22 17:19:38 +00:00
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