14914 Commits

Author SHA1 Message Date
Ilya Laktyushin
22b0bd93b8 Make settings search bar initially hidden 2019-03-13 02:36:15 +03:00
Ilya Laktyushin
347bed0fc4 Settings & FAQ Search
Profile Photo & Forward Privacy Settings
Compact Landscape Video UI
Various UI fixes
2019-03-13 02:18:00 +03:00
Garrett Moon
96a7723d3b
Context is a pretty general name that will cause conflicts with subclasses (#1399) 2019-03-12 15:32:58 -07:00
Adlai Holler
223d6bdca7
Fix header typo (#1402) 2019-03-12 14:34:58 -07:00
Ilya Laktyushin
d554ad5a85 API update: profile photo and forwards privacy settings 2019-03-13 00:34:38 +03:00
Peter
c6118013e9 Hole updates 2019-03-12 23:55:55 +04:00
Peter
9ec5e39542 Hole updates 2019-03-12 23:54:10 +04:00
Peter
d80a8291e0 Hole updates 2019-03-12 23:53:46 +04:00
Peter
c4af1626e3 Hole updates 2019-03-12 23:53:37 +04:00
Grishka
b6ac291101 Fixed build on old OS X 2019-03-12 20:35:42 +03:00
Adlai Holler
abe46b08a9
Make shared CA transaction queue variable extern so it's actually shared (#1397) 2019-03-12 08:22:21 -07:00
Gregory K
d81253009d
Merge pull request #77 from UnigramDev/public
Updated UWP project to 2.4.4
2019-03-12 18:03:16 +03:00
Adlai Holler
5490d4d1fa
Make experiment checks faster (#1393)
* Make experiment checks use dispatch_once when not debugging, clean up singleton

* One more

* Pull out the variable
2019-03-12 07:43:38 -07:00
Grishka
ed276b4ad1 I'm too lazy to come up with a commit message 2019-03-12 16:34:05 +03:00
Grishka
b22fed62e6 Fix 2019-03-12 16:28:24 +03:00
Grishka
bfa92bd59c Updated projects 2019-03-12 16:15:22 +03:00
Fela Ameghino
a0fbeeea92 Improved CXWrapper adding various methods 2019-03-12 11:55:52 +01:00
Fela Ameghino
5c4163ca5a Merge branch 'public' of https://github.com/UnigramDev/libtgvoip into public 2019-03-12 11:54:11 +01:00
Fela Ameghino
65da311f69 Improved CXWrapper adding various methods 2019-03-12 11:53:50 +01:00
Fela Ameghino
e5900e698d Improved CXWrapper adding various methods 2019-03-12 11:51:26 +01:00
Hermet Park
75affa0da7 capi: update doc.
add missing parameter description.
2019-03-12 13:50:23 +09:00
ernestmama
6f44c3921e Remove experimental features (exp_skip_a11y_wait && exp_new_default_cell_layout_mode) (#1383)
* Remove experimental features

* prevent blocking main thread

* remove small content all together as none is the default

* Update ASExperimentalFeatures.h
2019-03-11 13:34:35 -07:00
Fela Ameghino
07df8c9c4f Merge branch 'public' of https://github.com/UnigramDev/libtgvoip into public 2019-03-11 18:45:29 +01:00
Fela Ameghino
4fd5f339cd Added GetConnectionMaxLayer to CXWrapper 2019-03-11 18:45:07 +01:00
Fela Ameghino
fe080d6bde Added GetConnectionMaxLayer to CXWrapper 2019-03-11 18:43:16 +01:00
Fela Ameghino
028d86f599 Updated UWP project to 2.4.4 2019-03-11 18:28:38 +01:00
Garrett Moon
32a2ebf49b
Update for 9.4.1 CI (#1392) 2019-03-11 09:09:28 -07:00
Grishka
4b9a9116af Calls compatibility fix 2019-03-11 14:34:15 +03:00
Grishka
b6cfcba80f Fixed protocol compatibility 2019-03-11 14:32:56 +03:00
Grishka
131ab1fce9 Update libtgvoip 2019-03-11 01:35:34 +03:00
Grishka
40c8685e77 Version 2019-03-11 01:34:58 +03:00
Grishka
c5a39bd57c Fix 2019-03-11 01:31:13 +03:00
Grishka
a6e6ed5825 Fix FEC packet loss percent for libopus 1.3
Also make opus in-band FEC less aggressive
2019-03-11 01:12:09 +03:00
Greg Bolsinga
593b56aaff Clean up a clang analyzer cast error (#1387)
~/Texture/Source/Private/ASMutableElementMap.mm:32:24: warning: Conversion from value of type 'NSMutableArray<NSMutableArray *> *' to incompatible type 'ASMutableCollectionElementTwoDimensionalArray *'
    _sectionsOfItems = (id)ASTwoDimensionalArrayDeepMutableCopy(items);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
2019-03-09 12:15:20 -08:00
Adlai Holler
9cd0d58373
Rename ASDN C++ namespace to AS (#1366)
* Rename ASDN C++ namespace to "AS." Referring to the framework as ASDisplayNode is pretty out-dated and verbose. See CoreAnimation which usees CA for their internal namespace.

More using

* More cases
2019-03-09 12:14:58 -08:00
Ilya Laktyushin
a1bcc9eafd Use in-app language locale for date/time formatting and use locale's decimal separator for data size formatting 2019-03-09 22:14:27 +03:00
Ilya Laktyushin
621f52fcf4 Data Size String: fixed remainder calculation and added customizable decimal separator 2019-03-09 22:03:00 +03:00
Ilya Laktyushin
6c7da27260 Update submodules 2019-03-09 20:36:51 +03:00
Ilya Laktyushin
6765932eef Fixed gifs and stickers scroll snapping 2019-03-09 20:34:46 +03:00
Jacob Farkas
a38b3f547e Add UIDataSourceModelAssociation to ASTableView and ASCollectionView (#1354)
* Add UIDataSourceModelAssociation protocol conformance to ASTableView and ASCollectionView.

* Implementing review feedback from @Adlai-Holler
2019-03-09 07:56:10 -08:00
Garrett Moon
9b80eabd8f Adds support for using UIGraphicsImageRenderer in ASTextNode. (#1384)
* Adds support for using UIGraphicsImageRenderer in ASTextNode.

In many cases this reduces the backing store of text nodes by 1/2.

* Guard for UIGraphicsRenderer availability.

* Comma
2019-03-09 07:55:46 -08:00
Kevin
872e89b772 Need some more locks for working with calculated yoga layouts (#1388) 2019-03-09 07:55:35 -08:00
Ilya Laktyushin
34d9e98fad Update submodules 2019-03-09 18:53:32 +03:00
Ilya Laktyushin
4bc196d6db New GIF search design 2019-03-09 18:52:31 +03:00
Kevin
510000ee85 Correct attributes lookup for supplementary elements. (#1318) 2019-03-08 09:41:25 -08:00
Greg Bolsinga
dffe22f12d Fix CTLineRef leaks (#1386)
Found by Clang Static Analyzer:

~/Texture/Source/ASTextNode2.mm:663:39: warning: Potential leak of an object stored into 'truncationTokenLine'
      CTLineRef truncationTokenLine = CTLineCreateWithAttributedString((CFAttributedStringRef)_truncationAttributedText);
                                      ^
~/Texture/Source/ASTextNode2.mm:666:49: warning: Potential leak of an object stored into 'additionalTruncationTokenLine'
      CTLineRef additionalTruncationTokenLine = CTLineCreateWithAttributedString((CFAttributedStringRef)_additionalTruncationMessage);
                                                ^
2 warnings generated.
2019-03-08 09:40:51 -08:00
Michael Schneider
bb6102aa18
Add Yoga support to ASButtonNode (#1381)
* Add Yoga support to ASButtonNode

* Drop unowned ASLayoutElementStyle parameter

* Fix access of Yoga properties

* Move ASButtonNode Yoga logic to Category

* Update header
2019-03-08 08:32:57 -08:00
Kevin
aeb370ff13 Fix an issue where state change notifications can be sent mulitple times. (#1372)
Before the change: both - (void)setShouldInvertStrongReference:(BOOL)shouldInvertStrongReference and - (void)setNode:(ASDisplayNode *)node will call through [self setupReferencesWithNode:node]; which call the [node addInterfaceStateDelegate:self];
2019-03-08 08:27:49 -08:00
Kevin
d7eda2ec34 Assert for context creation failure during displayBlock. (#1373)
Nothing good can possibly happen if we continue without one.
2019-03-08 08:26:52 -08:00
Kevin
3089a3e3b0 Expose initial constrained size before layout in case anyone is interested later during the layout on the same thread. (#1377)
Optionally, clients are expected to clean it up after usage to avoid accessing outdated data.
2019-03-08 08:26:35 -08:00