Skip to content

Commit

Permalink
Updated strings for v1.5.4 release
Browse files Browse the repository at this point in the history
Fixed: crash when creating transactions
  • Loading branch information
codinguser committed Feb 11, 2015
1 parent 8fd7813 commit 0a134d1
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 12 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
Change Log
===============================================================================
Version 1.5.4 *(2015-02-16)*
----------------------------
* Fixed: Crash when creating TRADING accounts
* Fixed: Crash when deleting scheduled transactions
* Fixed: Account parent can be set to self, creating a cyclic hierarchy
* Fixed: Transactions not saved when double-entry is enabled but no transfer account is specified
* Improved: Auto-select the device locale currency in the account-creation dialog
* Improved: Upgraded structure of repository to match latest Android conventions
* Improved: Updated instrumentation tests and enabled better test reporting with Spoon

Version 1.5.3 *(2015-02-02)*
----------------------------
* Fixed: Unable to edit double-entry transactions
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ Lei Xiao Bao <[email protected]>
Yongxin Wang <[email protected]>
Matthew Hague <[email protected]>
Spanti Nicola <[email protected]>
Jesse Shieh <[email protected]>
Jesse Shieh <[email protected]>
Àlex Magaz Graça <[email protected]>
2 changes: 1 addition & 1 deletion app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<description>Gnucash Android companion application</description>

<parent>
<version>1.5.3-SNAPSHOT</version>
<version>1.5.4-SNAPSHOT</version>
<groupId>org.gnucash.android</groupId>
<artifactId>gnucash-android-parent</artifactId>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion app/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-16
target=android-18
android.library.reference.1=gen-external-apklibs/com.actionbarsherlock_actionbarsherlock_4.4.0
android.library.reference.2=gen-external-apklibs/com.viewpagerindicator_library_2.4.1

4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.gnucash.android"
android:versionCode="46"
android:versionCode="47"
android:versionName="@string/app_version_name" >

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16"/>
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18"/>

<permission-group
android:name="org.gnucash.android.permission.group.GNUCASH"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,9 @@ private void loadParentAccountList(AccountType accountType){

if (mAccount != null){ //if editing an account
mDescendantAccountUIDs = mAccountsDbAdapter.getDescendantAccountUIDs(mAccount.getUID(), null, null);
mDescendantAccountUIDs.add(mAccountsDbAdapter.getGnuCashRootAccountUID());
String rootAccountUID = mAccountsDbAdapter.getGnuCashRootAccountUID();
if (rootAccountUID != null)
mDescendantAccountUIDs.add(rootAccountUID);
// limit cyclic account hierarchies.
condition += " AND (" + DatabaseSchema.AccountEntry.COLUMN_UID + " NOT IN ( '"
+ TextUtils.join("','", mDescendantAccountUIDs) + "','" + mAccountUID + "' ) )";
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name">GnuCash</string>
<string name="app_version_name">1.5.3</string>
<string name="app_version_name">1.5.4</string>
<string name="title_add_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<version>1.5.3-SNAPSHOT</version>
<version>1.5.4-SNAPSHOT</version>
<groupId>org.gnucash.android</groupId>
<artifactId>gnucash-android-parent</artifactId>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-16
target=android-18
2 changes: 1 addition & 1 deletion integration-tests/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:versionCode="3"
android:versionName="1.2.4" >

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" />

<uses-permission android:name="org.gnucash.android.permission.RECORD_TRANSACTION" />
<uses-permission android:name="org.gnucash.android.permission.CREATE_ACCOUNT" />
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.5.3-SNAPSHOT</version>
<version>1.5.4-SNAPSHOT</version>
<groupId>org.gnucash.android</groupId>
<artifactId>gnucash-android-parent</artifactId>
<name>GnuCash Android parent</name>
Expand Down Expand Up @@ -46,7 +46,7 @@
<configuration>
<sdk>
<path>${env.ANDROID_HOME}</path>
<platform>16</platform>
<platform>19</platform>
</sdk>
<undeployBeforeDeploy>true</undeployBeforeDeploy>
</configuration>
Expand Down

0 comments on commit 0a134d1

Please sign in to comment.