Adlai Holler
e233a1cccc
[Unit Testing] Add Realistic Text Data Set ( #2188 )
...
* Add a mechanism to save attributed strings given to text nodes
* Setup performance tests to have an iteration variable
* Use realistic data in new text node performance test case
* Revert temporary changes
2016-09-05 12:30:06 -07:00
Levi McCallum
5db57802b0
Add preprocessor definition for disabling container state changes ( #2193 )
2016-09-05 12:00:45 -07:00
Benjamin Scholtysik (Reimold)
8241300023
Merge pull request #276 from bitstadium/feature/fix-appicon-detection
...
Fix AppIcon detection with exotic filenames
2016-09-05 10:31:12 -07:00
Levi McCallum
76107ae466
Use NS_VALID_UNTIL_END_OF_SCOPE macro ( #2192 )
2016-09-04 17:44:38 -07:00
Adlai Holler
90c59e0de7
Remove completely unused layoutManagerDelegate things ( #2189 )
2016-09-04 12:01:42 -07:00
Levi McCallum
4dd5189f6c
Remove unnecessary explicit bool check ( #2190 )
2016-09-04 12:00:35 -07:00
Michael Schneider
37416f1696
Set alignItems to ASStackLayoutAlignItemsStretch in ASStackLayoutSpec ( #2187 )
...
To align with the CSS `align-items` property we should set alignItems to `ASStackLayoutAlignItemsStretch` instead of `ASStackLayoutAlignItemsStart`: https://drafts.csswg.org/css-flexbox-1/#propdef-align-items
2016-09-03 21:05:59 -07:00
Adlai Holler
2c8a2d0bbd
Use CACurrentMediaTime for performance benchmarks ( #2185 )
2016-09-02 18:42:39 -07:00
Benjamin Scholtysik (Reimold)
4aecfac8aa
Upgrading xscheme’s to Xcode 8 and adding suggested compiler warnings
2016-09-02 16:40:24 -07:00
Adlai Holler
5c42bb4e2f
Add tests to confirm CALayer behaviors ( #2184 )
2016-09-02 15:10:15 -07:00
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