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
c207743338
Made base::lambda a copyable value type.
...
Now base::lambda can be copied and can wrap any immutable lambda.
For mutable lambdas there is base::lambda_once (which you're
supposed to call only once to pass data through lambda captures,
for example by using std::unique_ptr). Generally base::lambda is
passed by value and base::lambda_once is passed by rvalue reference.
2017-02-26 21:01:23 +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
7adfe93a8d
Alpha 1.0.10: unpinning converted chat on demand.
...
If we want to pin a chat and we have reached the limit we now check
for a deactivated (converted to supergroup) chat that is pinned and
is not in the chats list and just silently unpin it if it is found.
Also possible UB fix for a waveform encoding and decoding.
2017-02-16 19:47:50 +03:00
John Preston
d1b9b8e3a3
Alpha 1.0.4: Click and drag to reorder pinned chats.
2017-01-30 18:27:13 +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
d0a7e6be73
Delete messages box labels fix and confirm by Enter key.
...
Also context menu fixed in case of non-transparent windows.
Also pausing GIFs when the window is not active.
2017-01-02 21:11:49 +04:00
John Preston
218f991547
Alpha version 0.10.22: critical bug fixes.
2016-12-31 17:34:41 +04:00
John Preston
1d8e76aa08
New empty user/chat photos: with filled background and initials.
2016-12-30 17:53:09 +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
eb4d2a38b6
Closed beta 10020003: All colors moved to palette, some bug fixes.
2016-12-30 17:53:02 +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
47977009b8
Moved FloatAnimation->Animation, Animation->BasicAnimation.
2016-12-30 17:52:48 +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
a3c406dd00
Some macOS improvements for animations and retina support.
2016-12-30 17:52:41 +04:00
John Preston
8958ae0377
Typing animations from android.
2016-12-30 17:52:36 +04:00
John Preston
6e0394dd42
Stickers box redesigned.
2016-12-30 17:52:28 +04:00
John Preston
9155591e8a
New cancel search icon animation.
2016-12-30 17:52:24 +04:00
John Preston
8a0c275658
Group and channel create box photo select button improved.
2016-12-30 17:52:20 +04:00
John Preston
07689476a6
Closed beta 10019008: Some more ripple animations added.
2016-12-30 17:52:13 +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
45ce0ecb1f
Dialogs filter input field without search icon.
2016-12-30 17:51:55 +04:00
John Preston
19f4e50e33
New compose area icons.
2016-12-30 17:51:50 +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
23c2e5364a
Removed anim::cvalue and ColorAnimation, all done by fvalue now.
...
Also moved style::interpolate to anim::color/anim::pen/anim::brush.
2016-12-30 17:51:46 +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
d12177befd
Update Telegram button added to DialogsWidget/Intro. Three dot menu.
2016-12-30 17:51:41 +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
2a3fd0066d
Closed beta 10019001: style::color copy is denied, only const refs.
2016-12-30 17:51:33 +04:00
John Preston
c932f3d9df
Removing almost all animated over states in IconButton.
2016-12-30 17:51:30 +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
2e4426aac0
Old sprites removed completely. Only #rrggbb and #rrggbbaa in styles.
...
Also moved Checkbox and Radiobutton to Ui namespace.
Also child widgets in many boxes were wrapped in ChildWidget<>.
2016-10-28 12:20:24 +03:00
John Preston
f7374aa7b7
Almost all icons moved from sprite.
...
It is a broken build, some of sprite()s are in stickers.style file.
2016-10-28 00:19:38 +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
34331f558f
ShareBox: keyboard handle, animated scroll, chosen items jump to top.
2016-09-06 17:45:10 +03:00
John Preston
fdab386178
Most of the new Settings are done.
...
Left: auto update, privacy and security, local storage box +
some minor things, like design fixes, codes like loadlang and
clearing of the local storage (box) and temp download folder.
2016-08-26 22:49:18 -06:00
John Preston
832163c1b7
Displaying time in chat list for all timestamps in the last 20 hours.
...
Fixed possible crash in MediaView video player seek after clip error.
Fixed possible crash in native event filter on Windows.
Removed unused lng_stickers_add key.
2016-07-26 15:09:40 +03:00
John Preston
66e2fce8d5
New design of a chat invite link import box with title, photo, users.
2016-07-08 19:59:46 +03:00
John Preston
2aa35af909
Merge branch 'master' into dev
...
Conflicts:
Telegram/SourceFiles/history/history.style
2016-07-08 13:26:28 +03:00
John Preston
db8922f53e
Some buttons and scroll bars style improvements.
...
Not showing notification texts when OS X is in screen locked state.
2016-07-07 19:15:34 +03:00
John Preston
cd696ade4e
Featured stickers fully supported (unread badges, box, adding, etc).
2016-06-28 21:05:38 +03:00
John Preston
701b8c87e6
Selected messages actions (forward, delete, cancel) redesigned.
2016-06-22 20:11:35 +03:00
John Preston
5957382a67
Radial progress in settings when loading a new background from gallery.
...
MediaView handling of screen resolution change fixed.
Media messages now display both name/type and caption in dialogs list.
When viewing group profile photo delete affects either photo or message.
2016-06-22 16:39:54 +03:00
John Preston
af4b3ba023
Shutdown on Linux fix attempt. Draft remove in empty conversation fix.
...
Larger badge of unread messages in history-to-down button.
Submit bot-start by Enter. Fix icons show in chat without input field.
2016-06-21 18:58:07 +03:00
John Preston
c73b5a6da4
Styles improved. Members dropdown is shown with a delay.
...
Overview of chat photos fixed. Tray icon tries read a file on Linux.
2016-06-21 17:19:24 +03:00
John Preston
e47d8c0e03
Added "Add to Group" button in bot profile.
...
Changed new chat icon to more simplified.
Fixed kick user from a new members dropdown in chat history view.
Version 0.9.53.alpha is ready.
2016-06-20 18:46:36 +03:00
John Preston
044e9221e8
Drafts always shown in dialogs list when no unread messages in the chat.
...
Edition of any message to service message "history cleared".
2016-06-13 21:42:25 +03:00
John Preston
a428534345
Cloud draft handling improved. Fixed Edit while already editing a msg.
2016-06-09 17:31:10 +03:00
John Preston
19cacd0efb
New layout of service messages (complex shape of a bubble).
2016-06-09 14:51:24 +03:00
John Preston
a5cbbba12d
Empty messages do not participate in displayDate() flow.
...
Example of an empty message is service message after clear history.
2016-06-08 22:14:17 +03:00
John Preston
1859b83e8d
Dialog styles moved from basic.style to dialogs.style.
...
Many minor design improvements in the new profiles.
New drafts design in the dialogs list: no icon, red badge.
Verified checkbox added to the new profile implementation.
Drafts saving to cloud is delayed for 1 second when switching chats.
Before quitting the app makes an attempt to save drafts (timeout 1.5s).
2016-06-07 22:59:39 +03:00
John Preston
cd2615d8d0
Cloud stored message drafts support added.
2016-06-03 21:24:27 +03:00
John Preston
307e529ccf
Merge branch 'dev' into drafts
...
Conflicts:
Telegram/SourceFiles/dialogs/dialogs_layout.cpp
2016-06-03 16:44:51 +03:00
John Preston
958e47cc19
Received messages are not marked as read while scroll is at the top.
...
HistoryToEnd button is always shown if there are unread messages.
HistoryToEnd button displayes unread messages count.
New service message (HistoryCleared) is handled (not displayed at all).
2016-06-03 15:45:33 +03:00
John Preston
916068447a
Cloud stored drafts started.
2016-05-31 12:46:31 +03:00
John Preston
705358993d
New style::icon class added, colorized icons by codegen_style.
...
Moved style_core to /ui/style/, Xcode and QtCreator builds are broken.
2016-04-21 20:57:29 +03:00
John Preston
bb70a76b9c
Several crashes fixed.
2016-04-14 22:24:42 +03:00
John Preston
68a9a0a12e
Text copy from HistoryItem/HistoryMedia/combined is done and tested.
...
Moved text module to ui/text/ and split it to several modules.
Xcode build currently broken.
2016-04-14 14:00:23 +03:00
John Preston
a033e31743
Possible crash fixed in ClickHandler.
2016-04-13 08:55:01 +03:00
John Preston
e0d6a68554
Encapsulated unreadCount and mute fields in History.
...
Support for hiding all muted chats from the list.
2016-04-11 14:59:01 +04:00
John Preston
03bbb2269d
Info button replaced by userpic in single column layout.
...
Icons for file inline results never display a download icon.
Using !lastMsg->detached() to detect that all new messages are loaded.
2016-04-11 11:43:40 +04:00
John Preston
460e2ec0ac
UniquePointer > std_::unique_ptr, MakeUnique > std_::make_unique.
2016-04-10 23:20:48 +04:00
John Preston
a09a52d95c
Round unread badges fix for retina display.
2016-04-10 11:47:12 +04:00
John Preston
7d792b1ec5
Fixed date display in messages. Round unread badges in chats list.
2016-04-10 00:41:20 +04:00
John Preston
7bba52fb7e
Refactored dialogs structs.
...
Moved DialogRow, FakeDialogRow, DialogsList and DialogsIndexed
from history module to dialogs/ folder, for all struct -> class.
2016-04-09 22:45:55 +04:00