Commit Graph

25012 Commits

Author SHA1 Message Date
subhransu mohanty
4da0782f60 lottie/feature: Added timeRemap feature implementation.
Change-Id: I89df91f3cc709fa8fa392586218676770c0aac84
2018-10-23 09:49:26 +09:00
subhransu mohanty
416adb599e lottie: make functions inline.
Change-Id: I0e9a085071965c95fb4867e313260f8c0b051e24
2018-10-23 09:49:19 +09:00
subhransu mohanty
871251479d lottie: Add duration() and frameAtPos() api to CompositionData model.
Change-Id: I7ff968b8262270dcd7b47a16f1a9549f7ffdb7d5
2018-10-23 09:48:50 +09:00
Ilya Laktyushin
42d7d83ddf Merge branch 'master' of github.com:peter-iakovlev/TelegramUI 2018-10-22 19:04:31 +03:00
Ilya Laktyushin
27123de146 Fixed instant video autodownload
Fixed sticker preview not showing full quality images in sticker pack view screen
2018-10-22 19:04:21 +03:00
Ilya Laktyushin
b34f174520 Fixed overlay presentation when keyboard window is about to be hidden or appears to remain on the screen when it actually doesn't.
Added keyboard-awareness to tab bar on iPad.
2018-10-22 18:59:00 +03:00
overtake
151c754615 no message 2018-10-22 16:43:06 +04:00
overtake
b246570587 Merge branch 'master' of github.com:peter-iakovlev/TelegramUI 2018-10-22 16:27:06 +04:00
overtake
e90b079e8a no message 2018-10-22 16:26:53 +04:00
Peter
23b5213aa7 Merge commit 'a6d7ceb0341716f8f56a245040eefede3417573e' 2018-10-22 00:38:00 +03:00
Peter
2c95631856 no message 2018-10-22 00:37:34 +03:00
Huy Nguyen
9664364e4b Small fix in ASTextKitRenderer #trivial (#1167) 2018-10-21 11:50:16 -07:00
Michael Schneider
cb154f1471 Let ASNodeController conform to NSLocking (#1179) 2018-10-21 11:49:02 -07:00
Ilya Laktyushin
a6d7ceb034 no message 2018-10-21 21:21:16 +03:00
Michael Schneider
776e475558 Expose a way to determine if a text node will truncate for a given constrained size #trivial (#1177)
* Expose textLayoutForConstraint:

- Expose textLayoutForConstraint:, but make unavailable on ASTextNode
- Refactor compatibleLayoutWithContainer:text: into a static method

* Instead of textLayoutForConstraint: expose shouldTruncateForConstrainedSize: in ASTextNode
2018-10-21 09:33:26 -07:00
Ilya Laktyushin
9f407fd1f0 no message 2018-10-21 00:19:43 +03:00
Peter
6719d9f6dc Fixed autolock 2018-10-21 00:17:08 +03:00
overtake
4ce620f5da some fixes in notification exceptions 2018-10-20 23:35:17 +04:00
overtake
7b2d420f71 Merge branch 'master' of github.com:peter-iakovlev/TelegramUI 2018-10-20 22:41:29 +04:00
overtake
8b39f23015 no message 2018-10-20 22:41:18 +04:00
Michael Schneider
c958812ed6 ASTableNode init method match checks from ASCollectionNode (#1171) 2018-10-20 09:45:19 -07:00
Peter
248a2a6d73 Fixed typo 2018-10-19 21:32:22 +03:00
overtake
6fcc6956f5 no message 2018-10-19 22:02:25 +04:00
Michael Schneider
dc49ce0615 Move import of stdatomic to ASRecursiveUnfairLock implementation file (#1180) 2018-10-19 10:41:17 -07:00
Peter
66beeb210f Merge commit 'c59bbe4a89775305b1575c1ec63203c62f8db575'
# Conflicts:
#	TelegramUI/FetchMediaUtils.swift
2018-10-19 20:33:48 +03:00
Peter
dfa4e6692a Improved support for autosaving incoming photos
Improved perceived sticker loading time
2018-10-19 20:32:02 +03:00
Peter
d2ae9f5b23 Added support for reporting passcode lock deadline 2018-10-19 20:30:35 +03:00
Peter
4e14104f3c Fixed background aware timer 2018-10-19 20:29:41 +03:00
Peter
06b1bc2bdd Improved support for temporary locking device orientation 2018-10-19 20:28:23 +03:00
overtake
c59bbe4a89 Merge branch 'master' of github.com:peter-iakovlev/TelegramUI 2018-10-19 21:13:47 +04:00
overtake
60e53f24bd no message 2018-10-19 21:13:12 +04:00
Ilya Laktyushin
42b98e749d no message 2018-10-19 20:07:35 +03:00
Ilya Laktyushin
39bbc541f2 no message 2018-10-19 20:01:27 +03:00
Michael Schneider
2f3c0b42e3 Expose test_resetWithConfiguration: for testing purposes (#1175)
This makes it easier to write tests for specific configurations.
2018-10-19 07:39:45 -07:00
Jia Wern Lim
e6964d1ade [ASDisplayNode] Expose default Texture-set accessibility values as properties (#1170)
* Expose default Texture-set accessibility values as properties in ASDisplayNode.

Added relevant overrides and tests.

* Quick style fixes & add default a11y overrides to ASTextNode too.
2018-10-19 07:39:21 -07:00
Ilya Laktyushin
ddfbc1e077 Merge branch 'master' of github.com:peter-iakovlev/TelegramUI
# Conflicts:
#	TelegramUI/FetchMediaUtils.swift
2018-10-18 20:49:27 +03:00
Peter
9848dcf34b Fixed voice/video playback with bluetooth headphones
Updated default notification settings
2018-10-18 20:43:01 +03:00
Peter
ed606862ff Fixed blocked user presence
Fixed loading chat history for service user
Added event delivery reports
2018-10-18 20:41:54 +03:00
Peter
f1b83b8069 no message 2018-10-18 20:40:43 +03:00
Ilya Laktyushin
95b6455f40 Added Watch reply preset settings 2018-10-18 20:30:44 +03:00
Michael Schneider
b11ce52e9c Add way to suppress invalid CollectionUpdateExceptions (#1173) 2018-10-18 09:35:36 -07:00
Michael Schneider
aa44d3175a Fix define spaces (#1176)
Defines needs to right at the #
2018-10-18 09:35:04 -07:00
Michael Schneider
7ee2092dc3 Use interface state to manage image loading. (#1172) 2018-10-18 09:34:54 -07:00
Michael Schneider
27d50b03d8 Only initialize framework once, avoid multiple across tests (#1178) 2018-10-18 09:34:29 -07:00
Michael Schneider
d669be035b Set the default values for showsVerticalScrollIndicator and showsHorizontalScrollIndicator (#1181)
The default values of showsVerticalScrollIndicator and showsHorizontalScrollIndicator should be YES to correspond with the UIKit flags.
2018-10-18 09:34:00 -07:00
Kevin
bfb22988f7 [ASTextNode2] Add improved support for all line-break modes in experimental text node. (#1150)
* ASTextNode2 rendering corrections.

ASTextNode2 was only setting truncationMode (lineBreakMode) on existing paragraph styles in attributedString (thus having no effect for the two non-truncating modes if there were not any existing paragraph style runs).

ASTextLayout (essentially YYTextLayout) was not rendering the two non-tail truncation lineBreakModes correctly. There's not much history on github but it appears to me that it was set up correctly at one time and then some additional code was added for unclear reasons that assumed any truncation was at the end of the string.

This commit corrects both issues.

* Update CHANGELOG.md
2018-10-17 13:26:45 -07:00
Andrew Yates
eab0fc200b Migrate placeholder example project from 1.0 to 2.x (#1164) 2018-10-17 08:02:47 -07:00
Michael Schneider
072df8962c Fix mismatch in UIAccessibilityAction selector method (#1169)
* Fix mismatch in UIAccessibilityAction selector method

* Update changelog
2018-10-17 08:02:10 -07:00
Peter
dab235908c Merge commit '0d41a372c99cfa9cac812f8586f4380c5bb94b1d' 2018-10-17 16:05:15 +03:00
Peter
ddc72bf352 Small changes to the ActivityIndicatorNode API
Fixed document preview on iOS 9
Various fixes for media auto-download
2018-10-17 16:05:00 +03:00