Commit Graph

279 Commits

Author SHA1 Message Date
John Preston b61cc150db Merge branch 'master' into video
Conflicts:
	Telegram/SourceFiles/mainwidget.cpp
	Telegram/SourceFiles/structs.cpp
2016-07-05 20:42:47 +03:00
John Preston cd696ade4e Featured stickers fully supported (unread badges, box, adding, etc). 2016-06-28 21:05:38 +03:00
John Preston a89185565a 0.9.56 stable. Crash fixed in MediaView after logout and login again.
Buttons layout improved in bot inline keyboard.
2016-06-26 18:37:47 +03:00
John Preston d64892584d ClipReader was moved to a separate namespace and different files. 2016-06-24 13:37:29 +03:00
John Preston 8fc38d9ac2 Creating MediaView after the main window. That way the main window is
created with the right size even with FullScreen flag for MediaView.
Using FullScreen flag only on Windows (or Dock auto hides on OS X).
2016-06-23 15:25:18 +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 6af6ffa1b2 Field autocomplete now replaces text part only up to cursor position.
New radial photo load progress in MediaView instead the old 3-dots.
2016-06-21 21:09:48 +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 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 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 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 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
John Preston e3e774176e new flat boxes started 2015-10-03 13:09:09 +03:00
John Preston 425e2c2a81 improved scheme serializer, fixed channel photo delete button, bad media update when message was sent 2015-10-01 20:15:23 +03:00
John Preston 297b2f3dcf fixed webpage handling 2015-09-28 17:19:37 +03:00
John Preston 9154edc217 channels members and admins management done 2015-09-23 20:43:08 +03:00
John Preston 72d0271e4d channel edit, report spam, etc done 2015-09-21 23:57:42 +03:00
John Preston 56a63a5b10 comments show-hide in channels 2015-09-19 12:13:21 +03:00
John Preston 41e7ce11a0 channel creation almost done 2015-09-16 16:04:08 +03:00
John Preston 659c52347c merged with master spam report buttons, 40 layer not compiling! 2015-09-11 13:29:21 +03:00
John Preston 28e09ab39e report spam panel added 2015-09-08 15:20:30 +03:00
John Preston 54d5b6dd71 forward/delete for channels, prepared load unread by offset_id, not done yet! 2015-09-07 10:52:37 +03:00
John Preston b53e35e046 broadcast channels support started 2015-09-06 13:17:09 +03:00
John Preston 04e1da81f3 added channels scheme, made Channel peers and composite ChannelId,MsgId message ids 2015-09-03 13:48:40 +03:00
John Preston 8511181508 version 0.8.49.dev - block/unblock users in profile, ask question and faq link in Settings, Windows 8/8.1/10 toast notifications 2015-08-12 21:01:32 +03:00
John Preston 5fe1b7b51f fixed two crashes, enabled not qt tray icon in pantheon env 2015-07-24 10:37:17 +02:00
John Preston c786a2bf9c new history loading (one-request loading always), fixed audio unlistened status on media send, fixed flac playing, fixed os x crashes, version 0.8.40.dev 2015-07-17 22:17:37 +03:00
John Preston e193a86eaa fixed Qt 5.5 image scale crash, fixed empty photo in mediaview crash 2015-07-15 14:23:59 +03:00
John Preston 1268774517 audio player done 2015-07-03 11:47:16 +03:00
John Preston f7d55005c4 audio documents playback added, audio documents suppress on voice message, and both suppress on notify added 2015-07-01 00:07:05 +03:00
John Preston d57f6a973f version 0.8.35.dev ready with some optimizations 2015-06-30 01:09:23 +03:00
John Preston 8e82b8894d forward-by-drag-n-drop done for images, documents, stickers and messages-by-date 2015-06-27 16:02:00 +03:00
John Preston e7b94f3d3a version 0.8.20.dev prepared (some fixes) 2015-06-02 14:22:00 +03:00
John Preston e953e11b7f rounding gifs in messages history 2015-05-21 15:08:05 +03:00
John Preston 9da4a21f94 caption display in video, caption display in mediaview, removed Loading / Failed webpage display, rounded corners everywhere 2015-05-20 22:28:24 +03:00
John Preston cfb0de69f0 next layer, stickerdata moved from documentdata 2015-05-11 15:44:27 +03:00
John Preston 1d8ec7c7d6 dev-version 0.8.5 prepared - new photoviewer, new default chat background 2015-04-22 14:21:45 +03:00
John Preston b770ea4f8d optimized new mediaview, os x new mediaview done 2015-04-19 22:01:45 +03:00
John Preston 370c47d95b new photoviewer adapted for documents 2015-04-19 13:29:19 +03:00
John Preston 782c254ea0 started photoviewer redesign 2015-04-11 11:04:10 +01:00
John Preston f3bb155b0a links preview done 2015-04-04 23:01:34 +03:00
John Preston 206176eeb7 version 0.7.17 prepared 2015-02-19 15:22:59 +03:00
John Preston ac245b174d improved word skip in qtextedit 2015-02-19 14:30:16 +03:00
John Preston a2203904fc qt 5.4 patch in .diff format added, time display in system settings done 2015-02-10 18:55:04 +00:00
John Preston a5d2558f5a settings redesigned a little, documents changed to files in lang 2015-02-09 13:26:59 +00:00
John Preston 94d1ea7032 improved borderless window 2015-01-28 16:11:14 +03:00
John Preston 091bba0fc5 stickers emoji tab done, local cache for stickers, recent stickers and voice messages 2015-01-02 17:55:24 +03:00
John Preston c5e7f6b990 returned swipe photos navigation in mediaview for mac os x 2014-12-23 02:13:45 +03:00
John Preston a495c247ac version 0.7.4 - german and dutch languages, some lang fixes 2014-12-23 02:11:37 +03:00
John Preston 06dccb468e Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2014-12-18 21:41:24 +03:00
John Preston d34ab1e1fe langs improved for future translations, win version only for now 2014-12-18 21:40:49 +03:00
John Preston 7c20e4773d added photo switch by scroll gestures for os x in mediaview 2014-12-17 20:55:32 +03:00
John Preston 51edfdd41d fixed single-column msg select cancel, no 1 online in group, added korean font in linux version 2014-12-16 08:46:54 -08:00
John Preston 37917db64c navigation improved in single column layout, document viewer improved 2014-12-15 18:55:45 +03:00
John Preston c964742227 fixed single-column on retina, fixed save from mediaview 2014-12-12 19:45:43 +03:00
John Preston 7a600e03d0 update menu changed to restart if only restarting, header comment changed 2014-12-01 13:47:38 +03:00
John Preston 33aa925aa0 changed to official 2014-11-25 23:15:18 +03:00
John Preston a4c13e0720 fixed Download button in mediaview 2014-11-24 10:54:06 +03:00
John Preston f370e2b85d version 0.6.12 - local image cache, drafts, shared contact fix, some network fixes 2014-11-22 12:45:04 +03:00
John Preston a75f57beb8 youtube and instagram preview display added (instead of messages with only one such link) 2014-11-12 23:18:00 +03:00
John Preston c81beeb023 fixed new photoviewer for linux 2014-10-17 17:24:17 +04:00
John Preston f07606a0ce photoviewer updated, recent emojis filled with some by default 2014-10-17 16:57:14 +04:00
John Preston 09e2fbaa6b inline gif view done, some design improvements, version 0.6.3 2014-10-10 16:46:20 +04:00
John Preston d874609816 fixed mediaview zoom 2014-10-07 22:38:22 +04:00
John Preston aebe171f55 0.6.2 version, context menus fixed, image documents view in overlay added 2014-10-07 21:57:57 +04:00
John Preston 311292c3a3 version 0.6 prepared, changed "Win (Unofficial)" to "Desktop", photo loader animation, custom context menu, default Downloads folder, cyclic logs 2014-09-30 07:11:09 -07:00
John Preston 0d85f91453 custom context menus (including tray menu for windows) done 2014-09-28 19:47:30 -07:00
John Preston 40641133bc photos overview blur, multimonitor photoview fix, os x file dialog default path 2014-09-21 20:52:37 -07:00
John Preston b9ed9e0b6d moved to xcode 6 beta, emoji changed to apple default, tray icon on os x added 2014-09-20 14:31:03 -07:00
John Preston 8a817eb204 media overview multiple selection done, fixed search result delete crash 2014-08-21 16:18:56 +04:00
John Preston dfb4d01015 multi select started in media overview 2014-08-20 09:32:50 +04:00
John Preston c6423c0b65 some photo viewer fixes 2014-08-17 11:37:24 +04:00
John Preston a4728238bb fixed mediaview in os x, added mac sign shell script, os x media overview supported 2014-08-15 15:53:58 +04:00
John Preston a2179c77ba media overview almost done 2014-08-15 15:19:32 +04:00
John Preston 7f976fa251 0.5.15 version with fixes in photo viewer 2014-08-12 00:53:25 +04:00
John Preston dd6d0d26be fixed touchscreen support in new photoview 2014-08-11 13:49:18 +04:00
John Preston 17c0b06d85 merged new photoview 2014-08-11 13:16:47 +04:00
John Preston 7efa1dface mediaview start fixed for os x 2014-08-11 13:06:16 +04:00
John Preston d26afe1b64 new photo viewer done, testing, added compressed checkbox in send-from-clipboard 2014-08-11 13:03:45 +04:00
John Preston f62db48251 started new photo viewer 2014-08-06 18:40:21 +04:00