John Preston
8f5ac0420e
Update API scheme to layer 131.
2021-07-13 22:08:09 +03:00
John Preston
b57255297c
Clang on Linux build fixes.
2021-07-13 21:56:36 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
Ilya Fedin
b6881022ce
Allow to build with -Werror and clang
...
Fixes -Wdeprecated-enum-enum-conversion, -Wdeprecated-declarations, -Wrange-loop-construct, -Winconsistent-missing-override
2021-07-13 21:32:06 +03:00
Ilya Fedin
89765340c3
Fix -Wunused-function warnings
2021-07-13 21:31:22 +03:00
John Preston
84b1fac0c8
Fix more warnings in submodules.
2021-07-13 21:30:55 +03:00
nyakze
a283049b34
Expand moderator mode + fix
...
Apparently for commands to work, they have to be bind to 1-9 keys, apart from any other alternative hotkeys. It should address this issue, as well as expanding to ease the usage on numpad.
2021-07-13 16:04:16 +03:00
Ilya Fedin
8ecc98eb03
Right file dialog freeze fix
...
The freezing is still happening if the service is not accessible
2021-07-12 11:10:16 +03:00
Ilya Fedin
c53564cfdc
Set service name for MPRIS
2021-07-10 14:28:04 +03:00
John Preston
cc7f569c77
Fix build on non-Windows.
2021-07-09 21:39:08 +03:00
23rd
7526964904
Simplified calculation of minimum crop size in photo editor.
...
It also fixes cropping of images with unbalanced ratios.
2021-07-09 13:15:31 +03:00
23rd
f1669674d8
Moved formatting of image size text to single place.
...
Fixed wrong size display on retina screens.
Replaced "x" with special character.
2021-07-09 13:15:31 +03:00
23rd
cab8a52f8f
Fixed visual glitch in image size text from SendFilexBox.
...
Regression was introduced in f52c6a6daa
.
2021-07-09 13:15:31 +03:00
23rd
6b93d8dc41
Refactored and fixed saving scene states between modes in photo editor.
2021-07-09 12:49:07 +03:00
23rd
9be122710d
Moved SaveState from Editor::BaseItem to Editor::NumberedItem.
2021-07-09 12:49:07 +03:00
23rd
1e3044fbf4
Moved performing of Undo/Redo from Editor::Paint to Editor::Scene.
2021-07-09 12:49:07 +03:00
23rd
aef2148ed0
Moved hasUndo and hasRedo from Editor::Paint to Editor::Scene.
2021-07-09 12:49:07 +03:00
23rd
fb511c3e03
Added status to Editor::NumberedItem.
2021-07-09 12:49:07 +03:00
23rd
6acd9f18ad
Replaced interaction with QGraphicsItem to Editor::NumberedItem.
2021-07-09 12:49:07 +03:00
23rd
78b25c694e
Added ability to save and restore items state in photo editor.
2021-07-09 12:49:07 +03:00
23rd
d2d97a3e47
Moved to separate file some structs for internal usage in photo editor.
2021-07-09 12:49:07 +03:00
23rd
bf8f3e42f4
Simplified work with Editor::ItemBase::Data.
2021-07-09 12:49:07 +03:00
23rd
fe8eae09c4
Fixed item handlers size when opening photo editor with modified scene.
2021-07-09 12:49:07 +03:00
23rd
5bbf3a329d
Fixed items order when opening photo editor with modified scene.
2021-07-09 12:49:07 +03:00
23rd
8ddbf08a97
Changed max and min sizes of scene items from pixels to ratio.
2021-07-09 12:49:06 +03:00
23rd
d69090bf34
Moved flip and rotation info to Editor::ItemBase struct.
2021-07-09 12:49:06 +03:00
23rd
0c50fbf1b9
Moved Editor::ItemBase arguments to struct.
2021-07-09 12:49:06 +03:00
John Preston
4206ff0483
Don't use MTP* for StickersSet flags.
2021-07-09 09:08:58 +03:00
Ilya Fedin
62fd968409
Don't call gtk_selection_data_get_length on nullptr
2021-07-08 22:09:26 +03:00
Ilya Fedin
2c6e4eed19
Use unique_ptr for GtkSelectionData
2021-07-08 22:09:26 +03:00
John Preston
75090dedaa
Don't store MTPInputStickerSet in data.
2021-07-08 22:08:59 +03:00
23rd
9dfb43d525
Fixed build for macOS and Linux.
2021-07-08 20:18:40 +03:00
Ilya Fedin
3b07785f87
Optimize pasting with gtk
2021-07-08 18:58:40 +03:00
John Preston
f22e68fc32
Don't use MTP* for PeerSettings flags.
2021-07-08 17:32:39 +03:00
John Preston
878c890bc2
Bump version to 2.8.7.beta for serialization.
2021-07-08 16:11:30 +03:00
John Preston
a74228acea
Don't use MTP* for ChannelData flags.
2021-07-08 16:11:09 +03:00
John Preston
5040c2e766
Don't use MTP* for ChatData flags.
2021-07-08 15:11:46 +03:00
John Preston
e34375405e
Don't use MTP* for UserData flags.
2021-07-08 14:19:12 +03:00
John Preston
2ffda9f240
Don't use MTP* for ChatAdminRight / ChatRestriction.
2021-07-08 13:34:06 +03:00
23rd
8e73a6a6ff
Fixed Github CI Windows build.
2021-07-07 19:31:36 +03:00
John Preston
b642a80cd8
Fix timers race condition on Windows.
2021-07-07 17:57:31 +03:00
John Preston
94bdae13d8
Fix Qt build instructions on Windows.
2021-07-07 17:29:20 +03:00
Ilya Fedin
ee773a28bb
Fix 30s freeze after pasting
2021-07-07 16:40:09 +03:00
John Preston
caddb44a2c
Update tg_owt revision.
2021-07-07 16:39:26 +03:00
Ilya Fedin
1b4216803d
Add snap permission to own name for gtk integration IPC
2021-07-07 14:26:33 +03:00
Ilya Fedin
17cee8ec56
Set service name for lib_base and lib_webview gtk integration
2021-07-07 12:16:01 +03:00
John Preston
3cdd115317
Beta version 2.8.6: Fix build for Linux.
2021-07-07 00:54:56 +03:00
John Preston
bdd1d2484c
Beta version 2.8.6: Update build script.
2021-07-06 20:32:08 +03:00
John Preston
d5a416d5ea
Beta version 2.8.6: Fix build for macOS.
2021-07-06 20:25:46 +03:00
John Preston
46d393ea0f
Beta version 2.8.6.
...
- Added a simple image editor.
Crop photos or highlight parts of screenshots before sending.
- Use Direct3D 9 backend in ANGLE by default (Windows).
- Fix "Show in Finder" not focusing the Finder window (macOS).
- Use GTK from a child process (Linux).
2021-07-06 17:17:23 +03:00