Commit Graph

385 Commits

Author SHA1 Message Date
John Preston d581e00299 Improve history items management.
Encapsulate HistoryBlock::y and HistoryBlock::height.
2017-05-12 16:53:08 +03:00
John Preston 8d28d0691f API scheme updated to layer 66.
Support CDN file download.
2017-04-12 22:36:25 +03:00
John Preston d4af14041c Fix build for OS X 10.6-10.7.
Qt 5.3.2 doesn't support QTimer::singleShot(delay, lambda).
2017-04-11 18:44:11 +03:00
John Preston 34ab04cbe6 Add lambda-based checked timers.
Also ApiWrap is now not a QObject.
2017-04-07 18:13:21 +03:00
John Preston 835b1801bc Remove Q_OBJECT dependency from ApiWrap.
Also remove it from SingleDelayedCall -> SingleQueuedInvocation.
2017-04-07 18:13:19 +03:00
John Preston afa9393f38 Expose IsPrimeAndGood() interface from connection.
Also fix a race in MTProto debug type serialization initialization.
2017-04-03 21:28:18 +03:00
John Preston e8ed307278 Add search in GIFs to EmojiPanel. 2017-03-31 18:58:59 +03:00
John Preston 1540f6f528 Use emoji/stickers/gifs slider in EmojiPan.
Also rename EmojiTabs to EmojiSections.
2017-03-31 15:48:01 +03:00
John Preston 5bb68cfd8f Support reading me_url_prefix from config.
The default value 'https://t.me' can be overriden from server config.
2017-03-30 12:49:16 +03:00
John Preston a7d0473a1a WebDocument without size is allowed to load.
We load a WebDocument with an unknown size the same way as we load
normal photos with FileLocation, that doesn't contain size as well.

