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

1731 commits

Author SHA1 Message Date
Rob Browning
c62fdb8ee0 *** empty log message *** 2003-03-25 02:14:06 +00:00
Marius Vollmer
b80e1b5c9b *** empty log message *** 2003-03-19 18:29:26 +00:00
Marius Vollmer
6c61859f03 ("format basic output"): Added test for "~F" from Matthias Koeppe. 2003-03-19 18:28:52 +00:00
Mikael Djurfeldt
cbbeea6603 * tests/elisp.test: Use module (ice-9 weak-vector).
* tests/weaks.test: Use module (ice-9 weak-vector).
2003-02-19 15:31:30 +00:00
Rob Browning
b2cbe8d8a2 *** empty log message *** 2002-12-09 00:51:53 +00:00
Rob Browning
1844ae316e * tests/version.test: test (effective-version). 2002-12-09 00:42:18 +00:00
Neil Jerram
d2864c8adb New file for tests related to options interface. 2002-11-06 00:38:44 +00:00
Rob Browning
9bc548798d *** empty log message *** 2002-10-05 04:21:04 +00:00
Rob Browning
46f2c0f148 * tests/numbers.test ("expt"): add tests. 2002-10-05 04:12:23 +00:00
Marius Vollmer
6b61da182e *** empty log message *** 2002-09-09 20:59:43 +00:00
Marius Vollmer
d9f352d468 (dist-hook): Do not distribute CVS directories. Thanks to Greg
Troxel!
2002-09-09 20:58:26 +00:00
Han-Wen Nienhuys
ba1b222692 * tests/reader.test: change misc-error in read-error.
* read.c (scm_input_error): new function: give meaningful error
messages, and throw read-error

* gc-malloc.c (scm_calloc): add scm_calloc.

* scheme-memory.texi (Memory Blocks): add scm_calloc, scm_gc_calloc.
correct typos.
2002-08-05 23:04:44 +00:00
Dirk Herrmann
33e04d5492 * oop/goops.scm (define-generic, define-accessor): Make sure that
define-generic and define-accessor will continue to work when
mmacros are expanded before execution.

* test-suite/tests/goops.test: Added tests for define-generic and
define-accessor.
2002-07-13 09:44:39 +00:00
Dirk Herrmann
9f04540330 * oop/goops.scm (define-class): Make sure that define-class will
continue to work when mmacros are expanded before execution.

