chronojump r464 - in trunk: . build/data glade src



Author: xaviblas
Date: Fri Feb 27 10:20:16 2009
New Revision: 464
URL: http://svn.gnome.org/viewvc/chronojump?rev=464&view=rev

Log:
0.8.2.2
Fixed but untested crash at 1st and 2nd execution on some systems:
-fixed bug in moveDatabaseToNewLocationIfNeeded(), now if no database
exists yet, don't try to move from c:\.chronojump folder
This will solve the crashing after 1st database creation
-Log.GetLast() returns "" if there are no files. 
This maybe solves the silent crash at 2nd execution


Modified:
   trunk/build/data/chronojump.prg
   trunk/build/data/chronojump_mini.prg
   trunk/build/data/version.txt
   trunk/changelog.txt
   trunk/glade/chronojump.glade
   trunk/src/chronojump.cs
   trunk/src/log.cs
   trunk/version.txt

Modified: trunk/build/data/chronojump.prg
==============================================================================
Binary files. No diff available.

Modified: trunk/build/data/chronojump_mini.prg
==============================================================================
Binary files. No diff available.

Modified: trunk/build/data/version.txt
==============================================================================
--- trunk/build/data/version.txt	(original)
+++ trunk/build/data/version.txt	Fri Feb 27 10:20:16 2009
@@ -1 +1 @@
-0.8.2.1
+0.8.2.2

Modified: trunk/changelog.txt
==============================================================================
--- trunk/changelog.txt	(original)
+++ trunk/changelog.txt	Fri Feb 27 10:20:16 2009
@@ -20,6 +20,17 @@
 upload SEvaluator and edit it and re-upload
 add chronopic and device code th SEvaluator and update the diagram
 
+27 feb 2009
+	0.8.2.2
+	Fixed but untested crash at 1st and 2nd execution on some systems:
+	-fixed bug in moveDatabaseToNewLocationIfNeeded(), now if no database
+	exists yet, don't try to move from c:\.chronojump folder
+	This will solve the crashing after 1st database creation
+	-Log.GetLast() returns "" if there are no files. 
+	This maybe solves the silent crash at 2nd execution
+
+
+	Link to hardware page for constructing the devices (on evaluator)
 
 26 feb 2009
 	Fixed bug in axis of intersession global graphs (axis creation bug

Modified: trunk/glade/chronojump.glade
==============================================================================
--- trunk/glade/chronojump.glade	(original)
+++ trunk/glade/chronojump.glade	Fri Feb 27 10:20:16 2009
@@ -27149,6 +27149,69 @@
 		</widget>
 		<packing>
 		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkVBox" id="vbox167">
+		  <property name="visible">True</property>
+		  <property name="homogeneous">False</property>
+		  <property name="spacing">0</property>
+
+		  <child>
+		    <widget class="GtkLabel" id="label662">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">To buy or build Chronopic see &lt;i&gt;hardware&lt;/i&gt; page on website:</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">True</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">False</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0.5</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">0</property>
+		      <property name="ypad">0</property>
+		      <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+		      <property name="width_chars">-1</property>
+		      <property name="single_line_mode">False</property>
+		      <property name="angle">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkLabel" id="label663">
+		      <property name="visible">True</property>
+		      <property name="label">http://www.chronojump.org</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">False</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0.5</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">0</property>
+		      <property name="ypad">0</property>
+		      <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+		      <property name="width_chars">-1</property>
+		      <property name="single_line_mode">False</property>
+		      <property name="angle">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
 		  <property name="expand">True</property>
 		  <property name="fill">True</property>
 		</packing>
@@ -27514,6 +27577,69 @@
 		    </widget>
 		    <packing>
 		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">True</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkVBox" id="vbox168">
+		      <property name="visible">True</property>
+		      <property name="homogeneous">False</property>
+		      <property name="spacing">0</property>
+
+		      <child>
+			<widget class="GtkLabel" id="label664">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">To buy or build these devices see &lt;i&gt;hardware&lt;/i&gt; page on website:</property>
+			  <property name="use_underline">False</property>
+			  <property name="use_markup">True</property>
+			  <property name="justify">GTK_JUSTIFY_LEFT</property>
+			  <property name="wrap">False</property>
+			  <property name="selectable">False</property>
+			  <property name="xalign">0.5</property>
+			  <property name="yalign">0.5</property>
+			  <property name="xpad">0</property>
+			  <property name="ypad">0</property>
+			  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+			  <property name="width_chars">-1</property>
+			  <property name="single_line_mode">False</property>
+			  <property name="angle">0</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">False</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkLabel" id="label665">
+			  <property name="visible">True</property>
+			  <property name="label">http://www.chronojump.org</property>
+			  <property name="use_underline">False</property>
+			  <property name="use_markup">False</property>
+			  <property name="justify">GTK_JUSTIFY_LEFT</property>
+			  <property name="wrap">False</property>
+			  <property name="selectable">False</property>
+			  <property name="xalign">0.5</property>
+			  <property name="yalign">0.5</property>
+			  <property name="xpad">0</property>
+			  <property name="ypad">0</property>
+			  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+			  <property name="width_chars">-1</property>
+			  <property name="single_line_mode">False</property>
+			  <property name="angle">0</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">False</property>
+			</packing>
+		      </child>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
 		      <property name="expand">True</property>
 		      <property name="fill">True</property>
 		    </packing>

Modified: trunk/src/chronojump.cs
==============================================================================
--- trunk/src/chronojump.cs	(original)
+++ trunk/src/chronojump.cs	Fri Feb 27 10:20:16 2009
@@ -517,7 +517,7 @@
 			if(Directory.Exists(oldDB)) {
 				previous = oldDB;
 				moveNeeded = true;
-			} else {
+			} else if(Directory.Exists(reallyOldDB)){
 				previous = reallyOldDB;
 				moveNeeded = true;
 			}

Modified: trunk/src/log.cs
==============================================================================
--- trunk/src/log.cs	(original)
+++ trunk/src/log.cs	Fri Feb 27 10:20:16 2009
@@ -179,6 +179,9 @@
 		}
 		//Console.WriteLine("new empty: {0}\n, the log: {1}", newEmptyFile, lastLogFile);
 
-		return Path.GetFullPath(lastLogFile);
+		if(lastLogFile == "")
+			return "";
+		else
+			return Path.GetFullPath(lastLogFile);
 	}
 }

Modified: trunk/version.txt
==============================================================================
--- trunk/version.txt	(original)
+++ trunk/version.txt	Fri Feb 27 10:20:16 2009
@@ -1 +1 @@
-0.8.2.1
+0.8.2.2



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