wuxiaodong
40bd5a7a2f
Fix multi instance bugs, use instance variable instead of class variable.
2020-09-02 17:26:01 +08:00
dependabot[bot]
667cdc8cf6
Bump lodash from 4.17.13 to 4.17.19 in /binding/nodejs
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.13 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.13...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 08:58:29 +00:00
lionsoul
d62ede3131
Upgrade the minimist version inspired by the github alerts
2020-06-18 08:53:20 +08:00
lionsoul
c6b3e79df6
upgrade the acorn to version 5.7.4
2020-04-02 09:42:44 +08:00
lionsoul
07287ea6ec
Upgrade the minimist to 1.2.2
2020-04-02 09:41:14 +08:00
lionsoul
d077ab1d3c
Merge branch 'master' of https://gitee.com/lionsoul/ip2region
2020-04-02 09:38:27 +08:00
lionsoul
e7a666bdf2
Upgrade the kind-of to version 6.0.3
2020-04-02 09:38:10 +08:00
PHP Static
44059a4d0e
fix php5 symbol duplicate
2020-03-22 11:43:46 +08:00
PHP Static
28f818e91a
fix memory leak and symbol duplicate
2020-03-22 11:38:21 +08:00
lionsoul
6f3d0d5ece
Optimize the installation DOC and rename the php ext binding name
2020-02-21 13:56:26 +08:00
lionsoul
6c31b18cf9
Merge branch 'master' of https://gitee.com/lionsoul/ip2region
2020-02-21 13:36:35 +08:00
lionsoul
b75d215318
Optimize the README DOC
2020-02-21 13:36:21 +08:00
dongyado
25f82ba132
update readme add tested node version
2020-02-20 16:57:50 +08:00
dongyado
2e4d5d583e
update nodejs client and use node-ip2region for npm package name
2020-02-20 12:58:56 +08:00
dependabot[bot]
238f11963e
Bump handlebars from 4.1.2 to 4.5.3 in /binding/nodejs
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-27 11:39:13 +00:00
lionsoul
79a1956245
Merge pull request #138 from RocherKong/master
...
add data result availability checking
2019-12-11 17:20:05 +08:00
rocher
4013387c43
test result data right
2019-12-11 16:59:44 +08:00
lionsoul
41ea94f036
Upgrade mixin-deep for version 1.3.2 and set-value to version 2.0.1
2019-09-07 10:36:36 +08:00
lionsoul
5c1394a4f5
add nginx module support
2019-08-22 10:35:26 +08:00
Cherisher
d071daf34e
add support for nginx
2019-08-22 09:02:09 +08:00
lionsoul
f483af329e
Security Alerts fixing
2019-07-21 17:51:07 +08:00
lionsoul
a49b7deaf4
Upgrade some the dependencies version to the one followed by the github alerts
2019-07-07 11:33:31 +08:00
lionsoul
bb3740fba1
Upgrade some the dependencies version to the one followed by the github alerts
2019-07-07 11:18:21 +08:00
lionsoul
a8f77a9638
fix the bug of raf=null in the close interface of DbSearcher
2019-07-07 11:09:48 +08:00
lionsoul
4dabf635a8
Upgrade the lodash base version to 4.17.11
2019-02-12 17:39:11 +08:00
lionsoul
ab1c331fbd
Update the merge to version 1.2.1
2018-11-03 11:05:48 +08:00
lionsoul
a6968d9767
Merge pull request #86 from heweizhen0822/patch-1
...
Update README.md
2018-10-18 20:59:29 +08:00
heweizhen0822
06e8aa2528
Update main.go
...
github.com/mohong122/ip2region/binding/golang/ip2region 并没有子包ip2region 需要改成 github.com/lionsoul2014/ip2region/binding/golang/ip2region
2018-10-18 10:34:33 +08:00
heweizhen0822
281237c5c3
Update README.md
...
github.com/mohong122/ip2region/binding/golang/ip2region 需要改成 github.com/lionsoul2014/ip2region/binding/golang/ip2region
2018-10-18 10:32:32 +08:00
lionsoul
9c37b5be7f
Optimize the lua_c module
2018-10-10 11:54:26 +08:00
lionsoul
253dc12917
Add automatically lib dir make
2018-10-07 20:58:54 +08:00
lionsoul
86104eb31f
Optimize the ip2long function with trim logic applied
2018-10-07 10:23:17 +08:00
lionsoul
bd6dc7be90
Update the README doc for lua_c module
2018-10-06 15:12:24 +08:00
lionsoul
03fd40bb09
Add README doc for lua_c module
2018-10-06 11:18:01 +08:00
lionsoul
f9e9dd59a3
lua ip2region c module forward with release version published
2018-10-06 11:05:01 +08:00
lionsoul
93689e09e8
lua binding module interface stdlize with new and ip2long method access by . support
2018-10-05 21:46:21 +08:00
lionsoul
e26ed44861
lua_c module forward with basic framework finished(tested)
2018-10-05 21:39:35 +08:00
lionsoul
7bd81290f1
lua_c binding basic framework(Not tested yet...)
2018-10-05 14:03:16 +08:00
lionsoul
7032830d23
Optimize the lua module by add the __index and the __tostring meta-method
2018-10-05 10:55:24 +08:00
lionsoul
e9a08e27a3
Optimize the benchmark script
2018-10-05 09:49:32 +08:00
Koma
593aba66d8
重构python客户端,提升查询性能,兼容python2.x,3.x
2018-10-04 11:39:49 +08:00
lionsoul
a2d250919d
Update the lua interface and add setDbFile interface
2018-10-04 10:22:01 +08:00
lionsoul
5f871ba257
Update the Lua binding
2018-10-03 20:12:30 +08:00
lionsoul
e6104dcd1f
Update README for lua binding
2018-10-03 20:10:02 +08:00
lionsoul
86ad8057aa
Lua binding completed(tested)
2018-10-03 20:05:14 +08:00
lionsoul
5f073d814e
lua binding forward with binarySearch and btreeSearch interface implemented
2018-10-03 13:12:05 +08:00
lionsoul
04f093d9bd
lua binding basic framework with memory search completed(tested)
2018-10-02 22:36:57 +08:00
lionsoul
1f04c554db
Update the maven version number to 1.7.2
2018-10-02 11:24:58 +08:00
lionsoul
679f30acdb
Add DbSearcher(dbConfig, dbBinStr) construct method specified by Wendal at https://gitee.com/lionsoul/ip2region/issues/IILFL
2018-10-02 11:14:31 +08:00
lionsoul
d82447c1b7
Merge pull request #76 from a631807682/master
...
[nodejs] publish package on npm
2018-10-02 10:19:43 +08:00
lionsoul
9623e345d9
Merge pull request #72 from stulzq/master
...
Add use stream method for C#
2018-09-01 20:59:52 +08:00
陈睿
4556afd815
[nodejs] publish package on npm
2018-08-30 18:20:49 +08:00
lionsoul
f482591eee
Merge pull request #69 from Maledong/master
...
[Feature] Add 'memorySearch' and 'memorySearchSync' for Nodejs
2018-08-25 10:59:30 +08:00
stulzq
f3ae83afb5
add use stream method
2018-08-19 16:47:01 +08:00
MaleDong
487129d59c
[Feature] Add 'memorySearch' and 'memorySearchSync' for Nodejs
...
1) Add features.
2) Add unit tests.
3) Add benchmark.
2018-07-31 16:12:56 +08:00
lionsoul
b7e9755c6b
java binding version 1.7 with btree search bug fixed
2018-07-31 16:03:15 +08:00
lionsoul
f82d3be466
Fix the bug for btree header fetch
2018-07-31 15:58:11 +08:00
Rocher
e1a7052c9d
Update README.md
...
Use the synchronization method as the first choice.
2018-07-31 11:37:25 +08:00
Rocher
48edca6313
Update README.md
...
Use the synchronization method as the first choice.
2018-07-31 11:36:14 +08:00
MaleDong
b177834c7b
[Fix] Fix csharp formations
...
1) In `README.md`, we shouldn't use `c#` but `csharp` to make md
recoginize it's the C# formation of codes.
2) Add 'ConfigureAwait(false)' as for the MSDN magazine usage.
3) Don't need Contribution History in README.md, because we can see the
change logs in GitHub instead.
2018-07-30 14:44:47 +08:00
MaleDong
ee5c05d321
[Fix] Add "Disposible" interface for final release of resouces
...
`_search` should release resouces because the file state is still open.
2018-07-30 11:21:31 +08:00
MaleDong
c6721af1ec
[Update] Refactor codes according to RocherHong's changes
...
1) Considering using xUnit for UnitTest, remove my unit tests.
2) Remove useless `async`, because `async` is just the wrapper of `Task`.
3) Modify unit tests to be sure that the values MUST BE equal to each other when the IP is the same.
2018-07-30 10:48:30 +08:00
lionsoul
d40e001802
Merge pull request #61 from Maledong/master
...
New Feature of async for Nodejs, Refactor of codes in node.js
2018-07-30 10:41:23 +08:00
lionsoul
d51db48721
Fix the conflicts
2018-07-30 10:39:15 +08:00
MaleDong
8a6ac1cdc6
Change from `async Task` to `Task`
...
Because the async is the wrapper of Task, we don't need to use async
again.
2018-07-30 09:56:25 +08:00
RocherKong
55db35b6f4
1.CodeStandardized 2.Support Netfx4.5 3.TestStandardized
2018-07-30 00:31:49 +08:00
MaleDong
1331f75997
Refactor of codes in node.js
...
1) Add async method: `binarySearch` and `btreeSearch`.
2) Refactor of tests by putting them into `tests` folder.
3) Create several new tests in details.
4) Remove useless and reformat codes to be clear.
5) Remove useless snapshots, because they can be recreated when you run `npm run test`.
2018-07-29 20:02:14 +08:00
MaleDong
33570612bc
Refactor of CSharp:
...
1) Add `Async` methods.
2) Remove uesless variables, codes.
3) Remove ConsoleApp and use UnitTest instead.
4) Add README.md instead.
2018-07-20 13:57:32 +08:00
biluohc
ea9a3ff7b8
Rust: 0.2.0, use std::net::Ipaddr and update Error.
2018-07-03 15:53:16 +08:00
dongyado
94ed13cdd0
update php_extension client intro file
2018-07-03 15:27:33 +08:00
dongyado
b63a566641
add new author and email for nodejs binding client
2018-07-03 15:17:47 +08:00
Monster Slayer
1d3c083dc8
Merge pull request #50 from leeching/refactor/nodejs
...
refactor(nodejs): write nodejs script in javascript way
2018-07-03 15:14:41 +08:00
lionsoul
4afaf4513c
Merge pull request #55 from biluohc/master
...
add rust implement.
2018-07-03 10:55:40 +08:00
leeching
1ffe2b985e
feat: add destroy method for backward compatibility
2018-07-03 10:07:25 +08:00
leeching
834e5939d8
feat(nodejs): add create static method
2018-07-03 09:48:41 +08:00
leeching
b89ed1c397
refactor(nodejs): write nodejs script in javascript way
2018-07-03 09:48:41 +08:00
biluohc
1d09fee3c5
add a example
2018-07-02 23:04:46 +08:00
biluohc
02db5c5c56
use workspace
2018-07-02 22:17:10 +08:00
biluohc
4120c651eb
add rust implement.
2018-06-30 16:16:00 +08:00
insua
d8a7e34a84
fix(move golang package in directory and typo in readme):
2018-06-29 16:49:38 +08:00
Felix Yan
34be04bc4a
Fix some typos in Ip2Region.class.php
2018-06-28 02:00:05 +08:00
dongyado
550425a2b5
keep php class and php_extention return data key same, we change php_extension return data key : cityId to city_id
2018-06-27 10:44:29 +08:00
lionsoul
35cc0f37c7
Merge pull request #48 from leeching/fix/nodejs-var
...
remove unnecessary var
2018-06-26 17:34:03 +08:00
leeching
b961c1f0ac
test(nodejs): update snapshot
2018-06-26 17:10:56 +08:00
leeching
3d6db4931a
remove unnecessary var
2018-06-26 16:26:00 +08:00
Wei.Jiang
98616d0df8
重命名 php 测试脚本
...
重命名 php 测试脚本,与 README 和其他语言脚本名保持一致
2018-06-26 11:05:48 +08:00
dongyado
7e6cbdc652
update php_extension install guides
2018-05-17 12:11:13 +08:00
Chunlin Li
fdac1c0101
fix: ReferenceError: m is not defined
2018-05-16 19:01:17 +08:00
helloKaiDing
d4dab91796
Makefile for binding/c
...
This is an Makefile for the binding/c program, can use to generate the db file ip2config.db and the test program testSearcher, can be very convient for the new starter.
2018-04-08 17:23:03 +08:00
Jack
a1ae4c8299
Update README.md
...
更改 markdow h 标签错误格式!
2018-03-29 19:04:48 +08:00
RocherKong
b65d8206ba
add support for C#
2018-02-09 22:04:01 +08:00
lionsoul
217a7dab9e
Untrack the binding/java/target/ directory
2017-10-28 15:38:09 +08:00
lionsoul
5f29715ec2
java binding maven upload & track the latest dbMaker.jar
2017-10-23 13:48:49 +08:00
lionsoul
b48dbe5248
Bug fixed: Adjust the super header length to 8192 for all client implementation
2017-10-21 12:47:24 +08:00
wfifi
0f39924b08
add python3 support
2017-10-20 18:09:07 +08:00
chengpiaopiao
1ad6274118
fix incorrect python test helper.
2017-09-15 15:40:04 +08:00
mohong
e4f54054c4
Merge pull request #1 from lionsoul2014/master
...
合并远程
2017-05-25 14:51:46 +08:00
mohong
20cd77c80c
增加控制台实例
2017-05-25 14:35:19 +08:00
Ya Zhuang
eae269f37d
chore: test in jest
2017-04-14 12:47:55 +08:00
lionsoul
b7376d5868
Add the author info for binding/c_mmap module
2017-01-12 18:21:36 +08:00