diff --git a/CHANGELOG.md b/CHANGELOG.md index b8e6d8fc..518dd017 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ 版本规则:首位不变保持1,第二位增加表示在前一个版本的基础上有bugfix或不兼容性修改,第三位增加表示有兼容性修改或新增或其他。 +`v1.10.17` `~` + +* bugfix:无 +* 不兼容性修改:chef::stuff_op::bytes_to_hex 新增参数with_ascii,如果为true,则在序列化二进制流的同时也序列化出可显示的字符串流,默认值为true +* 兼容性修改:新增函数 chef::basic_buffer<>::seek_write_pos_rollback,写入位置可前移用于消除回退部分已写入未读取的内容 +* 兼容性修改:部分类禁用的拷贝构造函数的参数加上const修饰 +* 新增:无 +* 其他:无 + + `v1.9.17` `~` * bugfix:macos平台下,函数 chef::this_process_op::user_name 和 chef::this_process_op::boot_timestamp 修改实现 diff --git a/include/chef_base/chef_buffer.hpp b/include/chef_base/chef_buffer.hpp index f4417562..045fd7ae 100644 --- a/include/chef_base/chef_buffer.hpp +++ b/include/chef_base/chef_buffer.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_buffer.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_consistent_hash.hpp b/include/chef_base/chef_consistent_hash.hpp index 27f04dd1..852292ea 100644 --- a/include/chef_base/chef_consistent_hash.hpp +++ b/include/chef_base/chef_consistent_hash.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_consistent_hash.hpp * @deps c++11 * @platform linux | macos | xxx diff --git a/include/chef_base/chef_count_dump.hpp b/include/chef_base/chef_count_dump.hpp index 124cdd08..258d3e36 100644 --- a/include/chef_base/chef_count_dump.hpp +++ b/include/chef_base/chef_count_dump.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_count_dump.hpp * @deps chef_env.hpp | chef_filepath_op.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_crypto_hmac_sha256.hpp b/include/chef_base/chef_crypto_hmac_sha256.hpp index b79d87b5..6e4c5977 100644 --- a/include/chef_base/chef_crypto_hmac_sha256.hpp +++ b/include/chef_base/chef_crypto_hmac_sha256.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_crypto_hmac_sha256.hpp * @deps chef_crypto_sha256_op.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_crypto_md5_op.hpp b/include/chef_base/chef_crypto_md5_op.hpp index ff790fc6..48b93ae0 100644 --- a/include/chef_base/chef_crypto_md5_op.hpp +++ b/include/chef_base/chef_crypto_md5_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_crypto_md5_op.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_crypto_sha1_op.hpp b/include/chef_base/chef_crypto_sha1_op.hpp index e1344e7b..4aa0a63b 100644 --- a/include/chef_base/chef_crypto_sha1_op.hpp +++ b/include/chef_base/chef_crypto_sha1_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_crypto_sha1_op.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_crypto_sha256_op.hpp b/include/chef_base/chef_crypto_sha256_op.hpp index 4444c772..b44b1660 100644 --- a/include/chef_base/chef_crypto_sha256_op.hpp +++ b/include/chef_base/chef_crypto_sha256_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_crypto_sha256_op.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_daemon_op.hpp b/include/chef_base/chef_daemon_op.hpp index 11f46bc7..e244ae49 100644 --- a/include/chef_base/chef_daemon_op.hpp +++ b/include/chef_base/chef_daemon_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_daemon_op.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_defer.hpp b/include/chef_base/chef_defer.hpp index 3a2194d2..9fa9ccec 100644 --- a/include/chef_base/chef_defer.hpp +++ b/include/chef_base/chef_defer.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_defer.hpp * @deps chef_env.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_encoding_base64_op.hpp b/include/chef_base/chef_encoding_base64_op.hpp index 2518e2f3..f215ff3f 100644 --- a/include/chef_base/chef_encoding_base64_op.hpp +++ b/include/chef_base/chef_encoding_base64_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_encoding_base64_op.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_env.hpp b/include/chef_base/chef_env.hpp index 62274e82..da814159 100644 --- a/include/chef_base/chef_env.hpp +++ b/include/chef_base/chef_env.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_env.hpp * @deps c++11 or libboost * @platform linux | macos | xxx diff --git a/include/chef_base/chef_env_var_op.hpp b/include/chef_base/chef_env_var_op.hpp index 157db70f..6f52a554 100644 --- a/include/chef_base/chef_env_var_op.hpp +++ b/include/chef_base/chef_env_var_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_env_var_op.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_filelock.hpp b/include/chef_base/chef_filelock.hpp index 1e14df60..e0f1b957 100644 --- a/include/chef_base/chef_filelock.hpp +++ b/include/chef_base/chef_filelock.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_filelock.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_filepath_op.hpp b/include/chef_base/chef_filepath_op.hpp index 88c77cd3..42608b55 100644 --- a/include/chef_base/chef_filepath_op.hpp +++ b/include/chef_base/chef_filepath_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_filepath_op.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_fmt_op.hpp b/include/chef_base/chef_fmt_op.hpp index 3a1e1a42..fdd67fb7 100644 --- a/include/chef_base/chef_fmt_op.hpp +++ b/include/chef_base/chef_fmt_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_fmt_op.hpp * @deps c++11 * @platform linux | macos | xxx diff --git a/include/chef_base/chef_hash.hpp b/include/chef_base/chef_hash.hpp index b5ce6567..95d3bfd7 100644 --- a/include/chef_base/chef_hash.hpp +++ b/include/chef_base/chef_hash.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_hash.hpp * @deps c++11 * @platform linux | macos | xxx diff --git a/include/chef_base/chef_lru.hpp b/include/chef_base/chef_lru.hpp index 91cfa4d4..6e980f62 100644 --- a/include/chef_base/chef_lru.hpp +++ b/include/chef_base/chef_lru.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_lru.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_noncopyable.hpp b/include/chef_base/chef_noncopyable.hpp index 62b341d8..12585e16 100644 --- a/include/chef_base/chef_noncopyable.hpp +++ b/include/chef_base/chef_noncopyable.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_noncopyable.hpp * @deps nope * @platform linux/macos/xxx diff --git a/include/chef_base/chef_os_exec_op.hpp b/include/chef_base/chef_os_exec_op.hpp index b2bf26b8..879379ea 100644 --- a/include/chef_base/chef_os_exec_op.hpp +++ b/include/chef_base/chef_os_exec_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_os_exec_op.hpp * @deps nope * @platform linux/macos/xxx diff --git a/include/chef_base/chef_skiplist.hpp b/include/chef_base/chef_skiplist.hpp index 88b387d6..a34c02f5 100644 --- a/include/chef_base/chef_skiplist.hpp +++ b/include/chef_base/chef_skiplist.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_skiplist.hpp * @deps c++11 * @platform linux | macos | xxx diff --git a/include/chef_base/chef_snippet.hpp b/include/chef_base/chef_snippet.hpp index 4a853f22..e0c91dfa 100644 --- a/include/chef_base/chef_snippet.hpp +++ b/include/chef_base/chef_snippet.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_snippet.hpp * @deps c++11 * @platform linux | macos | xxx diff --git a/include/chef_base/chef_stringify_stl.hpp b/include/chef_base/chef_stringify_stl.hpp index 36e09e98..f8998b70 100644 --- a/include/chef_base/chef_stringify_stl.hpp +++ b/include/chef_base/chef_stringify_stl.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_stringify_stl.hpp * @deps nope * @platform linux/macos/xxx diff --git a/include/chef_base/chef_strings_op.hpp b/include/chef_base/chef_strings_op.hpp index ff9dccd2..2de7e676 100644 --- a/include/chef_base/chef_strings_op.hpp +++ b/include/chef_base/chef_strings_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_strings_op.hpp * @deps nope * @platform linux | macos | windows diff --git a/include/chef_base/chef_stuff_op.hpp b/include/chef_base/chef_stuff_op.hpp index 2613d290..2656d296 100644 --- a/include/chef_base/chef_stuff_op.hpp +++ b/include/chef_base/chef_stuff_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_stuff_op.hpp * @deps nope * @platform linux | macos | xxx diff --git a/include/chef_base/chef_task_thread.hpp b/include/chef_base/chef_task_thread.hpp index 5fc1a406..b1931e90 100644 --- a/include/chef_base/chef_task_thread.hpp +++ b/include/chef_base/chef_task_thread.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_task_thread.h * @deps chef_env.hpp | chef_wait_event_counter.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_this_machine_op.hpp b/include/chef_base/chef_this_machine_op.hpp index 8e0586ad..f5c66351 100644 --- a/include/chef_base/chef_this_machine_op.hpp +++ b/include/chef_base/chef_this_machine_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_this_machine_op.hpp * @deps chef_filepath_op.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_this_process_op.hpp b/include/chef_base/chef_this_process_op.hpp index 8f0ac3d5..415d0b08 100644 --- a/include/chef_base/chef_this_process_op.hpp +++ b/include/chef_base/chef_this_process_op.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_this_process_op.hpp * @deps chef_filepath_op.hpp | chef_os_exec_op.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_thread_group.hpp b/include/chef_base/chef_thread_group.hpp index 3b23f9ad..a8d1b0f6 100644 --- a/include/chef_base/chef_thread_group.hpp +++ b/include/chef_base/chef_thread_group.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_thread_group.hpp * @deps chef_env.hpp | chef_task_thread.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_thread_pool.hpp b/include/chef_base/chef_thread_pool.hpp index 720cb5cd..60d00819 100644 --- a/include/chef_base/chef_thread_pool.hpp +++ b/include/chef_base/chef_thread_pool.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_thread_pool.hpp * @deps chef_env.hpp | chef_wait_event_counter.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_wait_event_counter.hpp b/include/chef_base/chef_wait_event_counter.hpp index 5d7aa245..f961e862 100644 --- a/include/chef_base/chef_wait_event_counter.hpp +++ b/include/chef_base/chef_wait_event_counter.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_wait_event_counter.hpp * @deps chef_env.hpp * @platform linux | macos | xxx diff --git a/include/chef_base/chef_weight_selector.hpp b/include/chef_base/chef_weight_selector.hpp index 4c4c840d..9b0e6d16 100644 --- a/include/chef_base/chef_weight_selector.hpp +++ b/include/chef_base/chef_weight_selector.hpp @@ -1,6 +1,6 @@ /** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef - * @tag v1.9.17 + * @tag v1.10.17 * @file chef_weight_selector.hpp * @deps nope * @platform linux | macos | xxx diff --git a/pretag.sh b/pretag.sh index 97e919ec..f7f06d24 100755 --- a/pretag.sh +++ b/pretag.sh @@ -3,7 +3,7 @@ set -x # modme -tag='v1.9.17' +tag='v1.10.17' echo "New tag ${tag}" files=$(ls include/chef_base/*.hpp)