Commit Graph

25012 Commits

Author SHA1 Message Date
Peter
9524719175 no message 2017-08-18 19:48:17 +03:00
overtake
5114f12d9a no message 2017-08-18 18:06:44 +03:00
Murat Baysangurov
f813d0711d Added ability to enable metrics manger after it was disabled 2017-08-18 16:31:12 +03:00
Murat Baysangurov
54aa1665c5 BITAttributedLabel is now based on TTTAttributedLabel version 2.0 2017-08-18 13:48:46 +03:00
Brandon Withrow
8f86819fff Merge pull request #377 from welshm/reverseSupport
Add better support for negative animation speeds
2017-08-17 15:04:30 -07:00
Brandon Withrow
fbf6ca5686 Merge branch 'master' into reverseSupport 2017-08-17 15:04:12 -07:00
Michael Welsh
805a671448 Update LOTAnimationView header to have better comments 2017-08-17 17:41:50 -04:00
Michael Welsh
b0b7b7c8cb Rename _isPlayingForward to _isSpeedNegative to be more clear what it's checking 2017-08-17 17:37:15 -04:00
Michael Welsh
ab75236c5f Revert some of the animationProgress changes to revert to reflect absolutes
- Update header documentation to make it clear how animatinoSpeed and animationProgress interact
- Leave fixes in there that stop reversed animations "snapping" back
2017-08-17 17:05:20 -04:00
Brandon Withrow
e15565420c Merge pull request #376 from louisdh/typos-fix
Fix typos in LOTAnimationView.h
2017-08-17 12:53:04 -07:00
Murat Baysangurov
39b4a49eb7 Allow metricsManager in extensions 2017-08-17 20:40:11 +03:00
Huy Nguyen
cae9517ebe BuildKite to ignore all markdown files (#517) 2017-08-17 10:02:11 -07:00
Michael Welsh
0896678088 Merge branch 'reverseSupport' of https://github.com/welshm/lottie-ios into reverseSupport 2017-08-17 11:16:59 -04:00
Michael Welsh
3e0790a413 Add better support for negative animation speeds
- The progress can be calculated basd on negative speed
  + The end frame would be a progress of 0 and the start frame a progress of 1
  + Recalculate progress when the speed changes, otherwise a "jump" will be seen when restarting animation

- The frame for the progress can be calculated using the newly inverted progress
  + Determine the absolute progress based on current progress and determine which frame to use based on animation speed

- This fixes issues of animations playing with negative speeds "bouncing" back to their final position
  which was caused by the final frame being calculated based on a completed progress of 1 which then did not take into
  account the negative animation speed.
2017-08-17 11:14:48 -04:00
Huy Nguyen
5e13ebac8b ASCollectionLayout improvements (#513)
- During the first layout calculation, measure more than just elements in the visible viewport.
- Remove unnecessary params in `-[ASCollectionLayoutState getAndRemoveUnmeasuredLayoutAttributesPageTableInRect`.]
2017-08-17 15:30:34 +01:00
Michael Welsh
a53bbe99ca Add better support for negative animation speeds
- The progress can be calculated basd on negative speed
  + The end frame would be a progress of 0 and the start frame a progress of 1
  + Recalculate progress when the speed changes, otherwise a "jump" will be seen when restarting animation

- The frame for the progress can be calculated using the newly inverted progress
  + Determine the absolute progress based on current progress and determine which frame to use based on animation speed

- This fixes issues of animations playing with negative speeds "bouncing" back to their final position
  which was caused by the final frame being calculated based on a completed progress of 1 which then did not take into
  account the negative animation speed.
2017-08-17 10:16:47 -04:00
Peter
eb2a8d0a37 Merge commit '5b3825cde26cae4ea2d7ba3603ecd3aa2563cdb0' into HEAD 2017-08-17 17:16:22 +03:00
Peter
e722cef4f7 no message 2017-08-17 17:16:15 +03:00
Huy Nguyen
46e949460a ASCollectionLayout to return a zero content size if its state is unavailable (#509) 2017-08-17 14:43:54 +01:00
Ilya Laktyushin
9a5284581d no message 2017-08-17 15:56:10 +03:00
Louis D'hauwe
2ef6f1d19f Update LOTAnimationView.h 2017-08-17 11:09:09 +02:00
Ilya Laktyushin
c578600bc1 Merge branch 'master' of bitbucket.org:iakovlevpeterp/legacycomponents 2017-08-17 00:10:14 +03:00
Ilya Laktyushin
20911e9173 no message 2017-08-17 00:09:54 +03:00
Brandon Withrow
b795c24ad8 Merge pull request #374 from Calvix-Xu/master
fix the Memory leak in LOTBezierPath.m file
2017-08-16 10:09:10 -07:00
XuHongjian
bc3d4edc9b fix the Memory leak in LOTBezierPath.m file 2017-08-16 14:10:01 +08:00
Brandon Withrow
f71cf24bfd Update issue_template.md 2017-08-15 14:36:57 -07:00
Brandon Withrow
ec65175769 Update issue_template.md 2017-08-15 14:33:04 -07:00
Brandon Withrow
eaad28f4ce Create issue_template.md 2017-08-15 14:30:38 -07:00
Brandon Withrow
32530474da Update README.md 2017-08-15 14:22:16 -07:00
Adlai Holler
b2d1ed95ef Update changelog and podspec for 2.4 (#512) 2017-08-15 13:37:06 -07:00
brandon_withrow
555b7a4a58 Bump Version 2017-08-15 12:27:52 -07:00
Peter
bdd76ec5a2 no message 2017-08-15 22:25:51 +03:00
Brandon Withrow
c9cf9c047d Merge pull request #371 from airbnb/btw/compleitoncrashfix
Fix for completion block crash
2017-08-15 12:25:36 -07:00
brandon_withrow
9b6d3c9569 Fix for completion block crash 2017-08-15 12:23:44 -07:00
Adlai Holler
42b5633bcc Avoid re-entrant call to self.view when applying initial pending state (#510)
* Avoid re-entrant call to .view

* Increment the changelog
2017-08-15 08:04:12 -07:00
overtake
3d9886e517 no message 2017-08-15 16:08:57 +03:00
overtake
4ab6641424 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-08-15 16:08:36 +03:00
overtake
abd549ada9 no message 2017-08-15 16:08:30 +03:00
Peter
ebeb2aa80e no message 2017-08-15 15:41:56 +03:00
overtake
eab2380e1b Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore
Conflicts:
	TelegramCore/Holes.swift
	TelegramCore/SearchMessages.swift
2017-08-15 15:04:46 +03:00
overtake
8589b99e4f no message 2017-08-15 15:01:02 +03:00
overtake
d37e61154b Merge branch 'master' of https://github.com/peter-iakovlev/Signals 2017-08-15 15:00:14 +03:00
Peter
4244aadacb no message 2017-08-15 14:46:10 +03:00
Peter
8471016caf Merge commit 'd96ee19bf17337151fff6206a27afdcb3ec9c2db' 2017-08-15 14:45:39 +03:00
Peter
b0d55fdea7 no message 2017-08-15 14:45:34 +03:00
Peter
815310ad77 no message 2017-08-15 14:45:11 +03:00
Peter
cbbcb12b3b no message 2017-08-15 14:44:14 +03:00
Ilya Laktyushin
78c9ff409c Merge branch 'master' of bitbucket.org:iakovlevpeterp/legacycomponents 2017-08-15 11:21:23 +03:00
Ilya Laktyushin
ba45f84217 no message 2017-08-15 11:21:05 +03:00
brandon_withrow
88d38f3b16 Bump Master 2017-08-14 17:08:02 -07:00