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
8b2c351933
Phone numbers starting with '0' are not formatted with '+'.
...
Sticker with reply layout fixed. Report box title corrected.
Elided text display sometimes didn't restore last block, fixed.
Removed non-existent class diagram file from MSVC project.
2016-06-08 19:40:33 +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
520260f207
Merge branch 'profile' into drafts
...
Conflicts:
Telegram/SourceFiles/app.cpp
Telegram/SourceFiles/codegen/style/processor.cpp
Telegram/SourceFiles/history.cpp
Telegram/SourceFiles/historywidget.cpp
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/mainwidget.h
Telegram/SourceFiles/profilewidget.cpp
Telegram/SourceFiles/profilewidget.h
Telegram/Telegram.vcxproj
Telegram/Telegram.vcxproj.filters
2016-06-06 18:16:52 +03:00
John Preston
3915576673
Online updated in the new profile covers. Covert to supergroup handled.
2016-06-04 23:29:16 +03:00
John Preston
855d44b9d8
Convert to megagroup information label added to new profiles.
...
Tested members and admins realtime in new profiles for groups.
2016-06-04 00:46:45 +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
ea8f01bd74
Members block almost done in the new profile implementation.
...
Member kicking, upgrade to supergroup and testing is left.
2016-06-03 10:20:24 +03:00
John Preston
91d516f18c
Notify::peerUpdatedSendDelayed() now is always called from the event loop.
2016-06-02 16:57:49 +03:00
John Preston
2c4ec3d9f3
Shared media block done in the new profile implementation.
...
Preparing to call Notify::peerUpdatedSendDelayed() only from event loop.
2016-06-02 16:02:55 +03:00
John Preston
3fc7cc3453
Actions block done for the new profile implementation.
...
User block status moved to private data.
Notify::PeerUpdateFlag[s] moved to Notify::PeerUpdate::Flag[s].
2016-06-01 23:05:37 +03:00
John Preston
41c8df029a
New profile blocks started. Info block fully ready.
...
All block widgets added (currently empty).
About text and phone number PeerUpdateFlag added for observers.
2016-05-31 22:27:11 +03:00
John Preston
7f353d9b1a
Removed all code related to channel comments.
2016-05-27 19:47:46 +03:00
John Preston
a06a989f97
New profile fixed top bar now is peer observer.
...
Multiple showAnimated() calls for SectionWidget are now allowed.
2016-05-27 18:45:35 +03:00
John Preston
3570a1cf91
New profile photo edit by drag-n-drop. Animated photo button.
2016-05-27 13:57:11 +03:00
John Preston
46ad43bb1e
New profile cover actions by buttons done.
...
Two new types of Observers: image loaded and async file dialog.
2016-05-25 20:59:21 +03:00
John Preston
a510bb54ec
Peer observers get notified about name/username changes.
...
All peer observer notifications are async (delayed).
2016-05-25 15:09:05 +03:00
John Preston
e3e49dbeb8
New profile buttons started, not performing actions yet.
...
New system of Observers. Subscriptions on PeerData updates.
2016-05-24 19:13:07 +03:00
John Preston
533a955dda
Unread outgoing messages in supergroups supported.
...
Looking through the history of group avatar photos added.
Messages about some contact joined Telegram are never unread.
2016-05-20 19:35:16 +03:00
John Preston
3e5f51f45a
Everywhere TextWithTags and TextWithEntities are used.
...
Copy tags from messages to clipboard, to drag mime data.
Sorting entities while processing (links, monospace, mentions).
2016-05-06 20:33:48 +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
4fe70c3a12
codegen_style completely replaces style gen with MetaStyle.
...
codegen_numbers project started to replace MetaStyle completely.
2016-04-18 23:33:43 +03:00
John Preston
19f9b56d2c
codegen_style project started, basic (common) tokenizer done.
2016-04-16 20:51:25 +03:00
John Preston
bb70a76b9c
Several crashes fixed.
2016-04-14 22:24:42 +03:00
John Preston
5a3fea05ac
ClickHandler, TopBarWidget and Overview layouts moved to separate files.
...
Xcode and QtCreator builds are currently broken.
2016-04-13 00:31:28 +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
dd1d04e9b0
Inline bot results preview: photo, audio, file, voice. Beta 9040126.
2016-04-10 22:18:26 +04:00
John Preston
fe59c815b2
HistoryMedia always holds a pointer to its parent HistoryItem.
...
Using local cached data when sending media inline bot results.
2016-04-10 18:53:01 +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
0894931fa1
Encapsulated DocumentData location and serialization.
...
DocumentData now can point to mtproto or http file.
2016-04-09 09:57:55 +04:00
John Preston
8e89486fbc
Error handling changed, 'auto' keyword used for MTP types.
...
All errors that lead to MTP request resending by default
error handler now can be handled differently. For example
inline bot requests are not being resent on 5XX error codes.
+ extensive use of auto keyword in MTP types handling.
2016-04-08 14:44:35 +04:00
John Preston
35d5089f48
Scroll following the inline bot keyboard when message is edited.
2016-04-08 13:20:10 +04:00
John Preston
3e2485678d
Moved inline bot result structs from structs.cpp/h module.
...
Moved inline bot result layouts from layout.cpp/h module.
Over status prepared for inline bot file result icon.
Dependencies reduced, inline bots code moved to InlineBots namespace.
Build in Xcode and QtCreator broken.
2016-04-05 01:09:46 +04:00
John Preston
0e0956451a
MTP_bytes() replaces MTP_string() for QByteArray payload.
...
Scheme updated for bot callbacks sending data bytearrays.
ReplyKeyboard edition is supported when editing the messages.
2016-04-01 14:23:40 +04:00
John Preston
fa4137418a
Merged with master.
2016-04-01 12:54:32 +04:00
John Preston
f1dfcef868
Styles improved for unread bar margins and sticker timestamp.
...
Possible crash fixes: emoji color picker show, pending repaint
items cleared when history items are cleared.
Deleting MainWidget syncroniously when clearWidgets() is called.
2016-03-31 18:06:40 +04:00
John Preston
a23470f4b8
Fixed possible crash in NotifyWindow click handler.
...
Adding information about crashed string in TextBlock parser.
2016-03-31 15:55:25 +04:00
John Preston
3210aecbd2
Fixed some ClickHandler bugs, bot keyboard active/pressed
...
states done, handling enterEvent() for ClickHandler activate.
2016-03-30 12:03:29 +04:00
John Preston
80365c9207
Receiving a min user now should not force showing him in the
...
conversations list by a phone number instead of his name.
2016-03-29 20:57:27 +03:00
John Preston
7f6cf32cdd
ITextLink moved to ClickHandler, TextLinkPtr > ClickHandlerPtr.
...
Global methods textlnkOver/Down/DrawOver were replaced by
static members of ClickHandler, now global state consists
of the handler pointer + host pointer, who declares callbacks
for the active and pressed handler changed events.
This will allow to use ClickHandler from different hosts
simultaneously (like HistoryItem / BotDescription / BotKeyboard).
Not yet tested.
2016-03-29 20:17:00 +03:00
John Preston
daa5016c23
Components are now almost plain structs
...
Moved reply markups to history items which hold them
2016-03-28 15:51:22 +03:00
John Preston
ebf9d3285b
Merge branch 'dev' into bots
2016-03-26 11:24:50 +03:00
John Preston
42ded6ade9
Merge commit 'b32c6566ffe839025' into dev
2016-03-26 09:44:26 +03:00
John Preston
b32c6566ff
Fixed crash when deleting items.
...
Fixed unread counter clear when logging out.
2016-03-26 09:41:23 +03:00
John Preston
29c6b8e2d2
Dependent items clearing done better
...
Fixed crash on launch if audio playback could not be started
2016-03-25 23:46:35 +03:00
John Preston
559a74847b
OrderedSet class done using QMap as implementation,
...
instead of inheriting it, fixed replies delete code.
2016-03-25 18:20:34 +03:00
John Preston
54032d96b7
Merge branch 'dev' into bots
2016-03-25 15:47:18 +03:00
John Preston
599ede9a0b
Beta 9034004 version:
...
Some lang grammar fixes, all "audio" changed to "voice message"
PeerData can have three loaded states (not loaded, minimal, full)
Interface/Interfaces renamed to Component/Composer
HistoryReply moved to a Component named HistoryMessageReply
2016-03-25 14:29:45 +03:00
John Preston
0b6dea311b
scheme for new bot keyboards
2016-03-24 23:34:47 +03:00