[chronojump] fixed crash on start on languages with ', ' as decimal (fr, fi, vi)



commit f1017739c43f0eb61d9fc85884631b0bf0143136
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Aug 12 16:10:11 2009 +0200

    fixed crash on start on languages with ',' as decimal (fr, fi,vi)

 README             |    2 +-
 TODO.txt           |    1 +
 changelog.txt      |   14 ++++++++++++++
 src/sqlite/main.cs |    6 +++---
 4 files changed, 19 insertions(+), 4 deletions(-)
---
diff --git a/README b/README
index 7ae7d08..989d5b7 100644
--- a/README
+++ b/README
@@ -11,4 +11,4 @@ Chronojump is Free GPL'd software and hardware.
 Chronojump works on GNU/Linux and Windows
 
 All info in Chronojump website:
-http://gnome.org/projects/chronojump/
+http://www.chronojump.org
diff --git a/TODO.txt b/TODO.txt
index 0df92aa..8e11ace 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,6 +1,7 @@
 TODO: 
 
 on server upload, allow to not upload a selected person if desired
+check if on fr_FR and others there are more problems with . and ,
 
 website velleman put retardo de desactivacion instead of tiempo de respuesta ajustable
 
diff --git a/changelog.txt b/changelog.txt
index 3d67363..fbd67c4 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,5 +1,19 @@
 CHANGELOG.txt
 
+12 ago 2009
+	Added autotools support (Andoni Morales)
+	Support to generate cross-platform Makefiles using autotools The first time you checkout the repository you need to generate the 'configure' script and the 'Makefile.in' templates by running: 
+	$ sh autogen.sh
+	This script will generate the 'configure' script and the 'Makefile.in' templates from configure.ac and Makefile.am. It will also call the 'configure' script for you, which will generate all the 'Makefile' files from the 'Makefile.in' templates. 'autogen.sh' should be called for each change in configure.ac or Makefile.am files. This script is targetted for developpers, to avoid polluting the repository with extra files. 
+	After running 'autogen.sh' once, you will usually use the following commands: 
+	$ ./configure 
+	$ make 
+	# make install 
+	You can create a tarball for the current version (stored in configure.ac) using: 
+	$ make dist 
+
+	fixed crash on start on languages with ',' as decimal (fr, fi,vi)
+
 11 ago 2009
 	change UI add/edit person: calendar bttn close to dateborn
 
diff --git a/src/sqlite/main.cs b/src/sqlite/main.cs
index 5542b74..83b352e 100644
--- a/src/sqlite/main.cs
+++ b/src/sqlite/main.cs
@@ -72,7 +72,7 @@ class Sqlite
 	 * Important, change this if there's any update to database
 	 * Important2: if database version get numbers higher than 1, check if the comparisons with currentVersion works ok
 	 */
-	static string lastChronojumpDatabaseVersion = "0.70";
+	static string lastChronojumpDatabaseVersion = Util.ChangeDecimalSeparator("0.70");
 
 	public Sqlite() {
 	}
@@ -442,8 +442,8 @@ Log.WriteLine("home is: " + home);
 
 		addChronopicPortNameIfNotExists();
 
-		//string currentVersion = SqlitePreferences.Select("databaseVersion");
-		currentVersion = SqlitePreferences.Select("databaseVersion");
+		//currentVersion = SqlitePreferences.Select("databaseVersion");
+		currentVersion = Util.ChangeDecimalSeparator(Util.ConvertToPoint(SqlitePreferences.Select("databaseVersion")));
 
 		//Log.WriteLine("lastDB: {0}", Convert.ToDouble(lastChronojumpDatabaseVersion));
 		//Log.WriteLine("currentVersion: {0}", Convert.ToDouble(currentVersion));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]