Commit Graph

25012 Commits

Author SHA1 Message Date
Lukas Spieß
c15935aec2 Fix tests where stubbing of NSURLSession availability is needed 2016-01-19 02:58:35 +01:00
Lukas Spieß
7f55ffe07b Move NSURLSession availability checks to HockeyHelper
# Conflicts:
#	Classes/BITCrashManager.m
#	Classes/BITFeedbackListViewController.m
#	Classes/BITFeedbackManager.m
#	Classes/BITHockeyHelper.m
#	Classes/BITHockeyManager.m
#	Classes/BITStoreUpdateManager.m
#	Classes/BITUpdateManager.m
2016-01-19 02:58:35 +01:00
Lukas Spieß
53936dd44b Re-order helper methods
# Conflicts:
#	Classes/BITHockeyHelper.m
2016-01-19 02:56:34 +01:00
Lukas Spieß
bd3d14eafd Remove is sessionSupported parameter from methods
# Conflicts:
#	Classes/BITAuthenticator.m
2016-01-19 02:53:29 +01:00
Lukas Spieß
7900a4deb9 Use Apple recommended way to weakly link classes
Compare https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/cross_development/Using/using.html
2016-01-19 02:17:27 +01:00
Matej Knopp
a6da3d185a [ASCollectionView] prevent data controller from removing/adding sections during reloadDataImmediately
Signed-off-by: Matej Knopp <matej.knopp@gmail.com>
2016-01-17 19:25:03 +01:00
Rajinder Ramgarhia
6c56a6046b Simpler ASButtonNode API to set title and set background image 2016-01-16 00:23:03 -05:00
appleguy
58c2e8039f Merge pull request #1067 from facebook/ASCellNodeVCCreation
[ASCellNode] Ensure we don't trigger the UIViewController to be created early if we are wrapping one.
2016-01-14 23:30:57 -08:00
Scott Goodson
6741ae658e [ASCellNode] Ensure we don't trigger the UIViewController to be created early if we are wrapping one. 2016-01-14 23:28:15 -08:00
Scott Goodson
affb786a14 [ASButtonNode] Pass through setDisplaysAsynchronously: to subnodes (image and title). 2016-01-14 23:12:01 -08:00
appleguy
ebfbfab976 Merge pull request #1066 from facebook/PagerWeak
[ASPagerNode] Ensure new pager component has a weak reference to the data source.
2016-01-14 22:12:52 -08:00
Scott Goodson
e92a1360e7 Ensure new ASPagerNode has a weak reference to the data source. 2016-01-14 21:43:46 -08:00
Luke Parham
4c34623876 Merge branch 'master' into ASVideoNode 2016-01-14 02:41:17 -06:00
Luke Parham
d9559111a0 renamed nic cage sample, added redundancy for loading player in case its nil when visible, added video tests, disabled assert for new range controller 2016-01-14 02:39:36 -06:00
Scott Goodson
df10f8f19a Check array size before accessing section - rare crash for improper data source use, de-escalated to messaging nil. 2016-01-14 00:25:53 -08:00
appleguy
9afb77f7bc Merge pull request #1058 from Adlai-Holler/DidEndDisplayingNodeProvideNode
Add New didEndDisplayingNode:forItemAtIndexPath: delegate methods to provide removed node
2016-01-13 23:55:34 -08:00
appleguy
a0c7b0a7b5 Merge pull request #1061 from dinhviethoa/ascontrolnode-touchesended-twice
Fixed behavior of ASControlNode when -touchesEnded:withEvent: sometimes firing twice.
2016-01-13 23:26:53 -08:00
Viet Hoa Dinh
dbe068c970 Fixed behavior of ASControlNode when -touchesEnded:withEvent: sometimes firing twice. 2016-01-13 19:06:01 -08:00
appleguy
d56f0b14f4 Merge pull request #1060 from Adlai-Holler/FixRangeControllerUpdateIssue
Resolve Internal Inconsistency During Updates When Using Stable Range Controller
2016-01-13 18:52:52 -08:00
Adlai Holler
a19ba586f7 Revert change that seems to have caused internal inconsistency in range controller 2016-01-13 13:34:20 -07:00
Luke Parham
579313f086 Merge branch 'master' into ASVideoNode 2016-01-13 12:22:55 -06:00
Lukas Spieß
4d3dc8dd04 Move test frameworks location in Xcode project 2016-01-13 17:03:58 +01:00
Lukas Spieß
52183ad6ae Remove old parameter from inline documentation 2016-01-13 16:22:49 +01:00
Lukas Spieß
c2c6b9f031 Add missing renaming in Changelog 2016-01-13 16:10:23 +01:00
Aaron Schubert
28b03e3a28 [tvOS] Expose UIFocusEnvironment Protocol methods to ASDisplayNode 2016-01-13 10:09:44 +00:00
Adlai Holler
d19e56d802 Beef up documentation around new delegate methods 2016-01-12 23:27:30 -07:00
Lukas Spieß
129ab95056 Use version format 4.0.0-alpha.1 everywhere
This is now consistent with the other Apple SDKs and the Android SDK
2016-01-13 02:01:07 +01:00
Lukas Spieß
3e8d779310 Remove deprecated appStoreEnvironment property 2016-01-13 02:01:07 +01:00
Lukas Spieß
75bce064be Remove previously deprecated delegate methods, properties and enum 2016-01-13 02:01:07 +01:00
Adlai Holler
5e72daa2e3 Pass node along in didEndDisplayingNode method 2016-01-12 15:42:37 -07:00
Christoph Wendt
b0f8a1700a Merge pull request #76 from bitstadium/feature/rename-to-metrics
Rename everything to Metrics
2016-01-12 13:38:28 -08:00
Lukas Spieß
f50ca6e4f4 Merge pull request #238 from bitstadium/feature/fix-swift-memory-leak
Fix NSURLSession memory leak in Swift apps
2016-01-12 20:29:28 +01:00
Lukas Spieß
451520589d Adopt renaming in Readme 2016-01-12 19:14:30 +01:00
Lukas Spieß
cff5e2b5cd Rename everything to "Metrics" where appropriate
We consider for example users and sessions as metrics. These metrics are a subset of telemetry. Telemetry could also include other data such as crashes, exceptions, etc.
2016-01-12 19:10:14 +01:00
Lukas Spieß
79710a5f9f Fixes some issues where nil could be passed unexpectedly
This commit fixes some nullability warnings that are introduced with Xcode 7.3
2016-01-12 19:06:28 +01:00
Aaron Schubert
cc4f604ea3 [tvOS] Initial commit to make build run. 2016-01-12 14:43:30 +00:00
Aaron Schubert
e8f5f61e3b [ASMapNode] Defer creation of default options till they are needed. 2016-01-11 19:42:34 +00:00
Aaron Schubert
239ec6feab [ASMapNode] Updated comment of options property. 2016-01-11 19:30:56 +00:00
Lukas Spieß
f150619229 Rename feature flag to HOCKEYSDK_FEATURE_METRICS 2016-01-11 18:41:40 +01:00
Lukas Spieß
097307d505 Merge pull request #236 from Tundaware/attachments-for-app-kill-reports
Fixes issue preventing attachment from being included when sending non-clean termination report
2016-01-11 18:40:45 +01:00
Lukas Spieß
868e250c3d Merge pull request #235 from bitstadium/feature/update-testing-frameworks
Update Unit Test frameworks
2016-01-11 18:33:54 +01:00
appleguy
516e1f177d Merge pull request #1053 from facebook/ASRangeControllerBetaOptimizations
Substantial optimizations for ASRangeControllerBeta & recursivelySetInterfaceState:.
2016-01-10 03:31:52 -08:00
Scott Goodson
90a1bb2346 Ruthlessly improve efficiency in ASRangeControllerBeta.
- Use completedNodes directly, caching inner arrays and counts between loop iterations.
- Merge codepaths between the "entire self - table / collection" visible or invisible cases
- Ensure we do not trigger an assertion if a previous iteration's node is nil by the time
  we try to reset its interfaceState.