If the size information from WebDocument and upload.WebFile is
inconsistent we still fail to load the file.
2017-03-30 12:49:15 +03:00
John Preston 31e3c6a2c6 WebDocument wrap to HistoryPhoto supported.
Only WebDocument with a valid 'size' field value and with a valid
'documentAttributeImageSize' attribute works wrapped as a photo.
2017-03-30 12:49:15 +03:00
John Preston a35947141c Encapsulated DcOptions to an independent class. 2017-02-25 19:48:19 +03:00
John Preston 90b3b5c3e5 MTP::AuthKey uses std::array for data.
Also using "volatile char*" iteration for secure memset on Mac/Linux.
2017-02-25 19:48:18 +03:00
John Preston 9757489645 Moved to the latest emoji set.
Also the old MetaEmoji project was converted to codegen_emoji.
All emoji now use full string identifiers for local storage.
2017-02-15 21:27:31 +03:00
John Preston e922e5be39 Alpha 1.0.8: seek in voice messages (by waveform). 2017-02-11 01:37:37 +03:00
John Preston 4964b8b488 Beta 1000002001: Recreate audio device when no output or device changes. 2017-01-25 08:45:09 +03:00
John Preston 7fb1463c43 Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
John Preston 143181095f Alpha 0.10.26: t.me links, latest OpenAL code used.
Also inline results should be displayed above the message field.
2017-01-07 15:55:05 +04:00
John Preston 85b434bee4 Scheme updated. Pinned dialogs support added. 2016-12-30 17:52:53 +04:00
John Preston 4692fdeb5f Closed beta 10019013: Groups in common now are opened in a section. 2016-12-30 17:52:50 +04:00
John Preston 3cff50009c Closed beta 10019010: unified attach button, new intro, new stickers.
Now all files sending is confirmed before preparing for sending.
You can paste from clipboard and drag many files at once.
2016-12-30 17:52:32 +04:00
John Preston dbb6371e67 First version on loading themes is ready. 2016-12-30 17:51:27 +04:00
John Preston f1d52c12ae Version 0.10.13.alpha: crash fix in custom notifications.
Not sending inline bot request drafts to server by timeout.
2016-10-07 19:45:45 +03:00
John Preston 41dc0f4e98 Hide all button added to default notifications. 2016-10-05 19:56:27 +03:00
John Preston 6db52f7fa9 LibNotify Linux notifications support added, testing. 2016-10-03 11:56:03 +03:00
John Preston 0bf55835f5 NB Broken! Notifications refactored to Manager, only Windows working. 2016-10-02 16:54:27 +03:00
John Preston 89cbf3a55a Build scripts updated for Xcode projects from GYP, MacStore build tested. 2016-08-31 11:58:46 -06: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 7ca5737bc0 Removed SongMsgId, unified working with voice/music files in audio. 2016-06-30 15:03:32 +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 cd2615d8d0 Cloud stored message drafts support added. 2016-06-03 21:24:27 +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 5f5109f1c4 Some global string constants "static const *" -> "constexpr str_const". 2016-05-04 13:41:41 +03:00
John Preston 745f89dbb9 Moving build / lang scripts from Telegram to subfolders.
Travis build tested with -j param.
Xcode / QtCreator / qmake builds could be broken.
2016-04-27 15:02:17 +03:00
John Preston 4aa1f1334c Dev version 0.9.45: first version on new styles codegen. 2016-04-22 13:01:41 +03:00
John Preston 7d272919aa Version 0.9.44 copy text context menu item added to some messages. 2016-04-20 15:56:59 +03:00
John Preston 3b6d0ef7c0 Dev version 0.9.43 - media text selection and disabling player shortcuts. 2016-04-14 22:28:02 +03:00
John Preston b07cd1264c Version 0.9.42: critical bug fix in contacts box, message edit fix. 2016-04-12 11:13:03 +03:00
John Preston 9cbdc6e95e version 0.9.41 2016-04-11 20:11:31 +03:00
John Preston 576239166d Removed RefPair struct. Beta 9040128. 2016-04-11 15:14:54 +04:00
John Preston 418e06052c Some bugfixes. Closed beta 9040127.
Crash fix when trying to reply to a bot message which hides the keyboard.
Counting button widths better (more padding, use exact width when avail).
Hiding inline bot results fixed when switched to emoji before hiding.
2016-04-11 00:59:07 +04:00
John Preston dd1d04e9b0 Inline bot results preview: photo, audio, file, voice. Beta 9040126. 2016-04-10 22:18:26 +04:00
John Preston d960ac2828 Allowing only switch button in inline bot results. 9040124 closed beta. 2016-04-10 09:55:48 +04:00
John Preston 5ccd5f4385 Added serialize/ files to QtCreator project. 9040123 closed beta. 2016-04-09 15:16:59 +04:00
John Preston 1e72c8a89b Merge branch 'master' into bots 2016-04-05 13:32:42 +04:00
John Preston e5ec3b6199 New version 0.9.40 2016-04-05 12:05:32 +04:00
John Preston 35785efa50 Inline bot video and sticker layout and sending done. 2016-04-03 13:11:41 +04:00
John Preston 2826bb9134 0.9.39 dev version (possible crash fix) 2016-04-01 11:57:30 +04:00
John Preston f96b7da7ce Crash reporting fixed, radial progress fixed. 0.9.38 dev version. 2016-04-01 00:36:46 +04:00
John Preston f1c69a495b 0.9.37 dev version 2016-03-31 18:26:38 +04:00
John Preston 1b5905dc54 dev version 0.9.36 2016-03-26 09:53:23 +03:00
John Preston 4bb906b9f8 0.9.35 dev version 2016-03-25 19:48:55 +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 2876916258 beta 9034003 version 2016-03-24 20:56:12 +03:00
John Preston 68ed885568 Moved mtproto/mtpPublicRSA.h to mtproto/rsa_public_key module,
rewritten and refactored, removed openssl headers from stdafx.h

