Commit Graph

8 Commits

Author SHA1 Message Date
Adam Rocska e1a5976007 Committing the complete mess. I managed to trial&error on converting the php fantasy dictionaries into structs. Though some of the field types are mere blind guesses, so fingers crossed.
Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
2020-06-02 16:38:44 +02:00
Adam Rocska d236f8ce4e Introduced a few new protocols in hope that it'll make code more manageable.
Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
2020-05-15 19:24:41 +02:00
Adam Rocska c521f4b89b All in all, the lookup is successful.
Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
2020-05-13 16:20:18 +02:00
Adam Rocska 75de094c7f Committing the whole current state I have. I must apply few changes, and transition to Stream based processing (somehow).
Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
2020-05-08 12:15:36 +02:00
Adam Rocska e06afd3d7a Making the tests & the API nicer.
Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
2020-04-29 16:41:19 +02:00
Adam Rocska c0dba1887b Committing half made not working code to ask for some help. The search algorithm gets stuck at index 20990 as if it was an overflow, while it can't be an overflow, since it's a typealias for Int, and also, it's not a square number. Weird. Bughunting. 2020-04-29 13:03:10 +02:00
Adam Rocska 4fc53d970c I figured out what the problem was. I was an idiot in many ways :
- the submodule had an invalid detatched head commit hash. Dunno why.
- the package swift file defined a wrong version number for libmaxminddb. Moral of the story : don't be an ass.
- some leftover garbage from automake made me believe I was done
- potato
2020-04-27 21:27:28 +02:00
Adam Rocska 3b32769926 Initial Commit. 2020-04-27 15:25:09 +02:00