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

10201 commits

Author SHA1 Message Date
Marius Vollmer
5c56ebe15b Deprecated everything. 2005-06-12 12:34:52 +00:00
Marius Vollmer
9b26d381c1 (environment_default_folder,
environment_default_observer): Do not use gh_call3, gh_call1.
2005-06-12 12:33:01 +00:00
Marius Vollmer
c70c62a636 Do nothing when deprecated things are
disabled.
2005-06-12 12:31:33 +00:00
Marius Vollmer
b730fbf131 Do not use INUM macros, they are deprecated. 2005-06-12 12:30:47 +00:00
Han-Wen Nienhuys
e4da074025 *** empty log message *** 2005-06-11 01:48:19 +00:00
Kevin Ryde
2766715855 *** empty log message *** 2005-06-10 22:39:33 +00:00
Kevin Ryde
08de3e2424 (Miscellaneous String Operations): In string-filter
and string-delete, note result may share with input string (as allowed
by srfi spec).
2005-06-10 22:38:57 +00:00
Kevin Ryde
f29749529b (string-filter): A few more tests. 2005-06-10 22:37:01 +00:00
Kevin Ryde
8753a993c1 (scm_string_filter, scm_string_delete): For char and
charset cases, count chars kept and build a string in a second pass,
rather than using a cons cell for every char kept.  Use a shared
substring when nothing removed (such sharing is allowed by the srfi).
2005-06-10 22:34:59 +00:00
Kevin Ryde
5e5ea911f1 *** empty log message *** 2005-06-10 01:41:14 +00:00
Kevin Ryde
ab2a10e051 (array-index-map!): Add a test failing in the current code. 2005-06-10 00:27:20 +00:00
Han-Wen Nienhuys
8a00ba7178 (tag_table_to_type_alist): convert tag number to "tag %d"
string, so live object stats can be sorted with string<?.
2005-06-09 19:33:38 +00:00
Marius Vollmer
2ff668b005 *** empty log message *** 2005-06-06 19:55:08 +00:00
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