Commit Graph

1318 Commits

Author SHA1 Message Date
Calcitem 1fb4e4f790 depth: Fix timeout when 12 men and no banned and no diagonal lines (WAR) 2021-04-07 23:47:19 +08:00
Calcitem 2b0d29606d flutter: game_page.dart: Quit engineToGo() if not mounted
Maybe can fix:
Exception has occurred.
FlutterError (This widget has been unmounted, so the State no longer has a context (and should be considered defunct).
Consider canceling any active work during "dispose" or using the "mounted" getter to determine if the State is still active.)
2021-04-07 23:37:19 +08:00
Calcitem 380af44ddb flutter: catcher: Changed package_info to package_info_plus to support all platforms 2021-04-06 00:39:21 +08:00
Calcitem 917f5d182e flutter: Move gamePageTopMargin to AppTheme 2021-04-06 00:22:52 +08:00
Calcitem d8ef72fe39 flutter: Refactor rule_settings_page.dart 2021-04-06 00:16:08 +08:00
Calcitem e8e736e4a9 flutter: android: Replace splash from burly_wood to aths_special and add icon
And add normal_background.xml
2021-04-05 23:56:24 +08:00
Calcitem b2e482c70d flutter: Fix customized theme not show before tapping on board 2021-04-05 12:18:40 +08:00
Calcitem 8c398a0700 flutter: Fix playing crash if settings is not loaded done when setOptions 2021-04-05 12:18:27 +08:00
Calcitem 38ef069d5e flutter: Rename loadProfile to loadSettings
And print info when loading settings.
2021-04-05 01:12:02 +08:00
Calcitem c70fb83132 flutter: board_painter: Fix draw overwrite only half of line 2021-04-05 00:40:21 +08:00
Calcitem c900256aa5 flutter: board: drawRect instead of drawLine 2021-04-05 00:32:28 +08:00
Calcitem 93b243488b flutter: Remove tailing space of pubspec.yaml 2021-04-04 23:46:16 +08:00
Calcitem 107eeeb019 flutter: widgets: Add copyright to two file's header 2021-04-04 23:40:36 +08:00
Calcitem a506ecb0fa flutter: Refactor navigation_home_screen.dart 2021-04-04 23:25:34 +08:00
Calcitem c680f9899f flutter: drawer: Remove arrow icon top and left padding 2021-04-04 23:18:38 +08:00
Calcitem 1e793a6719 flutter: Refactor drawer_user_controller.dart 2021-04-04 22:12:30 +08:00
Calcitem 87eaa98080 flutter: Refactor home_drawer.dart 2021-04-04 21:51:52 +08:00
Calcitem e8a62bfbc6 flutter: app_theme.dart: Remove some styles 2021-04-04 18:19:34 +08:00
Calcitem 46ddc5aecd flutter: UIColor: Add cottonCandy/turkishRose/stormGrey/LavenderBlush 2021-04-04 03:16:11 +08:00
Calcitem a286447752 flutter: drawer: Change highlight item color from blue to green 2021-04-04 02:58:37 +08:00
Calcitem dc41860063 flutter: Refactor color 2021-04-04 02:11:42 +08:00
Calcitem f82b18d975 flutter: Remove appBar backgroundColor and use MaterialApp primarySwatch instead 2021-04-03 21:29:42 +08:00
Calcitem 49a7e1df8f flutter: android: Replace splash screen color to burly_wood 2021-04-03 21:08:49 +08:00
Calcitem a0884c80ca flutter: Add personalization settings page 2021-04-03 13:04:04 +08:00
Calcitem 35d79c541c flutter: Refactor 2021-04-03 11:43:02 +08:00
Calcitem a739ada7b4 flutter: Upgrade uuid to 3.0.3 2021-04-02 01:46:02 +08:00
Calcitem 232b85f290 flutter: Refactor some pages 2021-04-02 01:40:08 +08:00
Calcitem 718c2e7be0 flutter: Fix https://github.com/fluttercommunity/plus_plugins/issues/184: Null values on Android 2021-03-30 01:38:21 +08:00
Calcitem f2e8e56e80 flutter: Refactor 2021-03-30 01:25:08 +08:00
Calcitem 9f1bdeb71a flutter: game_settings_page.dart: Add showColorDialog() 2021-03-29 23:44:17 +08:00
Calcitem dd08716eab flutter: about_page.dart: Clean code 2021-03-29 22:43:42 +08:00
Calcitem e37d3fcb88 flutter: Rename widgets to children 2021-03-29 22:43:30 +08:00
Calcitem 6a8644133c Revert "flutter: Remove unused functions"
Restore

    didPush
    didPopNext
    didPushNext
    didPop
    didChangeDependencies
    buildManualPanel

