Commit graph

15603 commits

Author SHA1 Message Date
Ilya Laktyushin
1fa0c7991c Various fixes 2026-04-17 11:06:56 +02:00
Ilya Laktyushin
532a3ae3e1 Various fixes 2026-04-16 21:45:26 +02:00
Ilya Laktyushin
31e3a7dc79 Fix build 2026-04-16 02:36:03 +02:00
Ilya Laktyushin
8aa421e08b Fix build 2026-04-16 02:00:16 +02:00
Ilya Laktyushin
8b7e294fc6 Fix build 2026-04-16 01:41:31 +02:00
Ilya Laktyushin
0df319742a Update API 2026-04-16 01:18:22 +02:00
Ilya Laktyushin
efb1110987 Fix build 2026-04-16 00:20:06 +02:00
Ilya Laktyushin
352d9f24e8 Fix build 2026-04-16 00:03:09 +02:00
Ilya Laktyushin
701d27c0a9 Fix build 2026-04-15 23:50:11 +02:00
Ilya Laktyushin
8f1e024aef Various fixes 2026-04-15 23:12:53 +02:00
Isaac
a4e9b0468e Merge commit '314f02d36d' 2026-04-14 15:34:04 +02:00
Isaac
976c2de599 Temp 2026-04-14 15:33:19 +02:00
Isaac
430ea53ed8 Add per-character glyph rects to InteractiveTextNodeLine and implement reveal animation
- Replace characterToGlyphMapping with characterRects ([CGRect]?) on InteractiveTextNodeLine
- Add computeCharacterRects flag to InteractiveTextNodeLayoutArguments
- Compute actual glyph bounding boxes via CTFontGetBoundingRectsForGlyphs during layout
- Implement computeRevealedLines, layoutForCharacterCount, sizeForCharacterCount
- Implement updateRevealCharacterCount to distribute character budget across content item layers
- Update snippet layers to animate per-character rects with SnippetLayer tracking character index
- Mask limit driven by lowest animating snippet index for correct reveal ordering
- Fix listViewAnimationCurveEaseIn to match iOS default ease-in curve (0.42, 0.0, 1.0, 1.0)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:31:49 +02:00
Ilya Laktyushin
314f02d36d Various fixes 2026-04-14 04:53:01 +02:00
Ilya Laktyushin
64aa306cf9 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-04-14 03:34:28 +02:00
Ilya Laktyushin
22df2dbdb9 Various fixes 2026-04-14 03:33:34 +02:00
Isaac
41d6f727e0 Various improvements 2026-04-10 17:21:36 +02:00
Isaac
d575824ab4 Various improvements 2026-04-10 14:30:23 +02:00
Ilya Laktyushin
9d2094fe23 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-04-07 19:21:40 +02:00
Ilya Laktyushin
5c814c503e Live photo saving 2026-04-07 19:16:22 +02:00
Isaac
bef7b70e55 Merge commit '05d64c58b2' 2026-04-07 16:48:17 +02:00
Isaac
d89a4a79cf Various improvements 2026-04-07 16:48:11 +02:00
Isaac
278f3ca420 Various improvements 2026-04-07 16:47:08 +02:00
Isaac
64c23acd43 Fix url handling 2026-04-07 16:46:54 +02:00
Isaac
3d6fabea33 Update safari 2026-04-07 16:37:17 +02:00
Isaac
9338361543 fix: correct Swift-ObjC bridging in subcodec animation modules
Fix compilation errors in SubcodecAnimationCacheImpl and
SubcodecMultiAnimationRendererImpl: NSData->Data sink closure types,
withSink->sink argument labels for advanceFrame/emitFrameIfNeeded,
unused variable warning, and redundant Void return assignment.
Add both modules as deps to ChatEntityKeyboardInputNode to verify
they compile in the full build.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 12:35:54 +02:00
Isaac
d6d633e296 feat: add SubcodecMultiAnimationRendererImpl public class with MultiAnimationRenderer conformance
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:20:32 +02:00
Isaac
dc20b265d1 feat: add SubcodecMultiAnimationRendererImpl internal types - SurfaceGroup, SpriteContext, frame extraction
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:18:41 +02:00
Isaac
7052e7e3ea feat: add SubcodecAnimationCacheImpl public class with protocol conformance and subcodec API
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 12:16:37 +02:00
Isaac
095c2940a8 feat: add SubcodecAnimationCacheImpl writer and ARGB-to-YUV conversion
Implements utility helpers, BT.709 ARGB→YUV 4:2:0 conversion with alpha
un-premultiplication, and AnimationCacheItemWriterImpl that feeds frames
to SCSprite and writes metadata alongside the .mbs output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:13:23 +02:00
Isaac
e8dc34c11b feat: add BUILD files for SubcodecAnimationCacheImpl and SubcodecMultiAnimationRendererImpl 2026-04-07 12:11:27 +02:00
Isaac
d147c63b68 Refactoring 2026-04-07 11:31:22 +02:00
Isaac
95a03d9931 subcodec 2026-04-07 10:44:45 +02:00
Ilya Laktyushin
05d64c58b2 Fix 2026-04-07 10:10:17 +02:00
Isaac
f3e1795b68 Temp 2026-04-07 08:11:27 +02:00
Ilya Laktyushin
ae6d05c49d Various fixes 2026-04-07 06:36:13 +02:00
Ilya Laktyushin
86e521c3cb Various fixes 2026-04-07 01:44:04 +04:00
Ilya Laktyushin
498897c227 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-04-04 10:11:50 +02:00
Ilya Laktyushin
65872a4a59 Poll improvements 2026-04-04 10:11:30 +02:00
Isaac
648430e37d Various improvements 2026-04-03 22:15:42 +08:00
Isaac
16c630b946 Refactoring 2026-04-03 15:50:39 +08:00
Isaac
a4d630bf24 Merge commit '2bad906e88' 2026-04-03 13:15:09 +08:00
Isaac
1a728382c4 Disable AI button in secret chats 2026-04-03 13:15:06 +08:00
Ilya Laktyushin
2bad906e88 Fix stickers memory leak 2026-04-02 20:37:35 +02:00
Ilya Laktyushin
c81015c003 Various fixes 2026-04-02 19:20:15 +02:00
Ilya Laktyushin
43c263cb6f Various fixes 2026-04-01 00:58:16 +02:00
Ilya Laktyushin
629f2b1e5d Various fixes 2026-04-01 00:33:44 +02:00
Ilya Laktyushin
e7722d7b29 Various fixes 2026-04-01 00:10:39 +02:00
Ilya Laktyushin
ff95bd97c9 Various fixes 2026-03-31 23:06:05 +02:00
Isaac
e8510c1a8a Fix search filter display 2026-03-31 23:05:28 +08:00