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

9759 commits

Author SHA1 Message Date
Marius Vollmer
0e12d408bd (real_eqv): Pretend that all NaNs are equal. 2004-09-08 14:32:47 +00:00
Marius Vollmer
0bafe73b5d (scm_integer_expt): Do not accept inexact integers. 2004-09-08 14:09:01 +00:00
Marius Vollmer
874fbad116 *** empty log message *** 2004-09-08 10:37:38 +00:00
Kevin Ryde
05414844e1 *** empty log message *** 2004-09-08 01:23:35 +00:00
Kevin Ryde
e456f08e24 Correction to:
(integer?): Exercise nan and +/-inf.

+/-inf should be #t.
2004-09-08 01:22:37 +00:00
Kevin Ryde
7424deab5d (port-column): Further tests, of new \a \b \r. 2004-09-08 01:20:52 +00:00
Kevin Ryde
1e35a229f0 Revert this:
(scm_integer_p): +/-inf is not an integer.
2004-09-08 01:03:06 +00:00
Marius Vollmer
616775edb7 (scm_string_trim_right, scm_string_xcopy_x): Correctly use size_t for
some locals instead of int.
2004-09-07 13:48:49 +00:00
Marius Vollmer
e7acba81f1 *** empty log message *** 2004-09-07 09:19:24 +00:00
Marius Vollmer
0520c32088 (scm_flush_ws): Detect "#!"-style comments here.
(scm_lreadr): Abort on seeing "#!", which should no longer happen.
(skip_scsh_block_comment): Use scm_input_error instead of
scm_misc_error in case of EOF.
2004-09-07 09:18:59 +00:00
Kevin Ryde
242a43b5b3 *** empty log message *** 2004-09-07 01:06:20 +00:00
Kevin Ryde
01357a75f0 (System Identification): Remove software-type, it doesn't
exist in the guile core.
2004-09-07 01:02:12 +00:00
Kevin Ryde
633acbe208 (SRFI-10): Revise and expand. 2004-09-07 01:00:25 +00:00
Kevin Ryde
5de126589a *** empty log message *** 2004-09-07 00:36:48 +00:00
Kevin Ryde
af1323c50c (Parallel Forms): In parallel, letpar, par-map,
n-par-map and n-for-each-par-map, describe each form as being in its
own thread, not a new thread, since for instance the calling thread is
used when only one form.  Plus typo in n-for-each-par-map example
equivalent for-each + n-par-map.
2004-09-07 00:33:33 +00:00
Kevin Ryde
bdd46043c0 (Locales): Use @var for category arg. 2004-09-07 00:30:44 +00:00
Kevin Ryde
f0d9412e6a *** empty log message *** 2004-09-07 00:28:54 +00:00
Kevin Ryde
0ef5ee469d (let-keywords Reference): Typo, should be let-keywords* @deffnx. 2004-09-07 00:28:14 +00:00
Kevin Ryde
20e0b1661a (scm_access): Update docstring per manual. 2004-09-07 00:26:48 +00:00
Kevin Ryde
9268038891 (SCM_ZEROCOL, SCM_DECCOL): New macros. 2004-09-07 00:23:39 +00:00
Kevin Ryde
a727f4f629 (scm_getc, scm_lfwrite): Recognise \a \b and \r for port column. 2004-09-07 00:22:19 +00:00
Kevin Ryde
c1122753ac (integer-expt): New tests, of infinite exponents.
(integer?): Exercise nan and +/-inf.
2004-09-07 00:20:37 +00:00
Kevin Ryde
c59e0b9fb1 (gmtime, strptime): New tests, but unresolved.
(internal-time-units-per-second): New test.
2004-09-07 00:17:49 +00:00
Kevin Ryde
763313a219 (scm_current_time, scm_gettimeofday, scm_strptime): Don't
throw error before unlocking mutex with SCM_ALLOW_INTS.
2004-09-07 00:15:48 +00:00
Kevin Ryde
8bddb01ebb (scm_integer_expt): Reject exponent +/-inf.
(scm_integer_p): +/-inf is not an integer.
Bug report by Bill Schottstaedt.
2004-09-07 00:12:45 +00:00
Kevin Ryde
f1c82f55b9 (scm_nice): Correction to error detection. Reported by
Matthias Koeppe.
2004-09-07 00:06:18 +00:00
Kevin Ryde
e227addf97 *** empty log message *** 2004-09-06 01:47:50 +00:00
Kevin Ryde
8a74f7f502 (SCM_TIME_UNITS_PER_SECOND): Use sysconf(_SC_CLK_TCK) when
available.  This also gets around CLK_TCK being absent when
_GNU_SOURCE and _POSIX_C_SOURCE are defined in stime.c.
2004-09-06 01:29:04 +00:00
Stefan Jahn
edea856ce5 2004-09-03 Stefan Jahn <stefan@lkcc.org>
* configure.in (isinf): Let configure find the isinf() function
        on MinGW32 systems.