to fix setoption not called.

This commit reverts 5884fa4c5f
2021-03-29 02:16:45 +08:00
Calcitem b4974d8e20 flutter: Refactor about_page.dart 2021-03-29 00:46:18 +08:00
Calcitem 329b4792d1 flutter: Add some commas 2021-03-29 00:25:20 +08:00
Calcitem ca10ce20d9 flutter: settings_page: Extract children 2021-03-29 00:11:26 +08:00
Calcitem ea4a7c5678 flutter: Clean game_settings_page.dart 2021-03-29 00:02:00 +08:00
Calcitem b7416555a1 flutter: Add class SettingsCard 2021-03-28 23:58:51 +08:00
Calcitem abcb013748 flutter: Clear null param in settings_list_tile.dart and settings_switch_list_tile.dart 2021-03-28 23:20:39 +08:00
Calcitem 1589f6e89d flutter: Add class SettingsListTile 2021-03-28 22:52:49 +08:00
Calcitem fd8d9fe861 flutter: Add class SettingsSwitchListTile 2021-03-28 13:24:17 +08:00
Calcitem a442c5fe1d flutter: theme: Add settingsHeaderStyle and switchListTileTitleStyle 2021-03-28 12:18:05 +08:00
Calcitem c565c214d0 flutter: theme: Add AppTheme.switchListTileActiveColor 2021-03-28 12:07:34 +08:00
Calcitem 7bdcd2bf85 flutter: theme: Add AppTheme.sizedBox 2021-03-28 12:02:28 +08:00
Calcitem 6f5f0da57e flutter: theme: Add cardColor and cardMargin 2021-03-28 11:49:42 +08:00
Calcitem 09baa8fa18 flutter: Add list_item_divider.dart 2021-03-28 11:33:06 +08:00
Calcitem 33abfab7a5 flutter: Refactor about_page.dart
Add license_page.dart
2021-03-28 11:09:43 +08:00
Calcitem b9a0c6c5ca flutter: about_page.dart: Remove unused trailing 2021-03-28 10:51:26 +08:00
Calcitem 5884fa4c5f flutter: Remove unused functions
didPush
didPopNext
didPushNext
didPop
didChangeDependencies
buildManualPanel
2021-03-28 10:46:59 +08:00
Calcitem e81fed6842 flutter: refactor: Replace shared to instance 2021-03-28 10:20:34 +08:00
Calcitem f58fc485e7 flutter: Tap board to let AI start thinking if AI is first move 2021-03-28 00:51:25 +08:00
Calcitem 8fc4b0038c flutter: Fix first tap response slow when piece count changed
Call tree:
Game.shared.newGame(); ->
      Game.shared.start();
      Game.shared.position.init(); ->
		setPosition(rule); ->
			getNPiecesInHand();

