breakpad/src/client/mac
Sylvain Defresne 98bea93a3e Fix deprecatation warning when building for recent SDKs on iOS/OS X.
Fixes the following compilation warning when using recent version of
the iOS or OS X SDK by using the recommended new API:

../../breakpad/src/common/mac/HTTPMultipartUpload.m:56:10: error: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Werror,-Wdeprecated-declarations]
    [key stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
         ^
CFURLCreateStringByAddingPercentEscapes

../../breakpad/src/common/mac/HTTPMultipartUpload.m:207:29: error: 'sendSynchronousRequest:returningResponse:error:' is deprecated: first deprecated in iOS 9.0 - Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h [-Werror,-Wdeprecated-declarations]
    data = [NSURLConnection sendSynchronousRequest:req
                            ^

../../breakpad/src/client/mac/handler/minidump_generator.cc:158:6: error: 'CFPropertyListCreateFromXMLData' is deprecated: first deprecated in iOS 8.0 - Use CFPropertyListCreateWithData instead. [-Werror,-Wdeprecated-declarations]
    (CFPropertyListCreateFromXMLData(NULL, data, kCFPropertyListImmutable,
     ^

BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=675
BUG=569158
R=mark@chromium.org

Review URL: https://codereview.chromium.org/1563223004 .
2016-01-07 19:48:21 +01:00
..
Breakpad.xcodeproj Fixing the Mac Inspector build by adding the launch_report dependency to the breakpadUtilities dylib project after it got pulled out from Inspector.mm 2014-10-17 17:44:09 +00:00
crash_generation Mac: Add support for in-process crash reporting to Breakpad. 2014-09-15 22:48:18 +00:00
Framework Breakpad: Fix build with new clang versions. 2014-12-10 16:08:09 +00:00
gcov Open sourcing the Breakpad framework from Google. 2009-04-01 03:18:49 +00:00
handler Fix deprecatation warning when building for recent SDKs on iOS/OS X. 2016-01-07 19:48:21 +01:00
sender Adding possibility for client to upload the file 2014-09-01 11:02:57 +00:00
testapp review: http://breakpad.appspot.com/138001 2010-07-29 05:25:43 +00:00
tests tests: InstructionPointerMemoryNullPointer: make it work under llvm 2015-07-20 06:19:49 +00:00
UnitTests-Info.plist Open sourcing the Breakpad framework from Google. 2009-04-01 03:18:49 +00:00