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-08-03 09:53:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-43
10 guile-r6rs-libs--devo--0--patch-43
14 ChangeLog m4/.arch-inventory
17 2007-08-03 09:52:32 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-42
20 Import Gnulib's `string'; improved `configure.ac'.
22 guile-r6rs-libs--devo--0--patch-42
24 * configure.ac: Changed email address. Pass useful options to
25 `AM_INIT_AUTOMAKE'. Invoke `gl_INIT' after `gl_EARLY'. Don't look for
28 * m4/gnulib-cache.m4: Added `string'.
31 ChangeLog configure.ac m4/gnulib-cache.m4
34 2007-08-03 09:45:44 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-41
39 guile-r6rs-libs--devo--0--patch-41
46 2007-08-03 09:31:44 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-40
51 guile-r6rs-libs--devo--0--patch-40
53 * src/Makefile.am (CLEAN_FILES): Renamed to `CLEANFILES' (had no effect).
54 (BUILT_SOURCES): Renamed files from `.c.x' to `.x'.
55 (libguile_r6rs_libs_v_0_la_LIBADD): Pass the full patch of `libgnu.la'.
57 (%.c.x): Removed, to avoid pointlessly relying on a GNU Make extension.
60 * src/bytevector.c (scm_init_r6rs_bytevector): Changed from `.c.x' to
63 * src/ports.c (scm_init_r6rs_ports): Likewise.
66 ChangeLog src/Makefile.am src/bytevector.c src/ports.c
69 2007-08-03 09:20:09 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-39
72 Use GCC warnings-as-errors by default.
74 guile-r6rs-libs--devo--0--patch-39
76 * configure.ac: If `$GCC' is "yes", preprend "-Wall -Werror" to `$CFLAGS'.
79 ChangeLog configure.ac
82 2007-08-03 09:12:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-38
85 bytevector: IEEE754 unaligned access fixes.
87 guile-r6rs-libs--devo--0--patch-38
89 * src/bytevector.c (IEEE754_REF): Use `memcpy' rather than raw
90 dereferences to avoid unaligned accesses and "bus errors" on SPARC.
91 (IEEE754_NATIVE_REF): Likewise.
92 (IEEE754_SET): Likewise.
93 (IEEE754_NATIVE_SET): Likewise.
95 * tests/bytevector.test (2.6 Operations on IEEE-754 Numbers)
96 [bytevector-ieee-single-{ref,set!} [unaligned]]: New.
99 ChangeLog src/bytevector.c tests/bytevector.test
102 2007-08-03 08:52:04 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-37
105 bytevector: More integer unaligned accesses fixes.
107 guile-r6rs-libs--devo--0--patch-37
109 * src/bytevector.c (INTEGER_REF): Use `memcpy ()' instead of raw
110 dereferences, to avoid unaligned accesses and bus errors.
111 (INTEGER_NATIVE_REF): Likewise.
112 (INTEGER_SET): Likewise.
113 (INTEGER_NATIVE_SET): Likewise.
115 * tests/bytevector.test (2.4 Operations on 16-Bit
116 Integers)[bytevector-s16-ref [unaligned]]: New.
117 [bytevector-s16-{ref,set!} [unaligned]]: New.
120 ChangeLog src/bytevector.c tests/bytevector.test
123 2007-08-03 08:28:05 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-36
126 bytevector: More unaligned access ("bus error") fixes.
128 guile-r6rs-libs--devo--0--patch-36
130 * src/bytevector.c (GENERIC_INTEGER_SET): Use `memcpy ()' instead of raw
131 cast+dereferences to avoid unaligned accesses on SPARC.
133 * tests/bytevector.test (2.2 Operations on Bytes and
134 Octets)[bytevector-sint-set! [small]]: New.
137 ChangeLog src/bytevector.c tests/bytevector.test
140 2007-08-02 16:51:52 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-35
143 bytevector: Fixed "bus error" on SPARC.
145 guile-r6rs-libs--devo--0--patch-35
147 * src/bytevector.c (GENERIC_INTEGER_REF): Use `memcpy ()' rather than
148 dereferences of casts to avoid "bus error" due to unaligned memory
149 accesses on architectures such as SPARC.
152 ChangeLog src/bytevector.c
155 2007-05-21 16:14:44 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-34
160 guile-r6rs-libs--devo--0--patch-34
162 * src/Makefile.am (libguile_r6rs_libs_v_0_la_LIBADD): Added `libgnu'.
164 * tests/run-test.scm: Use `primitive-load' instead of `load' since the
165 latter resolve file names relative to the previously-loaded file,
166 making out-of-tree `make checks' fail.
169 ChangeLog src/Makefile.am tests/run-test.scm
172 2007-03-04 18:38:56 GMT Ludovic Courtes <ludovic.courtes@laas.fr> patch-33
175 Switched to version 0.1.
177 guile-r6rs-libs--devo--0--patch-33
179 * configure.ac: Bumped version to 0.1.
182 ChangeLog configure.ac
185 2007-03-03 10:48:41 GMT Ludovic Courtes <ludovic.courtes@laas.fr> patch-32
190 guile-r6rs-libs--devo--0--patch-32
192 * STATUS: Added a foot note for "I/O".
194 * modules/r6rs/i/o/ports.scm (call-with-port): Removed the comment about
195 lack of clarity of the spec.
198 ChangeLog STATUS modules/r6rs/i/o/ports.scm
201 2007-02-26 13:42:16 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-31
204 I/O: Small fixes in `get-bytevector-n' and `get-bytevector-n!'.
206 guile-r6rs-libs--devo--0--patch-31
208 * src/ports.c (scm_r6rs_get_bytevector_n): Don't invoke `scm_c_read ()'
209 when C_COUNT is zero since it may block. Don't return EOF when both
210 C_READ and C_COUNT are zero; return the empty bytevector instead.
211 (scm_r6rs_get_bytevector_n_x): Likewise.
214 ChangeLog src/ports.c
217 2007-02-25 15:40:53 GMT Ludovic Courtes <ludovic.courtes@laas.fr> patch-30
220 Implemented inlined bytevectors.
222 guile-r6rs-libs--devo--0--patch-30
224 * src/bytevector.c (SCM_R6RS_BYTEVECTOR_SET_LENGTH,
225 SCM_R6RS_BYTEVECTOR_SET_CONTENTS): New macros.
226 (scm_r6rs_null_bytevector): New.
227 (make_bytevector_from_buffer): New.
228 (make_bytevector): Check whether LEN is inlineable and only allocate
229 when non-inlineable. Don't take a CONTENTS argument: allocate space here.
230 (scm_r6rs_c_make_bytevector): Updated.
231 (scm_r6rs_c_take_bytevector): Check whether LEN is inlineable.
232 (scm_r6rs_i_shrink_bytevector): New.
233 (free_bytevector): Only free when BV is in-line.
234 (scm_r6rs_make_bytevector): Updated.
235 (scm_r6rs_bytevector_copy): Likewise.
236 (scm_r6rs_u8_list_to_bytevector): Likewise.
237 (INTEGER_LIST_TO_BYTEVECTOR): Likewise.
238 (scm_init_r6rs_bytevector): Initialize SCM_R6RS_NULL_BYTEVECTOR.
240 * src/bytevector.h (SCM_R6RS_BYTEVECTOR_CONTENTS): Check whether BV is
241 inline and return the appropriate pointer.
242 (SCM_R6RS_BYTEVECTOR_INLINE_THRESHOLD,
243 SCM_R6RS_BYTEVECTOR_INLINEABLE_SIZE_P, SCM_R6RS_BYTEVECTOR_INLINE_P):
245 (scm_r6rs_c_shrink_bytevector): New macro.
246 (scm_r6rs_i_shrink_bytevector, scm_r6rs_null_bytevector): New
249 * src/ports.c (scm_r6rs_get_bytevector_n): Use
250 `scm_r6rs_c_make_bytevector ()' instead of custom memory management.
251 At the end, use `scm_r6rs_c_shrink_bytevector ()'.
254 ChangeLog src/bytevector.c src/bytevector.h src/ports.c
257 2007-02-23 15:02:03 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-29
260 Bytevectors: Fixed `bytevector->[us]int-list' for empty vectors.
262 guile-r6rs-libs--devo--0--patch-29
264 * src/bytevector.c (INTEGERS_TO_LIST): Properly handle C_LEN == 0.
265 (scm_r6rs_bytevector_to_uint_list): Fixed `FUNC_NAME'.
267 * tests/bytevector.test (2.3 Operations on Integers of Arbitrary
268 Size)[bytevector->uint-list [empty]]: New test.
271 ChangeLog src/bytevector.c tests/bytevector.test
274 2007-02-23 09:40:05 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-28
277 Bytevector output ports: Optimized buffer growing.
279 guile-r6rs-libs--devo--0--patch-28
281 * src/ports.c (bop_buffer_grow): Take a MIN_SIZE parameter. Perform only
282 one malloc/realloc after having computed a suitable size.
283 (bop_write): Updated accordingly.
286 ChangeLog src/ports.c
289 2007-02-22 17:59:01 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-27
292 ports: Added `open-bytevector-output-port'.
294 guile-r6rs-libs--devo--0--patch-27
296 * modules/r6rs/i/o/ports.scm: Export `open-bytevector-output-port'.
298 * src/ports.c: Include <string.h>.
299 (transcoders_not_implemented): New.
300 (scm_r6rs_open_bytevector_input_port): Use it.
301 (bytevector_output_port_type): New.
302 (SCM_GC_BOP, SCM_BOP_BUFFER_INITIAL_SIZE, SCM_R6RS_BOP_BUFFER,
303 SCM_R6RS_SET_BOP_BUFFER): New macros.
304 (scm_t_bop_buffer): New type.
305 (bop_buffer_init, bop_buffer_grow): New functions.
306 (make_bop, bop_free, bop_write, bop_seek): New.
307 (bop_proc_apply, bop_proc_mark): New.
308 (scm_r6rs_open_bytevector_output_port): New.
309 (initialize_bytevector_output_ports): New.
310 (scm_init_r6rs_ports): Call it.
312 * src/ports.h: Updated.
314 * tests/io-ports.test: Use `srfi-11'.
315 (7.2.11 Binary Output)[open-bytevector-output-port]: New test.
316 [bytevector output port supports `port-position']: New test.
319 ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
323 2007-02-22 15:07:35 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-26
326 ports: Fixed seeking for custom binary input ports.
328 guile-r6rs-libs--devo--0--patch-26
330 * src/ports.c (cbip_seek): Fixed.
332 * tests/io-ports.test (7.2.7 Input Ports)[custom binary input port does
333 not support `port-position']: New test.
334 [custom binary input port supports `port-position']: New test.
337 ChangeLog src/ports.c tests/io-ports.test
340 2007-02-22 14:49:22 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-25
343 Implemented `seek' support for bytevector input ports.
345 guile-r6rs-libs--devo--0--patch-25
347 * src/ports.c (bip_seek): New.
348 (initialize_bytevector_input_ports): Use it.
350 * tests/io-ports.test (7.2.7 Input Ports)[bytevector input port supports
354 ChangeLog src/ports.c tests/io-ports.test
357 2007-02-22 14:30:46 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-24
360 Added missing procedures from Section 7.2.6, "Input and Output Ports".
362 guile-r6rs-libs--devo--0--patch-24
364 * modules/r6rs/i/o/ports.scm (port-transcoder, binary-input-port?,
365 transcoded-port, port-position, set-port-position!,
366 port-has-port-position?, port-has-set-port-position!?, call-with-port):
370 ChangeLog modules/r6rs/i/o/ports.scm
373 2007-02-22 13:49:16 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-23
376 Added support for custom binary input ports.
378 guile-r6rs-libs--devo--0--patch-23
380 * modules/r6rs/i/o/ports.scm: Export `make-custom-binary-input-port'.
382 * src/ports.c (bip_fill_input): Don't increment C_PORT->READ_POS in the
384 (custom_binary_input_port_type): New.
385 (CBIP_BUFFER_SIZE, SCM_R6RS_CBIP_*): New macros.
386 (make_cbip, cbip_mark, cbip_fill_input, cbip_seek, cbip_close,
387 scm_r6rs_make_custom_binary_input_port,
388 initialize_custom_binary_input_ports): New functions.
389 (scm_init_r6rs_ports): Invoke `initialize_custom_binary_input_ports ()'.
391 * src/ports.h: Updated accordingly.
393 * tests/io-ports.test: Moved "7.2.7 Input Ports" to the bottom.
394 (7.2.7 Input Ports)[make-custom-binary-input-port]: New test.
397 ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
401 2007-02-20 16:59:05 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-22
404 Have the test suite exit with an error status upon failure.
406 guile-r6rs-libs--devo--0--patch-22
408 * tests/Makefile.am (TESTS_ENVIRONMENT): Appended
409 `$(srcdir)/run-test.scm'.
410 (EXTRA_DIST): Added `run-test.scm'.
416 ChangeLog tests/Makefile.am
419 2007-02-20 16:40:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-21
422 Bytevectors: Added support for IEEE-754 single-precision numbers.
424 guile-r6rs-libs--devo--0--patch-21
426 * modules/r6rs/bytevector.scm: Export the `ieee-single' procedures.
428 * src/bytevector.c (IEEE754_TO_SCM): Always use `scm_from_double ()'.
429 (IEEE754_FROM_SCM): Always use `scm_to_double ()'.
430 (IEEE754_ACCESSOR_PROLOGUE): Multiply `sizeof (_type)' by 8.
431 (scm_r6rs_bytevector_ieee_single_ref,
432 scm_r6rs_bytevector_ieee_single_native_ref,
433 scm_r6rs_bytevector_ieee_single_set_x,
434 scm_r6rs_bytevector_ieee_single_native_set_x): New functions.
436 * src/bytevector.h: Updated accordingly.
438 * tests/bytevector.test: Added tests for the `ieee-single' procedures.
441 ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
442 src/bytevector.h tests/bytevector.test
445 2007-02-20 15:07:48 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-20
448 Templatized the IEEE-754 double-precision code.
450 guile-r6rs-libs--devo--0--patch-20
452 * src/Makefile.am (noinst_HEADERS): Reflect renaming of
453 `ieee754-double.h' to `ieee-754.h'.
455 * src/bytevector.c: Include "ieee-754.h".
456 (float_to_foreign_endianness, float_from_foreign_endianness): New.
457 (IEEE754_UNION, IEEE754_TO_SCM, IEEE754_FROM_SCM,
458 IEEE754_FROM_FOREIGN_ENDIANNESS, IEEE754_TO_FOREIGN_ENDIANNESS): New.
459 (DOUBLE_*): Renamed to `IEEE754_*'. Take a TYPE parameter. Updated
462 * src/ieee-754.h (scm_r6rs_ieee754_float): New union.
463 (ieee754_double): Renamed to `scm_r6rs_ieee754_double'.
466 ChangeLog src/Makefile.am src/bytevector.c src/ieee-754.h
469 src/.arch-ids/ieee754-double.h.id
470 ==> src/.arch-ids/ieee-754.h.id
475 2007-02-15 16:08:50 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-19
478 Added support for bytevector input ports (Section 7.2.7).
480 guile-r6rs-libs--devo--0--patch-19
482 * modules/r6rs/i/o/ports.scm: Export `open-bytevector-input-port'.
484 * src/ports.c (bytevector_input_port_type): New.
485 (make_bip, bip_mark, bip_fill_input): New.
486 (initialize_bytevector_input_ports): New.
487 (scm_r6rs_open_bytevector_input_port): New.
488 (scm_init_r6rs_ports): Invoke `initialize_bytevector_input_ports ()'.
490 * src/ports.h: Updated.
492 * tests/io-ports.test (7.2.7 Input Ports): New test prefix.
495 ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
499 2007-02-14 16:22:55 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-18
502 bytevector: Fixed `large_set' with zero.
504 guile-r6rs-libs--devo--0--patch-18
506 * src/bytevector.c (bytevector_large_set): Handle zero using `memset ()'
507 instead of `mpz_export ()' since the latter would write nothing to C_BV
510 * tests/bytevector.test (2.5(bis) Operations on 64-bit Integers)[ref/set!
511 with zero]: New test.
514 ChangeLog src/bytevector.c tests/bytevector.test
517 2007-02-14 09:16:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-17
520 Fixed installation of modules.
522 guile-r6rs-libs--devo--0--patch-17
524 * modules/Makefile.am (guilemoduledir): Removed `/r6rs'.
525 (dist_guilemodule_DATA): Renamed to...
526 (nobase_dist_guilemodule_DATA): New.
529 ChangeLog modules/Makefile.am
532 2007-02-13 16:04:45 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-16
537 guile-r6rs-libs--devo--0--patch-16
539 * src/Makefile.am (r6rsinclude_HEADERS): Added `ports.h'.
541 * src/ports.c: Include it.
542 (scm_r6rs_put_bytevector): Appropriately cast the result of
543 `SCM_R6RS_BYTEVECTOR_CONTENTS ()'.
549 ChangeLog src/Makefile.am src/ports.c
552 2007-02-13 15:48:23 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-15
555 Added an `eof-object' test, updated `STATUS'.
557 guile-r6rs-libs--devo--0--patch-15
559 * STATUS (I/O): Marked as partial.
561 * tests/io-ports.test (7.2.5 End-of-File Object): New test prefix.
564 ChangeLog STATUS tests/io-ports.test
567 2007-02-13 15:15:21 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-14
570 Implemented binary output (Section 7.2.11).
572 guile-r6rs-libs--devo--0--patch-14
574 * modules/r6rs/i/o/ports.scm: Export `put-u8' and `put-bytevector'.
576 * src/ports.c (SCM_VALIDATE_R6RS_BINARY_INPUT_PORT): Alias
577 `SCM_VALIDATE_INPUT_PORT' instead of just `SCM_VALIDATE_PORT'.
578 (scm_r6rs_get_u8): Return an unsigned char.
579 (SCM_VALIDATE_R6RS_BINARY_OUTPUT_PORT): New.
580 (scm_r6rs_put_u8, scm_r6rs_put_bytevector): New.
582 * tests/io-ports.test: Use `(srfi srfi-1)'. Added new tests.
585 ChangeLog modules/r6rs/i/o/ports.scm src/ports.c
589 2007-02-13 14:20:00 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-13
592 Implemented binary input (Section 7.2.8).
594 guile-r6rs-libs--devo--0--patch-13
596 * modules/Makefile.am (dist_guilemodule_DATA): Added
597 `r6rs/i/o/ports.scm'.
599 * src/Makefile.am (BUILT_SOURCES): Added `ports.c.x'.
600 (CLEAN_FILES): Likewise.
601 (libguile_r6rs_libs_v_0_la_SOURCES): Added `ports.c'.
602 (CPPFLAGS): Renamed to `AM_CPPFLAGS'.
603 (noinst_HEADERS): Added `utils.h'.
604 (snarfcppopts): Added `$(AM_CPPFLAGS)'.
606 * src/bytevector.c: Include "utils.h".
607 (EXPECT): Moved to "utils.h".
608 (SCM_VALIDATE_R6RS_BYTEVECTOR, SCM_R6RS_BYTEVECTOR_LENGTH,
609 SCM_R6RS_BYTEVECTOR_LENGTH): Likewise.
610 (scm_r6rs_c_make_bytevector, scm_r6rs_c_take_bytevector): New.
611 (free_bytevector): Check for NULL bytevectors.
613 * src/bytevector.h: Updated accordingly.
615 * tests/Makefile.am (TESTS): Added `io-ports.test'.
616 (EXTRA_DIST): Likewise.
619 modules/r6rs/i/.arch-ids/=id modules/r6rs/i/o/.arch-ids/=id
620 modules/r6rs/i/o/ports.scm src/ports.c src/utils.h
624 ChangeLog modules/Makefile.am src/Makefile.am src/bytevector.c
625 src/bytevector.h tests/Makefile.am
628 modules/r6rs/i modules/r6rs/i/.arch-ids modules/r6rs/i/o
629 modules/r6rs/i/o/.arch-ids
632 2007-02-12 14:39:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-12
635 Fixed various build glitches.
637 guile-r6rs-libs--devo--0--patch-12
639 * modules/Makefile.am (guilemodule_DATA): Renamed to...
640 (dist_guilemodule_DATA): New.
642 * pre-inst-guile.in: Use the new library name.
644 * src/Makefile.am (CPPFLAGS): New.
647 ChangeLog modules/Makefile.am pre-inst-guile.in
651 2007-02-12 14:30:43 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-11
656 guile-r6rs-libs--devo--0--patch-11
658 * configure.ac: Use `guile-r6rs-libs' as the project name rather than
661 * src/Makefile.am: Renamed library from `libguile-r6rs-v0' to
662 `libguile-r6rs-libs-v-0'.
664 * modules/r6rs/bytevector.scm: Updated.
667 .arch-ids/STATUS.id STATUS
670 ChangeLog configure.ac modules/r6rs/bytevector.scm
674 2007-02-09 15:59:23 GMT Ludovic Courtes <ludovic.courtes@laas.fr> patch-10
677 Bytevectors: Fixed typo in IEEE-double endianness conversion.
679 guile-r6rs-libs--devo--0--patch-10
681 * src/bytevector.c (double_to_foreign_endianness): Fixed the
682 !WORD_BIGENDIAN case.
685 ChangeLog src/bytevector.c
688 2007-02-09 14:43:17 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-9
691 Bytevectors: Added a "printer" for the SMOB type.
693 guile-r6rs-libs--devo--0--patch-9
695 * src/bytevector.c (print_bytevector): New.
698 ChangeLog src/bytevector.c
701 2007-02-09 13:29:52 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-8
704 Bytevectors: Added support for IEEE-754 endianness conversion.
706 guile-r6rs-libs--devo--0--patch-8
708 * src/Makefile.am (noinst_HEADERS): New.
710 * src/bytevector.c: Include "ieee754-double.h".
711 (double_to_foreign_endianness): New.
712 (double_from_foreign_endianness): New.
713 (DOUBLE_REF): Use it.
714 (DOUBLE_SET): Likewise.
716 * tests/bytevector.test: New test.
719 src/.arch-ids/ieee754-double.h.id src/ieee754-double.h
722 ChangeLog src/Makefile.am src/bytevector.c
723 tests/bytevector.test
726 2007-02-08 17:43:18 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-7
729 Added "bytevector.h".
731 guile-r6rs-libs--devo--0--patch-7
733 * src/Makefile.am (r6rsincludedir): New.
734 (r6rsinclude_HEADERS): New.
736 * src/bytevector.c: Include "bytevector.h".
742 ChangeLog src/Makefile.am src/bytevector.c
745 2007-02-08 17:21:49 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-6
748 Partial impl. of Section 2.6, "Operations on IEEE-754 Numbers".
750 guile-r6rs-libs--devo--0--patch-6
752 * modules/r6rs/bytevector.scm: Export the ` ieee-double' procedures.
754 * src/bytevector.c (DOUBLE_ACCESSOR_PROLOGUE, DOUBLE_REF, DOUBLE_SET,
755 DOUBLE_NATIVE_REF, DOUBLE_NATIVE_SET): New macros.
756 (scm_r6rs_*ieee_double*): New.
758 * tests/bytevector.test: New ieee-double tests, native endianness only.
761 ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
762 tests/bytevector.test
765 2007-02-08 16:43:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-5
768 Section 2.5: Operations on 32- and 64-bit Integers.
770 guile-r6rs-libs--devo--0--patch-5
772 * modules/r6rs/bytevector.scm: Exported the 32/64 functions.
774 * src/bytevector.c (SIGNEDNESS_signed, SIGNEDNESS_unsigned, SIGNEDNESS):
776 (BV_SIGNED_signed, BV_SIGNED_unsigned): Removed.
777 (GENERIC_INTEGER_REF): Use `SIGNEDNESS ()'.
778 (GENERIC_INTEGER_SET): Likewise.
779 (LARGE_INTEGER_REF, LARGE_INTEGER_SET, LARGE_INTEGER_NATIVE_REF,
780 LARGE_INTEGER_NATIVE_SET): New macros.
781 (scm_r6rs_bytevector_*{32,64}*): New functions.
783 * tests/bytevector.test: Improved the 16-bit tests. New tests.
785 * configure.ac: Check for `sizeof (void *)'.
788 ChangeLog configure.ac modules/r6rs/bytevector.scm
789 src/bytevector.c tests/bytevector.test
792 2007-02-08 14:49:11 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-4
795 Section 2.4: Operations on 16-bit Integers.
797 guile-r6rs-libs--devo--0--patch-4
799 * modules/r6rs/bytevector.scm: Export the s16/u16 procedures.
801 * src/bytevector.c (INT_TYPE, INT_SWAP, INT_VALID_P): New macros.
802 (INTEGER_ACCESSOR_PROLOGUE, INTEGER_REF, INTEGER_NATIVE_REF,
803 INTEGER_SET, INTEGER_NATIVE_SET): New macros.
804 (OCTET_ACCESSOR_PROLOGUE): Removed.
805 (scm_r6rs_bytevector_{u8,s8}_{ref,set_x}): Use the new macros.
806 (GENERIC_INTEGER_ACCESSOR_PROLOGUE, GENERIC_INTEGER_REF,
807 GENERIC_INTEGER_SET): New name for the macros previously same-named but
809 (scm_r6rs_bytevector_{u16,s16}_{ref,set_x}): New.
811 * tests/bytevector.test: New tests.
814 ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
815 tests/bytevector.test
818 2007-02-08 10:44:42 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-3
821 Use Gnulib's `byteswap' module.
823 guile-r6rs-libs--devo--0--patch-3
825 * Makefile.am (SUBDIRS): Added `lib'.
826 (ACLOCAL_AMFLAGS): New.
828 * configure.ac: (AC_CONFIG_MACRO_DIR): New.
829 (gl_INIT, gl_EARLY): New.
830 No longer check for <byteswap.h>. Output `lib/Makefile'.
832 * src/bytevector.c: Include <byteswap.h> unconditionally.
833 (non_native_byteswap_16, non_native_byteswap_32): Removed, use
834 `bswap_{16,32}' directly.
835 (bswap_24): New macro (unused).
837 * tests/Makefile.am (check_DATA): Renamed to `EXTRA_DIST'.
840 m4/.arch-ids/=id m4/.arch-ids/gnulib-cache.m4.id
841 m4/.arch-inventory m4/gnulib-cache.m4
844 .arch-inventory ChangeLog Makefile.am configure.ac
845 src/bytevector.c tests/Makefile.am
851 2007-02-08 10:03:37 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-2
854 Bytevectors Section 2.3: "Operations on Integers of Arbitrary Size"
856 guile-r6rs-libs--devo--0--patch-2
858 * modules/r6rs/bytevector.scm: Export the procedures from Section 2.3.
860 * src/bytevector.c (is_signed_int8, is_unsigned_int8, is_signed_int16,
861 is_unsigned_int16): New macros.
862 (bytevector_signed_ref, bytevector_unsigned_ref, bytevector_signed_set,
863 bytevector_unsigned_set): New inlines.
864 (scm_r6rs_bytevector_uint_ref, scm_r6rs_bytevector_sint_ref,
865 scm_r6rs_bytevector_uint_set, scm_r6rs_bytevector_sint_set): Use them.
866 (INTEGERS_TO_LIST, INTEGER_LIST_TO_BYTEVECTOR): New macros.
867 (scm_r6rs_bytevector_to_uint_list, scm_r6rs_bytevector_to_sint_list,
868 scm_r6rs_uint_list_to_bytevector, scm_r6rs_sint_list_to_bytevector):
871 * tests/bytevector.test: New tests.
874 ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
875 tests/bytevector.test
878 2007-02-07 16:28:08 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-1
881 Finished bytevectors Section 2.2: "Operations on Bytes and Octets".
883 guile-r6rs-libs--devo--0--patch-1
885 * configure.ac: No longer look for <arpa/inet.h>; look for <byteswap.h>
886 and <limits.h>. No longer look for `htons ()' and friends.
888 * modules/r6rs/bytevector.scm: Updated exports.
891 * src/bytevector.c: Include <limits.h> and <byteswap.h>
892 (non_native_byteswap_16, non_native_byteswap_32): Fixed.
893 (twos_complement): New.
894 (bytevector_large_ref): Fixed.
895 (bytevector_large_set): New.
896 (INTEGER_ACCESSOR_PROLOGUE): New.
898 (scm_r6rs_bytevector_uint_set_x, scm_r6rs_bytevector_sint_set_x): New.
900 * tests/bytevector.test: New tests.
903 ChangeLog configure.ac modules/r6rs/bytevector.scm
904 src/bytevector.c tests/bytevector.test
907 2007-02-06 15:51:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr> base-0
912 guile-r6rs-libs--devo--0--base-0
915 (automatically generated log message)
918 AUTHORS COPYING ChangeLog INSTALL Makefile.am NEWS README
919 configure.ac modules/Makefile.am modules/r6rs/bytevector.scm
920 modules/test-suite/lib.scm pre-inst-guile.in src/Makefile.am
921 src/bytevector.c tests/Makefile.am tests/bytevector.test