Commit Graph

1829 Commits

Author SHA1 Message Date
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 3e1ca7e85e Readme: Add how to install Qt 2021-03-22 23:58:25 +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