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
63a76b273a
Fix trailing seconds in date formatting.
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
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
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
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
John Preston
221d79283d
Admins don't edit tags in legacy groups.
2026-03-02 15:19:58 +04:00
John Preston
1705e5a03e
Version 6.6.1.
...
- Fix crash in legacy groups members list.
- Fix display of member tags in legacy groups.
- Make fast reply button appear instantly.
- Allow hiding fast reply button.
2026-03-02 12:57:08 +04:00
John Preston
06c5b6c2fb
Allow disabling fast reply button.
2026-03-02 12:55:04 +04:00
John Preston
9b0b154bd3
Fix display of tags in legacy groups.
2026-03-02 12:53:56 +04:00
John Preston
15778fc6db
Fix crash in legacy groups viewing.
2026-03-02 12:52:56 +04:00
John Preston
e5f2bcad03
Version 6.6.
...
- Member Tags in groups.
- Disable Sharing in Private Chats.
- Timestamps for Polls.
- Log In With Telegram.
- Time and Date Formatting.
2026-03-01 21:57:20 +04:00
John Preston
e972a297e1
Fix possible crash in theme editor.
2026-03-01 21:57:20 +04:00
John Preston
02bf8e52af
Remove tag editing in broadcasts.
2026-03-01 21:34:57 +04:00
John Preston
343261d6ae
Fix actions in members dropdown.
2026-03-01 21:34:57 +04:00
John Preston
c30608d7eb
Fix build with GCC.
2026-03-01 18:01:00 +04:00
23rd
e37894d011
Fixed Classic theme accent restore on startup.
...
Fixed #24930 .
2026-03-01 09:43:26 +04:00
John Preston
43581b0b64
Fix build with Xcode.
2026-03-01 09:43:26 +04:00
23rd
ddb3798ab0
Set forced origin for left userpic menu for constant distance to items.
2026-02-28 21:21:32 +04:00
John Preston
a58047e88a
Fix some regressions in accessibility commit.
2026-02-28 19:07:12 +04:00
John Preston
794c2c495d
Improve formatted date phrases / copy / tooltip.
2026-02-28 19:07:12 +04:00