To fix fen string.
2021-03-28 00:27:20 +08:00
Calcitem be5b877885 flutter: Add exit/quit menu item 2021-03-27 21:55:02 +08:00
Calcitem 3d9ad02d20 flutter: Replace ColorizeAnimatedTextKit by AnimatedTextKit and ColorizeAnimatedText 2021-03-27 21:33:29 +08:00
Calcitem 76d0b4cc3e flutter: Upgrade dependencies 2021-03-27 21:06:39 +08:00
Calcitem a6d291d8de flutter: Fix dead code 2021-03-27 21:06:18 +08:00
Calcitem 8f706716a3 flutter: Remove warp.sh to fix aab build error (WAR)
flutter build appbundle
Execution failed for task ':app:packageReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > File 'root/lib/arm64-v8a/wrap.sh' uses reserved file or directory name 'lib'.
2021-03-27 12:21:57 +08:00
Calcitem ffaf7ca167 Flutter: Add internet permission on Android only for debug build type
See:
https://github.com/flutter/flutter/issues/20789
https://stackoverflow.com/questions/51751873/flutter-app-does-not-start-in-debug-mode
https://stackoverflow.com/questions/55603979/why-flutter-application-cant-connect-to-internet-when-install-app-release-apk
2021-03-27 11:57:26 +08:00
Calcitem 998542d823 flutter: Assert when engine timeout 2021-03-27 11:33:32 +08:00
Calcitem 151558a2e3 perfect: Fix build error on clang (WAR) 2021-03-27 09:23:44 +08:00
Calcitem 475826e976 flutter: Add ASan and HWAsan configs but not enable 2021-03-26 02:32:08 +08:00
Calcitem 4673868c94 flutter: Add quote to native-backtrace.sh 2021-03-25 01:31:07 +08:00
Calcitem 5b45e83719 flutter: android: Add native-backtrace.sh
See: https://developer.android.com/ndk/guides/ndk-stack
2021-03-22 23:58:26 +08:00
Calcitem 9a27ec302c flutter: android: Add debug signingConfig to build.gradle 2021-03-22 23:58:26 +08:00
Calcitem be5f1c6921 Fix some kritika.io reported problems 2021-03-22 23:58:26 +08:00
Calcitem c6640c977b flutter: refactor: Rename profile to settings 2021-03-22 23:58:25 +08:00
Calcitem b40617e74a flutter: Set default rule to Nine men's morris 2021-03-22 23:58:25 +08:00
Calcitem 1d6d82d313 flutter: Refactor 2021-03-21 11:56:40 +08:00
Calcitem b418a1a4bd flutter: android: Add settings_aar.gradle 2021-03-21 11:17:35 +08:00
Calcitem 571caa5417 flutter: android: Adjust minSdkVersion to 16 again
API Level 16 -- Android 4.1 -- 2012-07-09
2021-03-21 11:05:08 +08:00
Calcitem 665ffdd0d2 flutter: android: Add debugSymbolLevel 'FULL' to defaultConfig
Now aab can include debug-symbols!
2021-03-21 03:29:40 +08:00
Calcitem 0613cb740e flutter: android: Remove cmake version
And Install cmake 3.10.2 to fix local build failed.
2021-03-21 03:09:27 +08:00
Calcitem aead8b07dc flutter: android: Upgrade cmake to 3.19.6
To fix github action build failed.
2021-03-21 03:06:09 +08:00
Calcitem b40339cc81 flutter: android: Upgrade gradle to 4.1.2 and cmake to 3.18.1 2021-03-21 02:58:57 +08:00
Calcitem 171ae09185 flutter: android: gradle: Add ndk.debugSymbolLevel
See: https://stackoverflow.com/questions/62568757/playstore-error-app-bundle-contains-native-code-and-youve-not-uploaded-debug
2021-03-21 01:39:08 +08:00
Calcitem 5a4fd29984 flutter: android: Change libengine to libsanmill 2021-03-21 00:56:56 +08:00
Calcitem 835b4eb91d flutter: Remove unused images 2021-03-21 00:46:01 +08:00
Calcitem b1d2a31ceb flutter: android: gradle: Throw exception if no key.properties 2021-03-20 21:38:33 +08:00
Calcitem 3115a8eebf flutter: Update just_audio and catcher version 2021-03-19 00:53:10 +08:00
Calcitem 1fbafa2df8 flutter: Fix cannot launch URL
On Android (from API 30), [canLaunch] will return `false` when the required
visibility configuration is not provided in the AndroidManifest.xml file.
For more information see the [Managing package visibility](https://developer.android.com/training/basics/intents/package-visibility)
article in the Android docs.
2021-03-19 00:47:31 +08:00
Calcitem b1e92fc274 flutter: catcher: Fix externalDirStr error 2021-03-19 00:21:19 +08:00
Calcitem 83e256285a flutter: audio: Fix exception when calling _player!.setAsset() 2021-03-18 23:09:00 +08:00
Calcitem cf281d7d39 flutter: Remove Board.digitsHeight 2021-03-16 00:23:18 +08:00
Calcitem 2e836fc9fd flutter: Add key.properties.example 2021-03-16 00:22:47 +08:00
Calcitem 7da64fc512 flutter: about-page: Clean code 2021-03-15 23:41:08 +08:00
Calcitem 3b312de4aa flutter: refactor: Replace Move.invalidMove to PiecesPainter.invalidIndex 2021-03-15 23:18:27 +08:00
Calcitem e8097ddae2 flutter: Windows: Change bin name to Mill.exe 2021-03-15 22:50:08 +08:00
Calcitem ec9ed78826 flutter: Windows: Enable Multi-Process build 2021-03-15 22:44:59 +08:00
Calcitem cb55af629d flutter: Change hint icon to light bulb 2021-03-15 00:37:03 +08:00
Calcitem 26ff2d98d8 flutter: Change license font size from 7 to 12 2021-03-15 00:31:25 +08:00
Calcitem 69543a5c24 flutter: settings: Change strings 2021-03-15 00:24:41 +08:00
Calcitem 67996abfc7 flutter: rule_settings: Add more strings 2021-03-14 21:37:37 +08:00
Calcitem 55f7118152 flutter: Add GPL-3.0.txt to assets 2021-03-14 20:54:42 +08:00
Calcitem 1e60aa92bd flutter: rule_settings: Add more strings 2021-03-14 19:06:55 +08:00
Calcitem 3b358f0d8c refactor: Replace oblique to diagonal 2021-03-14 18:33:24 +08:00
Calcitem 8ef01c247a flutter: Change license font family to Monospace 2021-03-14 17:49:34 +08:00
Calcitem 01807ab4a1 flutter: Reorganize rule settings page 2021-03-14 02:09:31 +08:00
Calcitem 520d6671de flutter: game_settings_page: Remove top space 2021-03-14 00:26:25 +08:00
Calcitem 5fc4463fa7 flutter: about: Change license page from jump to URL to show text 2021-03-13 23:44:13 +08:00
Calcitem 804bcfd8c6 flutter: Add about page 2021-03-13 13:08:20 +08:00
Calcitem f36c31a486 flutter: Add more menu items string 2021-03-13 11:09:27 +08:00
Calcitem 095f9ef68c flutter: Add help (zh_CN) 2021-03-13 01:43:20 +08:00
Calcitem 5b942362c6 flutter: Add help (en_US) 2021-03-13 00:49:54 +08:00
Calcitem 230322b8a0 flutter: intl: Add strings 2021-03-12 01:56:26 +08:00
Calcitem 7a0115c720 flutter: Add some subtitle to rule settings (WIP) 2021-03-11 00:31:18 +08:00
Calcitem dc45d836ff 1 2021-03-10 23:14:26 +08:00
Calcitem a72bc8b469 flutter: intl: Add strings 2021-03-10 23:03:11 +08:00
Calcitem dd13661efb flutter: Replace S.of(context)! to S.of(context)
Fix: warning: The '!' will have no effect because the receiver can't be null.
2021-03-10 21:29:53 +08:00
Calcitem d359b06a3f flutter: Upgrade catcher to v0.5.0 2021-03-10 21:26:53 +08:00
Calcitem 84242e9d87 flutter: Can click 'restart' when lose on dialog 2021-03-10 01:02:41 +08:00
Calcitem b8fe0c52ec Flutter: Add text to OperatorBar 2021-03-10 00:37:15 +08:00
Calcitem 4312c31446 flutter: ci: Add release configs and secrets env
See:
https://dev.to/cddelta/signing-flutter-android-apps-for-release-in-github-actions-2892
https://flutterchina.club/android-release/
2021-03-09 02:17:57 +08:00
Calcitem ba35578931 flutter: .gitignore: Ignore key.properties 2021-03-09 01:31:59 +08:00
Calcitem 31d7ee4c3d flutter: android: Change app name to Mill 2021-03-09 01:31:13 +08:00
Calcitem 5bf43a95ce version: Update to v0.19.0 2021-03-09 00:52:42 +08:00
Calcitem 3c51b5f945 flutter: Fix dart analysis warnings 2021-03-08 01:40:29 +08:00
Calcitem 647e72b19b flutter: Migrate to null-safety (4, fix runtime warnings) 2021-03-08 01:37:02 +08:00
Calcitem 68bc5a4551 flutter: Migrate to null-safety (3, fix errors) 2021-03-08 01:31:00 +08:00
Calcitem 42aade876b flutter: Migrate to null-safety (2, tools) 2021-03-08 01:03:05 +08:00
Calcitem 1fe2b01741 flutter: Migrate to null-safety (1, manually) 2021-03-08 00:47:30 +08:00
Calcitem eb9c3d39cd flutter: Remove unused analyze.dart 2021-03-07 23:20:49 +08:00
Calcitem b35fa960ae flutter: Upgrade dependencies and support Flutter SDK 2.0 2021-03-07 21:57:30 +08:00
Calcitem 3bf0ca1ebe flutter: Add analyzeText (WIP) 2021-03-07 13:13:44 +08:00
Calcitem 22d9d9d9cc flutter: game-page: Use icons to replace title 2021-03-07 11:51:46 +08:00
Calcitem e0510bf89e flutter-test: Let simple test pass 2021-03-07 09:59:51 +08:00
Calcitem 7f2d91ffa3 f 2021-03-07 02:59:13 +08:00
Calcitem 4e911141f5 flutter: Change blurPositionColor/focusPositionColor theme 2021-03-07 02:55:47 +08:00
Calcitem d5c288f4d1 flutter: Blur and focus AI's pieces 2021-03-07 02:07:09 +08:00
Calcitem 8ea3d4942b flutter: color settings: Add font background color to text 2021-03-06 21:38:17 +08:00
Calcitem de25cf991e flutter: settings: Add PieceColor config 2021-03-06 21:12:21 +08:00
Calcitem 682df254a0 flutter: settings: Enhance experience of picking color 2021-03-06 13:35:39 +08:00
Calcitem 6e32af553d flutter: config: Add restoreDefaultSettings 2021-03-06 13:11:50 +08:00
Calcitem 00fed6d58b flutter: config: Add borderLineWidth and innerLineWidth 2021-03-06 02:22:18 +08:00
Calcitem f15a916f4e flutter: Change slider theme 2021-03-06 01:25:32 +08:00
Calcitem 84a6e4dbb9 flutter: settings: Add IsPieceCountInHandShown option 2021-03-06 01:15:00 +08:00
Calcitem 53acff3cfb flutter: Merge some modification of branch null-safety 2021-03-04 01:17:14 +08:00
Calcitem 9ac0c56d04 flutter: level: Change Slider Theme 2021-03-02 01:43:29 +08:00
Calcitem d3c3f20816 flutter: Ask user whether challenge harder level when win 2021-03-02 01:03:20 +08:00
Calcitem 3440101486 skill: Add skill level slide 2021-03-01 02:03:34 +08:00
Calcitem 60ad4aed57 flutter: EngineType: Add comment to mark Not Implemented items 2021-02-28 11:41:13 +08:00
Calcitem b4f25859fa flutter: Print profile content when load profile 2021-02-28 11:40:30 +08:00
Calcitem 3023ec95f6 flutter: Refactor setWhoIsAi() 2021-02-28 11:39:47 +08:00
Calcitem 7172e9bdb2 Change option name to upper camel case style 2021-02-28 10:55:30 +08:00
Calcitem 6a5ff653e1 flutter: config: Change config name style 2021-02-28 10:27:02 +08:00
Calcitem 8eae369275 flutter: Remove bgmEnabled settings 2021-02-28 10:24:01 +08:00
Calcitem 83eb96ece5 flutter: Remove algorithm.dart 2021-02-28 10:21:07 +08:00
Calcitem dc66cbbe83 flutter: Center font size change from 36 to 48 2021-02-28 09:56:46 +08:00
Calcitem 63149d8508 flutter: Modify restart dialog button text 2021-02-28 09:56:07 +08:00
Calcitem e90eca6c6f Support aiIsLazy (WIP) [Sample]
Known Issue: Flutter and Qt self play is not same.
Last few moves are different.
2021-02-28 01:12:17 +08:00
Calcitem 54d18eb02f qt: Fix skillLevel do not have default value (20) 2021-02-27 23:42:11 +08:00