Switched to version 0.1.
[guile-r6rs-libs.git] / ChangeLog
blob47e64f3a1a363ec0319754b6f6e6029137f2eea7
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-04 18:38:56 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-33
7     Summary:
8       Switched to version 0.1.
9     Revision:
10       guile-r6rs-libs--devo--0--patch-33
12     * configure.ac: Bumped version to 0.1.
14     modified files:
15      ChangeLog configure.ac
18 2007-03-03 10:48:41 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-32
20     Summary:
21       Cosmetic changes.
22     Revision:
23       guile-r6rs-libs--devo--0--patch-32
25     * STATUS: Added a foot note for "I/O".
26     
27     * modules/r6rs/i/o/ports.scm (call-with-port): Removed the comment about
28       lack of clarity of the spec.
30     modified files:
31      ChangeLog STATUS modules/r6rs/i/o/ports.scm
34 2007-02-26 13:42:16 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-31
36     Summary:
37       I/O: Small fixes in `get-bytevector-n' and `get-bytevector-n!'.
38     Revision:
39       guile-r6rs-libs--devo--0--patch-31
41     * src/ports.c (scm_r6rs_get_bytevector_n): Don't invoke `scm_c_read ()'
42       when C_COUNT is zero since it may block.  Don't return EOF when both
43       C_READ and C_COUNT are zero; return the empty bytevector instead.
44       (scm_r6rs_get_bytevector_n_x): Likewise.
46     modified files:
47      ChangeLog src/ports.c
50 2007-02-25 15:40:53 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-30
52     Summary:
53       Implemented inlined bytevectors.
54     Revision:
55       guile-r6rs-libs--devo--0--patch-30
57     * src/bytevector.c (SCM_R6RS_BYTEVECTOR_SET_LENGTH,
58       SCM_R6RS_BYTEVECTOR_SET_CONTENTS): New macros.
59       (scm_r6rs_null_bytevector): New.
60       (make_bytevector_from_buffer): New.
61       (make_bytevector): Check whether LEN is inlineable and only allocate
62       when non-inlineable.  Don't take a CONTENTS argument: allocate space here.
63       (scm_r6rs_c_make_bytevector): Updated.
64       (scm_r6rs_c_take_bytevector): Check whether LEN is inlineable.
65       (scm_r6rs_i_shrink_bytevector): New.
66       (free_bytevector): Only free when BV is in-line.
67       (scm_r6rs_make_bytevector): Updated.
68       (scm_r6rs_bytevector_copy): Likewise.
69       (scm_r6rs_u8_list_to_bytevector): Likewise.
70       (INTEGER_LIST_TO_BYTEVECTOR): Likewise.
71       (scm_init_r6rs_bytevector): Initialize SCM_R6RS_NULL_BYTEVECTOR.
72     
73     * src/bytevector.h (SCM_R6RS_BYTEVECTOR_CONTENTS): Check whether BV is
74       inline and return the appropriate pointer.
75       (SCM_R6RS_BYTEVECTOR_INLINE_THRESHOLD,
76       SCM_R6RS_BYTEVECTOR_INLINEABLE_SIZE_P, SCM_R6RS_BYTEVECTOR_INLINE_P):
77       New macros.
78       (scm_r6rs_c_shrink_bytevector): New macro.
79       (scm_r6rs_i_shrink_bytevector, scm_r6rs_null_bytevector): New
80       declarations.
81     
82     * src/ports.c (scm_r6rs_get_bytevector_n): Use
83       `scm_r6rs_c_make_bytevector ()' instead of custom memory management.
84       At the end, use `scm_r6rs_c_shrink_bytevector ()'.
86     modified files:
87      ChangeLog src/bytevector.c src/bytevector.h src/ports.c
90 2007-02-23 15:02:03 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-29
92     Summary:
93       Bytevectors: Fixed `bytevector->[us]int-list' for empty vectors.
94     Revision:
95       guile-r6rs-libs--devo--0--patch-29
97     * src/bytevector.c (INTEGERS_TO_LIST): Properly handle C_LEN == 0.
98       (scm_r6rs_bytevector_to_uint_list): Fixed `FUNC_NAME'.
99     
100     * tests/bytevector.test (2.3 Operations on Integers of Arbitrary
101       Size)[bytevector->uint-list [empty]]: New test.
103     modified files:
104      ChangeLog src/bytevector.c tests/bytevector.test
107 2007-02-23 09:40:05 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-28
109     Summary:
110       Bytevector output ports: Optimized buffer growing.
111     Revision:
112       guile-r6rs-libs--devo--0--patch-28
114     * src/ports.c (bop_buffer_grow): Take a MIN_SIZE parameter.  Perform only
115       one malloc/realloc after having computed a suitable size.
116       (bop_write): Updated accordingly.
118     modified files:
119      ChangeLog src/ports.c
122 2007-02-22 17:59:01 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-27
124     Summary:
125       ports: Added `open-bytevector-output-port'.
126     Revision:
127       guile-r6rs-libs--devo--0--patch-27
129     * modules/r6rs/i/o/ports.scm: Export `open-bytevector-output-port'.
130     
131     * src/ports.c: Include <string.h>.
132       (transcoders_not_implemented): New.
133       (scm_r6rs_open_bytevector_input_port): Use it.
134       (bytevector_output_port_type): New.
135       (SCM_GC_BOP, SCM_BOP_BUFFER_INITIAL_SIZE, SCM_R6RS_BOP_BUFFER,
136       SCM_R6RS_SET_BOP_BUFFER): New macros.
137       (scm_t_bop_buffer): New type.
138       (bop_buffer_init, bop_buffer_grow): New functions.
139       (make_bop, bop_free, bop_write, bop_seek): New.
140       (bop_proc_apply, bop_proc_mark): New.
141       (scm_r6rs_open_bytevector_output_port): New.
142       (initialize_bytevector_output_ports): New.
143       (scm_init_r6rs_ports): Call it.
144     
145     * src/ports.h: Updated.
146     
147     * tests/io-ports.test: Use `srfi-11'.
148       (7.2.11 Binary Output)[open-bytevector-output-port]: New test.
149       [bytevector output port supports `port-position']: New test.
151     modified files:
152      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
153      tests/io-ports.test
156 2007-02-22 15:07:35 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-26
158     Summary:
159       ports: Fixed seeking for custom binary input ports.
160     Revision:
161       guile-r6rs-libs--devo--0--patch-26
163     * src/ports.c (cbip_seek): Fixed.
164     
165     * tests/io-ports.test (7.2.7 Input Ports)[custom binary input port does
166       not support `port-position']: New test.
167       [custom binary input port supports `port-position']: New test.
169     modified files:
170      ChangeLog src/ports.c tests/io-ports.test
173 2007-02-22 14:49:22 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-25
175     Summary:
176       Implemented `seek' support for bytevector input ports.
177     Revision:
178       guile-r6rs-libs--devo--0--patch-25
180     * src/ports.c (bip_seek): New.
181       (initialize_bytevector_input_ports): Use it.
182     
183     * tests/io-ports.test (7.2.7 Input Ports)[bytevector input port supports
184       seeking]: New test.
186     modified files:
187      ChangeLog src/ports.c tests/io-ports.test
190 2007-02-22 14:30:46 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-24
192     Summary:
193       Added missing procedures from Section 7.2.6, "Input and Output Ports".
194     Revision:
195       guile-r6rs-libs--devo--0--patch-24
197     * modules/r6rs/i/o/ports.scm (port-transcoder, binary-input-port?,
198       transcoded-port, port-position, set-port-position!,
199       port-has-port-position?, port-has-set-port-position!?, call-with-port):
200       New.
202     modified files:
203      ChangeLog modules/r6rs/i/o/ports.scm
206 2007-02-22 13:49:16 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-23
208     Summary:
209       Added support for custom binary input ports.
210     Revision:
211       guile-r6rs-libs--devo--0--patch-23
213     * modules/r6rs/i/o/ports.scm: Export `make-custom-binary-input-port'.
214     
215     * src/ports.c (bip_fill_input): Don't increment C_PORT->READ_POS in the
216       `else' branch.
217       (custom_binary_input_port_type): New.
218       (CBIP_BUFFER_SIZE, SCM_R6RS_CBIP_*): New macros.
219       (make_cbip, cbip_mark, cbip_fill_input, cbip_seek, cbip_close,
220       scm_r6rs_make_custom_binary_input_port,
221       initialize_custom_binary_input_ports): New functions.
222       (scm_init_r6rs_ports): Invoke `initialize_custom_binary_input_ports ()'.
223     
224     * src/ports.h: Updated accordingly.
225     
226     * tests/io-ports.test: Moved "7.2.7 Input Ports" to the bottom.
227       (7.2.7 Input Ports)[make-custom-binary-input-port]: New test.
229     modified files:
230      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
231      tests/io-ports.test
234 2007-02-20 16:59:05 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-22
236     Summary:
237       Have the test suite exit with an error status upon failure.
238     Revision:
239       guile-r6rs-libs--devo--0--patch-22
241     * tests/Makefile.am (TESTS_ENVIRONMENT): Appended
242       `$(srcdir)/run-test.scm'.
243       (EXTRA_DIST): Added `run-test.scm'.
245     new files:
246      tests/run-test.scm
248     modified files:
249      ChangeLog tests/Makefile.am
252 2007-02-20 16:40:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-21
254     Summary:
255       Bytevectors: Added support for IEEE-754 single-precision numbers.
256     Revision:
257       guile-r6rs-libs--devo--0--patch-21
259     * modules/r6rs/bytevector.scm: Export the `ieee-single' procedures.
260     
261     * src/bytevector.c (IEEE754_TO_SCM): Always use `scm_from_double ()'.
262       (IEEE754_FROM_SCM): Always use `scm_to_double ()'.
263       (IEEE754_ACCESSOR_PROLOGUE): Multiply `sizeof (_type)' by 8.
264       (scm_r6rs_bytevector_ieee_single_ref,
265       scm_r6rs_bytevector_ieee_single_native_ref,
266       scm_r6rs_bytevector_ieee_single_set_x,
267       scm_r6rs_bytevector_ieee_single_native_set_x): New functions.
268     
269     * src/bytevector.h: Updated accordingly.
270     
271     * tests/bytevector.test: Added tests for the `ieee-single' procedures.
273     modified files:
274      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
275      src/bytevector.h tests/bytevector.test
278 2007-02-20 15:07:48 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-20
280     Summary:
281       Templatized the IEEE-754 double-precision code.
282     Revision:
283       guile-r6rs-libs--devo--0--patch-20
285     * src/Makefile.am (noinst_HEADERS): Reflect renaming of
286       `ieee754-double.h' to `ieee-754.h'.
287     
288     * src/bytevector.c: Include "ieee-754.h".
289       (float_to_foreign_endianness, float_from_foreign_endianness): New.
290       (IEEE754_UNION, IEEE754_TO_SCM, IEEE754_FROM_SCM,
291       IEEE754_FROM_FOREIGN_ENDIANNESS, IEEE754_TO_FOREIGN_ENDIANNESS): New.
292       (DOUBLE_*): Renamed to `IEEE754_*'.  Take a TYPE parameter.  Updated
293       users.
294     
295     * src/ieee-754.h (scm_r6rs_ieee754_float): New union.
296       (ieee754_double): Renamed to `scm_r6rs_ieee754_double'.
298     modified files:
299      ChangeLog src/Makefile.am src/bytevector.c src/ieee-754.h
301     renamed files:
302      src/.arch-ids/ieee754-double.h.id
303        ==> src/.arch-ids/ieee-754.h.id
304      src/ieee754-double.h
305        ==> src/ieee-754.h
308 2007-02-15 16:08:50 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-19
310     Summary:
311       Added support for bytevector input ports (Section 7.2.7).
312     Revision:
313       guile-r6rs-libs--devo--0--patch-19
315     * modules/r6rs/i/o/ports.scm: Export `open-bytevector-input-port'.
316     
317     * src/ports.c (bytevector_input_port_type): New.
318       (make_bip, bip_mark, bip_fill_input): New.
319       (initialize_bytevector_input_ports): New.
320       (scm_r6rs_open_bytevector_input_port): New.
321       (scm_init_r6rs_ports): Invoke `initialize_bytevector_input_ports ()'.
322     
323     * src/ports.h: Updated.
324     
325     * tests/io-ports.test (7.2.7 Input Ports): New test prefix.
327     modified files:
328      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c src/ports.h
329      tests/io-ports.test
332 2007-02-14 16:22:55 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-18
334     Summary:
335       bytevector: Fixed `large_set' with zero.
336     Revision:
337       guile-r6rs-libs--devo--0--patch-18
339     * src/bytevector.c (bytevector_large_set): Handle zero using `memset ()'
340       instead of `mpz_export ()' since the latter would write nothing to C_BV
341       (WORD_COUNT == 0).
342     
343     * tests/bytevector.test (2.5(bis) Operations on 64-bit Integers)[ref/set!
344       with zero]: New test.
346     modified files:
347      ChangeLog src/bytevector.c tests/bytevector.test
350 2007-02-14 09:16:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-17
352     Summary:
353       Fixed installation of modules.
354     Revision:
355       guile-r6rs-libs--devo--0--patch-17
357     * modules/Makefile.am (guilemoduledir): Removed `/r6rs'.
358       (dist_guilemodule_DATA): Renamed to...
359       (nobase_dist_guilemodule_DATA): New.
361     modified files:
362      ChangeLog modules/Makefile.am
365 2007-02-13 16:04:45 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-16
367     Summary:
368       Added `ports.h'.
369     Revision:
370       guile-r6rs-libs--devo--0--patch-16
372     * src/Makefile.am (r6rsinclude_HEADERS): Added `ports.h'.
373     
374     * src/ports.c: Include it.
375       (scm_r6rs_put_bytevector): Appropriately cast the result of
376       `SCM_R6RS_BYTEVECTOR_CONTENTS ()'.
378     new files:
379      src/ports.h
381     modified files:
382      ChangeLog src/Makefile.am src/ports.c
385 2007-02-13 15:48:23 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-15
387     Summary:
388       Added an `eof-object' test, updated `STATUS'.
389     Revision:
390       guile-r6rs-libs--devo--0--patch-15
392     * STATUS (I/O): Marked as partial.
393     
394     * tests/io-ports.test (7.2.5 End-of-File Object): New test prefix.
396     modified files:
397      ChangeLog STATUS tests/io-ports.test
400 2007-02-13 15:15:21 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-14
402     Summary:
403       Implemented binary output (Section 7.2.11).
404     Revision:
405       guile-r6rs-libs--devo--0--patch-14
407     * modules/r6rs/i/o/ports.scm: Export `put-u8' and `put-bytevector'.
408     
409     * src/ports.c (SCM_VALIDATE_R6RS_BINARY_INPUT_PORT): Alias
410       `SCM_VALIDATE_INPUT_PORT' instead of just `SCM_VALIDATE_PORT'.
411       (scm_r6rs_get_u8): Return an unsigned char.
412       (SCM_VALIDATE_R6RS_BINARY_OUTPUT_PORT): New.
413       (scm_r6rs_put_u8, scm_r6rs_put_bytevector): New.
414     
415     * tests/io-ports.test: Use `(srfi srfi-1)'.  Added new tests.
417     modified files:
418      ChangeLog modules/r6rs/i/o/ports.scm src/ports.c
419      tests/io-ports.test
422 2007-02-13 14:20:00 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-13
424     Summary:
425       Implemented binary input (Section 7.2.8).
426     Revision:
427       guile-r6rs-libs--devo--0--patch-13
429     * modules/Makefile.am (dist_guilemodule_DATA): Added
430       `r6rs/i/o/ports.scm'.
431     
432     * src/Makefile.am (BUILT_SOURCES): Added `ports.c.x'.
433       (CLEAN_FILES): Likewise.
434       (libguile_r6rs_libs_v_0_la_SOURCES): Added `ports.c'.
435       (CPPFLAGS): Renamed to `AM_CPPFLAGS'.
436       (noinst_HEADERS): Added `utils.h'.
437       (snarfcppopts): Added `$(AM_CPPFLAGS)'.
438     
439     * src/bytevector.c: Include "utils.h".
440       (EXPECT): Moved to "utils.h".
441       (SCM_VALIDATE_R6RS_BYTEVECTOR, SCM_R6RS_BYTEVECTOR_LENGTH,
442       SCM_R6RS_BYTEVECTOR_LENGTH): Likewise.
443       (scm_r6rs_c_make_bytevector, scm_r6rs_c_take_bytevector): New.
444       (free_bytevector): Check for NULL bytevectors.
445     
446     * src/bytevector.h: Updated accordingly.
447     
448     * tests/Makefile.am (TESTS): Added `io-ports.test'.
449       (EXTRA_DIST): Likewise.  
451     new files:
452      modules/r6rs/i/.arch-ids/=id modules/r6rs/i/o/.arch-ids/=id
453      modules/r6rs/i/o/ports.scm src/ports.c src/utils.h
454      tests/io-ports.test
456     modified files:
457      ChangeLog modules/Makefile.am src/Makefile.am src/bytevector.c
458      src/bytevector.h tests/Makefile.am
460     new directories:
461      modules/r6rs/i modules/r6rs/i/.arch-ids modules/r6rs/i/o
462      modules/r6rs/i/o/.arch-ids
465 2007-02-12 14:39:59 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-12
467     Summary:
468       Fixed various build glitches.
469     Revision:
470       guile-r6rs-libs--devo--0--patch-12
472     * modules/Makefile.am (guilemodule_DATA): Renamed to...
473       (dist_guilemodule_DATA): New.
474     
475     * pre-inst-guile.in: Use the new library name.
476     
477     * src/Makefile.am (CPPFLAGS): New.
479     modified files:
480      ChangeLog modules/Makefile.am pre-inst-guile.in
481      src/Makefile.am
484 2007-02-12 14:30:43 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-11
486     Summary:
487       Renamed the library.
488     Revision:
489       guile-r6rs-libs--devo--0--patch-11
491     * configure.ac: Use `guile-r6rs-libs' as the project name rather than
492       `guile-r6rs'.
493     
494     * src/Makefile.am: Renamed library from `libguile-r6rs-v0' to
495       `libguile-r6rs-libs-v-0'.
496     
497     * modules/r6rs/bytevector.scm: Updated.
499     new files:
500      .arch-ids/STATUS.id STATUS
502     modified files:
503      ChangeLog configure.ac modules/r6rs/bytevector.scm
504      src/Makefile.am
507 2007-02-09 15:59:23 GMT Ludovic Courtes <ludovic.courtes@laas.fr>       patch-10
509     Summary:
510       Bytevectors: Fixed typo in IEEE-double endianness conversion.
511     Revision:
512       guile-r6rs-libs--devo--0--patch-10
514     * src/bytevector.c (double_to_foreign_endianness): Fixed the
515       !WORD_BIGENDIAN case.
517     modified files:
518      ChangeLog src/bytevector.c
521 2007-02-09 14:43:17 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-9
523     Summary:
524       Bytevectors: Added a "printer" for the SMOB type.
525     Revision:
526       guile-r6rs-libs--devo--0--patch-9
528     * src/bytevector.c (print_bytevector): New.
530     modified files:
531      ChangeLog src/bytevector.c
534 2007-02-09 13:29:52 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-8
536     Summary:
537       Bytevectors: Added support for IEEE-754 endianness conversion.
538     Revision:
539       guile-r6rs-libs--devo--0--patch-8
541     * src/Makefile.am (noinst_HEADERS): New.
542     
543     * src/bytevector.c: Include "ieee754-double.h".
544       (double_to_foreign_endianness): New.
545       (double_from_foreign_endianness): New.
546       (DOUBLE_REF): Use it.
547       (DOUBLE_SET): Likewise.
548     
549     * tests/bytevector.test: New test.
551     new files:
552      src/.arch-ids/ieee754-double.h.id src/ieee754-double.h
554     modified files:
555      ChangeLog src/Makefile.am src/bytevector.c
556      tests/bytevector.test
559 2007-02-08 17:43:18 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-7
561     Summary:
562       Added "bytevector.h".
563     Revision:
564       guile-r6rs-libs--devo--0--patch-7
566     * src/Makefile.am (r6rsincludedir): New.
567       (r6rsinclude_HEADERS): New.
568     
569     * src/bytevector.c: Include "bytevector.h".
571     new files:
572      src/bytevector.h
574     modified files:
575      ChangeLog src/Makefile.am src/bytevector.c
578 2007-02-08 17:21:49 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-6
580     Summary:
581       Partial impl. of Section 2.6, "Operations on IEEE-754 Numbers".
582     Revision:
583       guile-r6rs-libs--devo--0--patch-6
585     * modules/r6rs/bytevector.scm: Export the ` ieee-double' procedures.
586     
587     * src/bytevector.c (DOUBLE_ACCESSOR_PROLOGUE, DOUBLE_REF, DOUBLE_SET,
588       DOUBLE_NATIVE_REF, DOUBLE_NATIVE_SET): New macros.
589       (scm_r6rs_*ieee_double*): New.
590     
591     * tests/bytevector.test: New ieee-double tests, native endianness only.
593     modified files:
594      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
595      tests/bytevector.test
598 2007-02-08 16:43:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-5
600     Summary:
601       Section 2.5: Operations on 32- and 64-bit Integers.
602     Revision:
603       guile-r6rs-libs--devo--0--patch-5
605     * modules/r6rs/bytevector.scm: Exported the 32/64 functions.
606     
607     * src/bytevector.c (SIGNEDNESS_signed, SIGNEDNESS_unsigned, SIGNEDNESS):
608       New macros.
609       (BV_SIGNED_signed, BV_SIGNED_unsigned): Removed.
610       (GENERIC_INTEGER_REF): Use `SIGNEDNESS ()'.
611       (GENERIC_INTEGER_SET): Likewise.
612       (LARGE_INTEGER_REF, LARGE_INTEGER_SET, LARGE_INTEGER_NATIVE_REF,
613       LARGE_INTEGER_NATIVE_SET): New macros.
614       (scm_r6rs_bytevector_*{32,64}*): New functions.
615     
616     * tests/bytevector.test: Improved the 16-bit tests.  New tests.
617     
618     * configure.ac: Check for `sizeof (void *)'.
620     modified files:
621      ChangeLog configure.ac modules/r6rs/bytevector.scm
622      src/bytevector.c tests/bytevector.test
625 2007-02-08 14:49:11 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-4
627     Summary:
628       Section 2.4: Operations on 16-bit Integers.
629     Revision:
630       guile-r6rs-libs--devo--0--patch-4
632     * modules/r6rs/bytevector.scm: Export the s16/u16 procedures.
633     
634     * src/bytevector.c (INT_TYPE, INT_SWAP, INT_VALID_P): New macros.
635       (INTEGER_ACCESSOR_PROLOGUE, INTEGER_REF, INTEGER_NATIVE_REF,
636       INTEGER_SET, INTEGER_NATIVE_SET): New macros.
637       (OCTET_ACCESSOR_PROLOGUE): Removed.
638       (scm_r6rs_bytevector_{u8,s8}_{ref,set_x}): Use the new macros.
639       (GENERIC_INTEGER_ACCESSOR_PROLOGUE, GENERIC_INTEGER_REF,
640       GENERIC_INTEGER_SET): New name for the macros previously same-named but
641       without `GENERIC_'.
642       (scm_r6rs_bytevector_{u16,s16}_{ref,set_x}): New.
643     
644     * tests/bytevector.test: New tests.
646     modified files:
647      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
648      tests/bytevector.test
651 2007-02-08 10:44:42 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-3
653     Summary:
654       Use Gnulib's `byteswap' module.
655     Revision:
656       guile-r6rs-libs--devo--0--patch-3
658     * Makefile.am (SUBDIRS): Added `lib'.
659       (ACLOCAL_AMFLAGS): New.
660     
661     * configure.ac: (AC_CONFIG_MACRO_DIR): New.
662       (gl_INIT, gl_EARLY): New.
663       No longer check for <byteswap.h>.  Output `lib/Makefile'.
664     
665     * src/bytevector.c: Include <byteswap.h> unconditionally.
666       (non_native_byteswap_16, non_native_byteswap_32): Removed, use
667       `bswap_{16,32}' directly.
668       (bswap_24): New macro (unused).
669     
670     * tests/Makefile.am (check_DATA): Renamed to `EXTRA_DIST'.
672     new files:
673      m4/.arch-ids/=id m4/.arch-ids/gnulib-cache.m4.id
674      m4/.arch-inventory m4/gnulib-cache.m4
676     modified files:
677      .arch-inventory ChangeLog Makefile.am configure.ac
678      src/bytevector.c tests/Makefile.am
680     new directories:
681      m4 m4/.arch-ids
684 2007-02-08 10:03:37 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-2
686     Summary:
687       Bytevectors Section 2.3: "Operations on Integers of Arbitrary Size"
688     Revision:
689       guile-r6rs-libs--devo--0--patch-2
691     * modules/r6rs/bytevector.scm: Export the procedures from Section 2.3.
692     
693     * src/bytevector.c (is_signed_int8, is_unsigned_int8, is_signed_int16,
694       is_unsigned_int16): New macros.
695       (bytevector_signed_ref, bytevector_unsigned_ref, bytevector_signed_set,
696       bytevector_unsigned_set): New inlines.
697       (scm_r6rs_bytevector_uint_ref, scm_r6rs_bytevector_sint_ref,
698       scm_r6rs_bytevector_uint_set, scm_r6rs_bytevector_sint_set): Use them.
699       (INTEGERS_TO_LIST, INTEGER_LIST_TO_BYTEVECTOR): New macros.
700       (scm_r6rs_bytevector_to_uint_list, scm_r6rs_bytevector_to_sint_list,
701       scm_r6rs_uint_list_to_bytevector, scm_r6rs_sint_list_to_bytevector):
702       New.
703     
704     * tests/bytevector.test: New tests.  
706     modified files:
707      ChangeLog modules/r6rs/bytevector.scm src/bytevector.c
708      tests/bytevector.test
711 2007-02-07 16:28:08 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      patch-1
713     Summary:
714       Finished bytevectors Section 2.2: "Operations on Bytes and Octets".
715     Revision:
716       guile-r6rs-libs--devo--0--patch-1
718     * configure.ac: No longer look for <arpa/inet.h>; look for <byteswap.h>
719       and <limits.h>.  No longer look for `htons ()' and friends.
720     
721     * modules/r6rs/bytevector.scm: Updated exports.
722       (endianness): Fixed.
723     
724     * src/bytevector.c: Include <limits.h> and <byteswap.h>
725       (non_native_byteswap_16, non_native_byteswap_32): Fixed.
726       (twos_complement): New.
727       (bytevector_large_ref): Fixed.
728       (bytevector_large_set): New.
729       (INTEGER_ACCESSOR_PROLOGUE): New.
730       (INTEGER_SET): New.
731       (scm_r6rs_bytevector_uint_set_x, scm_r6rs_bytevector_sint_set_x): New.
732     
733     * tests/bytevector.test: New tests.
735     modified files:
736      ChangeLog configure.ac modules/r6rs/bytevector.scm
737      src/bytevector.c tests/bytevector.test
740 2007-02-06 15:51:25 GMT Ludovic Court`es <ludovic.courtes@laas.fr>      base-0
742     Summary:
743       initial import
744     Revision:
745       guile-r6rs-libs--devo--0--base-0
747     
748     (automatically generated log message)
750     new files:
751      AUTHORS COPYING ChangeLog INSTALL Makefile.am NEWS README
752      configure.ac modules/Makefile.am modules/r6rs/bytevector.scm
753      modules/test-suite/lib.scm pre-inst-guile.in src/Makefile.am
754      src/bytevector.c tests/Makefile.am tests/bytevector.test