~ubuntu-branches/debian/sid/f-spot/sid

« back to all changes in this revision

Viewing changes to extensions/Exporters/FacebookExport/Mono.Facebook/Responses.cs

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2010-05-24 10:35:57 UTC
  • mfrom: (2.4.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20100524103557-1j0i8f66caybci2n
* New upstream release 0.7.0
 + First release of the unstable 0.7 development series. Massive changes.
 + Reparenting and detaching support (Anton Keks) (Closes: #559745)
 + A new Mallard-based documentation (Harold Schreckengost)
 + No longer embeds flickrnet, uses distribution copy (Iain Lane)
 + Adoption of a large amount of Hyena functionality (Paul Lange, Peter
   Goetz)
 + No longer embeds gnome-keyring-sharp
 + Completely rewritten import, much faster and less memory hungry (Ruben
   Vermeersch) (Closes: #559080, #492658, #341790, #357811, #426017) (LP:
   #412091)
 + No longer use gphoto2-sharp, now uses gvfs which is less crash-pron
   (Ruben Vermeersch)
 + Fix Facebook support (Ruben Vermeersch)
 + Modernized unit tests
 + Revamped build (Mike Gemünde)
 + Much improved duplicate detection (much faster too) (Ruben Vermeersch)
 + Mouse selection in Iconview (Vincent Pomey)
 + Image panning support using middle mouse button (Wojciech Dzierżanowski)
 + Timeline slider now restricted to the size of the window (Iain Churcher)
 + Over 100 bugs closed (http://bit.ly/cyVjnD)
   - No more warnings about schema defaults (Closes: #584215) (LP: #586132)
* debian/control: Clean up build deps to match configure checks
* debian/rules: Don't run dh_makeshilbs as we don't ship any shared
  libraries. There are some private ones though, which get picked up and
  result in a useless postinst/postrm call to ldconfig. Thanks, lintian.
* debian/patches/debian_fix-distclean.patch,
  debian/patches/debian_fix_f-spot.exe.config.patch,
  debian/patches/debian_link-system-flickrnet.patch,
  debian/patches/debian_link-system-gnome-keyring.patch,
  debian/patches/debian_disable-unit-tests,
  debian/patches/git_transition_duration.patch,
  debian/patches/ubuntu_fix_folder_export_hang.patch:
  Clean up obsolete patches which are no longer necessary 
* debian/patches/*: Temporarily disable patches which originated from Ubuntu
  and no longer apply cleanly. We will get these back in a future upstream
  development release.
* debian/patches/*: Refresh to apply cleanly 
* debian/rules: Add new include dir to autoreconf call to pick up f-spot
  macros 

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
//
29
29
using System;
30
30
using System.Xml.Serialization;
 
31
using Mono.Facebook.Schemas;
31
32
 
32
33
namespace Mono.Facebook
33
34
{
34
 
        [XmlRoot ("auth_getSession_response", Namespace = "http://api.facebook.com/1.0/", IsNullable = false)]
35
 
        public class SessionInfo
36
 
        {
37
 
                [XmlElement ("session_key")]
38
 
                public string SessionKey;
39
 
 
40
 
                [XmlElement ("uid")]
41
 
                public long UId;
42
 
 
43
 
                [XmlElement ("secret")]
44
 
                public string Secret;
45
 
 
46
 
                [XmlElement ("expires")]
47
 
                public long Expires;
48
 
 
49
 
                [XmlIgnore ()]
50
 
                public bool IsInfinite
51
 
                {
52
 
                        get { return Expires == 0; }
53
 
                }
54
 
 
55
 
                public SessionInfo ()
56
 
                {}
57
 
 
58
 
                // use this if you want to create a session based on infinite session
59
 
                // credentials
60
 
                public SessionInfo (string session_key, long uid, string secret)
61
 
                {
62
 
                        this.SessionKey = session_key;
63
 
                        this.UId = uid;
64
 
                        this.Secret = secret;
65
 
                        this.Expires = 0;
66
 
                }
67
 
        }
68
 
 
69
35
        [XmlRoot ("photos_getAlbums_response", Namespace = "http://api.facebook.com/1.0/", IsNullable = false)]
70
36
        public class AlbumsResponse
71
37
        {
72
 
                [XmlElement ("album")]
73
 
                public Album[] album_array;
 
38
        [XmlElement ("album")]
 
39
                public Album[] album;
74
40
 
75
41
                [XmlIgnore ()]
76
 
                public Album[] Albums
 
42
                public Album[] albums
77
43
                {
78
 
                        get { return album_array ?? new Album[0]; }
 
44
                        get { return album ?? new Album[0]; }
79
45
                }
80
46
 
81
 
                [XmlAttribute ("list")]
82
 
                public bool List;
 
47
                public bool list;
83
48
        }
84
49
 
 
50
 
85
51
        [XmlRoot ("photos_get_response", Namespace = "http://api.facebook.com/1.0/", IsNullable = false)]
86
52
        public class PhotosResponse
87
53
        {
173
139
                public bool List;
174
140
        }
175
141
 
176
 
        [XmlRoot ("events_getMembers_response", Namespace = "http://api.facebook.com/1.0/", IsNullable = false)]
177
 
        public class EventMembersResponse
178
 
        {
179
 
                [XmlElement ("attending")]
180
 
                public PeopleList Attending;
181
 
 
182
 
                [XmlElement ("unsure")]
183
 
                public PeopleList Unsure;
184
 
 
185
 
                [XmlElement ("declined")]
186
 
                public PeopleList Declined;
187
 
 
188
 
                [XmlElement ("not_replied")]
189
 
                public PeopleList NotReplied;
190
 
        }
191
 
 
192
142
        [XmlRoot ("friends_get_response", Namespace = "http://api.facebook.com/1.0/", IsNullable = false)]
193
143
        public class FriendsResponse
194
144
        {