isaac
|
d1aa0db537
|
Postbox -> TelegramEngine waves 46-93 (squashed)
Squash of 63 commits spanning waves 46-93 (plus interspersed docs commits)
of the gradual Postbox->TelegramEngine consumer-side migration.
Scope: 139 files changed, 2123 insertions(+), 452 deletions(-).
## Themes by wave-block
**Waves 46-58 — Peer field migrations + facade additions**
Foundational EnginePeer convenience init additions (PeerReference, RenderedPeer,
SelectivePrivacyPeer). Multiple `peer: Peer` field migrations across PeerInfo,
ChatList, and SettingsUI components.
**Waves 59-73 — peer field cascade + EnginePeer wrap drops**
Series of single- to two-file peer-field migrations; consumer-side wrap
removal (`EnginePeer(peer)` -> direct EnginePeer use); `as? TelegramUser`
cast conversion to `case let .user(...)` enum match. Wave 64: RenderedPeer
convenience init. Wave 68: SelectivePrivacyPeer convenience init.
**Waves 74-83 — controller-Node bridge cleanup + small migrations**
Wave-71 shadow-pattern cleanup at controller->Node bridges. Migrations of
ChatRecentActionsController.peer (74), PeerInfoMember (75), MentionChatInputPanelItem
(76), PassportUI SecureIdAuthController (77), AccountWithInfo + ShareController
(78), peerInputActivitiesPromise (79), InactiveChannel (80), BlockedPeers (81),
openHashtag resolveSignal (82), NotificationExceptionsList (83).
**Waves 84-90 — TelegramEngine.Resources facade migrations**
Per-method Shape-A/B sweeps converting `<ctx>.account.postbox.mediaBox.X(...)`
to `<ctx>.engine.resources.X(...)`. Wave 90 was a single-commit big sweep:
40 fetchedMediaResource sites in 25 files migrated to engine.resources.fetch
facade in one atomic pass with first-pass-clean build.
Methods covered: storeResourceData, completedResourcePath, cancelInteractiveResourceFetch,
resourceRangesStatus, resourceStatus, fetch (fetchedMediaResource).
**Waves 91-92 — additional type migrations**
Wave 91: ItemListWebsiteItem.peer + RecentSessionsController enum-case payload
+ openWebSession callback Peer? -> EnginePeer?.
Wave 92: ChatListController StateHolder.EntryContext status type
MediaResourceStatus -> EngineMediaResource.FetchStatus.
**Wave 93 — speculative `import Postbox` drop sweep**
Drop import from 7 wave-touched files where it became unused; restore in 5
files where bare PeerId/Message/MediaId/StoryId references escaped the
pre-flight regex. Includes one MediaId(...) -> EngineMedia.Id(...) swap in
InAppPurchaseManager to unlock its import drop.
## Build state
Final state at squash: clean Telegram/Telegram build at debug_sim_arm64.
## Persistent-state notes
- Pre-existing WIP unchanged across the squashed range:
- build-system/bazel-rules/sourcekit-bazel-bsp submodule marker
- Untracked: build-system/tulsi/, submodules/TgVoip/, third-party/libx264/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-25 20:48:15 +04:00 |
|
Ilya Laktyushin
|
a0e96582dd
|
Update API [skip ci]
|
2025-09-19 12:20:21 +04:00 |
|
Ilya Laktyushin
|
41ae916106
|
Various improvements
|
2025-06-08 18:28:49 +02:00 |
|
Isaac
|
5d2b252850
|
Monoforums
|
2025-05-27 02:19:48 +08:00 |
|
Isaac
|
60f2b98ee8
|
Monoforums
|
2025-05-26 23:38:55 +08:00 |
|
Isaac
|
0e119dd6f1
|
[WIP] Monoforums
|
2025-05-08 20:56:55 +01:00 |
|
Ilya Laktyushin
|
fdb4b80e27
|
Various improvements
|
2024-12-06 09:31:49 +04:00 |
|
Isaac
|
835ea7358b
|
Stars ref
|
2024-11-29 20:20:26 +04:00 |
|
Isaac
|
be83150aba
|
[WIP] Star refs
|
2024-11-28 16:13:06 +04:00 |
|
Ilya Laktyushin
|
5941becc33
|
Stars giveaways [skip ci]
|
2024-08-23 18:44:16 +04:00 |
|
Ilya Laktyushin
|
ec0f8028aa
|
Various improvements
|
2023-10-18 03:34:47 +04:00 |
|
Ali
|
77a5857a25
|
Sharing refactoring
|
2023-08-15 23:57:04 +04:00 |
|
Ilya Laktyushin
|
709acb3739
|
Various improvements
|
2023-07-21 20:22:18 +02:00 |
|
Ilya Laktyushin
|
85408023ab
|
Fix forum & topics notification settings
|
2023-03-24 16:26:59 +04:00 |
|
Ilya Laktyushin
|
ad0fe38ba7
|
Various improvements
|
2023-01-23 15:48:57 +04:00 |
|
Ali
|
45ff6ba714
|
Storage calculation
|
2022-12-20 21:26:55 +04:00 |
|
Ali
|
614c74b0b0
|
[WIP] Modern cache
|
2022-12-17 00:17:31 +04:00 |
|
Ilya Laktyushin
|
5788f4a1ac
|
Custom contact photos [skip ci]
|
2022-12-06 16:03:53 +04:00 |
|
Ali
|
f07c30bd5b
|
Make DrawingContext initializer failable
|
2022-11-15 13:40:31 +04:00 |
|
Ali
|
45e50a68d7
|
Topic improvements
|
2022-11-08 11:14:41 +04:00 |
|
Ali
|
b5a59ba488
|
[WIP] Topics
|
2022-10-01 00:08:07 +02:00 |
|
Ali
|
3eead87254
|
Refactoring
|
2021-09-23 18:59:10 +03:00 |
|
Ali
|
2d66131682
|
Refactoring
|
2021-08-04 01:30:57 +02:00 |
|
Ali
|
1a04fb4408
|
Refactor SyncCore back into TelegramCore
|
2021-07-21 21:43:20 +02:00 |
|
Ilya Laktyushin
|
0ed2c8067e
|
Various Fixes
|
2021-06-22 19:17:41 +04:00 |
|
Ali
|
0f9648fb6c
|
Optimize image drawing
|
2021-06-16 22:35:34 +04:00 |
|
Ali
|
3b621f0075
|
Combo update
|
2021-06-10 01:15:00 +04:00 |
|
Ilya Laktyushin
|
fe31bcdf26
|
Video Chat Improvements
|
2021-05-24 15:31:19 +04:00 |
|
Ilya Laktyushin
|
4efe0468c5
|
Video Chat Improvements
|
2021-05-22 13:48:04 +04:00 |
|
Ilya Laktyushin
|
659ea466c9
|
Video Chat Improvements
|
2021-05-21 16:02:08 +04:00 |
|
Ilya Laktyushin
|
d956de870c
|
Video Chat Improvements
|
2021-05-20 19:22:25 +04:00 |
|
Ali
|
524d207eef
|
Fix min-avatars
|
2021-03-29 22:03:03 +04:00 |
|
Ali
|
c2a357a9d6
|
Demo
|
2021-03-19 19:34:01 +04:00 |
|
Ali
|
26dd9b05dc
|
Demo
|
2021-03-17 12:03:43 +04:00 |
|
Ilya Laktyushin
|
025b09b8c0
|
Voice Chats Improvements
|
2021-03-03 06:02:28 +04:00 |
|
Ali
|
d6188e2124
|
Temporary
|
2020-02-10 18:03:13 +01:00 |
|
Ali
|
8afd80c31d
|
Basic implementation of the redesigned profiles
|
2020-02-01 00:15:18 +04:00 |
|
Ali
|
b87c84a17d
|
Updated polls
|
2020-01-08 00:53:20 +04:00 |
|
Ilya Laktyushin
|
279b1304c7
|
Restore iOS 13 features commit
|
2019-10-23 16:42:40 +04:00 |
|
Peter
|
10692a323e
|
Refactor SyncCore
|
2019-10-21 16:58:00 +04:00 |
|
Ilya Laktyushin
|
dd04bdb4e2
|
Various UI fixes
|
2019-08-25 21:46:01 +03:00 |
|
Peter
|
9ac37c00c0
|
Refactor more modules
|
2019-08-05 15:04:45 +03:00 |
|