Author: fmantek
Date: Thu Nov 22 05:13:33 2007
New Revision: 330

Modified:
   trunk/clients/cs/RELEASE_NOTES.HTML
   trunk/clients/cs/docs/gphotos.xml
   trunk/clients/cs/lib/ASP.NET/Google.GData.AccessControl.dll
   trunk/clients/cs/lib/ASP.NET/Google.GData.Apps.dll
   trunk/clients/cs/lib/ASP.NET/Google.GData.Calendar.dll
   trunk/clients/cs/lib/ASP.NET/Google.GData.Client.dll
   trunk/clients/cs/lib/ASP.NET/Google.GData.CodeSearch.dll
   trunk/clients/cs/lib/ASP.NET/Google.GData.Extensions.dll
   trunk/clients/cs/lib/ASP.NET/Google.GData.GoogleBase.dll
   trunk/clients/cs/lib/ASP.NET/Google.GData.Photos.dll
   trunk/clients/cs/lib/ASP.NET/Google.GData.Spreadsheets.dll
   trunk/clients/cs/lib/Release/Blogger.exe
   trunk/clients/cs/lib/Release/Calendar.exe
   trunk/clients/cs/lib/Release/CodeSearch.exe
   trunk/clients/cs/lib/Release/ExecRequest.exe
   trunk/clients/cs/lib/Release/Google.GData.AccessControl.dll
   trunk/clients/cs/lib/Release/Google.GData.Apps.dll
   trunk/clients/cs/lib/Release/Google.GData.Calendar.dll
   trunk/clients/cs/lib/Release/Google.GData.Client.dll
   trunk/clients/cs/lib/Release/Google.GData.CodeSearch.dll
   trunk/clients/cs/lib/Release/Google.GData.Extensions.dll
   trunk/clients/cs/lib/Release/Google.GData.GoogleBase.dll
   trunk/clients/cs/lib/Release/Google.GData.Photos.dll
   trunk/clients/cs/lib/Release/Google.GData.Spreadsheets.dll
   trunk/clients/cs/lib/Release/PhotoTool.exe
   trunk/clients/cs/lib/Release/Spreadsheet.exe
   trunk/clients/cs/lib/Release/gapps_migration_sample.exe
   trunk/clients/cs/lib/Release/gbase_customertool.exe
   trunk/clients/cs/lib/Release/gbase_demo.exe
   trunk/clients/cs/lib/Release/gbase_querytool.exe
   trunk/clients/cs/src/VS2003/Photobrowser/PhotoBrowser.csproj
   trunk/clients/cs/src/extensions/georsswhere.cs
   trunk/clients/cs/src/gphotos/albumentry.cs
   trunk/clients/cs/src/gphotos/photoentry.cs

Log:
Fixed the GeoRssExtensions Where element, which had a mistyped 
namespace. Added coded to the PhotoBrowser and it's accessor to use the 
Location correctly. Updated release and asp dlls for this fix.

Modified: trunk/clients/cs/RELEASE_NOTES.HTML
==============================================================================
--- trunk/clients/cs/RELEASE_NOTES.HTML (original)
+++ trunk/clients/cs/RELEASE_NOTES.HTML Thu Nov 22 05:13:33 2007
@@ -12,6 +12,7 @@
     <li>Bugfixes/changes</li>
        <li>Issue 93: ReFixed Title Exact Queries for Spreadsheets. Using
         Title-Exact resulted in two question marks in the query string.</li>
+       <li>Fixed the GeoRSS where extension, which lived in a mistyped 
namespace.</li>
     </ul>
 </ul>


Modified: trunk/clients/cs/docs/gphotos.xml
==============================================================================
--- trunk/clients/cs/docs/gphotos.xml   (original)
+++ trunk/clients/cs/docs/gphotos.xml   Thu Nov 22 05:13:33 2007
@@ -172,6 +172,16 @@
             The user-specified location associated with the album
             </summary>
         </member>
