Telegram-iOS/submodules/TelegramCore/Sources/State
isaac 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
..
AccountState.swift Refactor constructor use sites for types 440-459 to struct pattern 2026-01-18 23:29:12 +08:00
AccountStateManagementUtils.swift Improve draft sorting 2026-04-30 12:15:57 +04:00
AccountStateManager.swift Sticker pack improvements 2026-04-28 16:56:02 +04:00
AccountTaskManager.swift Temp 2026-04-15 13:18:46 +02:00
AccountViewTracker.swift Unseen polls 2026-03-27 18:30:01 +08:00
AppChangelog.swift
AppChangelogState.swift
AppConfiguration.swift
ApplyUpdateMessage.swift Various fixes 2026-03-29 18:49:14 +02:00
AppUpdate.swift Refactor constructor use sites for types 420-439 to struct pattern 2026-01-18 23:22:34 +08:00
AvailableMessageEffects.swift Refactor constructor use sites for types 440-459 to struct pattern 2026-01-18 23:29:12 +08:00
AvailableReactions.swift Refactor constructor use sites for types 440-459 to struct pattern 2026-01-18 23:29:12 +08:00
CachedSentMediaReferences.swift
CallSessionManager.swift Postbox refactor waves 278-356: squash 2026-05-05 14:11:06 +02:00
ChannelBoost.swift Refactor constructor use sites for types 540-559 to struct pattern 2026-01-19 00:28:21 +08:00
ChannelState.swift Refactor constructor use sites for types 340-359 to struct pattern 2026-01-18 22:21:57 +08:00
ChatHistoryPreloadManager.swift
CloudChatRemoveMessagesOperation.swift [WIP] Monoforums 2025-05-10 18:02:55 +01:00
ConferenceCallE2EContext.swift Update 2025-10-27 00:22:14 +04:00
ContactSyncManager.swift Refactor constructor use sites for types 420-439 to struct pattern 2026-01-18 23:22:34 +08:00
EmojiSearchCategories.swift Refactor constructor use sites for types 460-479 to struct pattern 2026-01-18 23:36:22 +08:00
Fetch.swift
FetchChatList.swift Unseen polls 2026-03-27 18:30:01 +08:00
FetchSecretFileResource.swift
ForumChannelState.swift
HistoryViewStateValidation.swift Unseen polls 2026-03-27 18:30:01 +08:00
Holes.swift Unseen polls 2026-03-27 18:30:01 +08:00
InitializeAccountAfterLogin.swift
ManagedAccountPresence.swift
ManagedAnimatedEmojiUpdates.swift
ManagedAppConfigurationUpdates.swift Refactor constructor use sites for types 420-439 to struct pattern 2026-01-18 23:22:34 +08:00
ManagedAutodownloadSettingsUpdates.swift Frozen account improvements 2025-03-19 14:39:39 +04:00
ManagedAutoremoveMessageOperations.swift Support typing drafts 2025-08-15 09:18:11 +02:00
ManagedChatListHoles.swift
ManagedCloudChatRemoveMessagesOperations.swift Refactor constructor use sites for types 440-459 to struct pattern 2026-01-18 23:29:12 +08:00
ManagedConfigurationUpdates.swift Refactor Api types 70-89 to use struct-wrapped constructors 2026-01-16 02:12:20 +08:00
ManagedConsumePersonalMessagesActions.swift Cleanup 2026-03-30 19:59:03 +08:00
ManagedEmojiGameUpdates.swift Refactor constructor use sites for types 460-479 to struct pattern 2026-01-18 23:36:22 +08:00
ManagedGlobalNotificationSettings.swift Update API 2026-03-22 18:41:53 +01:00
ManagedLocalInputActivities.swift Refactor constructor use sites for types 280-299 to struct pattern 2026-01-18 14:42:21 +08:00
ManagedLocalizationUpdatesOperations.swift Refactor constructor use sites for types 180-189 to struct pattern 2026-01-17 22:27:04 +08:00
ManagedMessageHistoryHoles.swift
ManagedNotificationSettingsBehaviors.swift
ManagedPeerColorUpdates.swift Refactor constructor use sites for types 440-459 to struct pattern 2026-01-18 23:29:12 +08:00
ManagedPeerTimestampAttributeOperations.swift
ManagedPendingPeerNotificationSettings.swift Refactor Api types 150-179 to use struct-wrapped constructors 2026-01-16 15:18:11 +08:00
ManagedPremiumPromoConfigurationUpdates.swift Refactor constructor use sites for types 440-459 to struct pattern 2026-01-18 23:29:12 +08:00
ManagedProxyInfoUpdates.swift Refactor constructor use sites for types 440-459 to struct pattern 2026-01-18 23:29:12 +08:00
ManagedRecentStickers.swift Update API [skip ci] 2026-01-20 14:54:15 +04:00
ManagedSecretChatOutgoingOperations.swift Various improvements 2026-04-24 04:55:22 +02:00
ManagedServiceViews.swift
ManagedSynchronizeAppLogEventsOperations.swift Refactor Api types 120-149 to use struct-wrapped constructors 2026-01-16 03:00:59 +08:00
ManagedSynchronizeChatInputStateOperations.swift [WIP] Polls 2026-03-16 18:07:12 +01:00
ManagedSynchronizeConsumeMessageContentsOperations.swift Refactor constructor use sites for types 440-459 to struct pattern 2026-01-18 23:29:12 +08:00
ManagedSynchronizeEmojiKeywordsOperations.swift Refactor Api types 70-89 to use struct-wrapped constructors 2026-01-16 02:12:20 +08:00
ManagedSynchronizeGroupedPeersOperations.swift Refactor Api types 120-149 to use struct-wrapped constructors 2026-01-16 03:00:59 +08:00
ManagedSynchronizeGroupMessageStats.swift Refactor constructor use sites for types 480-499 to struct pattern 2026-01-18 23:47:18 +08:00
ManagedSynchronizeInstalledStickerPacksOperations.swift Remove debugging 2026-04-28 16:57:08 +04:00
ManagedSynchronizeMarkAllUnseenPersonalMessagesOperations.swift Update 2026-03-27 19:23:09 +08:00
ManagedSynchronizeMarkFeaturedStickerPacksAsSeenOperations.swift
ManagedSynchronizePeerReadStates.swift
ManagedSynchronizePeerStoriesOperations.swift
ManagedSynchronizePinnedChatsOperations.swift Refactor constructor use sites for types 480-499 to struct pattern 2026-01-18 23:47:18 +08:00
ManagedSynchronizeRecentlyUsedMediaOperations.swift Refactor Api types 120-149 to use struct-wrapped constructors 2026-01-16 03:00:59 +08:00
ManagedSynchronizeSavedGifsOperations.swift Refactor Api types 120-149 to use struct-wrapped constructors 2026-01-16 03:00:59 +08:00
ManagedSynchronizeSavedStickersOperations.swift Refactor Api types 120-149 to use struct-wrapped constructors 2026-01-16 03:00:59 +08:00
ManagedSynchronizeViewStoriesOperations.swift
ManagedVoipConfigurationUpdates.swift Refactor Api types 70-89 to use struct-wrapped constructors 2026-01-16 02:12:20 +08:00
MessageMediaPreuploadManager.swift
MessageReactions.swift Refactor constructor use sites for types 480-499 to struct pattern 2026-01-18 23:47:18 +08:00
PaidMessages.swift Various improvements 2026-03-13 14:54:44 +01:00
PeerInputActivity.swift Refactor constructor use sites for types 280-299 to struct pattern 2026-01-18 14:42:21 +08:00
PeerInputActivityManager.swift Support typing drafts 2025-08-15 09:18:11 +02:00
PendingMessageManager.swift Add typing-draft send delay 2026-04-30 12:15:55 +04:00
PremiumRequiredToContact.swift Various fixes 2026-04-16 21:45:26 +02:00
ProcessSecretChatIncomingDecryptedOperations.swift TelegramApi: regenerate SecretApiLayer*.swift via SwiftTL 2026-04-21 23:02:42 +04:00
ProcessSecretChatIncomingEncryptedOperations.swift
ResetState.swift Unseen polls 2026-03-27 18:30:01 +08:00
SavedMessageTags.swift Refactor constructor use sites for types 480-499 to struct pattern 2026-01-18 23:47:18 +08:00
Serialization.swift Update API 2026-04-16 01:18:22 +02:00
StickerManagement.swift Refactor constructor use sites for types 500-519 to struct pattern 2026-01-19 00:06:07 +08:00
SynchronizeAppLogEventsOperation.swift Postbox refactor waves 278-356: squash 2026-05-05 14:11:06 +02:00
SynchronizeAutosaveItemOperations.swift
SynchronizeChatInputStateOperation.swift
SynchronizeConsumeMessageContentsOperation.swift
SynchronizeEmojiKeywordsOperation.swift
SynchronizeGroupedPeersOperation.swift
SynchronizeInstalledStickerPacksOperation.swift
SynchronizeLocalizationUpdatesOperation.swift
SynchronizeMarkAllUnseenPersonalMessagesOperation.swift Unseen polls 2026-03-27 18:30:01 +08:00
SynchronizePeerReadState.swift Refactor constructor use sites for types 560-579 to struct pattern 2026-01-19 00:40:53 +08:00
SynchronizeRecentlyUsedMediaOperations.swift
SynchronizeSavedGifsOperation.swift Serialization update 2025-02-14 19:11:58 +04:00
SynchronizeSavedStickersOperation.swift Refactor constructor use sites for types 500-519 to struct pattern 2026-01-19 00:06:07 +08:00
UnauthorizedAccountStateManager.swift Refactor constructor use sites for types 340-359 to struct pattern 2026-01-18 22:21:57 +08:00
UpdateGroup.swift Refactor constructor use sites for types 340-359 to struct pattern 2026-01-18 22:21:57 +08:00
UpdateMessageService.swift Update API 2026-04-16 01:18:22 +02:00
UpdatesApiUtils.swift Update API 2026-03-08 08:49:21 +01:00
UserLimitsConfiguration.swift Various improvements 2026-04-24 23:21:05 +04:00