Commit Graph

526 Commits

Author SHA1 Message Date
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
lion da47234738 java binding 2.8.0 with vectorIndex/file policy search support xdb size exceeds INT.max bytes 2025-06-10 23:42:21 +08:00
lion 1d32d5e6aa a Temporary solution for xdb size exceeds the INT.max which will cause nagetive array index 2025-06-10 23:37:40 +08:00
lion ec1ae9504e fix the bug of undefined:io 2025-05-05 19:46:13 +08:00
Jellyfish 39a806695e 增加LoadContentFromFS函数,提供了一个通用的方法来从 embed.FS 中加载文件内容。 2025-04-21 10:07:38 +08:00
Alan e49a076dee update: add ts-ip2region client 2024-12-17 16:36:29 +08:00
Alan c376ccd72b v0.1.1 2024-12-17 16:34:30 +08:00
Alan 37dc606a59 update: remove @types/ip2region 2024-12-17 16:24:32 +08:00
Alan 1a11c91061 docs: update readme 2024-12-17 15:26:13 +08:00
Alan e481fea2b9 feat: add typescript client 2024-12-17 13:59:20 +08:00
Alan 3a2d02923e feat: initialize TypeScript library project 2024-12-16 14:40:46 +08:00
eliauk-code 40f2cdfcd9
Update ReadMe.md
spelling mistake
2024-05-09 14:24:57 +08:00
Yunbin Liu 3b7cc3d477 fix python search 2024-03-22 07:23:55 +00:00