Added `ports.h'.
[guile-r6rs-libs.git] / ChangeLog
blob7c6df5357448297e0d9b87887469035b82fb27dc
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-13 16:04:45 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-16
7     Summary:
8       Added `ports.h'.
9     Revision:
10       guile-r6rs-libs--devo--0--patch-16
12     * src/Makefile.am (r6rsinclude_HEADERS): Added `ports.h'.
13     
14     * src/ports.c: Include it.
15       (scm_r6rs_put_bytevector): Appropriately cast the result of
16       `SCM_R6RS_BYTEVECTOR_CONTENTS ()'.
18     new files:
19      src/ports.h
21     modified files:
22      ChangeLog src/Makefile.am src/ports.c
25 2007-02-13 15:48:23 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-15
27     Summary:
28       Added an `eof-object' test, updated `STATUS'.
29     Revision:
30       guile-r6rs-libs--devo--0--patch-15
32     * STATUS (I/O): Marked as partial.
33     
34     * tests/io-ports.test (7.2.5 End-of-File Object): New test prefix.
36     modified files:
37      ChangeLog STATUS tests/io-ports.test
40 2007-02-13 15:15:21 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-14
42     Summary:
43       Implemented binary output (Section 7.2.11).
44     Revision:
45       guile-r6rs-libs--devo--0--patch-14
47     * modules/r6rs/i/o/ports.scm: Export `put-u8' and `put-bytevector'.
48     
49     * src/ports.c (SCM_VALIDATE_R6RS_BINARY_INPUT_PORT): Alias
50       `SCM_VALIDATE_INPUT_PORT' instead of just `SCM_VALIDATE_PORT'.
51       (scm_r6rs_get_u8): Return an unsigned char.
52       (SCM_VALIDATE_R6RS_BINARY_OUTPUT_PORT): New.
53       (scm_r6rs_put_u8, scm_r6rs_put_bytevector): New.
54     
55     * tests/io-ports.test: Use `(srfi srfi-1)'.  Added new tests.
57     modified files:
58      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c
59      tests/io-ports.test
62 2007-02-13 14:20:00 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-13
64     Summary:
65       Implemented binary input (Section 7.2.8).
66     Revision:
67       guile-r6rs-libs--devo--0--patch-13
69     * modules/Makefile.am (dist_guilemodule_DATA): Added
70       `r6rs/i/o/ports.scm'.
71     
72     * src/Makefile.am (BUILT_SOURCES): Added `ports.c.x'.
73       (CLEAN_FILES): Likewise.
74       (libguile_r6rs_libs_v_0_la_SOURCES): Added `ports.c'.
75       (CPPFLAGS): Renamed to `AM_CPPFLAGS'.
76       (noinst_HEADERS): Added `utils.h'.
77       (snarfcppopts): Added `$(AM_CPPFLAGS)'.
78     
79     * src/bytevector.c: Include "utils.h".
80       (EXPECT): Moved to "utils.h".
81       (SCM_VALIDATE_R6RS_BYTEVECTOR, SCM_R6RS_BYTEVECTOR_LENGTH,
82       SCM_R6RS_BYTEVECTOR_LENGTH): Likewise.
83       (scm_r6rs_c_make_bytevector, scm_r6rs_c_take_bytevector): New.
84       (free_bytevector): Check for NULL bytevectors.
85     
86     * src/bytevector.h: Updated accordingly.
87     
88     * tests/Makefile.am (TESTS): Added `io-ports.test'.
89       (EXTRA_DIST): Likewise.  
91     new files:
92      modules/r6rs/i/.arch-ids/=id modules/r6rs/i/o/.arch-ids/=id
93      modules/r6rs/i/o/ports.scm src/ports.c src/utils.h
94      tests/io-ports.test
96     modified files:
97      ChangeLog modules/Makefile.am src/Makefile.am src/bytevector.c
98      src/bytevector.h tests/Makefile.am
100     new directories:
101      modules/r6rs/i modules/r6rs/i/.arch-ids modules/r6rs/i/o
102      modules/r6rs/i/o/.arch-ids
105 2007-02-12 14:39:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-12
107     Summary:
108       Fixed various build glitches.
109     Revision:
110       guile-r6rs-libs--devo--0--patch-12
112     * modules/Makefile.am (guilemodule_DATA): Renamed to...
113       (dist_guilemodule_DATA): New.
114     
115     * pre-inst-guile.in: Use the new library name.
116     
117     * src/Makefile.am (CPPFLAGS): New.
119     modified files:
120      ChangeLog modules/Makefile.am pre-inst-guile.in
121      src/Makefile.am
124 2007-02-12 14:30:43 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-11
126     Summary:
127       Renamed the library.
128     Revision:
129       guile-r6rs-libs--devo--0--patch-11
131     * configure.ac: Use `guile-r6rs-libs' as the project name rather than
132       `guile-r6rs'.
133     
134     * src/Makefile.am: Renamed library from `libguile-r6rs-v0' to
135       `libguile-r6rs-libs-v-0'.
136     
137     * modules/r6rs/bytevector.scm: Updated.
139     new files:
140      .arch-ids/STATUS.id STATUS
142     modified files:
143      ChangeLog configure.ac modules/r6rs/bytevector.scm
144      src/Makefile.am
147 2007-02-09 15:59:23 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-10
149     Summary:
150       Bytevectors: Fixed typo in IEEE-double endianness conversion.
151     Revision:
152       guile-r6rs-libs--devo--0--patch-10
154     * src/bytevector.c (double_to_foreign_endianness): Fixed the
155       !WORD_BIGENDIAN case.
157     modified files:
158      ChangeLog src/bytevector.c
161 2007-02-09 14:43:17 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-9
163     Summary:
164       Bytevectors: Added a "printer" for the SMOB type.
165     Revision:
166       guile-r6rs-libs--devo--0--patch-9
168     * src/bytevector.c (print_bytevector): New.
170     modified files:
171      ChangeLog src/bytevector.c
174 2007-02-09 13:29:52 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-8
176     Summary:
177       Bytevectors: Added support for IEEE-754 endianness conversion.
178     Revision:
179       guile-r6rs-libs--devo--0--patch-8
181     * src/Makefile.am (noinst_HEADERS): New.
182     
183     * src/bytevector.c: Include "ieee754-double.h".
184       (double_to_foreign_endianness): New.
185       (double_from_foreign_endianness): New.
186       (DOUBLE_REF): Use it.
187       (DOUBLE_SET): Likewise.
188     
189     * tests/bytevector.test: New test.
191     new files:
192      src/.arch-ids/ieee754-double.h.id src/ieee754-double.h
194     modified files:
195      ChangeLog src/Makefile.am src/bytevector.c
196      tests/bytevector.test
199 2007-02-08 17:43:18 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-7
201     Summary:
202       Added "bytevector.h".
203     Revision:
204       guile-r6rs-libs--devo--0--patch-7
206     * src/Makefile.am (r6rsincludedir): New.
207       (r6rsinclude_HEADERS): New.
208     
209     * src/bytevector.c: Include "bytevector.h".
211     new files:
212      src/bytevector.h
214     modified files:
215      ChangeLog src/Makefile.am src/bytevector.c
218 2007-02-08 17:21:49 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-6
220     Summary:
221       Partial impl. of Section 2.6, "Operations on IEEE-754 Numbers".
222     Revision:
223       guile-r6rs-libs--devo--0--patch-6
225     * modules/r6rs/bytevector.scm: Export the ` ieee-double' procedures.
226     
227     * src/bytevector.c (DOUBLE_ACCESSOR_PROLOGUE, DOUBLE_REF, DOUBLE_SET,
228       DOUBLE_NATIVE_REF, DOUBLE_NATIVE_SET): New macros.
229       (scm_r6rs_*ieee_double*): New.
230     
231     * tests/bytevector.test: New ieee-double tests, native endianness only.
233     modified files:
234      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
235      tests/bytevector.test
238 2007-02-08 16:43:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-5
240     Summary:
241       Section 2.5: Operations on 32- and 64-bit Integers.
242     Revision:
243       guile-r6rs-libs--devo--0--patch-5
245     * modules/r6rs/bytevector.scm: Exported the 32/64 functions.
246     
247     * src/bytevector.c (SIGNEDNESS_signed, SIGNEDNESS_unsigned, SIGNEDNESS):
248       New macros.
249       (BV_SIGNED_signed, BV_SIGNED_unsigned): Removed.
250       (GENERIC_INTEGER_REF): Use `SIGNEDNESS ()'.
251       (GENERIC_INTEGER_SET): Likewise.
252       (LARGE_INTEGER_REF, LARGE_INTEGER_SET, LARGE_INTEGER_NATIVE_REF,
253       LARGE_INTEGER_NATIVE_SET): New macros.
254       (scm_r6rs_bytevector_*{32,64}*): New functions.
255     
256     * tests/bytevector.test: Improved the 16-bit tests.  New tests.
257     
258     * configure.ac: Check for `sizeof (void *)'.
260     modified files:
261      ChangeLog configure.ac modules/r6rs/bytevector.scm
262      src/bytevector.c tests/bytevector.test
265 2007-02-08 14:49:11 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-4
267     Summary:
268       Section 2.4: Operations on 16-bit Integers.
269     Revision:
270       guile-r6rs-libs--devo--0--patch-4
272     * modules/r6rs/bytevector.scm: Export the s16/u16 procedures.
273     
274     * src/bytevector.c (INT_TYPE, INT_SWAP, INT_VALID_P): New macros.
275       (INTEGER_ACCESSOR_PROLOGUE, INTEGER_REF, INTEGER_NATIVE_REF,
276       INTEGER_SET, INTEGER_NATIVE_SET): New macros.
277       (OCTET_ACCESSOR_PROLOGUE): Removed.
278       (scm_r6rs_bytevector_{u8,s8}_{ref,set_x}): Use the new macros.
279       (GENERIC_INTEGER_ACCESSOR_PROLOGUE, GENERIC_INTEGER_REF,
280       GENERIC_INTEGER_SET): New name for the macros previously same-named but
281       without `GENERIC_'.
282       (scm_r6rs_bytevector_{u16,s16}_{ref,set_x}): New.
283     
284     * tests/bytevector.test: New tests.
286     modified files:
287      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
288      tests/bytevector.test
291 2007-02-08 10:44:42 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-3
293     Summary:
294       Use Gnulib's `byteswap' module.
295     Revision:
296       guile-r6rs-libs--devo--0--patch-3
298     * Makefile.am (SUBDIRS): Added `lib'.
299       (ACLOCAL_AMFLAGS): New.
300     
301     * configure.ac: (AC_CONFIG_MACRO_DIR): New.
302       (gl_INIT, gl_EARLY): New.
303       No longer check for <byteswap.h>.  Output `lib/Makefile'.
304     
305     * src/bytevector.c: Include <byteswap.h> unconditionally.
306       (non_native_byteswap_16, non_native_byteswap_32): Removed, use
307       `bswap_{16,32}' directly.
308       (bswap_24): New macro (unused).
309     
310     * tests/Makefile.am (check_DATA): Renamed to `EXTRA_DIST'.
312     new files:
313      m4/.arch-ids/=id m4/.arch-ids/gnulib-cache.m4.id
314      m4/.arch-inventory m4/gnulib-cache.m4
316     modified files:
317      .arch-inventory ChangeLog Makefile.am configure.ac
318      src/bytevector.c tests/Makefile.am
320     new directories:
321      m4 m4/.arch-ids
324 2007-02-08 10:03:37 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-2
326     Summary:
327       Bytevectors Section 2.3: "Operations on Integers of Arbitrary Size"
328     Revision:
329       guile-r6rs-libs--devo--0--patch-2
331     * modules/r6rs/bytevector.scm: Export the procedures from Section 2.3.
332     
333     * src/bytevector.c (is_signed_int8, is_unsigned_int8, is_signed_int16,
334       is_unsigned_int16): New macros.
335       (bytevector_signed_ref, bytevector_unsigned_ref, bytevector_signed_set,
336       bytevector_unsigned_set): New inlines.
337       (scm_r6rs_bytevector_uint_ref, scm_r6rs_bytevector_sint_ref,
338       scm_r6rs_bytevector_uint_set, scm_r6rs_bytevector_sint_set): Use them.
339       (INTEGERS_TO_LIST, INTEGER_LIST_TO_BYTEVECTOR): New macros.
340       (scm_r6rs_bytevector_to_uint_list, scm_r6rs_bytevector_to_sint_list,
341       scm_r6rs_uint_list_to_bytevector, scm_r6rs_sint_list_to_bytevector):
342       New.
343     
344     * tests/bytevector.test: New tests.  
346     modified files:
347      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
348      tests/bytevector.test
351 2007-02-07 16:28:08 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-1
353     Summary:
354       Finished bytevectors Section 2.2: "Operations on Bytes and Octets".
355     Revision:
356       guile-r6rs-libs--devo--0--patch-1
358     * configure.ac: No longer look for <arpa/inet.h>; look for <byteswap.h>
359       and <limits.h>.  No longer look for `htons ()' and friends.
360     
361     * modules/r6rs/bytevector.scm: Updated exports.
362       (endianness): Fixed.
363     
364     * src/bytevector.c: Include <limits.h> and <byteswap.h>
365       (non_native_byteswap_16, non_native_byteswap_32): Fixed.
366       (twos_complement): New.
367       (bytevector_large_ref): Fixed.
368       (bytevector_large_set): New.
369       (INTEGER_ACCESSOR_PROLOGUE): New.
370       (INTEGER_SET): New.
371       (scm_r6rs_bytevector_uint_set_x, scm_r6rs_bytevector_sint_set_x): New.
372     
373     * tests/bytevector.test: New tests.
375     modified files:
376      ChangeLog configure.ac modules/r6rs/bytevector.scm
377      src/bytevector.c tests/bytevector.test
380 2007-02-06 15:51:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      base-0
382     Summary:
383       initial import
384     Revision:
385       guile-r6rs-libs--devo--0--base-0
387     
388     (automatically generated log message)
390     new files:
391      AUTHORS COPYING ChangeLog INSTALL Makefile.am NEWS README
392      configure.ac modules/Makefile.am modules/r6rs/bytevector.scm
393      modules/test-suite/lib.scm pre-inst-guile.in src/Makefile.am
394      src/bytevector.c tests/Makefile.am tests/bytevector.test