Commit Graph

  • ca283b0726 allow castle with move suffix and/or NAG master Bruno Raoult 2023-06-19 10:49:55 +02:00
  • 8187168ca2 more cleanPgn() cleanup: trim lines, del initial blanks, one space only... Bruno Raoult 2023-06-18 21:01:59 +02:00
  • ce0923d0e9 Much faster regex to catch brackets inside braces Bruno Raoult 2023-06-18 17:53:17 +02:00
  • e939a58b38 fix #2: Add common PGN tags in "specialMetadata" array. Bruno Raoult 2023-06-14 15:48:15 +02:00
  • 5ca6c49f62 fix for #1 (1, 2, 9, 13), by hiding brackets in movetext comments Bruno Raoult 2023-06-14 15:18:37 +02:00
  • 29f778308b Fix issue #1. But not the dangerous problems with (9) and (13). Bruno Raoult 2023-06-13 22:11:51 +02:00
  • 638ad1fd2d keep a string of moves/comments when parsing PGN. Bruno Raoult 2021-06-05 20:41:53 +02:00
  • 6c8c93f451 Cancel "$1" style removal in cleanPgn Bruno Raoult 2021-06-05 13:12:35 +02:00
  • 0752f04ce4 Fix bug #11 (lost double quotes in "] pattern Bruno Raoult 2021-06-05 13:02:43 +02:00
  • 2bb109b77c remove wrong file_put_contents Bruno Raoult 2021-06-05 12:56:14 +02:00
  • e6031ebf6f Merge pull request #10 from Wugapodes/license Alf Magne Kalleland 2020-03-26 13:05:58 +01:00
  • 375f40e374 license: Add license documents and specify version wugapodes 2020-01-06 14:47:19 -08:00
  • d3773ab4fb Fix bug in parser when there are hidden chars at beginning of pgn Alf Magne Kalleland 2019-07-06 22:05:35 +02:00
  • 1586531863 Bugfix Alf Magne Kalleland 2019-06-24 20:39:33 +02:00
  • 30e27ab65d Merge pull request #8 from juanjdeleon/better-composer Alf Magne Kalleland 2018-07-04 01:08:14 +02:00
  • 8761d777fe Fix problem with en passant moves in combination with king in chess Alf Magne Kalleland 2018-06-30 14:03:55 +02:00
  • e28a62b4a0 Add required properties to install library through VCS repository Juan De Leon 2018-05-08 12:32:31 -05:00
  • 6f96f37ed2 Merge branch 'issue/5-autoload' of https://github.com/christeredvartsen/chessParser into better-composer Juan De Leon 2018-05-08 12:04:18 -05:00
  • 0e28c13fef Handle %csl and %cal (arrows and highlights) DHTMLGoodies 2018-01-06 13:31:19 +01:00
  • 6db8d3806d Fixed bug parsing comments DHTMLGoodies 2017-09-02 13:39:20 +02:00
  • 88b0b3fbf0 Fixed bug parsing comments DHTMLGoodies 2017-09-02 13:12:53 +02:00
  • ddeb4e8510 bugfix - to short version - skipping comment moves DHTMLGoodies 2017-08-17 14:36:12 +02:00
  • 69466a1b45 updates DHTMLGoodies 2017-08-17 14:33:53 +02:00
  • bdaa2b31cd updates DHTMLGoodies 2017-08-17 14:31:25 +02:00
  • 68d6e084c9 Bugfixes + support for getting shorter parsing format DHTMLGoodies 2017-08-17 13:53:35 +02:00
  • 31c4ff57af Add autoload information to composer.json Christer Edvartsen 2017-08-07 14:51:47 +02:00
  • 9490f2cd09 throwing exception if not valid move in move method DHTMLGoodies 2017-04-15 20:24:49 +02:00
  • 0e2544f133 Merge branch 'master' of github.com:DHTMLGoodies/chessParser DHTMLGoodies 2017-04-14 19:17:49 +02:00
  • bd8ff3e485 updates DHTMLGoodies 2017-04-14 19:17:26 +02:00
  • 18768ccb5d SUpport for arrows in pgn DHTMLGoodies 2017-03-29 20:49:12 +02:00
  • 40a19a7551 Support for arrow and highlight actions in pgn DHTMLGoodies 2017-03-29 18:48:07 +02:00
  • 126dc9b599 JSON to PGN parser DHTMLGoodies 2017-03-13 20:56:22 +01:00
  • 29dc9b5f8a updates null moves DHTMLGoodies 2017-03-01 20:46:43 +01:00
  • 2b1e3e0f04 Added support for one line pgn DHTMLGoodies 2017-03-01 19:51:08 +01:00
  • a834acb72e Added support for one line pgn DHTMLGoodies 2017-03-01 19:43:06 +01:00
  • 83efc94107 Gracefully skiping games the parser don't understand DHTMLGoodies 2017-02-22 18:15:12 +01:00
  • 1fcf22de2c before find words routine DHTMLGoodies 2017-02-05 14:24:49 +01:00
  • 155af550c1 Fixed problem with some pawn moves DHTMLGoodies 2017-02-04 22:59:30 +01:00
  • 5fe2491d1f short promoteTo, i.e. q instead of queen DHTMLGoodies 2017-01-31 02:34:14 +01:00
  • 8e35529117 Updates DHTMLGoodies 2017-01-31 02:30:12 +01:00
  • d8a7869b33 Implemented Stockfish JS engine DHTMLGoodies 2017-01-30 18:13:12 +01:00
  • 5505a28b1d Parsing out clock %clk comments DHTMLGoodies 2017-01-30 13:42:28 +01:00
  • d17e42e7da updates DHTMLGoodies 2017-01-30 13:21:54 +01:00
  • a7a0f37ae0 Always set En passant square when pawn moves to squares DHTMLGoodies 2016-01-12 22:11:42 +01:00
  • fd4147d036 Always set En passant square when pawn moves to squares DHTMLGoodies 2016-01-12 22:07:49 +01:00
  • 3ec671f536 Code comments and minor refactoring DHTMLGoodies 2015-12-31 02:32:28 +01:00
  • 2b0d0c9536 Readme doc updates DHTMLGoodies 2015-12-28 17:29:03 +01:00
  • 81523dc93f Readme doc updates DHTMLGoodies 2015-12-28 17:28:21 +01:00
  • d3015694d6 Readme doc updates DHTMLGoodies 2015-12-28 17:26:28 +01:00
  • b827b36457 New methods + documentation DHTMLGoodies 2015-12-28 17:23:12 +01:00
  • 2cfe4818b4 Readme updates DHTMLGoodies 2015-12-28 16:14:45 +01:00
  • d3861e8df0 Readme updates DHTMLGoodies 2015-12-28 16:11:55 +01:00
  • 2f34af2475 Bugfix - check for cache existence to avoid notice in log DHTMLGoodies 2015-12-26 00:38:42 +01:00
  • a815129188 Fixed problem with fens like 8/7P/8/8/1k15/8/P7/K7 w - - 0 1, i.e. 1k15(and not 1k6) DHTMLGoodies 2015-12-24 01:39:00 +01:00
  • 586d996e02 Fixed problem with fens like 8/7P/8/8/1k15/8/P7/K7 w - - 0 1, i.e. 1k15(and not 1k6) DHTMLGoodies 2015-12-24 01:20:00 +01:00
  • 7865a60934 Fixed notation problem in parser DHTMLGoodies 2015-12-24 01:04:15 +01:00
  • c92fdbc1dc added brilliant checkmates for testing DHTMLGoodies 2014-04-28 12:50:11 +02:00
  • 859f8ed1eb Stripping Fritz emt comments DHTMLGoodies 2014-04-28 12:48:11 +02:00
  • 09e221b2d8 Parser fix DHTMLGoodies 2013-08-28 13:56:06 +02:00
  • 384ee85473 Parser fix DHTMLGoodies 2013-08-28 13:50:12 +02:00
  • 50f7a9599a Merge branch 'master' of https://github.com/DHTMLGoodies/chessParser DHTMLGoodies 2013-08-28 13:26:04 +02:00
  • aad46951e0 Sanitize file name DHTMLGoodies 2013-08-28 13:25:50 +02:00
  • eb1af65948 Updated code DHTMLGoodies 2013-06-21 09:39:37 +02:00
  • 27dbd1d13d Added missing CHESS_JSON class DHTMLGoodies 2013-06-21 09:38:19 +02:00
  • 00d9268a25 Updated license Alf Magne Kalleland 2013-05-21 15:40:46 +02:00
  • 76a0970db0 Fixed problem parsing games with square brackets in move string Alf Magne Kalleland 2013-02-23 04:00:46 +01:00
  • 8f4fa18895 Fixed problem with invalid castle moves DHTMLGoodies 2013-02-20 18:01:34 +01:00
  • 4908d2f94b Added test for problematic pgn Alf Magne Kalleland 2013-02-18 20:46:58 +01:00
  • ee52853327 Move validation inside Movebuilder using regex Alf Magne Kalleland 2013-02-18 20:31:36 +01:00
  • 1dfda67d61 Updated readme Alf Magne Kalleland 2013-02-15 15:14:47 +01:00
  • 0bcb700d92 Updated readme Alf Magne Kalleland 2013-02-15 15:14:28 +01:00
  • 73abdc81e2 Updated readme Alf Magne Kalleland 2013-02-15 15:12:10 +01:00
  • 93da7b53f5 Fixed problem in PGN parser when parsing moves like h1Q. Changing it to h1=Q Alf Magne Kalleland 2013-02-15 14:19:41 +01:00
  • 3d6e0ae60b TODO in fen parser Alf Magne Kalleland 2013-02-12 02:20:28 +01:00
  • f00ceee0bb Fixed problem with parser and castle with numeric values 0-0 instead of the correct O-O Alf Magne Kalleland 2013-02-12 01:25:18 +01:00
  • b437127f6b test of problemating pgn Alf Magne Kalleland 2013-02-12 00:58:18 +01:00
  • 61e2159841 Minor changes Alf Magne Kalleland 2013-02-11 02:18:09 +01:00
  • 9050a454c5 Code cleanup in parser Alf Magne Kalleland 2013-02-08 01:34:49 +01:00
  • 256b4ea739 Code cleanup parser DHTMLGoodies 2013-02-07 17:45:11 +01:00
  • 929c109bb9 Code cleanup and fixed bug in Regex DHTMLGoodies 2013-02-07 17:21:39 +01:00
  • 5e0f62c7b6 Fixed IDE warnings Alf Magne Kalleland 2013-02-06 23:47:38 +01:00
  • c6782583fc Reserved metadata moved from metadata sub array Alf Magne Kalleland 2013-02-06 23:31:04 +01:00
  • 1b229275b9 Merge branch 'master' of https://github.com/DHTMLGoodies/chessParser Alf Magne Kalleland 2013-02-03 20:48:54 +01:00
  • 41a764d70f Use string concat instead of implode in parser Alf Magne Kalleland 2013-02-03 20:48:27 +01:00
  • 3afe0567e0 Update README.md Alf Magne Kalleland 2013-02-03 13:05:10 +01:00
  • d400a74c7d Resolved GIT conflict DHTMLGoodies 2013-01-25 16:55:22 +01:00
  • f117acc00e Added support for move objects(from and to) in getparsed method DHTMLGoodies 2013-01-25 16:54:09 +01:00
  • d5b412c58b New exception message on parser error DHTMLGoodies 2013-01-25 01:43:50 +01:00
  • 74900962f4 Merge branch 'master' of https://github.com/DHTMLGoodies/chessParser DHTMLGoodies 2013-01-18 14:39:11 +01:00
  • 8708b00cf7 Code cleanup DHTMLGoodies 2013-01-18 14:38:50 +01:00
  • ef4e9e8da6 Update README.md Alf Magne Kalleland 2013-01-17 18:35:56 +01:00
  • 3be7856b67 Create README.md Alf Magne Kalleland 2013-01-17 09:35:15 -08:00
  • be3a529058 Removed old MoveParser.php file DHTMLGoodies 2013-01-17 15:19:59 +01:00
  • 13b290a60b Added test files DHTMLGoodies 2013-01-17 15:14:18 +01:00
  • 9ff7fb1998 Minor refactoring DHTMLGoodies 2013-01-17 15:11:36 +01:00
  • 5396570fd6 Added files DHTMLGoodies 2013-01-17 15:02:46 +01:00