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
807bebb3cf
Buttons moved to ui/widgets/buttons module, BoxButton removed.
2016-12-30 17:52:04 +04:00
John Preston
475b35bf55
Custom title on macOS 10.10+ added.
2016-12-30 17:51:51 +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
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
0cbb0014db
Removed blue window title, new small title used only in Windows.
2016-12-30 17:51:37 +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
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
29493a0693
All emoji icons moved from sprite.
2016-10-27 17:10:28 +03:00
John Preston
ff2d959abd
Some icons moved from sprite. Ui::WidgetFadeWrap() effect added.
2016-10-26 13:06:00 +03:00
John Preston
fc7c5d0ab3
Fixed travis build for TDESKTOP_DISABLE_AUTOUPDATE case.
2016-10-18 10:56:38 +03:00
John Preston
f1f7333c7a
Removed some old styles. Divided basic_types module to several.
2016-09-29 14:37:16 +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
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
5df54371b5
ConfirmPhoneBox support added.
...
Limiting StartUrl to 8k symbols to prevent share url text overflow.
Better working with many cases of regular expression switch.
2016-07-28 20:01:08 +03:00
John Preston
82a0ac28ad
Handling new 2fa reset account error codes.
...
Archived stickers description text layout fixed in 100% scale.
2016-07-26 12:17:44 +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
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
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
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
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
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
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
7edb835efc
Removed openssl patch. Xcode warning fixed.
2016-04-19 11:57:55 +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
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
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
db387d50b8
Scheme updated, support for via @bot added to stickers.
2016-04-07 14:03:10 +04:00
John Preston
35785efa50
Inline bot video and sticker layout and sending done.
2016-04-03 13:11:41 +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
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
91f87057bc
Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev
2016-03-21 21:41:51 +03:00
John Preston
1919501d1e
Qt compiled with force-debug-info, some langs improved, some override specifiers added
2016-03-21 21:41:39 +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
d31c8b3602
fixed app code and call on login, accent fold better
2016-03-15 22:53:38 +03:00
John Preston
bc172cf70c
call after sms is optional now
2016-03-15 22:38:30 +03:00
John Preston
3a8824a9a6
intro rewrite started, new code sending methods
2016-03-14 19:59:18 +03:00
John Preston
b678913da5
improved rpcClear() when deleting a complex RPCSender, clearing recent inline bots on logout
2016-02-28 15:36:23 +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
58777dbc21
moved almost all Application to AppClass (autoupdate and singleinstance left), logs rewritten
2016-01-11 23:43:29 +08:00
John Preston
0b96dd5362
animations refactored
2015-12-08 15:33:37 +03:00