Skip to content

Commit

Permalink
Merge branch 'release-1.7.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Dec 2, 2014
2 parents dcb28c6 + 6b2794a commit 3c83c11
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
7 changes: 5 additions & 2 deletions Core/Source/DTZipArchive/DTZipArchiveGZip.m
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,11 @@ - (NSData *)uncompressZipArchiveNode:(DTZipArchiveNode *)node withError:(NSError
{
if (![self.nodes containsObject:node])
{
NSDictionary *userInfo = @{NSLocalizedDescriptionKey : @"Invalid node specified, cannot uncompress GZip file."};
*error = [[NSError alloc] initWithDomain:DTZipArchiveErrorDomain code:7 userInfo:userInfo];
if (error)
{
NSDictionary *userInfo = @{NSLocalizedDescriptionKey : @"Invalid node specified, cannot uncompress GZip file."};
*error = [[NSError alloc] initWithDomain:DTZipArchiveErrorDomain code:7 userInfo:userInfo];
}

return nil;
}
Expand Down
1 change: 0 additions & 1 deletion Core/Source/iOS/DTProgressHUD/DTProgressHUD.m
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ - (void)_showAnimation
[collision addBoundaryWithIdentifier:@"barrier1" fromPoint:leftPoint toPoint:rightPoint];

// calculate points for barrier
height = self.center.y + PROGRESS_HEIGHT / 2;
leftPoint = CGPointMake(0, 0);
rightPoint = CGPointMake(self.center.x - PROGRESS_WIDTH / 2 - offset + BARRIER_LENGTH, 0);
[collision addBoundaryWithIdentifier:@"barrier2" fromPoint:leftPoint toPoint:rightPoint];
Expand Down
10 changes: 5 additions & 5 deletions Core/Source/iOS/DTSidePanel/DTSidePanelController.m
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ - (void)handlePan:(UIPanGestureRecognizer *)gesture

- (void)presentPanel:(DTSidePanelControllerPanel)panel animated:(BOOL)animated
{
CGPoint targetPosition;
CGPoint targetPosition = [self _centerPanelPositionWithLeftPanelOpen];

_panelToPresentAfterLayout = panel;

Expand Down Expand Up @@ -777,10 +777,10 @@ - (void)presentPanel:(DTSidePanelControllerPanel)panel animated:(BOOL)animated
break;
}

case DTSidePanelControllerPanelNone:
{
break;
}
case DTSidePanelControllerPanelNone:
{
break;
}
}

if (animated)
Expand Down
2 changes: 2 additions & 0 deletions Documentation/Change Log-template.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ This is the history of version updates.

- FIXED: Added armv7s to static library targets (iOS)
- FIXED: [DTZipArchive] unit test would sometimes fail
- FIXED: Analyzer warnings
- FIXED: Log message of main thread checker would mention incorrect symbol for debugging
- ADDED: CocoaPods specs for DTScripting, Debug and Runtime
- ADDED: Dynamic framework for iOS8
- REMOVED: Deprecated static framework for iOS
Expand Down

0 comments on commit 3c83c11

Please sign in to comment.