1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-17 23:42:24 +02:00
guile/test-suite/tests
Andy Wingo a268973767 reimplement srfi-4 vectors on top of bytevectors
* libguile/srfi-4.h:
* libguile/srfi-4.c (scm_make_srfi_4_vector): New function, exported by
  (srfi srfi-4 gnu).
* libguile/srfi-4.i.c: Removed.
* module/srfi/srfi-4.scm:
* module/srfi/srfi-4/gnu.scm: Reimplement srfi-4 vectors on top of
  bytevectors. The implementation is mostly in Scheme now.

* test-suite/tests/unif.test: Update to use (srfi srfi-4 gnu).

* libguile/bytevectors.c (bytevector_ref_c32, bytevector_ref_c64)
  (bytevector_set_c32, bytevector_set_c64): Fix some embarrassing bugs.
  Still need to do an upper bounds check.

* libguile/deprecated.h: Remove deprecated array functions:
  scm_i_arrayp, scm_i_array_ndim, scm_i_array_mem, scm_i_array_v,
  scm_i_array_base, scm_i_array_dims, and the deprecated macros:
  SCM_ARRAYP, SCM_ARRAY_NDIM, SCM_ARRAY_CONTP, SCM_ARRAY_MEM,
  SCM_ARRAY_V, SCM_ARRAY_BASE, SCM_ARRAY_DIMS.
* libguile/deprecated.c (scm_uniform_vector_read_x)
  (scm_uniform_vector_write, scm_uniform_array_read_x)
  (scm_uniform_array_write): Newly deprecated functions.

* libguile/generalized-arrays.c (scm_array_type): Remove the bytevector
  hack.

* libguile/objcodes.c (scm_bytecode_to_objcode, scm_objcode_to_bytecode):
  Rework to operate on bytevectors, as scm_make_u8vector now causes a
  module lookup, which can't be done e.g. when loading the VM boot
  program for psyntax-pp.go on a fresh bootstrap.

* libguile/objcodes.h (SCM_F_OBJCODE_IS_BYTEVECTOR):
  (SCM_OBJCODE_IS_BYTEVECTOR): s/U8VECTOR/BYTEVECTOR/.

* module/ice-9/boot-9.scm (the-scm-module): A terrible hack to pull in
  (srfi srfi-4), as the bindings are primarily there now. We'll worry
  about this later.
