From dd6bb6c6b8298ebeff2d1882becb36580b969d6f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 23 Jul 2021 16:43:57 +0000 Subject: New 2.11.0.0 branch with several modifications - libbiguint removed - cdb_make changed to cdbmake (because different ui) - cdb redesigned Signed-off-by: Laurent Bercot --- NEWS | 14 ++ doc/index.html | 2 +- doc/libbiguint/index.html | 388 ------------------------------------ doc/libskarnet.html | 1 - doc/libstddjb/cdb_make.html | 28 --- doc/libstddjb/cdbmake.html | 28 +++ doc/libstddjb/index.html | 2 +- doc/upgrade.html | 12 ++ package/deps.mak | 51 ++--- package/info | 2 +- src/include/skalibs/cdb.h | 68 +++---- src/include/skalibs/cdb_make.h | 27 --- src/include/skalibs/cdbmake.h | 27 +++ src/include/skalibs/posixplz.h | 1 + src/include/skalibs/stddjb.h | 2 +- src/libbiguint/bu_addc.c | 19 -- src/libbiguint/bu_addmod.c | 10 - src/libbiguint/bu_cmp.c | 17 -- src/libbiguint/bu_copy.c | 18 -- src/libbiguint/bu_copy_internal.c | 8 - src/libbiguint/bu_div.c | 22 -- src/libbiguint/bu_div_internal.c | 44 ---- src/libbiguint/bu_divmod.c | 31 --- src/libbiguint/bu_divmod_internal.c | 36 ---- src/libbiguint/bu_fmt.c | 19 -- src/libbiguint/bu_gcd.c | 32 --- src/libbiguint/bu_invmod.c | 11 - src/libbiguint/bu_len.c | 9 - src/libbiguint/bu_mod.c | 9 - src/libbiguint/bu_mul.c | 32 --- src/libbiguint/bu_mulmod.c | 15 -- src/libbiguint/bu_pack.c | 9 - src/libbiguint/bu_pack_big.c | 10 - src/libbiguint/bu_scan.c | 15 -- src/libbiguint/bu_scan_internal.c | 21 -- src/libbiguint/bu_scanlen.c | 12 -- src/libbiguint/bu_slbc.c | 16 -- src/libbiguint/bu_srbc.c | 14 -- src/libbiguint/bu_subc.c | 19 -- src/libbiguint/bu_submod.c | 11 - src/libbiguint/bu_unpack.c | 9 - src/libbiguint/bu_unpack_big.c | 10 - src/libbiguint/bu_zero.c | 8 - src/libposixplz/munmap_void.c | 13 ++ src/libstddjb/cdb-internal.h | 14 ++ src/libstddjb/cdb_find.c | 57 ++++++ src/libstddjb/cdb_findnext.c | 68 ------- src/libstddjb/cdb_free.c | 12 +- src/libstddjb/cdb_hash.c | 10 +- src/libstddjb/cdb_init.c | 22 +- src/libstddjb/cdb_make.c | 122 ------------ src/libstddjb/cdb_mapfile.c | 17 -- src/libstddjb/cdb_nextkey.c | 23 --- src/libstddjb/cdb_p.c | 9 + src/libstddjb/cdb_read.c | 14 -- src/libstddjb/cdb_reader_zero.c | 5 + src/libstddjb/cdb_successor.c | 17 -- src/libstddjb/cdb_traverse_next.c | 25 +++ src/libstddjb/cdb_zero.c | 2 +- src/libstddjb/cdbmake.c | 121 +++++++++++ 60 files changed, 402 insertions(+), 1288 deletions(-) delete mode 100644 doc/libbiguint/index.html delete mode 100644 doc/libstddjb/cdb_make.html create mode 100644 doc/libstddjb/cdbmake.html delete mode 100644 src/include/skalibs/cdb_make.h create mode 100644 src/include/skalibs/cdbmake.h delete mode 100644 src/libbiguint/bu_addc.c delete mode 100644 src/libbiguint/bu_addmod.c delete mode 100644 src/libbiguint/bu_cmp.c delete mode 100644 src/libbiguint/bu_copy.c delete mode 100644 src/libbiguint/bu_copy_internal.c delete mode 100644 src/libbiguint/bu_div.c delete mode 100644 src/libbiguint/bu_div_internal.c delete mode 100644 src/libbiguint/bu_divmod.c delete mode 100644 src/libbiguint/bu_divmod_internal.c delete mode 100644 src/libbiguint/bu_fmt.c delete mode 100644 src/libbiguint/bu_gcd.c delete mode 100644 src/libbiguint/bu_invmod.c delete mode 100644 src/libbiguint/bu_len.c delete mode 100644 src/libbiguint/bu_mod.c delete mode 100644 src/libbiguint/bu_mul.c delete mode 100644 src/libbiguint/bu_mulmod.c delete mode 100644 src/libbiguint/bu_pack.c delete mode 100644 src/libbiguint/bu_pack_big.c delete mode 100644 src/libbiguint/bu_scan.c delete mode 100644 src/libbiguint/bu_scan_internal.c delete mode 100644 src/libbiguint/bu_scanlen.c delete mode 100644 src/libbiguint/bu_slbc.c delete mode 100644 src/libbiguint/bu_srbc.c delete mode 100644 src/libbiguint/bu_subc.c delete mode 100644 src/libbiguint/bu_submod.c delete mode 100644 src/libbiguint/bu_unpack.c delete mode 100644 src/libbiguint/bu_unpack_big.c delete mode 100644 src/libbiguint/bu_zero.c create mode 100644 src/libposixplz/munmap_void.c create mode 100644 src/libstddjb/cdb-internal.h create mode 100644 src/libstddjb/cdb_find.c delete mode 100644 src/libstddjb/cdb_findnext.c delete mode 100644 src/libstddjb/cdb_make.c delete mode 100644 src/libstddjb/cdb_mapfile.c delete mode 100644 src/libstddjb/cdb_nextkey.c create mode 100644 src/libstddjb/cdb_p.c delete mode 100644 src/libstddjb/cdb_read.c create mode 100644 src/libstddjb/cdb_reader_zero.c delete mode 100644 src/libstddjb/cdb_successor.c create mode 100644 src/libstddjb/cdb_traverse_next.c create mode 100644 src/libstddjb/cdbmake.c diff --git a/NEWS b/NEWS index 0fab92f..6970920 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,19 @@ Changelog for skalibs. +In 2.11.0.0 +----------- + + - libbiguint removed. + - New posixplz function: munmap_void. + - cdb_make renamed to cdbmake; ui changed to 1=success/0=failure. + - cdb redesigned. cdb is now fixed, cdb_reader holds the state for cdb_find, + which puts data pointer and len directly into a cdb_data. A cdb + is always a map, pointers should always work. + - cdb_successor removed (unsafe to use); cdb_nextkey changed to + cdb_traverse_next, which puts key and data into two cdb_data's. + - cdb does not touch errno anymore. + + In 2.10.0.3 ----------- diff --git a/doc/index.html b/doc/index.html index 203d4d2..3b5dba0 100644 --- a/doc/index.html +++ b/doc/index.html @@ -60,7 +60,7 @@ with a standard C development environment

