27 Commits
Author SHA1 Message Date
isaacandClaude 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
IsaacandClaude Opus 4.5 6746305b4b Refactor constructor use sites for types 500-519 to struct pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 00:06:07 +08:00
IsaacandClaude Opus 4.5 55c53717af Refactor constructor use sites for types 360-379 to struct pattern
Migrated 20 types including userProfilePhoto, userStatus*, username, videoSize*,
wallPaper*, webDocument*, webPage*, webViewResultUrl, authorizations,
authorizationForm, autoDownloadSettings, businessChatLinks, chatThemes,
connectedBots, and contentSettings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 22:45:35 +08:00
IsaacandClaude Opus 4.5 61983a113a Refactor constructor use sites for types 190-199 to struct pattern
Refactored constructors include:
- maskCoords, mediaArea*, message, messageEmpty, messageService
- messageAction* (50+ action types)
- messageEntity* (20+ entity types)
- messageMedia* (20+ media types)
- messageFwdHeader, messagePeerReaction, messageExtendedMedia*

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 00:45:23 +08:00
Ilya Laktyushin 66a614a9a4 Update API 2025-08-20 22:31:58 +04:00
Isaac 1fb93ab298 Various improvements 2025-02-25 14:46:07 +00:00
Ilya Laktyushin 2a7d1938d7 Various improvements 2025-01-28 21:57:30 +04:00
Ilya Laktyushin cdc82e4235 Update API 2025-01-06 16:00:43 +04:00
Ilya Laktyushin 5978a5278d Local instant view 2024-08-29 11:44:05 +04:00
Mike Renoir a723e852f7 metal engine macos changes 2023-12-07 12:22:24 +04:00
Isaac 61efee0d51 Local webpage preview experiment 2023-12-06 00:51:05 +04:00
Ali 9c75edcc31 Compound webpage preview 2023-10-27 16:13:22 +04:00
Mike Renoir 54317ef3d3 macos related changes 2023-10-23 18:14:13 +04:00
Ali c45607ffd6 Refactor url handling 2023-10-20 21:51:45 +04:00
Ali af8474aca5 [WIP] Quotes and link previews 2023-10-18 01:11:23 +04:00
Ali 37a08e5d1e Update API 2023-10-14 18:14:53 +04:00
Ali a753d71cd7 [WIP] Quotes 2023-10-13 15:24:53 +04:00
Ilya Laktyushin 065553abd4 Update API 2023-09-25 14:46:58 +04:00
Ali ceda80c3a5 [WIP] Stories 2023-06-13 14:18:16 +03:00
Ali 1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ilya Laktyushin 0041761cbb Search filters 2020-09-05 05:37:15 +03:00
overtake 0fecb06c3f fallback for swift 4.2 [skip ci] 2020-03-12 18:25:41 +04:00
Ilya Laktyushin f45cd0f72e Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2020-03-12 06:44:24 +04:00
Ilya Laktyushin f5dbf47b68 Channel statistics improvements 2020-03-12 05:01:21 +04:00
Ali d624e5b5a9 Fix API 2020-03-11 16:22:53 +05:30
overtake 8f66c10ac1 refactor and cleanup [skip ci] 2019-11-01 17:11:12 +04:00
Peter d2e57174a7 Rename TelegramCore source folder 2019-10-29 00:13:20 +04:00