John Preston
0cbb0014db
Removed blue window title, new small title used only in Windows.
2016-12-30 17:51:37 +04:00
John Preston
af9edc17d2
Applying color theme without restarting the application.
2016-12-30 17:51:31 +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
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
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
ec6e46dae7
Some more icons moved from sprite.
2016-10-26 15:24:21 +03:00
John Preston
ff2d959abd
Some icons moved from sprite. Ui::WidgetFadeWrap() effect added.
2016-10-26 13:06:00 +03:00
John Preston
c1d862d8de
Some icons moved from sprite to separate files.
2016-10-22 21:58:36 +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
4f0cff5467
Playlist added in the new media player panel.
2016-10-13 18:04:40 +03:00
John Preston
9eb8a93719
Media::Player::Widget added instead of PlayerWidget.
...
New media player bar widget added. Switching between floating
media player panel and media player widget. New volume controller.
2016-10-12 22:36:48 +03:00
John Preston
903795d0e5
Merge branch 'game_media' into player
...
Conflicts:
Telegram/SourceFiles/application.cpp
Telegram/SourceFiles/inline_bots/inline_bot_layout_internal.cpp
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/mainwidget.h
Telegram/SourceFiles/structs.h
2016-09-29 00:31:43 +03:00
John Preston
0562024444
Merge branch 'master' into player
...
Conflicts:
Telegram/SourceFiles/core/observer.h
Telegram/SourceFiles/mainwindow.h
Telegram/SourceFiles/media/view/media_clip_playback.cpp
Telegram/SourceFiles/media/view/media_clip_playback.h
2016-09-29 00:16:02 +03:00
John Preston
538ffb9727
Moved History[Media] classes to history_media_types module.
2016-09-28 13:15:03 +03:00
John Preston
8546814a25
imageLoaded() notifications done through base::Subscriber.
...
Also FileDialog query completion notifications use base::Subscriber.
Strict lambda alignment check. Disable large lambdas in lambda_wrap.
2016-09-26 16:57:08 +03:00
John Preston
f970ac3163
New audio player done (without playlist).
2016-09-23 19:04:26 +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
1fee0822fb
Moved AudioPlayerState+position+duration+frequency to a single struct.
2016-07-10 16:02:22 +03:00
John Preston
7ca5737bc0
Removed SongMsgId, unified working with voice/music files in audio.
2016-06-30 15:03:32 +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
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
dbe4a5b7c7
Photos and videos in media overview ordered like in mobile apps.
2016-06-09 20:30:47 +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
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
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
7f353d9b1a
Removed all code related to channel comments.
2016-05-27 19:47:46 +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
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
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
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
c4a7d48d96
Selection of text in attachments: captions, web page previews.
...
Text/HistoryItem/HistoryMedia::getState() unified.
Text::getStateElided added. Tested with web page previews only.
2016-04-13 21:29:32 +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
dd1d04e9b0
Inline bot results preview: photo, audio, file, voice. Beta 9040126.
2016-04-10 22:18:26 +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
04f8d4dd37
Build fixed for renamed sources folder SourceFiles/{gui->ui}/
2016-04-07 22:05:28 +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
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
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
0b2bcbc3e9
some warnings fixed, TDESKTOP_DISABLE_NETWORK_PROXY macro added
2016-03-20 11:16:35 +03:00
John Preston
2ef8c44445
all MTP flags made strictly typed by scoped enums, in-message date display added for non-service messages
2016-03-19 19:55:15 +03:00
John Preston
c2f1e95f3f
fixed opening of uncompressed image sent from clipboard, intro refactoring finished
2016-03-16 14:54:37 +03:00
John Preston
37309a91ac
fixed media_only dcs, added copy post link to clipboard, fixed signature display in gifs, 0.9.27 dev version
2016-02-25 20:23:42 +03:00
John Preston
978c7c858b
merged with master
2016-02-21 20:01:37 +03:00
John Preston
9fec887044
langs updated, link click async in overviewwidget
2016-02-21 15:47:30 +03:00
John Preston
7433cea0fd
fixed copy selected text, post author display added, post links handling added, windows bingmaps opening added, sticker previews from mentionsdropdown and stickersetbox added
2016-02-17 19:37:21 +03:00
John Preston
80455492b0
a couple of crashes fixed, version 0.9.24 stable
2016-02-16 16:14:19 +03:00
John Preston
0154be5138
fixed errors for 0.9.22 dev version
2016-02-14 22:46:01 +03:00
John Preston
f83644cec0
Merge branch 'dev'
2016-02-14 21:29:36 +03:00
John Preston
e492b1e93d
some crashes fixed
2016-02-14 18:58:39 +03:00
John Preston
3579276b49
videos rendered like files, fixed history loading
2016-02-12 21:18:32 +03:00
John Preston
189d0e8de3
voice messages moved to documents with waveforms
2016-02-12 19:35:06 +03:00
John Preston
80ba0259dd
some namespaces reorganized, author photo display added to wide mode (where messages are centered), version 0.9.20.dev
2016-02-08 17:54:55 +03:00
John Preston
0b8523d58e
added year 2016 to copyright
2016-02-08 13:56:18 +03:00
John Preston
47ead03925
moved Interfaces to types.h, tooltip hiding fixed
2016-02-07 21:58:42 +03:00
John Preston
0b4ddb045e
max history width limited, custom tooltips replace QToolTip, keys with modifiers are not passed to MentionsDropdown
2016-02-07 18:38:49 +03:00
John Preston
a677f784f5
up to 64 realtime combinated interfaces
2016-01-25 18:18:07 +03:00
John Preston
c146843ab4
removed unnecessary borders in files / links overview, crash fixed in history repaint optimization
2016-01-04 07:38:47 +08:00
John Preston
9a1798f043
saved gifs done
2015-12-28 00:37:48 +03:00
John Preston
4ed2d75c74
upload radial progress and upload cancel done, photo / file / audio autodownload settings respected
2015-12-24 22:26:28 +03:00
John Preston
b94533fcb2
gif autoplay improved
2015-12-23 22:23:14 +03:00
John Preston
9a72293e0a
addOlderSlice and addNewerSlice should work well with items changing inside them
2015-12-23 17:18:42 +03:00
John Preston
41f5a87c80
improved video, audio overview, fixed files overview
2015-12-23 15:19:32 +03:00
John Preston
af9908f076
exif fixed, media overview redesign done
2015-12-23 14:13:08 +03:00
John Preston
5108685123
overview rewrite on layouts almost done (except links)
2015-12-22 18:32:45 +03:00
John Preston
d3896ff53b
photo and video overview rewritten on layouts
2015-12-22 15:49:42 +03:00
John Preston
62723f7576
disabled libexif usage, mediaview showing gif/mp4 through ClipReader
2015-12-22 11:01:02 +03:00
John Preston
0fd6f04aa9
files overview redesign done
2015-12-21 16:14:29 +03:00
John Preston
cc004d435b
new layout items structure started
2015-12-20 17:05:07 +03:00
John Preston
216b9ec52f
overview redesign started (four out of six not working)
2015-12-19 21:09:24 +03:00
John Preston
1545e7f796
moved to 44 layer
2015-12-16 18:31:56 +03:00
John Preston
29a7c66e45
stopping gifs on history close, only one gif playing
2015-12-16 16:35:15 +03:00
John Preston
f6fec9a619
showPeerHistory moved to Ui namespace
2015-12-13 14:36:08 +03:00
John Preston
6ec61d4ad6
redrawHistoryItem moved to Ui, shared contact updates when is_contact changes
2015-12-13 14:17:15 +03:00
John Preston
603fb63c91
document new design done with radial progress, ? char added to monospace blocks edges, redraw history item through Notify::
2015-12-11 21:11:38 +03:00
John Preston
92c31324b0
links done in new documents design
2015-12-11 10:44:53 +03:00
John Preston
0b96dd5362
animations refactored
2015-12-08 15:33:37 +03:00
John Preston
6222876ac4
refactored layer methods
2015-12-07 21:09:05 +03:00
John Preston
a6cf42d3ad
closed beta version with autoupdate added
2015-12-03 21:16:34 +03:00
John Preston
d145175d28
some fixes for the 0.9.11.dev version
2015-11-20 22:03:31 +03:00
John Preston
b05e1a8899
supergroups done
2015-11-20 21:24:44 +03:00
John Preston
37de0904af
merged overview, merged search and searchGlobal done (supergroups)
2015-11-18 16:11:56 +03:00
John Preston
497602f47e
merged supergroup with migrated group history, loading messages by 3 (temp! testing)
2015-11-13 18:14:33 +03:00
John Preston
ede2065c26
megagroups started
2015-11-02 17:33:57 -05:00
John Preston
4ed11ebfff
merged with new PopupMenu
2015-11-01 13:44:55 -05:00
John Preston
7c71d977e2
ContextMenu removed, PopupMenu replaced default context menu in input fields and all ContextMenu
2015-11-01 13:14:30 -05:00
John Preston
4b8a33de1c
moved to 40 layer
2015-10-28 20:16:52 -04:00
John Preston
c606d6b459
updating openal build, new code of getting original text and entities from Text, not tested yet
2015-10-25 18:08:45 +01:00
John Preston
4d230eda63
added audio files >> link to profile and media types dropdown
2015-10-23 21:24:05 +02:00
John Preston
17114350c4
conflicts fixed
2015-10-23 18:18:43 +02:00
John Preston
aeafcacb0c
new (fast) PopupMenu started
2015-10-23 18:15:24 +02:00
John Preston
3df66a7ed3
tilde fix in 100%, dialogs repaint fix, markdown (bold, italic, code, pre support) added
2015-10-23 18:06:56 +02:00
John Preston
775607c24f
fixed new animations for retina display
2015-10-19 01:01:18 +02:00
John Preston
e211268158
new slide animations
2015-10-17 16:52:26 +02:00
John Preston
5c3d030b9a
moved shadows to widgets where they are displayed
2015-10-17 10:31:48 +02:00