Commit Graph

13022 Commits

Author SHA1 Message Date
Sagar Bhosale
60e3f97241 Update tip-1-nodeBlocks.md (#943)
collectionView is being replaced with collectionNode.
2018-05-26 08:44:59 -07:00
Max Wang
62b07e100e Match interfacestate update sequence to uikit (#882)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* Match interface update closer to UIKit.

* allow the correct exiting sequence for thrashing

* refactor
2018-05-25 18:21:50 -07:00
Grishka
d2453dd1d0 Synchronize audio I/O creation & deletion 2018-05-25 22:14:45 +03:00
Gregory K
4df5beedcd Merge pull request #44 from telegramdesktop/tdesktop
Fix some warnings and push changes for tdesktop upstream.
2018-05-25 20:29:23 +03:00
Ilya Laktyushin
8bdf840652 no message 2018-05-25 16:49:28 +03:00
Daniele Pizziconi
fc9ba3dea6 applying the same iOS logic of handling window changes to macOS 2018-05-25 12:15:07 +02:00
Peter
c265e81118 no message 2018-05-25 11:31:59 +02:00
Adlai Holler
cac14e0bce Standardize Property Declaration Style in Core Classes (#870)
* Audit property attributes for core classes

* Update style guide

* Go crazy

* Update changelog
2018-05-24 14:42:43 -07:00
John Preston
00851dc634 Fix build for Windows. 2018-05-24 19:49:58 +03:00
John Preston
167259d729 Merge remote-tracking branch 'upstream/public' into tdesktop 2018-05-24 18:04:43 +03:00
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