Commit graph

7547 commits

Author SHA1 Message Date
Learath2 732419de69 Merge pull request #891 from heinrich5991/pr_ddnet_duh
Fix a syntax error
2017-10-13 16:34:19 +02:00
heinrich5991 525b643e18 Fix a syntax error
Sorry. :/
2017-10-13 16:33:23 +02:00
Learath2 8770a980f1 Merge pull request #890 from heinrich5991/pr_ddnet_teehistorian_hide_chat
teehistorian: Hide chat from teehistorian
2017-10-13 16:30:46 +02:00
heinrich5991 c439b04a2d teehistorian: Hide chat from teehistorian
There was a missing check that allowed chat messages to be written to
disk.
2017-10-13 16:25:26 +02:00
Learath2 4394933d6c Merge pull request #887 from heinrich5991/pr_ddnet_async
Add asynchronous output system and use it for teehistorian and `dbg_msg()`s
2017-10-13 15:30:24 +02:00
heinrich5991 e989ffad78 Rename async_* to aio_* and add test for nondivisible buffer lengths 2017-10-13 02:48:42 +02:00
heinrich5991 8e778cd9ab Address pull request comments 2017-10-13 02:29:18 +02:00
heinrich5991 d5008d87a3 Add a test that checks for correct order in async IO 2017-10-12 00:58:47 +02:00
heinrich5991 13f0655cba Don't reset ASYNCIO_CLOSE flag on async_wait 2017-10-12 00:53:12 +02:00
Learath2 e2ecd27ea5 Merge pull request #886 from heinrich5991/pr_ddnet_fix_teehistorian
Fix teehistorian crash on startup
2017-10-10 08:58:24 +02:00
heinrich5991 4d05a2379b Make teehistorian asynchronous 2017-10-10 04:11:14 +02:00
heinrich5991 2fc018aac3 Add asynchronous file output, port dbg_msg()s to that system
Also add tests.
2017-10-10 04:11:14 +02:00
heinrich5991 be0b52eddc Fix teehistorian crash on startup 2017-10-10 02:39:29 +02:00
heinrich5991 7de42a1414 Couple of thread fixes 2017-10-10 00:08:24 +02:00
heinrich5991 63e3c48ba6 Merge pull request #885 from Learath2/dd_pr_fetcheriface
Clean up the fetcher interface
2017-10-09 21:44:44 +02:00
Learath 1855992014 Fix style 2017-10-09 20:51:16 +02:00
Learath f4b3bc63b3 Forgot classes need to be initialized with new
Also matched the function signatures to the ones in the interface
2017-10-09 20:04:23 +02:00
Learath 26efee9506 Forgot the virtuals 2017-10-09 19:22:44 +02:00
Learath2 70ee5d9645 Properly free CFetchTask in case of abort 2017-10-09 18:47:02 +02:00
Learath2 9bce7e8630 Use a proper interface for CFetchTask 2017-10-09 18:47:02 +02:00
Learath2 d15dcd3c58 Merge pull request #871 from heinrich5991/ddnet_teehistorian
Teehistorian
2017-10-09 18:42:27 +02:00
Learath 1b0ab87015 Get rid of unnecessary queue in CFetcher 2017-10-08 00:57:56 +02:00
H-M-H fa011cdd72 Merge pull request #882 from heinrich5991/pr_ddnet_gitignore_vs2017
Add `.vs` directory that is created by MSVS 2017
2017-10-05 01:37:55 +02:00
heinrich5991 811c9c1770 Add .vs directory that is created by MSVS 2017
It is created in case you open the project "as a folder", using the
native CMake capabilities of MSVS 2017.
2017-10-05 00:15:49 +02:00
def b368234dae Delete editor before graphics (fixes #881) 2017-09-30 06:27:05 +02:00
heinrich5991 0705092fb9 Add debug-mode tests to Travis 2017-09-28 03:01:12 +02:00
heinrich5991 f16059c0b8 teehistorian: Add a couple of tests, fix uninitialized vars and asserts 2017-09-28 02:42:35 +02:00
heinrich5991 f43480aeed Add testing infrastructure for teehistorian 2017-09-28 02:03:30 +02:00
heinrich5991 1913106f15 teehistorian: Fix a bug with implicit ticks 2017-09-27 20:15:41 +02:00
heinrich5991 be79f14e38 teehistorian: Use m_pController->m_pGameType directly 2017-09-27 19:38:54 +02:00
Dennis Felsing 4fe6dc51f7 Fix non-random announcements (thanks noby) 2017-09-26 14:20:37 +02:00
Dennis Felsing f2d9c401f7 Merge pull request #874 from Ryozuki/patch-2
Add instructions to run tests in README
2017-09-25 14:31:40 +02:00
Ryozuki f4515acd32 tests instructions are only for debian/ubuntu 2017-09-25 14:28:32 +02:00
Ryozuki f472b02b17 fix little typo 2017-09-25 14:25:23 +02:00
Dennis Felsing 5b05e558dc Fix grammar (thanks noby) 2017-09-25 09:07:12 +02:00
heinrich5991 a201352b29 Fix a grammar mistake in bot client message 2017-09-24 21:11:23 +02:00
heinrich5991 9d5ba770e9 teehistorian: Only record non-default config vars 2017-09-24 21:11:04 +02:00
def b7f4ab4d80 Move comment 2017-09-23 22:49:01 +02:00
Ryozuki 5e815cf40d add instructions to run tests 2017-09-23 11:14:13 +02:00
Learath2 ac0999e728 Merge pull request #873 from nobody-mb/master
fng2 entities
2017-09-22 06:18:22 +02:00
nobody1 0bd51db7cd fng2 entities 2017-09-21 21:19:10 -05:00
Learath2 d6f2dc7521 Merge pull request #872 from heinrich5991/pr_ddnet_cpp11
Change to C++11 in `CMakeLists.txt`, `bam.lua`
2017-09-22 02:56:01 +02:00
heinrich5991 72a17da716 Change to C++11 in CMakeLists.txt, bam.lua 2017-09-21 23:34:51 +02:00
def a9b80e8c11 Update to Portuguese translations (by RockuS) 2017-09-21 21:55:58 +02:00
Dennis Felsing 94c7c8d864 Use C++14 2017-09-21 15:11:09 +02:00
def 553c97b52d Fix crash with broken ddnet-info.json 2017-09-20 22:25:55 +02:00
heinrich5991 3efa490cb7 teehistorian: Remove global buffer
This removes the possibility of the buffer filling up and discarding
data.
2017-09-20 02:23:28 +02:00
heinrich5991 9761e9606a Make most user input teehistoric
Exclude private stuff like chat messages and votes.
2017-09-20 02:23:28 +02:00
heinrich5991 6ef9c8dbcd First working version of teehistorian
teehistorian records all inputs from the players as well as the player
positions in each tick. It stores this info in a highly compressible
output format (I've achived 5x compression using xz or bz2).
2017-09-20 02:16:11 +02:00
def 03fa475b5e Implement /pause [name] and /spec [name] 2017-09-18 19:12:01 +02:00