* test-suite/tests/goops.test: Added tests for define-class.
2002-07-13 08:18:35 +00:00
Marius Vollmer
1ee34062aa *** empty log message *** 2002-05-07 18:11:05 +00:00
Marius Vollmer
cdf52e3dce (/): Expect divison by an inexact zero to yield +inf.0. 2002-05-07 18:10:59 +00:00
Marius Vollmer
2a7461f5ed *** empty log message *** 2002-05-06 19:32:30 +00:00
Marius Vollmer
0a77048bfd (regexp-substitute/global): Do not test with empty regexp. Empty
regexps do not work on NetBSD.
2002-05-06 19:32:20 +00:00
Marius Vollmer
45845efeb3 *** empty log message *** 2002-05-06 18:52:50 +00:00
Marius Vollmer
0b1b772f29 (basic syncase macro): Added. 2002-05-06 18:52:01 +00:00
Marius Vollmer
54d4ac1f44 *** empty log message *** 2002-04-26 18:35:42 +00:00
Marius Vollmer
d26d290311 (string-tokenize): Updated for fixed semantics. 2002-04-26 18:35:34 +00:00
Marius Vollmer
3c540af468 (SCM_TESTS_DIRS, dist-hook): New, distribute directories manually. 2002-04-17 17:45:05 +00:00
Marius Vollmer
469b963c66 New tests for complex division. 2002-03-11 19:10:28 +00:00
Thien-Thi Nguyen
e383ab4930 *** empty log message *** 2002-02-09 22:43:50 +00:00
Thien-Thi Nguyen
1febd88c0f (for-each-file): Do not recurse into "CVS" or "RCS" subdirs. 2002-02-09 22:42:54 +00:00
Thien-Thi Nguyen
ecb471f939 *** empty log message *** 2002-02-09 22:35:39 +00:00
Thien-Thi Nguyen
068a9d87f8 (main): Handle `--flag-unresolved'. No longer set
exit value to #f unconditionally on UNRESOLVED results.
2002-02-09 22:26:20 +00:00
Neil Jerram
a64e666980 * Add tests of Elisp expression evaluation. 2002-02-08 13:00:30 +00:00
Neil Jerram
bbd26b5ae5 * Rename call-with-readline-completion-function' to with-readline-completion-function'.
* More tests for Elisp nil value.
* Development work on Elisp translator.
2002-01-30 00:03:40 +00:00
Neil Jerram
962b1f0bac * More tests for the Elisp nil value. 2002-01-24 22:42:02 +00:00
Neil Jerram
04bb321a9d * New tests file for Elisp support. 2002-01-22 23:47:46 +00:00
Neil Jerram
3d1a89b9ee * Add non-libguile Elisp support files to CVS trunk. (NB work in progress.) 2002-01-22 23:46:01 +00:00
Dirk Herrmann
80074d7799 * tests/numbers.test: Added more division by zero tests. 2001-11-22 21:33:15 +00:00
Dirk Herrmann
1b3a7932ca * tests/numbers.test: Added division by zero tests. 2001-11-21 23:25:40 +00:00
Dirk Herrmann
7171f1ab47 * tests/syntax.test: Added some tests, updated some others with
respect to recent changes in eval.c.  Further, extracted test
cases for guile's extended set! functionality to srfi-17.test.

* tests/srfi-17.test:  New file.
2001-11-17 11:44:06 +00:00
Stefan Jahn
8f99e3f38b 2001-11-04 Stefan Jahn <stefan@lkcc.org>
* NEWS: Corrected remarks about SCM_API.

        * configure.in: Defining USE_DLL_IMPORT definition to indicate
        usage of DLL import macros in `libguile/__scm.h'.
        (LIBOBJS): Removed `fileblocks.o' from the list of object files.
        Somehow Jim Blandy's patch from 1997 did not survive.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * configure.in (EXTRA_DEFS): Follow-up patch.  Using SCM_IMPORT
        instead of __SCM_IMPORT__.

        * readline.c (scm_readline_init_ports): Disable input/output
        stream redirection for Win32.  The readline package for Win32
        does not support this.  The guile-readline library works fine
        for command line editing.

        * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * Makefile.am (libguile_la_LIBADD): Added $(THREAD_LIBS_LOCAL)
        here (was at guile_LDADD) which describes the dependency
        correctly and allows a clean build on Win32.

        * __scm.h (SCM_API): Follow-up patch.  Renamed __FOO__ macros
        into FOO.

        * __scm.h: USE_DLL_IMPORT indicates the usage of the DLL
        import macros for external libraries (libcrypt, libqthreads,
        libreadline and libregex).

        * coop-defs.h: Include <winsock2.h> for `struct timeval'.

        * posix.c (flock): Added support for flock() in M$-Windows.

        * guile.c (SCM_IMPORT): Follow-up patch.  Use SCM_IMPORT instead
        of __SCM_IMPORT__.

        * fports.c (getflags): Differentiate reading and writing pipes
        descriptors.

        * filesys.c (S_IS*): Redefine all of the S_IS*() macros for
        M$-Windows.

        * coop.c (coop_condition_variable_timed_wait_mutex): Use
        conditionalized error code if `ETIMEDOUT' is not available.
        (scm_thread_usleep): Remove bogus declaration of `struct timeval
        timeout'.

        * numbers.c (PTRDIFF_MIN): Moved this definition where it actually
        belongs.  That is because NO_PREPRO_MAGIC gets undefined after
        each inclusion of `num2integral.i.c'.
        (SIZE_MAX): Define NO_PREPRO_MAGIC if SIZE_MAX is undefined.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * md/Makefile.am (EXTRA_DIST): Added `i386.asm'.

        * md/i386.asm: New file.  Contains the Intel syntax version for
        nasm/tasm/masm of the file `i386.s'.

        * qt.h.in: Definition of QT_API, QT_IMPORT and QT_EXPORT.
        Prefixed each symbols which is meant to go into a DLL.

        * Makefile.am (libqthreads_la_LDFLAGS):  Put `-no-undefined'
        into LDFLAGS to support linkers which do not allow unresolved
        symbols inside shared libraries.
        (EXTRA_DIST): Add `libqthreads.def', which is an export file
        definition for M$-Windows.  It defines exported symbols.  This is
        necessary because the M$VC linker does not know how to export
        assembler symbols into a DLL.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch.  Renamed
        __FOO__ macros into FOO.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * tests/ports.test: Run (close-port) before (delete-file) if
        necessary/advisory.
2001-11-04 15:52:30 +00:00
Dirk Herrmann
2b6b59081a * tests/eval.test: Added tests for promises. 2001-10-26 19:47:57 +00:00
Mikael Djurfeldt
1a179b03b0 * lib.scm: Move module the system directives `export',
`export-syntax', `re-export' and `re-export-syntax' into the
  `define-module' form.  This is the recommended way of exporting
  bindings.

* srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
directives `export', `export-syntax', `re-export' and
`re-export-syntax' into the `define-module' form.  This is the
recommended way of exporting bindings.

