X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ChangeLog;h=e687c93bc88e28f33ceb8c61140e923029b15cd0;hb=1a803b7d0293954cdfba79ef5d0d466fc662e50f;hp=fa51e1428e5ba398395fed18c3c4163a49157da6;hpb=907734847df6aad325f2d43f5d37367ef1fb6e19;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index fa51e1428..e687c93bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,289 @@ +2010-01-10 Bruno Haible + + Tests for module 'unistr/u32-cpy-alloc'. + * modules/unistr/u32-cpy-alloc-tests: New file. + * tests/unistr/test-u32-cpy-alloc.c: New file. + + Tests for module 'unistr/u16-cpy-alloc'. + * modules/unistr/u16-cpy-alloc-tests: New file. + * tests/unistr/test-u16-cpy-alloc.c: New file. + + Tests for module 'unistr/u8-cpy-alloc'. + * modules/unistr/u8-cpy-alloc-tests: New file. + * tests/unistr/test-u8-cpy-alloc.c: New file. + * tests/unistr/test-cpy-alloc.h: New file. + + Tests for module 'unistr/u32-mbsnlen'. + * modules/unistr/u32-mbsnlen-tests: New file. + * tests/unistr/test-u32-mbsnlen.c: New file. + + Tests for module 'unistr/u16-mbsnlen'. + * modules/unistr/u16-mbsnlen-tests: New file. + * tests/unistr/test-u16-mbsnlen.c: New file. + + Tests for module 'unistr/u8-mbsnlen'. + * modules/unistr/u8-mbsnlen-tests: New file. + * tests/unistr/test-u8-mbsnlen.c: New file. + + Tests for module 'unistr/u32-chr'. + * modules/unistr/u32-chr-tests: New file. + * tests/unistr/test-u32-chr.c: New file. + + Tests for module 'unistr/u16-chr'. + * modules/unistr/u16-chr-tests: New file. + * tests/unistr/test-u16-chr.c: New file. + + Tests for module 'unistr/u8-chr'. + * modules/unistr/u8-chr-tests: New file. + * tests/unistr/test-u8-chr.c: New file. + * tests/unistr/test-chr.h: New file, based on tests/test-memchr.c. + + Tests for module 'unistr/u32-cmp2'. + * modules/unistr/u32-cmp2-tests: New file. + * tests/unistr/test-u32-cmp2.c: New file. + + Tests for module 'unistr/u16-cmp2'. + * modules/unistr/u16-cmp2-tests: New file. + * tests/unistr/test-u16-cmp2.c: New file. + + Tests for module 'unistr/u8-cmp2'. + * modules/unistr/u8-cmp2-tests: New file. + * tests/unistr/test-u8-cmp2.c: New file. + * tests/unistr/test-cmp2.h: New file, based on tests/unistr/test-cmp.h. + + Tests for module 'unistr/u32-cmp'. + * modules/unistr/u32-cmp-tests: New file. + * tests/unistr/test-u32-cmp.c: New file. + + Tests for module 'unistr/u16-cmp'. + * modules/unistr/u16-cmp-tests: New file. + * tests/unistr/test-u16-cmp.c: New file. + + Tests for module 'unistr/u8-cmp'. + * modules/unistr/u8-cmp-tests: New file. + * tests/unistr/test-u8-cmp.c: New file. + * tests/unistr/test-cmp.h: New file, based on tests/test-memcmp.c. + + Tests for module 'unistr/u32-set'. + * modules/unistr/u32-set-tests: New file. + * tests/unistr/test-u32-set.c: New file. + + Tests for module 'unistr/u16-set'. + * modules/unistr/u16-set-tests: New file. + * tests/unistr/test-u16-set.c: New file. + + Tests for module 'unistr/u8-set'. + * modules/unistr/u8-set-tests: New file. + * tests/unistr/test-u8-set.c: New file. + * tests/unistr/test-set.h: New file. + + Tests for module 'unistr/u32-move'. + * modules/unistr/u32-move-tests: New file. + * tests/unistr/test-u32-move.c: New file. + + Tests for module 'unistr/u16-move'. + * modules/unistr/u16-move-tests: New file. + * tests/unistr/test-u16-move.c: New file. + + Tests for module 'unistr/u8-move'. + * modules/unistr/u8-move-tests: New file. + * tests/unistr/test-u8-move.c: New file. + * tests/unistr/test-move.h: New file. + + Tests for module 'unistr/u32-cpy'. + * modules/unistr/u32-cpy-tests: New file. + * tests/unistr/test-u32-cpy.c: New file. + + Tests for module 'unistr/u16-cpy'. + * modules/unistr/u16-cpy-tests: New file. + * tests/unistr/test-u16-cpy.c: New file. + + Tests for module 'unistr/u8-cpy'. + * modules/unistr/u8-cpy-tests: New file. + * tests/unistr/test-u8-cpy.c: New file. + * tests/unistr/test-cpy.h: New file. + 2010-01-09 Bruno Haible + Tests for module 'unistr/u32-uctomb'. + * modules/unistr/u32-uctomb-tests: New file. + * tests/unistr/test-u32-uctomb.c: New file. + + Tests for module 'unistr/u16-uctomb'. + * modules/unistr/u16-uctomb-tests: New file. + * tests/unistr/test-u16-uctomb.c: New file. + + Tests for module 'unistr/u8-uctomb'. + * modules/unistr/u8-uctomb-tests: New file. + * tests/unistr/test-u8-uctomb.c: New file. + + Tests for module 'unistr/u32-mbtoucr'. + * modules/unistr/u32-mbtoucr-tests: New file. + * tests/unistr/test-u32-mbtoucr.c: New file. + + Tests for module 'unistr/u16-mbtoucr'. + * modules/unistr/u16-mbtoucr-tests: New file. + * tests/unistr/test-u16-mbtoucr.c: New file. + + Tests for module 'unistr/u8-mbtoucr'. + * modules/unistr/u8-mbtoucr-tests: New file. + * tests/unistr/test-u8-mbtoucr.c: New file. + + Tests for module 'unistr/u32-mbtouc'. + * modules/unistr/u32-mbtouc-tests: New file. + * tests/unistr/test-u32-mbtouc.c: New file. + + Tests for module 'unistr/u16-mbtouc'. + * modules/unistr/u16-mbtouc-tests: New file. + * tests/unistr/test-u16-mbtouc.c: New file. + + Tests for module 'unistr/u8-mbtouc'. + * modules/unistr/u8-mbtouc-tests: New file. + * tests/unistr/test-u8-mbtouc.c: New file. + + Tests for module 'unistr/u32-mbtouc-unsafe'. + * modules/unistr/u32-mbtouc-unsafe-tests: New file. + * tests/unistr/test-u32-mbtouc-unsafe.c: New file. + * tests/unistr/test-u32-mbtouc.h: New file. + + Tests for module 'unistr/u16-mbtouc-unsafe'. + * modules/unistr/u16-mbtouc-unsafe-tests: New file. + * tests/unistr/test-u16-mbtouc-unsafe.c: New file. + * tests/unistr/test-u16-mbtouc.h: New file. + + Tests for module 'unistr/u8-mbtouc-unsafe'. + * modules/unistr/u8-mbtouc-unsafe-tests: New file. + * tests/unistr/test-u8-mbtouc-unsafe.c: New file. + * tests/unistr/test-u8-mbtouc.h: New file. + + Tests for module 'unistr/u32-mblen'. + * modules/unistr/u32-mblen-tests: New file. + * tests/unistr/test-u32-mblen.c: New file. + + Tests for module 'unistr/u16-mblen'. + * modules/unistr/u16-mblen-tests: New file. + * tests/unistr/test-u16-mblen.c: New file. + + Tests for module 'unistr/u8-mblen'. + * modules/unistr/u8-mblen-tests: New file. + * tests/unistr/test-u8-mblen.c: New file. + + Tests for module 'unistr/u32-to-u16'. + * modules/unistr/u32-to-u16-tests: New file. + * tests/unistr/test-u32-to-u16.c: New file. + + Tests for module 'unistr/u32-to-u8'. + * modules/unistr/u32-to-u8-tests: New file. + * tests/unistr/test-u32-to-u8.c: New file. + + Tests for module 'unistr/u16-to-u32'. + * modules/unistr/u16-to-u32-tests: New file. + * tests/unistr/test-u16-to-u32.c: New file. + + Tests for module 'unistr/u16-to-u8'. + * modules/unistr/u16-to-u8-tests: New file. + * tests/unistr/test-u16-to-u8.c: New file. + + Tests for module 'unistr/u8-to-u32'. + * modules/unistr/u8-to-u32-tests: New file. + * tests/unistr/test-u8-to-u32.c: New file. + + Tests for module 'unistr/u8-to-u16'. + * modules/unistr/u8-to-u16-tests: New file. + * tests/unistr/test-u8-to-u16.c: New file. + + Tests for module 'unistr/u32-check'. + * modules/unistr/u32-check-tests: New file. + * tests/unistr/test-u32-check.c: New file. + + Tests for module 'unistr/u16-check'. + * modules/unistr/u16-check-tests: New file. + * tests/unistr/test-u16-check.c: New file. + + Tests for module 'unistr/u8-check'. + * modules/unistr/u8-check-tests: New file. + * tests/unistr/test-u8-check.c: New file. + + * tests/unictype/test-categ_byname.c: Include . + (category_equals): New function. + (main): Add more tests. + * modules/unictype/category-byname-tests (Depends-on): Add stdbool. + + * tests/unictype/test-bidi_byname.c (main): Add more tests. + +2010-01-10 Bruno Haible + + unistr/u*-strcoll: Try harder to distinguish different strings. + * lib/unistr/u-strcoll.h (FUNC): When sl1 and sl2 are the same, + compare s1 and s2 to see if they are different. + +2010-01-10 Bruno Haible + + unistr/u*-stpncpy: Fix the return value. + * lib/unistr.h (u8_stpncpy, u16_stpncpy, u32_stpncpy): Make the + description of the return value consistent with stpncpy in glibc. + * lib/unistr/u-stpncpy.h (FUNC): Return the pointer past the last + written non-NUL unit. + +2010-01-10 Bruno Haible + + unistr/u*-next: Add missing dependencies. + * modules/unistr/u8-next (Depends-on): Add unistr/u8-strmbtouc. + * modules/unistr/u16-next (Depends-on): Add unistr/u16-strmbtouc. + * modules/unistr/u32-next (Depends-on): Add unistr/u32-strmbtouc. + +2010-01-10 Bruno Haible + + unistr/u8-mbsnlen: Fix return value for incomplete character. + * lib/unistr/u8-mbsnlen.c (u8_mbsnlen): Use u8_mbtoucr instead of + u8_mblen. + * modules/unistr/u8-mbsnlen (Depends-on): Add unistr/u8-mbtoucr. + Remove unistr/u8-mblen. + * lib/unistr/u16-mbsnlen.c (u16_mbsnlen): Use u16_mbtoucr instead of + u16_mblen. + * modules/unistr/u16-mbsnlen (Depends-on): Add unistr/u16-mbtoucr. + Remove unistr/u16-mblen. + +2010-01-10 Bruno Haible + + wchar: Fix compilation error when is used from coreutils. + * lib/wchar.in.h: Treat __need_wint_t like __need_mbstate_t. + Reported by Brian Gough and + Chris Clayton via + Mike Frysinger and Jim Meyering . + +2010-01-09 Bruno Haible + + unistr/u16-to-u32: Reject invalid input. + * lib/unistr/u16-to-u32.c (u16_to_u32): Call u16_mbtoucr instead of + u16_mbtouc. + * modules/unistr/u16-to-u32 (Depends-on): Add unistr/u16-mbtoucr. + Remove unistr/u16-mbtouc. + + unistr/u16-to-u8: Reject invalid input. + * lib/unistr/u16-to-u8.c (u16_to_u8): Call u16_mbtoucr instead of + u16_mbtouc. + * modules/unistr/u16-to-u8 (Depends-on): Add unistr/u16-mbtoucr. + Remove unistr/u16-mbtouc. + + unistr/u8-to-u32: Reject invalid input. + * lib/unistr/u8-to-u32.c (u8_to_u32): Call u8_mbtoucr instead of + u8_mbtouc. + * modules/unistr/u8-to-u32 (Depends-on): Add unistr/u8-mbtoucr. + Remove unistr/u8-mbtouc. + + unistr/u8-to-u16: Reject invalid input. + * lib/unistr/u8-to-u16.c (u8_to_u16): Call u8_mbtoucr instead of + u8_mbtouc. + * modules/unistr/u8-to-u16 (Depends-on): Add unistr/u8-mbtoucr. + Remove unistr/u8-mbtouc. + +2010-01-09 Bruno Haible + + Tests for module 'getlogin'. + * modules/getlogin-tests: New file. + * tests/test-getlogin.c: New file. + New module 'getlogin'. * lib/unistd.in.h (getlogin): New declaration. * lib/getlogin.c: New file. @@ -18,7 +302,8 @@ * lib/getlogin_r.c: Include (getlogin_r): Implement for native Windows. * tests/test-getlogin_r.c (main): Also test with a huge buffer. - Reported by via John W. Eaton . + Reported by Tatsuro MATSUOKA + via John W. Eaton . 2010-01-09 Bruno Haible