Commit Graph

9618 Commits

Author SHA1 Message Date
Enno Rehling 6b983079b7 remember to set faction.lastorders (NMR count was off).
checker just removes comments now.
2018-10-04 04:47:20 +02:00
Enno Rehling bbd57b6ae9 remove debug stuff, use new parser for the game. 2018-10-03 20:33:53 +02:00
Enno Rehling 730b94fa4a reuse the internal buffer when we don't have to malloc. 2018-10-03 20:29:45 +02:00
Enno Rehling fbce8f326a fix error in multi-line comments at stream border. 2018-10-03 19:47:32 +02:00
Enno Rehling 854decc4f1 comments split by a backslash are not handled right. 2018-10-03 10:37:34 +02:00
Enno Rehling 6c1d266c12 fix comment parsing at end of input 2018-10-02 21:40:14 +02:00
Enno Rehling b439e48a22 some failing tests 2018-10-02 19:02:22 +02:00
Enno Rehling e6b93ce79a reset state when we meet the NEXT command. 2018-10-02 19:02:01 +02:00
Enno Rehling eed3ab3acf finish new order parser, maybe? 2018-10-01 21:32:59 +02:00
Enno Rehling 90b80aba89 fix some more issues with buffer ending before decisions are finished. 2018-10-01 02:26:31 +02:00
Enno Rehling b1cd9bcfef Pretty good progress on the OrderParser implementaiton.
Still finding bugs by unit-testing, though.
2018-09-30 19:47:34 +02:00
Enno Rehling 0c4d1ec2b2 fix libbsd linking (MSVC) 2018-09-30 16:18:06 +02:00
Enno Rehling a4f6c6f005 fix libbsd linking 2018-09-30 16:16:32 +02:00
Enno Rehling fb8507e0d2 support for non-utf8 encodings has rotted, kill it. 2018-09-30 15:02:03 +02:00
Enno Rehling 0c6ec47598 fix compilation 2018-09-30 13:45:19 +02:00
Enno Rehling 965c8ce990 start putting the new parser into the server. 2018-09-29 21:21:14 +02:00
Enno Rehling b03da543b6 make findparam_ex part of laws, where building names are known. 2018-09-29 20:06:58 +02:00
Enno Rehling d3a37179ef add param.[hc], at last. 2018-09-29 19:32:39 +02:00
Enno Rehling bc5f2ea6d1 move keyword.[hc] to util 2018-09-29 18:13:32 +02:00
Enno Rehling 991fe8fd8d enable checker build.
remove getid aliases from parser.h
2018-09-29 13:35:49 +02:00
Enno Rehling b22d838a57 move gamedata.c to kernel 2018-09-29 13:21:46 +02:00
Enno Rehling a373807189 move attrib and event modules to kernel 2018-09-29 11:37:17 +02:00
Enno Rehling 5dcb9075ac we have a library that contains the parser 2018-09-29 11:19:59 +02:00
Enno Rehling 735c890ece explicitly build sqlite on travis 2018-09-29 09:58:23 +02:00
Enno Rehling b18f8ca9fb change database selection, fix in-memory db 2018-09-29 09:56:05 +02:00
Enno Rehling b47a41541f write a new (expensive) in-memory db driver for orders. 2018-09-28 21:43:20 +02:00
Enno Rehling 91c49659ef orderdb is glue code, belongs outside of kernel. 2018-09-28 21:02:32 +02:00
Enno Rehling 7b9e72e559 reduce dependeny spaghetti for database code. 2018-09-28 20:51:16 +02:00
Enno Rehling 17f7aa2c0a start new branch for a syntax checker 2018-09-27 19:53:07 +02:00
Enno Rehling 88f0504f48 no such file sendpasswd.py (and no suppor for feature possible) 2018-09-27 17:08:04 +02:00
Enno Rehling 5a1c96bd93 make python password checks use the database and bcrypt 2018-09-27 16:57:39 +02:00
Enno Rehling 04b8068979 rename password functions to match PHP. 2018-09-26 21:07:39 +02:00
Enno Rehling e462529596 fix merge conflict
choose sqlite as default database
2018-09-26 20:36:27 +02:00
Enno Rehling 90b69adb8a Merge branch 'bcrypt' into develop 2018-09-26 20:26:22 +02:00
Enno Rehling e234a0db6f write the htpasswd file, again 2018-09-26 20:21:56 +02:00
Enno Rehling f513c2c68a skip excessive password generation in tests. 2018-09-26 20:19:59 +02:00
Enno Rehling ae05d6d9e9 work factor 12 is incredibly slow, don't use it in tests. 2018-09-26 20:08:38 +02:00
Enno Rehling 2e9bde0261 More WIN32 adaptations, configurable work factor. 2018-09-26 19:05:49 +02:00
Enno Rehling 3c50a4260b add some WIN32 workarounds, tests 2018-09-26 18:43:30 +02:00
Enno Rehling 21e54e0933 move crypto implementations to util/crypto for easier inclusion 2018-09-26 18:33:38 +02:00
Enno Rehling 53afc86e00 fix bcrypt library, add to password.c (works on mac) 2018-09-26 17:09:29 +02:00
Enno Rehling bbbed80790 add openwall bcrypt sources 2018-09-26 15:37:38 +02:00
Enno Rehling 919f870e22 Merge branch 'develop' of https://github.com/ennorehling/eressea.git 2018-09-25 20:49:50 +02:00
Enno Rehling 74aa4bdaf3 bindings for gamedb_update, run after turn. 2018-09-25 20:39:43 +02:00
Enno Rehling 4e5240628e Extract gamedb open/close to separate functions. 2018-09-25 18:52:29 +02:00
Enno Rehling 274d44ee18 Move the gamedb to a separate file. 2018-09-25 18:07:02 +02:00
Enno Rehling 8cccef41ad sort cmakelists filenames 2018-09-25 18:02:00 +02:00
Enno Rehling ccc5556682 adding code to export faction information.
sqlite3 implementation only, not tied to anything yet.
add faction.uid
remove faction.subscription
2018-09-24 20:18:21 +02:00
Enno Rehling 409a3da7cf more iwyu warnings 2018-09-24 12:02:01 +02:00
Enno Rehling d70f05f8db BUG 2478: Fleeing units cannot move. 2018-09-23 20:01:12 +02:00