John Preston
8ed600bf3f
Add some debug logs.
2018-11-16 20:17:58 +04:00
John Preston
e3b6e1325e
Use AL_DIRECT_CHANNELS_SOFT for audio playback.
...
See https://github.com/telegramdesktop/tdesktop/issues/2580 .
2018-11-16 20:17:58 +04:00
John Preston
9101d64b20
Show unavailable admin options as unchecked.
2018-11-16 20:17:58 +04:00
John Preston
089c4ceb30
Use DemiBold fallback for Open Sans Semibold.
2018-11-16 20:17:58 +04:00
23rd
dc8abc74ed
Fixed editing of the last message on KeyUp.
...
Skip stickers, video-messages, call-messages and edit following message.
2018-11-16 20:10:19 +04:00
Vitaly Zaitsev
31e3a426a6
Refactored FallbackFontConfig() to use native Qt methods.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-11-16 20:09:33 +04:00
23rd
00969df06f
Made isAudioFile() check more strictly.
...
Thanks John Preston.
2018-11-15 09:43:39 +04:00
23rd
c482ccfd4e
Show all audio in "Files" category with FILE layout.
2018-11-15 09:43:39 +04:00
Nicholas Guriev
b6432e7d13
Switch to Ayatana Indicators
2018-11-13 10:30:54 +04:00
John Preston
2cadabd60c
Added fc-custom.conf to git.
2018-11-12 17:36:24 +04:00
John Preston
997d1fbc80
Move custom fonts.conf to resources.
2018-11-12 17:34:47 +04:00
John Preston
8ee958bfa0
Force custom bundled fonts.conf if fontconfig is new.
...
If system fontconfig version is 2.13 or above use custom FONTCONFIG_FILE.
Fixes #4493 , fixes #4240 .
2018-11-12 15:26:36 +04:00
John Preston
8b64c96381
Separate some lang keys.
...
Fixes #5146 .
2018-11-12 14:39:22 +04:00
John Preston
aba6cc2c64
Don't force WEBP format for stickers.
...
Fixes #5374 .
2018-11-12 14:39:21 +04:00
John Preston
0718520f36
Disable default fallback to Segoe UI.
...
Fixes #5368 .
2018-11-12 14:39:21 +04:00
John Preston
93b7a797d2
Allow non-lower template keys replacements.
2018-11-12 14:39:21 +04:00
John Preston
4ab0e693c1
Write memory usage to crashdump on Windows.
2018-11-12 14:39:21 +04:00
John Preston
af5f85a288
Fix crash with dangling DocumentData pointers.
2018-11-12 14:39:20 +04:00
John Preston
0a69f3c7fd
Beta version 1.4.7.
...
- Crash fix.
2018-11-10 12:16:40 +04:00
John Preston
48889ce56e
Better fix for a crash on quit.
2018-11-10 12:16:29 +04:00
John Preston
4532e59933
Beta version 1.4.6: Fix crash on quit.
2018-11-10 10:10:47 +04:00
John Preston
91d784f9bd
Beta version 1.4.6: Fix libtgvoip for Linux.
2018-11-09 21:29:40 +04:00
John Preston
6f56097c53
Beta version 1.4.6.
...
- Bug fixes and other minor improvements.
2018-11-09 20:13:59 +04:00
John Preston
5b0ad0508a
Update libtgvoip.
2018-11-09 20:13:59 +04:00
John Preston
f1c06d6743
Store StickerData::image in unique_ptr.
2018-11-09 19:16:47 +04:00
John Preston
e5949dbb86
Restore player delegate non-delayed (crashfix).
2018-11-09 19:16:27 +04:00
John Preston
2b95b96fa3
Store replyPreview in unique_ptr<Image>.
2018-11-09 19:14:31 +04:00
John Preston
147079ce2a
Fix crash in unloaded userpic handling.
2018-11-09 18:01:54 +04:00
John Preston
e992702783
Load chats in chunks in support mode.
2018-11-09 17:54:34 +04:00
John Preston
2d05281ba9
Add configuration for OpenAL effects usage.
2018-11-09 16:28:15 +04:00
John Preston
9a1069c1ae
Fix resuming audio on call end.
2018-11-09 11:27:12 +04:00
John Preston
561d3e0670
Beta version 1.4.5: Fix build script.
2018-11-08 22:00:08 +04:00
John Preston
d7a41ce8f7
Beta version 1.4.5.
...
- Listen to voice and video messages in 2X mode if you're in a hurry.
- Find video messages in the shared voice messages section.
- Add a comment when you share posts from channels.
- View all photos and videos in Twitter and Instagram link previews.
- Bug fixes and other minor improvements.
2018-11-08 17:29:29 +04:00
John Preston
784b0a2248
Revert "Show invite link owner in service message."
...
This reverts commit 27103889a4
.
2018-11-08 17:17:00 +04:00
John Preston
346cb4e203
Fix some bugs in double playback speed.
...
- Apply double speed for all voice tracks, not only for the current.
- Use dedicated atomic in Mixer for the voice speed (fix race).
- Store the playback speed in user settings, not in global settings.
- Use float64 for setting (just consistency, no float-s right now).
2018-11-08 17:06:22 +04:00
Magnus Groß
de8518a112
Implement double playback speed
...
This adds double playback speed for both voice messages and round video
messages.
The 2x playback speed setting is global and is saved in local storage.
Fixes #4907
2018-11-08 17:05:34 +04:00
John Preston
8ef67c393b
Fix build after openal-soft update.
...
Regression was introduced in 91c85ec86b
.
2018-11-08 15:27:06 +04:00
Kirill Romanov
496c361bdc
Gnome notification fix ( #5215 )
...
* Set notification desktop entry hint
* Set X-GNOME-UsesNotifications flag
2018-11-08 14:58:04 +04:00
John Preston
3646301ce4
Fix build for old OS X versions.
2018-11-08 14:48:15 +04:00
John Preston
3a928aac9f
Update version by a python script.
2018-11-08 10:35:48 +04:00
John Preston
8b6e24e83d
Build alphas only for official targets.
2018-11-08 10:33:44 +04:00
John Preston
ef38572d5a
Detect and send supports_streaming bit for videos.
2018-11-07 18:10:00 +04:00
John Preston
a2b04c9d71
Improve checks for a hidden webpage url.
2018-11-07 14:55:38 +04:00
23rd
c20ab0b93e
Removed unused variables in input_fields.cpp.
2018-11-07 14:53:21 +04:00
John Preston
c496a34f57
Fix single accented letter suggestion in hashtags.
...
Fixes #5335 .
2018-11-07 14:28:35 +04:00
John Preston
27103889a4
Show invite link owner in service message.
2018-11-07 14:28:35 +04:00
John Preston
751506d5b5
Better adjust shared media count.
2018-11-06 13:50:31 +04:00
John Preston
2061248224
Push stable / beta commits to launchpad on release.
2018-11-06 13:49:48 +04:00
Marco Trevisan (Treviño)
dcb748c544
destkop: add keywords stanza
...
They are used by mayor desktops to search through apps.
Remove this modification from snapcraft
2018-11-06 09:50:59 +04:00
John Preston
e482f041a8
Allow disabling even system proxy settings.
...
Fixes #4944 .
2018-11-05 18:52:01 +04:00
John Preston
ef64d9c188
Show round videos in Info layer.
2018-11-05 17:18:54 +04:00
John Preston
466444e17d
Extract float player controller.
2018-11-05 15:16:09 +04:00
John Preston
b420f5b41b
Fix crash in round video playback.
2018-11-05 14:00:53 +04:00
John Preston
53a719e1b1
Display round videos in shared voice messages.
2018-11-05 12:22:09 +04:00
John Preston
5f665b8ecb
Add a comment field to ShareBox.
2018-11-04 15:58:32 +04:00
John Preston
65b2db2160
Don't provide 'api_id' and 'api_hash' by default.
...
We ask the developer to obtain his own api credentials, because
the bundled 'api_id' / 'api_hash' are strictly limited by the server.
The old credentials still could be used for test purposes,
but the developer will need to explicitly opt-in to use them.
2018-11-04 15:57:50 +04:00
John Preston
617d21129f
Show confirmation on hidden webpage url.
2018-11-04 15:51:40 +04:00
John Preston
2d1fdc4485
Seek video to start if position is small.
2018-11-04 15:51:40 +04:00
John Preston
5aa2e66d02
Show large photos in web pages with IV.
2018-11-04 15:51:40 +04:00
John Preston
8850d974a2
Pass correct FileOrigin for userpics.
2018-11-04 15:51:40 +04:00
John Preston
e6c4c48261
Animate check in album sending.
2018-11-04 15:51:39 +04:00
John Preston
8eb0f3b60a
Remove some unneeded Q_OBJECTs.
2018-11-04 15:51:39 +04:00
John Preston
5192049194
Resume audio when call ends.
2018-11-04 15:51:39 +04:00
John Preston
fabf830132
Allow up to 128 MB of cached images.
2018-11-04 15:51:39 +04:00
John Preston
c9159e2191
Clear memory on MediaView closing.
2018-11-04 15:51:39 +04:00
John Preston
f2348fc749
Fix document unloading.
2018-11-04 15:51:39 +04:00
John Preston
264ab285a7
Fix ImageSource unloading.
2018-11-04 15:51:39 +04:00
John Preston
f28a92be1d
Fix another crash in DocumentData destructor.
2018-11-04 15:51:39 +04:00
John Preston
d38a6e5047
Closed alpha version 1.4.4.2.
2018-11-04 15:51:39 +04:00
John Preston
3447aac940
Prefix client-side lang_code-s with #.
2018-11-04 15:51:39 +04:00
John Preston
711b8cfa36
Fix auto interface scale by primary screen dpi.
2018-11-04 15:51:39 +04:00
John Preston
91a6af71a0
Limit video messages size.
2018-11-04 15:51:39 +04:00
John Preston
885e7f0471
Fix pen reset in TextPainter of empty text.
2018-11-04 15:51:39 +04:00
John Preston
8c1e546123
Fix crash in DocumentData destructor.
...
~DocumentData sometimes calls ~Image that calls RemoteSource::unload.
It tries to schedule delayed loaded deletion and accesses Auth().
But ~DocumentData is called from ~Session, so Auth() is unaccessible.
2018-11-04 15:51:39 +04:00
John Preston
fd4dedcbdf
Use good video thumbnail in albums.
2018-11-04 15:51:39 +04:00
John Preston
88a82eecf3
Fix crash in unloaded null Image.
2018-11-04 15:51:39 +04:00
John Preston
906122a334
Insert Segoe UI and San Francisco font substitutions.
...
Fixes #1791 , fixes #3354 , fixes #4454 .
2018-11-04 15:51:39 +04:00
John Preston
6f1529d730
Backport Qt fix for font weights on macOS Mojave.
2018-11-04 15:51:39 +04:00
John Preston
46162ed3c4
Fix grouped media corner in one layout.
2018-11-04 15:51:39 +04:00
John Preston
3b911f19f6
Fix collage/slideshow extracting in GCC.
...
It was depending on argument evaluation order before that fix.
2018-11-04 15:51:39 +04:00
John Preston
4e6f55e176
Closed alpha version 1.4.4.1: Fix build for macOS.
2018-11-04 15:51:38 +04:00
John Preston
14cae1b59a
Closed alpha version 1.4.4.1.
2018-11-04 15:51:38 +04:00
John Preston
9aa23dac80
Fix ripple glitch on theme switching.
2018-11-04 15:51:38 +04:00
John Preston
eb099c70e6
Fix removing members from search results.
...
Fixes #5236 .
2018-11-04 15:51:38 +04:00
John Preston
4837117719
Use photo as video thumbnail in WebPageData.
2018-11-04 15:51:38 +04:00
John Preston
550b67236e
Reactive main window only if app is active.
...
Otherwise when we choose "Show in Folder" app looses focus,
then destroys PopupMenu and instantly regains focus back.
2018-11-04 15:51:38 +04:00
John Preston
8000ff2cd7
Generate high quality thumbnail on sending video.
2018-11-04 15:51:38 +04:00
John Preston
da358615e0
Generate high quality video thumbnail when loaded.
2018-11-04 15:51:38 +04:00
John Preston
8f387891e2
Show group / channel in ConfirmInviteBox.
2018-11-04 15:51:38 +04:00
John Preston
a961615076
Clear unused emoji cache with DB.
2018-11-04 15:51:38 +04:00
John Preston
bf31722931
Show collage/slideshow as an album in MediaView.
2018-11-04 15:51:38 +04:00
John Preston
251f51ca1b
Show collage/slideshow as an album in web page.
2018-11-04 15:51:38 +04:00
John Preston
e8722e1cb2
Separate (c), (r), (tm) and emoji.
...
Fixes #3300 .
2018-11-04 15:51:38 +04:00
John Preston
6db4972208
Fix blurry App Switcher icon on macOS.
...
Fixes #5267 .
2018-11-04 15:51:38 +04:00
John Preston
f0e18ac619
Add better unloading for ImageSource.
2018-11-04 15:51:38 +04:00
John Preston
8e7117fa22
Don't unload all media on switching between chats.
2018-11-04 15:51:38 +04:00
John Preston
959859f57c
Forget least used documents gradually.
2018-11-04 15:51:37 +04:00
John Preston
f8eef7c9a6
Forget least used images gradually.
2018-11-04 15:51:37 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
8b76428c7e
Create ImagePtr-s using a factory method.
2018-11-04 15:51:37 +04:00
John Preston
591fbf0ec6
Replace image source after photo sending.
2018-11-04 15:51:37 +04:00
John Preston
4b5b79e415
Use final Image with different Images::Source-s.
2018-11-04 15:51:37 +04:00
John Preston
5a50248055
Remove Image::toDelayedStorageImage downcaster.
2018-11-04 15:51:36 +04:00
John Preston
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
d56a3d015b
Add more plural rules support.
2018-11-04 15:51:36 +04:00
John Preston
85c59762a4
Fix broken emoji.
2018-11-04 15:51:36 +04:00
John Preston
01b4e1946a
Show reset scale button if window doesn't fit.
2018-11-04 15:51:36 +04:00
John Preston
19e407532b
Beta version 1.4.4: Fix emoji cache.
2018-10-17 16:04:13 +03:00
John Preston
c5d20a21f7
Beta version 1.4.4: Correct caption limit.
2018-10-17 14:43:18 +03:00
John Preston
54f2b1b2d8
Beta version 1.4.4: Fix emoji quality.
2018-10-17 14:43:17 +03:00
John Preston
5e872e4d2d
Beta version 1.4.4: Fix build for GCC.
2018-10-17 10:07:22 +03:00
John Preston
a429e22b93
Beta version 1.4.4: Add some checks.
2018-10-17 09:25:24 +03:00
Grishka
44eac2bf07
Added support for platform-specific microphone permission in calls
2018-10-17 08:53:23 +03:00
John Preston
500ecb464c
Beta version 1.4.4.
...
- Interface scaling for large screens, up to 300%
(up to 150% for macOS retina screens).
- Updated emoji.
2018-10-16 23:23:29 +03:00
John Preston
5b4abe69aa
Add interface scale (100%..150%) for Retina.
...
Fixes #69 , fixes #3126 , fixes #3789 .
2018-10-16 23:00:55 +03:00
John Preston
f2866442d2
Fix location thumb image sizes
2018-10-16 17:32:12 +03:00
John Preston
3cdfa1014a
Fix reading saved self.
2018-10-16 11:38:09 +03:00
John Preston
0d4ad1b635
Remove old settings code.
2018-10-16 11:38:09 +03:00
John Preston
19a9a990b6
Allow using any interface scale between 100%-300%.
2018-10-16 11:38:09 +03:00
John Preston
149639a53d
Add and bundle @3x icons.
...
Also bundle only 1x, @2x, @3x and generate 125% and 150%.
2018-10-16 11:38:09 +03:00
John Preston
2812d2911f
Remove media_volume icon, use volume slider.
2018-10-15 11:06:27 +03:00
John Preston
2b2b9c2f03
Check emoji cache signature asynchronously.
2018-10-15 09:04:07 +03:00
John Preston
b847c8424a
Use single emoji sprite and scale + cache it.
2018-10-15 09:03:29 +03:00
John Preston
59a97ffb99
Generate and keep only one emoji copy (400%) bundled.
2018-10-13 18:03:46 +03:00
John Preston
d5ec85c1d8
Add support for more emoji.
2018-10-13 18:03:46 +03:00
John Preston
979db97859
Version 1.4.3.
...
- Bug fixes and other minor improvements.
2018-10-13 08:01:27 +03:00
John Preston
e896971fa4
Allow instant template selection (support).
2018-10-11 19:07:37 +03:00
John Preston
ec49ff31ef
Disable autodownload on login (support).
2018-10-11 15:13:36 +03:00
John Preston
1ec9137fd7
Clear locations data on logout. Fixes a crash.
...
Also clear user notification center delegate on macOS.
2018-10-10 08:29:31 +03:00
John Preston
d6f4886c5b
Version 1.4.2.
...
- Crash fix.
2018-10-10 00:21:48 +03:00
John Preston
b6128b6fe0
Fix undefined behaviour in base::weak_ptr.
...
Regression was introduced in 1c79f85d00
.
Invalid casts lead to crashes in macOS notifications handling.
Casts were T* -> has_weak_ptr* -> void* -> T* which was not working
in case T had has_weak_ptr as not first base class.
Now it uses just T* -> has_weak_ptr* -> T* casts.
2018-10-10 00:19:47 +03:00
John Preston
9436789d6d
Version 1.4.1: Fix Linux Updater.
2018-10-09 22:07:38 +03:00
John Preston
fd53385c1f
Version 1.4.1: Fix build for old OS X.
2018-10-09 21:58:56 +03:00
John Preston
0e9ad5d82b
Fix build for Mac App Store.
2018-10-09 20:03:41 +03:00
John Preston
759bbe63dc
Version 1.4.1.
...
- Reduce crashes due to the out of memory exceptions.
- Load map previews through mtproto.
- Bug fixes and other minor improvements.
2018-10-09 19:27:18 +03:00
John Preston
e8a390c251
Use TelegramForcePortable for alpha versions.
2018-10-09 19:27:18 +03:00
John Preston
631e51a493
Hashtag search results as dialogs (support).
2018-10-09 19:27:18 +03:00
John Preston
81a9554caa
Move some settings to the main menu (support).
2018-10-09 19:27:18 +03:00
John Preston
3f1f070d3f
Move sessions list up in Settings.
2018-10-09 19:27:18 +03:00
John Preston
987fa198c8
Use original emoji for the autocomplete tooltip.
...
Fixes #5235 .
2018-10-09 19:27:18 +03:00
John Preston
2444acb041
Fix image data forgetting.
...
In case image was almost loaded (loader was ready, but not destroyed yet),
forget() didn't do anything, leaving bytes and image inside loader untouched.
Now we check loader state in forget() so that bytes and image are passed to
Image instance before they're forgot from the memory. This will improve memory
clearing while scrolling through chats with images and switching between them.
2018-10-09 19:27:18 +03:00
John Preston
3992cea084
Draw map point on HistoryLocation.
2018-10-09 19:27:18 +03:00
John Preston
f9632d5c43
Fix possible buffer overflow in Linux Updater.
...
Fixes #5227 .
2018-10-09 19:27:18 +03:00
John Preston
f43752b3ad
Fix memory leak in reply previews.
...
Regression was introduced in 2e7f4c2f21
.
Fixes #5237 .
2018-10-09 19:27:18 +03:00
John Preston
44496c7053
Disable notifications on login (support).
2018-10-09 19:27:18 +03:00
John Preston
9f90d3a7fc
Load maps using mtproto instead of google.
2018-10-09 19:27:18 +03:00
John Preston
be6e329e94
Don't switch chats on ctrl+shift+send (support).
2018-10-09 19:27:18 +03:00
John Preston
83919492d3
Ignore unread counts from deleted (support).
2018-10-09 19:27:18 +03:00
John Preston
9d4d3cc5e3
Show toast when reloading templates (support).
2018-10-09 19:27:17 +03:00
John Preston
ee8819681f
Don't jump to unread from chat bottom (support).
2018-10-09 19:27:17 +03:00