Xcode project file does not contain mtproto/rsa_public_key.cpp yet
2016-03-23 21:12:07 +03:00
John Preston e45de88bd6 moving left userpics at the top of the conversation window, beta 9034002 2016-03-22 22:43:47 +03:00
John Preston 5c9836418f version 9034001 beta 2016-03-22 18:23:34 +03:00
John Preston 84e67b8ec0 scrollTop counted relative to the last scrollTop item, attachedToPrevious messages support added, service messages now display date and unreadbar 2016-03-21 21:40:00 +03:00
John Preston b9616bdf75 some crashes fixed, 0.9.34 dev version 2016-03-16 16:29:44 +03:00
John Preston b3f11e7dff crash in pinnedbar fix, assertion info added to crash report, onViewsIncrement() and updateCounter() checks added, returned style fake qt args for Xubuntu 15.10, 0.9.33 stable (Linux only) 2016-03-16 00:13:32 +03:00
John Preston f13c61fbaf stable 0.9.32 2016-03-14 20:47:40 +03:00
John Preston 3e37be5d5c version 0.9.31 stable 2016-03-14 13:34:32 +03:00
John Preston 0e8e098932 beta 9030002 2016-03-13 19:02:57 +03:00
John Preston c289c6c6eb beta 9030001 2016-03-11 18:29:24 +03:00
John Preston 1c722a425d forwarded getState fixed, pinned message service msg dependency request and text update done 2016-03-05 23:12:55 +02:00
John Preston 7c62de51ff 0.9.30 dev version - fix forwarded text style, fixed sticker preview update on sticker load 2016-03-03 20:37:15 +02:00
John Preston ebfeeb6872 dev version 0.9.29 2016-03-01 05:46:34 +03:00
John Preston 99b52d4cc1 all deinit moved to Application::aboutToQuit(), mtproto connection thread management refactored, disabled -style=0 fake argument for Application, beta 9028002 2016-02-29 19:53:26 +03:00
John Preston 08072346fd fixed crash in next/previous_chat(), MTP::dld/upl -> functions, download and upload sessions count reduced to 2 2016-02-29 14:34:44 +03:00
John Preston fcd713b8a6 beta 9028001 2016-02-28 17:06:56 +03:00
John Preston a88b676588 global shortcuts with loading from .json map 2016-02-27 22:39:51 +03:00
John Preston f696263460 limits for caption and description updated 2016-02-26 17:41:09 +03:00
John Preston ade6b5aae0 version 0.9.28 2016-02-26 16:10:57 +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 4ec579112c beta 9026001 message/post edit done 2016-02-25 13:32:31 +03:00
John Preston 0ffc2ce141 applying flags from dcOptions 2016-02-23 12:52:18 +03:00
John Preston a7b9fd2f2b version 0.9.26 2016-02-22 10:07:44 +03:00
John Preston 90d104cf61 version 0.9.25 dev 2016-02-21 17:54:00 +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 bb30b71b86 0.9.23 dev version, convertScale() added to inline result thumbs in some places 2016-02-15 14:23:45 +03:00
John Preston 3281b81565 using new privacy settings (error display), crash reports collecting improved, colors for waveforms imporved, preparing for 0.9.22.dev (next commit) 2016-02-14 21:29:17 +03:00
John Preston 189d0e8de3 voice messages moved to documents with waveforms 2016-02-12 19:35:06 +03:00
John Preston 19d395a946 0.9.21 dev version - fix unicode paths to working file + new layout for wide windows 2016-02-09 23:56:50 +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 520d82b0ff beta version 9019002 2016-02-07 22:08:18 +03:00
John Preston 952f24e4e1 beta version 9019001 with new crash tracking 2016-02-04 17:49:08 +03:00
John Preston b13579c7d9 dev version 0.9.19 sending stickers by emoji 2016-01-09 20:51:42 +08:00
John Preston f4d159b2f0 version 0.9.18: crashfix + fix of transparent gifs sending 2016-01-05 12:28:06 +08:00
John Preston b82adc7610 fixed crash, 0.9.17 version 2016-01-04 22:00:37 +08:00
John Preston b201a5a975 stable version 0.9.16 - new design of media, gifs and inline bots 2016-01-04 19:13:25 +08:00
John Preston 839ce20b88 beta 9015008 2016-01-04 07:54:02 +08:00
John Preston 12ff88478c beta 9015007 2016-01-02 21:11:22 +08:00
John Preston cb2df51af6 remembering last used inline bots, showing them in mentions dropdown, 9015006 beta 2016-01-01 22:48:32 +08:00
John Preston 14839e7afe scheme updated, contextbot -> inlinebot renamed, web file loader done like mtp file loader 2015-12-31 03:09:20 +08:00
John Preston 78866622b9 fixed clipreader lags, threads count increased to 8 2015-12-30 16:36:04 +08:00
John Preston 38ea16fea4 context bot requests sent from MentionsDropdown 2015-12-30 01:29:24 +08:00
John Preston 2e853f9338 sending gifv done 2015-12-28 18:34:45 +03:00
John Preston b33323b62d beta 9015004 2015-12-28 09:23:24 +03:00
John Preston 0b8a05e435 beta 9015003 version 2015-12-28 01:27:40 +03:00