Commit Graph

758 Commits

Author SHA1 Message Date
lionsoul 835d9c1b90 Update the README doc for lua_c module 2018-10-06 15:12:24 +08:00
lionsoul 6fefefa9ae Add README doc for lua_c module 2018-10-06 11:18:01 +08:00
lionsoul 08eea15172 lua ip2region c module forward with release version published 2018-10-06 11:05:01 +08:00
lionsoul a589b79e6c lua binding module interface stdlize with new and ip2long method access by . support 2018-10-05 21:46:21 +08:00
lionsoul 01ab0a0373 lua_c module forward with basic framework finished(tested) 2018-10-05 21:39:35 +08:00
lionsoul 57f4fb4383 lua_c binding basic framework(Not tested yet...) 2018-10-05 14:03:16 +08:00
lionsoul 6a8d641a07 Optimize the lua module by add the __index and the __tostring meta-method 2018-10-05 10:55:24 +08:00
lionsoul 597b769311 Optimize the benchmark script 2018-10-05 09:49:32 +08:00
lionsoul 0d0cd486c9 Merge pull request #81 from KomaBeyond/master
重构python客户端,提升查询性能,兼容python2.x,3.x
2018-10-05 09:40:15 +08:00
Koma a584ef9caf 重构python客户端,提升查询性能,兼容python2.x,3.x 2018-10-04 11:39:49 +08:00
lionsoul 1701f49e45 Update the lua interface and add setDbFile interface 2018-10-04 10:22:01 +08:00
lionsoul b1463a23a0 Update the Lua binding 2018-10-03 20:12:30 +08:00
lionsoul cbba946ff7 Update README for lua binding 2018-10-03 20:10:02 +08:00
lionsoul 3d69968290 Lua binding completed(tested) 2018-10-03 20:05:14 +08:00
lionsoul 92684b1183 lua binding forward with binarySearch and btreeSearch interface implemented 2018-10-03 13:12:05 +08:00
lionsoul 932a5d80b4 lua binding basic framework with memory search completed(tested) 2018-10-02 22:36:57 +08:00
lionsoul 64adcf122e Update the maven version number to 1.7.2 2018-10-02 11:24:58 +08:00
lionsoul 8494e1075d 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 6027ba7146 Add some notices 2018-10-02 10:39:54 +08:00
lionsoul b029d58aa3 Merge pull request #76 from a631807682/master
[nodejs] publish package on npm
2018-10-02 10:19:43 +08:00
lionsoul 73b988bae5 Merge branch 'master' of https://github.com/lionsoul2014/ip2region 2018-09-05 20:45:30 +08:00
lionsoul 5fe7629fe8 Update the maven version to 1.7 2018-09-05 20:44:37 +08:00
lionsoul 0bb8cb9553 Merge pull request #72 from stulzq/master
Add use stream method for C#
2018-09-01 20:59:52 +08:00
陈睿 ad219e3e07 [nodejs] publish package on npm 2018-08-30 18:20:49 +08:00
lionsoul c95bed6f58 Merge pull request #69 from Maledong/master
[Feature] Add 'memorySearch' and 'memorySearchSync' for Nodejs
2018-08-25 10:59:30 +08:00
stulzq d83e20c99c add use stream method 2018-08-19 16:47:01 +08:00
MaleDong b9e9fcfd80 [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 90f0e86597 java binding version 1.7 with btree search bug fixed 2018-07-31 16:03:15 +08:00
lionsoul 37845e7dea Fix the bug for btree header fetch 2018-07-31 15:58:11 +08:00
lionsoul 84a8befd4b Update to the latest data of version 2018/07/26 2018-07-31 15:49:28 +08:00
lionsoul c8537541c3 Merge pull request #68 from RocherKong/master
Use the synchronization method as the first choice
2018-07-31 12:43:11 +08:00
Rocher 176081fcc7 Update README.md
Use the synchronization method as the first choice.
2018-07-31 11:37:25 +08:00
Rocher cc629102e5 Update README.md
Use the synchronization method as the first choice.
2018-07-31 11:36:14 +08:00
Rocher 9c69fc237d Merge pull request #3 from lionsoul2014/master
pull newest
2018-07-31 11:33:02 +08:00
lionsoul f4fba7db60 Merge pull request #67 from Maledong/master
[Fix] Fix csharp formations
2018-07-30 15:26:37 +08:00
MaleDong 09dda2c211 [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
lionsoul 300d631caf Merge pull request #66 from Maledong/NeedDispose
[Fix] Add "Disposible" interface for final release of resouces
2018-07-30 11:31:18 +08:00
MaleDong fb564c79e5 [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
lionsoul 235cd0388c Merge pull request #65 from Maledong/ChangeToTask
[Update] Refactor codes according to RocherHong's changes
2018-07-30 10:56:10 +08:00
MaleDong 614ced34e4 [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 ca3997f822 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 d1c443f934 Fix the conflicts 2018-07-30 10:39:15 +08:00
lionsoul d239a43fa5 Merge pull request #63 from RocherKong/master
Code Refactoring
2018-07-30 10:26:21 +08:00
MaleDong 09a6d60620 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 11f527b207 1.CodeStandardized 2.Support Netfx4.5 3.TestStandardized 2018-07-30 00:31:49 +08:00
Rocher 4120c4e9c8 Merge pull request #2 from lionsoul2014/master
merge newest
2018-07-30 00:27:46 +08:00
MaleDong 35fc3cbf23 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
lionsoul 0a7b2e225f Merge pull request #62 from Maledong/RefactorCSharp
Refactor of CSharp
2018-07-28 15:32:50 +08:00
MaleDong 23dbb5ab2c 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
Rocher 05bc534d87 Merge pull request #1 from lionsoul2014/master
update to newest
2018-07-17 15:32:37 +08:00