Commit graph

118 commits

Author SHA1 Message Date
John Preston
1d42144c95 Profile done as a new generic Window::SectionWidget.
Slide animation reimplemented.
2016-05-19 15:03:51 +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
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
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
baf1e31b76 circled profile images 2016-03-18 13:18:30 +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
1bd986d2cb added any profile photo delete, fixed profile photo upload 2016-02-26 12:29:07 +03:00
John Preston
c3845ead85 moved forwarded to an interface, testing required 2016-02-18 22:12:50 +03:00
John Preston
803d1a429d scheme updated, config vars moved to Global namespace 2016-02-18 19:36:33 +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
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
58777dbc21 moved almost all Application to AppClass (autoupdate and singleinstance left), logs rewritten 2016-01-11 23:43:29 +08:00
John Preston
4426e2dd78 inline bots panel crash fixed, field placeholder fixed, controls active in mediaview when context menu is shown 2016-01-02 08:33:26 +08:00
John Preston
d876861431 animations rewritten on atomics 2016-01-01 04:07:41 +08:00
John Preston
77228d358d context bots started, all callbacks done by pointers 2015-12-29 00:20:04 +03:00
John Preston
9a1798f043 saved gifs done 2015-12-28 00:37:48 +03:00
John Preston
a5622cfe3b pausing gifs when mediaview is opened, improved photos handling - download on click if autoload disabled 2015-12-25 16:09:14 +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
7c7d517b34 autoload settings box added, working for voice messages and gifs (photos TODO) 2015-12-24 00:19:57 +03:00
John Preston
b94533fcb2 gif autoplay improved 2015-12-23 22:23:14 +03:00
John Preston
6170144fe9 inline gifs playback / stopping done 2015-12-23 19:48:44 +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
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
11da39b72d webpage attachs redesigned 2015-12-19 00:36:16 +03:00
John Preston
f6fec9a619 showPeerHistory moved to Ui namespace 2015-12-13 14:36:08 +03:00
John Preston
6bad3b4d7e started media redesign (does not compile!) 2015-12-08 22:07:50 +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
4487ad9e15 saving QByteArray bookmark along with file paths and download path for OS X sandbox, will be actually implemented only in macstore branch 2015-11-26 20:34:52 +03:00
John Preston
032ca377cd crash fix for 0.9.11.dev version 2015-11-22 15:37:48 +03:00
John Preston
37de0904af merged overview, merged search and searchGlobal done (supergroups) 2015-11-18 16:11:56 +03:00
John Preston
ca34a09f20 mediaview, audioplayer and profilewidget display united media in group and migrated supergroup 2015-11-16 19:04:37 +03:00
John Preston
367d0a8209 merged with 0.9.9 dev 2015-11-03 12:52:37 -05:00
John Preston
6feef57b84 fixed photo label for groups and channels 2015-11-03 11:50:40 -05:00
John Preston
ede2065c26 megagroups started 2015-11-02 17:33:57 -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
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
e14464162e good extension handling in Save As done 2015-10-18 13:38:00 +02:00
John Preston
13f6eedcb2 half of all boxes redesigned 2015-10-06 22:49:23 +03:00
John Preston
015e9356ab license header updated 2015-10-03 16:16:42 +03:00