* goops.scm, goops/active-slot.scm, goops/compile.scm,
goops/composite-slot.scm, goops/describe.scm, goops/dispatch.scm,
goops/old-define-method.scm, goops/save.scm, goops/util.scm: Move
module the system directives `export', `export-syntax',
`re-export' and `re-export-syntax' into the `define-module' form.
This is the recommended way of exporting bindings.

* slib.scm (array-indexes): New procedure.
(*features*): Extend.  (Probably some of these options should be
set elsewhere.)  (Thanks to Aubrey Jaffer.)

* and-let-star-compat.scm, and-let-star.scm, calling.scm,
  channel.scm, common-list.scm, debug.scm, debugger.scm,
  expect.scm, hcons.scm, lineio.scm, ls.scm, mapping.scm,
  null.scm, optargs.scm, poe.scm, popen.scm, pretty-print.scm,
  q.scm, r5rs.scm, rdelim.scm, regex.scm, runq.scm, safe-r5rs.scm,
  safe.scm, session.scm, slib.scm, streams.scm, string-fun.scm,
  syncase.scm, threads.scm: Move module the system directives
  `export', `export-syntax', `re-export' and `re-export-syntax'
  into the `define-module' form.  This is the recommended way of
  exporting bindings.
2001-10-21 09:49:19 +00:00
Dirk Herrmann
b461abe73f * tests/syntax.test: Added test cases for 'cond =>' syntax with
else clause.  Changed some tests and comments related to the
'case' form to reflect recent changes in the implementation.
2001-10-18 21:59:29 +00:00
Dirk Herrmann
ea6c2147b7 * tests/syntax.test: Added test cases for 'lambda' syntax. 2001-10-13 23:59:27 +00:00
Dirk Herrmann
27a226665e * tests/syntax.test: Added test cases for 'case' syntax. 2001-10-13 17:02:01 +00:00
Dirk Herrmann
b7d9b1cf5a * tests/numbers.test: Added a test case that checks if valid
number strings are transformed correctly by string->number.
2001-10-13 12:29:44 +00:00
Rob Browning
0b073f0f14 *** empty log message *** 2001-09-21 17:58:04 +00:00
Rob Browning
af297b33d8 * tests/bit-operations.test (fixnum-bit): compute dynamically. 2001-09-21 17:54:35 +00:00
Rob Browning
8b7838b558 * tests/numbers.test (fixnum-bit): compute dynamically. 2001-09-21 17:54:27 +00:00
Thien-Thi Nguyen
95e2cd37e9 *** empty log message *** 2001-09-08 02:34:27 +00:00
Thien-Thi Nguyen
4b642b08d4 ("apples-blimps-catalexis example", "multiple occurances"):
New top-level sections.
2001-09-08 02:33:30 +00:00
Dirk Herrmann
569c483b32 * Improved the readability of some patterns. 2001-08-31 14:48:19 +00:00
Thien-Thi Nguyen
6fdad5dcc3 *** empty log message *** 2001-08-25 19:10:29 +00:00