Commit Graph

21932 Commits

Author SHA1 Message Date
Ilya Fedin 54683b2d21 Decompose countInitialGeomety from MainWindow 2026-01-31 20:21:48 +04:00
Ilya Fedin d33293ba6b Add name argument to PositionWithScreen 2026-01-31 20:21:48 +04:00
Iaroslav 64c5796d1a fix: fixed touchpad-scrolling emoji packs while setting emoji status in main menu 2026-01-31 18:37:56 +04:00
John Preston f9699e19af Beta version 6.4.4.
- Fix crash in topic group opening.
- Show correct profile colors preview when edit.
- Strip quote entities in media viewer.
2026-01-31 18:36:44 +04:00
BandrikGryphon e5cc336011 Update changelog.txt
Corrected the year for the newest 4 changes from 2025 to 2026, for the recent 4 updates (6.4 to 6.4.3 beta).
2026-01-30 09:05:11 +04:00
John Preston c215b9fd5f Fix crash in topic group opening. 2026-01-29 18:20:40 +04:00
John Preston 46cb49865a Show correct profile colors preview when edit. 2026-01-29 18:20:40 +04:00
John Preston e4c7d62012 Activate window with shown nft. 2026-01-29 18:20:40 +04:00
John Preston 85167d34e9 Strip quote entities in media viewer.
They may be collapsed with no way to expand them.
2026-01-29 18:20:40 +04:00
John Preston 0e7a20fe9f Close mediaview when opening nft links. 2026-01-29 18:20:40 +04:00
John Preston f9f3778a4a Beta version 6.4.3.
- Search in Settings.
2026-01-29 18:20:40 +04:00
John Preston 49be0d2679 Fix build with GCC. 2026-01-29 18:20:40 +04:00
John Preston f7f3539f48 Fix build with Xcode. 2026-01-29 18:20:40 +04:00
Ilya Fedin 2a3c260dd6 Qt 6.10.1 -> 6.10.2 2026-01-29 16:49:47 +04:00
John Preston 1ac081d695 Update patches revision. 2026-01-28 14:28:19 +04:00
John Preston e537279692 Fix build with Xcode. 2026-01-28 14:22:17 +04:00
John Preston a111727302 Fix build with Qt 5. 2026-01-28 13:03:15 +04:00
Ilya Fedin 5c900c2b54 Update to modern OpenGL library on Linux 2026-01-28 12:56:40 +04:00
Ilya Fedin dc3d4ad873 Remove --target tde2e
It's not needed since b5f2470b79
2026-01-28 12:00:36 +04:00
Ilya Fedin 76e597f57f Get rid of PATH_BACKUP_ in prepare.py
Each step spawns a separate shell instance, the environment gets reset anyway
2026-01-28 12:00:36 +04:00
Ilya Fedin 4d1b25ce78 CMAKE_OSX_DEPLOYMENT_TARGET defaults to MACOSX_DEPLOYMENT_TARGET 2026-01-28 12:00:36 +04:00
Ilya Fedin 4ef57e5ffd Switch tg_owt to default generator on Windows 2026-01-28 12:00:36 +04:00
Ilya Fedin 0368722c4d Switch tg_angle to default generator 2026-01-28 12:00:36 +04:00
Ilya Fedin baecfd6775 Don't set parallel count in prepare.py
Given that we use ninja now, it will be (cpu_count+2) with the possibility to override it via CMAKE_BUILD_PARALLEL_LEVEL
2026-01-28 12:00:36 +04:00
Ilya Fedin ccf6428633 Use Ninja cmake generators in prepare.py
Use Ninja Multi-Config instead of Visual Studio on Windows

Use Ninja instead of Unix Makefiles on macOS
2026-01-28 12:00:36 +04:00
Ilya Fedin e73fe08212 Don't set architecture explicitly for cmake in prepare.py
Let it inherit from the command prompt
2026-01-28 12:00:36 +04:00
Ilya Fedin 2c85060c49 Revert "Use v143 toolset in some dependencies."
This reverts commit 580c688b2b.
2026-01-28 12:00:36 +04:00
Ilya Fedin 0729bd7f83 Initial screen from geometry 2026-01-28 11:59:01 +04:00
John Preston 27e1867346 Delete old faq entries. 2026-01-28 11:55:22 +04:00
John Preston ecae9c7794 Add separate lang key for FAQ search result subtitles.
Use shorter 'FAQ' prefix for search results instead of full
'Telegram FAQ' that's used for the main FAQ button label.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 594dc126e7 Index FAQ entries together with settings entries.
Now FAQ entries appear in filtered search results when the query
matches, not just when query is empty. Uses same button cache and
first-letter index for both settings and FAQ entries.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston fafe2f96c1 Restore settings search query on return. 2026-01-28 11:55:21 +04:00
John Preston 4c2e73a3ae Show FAQ entries as default search results. 2026-01-28 11:55:21 +04:00
John Preston eff86fc84d Cache and reuse search result buttons in settings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 55624b3410 Fix Ctrl+F in settings. 2026-01-28 11:55:21 +04:00
John Preston e022c6e0f9 Optimize settings search with first-letter index.
Build search index once when the section is created instead
of recomputing on every query. Use first-letter lookup for
O(1) candidate filtering, following the pattern from theme
editor's searchByQuery implementation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 16442e2013 Preserve search query on navigation in settings.
Use the stepDataReference mechanism to save and restore the
search query when navigating from results to a section and back.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 38832396bc Implement smart sorting for settings search results.
Sort results by match count (descending), then by parent chain
depth (ascending), and finally alphabetically by title.
2026-01-28 11:55:21 +04:00
John Preston b60f6b0705 Implement word-based matching in settings search.
Use TextUtilities::PrepareSearchWords() to normalize query and
entry text: split into words, remove accents, and lowercase.
Match by word prefix: each query word must match at least one
entry word by startsWith().

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston f822d23509 Support Ctrl+F shortcut in settings to open search. 2026-01-28 11:55:21 +04:00
John Preston 55d43e7cad Fix search highlighting across settings sections. 2026-01-28 11:55:21 +04:00
John Preston af28ef7c94 Don't index section buttons in settings search. 2026-01-28 11:55:21 +04:00
John Preston 81b095e73d Improve subtitles for settings section entries. 2026-01-28 11:55:21 +04:00
John Preston 49253a9586 Fix deeplink settings search entries. 2026-01-28 11:55:21 +04:00
John Preston 374b877323 Add Profile Photo search entry.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 2b5732f586 Add deeplink support for search entries.
SearchEntry now has an optional `deeplink` field. When set, clicking
the search result activates the deeplink URL instead of navigating.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 38d8aa2a33 Fix interface scale highlighting.
The custom build method in Main::setupContent() was missing the
HighlightRegistry setup, so widgets added via builder.add() with
search entries weren't being registered for highlighting.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston ead60ebfcd Fix Chat::Id() → ChatId() in settings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston d2933428a4 Fix search result subtitles.
sectionPath() was starting with parentId instead of the section itself,
causing subtitles to skip the section name the entry belongs to.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston ec683d7488 Add place for current working AI docs. 2026-01-28 11:55:21 +04:00