improve implementation of read_pgn() and parse_pgn() default tip

fix implementation of parse_pgn()

fix memory leaks in server_run() when starting the game is aborted

add parse_pgn function which can later be used for automated testing

fix checkmate detection

fix missing cleanup calls in game_play_singlemachine()

fix memory leak when simulating real threats

start fixing issue #895

fixes #893 - pawn could not promote

fixes #891 - wrong move number in FEN

(0) -100 -10 tip

mercurial