Commit Graph

146 Commits

Author SHA1 Message Date
twinaphex
ff15d708f6 (libretro-db) Take out testlib.so from main Makefile 2016-01-26 09:36:00 +01:00
twinaphex
8527742b73 Create Makefile.lua 2016-01-26 09:34:43 +01:00
twinaphex
15946c21f9 Start moving Lua files to separate dir 2016-01-26 09:32:49 +01:00
twinaphex
d7e75c9192 Simplify strcmp lines 2016-01-26 09:29:17 +01:00
twinaphex
ffec5bf83d (libretro-db) Simplify bintree.c 2016-01-26 09:26:34 +01:00
twinaphex
7baa166adc Change this back 2016-01-26 08:41:07 +01:00
twinaphex
767822bb46 Get rid of leiradel's db converter files 2016-01-26 08:36:44 +01:00
aliaspider
77e22e9a79 (libretro-db) c_converter: merge list entries sharing the same key
instead of overwriting the old ones.
2016-01-26 06:28:34 +01:00
aliaspider
35e54b9777 (libretro-db) c_converter: simplify value_provider:
- use hash-key based lookups.
- allow direct editing of the the dat<->rdb mappings.
2016-01-26 03:17:22 +01:00
aliaspider
46dc864258 (libretro-db) c_converter: refactor creation/deletion of match_key
objects.
2016-01-26 02:02:37 +01:00
aliaspider
a0d2272e88 (libretro-db) c_converter: use a hash based lookup in get_match_key. 2016-01-25 03:12:48 +01:00
Twinaphex
9561332295 Merge pull request #2668 from aliaspider/master
(libretro-db) c_converter: more performance improvements.
2016-01-24 05:52:38 +01:00
aliaspider
032e67bedf nit. 2016-01-24 05:46:52 +01:00
aliaspider
f2267db324 (libretro-db) speed-up the binary tree search by using precomputed hash
values when comparing the keys.
2016-01-24 05:45:54 +01:00
Twinaphex
6a7674dca1 Merge pull request #2667 from aliaspider/master
(libretro-db) c_converter: improve performance when merging multiple .dat files.
2016-01-24 04:21:21 +01:00
aliaspider
7fb86f47de (libretro-db) c_converter: implement a binary search tree, improves
performance when merging multiple dat files considerably.
2016-01-24 03:16:25 +01:00
aliaspider
4696d5675f (libretro-db) cleanups. 2016-01-24 00:24:56 +01:00
twinaphex
46156cf372 (libretrodb) Silence some warnings 2016-01-23 15:23:45 +01:00
aliaspider
f7c8304dc3 (libretro-db) Makefile: fix the testlib.so target 2016-01-23 07:49:51 +01:00
aliaspider
8f8b123d06 (libretro-db) c_converter: re-enable tests 2016-01-23 06:42:40 +01:00
aliaspider
c95205dbd3 (libretro-db) c_converter: add support for merging multiple dat files
into a single rdb file with a match-key.
2016-01-23 06:21:52 +01:00
aliaspider
1fe10855e9 nit. 2016-01-23 04:26:19 +01:00
aliaspider
964f0f7926 (libretro-db) Makefile: add a DEBUG build option 2016-01-23 04:10:19 +01:00
aliaspider
3f66270fcb (libretro-db) c_converter: allow only one instance per key in a map
list.
2016-01-23 04:05:09 +01:00
aliaspider
f8273ba5ba (libretro-db) add a dat->rdb converter in C.
still lacks match key support for merging multiple dat files.
2016-01-23 01:51:09 +01:00
aliaspider
86907fb3b7 (libretro-db) test-lib buildfix. 2016-01-23 01:33:44 +01:00
aliaspider
8207ab56c1 (libretro-db) plug memory leak. 2016-01-23 01:25:09 +01:00
aliaspider
3133b67da5 (libretro-db) cleanup Makefile. 2016-01-23 01:07:35 +01:00
aliaspider
7e4def44fd (libretro-db) prevent lua_converter from generating a random output each
run.
2016-01-23 00:57:51 +01:00
twinaphex
23e276376a Backports/rewrites wmarquesr pt. 2 2015-12-04 10:35:33 +01:00
Twinaphex
1cd1ecfc5c More C89_BUILD buildfixes 2015-11-19 13:43:48 +01:00
Twinaphex
8c66106ee7 (C89_BUILD) Some C89_BUILD buildfixes (tested on OSX/Clang) 2015-11-19 13:41:07 +01:00
twinaphex
0063da8e11 (rmsgpack.c) Silence warning 2015-11-18 02:28:47 +01:00
Higor Eurípedes
f527f6466f (libretro-db) Fix build 2015-11-14 19:44:08 -03:00
Higor Eurípedes
6454f70c8d (libretrodb) Return the correct str/buf length in rmsgpack_read and read_buff 2015-11-14 16:03:49 -03:00
Higor Eurípedes
eb7b46c7c1 (retro_file) Implement RFILE_HINT_MMAP 2015-11-14 16:03:49 -03:00
Higor Eurípedes
80a89bbd36 (libretro-db) Get rid of calloc() in rmsgpack_read() 2015-11-14 16:03:49 -03:00
Higor Eurípedes
533f41259a (retro_file) Implement RFILE_HINT_UNBUFFERED 2015-11-14 16:03:49 -03:00
twinaphex
325b6b3f7d Add back lua_converter.c 2015-10-25 09:15:36 +01:00
twinaphex
f95e31dabd (libretro-db) Move struct definitions around 2015-10-10 10:51:12 +02:00
twinaphex
e1456dce9c parser.c - symbol namespace alterations 2015-10-10 10:49:34 +02:00
twinaphex
16ec2a620e (libretro-db) Silence warning 2015-10-08 05:43:23 +02:00
Andre Leiradella
1b403105e4 fixed plain converter; added lua converter back until we're sure the plain converter is working 2015-10-07 19:28:38 -03:00
twinaphex
e352f15da6 dat_converter - use plain_dat_converter 2015-10-07 15:08:54 +02:00
twinaphex
bffbdabfcf (libretro-db) Heavy build fixes 2015-10-07 12:53:38 +02:00
Andre Leiradella
bdd98d3ea3 translated the lua converter to plain c 2015-10-06 23:16:54 -03:00
twinaphex
ba1ef9c3c2 (MSVC) Buildfixes 2015-10-02 17:57:37 +02:00
twinaphex
87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex
02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
twinaphex
790bb0d0d6 Minor code cleanups based on static code analysis 2015-09-28 22:07:40 +02:00