Commit Graph

25012 Commits

Author SHA1 Message Date
Garrett Moon
9ccba7fe74 Update to unsplash (#938)
* Switch photos from 500px to Unsplash

* Good bye comment view :(

* Update license headers
2018-05-23 20:47:42 -07:00
Laura Skelton
ed80ee4830 Merge pull request #630 from dimitryz-luxuryretreats/change_animation_with_json
Add ability to set a new JSON on an existing animation
2018-05-23 11:20:06 -07:00
Peter
075d965857 no message 2018-05-22 20:37:24 +02:00
Dimitry Zolotaryov
16c6548d0b Add ability to set a new JSON on an existing animation 2018-05-22 13:47:03 -04:00
Adlai Holler
8b890f07be Create a new dealloc queue that is more efficient (#931)
* Fork dealloc queue in an experiment

* Fix and put back

* Use the right selector

* Go simpler

* Clarify name

* Type inference

* Use CFTypeRefs like a boss

* Improve comments

* License header
2018-05-22 09:06:24 -07:00
appleguy
b2e5f9ec64 [ASTextNode2] Simplify compare-assign check & lock _pointScaleFactors accessor #trivial (#934) 2018-05-22 07:58:33 -07:00
Flo
ede9a7f929 [ASImageNode+AnimatedImage] Fix early return when animatedImage is nil in setAnimatedImage #trivial (#925)
* [ASNetworkImageNodeTests] Add defaultImage test and improve image test. #trivial

* [ASImageNode+AnimatedImage] Fix early return when animatedImage is nil in setAnimatedImage. #trivial
2018-05-21 13:09:01 -07:00
Huy Nguyen
b9ae6c4fa8 [ASDisplayNode] Fix an issue that causes a node to sometimes return an outdated calculated size or size range (#808) 2018-05-21 18:36:19 +01:00
Mikhail Filimonov
9e6a431203 Merge branch 'master' of https://github.com/peter-iakovlev/MtProtoKit 2018-05-21 12:23:12 +03:00
Peter
19c98a9d2e no message 2018-05-21 11:22:43 +02:00
Mikhail Filimonov
5ecbcc8b47 Merge branch 'master' of https://github.com/peter-iakovlev/MtProtoKit 2018-05-21 00:39:39 +03:00
Peter
ec6c3b451d no message 2018-05-20 23:10:26 +02:00
Max Wang
06358d8662 Fix pager node for interface coalescing (#877)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* Fix pager node for interface coalescing

* Fix typo

* change log
2018-05-19 13:52:30 -07:00
appleguy
6799e26b03 [ASTextNode2] Upgrade lock safety by protecting all ivars (including rarely-changed ones). (#918)
* [ASTextNode2] Upgrade lock safety by protecting all ivars (including rarely-changed ones).

Although I don't know of any specific crashes caused by this, I think we should
lock all properties by default. There are also some indications of premature
optimization in keeping lock scope small, where it is actually important to
have transactional integrity, and also where the ASDisplayNode base class is
otherwise going to repeatedly re-lock the object anyway.

I think this will remain pretty efficient, especially with os_unfair_lock enabled.

* Use compare-assign macros
2018-05-19 12:47:06 -07:00
Mikhail Filimonov
2562370b41 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2018-05-18 20:30:18 +03:00
Mikhail Filimonov
18a2c47bea no message 2018-05-18 20:30:14 +03:00
Peter
8f1c7c15c2 no message 2018-05-18 18:07:33 +01:00
Max Wang
62dd3ca7ce Remove assert. fix #878 #914 (#924)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* remove uncessary assert
2018-05-17 15:55:13 -07:00
Peter
1bd781669c no message 2018-05-17 20:58:04 +01:00
Adlai Holler
73cdc1b4e4 Call out to delegate for control users in experiments (#923) 2018-05-16 08:33:28 -07:00
Peter
87cbb88680 Merge commit 'f0b2bcb33a8ff79826c326da4532772ace9f2acc' 2018-05-15 20:59:50 +01:00
Peter
7482a2dbb8 no message 2018-05-15 20:59:45 +01:00
Huy Nguyen
0830f6cf23 [ASCollectionNode/ASTableNode] Fix a crash occurs while remeasuring cell nodes (#917) 2018-05-15 20:18:54 +01:00
Grishka
b52eb581fa 2.0-alpha4 2018-05-15 21:23:46 +03:00
John Preston
ed3a899bbe Merge remote-tracking branch 'upstream/public' into tdesktop 2018-05-15 21:10:44 +03:00
Peter
469c3a14f9 Merge commit 'e0c27caeba273765b58a67a1499670783cb6ce10' 2018-05-15 17:14:10 +01:00
Peter
c9d11fd530 no message 2018-05-15 17:14:04 +01:00
Ilya Laktyushin
e0c27caeba no message 2018-05-15 20:08:49 +04:00
Kevin Georgy
3a6ab27353 Add the strong specifier for unspecified properties 2018-05-15 10:52:41 +02:00
Peter
595064906a Merge commit '2316de38dab41be18fd1b5f30cd93fb0e0118223' 2018-05-14 16:57:14 +01:00
Peter
64ffb7ce6b no message 2018-05-14 16:56:06 +01:00
Ilya Laktyushin
2316de38da Merge branch 'tmp' 2018-05-12 02:29:16 +04:00
Ilya Laktyushin
e940b3f292 no message 2018-05-12 02:27:04 +04:00
Mikhail Filimonov
dd3443a039 Merge branch 'master' of https://github.com/peter-iakovlev/MtProtoKit 2018-05-11 21:38:46 +03:00
Mikhail Filimonov
4ddaa697cb Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2018-05-11 21:38:33 +03:00
Peter
d091056371 no message 2018-05-11 21:37:22 +03:00
Peter
b436bb2641 no message 2018-05-11 21:36:59 +03:00
Huy Nguyen
970ebd987e Improve thread-safety of ASDisplayNode's didExitHierarchy #trivial (#916)
Since `didExitHierarchy` is called without the node's instance lock being held, the lock must be acquired before accessing `pendingInterfaceState`.
2018-05-11 17:26:00 +01:00
Garrett Moon
3981f1724e #trivial Add forgotten experiment into Schemas/configuration.json (#912) 2018-05-11 17:25:25 +01:00
Abdurahim Jauzee
382f624d83 [ASTextNode] Check variables before calling delegate method #trivial (#898) 2018-05-11 17:24:26 +01:00
everettjf
bf48ebd8da replace back quote with "code" in containers-overview.md (#884)
* Update containers-overview.md

* Update containers-overview.md

* Update containers-overview.md
2018-05-11 17:14:22 +01:00
Grishka
a3feec022c Fix 2018-05-10 15:33:14 +03:00
Michael Schneider
efe924cca7 Prevent UITextView from updating contentOffset while deallocating (#915)
* Prevent UITextView from updating contentOffset while deallocating

* Add comment on the flag point to the issue
2018-05-09 08:30:03 -07:00
kenstir
4171e767be Fix ASDKgram-Swift to avoid 'error parsing JSON within PhotoModel Init' (#913) 2018-05-08 11:22:25 -07:00
Peter
f0b2bcb33a Merge commit 'e2be10a8668dfde4d5fa1ca09ea90d479ddde575' 2018-05-08 16:02:01 +03:00
Peter
c6d6d8380d no message 2018-05-08 16:01:57 +03:00
Peter
e2be10a866 Merge commit '8841cc5c8d3b2a12789589f3571998ef15cbdf12' 2018-05-08 15:59:55 +03:00
Peter
3d2c5007d4 no message 2018-05-08 15:59:45 +03:00
Garrett Moon
cb29317300 #trivial Fix the C++ assertion (#911)
* Fix the C++ assertion

* Fix indentation
2018-05-07 15:28:48 -07:00
John Preston
3d82d03bbb Merge remote-tracking branch 'upstream/public' into tdesktop 2018-05-07 00:05:51 +03:00