+        <member name="P:Google.GData.Photos.AlbumAccessor.Longitude">
+            <summary>
+            the Longitude  of the photo
+            </summary>
+        </member>
+        <member name="P:Google.GData.Photos.AlbumAccessor.Lattitude">
+            <summary>
+            the Longitude  of the photo
+            </summary>
+        </member>
         <member name="P:Google.GData.Photos.AlbumAccessor.NumPhotos">
             <summary>
             The number of photos in the album.
@@ -1182,6 +1192,16 @@
         <member name="P:Google.GData.Photos.PhotoAccessor.Id">
             <summary>
             the id of the photo
+            </summary>
+        </member>
+        <member name="P:Google.GData.Photos.PhotoAccessor.Longitude">
+            <summary>
+            the Longitude  of the photo
+            </summary>
+        </member>
+        <member name="P:Google.GData.Photos.PhotoAccessor.Lattitude">
+            <summary>
+            the Longitude  of the photo
             </summary>
         </member>
         <member name="T:Google.GData.Photos.PicasaFeed">

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.AccessControl.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.Apps.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.Calendar.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.Client.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.CodeSearch.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.Extensions.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.GoogleBase.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.Photos.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/ASP.NET/Google.GData.Spreadsheets.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Blogger.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Calendar.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/CodeSearch.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/ExecRequest.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.AccessControl.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.Apps.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.Calendar.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.Client.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.CodeSearch.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.Extensions.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.GoogleBase.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.Photos.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Google.GData.Spreadsheets.dll
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/PhotoTool.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/Spreadsheet.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/gapps_migration_sample.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/gbase_customertool.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/gbase_demo.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/lib/Release/gbase_querytool.exe
==============================================================================
Binary files. No diff available.

Modified: trunk/clients/cs/src/VS2003/Photobrowser/PhotoBrowser.csproj
==============================================================================
--- trunk/clients/cs/src/VS2003/Photobrowser/PhotoBrowser.csproj        
(original)
+++ trunk/clients/cs/src/VS2003/Photobrowser/PhotoBrowser.csproj        Thu 
Nov 22 05:13:33 2007
@@ -151,6 +151,12 @@
                     BuildAction = "Compile"
                 />
                 <File
+                    RelPath = "PhotoBrowser.resx"
+                    Link = "..\..\..\samples\PhotoBrowser\PhotoBrowser.resx"
+                    DependentUpon = "PhotoBrowser.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
                     RelPath = "PhotoBrowser.ico"
                     BuildAction = "Content"
                 />

Modified: trunk/clients/cs/src/extensions/georsswhere.cs
==============================================================================
--- trunk/clients/cs/src/extensions/georsswhere.cs      (original)
+++ trunk/clients/cs/src/extensions/georsswhere.cs      Thu Nov 22 05:13:33 2007
@@ -45,7 +45,7 @@
         /// <summary>static string to specify the georss namespace
         /// </summary>
         /// <summary>static string to specify the GeoRSS namespace 
supported</summary>
-        public const string NSGeoRss = "http://www.georss.org/georss/";;
+        public const string NSGeoRss = "http://www.georss.org/georss";;
         /// <summary>static string to specify the GeoRSS prefix used</summary>
         public const string geoRssPrefix = "georss";
         /// <summary>static string to specify the KML namespapce 
supported</summary>
@@ -55,7 +55,7 @@
         /// <summary>static string to specify the the where element</summary>
         public const string GeoRssWhereElement  = "where";
         /// <summary>static string to specify the the point element</summary>
-        public const string GeoKmlPointElement  = "point";
+        public const string GeoKmlPointElement  = "Point";
         /// <summary>static string to specify the the pos element</summary>
         public const string GeoKmlPositionElement    = "pos";
     }

Modified: trunk/clients/cs/src/gphotos/albumentry.cs
==============================================================================
--- trunk/clients/cs/src/gphotos/albumentry.cs  (original)
+++ trunk/clients/cs/src/gphotos/albumentry.cs  Thu Nov 22 05:13:33 2007
@@ -19,6 +19,7 @@
 using System.Collections;
 using Google.GData.Client;
 using Google.GData.Extensions;
