lionsoul2014
|
dc64c27abd
|
c99 std supports
|
2025-11-02 23:03:07 +08:00 |
|
lionsoul2014
|
1da81ffc02
|
API define optimize for C99 std supports
|
2025-11-02 22:54:44 +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
|
e39ac2d6d1
|
optimize the type define
|
2025-10-11 15:53:09 +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 |
|
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 |
|
lion
|
931fb9e67b
|
use the local stack region_buffer instead of heap allocation
|
2025-09-23 18:15:46 +08:00 |
|
lion
|
75893f0331
|
include time.h for windows struture tm
|
2025-09-22 23:47:38 +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
|
27b5efde55
|
regen the xdb and remove the -g for c binding default compile flag
|
2024-02-28 10:35:24 +08:00 |
|
Lion
|
3066d243cd
|
Compatible with windows system
|
2023-10-13 11:07:45 +08:00 |
|
lion
|
a5b42e32fe
|
convert length type to compitatible with the old std
|
2023-04-03 09:50:23 +08:00 |
|
Wu Jian Ping
|
a406f0e636
|
1. c binding 支持MAC构建 2. c binding 支持构建静态库(nginx模块需要用到)
|
2023-03-31 18:14:24 +08:00 |
|
lion
|
3641d130d0
|
use rb mode reported at https://github.com/lionsoul2014/ip2region/issues/255
|
2022-08-13 11:51:30 +08:00 |
|
lion
|
67eb391a5a
|
remove the unused ptr reported at https://github.com/lionsoul2014/ip2region/issues/254
|
2022-08-13 11:49:18 +08:00 |
|
Lion
|
69a085f8cf
|
auto close the handle for all buffer load functions
|
2022-07-20 16:04:00 +08:00 |
|
Lion
|
e09c9b57b9
|
update the docs for vectorIndex/content buffer type and resource close
|
2022-07-02 18:07:17 +08:00 |
|
Lion
|
b949574af5
|
void * for all the close functions
|
2022-07-01 15:42:39 +08:00 |
|
Lion
|
91f9efa107
|
wrap the header/vector/content buffer
|
2022-07-01 11:57:45 +08:00 |
|
Lion
|
b8710c17d8
|
safely duplicate close
|
2022-06-30 18:34:14 +08:00 |
|
Lion
|
7325306a56
|
make all the db_path and vIndex/cBuffer args const
|
2022-06-30 11:55:41 +08:00 |
|
Lion
|
c5b45e0502
|
add api usage demo docs
|
2022-06-29 17:35:19 +08:00 |
|
Lion
|
7f9a9fd3a7
|
add search/bench test ReadMe docs
|
2022-06-29 15:28:14 +08:00 |
|
Lion
|
257c391912
|
add Makefile
|
2022-06-29 15:16:16 +08:00 |
|
Lion
|
bcf12a41db
|
xdb clang binding is ready with search/bench test passed
|
2022-06-29 15:03:32 +08:00 |
|
Lion
|
015a15f2e0
|
safe the type convertion
|
2022-06-29 09:47:09 +08:00 |
|
lion
|
417636d93c
|
newline the error info print
|
2022-06-28 18:37:16 +08:00 |
|
lion
|
cb03009ac4
|
fix the bug of content based read offset
|
2022-06-28 18:37:02 +08:00 |
|
lion
|
34c410998f
|
xdb searcher and search test program are ready
|
2022-06-28 18:30:34 +08:00 |
|
lion
|
e17add2d47
|
xdb search and bench test program
|
2022-06-28 17:48:19 +08:00 |
|
lion
|
f642c54848
|
c style db path
|
2022-06-28 17:07:24 +08:00 |
|
lion
|
f047a3d360
|
buffer load functions are ready
|
2022-06-28 16:28:16 +08:00 |
|
lion
|
2772ccb0ab
|
search logical impl
|
2022-06-28 12:15:09 +08:00 |
|
lion
|
1810fe74d6
|
impl the search by string
|
2022-06-27 18:37:31 +08:00 |
|
lion
|
bd065347b3
|
add the clang xdb searcher binding
|
2022-06-27 18:32:40 +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 |
|