John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
John Preston
4fd6a85861
Add app manifest for Windows version.
2019-06-03 16:20:59 +03:00
John Preston
45a6985df5
Force GTK file chooser only in the official builds.
2019-05-31 12:03:10 +03:00
23rd
8796572704
Renamed touchbar files to mac_touchbar.
2019-05-29 00:15:36 +03:00
23rd
58604406f8
Added initial implementation touchbar.
2019-05-27 15:34:54 +02:00
John Preston
50778790fe
Start supporting channel discussion groups.
2019-05-27 15:09:25 +02:00
John Preston
c92a798e1b
Support url authorizations.
2019-05-27 15:09:18 +02:00
John Preston
4ab3c2dfcb
Add support for gzip-ed animated stickers.
2019-05-27 14:11:27 +02:00
John Preston
973c3f8838
QtLottie: Migrate from Qt JSON to rapidjson.
2019-05-27 14:11:27 +02:00
John Preston
a03d42daa8
Add rapidjson submodule.
2019-05-27 14:11:27 +02:00
John Preston
0f25638545
QtLottie: Don't build JSON to parse shapes.
2019-05-27 14:11:27 +02:00
John Preston
f58efd7ee3
QtLottie: Allow building properties from data.
2019-05-27 14:11:27 +02:00
John Preston
26c29f6af7
QtLottie: Move everything to Lottie namespace.
2019-05-27 14:11:27 +02:00
John Preston
ab82ff0fb7
QtLottie: Completely detach from upstream.
2019-05-27 14:11:27 +02:00
John Preston
38e2837cb6
Remove MOC for QtLottie.
2019-05-27 14:11:27 +02:00
John Preston
cfff744cb1
Parse and render lottie in the background.
2019-05-27 14:11:26 +02:00
John Preston
246e4e45bd
QtLottie: Add partial support for masksProperties.
2019-05-27 14:11:26 +02:00
John Preston
2c422dcd73
QtLottie: Add BMScene root class.
2019-05-27 14:11:26 +02:00
John Preston
2f02198ac7
QtLottie: Add support for precomp layer.
2019-05-27 14:11:26 +02:00
John Preston
2caa3e3def
QtLottie: Add precomp assets parsing.
2019-05-27 14:11:26 +02:00
John Preston
f9a32dc70f
QtLottie: Add support for null layer.
2019-05-27 14:11:26 +02:00
John Preston
22c2054dcf
First attempt to use QtLottie.
2019-05-27 14:11:26 +02:00
John Preston
626e7c1f76
Workaround MSVC 16.1 bugs.
2019-05-27 14:10:35 +02:00
23rd
b2f821d3de
Updated version of GCC to 8.
2019-05-20 15:59:06 +03:00
Vitaly Zaitsev
3d3d024878
Fixed building of PCH using Clang compiler.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-05-20 15:46:27 +03:00
John Preston
8fd811517b
Count unread correctly in folders.
2019-05-01 16:11:37 +04:00
John Preston
58519300ea
Support pinned chats in folders.
2019-05-01 16:11:37 +04:00
John Preston
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +04:00
John Preston
72690ee106
Enable hardened runtime on macOS build.
2019-04-23 19:24:36 +04:00
John Preston
f980023f49
Update Xcode version to 10.2 in GYP script.
2019-04-07 11:18:38 +04:00
John Preston
2bdce7dce6
Fix window activations handling without event loop nesting.
...
This was causing an assertion violation in Ui::PostponeCall.
- Add a generic Core::QtSignalProducer to convert Qt signals to rpl::producer.
- Track event loop nesting inside QtSignalProducer.
- Use QtSignalProducer for QWindow::activeChanged tracking.
2019-04-05 14:13:54 +04:00
John Preston
839cedde65
Closed alpha version 1.6.3.6: Update to VS 2019.
2019-04-04 20:51:42 +04:00
John Preston
77fbf19a72
Use serverside keywords for emoji suggestions.
2019-04-02 14:33:53 +04:00
John Preston
3bd1bbc77a
Use Streaming::Player in video messages playback.
2019-03-26 16:51:39 +04:00
23rd
8887272577
Refactored code. Removed unused code.
...
- Deleted manage_peer_box from sources.
2019-03-22 13:40:22 +04:00
23rd
be8aed6a95
Added GroupTypeBox with Controller.
2019-03-22 13:40:22 +04:00
23rd
d06337dddc
Added HistoryVisibilityBox.
2019-03-22 13:40:22 +04:00
John Preston
9a616edf2a
Add new animations engine.
2019-03-11 12:08:17 +04:00
John Preston
c27456277e
Support streaming of local files.
2019-03-11 12:08:11 +04:00
John Preston
fde8dd9607
Play streaming audio in player.
2019-03-11 12:08:08 +04:00
John Preston
f1e0cd6c1d
Play streaming video in mediaview.
2019-03-11 11:52:11 +04:00
John Preston
8e44a7f5c4
Basic code for video streaming + testing on video.
2019-03-11 11:49:22 +04:00
John Preston
a093cb6274
Move some logic to Media::Streaming::Player.
2019-03-11 11:49:21 +04:00
John Preston
473e30e594
Basic code for media streaming + testing on music.
2019-03-11 11:49:21 +04:00
John Preston
98cb85df66
Polymorphic classes without virtual dtor warning.
2019-02-15 15:55:34 +04:00
John Preston
032694ad9e
Move files to media/audio and media/clip.
2019-02-13 15:41:33 +03:00
John Preston
c1a0dad2b7
Use QOpenGLWidget for macOS media viewer overlay.
...
Also move mediaview to media/view/media_view_overlay_widget.
2019-02-12 14:00:47 +03:00
John Preston
95565c39ed
Upload wallpapers to the cloud.
2019-02-08 19:20:08 +03:00
John Preston
e2f0886950
Add option to blur chat background.
2019-02-07 19:36:30 +03:00
John Preston
5ca12a73c3
Use new HistoryWallPaper media type for wallpaper.
2019-01-29 19:26:19 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
dba9ca2084
Replace TLHelp helpers with .match()
2019-01-17 12:21:30 +04:00
John Preston
a605c110a8
Support legacy groups in participant boxes.
2019-01-17 12:21:29 +04:00
John Preston
f4d52b82b4
Allow reusing permissions edit controls.
2019-01-17 12:21:29 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
bb8defeb42
Improve change emoji set box design.
2019-01-11 17:30:57 +04:00
John Preston
f48ae29f22
Load emoji sets from the cloud.
2019-01-11 17:30:00 +04:00
John Preston
de00e0e15c
Add simple switch emoji set box.
2019-01-11 17:30:00 +04:00
John Preston
ebaf63393f
Fix build for old OS X and MacAppStore.
2019-01-06 15:22:18 +04:00
John Preston
7c168740d9
Update instructions for Xcode 10.1.
2019-01-05 16:34:34 +04:00
Gregory K
11b991cddc
Add call settings ( #5540 )
2019-01-05 15:08:02 +04:00
John Preston
a0c6104fae
Redesign auto download box.
2018-12-25 22:15:22 +04:00
John Preston
e3cc8652e4
New structs for media autodownload settings.
2018-12-25 22:15:22 +04:00
John Preston
b6f7832745
Add create poll box from groups three-dot menu.
2018-12-22 10:29:03 +04:00
John Preston
4bb5dcf50c
Simplest poll layout.
2018-12-21 17:09:32 +04:00
John Preston
6d08394adc
Divide history_media_types to several modules.
2018-12-21 17:09:31 +04:00
John Preston
47bdeeef9a
Poll data and updates handling added.
2018-12-21 17:09:31 +04:00
5HARK
673962d6a1
Add nimf inputcontext plugin for linux version ( #5050 )
2018-12-06 11:30:08 +04:00
John Preston
81c4166389
Use CodeBlocks+Makefiles in cmake on Linux.
...
It gives the files layout in the Qt Creator.
2018-11-29 15:43:31 +04:00
John Preston
0b619e50ba
HistoryHider moved to Window namespace.
2018-11-28 15:48:35 +04:00
John Preston
59ecf375b0
Move tg:// handlers to a separate module.
...
Also move joinGroupByHash and stickerSetBox from MainWidget.
2018-11-26 17:31:13 +04:00
John Preston
b3ffbeb63e
Improve code for Shortcuts handling.
2018-11-20 19:38:40 +04:00
John Preston
4960e08a24
Display occupied chats using drafts for support.
2018-11-20 19:38:39 +04:00
John Preston
60103f7ad6
Use upstream range-v3 on MSVC.
...
The build works using MSVS 15.9 and latest range-v3 code.
2018-11-20 19:38:39 +04:00
Nicholas Guriev
b6432e7d13
Switch to Ayatana Indicators
2018-11-13 10:30:54 +04:00
John Preston
561d3e0670
Beta version 1.4.5: Fix build script.
2018-11-08 22:00:08 +04:00
John Preston
8ef67c393b
Fix build after openal-soft update.
...
Regression was introduced in 91c85ec86b
.
2018-11-08 15:27:06 +04:00
John Preston
ef38572d5a
Detect and send supports_streaming bit for videos.
2018-11-07 18:10:00 +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
da358615e0
Generate high quality video thumbnail when loaded.
2018-11-04 15:51:38 +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
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
2812d2911f
Remove media_volume icon, use volume slider.
2018-10-15 11:06:27 +03:00
John Preston
b847c8424a
Use single emoji sprite and scale + cache it.
2018-10-15 09:03:29 +03:00
John Preston
d5ec85c1d8
Add support for more emoji.
2018-10-13 18:03:46 +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
ccaec28d0b
Read and autocomplete templates (support).
2018-10-09 19:27:16 +03:00
John Preston
25cefc6eab
Allow fix chats order and auto switch (support).
2018-10-09 19:27:16 +03:00
John Preston
7ee1af5348
Move advanced notifications settings from box.
2018-09-28 00:18:30 +03:00
John Preston
04dd4e30a8
Rename General->Advanced in Settings.
2018-09-20 21:26:10 +03:00
John Preston
377689ae86
Fix build for Xcode 10.
2018-09-19 19:22:14 +03:00
John Preston
2f408cd773
Remove old settings.
2018-09-19 19:22:14 +03:00
John Preston
c1ae9e9680
Implement intro wrap for new settings.
2018-09-19 19:22:14 +03:00
John Preston
50b0b61118
Accept typing codes in settings.
2018-09-19 19:22:13 +03:00
John Preston
f0d092f126
Section dummies for new Settings.
2018-09-19 19:22:12 +03:00
John Preston
4f16ad6757
Move old settings to old_settings.
2018-09-19 19:22:12 +03:00
John Preston
9ba331693f
Async clear of legacy local storage.
...
Sync call to QDir::entryList is a bad idea for the user data folder.
Some users reported hanging on startup with 1.25M legacy cache files.
Now we enumerate up to 10000 files at once asynchronously and clear.
2018-09-04 22:37:22 +03:00
John Preston
08ff324b1b
Work with Cache::Database in LocalStorageBox.
2018-09-01 18:56:08 +03:00
John Preston
2f9d65b4eb
Add a generic BinlogReader.
2018-09-01 18:56:08 +03:00
John Preston
a4c1d5fe9d
Move cache database to a separate module.
...
Also start compactor code.
2018-09-01 18:56:08 +03:00
John Preston
b9af3c7f34
Add base::ConcurrentTimer.
...
Write removes from cache database once an hour.
2018-09-01 18:56:08 +03:00
John Preston
64b8adb3d0
Isolate lib_base library. Use crl::time in getms.
2018-09-01 18:56:08 +03:00
John Preston
cb371f09ac
Clear old versions of Storage::Cache::Database.
2018-09-01 18:56:08 +03:00
John Preston
9147c12687
Add basic implementation of Storage::Cache DB.
2018-09-01 18:56:08 +03:00
John Preston
81731139e9
Add tests for storage encrypted file.
...
Also fix some bugs found by the tests.
2018-09-01 18:56:08 +03:00
John Preston
8a371b9c1b
New storage encrypted file.
2018-09-01 18:56:08 +03:00
John Preston
557d363d02
Refresh file references when downloading files.
2018-08-20 17:26:28 +03:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
b8b5ab6378
Improve native name phrases in passport.
...
Also auto-save *_name to *_name_latin for english countries.
2018-08-20 17:25:33 +03:00
John Preston
550c159ca8
Update API scheme to layer 83.
2018-08-04 23:11:04 +03:00
John Preston
aaa1245430
Add some javascript handlers to HTML export.
2018-07-31 22:56:03 +03:00
John Preston
41977bf515
Fix build for Xcode.
2018-07-31 22:56:02 +03:00
John Preston
81e074115d
Fix build for Xcode.
...
Regression was introduced in a8d35b67aa
.
2018-07-11 17:56:09 +03:00
John Preston
66822f7333
Add some HTML design to export, except messages.
...
NB Testing the layout, the app is not in a working condition.
2018-07-10 12:18:41 +03:00
John Preston
e466dc9fc7
Fix default build.
...
Regression was introduced in a8d35b67aa
.
2018-07-10 12:14:53 +03:00
Marco Trevisan
a8d35b67aa
lib_export: use includes paths as defined per platform ( #4935 )
2018-07-03 12:56:51 +03:00
John Preston
2522e66969
Move export descriptions to lang.
2018-06-24 15:44:53 +01:00
John Preston
9d66f9cc03
Add basic HTML export.
2018-06-24 15:44:53 +01:00
John Preston
9f8d61ab2f
Add information about saved data.
2018-06-23 00:56:53 +01:00
John Preston
844d030332
Save export settings to local storage.
2018-06-23 00:56:53 +01:00
John Preston
1e10529f20
Fix Linux build. Use -flto for static libraries.
...
Some unbelievable crashes happen in MTP codegen-ed serialization
if the binary is using -flto with MTP in non-flto static library.
To build and link static libraries with -flto additional GYP patch
is required, so that ar/ranlib/nm use gcc- wrappers.
2018-06-23 00:28:44 +01:00
John Preston
23140b3d6a
Fix build for old OS X.
2018-06-21 23:35:28 +01:00
John Preston
b5a65a4519
Add export to JSON.
2018-06-21 21:42:50 +01:00
John Preston
13e6b91ac7
Remove old done widget in Export.
2018-06-20 17:45:52 +01:00
John Preston
e11c27048b
Add export statistics for the final screen.
2018-06-20 17:10:38 +01:00
John Preston
329db0d8e9
Export panel minimizes to a top bar, like a Call.
2018-06-20 01:02:36 +01:00
John Preston
5f01751660
Display errors in export UI.
...
All errors are now fatal errors :(
2018-06-19 13:35:21 +01:00
John Preston
83786ddeaf
Export chat messages photos and documents.
...
Also rename .visit() with .match() in MTP types.
Also add base::match_method() and base::match() for base::variant.
Also add base::match() and .match() for base::optional_variant.
2018-06-14 01:09:48 +03:00
John Preston
0e9793b845
Move MimeType from utils to core/mime_type.
...
Also move to Core namespace.
2018-06-14 01:08:47 +03:00
John Preston
cec8114b99
Add simple files and contacts export.
...
Also move all API calls in export to Export::ApiWrap.
2018-06-12 01:02:05 +03:00
John Preston
0a1a5ed70e
Use abstract export writer for different formats.
2018-06-12 01:02:05 +03:00
John Preston
c587c011d2
Start data export in lib_export.
2018-06-12 01:02:04 +03:00
John Preston
c63c75018d
Update crl submodule.
2018-06-12 01:02:04 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
18f38f0983
Fix build for Xcode.
2018-06-03 23:16:38 +03:00
John Preston
a29e8f9a06
Moved Passport panel code to Ui::SeparatePanel.
2018-06-03 23:16:38 +03:00
John Preston
8969a7d929
Fix passport for Xcode and macOS.
...
Also use different bundle id for debug builds.
2018-06-03 23:16:36 +03:00
John Preston
f1519b76f6
Allow to enter phone and email in the passport.
2018-06-03 23:16:34 +03:00
John Preston
94bfd59b76
Fill all required fields in identity and address.
2018-06-03 23:16:34 +03:00
John Preston
2790919733
Move scans upload to a separate module.
2018-06-03 23:16:34 +03:00
John Preston
f0b7ff24b1
Update API scheme.
2018-06-03 23:16:34 +03:00
John Preston
5cfead762d
New design of the passport in a separate window.
2018-06-03 23:16:34 +03:00
John Preston
a2dabfde56
Separate form controller from view controller.
2018-06-03 23:16:34 +03:00
John Preston
f633ead3ab
First version of IdentityBox with encrypted data.
2018-06-03 23:16:33 +03:00
John Preston
07e8a2bd85
Initial layout of the passport authorization form.
2018-06-03 23:16:33 +03:00
John Preston
ddb4527159
Start passport support: handle link, receive form.
2018-06-03 23:16:33 +03:00