Commit graph

36 commits

Author SHA1 Message Date
Ilya Laktyushin
e0f4655cc5 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-05-29 09:24:16 +02:00
isaac
b8ee5493d9 Postbox refactor waves 427-437: combinedView → engine.data migrations
Squashed batch of 14 consumer-side migrations from Postbox
combinedView/subscribe patterns to TelegramEngine.data.subscribe /
.get, plus two engine-data-item additions.

- Wave 427: DataAndStorageSettingsController preferences subscribe
- Wave 428: SaveIncomingMediaController inner preferences subscribe
- Wave 429: SaveIncomingMediaController top-level preferences subscribe
- Wave 430 (reverted + retried as 430-retry):
    initial TabBarChatListFilterController globalNotifications attempt
    landed and was reverted; replaced by ChatControllerContentData
    messageAndTopic collapse via additive Messages.MessageCount
    handleThreads/namespace parameter
- Wave 431: ChatControllerContentData savedMessagesPeer collapse via
    new Peer.MainPeer(id:) engine data item
- Wave 432 (+ followup): 6 messageHistoryThreadInfo sites to
    Messages.ThreadInfo
- Wave 433: ChatListController cachedPeerData → engine.data.get
- Wave 434: 8 orderedItemList sites to Collections.Featured*Packs
- Wave 435: StorageUsageExceptionsScreen preferences combinedView
- Wave 436: FeaturedStickersScreen 2 itemCollectionInfos sites
- Wave 437: extends Messages.PeerUnreadCount with handleThreads
    parameter + migrates AccountContext unreadCount site
2026-05-20 00:18:15 +08:00
Ilya Laktyushin
91eb779ae2 Merge commit 'c64653ed37' 2026-05-14 12:45:26 +02:00
isaac
4107263747 Postbox refactor waves 358-426
Squashed range bf01b4c..a66739c (70 commits) covering 69 waves of the
Postbox -> TelegramEngine consumer migration plus a few BUILD-dep
followups.

Notable additions to TelegramCore in this range:
- Engine typealiases: EngineRawPeerPresence, EngineRawValueBoxKey,
  EngineSimpleDictionary, EngineRawPeerView, EngineRawPostboxViewKey,
  EngineRawPreferencesView, EngineRawMessageHistoryView (+ entry/attrs/
  read-state), EngineMessageIdNamespaces, EngineHistoryViewInputAnchor,
  EngineRawUnreadMessageCountsItem, EngineRawMessageHistorySavedMessages
  IndexView, EngineRawChatInterfaceStateView, EngineRawOrderedItemList
  View, EngineRawMessageHistoryThreadIndexView, EngineRawCombinedRead
  StateView, EngineRawMessageHistoryThreadInfoView, EngineRawBasicPeer
  View, EngineRawCachedPeerDataView, EngineMessageHistoryThreadData,
  EngineViewUpdateType, EngineInitialMessageHistoryData,
  EnginePeerGroupId, EngineChatLocationInput, EngineHistoryViewInputTag.
- Engine data items: Peer.CachedData, ItemCollections.InstalledPackInfos,
  ItemCollections.InstalledPackIds.
- Engine facade: TelegramEngine.ItemCollections.allItems(namespace:).
- Free function: engineAreMediaArraysEqual forwarder.

Net effect: 65+ consumer modules drop "import Postbox"; 131 files
changed (+1386 / -1493). Build green at HEAD.
2026-05-07 07:36:30 +02:00
Ilya Laktyushin
7a7333edab Various improvements 2026-05-05 14:57:06 +02:00
isaac
511a58e51a Sticker pack improvements 2026-04-28 16:56:02 +04:00
Isaac
8edaa79eda Merge commit '23c4d94748' 2026-04-19 23:54:22 +02:00
Isaac
7b2b74e79b Postbox -> TelegramEngine wave 6: unused import Postbox batch sweep
First build-verified unused-import sweep: speculatively dropped
import Postbox from 782 consumer files (plain ^import Postbox$ lines,
excluding TelegramCore/Postbox/TelegramApi paths), iterated 18 full
project builds with --continueOnError, restored the import on every
file that failed to compile. 183 drops survived; 189 consumer modules
newly Postbox-free.

Bundled: spec + plan + C1 atomic batch drop + C2 CLAUDE.md outcome and
permanent methodology guidance under Wave-selection. The methodology
subsection captures the reusable playbook (--continueOnError is
essential, dependency graphs are deep so expect many iterations,
pattern-based preemptive restores accelerate convergence, and
CLAUDE.md's engine typealias cheat sheet arrows are migration targets
rather than typealiases in TelegramCore).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 23:46:13 +02:00
Ilya Laktyushin
b138b9f549 Stickers & emoji search pagination 2026-04-19 18:32:40 +02:00
Ilya Laktyushin
d9d1210c1d Various improvements 2026-02-19 21:53:26 +04:00
Isaac
2db08cde89 Glass 2026-01-13 19:21:49 +04:00
Isaac
3486393f99 Glass 2025-12-20 03:02:08 +08:00
Isaac
a63c90aa00 Glass 2025-12-12 23:58:00 +08:00
Isaac
0055396d4d Update 2025-11-26 23:05:30 +08:00
Isaac
faa765b601 Various optimizations 2025-03-04 14:13:07 +01:00
Isaac
6c4070eb52 Serialization update 2025-02-14 19:11:58 +04:00
Ilya Laktyushin
5451053195 Various improvements 2024-12-22 17:16:14 +04:00
Ilya Laktyushin
c4013c3df6 Various improvements 2024-11-29 00:28:50 +04:00
Ilya Laktyushin
3bdcb7f223 [WIP] Sticker editor 2024-03-09 03:19:31 +04:00
Ilya Laktyushin
b91f49d1cf Various fixes 2023-11-10 22:54:08 +04:00
Ali
4330dc14d2 [WIP] Disposable debugging 2023-09-16 11:45:30 +02:00
Ilya Laktyushin
6c7b921030 Fix stickers search 2023-07-12 20:17:01 +02:00
Ilya Laktyushin
f319c0fe76 Various fixes 2023-06-25 06:58:56 +02:00
Ilya Laktyushin
c1c2db4777 Various fixes 2023-06-24 18:45:52 +02:00
Ilya Laktyushin
9368d93053 Stories improvements 2023-06-24 00:21:45 +04:00
Ilya Laktyushin
09e2e5bdc2 Story caption improvements 2023-06-20 18:05:20 +04:00
Ali
e8dab90584 [WIP] Stories 2023-05-10 00:36:37 +04:00
Ilya Laktyushin
fcadacbd15 Premium gifting in attach menu 2023-03-06 14:24:39 +04:00
Ali
04d97739cd UI improvements 2023-03-02 16:24:52 +04:00
Ilya Laktyushin
f8ab3d037e Various fixes 2023-02-21 20:07:36 +04:00
Ali
b324029366 Energy settings 2023-02-14 23:12:59 +04:00
Ali
b3140ffed9 Add emoji search result cache 2023-01-27 14:06:44 +01:00
Ali
b92d21f9d7 Emoji UI improvements 2023-01-24 14:25:26 +01:00
Ali
55d076a494 UI improvements 2023-01-22 00:01:06 +04:00
Ilya Laktyushin
d6436fd14c Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2022-12-17 16:09:34 +04:00
Ilya Laktyushin
77df1cf45a Various improvements 2022-12-17 15:35:00 +04:00