Commit Graph

2346 Commits

Author SHA1 Message Date
Calcitem 40e6f0a026 ci: Merge some GitHub Action yml files
* Merge dart-analyze.yml to flutter.yml.
* When the dart analyze hook fails don't try to build the apk.
* Merge cui-on-xxx.yml to cui.yml and remove "Archive apk" comments.
2021-11-29 23:05:55 +08:00
Leptopoda-GitHub 37f1a3a437 remove old rule class
make DatabaseV1 private
2021-11-28 22:00:01 +01:00
Leptopoda-GitHub b2e7775673 performance improvements 2021-11-28 22:00:01 +01:00
Leptopoda-GitHub 23aaf93ba6 add database migrator 2021-11-28 22:00:01 +01:00
Leptopoda-GitHub 059d53cd4d make algorithm an enum 2021-11-28 22:00:01 +01:00
Leptopoda-GitHub eee8707703 enable storage reset in monkey test and clean up todos 2021-11-28 22:00:01 +01:00
Leptopoda-GitHub 2923c9cb35 fix licence header of the storage package 2021-11-28 22:00:01 +01:00
Calcitem 84db4a2d72 qt: Change value initialize way 2021-11-29 01:26:19 +08:00
Calcitem c6e55b605a qt: Refactor boarditem.cpp etc.
Rename FILE file to FILE f and rename RANK rank to RANK r;
Remove FILE_NB and RANK_NB and use types.h;
2021-11-29 01:26:19 +08:00
Calcitem 8654464f23 qt: refactor: Rename some index val name 2021-11-29 01:26:19 +08:00
Calcitem e8c18a4892 qt: refactor: Rename manual list to move list 2021-11-29 01:26:19 +08:00
Calcitem 3a742b7377 cpp: refactor: Rename loggerDebug to debugPrintf 2021-11-29 01:26:19 +08:00
Calcitem 609de2a318 qt: Refactor addItem 2021-11-29 01:26:19 +08:00
Calcitem 45961caded ci: Detect path and do not build on PR 2021-11-29 01:23:57 +08:00
Calcitem 7d6ce6ea1c
ai: Loop unwinding of potential_mills_count() to improve performance
Function potential_mills_count():
Origin:    Total CPU 9.51%, Self CPUT: 8.22%
Optimized: Total CPU 8.20%, Self CPUT: 6.98%
Improve performance about 1%.
2021-11-28 22:14:36 +08:00
Leptopoda-GitHub b8ad033eaa unify settingsListTiles
- make settings a separate lib
2021-11-28 12:33:17 +01:00
Leptopoda-GitHub f76e512be2 fix settings listtile 2021-11-28 12:33:17 +01:00
Calcitem fa05f9c50e
cpp: Add Code::Blocks cbp file for console project 2021-11-28 01:27:29 +08:00
Leptopoda-GitHub 5a84d15613 delete unused strings 2021-11-25 15:32:33 +01:00
Leptopoda-GitHub 9fa1a11fbe remove enviorment configs 2021-11-25 15:32:33 +01:00
Leptopoda-GitHub fcd8eae98f remove unused code 2021-11-25 15:32:33 +01:00
Leptopoda-GitHub c9e6892322 deprecate developerMode
fix


fix typo
2021-11-25 15:32:33 +01:00
Leptopoda-GitHub 0d1d3a079b cleanup constants 2021-11-24 23:00:19 +01:00
Leptopoda-GitHub 810b1f810a fix linting 2021-11-24 08:07:31 +01:00
Leptopoda-GitHub 67797ec2bc cleanup painters
fix
2021-11-24 08:07:31 +01:00
Calcitem f5feea1db6 ci: spellcheck: Ignore some unrecognized words 2021-11-23 18:41:17 +01:00
Leptopoda-GitHub 130a720985 better utilize arb localization features
no concatenation enymore :)
2021-11-23 18:41:17 +01:00
Calcitem 40b9942512
cpp/java: Fix some CodeCheck issues 2021-11-24 01:04:35 +08:00
Leptopoda-GitHub 5d3e920759 fix drawer background color 2021-11-23 13:57:48 +01:00
Leptopoda-GitHub d7e5e908fe fix game toolbar item style
implements a custom `ToolbarItem` wich is inspired by the `TextButton` the main difference is we controll the layout of the `TextButton.icon` to use a `Column` instead of a `Row`.

We can now easily adjust the style of the button with `ToolbarItemThemeData`.
2021-11-23 13:57:48 +01:00
Leptopoda-GitHub 4f161b0c75 better utilize theming
This will move more stuff into the ThemeData class. 
It also cleans up the ColorSettings class

unify color style
2021-11-23 13:57:48 +01:00
Calcitem 90f106ff76
cpp: gtest: Add types and stack test 2021-11-23 01:17:53 +08:00
Calcitem a324a42b0f
gtest: Add CUI source files to project 2021-11-21 10:13:09 +08:00
Calcitem 3d05351f2e
gtest: Add msvc empty solution 2021-11-21 09:39:01 +08:00
Calcitem 997bb9983f
test: Move monkey test scripts to monkey folder 2021-11-21 09:35:06 +08:00
Calcitem 857f03504d
ci: qt: Add qt-on-windows.yml 2021-11-21 03:16:54 +08:00
Calcitem 227b4d03fe
Add eol.sh to change some file's EOL from DOS to Unix
Currently, it only change some C++ files.
2021-11-21 02:40:06 +08:00
Calcitem e21e223913 .gitignore: Ignore Eclipse files 2021-11-21 02:00:24 +08:00
Calcitem a391b7270d cpp: Add Dev-C++ project file 2021-11-21 02:00:24 +08:00
Calcitem 23fd0d6fcd cpp: misc: Remove namespace WinProcGroup 2021-11-21 02:00:24 +08:00
Calcitem 27eb5a5628 cpp: Fix C++20 warnings 2021-11-21 02:00:24 +08:00
Calcitem e43d30d9b9 cpp: Fix clang++ build warnings 2021-11-21 02:00:24 +08:00
Calcitem 1170a93624 msvc: Upgrade to Visual C++ 2022
And fix some compile warnings.
2021-11-21 02:00:24 +08:00
Calcitem 35527ddd1c cpp: Fix Vera++ issues
Use profile: .vera-profile
2021-11-21 02:00:24 +08:00
Calcitem fba36047f0 style: Fix Vera++ issue T010 rule
identifier should not be composed of only 'l' and 'O'.
2021-11-21 02:00:24 +08:00
Calcitem e7c1a8ab44 cpp: Fix some errors reported by clang-tidy 2021-11-21 02:00:24 +08:00
Calcitem c9b71d3e60 msvc: Upgrade to latest Qt vcxproj format 2021-11-21 02:00:24 +08:00
Calcitem e97f1b1024 cpp: style: Limit column limit to 80 2021-11-20 01:29:57 +08:00
Calcitem 8406b2648f PerfectAI: Fix cpplint errors 2021-11-20 01:29:57 +08:00
Calcitem c0b308a2ce ci: Add building CUI 2021-11-14 13:13:03 +08:00