Commit Graph

1284 Commits

Author SHA1 Message Date
Alice39s d1dda93abd
fix(erlang): guard xdb:search against unconfigured pool 2026-06-28 05:10:04 +09:00
Alice39s 44013251b6
test(erlang): fix integer ip_version assertion and add invalid format cases 2026-06-28 05:09:38 +09:00
Alice39s 546ce589a9
docs(erlang): update README examples for IPv6 and current test output 2026-06-28 04:58:45 +09:00
Alice39s 507b7bddc1
fix(erlang): post-review cleanups — pread, self-contained tests, poolboy app dep, dead docs 2026-06-28 04:54:08 +09:00
Alice39s 25513cb246
fix(erlang): unify v4 pool name and stop caching errors 2026-06-28 04:12:44 +09:00
Alice39s 445eb4cb8e
fix(erlang): integer guard, cache dedup, dead macro cleanup 2026-06-28 04:12:43 +09:00
Alice39s a1667d1182
refactor(erlang): simplify benchmark output to ms/QPS and add CPU clock info 2026-06-28 01:04:00 +09:00
Alice39s d189535bb8
chore(erlang): add Makefile bench targets, IPv6-capable benchmark script and docs 2026-06-28 00:51:53 +09:00
Alice39s 06d54d8084
docs(erlang): add dual-stack IPv4/IPv6 setup and usage guide 2026-06-28 00:31:17 +09:00
Alice39s 8849cc9130
feat(erlang): auto-route search by IPv4/IPv6 to correct worker pool 2026-06-28 00:07:22 +09:00
Alice39s c911ca1290
feat(erlang): create version-specific worker pools from db config 2026-06-28 00:07:09 +09:00
Alice39s 241831a6f0
feat(erlang): make worker xdb version-aware for IPv4/IPv6 2026-06-28 00:01:09 +09:00
Alice39s 2f0dc5f33f
feat(erlang): add dual-stack IP parsing utilities 2026-06-27 23:52:40 +09:00
Alice39s c1db56c369
feat(erlang): add xdb header parser helper module 2026-06-27 23:51:07 +09:00
Alice39s 211c374ee2
feat(erlang): add xdb header and dual-stack table/pool macros 2026-06-27 23:50:19 +09:00
Alice39s a3b8d817ee
chore: ignore .worktrees directory 2026-06-27 21:27:36 +09:00
lionsoul2014 b7bb22589f fix the name to fit the geo standard 2026-06-26 16:20:14 +08:00
Leon / 狮子的魂 1068bf05a3
Merge pull request #491 from lionsoul2014/ft_golang_segments_iterate_with_full_options
more options for segments iterate
2026-06-23 10:09:23 +08:00
lionsoul2014 fc46254325 more options for segments iterate 2026-06-23 10:07:48 +08:00
lionsoul2014 7b320846c9 update the test assert and optimize the bench tests 2026-06-11 16:37:31 +08:00
Leon / 狮子的魂 e360f3d031
Merge pull request #488 from isslower/codex/python-test-args
Fix Python test helpers to use function arguments
2026-06-09 13:19:39 +08:00
isslower e7c240a8d9 Fix Python test helper arguments 2026-06-09 12:51:13 +08:00
lionsoul2014 d638015592 region.fields with sep 2026-05-30 12:22:44 +08:00
lionsoul2014 3eb65a2657 sep args for segment parse 2026-05-30 11:02:41 +08:00
lionsoul2014 fac3d0376a PushBack for empty match 2026-05-24 20:14:29 +08:00
lionsoul2014 a8b9d542c6 srcReader is nil check 2026-05-24 20:13:47 +08:00
Leon / 狮子的魂 82a73fa60d
Merge pull request #487 from lionsoul2014/fix_golang_cidr_to_range
fix Index overflow for the cidr parse with bits equals to IP max bits
2026-05-19 19:49:56 +08:00
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