2004-09-03  Stefan Jahn  <stefan@lkcc.org>

        * threads.c (scm_threads_mark_stacks):  Fixed local variable
        definitions.

        * strings.c (scm_i_substring_copy, s_scm_string_append): Fixed
        local variable definitions.

        * stime.c (_POSIX_C_SOURCE):  Do not define this item on
        MinGW32 because it conflicts with its pthread headers.
        (s_scm_mktime): Consider the HAVE_STRUCT_TM_TM_ZONE define.
        (s_scm_strftime): Using scm_from_locale_string() instead of
        scm_makfrom0str().

        * posix.c (s_scm_putenv): Fixed typo in the !HAVE_UNSETENV
        part.

        * numbers.c (scm_init_numbers): Removed check_sanity() call
        inside GUILE_DEBUG.  The function has been removed somewhen...

        * filesys.c (_POSIX_C_SOURCE): Do not define this item on
        MinGW32 because it conflicts with its pthread headers.

2004-09-03  Stefan Jahn  <stefan@lkcc.org>

        * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
        lst1 is a #define on Win32 systems.
2004-09-03 19:45:37 +00:00
Kevin Ryde
23311fb045 *** empty log message *** 2004-09-02 00:13:20 +00:00
Kevin Ryde
471d2c6d22 (Formatted Output): Excess arguments are ignored.
In ~*, correction N parameter cannot be negative.  In ~t, note
port-column used.
2004-09-02 00:12:44 +00:00
Kevin Ryde
b8d9526775 *** empty log message *** 2004-09-01 23:49:01 +00:00
Kevin Ryde
d8b189d2c3 New tests of excess arguments now ignored. 2004-09-01 23:36:47 +00:00
Kevin Ryde
301cf4e61c (format:out): Ignore excess arguments, per common lisp. 2004-09-01 23:33:16 +00:00
Kevin Ryde
260ffd6118 (format:out-num-padded): Print "+" on 0 under @ modifier. 2004-09-01 23:17:11 +00:00
Kevin Ryde
a8cb8832af Oops, didn't mean to put ~t yet. 2004-09-01 23:10:23 +00:00
Kevin Ryde
df47ddf0e2 *** empty log message *** 2004-09-01 23:05:19 +00:00
Kevin Ryde
992b375d61 (~@d): New tests. 2004-09-01 22:54:28 +00:00
Kevin Ryde
7dd381c5e1 *** empty log message *** 2004-09-01 01:50:26 +00:00
Kevin Ryde
155c14a080 2004-09-01 Han-Wen Nienhuys <hanwen@cs.uu.nl>, Kevin Ryde <user42@zip.com.au>
* tests/gc.test: Exercise record in weak-values hash table, exposing a
	problem in 1.6.4 gc, but believed fixed by other changes in the head.
2004-09-01 01:46:19 +00:00
Kevin Ryde
56828faf32 *** empty log message *** 2004-08-28 22:18:19 +00:00
Kevin Ryde
6b1a6e4cef (SRFI-2): Note empty body is #t. 2004-08-28 22:17:45 +00:00
Marius Vollmer
d9eb2d67dd *** empty log message *** 2004-08-27 12:46:11 +00:00
Marius Vollmer
d910bc032c (scm_compile_shell_switches): Added 2003 and 2004 to
the Copyright years.
2004-08-27 12:46:02 +00:00
Marius Vollmer
2616f0e0ce (SCM_STRINGP): Accept all strings.
(SCM_STRING_CHARS): Reject shared substrings here.
2004-08-27 12:45:37 +00:00
Marius Vollmer
685777ca18 (module-peek): Removed, this kluge is no longer necessary. 2004-08-27 12:44:14 +00:00
Kevin Ryde
3fa36d582e *** empty log message *** 2004-08-27 01:21:24 +00:00
Kevin Ryde
8af9c4d433 Use define-module to keep bindings out of
further tests.  Use-module (test-suite lib) for stand-alone operation.
(rec): Exercise bad args.
2004-08-27 01:20:33 +00:00
Kevin Ryde
c581203a05 *** empty log message *** 2004-08-27 01:19:23 +00:00
Kevin Ryde
cd184501da (rec): Add missing `error' to else clause. 2004-08-27 01:18:56 +00:00