John Preston
453661d611
Removed Function<> and SharedCallback<>, using base::lambda_unique<>.
...
Also removed macro START_ANIMATION(anim,) using anim.start() instead.
2016-09-26 15:09:59 +03:00
John Preston
f970ac3163
New audio player done (without playlist).
2016-09-23 19:04:26 +03:00
John Preston
a8f3582cb1
Title controls reordering done right. Title song play button created.
2016-09-21 14:44:20 +03:00
John Preston
227aa36627
Trending sticker sets install improved, masks sets install disallowed.
...
Also rpcDone() and rpcFail() now accept lambdas.
2016-09-19 13:18:21 +03:00
John Preston
6d2fc5c642
Game bot confirmations added.
2016-09-15 22:15:49 +03:00
John Preston
26ca5fafbb
Scheme updated. Dialogs list layout bug fixed.
2016-09-15 12:44:02 +03:00
John Preston
c7e8b153bb
Enabled sending stickers from the sticker set preview box.
2016-09-11 11:38:14 +03:00
John Preston
8419a56e10
Emoji display added to sticker preview. Reading featured sticker sets.
...
Reading featured sticker sets one by one while scrolling through them,
only when the row was fully visible and the image was already loaded.
2016-09-10 23:54:59 +03:00
John Preston
ff657347b8
Featured stickers section done in StickersPanel.
...
EmojiPan moved to a separate module stickers/emoji_pan.
FFmpeg linked by msvs linker flags in GYP to use ".a" extension.
2016-09-09 18:52:46 +03:00
John Preston
82d92d21f6
ShareBox used to share game score using tg:// link. Scheme updated.
2016-09-07 12:04:57 +03:00
John Preston
160895f6e3
Support for game keyboard buttons and score service messages added.
2016-09-02 12:11:23 -04:00
John Preston
c5f4655b9e
Merge branch 'gyp_xcode' into dev
2016-08-31 16:06:12 -04:00
John Preston
50616cc267
Version for OS X 10.6-10.7 build from GYP is ready, not tested yet.
2016-08-29 23:24:16 -06: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
993b91ac15
Most of the new Settings sections filled with widgets.
...
Some animations added: new scale slider, widget_slide_wrap<TWidget>.
Any TWidget now can resizeToWidth() with overriden resizeGetHeight().
2016-08-22 19:31:42 +02:00
John Preston
90678d411f
Started a special LayerWidget: Settings::Widget.
...
Also added some missing calls to parent event handlers in boxes.
2016-08-18 12:52:36 +03:00
John Preston
4a6e669a53
Merge branch 'dev' into settings
...
Conflicts:
Telegram/SourceFiles/boxes/addcontactbox.h
Telegram/SourceFiles/boxes/confirmbox.h
2016-08-16 20:19:57 +03:00
John Preston
362b942a22
Merge branch 'same_peer_flag' into dev + fix style codegen rule desc.
...
Conflicts:
Telegram/Telegram.vcxproj
Telegram/Telegram.vcxproj.filters
2016-08-16 20:12:55 +03:00
John Preston
392984f276
New way of working with boxes (layers).
...
Now the background of boxes is separated to another widget.
This will allow to use a special layer widget (like settings)
together with the usual layers-boxes upon it, moving the special
widget behind the dark background when a usual layer-box is shown.
2016-08-16 19:53:10 +03:00
John Preston
4cd7a7a695
Layout fix of attach dropdown, emoji pan and drag areas with pin bar.
2016-08-14 22:06:28 +03:00
John Preston
2321f38550
Added same_peer flag support for keyboard switch inline button.
2016-08-12 19:28:10 +03:00
John Preston
140522c196
Stable version 0.10.1: various bugfixes.
...
Minimal height of the message text fixed to prevent bubble collapsing.
FileDialog filter is (*) instead of (*.*) for Linux and macOS.
Explicitly setting text color in Settings user name painting.
2016-08-05 18:01:00 +01:00
John Preston
e87c1b6024
Open links from bot buttons with regular UrlClickHandler.
...
Fix render glitch in dialogs widget after search.
2016-08-03 19:18:23 +01:00
John Preston
a4dbe6f096
ConfirmPhoneBox added to Xcode and QtCreator projects.
...
"Frequently used" done with two lang keys (for emoji/stickers).
"Featured Stickers" -> "Trending Stickers", langs updated.
2016-07-29 11:29:15 +01:00
John Preston
f813b8a74b
Merge branch 'dev' into dev_private
2016-07-27 21:13:49 +03:00
John Preston
0721b80555
Moved Enter key press handle from HistoryInner to HistoryWidget.
2016-07-26 19:11:33 +03:00
John Preston
dbdf28d0a0
Version bumped to 0.9.61 stable.
...
Merge branch 'archived_stickers' into cancel_reset.
Conflicts:
Telegram/Resources/winrc/Telegram.rc
Telegram/Resources/winrc/Updater.rc
Telegram/SourceFiles/app.cpp
Telegram/SourceFiles/core/version.h
Telegram/SourceFiles/localstorage.cpp
Telegram/Telegram.vcxproj.filters
Telegram/Telegram.xcodeproj/project.pbxproj
Telegram/build/version
2016-07-25 22:54:40 +03:00
John Preston
75ff3c3d28
Alpha version 0.9.60: some bugfixes in video clip reader.
...
No more error box when click on record button (empty file send attempt).
2016-07-24 11:53:09 +03:00
John Preston
02e54dd8ba
Scheme updated with covered stickers, not used yet.
2016-07-22 19:04:38 +03:00
John Preston
faad13d07e
Showing archived stickers button, archived stickers box with loading.
2016-07-21 16:57:31 +03:00
John Preston
81850b78c7
Writing installed, featured, recent and archived stickers separately.
2016-07-21 13:09:47 +03:00
John Preston
1753db3e62
Megagroup members are always shown if the server allows us to view them.
...
Bot keyboard clearing fixed when using Clear History.
2016-07-19 14:37:01 +03:00
John Preston
b35c99cb0c
When installing sticker set some sets can be archived.
...
We show a box with them and describing what happend.
Limit of the recent stickers count is taken from config now.
2016-07-18 18:39:10 +03:00
John Preston
95c050081c
Cloud recent sticker sets supported.
2016-07-15 18:58:52 +03:00
John Preston
505e5a69a6
Video playing in MediaView seek fixed, fullscreen mode improved.
...
Shortcut commands now return bool, so you know if it was executed.
2016-07-14 14:20:46 +03:00
John Preston
cb0c99acc8
Seek done in video player in MediaView. Some memory leaks fixed.
...
Using pixmapFromImageInPlace() instead of QPixmap::fromImage().
2016-07-13 20:34:57 +03:00
John Preston
d806d079a2
Merge branch 'master' into video
...
Conflicts:
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/ui/animation.cpp
Telegram/Telegram.pro
2016-07-11 21:12:10 +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
5c474aee27
Improved service messages layout.
2016-07-08 13:06:41 +03:00
John Preston
1904a4f48a
Round radius increased for message bubbles.
2016-07-07 15:35:14 +03:00
John Preston
616d08255c
Moved audio to media/media_audio and divided to several modules.
...
Basic video playback with sound support in mediaview added.
2016-07-05 20:44:02 +03:00
John Preston
8ea47c1811
Opened histories stack finished, stack of states in vector_of_moveable.
2016-07-05 17:48:36 +03:00
John Preston
e015a8299e
Copy to FindBuffer added by Cmd+E on OS X.
2016-06-28 21:27:23 +03:00
John Preston
cd696ade4e
Featured stickers fully supported (unread badges, box, adding, etc).
2016-06-28 21:05:38 +03:00
John Preston
991c6ddd99
Saving featured stickers for new 0.9.57 version in local storage.
2016-06-27 19:25:21 +03:00
John Preston
5c199e63ea
Main window position and size saving fixed in Windows.
...
Dock and top bar hiding after photo view fixed in OS X.
Some design improvements. Alpha version 0.9.55.
2016-06-24 19:58:41 +03:00
John Preston
cbde6e1ee9
Using square rounded photos in native notifications (Win, OS X).
...
When updating local online status from user action events we use
action timestamp, and ignoring events from getDifference, if no
timestamp is available for the specific action.
Couple of hidden actions added in Settings. Alpha version 0.9.54.
2016-06-22 21:47:43 +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
1e5b2d7c66
Fix attempt of photo forward by drag-n-drop: for being able to use
...
press data in drop call ClickHandler::unpressed() after drag->exec().
Members dropdown area made smaller (only the members/online text rect).
2016-06-21 20:02:45 +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
7db7b177c0
Members block in group conversation view finished (except Xcode project).
2016-06-20 14:31:12 +03:00
John Preston
f0a8356ff0
Profile members block displayed when mouse is over group members count.
2016-06-17 21:18:01 +03:00
John Preston
963000386f
Fixed crash in BotKeyboard resize. Fixed elided single-line Text layout.
2016-06-17 16:27:21 +03:00
John Preston
84f704448a
Fixed scrolling by a child widget in ScrollArea by touch screen.
...
ScrollArea now always generates MouseMove when scrolled.
Fixed crash in BotKeyboard resizing with style change.
Fixed stickers box animations.
2016-06-15 20:48:16 +03:00
John Preston
38c2915533
Fixes in floating dates with migrated histories.
...
All service messages are now not multiline (including pinned).
Confirmation for profile photo deleting will be added (not enabled).
Copy-by-selection should be supported in Linux version now.
Drafts that contain only reply-to-id (without text) support added.
2016-06-14 19:26:41 +03:00
John Preston
be2a0abbc8
Fixed checkboxes in boxes. Clearing cloud draft on inline result send.
...
No history to down if unread appear in an inactive opened conversation.
2016-06-13 13:08:46 +03:00
John Preston
16bea47979
Not applying draft if can't write a message. Closed beta 9049005.
2016-06-10 18:34:35 +03:00
John Preston
b20245c8c8
Fixed glitches in draft apply. Fixed overflow / crash in media preview.
...
Fixed new unread messages with existing unread bar in the shown history.
2016-06-10 18:11:44 +03:00
John Preston
5ffc5dd218
Blue online in top bar in conversation with user. Profile styles fix.
2016-06-10 14:18:55 +03:00
John Preston
16429b3008
Floating dates that appear animated when scrolling messages added.
2016-06-10 13:21:09 +03:00
John Preston
6da62f902b
Animated show and hide of the new history-to-down button.
...
Fixed render in outbox read event handler for channels / supergroups.
2016-06-09 23:01:15 +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
7f54bd0bfc
Fixing critical infinite recursion in HistoryInner, closed beta 9049003.
...
Langs updated. Title fixed for supergroups in report box.
2016-06-08 15:22:57 +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
cd2615d8d0
Cloud stored message drafts support added.
2016-06-03 21:24:27 +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
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
15d6a1aacf
Invite link block in the new profile implementation done.
...
Fixed ClickHandler state when host is destroyed and after drag-n-drop.
2016-06-01 19:40:51 +03:00
John Preston
66a8aa86e1
Settings block in the new profile implementation done.
...
New type of button (LeftOutlineButton) was added. _inviteLink moved
to private section in ChatData and ChannelData (with get-set methods).
2016-06-01 16:07:03 +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
2c5c25962c
Profile fixed bar actions done, adaptive layout for profile buttons.
2016-05-27 16:56: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
ab59ef8498
FlatLabel now can allow to select text and copy to clipboard.
...
Used for peer name in the new profile cover widget.
2016-05-26 18:31:20 +03:00
John Preston
1dfb8cbde2
New history-to-down button.
2016-05-19 20:18:23 +03:00
John Preston
bdc8b3585d
Edit messages sent to yourself.
...
Copy inline keyboard link to clipboard.
Fixed webpage type=video layout with document attach.
Inline GIF results can be manually downloaded before sending.
2016-05-19 18:02:07 +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
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
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
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
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