Carton He
4eec9365bd
Support encoding detection
...
Some go servers mistakenly generate sgf files without correct CA
properties. Use chardet to detect first 300 bytes.
Signed-off-by: Carton He <cartonhe@gmail.com >
2020-12-29 21:15:36 +08:00
Sander Land
bb76630ddc
engine deadlock fix
2020-12-22 18:59:54 +01:00
sanderland
331620d50c
Merge pull request #283 from Carton/master
...
Fix [tt] caused exception on small boards
2020-12-23 01:45:16 +09:00
Carton He
fe726d2ee3
parse_file: fix "decoded" may not be initialized issue
...
if "encoding" parameter not None.
2020-12-23 00:19:19 +08:00
Carton He
7b28a8d7e4
Fix [tt] caused exception on small boards
...
For board <= 19x19, according to https://www.red-bean.com/sgf/go.html :
A pass move is shown as '[]' or alternatively as '[tt]' (only for boards
<= 19x19).
2020-12-23 00:19:04 +08:00
Sander Land
d02b1389be
fix #281 SQ[]
2020-12-22 13:11:36 +01:00
Sander Land
999954cc8d
fix cache
2020-12-21 11:48:06 +01:00
Sander Land
4c482db52c
visits fmt
2020-12-18 18:38:22 +01:00
Sander Land
091f5a26ce
Merge branch '1.7' of github.com:sanderland/katrain into 1.7
2020-12-18 16:40:06 +01:00
Sander Land
b6eb45ecc4
no print
2020-12-18 16:39:59 +01:00
Sander Land
eac72f8386
fix sgf PL tag
2020-12-16 17:54:26 +01:00
Sander Land
d25b851c93
depth 1 on local + bugfix
2020-12-14 23:20:50 +01:00
Sander Land
6318d5f479
fix
2020-12-14 19:07:30 +01:00
Sander Land
76c38e8368
sgf save
2020-12-14 16:31:03 +01:00
Sander Land
27236ab140
french is too long, mabbe they should use hangels
2020-12-14 16:17:13 +01:00
Sander Land
9a69fd1f5f
fix fonts
2020-12-14 12:15:53 +01:00
Sander Land
de898569b6
fix rule default, gui input tabbing, scroll wheel, cache gamenode moves
2020-12-13 22:10:14 +01:00
Sander Land
485bd26b36
fix #252
2020-12-13 18:02:22 +01:00
Sander Land
170a74bcea
previous mistake
2020-12-12 14:42:23 +01:00
Sander Land
03e93568c7
fix encoding
2020-12-11 23:04:46 +01:00
Sander Land
bfa673d4b6
theme
2020-12-11 20:34:38 +01:00
Sander Land
fe694cf18a
kivy 2.0.0 + cleanup
2020-12-11 18:07:00 +01:00
Sander Land
e36dfa0db3
fix encoding, cn, readme, draw text/pass
2020-12-10 23:09:08 +01:00
Sander Land
37884d0c17
hide comments
2020-12-09 22:33:05 +01:00
Sander Land
2499488a20
hints for player names, flake8, rankgraph ded
2020-12-09 22:15:14 +01:00
Sander Land
353d291ef5
no status/lock engine/no thread
2020-12-07 14:30:51 +01:00
Sander Land
7d8cec3aed
fix
2020-12-07 13:50:50 +01:00
Sander Land
b3ee899ec4
player name save/load,komi
2020-12-06 23:06:55 +01:00
Carton He
9b09e9b65d
fix ValueError when converting empty string KM to float in sgf parser
...
Some sgfs has "KM" property with empty value, this could cause
ValueError exception.
2020-12-06 23:35:25 +08:00
Sander Land
a3815cb47a
new game fix
2020-12-06 14:20:23 +01:00
Sander Land
b508377485
fixes
2020-12-05 22:00:03 +01:00
Sander Land
b958975628
play to end/collapse
2020-12-05 20:21:02 +01:00
Sander Land
a02697c783
back to branching point
2020-12-05 16:44:39 +01:00
Sander Land
0ade2524ce
tsumego solver 5000 is go
2020-12-03 22:09:46 +01:00
Sander Land
da42fc4e0f
insert mode
2020-12-03 18:04:29 +01:00
Sander Land
f85399ad57
saveas fixes
2020-12-02 22:48:27 +01:00
Sander Land
93841e9b35
save as
2020-12-01 23:09:02 +01:00
Sander Land
8e7430a5eb
compress analysis more
2020-11-30 19:29:29 +01:00
Sander Land
f0064ec8b9
nicer debug msg
2020-11-30 15:16:59 +01:00
Sander Land
edb4b19de1
fixes
2020-11-30 14:32:33 +01:00
Sander Land
8dcfc1cd59
zero width space markers and base64 encoded data in sgf files are probably terrible ideas
2020-11-30 13:18:23 +01:00
Sander Land
71d19a2c4e
strings for stat options
2020-11-25 22:15:08 +01:00
Sander Land
32acd7f067
player names
2020-11-24 23:01:42 +01:00
Sander Land
f1350721a2
config top move
2020-11-23 16:00:57 +01:00
Sander Land
2967159bb4
minor bugfix
2020-11-23 00:04:05 +01:00
Sander Land
66fbacf1fd
i18n
2020-11-16 18:30:38 +01:00
Sander Land
848adbf805
fix test
2020-11-15 22:47:32 +01:00
Sander Land
0d03bb1831
next mistake
2020-11-15 20:52:55 +01:00
Sander Land
88d8decaa5
positive note, wait to finish
2020-11-02 20:48:01 +01:00
Sander Land
3a2e908669
update komi/rules on the fly, etc
2020-10-26 22:52:30 +01:00