2016-01-10 02:58:48 -08:00
Scott Goodson
0feaa2a368 Improvements to the efficiency of recursivelySetInterfaceState: and the beta range controller. 2016-01-10 02:40:47 -08:00
appleguy
03d13b19b0 Merge pull request #1051 from facebook/TableCollectionRangeEtc
Disable creation of backing ASTable/CollectionNode for the *View varients (retain cycle).
2016-01-09 21:19:12 -08:00
Scott Goodson
d45db5ac32 Disable creation of backing ASTable/CollectionNode for the *View varients (retain cycle). 2016-01-09 20:44:24 -08:00
appleguy
c3ef2efe0c Merge pull request #1040 from facebook/ASRangeControllerBetaScrollJump
[ASRangeControllerBeta] Support disjoint ranges between updates (scroll jumps, etc)
2016-01-09 15:54:05 -08:00
Lukas Spieß
bb9b36febe Merge pull request #231 from bitstadium/feature/travis-xcode7.2
Update TravisCI integration to use Xcode 7.2
2016-01-09 23:48:58 +01:00
Andreas Linde
947afd2f33 Fix NSURLSession memory leak in Swift apps
This should fix the issue raised in https://github.com/bitstadium/HockeySDK-iOS/issues/237

Tested the changes before the patch with Instruments and also after the patch which prooved the leaks going away.
2016-01-07 14:27:18 +01:00
appleguy
2f7aae194a Merge pull request #1042 from binl/bl_control_state_fix
Make ASControlState imitate UIControlState
2016-01-06 17:50:27 -08:00