44 Commits

Author SHA1 Message Date
isaac 2ac8a490b0 Postbox -> TelegramEngine waves 94-102 (squashed)
Adds AccountManagerResources facade in TelegramCore mirroring
TelegramEngine.Resources, drains the entire accountManager-side
mediaBox refactor across consumer modules, and validates the
Shape-C/D handle-migration pattern (account: Account ->
engine: TelegramEngine) on three classes.

Wave 94 (AccountManagerResources facade + 8 sites): new
AccountManagerResources class in TelegramCore with
storeResourceData, completedResourcePath (resource + id overloads),
status (with approximateSynchronousValue), moveResourceData,
fetch. Migrate EditThemeController (5 storeResourceData + 2
completedResourcePath) and WebBrowserSettingsController (1
storeResourceData).

Wave 95 (10 sites): WallpaperUtils.swift sweep, 5 distinct
storeResourceData patterns, replace_all on the two repeated ones.

Wave 96 (7 sites): theme controller triple — TPC (1 store + 2
moveResourceData), TPCN (1 status + 1 fetch + closure type
MediaResourceStatus -> EngineMediaResource.FetchStatus + rename
account local to engine), TAC (1 completedResourcePath + 1 store).

Wave 97 (9 sites): WallpaperGalleryController.swift, 4
completedResourcePath + 5 storeResourceData via replace_all.

Wave 98 (2 files): WallpaperGallery status-type cascade
Promise<MediaResourceStatus> -> Promise<EngineMediaResource.FetchStatus>
across WallpaperGalleryItem.swift + WallpaperGalleryController.swift.
Drops cosmetic `_asStatus()` unwrap.

Wave 99 (2 facade extensions + 7 sites): adds
AccountManagerResources.data() and approximateSynchronousValue
to engine.resources.status(). Migrates OpenResolvedUrl (data +
storeResourceData with .complete -> .isComplete cascade),
SettingsThemeWallpaperNode (paired engine + accountManager
status), WallpaperUploadManager, OpenChatMessage,
LiveChatReactionStreamView.

Wave 100 (Shape-C/D, free function): legacyWebSearchItem
account: Account -> engine: TelegramEngine. 4 files.

Wave 101 (Shape-C/D, small class): VerticalListContextResults
ChatInputPanelItem stored field migration. 2 files. Drops
`|> map(EngineMediaResource.FetchStatus.init)` redundancy.

Wave 102 (Shape-C/D, medium class with weak-context retention):
SharedMediaPlayer account: Account -> engine: TelegramEngine.
Engine field is intentionally a strong handle since the class
stores context as `weak var`. 2 files.

After this squash the accountManager-side mediaBox refactor is
essentially complete; only Postbox-protocol-blocked
cachedResourceRepresentation triple remains as the foundational
deferred item.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 02:46:44 +04:00
Isaac 9a4327116d Refactor 2026-03-10 00:38:36 +01:00
Ilya Laktyushin 5451053195 Various improvements 2024-12-22 17:16:14 +04:00
Isaac 8736981248 Message effects improvements 2024-05-13 20:14:15 +04:00
Ilya Laktyushin b71304a3d2 GIFs in media editor
Image search in media editor
2023-08-07 08:38:02 +02:00
Ilya Laktyushin 53d1cb856a Bot apps implementation 2023-02-28 23:25:35 +04:00
Ilya Laktyushin 927f7786a0 Various improvements 2023-02-02 17:17:46 +04:00
Ilya Laktyushin 9937826307 Various fixes 2022-12-23 10:11:08 +04:00
Ilya Laktyushin ab9bb767c2 Various fixes 2022-11-27 16:17:22 +04:00
Ali 5eb4bbeaae Refactoring 2022-05-29 19:11:14 +04:00
Ali a183d69534 Refactoring 2022-05-29 02:09:25 +04:00
Ilya Laktyushin 43cb778ef5 Attachment menu improvements 2022-03-01 19:32:05 +04:00
Ilya Laktyushin b45afa9efc Attachment menu improvements 2022-02-27 18:07:08 +04:00
Ilya Laktyushin 7b8c90fbdc Attachment menu improvements 2022-02-27 04:07:09 +04:00
Ilya Laktyushin ec8702ed07 Attachment menu improvements 2022-02-26 17:48:25 +04:00
Ilya Laktyushin e70f17ff2d Attachment menu improvements 2022-02-22 05:28:00 +03:00
Ilya Laktyushin d811f5f160 Attachment menu improvements 2022-02-21 10:11:53 +03:00
Ilya Laktyushin 0cc01c5280 Various Improvements 2021-12-16 00:47:26 +04:00
Ali 51d8d56ec7 Refactoring & update Xcode 2021-09-26 01:05:20 +03:00
Ali 31bc746984 Fix more warnings 2021-08-05 01:42:59 +02:00
Ali 1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ali 7bed1728bb Refactor string generation 2021-07-20 11:57:50 +02:00
Ali d4572a9248 Refactoring 2021-07-18 01:03:43 +02:00
Ilya Laktyushin 4a853bf13d Add stickerpack strip expansion 2021-07-07 03:12:07 +03:00
Ali 99dc1a8743 Blur and background updates 2021-05-18 19:30:41 +04:00
Ilya Laktyushin e673a3153f Added list view accessibility scrolling localization 2021-02-19 20:27:25 +04:00
Ali 9b90e94ab8 Comment updates 2020-09-24 23:23:28 +04:00
Ilya Laktyushin e7b181e12a Photo editor fixes 2020-06-08 13:30:18 +03:00
Ilya Laktyushin 95d16d967a Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2020-06-05 18:47:36 +03:00
Ilya Laktyushin c2ab9b9caf Update gif provider attribution 2020-06-05 18:43:07 +03:00
Ali b9aeb28c0d UI fixes 2020-06-02 16:38:24 +04:00
Ali 4f9c73dc7a Local changes 2020-05-19 23:15:49 +04:00
Ali 0b6663fad5 Post-release bug fixes 2020-02-14 14:24:29 +01:00
Ali 8963691778 Initial support for gallery content transition rect 2019-12-20 20:25:15 +04:00
Ilya Laktyushin fedd9aca8d Location Picker fixes 2019-11-27 20:08:21 +04:00
Ilya Laktyushin b1602e651a Cleanup ListView layout animation duration and curve calculations 2019-11-20 07:25:59 +04:00
Peter 10692a323e Refactor SyncCore 2019-10-21 16:58:00 +04:00
Peter 284db5aba8 Use peer name localization 2019-10-11 16:05:35 +04:00
Ilya Laktyushin 91b9c28670 Message search improvements 2019-09-14 01:26:20 +03:00
Ilya Laktyushin f01d5d1546 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2019-09-07 11:18:28 +03:00
Ilya Laktyushin c8837e04f8 iOS 13 style segmented control
iPad UI improvements
2019-09-07 09:13:07 +03:00
Peter f1d1754aa5 Temp 2019-08-30 23:32:32 +04:00
Ilya Laktyushin cfb5d2027a Various UI fixes 2019-08-23 06:55:33 +03:00
Peter 5f95704684 Refactor LegacyMediaPickerUI and WebSearchUI [skip ci] 2019-08-15 02:09:45 +03:00