Commit Graph

1829 Commits

Author SHA1 Message Date
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 7b3ed6c4b8 android: monkey.sh: Test 10000000 times 2021-03-05 21:52:32 +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
Calcitem ef7653005e flutter: Refactor navigation_home_screen.dart 2021-02-27 22:27:32 +08:00
Calcitem ca53cc41f0 flutter: Draw piece count in center of board when placing 2021-02-27 22:10:47 +08:00
Calcitem 8600263061 flutter: Fix warnings 2021-02-27 20:47:53 +08:00
Calcitem 36b422634c flutter: audio: Change pause and seed(0) to stop 2021-02-27 12:54:27 +08:00
Calcitem 691f464fda flutter: Remove unused dependencies 2021-02-27 12:19:31 +08:00
Calcitem 5d52250532 flutter: Change audioplayers to just_audio
Because of following audioplayers exception:

Error: PlatformException(Unexpected error!, null, java.lang.IllegalStateException at android.media.MediaPlayer._setDataSource(Native Method)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1305)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1288)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1242)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1218)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1185)
at xyz.luan.audioplayers.WrappedMediaPlayer.setUrl(WrappedMediaPlayer.kt:37)
at xyz.luan.audioplayers.AudioplayersPlugin.handleMethodCall(AudioplayersPlugin.kt:62)
at xyz.luan.audioplayers.AudioplayersPlugin.onMethodCall(AudioplayersPlugin.kt:37)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:332)
at android.os.Looper.loop(Looper.java:168)
at android.app.ActivityThread.main(ActivityThread.java:6878)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876) , null)

And remove BGM Settings.

Stack trace:
package:flutter/src/services/message_codecs.dart 581:7
StandardMethodCodec.decodeEnvelope package:flutter/src/services/platform_channel.dart 158:18
MethodChannel._invokeMethod
===== asynchronous gap ===========================
dart:async/zone.dart 1294:19
_CustomZone.registerBinaryCallback dart:async-patch/async_patch.dart 51:8
_asyncErrorWrapperHelper package:sanmill/services/audios.dart 79:19
Audios.playTone. package:stack_trace/src/chain.dart 94:24
Chain.capture. dart:async/zone.dart 1354:13 _rootRun dart:async/zone.dart 1258:19
_CustomZone.run dart:async/zone.dart 1789:10 _runZoned dart:async/zone.dart 1711:10
runZoned package:stack_trace/src/chain.dart 92:12 Chain.capture package:sanmill/services/audios.dart 78:11
Audios.playTone
2021-02-27 12:11:19 +08:00
Calcitem 46f1815cd1 flutter: stack_trace: Add chain to _tonePlayer.play(fileName) 2021-02-27 11:03:37 +08:00
Calcitem e6634c24ca flutter: audio: Remove onBoardTap()'s duplicate play audio
putPiece() and removePiece() has played.
2021-02-27 10:51:15 +08:00
Calcitem 6f1e7f7d74 flutter: stack_trace: Add chain to more code 2021-02-27 10:11:39 +08:00
Calcitem 26e89124fb flutter: Settings color is fixed 2021-02-27 01:55:06 +08:00
Calcitem 943ef77087 flutter: appName: Use animated_text_kit 2021-02-26 22:44:20 +08:00
Calcitem 79c6ebaf7b flutter: Allow to save color settings
Rename Color to PieceColor.
2021-02-26 01:25:54 +08:00
Calcitem 6939e916ff flutter: settings: Support choose color 2021-02-25 01:52:42 +08:00
Calcitem 3d975c2a86 flutter: color: Change to crusoeColor and burlyWoodColor 2021-02-25 01:02:03 +08:00
Calcitem d3ab21b257 flutter: board: Change innerLineWidth from 1 to 1.5 2021-02-25 01:00:51 +08:00
Calcitem c068728a1e flutter: help: Change color 2021-02-22 01:12:18 +08:00
Calcitem 110c0016e4 flutter: Clear unused code
Note: Config.loadProfile is not await.
2021-02-22 01:07:36 +08:00
Calcitem e830513aa3 flutter: about: Move from game_settings_page.dart to navigation_home_screen.dart 2021-02-22 00:50:47 +08:00
Calcitem 6909151597 flutter: Change FlatButton to TextButton 2021-02-22 00:39:03 +08:00
Calcitem 46007d76fb flutter: Add rule settings page 2021-02-21 13:09:10 +08:00
Calcitem d25baa2d9a config: Define USE_POPCNT only if not defined 2021-02-21 11:41:57 +08:00
Calcitem c86e2887a0 depth: Return 0 if d is 0 2021-02-21 11:31:27 +08:00
Calcitem b196bee4ba flutter: Try to fix element._debugcheckstateisactiveforancestorlookup. anonymous closure
See: https://stackoverflow.com/questions/59579640/flutter-looking-up-a-deactivated-widgets-ancestor-is-unsafe-with-provider-pac
2021-02-21 10:57:47 +08:00
Calcitem 7eea26b8fb flutter: Upgrade cupertino_icons and uuid version
See:
https://pub.dev/packages/cupertino_icons/changelog
https://pub.dev/packages/uuid/changelog
2021-02-21 10:02:05 +08:00
Calcitem 6fdb6b71d2 flutter: Skip packageInfo and audioplayer (WAR)
Waiting packages upgrade to fix them.
2021-02-21 09:57:31 +08:00