[f-spot/FSPOT_0_6_0_STABLE] Bug 585902: Updated all elements based on facebook.xsd
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot/FSPOT_0_6_0_STABLE] Bug 585902: Updated all elements based on facebook.xsd
- Date: Fri, 21 Aug 2009 14:01:55 +0000 (UTC)
commit f946dc0972e4d290a7267649e4229432b1849255
Author: Jim Ramsay <i am jimramsay com>
Date: Fri Aug 21 08:59:18 2009 -0400
Bug 585902: Updated all elements based on facebook.xsd
There were still many places where UIDs and other longs were represented
internally is int. This is now fixed in all the places I could find.
Bumping FacebookExport addin version
.../FacebookExport/FacebookExport.addin.xml | 2 +-
.../FacebookExport/Mono.Facebook/Album.cs | 6 +++---
.../FacebookExport/Mono.Facebook/FriendInfo.cs | 4 ++--
.../FacebookExport/Mono.Facebook/Group.cs | 4 ++--
.../FacebookExport/Mono.Facebook/PeopleList.cs | 6 +++---
.../FacebookExport/Mono.Facebook/Photo.cs | 4 ++--
.../Exporters/FacebookExport/Mono.Facebook/Tag.cs | 2 +-
7 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/extensions/Exporters/FacebookExport/FacebookExport.addin.xml b/extensions/Exporters/FacebookExport/FacebookExport.addin.xml
index 680a44c..557c78a 100644
--- a/extensions/Exporters/FacebookExport/FacebookExport.addin.xml
+++ b/extensions/Exporters/FacebookExport/FacebookExport.addin.xml
@@ -1,6 +1,6 @@
<Addin namespace="FSpot"
id="FacebookExport"
- version="0.6.0.3"
+ version="0.6.0.4"
name="FacebookExport"
description="Export pictures to facebook"
author="George Talusan, Jim Ramsay, Stephane Delcroix"
diff --git a/extensions/Exporters/FacebookExport/Mono.Facebook/Album.cs b/extensions/Exporters/FacebookExport/Mono.Facebook/Album.cs
index 1ec5ab9..39e74e3 100644
--- a/extensions/Exporters/FacebookExport/Mono.Facebook/Album.cs
+++ b/extensions/Exporters/FacebookExport/Mono.Facebook/Album.cs
@@ -45,16 +45,16 @@ namespace Mono.Facebook
public long ConverPId;
[XmlElement ("owner")]
- public int Owner;
+ public long Owner;
[XmlElement ("name")]
public string Name;
[XmlElement ("created")]
- public int Created;
+ public long Created;
[XmlElement ("modified")]
- public int Modified;
+ public long Modified;
[XmlElement ("description")]
public string Description;
diff --git a/extensions/Exporters/FacebookExport/Mono.Facebook/FriendInfo.cs b/extensions/Exporters/FacebookExport/Mono.Facebook/FriendInfo.cs
index cbadb82..c64e33a 100644
--- a/extensions/Exporters/FacebookExport/Mono.Facebook/FriendInfo.cs
+++ b/extensions/Exporters/FacebookExport/Mono.Facebook/FriendInfo.cs
@@ -32,10 +32,10 @@ namespace Mono.Facebook
public class FriendInfo
{
[XmlElement ("uid1")]
- public int UId1;
+ public long UId1;
[XmlElement ("uid2")]
- public int UId2;
+ public long UId2;
[XmlElement ("are_friends")]
public bool AreFriends;
diff --git a/extensions/Exporters/FacebookExport/Mono.Facebook/Group.cs b/extensions/Exporters/FacebookExport/Mono.Facebook/Group.cs
index 4a12dcf..be2dc6d 100644
--- a/extensions/Exporters/FacebookExport/Mono.Facebook/Group.cs
+++ b/extensions/Exporters/FacebookExport/Mono.Facebook/Group.cs
@@ -82,10 +82,10 @@ namespace Mono.Facebook
}
[XmlElement ("creator")]
- public System.Nullable<int> Creator;
+ public System.Nullable<long> Creator;
[XmlElement ("update_time")]
- public int UpdateTime;
+ public long UpdateTime;
[XmlElement ("office")]
public string Office;
diff --git a/extensions/Exporters/FacebookExport/Mono.Facebook/PeopleList.cs b/extensions/Exporters/FacebookExport/Mono.Facebook/PeopleList.cs
index ca06014..6278330 100644
--- a/extensions/Exporters/FacebookExport/Mono.Facebook/PeopleList.cs
+++ b/extensions/Exporters/FacebookExport/Mono.Facebook/PeopleList.cs
@@ -32,11 +32,11 @@ namespace Mono.Facebook
public class PeopleList
{
[XmlElement ("uid")]
- public int[] uid_array;
+ public long[] uid_array;
- public int[] UIds
+ public long[] UIds
{
- get { return uid_array ?? new int[0]; }
+ get { return uid_array ?? new long[0]; }
}
}
}
diff --git a/extensions/Exporters/FacebookExport/Mono.Facebook/Photo.cs b/extensions/Exporters/FacebookExport/Mono.Facebook/Photo.cs
index 1ba35fd..e0b2887 100644
--- a/extensions/Exporters/FacebookExport/Mono.Facebook/Photo.cs
+++ b/extensions/Exporters/FacebookExport/Mono.Facebook/Photo.cs
@@ -40,7 +40,7 @@ namespace Mono.Facebook
public long AId;
[XmlElement ("owner")]
- public int Owner;
+ public long Owner;
[XmlElement ("src")]
public string Source;
@@ -58,7 +58,7 @@ namespace Mono.Facebook
public string Caption;
[XmlElement ("created")]
- public int Created;
+ public long Created;
public Tag[] GetTags ()
{
diff --git a/extensions/Exporters/FacebookExport/Mono.Facebook/Tag.cs b/extensions/Exporters/FacebookExport/Mono.Facebook/Tag.cs
index 1b30b99..27b7dc9 100644
--- a/extensions/Exporters/FacebookExport/Mono.Facebook/Tag.cs
+++ b/extensions/Exporters/FacebookExport/Mono.Facebook/Tag.cs
@@ -38,7 +38,7 @@ namespace Mono.Facebook
public long PId;
[XmlElement ("subject")]
- public int Subject;
+ public long Subject;
[XmlElement ("xcoord")]
public decimal XCoordinate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]