Skip to content

Commit

Permalink
Bugfix for JMMobileDevicePort
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Meder committed Nov 26, 2015
1 parent 0a26641 commit 43ab656
Show file tree
Hide file tree
Showing 179 changed files with 5,197 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

`DarkLightning` adheres to [Semantic Versioning](http://semver.org/).

## 0.3.4

### Bugfixes

* Fixed a bug that created an EXC_BAD_ACCESS if `close` was called on `JMMobileDevicePort` while in `JMMobileDevicePortStateIdle`

## 0.3.3

### Additions
Expand Down
2 changes: 1 addition & 1 deletion DarkLightning.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "DarkLightning"
s.version = "0.3.3"
s.version = "0.3.4"
s.summary = "Simply the fastest way to transmit data between iOS and OSX"
s.description = <<-DESC
DarkLightning is a lightweight Objective-C library to allow data transmission between iOS devices (Lightning port or Dock connector) and OSX (USB) at 480MBit.
Expand Down
1 change: 0 additions & 1 deletion Libraries/Kiwi/Kiwi.framework/Headers

This file was deleted.

1 change: 0 additions & 1 deletion Libraries/Kiwi/Kiwi.framework/Kiwi

This file was deleted.

Binary file added Libraries/Kiwi/Kiwi.framework/Kiwi
Binary file not shown.
1 change: 0 additions & 1 deletion Libraries/Kiwi/Kiwi.framework/Modules

This file was deleted.

1 change: 0 additions & 1 deletion Libraries/Kiwi/Kiwi.framework/Resources

This file was deleted.

1 change: 0 additions & 1 deletion Libraries/Kiwi/Kiwi.framework/Versions/Current

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWBlockNode.h"
#import "KWExampleNode.h"

@interface KWAfterAllNode : KWBlockNode<KWExampleNode>

#pragma mark - Initializing

+ (id)afterAllNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWBlockNode.h"
#import "KWExampleNode.h"

@interface KWAfterEachNode : KWBlockNode<KWExampleNode>

#pragma mark - Initializing

+ (id)afterEachNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block;

@end
17 changes: 17 additions & 0 deletions Libraries/Kiwi/Kiwi.framework/Versions/Current/Headers/KWAny.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"

// KWAny exists to determine arguments in a message pattern that should
// match any value. Used for pointers as well as for scalar values.
@interface KWAny : NSObject

#pragma mark - Initializing

+ (id)any;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//
// KWAsyncVerifier.h
// iOSFalconCore
//
// Created by Luke Redpath on 13/01/2011.
// Copyright 2011 LJR Software Limited. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KWMatchVerifier.h"
#import "KWProbe.h"

#define kKW_DEFAULT_PROBE_TIMEOUT 1.0

@class KWAsyncMatcherProbe;

@interface KWAsyncVerifier : KWMatchVerifier

@property (nonatomic, assign) NSTimeInterval timeout;
@property (nonatomic, assign) BOOL shouldWait;

+ (id)asyncVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite matcherFactory:(KWMatcherFactory *)aMatcherFactory reporter:(id<KWReporting>)aReporter probeTimeout:(NSTimeInterval)probeTimeout shouldWait:(BOOL)shouldWait;
- (void)verifyWithProbe:(KWAsyncMatcherProbe *)aProbe;

@end


@interface KWAsyncMatcherProbe : NSObject <KWProbe>

@property (nonatomic, assign) BOOL matchResult;
@property (nonatomic, readonly) id<KWMatching> matcher;

- (id)initWithMatcher:(id<KWMatching>)aMatcher;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeBetweenMatcher : KWMatcher

#pragma mark - Configuring Matchers

// TODO: 'and' below is a reserved word in C++
- (void)beBetween:(id)aLowerEndpoint and:(id)anUpperEndpoint;
- (void)beInTheIntervalFrom:(id)aLowerEndpoint to:(id)anUpperEndpoint;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeEmptyMatcher : KWMatcher

#pragma mark - Configuring Matchers

- (void)beEmpty;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeIdenticalToMatcher : KWMatcher

#pragma mark - Configuring Matchers

- (void)beIdenticalTo:(id)anObject;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeKindOfClassMatcher : KWMatcher

#pragma mark - Configuring Matchers

- (void)beKindOfClass:(Class)aClass;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeMemberOfClassMatcher : KWMatcher

#pragma mark - Configuring Matchers

- (void)beMemberOfClass:(Class)aClass;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeSubclassOfClassMatcher : KWMatcher

#pragma mark - Configuring Matchers

- (void)beSubclassOfClass:(Class)aClass;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeTrueMatcher : KWMatcher

#pragma mark - Configuring Matchers

- (void)beTrue;
- (void)beFalse;
- (void)beYes;
- (void)beNo;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeWithinMatcher : KWMatcher

#pragma mark - Configuring Matchers

- (void)beWithin:(id)aDistance of:(id)aValue;
- (void)equal:(double)aValue withDelta:(double)aDelta;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWMatcher.h"

@interface KWBeZeroMatcher : KWMatcher

#pragma mark - Configuring Matchers

- (void)beZero;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWBlockNode.h"
#import "KWExampleNode.h"

@interface KWBeforeAllNode : KWBlockNode<KWExampleNode>

#pragma mark - Initializing

+ (id)beforeAllNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWBlockNode.h"
#import "KWExampleNode.h"

@interface KWBeforeEachNode : KWBlockNode<KWExampleNode>

#pragma mark - Initializing

+ (id)beforeEachNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block;

@end
25 changes: 25 additions & 0 deletions Libraries/Kiwi/Kiwi.framework/Versions/Current/Headers/KWBlock.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"

@interface KWBlock : NSObject

#pragma mark - Initializing
- (id)initWithBlock:(void (^)(void))block;

+ (id)blockWithBlock:(void (^)(void))block;

#pragma mark - Calling Blocks

- (void)call;

@end

#pragma mark - Creating Blocks

KWBlock *theBlock(void (^block)(void));
KWBlock *lambda(void (^block)(void));
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import "KWBlock.h"

@class KWCallSite;

@interface KWBlockNode : NSObject

#pragma mark - Initializing

- (id)initWithCallSite:(KWCallSite *)aCallSite description:(NSString *)aDescription block:(void (^)(void))block;

#pragma mark - Getting Call Sites

@property (nonatomic, strong, readonly) KWCallSite *callSite;

#pragma mark - Getting Descriptions

@property (nonatomic, copy) NSString *description;

#pragma mark - Getting Blocks

@property (nonatomic, copy, readonly) void (^block)(void);

#pragma mark - Performing blocks

- (void)performBlock;

@end
Loading

0 comments on commit 43ab656

Please sign in to comment.