Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.16.2 #252

Merged
merged 45 commits into from
Sep 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
cba3f15
Merge branch 'release/0.16.1' into develop
jmoody Sep 14, 2015
04aa8c2
Make dylibs displays the code signing attributes
jmoody Sep 15, 2015
d26d1ff
Disable code signin of sim dylib
jmoody Sep 15, 2015
c50053b
Fix: sign the dylib and _then_ stage
jmoody Sep 15, 2015
d242b24
Bump LPTestTarget min version to 8.1
jmoody Sep 15, 2015
80596fc
Update CocoaLumberjack.a; compiled with Xcode 7
jmoody Sep 15, 2015
df97e93
Xcode 7 touched the project schemes
jmoody Sep 15, 2015
1862ea8
Drop support for Xcode 5.1.1 XCTesting
jmoody Sep 15, 2015
1c78d00
LPTestTarget: rm launch images and add app icons
jmoody Sep 15, 2015
6900028
Add process-info route for inspecting the ENV
jmoody Sep 15, 2015
a0dc8b2
LPDevice memoizes process environment
jmoody Sep 15, 2015
cd557ac
LPDevice can extract simulator env details
jmoody Sep 15, 2015
04282f8
LPDevice#simulator use model identifier for check
jmoody Sep 15, 2015
d503a72
Test LPDevice#simulator without mocking
jmoody Sep 15, 2015
9c08640
Device#physicalDevice
jmoody Sep 15, 2015
19db761
Device#system can return value for device or simulator
jmoody Sep 15, 2015
247fbc8
Device can return iPad YES/NO
jmoody Sep 15, 2015
73711d4
Extract sampleFactor and screenDimensions to methods
jmoody Sep 15, 2015
19faf00
Adds a map from model => form factor
jmoody Sep 15, 2015
7fa4044
Rewrite LPDevice#formFactor to avoid LPTouchUtils
jmoody Sep 15, 2015
22078d8
Rename Device#simulator to isSimulator
jmoody Sep 15, 2015
8895421
Rename Device#physicalDevice to isPhysicalDevice
jmoody Sep 15, 2015
bb58f7b
Rename Device#iPhone6* methods to isIPhone6*
jmoody Sep 15, 2015
500d265
Rename Device#iPad to isIPad
jmoody Sep 15, 2015
1b448b1
Add isIPhone4Like and isIphone5Like to LPDevice
jmoody Sep 15, 2015
fbf5bd8
Add Device#isIPadPro
jmoody Sep 15, 2015
c30a8ea
Implement iPhone6*Like with form factor map
jmoody Sep 15, 2015
0d6fb7f
Implement Device#isLetterBox
jmoody Sep 15, 2015
30e4e14
XCTest: Xcode 7 must stick with iPhone 5s
jmoody Sep 16, 2015
8465ede
XCTest: stabilize for Xcode 7/iOS 9
jmoody Sep 16, 2015
fecb021
Replace LPTouchUtils form-factor methods w/ LPDevice
jmoody Sep 16, 2015
8e261bc
Fixup on-device simulator/physical device test
jmoody Sep 16, 2015
89851f6
Rename methods for clarity
jmoody Sep 16, 2015
420a925
Improves LPVersionRoute output
jmoody Sep 16, 2015
7884135
LPDevice can return iOSVersion
jmoody Sep 16, 2015
d5e0423
Makes LPVersion backward compatible
jmoody Sep 16, 2015
7bd5a2a
Merge pull request #242 from calabash/feature/detect-and-identify-xco…
jmoody Sep 16, 2015
f07ea98
LPDevice can return IPHONE_SIMULATOR_DEVICE key (LEGACY)
jmoody Sep 16, 2015
ebbb8da
LPVersion route is backward compat for 'simulator_device' key
jmoody Sep 16, 2015
25cd484
LPDevice can return system from uname (LEGACY)
jmoody Sep 16, 2015
495ca3f
LPVersionRoute populates 'system' key for backward compat
jmoody Sep 16, 2015
962a77f
Merge pull request #251 from calabash/feature/LPVersionRoute-needs-to…
jmoody Sep 16, 2015
1cf9388
Bump timeout for an async server unit test
jmoody Sep 16, 2015
fa053ed
Update the changelog for 0.16.2
jmoody Sep 16, 2015
e761c60
Bump server version to 0.16.2
jmoody Sep 16, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.16.2

