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

917 commits

Author SHA1 Message Date
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
Mikael Djurfeldt
1575e23ee4 * 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.
2001-10-18 19:43:43 +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
Rob Browning
2f3b3004fb *** empty log message *** 2001-09-21 17:52:07 +00:00
Rob Browning
10f24c2903 * tests/numbers.test (fixnum-bit): compute dynamically. 2001-09-21 17:47:43 +00:00
Rob Browning
5ed969329c * tests/bit-operations.test (fixnum-bit): compute dynamically. 2001-09-21 17:47:35 +00:00
Thien-Thi Nguyen
2f2b150b42 *** empty log message *** 2001-09-08 02:38:39 +00:00
Thien-Thi Nguyen
0a16714643 ("apples-blimps-catalexis example", "multiple occurances"):
New top-level sections.
2001-09-08 02:38:02 +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
06833fa252 *** empty log message *** 2001-08-25 19:12:40 +00:00
Thien-Thi Nguyen
73019da091 (test-time-comparision, test-time-arithmatic): New procs.
Add time comparison tests using new procs.
Thanks to Alex Shinn.
2001-08-25 19:11:30 +00:00
Thien-Thi Nguyen
6fdad5dcc3 *** empty log message *** 2001-08-25 19:10:29 +00:00
Thien-Thi Nguyen
176d0e0bfd (test-time-comparision, test-time-arithmatic): New procs.
Add time comparison tests using new procs.
Thanks to Alex Shinn.
2001-08-25 19:08:50 +00:00
Marius Vollmer
b573e74455 *** empty log message *** 2001-08-25 16:12:28 +00:00
Marius Vollmer
1150392856 New file. 2001-08-25 16:05:37 +00:00
Thien-Thi Nguyen
dfcbae095d *** empty log message *** 2001-08-24 22:16:40 +00:00
Thien-Thi Nguyen
439ece68ab (string-for-each, string-for-each-index): Add tests. 2001-08-24 22:15:35 +00:00
Thien-Thi Nguyen
e9313ed7f8 *** empty log message *** 2001-08-24 22:07:20 +00:00
Thien-Thi Nguyen
e5c5ac9240 (string-for-each, string-for-each-index): Add tests. 2001-08-24 22:06:05 +00:00
Neil Jerram
0aa7a7ceba * Removed texinfo.tex - it is supplied by Automake.
* Added some entries to .cvsignore files.
2001-08-24 11:06:33 +00:00
Thien-Thi Nguyen
691365f22a *** empty log message *** 2001-08-23 19:09:08 +00:00
Thien-Thi Nguyen
2b33c2f28d (string-map): Swapped order of string and
proc args to conform with the srfi.  (Thanks to Alex Shinn.)
2001-08-23 19:07:30 +00:00
Mikael Djurfeldt
80fdeb4e5a * tests/srfi-13.test (string-map): Swapped order of string and
proc args to conform with the srfi.  (Thanks to Alex Shinn.)

* srfi-13.c (string-map): Swapped order of string and proc args to
conform with the srfi.  (Thanks to Alex Shinn.)
2001-08-22 12:00:06 +00:00
Thien-Thi Nguyen
cbb3b02ec6 Remove dependency on `TTN_TEST_NEW' env var. 2001-08-12 19:25:56 +00:00
Thien-Thi Nguyen
c0c07ee942 Remove dependency on `TTN_TEST_NEW' env var. 2001-08-12 19:03:34 +00:00
Thien-Thi Nguyen
24bf1e2f6b *** empty log message *** 2001-08-12 18:45:08 +00:00
Thien-Thi Nguyen
8f8ba32f9f (exception:no-such-option,
exception:option-does-not-support-arg,
exception:option-must-be-specified,
exception:option-must-have-arg, exception:not-enough-args): New vars.

("option-ref", "required", "specified no value, given anyway",
"specified arg required"): New top-level sections.
2001-08-12 18:41:12 +00:00
Thien-Thi Nguyen
c3597bc4e0 *** empty log message *** 2001-08-12 18:34:11 +00:00
Thien-Thi Nguyen
252422b029 (exception:no-such-option,
exception:option-does-not-support-arg,
exception:option-must-be-specified,
exception:option-must-have-arg, exception:not-enough-args): New vars.

("option-ref", "required", "specified no value, given anyway",
"specified arg required"): New top-level sections.
2001-08-12 18:31:10 +00:00
Dirk Herrmann
2f4a254ac9 * Added some syntax tests for numbers. 2001-08-11 16:59:42 +00:00
Marius Vollmer
ef6b936a7e *** empty log message *** 2001-08-09 17:35:56 +00:00
Marius Vollmer
90ddf3a07c (TESTS): Do not call the variable "TESTS", call it "SCM_TESTS". This
has special meaning to automake.  How many tries left to get this
right, mvo?
2001-08-09 17:34:24 +00:00
Marius Vollmer
284774f38d *** empty log message *** 2001-08-09 17:33:45 +00:00
Marius Vollmer
682542634b (TESTS): Do not call the variable "TESTS", call it "SCM_TESTS". This
has special meaning to automake.  How many tries left to get this
right, mvo?
2001-08-09 17:33:31 +00:00
Marius Vollmer
80d940e330 *** empty log message *** 2001-08-08 16:45:21 +00:00
Marius Vollmer
29025ed878 (TESTS): List tests explicitely instead of using a wildcard.
Wildcards don't seem to work for VPATH "make dist"s.
2001-08-08 16:45:13 +00:00
Marius Vollmer
5f09993304 *** empty log message *** 2001-08-08 16:41:38 +00:00
Marius Vollmer
83060bc4e7 (TESTS): List tests explicitely instead of using a wildcard.
Wildcards don't seem to work for VPATH "make dist"s.
2001-08-08 16:41:28 +00:00
Marius Vollmer
b754e3d1ec *** empty log message *** 2001-08-07 18:18:55 +00:00
Marius Vollmer
067dd9c61c New file, to control distribution of the test-suite. 2001-08-07 18:18:40 +00:00