Commit Graph

141 Commits

Author SHA1 Message Date
lion 34e89d3f50 apply the field-list filter 2025-09-04 15:22:24 +08:00
lion 2735819b4f source ip data processor 2025-09-04 14:59:20 +08:00
lion 980c9cfdd4 make the region filtering an util func 2025-09-04 14:58:53 +08:00
lion cdd2a2fc85 update the comments for the latest changes 2025-09-04 12:33:58 +08:00
lion c0058781c9 version expected for xdb gen and auto version detect for search test 2025-09-04 11:14:58 +08:00
lion b830361c52 version flag 2025-09-03 21:40:43 +08:00
lion ac46b7359e write the IP version NO and runtime ptr bytes in the header 2025-09-03 21:06:25 +08:00
lion b73e190905 xdb ipv6 supporting (bytes operation is working) 2025-09-03 17:16:05 +08:00
lion 7a9a53a058 update the doc links 2025-06-19 11:16:33 +08:00
lion bbd811e1be update the docs to ip2region offical community 2025-06-17 17:07:20 +08:00
lion b41a805cff range reverse check 2025-06-16 23:47:03 +08:00
lion 78c2fab10a add field-list support self-define region fields 2025-06-16 23:24:19 +08:00
lion c1808255e7 log the start 2025-06-16 19:31:50 +08:00
lion 36f5f129a4 adjust the log print level 2025-06-16 19:20:56 +08:00
lion 95bcc92f11 log-level flag and debug/info/warn/error value supports and apply 2025-06-16 19:13:52 +08:00
lion 6551e8e854 field list range specified supported 2025-06-15 16:04:14 +08:00
lion 47d4f1e213 field-list flag to support self-define fields for the region 2025-06-14 23:37:11 +08:00
lion bff6b5661c add --log-level=debug/info/warn/error flag, so we can close the log print during db gen 2025-06-10 22:55:52 +08:00
Yunbin Liu 19c2aa8199 add binding maker and editor for C++ 2024-03-21 06:59:50 +00:00
KevinWang f793a48b82 Update README. 2024-03-07 08:34:39 +00:00
KevinWang 01902a6792 feat: Implement the generation tool of Ip2region in the Rust . 2024-02-23 06:33:21 +00:00
Lion 3ef87ff727 tab replace with space for the structure doc comments 2023-10-08 17:37:06 +08:00
Lion b66471f0ba tab to space 2023-10-08 17:33:59 +08:00
Alan df1252345b test:concurrent query ip 2023-07-26 21:30:34 +08:00
lion 3fef2a2fad fix the bug of getInt2 reported by https://github.com/lionsoul2014/ip2region/issues/287 2023-02-05 18:52:40 +08:00
leolin49 a8cb6b9c31 Exception handling optimization 2023-02-01 00:37:29 +08:00
lion b3f775a196 ignore empty lines 2022-12-07 11:24:58 +08:00
lion 83e15427a8 ignore the comment line which start with # 2022-12-07 10:29:19 +08:00
lion db3269eec6 add editor usage doc 2022-12-07 10:05:44 +08:00
Lion 8b3a039edc segments editor RC version 2022-12-06 20:09:14 +08:00
Lion f489d2a39a task segments.test as the common data 2022-12-05 21:04:33 +08:00
Lion 0c960c4122 use the final 2022-12-05 21:04:21 +08:00
Lion 2c46a386cc trim the input 2022-12-05 20:42:31 +08:00
Lion e085caf148 apply the need save and put segment 2022-12-05 20:40:22 +08:00
Lion 8e3c440ada trim the space to input segment 2022-12-05 20:38:59 +08:00
Lion 7ff7772e14 impl save and put_file 2022-12-05 14:19:49 +08:00
Lion d7f9fb6882 fix the conflicts 2022-12-04 17:27:09 +08:00
Lion bce4c1e188 optimize the continuity checking and automatic merging the consecutive segments 2022-12-04 17:22:05 +08:00
Lion 3e6440f1dd load segments while editor init 2022-12-02 18:29:39 +08:00
Lion d2b81ac9a0 new Editor 2022-12-01 18:11:40 +08:00
Lion ae5ed74601 editor fields define 2022-12-01 18:10:54 +08:00
Lion d6e8813fef source ip editor 2022-12-01 17:36:51 +08:00
Alan Lee a77ba7f5be feat:csharp 2.0 xdb maker 2022-08-08 21:52:16 +08:00
Lion 294695be48 Merge branch 'master' of https://gitee.com/lionsoul/ip2region 2022-08-07 16:53:08 +08:00
Lion c85d8682b8 add the sample bench cmd 2022-08-07 16:52:57 +08:00
lion 239604ca91 remove the unused import 2022-08-04 11:08:57 +08:00
lion 3434635509 fix the bug of vector index end ptr set 2022-07-16 12:14:31 +08:00
lion e638421ae2 use the []byte instead of the vector index and segment index encode/decode 2022-07-16 12:12:07 +08:00
lion 4a88ab4c60 use the relative link 2022-07-15 20:34:05 +08:00
lion 1f1d3b1786 Merge branch 'master' of https://gitee.com/lionsoul/ip2region 2022-07-15 20:29:20 +08:00
lion 35968fafaa Add ReadMe Doc 2022-07-15 20:26:47 +08:00
Lion 061f2f8c91 maker and maker test implemented 2022-07-15 19:05:42 +08:00
Lion 8f421f554d fix the bug of segment splits and tested 2022-07-15 11:50:07 +08:00
linyufeng 00e53e3af7 Add date in comment 2022-07-14 17:17:35 +08:00
linyufeng a5887f7f54 Revert util_test.go change 2022-07-14 17:12:27 +08:00
lion d5ceb4cd17 maker segment and index policy manager 2022-07-14 16:38:26 +08:00
linyufeng f300f7eaca Standardized code and add comments 2022-07-14 16:16:51 +08:00
linyufeng a3015ce8c5 Add python xdb maker 2022-07-13 20:23:26 +08:00
lion 3488d10d2b maker constants define 2022-07-13 17:00:24 +08:00
lion 696d7dd647 stdlize the maven project 2022-07-13 16:47:31 +08:00
Lion eb185eb33a java xdb maker 2022-07-12 12:07:02 +08:00
leolin49 e68c497936 Update maker.go
correct spelling of comments
2022-07-11 11:08:58 +08:00
Lion 7d66d96525 optimize the checkIP and Long2IP impl 2022-07-07 10:26:27 +08:00
linyufeng c1c2336a82 新增接口测试 2022-07-06 20:08:45 +08:00
linyufeng ef755075ec util.go 接口优化 2022-07-06 20:07:44 +08:00
leolin49 5a5e727811 Create "make.bat" in windows for golang maker
新增golang maker在windows下的编译文件
2022-07-02 15:30:00 +08:00
Lion 68486ea679 some optimizations 2022-06-29 17:49:59 +08:00
Lion 10d3287b4d record the start and end segment index ptr 2022-06-22 10:22:40 +08:00
lion 6149b68a84 add php xdb searcher impl 2022-06-21 18:02:54 +08:00
lion 9751227b97 fix the bug of header write and regen the xdb file 2022-06-21 10:47:28 +08:00
Lion 4b4984fce0 add Makefile and docs for golang xdb maker and binding 2022-06-19 19:07:03 +08:00
lion db4aa26547 update the command docs 2022-06-17 15:48:48 +08:00
lion 16720b7b26 xdb_maker and usage docs 2022-06-17 15:35:58 +08:00
lion ffb5488988 package the source lib to xdb 2022-06-17 15:23:02 +08:00
lion be472cbbf7 Update the docs 2022-06-17 15:06:34 +08:00
lion 6254a598fc add search and bench doc for golang maker 2022-06-16 16:58:08 +08:00
lion 602dc9203b Add golang xdb maker implemetation 2022-06-16 16:44:02 +08:00
lion d746d5d4b2 init the v2.0 framework with v1.0 source kept 2022-06-16 16:27:56 +08:00
lion 1e2544cc57 archive the v1.0 - old db structure 2022-06-16 16:25:31 +08:00
Soar360 8dddff0e2b 新版 C# 数据库生成器 2020-12-03 13:34:39 +08:00
Soar360 9c70364080 add CSharp Macker 2020-07-09 14:01:07 +08:00
Soar360 c18377d4c1 Util.cs -> ip2long 2020-06-11 23:58:32 +08:00
Soar360 d9012947de add DbMaker.cs 2020-06-11 23:47:31 +08:00
Soar360 55a0c6993d add sln file 2020-06-11 22:12:00 +08:00
Soar360 9843232542 rename to Java style. 2020-06-11 22:10:56 +08:00
Killer 37c6349f10 clean code 2020-06-10 18:13:42 +08:00
Killer 1bb1f7cd50 add DbSearcher 2020-06-10 18:09:57 +08:00
Killer f03dc7be00 add HeaderBlock.cs
add IndexBlock.cs
add Util.cs
2020-06-10 17:23:01 +08:00
Killer 788dffa9fa add DataBlock
add DbConfig
2020-06-10 16:59:32 +08:00
lionsoul 8436adb45f Optimize the maker doc 2019-05-02 20:02:51 +08:00
lionsoul bcb34f5191 Add the java implementation for ip2region.db maker 2019-05-02 19:51:29 +08:00