[Guile-commits] 22/27: Remove scm_from_contiguous_typed_array

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 154b8debfb829423dd7fd9c4f26b68b4102432e1 Author: Daniel Llorens AuthorDate: Fri Feb 7 10:53:59 2020 +0100 Remove scm_from_contiguous_typed_array This function was undocumented and not used anywhere.

[Guile-commits] 19/27: Remove generalized-vectors.[hc]

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 428b8b456eb78f7c01a4c2a03ac67236b9734b55 Author: Daniel Llorens AuthorDate: Thu Feb 6 16:15:47 2020 +0100 Remove generalized-vectors.[hc] * libguile/arrays.c: Assume the registry of array element types.

[Guile-commits] 05/27: Simple vectors are just vectors

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 19cca654ef968316180b7a19b0e2467f398b1566 Author: Daniel Llorens AuthorDate: Mon Feb 3 14:30:26 2020 +0100 Simple vectors are just vectors * doc/ref/api-data.texi: Remove references to 'simple vectors'.

[Guile-commits] 15/27: Rewrite vector-copy! using memmove

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 93afe6b7f78e918bb322ad384d660e7da85ccc31 Author: Daniel Llorens AuthorDate: Thu Feb 6 13:19:59 2020 +0100 Rewrite vector-copy! using memmove * libguile/vectors.c (vector-copy!): As stated. Provide C bindi

[Guile-commits] 12/27: Remove generalized vector support for vector-move-right!, vector-move-left!

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit fb47bfa1d5c6d501df5f84e193f4d4c9037e8be3 Author: Daniel Llorens AuthorDate: Wed Feb 5 16:35:05 2020 +0100 Remove generalized vector support for vector-move-right!, vector-move-left! This support was buggy

[Guile-commits] 03/27: Require vector argument to scm_vector_elements, scm_vector_writable_elements

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 19069079c044a9d01b4ca6abf956b8d548fd0826 Author: Daniel Llorens AuthorDate: Mon Feb 3 13:04:13 2020 +0100 Require vector argument to scm_vector_elements, scm_vector_writable_elements * libguile/vectors.c

[Guile-commits] 01/27: Require vector as argument to vector-copy

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit fab56cea48859b9fe4ebfb0d4104a30e1b17a3e0 Author: Daniel Llorens AuthorDate: Mon Feb 3 11:21:20 2020 +0100 Require vector as argument to vector-copy * libguile/vectors.c: Require vector and simplify. ---

[Guile-commits] 02/27: Require vector as argument to vector->list

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 9b025e00b418ba150f8644b831f77fb3bd034932 Author: Daniel Llorens AuthorDate: Mon Feb 3 11:42:01 2020 +0100 Require vector as argument to vector->list * libguile/vectors.c (vector->list): As stated. Simplif

[Guile-commits] 24/27: Move uniform-array->bytevector from (rnrs bytevectors) to core

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit c816b782ef07b4e9253d4beaf6a2bc7ff118c0b8 Author: Daniel Llorens AuthorDate: Tue Feb 11 12:40:21 2020 +0100 Move uniform-array->bytevector from (rnrs bytevectors) to core This is to have arrays use bytevec

[Guile-commits] 10/27: Add lenp parameter back to scm_vector_(writable_)elements

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit f55f1857cebe4c4525c51f78d5f0db31b3e0dc29 Author: Daniel Llorens AuthorDate: Wed Feb 5 15:00:25 2020 +0100 Add lenp parameter back to scm_vector_(writable_)elements Also fix uses. --- NEWS-wip-vector-clea

[Guile-commits] 21/27: Merge generalized-arrays.[ch] in arrays.[ch]

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit f581505f121a759eb1282d0023da92b069b0e6c1 Author: Daniel Llorens AuthorDate: Thu Feb 6 17:16:07 2020 +0100 Merge generalized-arrays.[ch] in arrays.[ch] The split was just confusing. --- NEWS-wip-vector-cl

[Guile-commits] 25/27: Remove superfluous type check in bitvector->list

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 9e6d7cac4e39264898206b4f0e208baf590ce46a Author: Daniel Llorens AuthorDate: Thu Feb 13 10:22:53 2020 +0100 Remove superfluous type check in bitvector->list --- libguile/bitvectors.c | 23 ++-

[Guile-commits] 26/27: Simplify vector constructor

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 762fb73cde123359e9b027948b937f575aa578a4 Author: Daniel Llorens AuthorDate: Thu Feb 13 12:26:19 2020 +0100 Simplify vector constructor * libguile/vectors.c: Remove redundant list check. --- libguile/vect

[Guile-commits] 16/27: Pull generalized-vectors from under bitvector/string/vector

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 915e4dbfb343f3d0d62aae4e34e9885c0426064a Author: Daniel Llorens AuthorDate: Thu Feb 6 15:18:14 2020 +0100 Pull generalized-vectors from under bitvector/string/vector * libguile/generalized-vectors.c: Coll

[Guile-commits] 20/27: Update branch news file

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 4e186502aa10c02270f519054ae9311b61302123 Author: Daniel Llorens AuthorDate: Thu Feb 6 16:34:50 2020 +0100 Update branch news file --- NEWS-wip-vector-cleanup.txt | 9 +++-- 1 file changed, 7 insertions(+), 2

