Commit Graph

25012 Commits

Author SHA1 Message Date
Ilya Laktyushin
ea3a8f5414 Fixed context menu leaving screen bounds when source is beyond the left edge of the screen 2018-11-02 11:50:44 +04:00
Adlai Holler
0380b270bb Address Xcode warnings about unguarded availability and implicit self retains (#1207) 2018-11-01 19:40:16 -07:00
Kevin
fde47a5e28 Add tests for accessibility (#1205) 2018-11-01 08:10:44 -07:00
Peter
f110dd2b66 Support for updated global 3d touch API
Fixed media sharing to secret chats
2018-11-01 19:10:11 +04:00
Michael Schneider
fec14f8310 Fix logic cleaning data if delegate / dataSource changes and bring over logic to ASTableView (#1200)
* Cleanup in ASTableView datasource/delegate change

* Fix experiments logic

* Add changelog entry
2018-11-01 08:08:45 -07:00
Peter
d3f62da375 Additional fixes for global 3d touch workaround 2018-11-01 19:08:21 +04:00
subhransu mohanty
5fedd3479d lottie: added new resource from UX.
Change-Id: I22e3866f23354afecc9620982cdcc1ff1a2e5ef9
2018-11-01 10:59:36 +09:00
subhransu mohanty
b5248f473a lottie: Use the new addroundrect api to get uniform corner as expected from AE.
Change-Id: Ifcc1486a530d6ddd195bf45a4ea7bf4a4c8ddaa7
2018-11-01 10:58:37 +09:00
subhransu mohanty
5265f844b9 lottie/vector: added new addroundrect api with uniform roundness of corner.
Change-Id: Id6584d3b4fc4b81f2407ba66cafca4b6521d7fd8
2018-11-01 10:57:14 +09:00
subhransu mohanty
3edf19165b lottie: Fix the issue of assuming the startframe of composition is always zero.
use the start and end frame instead.

Change-Id: I16cee8b8fbf651faa8c736d979bab51a07dbfa4d
2018-11-01 10:18:02 +09:00
ernestmama
055d27c45a ASTextNode2 to consider both width and height when determining if it is calculating an instrinsic size (#1196) 2018-10-31 14:06:48 -10:00
Peter
481f0437b4 Merge commit '43047c73304e93fa2c59652568fdc96f69675c83' 2018-10-31 23:39:24 +04:00
Peter
4dd5c5fef1 Updated ListView animations
Added global 3d touch handling (workaround for 3d touch controller leak)
2018-10-31 23:39:19 +04:00
Peter
bfb783c9f5 Small additions to the total unread count API 2018-10-31 23:38:07 +04:00
Ilya Laktyushin
43047c7330 Added support for 3rd gen iPad Pro 2018-10-31 21:29:35 +04:00
Peter
03895c7a6c Added unread count tags 2018-10-31 19:46:12 +04:00
Peter
24db683357 Removed delay in connection status
Added info for restricted channels
Fixed media pre-upload for secret chats
Added unread counter tags
Fixed file and webpage cached resource collection
Added contact registered notification
2018-10-31 19:45:20 +04:00
Peter
53cb632c08 no message 2018-10-31 18:07:29 +04:00
subhransu mohanty
1297e1162f lottie: take startFrame of composition layer into account while updating
children layers.

Change-Id: I693d18d8ba5757030f8166c263641ad900b8d835
2018-10-31 17:18:55 +09:00
subhransu mohanty
1f09869723 lottie: Added TimeStreatch feature to lottie.
Details: still some resources are not working ex:hiking.json need to
find out what other properties also affected by time streatch property.

Change-Id: I5846c74549e86f13606de5dd824fef00e2d5857a
2018-10-31 16:57:55 +09:00
Kevin
be021434c8 Newline character support and truncated line sizing improvement. (#1193)
* Newline character support and truncated line sizing improvement.

For purposes of truncating text, respect explicit newlines.
Don't size to smaller than truncated line width unless we have to.

* Update CHANGELOG.md
2018-10-30 13:19:23 -07:00
Peter
32b039acc4 Temporary roll back the layer 2018-10-30 14:44:48 +04:00
Max Wang
99fd25c5b8 A11y for scrollnode (#1188)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* remove uncessary assert

* Fix collection cell editing bug for iOS 9 & 10

* Revert "Fix collection cell editing bug for iOS 9 & 10"

This reverts commit 06e18a10596622ff8a68835c95a23986d7bf61ea.

* Add a11y support for ASSCrollNode.

* Changelog

* Clean up.

* fix braces

* add test

* disable for ci
2018-10-29 16:07:50 -07:00
Michael Schneider
4260cc9828 Tweak a11y label aggregation behavior to enable container label overrides (#1199)
Modified the ASDisplayNode accessibility label to only aggregate its sub-nodes' labels when it doesn't have any explicit accessibility label set on itself. If an existing label is already present, it is instead treated as an override to the container's a11y label. Added relevant tests.
2018-10-29 08:35:00 -07:00
Kevin
6ea7f06d84 Fix shadowed var warning (and add clarity) #trivial (#1198)
* Fix shadowed var warning (and add clarity)

* Update ASTextLayout.m
2018-10-29 07:55:54 -07:00
Kevin
959dafc4a1 Update ASButtonNode.mm (#1194) 2018-10-29 07:35:45 -07:00
overtake
7ffb28c5d0 Merge branch 'master' of https://github.com/peter-iakovlev/Signals 2018-10-29 14:17:23 +04:00
Peter
7d3d9431bb Support for updated MediaBox fetch API 2018-10-27 22:51:59 +03:00
Peter
e90493d666 Added TempBox
Fixed ranged resource fetch
Added weighted ranged resource fetch
2018-10-27 22:51:12 +03:00
Peter
e7113ed683 no message 2018-10-27 22:49:10 +03:00
Peter
cacd1ad9d3 Merge commit '04b200586fab1692e004103da90e9f2f34079405'
# Conflicts:
#	TelegramUI/NotificationsAndSounds.swift
#	TelegramUI/StickerPreviewPeekContent.swift
2018-10-26 19:34:46 +03:00
Peter
73f230a9af Added video streaming
Updated message sending animation
2018-10-26 19:33:45 +03:00
Peter
89f8651163 Merge commit 'b34f17452011b3b2b30ad239b323ff75a0b954cc' 2018-10-26 19:31:52 +03:00
Peter
8763efee72 Customizeable ListView animation duration 2018-10-26 19:31:48 +03:00
Michael Schneider
25a3d331ee Correct linePositionModifier behavior (#1192) 2018-10-26 07:43:22 -07:00
Peter
4f85c11a8e no message 2018-10-26 17:34:05 +03:00
Peter
b7a03950a3 no message 2018-10-26 15:50:07 +03:00
Ilya Laktyushin
04b200586f no message 2018-10-26 01:12:51 +03:00
Ilya Laktyushin
82532899f4 no message 2018-10-26 01:11:14 +03:00
Ilya Laktyushin
269163ec51 no message 2018-10-25 21:52:33 +03:00
Michael Schneider
8382edd7ef Move AS_TEXT_ALERT_UNIMPLEMENTED_FEATURE into ASTextNodeCommon (#1191) 2018-10-25 08:47:22 -07:00
Ilya Laktyushin
21bbd48655 Merge branch 'master' of github.com:peter-iakovlev/TelegramUI 2018-10-25 04:57:09 +03:00
Ilya Laktyushin
8ca299e69c Fixed crash in avatar color index calculation
Fixed clearing of user's bio
2018-10-25 04:56:41 +03:00
Max Wang
14681c00c4 Assert node did load before did enter visible way 1 (#886)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* access layer to load node before enter visible

* revert space
2018-10-24 12:58:57 -07:00
Michael Schneider
097790317e Yoga integration improvements (#1187)
* Thread safety for Yoga layout

* Support baseline alignments for ASYogaLayout

* Refactor ASLayoutElementYogaBaselineFunc to not require yogaParent (its parent style is set into a private var on ASLayoutElementStyle before layout instead)

* Only set the accessibility element if the view is loaded

* Add nodeWillCalculateLayout to ASNodeController

* Update Changelog

* Address first comments
2018-10-24 10:27:58 -07:00
Michael Schneider
dab3281afa Don’t handle touches on additional attributed message if passthrough is enabled (#1184)
* Don’t handle touches on additional attributed message if passthrough is enabled

* Cleanup

* Don't handle extra inAdditionalTruncationMessage within pointInside:withEvent:

* Update changelog

* Address comments
2018-10-24 07:49:58 -07:00
overtake
e3c8926a75 Merge branch 'master' of github.com:peter-iakovlev/TelegramUI 2018-10-23 21:33:20 +04:00
overtake
d7c144f93a no message 2018-10-23 21:33:01 +04:00
Michael Schneider
1d78a3d07f Directly use __instanceLock__ to lock / unlock without having to create and destroy a MutextUnlocker (#1185) 2018-10-23 05:30:54 -10:00
Michael Schneider
3d2a612487 Remove unnecessary ASWeakProxy import (#1186) 2018-10-23 05:25:03 -10:00