Commit Graph

13022 Commits

Author SHA1 Message Date
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
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
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