Commit Graph

13022 Commits

Author SHA1 Message Date
Huy Nguyen
7bb3015950 Rename ASLayoutableContext methods 2016-03-27 17:38:41 -07:00
Huy Nguyen
81d26994c5 Introduce ASLayoutableContext
- The struct is mapped to ID of the current thread and used by subnodes to decide whether they should proceed measurement.
2016-03-27 17:09:59 -07:00
appleguy
e4c6a49cb2 Merge pull request #1441 from facebook/Invisibility
[ASDisplayNode] Alternative implementation of interfaceState -> invisible that avoids a subclass call from -dealloc.
2016-03-27 00:44:45 -07:00
Eric Jensen
2f42a9ca6c Re-declare the default init method in ASEditableTextNode's header 2016-03-27 00:12:49 -07:00
Eric Jensen
ad9035f3d2 Set the class prefix in the project file 2016-03-27 00:11:45 -07:00
Scott Goodson
c6093cffdf Fix assertion format specifier from previous commit. 2016-03-26 23:57:16 -07:00
Scott Goodson
6a887a8acf [ASDisplayNode] Alternative implementation of interfaceState -> invisible that avoids a subclass call from -dealloc. 2016-03-26 23:24:30 -07:00
appleguy
82a4f5c7e7 Merge pull request #1440 from facebook/FixTruncationEdgeCase
[ASTextNode] Fix edge case where text truncator may not run (manually hosted nodes)
2016-03-26 20:33:34 -07:00
Scott Goodson
daf41ebb43 [ASTextNode] Fix edge case where text truncator may not run (manually hosted nodes that are lacking the expected call to -measure).
This fixes the scenario described in https://github.com/facebook/AsyncDisplayKit/issues/1295
2016-03-26 18:19:02 -07:00
Eric Jensen
387abbff5d Rename ASTextKitHelpers to ASTextKitComponents and make the header public 2016-03-26 15:31:53 -07:00
chrwend
a809a1a385 Fix bug: Use default base URL 2016-03-26 18:25:51 +01:00
chrwend
0dbc971f1c Use Objective C bool rather than C bool 2016-03-26 18:25:51 +01:00
chrwend
9286c290ba Remove unused code in Persistence initializer 2016-03-26 18:25:51 +01:00
Lukas Spieß
ba4831a82b Revert "Update handling of JSON Stream queue"
This reverts commit 3f6ca05cf5.

