Cédric Luthi

Restore legacy runtime compatibility

... ... @@ -50,6 +50,9 @@ typedef enum _ASIURLReplacementMode {
// If the response is an HTML or CSS file, this will be set so the content can be correctly parsed when it has finished fetching external resources
ASIWebContentType webContentType;
// Used internally for parsing HTML (with libxml)
struct _xmlDoc *doc;
// Stores a reference to the ASIWebPageRequest that created this request
// Note that a parentRequest can also have a parent request because ASIWebPageRequests parse their contents to look for external resources recursively
// For example, a request for an image can be created by a request for a stylesheet which was created by a request for a web page
... ...
... ... @@ -37,14 +37,11 @@ static NSMutableArray *requestsUsingXMLParser = nil;
@property (retain, nonatomic) ASINetworkQueue *externalResourceQueue;
@property (retain, nonatomic) NSMutableDictionary *resourceList;
@property (assign, nonatomic) xmlDocPtr doc; // Declared as @property in order to get a "free" ivar and hide it from the header
@end
@implementation ASIWebPageRequest
@synthesize doc;
+ (void)initialize
{
if (self == [ASIWebPageRequest class]) {
... ...