diff --git a/CHANGELOG.md b/CHANGELOG.md index d97b696..c550c04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,14 @@ -# Changelog +## Changelog -## [1.5.2] - 2024-03-12 +### [1.5.2] - 2024-03-12 This release simplifies the codebase and updates metadata. -### Enhancement +#### Enhancement - Store state directly in chess clock model -### Notes +#### Notes - Add links to README.md - Explicitly convert from Long to Float @@ -17,182 +17,182 @@ This release simplifies the codebase and updates metadata. - Simplify saving current time or duration/increment - Do not use an interface with a single concrete class -## [1.5.1] - 2024-03-11 +### [1.5.1] - 2024-03-11 This release fixes a bug introduced in version [1.5.0] where changing the language would change the default duration and time increment. -### Bug Fix +#### Bug Fix - Fix bug where changing the language would change the default duration and increment -## [1.5.0] - 2024-03-11 +### [1.5.0] - 2024-03-11 This release is a big refactor of the code that tries to follow the principle of separation of concerns, and introduces a better support of the orientation on all devices. -### New Feature +#### New Feature - Properly handle orientation on all devices -### Notes +#### Notes - Separate chess clock model, view and controller - Change order of declarations - Use callbacks instead of passing Window to composable -## [1.4.9] - 2024-03-06 +### [1.4.9] - 2024-03-06 This release reverts the behavior of rounding up to nearest second when above one hour that was introduced in version [1.4.7]. -### Enhancement +#### Enhancement - Revert rounding up to nearest second above one hour -## [1.4.8] - 2024-03-06 +### [1.4.8] - 2024-03-06 This release fixes a bug introduced in the last release where, above one hour, the displayed time would sometimes be off by up to one second. -### Bug Fix +#### Bug Fix - Fix wrong time displayed above one hour -## [1.4.7] - 2024-03-06 +### [1.4.7] - 2024-03-06 This release improves the precision of the counter and of the time display. -### Enhancement +#### Enhancement - Round up to show the current (thenth of a) second -### Bug Fix +#### Bug Fix - Update current time on pause -## [1.4.6] - 2024-03-06 +### [1.4.6] - 2024-03-06 This release is another refactor that makes triggering the next turn more consistent between tapping and dragging actions. -### Bug Fix +#### Bug Fix - Trigger next turn from the end of a drag action instead of its start -### Notes +#### Notes - Refactor chess clock policy into an interface - Pass an immutable orientation state to its consumers -## [1.4.5] - 2024-03-05 +### [1.4.5] - 2024-03-05 This release vastly increases the sensitivity to touch events when counting down. -### Enhancement +#### Enhancement - Also trigger next turn from drag events -### Note +#### Note - Use application ID in build filename -## [1.4.4] - 2024-03-05 +### [1.4.4] - 2024-03-05 This release increases the precision and readability of the clock. -### Enhancement +#### Enhancement - Use a bold font to increase readability -### Bug Fix +#### Bug Fix - Fix a bug that skipped the last tenth of a second -## [1.4.3] - 2024-03-04 +### [1.4.3] - 2024-03-04 This release is a big refactor of the code handling dragging events, fixing two issues and improving the dragging experience. -### Enhancement +#### Enhancement - Improve single player's time settings ([#3]) -### Bug Fixes +#### Bug Fixes - Use monospace font to prevent digits from jumping ([#2]) - Fix D-Pad events being counted twice -### Notes +#### Notes - Do not repeat short description in full description - Add missing documentation -## [1.4.2] - 2024-02-29 +### [1.4.2] - 2024-02-29 This release restores the orientation sensor when using reverse portrait mode while avoiding issues when the orientation is locked. -### Enhancement +#### Enhancement - Restore orientation sensor when in reverse portrait -## [1.4.1] - 2024-02-29 +### [1.4.1] - 2024-02-29 This release fixes possible wrong orientations by disabling the orientation sensor when using reverse portrait mode. -### Bug Fix +#### Bug Fix - Disable orientation sensor when in reverse portrait -### Note +#### Note - Add icon and badges to README.md -## [1.4.0] - 2024-02-29 +### [1.4.0] - 2024-02-29 This release adds support for landscape mode and for devices without a touchscreen. -### New Features +#### New Features - Add true landscape support - Add support for devices with only a D-pad controller -### Enhancement +#### Enhancement - Enable per-app language support -### Note +#### Note - Add documentation for isBlackRightHanded -## [1.3.2] - 2024-02-29 +### [1.3.2] - 2024-02-29 This release fixes a bug where, when correcting a player’s time, the drag orientation would not flip based on the orientation of the clock. -### Bug Fix +#### Bug Fix - Fix frozen drag orientation when correcting time -## [1.3.1] - 2024-02-29 +### [1.3.1] - 2024-02-29 This release fixes a bug where the time could not be restarted after reaching zero. -### Bug Fix +#### Bug Fix - Fix bug where time could not be restarted after ending -## [1.3.0] - 2024-02-28 +### [1.3.0] - 2024-02-28 This release allows flipping the clock orientation for left-handed players and flips horizontal dragging for a right-to-left layout direction. -### New Feature +#### New Feature - Flip clock based on orientation for left-handed players -### Enhancements +#### Enhancements - Support right-to-left layout direction - Add support for the predictive back gesture -### Bug Fix +#### Bug Fix - Make state survive activity or process recreation -### Notes +#### Notes - Add privacy_policy.txt - Add featureGraphic.png @@ -209,19 +209,19 @@ This release allows flipping the clock orientation for left-handed players and f - Minor code formatting changes - Formatting -## [1.2.0] - 2024-02-25 +### [1.2.0] - 2024-02-25 This releases keeps the screen turned on and increases time precision by tracking system time instead of recompositions. -### New Feature +#### New Feature - Keep screen on during countdown -### Enhancement +#### Enhancement - Increase precision by updating time independently from refresh rate -### Notes +#### Notes - Update dependencies - Update JVM bytecode target version @@ -234,121 +234,121 @@ This releases keeps the screen turned on and increases time precision by trackin - Make changelogs valid markdown - Fix link to last version -## [1.1.3] - 2024-02-22 +### [1.1.3] - 2024-02-22 This release adds metadata and slightly simplifies the source code. -### Enhancements +#### Enhancements - Add metadata - Remove an if block to simplify code - Further simplify if block -## [1.1.2] - 2024-02-22 +### [1.1.2] - 2024-02-22 This release improves compatibility and fixes a bug preventing a reset when both times are equal to their initial values. -### Bug Fix +#### Bug Fix - Allow reset when times are equal to their initial values -### Enhancements +#### Enhancements - Set minimum SDK version to 21 (Android 5.0) - Enable Gradle configuration cache -## [1.1.1] - 2024-02-22 +### [1.1.1] - 2024-02-22 This release prevents adjusting the time after it reaches zero and reduces horizontal dragging sensitivity. -### Bug Fixes +#### Bug Fixes - Disallow time adjustments when a time is up - Reduce horizontal dragging sensitivity -### Note +#### Note - Slightly change code structure -## [1.1.0] - 2024-02-21 +### [1.1.0] - 2024-02-21 This release adds the possibility to select the time period using vertical dragging and the time increment using horizontal dragging. -### New Feature +#### New Feature - Implement time input by dragging -## [1.0.7] - 2024-02-21 +### [1.0.7] - 2024-02-21 This release updates and reduces dependencies, bringing the size of the APK down to 686 KiB. -### Enhancements +#### Enhancements - Use Compose Foundation instead of Material 3 - Update dependencies -## [1.0.6] - 2024-02-21 +### [1.0.6] - 2024-02-21 This release fixes a bug where it would not be possible to reset if one of the timers did not start. -### Bug Fix +#### Bug Fix - Allow a reset when one of the timers did not start -### Note +#### Note - Use 0L (Long) instead of 0 (Int) -## [1.0.5] - 2024-02-21 +### [1.0.5] - 2024-02-21 This release fixes some bugs introduced with the reset functionality. -### Bug Fixes +#### Bug Fixes - Make it possible to leave the app - Set first player to white on reset -## [1.0.4] - 2024-02-21 +### [1.0.4] - 2024-02-21 This release makes it possible to reset the clock with the "back" action when the clock is paused. -### Enhancement +#### Enhancement - Make the "back" action reset a paused clock -### Notes +#### Notes - Force portrait orientation - Move most logic out of LaunchedEffect -## [1.0.3] - 2024-02-20 +### [1.0.3] - 2024-02-20 This release enables resource shrinking and app optimization to bring the size of the APK below one megabyte. -### Enhancement +#### Enhancement - Enable resource shrinking and app optimization -## [1.0.2] - 2024-02-20 +### [1.0.2] - 2024-02-20 This release improves the app icon. -### Enhancements +#### Enhancements - Implement adaptive icon - Remove circular icon - Reduce vector path from 1909 to 674 characters -## [1.0.1] - 2024-02-20 +### [1.0.1] - 2024-02-20 This release fixes a bug where the time could still be incremented after reaching zero. -### Bug Fixes +#### Bug Fixes - Do not increment when time is up - Handle negative -## [1.0.0] - 2024-02-20 +### [1.0.0] - 2024-02-20 Initial release. diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..1be9888 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +blitz.leodesouza.net \ No newline at end of file diff --git a/metadata/en-US/privacy_policy.txt b/PRIVACY_POLICY.md similarity index 75% rename from metadata/en-US/privacy_policy.txt rename to PRIVACY_POLICY.md index e28e77a..c841bf4 100644 --- a/metadata/en-US/privacy_policy.txt +++ b/PRIVACY_POLICY.md @@ -1 +1,3 @@ +## Privacy Policy + This application does not collect or share personal data. diff --git a/README.md b/README.md index 2d55744..a464cce 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,6 @@

