[xiph-commits] r7994 - in trunk/oggdsf: scripts/new reg scripts src/tools/DNPlay

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Wed Oct 13 02:55:27 PDT 2004


Author: illiminable
Date: 2004-10-13 02:55:27 -0700 (Wed, 13 Oct 2004)
New Revision: 7994

Modified:
   trunk/oggdsf/scripts/new reg scripts/mt_http.reg
   trunk/oggdsf/src/tools/DNPlay/frmDNPlay.cs
Log:
* Add the registry for annodex over http.

Modified: trunk/oggdsf/scripts/new reg scripts/mt_http.reg
===================================================================
(Binary files differ)

Modified: trunk/oggdsf/src/tools/DNPlay/frmDNPlay.cs
===================================================================
--- trunk/oggdsf/src/tools/DNPlay/frmDNPlay.cs	2004-10-13 00:07:31 UTC (rev 7993)
+++ trunk/oggdsf/src/tools/DNPlay/frmDNPlay.cs	2004-10-13 09:55:27 UTC (rev 7994)
@@ -600,7 +600,7 @@
 
 		private bool setBaseURIFromFullPath(String inFullPath) 
 		{
-			//MessageBox.Show(inFullPath);
+			MessageBox.Show(inFullPath);
 			Uri locURI = null;
 			Uri locBaseURI = null;
 			try 
@@ -616,8 +616,8 @@
 
 			if (locURI != null) 
 			{
-				//MessageBox.Show(locURI.ToString());
-				//MessageBox.Show(locURI.GetLeftPart(UriPartial.Authority));
+				MessageBox.Show(locURI.ToString());
+				MessageBox.Show(locURI.GetLeftPart(UriPartial.Authority));
 				String locPartial = locURI.GetLeftPart(UriPartial.Authority);
 
 				if (locPartial.Equals("")) 
@@ -632,7 +632,7 @@
 					{
 						//Strip off the filename part at the end
 						locPartial = locPartial.Substring(0, locDelimPos + 1);
-						//MessageBox.Show("Parital : " + locPartial);
+						MessageBox.Show("Parital : " + locPartial);
 					} 
 					else 
 					{
@@ -644,7 +644,7 @@
 				if (!locPartial.Equals("")) 
 				{
 					locBaseURI = new Uri(locPartial);
-					//MessageBox.Show(locBaseURI.ToString());
+					MessageBox.Show(locBaseURI.ToString());
 				}
 				
 			} 
@@ -664,10 +664,10 @@
 				Uri locURI = null;
 				try 
 				{
-					//MessageBox.Show("Base is "+mBaseURI.ToString());
+					MessageBox.Show("Base is "+mBaseURI.ToString());
 					//try and make a URI using the base and the href from the clip (relative)
 					locURI = new Uri(mBaseURI, mCurrentClip.anchor().href());	
-					//MessageBox.Show("New URI is "+locURI.ToString());
+					MessageBox.Show("New URI is "+locURI.ToString());
 				} 
 				catch(System.UriFormatException) 
 				{
@@ -732,6 +732,7 @@
 			locOpenDialog.ShowDialog(this);
 			if (locOpenDialog.wasOK) 
 			{
+				MessageBox.Show(locOpenDialog.URLToOpen);
 				LoadFile(locOpenDialog.URLToOpen);
 				
 				



More information about the commits mailing list