14914 Commits

Author SHA1 Message Date
Peter
e857463a93 Cleanup 2019-08-02 12:43:34 +03:00
Peter
92d3e81028 Merge branch 'master' into gradient-messages 2019-08-02 12:31:24 +03:00
Ilya Laktyushin
f3901f6dc4 Fixed voice message encoding issue that resulted in malformed ogg files causing playback errors on ffmpeg v4 2019-08-02 05:28:03 +03:00
JunsuChoi
1af3e38c7f CAPI: Add capi to support the dynamic properties
This function needs keypath and type of string type.
 And needs values as variable arguments.
 The usage of this function is written in docs.
2019-08-02 11:11:47 +09:00
Peter
ee3142966e Update workspace 2019-08-02 02:28:24 +03:00
Peter
f8c2c13e28 Update TelegramUI to Swift 4.2 2019-08-02 02:26:53 +03:00
Peter
54b6402c72 Cleanup 2019-08-02 02:26:15 +03:00
Peter
0688983c52 Refactor TelegramUpdateUI 2019-08-02 02:25:50 +03:00
Peter
7ef834df31 Refactor TextFormat 2019-08-02 02:25:27 +03:00
Peter
24e76f5eac Move ChatMessageBubbleImages to TelegramPresentationData 2019-08-02 02:23:55 +03:00
Peter
da3c7280a3 Move presentation resources to TelegramPresentationData 2019-08-02 02:23:21 +03:00
Peter
81701d9969 Refactor SwitchNode 2019-08-02 02:21:15 +03:00
Peter
1d35197f20 Update SwiftSignalKit to Swift 4.2 2019-08-02 02:20:27 +03:00
Peter
5b13a8ae3d Refactor ProgressNavigationButtonNode 2019-08-02 02:20:06 +03:00
Peter
bff422ea60 Temporarily turn off Treat warnings as errors 2019-08-02 02:19:31 +03:00
Peter
c3c7a4c368 Refactor MergeLists 2019-08-02 02:19:00 +03:00
Peter
17223c9cfb Refactor ItemListUI 2019-08-02 02:18:20 +03:00
Peter
49777d8834 Move ShakeAnimation to Display 2019-08-02 02:16:04 +03:00
Peter
b97ff40a80 Update Display to Swift 4.2 2019-08-02 02:15:31 +03:00
Peter
d2482a2c8c Refactor CheckNode 2019-08-02 02:14:36 +03:00
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