Cosmetic changes.
[guile-r6rs-libs.git] / ChangeLog
blobf12e0684b362668d09ff1e75a05f157ebca5d725
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-03-03 10:48:41 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-32
7     Summary:
8       Cosmetic changes.
9     Revision:
10       guile-r6rs-libs--devo--0--patch-32
12     * STATUS: Added a foot note for "I/O".
13     
14     * modules/r6rs/i/o/ports.scm (call-with-port): Removed the comment about
15       lack of clarity of the spec.
17     modified files:
18      ChangeLog STATUS modules/r6rs/i/o/ports.scm
21 2007-02-26 13:42:16 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-31
23     Summary:
24       I/O: Small fixes in `get-bytevector-n' and `get-bytevector-n!'.
25     Revision:
26       guile-r6rs-libs--devo--0--patch-31
28     * src/ports.c (scm_r6rs_get_bytevector_n): Don't invoke `scm_c_read ()'
29       when C_COUNT is zero since it may block.  Don't return EOF when both
30       C_READ and C_COUNT are zero; return the empty bytevector instead.
31       (scm_r6rs_get_bytevector_n_x): Likewise.
33     modified files:
34      ChangeLog src/ports.c
37 2007-02-25 15:40:53 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-30
39     Summary:
40       Implemented inlined bytevectors.
41     Revision:
42       guile-r6rs-libs--devo--0--patch-30
44     * src/bytevector.c (SCM_R6RS_BYTEVECTOR_SET_LENGTH,
45       SCM_R6RS_BYTEVECTOR_SET_CONTENTS): New macros.
46       (scm_r6rs_null_bytevector): New.
47       (make_bytevector_from_buffer): New.
48       (make_bytevector): Check whether LEN is inlineable and only allocate
49       when non-inlineable.  Don't take a CONTENTS argument: allocate space here.
50       (scm_r6rs_c_make_bytevector): Updated.
51       (scm_r6rs_c_take_bytevector): Check whether LEN is inlineable.
52       (scm_r6rs_i_shrink_bytevector): New.
53       (free_bytevector): Only free when BV is in-line.
54       (scm_r6rs_make_bytevector): Updated.
55       (scm_r6rs_bytevector_copy): Likewise.
56       (scm_r6rs_u8_list_to_bytevector): Likewise.
57       (INTEGER_LIST_TO_BYTEVECTOR): Likewise.
58       (scm_init_r6rs_bytevector): Initialize SCM_R6RS_NULL_BYTEVECTOR.
59     
60     * src/bytevector.h (SCM_R6RS_BYTEVECTOR_CONTENTS): Check whether BV is
61       inline and return the appropriate pointer.
62       (SCM_R6RS_BYTEVECTOR_INLINE_THRESHOLD,
63       SCM_R6RS_BYTEVECTOR_INLINEABLE_SIZE_P, SCM_R6RS_BYTEVECTOR_INLINE_P):
64       New macros.
65       (scm_r6rs_c_shrink_bytevector): New macro.
66       (scm_r6rs_i_shrink_bytevector, scm_r6rs_null_bytevector): New
67       declarations.
68     
69     * src/ports.c (scm_r6rs_get_bytevector_n): Use
70       `scm_r6rs_c_make_bytevector ()' instead of custom memory management.
71       At the end, use `scm_r6rs_c_shrink_bytevector ()'.
73     modified files:
74      ChangeLog src/bytevector.c src/bytevector.h src/ports.c
77 2007-02-23 15:02:03 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-29
79     Summary:
80       Bytevectors: Fixed `bytevector->[us]int-list' for empty vectors.
81     Revision:
82       guile-r6rs-libs--devo--0--patch-29
84     * src/bytevector.c (INTEGERS_TO_LIST): Properly handle C_LEN == 0.
85       (scm_r6rs_bytevector_to_uint_list): Fixed `FUNC_NAME'.
86     
87     * tests/bytevector.test (2.3 Operations on Integers of Arbitrary
88       Size)[bytevector->uint-list [empty]]: New test.
90     modified files:
91      ChangeLog src/bytevector.c tests/bytevector.test
94 2007-02-23 09:40:05 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-28
96     Summary:
97       Bytevector output ports: Optimized buffer growing.
98     Revision:
99       guile-r6rs-libs--devo--0--patch-28
101     * src/ports.c (bop_buffer_grow): Take a MIN_SIZE parameter.  Perform only
102       one malloc/realloc after having computed a suitable size.
103       (bop_write): Updated accordingly.
105     modified files:
106      ChangeLog src/ports.c
109 2007-02-22 17:59:01 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-27
111     Summary:
112       ports: Added `open-bytevector-output-port'.
113     Revision:
114       guile-r6rs-libs--devo--0--patch-27
116     * modules/r6rs/i/o/ports.scm: Export `open-bytevector-output-port'.
117     
118     * src/ports.c: Include <string.h>.
119       (transcoders_not_implemented): New.
120       (scm_r6rs_open_bytevector_input_port): Use it.
121       (bytevector_output_port_type): New.
122       (SCM_GC_BOP, SCM_BOP_BUFFER_INITIAL_SIZE, SCM_R6RS_BOP_BUFFER,
123       SCM_R6RS_SET_BOP_BUFFER): New macros.
124       (scm_t_bop_buffer): New type.
125       (bop_buffer_init, bop_buffer_grow): New functions.
126       (make_bop, bop_free, bop_write, bop_seek): New.
127       (bop_proc_apply, bop_proc_mark): New.
128       (scm_r6rs_open_bytevector_output_port): New.
129       (initialize_bytevector_output_ports): New.
130       (scm_init_r6rs_ports): Call it.
131     
132     * src/ports.h: Updated.
133     
134     * tests/io-ports.test: Use `srfi-11'.
135       (7.2.11 Binary Output)[open-bytevector-output-port]: New test.
136       [bytevector output port supports `port-position']: New test.
138     modified files:
139      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
140      tests/io-ports.test
143 2007-02-22 15:07:35 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-26
145     Summary:
146       ports: Fixed seeking for custom binary input ports.
147     Revision:
148       guile-r6rs-libs--devo--0--patch-26
150     * src/ports.c (cbip_seek): Fixed.
151     
152     * tests/io-ports.test (7.2.7 Input Ports)[custom binary input port does
153       not support `port-position']: New test.
154       [custom binary input port supports `port-position']: New test.
156     modified files:
157      ChangeLog src/ports.c tests/io-ports.test
160 2007-02-22 14:49:22 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-25
162     Summary:
163       Implemented `seek' support for bytevector input ports.
164     Revision:
165       guile-r6rs-libs--devo--0--patch-25
167     * src/ports.c (bip_seek): New.
168       (initialize_bytevector_input_ports): Use it.
169     
170     * tests/io-ports.test (7.2.7 Input Ports)[bytevector input port supports
171       seeking]: New test.
173     modified files:
174      ChangeLog src/ports.c tests/io-ports.test
177 2007-02-22 14:30:46 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-24
179     Summary:
180       Added missing procedures from Section 7.2.6, "Input and Output Ports".
181     Revision:
182       guile-r6rs-libs--devo--0--patch-24
184     * modules/r6rs/i/o/ports.scm (port-transcoder, binary-input-port?,
185       transcoded-port, port-position, set-port-position!,
186       port-has-port-position?, port-has-set-port-position!?, call-with-port):
187       New.
189     modified files:
190      ChangeLog modules/r6rs/i/o/ports.scm
193 2007-02-22 13:49:16 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-23
195     Summary:
196       Added support for custom binary input ports.
197     Revision:
198       guile-r6rs-libs--devo--0--patch-23
200     * modules/r6rs/i/o/ports.scm: Export `make-custom-binary-input-port'.
201     
202     * src/ports.c (bip_fill_input): Don't increment C_PORT->READ_POS in the
203       `else' branch.
204       (custom_binary_input_port_type): New.
205       (CBIP_BUFFER_SIZE, SCM_R6RS_CBIP_*): New macros.
206       (make_cbip, cbip_mark, cbip_fill_input, cbip_seek, cbip_close,
207       scm_r6rs_make_custom_binary_input_port,
208       initialize_custom_binary_input_ports): New functions.
209       (scm_init_r6rs_ports): Invoke `initialize_custom_binary_input_ports ()'.
210     
211     * src/ports.h: Updated accordingly.
212     
213     * tests/io-ports.test: Moved "7.2.7 Input Ports" to the bottom.
214       (7.2.7 Input Ports)[make-custom-binary-input-port]: New test.
216     modified files:
217      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
218      tests/io-ports.test
221 2007-02-20 16:59:05 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-22
223     Summary:
224       Have the test suite exit with an error status upon failure.
225     Revision:
226       guile-r6rs-libs--devo--0--patch-22
228     * tests/Makefile.am (TESTS_ENVIRONMENT): Appended
229       `$(srcdir)/run-test.scm'.
230       (EXTRA_DIST): Added `run-test.scm'.
232     new files:
233      tests/run-test.scm
235     modified files:
236      ChangeLog tests/Makefile.am
239 2007-02-20 16:40:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-21
241     Summary:
242       Bytevectors: Added support for IEEE-754 single-precision numbers.
243     Revision:
244       guile-r6rs-libs--devo--0--patch-21
246     * modules/r6rs/bytevector.scm: Export the `ieee-single' procedures.
247     
248     * src/bytevector.c (IEEE754_TO_SCM): Always use `scm_from_double ()'.
249       (IEEE754_FROM_SCM): Always use `scm_to_double ()'.
250       (IEEE754_ACCESSOR_PROLOGUE): Multiply `sizeof (_type)' by 8.
251       (scm_r6rs_bytevector_ieee_single_ref,
252       scm_r6rs_bytevector_ieee_single_native_ref,
253       scm_r6rs_bytevector_ieee_single_set_x,
254       scm_r6rs_bytevector_ieee_single_native_set_x): New functions.
255     
256     * src/bytevector.h: Updated accordingly.
257     
258     * tests/bytevector.test: Added tests for the `ieee-single' procedures.
260     modified files:
261      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
262      src/bytevector.h tests/bytevector.test
265 2007-02-20 15:07:48 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-20
267     Summary:
268       Templatized the IEEE-754 double-precision code.
269     Revision:
270       guile-r6rs-libs--devo--0--patch-20
272     * src/Makefile.am (noinst_HEADERS): Reflect renaming of
273       `ieee754-double.h' to `ieee-754.h'.
274     
275     * src/bytevector.c: Include "ieee-754.h".
276       (float_to_foreign_endianness, float_from_foreign_endianness): New.
277       (IEEE754_UNION, IEEE754_TO_SCM, IEEE754_FROM_SCM,
278       IEEE754_FROM_FOREIGN_ENDIANNESS, IEEE754_TO_FOREIGN_ENDIANNESS): New.
279       (DOUBLE_*): Renamed to `IEEE754_*'.  Take a TYPE parameter.  Updated
280       users.
281     
282     * src/ieee-754.h (scm_r6rs_ieee754_float): New union.
283       (ieee754_double): Renamed to `scm_r6rs_ieee754_double'.
285     modified files:
286      ChangeLog src/Makefile.am src/bytevector.c src/ieee-754.h
288     renamed files:
289      src/.arch-ids/ieee754-double.h.id
290        ==> src/.arch-ids/ieee-754.h.id
291      src/ieee754-double.h
292        ==> src/ieee-754.h
295 2007-02-15 16:08:50 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-19
297     Summary:
298       Added support for bytevector input ports (Section 7.2.7).
299     Revision:
300       guile-r6rs-libs--devo--0--patch-19
302     * modules/r6rs/i/o/ports.scm: Export `open-bytevector-input-port'.
303     
304     * src/ports.c (bytevector_input_port_type): New.
305       (make_bip, bip_mark, bip_fill_input): New.
306       (initialize_bytevector_input_ports): New.
307       (scm_r6rs_open_bytevector_input_port): New.
308       (scm_init_r6rs_ports): Invoke `initialize_bytevector_input_ports ()'.
309     
310     * src/ports.h: Updated.
311     
312     * tests/io-ports.test (7.2.7 Input Ports): New test prefix.
314     modified files:
315      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
316      tests/io-ports.test
319 2007-02-14 16:22:55 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-18
321     Summary:
322       bytevector: Fixed `large_set' with zero.
323     Revision:
324       guile-r6rs-libs--devo--0--patch-18
326     * src/bytevector.c (bytevector_large_set): Handle zero using `memset ()'
327       instead of `mpz_export ()' since the latter would write nothing to C_BV
328       (WORD_COUNT == 0).
329     
330     * tests/bytevector.test (2.5(bis) Operations on 64-bit Integers)[ref/set!
331       with zero]: New test.
333     modified files:
334      ChangeLog src/bytevector.c tests/bytevector.test
337 2007-02-14 09:16:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-17
339     Summary:
340       Fixed installation of modules.
341     Revision:
342       guile-r6rs-libs--devo--0--patch-17
344     * modules/Makefile.am (guilemoduledir): Removed `/r6rs'.
345       (dist_guilemodule_DATA): Renamed to...
346       (nobase_dist_guilemodule_DATA): New.
348     modified files:
349      ChangeLog modules/Makefile.am
352 2007-02-13 16:04:45 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-16
354     Summary:
355       Added `ports.h'.
356     Revision:
357       guile-r6rs-libs--devo--0--patch-16
359     * src/Makefile.am (r6rsinclude_HEADERS): Added `ports.h'.
360     
361     * src/ports.c: Include it.
362       (scm_r6rs_put_bytevector): Appropriately cast the result of
363       `SCM_R6RS_BYTEVECTOR_CONTENTS ()'.
365     new files:
366      src/ports.h
368     modified files:
369      ChangeLog src/Makefile.am src/ports.c
372 2007-02-13 15:48:23 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-15
374     Summary:
375       Added an `eof-object' test, updated `STATUS'.
376     Revision:
377       guile-r6rs-libs--devo--0--patch-15
379     * STATUS (I/O): Marked as partial.
380     
381     * tests/io-ports.test (7.2.5 End-of-File Object): New test prefix.
383     modified files:
384      ChangeLog STATUS tests/io-ports.test
387 2007-02-13 15:15:21 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-14
389     Summary:
390       Implemented binary output (Section 7.2.11).
391     Revision:
392       guile-r6rs-libs--devo--0--patch-14
394     * modules/r6rs/i/o/ports.scm: Export `put-u8' and `put-bytevector'.
395     
396     * src/ports.c (SCM_VALIDATE_R6RS_BINARY_INPUT_PORT): Alias
397       `SCM_VALIDATE_INPUT_PORT' instead of just `SCM_VALIDATE_PORT'.
398       (scm_r6rs_get_u8): Return an unsigned char.
399       (SCM_VALIDATE_R6RS_BINARY_OUTPUT_PORT): New.
400       (scm_r6rs_put_u8, scm_r6rs_put_bytevector): New.
401     
402     * tests/io-ports.test: Use `(srfi srfi-1)'.  Added new tests.
404     modified files:
405      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c
406      tests/io-ports.test
409 2007-02-13 14:20:00 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-13
411     Summary:
412       Implemented binary input (Section 7.2.8).
413     Revision:
414       guile-r6rs-libs--devo--0--patch-13
416     * modules/Makefile.am (dist_guilemodule_DATA): Added
417       `r6rs/i/o/ports.scm'.
418     
419     * src/Makefile.am (BUILT_SOURCES): Added `ports.c.x'.
420       (CLEAN_FILES): Likewise.
421       (libguile_r6rs_libs_v_0_la_SOURCES): Added `ports.c'.
422       (CPPFLAGS): Renamed to `AM_CPPFLAGS'.
423       (noinst_HEADERS): Added `utils.h'.
424       (snarfcppopts): Added `$(AM_CPPFLAGS)'.
425     
426     * src/bytevector.c: Include "utils.h".
427       (EXPECT): Moved to "utils.h".
428       (SCM_VALIDATE_R6RS_BYTEVECTOR, SCM_R6RS_BYTEVECTOR_LENGTH,
429       SCM_R6RS_BYTEVECTOR_LENGTH): Likewise.
430       (scm_r6rs_c_make_bytevector, scm_r6rs_c_take_bytevector): New.
431       (free_bytevector): Check for NULL bytevectors.
432     
433     * src/bytevector.h: Updated accordingly.
434     
435     * tests/Makefile.am (TESTS): Added `io-ports.test'.
436       (EXTRA_DIST): Likewise.  
438     new files:
439      modules/r6rs/i/.arch-ids/=id modules/r6rs/i/o/.arch-ids/=id
440      modules/r6rs/i/o/ports.scm src/ports.c src/utils.h
441      tests/io-ports.test
443     modified files:
444      ChangeLog modules/Makefile.am src/Makefile.am src/bytevector.c
445      src/bytevector.h tests/Makefile.am
447     new directories:
448      modules/r6rs/i modules/r6rs/i/.arch-ids modules/r6rs/i/o
449      modules/r6rs/i/o/.arch-ids
452 2007-02-12 14:39:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-12
454     Summary:
455       Fixed various build glitches.
456     Revision:
457       guile-r6rs-libs--devo--0--patch-12
459     * modules/Makefile.am (guilemodule_DATA): Renamed to...
460       (dist_guilemodule_DATA): New.
461     
462     * pre-inst-guile.in: Use the new library name.
463     
464     * src/Makefile.am (CPPFLAGS): New.
466     modified files:
467      ChangeLog modules/Makefile.am pre-inst-guile.in
468      src/Makefile.am
471 2007-02-12 14:30:43 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-11
473     Summary:
474       Renamed the library.
475     Revision:
476       guile-r6rs-libs--devo--0--patch-11
478     * configure.ac: Use `guile-r6rs-libs' as the project name rather than
479       `guile-r6rs'.
480     
481     * src/Makefile.am: Renamed library from `libguile-r6rs-v0' to
482       `libguile-r6rs-libs-v-0'.
483     
484     * modules/r6rs/bytevector.scm: Updated.
486     new files:
487      .arch-ids/STATUS.id STATUS
489     modified files:
490      ChangeLog configure.ac modules/r6rs/bytevector.scm
491      src/Makefile.am
494 2007-02-09 15:59:23 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-10
496     Summary:
497       Bytevectors: Fixed typo in IEEE-double endianness conversion.
498     Revision:
499       guile-r6rs-libs--devo--0--patch-10
501     * src/bytevector.c (double_to_foreign_endianness): Fixed the
502       !WORD_BIGENDIAN case.
504     modified files:
505      ChangeLog src/bytevector.c
508 2007-02-09 14:43:17 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-9
510     Summary:
511       Bytevectors: Added a "printer" for the SMOB type.
512     Revision:
513       guile-r6rs-libs--devo--0--patch-9
515     * src/bytevector.c (print_bytevector): New.
517     modified files:
518      ChangeLog src/bytevector.c
521 2007-02-09 13:29:52 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-8
523     Summary:
524       Bytevectors: Added support for IEEE-754 endianness conversion.
525     Revision:
526       guile-r6rs-libs--devo--0--patch-8
528     * src/Makefile.am (noinst_HEADERS): New.
529     
530     * src/bytevector.c: Include "ieee754-double.h".
531       (double_to_foreign_endianness): New.
532       (double_from_foreign_endianness): New.
533       (DOUBLE_REF): Use it.
534       (DOUBLE_SET): Likewise.
535     
536     * tests/bytevector.test: New test.
538     new files:
539      src/.arch-ids/ieee754-double.h.id src/ieee754-double.h
541     modified files:
542      ChangeLog src/Makefile.am src/bytevector.c
543      tests/bytevector.test
546 2007-02-08 17:43:18 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-7
548     Summary:
549       Added "bytevector.h".
550     Revision:
551       guile-r6rs-libs--devo--0--patch-7
553     * src/Makefile.am (r6rsincludedir): New.
554       (r6rsinclude_HEADERS): New.
555     
556     * src/bytevector.c: Include "bytevector.h".
558     new files:
559      src/bytevector.h
561     modified files:
562      ChangeLog src/Makefile.am src/bytevector.c
565 2007-02-08 17:21:49 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-6
567     Summary:
568       Partial impl. of Section 2.6, "Operations on IEEE-754 Numbers".
569     Revision:
570       guile-r6rs-libs--devo--0--patch-6
572     * modules/r6rs/bytevector.scm: Export the ` ieee-double' procedures.
573     
574     * src/bytevector.c (DOUBLE_ACCESSOR_PROLOGUE, DOUBLE_REF, DOUBLE_SET,
575       DOUBLE_NATIVE_REF, DOUBLE_NATIVE_SET): New macros.
576       (scm_r6rs_*ieee_double*): New.
577     
578     * tests/bytevector.test: New ieee-double tests, native endianness only.
580     modified files:
581      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
582      tests/bytevector.test
585 2007-02-08 16:43:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-5
587     Summary:
588       Section 2.5: Operations on 32- and 64-bit Integers.
589     Revision:
590       guile-r6rs-libs--devo--0--patch-5
592     * modules/r6rs/bytevector.scm: Exported the 32/64 functions.
593     
594     * src/bytevector.c (SIGNEDNESS_signed, SIGNEDNESS_unsigned, SIGNEDNESS):
595       New macros.
596       (BV_SIGNED_signed, BV_SIGNED_unsigned): Removed.
597       (GENERIC_INTEGER_REF): Use `SIGNEDNESS ()'.
598       (GENERIC_INTEGER_SET): Likewise.
599       (LARGE_INTEGER_REF, LARGE_INTEGER_SET, LARGE_INTEGER_NATIVE_REF,
600       LARGE_INTEGER_NATIVE_SET): New macros.
601       (scm_r6rs_bytevector_*{32,64}*): New functions.
602     
603     * tests/bytevector.test: Improved the 16-bit tests.  New tests.
604     
605     * configure.ac: Check for `sizeof (void *)'.
607     modified files:
608      ChangeLog configure.ac modules/r6rs/bytevector.scm
609      src/bytevector.c tests/bytevector.test
612 2007-02-08 14:49:11 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-4
614     Summary:
615       Section 2.4: Operations on 16-bit Integers.
616     Revision:
617       guile-r6rs-libs--devo--0--patch-4
619     * modules/r6rs/bytevector.scm: Export the s16/u16 procedures.
620     
621     * src/bytevector.c (INT_TYPE, INT_SWAP, INT_VALID_P): New macros.
622       (INTEGER_ACCESSOR_PROLOGUE, INTEGER_REF, INTEGER_NATIVE_REF,
623       INTEGER_SET, INTEGER_NATIVE_SET): New macros.
624       (OCTET_ACCESSOR_PROLOGUE): Removed.
625       (scm_r6rs_bytevector_{u8,s8}_{ref,set_x}): Use the new macros.
626       (GENERIC_INTEGER_ACCESSOR_PROLOGUE, GENERIC_INTEGER_REF,
627       GENERIC_INTEGER_SET): New name for the macros previously same-named but
628       without `GENERIC_'.
629       (scm_r6rs_bytevector_{u16,s16}_{ref,set_x}): New.
630     
631     * tests/bytevector.test: New tests.
633     modified files:
634      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
635      tests/bytevector.test
638 2007-02-08 10:44:42 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-3
640     Summary:
641       Use Gnulib's `byteswap' module.
642     Revision:
643       guile-r6rs-libs--devo--0--patch-3
645     * Makefile.am (SUBDIRS): Added `lib'.
646       (ACLOCAL_AMFLAGS): New.
647     
648     * configure.ac: (AC_CONFIG_MACRO_DIR): New.
649       (gl_INIT, gl_EARLY): New.
650       No longer check for <byteswap.h>.  Output `lib/Makefile'.
651     
652     * src/bytevector.c: Include <byteswap.h> unconditionally.
653       (non_native_byteswap_16, non_native_byteswap_32): Removed, use
654       `bswap_{16,32}' directly.
655       (bswap_24): New macro (unused).
656     
657     * tests/Makefile.am (check_DATA): Renamed to `EXTRA_DIST'.
659     new files:
660      m4/.arch-ids/=id m4/.arch-ids/gnulib-cache.m4.id
661      m4/.arch-inventory m4/gnulib-cache.m4
663     modified files:
664      .arch-inventory ChangeLog Makefile.am configure.ac
665      src/bytevector.c tests/Makefile.am
667     new directories:
668      m4 m4/.arch-ids
671 2007-02-08 10:03:37 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-2
673     Summary:
674       Bytevectors Section 2.3: "Operations on Integers of Arbitrary Size"
675     Revision:
676       guile-r6rs-libs--devo--0--patch-2
678     * modules/r6rs/bytevector.scm: Export the procedures from Section 2.3.
679     
680     * src/bytevector.c (is_signed_int8, is_unsigned_int8, is_signed_int16,
681       is_unsigned_int16): New macros.
682       (bytevector_signed_ref, bytevector_unsigned_ref, bytevector_signed_set,
683       bytevector_unsigned_set): New inlines.
684       (scm_r6rs_bytevector_uint_ref, scm_r6rs_bytevector_sint_ref,
685       scm_r6rs_bytevector_uint_set, scm_r6rs_bytevector_sint_set): Use them.
686       (INTEGERS_TO_LIST, INTEGER_LIST_TO_BYTEVECTOR): New macros.
687       (scm_r6rs_bytevector_to_uint_list, scm_r6rs_bytevector_to_sint_list,
688       scm_r6rs_uint_list_to_bytevector, scm_r6rs_sint_list_to_bytevector):
689       New.
690     
691     * tests/bytevector.test: New tests.  
693     modified files:
694      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
695      tests/bytevector.test
698 2007-02-07 16:28:08 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-1
700     Summary:
701       Finished bytevectors Section 2.2: "Operations on Bytes and Octets".
702     Revision:
703       guile-r6rs-libs--devo--0--patch-1
705     * configure.ac: No longer look for <arpa/inet.h>; look for <byteswap.h>
706       and <limits.h>.  No longer look for `htons ()' and friends.
707     
708     * modules/r6rs/bytevector.scm: Updated exports.
709       (endianness): Fixed.
710     
711     * src/bytevector.c: Include <limits.h> and <byteswap.h>
712       (non_native_byteswap_16, non_native_byteswap_32): Fixed.
713       (twos_complement): New.
714       (bytevector_large_ref): Fixed.
715       (bytevector_large_set): New.
716       (INTEGER_ACCESSOR_PROLOGUE): New.
717       (INTEGER_SET): New.
718       (scm_r6rs_bytevector_uint_set_x, scm_r6rs_bytevector_sint_set_x): New.
719     
720     * tests/bytevector.test: New tests.
722     modified files:
723      ChangeLog configure.ac modules/r6rs/bytevector.scm
724      src/bytevector.c tests/bytevector.test
727 2007-02-06 15:51:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      base-0
729     Summary:
730       initial import
731     Revision:
732       guile-r6rs-libs--devo--0--base-0
734     
735     (automatically generated log message)
737     new files:
738      AUTHORS COPYING ChangeLog INSTALL Makefile.am NEWS README
739      configure.ac modules/Makefile.am modules/r6rs/bytevector.scm
740      modules/test-suite/lib.scm pre-inst-guile.in src/Makefile.am
741      src/bytevector.c tests/Makefile.am tests/bytevector.test