15944 Commits

Author SHA1 Message Date
Peter
1d1d83f69f Refactor AnimationUI 2019-08-02 02:14:01 +03:00
Peter
fa720e03de Refactor ActivityIndicator 2019-08-02 02:13:32 +03:00
Peter
9953b26b64 Refactor AccountContext 2019-08-02 02:12:52 +03:00
Peter
794d92d12c Refactor PresentationSurfaceLevel.root into Display 2019-08-01 15:51:18 +03:00
Ilya Laktyushin
70af4eb679 Improved one-time animated emoji playback 2019-08-01 12:48:28 +03:00
Ilya Laktyushin
7d434ac5c9 Don't autoplay previously seen animated emoji on repeated appearance on screen 2019-08-01 12:23:56 +03:00
subhransu mohanty
c6790a8043 optimization: read content of the file directly to std::string to avoid creating temporary memory.
As json format is one big string we can directly read the content of file with one call to getline()
without going through generic interface to first read into  stringstream and then create again a temorary
string from the stringstream buffer.
2019-08-01 15:54:39 +09:00
subhransu mohanty
2034f0ee0c optimization: move rare propery field to extra structure to minimize memory footprint of LOTTransformData.
- only layer transform object can have position property as separate X and Y
  by keeping them in the main structure incurs an overhead of 32 bytes to the user of the structure.
  as well as 8 byte on the book keeping (mSeparate) by moving those rarely used field along with 3D
  data to ExtraData we could trim the object size by 40bytes.

- with this patch now the object size is reduced from 128 bytes to 88bytes.
2019-08-01 11:08:57 +09:00
subhransu mohanty
e7f0790e06 vdasher: refactor dash property parsing and handling.
- reduce Stroke and GStroke model object size by keeping a vector instead of fixed array property.
- keep a vector instead of fixed size array in model.
- keep a vector instead of fix size array in shadow tree.
- refactor getDashInfo() to DashProperty class and reuse by both Stroke and GradientStroke model object.
- enable move constructor in LOTAnimatable class to support creation vector of objects.
2019-08-01 10:19:53 +09:00
Ilya Laktyushin
35ef08fc06 UI fixes 2019-08-01 04:11:18 +03:00
subhransu mohanty
52bec8bafd vdasher: fixed regression from last commit
this was only comparing the 1st dashinfo because of missing array subscript operator.
2019-08-01 09:29:15 +09:00
Peter
74943cd1b4 Merge commit '42673dc7f0ba37737573aa5ad95df3d916a57ceb' 2019-08-01 01:45:58 +03:00
Peter
23c76db8f4 Fix animated stickers 2019-08-01 01:45:55 +03:00
Ilya Laktyushin
42673dc7f0 Tuned heartbeat 2019-08-01 01:42:30 +03:00
Ilya Laktyushin
6aa7b85c70 Various Siri improvements 2019-08-01 00:47:53 +03:00
Peter
ab15d242ad Merge branch 'master' into gradient-messages 2019-07-31 23:43:50 +03:00
Ilya Laktyushin
dccb44dfdb Changed animated emoji size calculation 2019-07-31 20:55:27 +03:00
overtake
f30b99cdb2 - added ManagedAnimatedEmojiUpdates.swift for mac project 2019-07-31 17:03:06 +02:00
Ilya Laktyushin
6ea5883b6e Changed animated emoji insets 2019-07-31 14:25:05 +03:00
Ilya Laktyushin
e90f49d5d5 Fix 2019-07-31 02:42:11 +03:00
Ilya Laktyushin
1538f60ceb Animated emoji thumbnail fix 2019-07-31 02:40:55 +03:00
John Preston
57afe9e489 Fix crash in a bad file reading. 2019-07-31 08:02:01 +09:00
Ilya Laktyushin
4c32f661e0 Animated emojis fixes 2019-07-31 01:41:49 +03:00
Ilya Laktyushin
dded7c451a Cloud animated emojis 2019-07-31 00:27:23 +03:00
Ilya Laktyushin
78f08d4693 Merge branch 'master' into beta 2019-07-30 21:35:36 +03:00
Ilya Laktyushin
3d4c2dc3dd Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2019-07-30 21:34:29 +03:00
Ilya Laktyushin
3c29287491 API update 2019-07-30 21:32:48 +03:00
Peter
336e79ca93 Merge commit '67e13e5947606a7e02b264d3d6fea99395a21595' 2019-07-30 20:45:48 +03:00
Ilya Laktyushin
67e13e5947 Fixed forward message placeholder in send message preview 2019-07-30 20:42:50 +03:00
Peter
c1b2f95d04 Merge commit '1fc8b3a541abe91d236a2b76602ff82e8cd1c164' 2019-07-30 20:36:10 +03:00
Peter
b1bb7a630c Support non-square animated stickers 2019-07-30 20:35:30 +03:00
Ilya Laktyushin
1fc8b3a541 Fixed animated sticker loop disabling 2019-07-30 20:18:43 +03:00
Ilya Laktyushin
5da86bd619 Added forward placeholder in message sending preview 2019-07-30 18:49:04 +03:00
Peter
ad7bda3182 Merge branch 'master' into gradient-messages 2019-07-30 16:58:09 +03:00
Ilya Laktyushin
070a156405 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2019-07-30 16:56:33 +03:00
Peter
6e70be4ec5 Merge commit 'd31c97ae95be3b36ad47f9ee010ba5ba15327b9c' 2019-07-30 16:54:53 +03:00
Peter
da238e4b33 Update allowed slowmode intervals 2019-07-30 16:54:49 +03:00
Ilya Laktyushin
7d962cc90f Fixed chat message preview layout on scrolling 2019-07-30 16:52:34 +03:00
Peter
31866487d2 Pass through current found remote peers while updating search results 2019-07-30 16:50:57 +03:00
Peter
137938b1cf Expose more stickers to legacy UI 2019-07-30 16:50:34 +03:00
Peter
61c2bfd8ff Block repeated passport attachment callback 2019-07-30 16:50:14 +03:00
Peter
8df0a6969e Extend secret media autoremove timeout to media duration 2019-07-30 16:49:41 +03:00
Peter
3565d29514 Fix unnecessary text input animation 2019-07-30 16:49:20 +03:00
Peter
10b1ec2467 Option to delete whole message groups 2019-07-30 16:48:47 +03:00
Peter
a499f59758 Add secretMediaDuration: Int32? 2019-07-30 16:48:12 +03:00
Peter
f778a52cb5 Fix scrubbing node hitTest 2019-07-30 16:47:53 +03:00
John Preston
e58a768284 Fix linking with static Qt. 2019-07-30 21:56:02 +09:00
Ilya Laktyushin
dabf729195 Fixed chat mentions button icon on theme auto change 2019-07-30 15:29:10 +03:00
Ilya Laktyushin
d8de3f48ae Fixed Siri message reading 2019-07-30 14:44:47 +03:00
Ilya Laktyushin
d31c97ae95 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2019-07-30 14:00:18 +03:00