Commit Graph

638 Commits

Author SHA1 Message Date
lionsoul2014 7f5844ca94 xdb searcher and searcher test script 2025-10-30 15:33:26 +08:00
lionsoul2014 cc97bb80a2 fix the bug of ip_sub_compare call 2025-10-30 15:33:02 +08:00
lionsoul2014 d4d5525392 utils is ready and with unit tests passed 2025-10-30 11:37:19 +08:00
lionsoul2014 6c653f85cd multi-line the str format 2025-10-29 22:59:05 +08:00
lionsoul2014 47067dbe73 utils keep going and unit tests 2025-10-29 22:55:10 +08:00
lionsoul2014 f6213aaaa4 remove the old implmentation 2025-10-29 22:53:04 +08:00
lionsoul2014 3a3abdd01c python ipv6 supporting 2025-10-29 16:03:19 +08:00
lionsoul2014 bbf5df5601 fix the typo 2025-10-27 21:48:25 +08:00
lionsoul2014 0f2260d116 warnings fixed 2025-10-27 16:00:37 +08:00
lion 572aa7b76a update the default xdb path 2025-10-24 12:49:00 +08:00
lion 580d1bb431 update the default xdb path to the latest xdb 3.0 version 2025-10-24 12:47:34 +08:00
gongzhengyang 4ebfa61179 Fix: rust bind return empty string for not found IP 2025-10-21 14:35:18 +08:00
lion 8a7a899c64 fix the sample region info 2025-10-21 13:31:01 +08:00
lion f7ad4309f8 search api prototyp desc 2025-10-21 13:12:59 +08:00
lion d56230518a search api desc 2025-10-21 12:57:25 +08:00
lion 2a77acf1c0 return empty string for empty match 2025-10-21 12:57:14 +08:00
lion d5d0c15c8d syntax the api code with php 2025-10-21 11:20:44 +08:00
lion b3498197a8 return empty string for empty match 2025-10-21 11:14:58 +08:00
lion d10c57b598 search api desc 2025-10-21 11:14:22 +08:00
lion 7050da1a68 search api desc 2025-10-21 10:55:42 +08:00
lion bb3c845c81 search api desc & return empty string for empty match 2025-10-21 10:48:25 +08:00
lion ca6c0506e6 search api desc and return empty string for empty match 2025-10-21 10:40:34 +08:00
lion 79cc6c1b0d putInt2 to putUint16 and getInt2 to getUint16 2025-10-21 10:34:53 +08:00
lion bd69a255fd return empty string for empty match 2025-10-21 10:28:56 +08:00
lion 8f6effd8eb verify api and verify the xdb before search or bench test 2025-10-20 22:26:15 +08:00
lion d503206e14 3.1.5 release verison with third party package lists 2025-10-20 19:10:21 +08:00
lion b3383680f9 code format stdlize 2025-10-20 19:09:37 +08:00
lion 541420b8df pure lua script is ready for IPv6 2025-10-20 18:59:39 +08:00
lion 6cb1da2794 search process forward 2025-10-20 15:37:51 +08:00
lion ec7cb6d3ed Merge branch 'master' into fr_lua_ipv6 2025-10-19 23:08:31 +08:00
lion a30d922225 lines merge 2025-10-19 23:07:00 +08:00
lion a1b2c21767 optimize the ipv6 bytes to string 2025-10-19 23:05:15 +08:00
lion 1e31b4b143 ip util functions is ready 2025-10-19 22:57:06 +08:00
lion baa9f62d6b Merge branch 'master' into fr_lua_ipv6 2025-10-19 18:42:52 +08:00
Argo Zhang d362231ae8 test: 更新依赖到最新 2025-10-19 17:37:18 +08:00
Argo Zhang 1ad01ff98b doc: 更新 readme 文档 2025-10-19 17:37:09 +08:00
Argo Zhang 5deb6d6553 test: 更新依赖文件名 2025-10-19 17:36:57 +08:00
Argo Zhang 444b2036d1 chore: 更新基准测试文件名 2025-10-19 17:36:37 +08:00
Argo Zhang 35e505bd74 test: 更新单元测试依赖文件 2025-10-19 17:36:03 +08:00
Argo Zhang 2fe8032d8b chore: 更改项目框架为 net9 2025-10-19 17:35:37 +08:00
lion 69eb94dcd8 funcs to parse ip address (IPv4 and IPv6) 2025-10-19 17:26:17 +08:00
Argo Zhang 0ad3172f2e doc: 增加注释 2025-10-19 15:30:34 +08:00
Argo Zhang 2ac7655f62 chore: 更改依赖 2025-10-19 15:30:26 +08:00
Argo Zhang 6aab24fb88 refactor: 更改为 TryAddSingleton 防止重复注册 2025-10-19 15:24:39 +08:00
Argo Zhang b94123fee3 refactor: 重构代码 2025-10-19 15:19:00 +08:00
Argo Zhang 0caff12306 chore: 更新依赖包版本号为具体版本号 2025-10-19 15:16:39 +08:00
Argo Zhang 6ad1e8e2e2 test: 更新单元测试 xdb 文件路径 2025-10-19 15:16:23 +08:00
Argo Zhang 9e979efd7b refactor: 更新 link 路径 2025-10-19 15:11:58 +08:00
Argo Zhang f594838784 refactor: 更改扩展类名称 2025-10-19 15:09:06 +08:00
Argo Zhang 24dcb24e24 refactor: 增加 Keyed 逻辑 2025-10-19 15:08:16 +08:00
Argo Zhang ddb2b4ff1d Merge remote-tracking branch 'github.com/master' into feat-services 2025-10-19 14:57:44 +08:00
Argo Zhang 2662fb05c2 feat: 增加注入服务支持 2025-10-19 14:55:37 +08:00
Argo Zhang 7e4d37b1db refactor: 增加更多框架支持 2025-10-19 14:55:21 +08:00
Argo Zhang d1715c75f6 refactor: 更新 xdb 文件名 2025-10-19 14:54:49 +08:00
Argo Zhang c82d2e6117 chore: 增加 slnx 解决方案工程 2025-10-19 14:54:31 +08:00
lion ffb632c3d0 add third party js binding impl 2025-10-19 10:19:40 +08:00
lion 413ccd32ce version 3.1.3 with empty match interception 2025-10-17 12:42:52 +08:00
lion e3b87326d2 empty match interception with null return 2025-10-17 12:35:10 +08:00
lion 5a51b75411 optimize the doc 2025-10-15 21:33:54 +08:00
lion a2b76d38a9 fix the duration stats 2025-10-15 13:39:18 +08:00
lion 8c7c83cf7f deprecated the old nodejs and typescript binding 2025-10-15 11:36:17 +08:00
lion fbadc7cca0 new javascript binding is Ready with IPv4 and IPv6 supported 2025-10-15 11:27:10 +08:00
lion f03d33e5fe publish the ip2region.js package and update the doc for it 2025-10-15 11:10:47 +08:00
lion c809c072bc add search test demo docs 2025-10-15 10:18:45 +08:00
lion 5c1522fce4 search test app is ready 2025-10-15 10:13:10 +08:00
lion a3eedc5438 rm unnecessary brackets 2025-10-15 10:12:52 +08:00
lion 4f8cdb05c9 remove the unused code 2025-10-15 09:30:32 +08:00
lion 008bbbe4d7 bench script is ready and bench test passed 2025-10-14 21:44:07 +08:00
lion d35a7b9120 bench script 2025-10-14 14:20:19 +08:00
lion 4d71b47e05 merge the tests to util or searcher 2025-10-14 11:25:12 +08:00
lion 40ea8a267f remove the debug checks 2025-10-13 22:35:51 +08:00
lion 2dcccf22a3 verify impl and verify the xdb files 2025-10-13 22:21:30 +08:00
lion e073e26f52 fix the bug of ipToString with tailing double colon 2025-10-13 18:42:20 +08:00
lion ed42fd0fba adjust the export order 2025-10-13 18:13:55 +08:00
lion 9959117d92 ReadMe for basic usage 2025-10-13 18:06:54 +08:00
lion 3cab1bae2e add ts type define and api exports 2025-10-13 15:28:30 +08:00
lion 5a8d7c4152 use the ESM standard 2025-10-13 14:35:45 +08:00
lion 4507c2f706 javascript is Ready for IPv6 2025-10-13 12:05:20 +08:00
lion ad78dbe547 searcher with ipv4 tests passed 2025-10-12 13:48:26 +08:00
lion e924a7c17d version ip compare is ready 2025-10-12 11:07:22 +08:00
lion 6c463282d0 merge the header/version to util.js 2025-10-11 23:57:55 +08:00
lion bb19c7110a mi = max-index 2025-10-11 23:45:05 +08:00
lion 5fce4eaa01 ipv6 parse and toString beta version 2025-10-11 23:43:37 +08:00
lion 01bd749d4a ipv6 parse and to string alpha version 2025-10-11 19:34:24 +08:00
lion 3693eb47a8 Merge branch 'master' into fr_javascript_ipv6 2025-10-11 15:53:47 +08:00
lion e39ac2d6d1 optimize the type define 2025-10-11 15:53:09 +08:00
lion d97967d565 ip parse and to string util implementing 2025-10-11 15:49:24 +08:00
lion ccf7f323c2 header/vector/content load util funcs is ready 2025-10-11 13:28:20 +08:00
lion d6345bc015 ignore the package-lock.json 2025-10-10 16:07:45 +08:00
lion 086250c666 javascript binding with IPv4 and IPv6 supports 2025-10-10 16:03:33 +08:00
lion 54a160e230 ignore the test_util binary 2025-10-10 10:31:22 +08:00
lion 2d71241a3b for msvc 2025-09-30 09:36:52 +08:00
gongzhengyang 1f1ad5aaf6 Style: fmt binding rust code 2025-09-28 15:51:54 +08:00
gongzhengyang df6004b42e Feat: add rust maker for ipv4 and ipv6 2025-09-28 15:27:11 +08:00
gongzhengyang 05c7c17af0 Docs: add bench result for rust binding in readme 2025-09-28 15:27:11 +08:00
lion a137813509 enable all standard warnings & fix all the warnings 2025-09-25 22:24:01 +08:00
lion 0179edc3a8 auto manager the region buffer & remove the unused vars 2025-09-25 22:11:52 +08:00
狮子的魂 1ac2113afc
Merge pull request #382 from gongzhengyang/master
Rust binding supports multi cache policies and IPv6
2025-09-24 15:03:32 +08:00
gongzhengyang 139972dfb8 Fix: rust code fmt 2025-09-24 14:55:08 +08:00
gongzhengyang 379ab6ce73 Fix: rust binding bench count error 2025-09-24 14:50:09 +08:00
gongzhengyang d3592eb7cd Feat: improve bench query code in rust example, add usage at Readme 2025-09-24 14:35:42 +08:00
gongzhengyang b6410e16d0 Docs: improve rust binding usage in Readme 2025-09-24 10:42:12 +08:00
gongzhengyang d7f4ef5a07 Feat: limit bench IPv6 range 2025-09-24 10:41:47 +08:00
gongzhengyang 7a4bd4ed2b Fix: binary search ip unneccessary repeat call 2025-09-24 10:40:53 +08:00
gongzhengyang a6931ce31b Docs: improve binding rust readme docs, basic usage 2025-09-23 19:51:56 +08:00
gongzhengyang 32e005e1e6 Feat: rust binding support IPv6 search 2025-09-23 19:51:51 +08:00
gongzhengyang b5b00aeb87 Feat: improve rust binding example read file 2025-09-23 19:51:44 +08:00
gongzhengyang b16fe21506 Feat: add file and vector index cache search 2025-09-23 19:51:34 +08:00
lion 931fb9e67b use the local stack region_buffer instead of heap allocation 2025-09-23 18:15:46 +08:00
lion 7576daa6cc empty input ignore 2025-09-23 11:09:23 +08:00
lion 75893f0331 include time.h for windows struture tm 2025-09-22 23:47:38 +08:00
lion 355c0d8673 default lua version to 5.4 2025-09-21 13:06:25 +08:00
lion 29fa8e25ab lua c ext is ready for IPv6 2025-09-21 12:56:42 +08:00
lion 46f56f0eca remove the unused defines 2025-09-21 00:51:19 +08:00
lion 2fe0d1f59e Ipv6 search is ready 2025-09-21 00:45:45 +08:00
lion b01253e6b3 ip parse and binary ip bytes use 2025-09-20 17:29:11 +08:00
lion 6712ee9504 calling the latest xdb api 2025-09-20 14:37:22 +08:00
lion 5fa69300ad lua_c ipv6 supporting 2025-09-20 14:03:09 +08:00
lion 7e599e05a0 print the error tip if region_buffer init failed 2025-09-19 16:16:19 +08:00
lion 48c2b395bc c binding is ready for IPv6 2025-09-19 13:08:47 +08:00
lion dff3084b93 C binding is ready for IPv6 2025-09-18 23:09:19 +08:00
lion 8fbdf82797 IPv6 search and docs is ready 2025-09-18 15:53:48 +08:00
lion 73c8b20d3a apply the bytes ip to the whole search process 2025-09-17 23:10:42 +08:00
lion 69b9f062e4 directly compare the ip from the buffer 2025-09-17 14:45:03 +08:00
lion 1575e581cd try to apply the bytes_ip_t for the search 2025-09-17 14:43:28 +08:00
lion 4cff9eb6ee ip parse / to_string / compare util function is ready 2025-09-17 13:07:35 +08:00
lion 0fd0bc59d0 bytes ip utils prototype 2025-09-16 22:09:49 +08:00
lion c64837db67 ip util function update for IPv6 2025-09-16 15:29:55 +08:00
lion eb80b89c0e ipv6 supporting for clang 2025-09-16 14:46:34 +08:00
lion 9a14e32736 add xdb file verify util and call it before the search/bench test 2025-09-16 12:35:22 +08:00
lion 4c1b0362c8 fix the typo 2025-09-16 12:34:50 +08:00
lion 7bbe7d681d PHP binding IPv6 supports is ready 2025-09-15 15:22:49 +08:00
lion 95c129c7d1 PHP IPv6 supporting 2025-09-14 23:14:42 +08:00
lion 537077279a Java IPv6 support is ready 2025-09-13 00:21:25 +08:00
lion a91fdd38bc updatet the pom desc 2025-09-12 15:48:20 +08:00
lion 9af9c927fe IPv6 impl for java binding is ready 2025-09-12 15:43:37 +08:00
lion f226ef1f79 update the comments 2025-09-12 15:31:12 +08:00
lion e8b6049584 resource defer close and some optimizations 2025-09-12 12:52:15 +08:00
lion 6db9654c7d IPv6 supporting for Java searcher 2025-09-12 12:41:00 +08:00
lion fdec88605f update the cli search demo 2025-09-08 11:52:34 +08:00
lion 0623fee57a update the ReadMe for IPv6 supports 2025-09-08 11:13:09 +08:00
lion beb0e452ce xdb verify desc and docs 2025-09-07 18:09:57 +08:00
lion 7cc7d4d9cf add verify func and call it on the test program to make sure the searcher would work properly 2025-09-07 10:47:01 +08:00
lion a8a17b0f98 show the normalized ipv4 region 2025-09-06 10:35:57 +08:00
lion 03eef4a75e IPv4 and IPv6 search test and bench demo 2025-09-06 10:14:23 +08:00
lion 6b2e18e551 update the Doc for the latest API call (IPv4 & IPv6) 2025-09-06 10:07:13 +08:00
lion 0307a3df14 IPv6 RC verison with IPv4 compatible with the old implementation 2025-09-06 00:36:10 +08:00
lion ae69123857 add IPv6 supports for golang binding 2025-09-05 17:15:01 +08:00
lion 4996c0ff6a add in-memory search supports when the xdb file size exceeds 2^31 - 1 2025-08-22 19:10:51 +08:00
lion 73e4e6047f add batch test script 2025-06-19 15:08:52 +08:00