From 580810ebd354d830bd8f76441159127ab7b24d6b Mon Sep 17 00:00:00 2001 From: q191201771 <191201771@qq.com> Date: Fri, 21 Dec 2018 17:05:21 +0800 Subject: [PATCH] :bookmark: pretag v1.7.17 --- CHANGELOG.md | 10 ++++++++++ include/chef_base/chef_buffer.hpp | 2 +- include/chef_base/chef_consistent_hash.hpp | 2 +- include/chef_base/chef_count_dump.hpp | 2 +- include/chef_base/chef_crypto_md5_op.hpp | 2 +- include/chef_base/chef_crypto_sha1_op.hpp | 2 +- include/chef_base/chef_daemon_op.hpp | 2 +- include/chef_base/chef_defer.hpp | 2 +- include/chef_base/chef_encoding_base64_op.hpp | 2 +- include/chef_base/chef_env.hpp | 2 +- include/chef_base/chef_env_var_op.hpp | 2 +- include/chef_base/chef_filelock.hpp | 2 +- include/chef_base/chef_filepath_op.hpp | 2 +- include/chef_base/chef_fmt_op.hpp | 2 +- include/chef_base/chef_hash.hpp | 2 +- include/chef_base/chef_lru.hpp | 2 +- include/chef_base/chef_noncopyable.hpp | 2 +- include/chef_base/chef_os_exec_op.hpp | 2 +- include/chef_base/chef_skiplist.hpp | 2 +- include/chef_base/chef_snippet.hpp | 2 +- include/chef_base/chef_stringify_stl.hpp | 2 +- include/chef_base/chef_strings_op.hpp | 4 ++-- include/chef_base/chef_stuff_op.hpp | 2 +- include/chef_base/chef_task_thread.hpp | 2 +- include/chef_base/chef_this_machine_op.hpp | 2 +- include/chef_base/chef_this_process_op.hpp | 2 +- include/chef_base/chef_thread_group.hpp | 2 +- include/chef_base/chef_thread_pool.hpp | 2 +- include/chef_base/chef_wait_event_counter.hpp | 2 +- include/chef_base/chef_weight_selector.hpp | 2 +- pretag.sh | 2 +- 31 files changed, 41 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce207962..4988438a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ 版本规则:首位不变保持1,第二位增加表示在前一个版本的基础上有bugfix或不兼容性修改,第三位增加表示有兼容性修改或新增或其他。 +`v1.7.17` `~` + +* bugfix:无 +* 不兼容性修改:无 +* 兼容性修改:无 +* 新增:函数 chef::this_machina_op::host_name -> 获取主机名 +* 新增:函数 chef::strings_op::text_flow_wrap -> 将文本中过长的行按固定宽度限制换行 +* 其他:包含 inttypes.h 的地方修改为 cinttypes +* 其他:增加 CHANGELOG.md 文件用于记录每次发release版本时的具体修改内容 + `v1.7.16` `~` bugfix:无 diff --git a/include/chef_base/chef_buffer.hpp b/include/chef_base/chef_buffer.hpp index c7328a42..f214b61b 100644 --- a/include/chef_base/chef_buffer.hpp +++ b/include/chef_base/chef_buffer.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 abdde7c2..b8586af3 100644 --- a/include/chef_base/chef_consistent_hash.hpp +++ b/include/chef_base/chef_consistent_hash.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 ca132d0a..7f13656e 100644 --- a/include/chef_base/chef_count_dump.hpp +++ b/include/chef_base/chef_count_dump.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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_md5_op.hpp b/include/chef_base/chef_crypto_md5_op.hpp index a367f07b..d13c6f74 100644 --- a/include/chef_base/chef_crypto_md5_op.hpp +++ b/include/chef_base/chef_crypto_md5_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 2b082440..ddaec141 100644 --- a/include/chef_base/chef_crypto_sha1_op.hpp +++ b/include/chef_base/chef_crypto_sha1_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.17 * @file chef_crypto_sha1_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 5b12029c..47323695 100644 --- a/include/chef_base/chef_daemon_op.hpp +++ b/include/chef_base/chef_daemon_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 a94092d4..52a23dfd 100644 --- a/include/chef_base/chef_defer.hpp +++ b/include/chef_base/chef_defer.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 fb279a8a..a1eb9e50 100644 --- a/include/chef_base/chef_encoding_base64_op.hpp +++ b/include/chef_base/chef_encoding_base64_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 c7018a13..e97e7f3a 100644 --- a/include/chef_base/chef_env.hpp +++ b/include/chef_base/chef_env.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 d41c2a08..a78e28b0 100644 --- a/include/chef_base/chef_env_var_op.hpp +++ b/include/chef_base/chef_env_var_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 55723bd3..d672ce50 100644 --- a/include/chef_base/chef_filelock.hpp +++ b/include/chef_base/chef_filelock.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 b6949c5d..4ded55f7 100644 --- a/include/chef_base/chef_filepath_op.hpp +++ b/include/chef_base/chef_filepath_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 0c75c3c6..2175d009 100644 --- a/include/chef_base/chef_fmt_op.hpp +++ b/include/chef_base/chef_fmt_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 379eb698..ddad4193 100644 --- a/include/chef_base/chef_hash.hpp +++ b/include/chef_base/chef_hash.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 bac48e25..219bd8dc 100644 --- a/include/chef_base/chef_lru.hpp +++ b/include/chef_base/chef_lru.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 5cfccc87..f3a91656 100644 --- a/include/chef_base/chef_noncopyable.hpp +++ b/include/chef_base/chef_noncopyable.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 3b4431d0..97359310 100644 --- a/include/chef_base/chef_os_exec_op.hpp +++ b/include/chef_base/chef_os_exec_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 5319a19c..82964dc0 100644 --- a/include/chef_base/chef_skiplist.hpp +++ b/include/chef_base/chef_skiplist.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 8e24c63f..a9055e39 100644 --- a/include/chef_base/chef_snippet.hpp +++ b/include/chef_base/chef_snippet.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 8475382b..dbf91ddf 100644 --- a/include/chef_base/chef_stringify_stl.hpp +++ b/include/chef_base/chef_stringify_stl.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 49883ffc..e8e8d80d 100644 --- a/include/chef_base/chef_strings_op.hpp +++ b/include/chef_base/chef_strings_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.17 * @file chef_strings_op.hpp * @deps nope * @platform linux | macos | windows @@ -137,7 +137,7 @@ namespace chef { return ss.str(); } - // 将过长的行按固定宽度限制换行 + // 将文本中过长的行按固定宽度限制换行 // 比如 width 设置为16,那么以下文本 // // hello, diff --git a/include/chef_base/chef_stuff_op.hpp b/include/chef_base/chef_stuff_op.hpp index a7d24a53..4356e836 100644 --- a/include/chef_base/chef_stuff_op.hpp +++ b/include/chef_base/chef_stuff_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 0fc5dab7..e98ee0be 100644 --- a/include/chef_base/chef_task_thread.hpp +++ b/include/chef_base/chef_task_thread.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 9d9c08d5..16f667c5 100644 --- a/include/chef_base/chef_this_machine_op.hpp +++ b/include/chef_base/chef_this_machine_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 f4eed66e..b479863a 100644 --- a/include/chef_base/chef_this_process_op.hpp +++ b/include/chef_base/chef_this_process_op.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 30a584d3..81164770 100644 --- a/include/chef_base/chef_thread_group.hpp +++ b/include/chef_base/chef_thread_group.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 2b5b80a9..a0b88e26 100644 --- a/include/chef_base/chef_thread_pool.hpp +++ b/include/chef_base/chef_thread_pool.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 61f3b41d..7b73a4d1 100644 --- a/include/chef_base/chef_wait_event_counter.hpp +++ b/include/chef_base/chef_wait_event_counter.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.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 e401ed20..f9429a18 100644 --- a/include/chef_base/chef_weight_selector.hpp +++ b/include/chef_base/chef_weight_selector.hpp @@ -1,5 +1,5 @@ /** - * @tag v1.7.16 + * @tag v1.7.17 * @file chef_weight_selector.hpp * @deps nope * @platform linux | macos | xxx diff --git a/pretag.sh b/pretag.sh index 2ddb435d..59420b26 100755 --- a/pretag.sh +++ b/pretag.sh @@ -3,7 +3,7 @@ set -x # modme -tag='v1.7.16' +tag='v1.7.17' echo "New tag ${tag}" files=$(ls include/chef_base/*.hpp)