Commit graph

37 commits

Author SHA1 Message Date
isaac
b20cd3502b Postbox -> TelegramEngine waves 11-14: stateManager collapse + BUILD-dep sweep
Wave 11: ActionSheetPeerItem de-Postboxed. Revisits wave-1 abandonment.
`postbox: Postbox, network: Network` init params collapse to
`stateManager: AccountStateManager`; avatar setPeer call routes via
`item.stateManager.postbox` / `.network`. Module never names Postbox.
Sole caller (ShareController.swift:1146) migrated in place.

Wave 12: HorizontalPeerItem de-Postboxed (same pattern). Ripples the
collapse up into ChatListSearchRecentPeersNode's public init
(`postbox:/network:` -> `stateManager:`). That module still imports
Postbox for PostboxViewKey/UnreadMessageCountsView internals but its
public surface simplifies. 3 external caller sites migrated.

Wave 13: AttachmentTextInputPanelNode minor cleanup. Module was already
Postbox-free at source level (wave 6) but carried a dead BUILD dep and
had 2 raw `peerId?.namespace == Namespaces.Peer.SecretChat` checks.
Both now use existing `PeerId.isSecretChat` extension in TelegramCore.

Wave 14: BUILD-dep sweep mirroring wave 6's source sweep. 98 modules
had `//submodules/Postbox:Postbox` (or `//submodules/Postbox`) BUILD
deps despite no source file importing Postbox since wave 6. Single
iteration, zero restores -- Bazel Swift requires source-level `import`
for symbol resolution, so redundant BUILD deps are pure metadata.

Net: 110 files, +116/-149. Build verified green (debug_sim_arm64).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 20:26:58 +02:00
Ilya Laktyushin
2bba31bcdf Alerts 2025-12-22 23:28:04 +04:00
Ilya Laktyushin
0915a42e64 Various improvements 2025-10-16 05:30:06 +04:00
Ilya Laktyushin
df505a7b62 Various improvements 2023-10-22 13:52:38 +04:00
Ali
e316f0521b Reorder audio playback initialization, add play(mixWithOthers:) mode 2023-07-03 18:46:18 +02:00
Ali
6a548e11a6 Refactoring [skip ci] 2023-04-19 23:47:38 +04:00
Ali
dfdde96d63 Folder updates 2023-03-31 19:28:06 +04:00
Ali
0ed361e34c Notification sound file reference revalidation 2022-04-21 00:19:05 +04:00
Ali
b6530a9a20 Hint as mp3 2022-04-20 21:29:47 +04:00
Ali
333d34e4b7 Preload sounds 2022-04-20 20:07:54 +04:00
Ali
c7c24a6c60 Make all sounds cloud 2022-04-08 00:17:15 +04:00
Ali
3010d8e045 Pre-release improvements 2022-04-05 19:05:36 +04:00
Ali
ac93545965 Notification improvements 2022-04-03 23:23:15 +04:00
Ali
957ec609d0 Cleanup 2022-04-02 14:39:07 +04:00
Ali
9da972bea3 Fix iCloud downloads 2022-04-01 23:40:42 +04:00
Ali
e93bc2efab Pre-release improvements 2022-04-01 17:25:59 +04:00
Ali
eb9ff7beda Notification sound updates 2022-03-31 23:49:52 +04:00
Ali
f45de2d44f Notification sounds update 2022-03-31 01:19:30 +04:00
Ali
235302c7c4 Peer sound and message removal update 2022-03-30 01:22:44 +04:00
Ali
6e5c503338 Refactoring 2021-09-20 14:51:46 +03:00
Ilya Laktyushin
79ecba19b0 Chat-specific theme improvements 2021-09-04 00:39:56 +03:00
Ali
31bc746984 Fix more warnings 2021-08-05 01:42:59 +02:00
Ilya Laktyushin
c9d4c266dd Various Fixes 2021-07-25 13:01:18 +03:00
Ali
1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ali
2805b1715c Cleanup 2020-12-17 16:36:55 +04:00
Ali
f57d6b6168 Temp 2020-02-20 18:08:36 +04:00
Ali
e2071301c2 User Info screen 2020-02-07 14:23:25 +00:00
Ali
eaa8bcb08e Support Dynamic Type 2019-11-19 23:28:36 +04:00
Peter
10692a323e Refactor SyncCore 2019-10-21 16:58:00 +04:00
Peter
d2c54825f0 Refactor wallet-related modules 2019-10-08 14:30:24 +04:00
Peter
5fed1fbeb1 Temp 2019-10-07 17:03:41 +04:00
Peter
36c82642d6 Fix ItemListController crash? 2019-10-06 04:25:10 +04:00
Peter
8181fbb1a6 Remove projects 2019-10-04 13:58:00 +04:00
Ilya Laktyushin
f01d5d1546 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2019-09-07 11:18:28 +03:00
Peter
9a055b4832 Temp 2019-08-31 02:09:09 +04:00
Peter
e34bf0680a Temp 2019-08-27 00:44:36 +04:00
Peter
b6316ab12c Refactor PeerInfoUI and related modules 2019-08-15 14:12:19 +03:00