isaac and Claude 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
isaac and Claude Opus 4.7
8408e0ae19
Postbox -> TelegramEngine waves 27-36
...
Consumer-sweep, facade-addition, and Peer→EnginePeer migrations:
- Wave 27: preferencesView consumer sweep
- Wave 28: resourceData consumer sweep
- Wave 29: resourceStatus consumer sweep
- Wave 30: _asStatus() bridge cleanup
- Wave 31: unused-import sweep re-run
- Wave 32: resourceStatus residue sweep
- Wave 33: loadedPeerWithId consumer sweep
- Wave 34: FoundPeer.peer Peer -> EnginePeer
- Wave 35: SendAsPeer.peer Peer -> EnginePeer
- Wave 36: ContactListPeer.peer Peer -> EnginePeer
Also includes per-wave specs, implementation plans, outcome logs, and
a CLAUDE.md wave-counter update.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-24 11:24:13 +04:00
Ilya Laktyushin
e17c7d9859
Update API
2026-02-05 17:27:47 +04:00
Isaac and Claude Opus 4.5
50c5cc9616
Refactor constructor use sites for types 560-579 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-19 00:40:53 +08:00
Isaac and Claude Opus 4.5
bb7e1ae300
Refactor constructor use sites for types 540-559 to struct pattern
...
Migrated Api.phone.*, Api.photos.*, Api.stats.*, Api.premium.* constructors
to use struct-wrapped enum pattern with --struct-count=560.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-19 00:28:21 +08:00
Isaac and Claude Opus 4.5
9b71eb0f8f
Refactor constructor use sites for types 340-359 to struct pattern
...
Updates TelegramCore to work with --struct-count=360. This batch includes
story types, update types, user types, theme types, and various other
constructors in the 340-359 type range.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 22:21:57 +08:00
Isaac and Claude Opus 4.5
e68bdc05ca
Refactor Api types 150-179 to use struct-wrapped constructors
...
- Update pattern matches to use struct-based extraction for inputPeer*,
inputMedia*, inputReplyTo*, inputSticker*, inputPhoto, inputUser, etc.
- Wrap constructor calls with .init() for struct-wrapped enum cases
- 47 TelegramCore source files modified
- 5 TelegramApi files regenerated with --struct-count=180
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 15:18:11 +08:00
Isaac and Claude Opus 4.5
33a0d9e62c
Refactor Api types 120-149 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 03:00:59 +08:00
Isaac and Claude Opus 4.5
6b2c0f9c53
Refactor constructor use sites for types 100-119 to struct pattern
...
Migrated 22 constructors: fileHash, folder, folderPeer, forumTopic,
forumTopicDeleted, foundStory, game, geoPoint, geoPointAddress,
globalPrivacySettings, groupCall, groupCallDiscarded, groupCallDonor,
groupCallMessage, groupCallParticipant, groupCallParticipantVideo,
groupCallParticipantVideoSourceGroup, groupCallStreamChannel,
highScore, importedContact, inlineBotSwitchPM, inlineBotWebView
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 02:41:47 +08:00
Isaac and Claude Opus 4.5
a78b2c0db2
Refactor Api types 70-89 to use struct-wrapped constructors
...
Types refactored:
- 70-79: contactStatus, dataJSON, dcOption, defaultHistoryTTL, dialog,
dialogFolder, dialogFilter, dialogFilterChatlist, dialogFilterSuggested,
dialogPeer, dialogPeerFolder, disallowedGiftsSettings, document, documentEmpty
- 80-89: documentAttribute* (Audio, CustomEmoji, Filename, ImageSize, Sticker, Video),
draftMessage, draftMessageEmpty, emailVerification* (Apple, Code, Google),
emailVerifyPurposeLoginSetup, emoji* (Group, GroupGreeting, GroupPremium,
Keyword, KeywordDeleted, KeywordsDifference, Language, List, Status,
StatusCollectible), inputEmojiStatusCollectible
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 02:12:20 +08:00
Isaac and Claude Opus 4.5
68d60d34dc
Refactor Api types 43-52 to use struct-wrapped constructors
...
Also adds -warnings-as-errors to TelegramCore Package.swift
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 00:33:37 +08:00
Isaac
4d184eb9fa
Fix stars settings
2025-11-14 17:27:08 +08:00
Isaac
3d51d83e89
Stories
2025-11-11 18:07:34 +08:00
Isaac
4853623813
Stories
2025-11-07 22:54:56 +08:00
Isaac
6ea1d44e94
Stories
2025-11-07 18:59:29 +08:00
Isaac
4616f0833c
Stories
2025-11-07 18:08:34 +08:00
Isaac
99430812c1
Stories
2025-11-06 23:16:55 +04:00
Isaac
3ab4850306
Updates [skip ci]
2025-11-04 11:35:11 +04:00
Isaac
e09b241a9b
Updates
2025-11-04 00:56:08 +04:00
Isaac
5145b9e605
Stories
2025-10-31 17:51:37 +04:00
Isaac
7be3a0ce81
Update
2025-10-31 12:00:34 +04:00
Isaac
aa59524a09
Stories
2025-10-28 15:44:44 +04:00
Isaac
aa637d96d7
Stories
2025-10-28 12:41:50 +04:00
Isaac
84171b89f4
Update
2025-10-27 00:22:14 +04:00
Isaac
c880397eca
Stories
2025-10-26 22:05:58 +04:00
Isaac
fcdfd8e00f
Updates
2025-10-24 20:09:32 +04:00
Isaac
5633833085
Update
2025-10-24 16:03:43 +04:00
Isaac
1967e1e273
Update
2025-10-24 13:34:55 +04:00
Isaac
e44bd4d858
Story updates
2025-10-21 18:28:45 +04:00
Isaac
bcc1213db2
Update
2025-10-18 02:55:47 +08:00
Isaac
abe3a01668
Update
2025-10-18 02:35:58 +08:00
Isaac
0619f73819
Updates
2025-10-18 02:00:35 +08:00
Isaac
7e3abe798f
Update
2025-10-17 23:51:58 +08:00
Isaac
f468cea13c
Update API
2025-10-15 17:06:40 +08:00
Isaac
b9b38e5fbf
Various improvements
2025-10-11 00:56:21 +08:00
Ilya Laktyushin
56ea340e8a
Various improvements
2025-09-29 20:07:44 +04:00
Ilya Laktyushin
c7f607865a
Various improvements
2025-09-28 20:04:45 +04:00
Ilya Laktyushin
6d59a6394a
Various fixes
2025-09-28 03:01:43 +04:00
Ilya Laktyushin
2aa0a8b4a9
Update API
2025-09-27 02:03:07 +04:00
Ilya Laktyushin
92a7157a70
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
2025-09-27 01:28:34 +04:00
Ilya Laktyushin
4657ac752d
Various improvements
2025-09-27 01:27:56 +04:00
Isaac
e3f7405fae
Update API
2025-09-26 21:06:43 +08:00
Isaac
8c89dccf39
Update API
2025-09-26 20:05:27 +08:00
Ilya Laktyushin
7dfd3b1d87
Various improvements
2025-09-26 01:30:15 +04:00
Ilya Laktyushin
400a67e240
Various improvements
2025-09-22 18:56:39 +04:00
Ilya Laktyushin
4b8d87b05f
Merge commit '202274073fa5df7a5fbaa4621e3da054a1a0284b' into call-messages
2025-09-17 22:05:40 +04:00
Ilya Laktyushin
cb523192d5
Various improvements
2025-09-17 20:58:42 +04:00
Isaac
3e6c432511
Cherry-pick group call messages
2025-09-12 11:06:40 +02:00
Isaac
e0d511165c
Fix call messages
2025-09-12 11:02:05 +02:00
Isaac
a257009780
Update api and call messages
2025-09-12 10:56:05 +02:00