Commit Graph

2147 Commits

Author SHA1 Message Date
Calcitem 8e905981f6
Sanmill v1.1.28 (2146)
Official release version of Sanmill v1.1.28

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-08 22:16:09 +08:00
Calcitem 6a7173211b
ai: Fix #100: Update alpha when searching
When MTD(f) is disabled, played 1000 games, Win Rate:

New Vs. Old
25.7% : 17.1% : 57.2%

Old Vs. New
12.9% : 28.3% : 58.8%

When MTD(f) is enabled, played 250 games, Win Rate:

New Vs. Old
28.4% : 14.8% : 56.8%

Old Vs. New
10.8% : 32.0% : 57.2%
2021-09-08 22:07:13 +08:00
Calcitem 77b65d2cde
build: Fix build error when MTDF_AI is off 2021-09-08 15:03:20 +08:00
Calcitem 55341e9b2c
Sanmill v1.1.27 (2143)
Official release version of Sanmill v1.1.27

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-05 11:40:15 +08:00
Calcitem 00827f7b76
accessibility: Fix board coordinates for Right-To-Left layout 2021-09-05 11:36:34 +08:00
Calcitem e5193b83a1
settings: Move experiments to developer mode card 2021-09-05 11:07:35 +08:00
Calcitem ff0c27a0c2
info: Show a period at the end of tip only when screenReaderSupport is enabled 2021-09-05 10:28:45 +08:00
Calcitem bcca06014a
Title bar supports system's dark mode 2021-09-05 02:16:06 +08:00
Calcitem ccee0de09f
info: Show period and comma only when screenReaderSupport is enabled 2021-09-04 23:49:31 +08:00
Calcitem af25423d4e
Sanmill v1.1.26 (2137)
Official release version of Sanmill v1.1.26

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-04 13:13:56 +08:00
Calcitem 0f30ec7a48
info: Add punctuation to make it easier for screen readers to read with pauses 2021-09-04 13:08:03 +08:00
Calcitem 4cad628873
info: Replace "It is a Draw" to "Draw" 2021-09-04 12:54:34 +08:00
Calcitem 14cbba4727
l10n: Sync POEditor
And add replace-locale.sh
2021-09-04 11:16:36 +08:00
Calcitem 209e41a7cc
Clear some snack bars as required before showing new stack bar
And show last move tip when changing history.
2021-09-03 04:16:25 +08:00
Calcitem 4129033042
Clear snackbars when start new game 2021-09-02 00:48:29 +08:00
Calcitem 1fd699ebf4
l10n: Change String of "The game started" 2021-09-02 00:37:33 +08:00
Calcitem a49eb79afb
info: Add : to side to move 2021-09-02 00:34:21 +08:00
Calcitem 4351b0eae5
Sanmill v1.1.25 (2129)
Official release version of Sanmill v1.1.25

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-01 02:28:10 +08:00
Calcitem a224f91a44
fastlane: Add accessibility to full_description.txt 2021-09-01 02:26:39 +08:00
Calcitem 0b44adfd78
l10n: Update translations for accessibility 2021-09-01 02:21:00 +08:00
Calcitem 2894cb6b12
accessibility: Read coordinates first only when point is empty 2021-09-01 00:16:43 +08:00
Calcitem 8b05014d52
accessibility: Read coordinates first and then read piece name 2021-08-31 23:24:02 +08:00
Calcitem 629aa3018f
accessibility: Show toast when selecting piece and doing error move 2021-08-31 02:09:30 +08:00
Calcitem f5715da8ae
accessibility: Show toast when selecting piece 2021-08-31 00:56:52 +08:00
Calcitem 3dfd5f00e2
accessibility: Add semantics to SimpleDialog 2021-08-31 00:39:21 +08:00
Calcitem 3df86003e2
accessibility: Add semantics to slider 2021-08-31 00:06:39 +08:00
Calcitem 52d59bbb1e
info: Show last move 2021-08-30 23:44:26 +08:00
Calcitem 4bb560c24d
Show phase/side/tip and adjust display order in info 2021-08-30 00:38:55 +08:00
Calcitem de3fefc9b5
accessibility: Exclude semantics for animated title text 2021-08-29 23:20:29 +08:00
Calcitem 4c7bad8723
accessibility: Screen reader can read piece name when taping 2021-08-29 12:45:06 +08:00
Calcitem 8d2ff09599
accessibility: Show 'close' menu item when showing modal bottom sheet 2021-08-29 12:45:06 +08:00
Calcitem ff7d860359
Improve accessibility (WIP)
* Add Accessibility settings
* Support screen reader (WIP)
* Only support German/English/Chinese
2021-08-29 03:24:18 +08:00
Calcitem 28fd9fb0a2
position: Remove unused code in check_if_game_is_over() 2021-08-14 23:07:25 +08:00
Calcitem 9173006139
position: Refactor remove_piece() 2021-08-14 21:56:06 +08:00
Calcitem e01b671c99
Fix CID 338443: Data race condition (MISSING_LOCK)
Comment and have not fixed:
CID 338451: Data race condition(MISSING_LOCK)
2021-08-14 14:05:08 +08:00
Calcitem 0729a8bc14
Fix CID 338444/338445: Not restoring ostream format (STREAM_FORMAT_STATE)
end_of_path: Changing format state of stream os for categories uppercase, basefield, fill without later restoring it.
end_of_path: Changing format state of stream std::cout for categories floatfield, precision without later restoring it.
2021-08-14 14:05:07 +08:00
Calcitem 0dbcd2a49e
Fix CID 338448: Uninitialized scalar field (UNINIT_CTOR)
member_not_init_in_gen_ctor: The compiler-generated constructor for this class does not initialize key
2021-08-14 14:05:07 +08:00
Calcitem b669434942
Fix CID 338449: Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member callsCnt is not initialized in this constructor nor in any functions that it calls.
uninit_member: Non-static class member stopOnPonderhit is not initialized in this constructor nor in any functions that it calls.
uninit_member: Non-static class member ponder._M_base is not initialized in this constructor nor in any functions that it calls.
2021-08-14 14:05:07 +08:00
Calcitem 6750c50f91
Fix CID 338450: Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member idx is not initialized in this constructor nor in any functions that it calls.
2021-08-14 14:05:07 +08:00
Calcitem 6279ac519d
Fix CID 338442: Unchecked return value (CHECKED_RETURN)
check_return: Calling check_if_game_is_over without checking return value (as is done elsewhere 4 out of 5 times).
2021-08-14 14:05:06 +08:00
Calcitem c95bb21576
Remove unused clear_tt()
Fix CID 338441: Pointless string comparison (CONSTANT_EXPRESSION_RESULT)
pointless_string_compare: strcmp(rule.name, rule.name) is always 0 because rule.name is compared against itself.
2021-08-14 14:05:06 +08:00
Calcitem 5847787e5b
Fix CID 338446: Buffer not null terminated (BUFFER_SIZE)
buffer_size_warning: Calling strncpy with a maximum size argument of 1024 bytes on destination array <unnamed>::StartFEN of size 1024 bytes might leave the destination string unterminated.
2021-08-14 14:05:06 +08:00
Calcitem a8ef258468
Add cov.sh 2021-08-14 14:04:59 +08:00
Calcitem a5bb8f9d65
Add Coverity files to .gitignore 2021-08-14 13:52:01 +08:00
Calcitem a3821b781a
Add fa-IR resources to fastlane and android res 2021-08-08 01:31:43 +08:00
Calcitem a3a5e1a2b0
Cast for st.rule50 2021-08-06 00:09:33 +08:00
Calcitem 71328c0dd8
Fix #255: gcc, clang compiler warnings 2021-08-02 01:52:29 +08:00
Calcitem e5d96b92cf
refactor: Clean some code 2021-08-01 15:48:28 +08:00
Calcitem 9947986db5
config.h: Add some comments 2021-07-31 13:23:35 +08:00
Calcitem 6098e04ecb
Remove unused NULL_MOVE 2021-07-31 13:03:28 +08:00