Commit Graph

25012 Commits

Author SHA1 Message Date
Michael Schneider
9b823ebdc9 Add better exception message for adding or removing ASDisplayNode's in layoutSpecThatFits: (#2183) 2016-09-02 14:58:19 -07:00
Benjamin Scholtysik (Reimold)
eab4b1a64d Adding a comment about sorting of lastMessageHavingID 2016-09-02 14:21:31 -07:00
Peter
24d097edbc no message 2016-09-02 22:21:19 +03:00
Peter
243effea76 Merge commit '7b4d7027a6b55da29a82b8c76e9477c75f44617d' into mtproto-2.0 2016-09-02 21:57:11 +03:00
Peter
01f22552f6 no message 2016-09-02 21:56:36 +03:00
Benjamin Scholtysik (Reimold)
5534d237b1 Move entry in Changelog-template to correct release 2016-09-02 10:20:34 -07:00
Benjamin Scholtysik (Reimold)
842d7d3d3d Merge pull request #325 from bitstadium/feature/remove-preseason-wording
Fix paragraph about custom events and preseason
2016-09-02 09:42:25 -07:00
Benjamin Scholtysik (Reimold)
3c6a957968 Fix paragraph about custom events and preseason 2016-09-02 09:40:14 -07:00
Benjamin Scholtysik (Reimold)
df4af632b8 Merge pull request #324 from bitstadium/feautre/remove-preseason-from-readme
Fix paragraph about custom events and preseason
2016-09-02 09:36:10 -07:00
Benjamin Scholtysik (Reimold)
0f10557d1e Fix paragraph about custom events and preseason 2016-09-02 09:34:13 -07:00
Adlai Holler
1f61dd1576 Log update validation exception messages before throwing, so user can see them before they bubble up (#2180) 2016-09-02 09:19:11 -07:00
Benjamin Scholtysik (Reimold)
eb89c0df8a Merge pull request #296 from bitstadium/feature/improve-travis
Prevent timeouts on Travis CI
2016-09-02 09:18:04 -07:00
Benjamin Scholtysik (Reimold)
82089d5097 Merge remote-tracking branch 'origin/develop' into feature/port-corefoundation-fixes 2016-09-01 20:05:06 -07:00
Benjamin Scholtysik (Reimold)
0c0b4dce35 Merge remote-tracking branch 'origin/develop' into feature/fix-appicon-detection 2016-09-01 20:03:44 -07:00
Benjamin Scholtysik (Reimold)
a47fb6bb6f Merge remote-tracking branch 'origin/develop' into feature/improve-travis 2016-09-01 19:56:37 -07:00
Benjamin Scholtysik (Reimold)
bf5070ebeb Merge remote-tracking branch 'origin/feature/xcode8' into feature/xcode8-beta6 2016-09-01 19:52:14 -07:00
Benjamin Scholtysik (Reimold)
75cea72d0b Update readme for 4.1.1 release and add notes about NSPhotoLibraryUsageDescription. 2016-09-01 19:34:34 -07:00
Adlai Holler
33a680255c [ASDisplayNode] Add Convenience Interface State Accessors (#2168)
* Finish renaming fetchData range, add convenience accessors

* Update example

* Update new tests
2016-09-01 16:44:16 -07:00
Adlai Holler
5e3627a9cd [ASTextNode] Actually deprecate attributedString property (#2151) 2016-09-01 16:43:03 -07:00
Michael Schneider
f8e135a1be Add old transition API back but allow call from background thread (#2135) 2016-09-01 16:09:59 -07:00
Michael Schneider
7ef6c0ff2c Fix using ASDisplayNodePerformBlockOnEveryNode if node is loaded and has shouldRasterizeDescendants enabled (#2179)
We don't call the block on every subnode if the node that is passed in ASDisplayNodePerformBlockOnEveryNode has shouldRasterizeDescendants enabled as it tries to iterate through the sublayer hierarchy, but there are no sublayers
2016-09-01 12:04:21 -07:00
Benjamin Scholtysik (Reimold)
b734279673 Add some more safeguards, just in case. 2016-09-01 10:31:20 -07:00
Benjamin Scholtysik (Reimold)
87346c6a86 Merge remote-tracking branch 'origin/develop' into feature/xcode8-beta6 2016-09-01 10:03:30 -07:00
Adlai Holler
6db9bf39f1 Turn on collection update validation by default (#2174) 2016-08-31 22:20:23 -07:00
Benjamin Scholtysik (Reimold)
fb6881faa1 Fix method name 2016-08-31 17:03:33 -07:00
Benjamin Scholtysik (Reimold)
eb18a6b5aa Merge pull request #320 from bitstadium/feature/remove-whitespace-from-mail-in-authentication
trim that whitespace!
2016-08-31 16:49:37 -07:00
Benjamin Scholtysik (Reimold)
e70297b8b2 Merge pull request #322 from bitstadium/feature/update-chinese-translations
Feature/update chinese translations
2016-08-31 16:49:11 -07:00
Benjamin Scholtysik (Reimold)
4414da6732 Merge pull request #321 from bitstadium/revert-303-feature/update-chinese-translations
Revert "Update string file (Chinese)"
2016-08-31 16:48:39 -07:00
Garrett Moon
0c5288d033 [ASDisplayNode] Dealloc _pendingViewState if range managed (#2155)
* Dealloc _pendingViewState if range managed

_ASPendingState objects can add up very quickly when adding
many nodes. This is especially an issue in large collection views
and table views. This needs to be weighed against the cost of
reallocing a _ASPendingState. So in range managed nodes we
delete the pending state, otherwise we just clear it.

* Adlai's comments
2016-08-31 16:47:10 -07:00
Michael Schneider
027358fc6b [Layout] Automatic measure pass in layout pass if not happened before (#2163)
* Automatic measure pass in layout pass if not happened before

If no measure pass happened or the bounds changed between layout passes we manually trigger a measurement pass for the node using a size range equal to whatever bounds were provided to the node

* Add test method that ensures that on a second layout pass with same bounds, layoutSpecThatFits: / layoutSpecBlock is not called
2016-08-31 16:45:02 -07:00
Benjamin Scholtysik (Reimold)
b2b62321a5 Add iOS10 detection and add safety checks in case NSPhotoLibraryUsageDescription is missing. 2016-08-31 16:41:28 -07:00
Adlai Holler
ea4d88e053 Skip ASTextNodePerformanceTests in Test Action (#2173) 2016-08-31 16:10:27 -07:00
Adlai Holler
284975ecec Fix Case Where Node Is Deallocated While Visible (#2171)
* Attempt to reproduce supplementary crash

* Get closer with supplementary issue testing

* Alright! We have a repro!

* The investigation continues

* Fixed!
2016-08-31 15:50:39 -07:00
Michael Schneider
68d6d6f5b4 [ASDisplayNode] Add documentation for range state changes and moved deprecated header to category file (#2170)
* Add documentation for range state changes and moved deprecated header to category file

* Fix self.usesImplicitHierarchyManagement not found
2016-08-31 15:39:23 -07:00
Benjamin Scholtysik (Reimold)
5e5eeb7de7 Revert "Update string file (Chinese)" 2016-08-31 11:35:33 -07:00
Benjamin Scholtysik (Reimold)
f9e9118ce2 Merge pull request #303 from bitstadium/feature/update-chinese-translations
Update string file (Chinese)
2016-08-31 11:34:10 -07:00
Peter
7b4d7027a6 Merge branch 'master' into HEAD
# Conflicts:
#	MtProtoKit.xcodeproj/project.pbxproj
2016-08-31 16:05:15 +03:00
Peter
d4aaf305e7 no message 2016-08-31 16:03:02 +03:00
Benjamin Scholtysik (Reimold)
5b027ab85a Fix typo in Simplified Chinese translation 2016-08-30 15:36:07 -07:00
Benjamin Scholtysik (Reimold)
12c9e4b702 Update with suggestions by Dennis 2016-08-30 15:00:31 -07:00
Benjamin Scholtysik (Reimold)
c272ae5a26 Merge remote-tracking branch 'origin/develop' into feature/update-chinese-translations 2016-08-30 13:19:46 -07:00
Benjamin Scholtysik (Reimold)
17f5cd74ff Merge pull request #313 from nabla-c0d3/develop
Switch BITWebTableViewCell baseURL to "about:blank" With thx to @nabla-c0d3 =)
2016-08-30 13:17:43 -07:00
Samuel Hsiung
72b66387d0 make inline functions in ASDisplayNodeExtras.h static (#2167)
* make inline functions in ASDisplayNodeExtras.h static to fix linker errors

* use `ASDISPLAYNODE_INLINE` in place of `static inline`
2016-08-30 10:49:29 -07:00
Benjamin Scholtysik (Reimold)
04d79d5d0d trim that whitespace! 2016-08-30 09:49:44 -07:00
Adlai Holler
6bf4943204 Remove unneeded display semaphore now that thread count is limited by ASAsyncTransaction (#2124) 2016-08-30 09:45:22 -07:00
Michael Schneider
1849c41b03 Add assert for ASCollectionDataSource implementing collectionView:constrainedSizeForNodeAtIndexPath: instead of ASCollectionDelegate (#2165) 2016-08-29 16:44:11 -07:00
Benjamin Scholtysik (Reimold)
658d4bcb0f Merge pull request #319 from bitstadium/master
Merge pull request #318 from bitstadium/develop
2016-08-29 12:23:04 -07:00
Benjamin Scholtysik (Reimold)
787b71f341 Merge pull request #318 from bitstadium/develop
Merging 4.1.0 back into master.
2016-08-29 12:21:09 -07:00
Adlai Holler
8d86bb6db3 Relax performance test for Travis 2016-08-29 11:55:40 -07:00
Benjamin Scholtysik (Reimold)
753ca6fc0c Merge pull request #317 from bitstadium/release/4.1.0
Release/4.1.0
2016-08-29 11:06:45 -07:00