Skip to content

Commit

Permalink
Updated changelog to reflect version 2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
autoreleasefool committed Jan 23, 2016
1 parent 2ffd876 commit 3f8d4ee
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 31 deletions.
33 changes: 29 additions & 4 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Upcoming changes

```
v2.1.4
v2.2
Changes
- Moved pin from behind next and previous buttons to above. If your screen is too small, you can hide these buttons in the settings
- Create teams of bowlers to edit more than one bowler's scores at once
```

```
Expand All @@ -13,12 +12,37 @@ v3.0
Features
- Will add Pebble Watch companion app support
- Will add Android Wear support
- Will allow teams of bowlers to be created
- Will provide options to export games to CSV/Excel
```

## Legacy changelogs

```
v2.1.4
What's new
- Added THIS popup, to inform you of the newest changes each release.
- Leagues now have a "base average". Start recording a new league in the middle of a season? Long click a league, select "Change properties" and you can set your average so far and the number of games you've played, so your average in the app is more accurate.
- You can now duplicate a series. Duplicating a series will create a new series for the current date, with the same number of games and scores as the series you duplicate. This new series will use manually set games, and will affect your average, but no other stats.
- New statistics: percentage of time that your first ball is left or right of the headpin. Find them under "General"
Other changes
- Added an option to move the pins above the "next" button, instead of behind it, to prevent misclicks. This option is enabled by default.
- Fixed an issue where changing the name of a league or event sometimes added an "L" or "E" to the start. If this happened to you, you'll receive a pop-up asking if you'd like the names to be fixed.
```

```
v2.1.3
- Fixed a bug introduced in v2.1.2 that caused some bowlers to not appear.
```

```
v2.1.2
- H2 and H32 (not chop off) are no longer counted as "spare chances".
```

```
v2.1.1
Expand Down Expand Up @@ -66,6 +90,7 @@ Features
- Series in the "Open" league can have 1-5 games
- You can now combine series in the "Open" league
- Swipe to delete bowlers/leagues/series
Design
- Material design
- New app icon
Expand Down
56 changes: 38 additions & 18 deletions app/src/main/assets/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,78 +1,98 @@
v2.1.1
<b>v2.1.4</b>

<i>What's new</i>
- Added THIS popup, to inform you of the newest changes each release.
- Leagues now have a "base average". Start recording a new league in the middle of a season? Long click a league, select "Change properties" and you can set your average so far and the number of games you've played, so your average in the app is more accurate.
- You can now duplicate a series. Duplicating a series will create a new series for the current date, with the same number of games and scores as the series you duplicate. This new series will use manually set games, and will affect your average, but no other stats.
- New statistics: percentage of time that your first ball is left or right of the headpin. Find them under "General"

<i>Other changes</i>
- Added an option to move the pins above the "next" button, instead of behind it, to prevent misclicks. This option is enabled by default.
- Fixed an issue where changing the name of a league or event sometimes added an "L" or "E" to the start. If this happened to you, you'll receive a pop-up asking if you'd like the names to be fixed.

<b>v2.1.3</b>
- Fixed a bug introduced in v2.1.2 that caused some bowlers to not appear.

<b>v2.1.2</b>
- H2 and H32 (not chop off) are no longer counted as "spare chances".

<b>v2.1.1</b>
- Fixed a crash when checking the hi score possible

v2.1
<b>v2.1</b>
- Games with a score of 0 are now excluded from your average and statistics
- Strikes and spares are now highlighted in a game to be spotted more easily (you can disable this in the settings)
- Series now show their total and are highlighted over a certain value (can be changed/disable in settings)
- Bug fixes

v2.0.5
<b>v2.0.5</b>
- Bug fixes

v2.0.4
<b>v2.0.4</b>
- Bug fixes

v2.0.3
<b>v2.0.3</b>
- Long click a bowler or league to edit its name
- Improved match play recording (add your opponent's name and their score)
- Match play results now appear in the series list (you can disable this in the settings under "Interface")
- Bugfixes

v2.0
Features
<b>v2.0</b>

<i>Features</i>
- Added a new tutorial on first startup
- Adding graphs for stats
- Support for tablets and landscaPe
- Swipe to knock over pins
- Series in the "Open" league can have 1-5 games
- You can now combine series in the "Open" league
- Swipe to delete bowlers/leagues/series
Design

<i>Design</i>
- Material design
- New app icon
- Improved navigation

v1.2.1
<b>v1.2.1</b>
- Bug fixes

v1.2
<b>v1.2</b>
- Larger button to move to next frame
- Option to have frame auto advance after an interval of inactivity
- Bug fixes

v1.1.3
<b>v1.1.3</b>
- Added option to change header/stat fonts to black, for better readability
- Bug fixes

v1.1.2
<b>v1.1.2</b>
- Now returns to same game when phone comes off standby mode
- Changed display method of future frames in a game
- Bug fixes

v1.1.1
<b>v1.1.1</b>
- Added link in menu to settings
- Simplified settings screen
- Bug fixes

v1.1
<b>v1.1</b>
- Added new option to set results of match play
- Added match play statistics to the list of stats
- Added averages by game to the statistics
- Changed appearance of stats, now in expandable groups
- Fixed bug where "Grey" theme was not working
- Bug fixes

v1.0.4
<b>v1.0.4</b>
- Decreased memory when saving images, should reduce crashes when trying to save or share a series.

v1.0.3
<b>v1.0.3</b>
- Bug fixing
- Decreased memory used by background images.
- Decreased overall size of the app.

v1.0.2
<b>v1.0.2</b>
- Fixing issues with user authentication

v1.0.1
<b>v1.0.1</b>
- Fixing issues with user authentication
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,11 @@
import android.app.AlertDialog;
import android.content.Context;
import android.content.pm.PackageManager;
import android.content.res.AssetManager;
import android.preference.PreferenceManager;
import android.util.Log;
import android.text.Html;
import android.view.View;
import android.widget.TextView;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

import ca.josephroque.bowlingcompanion.R;

/**
Expand All @@ -38,7 +32,7 @@ public final class Changelog {
* Defines the amount of time which must have passed since the application was installed before the changelog can be
* shown, so that new installations are not shown it.
*/
private static final long MINIMUM_TIME_REQUIRED_FOR_CHANGELOG = 1000 * 60 * 60 * 24 * 7;
private static final long MINIMUM_TIME_REQUIRED_FOR_CHANGELOG = 1000 * 60 * 60 * 24;

/**
* Returns the value of {@code sShowChangelog} to indicate if changelog should be shown.
Expand Down Expand Up @@ -88,6 +82,10 @@ public static void appLaunched(Context context) {
if (!shouldShowChangelog(context))
return;

String changelog = FileUtils.retrieveTextFileAsset(context, "changelog.txt");
if (changelog == null)
return;

// Creating alert dialog
final AlertDialog.Builder dialog = new AlertDialog.Builder(context);
View rootView = View.inflate(context, R.layout.dialog_scrollable_text, null);
Expand All @@ -97,7 +95,7 @@ public static void appLaunched(Context context) {

// Setting text of changelog
((TextView) rootView.findViewById(R.id.tv_scrollable_text)).setText(
FileUtils.retrieveTextFileAsset(context, "changelog.txt"));
Html.fromHtml(changelog.replace("\n", "<br />")));
((TextView) rootView.findViewById(R.id.tv_scrollable_text_dialog_title)).setText(context.getResources()
.getString(R.string.text_changelog));

Expand Down

0 comments on commit 3f8d4ee

Please sign in to comment.