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

11174 commits

Author SHA1 Message Date
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
76c6d134b2 *** empty log message *** 2004-09-07 00:09:36 +00:00
Kevin Ryde
eaaf29a278 (scm_nice): Correction to error detection. Reported by
Matthias Koeppe.
2004-09-07 00:08:42 +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
711cd59302 *** empty log message *** 2004-09-01 23:51:05 +00:00
Kevin Ryde
ff1e26b92e (format:out-num-padded): Print "+" on 0 under @ modifier. 2004-09-01 23:49:41 +00:00
Kevin Ryde
b8d9526775 *** empty log message *** 2004-09-01 23:49:01 +00:00
Kevin Ryde
f9d8f9730f (format:out): Ignore excess arguments, per common lisp. 2004-09-01 23:48:07 +00:00
Kevin Ryde
94814d6263 *** empty log message *** 2004-09-01 23:47:01 +00:00
Kevin Ryde
e2cc4b2f0c New tests of excess arguments now ignored. 2004-09-01 23:39:45 +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
7adcd11aeb *** empty log message *** 2004-09-01 23:04:52 +00:00
Kevin Ryde
1e617094d0 (~@d): New tests. 2004-09-01 23:04:15 +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
774613e927 *** empty log message *** 2004-09-01 01:45:06 +00:00
Kevin Ryde
ef9ab020ae 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 gc.
2004-09-01 01:44:29 +00:00
Han-Wen Nienhuys
459cf1f259 (scm_init_guile_1): move scm_weaks_prehistory before
scm_struct_prehistory. The effect is that structs are freed before
weak vectors are cleaned up. This fixes a bug reported by Kevin
Ryde (putting a struct into a weak vector exposes a freed cell).
2004-08-31 21:44:46 +00:00
Rob Browning
d99217eb04 *** empty log message *** 2004-08-29 23:03:46 +00:00
Rob Browning
2c9656e8c7 (s_scm_array_map_x): update documentation; rename ra0 to
dest, and lra to sources; don't allow (and segfault on) calls
without source arrays, i.e. don't allow (array-map! x proc).
(ramap_1): minor code reformatting.
2004-08-29 23:02:53 +00:00
Rob Browning
e01ebf2451 (s_scm_u32vector_set_x): fix typo in SCM_ASSERT_RANGE call. 2004-08-29 23:01:19 +00:00
Rob Browning
748ceca596 *** empty log message *** 2004-08-29 21:17:12 +00:00
Rob Browning
1ac49d24f3 moved here from ../ 2004-08-29 21:17:00 +00:00
Rob Browning
ef9b86a95a * Makefile.am: move support for readline.scm to ice-9/ subdir.
* ice-9/Makefile.am: new file.
2004-08-29 21:16:33 +00:00
Rob Browning
51a0ff7966 new file. 2004-08-29 21:16:23 +00:00
Rob Browning
286cff6b72 moved to ./ice-9/ 2004-08-29 21:16:02 +00:00
Rob Browning
0d9dff6afa add HAVE_CONFIG_H test guarding #include config.h. 2004-08-29 21:15:44 +00:00
Rob Browning
c5b09a0529 add AC_CONFIG_FILES for ice-9/Makefile. 2004-08-29 21:14:06 +00:00
Rob Browning
8abc91b33d * Makefile.am: move support for readline.scm to ice-9/ subdir. 2004-08-29 21:12:57 +00:00
Rob Browning
d396b03520 modify to handle move of readline.scm to ice-9 subdir of
guile-readline.
2004-08-29 21:12:26 +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