~ubuntu-branches/ubuntu/jaunty/transmission/jaunty-updates

« back to all changes in this revision

Viewing changes to macosx/Sparkle.framework/Versions/A/Headers/RSS.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2008-11-28 15:33:48 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20081128153348-it70trfnxiroblmc
Tags: 1.40-0ubuntu1
* New upstream release (LP: #302672)
  - Tracker communication uses fewer resources
  - More accurate bandwidth limits
  - Reduce disk fragmentation by preallocating files (LP: #287726)
  - Stability, security and performance improvements to the RPC /
    Web UI server (closes LP: #290423)
  - Support compression when serving Web UI and RPC responses
  - Simplify the RPC whitelist
  - Fix bug that prevented handshakes with encrypted BitComet peers
  - Fix 1.3x bug that could re-download some data unnecessarily
    (LP: #295040)
  - Option to automatically update the blocklist weekly
  - Added off-hour bandwidth scheduling
  - Simplify file/priority selection in the details dialog
  - Fix a couple of crashes
  - New / updated translations
  - Don't inhibit hibernation by default (LP: #292929)
  - Use "close" animation when sending to notification area (LP: #130811)
  - Fix resize problems (LP: #269872)
  - Support "--version" option when launching from command line
    (LP: #292011)
  - Correctly parse announce URLs that have leading or trailing
    spaces (LP: #262411)
  - Display an error when "Open Torrent" fails (LP: #281463)
* Dropped 10_fix_crasher_from_upstream.dpatch: Fix is in this
  upstream release.
* debian/control: Don't just build-depend on libcurl-dev, which is
  a virtual package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 
3
 
BSD License
4
 
 
5
 
Copyright (c) 2002, Brent Simmons
6
 
All rights reserved.
7
 
 
8
 
Redistribution and use in source and binary forms, with or without modification,
9
 
are permitted provided that the following conditions are met:
10
 
 
11
 
*       Redistributions of source code must retain the above copyright notice,
12
 
        this list of conditions and the following disclaimer.
13
 
*       Redistributions in binary form must reproduce the above copyright notice,
14
 
        this list of conditions and the following disclaimer in the documentation
15
 
        and/or other materials provided with the distribution.
16
 
*       Neither the name of ranchero.com or Brent Simmons nor the names of its
17
 
        contributors may be used to endorse or promote products derived
18
 
        from this software without specific prior written permission.
19
 
 
20
 
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
 
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22
 
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23
 
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
24
 
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
25
 
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
26
 
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27
 
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28
 
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29
 
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
 
 
31
 
 
32
 
*/
33
 
 
34
 
/*
35
 
        RSS.h
36
 
        A class for reading RSS feeds.
37
 
 
38
 
        Created by Brent Simmons on Wed Apr 17 2002.
39
 
        Copyright (c) 2002 Brent Simmons. All rights reserved.
40
 
*/
41
 
 
42
 
 
43
 
#import <Cocoa/Cocoa.h>
44
 
#import <CoreFoundation/CoreFoundation.h>
45
 
#import "NSString+extras.h"
46
 
 
47
 
 
48
 
@interface RSS : NSObject {
49
 
        
50
 
        NSDictionary *headerItems;
51
 
        NSMutableArray *newsItems;
52
 
        NSString *version;
53
 
        
54
 
        BOOL flRdf;
55
 
        BOOL normalize;
56
 
        }
57
 
 
58
 
 
59
 
/*Public*/
60
 
 
61
 
- (RSS *) initWithTitle: (NSString *) title andDescription: (NSString *) description;
62
 
 
63
 
- (RSS *) initWithData: (NSData *) rssData normalize: (BOOL) fl;
64
 
 
65
 
- (RSS *) initWithURL: (NSURL *) url normalize: (BOOL) fl;
66
 
- (RSS *) initWithURL: (NSURL *) url normalize: (BOOL) fl userAgent:(NSString *)userAgent;
67
 
 
68
 
- (NSDictionary *) headerItems;
69
 
 
70
 
- (NSMutableArray *) newsItems;
71
 
 
72
 
- (NSString *) version;
73
 
 
74
 
// AMM's extensions for Sparkle
75
 
- (NSDictionary *)newestItem;
76
 
 
77
 
 
78
 
/*Private*/
79
 
 
80
 
- (void) createheaderdictionary: (CFXMLTreeRef) tree;
81
 
 
82
 
- (void) createitemsarray: (CFXMLTreeRef) tree;
83
 
 
84
 
- (void) setversionstring: (CFXMLTreeRef) tree;
85
 
 
86
 
- (void) flattenimagechildren: (CFXMLTreeRef) tree into: (NSMutableDictionary *) dictionary;
87
 
 
88
 
- (void) flattensourceattributes: (CFXMLNodeRef) node into: (NSMutableDictionary *) dictionary;
89
 
 
90
 
- (CFXMLTreeRef) getchanneltree: (CFXMLTreeRef) tree;
91
 
 
92
 
- (CFXMLTreeRef) getnamedtree: (CFXMLTreeRef) currentTree name: (NSString *) name;
93
 
 
94
 
- (void) normalizeRSSItem: (NSMutableDictionary *) rssItem;
95
 
 
96
 
- (NSString *) getelementvalue: (CFXMLTreeRef) tree;
97
 
 
98
 
@end