83f209e44a
chore: bump version to 1.2
2026-06-30 15:01:22 +03:00
PAVEL IVANOV
f6bb33d193
chore: prepare wintergram 1.1 release
2026-06-15 21:46:25 -07:00
c37205ebc7
chore: prerelease 0.1.0
2026-06-12 19:26:54 +03:00
Ilya Laktyushin
3e6363abf9
Various improvements
2026-05-28 16:50:05 +02:00
Ilya Laktyushin
91eb779ae2
Merge commit ' c64653ed37'
2026-05-14 12:45:26 +02:00
isaac
69bfc65da7
Postbox refactor waves 138–276: 168-commit squash
...
Consolidates 137 wave commits + 31 supporting commits (CLAUDE.md bump,
typealias additions, AnyObject→EngineMedia restoration) into one squashed
commit. Migrates dozens of consumer-side public APIs, struct fields,
protocol methods, and enum payloads from Postbox protocols/structs to
TelegramEngine engine wrappers and typealiases. Drops `import Postbox`
from many files. Adds new TelegramCore typealiases and one
TelegramEngineUnauthorized facade.
Notable changes by category:
**TelegramCore typealias additions** (rule 2 — narrow utility typealiases):
- EngineChatListIndex, EngineTempBoxFile, EngineItemCollectionItemIndex,
EngineItemCollectionViewEntryIndex, EngineValueBoxEncryptionParameters,
EngineMessageAndThreadId, EnginePeerStoryStats, EngineMessageHistoryAnchorIndex,
EngineChatListTotalUnreadStateCategory, EngineChatListTotalUnreadStateStats,
EnginePeerSummaryCounterTags, EngineChatListTotalUnreadState,
EngineItemCacheEntryId, EngineHashFunctions,
EngineCachedMediaResourceRepresentationResult,
EngineMediaResourceDataFetchResult, EngineMediaResourceDataFetchError,
EngineMediaResourceStatus, EngineCachedPeerData
**TelegramCore engine extensions/forwarders**:
- EngineMessage.engineMedia, EngineMessage.enginePeers,
EngineMessage.adAttribute, EngineMessage.effectivelyIncoming
- engineFileSize forwarder
- TelegramEngine.Resources.clearCachedMediaResources(mediaResourceIds: Set<EngineMediaResource.Id>)
- TelegramEngine.Resources.fetchStatus(id:resourceSize:)
- TelegramEngineUnauthorized.UnauthorizedResources facade with storeResourceData
**Public API/struct migrations to engine types**:
- ChatAvailableMessageActions.banAuthor/banAuthors → EnginePeer?/[EnginePeer]
- WebSessionsContextState.peers → [EnginePeer.Id: EnginePeer]
- CacheUsageStats.peers → [EnginePeer.Id: EnginePeer]
- PeerCommand.peer → EnginePeer
- PeerInfoControllerMode.calls(messages:) → [EngineMessage]
- CallControllerNodeProtocol.updatePeer → EnginePeer params
- ChatHistoryListNode.messageInCurrentHistoryView (and 4 variants) → EngineMessage?
- ChatHistorySearchContainerNode.messageForGallery → EngineMessage?
- PeerInfoPaneNode.findLoadedMessage / ensureMessageIsVisible /
transitionNodeForGallery → engine-typed
- GalleryHiddenMediaTarget.getTransitionInfo /
GalleryHiddenMediaManager.findTarget → engine-typed
- ChatPanelInterfaceInteraction.presentReactionDeletionOptions /
presentBan*MessageOptions → EnginePeer
- DrawingMessageRenderer.messages → [EngineMessage]
- ChatVideoGalleryItemScrubberView.setFetchStatusSignal →
EngineMediaResource.FetchStatus
- ChannelDiscussionGroupActionSheetItem.peer, VoiceChatPeerEntry.peer,
VoiceChatFullscreenParticipantItem.peer, MediaStreamComponent.chatPeer,
MediaStreamVideoComponent.callPeer, ChatMessageContactBubbleContentNode.contactPeer,
ChatMessageForwardInfoNode.peer, ChatMessageCommentFooterContentNode.replyPeers,
ChatReportPeerTitlePanelNode.peer, ChatMessageActionUrlAuthController.bot,
PeerMediaCollectionInterfaceState.peer, ChatMessageCallBubbleContentNode.peopleAvatars,
ChatLoadingNode.renderedPeer (→ EngineRenderedPeer) — all to engine types
**Wave-71-shadow stored-field migrations** (Postbox Peer/Message → Engine wrapper):
- LegacyCallControllerNode.peer
- CallStatusBarNode.currentPeer
**Dead-code / dead-field removals**:
- CallController.peer, CallControllerNodeV2.account,
ContactMultiselectionController PeerNameIndex fields,
preparedChatListNodeViewTransition account: Account param,
FetchResource.swift entirely (unused function)
**Module-level Postbox import drops**: 30+ files including TelegramRootController,
EditStories, GiftViewScreen, AnimatedStickerUtils, FetchPhotoLibraryImageResource,
PeerInfoGiftsPaneNode, PeerInfoPaneContainerNode, PresentAddMembers,
PeerInfoProfileItems, ChatControllerAdminBanUsers, PresentationData typealiases,
DefaultDayPresentationTheme, ChatListViewTransition, GalleryHiddenMediaManager,
RecentSessionsController, GifContext, AuthorizationSequenceController,
PeerInfoHeaderEditingContentNode, PeerInfoHeaderNode,
PeerAllowedReactionListController, CallControllerNodeV2, and 6 PeerInfo pane files.
**AnyObject restoration**: rule 8 added (never substitute Postbox protocols
with Any/AnyObject) — undid previous AnyObject substitutions in waves 141/143
back to EngineMedia.
Doc maintenance: CLAUDE.md updated to reflect new typealiases and forwarders.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 00:44:27 +02:00
isaac
631df15f40
Refactoring
2026-05-03 10:31:22 +02:00
isaac
86d1456552
Postbox -> TelegramEngine waves 107-137 (squashed)
...
31 waves of consumer-side migration from `import Postbox` to TelegramEngine
typealiases. Net: 173 import drops + 39 BUILD-dep drops + 1 new typealias
(`EngineStoryId = StoryId`, wave 113).
Wave shapes used:
- Orphan-import sweeps (107, 108, 128): drop `import Postbox` from files
whose only Postbox-symbol reference was the import line itself, then
resolve build failures. Methodology requires token-level (`grep -oE`)
filtering, not line-level, to avoid masking real Postbox usage on lines
that also contain `Namespaces.X` references.
- Identifier-swap mini-waves (109-127, 129-134, 136-137): rename
Postbox-typealiased identifiers to engine equivalents
(PeerId -> EnginePeer.Id, MessageId -> EngineMessage.Id,
MediaId -> EngineMedia.Id, MessageIndex -> EngineMessage.Index,
StoryId -> EngineStoryId, ItemCollectionId -> EngineItemCollectionId,
PreferencesEntry -> EnginePreferencesEntry,
FetchResourceSourceType/Error -> EngineFetchResourceSourceType/Error,
MemoryBuffer -> EngineMemoryBuffer, MessageTags -> EngineMessage.Tags,
MessageAttribute -> EngineMessage.Attribute,
TempBox -> EngineTempBox).
- Asset-string FP-only orphans (124).
- Typealias addition + drain (113): added `EngineStoryId` typealias to
TelegramCore, then drained 3+11 consumer sites.
Hard blockers identified during these waves (must restore `import Postbox`
when present): MediaResource[A-Za-z]* (any suffix -- the literal
`MediaResource` matches don't catch MediaResourceData/MediaResourceId/etc.),
Postbox/MediaBox/MediaResource raw types, PostboxCoding/PostboxEncoder/
PostboxDecoder, TempBoxFile, ValueBoxKey, PostboxView, combinedView,
HashFunctions, postboxLog, openPostbox, declareEncodable, PeerView,
MessageHistoryView, MessageHistoryThreadData, CachedPeerData, RenderedPeer,
SelectivePrivacyPeer, SimpleDictionary, ItemCollectionInfosView,
ItemCollectionItem, ItemCollectionItemIndex, ItemCollectionViewEntryIndex,
ChatListIndex, ChatListEntrySummaryComponents, CodableEntry,
MessageHistoryThread, MessageHistoryAnchorIndex,
MessageHistoryEntryLocation, PeerStoryStats, PeerNameIndex,
PeerSummaryCounterTags, ChatListTotalUnreadStateCategory/Stats,
arePeersEqual. Protocol-shape blockers: bare `Peer`/`Message`/`Media`
in function signatures, generic args, enum-case payloads, or dict value
types (e.g., `[PeerId: Peer]`, `case messages([Message])`,
`Signal<(Peer?, ...), NoError>`).
`replace_all PeerId -> EnginePeer.Id` is dangerous: mangles compound
names like `failedPeerId`, `ContactListPeerId`, `nextRemoteMediaId`,
`replyToMessageId`. Pre-flight grep `\b[a-z][a-zA-Z]*PeerId\b` and only
replace_all if 0 matches.
Also removes unneeded design/plan docs from a separate (link-highlighting)
feature branch:
- docs/superpowers/plans/2026-05-02-link-highlighting-modern-path-fixes.md
- docs/superpowers/specs/2026-05-02-link-highlighting-modern-path-fixes-design.md
Squashed commits: 6d82c2980d..e6de5d53a3 (59 commits, including
per-wave content commits and per-wave CLAUDE.md bumps).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 10:28:50 +02:00
isaac
fdb2f369ec
Rich bubble: scrollToAnchor + getAnchorRect
...
Adds a base getAnchorRect on ChatMessageBubbleContentNode, the rich-bubble
override (including titleHeight in details recursion), bubble-item
forwarding to content nodes, ChatControllerInteraction.scrollToMessageIdWithAnchor,
and a scrollToAnchor that lands the anchor at the top of the content area /
its line. Threads anchor/scroll params through ChatController and related
call sites.
2026-05-02 00:36:34 +02:00
isaac
d83734eb46
Various improvements
2026-04-28 19:00:04 +04:00
Isaac
0aac8d47ac
Temp
2026-03-23 21:33:34 +08:00
Isaac
2a317d87d2
Upgrade SpaceWarpNode
2026-02-13 12:23:53 +04:00
Isaac
0afb17091b
Various improvements
2026-02-09 22:55:28 +04:00
Isaac
8005726b3d
Experiment
2026-02-05 14:58:39 +08:00
Isaac
cb802c524e
Revert "Experiment"
...
This reverts commit 8c54db62f3 .
2026-02-04 18:01:32 +08:00
Isaac
8c54db62f3
Experiment
2026-02-04 03:22:37 +08:00
Ilya Laktyushin
142d59cf8f
Various improvements
2026-01-27 22:24:31 +04:00
Ilya Laktyushin
0d12dd29ad
Various improvements
2026-01-25 22:17:49 +04:00
Isaac
0055396d4d
Update
2025-11-26 23:05:30 +08:00
Isaac
5bbc75fc7c
Glass debug
2025-09-30 01:53:14 +08:00
Ilya Laktyushin
9e7b0efc8b
Update
2025-09-23 23:45:49 +04:00
Isaac
ebcd0557e5
Temp
2025-09-12 10:54:22 +02:00
Ilya Laktyushin
ef3512668c
Various improvements
2025-09-05 16:11:56 +05:00
Isaac
375c2a6b6e
Various improvements
2025-08-01 16:07:23 +02:00
Ilya Laktyushin
5a1ea16354
Various improvements
2025-07-20 02:49:04 +01:00
Isaac
d486f529a3
Various improvements
2025-06-06 20:20:42 +08:00
Isaac
3910ecdca2
Monoforums
2025-05-23 23:03:52 +08:00
Isaac
4a97994bff
Conference users from blockchain
2025-04-14 21:02:36 +04:00
Isaac
7e2c6da812
FlatBuffers implementation debugging
2025-03-19 18:56:39 +01:00
Isaac
1304f0f098
IOSurface experiment
2025-03-14 15:34:45 +01:00
Isaac
6a4b0854db
Various improvements
2025-02-28 13:43:43 +01:00
Isaac
6c4070eb52
Serialization update
2025-02-14 19:11:58 +04:00
Isaac
40828e9037
[WIP] UI
2025-01-21 21:08:44 +04:00
Isaac
22980d7c9a
[Temp]
2025-01-14 11:52:31 +08:00
Isaac
df9e27f4fb
[Temp] video v2
2024-12-25 00:18:02 +08:00
Isaac
4e964d4546
Various improvements
2024-12-06 22:15:52 +08:00
Isaac
d33e03b64c
Call improvements
2024-11-19 18:49:25 +04:00
Isaac
98433a4a6f
Merge commit ' 85b6a8ffe9'
2024-11-08 16:29:59 +01:00
Isaac
3797f3af4f
Video improvements
2024-11-08 16:26:01 +01:00
Ilya Laktyushin
37c91f89c5
Various improvements
2024-11-07 16:32:33 +01:00
Isaac
de6836fa5d
Various improvements
2024-11-05 15:33:17 +01:00
Ilya Laktyushin
87b2d223f8
Ads and codes improvements
2024-09-20 18:35:17 +04:00
Isaac
923587b0da
[WIP] Dynamic video streaming
2024-09-18 01:04:29 +08:00
Isaac
5aa7784d2c
[WIP] Video chat UI
2024-09-10 21:32:34 +08:00
Isaac
67ded11399
[WIP] Video chats v2
2024-08-30 22:26:59 +08:00
Ilya Laktyushin
9adbb61a02
Update API
2024-08-12 12:20:41 +02:00
Ilya Laktyushin
83c7fdd228
Various improvements
2024-08-11 06:32:41 +02:00
Ilya Laktyushin
90bba2d84a
Various fixes
2024-08-01 22:08:52 +02:00
Isaac
d8491d17bd
Merge commit ' b006c36c59'
2024-07-25 13:59:29 +08:00
Isaac
29917a97ac
Warp experiment
2024-07-25 13:59:21 +08:00