Bytevectors: Fixed typo in IEEE-double endianness conversion.
[guile-r6rs-libs.git] / ChangeLog
bloba81d128f8ab66f41b85d4e2c8d0bfacd948b8230
1 # do not edit -- automatically generated by arch changelog
2 # arch-tag: automatic-ChangeLog--lcourtes@laas.fr--2006-libre/guile-r6rs-libs--devo--0
5 2007-02-09 15:59:23 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-10
7     Summary:
8       Bytevectors: Fixed typo in IEEE-double endianness conversion.
9     Revision:
10       guile-r6rs-libs--devo--0--patch-10
12     * src/bytevector.c (double_to_foreign_endianness): Fixed the
13       !WORD_BIGENDIAN case.
15     modified files:
16      ChangeLog src/bytevector.c
19 2007-02-09 14:43:17 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-9
21     Summary:
22       Bytevectors: Added a "printer" for the SMOB type.
23     Revision:
24       guile-r6rs-libs--devo--0--patch-9
26     * src/bytevector.c (print_bytevector): New.
28     modified files:
29      ChangeLog src/bytevector.c
32 2007-02-09 13:29:52 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-8
34     Summary:
35       Bytevectors: Added support for IEEE-754 endianness conversion.
36     Revision:
37       guile-r6rs-libs--devo--0--patch-8
39     * src/Makefile.am (noinst_HEADERS): New.
40     
41     * src/bytevector.c: Include "ieee754-double.h".
42       (double_to_foreign_endianness): New.
43       (double_from_foreign_endianness): New.
44       (DOUBLE_REF): Use it.
45       (DOUBLE_SET): Likewise.
46     
47     * tests/bytevector.test: New test.
49     new files:
50      src/.arch-ids/ieee754-double.h.id src/ieee754-double.h
52     modified files:
53      ChangeLog src/Makefile.am src/bytevector.c
54      tests/bytevector.test
57 2007-02-08 17:43:18 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-7
59     Summary:
60       Added "bytevector.h".
61     Revision:
62       guile-r6rs-libs--devo--0--patch-7
64     * src/Makefile.am (r6rsincludedir): New.
65       (r6rsinclude_HEADERS): New.
66     
67     * src/bytevector.c: Include "bytevector.h".
69     new files:
70      src/bytevector.h
72     modified files:
73      ChangeLog src/Makefile.am src/bytevector.c
76 2007-02-08 17:21:49 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-6
78     Summary:
79       Partial impl. of Section 2.6, "Operations on IEEE-754 Numbers".
80     Revision:
81       guile-r6rs-libs--devo--0--patch-6
83     * modules/r6rs/bytevector.scm: Export the ` ieee-double' procedures.
84     
85     * src/bytevector.c (DOUBLE_ACCESSOR_PROLOGUE, DOUBLE_REF, DOUBLE_SET,
86       DOUBLE_NATIVE_REF, DOUBLE_NATIVE_SET): New macros.
87       (scm_r6rs_*ieee_double*): New.
88     
89     * tests/bytevector.test: New ieee-double tests, native endianness only.
91     modified files:
92      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
93      tests/bytevector.test
96 2007-02-08 16:43:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-5
98     Summary:
99       Section 2.5: Operations on 32- and 64-bit Integers.
100     Revision:
101       guile-r6rs-libs--devo--0--patch-5
103     * modules/r6rs/bytevector.scm: Exported the 32/64 functions.
104     
105     * src/bytevector.c (SIGNEDNESS_signed, SIGNEDNESS_unsigned, SIGNEDNESS):
106       New macros.
107       (BV_SIGNED_signed, BV_SIGNED_unsigned): Removed.
108       (GENERIC_INTEGER_REF): Use `SIGNEDNESS ()'.
109       (GENERIC_INTEGER_SET): Likewise.
110       (LARGE_INTEGER_REF, LARGE_INTEGER_SET, LARGE_INTEGER_NATIVE_REF,
111       LARGE_INTEGER_NATIVE_SET): New macros.
112       (scm_r6rs_bytevector_*{32,64}*): New functions.
113     
114     * tests/bytevector.test: Improved the 16-bit tests.  New tests.
115     
116     * configure.ac: Check for `sizeof (void *)'.
118     modified files:
119      ChangeLog configure.ac modules/r6rs/bytevector.scm
120      src/bytevector.c tests/bytevector.test
123 2007-02-08 14:49:11 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-4
125     Summary:
126       Section 2.4: Operations on 16-bit Integers.
127     Revision:
128       guile-r6rs-libs--devo--0--patch-4
130     * modules/r6rs/bytevector.scm: Export the s16/u16 procedures.
131     
132     * src/bytevector.c (INT_TYPE, INT_SWAP, INT_VALID_P): New macros.
133       (INTEGER_ACCESSOR_PROLOGUE, INTEGER_REF, INTEGER_NATIVE_REF,
134       INTEGER_SET, INTEGER_NATIVE_SET): New macros.
135       (OCTET_ACCESSOR_PROLOGUE): Removed.
136       (scm_r6rs_bytevector_{u8,s8}_{ref,set_x}): Use the new macros.
137       (GENERIC_INTEGER_ACCESSOR_PROLOGUE, GENERIC_INTEGER_REF,
138       GENERIC_INTEGER_SET): New name for the macros previously same-named but
139       without `GENERIC_'.
140       (scm_r6rs_bytevector_{u16,s16}_{ref,set_x}): New.
141     
142     * tests/bytevector.test: New tests.
144     modified files:
145      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
146      tests/bytevector.test
149 2007-02-08 10:44:42 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-3
151     Summary:
152       Use Gnulib's `byteswap' module.
153     Revision:
154       guile-r6rs-libs--devo--0--patch-3
156     * Makefile.am (SUBDIRS): Added `lib'.
157       (ACLOCAL_AMFLAGS): New.
158     
159     * configure.ac: (AC_CONFIG_MACRO_DIR): New.
160       (gl_INIT, gl_EARLY): New.
161       No longer check for <byteswap.h>.  Output `lib/Makefile'.
162     
163     * src/bytevector.c: Include <byteswap.h> unconditionally.
164       (non_native_byteswap_16, non_native_byteswap_32): Removed, use
165       `bswap_{16,32}' directly.
166       (bswap_24): New macro (unused).
167     
168     * tests/Makefile.am (check_DATA): Renamed to `EXTRA_DIST'.
170     new files:
171      m4/.arch-ids/=id m4/.arch-ids/gnulib-cache.m4.id
172      m4/.arch-inventory m4/gnulib-cache.m4
174     modified files:
175      .arch-inventory ChangeLog Makefile.am configure.ac
176      src/bytevector.c tests/Makefile.am
178     new directories:
179      m4 m4/.arch-ids
182 2007-02-08 10:03:37 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-2
184     Summary:
185       Bytevectors Section 2.3: "Operations on Integers of Arbitrary Size"
186     Revision:
187       guile-r6rs-libs--devo--0--patch-2
189     * modules/r6rs/bytevector.scm: Export the procedures from Section 2.3.
190     
191     * src/bytevector.c (is_signed_int8, is_unsigned_int8, is_signed_int16,
192       is_unsigned_int16): New macros.
193       (bytevector_signed_ref, bytevector_unsigned_ref, bytevector_signed_set,
194       bytevector_unsigned_set): New inlines.
195       (scm_r6rs_bytevector_uint_ref, scm_r6rs_bytevector_sint_ref,
196       scm_r6rs_bytevector_uint_set, scm_r6rs_bytevector_sint_set): Use them.
197       (INTEGERS_TO_LIST, INTEGER_LIST_TO_BYTEVECTOR): New macros.
198       (scm_r6rs_bytevector_to_uint_list, scm_r6rs_bytevector_to_sint_list,
199       scm_r6rs_uint_list_to_bytevector, scm_r6rs_sint_list_to_bytevector):
200       New.
201     
202     * tests/bytevector.test: New tests.  
204     modified files:
205      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
206      tests/bytevector.test
209 2007-02-07 16:28:08 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-1
211     Summary:
212       Finished bytevectors Section 2.2: "Operations on Bytes and Octets".
213     Revision:
214       guile-r6rs-libs--devo--0--patch-1
216     * configure.ac: No longer look for <arpa/inet.h>; look for <byteswap.h>
217       and <limits.h>.  No longer look for `htons ()' and friends.
218     
219     * modules/r6rs/bytevector.scm: Updated exports.
220       (endianness): Fixed.
221     
222     * src/bytevector.c: Include <limits.h> and <byteswap.h>
223       (non_native_byteswap_16, non_native_byteswap_32): Fixed.
224       (twos_complement): New.
225       (bytevector_large_ref): Fixed.
226       (bytevector_large_set): New.
227       (INTEGER_ACCESSOR_PROLOGUE): New.
228       (INTEGER_SET): New.
229       (scm_r6rs_bytevector_uint_set_x, scm_r6rs_bytevector_sint_set_x): New.
230     
231     * tests/bytevector.test: New tests.
233     modified files:
234      ChangeLog configure.ac modules/r6rs/bytevector.scm
235      src/bytevector.c tests/bytevector.test
238 2007-02-06 15:51:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      base-0
240     Summary:
241       initial import
242     Revision:
243       guile-r6rs-libs--devo--0--base-0
245     
246     (automatically generated log message)
248     new files:
249      AUTHORS COPYING ChangeLog INSTALL Makefile.am NEWS README
250      configure.ac modules/Makefile.am modules/r6rs/bytevector.scm
251      modules/test-suite/lib.scm pre-inst-guile.in src/Makefile.am
252      src/bytevector.c tests/Makefile.am tests/bytevector.test