Peter
fea836c8f3
no message
2016-03-09 01:07:49 +03:00
rcancro
3ebdf5928c
Made a few changes to font scale adjustment
...
1) cache the scale in the font adjuster. The adjuster will be dealloc'ed when the renderer that owns it is dealloc'ed (or invalidated). Until that time we can trust the scale that the adjuster has computed.
2) When measuring line count, make sure that we are not bounding the height of the container's size. This will cause the wrong number of lines to be returned.
3) Instead of setting the ascender/descender on an ASTextNode when an attributed string is added, wait until after the renderer calculates size. This way, if there is any need to scale the font to fit we can apply that scale to the ascender/descender.
2016-03-08 12:05:26 -08:00
Eric Jensen
c2f85397ce
Mark depreciated protocols with deprivation attribute
2016-03-08 11:56:58 -08:00
Eric Jensen
84357c4a48
Correct a couple more documentation comments
2016-03-08 11:56:58 -08:00
Eric Jensen
3d34c177ed
Flatten indentation of parameter hierarchy
2016-03-08 11:56:58 -08:00
Eric Jensen
86ccd33a84
Correct a few documentation comments for method parameters
2016-03-08 11:56:58 -08:00
Lukas Spieß
e9e64003c3
Merge tag '3.8.6' into develop
2016-03-08 20:52:41 +01:00
Lukas Spieß
54a09a2814
Merge branch 'release/3.8.6'
2016-03-08 20:52:40 +01:00
Christoph Wendt
2f26dc79c4
Update podspecs
2016-03-08 18:44:29 +01:00
Christoph Wendt
f25b7b5eb4
Remove duplicate entry in changelog
2016-03-08 18:44:29 +01:00
Christoph Wendt
e4bda83afb
Update version to 3.8.6 and bump build number
2016-03-08 18:44:29 +01:00
Christoph Wendt
a3ca23fec0
Update changelog
2016-03-08 18:44:29 +01:00
Lukas Spieß
23fad891e0
Update Installation/Setup guide template
2016-03-08 18:44:20 +01:00
Tom King
1457e97c59
create local variables for performance and clarity
2016-03-08 08:54:07 -05:00
Christoph Wendt
488a4cf9c3
Remove system frameworks from "Link Binary With Libraries" section in build settings
2016-03-08 14:50:22 +01:00
Lukas Spieß
d1dcfc5ed7
Mark internal keys as static
2016-03-08 14:43:34 +01:00
Scott Goodson
5c28bb8e21
[ASScrollDirection] Ensure definitions of "positive" scroll direction in batch context match the layout controller.
2016-03-08 00:53:06 -08:00
Gareth Reese
f7ff8b4173
Updated tests to cover the new API and repeated all of the test logic for URL initialisation to ensure that the functionality is the same
2016-03-08 08:30:13 +00:00
appleguy
6b74ad75a1
Merge pull request #1341 from rahul-malik/rmalik-run-loop-queue
...
[ASRunLoopQueue] Refactor the run loop implementation code into a reusable queue abstraction.
2016-03-07 23:53:07 -08:00
Rahul Malik
f388180a1d
Refactor the run loop implementation code into a proper queue abstraction.
...
ASRunLoopQueue can process a specified number of items per run loop iteration
via a block based api.
2016-03-07 23:49:50 -08:00
Scott Goodson
9c0d0542dd
[ASScrollDirection] Fix scroll direction interpretation after recent changes to this logic.
2016-03-07 22:50:48 -08:00
Hannah Troisi
fa15ab7bab
[ASImageNode] A ASImageNode debug feature showing pixel scaling amount
...
- shows a red text label overlay on bottom right hand corner of ASImageNodes with pixel scaling factor
- import AsyncDisplayKit+Debug.h and enable using [ASImageNode setEnableImageDebugOverlay]
2016-03-07 22:17:44 -08:00
Scott Goodson
39f5686982
Revert "[_ASAsyncTransaction] Reduce locking overhead by removing C++ stack-allocated MutexLocker objects."
...
Locking was not quite right here in a certain case where the transaction leaves after other references
were removed. Will restore this optimization in the future with more time to analyze.
This reverts commit ee524f497d .
2016-03-07 14:46:06 -08:00
Tom King
f4d5791717
in ASTextNode, bail from touchesMoved:withEvent: if the previousLocationInView is the same as the locationInView. On 3D Touch enabled phones, this gets fired with chages in force, and will usually get fired immediately after touchedBegan:withEvent, causing touches to usually be cancelled
2016-03-07 17:15:30 -05:00
Scott Goodson
9e72679ffd
[ASDataController] Swap order of section / item in optimized indexpath creation from yesterday :).
2016-03-07 12:08:31 -08:00
appleguy
de49e5ec17
Merge pull request #1337 from rahul-malik/rmalik-mem-fix
...
[ASDisplayNode] Transfer node ownership from renderQueue to displayingNodes queue before removing it.
2016-03-07 11:45:28 -08:00
Rahul Malik
5af8b78d78
Transfer node ownership from renderQueue to displayingNodes queue before removing
...
the node from the renderQueue.
2016-03-07 11:30:23 -08:00
Lukas Spieß
765a97cd19
Merge pull request #83 from bitstadium/readme-improvements
...
Improve Readme structure
2016-03-07 20:12:34 +01:00
Lukas Spieß
970f0304d4
Add signal handler callback
2016-03-07 20:11:46 +01:00
Lukas Spieß
98872d9bde
Improve Readme structure
2016-03-07 18:46:39 +01:00
Hannah Troisi
d1e6a650f0
[ASImageNode] A ASImageNode debug feature showing pixel scaling amount
...
- shows a red text label overlay on bottom right hand corner of ASImageNodes with pixel scaling factor
- import AsyncDisplayKit+Debug.h and enable using [ASImageNode setEnableImageDebugOverlay]
2016-03-07 09:44:16 -08:00
Lukas Spieß
354ed1578c
Fix CocoaPods shield in Readme
2016-03-07 04:04:44 +01:00
Lukas Spieß
365cc791ed
Improve handling of serverURL initialization
2016-03-07 04:01:21 +01:00
Lukas Spieß
84c013f20b
Add nullability annotation for BITHockeyManager
2016-03-07 04:01:21 +01:00
Lukas Spieß
1477058b5e
Update nullability annotations
2016-03-07 03:51:06 +01:00
Lukas Spieß
ce4bb11801
Add timer to channel
2016-03-07 03:51:06 +01:00
Lukas Spieß
d467571797
Increase default batch count to 50
2016-03-07 03:51:06 +01:00
Lukas Spieß
dafe522389
Add early return for empty event names
2016-03-07 03:51:06 +01:00
Lukas Spieß
65ca8883b2
Add nullability annotations and improve imports
2016-03-07 03:51:06 +01:00
Lukas Spieß
6d603c597d
Remove unused setters and getters
2016-03-07 03:51:06 +01:00
Lukas Spieß
4990a62404
Remove BITOrderedDictionary
2016-03-07 03:51:06 +01:00
Lukas Spieß
1ed0610786
Remove unused properties from model class
2016-03-07 03:51:06 +01:00
Lukas Spieß
77873cc8d8
Add API for tracking events
2016-03-07 03:51:06 +01:00
Lukas Spieß
b1ed026349
Use nonatomic property declarations more consistently
2016-03-07 03:50:49 +01:00
Lukas Spieß
d9188b1e5b
Properly close file descriptor
2016-03-07 03:47:04 +01:00
appleguy
8c7305c47c
Merge pull request #1331 from maicki/ASViewControllerExample
...
[Examples] Add a new example for ASViewController usage, including rotation and navigation.
2016-03-06 17:49:56 -08:00
appleguy
0c9ec66479
Merge pull request #1317 from rahul-malik/rmalik-run-loop
...
[ASDisplayNode] Run loop amortization: Scheduling of view creation / hierarchy assembly across run loops for gaps to handle touches
2016-03-06 13:46:58 -08:00
Michael Schneider
d8eb589d34
Enable Sample scheme as shared in ASViewController example
2016-03-06 13:43:47 -08:00
Rahul Malik
62a39c49ea
Break up scheduling of node rendering across various run loops
2016-03-06 12:33:31 -08:00
appleguy
e56c3b03f2
Merge pull request #1332 from facebook/ASDataReload
...
[ASDataController] If app code issues edit commands before first reload, ignore them, as UIKit will call -reloadData.
2016-03-05 23:00:12 -08:00