-# Blitz: Fischer chess clock - A minimalist [Fischer chess clock](https://en.wikipedia.org/wiki/Fischer_clock) for Android. The source code is entirely contained in the file [MainActivity.kt](app/src/main/java/net/leodesouza/blitz/MainActivity.kt). @@ -33,7 +31,7 @@ The app can be installed from three different sources: ## Links -[License: Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) — [Issue Tracker](https://github.com/ldeso/blitz/issues) — [Source Code](https://github.com/ldeso/blitz) — [Changelog](CHANGELOG.md) +[License: Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) — [Website](https://blitz.leodesouza.net) — [Issue Tracker](https://github.com/ldeso/blitz/issues) — [Source Code](https://github.com/ldeso/blitz) — [Changelog](CHANGELOG.md) — [Privacy Policy](PRIVACY_POLICY.md) ## Screenshots diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..d9323ca --- /dev/null +++ b/_config.yml @@ -0,0 +1,40 @@ +title: "Blitz: Fischer chess clock" + +defaults: + - scope: + path: CHANGELOG.md + values: + permalink: /changelog/ + - scope: + path: PRIVACY_POLICY.md + values: + permalink: /privacy-policy/ + +exclude: + - /app/src/main/res + - /app/src/main/AndroidManifest.xml + - /app/build.gradle.kts + - /gradle + - /metadata/en-US/changelogs + - /metadata/en-US/images/phoneScreenshots/3.png + - /metadata/en-US/images/phoneScreenshots/4.png + - /metadata/en-US/images/sevenInchScreenshots + - /metadata/en-US/images/tenInchScreenshots + - /metadata/en-US/images/featureGraphic.png + - /metadata/en-US/full_description.txt + - /metadata/en-US/short_description.txt + - /metadata/en-US/title.txt + - /metadata/fr-FR + - build.gradle.kts + - CNAME + - gradle.properties + - gradlew + - gradlew.bat + - LICENSE + - settings.gradle.kts + +optional_front_matter: + remove_originals: true + +readme_index: + remove_originals: true