[Guile-commits] 09/27: Simplify interfaces to scm_TYPEvector_(writable_)elements

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 2a67ba7b702c7507d6f300c7ce29ad0a020ea9af Author: Daniel Llorens AuthorDate: Wed Feb 5 14:40:19 2020 +0100 Simplify interfaces to scm_TYPEvector_(writable_)elements Nothing is lost in these since the funct

[Guile-commits] 07/27: Simplify interfaces to scm_bitvector_elements and scm_bitvector_writable_elements

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit ee920075d5679c5bf0827a7f7e913c4f96c0119c Author: Daniel Llorens AuthorDate: Wed Feb 5 12:44:58 2020 +0100 Simplify interfaces to scm_bitvector_elements and scm_bitvector_writable_elements Doc fixes & tes

[Guile-commits] 08/27: Fix doc for last bitvector patch

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit fe490a98e560bac51e3185dd984df70fd7531a28 Author: Daniel Llorens AuthorDate: Wed Feb 5 13:25:49 2020 +0100 Fix doc for last bitvector patch --- doc/ref/api-data.texi | 23 +-- 1 file changed, 1

[Guile-commits] branch wip-vector-cleanup updated (63752be -> 98bf49d)

2020-03-16 Thread Daniel Llorens
lloda pushed a change to branch wip-vector-cleanup in repository guile. discard 63752be Reuse SCM_ASSERT_RANGE in scm_c_vector_ref, scm_c_vector_set_x discard 924c02f Simplify vector constructor discard a6a040c Remove superfluous type check in bitvector->list discard 169f5ff Move uniform-a

[Guile-commits] 17/27: Pull generalized-vectors from under typed vectors

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 4c58fc6f91147083ac62b4f5409a854d1557acf9 Author: Daniel Llorens AuthorDate: Thu Feb 6 15:40:51 2020 +0100 Pull generalized-vectors from under typed vectors --- libguile/generalized-vectors.c | 25

[Guile-commits] 23/27: Remove 'contiguous' flag in arrays

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 913164c919135a44b978f16fec268a6d67aa3f48 Author: Daniel Llorens AuthorDate: Fri Feb 7 15:43:24 2020 +0100 Remove 'contiguous' flag in arrays Was never used, so we save having to set it on various ops.

[Guile-commits] 13/27: Move bitvector functions using array_handle to libguile/array-handle.[ch]

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 38918164dee4d00a367244a276ee274aac95efea Author: Daniel Llorens AuthorDate: Wed Feb 5 17:23:40 2020 +0100 Move bitvector functions using array_handle to libguile/array-handle.[ch] --- NEWS-wip-vector-cleanup.txt

[Guile-commits] 11/27: Add lenp parameter back to scm_bitvector_(writable_)elements

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 31dd9fc2690803bb8ce045d9d7455ea20b2f5364 Author: Daniel Llorens AuthorDate: Wed Feb 5 15:55:19 2020 +0100 Add lenp parameter back to scm_bitvector_(writable_)elements --- NEWS-wip-vector-cleanup.txt | 4 ++-- do

[Guile-commits] 18/27: Pull generalized-vectors from under bytevectors

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 460a5c2ba2dfca695f3976c283a08f9922ab0aba Author: Daniel Llorens AuthorDate: Thu Feb 6 15:52:58 2020 +0100 Pull generalized-vectors from under bytevectors --- libguile/bytevectors.c | 6 +- libguile/ge

[Guile-commits] 14/27: Golf in srfi-4.h

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit b93455c5acd96e8c9ea409c5661cbc943fa5209e Author: Daniel Llorens AuthorDate: Wed Feb 5 17:35:57 2020 +0100 Golf in srfi-4.h Will make it easier to move the array_handle functions somewhere else. --- libgu

[Guile-commits] 27/27: Reuse SCM_ASSERT_RANGE in scm_c_vector_ref, scm_c_vector_set_x

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 98bf49dc1abbb2ffdfcb623f6bd15933e5b55a1d Author: Daniel Llorens AuthorDate: Thu Feb 13 13:05:09 2020 +0100 Reuse SCM_ASSERT_RANGE in scm_c_vector_ref, scm_c_vector_set_x --- libguile/vectors.c | 18 --

[Guile-commits] 04/27: Remove the unused argument from scm_array_p

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 8c0de6b5938924686687b436fca79e19337d5b2d Author: Daniel Llorens AuthorDate: Mon Feb 3 13:24:03 2020 +0100 Remove the unused argument from scm_array_p * libguile/generalized-arrays.h: * libguile/genera

[Guile-commits] 06/27: Simplify interfaces to scm_vector_elements and scm_vector_writable_elements

2020-03-16 Thread Daniel Llorens
lloda pushed a commit to branch wip-vector-cleanup in repository guile. commit 6a4bbed77893f702870a9e0eb5ef010ff334c6aa Author: Daniel Llorens AuthorDate: Mon Feb 3 16:18:41 2020 +0100 Simplify interfaces to scm_vector_elements and scm_vector_writable_elements * vectors.h: As stated