Fix aposraphe bug + release code

master
Evan Leybourn 2011-01-26 14:33:05 +11:00
parent 04a792131f
commit 50379da3ee
3 changed files with 16 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.eleybourn.bookcatalogue" package="com.eleybourn.bookcatalogue"
android:versionName="3.3" android:versionCode="46"> android:versionName="3.3" android:versionCode="47">
<application android:label="@string/app_name" android:icon="@drawable/logo_bc"> <application android:label="@string/app_name" android:icon="@drawable/logo_bc">
<activity android:name=".BookCatalogue" <activity android:name=".BookCatalogue"
android:label="@string/app_name"> android:label="@string/app_name">

3
README
View File

@ -41,7 +41,8 @@ Features include;
case. e.g. "The murder on the links" becomes "The Murder on the Links" case. e.g. "The murder on the links" becomes "The Murder on the Links"
* Using ISBN or Barcode scanning will also download a thumbnail (if available) * Using ISBN or Barcode scanning will also download a thumbnail (if available)
New in v3.3 New in v3.3 - Updates courtesy of Grunthos
* The application should be significantly faster now - Fixed a bug with database index creation
* The thumbnail can be rotated in both directions now * The thumbnail can be rotated in both directions now
* You can zoom in the thumbnail to see full detail * You can zoom in the thumbnail to see full detail
* The help page will redirect to the, more frequently updated, online wiki * The help page will redirect to the, more frequently updated, online wiki

View File

@ -1,5 +1,5 @@
/* /*
* @copyright 2010 Evan Leybourn * @copyright 2010 Evan Leybourn
* @license GNU General Public License * @license GNU General Public License
* *
* This file is part of Book Catalogue. * This file is part of Book Catalogue.
@ -205,7 +205,7 @@ public class CatalogueDBAdapter {
private final Context mCtx; private final Context mCtx;
public static final int DATABASE_VERSION = 51; public static final int DATABASE_VERSION = 52;
/** /**
* This is a specific version of the SQLiteOpenHelper class. It handles onCreate and onUpgrade events * This is a specific version of the SQLiteOpenHelper class. It handles onCreate and onUpgrade events
@ -659,14 +659,22 @@ public class CatalogueDBAdapter {
curVersion++; curVersion++;
message += "New in v3.2\n\n"; message += "New in v3.2\n\n";
message += "* Books can now be automatically added by searching for the author name and book title\n\n"; message += "* Books can now be automatically added by searching for the author name and book title\n\n";
message += "* Updating thumbnails, genre and description fields will also search by author name and title is the isbn does not exist\n\n"; message += "* Updating thumbnails, genre and description fields will also search by author name and title is the isbn does not exist\n\n"; message += "* Expand/Collapse all bug fixed\n\n";
message += "* Expand/Collapse all bug fixed\n\n";
message += "* The search query will be shown at the top of all search screens\n\n"; message += "* The search query will be shown at the top of all search screens\n\n";
} }
if (curVersion == 50) { if (curVersion == 50) {
curVersion++; curVersion++;
createIndices(db); createIndices(db);
} }
if (curVersion == 51) {
curVersion++;
message += "New in v3.3 - Updates courtesy of Grunthos\n\n";
message += "* The application should be significantly faster now - Fixed a bug with database index creation\n\n";
message += "* The thumbnail can be rotated in both directions now\n\n";
message += "* You can zoom in the thumbnail to see full detail\n\n";
message += "* The help page will redirect to the, more frequently updated, online wiki\n\n";
message += "* Dollar signs in the text fields will no longer FC on import/export\n\n";
}
} }
} }
@ -1166,7 +1174,7 @@ public class CatalogueDBAdapter {
* @return Cursor over all books * @return Cursor over all books
*/ */
public Cursor fetchAllBooksByChar(String first_char, String bookshelf) { public Cursor fetchAllBooksByChar(String first_char, String bookshelf) {
String where = " AND substr(b." + KEY_TITLE + ", 1, 1)='"+first_char+"'"; String where = " AND substr(b." + KEY_TITLE + ", 1, 1)='"+encodeString(first_char)+"'";
String order = "lower(b." + KEY_TITLE + ") ASC"; String order = "lower(b." + KEY_TITLE + ") ASC";
return fetchAllBooks(order, bookshelf, where); return fetchAllBooks(order, bookshelf, where);
} }