2010-01-07 22:06:56 +01:00
..
c-api *** empty log message *** 2003-04-07 01:58:47 +00:00
alist.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
and-let-star.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
arbiters.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
asm-to-bytecode.test de-nargs struct scm_objcode; procedure-property refactor 2009-10-23 14:51:19 +02:00
bit-operations.test Enclose `bit-operations.test' in its own module. 2009-07-05 23:46:34 +02:00
brainfuck.test fix brainfuck for new tree-il, and add tests 2009-10-23 15:10:25 +02:00
bytevectors.test Fix segfault for `(uniform-array->bytevector (bitvector))'. 2009-10-15 23:24:19 +02:00
c-api.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
chars.test Support for Unicode general categories 2009-12-24 11:55:47 -05:00
common-list.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
compiler.test Document the interaction of the "compilee" with the compiler's current module. 2009-10-15 21:29:42 +02:00
continuations.test remove debug frames 2009-12-03 11:03:39 +01:00
dynamic-scope.test define @bind using syntax-case 2009-08-20 18:52:50 +02:00
elisp-compiler.test Allow lexical binding of lambda arguments. 2009-08-01 13:00:27 +02:00
elisp-reader.test Support circular structures in elisp reader. 2009-08-27 18:49:29 +02:00
elisp.test remove (lang elisp), as it won't work with the new evaluator 2009-12-01 21:00:26 +01:00
encoding-escapes.test Use encoding-error' instead of misc-error' for string encoding errors. 2010-01-07 11:10:35 +01:00
encoding-iso88591.test Use encoding-error' instead of misc-error' for string encoding errors. 2010-01-07 11:10:35 +01:00
encoding-iso88597.test Use encoding-error' instead of misc-error' for string encoding errors. 2010-01-07 11:10:35 +01:00
encoding-utf8.test Use encoding-error' instead of misc-error' for string encoding errors. 2010-01-07 11:10:35 +01:00
eval.test new evaluator, y'all 2009-12-01 21:00:26 +01:00
exceptions.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
filesys.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
format.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
fractions.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ftw.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
gc.test Tweak the "unused modules are removed" test. 2009-12-11 23:27:47 +01:00
getopt-long.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
goops.test interpreted closures cons less. 2009-12-13 16:18:39 +01:00
guardians.test Merge branch 'master' into boehm-demers-weiser-gc 2009-08-18 00:06:45 +02:00
hash.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
hooks.test Enclose hooks tests in their own module. 2010-01-07 11:10:36 +01:00
i18n.test Improved support for Unicode title case in Guile's string and character APIs. 2009-12-22 00:19:56 -05:00
import.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
interp.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
keywords.test Fill code coverage holes in continuations.c and keywords.c 2009-11-04 00:00:09 +00:00
list.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
load.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
modules.test Allow fresh modules to be passed to `compile'. 2009-08-13 15:57:01 +02:00
multilingual.nottest Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
numbers.test remove rpsubrs 2009-12-04 13:05:00 +01:00
optargs.test fix bug bindings lexical vars within optargs initializers 2009-12-28 17:41:50 +01:00
options.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
pairs.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
poe.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
popen.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ports.test Have string ports honor `%default-port-encoding'. 2010-01-07 11:10:35 +01:00
posix.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
print.test add truncated-print tests 2010-01-03 13:35:35 +01:00
procprop.test programs have their own tc7 now 2009-08-20 18:52:51 +02:00
q.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
r4rs.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
r5rs_pitfall.test Remove deprecation warnings from the build 2009-09-17 01:18:14 +01:00
r6rs-ports.test Have string ports honor `%default-port-encoding'. 2010-01-07 11:10:35 +01:00
ramap.test implement transcendental sin, cos etc in c; deprecate $sin, $cos, etc 2009-12-03 15:27:35 +01:00
reader.test Have string ports honor `%default-port-encoding'. 2010-01-07 11:10:35 +01:00
receive.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
records.test Tests for record types 2009-09-20 20:59:50 -07:00
regexp.test Modify regexp.test to work better with mac/darwin 2009-10-12 06:55:25 -07:00
signals.test Add define-module to signals.test 2009-10-01 21:56:49 +01:00
socket.test Work around path name length limitations in `socket.test'. 2009-11-18 15:28:56 +01:00
sort.test gut trampolines 2009-12-01 21:00:23 +01:00
srcprop.test no special treatment for memoized code in srcprop.c 2009-12-01 21:00:26 +01:00
srfi-1.test gut trampolines 2009-12-01 21:00:23 +01:00
srfi-4.test fix bug in generalized-vector->list 2010-01-03 12:37:07 +01:00
srfi-6.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-9.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-10.test add quasisyntax 2009-11-14 17:25:12 +01:00
srfi-11.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-13.test Improved support for Unicode title case in Guile's string and character APIs. 2009-12-22 00:19:56 -05:00
srfi-14.test More srfi-14 char-set tests 2009-09-02 06:29:01 -07:00
srfi-17.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-18.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-19.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-26.test * tests/srfi-26.test: New. 2004-01-21 00:45:48 +00:00
srfi-31.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-34.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-35.test SRFI-35: Provide nice vtable names, to make GOOPS happier. 2009-10-25 22:57:29 +01:00
srfi-37.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-39.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-60.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-69.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-88.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-98.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
statprof.test add test suites 2009-12-21 00:01:50 +01:00
streams.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
strings.test Support for Unicode string normalization functions 2010-01-03 01:08:37 -05:00
structs.test fix a structs.test test 2009-11-15 20:28:12 +01:00
sxml.fold.test add test suites 2009-12-21 00:01:50 +01:00
sxml.ssax.test add test suites 2009-12-21 00:01:50 +01:00
sxml.transform.test add test suites 2009-12-21 00:01:50 +01:00
sxml.xpath.test add test suites 2009-12-21 00:01:50 +01:00
symbols.test Remove the distinction between inline/outline storage for stringbufs. 2009-09-01 02:02:43 +02:00
syncase.test psyntax's labels and marks now unique over a read/write boundary 2009-12-20 15:30:32 +01:00
syntax.test really boot primitive-eval from scheme. 2009-12-03 00:00:38 +01:00
texinfo.docbook.test add test suites 2009-12-21 00:01:50 +01:00
texinfo.serialize.test add test suites 2009-12-21 00:01:50 +01:00
texinfo.string-utils.test add test suites 2009-12-21 00:01:50 +01:00
texinfo.test add test suites 2009-12-21 00:01:50 +01:00
threads.test Fix bug #27450 ("Fat mutexes not GC'd until their owner dies"). 2009-09-15 23:05:24 +02:00
time.test Modify socket and time functions for wide strings 2009-08-23 09:29:45 -07:00
tree-il.test rename goto/args and friends to tail-call, tail-apply, etc 2010-01-03 14:49:40 +01:00
unif.test reimplement srfi-4 vectors on top of bytevectors 2010-01-07 22:06:56 +01:00
vectors.test More tests for strings 2009-09-20 20:59:44 -07:00
version.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
weaks.test Make `weaks.test' slightly more robust. 2009-09-28 23:32:34 +02:00