Commit graph

31 commits

Author SHA1 Message Date
Bertold Van den Bergh
be3fb27712 Add simple string lookup function 2019-09-27 18:32:28 +02:00
Bertold Van den Bergh
1eb2a136e9 Add functions for opening a database from memory and a helper function that just returns the most important string from each database. 2019-09-27 18:11:38 +02:00
Bertold Van den Bergh
1c9f9917af Do not call CloseHandle and UnmapViewOfFile with invalid parameters if opening the db failed. 2019-09-25 20:59:06 +02:00
Bertold Van den Bergh
41e3c595ac Performance improvement 2019-08-26 15:37:08 +02:00
Bertold Van den Bergh
80ff6a8af0 Merge branch 'master' of http://github.com/BertoldVdb/ZoneDetect 2019-08-25 15:56:11 +02:00
Bertold Van den Bergh
62365d381f Correctly cast malloc parameter 2019-08-25 15:55:38 +02:00
Bertold Van den Bergh
bcdcfacb75 Add install target to makefile, edit demo to not print coordinate list by default 2019-08-18 16:27:26 +02:00
Bertold Van den Bergh
29d52cebe2 Merge branch 'master' of http://github.com/BertoldVdb/ZoneDetect 2019-08-14 21:56:41 +02:00
Bertold Van den Bergh
25b4da4f97 Avoid reading too large filex 2019-08-14 21:56:22 +02:00
Bertold Van den Bergh
79da7aae0a Format library 2019-08-14 18:52:24 +02:00
Bertold Van den Bergh
b0c3fd928f Update builder to support generating v1 and v0 database 2019-08-14 18:02:36 +02:00
Bertold Van den Bergh
a6188bb59f Remove unneeded check 2019-08-14 14:54:07 +02:00
Bertold Van den Bergh
1cc05dbac3 Split up point reading and polygon checking. Add function to get list of points 2019-08-14 14:51:57 +02:00
Bertold Van den Bergh
061055d229 Allow specifying external CC 2019-08-14 11:06:13 +02:00
Bertold Van den Bergh
a1460b4578 Do not read past the end of the buffer 2019-08-14 10:51:46 +02:00
Bertold Van den Bergh
541d59b445 Fix small bug, readd support for reading version 0 db 2019-08-14 01:46:49 +02:00
Bertold Van den Bergh
71a5187802 Reduce filesize further by not encoding points multiple times (not well tested, do not use) 2019-08-14 00:54:40 +02:00
Bertold Van den Bergh
4269644520 Avoid encoding useless tuples, change format for more efficient diff encoding. 2019-08-13 16:40:31 +02:00
zed
46c7fa777d Fixes to build with MinGW-w64 2019-04-19 09:38:19 +03:00
poum
78406e2e45 added support for MSVC toolchain (VS 15.x) 2019-04-04 11:40:36 +02:00
poum
9711716922 added opt-in refined error handling (not thread-safe!) 2019-04-04 11:40:12 +02:00
poum
9ed4e8f4da replaced potentially reserved name used as include guard 2019-04-04 11:39:36 +02:00
poum
265df8599d removed cast of malloc result 2019-04-04 11:39:15 +02:00
poum
bdda8a5c85 enforced const-correctness 2019-04-04 11:38:54 +02:00
poum
7d0b7e8832 added cc flags and enforced stricter compliance to C99 2019-04-04 11:38:12 +02:00
poum
36126a8b96 updated 'clean' makefile rule to ignore errors 2019-04-04 11:37:48 +02:00
Bertold Van den Bergh
3fabc6398b Coding style update 2018-07-21 23:25:14 +02:00
Wolfram Manthey
341d31b883 Fixed macOS build issue and integer precision warning 2018-07-03 00:20:50 +08:00
Bertold Van den Bergh
742815cc12 Do not leak file descriptors 2018-03-13 10:54:25 +01:00
Bertold Van den Bergh
2ef229ff01 Support relative strings in metadata 2018-03-11 01:42:08 +01:00
Bertold Van den Bergh
b0a55fcb72 Initial commit 2018-03-06 00:20:13 +01:00