Commit Graph

22319 Commits

Author SHA1 Message Date
futpib ec7c76b8d2 Cache Webview::Availability() result for startup checks
Iv::ShowButton() and LocationPicker::Available() each called
Webview::Availability() separately (~200ms each on Linux). Replace
the per-caller static caches with a single shared cache in
Core::CachedWebviewAvailability(), reducing startup from two
~200ms calls to one.
2026-03-05 16:13:38 +04:00
linux 1a35929eb8 accessibility: label profile photo buttons by role 2026-03-05 16:03:30 +04:00
linux 151f3f6cc4 accessibility: label QR code button in settings cover 2026-03-05 16:03:30 +04:00
futpib dc6b9dda4d Use faster containers for bulk-populated custom emoji maps
Replace base::flat_map (sorted vector with O(n) insertion) with
std::unordered_map for CustomEmojiManager::_instances and std::map
for EmojiListWidget::_customEmoji. These maps accumulate ~8000
entries during startup with unsorted keys, causing O(n²) total
insertion cost. This change reduces refreshCustom() from ~3s to
~50ms (57x speedup).
2026-03-05 15:20:36 +04:00
John Preston f9bf1e9372 Fix the build on Windows. 2026-03-05 11:30:38 +04:00
John Preston e3689a1f12 Update submodules. 2026-03-05 11:26:46 +04:00
John Preston c65ab01647 Fix possible crash in members list dropdown. 2026-03-05 11:25:27 +04:00
John Preston 63a76b273a Fix trailing seconds in date formatting. 2026-03-05 11:25:27 +04:00
John Preston cc7ad543ee Update submodule. 2026-03-05 11:25:27 +04:00
Ilya Fedin 48e2e2c2db Avoid saving viewer position unless it's really on screen 2026-03-05 09:52:56 +04:00
paterkleomenis f8fc9956d0 Calls: enable audio sharing flow on Linux
Enables the desktop share audio flow on Linux within Calls UI and plumbing.

- calls_call: add withAudio parameter to toggleScreenSharing, track
  _screenWithAudio flag, create/destroy SystemAudioCapture when sharing
  starts with audio, and clean it up in destroyController.

- calls_panel / calls_group_panel: use LoopbackAudioCaptureSupported()
  to report audio support on all platforms; show a GenericBox with audio
  toggle when a unique desktop capture source is available (PipeWire),
  then start sharing with the chosen audio setting.

Depends on desktop-app/lib_webrtc#22
Closes #26642
2026-03-05 09:25:37 +04:00
cumdev1337 719cae0406 building-win: update .sln => .slnx 2026-03-04 16:34:51 +03:00
dependabot[bot] 7a9b62fc40 Bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-04 17:33:42 +04:00
Daniel Novomeský d804a327aa Update dav1d, libwebp, libheif, libjxl 2026-03-04 16:36:05 +04:00
Ilya Fedin 87caf0e2c4 Disable 32-bit Qt 6 Windows action builds
They don't build anymore
2026-03-04 16:35:35 +04:00
InternalProgramError a08f8d890d Update menu_send.cpp
Unification of Send menu (https://bugs.telegram.org/c/55220)
2026-03-04 16:33:40 +04:00
Ilya Fedin d9ddb12500 Avoid using streaming loader with external video player
Streaming loader is unnecessary slow for this use-case

Co-authored-by: Codex <codex@openai.com>
2026-03-04 16:32:47 +04:00
Ilya Fedin f68db94c81 Qt 6.10.2 -> 6.11.0-rc1 2026-03-04 14:48:09 +04:00
Ilya Fedin b84345c083 Update GCC to 15 in Docker 2026-03-04 14:38:10 +04:00
John Preston f06ca5a07c Force a newline before ``` in markdown parsing.
Fixes #27739.
2026-03-04 13:13:40 +04:00
Ilya Fedin 25026d1657 Support Crow Translate on Linux 2026-03-04 11:44:40 +03:00
Ilya Fedin 1782f5c463 Add experimental sticker size option 2026-03-04 11:44:40 +03:00
23rd 66a5e67cbf Fixed losing of extension when rename image from clipboard. 2026-03-04 11:08:19 +03:00
23rd f1bf8e554e Fixed display of show original button in translate box. 2026-03-04 08:32:04 +03:00
23rd d4a5bb788c Moved out some classes from lib_translate. 2026-03-04 08:32:04 +03:00
23rd df1a8346e0 Added new translate provider that uses url template from experimental. 2026-03-04 08:32:04 +03:00
23rd ccce8756ed Added simple error handler for translations. 2026-03-04 08:32:04 +03:00
23rd 1e0a16a214 Added ability to use platform provider of translations on macOS. 2026-03-04 08:32:04 +03:00
23rd d7e8199365 Added platform provider of translations. 2026-03-04 08:32:04 +03:00
23rd cec580a645 Moved out api translations as separated provider. 2026-03-04 07:08:51 +03:00
23rd 8a9409005f Split translate box to api and td_ui parts. 2026-03-04 07:08:51 +03:00
23rd 8c7d38ea25 Added ability to change caption to every file in SendFilesBox. 2026-03-04 07:08:51 +03:00
23rd fe4f460a3b Added logic to process captions from attach prepared files. 2026-03-04 07:08:51 +03:00
23rd 47beb2e7e1 Added initial support of simple captions to attach prepared files. 2026-03-04 07:08:51 +03:00
23rd 04ccdc4b30 Added initial support of system accent color. 2026-03-04 07:08:51 +03:00
John Preston ad5b451182 Version 6.6.2.
- Fix editing of media files.
- Fix admin rights in legacy groups for tag editing.
- Fix opening emoji packs from custom emoji click.
2026-03-03 19:15:28 +04:00
23rd 11474102cd Fixed text recognition retry in media viewer on missing large photo. 2026-03-03 19:15:28 +04:00
23rd 5f8702fc62 Reversed recent voter rendering order in poll view userpics list. 2026-03-03 19:15:28 +04:00
23rd ba7b3422c9 Slightly improved phrases in who reacted context action. 2026-03-03 19:15:28 +04:00
John Preston 115017c8cd Fix possible crash in reactions to dice messages.
Refresh media later in edition application, so that we don't destroy
MediaDice earlier than calling itemDataChanged and _dice is accessed.
2026-03-03 18:41:18 +04:00
John Preston 769da0ec15 Improve layout of channel story controls. 2026-03-03 18:19:38 +04:00
John Preston 151b169dda Improve style of edit tag control. 2026-03-03 17:09:09 +04:00
John Preston 84b7de1405 Fix editing media files. 2026-03-03 16:33:01 +04:00
23rd 3a7bf449ed Fixed ability to open emoji pack from rection preview.
Regression was introduced in b2531b588f.
2026-03-03 15:23:42 +04:00
23rd f2701e89bd Added support of hold mode to auto-scroll with middle click. 2026-03-03 15:23:40 +04:00
John Preston 1bb89e818e Update submodules. 2026-03-03 14:48:08 +04:00
Ilya Fedin 28af45c65a Ensure LLD is used in Linux action
It's specified in the Dockerfile but action accidentally removes it when disabling debug symbols
2026-03-03 12:16:53 +04:00
Ilya Fedin d52d82f7e6 Fix GCC 15 -Wrange-loop-construct 2026-03-03 12:16:32 +04:00
Ilya Fedin ca0c9ab659 Fix GCC 15 -Wdangling-pointer 2026-03-03 12:16:32 +04:00
John Preston de4d55e06a Allow sending voices by Ctrl+R in topics.
Fixes #30361.
2026-03-02 15:36:26 +04:00