Commit Graph

13022 Commits

Author SHA1 Message Date
Brandon Withrow
29244d87cf Merge pull request #526 from Xeaza/enable-use-of-lotanimationview-in-ib
Add helper method to load animation on view loaded in Interface Builder
2018-01-10 09:12:53 -08:00
David Stockley
16ef457087 Fix Analyser warning in LOTRadialGradientLayer
The static analyser (using Xcode 9.2) was complaining about `gradientComponents` being a variable length array with the possibility of having 0 length. This could occur with `numberOfComponents` keeping the value of 0 if no colours exist. Having a VLA with size 0 causes undefined behaviour.

The change is to bypass rendering the LOTRadialGradientLayer if there are no colours provided, as it doesn't make sense to render anything without a colour, and to presume a default colour may not be the right solution.
2018-01-10 11:48:26 +00:00
Taylor Wright-Sanson
ee0adace10 Add helper method to load animation on view loaded in Interface Builder 2018-01-09 19:12:49 -05:00
Adlai Holler
5e73396cde Enable collection node interactive moves (#735)
* Add support for interactive moves

* Enable drag & drop in collection view example

* Update changelog

* Change the gating logic to match UIKit

* Add a warning when we prevent interactive movement due to async layout
2018-01-09 14:34:32 -08:00
Brandon Withrow
d3b770ef9b Update LICENSE 2018-01-09 10:27:51 -08:00
Peter
de74935743 no message 2018-01-09 13:23:51 +04:00
Peter
a0ce9ebd29 Merge commit '5a75d50609612c131f2b3b263ef524f351e16591' 2018-01-09 13:22:18 +04:00
Peter
d9dd905f02 no message 2018-01-09 13:21:34 +04:00
Peter
8997e0626e no message 2018-01-09 13:19:25 +04:00
Peter
dc2948e796 no message 2018-01-09 13:19:04 +04:00
Peter
6a47e739a3 no message 2018-01-09 13:18:08 +04:00
Peter
147dfe39ca no message 2018-01-09 13:17:48 +04:00
Peter
c870767bd3 no message 2018-01-09 13:17:12 +04:00
Peter
f5e35fed08 no message 2018-01-09 13:16:11 +04:00
Peter
ecec26abd6 no message 2018-01-09 13:14:59 +04:00
Benjamin Scholtysik (Reimold)
055f2e9804 Merge pull request #504 from bitstadium/release/5.1.2
bump version number to 5.1.2 and build number to 108
2018-01-08 19:06:35 -08:00
Benjamin Scholtysik (Reimold)
cdcc65b230 bump version number to 5.1.2 and build number to 108 2018-01-08 17:06:00 -08:00
Brandon Withrow
5a75d50609 Merge pull request #520 from airbnb/btw/interactiveProps
Btw/interactive props
2018-01-08 16:38:09 -08:00
brandon_withrow
3734b32c6d Comment update 2018-01-08 16:06:46 -08:00
brandon_withrow
bdbc94b669 updated variable names 2018-01-08 16:00:15 -08:00
brandon_withrow
ab29a4a2a7 Updated examples 2018-01-08 15:56:31 -08:00
Benjamin Scholtysik (Reimold)
d26134c5d7 Merge pull request #503 from bitstadium/feature/add-bitcode-flags-xcode-9
Use Xcode 9
2018-01-08 15:40:36 -08:00
Benjamin Scholtysik (Reimold)
622cb7b14b Merge pull request #501 from bmourat/fix/deprecated-api
Replace deprecated api calls
2018-01-08 15:31:44 -08:00
Benjamin Scholtysik (Reimold)
10f35c86da Use Xcode 9 2018-01-08 11:30:53 -08:00
brandon_withrow
43a47f46a0 Update example projects 2018-01-05 16:36:17 -08:00
brandon_withrow
ed54ece9bc Refactor callbacks into delegates 2018-01-05 14:59:05 -08:00
brandon_withrow
4f4719d2dd Added example app, fixed play bugs 2018-01-05 10:31:58 -08:00
brandon_withrow
a084c37025 Check 2018-01-03 15:48:13 -08:00
brandon_withrow
6434ec156f Enable time remapping 2018-01-03 14:50:47 -08:00
brandon_withrow
650a82eb2d Code Cleanup 2018-01-03 11:09:20 -08:00
Ilya Laktyushin
0c87ca87ec no message 2018-01-03 03:53:12 +04:00
Peter
12dac67c0b Merge branch 'groups' 2018-01-02 14:09:49 +04:00
Peter
ebe6de5f58 Merge commit '1a852fd26a235a10ef498fd6b8e13d4e8b49fa28'
# Conflicts:
#	TelegramCore/Authorization.swift
2018-01-02 14:09:43 +04:00
Peter
fb6412e86d no message 2018-01-02 14:08:55 +04:00
overtake
5e5fefeb0f no message 2017-12-29 14:22:35 +04:00
Peter
a1cb78b75b no message 2017-12-28 21:06:28 +04:00
Ilya Laktyushin
724db848ae no message 2017-12-28 03:14:46 +04:00
Ilya Laktyushin
10162a57fb no message 2017-12-28 02:51:39 +04:00
John Preston
0b53884c8b Merge remote-tracking branch 'upstream/public' into tdesktop 2017-12-27 21:47:58 +03:00
Grishka
55c2202937 Fixes 2017-12-27 21:25:47 +04:00
overtake
1a852fd26a reply 2017-12-27 13:57:01 +04:00
Peter
34b6e37b8c Merge commit '131619de96190415aec89987d4493220c6d0305d'
# Conflicts:
#	Source/ASDisplayNode+Deprecated.h
#	Source/ASDisplayNode.mm
#	Source/ASDisplayNodeExtras.h
#	Source/ASImageNode+AnimatedImage.mm
#	Source/Private/ASSection.h
#	Source/Private/_ASHierarchyChangeSet.mm
2017-12-25 01:44:19 +04:00
Ilya Laktyushin
5f303cac00 no message 2017-12-24 01:42:17 +04:00
Ilya Laktyushin
448cc9562b no message 2017-12-24 01:12:23 +04:00
Peter
6ad4823542 no message 2017-12-23 18:25:39 +04:00
Ilya Laktyushin
2f3400d1e0 no message 2017-12-23 11:32:58 +04:00
overtake
58d76cb2c0 no message 2017-12-23 11:22:49 +04:00
overtake
a92a07a524 no message 2017-12-23 11:22:26 +04:00
Ilya Laktyushin
53480a35a2 no message 2017-12-23 03:21:01 +04:00
appleguy
131619de96 Reimplement ASRectTable using unordered_map to avoid obscure NSMapTable exception. (#719)
* Reimplement ASRectTable using unordered_map to avoid obscure NSMapTable exception.

The new class is called ASRectMap, which patterns alongside ASIntegerMap in both name and implementation.

After some pretty detailed investigation, including study of open-source reimplementations
of Foundation, the best lead I've found on the NSMapTable exception is that
some NSPointerFunction types are not fully supported. Strangely, the ones being used
do seem to work fine almost all of the time.

The main concern is the Struct memory type, which is not officially re-declared in
NSMapTable, and as such the documentation claims that there may exist some
combinations of NSPointerFunction that are not supported.

Because the exception is occurring frequently enough to be a concern (in the hundreds
to low thousands, though only 50 a day) - I decided to replace NSMapTable entirely
in order to ensure full correctness.

"*** -[NSMapTable initWithKeyPointerFunctions:valuePointerFunctions:capacity:] Requested configuration not supported."

* Fix Xcode project
2017-12-21 16:17:25 -08:00