Commit Graph

13022 Commits

Author SHA1 Message Date
Aleksandr Gusev
4e7d864d3c Simplify the logic around _shouldRasterizeWhenIdle 2018-03-19 18:04:26 -04:00
Brandon Withrow
35432383d8 Merge pull request #589 from sanekgusev/fix-inititilizer-chaining
Fix initializer chain
2018-03-19 13:17:16 -07:00
Aleksandr Gusev
208e00824f Add support for automatically rasterizing _compContainer layer's contents when not animating 2018-03-19 13:58:44 -04:00
Aleksandr Gusev
13b9dab478 Correctly override -initWithFrame: in LOTAnimationView and funnel other initializers through it 2018-03-19 12:50:15 -04:00
Michael Schneider
0b101135ba Handle nil backgroundColor in ASTextNode2 #trivial (#841)
* Handle nil backgroundColor

* Small improvement
2018-03-16 20:08:19 -07:00
Adlai Holler
15b695c917 Put back a flag that I removed (#839) 2018-03-16 15:21:38 -07:00
Adlai Holler
e6c98d364f [NoCopyRendering] Use vm instead of malloc (#833)
* [Contexts] Use mmap directly for possible perf gain and to tag the memory as CGImage

* Wrap the mmap in an object

* Go straight to dataprovider

* Tweak it

* Remove wrong comment

* Finish that comment

* Address warnings
2018-03-16 15:13:26 -07:00
Peter Iakovlev
2eada4dfcf no message 2018-03-16 02:03:00 +04:00
Ilya Laktyushin
9a29d1d131 no message 2018-03-16 01:33:46 +04:00
Ilya Laktyushin
d45b180681 Merge commit '39381dd1895dc77ced7b31b4bb6aa6047c0907d2' 2018-03-16 01:02:26 +04:00
Ilya Laktyushin
e53902b074 no message 2018-03-16 00:59:59 +04:00
Ilya Laktyushin
4006d40043 Merge commit 'f1bdc9ad8792b13fbfb45c31b210b9283b8ef4f8' into HEAD 2018-03-15 19:31:03 +04:00
Ilya Laktyushin
aac3ba34e4 no message 2018-03-15 19:28:46 +04:00
Brandon Withrow
647247eb75 Replaced Viewer 2018-03-14 14:23:12 -07:00
Brandon Withrow
2eac210bf7 Merge pull request #582 from airbnb/btw/AddView
Added Viewer Build
2018-03-14 14:21:03 -07:00
Brandon Withrow
95bf643b19 Added Viewer Build 2018-03-14 14:14:05 -07:00
Ilya Laktyushin
0864c1bc9c no message 2018-03-14 15:12:08 +04:00
Mikhail Filimonov
adcfd33024 Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCoreDev 2018-03-13 23:44:00 +04:00
Peter Iakovlev
3426ba2972 no message 2018-03-13 22:44:44 +04:00
Mikhail Filimonov
ecedf6a817 no message 2018-03-13 22:41:16 +04:00
Mikhail Filimonov
4a598a1268 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2018-03-13 22:27:19 +04:00
Mikhail Filimonov
a2094a07ec Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCoreDev
# Conflicts:
#	TelegramCore/SearchMessages.swift
2018-03-13 22:19:31 +04:00
Mikhail Filimonov
b000e1d943 no message 2018-03-13 22:18:22 +04:00
Peter Iakovlev
088674abd0 no message 2018-03-13 22:14:18 +04:00
Peter Iakovlev
bfe30a0f9c no message 2018-03-13 21:40:16 +04:00
appleguy
a41cbb48b3 [ASWrapperCellNode] Introduce a new class allowing more control of UIKit passthrough cells. (#797)
* - [ASWrapperCellNode] Introduce a new class allowing more control of UIKit passthrough cells.

A few minor fixes to Collections behavior as well, including a new isSynchronized
API. The difference from processingUpdates is that after Synchronized, all animations
have also completed (or runloop turn if animations disabled, so .collectionViewLayout
can be relied on being fully in sync).

More upstreaming to come after this can land...

* Fix -[ASDataController clearData] to take no action before initial data loading.

* Empty commit to kick CI

* Spacing change to kick CI (since an empty commit doesn't work...)

* Tweak ASDataController changes to handle an edge case in _editingTransactionQueueCount management.

* Avoid excess cyclic calls to onDidFinishProcessingUpdates: by avoiding ASMainSerialQueue.

* Reverting my initial change as it wasn't the right approach, following the real fix before this.
2018-03-13 01:03:18 -07:00
Adlai Holler
5cafdb9062 [ASTextNode2] Fix background color drawing (#831)
* Fix TextNode2 not respecting background color

* ASTextNode2: Use locks and copies right

* Increment changelog

* Make the Dangerfile accept any license header with Pinterest in it
2018-03-12 13:42:33 -07:00
Ha Hyun soo
ed6da29057 Geektree0101 - Fix mensXP showcase indent on showcase table, attach vingle medium blog poster (#818) 2018-03-12 12:43:40 -07:00
Peter Iakovlev
e233443e4b no message 2018-03-12 23:37:34 +04:00
Peter Iakovlev
edd9cff99f Merge commit '9bffd881349c8645225c14336234dcb9521ceed8'
# Conflicts:
#	Source/ASImageNode.h
2018-03-12 22:56:06 +04:00
Peter
1fa79c3c2d no message 2018-03-12 22:53:22 +04:00
Peter
96a5ec6ecc no message 2018-03-12 22:53:08 +04:00
Peter
f999d178b0 no message 2018-03-12 22:52:52 +04:00
Peter
60b55e5818 no message 2018-03-12 22:52:35 +04:00
Peter
08632227e8 Merge commit '9b277f76dba14fe1297521ea320ef6f12790278b'
# Conflicts:
#	Lottie.xcodeproj/project.pbxproj
2018-03-12 22:52:13 +04:00
Peter
cad4955b71 no message 2018-03-12 21:48:56 +03:00
Adlai Holler
9bffd88134 Fix Text Node Thread Sanitizer Warning (#830)
* Fix thread sanitizer warning in ASTextNodeRendererKey

* Update changelog

* Comment on missing class check
2018-03-12 10:42:24 -07:00
Alex Hill
d9d9a29365 [tvOS] Fixes errors when building against tvOS SDK (#728)
* [tvOS] Fixes errors when building against tvOS SDK

* Update CHANGELOG.md

* [tvOS] Fixes implicit conversion between UIViewAnimationCurve +
UIViewAnimationOptions

* Enable tvOS deployment target in Texture.podspec (for CI)

* [ASMultiplexImageNode] Fixes typo

* [tvOS] Fixes warnings related to @available guards in Xcode 9
[ASMultiplexImageNode] Enables support for Photos framework on tvOS 10+

[ASMultiplexImageNode] Fixes comment depth

[ASAvailability] Adjust logic in AS_AVAILABLE_IOS_TVOS to account for
both versions
Adjusts API_AVAILABLE to minimum deployment target

* [ASAvailability] Update AS_AVAILABLE_XXX fallbacks to function more like
the built-in solution (more accurately target OS by checking target)
Change AS_AVAILABLE_IOS -> AS_AVAILABLE_IOS_TVOS in places that shoud
allow for both

[ASAvailability] Simplify AS_AVAILABLE_IOS_TVOS

* [ASControlNode] Adds missing 'super' call in -[ASControlNode didLoad]
when targeting tvOS

* Fix API_AVAILABLE iOS requirement

* [ASDisplayNode] Fixes last of the linker warnings related to category
overrides. Removes methods already implemented in
ASDisplayNode+UIViewBridge category.
[ASControlNode] Moves tvOS category declaration to ASControlNode header
[ASImageNode] Moves tvOS category declaration to ASImageNode header
[ASControlNode+Private] Adds private category for ASControlNode to
access private selectors

* [NSParagraphStyle+ASText] Fixes typo related to testing

* [ASControlNode] Re-add helpful comment

* [ASTextKitCoreTextAdditions] Adds mappings for kCTParagraphStyleSpecifierMinimumLineSpacing, kCTParagraphStyleSpecifierMaximumLineSpacing, kCTParagraphStyleSpecifierLineSpacingAdjustment when mapping CTParagraphStyle onto NSParagraphStyle
[ASTextNode] Uses CoreText-cleansed attributed string when assigning ascender/descender to avoid crash when a CTParagraphStyle is passed as an attribute

* [AsyncDisplayKit] Update project file to include new/deleted files

* [ASControlNode+tvOS] Add missing Foundation import (whoops!)
[ASImageNode+tvOS] Add missing Foundation import (whoops!)

* Update podspec to only link AssetsLibrary framework on iOS

* [ASTextKitCoreTextAdditions] If kCTParagraphStyleAttributeName key-value
evaluates to an NSParagraphStyle, pass through to cleansed attributes. This
fixes a bug that would occur if a CTParagraphStyle was passed as an
attribute _alone_ (would not be caught by unsupported attributes
check)

* [ASMultiplexImageNode] Bump availability check to support < Xcode 9

* [ASTraitCollection] Fixes typo that was causing build to fail

* Clean up formatting to adhere to character/line limit + braces
2018-03-11 16:37:27 -07:00
Brandon Withrow
9b277f76db Merge pull request #572 from kayak/tvos-fix
Add `LOTKeypath` to tvOS target to fix broken build
2018-03-10 21:21:14 -08:00
Huy Nguyen
e0d07d07ef ASTextNode should avoid acquiring its lock multiple times #trivial (#820)
Since the lock was acquire before we try to access the renderer, we should call `-_locked_renderer` to avoid re-acquiring the same (recursive) lock.
2018-03-09 14:23:41 -08:00
Adlai Holler
6f1d2d1f1d [ASTextNode] Fix locking, add test for issue #trivial (#825)
* A few small fixes plus a failing test for ASTextNode

* Change the approach

* Update changelog

* Eh screw null_resettable

* No need for changelog now
2018-03-09 14:23:27 -08:00
Gregory K
348d95bdfd Merge pull request #40 from 3v1n0/msse-enable-in-supported-archs
libtgvoip: use SSE2 cflags only in supported archs
2018-03-10 01:31:00 +04:00
Garrett Moon
f99dd68a9f [#trivial] fixes rendered image quality on networked image nodes which have their image directly set. (#826) 2018-03-08 16:21:54 -08:00
Garrett Moon
d70ab3e43c [#trivial] I don't think we need this extra locked method. (#824) 2018-03-08 16:19:49 -08:00
Garrett Moon
63e1f4e9d9 Hopefully made this a bit more readabl. (#823) 2018-03-08 14:00:17 -08:00
Mikhail Filimonov
94931f7f6f Merge commit 'a277b328f8b883093e8331e819ad7196945d3264' into group_calls 2018-03-07 21:32:02 +04:00
Mikhail Filimonov
4b2776e87c Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2018-03-07 18:36:50 +04:00
Mikhail Filimonov
da55972d05 no message 2018-03-07 18:36:29 +04:00
Peter
a277b328f8 no message 2018-03-07 15:21:40 +01:00
Peter
f1c22e410d no message 2018-03-07 15:21:22 +01:00