Commit Graph
755 Commits
Author SHA1 Message Date
isaacisaacClaude Opus 4.7
b48b96ecd9 RichText.textCustomEmoji: inline animated custom emoji in rich-data bubbles
Add the RichText.textCustomEmoji(fileId:alt:) case end-to-end: model +
Postbox coding, FlatBuffers schema/codec, and Api.RichText
parsing/serialization (lossless), plus display in the InstantPage V2
renderer. The emoji renders as an InlineStickerItemLayer that participates
in the streaming reveal (pops in as the reveal cursor crosses it) and is
gated by the bubble's visibility rect, propagated recursively through the
nested V2 view tree. Also frees the CTRunDelegate extent buffers for the
image/formula/custom-emoji attachment arms and documents the feature in
CLAUDE.md.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 22:12:47 +04:00
isaacandisaac 3f09a1f325 WIP 2026-05-20 00:34:25 +08:00
isaacandisaac 13a153aff2 WIP 2026-05-20 00:33:08 +08:00
isaacisaacClaude Opus 4.7
e918b353ec Postbox refactor waves 278-356: squash
Squashes 79 sequential refactor waves into a single commit.

Highlights:
- Drop `import Postbox` (and matching `//submodules/Postbox` BUILD deps) from a wide swath of consumer files: ChatList, ChatMessage*BubbleContentNode subclasses, ListMessageNode/ListMessageItem, GalleryData, ChatHistorySearchContainerNode, ChatPanelInterfaceInteraction, ChatControllerInteraction, ChatMessageStickerItemNode, ChatMessageReplyInfoNode, ChatMessageInstantVideoItemNode, ChatPresentationInterfaceState, BrowserMarkdown/Readability, MediaResources, LocalMediaResources, ICloudResources, FetchManager, ShareController, OpenChatMessage, GalleryController, GroupStickerSearchContainerNode, GroupStickerPackCurrentItem, ChatPinnedMessageTitlePanelNode, OverlayAudioPlayerController, PresentationThemeSettings, StatisticsUI/StoryIconNode, TextFormat/StringWithAppliedEntities, GalleryUI/VideoAdComponent, StickerPackPreviewUI, WallpaperPreviewMedia, WallpaperResources, YoutubeEmbedImplementation, InstantPageExternalMediaResource, PlatformRestrictionMatching, TelegramUIDeclareEncodables, ChatListNode/ChatListSearchContainerNode.
- Add `TelegramEngine` facades: `Themes.wallpapers`, `Themes.themes`, `AccountData.addAppLogEvent`.
- Add `EngineMessageHistoryEntryLocation` wrapper.
- Add `EngineRaw*` escape-hatch typealiases (`EngineRawMessage`, `EngineRawPeer`, `EngineRawMedia`, `EngineRawMediaResource`, `EngineRawMediaResourceData`, `EngineRawItemCollectionItem`, `EngineRawItemCollectionInfo`) and `engineDeclareEncodable` forwarder.
- Drop unused `account:`/`postbox:`/`network:` parameters from several public functions and delete the dead overloads/types/functions left over: `automaticThemeShouldSwitchNow`, `cancelFreeMediaFileInteractiveFetch`, `legacyEnqueueVideoMessage`, `TelegramMediaFileReference`, plus assorted dead public TelegramCore/AccountContext SecureId entry points.
- Delete entire dead modules: `LegacyDataImport`, `TonBinding`, `SpotlightSupport`, `SvgRendering`, third-party `AppCenter`/`VectorPlus`/`SwiftColor`/`SwiftSVG`.
- Drop orphan `//submodules/Postbox` BUILD deps across 3 cleanup rounds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 14:11:06 +02:00
Ilya Laktyushin d212968040 Update API 2026-04-28 20:35:06 +02:00
Ilya Laktyushin d574182374 Markdown improvements 2026-04-27 18:45:30 +02:00
Ilya Laktyushin f41630083a Various improvements 2026-04-24 03:16:14 +02:00
isaacandisaac f77eafacff Merge commit 'f185b602ea2769502268be6c3b2703d01ed179e4' 2026-04-22 00:32:48 +04:00
isaacandisaac 524c29cbe3 Various improvements 2026-04-22 00:32:34 +04:00
Mikhail Filimonov fe6836ab02 flag 2026-04-21 12:11:11 +01:00
IsaacIsaacClaude Opus 4.7
d01bbc6529 TelegramCore: edit/delete AI text styles + AI webpage attribute
Adds TelegramEngine.Messages.editAITextStyle and deleteAITextStyle
facades and decodes webPageAttributeAiComposeTone into a new
TelegramMediaWebpageAITextStyleAttribute. Makes CloudStyle.prompt
optional and requires emojiFileId on create.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 23:45:18 +02:00
IsaacandIsaac bf21bca206 Merge commit '31e3a7dc79a91d78d9dda66945f81c9fc3d62b8e'
# Conflicts:
#	submodules/TelegramCore/Sources/PendingMessages/PendingMessageUploadedContent.swift
#	submodules/TelegramCore/Sources/TelegramEngine/Messages/Polls.swift
#	submodules/TelegramCore/Sources/TelegramEngine/Messages/Translate.swift
2026-04-16 17:52:38 +02:00
Ilya Laktyushin 0df319742a Update API 2026-04-16 01:18:22 +02:00
IsaacandIsaac 0095bfad39 Temp 2026-04-15 13:18:46 +02:00
Ilya Laktyushin 22df2dbdb9 Various fixes 2026-04-14 03:33:34 +02:00
Ilya Laktyushin f160fb99d9 Various improvements 2026-03-29 16:23:09 +02:00
Mikhail Filimonov 3c4af77ad2 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-03-27 16:18:49 +01:00
Mikhail Filimonov b5973fed13 canManageBots flag 2026-03-27 16:18:42 +01:00
IsaacandIsaac 2907ddbe46 Unseen polls 2026-03-27 18:30:01 +08:00
Ilya Laktyushin 6b6ba070c7 Update API 2026-03-26 09:26:15 +01:00
Mikhail Filimonov 010945d371 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-03-24 09:26:24 +01:00
Mikhail Filimonov 84bc40e1f8 polls 2026-03-24 09:26:16 +01:00
IsaacandIsaac 9c0e6f6151 Merge commit 'e11c9899e63f71ebd75986b792eb94a1b7754574' 2026-03-24 01:39:57 +08:00
IsaacandIsaac 1a17e97a7c Temp 2026-03-23 23:37:31 +08:00
Ilya Laktyushin e11c9899e6 Various fixes 2026-03-23 15:03:50 +01:00
Mikhail Filimonov 7354bea3e6 pass iscreator 2026-03-23 10:45:34 +01:00
Ilya Laktyushin 5ed2f0ad1e Various fixes 2026-03-23 00:17:18 +01:00
Ilya Laktyushin 676f46d44d Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-03-20 12:48:12 +01:00
Ilya Laktyushin 34f5b9d4c2 Update API 2026-03-20 12:48:05 +01:00
IsaacandIsaac 2c10093c5e Merge commit '1a08c3f0d0cab7b971ec737181d9f400731f2129'
# Conflicts:
#	submodules/TelegramCore/Sources/ApiUtils/StoreMessage_Telegram.swift
2026-03-18 00:27:47 +01:00
IsaacandIsaac a2d5c530a5 Various improvements 2026-03-18 00:27:13 +01:00
Ilya Laktyushin 6519b5c84d [WIP] Polls 2026-03-17 11:12:58 +01:00
Ilya Laktyushin 2b9d97b944 Update API 2026-03-17 00:04:50 +01:00
Ilya Laktyushin b1a190f87a [WIP] Polls 2026-03-16 18:07:12 +01:00
Ilya Laktyushin 3a311f75bd Update API 2026-03-16 13:37:36 +01:00
Ilya Laktyushin 6980ca9397 Merge commit 'a824d97804304356d037fc2997027346879f8a56' 2026-03-14 00:08:02 +01:00
Ilya Laktyushin cbc5a49507 [WIP] Polls 2026-03-13 11:04:33 +01:00
Mikhail Filimonov a824d97804 api update 2026-03-13 10:40:03 +01:00
Mikhail Filimonov 5b04ae1131 update api 2026-03-12 19:29:26 +01:00
Mikhail Filimonov a02f811c2a polls 2026-03-11 17:41:41 +00:00
Ilya Laktyushin 6c1376169c Update API 2026-03-11 14:37:23 +01:00
Ilya Laktyushin 713f557e64 Update API 2026-03-09 14:32:10 +01:00
Ilya Laktyushin e3c84fce71 Various fixes 2026-02-27 14:34:18 +04:00
Ilya Laktyushin 9c16af25c0 Update API 2026-02-17 10:25:42 +04:00
Ilya Laktyushin c0f7cda4eb Update API 2026-02-12 15:37:57 +04:00
Ilya Laktyushin 189d25c32e Update API 2026-02-10 12:58:04 +04:00
Ilya Laktyushin 25952cfef6 Merge commit 'e81e7c6897279f64e47a637f3712e5bf677fb9a4' 2026-02-06 14:25:13 +04:00
Ilya Laktyushin 96bb624b2d Merge branch 'formatted-date-api' 2026-02-06 14:25:09 +04:00
Ilya Laktyushin e81e7c6897 Formatted date support 2026-02-06 14:24:03 +04:00
Ilya Laktyushin aa21a14c7d Update API [skip ci] 2026-02-06 13:35:20 +04:00