Changeset 100872 in webkit
- Timestamp:
- Nov 20, 2011 2:55:45 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r100867 r100872 1 2011-11-17 Mark Rowe <mrowe@apple.com> 2 3 <http://webkit.org/b/72646> Disable deprecation warnings around code where we cannot easily 4 switch away from the deprecated APIs. 5 6 Reviewed by Sam Weinig. 7 8 * platform/mac/WebCoreNSStringExtras.mm: 9 * platform/network/cf/SocketStreamHandleCFNet.cpp: 10 (WebCore::SocketStreamHandle::reportErrorToClient): 11 1 12 2011-11-19 Kevin Ollivier <kevino@theolliviers.com> 2 13 -
trunk/Source/WebCore/platform/mac/WebCoreNSStringExtras.mm
r100703 r100872 69 69 } 70 70 71 #if COMPILER(CLANG) 72 #pragma clang diagnostic push 73 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 74 #endif 75 71 76 CFStringEncoding stringEncodingForResource(Handle resource) 72 77 { … … 111 116 } 112 117 118 #if COMPILER(CLANG) 119 #pragma clang diagnostic pop 120 #endif -
trunk/Source/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp
r100703 r100872 543 543 544 544 #if PLATFORM(MAC) 545 546 #if COMPILER(CLANG) 547 #pragma clang diagnostic push 548 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 549 #endif 550 545 551 if (CFEqual(CFErrorGetDomain(error), kCFErrorDomainOSStatus)) { 546 552 const char* descriptionOSStatus = GetMacOSStatusCommentString(static_cast<OSStatus>(errorCode)); … … 548 554 description = "OSStatus Error " + String::number(errorCode) + ": " + descriptionOSStatus; 549 555 } 556 557 #if COMPILER(CLANG) 558 #pragma clang diagnostic pop 559 #endif 560 550 561 #endif 551 562 -
trunk/Source/WebKit/mac/ChangeLog
r100792 r100872 1 2011-11-17 Mark Rowe <mrowe@apple.com> 2 3 <http://webkit.org/b/72646> Disable deprecation warnings around code where we cannot easily 4 switch away from the deprecated APIs. 5 6 Reviewed by Sam Weinig. 7 8 * Plugins/WebBasePluginPackage.mm: 9 * Plugins/WebNetscapePluginPackage.mm: 10 (-[WebNetscapePluginPackage _tryLoad]): 11 1 12 2011-11-18 Anton D'Auria <adauria@apple.com> 2 13 -
trunk/Source/WebKit/mac/Plugins/WebBasePluginPackage.mm
r100703 r100872 94 94 } 95 95 96 #if COMPILER(CLANG) 97 #pragma clang diagnostic push 98 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 99 #endif 100 // FIXME: Rewrite this in terms of -[NSURL URLByResolvingBookmarkData:…]. 96 101 static NSString *pathByResolvingSymlinksAndAliases(NSString *thePath) 97 102 { … … 119 124 return newPath; 120 125 } 126 #if COMPILER(CLANG) 127 #pragma clang diagnostic pop 128 #endif 121 129 122 130 - (id)initWithPath:(NSString *)pluginPath -
trunk/Source/WebKit/mac/Plugins/WebNetscapePluginPackage.mm
r100703 r100872 123 123 } 124 124 125 #if COMPILER(CLANG) 126 #pragma clang diagnostic push 127 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 128 #endif 129 125 130 - (NSString *)stringForStringListID:(SInt16)stringListID andIndex:(SInt16)index 126 131 { … … 202 207 return YES; 203 208 } 209 #if COMPILER(CLANG) 210 #pragma clang diagnostic pop 211 #endif 204 212 205 213 - (BOOL)_initWithPath:(NSString *)pluginPath … … 425 433 } 426 434 #endif /* SUPPORT_CFM */ 427 435 436 #if COMPILER(CLANG) 437 #pragma clang diagnostic push 438 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 439 #endif 428 440 // Plugins (at least QT) require that you call UseResFile on the resource file before loading it. 429 441 resourceRef = [self openResourceFile]; … … 431 443 UseResFile(resourceRef); 432 444 } 433 445 #if COMPILER(CLANG) 446 #pragma clang diagnostic pop 447 #endif 448 434 449 // swap function tables 435 450 #ifdef SUPPORT_CFM -
trunk/Source/WebKit2/ChangeLog
r100859 r100872 1 2011-11-17 Mark Rowe <mrowe@apple.com> 2 3 <http://webkit.org/b/72646> Disable deprecation warnings around code where we cannot easily 4 switch away from the deprecated APIs. 5 6 Reviewed by Sam Weinig. 7 8 * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm: 9 1 10 2011-11-19 Sheriff Bot <webkit.review.bot@gmail.com> 2 11 -
trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm
r100703 r100872 217 217 } 218 218 219 #if COMPILER(CLANG) 220 #pragma clang diagnostic push 221 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 222 #endif 223 219 224 class ResourceMap { 220 225 public: … … 285 290 } 286 291 292 #if COMPILER(CLANG) 293 #pragma clang diagnostic pop 294 #endif 295 287 296 static const ResID PluginNameOrDescriptionStringNumber = 126; 288 297 static const ResID MIMEDescriptionStringNumber = 127;
Note: See TracChangeset
for help on using the changeset viewer.