~ubuntu-branches/ubuntu/jaunty/beagle/jaunty-security

« back to all changes in this revision

Viewing changes to BeagleClient/Hit.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-05-04 00:31:32 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20080504003132-2tkm5o8moo5952ri
Tags: 0.3.7-2ubuntu1
 * Merge from Debian unstable. (LP: #225746) Remaining Ubuntu changes:
  - debian/control:
    + Rename ice{weasel,dove}-beagle to {mozilla,thunderbird}-beagle and
      and update the dependencies accordingly.
    + Change Maintainer to Ubuntu Mono Team.
  - debian/rules:
    + Install the mozilla-beagle and thunderbird-beagle extensions.
  - ice{dove,weasel}.dirs:
    + Renamed to {mozilla,thunderbird}-beagle.dirs.
    + Fixed paths to point to usr/lib/{firefox,thunderbird}

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
                        set { parent_uri = value; }
94
94
                }
95
95
 
 
96
                
96
97
                [XmlAttribute ("ParentUri")]
97
98
                public string EscapedParentUri {
98
99
                        get {
110
111
                        }
111
112
                }
112
113
 
113
 
                // File, WebHistory, MailMessage, IMLog, etc.
 
114
                /// <value>
 
115
                /// File, WebHistory, MailMessage, IMLog, etc.
 
116
                /// </value>
114
117
                [XmlIgnore]
115
118
                public string Type {
116
119
                        get { return GetFirstProperty ("beagle:HitType"); }
117
120
                }
118
121
 
119
 
                // If applicable otherwise can be null.
 
122
                /// <value>
 
123
                /// If applicable otherwise can be null.
 
124
                /// </value>
120
125
                [XmlIgnore]
121
126
                public string MimeType {
122
127
                        get { return GetFirstProperty ("beagle:MimeType"); }
123
128
                }
124
129
        
125
 
                // IndexUser, IndexSystem, Google, Addressbook, iFolder, etc.
 
130
                
 
131
                /// <value>
 
132
                /// IndexUser, IndexSystem, Google, Addressbook, iFolder, etc.
 
133
                /// </value>
126
134
                [XmlIgnore]
127
135
                public string Source {
128
136
                        get { return GetFirstProperty ("beagle:Source"); }
129
137
                }
130
138
 
131
 
                // document, archive, image etc.
 
139
                /// <summary>
 
140
                /// document, archive, image etc.
 
141
                /// </summary>
132
142
                [XmlIgnore]
133
143
                public string FileType {
134
144
                        get { return GetFirstProperty ("beagle:FileType"); }
332
342
                                        return null;
333
343
 
334
344
                                if (top - first != 1) {
335
 
                                        Logger.Log.Warn ("Accessed multi-property key '(0}' with Hit's indexer.");
 
345
                                        Logger.Log.Warn ("Accessed multi-property key '{0}' with Hit's indexer.", key);
336
346
                                        return null;
337
347
                                }
338
348