Commit Graph

1257 Commits

Author SHA1 Message Date
lionsoul2014 8b79b69524 fix Index overflow for the cidr parse with bits equals to IP max bits 2026-05-19 19:43:51 +08:00
Leon / 狮子的魂 c5fb71facb
Merge pull request #486 from lionsoul2014/fr_go_binding_with_xdb_stream_input
xdb io.Reader based stream input supports
2026-05-19 11:46:59 +08:00
lionsoul2014 62e1f98497 xdb io.Reader based stream input supports 2026-05-19 11:45:11 +08:00
Leon / 狮子的魂 2af5ee176c
Merge pull request #485 from lionsoul2014/fr_golang_maker_io_stream
add io.Reader based xdb input supports
2026-05-19 11:43:14 +08:00
lionsoul2014 0ce74b8873 add io.Reader based xdb input supports 2026-05-19 11:42:03 +08:00
Leon / 狮子的魂 f4fcd5e900
Merge pull request #484 from lionsoul2014/fr_golang_cidr_to_range
Fr golang CIDR supports
2026-05-16 11:06:38 +08:00
lionsoul2014 072b6fed24 segments iterate with CIDR supports 2026-05-16 10:58:49 +08:00
lionsoul2014 f939363a19 SegmentFrom parser is ready for CIDR and IP range 2026-05-16 10:14:20 +08:00
lionsoul2014 353524325a CIDR to ip range supports 2026-05-16 00:07:15 +08:00
lionsoul2014 59cf547107 re-use the Header 2026-05-09 19:52:13 +08:00
Leon / 狮子的魂 3147144a7f
Merge pull request #481 from lionsoul2014/data_opt_merge_issues_480
merge the data reported by issues/480
2026-05-08 10:23:36 +08:00
lionsoul2014 d4299a1d1b merge the data reported by issues/480 2026-05-08 10:21:28 +08:00
lionsoul2014 18ecd7ae85 add Cangjie query client 2026-05-06 20:58:41 +08:00
狮子的魂 5fbdef93cd
!24 Add Cangjie binding with service layer, tests, and docs
Merge pull request !24 from lewist4cj/master
2026-05-06 12:48:54 +00:00
lewist4cj a90191e8d8 Add Cangjie binding with service layer, tests, and docs
Cangjie ip2region xdb searcher binding with:
- Low-level Searcher API (content buff / vector index / file only)
- Multi-threaded service layer (Config, SearcherPool, Ip2Region)
- 41 unit tests covering xdb and service packages
- Example project with 4 usage demos + performance benchmark
- Full documentation in README.md
2026-05-05 10:59:51 +08:00
Leon / 狮子的魂 593e028677
Merge pull request #478 from lionsoul2014/golang_maker_region_mgr
Golang maker region struct and cache impl
2026-04-29 17:41:08 +08:00
lionsoul2014 72c657c378 export the Region API for callbacks 2026-04-29 17:36:30 +08:00
lionsoul2014 19a8816827 clean the region cache 2026-04-29 16:04:40 +08:00
lionsoul2014 787bd7ae07 use the Region cache 2026-04-29 15:52:40 +08:00
lionsoul2014 5b10989ac2 Thread-safe impl for CacheRegion 2026-04-29 13:44:14 +08:00
lionsoul2014 90e827633a Use the Region struct to manager the region info instead of old string 2026-04-29 12:23:51 +08:00
Leon / 狮子的魂 4dd0a1e006
Merge pull request #477 from lionsoul2014/data_merge_reports_on_20260429
merge reports before 2026/04/29
2026-04-29 12:17:36 +08:00
lionsoul2014 77134c4315 merge reports before 2026/04/29 2026-04-29 12:15:39 +08:00
Leon / 狮子的魂 fedf5aaf03
Merge pull request #476 from lionsoul2014/data_merge_reports_on_20260420
merge reports from community before 20260420
2026-04-28 19:00:50 +08:00
lionsoul2014 d28a10b0c1 merge reports from community before 20260420 2026-04-28 18:58:34 +08:00
lionsoul2014 aab908c923 create if file not exists 2026-04-24 16:14:45 +08:00
lionsoul2014 c314ef54ca add SaveToFile(string) api 2026-04-24 09:41:02 +08:00
lionsoul2014 69d267d85d fix the bug of convert eList to segment list 2026-04-23 17:33:23 +08:00
Leon / 狮子的魂 a603a75ab7
Merge pull request #475 from lionsoul2014/opt_golang_editor
editor with put callback and auto segments merge
2026-04-22 16:29:55 +08:00
lionsoul2014 d730db816a editor with put callback and auto segments merge 2026-04-22 16:28:11 +08:00
lionsoul2014 d36edc6e15 empty cli args value & help flag support 2026-04-22 15:34:45 +08:00
lionsoul2014 1d9ffabfeb add the LISENCE to the golang package root 2026-04-19 10:23:13 +08:00
Leon / 狮子的魂 03cc433717
Merge pull request #474 from lionsoul2014/opt_v6_stdlize_cn_region_name
stdlize the cn region name for v6 data
2026-04-17 16:30:04 +08:00
lionsoul2014 3562b7af8e stdlize the cn region name for v6 data 2026-04-17 16:27:03 +08:00
Leon / 狮子的魂 165746ba38
Merge pull request #473 from lionsoul2014/opt_data_v4_stdlize_name_of_autonomous_prefecture
use the short name for all the cn autonomous prefecture
2026-04-16 22:46:57 +08:00
lionsoul2014 79243eb0ba use the short name for all the cn autonomous prefecture 2026-04-16 22:45:19 +08:00
lionsoul2014 be71b92f20 stdlize the city name of cn with suffix zhou 2026-04-16 16:30:47 +08:00
Leon / 狮子的魂 d380827871
Merge pull request #472 from lionsoul2014/opt_v4_data_field_name_std
stdlize all the province and city names for CN ipv4 segments
2026-04-16 16:07:02 +08:00
lionsoul2014 1a08f5e568 stdlize all the province and city names for CN ip segments 2026-04-16 16:00:26 +08:00
lionsoul2014 36c9de10bb use the sCmd args for sub-command 2026-04-09 21:06:08 +08:00
Leon / 狮子的魂 61ef15cff0
Merge pull request #468 from lionsoul2014/data_updates_on_20260408
merge some updates reported by community
2026-04-08 22:07:59 +08:00
lionsoul2014 d6444e740f merge some updates reported by community 2026-04-08 22:04:29 +08:00
lionsoul2014 e3094c8ef2 export the cmd util funcs 2026-04-08 10:56:37 +08:00
lionsoul2014 5244ebad08 update doc desc about setFairLock(boolean) 2026-04-05 22:04:48 +08:00
Leon / 狮子的魂 4d391acac2
Merge pull request #466 from lionsoul2014/opt_golang_search_api
Opt golang search api
2026-04-04 18:43:38 +08:00
lionsoul2014 5cb17713a7 input ip type changed to any to supports string or bytes ip 2026-04-04 18:42:12 +08:00
lionsoul2014 e1f0d5126a go1.18+ 2026-04-04 18:39:52 +08:00
lionsoul2014 d9fc17727e add bytes ip sub and middle util func 2026-04-04 18:39:31 +08:00
Leon / 狮子的魂 dabe7798f6
Merge pull request #465 from lionsoul2014/opt_java_service_fair_lock
add ConfigBuilder.setFairLock(boolean) to config whether ReentrantLoc…
2026-04-04 17:56:18 +08:00
lionsoul2014 8f841e6237 add ConfigBuilder.setFairLock(boolean) to config whether ReentrantLock uses a fair lock 2026-04-04 17:54:05 +08:00