Commit graph

1461 commits

Author SHA1 Message Date
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
41b330c5ea Primary and secondary round buttons tested in new profiles. 2016-05-23 15:41:09 +03:00
John Preston
c42b142884 Divider added to new profiles. Icons from new styles can fill rects. 2016-05-20 18:35:58 +03:00
John Preston
92c720ddc3 Returned animation type to the old one.
Fixed new profile display in single column layout.
2016-05-19 15:38:09 +03:00
John Preston
1d42144c95 Profile done as a new generic Window::SectionWidget.
Slide animation reimplemented.
2016-05-19 15:03:51 +03:00
John Preston
6e2dea7030 Merge branch 'master' into profile
Conflicts:
	Telegram/Telegram.vcxproj.filters
2016-05-16 18:47:44 +03:00
John Preston
895facbcdd Fixed changelog for alpha and beta in 0.9.49 version. 2016-05-15 23:14:47 +03:00
John Preston
c2a5ab0c5a Version 0.9.49: disabling high dpi scaling in all systems except OS X. 2016-05-15 13:30:47 +03:00
John Preston
fb024e2256 Langs updated, changelog for 0.9.49 version added. 2016-05-14 21:14:55 +03:00
John Preston
7444a9ad67 Fixed scroll down to reply. Show that bot admins see all messages.
Fixed date display when messages were at the same day of different months.
Shared contact with author signature height increased.
2016-05-14 20:28:35 +03:00
John Preston
bf8a98a13b Side shadow moved to MainWidget. Testing slide animation with 3s duration.
New profile widget has fixed top bar outside of scroll area.
2016-05-14 19:57:06 +03:00
John Preston
cb025b3aa8 Fixed access hash storing in EntityInTextMentionName.
Editing message timer is shown for the last five minutes.
2016-05-12 19:55:45 +03:00
John Preston
3d073eddd6 New profiles started. Function<> made by variadic templates. 2016-05-12 19:05:20 +03:00
John Preston
6188aea7ed Beta version 9048001 for Xcode and QtCreator. 2016-05-10 16:39:42 +03:00
John Preston
d26a8cbdcc Mentioning a user without username by first name only. Beta 9048001. 2016-05-10 14:46:27 +03:00
John Preston
107a1e7e5d Merge branch 'master' into mentions
Conflicts:
	Telegram/SourceFiles/core/version.h
	Telegram/SourceFiles/localstorage.cpp
	Telegram/build/version
2016-05-10 14:19:01 +03:00
John Preston
9e6243bedf Version 0.9.48 with bugfixes. 2016-05-10 11:57:55 +03:00
John Preston
f02fc4dd96 Setting f_views flag for a client-side forwarded message with views. 2016-05-10 10:57:40 +03:00
John Preston
0b2401132e Message edit warning timer (up to 15 minutes).
Displaying "edited" info in messages.
2016-05-09 15:03:06 +03:00
John Preston
b28e9a6167 Requesting difference or messages when users from mentions not loaded. 2016-05-09 13:07:25 +03:00
John Preston
90a3a80bf6 Suggest mentions not only by username, but by user names as well. 2016-05-08 19:11:47 +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
463450e607 Saving FlatTextarea tags to drafts, applying them in setText.
Now instead of plain text a TextWithTags struct is used almost
everywhere. Started writing and reading serialized tags to drafts
from 9048, switched version to 0.9.48 for testing.
2016-05-05 19:04:17 +03:00
John Preston
5a47d8e29b Marking tags by random values only inside of FlatTextarea.
Added a strategy to convert tags to and from tags-for-mime-data.
2016-05-04 23:38:37 +03:00
John Preston
45143c40c9 FlatTextarea handles tags on insertFromMime and tags editing.
Fixed dependent messages update when message was edited.
Fixed entities parsing in Text when they follow one after another.
2016-05-04 19:46:24 +03:00
John Preston
5300962ef3 Merge branch 'dev' into mentions
Conflicts:
	Telegram/SourceFiles/core/basic_types.h
2016-05-04 13:45:23 +03:00
John Preston
5f5109f1c4 Some global string constants "static const *" -> "constexpr str_const". 2016-05-04 13:41:41 +03:00
John Preston
5f440a0cbe Merge branch 'dev' into mentions
Conflicts:
	Telegram/SourceFiles/core/version.h
	Telegram/Telegram.vcxproj.filters
2016-05-04 13:21:04 +03:00
John Preston
dff5765f9f 0.9.47 alpha: fixed crash in text processing (Qt pach updated). 2016-05-02 16:42:09 +03:00
John Preston
21f462a77e Mention names support added to FlatTextarea, messages.
Copy of mention names to clipboard done, pasting started.
2016-04-30 20:04:14 +03:00
John Preston
b4bc515079 Renamed MentionsDropdown to FieldAutocomplete, moved to separate file.
Support for message field mentions without usernames was started.
2016-04-29 16:46:16 +03:00
John Preston
af248a6714 EntityInText made class instead of struct. Scheme updated.
No left trim of monospace text block when sending / displaying text.
New entity type (mention name) introduced, but not supported yet.
2016-04-29 15:00:48 +03:00
John Preston
724ba9e429 Open edit only for the messages that we can edit. 2016-04-28 12:07:59 +03:00
John Preston
0854dba76a Added moved files to git. 2016-04-27 15:03:10 +03:00
John Preston
745f89dbb9 Moving build / lang scripts from Telegram to subfolders.
Travis build tested with -j param.
Xcode / QtCreator / qmake builds could be broken.
2016-04-27 15:02:17 +03:00
John Preston
390a1b0754 Some improvements for winrt. 2016-04-26 16:00:23 +03:00
John Preston
487406ac46 Moved to the Visual Studio Update 2. 2016-04-26 12:55:34 +03:00
John Preston
0130d0cd63 Moved patches to Telegram/Patches, travis builds debug version. 2016-04-23 14:50:28 +03:00
John Preston
2834ce0344 Moving to Qt 5.6.0, instructions can be broken. 2016-04-23 14:40:42 +03:00
John Preston
4aa1f1334c Dev version 0.9.45: first version on new styles codegen. 2016-04-22 13:01:41 +03:00
John Preston
d20c370ccc MetaStyle project removed, added -static-libstdc++ for linux build. 2016-04-22 10:25:14 +03:00
John Preston
f93e51a934 Fixed Xcode build of the new styles. 2016-04-21 21:18:44 +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
a133115aa6 Merge branch 'master' into dev
Conflicts:
	Telegram/SourceFiles/ui/style.h
2016-04-20 17:25:32 +03:00
John Preston
522945bbe3 Fixed build for OS X. 0.9.44 version. 2016-04-20 16:09:35 +03:00
John Preston
ed3281d0f5 Improved QtCreator projects for codegen, include dirs used in codegen. 2016-04-20 15:59:25 +03:00
John Preston
7d272919aa Version 0.9.44 copy text context menu item added to some messages. 2016-04-20 15:56:59 +03:00
John Preston
5caceefc2c Fix switch button in outgoing msgs with keyboards.
Inline bot results panel behaviour improved.
Sent and deleted from hard drive GIFs now auto-re-download.
2016-04-20 15:27:38 +03:00
John Preston
10bd2b680d Merge branch 'dev' 2016-04-19 17:02:55 +03:00