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
|
a60a437206
|
Various improvements
|
2025-08-22 21:46:07 +04:00 |
|
Ilya Laktyushin
|
c5ed3139b7
|
Merge commit 'eabf0985ef'
|
2025-03-12 21:59:51 +04:00 |
|
Ilya Laktyushin
|
5ee53ad996
|
Various fixes
|
2025-03-12 00:40:11 +04:00 |
|
Ilya Laktyushin
|
80cd8f7b32
|
Various improvements
|
2025-03-11 06:49:43 +04:00 |
|
Ilya Laktyushin
|
2ecbaf4507
|
Various improvements
|
2025-03-10 15:32:15 +04:00 |
|
Ilya Laktyushin
|
a2ff1313ca
|
Gift improvements
|
2024-10-01 17:32:43 +04:00 |
|
Isaac
|
923587b0da
|
[WIP] Dynamic video streaming
|
2024-09-18 01:04:29 +08:00 |
|
Ilya Laktyushin
|
5941becc33
|
Stars giveaways [skip ci]
|
2024-08-23 18:44:16 +04:00 |
|
Ilya Laktyushin
|
4216ee3933
|
Various improvements
|
2024-07-13 18:13:58 +04:00 |
|
Ilya Laktyushin
|
641d5d7c8b
|
Update IAP
|
2024-07-09 18:11:10 +04:00 |
|
Ilya Laktyushin
|
3f1bc2b21b
|
Update IAP
|
2024-07-08 18:00:41 +04:00 |
|
Ilya Laktyushin
|
51b262afac
|
Various improvements
|
2024-05-28 13:06:02 +04:00 |
|
Ilya Laktyushin
|
68ea9397eb
|
Update API [skip ci]
|
2024-05-17 12:13:40 +04:00 |
|
Ilya Laktyushin
|
62ff5b04ec
|
Update API
|
2024-05-16 18:57:35 +04:00 |
|
Ilya Laktyushin
|
f02722c954
|
Various fixes
|
2024-01-04 17:15:12 +04:00 |
|
Ilya Laktyushin
|
624f2d8e84
|
Various improvements
|
2023-12-11 14:26:22 +04:00 |
|
Ilya Laktyushin
|
ee8b068355
|
Update API
|
2023-12-06 00:23:48 +04:00 |
|
Ali
|
a6e5098be0
|
Support the thread-quote special case
|
2023-10-25 17:59:55 +04:00 |
|
Ilya Laktyushin
|
b80f2636d6
|
Various improvements
|
2023-10-12 14:02:36 +04:00 |
|
Ilya Laktyushin
|
713336a13f
|
Giveaway improvements
|
2023-10-08 14:12:39 +04:00 |
|
Ilya Laktyushin
|
4270261dd6
|
Channel premium gifts
|
2023-09-29 13:23:14 +04:00 |
|
Ali
|
b7fbcbf118
|
Upgrade to iOS 12
|
2023-09-23 12:38:29 +04:00 |
|
Ali
|
6e3cc4a6e9
|
Refactoring
|
2023-04-17 20:21:14 +04:00 |
|
Ilya Laktyushin
|
78b02192cf
|
Various improvements
|
2023-02-06 18:28:18 +04:00 |
|
Ilya Laktyushin
|
bf94ea75e9
|
Various fixes
|
2023-02-06 00:55:17 +04:00 |
|
Ilya Laktyushin
|
58c532b51e
|
Various improvements
|
2023-01-21 15:56:57 +04:00 |
|
Ilya Laktyushin
|
e15dca9bcc
|
Various fixes
|
2022-08-29 05:25:29 +02:00 |
|
Ilya Laktyushin
|
bb06841df3
|
Various improvements
|
2022-08-28 15:07:00 +02:00 |
|
Ilya Laktyushin
|
06d97d2f4d
|
Various fixes
|
2022-08-16 16:35:55 +03:00 |
|
Ilya Laktyushin
|
4629b403cc
|
Various improvements
|
2022-08-10 14:52:24 +03:00 |
|
Ilya Laktyushin
|
53085d396e
|
Fix decimal rounding
|
2022-07-26 02:55:07 +03:00 |
|
Ilya Laktyushin
|
9a115af042
|
Various improvements
|
2022-07-13 12:15:10 +02:00 |
|
Ilya Laktyushin
|
100be3217f
|
Update API
|
2022-07-01 23:00:26 +03:00 |
|
Ilya Laktyushin
|
f288fe8eda
|
Update API
|
2022-06-30 16:44:44 +03:00 |
|
Ilya Laktyushin
|
1c07c18f15
|
Various improvements
|
2022-06-24 20:22:28 +05:00 |
|
Ilya Laktyushin
|
699f709f2e
|
Various fixes
|
2022-06-21 22:33:52 +05:00 |
|
Ilya Laktyushin
|
0788e34625
|
Various improvements
|
2022-06-11 15:55:01 +04:00 |
|
Ilya Laktyushin
|
eaf6a69cfb
|
Various fixes
|
2022-06-11 14:38:44 +04:00 |
|
Ilya Laktyushin
|
fbccdd47df
|
Various improvements
|
2022-06-11 09:10:01 +04:00 |
|
Ilya Laktyushin
|
8feb813698
|
Various improvements
|
2022-06-08 22:56:27 +04:00 |
|
Ilya Laktyushin
|
3e8e152ca5
|
Various fixes
|
2022-06-08 20:25:57 +04:00 |
|
Ilya Laktyushin
|
c5b8b6392d
|
Various fixes
|
2022-06-08 00:33:01 +04:00 |
|
Ilya Laktyushin
|
3abd6dec78
|
Various improvements
|
2022-06-07 22:12:20 +04:00 |
|
Ilya Laktyushin
|
57e7e6906b
|
Various improvements
|
2022-06-07 15:58:56 +04:00 |
|
Ilya Laktyushin
|
debbe67e5a
|
Various improvements
|
2022-06-06 02:50:22 +04:00 |
|
Ilya Laktyushin
|
035ab8d2cb
|
Various improvements
|
2022-06-06 00:39:32 +04:00 |
|
Ilya Laktyushin
|
0b781d977e
|
Various improvements
|
2022-06-03 21:16:22 +04:00 |
|
Ilya Laktyushin
|
f7ec8a0bf2
|
Various improvements
|
2022-05-26 03:05:10 +04:00 |
|
Ilya Laktyushin
|
fcd43ff537
|
Various improvements
|
2022-05-15 19:43:19 +04:00 |
|