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
Calcitem
58a0a4ba9f
ci: codeql: Trigger when pushing to any branch
2021-11-14 13:13:03 +08:00
Calcitem
586e929c09
cpp: misc: Remove namespace CommandLine
2021-11-14 13:13:03 +08:00
Calcitem
1818fb9e65
PerfectAI: Do not compile if MADWEASEL_MUEHLE_PERFECT_AI is off
...
* Change end lines from CRLF to LF.
* Do not compile if MADWEASEL_MUEHLE_PERFECT_AI is off to reduce size.
2021-11-14 13:13:03 +08:00
Calcitem
6e95a43552
cpp: cpplint: Fix some issues
...
* Add cpplint config.
* Replace /*...*/-style with //-style comments.
* Change end of lines to LF.
* Add missing #include.
* Add username to TODO.
* Change Chinese strings to English strings.
* ...
2021-11-14 13:13:03 +08:00
Calcitem
a54545ecab
cpp: header: Add _INCLUDED to end of macron
2021-11-14 13:13:03 +08:00
Calcitem
d0507f6dbc
drawer: Only show feedback menu item when platform is Android or iOS
...
Because flutter_email_sender v5.0.2 is only support Android and iOS.
2021-11-13 12:21:31 +08:00
Calcitem
de9620a55c
flutter: Upgrade to the latest versions of all the dependencies
...
Major changes:
* devicelocale: Update Android code to remove deprecation warning
* flutter_colorpicker: Fix the scroll problem in platform web and desktop.
* Deactivate build_runner before activating build_runner
2021-11-13 12:21:31 +08:00
Calcitem
4b4d01e356
msvc: Format millgame.sln
...
Because config of.gitattributes.
*.sln text eol=crlf
2021-11-13 12:21:31 +08:00
Calcitem
5d9241d98e
flutter: windows: Disable Catcher (WAR)
...
Issue: Throw UnimplementedError('windowsInfo() has not been implemented.')
when launching app.
Workaround solution: Disable Catcher for the Windows platform.
Stack:
DeviceInfoPlatform.windowsInfo (device_info_plus_platform_interface.dart:87)
DeviceInfoPlugin.windowsInfo (device_info_plus.dart:78)
Catcher._loadDeviceInfo (catcher.dart:256)
Catcher._configure (catcher.dart:87)
new Catcher (catcher.dart:75)
main (main.dart:55)
2021-11-13 12:21:31 +08:00
Calcitem
bd98dadb78
ci: spelling: Do not trigger when pushing
2021-11-08 19:08:21 +01:00
Calcitem
ce4e4ae718
style: add .editorconfig
...
See https://editorconfig.org/#example-file
2021-11-07 16:01:33 +01:00
Calcitem
9b99437103
ci: Add Clang Format Github Action
...
Reference:
https://github.com/RafikFarhad/clang-format-github-action
https://stackoverflow.com/questions/33258159/how-to-make-clang-format-skip-sections-of-c-code
2021-11-07 01:39:41 +08:00
Calcitem
0a171c7b43
Merge remote-tracking branch 'origin/dev'
2021-11-06 10:38:11 +08:00
Calcitem
a106c90724
msvc: Change msvc project files to CRLF line endings
2021-11-06 10:35:16 +08:00
Calcitem
ca2f2bdec0
cpp: Format source code to WebKit’s style
2021-11-06 10:32:50 +08:00
Calcitem
54457a02ae
Create CODEOWNERS ( #369 )
...
See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
2021-11-06 01:41:04 +08:00
Calcitem
637080c176
Fix some spelling errors
2021-11-04 07:22:28 +08:00
Calcitem
72a9ae9d74
ci: Add spell-check-this
...
* Copy https://github.com/check-spelling/spell-check-this/tree/main/.github
* Update spelling/excludes.txt
* Copy words of .vscode/settings.json -> "cSpell.words" to expect list
* Only check C++ and Dart files
* Exclude feedback_localization.dart
* Do not check Qt words
* Fill allow list with C++ 17 & Dart & Qt keywords
2021-11-04 07:22:28 +08:00
Calcitem
e724a3b22a
.gitattributes: Do not always perform LF normalization on .txt and .json files
2021-11-04 07:22:28 +08:00
Leptopoda-GitHub
4af80de675
fix drawer gesturededector
2021-11-03 08:32:47 +01:00
Leptopoda-GitHub
794500e888
Create .gitattributes
...
Update .gitattributes
2021-11-03 08:06:52 +01:00
Calcitem
d078c33175
.gitignore: Ignore some files created by IDE
...
Ignore:
.vscode/c_cpp_properties.json
src/ui/flutter_app/android/.project
src/ui/flutter_app/android/.settings/
2021-11-01 01:25:03 +08:00
Calcitem
f108e68854
Create pull_request_template.md
2021-10-31 21:16:39 +08:00
Calcitem
a5463c4ff7
Update issue templates
2021-10-31 21:05:15 +08:00
Calcitem
b8825c7cd3
Create CODE_OF_CONDUCT.md
2021-10-31 20:57:56 +08:00
Calcitem
f3139f81f3
Fix spelling errors
...
And add VSCode spelling configuration.
2021-10-31 12:57:03 +08:00
Leptopoda-GitHub
5878fadcc0
add feedback localizations fixes #357
...
I'm not that happy with the way this is implemented and that it isn't integrated into our localization workflow...
this is a quick fix and something cleaner will come later
2021-10-31 07:23:28 +08:00
Leptopoda-GitHub
6a39abda75
fix translation instructions
2021-10-30 21:02:07 +02:00
Leptopoda-GitHub
233bf10694
fix drawer icon color
...
the drawer icon will now follow the nearest IconThemeData. Only the gamePage nad helPage do override them.
cleanup code
2021-10-30 20:49:47 +02:00
Leptopoda-GitHub
f993e975fe
better utilize flutter_gen
2021-10-31 01:05:31 +08:00
Leptopoda-GitHub
a2c414f89a
fix some toolbar color fixes #328
2021-10-31 00:34:02 +08:00
Leptopoda-GitHub
2523e52c82
fix game page allignment
2021-10-31 00:30:09 +08:00
Leptopoda
1315f2eb0c
fix some drawer stuff fixes #358 and fixes #351
2021-10-31 00:30:09 +08:00
Nikolas Rimikis
ec9ec27c05
Clean up dead code ( #363 )
...
* Clean up dead code
We had a lot of old code-behind comments.
I've removed them for better readability of the code and easier maintenance.
(when searching stiff in the code, it sometimes brings you to dead code ...)
Also, the methods on the gamePage observing the routes does only log "/"
as we don't use namedRoutes.
* Update position.dart
Co-authored-by: Calcitem <calcitem@outlook.com>
2021-10-31 00:22:24 +08:00
Calcitem
3bad4f0942
android: Support compiling to Android 12
...
* Change compileSdkVersion and targetSdkVersion to 31.
* Declare on the Manifest with exported:true for MainActivity.
Reference:
https://medium.com/androiddevelopers/lets-be-explicit-about-our-intent-filters-c5dbe2dbdce0
https://cafonsomota.medium.com/android-12-dont-forget-to-set-android-exported-on-your-activities-services-and-receivers-3bee33f37beb
https://developer.android.com/guide/topics/manifest/activity-element#exported
2021-10-30 23:06:15 +08:00
Calcitem
86d7638e61
Fix some typos in Readme.md
2021-10-30 13:41:48 +08:00