+using Google.GData.Extensions.Location;
 #if WindowsCE || PocketPC
 #else
 using System.ComponentModel;
@@ -206,7 +207,7 @@
         /// </summary>
 #if WindowsCE || PocketPC
 #else
-        [Category("Base Album Data"),
+        [Category("Location Data"),
         Description("Specifies the location for the album.")]
 #endif
         public string Location
@@ -221,6 +222,68 @@
             }
         }

+        /// <summary>
+        /// the Longitude  of the photo
+        /// </summary>
+#if WindowsCE || PocketPC
+#else
+        [Category("Location Data"),
+        Description("The longitude of the photo.")]
+#endif
+        public double Longitude
+        {
+            get
+            {
+                GeoRssWhere where = 
this.entry.FindExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                if (where != null)
+                {
+                    return where.Longitude;
+                }
+                return -1;
+            }
+            set
+            {
+                GeoRssWhere where = 
this.entry.FindExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                if (where == null)
+                {
+                    where = 
entry.CreateExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                    this.entry.ExtensionElements.Add(where);
+                }
+                where.Longitude = value;
+            }
+        }
+
+        /// <summary>
+        /// the Longitude  of the photo
+        /// </summary>
+#if WindowsCE || PocketPC
+#else
+        [Category("Location Data"),
+        Description("The Lattitude of the photo.")]
+#endif
+        public double Lattitude
+        {
+            get
+            {
+                GeoRssWhere where = 
this.entry.FindExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                if (where != null)
+                {
+                    return where.Lattitude;
+                }
+                return -1;
+            }
+            set
+            {
+                GeoRssWhere where = 
this.entry.FindExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                if (where == null)
+                {
+                    where = 
entry.CreateExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                    this.entry.ExtensionElements.Add(where);
+                }
+                where.Lattitude = value;
+            }
+        }
+
         /// <summary>
         /// The number of photos in the album.
         /// </summary>

Modified: trunk/clients/cs/src/gphotos/photoentry.cs
==============================================================================
--- trunk/clients/cs/src/gphotos/photoentry.cs  (original)
+++ trunk/clients/cs/src/gphotos/photoentry.cs  Thu Nov 22 05:13:33 2007
@@ -46,7 +46,7 @@
         /// to indicate that it is an event.
         /// </summary>
         public PhotoEntry()
-        : base()
+            : base()
         {
             Tracing.TraceMsg("Created PhotoEntry");
             Categories.Add(PHOTO_CATEGORY);
@@ -390,9 +390,67 @@
             }
         }

-
+        /// <summary>
+        /// the Longitude  of the photo
+        /// </summary>
+#if WindowsCE || PocketPC
+#else
+        [Category("Location Photo Data"),
+        Description("The longitude of the photo.")]
+#endif
+        public double Longitude
+        {
+            get
+            {
+                GeoRssWhere where = 
this.entry.FindExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                if (where != null)
+                {
+                    return where.Longitude;
+                }
+                return -1;
+            }
+            set
+            {
+                GeoRssWhere where = 
this.entry.FindExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                if (where == null)
+                {
+                    where = 
entry.CreateExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                    this.entry.ExtensionElements.Add(where);
+                }
+                where.Longitude = value;
+            }
+        }
+
+        /// <summary>
+        /// the Longitude  of the photo
+        /// </summary>
+#if WindowsCE || PocketPC
+#else
+        [Category("Location Photo Data"),
+        Description("The Lattitude of the photo.")]
+#endif
+        public double Lattitude
+        {
+            get
+            {
+                GeoRssWhere where = 
this.entry.FindExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                if (where != null)
+                {
+                    return where.Lattitude;
+                }
+                return -1;
+            }
+            set
+            {
+                GeoRssWhere where = 
this.entry.FindExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                if (where == null)
+                {
+                    where = 
entry.CreateExtension(GeoNametable.GeoRssWhereElement, 
GeoNametable.NSGeoRss) as GeoRssWhere;
+                    this.entry.ExtensionElements.Add(where);
+                }
+                where.Lattitude = value;
+            }
+        }
     }
-
-
 }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to