Commit Graph

20817 Commits

Author SHA1 Message Date
John Preston 13b61fc5c8 Add IV triple-click paragraph selection 2026-07-02 17:49:08 +04:00
John Preston 86b9b426e5 Keep IV word selection across text nodes 2026-07-02 17:49:08 +04:00
John Preston adc94bfdb3 Keep rich messages as text, not isolated emoji 2026-07-02 17:49:08 +04:00
John Preston 2b6f26c77f Use normal font size for IV quote author label 2026-07-02 17:49:08 +04:00
John Preston 8f4bd0e24a Trim the IV link/text context menu 2026-07-02 17:49:08 +04:00
John Preston dcb1fa96d6 Lock scroll axis for IV touchpad gestures 2026-07-02 17:49:08 +04:00
John Preston a0b8267043 Hide IV jump-to-top button near the very bottom 2026-07-02 17:49:08 +04:00
John Preston 6b4fdb623a Keep IV selection visible while window is inactive 2026-07-02 17:49:08 +04:00
John Preston c025334656 Stop overscroll if we have more to load. 2026-07-02 17:49:08 +04:00
John Preston 99d0cac218 Include core/version.h directly in Windows platform sources. 2026-07-02 17:49:08 +04:00
John Preston 9c226235e2 Add Rich Formatting premium-promo section 2026-07-02 17:49:08 +04:00
John Preston d499052ed1 Gate rich-message authoring on app config 2026-07-02 17:49:08 +04:00
John Preston 2779b2a68d Mark premium actions better. 2026-07-02 17:49:08 +04:00
John Preston fb6e0b9105 Attempt to fix overscroll for history up-loading. 2026-07-02 17:49:08 +04:00
John Preston fd759d9048 Fix rich message re-layout.
Fixes #30906.
2026-07-02 17:49:08 +04:00
John Preston b72f7a1603 Hide rich messages editor behind an option. 2026-07-02 17:49:08 +04:00
John Preston a3b1e8faa3 Fix possible crash in tooltip show. 2026-07-02 17:49:08 +04:00
John Preston aa66497dc4 Keep chat focus when rich-draft preview is shown 2026-07-02 17:49:08 +04:00
John Preston 2abc55e1d0 Fade the clipped rich-draft preview bottom 2026-07-02 17:49:08 +04:00
John Preston 74075ae38e Keep non-premium formatting when flattening rich sends 2026-07-02 17:49:08 +04:00
John Preston 929fbf29af Show grayed Hide-from-name for non-premium forwards 2026-07-02 17:49:08 +04:00
John Preston bcddeadc0f Show premium stars in place of style menu shortcuts 2026-07-02 17:49:08 +04:00
John Preston 102665ced6 Show premium stars on rich-only toolbar buttons 2026-07-02 17:49:08 +04:00
John Preston 7a56e1065e Offer to send a rich draft without formatting 2026-07-02 17:49:08 +04:00
John Preston 45adb8fde4 Mark rich-formatted drafts with a Send-button lock badge 2026-07-02 17:49:08 +04:00
John Preston d15a500258 Restore hover tooltips on the IV editor top toolbar 2026-07-02 17:49:08 +04:00
John Preston 6e2397c1e3 Show shortcuts and active-color marking in style menus 2026-07-02 17:49:08 +04:00
John Preston 382e173e97 Swap table title and first-cell backspace boundary 2026-07-02 17:49:08 +04:00
John Preston ae57ec48c4 Re-add the divider insert entry to the block menu 2026-07-02 17:49:08 +04:00
John Preston 0da3e55cc0 Restore the rich draft via cloud draft on send fail 2026-07-02 17:49:08 +04:00
John Preston 8584f292bc Recover cleanly when rich submit is empty or rejected 2026-07-02 17:49:08 +04:00
John Preston 71ea71b13e Drop author-only quotes that the server rejects 2026-07-02 17:49:08 +04:00
John Preston 7a2555abd9 Drop empty rich blocks and gate semi-empty on send 2026-07-02 17:49:08 +04:00
John Preston 057e8c5917 Support tg://grams to show Grams section. 2026-07-02 17:49:08 +04:00
John Preston 402cb0e668 Fix crash when removing folders with pinned chats.
ChatFilters::applyRemove() emptied the filter in the list and only then
detached its chats. Unpinning a chat re-caches its siblings' pinned
indices, which runs Session::refreshChatListEntry(); seeing the filter
still listed but emptied, it re-entered removeFromChatList() ->
setChatPinned() -> PinnedList::setPinned() on the same pinned list while
its re-cache loop iterated with a cached size, reading past the end of
the vector. This aborted on closing the Folders editor after removing
two or more folders that had pinned chats.

Detach the filter from the list before applyChange() tears down its
chats, so the re-entrant refresh no longer touches it. Also harden the
setPinned() re-cache loop to re-check the container size each iteration
as defense in depth.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 17:49:07 +04:00
John Preston c91afffd60 Fix possible crash on AdminLog teardown. 2026-07-02 17:49:07 +04:00
John Preston 3a4f39eb0e Reflect the current cell selection in the top table button
On selection change the top bar derives its active block and menu from the live article selection instead of the previously edited node, so a multi-cell table rectangle always lights the table button and its menu offers Unite cells.
2026-07-02 17:49:07 +04:00
John Preston 399b973440 Fix some editor bugs. 2026-07-02 17:49:07 +04:00
John Preston 051bc0dcf0 Refresh rich-draft media references from the server draft 2026-07-02 17:49:07 +04:00
John Preston cc247cca45 Reveal the spoiler on first click for grouped media 2026-07-02 17:49:07 +04:00
John Preston 7a67710094 Keep the slideshow active slide stable across edits 2026-07-02 17:49:07 +04:00
John Preston 162abf9cea Upload the edited photo from the rich editor 2026-07-02 17:49:07 +04:00
John Preston 276dd14657 Show the Expand button only for multi-line drafts 2026-07-02 17:49:07 +04:00
John Preston 9e6b5d7a7a Keep plain lines together when migrating field to editor 2026-07-02 17:49:07 +04:00
John Preston 7f96642797 Clear the source field when content moves to rich editor 2026-07-02 17:49:07 +04:00
John Preston 96b631e28f Give each ordered-list type its own list-menu glyph 2026-07-02 17:49:07 +04:00
John Preston 91f50c407d Fix IV editor discard/cancel glyph size and placement 2026-07-02 17:49:07 +04:00
John Preston fff550c4e4 Show nearest drop line for external file drag in editor 2026-07-02 17:49:07 +04:00
John Preston 15ac77e2ac Per-item controls and layout switch for grouped rich media 2026-07-02 17:49:07 +04:00
John Preston 7603a8b0ba Overlay three-dot and add buttons on rich editor media 2026-07-02 17:49:07 +04:00