Commit Graph

2115 Commits

Author SHA1 Message Date
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
Calcitem 78ab8725e6
Rename PERFECT_AI_SUPPORT to MADWEASEL_MUEHLE_PERFECT_AI 2021-07-31 13:02:22 +08:00
Calcitem 3c982c17f3
Rename MUEHLE_NMM to MADWEASEL_MUEHLE_RULE 2021-07-31 12:58:25 +08:00
Calcitem 545e78f176
config.h: Add some comments 2021-07-31 12:46:51 +08:00
Calcitem 3f5b9a03ab
pvs: Fix build error when enable PVS 2021-07-31 12:44:05 +08:00
Calcitem 8486381263
Remove EVALUATE_MOBILITY define 2021-07-31 12:21:21 +08:00
Calcitem c7fc29152d
config: Rename MOBILE_APP_UI to QT_MOBILE_APP_UI 2021-07-31 12:16:10 +08:00
Calcitem 8054e4b486
Sanmill v1.1.24 (2090)
Official release version of Sanmill v1.1.24

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-07-31 00:28:55 +08:00
Calcitem 33533b82ec
Improve Finnish translation
Human against computer = "Ihminen tekoälyä vastaan"
Human against human = "Ihminen ihmistä vastaan"

Thanks @justinacolmena
2021-07-31 00:25:25 +08:00
Calcitem d6483230be
Show unplaced pieces count by default 2021-07-31 00:02:12 +08:00
Calcitem 452107fa2f
flutter_email_sender: Update to v5.0.2
Fixed problem when future never completes
2021-07-30 23:43:03 +08:00
Calcitem 78f39d5144
Sanmill v1.1.23 (2086)
Official release version of Sanmill v1.1.23

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-07-30 00:22:50 +08:00
Calcitem c9735a000a
intl: en: Improve English translation 2021-07-30 00:18:18 +08:00
Calcitem 062e8ff079
Set count of unplaced pieces' text color to board line color 2021-07-30 00:16:05 +08:00
Calcitem e74207af4d
intl: de: Fix case of Oben 2021-07-29 23:48:46 +08:00
Calcitem 37ef896ce7
Temp use German to fill empty Swiss German translation 2021-07-29 23:44:43 +08:00
Calcitem be38b097c1
Add Swiss German translation (WIP) 2021-07-28 07:27:42 +08:00
Calcitem 7606499fd6
intl: de: Fix translation of movesAndRulesNotMatch 2021-07-28 01:16:23 +08:00
Calcitem 1a9c078be0
Sanmill v1.1.22 (2079)
Official release version of Sanmill v1.1.22

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-07-27 00:27:15 +08:00
Calcitem 0fdee4049e
Fix #252: AI to freeze when the move list is too long
Increase command buffer to 4096.

TODO: Use Macro definition for 4096.
2021-07-27 00:23:56 +08:00
Calcitem 3c7df55e05
Sanmill v1.1.21 (2077)
Official release version of Sanmill v1.1.21

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-07-25 12:50:14 +08:00
Calcitem 2811c10a11
Fix take back and step forward buttons icon direction in right-to-left. 2021-07-25 12:45:35 +08:00
Calcitem a8222d87f3
Sanmill v1.1.20 (2075)
Official release version of Sanmill v1.1.20

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-07-23 01:30:43 +08:00
Calcitem ff37bc3310
Limit first 9 moves thinking depth to less than 15
The critical point is set move 9's depth to 14.

1. d6 f4 2. b4 d2 3. b6 f6 4. b2xf6 f6 5. d7
If not set to 14 (15 or above is bad)
Black will do move d5 (bad move)
If change move 9' depth to 14
Black will do move f2xd7 (good move)
2021-07-23 01:23:02 +08:00
Calcitem 7553d2685e
depth: Fix level setting do not take effect in moving phrase (critical) 2021-07-23 01:13:21 +08:00
Calcitem dc871776aa
Fix do not change to harder level immediately when human win AI 2021-07-22 23:49:09 +08:00
Calcitem b20b21793e
Support import Dalmax Men's Morris move list 2021-07-22 01:21:49 +08:00
Calcitem cacbe6198b
Sanmill v1.1.19 (2070)
Official release version of Sanmill v1.1.19

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-07-21 01:29:55 +08:00
Calcitem 402aae5440
Allow users to help improve translate
Add link to about page.
2021-07-21 01:21:58 +08:00
Calcitem a063d8db8e
intl: Change pt to pt-br (translated by es) 2021-07-21 01:08:44 +08:00
Calcitem d0815c2ea2
Sanmill v1.1.18 (2067)
Official release version of Sanmill v1.1.18

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-07-20 01:59:18 +08:00
Calcitem 3729162862
Do not prefer to move to good point when skill level is 1 2021-07-20 01:53:07 +08:00
Calcitem 704dd0ac53
icon: Replace info icon to book_information_24_regular 2021-07-20 01:05:53 +08:00