Commit Graph

13022 Commits

Author SHA1 Message Date
Peter Iakovlev
640865d83c no message 2018-02-21 01:47:23 +04:00
Peter Iakovlev
14f0fc94f4 no message 2018-02-21 01:46:32 +04:00
Brandon Withrow
551eba4077 Merge pull request #559 from jorgefrazaocosta/jcosta/animation_name_ibinspectable
Adds IBInspectable to set animation name via Interface Builder
2018-02-20 12:02:42 -08:00
Brandon Withrow
e323ab7d9b Merge pull request #560 from tikoyesayan/xcode-warning-fix
Xcode warning fix
2018-02-20 12:02:13 -08:00
Brandon Withrow
231c660179 Merge pull request #554 from sujaypat/animationViewSpelling
Fix spelling errors in lottie-ios
2018-02-20 12:01:31 -08:00
John
6737ba68ce fix build against musl libc 2018-02-19 17:50:53 +01:00
Marco Trevisan
01f70942e1 libtgvoip.gyp: only enable -msse2 for i686 2018-02-19 00:25:55 +01:00
Tigran Yesayan
eed375cfed Xcode warning fix 2018-02-18 17:47:29 +04:00
Marco Trevisan
b1b83c6f3b libtgvoip.gyp: use uname -m to get architecture 2018-02-17 17:51:14 +01:00
Jorge Costa
c002b2c39a Adds IBInspectable to set animation name via Interface Builder 2018-02-15 11:39:19 +00:00
Max Wang
2618c50073 New runloop queue to coalesce Interface state update calls. (#788)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Coalesce interface state updates to ASCATransactionQueue before CATransaction commit.

This will avoid duplicate interface state delegate calls caused by view repeatly added/removed to/from hierarchy during controller animation transition.

* fix tests for new run loop queue

* Support for disabling ASCATransactionQueue

* Fix didExitHierarchy to use ASCATransactionQueue.

* merge range managed and none range managed for didExitHierarchy

* Revert "merge range managed and none range managed for didExitHierarchy"

This reverts commit f807efaa65ed5dbdb6622d06da542e01a53715fa.

* merge range managed and none range managed for didExitHierarchy

* remove metadata

* abstract queue to impl class methods

* Add tests

* Fix test fail because of shared object.

* guard _pendingInterfaceState access with lock

* name refactor

* Refactor from comments https://github.com/TextureGroup/Texture/pull/788/\#pullrequestreview-94849919

* Apply InterfaceState immediately after ASCATranactionQueue is processed and before next runloop started.

* refactor

* no op to start CI build

* remove unused var and kick off tests

* change lisence

* remove code for weak ref

* add change log and adjust license
2018-02-13 12:10:20 -08:00
John T McIntosh
6f34691481 Update IGListKit dependency to allow for updated versions (#802) 2018-02-13 12:08:31 -08:00
Adlai Holler
8b431733d3 Avoid triggering main thread assertions in collection/table dealloc #trivial (#803)
* Avoid triggering main thread assertions in ASCollectionNode/ASTableNode dealloc

* Put it back
2018-02-13 12:02:30 -08:00
Ilya Laktyushin
888ce523da no message 2018-02-13 14:50:55 +04:00
Huy Nguyen
e2478fc799 [ASDisplayNode layout] Fix an issue that sometimes causes a node's pending layout to not be applied (#792)
* [ASDisplayNode layout] Fix an issue that causes a node's pending layout to not be applied

- Since the implementation of layout version (#428), if a node's pending and calculated layouts have the same current version as well as the same constrained size, the 2 layouts are considered equal and can be used interchangeably. A layout version check between the 2 layouts was added in #695. This PR adds a missing constrained size check.
- If the pending layout has the same version but a different constrained size compare to the calculated layout's, we can assume that the pending layout is newer and should be preferred over the calculated one. That is because layout operations always register their new layout as pending, which then (immediately or eventually) get applied to the node as calculated layout.
2018-02-12 21:04:58 +00:00
Kevin Bui
f0f3f9acfe Add missing scrollViewWillEndDragging passthrough delegate (#796)
* Add scrollViewWillEndDragging delegate

* Make sure delegate can respond to scrollViewWillEndDragging

* Add changes to CHANGELOG.md
2018-02-12 11:38:20 -08:00
Mikhail Filimonov
9b898a23d5 Merge branch 'group_calls' of https://github.com/peter-iakovlev/TelegramCoreDev into group_calls 2018-02-12 22:36:18 +04:00
Mikhail Filimonov
7cfca503b0 no message 2018-02-12 22:36:11 +04:00
Mikhail Filimonov
32bf9b0259 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2018-02-12 22:35:45 +04:00
Peter Iakovlev
a319509c0c no message 2018-02-12 22:29:01 +04:00
Peter Iakovlev
852c6b681b no message 2018-02-12 22:00:10 +04:00
Peter Iakovlev
5c017b2631 no message 2018-02-12 21:59:32 +04:00
Max Wang
479d40464e [ASTableNode & ASCollectionNode] Keepalive reference for node if their view is necessarily alive (has a superview). (#793)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* Keep collection/table node alive if view still in use.
2018-02-09 12:16:18 -08:00
Brandon Withrow
80fdfe6cd8 Update issue_template.md 2018-02-09 11:22:50 -08:00
appleguy
31227da577 [ASRangeController] Fix stability of "minimum" rangeMode if the app has more than one layout before scrolling. (#790)
This should result in memory savings in many apps, since errant relayouts are pretty common.
2018-02-09 11:04:00 -08:00
Marco Trevisan (Treviño)
dc8298ace2 libtgvoip: use SSE2 cflags only in supported archs
Without this libtgvoip won't compile in ARM CPUs
2018-02-09 03:07:14 +01:00
Huy Nguyen
b4a269aabf [ASDisplayNode] Always return the thread-safe cornerRadius property, even in slow CALayer rounding mode (#749)
- Failing to do so will introduce race conditions in which the property was updated on a background thread but main thread has not executed the block that updates the property of the node's layer. During that window, the layer's property is out-of-date and can't be used.
- After this change, ASDisplayNode's cornerRadius is the only source of truth and users must always use it instead of CALayer's.
2018-02-08 17:08:04 +00:00
Michael Schneider
3ee52e5f3b Add #794 to changelog 2018-02-08 08:34:12 -08:00
Michael Schneider
600b6cb76d Fix ASTextNode2 is accessing backgroundColor off main while sizing / layout is happening (#794) 2018-02-08 08:28:14 -08:00
Peter Iakovlev
6094c5d34c Merge commit '055f2e9804b351812c7eb25f48f538d5cf1d9970' into HEAD
# Conflicts:
#	Classes/BITFeedbackComposeViewController.m
#	Classes/BITHockeyBaseManager.m
#	Support/HockeySDKBase.xcconfig
2018-02-08 16:36:33 +04:00
Peter Iakovlev
6bffa09f0e no message 2018-02-08 14:25:57 +04:00
Peter Iakovlev
252530cd3e no message 2018-02-08 14:25:39 +04:00
Peter Iakovlev
2167f40708 Merge commit '2f31261756869d8d94a0a6a4e954e9e5dd8697b2' 2018-02-08 14:23:48 +04:00
Peter Iakovlev
afe7f72233 no message 2018-02-08 14:23:43 +04:00
Peter Iakovlev
3c1b5d3ec2 no message 2018-02-08 14:22:19 +04:00
Peter Iakovlev
d8b4d790ec Merge branch 'develop' into HEAD 2018-02-08 14:21:38 +04:00
Peter Iakovlev
e618a1a125 no message 2018-02-08 14:21:33 +04:00
Peter Iakovlev
2d79df7e75 no message 2018-02-08 14:21:11 +04:00
Peter Iakovlev
392e1ba8c2 no message 2018-02-08 14:20:39 +04:00
Mikhail Filimonov
a8a3297923 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2018-02-08 01:15:18 +04:00
Peter Iakovlev
1391cb63aa no message 2018-02-08 01:14:32 +04:00
Mikhail Filimonov
0a04150b88 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2018-02-08 01:01:38 +04:00
Peter Iakovlev
0ce2337c76 no message 2018-02-08 01:01:12 +04:00
Mikhail Filimonov
ed47dc5bae Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2018-02-07 14:17:00 +04:00
Peter Iakovlev
309d0b84ad Merge commit 'cf4f84a1b78e324d59abf25f0965d219b354ca11' into group_calls
# Conflicts:
#	TelegramCore/Download.swift
#	TelegramCore/MultipartUpload.swift
#	TelegramCore/RecentAccountSessions.swift
2018-02-07 14:14:09 +04:00
Peter Iakovlev
f6c2a515df no message 2018-02-07 13:53:57 +04:00
Mikhail Filimonov
2f31261756 mac device name fix 2018-02-07 13:47:28 +04:00
Mikhail Filimonov
cf4f84a1b7 no message 2018-02-07 13:39:41 +04:00
Peter Iakovlev
86b74992f7 no message 2018-02-06 22:31:58 +04:00
Peter Iakovlev
59e1f10908 no message 2018-02-06 22:31:32 +04:00