# Conflicts:
#	Classes/BITChannel.h
#	Classes/BITChannel.m
2016-03-26 18:25:51 +01:00
chrwend
6f80d9076a Fix bug in BITSender: Incrementation of sender threads doesn't work appropriate 2016-03-26 18:25:51 +01:00
chrwend
fa2ad00a2e Make "isQueueBusy" check synchronous 2016-03-26 18:25:51 +01:00
chrwend
6bbe8383c3 Fix bug: Remove unneccessary notification if batchcount has been reached (this is done by BITPersistence anyway) 2016-03-26 18:25:51 +01:00
chrwend
bec5ddb2b9 Send notification immediately after channel has been blocked and timer for timeout 2016-03-26 18:25:51 +01:00
chrwend
92580c091c Fix bug in BITSender: Increment sender thread count in cases where bundle data is nil 2016-03-26 18:25:51 +01:00
chrwend
862c9abce4 Block BITChannel if max number of files are on disk and trigger BITSender after certain amount of time 2016-03-26 18:25:51 +01:00
chrwend
b16b58a300 Add debug log statements to keep track of running sender threads 2016-03-26 18:25:51 +01:00
chrwend
5878ae6780 Synchronized read and write operation (create new sender thread) 2016-03-26 18:25:51 +01:00
chrwend
573b4d1e73 Fix bug: Infinite file persiting in cases where sender is busy and doesn't update flag 2016-03-26 18:25:51 +01:00
chrwend
9174ae7519 Fix bug: check if queue is busy 2016-03-26 18:25:51 +01:00
Lukas Spieß
95f0a77efe Update version to 4.1.0-alpha.1 and bump build number 2016-03-26 18:25:35 +01:00
Eric Jensen
5be3b0137a Add nullability attributes to ASTextNode+Beta 2016-03-25 22:33:13 -07:00
Eric Jensen
0758475409 Remove unnecessary imports 2016-03-25 22:33:02 -07:00
Eric Jensen
0d52176e03 Add an ASEditableTextNode initializer that allows customization of its ASTextKitComponents 2016-03-25 22:23:03 -07:00
Eric Jensen
f8f3585764 Add a ASTextKitComponents initializer that allows customization of its NSTextStorage and NSLayoutManager 2016-03-25 22:12:19 -07:00
Scott Goodson
a36cf79300 [AsyncDisplayKit] Main .podspec update to 1.9.7.1 (final GM of 1.9.7, as the tag changed). Uses PINRemoteImage 2.1.2. 2016-03-25 20:50:12 -07:00
Hannah Troisi
c1a62e79e2 Merge remote-tracking branch 'facebook/master' 2016-03-25 15:47:31 -07:00
appleguy
dba16ce009 Merge pull request #1433 from levi/patch-12
Fix PagerNode from not loading
2016-03-25 12:02:12 -07:00
Levi McCallum
c07175bfcb Fix conditional 2016-03-25 11:54:56 -07:00
Levi McCallum
687be58621 Fix PagerNode from not loading 2016-03-25 10:02:47 -07:00
appleguy
c1330682f9 Merge pull request #1430 from levi/patch-11
[ASPagerNode] Prevent calculation of current index path when the collection view is empty
2016-03-24 21:43:30 -07:00
Levi McCallum
f51ca78570 Simplify boolean logic 2016-03-24 21:40:49 -07:00
Levi McCallum
d845a18dfb Prevent calculation of current index path when the collection view is empty 2016-03-24 21:33:01 -07:00
appleguy
1199dd69f7 Merge pull request #1429 from ejensen/scroll-enabled-fix
[ASEditableTextNode] Assign textView's scrollEnabled on creation
2016-03-24 21:03:08 -07:00
appleguy
809563ece4 Merge pull request #1420 from hannahmbanana/fixSocialSampleApp
[SocialAppLayout example] update to use ASTextNode's passthroughNonlinkTouches property
2016-03-24 21:01:46 -07:00
Eric Jensen
057ec55941 Correct documentation comments 2016-03-24 20:08:03 -07:00
Eric Jensen
7de48da44f Correct ASEditableTextNode's default value according to the documentation 2016-03-24 20:00:53 -07:00
Eric Jensen
f988f86f7f Assign the textView's scrollEnabled property in ASEditableTextNode's didLoad method.
This prevents a mismatch if the scrollEnabled property on ASEditableTextNode is set before the textView is loaded.
2016-03-24 19:51:16 -07:00
Max Gu
1fba62da0e Adding scrollViewWillBeginDragging and scrollViewDidEndDragging callbac to ASCellNode instances 2016-03-24 14:50:08 -07:00
Scott Goodson
eed812dcdf [ASRangeController] Slight tweaks to the default Full ranges, for memory savings in multi-tabbed apps with still-excellent preloading consistency. 2016-03-23 23:36:59 -07:00
appleguy
36d23230fe Merge pull request #1421 from Adlai-Holler/AvoidMutatingSublayersDuringEnumeration
[ASDisplayNode] When Enumerating Subtree, Copy sublayers to Avoid NSFastEnumerationMutation Exception
2016-03-23 23:33:48 -07:00
Hannah Troisi
6c4af53434 Revert project changes for Social App Example 2016-03-23 23:25:26 -07:00
Adlai Holler
a90a83b607 Copy sublayers to avoid NSFastEnumerationMutation exception 2016-03-23 21:57:23 -07:00
Hannah Troisi
c2e5db85ae [SocialAppLayout example] update to use ASTextNode's passthroughNonlinkTouches property 2016-03-23 21:32:05 -07:00
Hannah Troisi
18b17a1ecc Merge remote-tracking branch 'facebook/master' 2016-03-23 21:24:05 -07:00
appleguy
4ffaebc93b Merge pull request #1409 from ejensen/swift-alignment-enum
[Refactoring] ASHorizontalAlignment & ASVerticalAlignment Swift interface
2016-03-23 21:03:44 -07:00