Download

diff --git a/doc/libstddjb/cdb_make.html b/doc/libstddjb/cdb_make.html deleted file mode 100644 index 767601b..0000000 --- a/doc/libstddjb/cdb_make.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - skalibs: the cdb_make header - - - - - - -

-libstddjb
-libskarnet
-skalibs
-Software
-skarnet.org -

- -

The skalibs/cdb_make.h header

- -

- TODO: write this documentation page. (Sorry!) -

- - - diff --git a/doc/libstddjb/cdbmake.html b/doc/libstddjb/cdbmake.html new file mode 100644 index 0000000..1ff9cbe --- /dev/null +++ b/doc/libstddjb/cdbmake.html @@ -0,0 +1,28 @@ + + + + + + skalibs: the cdbmake header + + + + + + +

+libstddjb
+libskarnet
+skalibs
+Software
+skarnet.org +

+ +

The skalibs/cdbmake.h header

+ +

+ TODO: write this documentation page. (Sorry!) +

+ + + diff --git a/doc/libstddjb/index.html b/doc/libstddjb/index.html index 2947530..e10482e 100644 --- a/doc/libstddjb/index.html +++ b/doc/libstddjb/index.html @@ -55,7 +55,7 @@ wrappers around I/O functions, extra I/O functions
  • skalibs/bytestr.h: basic operations on strings and byte arrays
  • skalibs/cdb.h: how to read cdb files
  • -
  • skalibs/cdb_make.h: how to write +
  • skalibs/cdbmake.h: how to write cdb files
  • skalibs/direntry.h: portable directory operations
  • skalibs/djbtime.h: conversions between date and time formats
  • diff --git a/doc/upgrade.html b/doc/upgrade.html index fec512e..17b4ecf 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -16,6 +16,18 @@ skarnet.org

    +

    in 2.11.0.0

    + + +

    in 2.10.0.3