John Preston
f4d9618487
Improve layer / section exchange for Info.
2017-11-16 07:59:04 +04:00
John Preston
26532ab9b4
Fix small chats list column bug with boxes.
2017-11-16 07:59:03 +04:00
John Preston
5586d231de
Switch Info between columns and layer.
2017-11-16 07:59:03 +04:00
John Preston
5e7aa4ff81
Move third column from HistoryWidget to MainWidget.
2017-11-16 07:59:03 +04:00
John Preston
f162462111
Move info between Layer and Narrow wrap.
2017-11-16 07:59:03 +04:00
Yonsh Lin
11a46a1072
Fix IME being interrupted after reconnection
...
Signed-off-by: Yonsh Lin <yonsh@live.com> (github: yonsh)
2017-09-28 12:57:25 +03:00
John Preston
df64c972d8
Replace QFlags with base::flags.
2017-09-03 15:45:47 +03:00
John Preston
48e2a5472e
Return not_null<History*> in App::history().
2017-09-03 15:45:43 +03:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
a72453fb1b
Remove ContactsBox and contacts_box module.
2017-08-30 19:15:30 +03:00
John Preston
e209737b1a
Display and follow unread mentions in history.
2017-08-30 19:15:13 +03:00
John Preston
65d81f96f3
Remove some App::wnd() occurences.
2017-08-25 14:39:28 +03:00
John Preston
b08732cf28
Move MediaView from MainWindow to Messenger.
2017-08-25 14:39:27 +03:00
John Preston
ab35829358
Remove App::app(), App::uploader(), App::api().
...
Also use Auth() instead of AuthSession::Current*().
2017-08-25 14:39:18 +03:00
John Preston
0a6535ea94
Show "choose from user" box when typing "from:".
2017-08-25 12:58:10 +03:00
John Preston
3db913f15b
Remove layer deletion by timer in MainWindow.
...
It could be: schedule deletion -> show new box -> delete it by timer.
This fixes the error box display when adding users to groups.
2017-07-13 19:14:31 +03:00
Nicholas Guriev
38a53687a0
Fix a couple of typos
...
Signed-off-by: Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
2017-07-12 14:08:36 +03:00
John Preston
42febdb240
Fix alpha version changelog notification.
...
We should call window->serviceNotification() because it checks for
the service chat history being loaded before adding the message.
The method in MainWidget was renamed to prevent bugs in the future.
2017-06-30 14:30:11 +03:00
John Preston
82912f4a0b
Handle socks internal links.
2017-06-30 09:21:43 +03:00
John Preston
1968ca07de
Display connecting to proxy state with a link.
2017-06-30 09:21:43 +03:00
John Preston
e39b95175b
Handle channel event log mouse events.
2017-06-30 09:21:42 +03:00
John Preston
11d4c50202
Closed beta 1001007001: Fix build in GCC.
2017-06-29 11:40:02 +03:00
John Preston
5d0e89db5d
Switch to the server side changelogs.
2017-06-29 11:40:00 +03:00
John Preston
665a1acfd8
Apply language with app restart if logged in.
...
Confirm and restart if logged in, just quickly apply if not.
2017-06-29 11:39:54 +03:00
John Preston
5fc4f4ed36
Realtime UI translation in Intro.
...
Also support realtime translation testing by F7-F6-F7-F8 keys.
2017-06-29 11:39:49 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
25587d7e8e
Replace different side enums with RectPart.
...
Including Ui::Shadow::Side, App::RectPart and ImportantTooltip::Side.
2017-05-24 16:25:20 +03:00
John Preston
1e6d4d6b41
Activate mediaview instead of main window.
...
If the mediaview is currently shown and we receive an activation
event for the main window we should activate and focus mediaview.
2017-05-24 16:25:08 +03:00
John Preston
b74dea8662
Move logo images to Messenger. Set call panel icon.
2017-05-12 18:28:44 +03:00
John Preston
297856db32
Load and use Segoe UI [Semibold] if no Open Sans.
...
Sometimes Open Sans Semibold fails to load properly on the latest
Windows Creators Update. In that case try to load Segoe UI instead.
An attempt to fix #3276 .
2017-04-30 19:03:12 +03:00
John Preston
de7c886008
Move passcode management from MainWindow.
...
Check for auto lock in AuthSession. Don't autolock while video plays.
Closes #3219
2017-04-15 21:51:12 +03:00
John Preston
8eb7f1f1aa
Display round video messages using HistoryGif.
...
Use autodownload and autoplay options from GIFs.
Also improve EditCaptionBox code.
2017-04-12 22:37:26 +03:00
John Preston
8d28d0691f
API scheme updated to layer 66.
...
Support CDN file download.
2017-04-12 22:36:25 +03:00
John Preston
891d200e2d
Add TabbedSection which uses the TabbedSelector.
2017-04-10 12:08:56 +03:00
John Preston
570cd9bdfa
Move GIF pausing methods to Window::Controller.
2017-04-08 16:31:57 +03:00
John Preston
6b242a982b
Fix GIF pause by layer.
...
Let MainWindow enable / disable GIF pausing when a layer is shown.
2017-04-07 18:13:20 +03:00
John Preston
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00
John Preston
8d4be19952
Use separate TopBar for History and Overview.
...
Move TopBar widget to History and Overview from MainWidget.
2017-03-31 15:47:58 +03:00
John Preston
d41372dccd
Allow MTP_flags(0) and MTP_flags(single_flag).
2017-03-25 18:42:01 +03:00
John Preston
731e53bc99
Fix crash in tray icon notifications toggle.
...
While we have the same tray menu for an authorized user and not.
2017-03-23 15:30:16 +03:00
John Preston
d91a2403b0
Use refs in AuthSession part getters.
...
Also use only AuthSession data for Contacts/Dialogs loaded state.
2017-03-15 19:24:06 +03:00
John Preston
b5d9eee489
Fix macOS native notification callbacks.
2017-03-08 10:31:05 +03:00
John Preston
81790b2271
Notifications management moved to AuthSession.
...
Also implemented Global::WorkMode() as an base::Variable.
2017-03-06 18:38:15 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00
John Preston
08167a6a91
Removed #include "stdafx.h" from all files.
...
Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway.
2017-03-04 12:27:52 +03:00
John Preston
6f0cf30b12
Some platform-dependent modules refactoring.
...
Now each platform-dependent module declares its interface in
platform/platform_module.h file and after that includes platform-
specific headers like platform/win/module_win.h with implementation.
Also removed the legacy WinRT platform-dependent implementations.
2017-02-28 13:51:00 +03:00
John Preston
c3b3819d9f
Moved AppClass to messenger.cpp:Messenger.
2017-02-25 19:48:20 +03:00
John Preston
63c61637f8
Moved MTP::authedId() to AuthSession::Current().
2017-02-25 19:48:19 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00
John Preston
b842761ea3
Closed beta 1000006001: Built in theme and color palette editor.
2017-02-07 17:56:33 +03:00
John Preston
4424dbf64a
Allow to resize chats list. One more mode added (narrow chats list).
2017-01-16 12:55:03 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
30c9bcb985
Alpha 0.10.27: appoint admins in your supergroups from context menu.
2017-01-11 09:30:51 +04:00
John Preston
c65a280b9d
Alpha 0.10.23: small tiled background performance improved.
...
Also some error texts improved. Also Ctrl+W closes MediaView now.
2017-01-01 20:59:33 +04:00
John Preston
eec5b78054
Delete for everyone checkbox added. Various bugfixes.
2017-01-01 15:47:00 +04:00
John Preston
218f991547
Alpha version 0.10.22: critical bug fixes.
2016-12-31 17:34:41 +04:00
John Preston
204d91d567
Closed beta 10020006: fixed crash on start when the passcode is used.
2016-12-30 17:53:07 +04:00
John Preston
ef927c8465
Theme preview ready.
...
Also style::color is now copyable, constructed only inside a palette.
Also macOS setup new background ready.
2016-12-30 17:53:05 +04:00
John Preston
b030824ef5
Use default color theme link in non-authed Advanced settings section.
2016-12-30 17:53:00 +04:00
John Preston
2436ad74bd
Boxes redesigned. Common groups moved to Shared Media.
...
Also transparent images sending fixed.
2016-12-30 17:52:56 +04:00
John Preston
85b434bee4
Scheme updated. Pinned dialogs support added.
2016-12-30 17:52:53 +04:00
John Preston
06ed7b8eaf
Some more ripple animations. Now only anim::value (float64).
...
Also each FloatAnimation now stops MTP responses.
Also slide animations done by FloatAnimation.
Closed beta 10019012.
2016-12-30 17:52:46 +04:00
John Preston
3e6d483939
Closed beta 10019011: fixed build in Xcode, langs updated.
2016-12-30 17:52:40 +04:00
John Preston
b0f14d1856
Closed beta 10019011: various style improvements.
2016-12-30 17:52:39 +04:00
John Preston
8958ae0377
Typing animations from android.
2016-12-30 17:52:36 +04:00
John Preston
3cff50009c
Closed beta 10019010: unified attach button, new intro, new stickers.
...
Now all files sending is confirmed before preparing for sending.
You can paste from clipboard and drag many files at once.
2016-12-30 17:52:32 +04:00
John Preston
3da0533339
Intro redesign done.
2016-12-30 17:52:30 +04:00
John Preston
31a66d66e2
Layers show/hide rewritten, animated show over mainmenu and settings.
2016-12-30 17:52:15 +04:00
John Preston
7fa274a68e
Improved ripple animation colors and styles for different buttons.
...
Also moved FlatLabel and LabelSimple to ui/widgets/labels module.
Also moved ScrollArea to ui/widgets/scroll_area module.
2016-12-30 17:52:10 +04:00
John Preston
3186e1e495
Ripple animations done for IconButton, FlatButton and RoundButton.
...
Also moved input field classes to ui/widgets/input_fields module.
2016-12-30 17:52:08 +04:00
John Preston
a74baaea36
Left main menu.
2016-12-30 17:52:05 +04:00
John Preston
807bebb3cf
Buttons moved to ui/widgets/buttons module, BoxButton removed.
2016-12-30 17:52:04 +04:00
John Preston
8ff3779c9a
Custom title bar for macOS 10.10+ improved, colors in palette now.
2016-12-30 17:51:54 +04:00
John Preston
494254496e
10019003: Some compose area icons improved. Box headers redesigned.
2016-12-30 17:51:52 +04:00
John Preston
475b35bf55
Custom title on macOS 10.10+ added.
2016-12-30 17:51:51 +04:00
John Preston
fac8e48381
Default background changed to green, "video file" -> "video" in lang.
2016-12-30 17:51:48 +04:00
John Preston
b3d1602354
Forward bar and unread counter added to top bar in OneColumn layout.
2016-12-30 17:51:42 +04:00
John Preston
e693a98bd4
Passcode lock button added to DialogsWidget.
2016-12-30 17:51:40 +04:00
John Preston
3a599e0752
New main menu in DialogsWidget.
...
Also "flip_horizontal" and "flip_vertical" modifiers support added.
Also moving parts of MainWindow to Window::MainWindow.
2016-12-30 17:51:38 +04:00
John Preston
0cbb0014db
Removed blue window title, new small title used only in Windows.
2016-12-30 17:51:37 +04:00
John Preston
5d10c02b5b
Applying color themes with confirmation / reverting (15 seconds).
2016-12-30 17:51:32 +04:00
John Preston
e08f5437a6
Palette usage improvements.
2016-12-30 17:51:29 +04:00
John Preston
dbb6371e67
First version on loading themes is ready.
2016-12-30 17:51:27 +04:00
John Preston
6e33f039b2
Dropdown replaced by Ui::DropdownMenu. ScrolledWidget removed.
...
Ui::DropdownMenu is like Ui::PopupMenu, both based on Ui::Menu.
2016-10-27 15:56:48 +03:00
John Preston
1cfe9d0ff5
Version 0.10.18: a couple of crash fixes.
2016-10-24 18:36:17 +03:00
John Preston
c1d862d8de
Some icons moved from sprite to separate files.
2016-10-22 21:58:36 +03:00
John Preston
3503be03c9
Fix tray icon menu display in Fedora (Qt 5.6.2 broke it).
...
When activeChanged() is emitted we call updateTrayMenu(), that
always called trayIcon->setContextMenu(), which was hiding the
just-shown tray icon menu in case of right click with main
window being active. Now we call trayIcon->setContextMenu()
only if the contextMenu value has really changed for trayIcon.
2016-10-19 15:24:39 +03:00
John Preston
fc7c5d0ab3
Fixed travis build for TDESKTOP_DISABLE_AUTOUPDATE case.
2016-10-18 10:56:38 +03:00
John Preston
0902741b85
Respecting Quite Hours in Windows.
...
Also closing current chat on window close or passcode lock.
2016-10-17 13:55:17 +03:00
John Preston
31a847fb9d
Playlist appearance added to the new media player.
...
Also itemRemoved() now is fired as a global observable.
2016-10-14 20:10:15 +03:00
John Preston
e616c39608
Merge branch 'dev' into player
...
Conflicts:
Telegram/SourceFiles/application.cpp
Telegram/SourceFiles/core/utils.h
Telegram/SourceFiles/localstorage.cpp
Telegram/SourceFiles/pspecific_mac_p.mm
2016-10-08 12:10:33 +03:00
John Preston
a9929a5d51
Merge branch 'master' into notifications
2016-10-04 12:19:00 +03:00
John Preston
e1a8c89ff1
Version 0.10.9: don't handle cStartUrl() while passcoded.
2016-10-03 11:20:02 +03:00
John Preston
0bf55835f5
NB Broken! Notifications refactored to Manager, only Windows working.
2016-10-02 16:54:27 +03:00
John Preston
a41e0c4aa7
NB Broken! Started notification manager abstraction.
2016-10-02 12:30:28 +03:00
John Preston
4a5f467560
Version 0.10.9: fixed interface scaling and Windows build.
2016-10-01 16:15:27 +03:00
John Preston
ef2faf676e
Version 0.10.9: langs updated, moved shadow icons to separate files.
2016-10-01 15:35:52 +03:00
John Preston
1b54ccb59c
Merge branch 'game_media' into player
...
Conflicts:
Telegram/Resources/basic.style
Telegram/SourceFiles/media/player/media_player_list.cpp
Telegram/SourceFiles/title.cpp
2016-09-30 20:07:56 +03:00
John Preston
376941dd5e
Mixed channel access hash to the game score encrypted data.
...
Added new lang strings for playing game send actions (not done yet).
Also moved alot of icons from sprite to separate b&w files.
2016-09-30 15:52:03 +03:00
John Preston
5b3ac58578
Merge branch 'game_media' into player
...
Conflicts:
Telegram/SourceFiles/core/basic_types.h
Telegram/SourceFiles/sysbuttons.h
Telegram/SourceFiles/title.cpp
2016-09-29 16:48:43 +03:00