* Detect and identify Xcode 7 simulators #242

### 0.16.0 and 0.16.1

These releases contains no code-level changes. They have been
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ - (BOOL) appendData:(NSData *)data {
NSData* decodedData = [MultipartFormDataParser decodedDataFromData:[NSData dataWithBytesNoCopy:(char*)workingData.bytes + offset length:workingData.length - offset - sizeToLeavePending freeWhenDone:NO] encoding:currentEncoding];

if( [delegate respondsToSelector:@selector(processContent:WithHeader:)] ) {
HTTPLogVerbose(@"MultipartFormDataParser: Processed %"FMTNSINT" bytes of body",sizeToPass);
HTTPLogVerbose(@"MultipartFormDataParser: Processed %@ bytes of body", @(sizeToPass));

[delegate processContent: decodedData WithHeader:currentHeader];
}
Expand Down
Binary file modified LPTestTarget/CocoaLumberjack/CocoaLumberjack.a
Binary file not shown.
70 changes: 62 additions & 8 deletions LPTestTarget/Images.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,117 @@
{
"images" : [
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-Small.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-Small@2x.png",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-Small@3x.png",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-Small-40@2x.png",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-Small-40@3x.png",
"scale" : "3x"
},
{
"size" : "57x57",
"idiom" : "iphone",
"size" : "60x60",
"filename" : "Icon.png",
"scale" : "1x"
},
{
"size" : "57x57",
"idiom" : "iphone",
"filename" : "Icon@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-60@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-Small-1.png",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-Small@2x-1.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-Small-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-Small-40@2x-1.png",
"scale" : "2x"
},
{
"size" : "50x50",
"idiom" : "ipad",
"filename" : "Icon-Small-50.png",
"scale" : "1x"
},
{
"size" : "50x50",
"idiom" : "ipad",
"size" : "40x40",
"filename" : "Icon-Small-50@2x.png",
"scale" : "2x"
},
{
"size" : "72x72",
"idiom" : "ipad",
"size" : "76x76",
"filename" : "Icon-72.png",
"scale" : "1x"
},
{
"size" : "72x72",
"idiom" : "ipad",
"filename" : "Icon-72@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions LPTestTarget/Images.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
57 changes: 0 additions & 57 deletions LPTestTarget/Images.xcassets/LaunchImage.launchimage/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions LPTestTarget/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>Main</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dylibs:
scripts/make-calabash-dylib.rb device
CERT_CHECKSUM=337976ad9ace375ac06cd8fea2edb0c7276dec2a72d005ca5559a8bbf09c8841 \
scripts/make-libraries.rb verify-dylibs
xcrun codesign --display --verbose=4 calabash-dylibs/libCalabashDyn.dylib

dylib_sim:
rm -rf build
Expand Down
2 changes: 1 addition & 1 deletion XCTest/Tests/Invoker/LPInvokerThreadingTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ - (void) testPointerArgWithAllVariablesCreatedOffMainThread {
[expectation fulfill];
});

[self waitForExpectationsWithTimeout:0.1 handler:^(NSError *error) {
[self waitForExpectationsWithTimeout:0.5 handler:^(NSError *error) {
if (error) { XCTFail(@"Expectation Failed with error: %@", error); }
}];

Expand Down
33 changes: 33 additions & 0 deletions XCTest/Tests/Operations/LPProcessInfoRouteTest.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import <XCTest/XCTest.h>
#import "LPProcessInfoRoute.h"

@interface LPProcessInfoRouteTest : XCTestCase

@property(nonatomic, strong) LPProcessInfoRoute *route;
@end

@implementation LPProcessInfoRouteTest

- (void) setUp {
[super setUp];
self.route = [LPProcessInfoRoute new];
}

- (void) tearDown {
[super tearDown];
self.route = nil;
}

- (void) testSupportsMethodGET {
expect([self.route supportsMethod:@"GET" atPath:nil]).to.equal(YES);
}

- (void) testSupportsMethodAnythingButGET {
expect([self.route supportsMethod:@"POST" atPath:nil]).to.equal(NO);
}

@end
Loading