John Preston
41dc0f4e98
Hide all button added to default notifications.
2016-10-05 19:56:27 +03:00
John Preston
45dabbf9ab
Replaced some exceptions in MTProto code with t_assert()s.
2016-10-02 00:09:44 +03:00
John Preston
1b54ccb59c
Merge branch 'game_media' into player
...
Conflicts:
Telegram/Resources/basic.style
Telegram/SourceFiles/media/player/media_player_list.cpp
Telegram/SourceFiles/title.cpp
2016-09-30 20:07:56 +03:00
John Preston
a18e3e5616
Game play send message action is supported.
2016-09-30 16:40:22 +03:00
John Preston
5b3ac58578
Merge branch 'game_media' into player
...
Conflicts:
Telegram/SourceFiles/core/basic_types.h
Telegram/SourceFiles/sysbuttons.h
Telegram/SourceFiles/title.cpp
2016-09-29 16:48:43 +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
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
90a4b66366
New media type Game added. Display of Game partially supported.
2016-09-27 16:37:18 +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
453661d611
Removed Function<> and SharedCallback<>, using base::lambda_unique<>.
...
Also removed macro START_ANIMATION(anim,) using anim.start() instead.
2016-09-26 15:09:59 +03:00
John Preston
f970ac3163
New audio player done (without playlist).
2016-09-23 19:04:26 +03:00
John Preston
a8f3582cb1
Title controls reordering done right. Title song play button created.
2016-09-21 14:44:20 +03:00
John Preston
227aa36627
Trending sticker sets install improved, masks sets install disallowed.
...
Also rpcDone() and rpcFail() now accept lambdas.
2016-09-19 13:18:21 +03:00
John Preston
578cf4ed61
Merge branch 'master' into games
2016-09-15 21:56:57 +03:00
John Preston
c00456e12e
Fixed build for OS X 10.6 and 10.7 on Qt 5.3 and libstdc++.
2016-09-15 14:08:45 +03:00
John Preston
26ca5fafbb
Scheme updated. Dialogs list layout bug fixed.
2016-09-15 12:44:02 +03:00
John Preston
86982da5f7
Merge branch 'master' into games
...
Conflicts:
Telegram/Telegram.pro
2016-09-12 16:35:17 +03:00
John Preston
96a0e1c237
Resending requests even if received FLOOD_WAIT_N, N >= 60.
...
This will fix the infinite large files downloading, because sometimes
server replies with FLOOD_WAIT_N with N > 300, up to 900.
2016-09-07 14:14:24 +03:00
John Preston
82d92d21f6
ShareBox used to share game score using tg:// link. Scheme updated.
2016-09-07 12:04:57 +03:00
John Preston
160895f6e3
Support for game keyboard buttons and score service messages added.
2016-09-02 12:11:23 -04: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
b0fdddfcf4
New RevokePublicLinkBox done. Added base::lambda_wrap<>. Layer 55.
...
When there are too many public channels / megagroups and you try to
create one more Telegram offers you to revoke one of the existing
public links so you will be able to create a new public community.
2016-08-12 18:22:11 +03: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
dbdf28d0a0
Version bumped to 0.9.61 stable.
...
Merge branch 'archived_stickers' into cancel_reset.
Conflicts:
Telegram/Resources/winrc/Telegram.rc
Telegram/Resources/winrc/Updater.rc
Telegram/SourceFiles/app.cpp
Telegram/SourceFiles/core/version.h
Telegram/SourceFiles/localstorage.cpp
Telegram/Telegram.vcxproj.filters
Telegram/Telegram.xcodeproj/project.pbxproj
Telegram/build/version
2016-07-25 22:54:40 +03:00
John Preston
02e54dd8ba
Scheme updated with covered stickers, not used yet.
2016-07-22 19:04:38 +03:00
John Preston
b35c99cb0c
When installing sticker set some sets can be archived.
...
We show a box with them and describing what happend.
Limit of the recent stickers count is taken from config now.
2016-07-18 18:39:10 +03:00
John Preston
12523f4c0c
Checking self-computed crc32 magics with the ones from tl scheme.
2016-07-17 21:21:57 +03:00
John Preston
95c050081c
Cloud recent sticker sets supported.
2016-07-15 18:58:52 +03:00
John Preston
bf4acc4e52
Fixed reading stickers from old versioned local storage.
...
Handling error when installing sticker set from featured.
2016-07-14 14:59:55 +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
cd36d367ed
Version raised to 0.9.58. Version field of documents supported.
2016-07-08 16:56:53 +03:00
John Preston
8ea47c1811
Opened histories stack finished, stack of states in vector_of_moveable.
2016-07-05 17:48:36 +03:00
John Preston
cd696ade4e
Featured stickers fully supported (unread badges, box, adding, etc).
2016-06-28 21:05:38 +03:00
John Preston
991c6ddd99
Saving featured stickers for new 0.9.57 version in local storage.
2016-06-27 19:25:21 +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
16429b3008
Floating dates that appear animated when scrolling messages added.
2016-06-10 13:21:09 +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
958e47cc19
Received messages are not marked as read while scroll is at the top.
...
HistoryToEnd button is always shown if there are unread messages.
HistoryToEnd button displayes unread messages count.
New service message (HistoryCleared) is handled (not displayed at all).
2016-06-03 15:45:33 +03:00
John Preston
7f353d9b1a
Removed all code related to channel comments.
2016-05-27 19:47:46 +03:00
John Preston
1c13556b8d
Simplified usage of Observer, new event types can be added easier.
2016-05-25 21:49:47 +03:00
John Preston
46ad43bb1e
New profile cover actions by buttons done.
...
Two new types of Observers: image loaded and async file dialog.
2016-05-25 20:59:21 +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
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
2834ce0344
Moving to Qt 5.6.0, instructions can be broken.
2016-04-23 14:40:42 +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
fe59c815b2
HistoryMedia always holds a pointer to its parent HistoryItem.
...
Using local cached data when sending media inline bot results.
2016-04-10 18:53:01 +04:00
John Preston
90b2b240ce
Merged with master.
2016-04-09 15:15:23 +04:00
John Preston
ff839bd978
Scheme updated. Inline geo sending requests without geo.
2016-04-08 21:25:20 +04:00
John Preston
fa0c700ca6
Inline switch to pm and back support added for inline bots.
2016-04-08 18:16:52 +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
35c05cdba7
Build fixed for gcc, QtCreator.
2016-04-07 20:49:15 +04:00
John Preston
db387d50b8
Scheme updated, support for via @bot added to stickers.
2016-04-07 14:03:10 +04:00
John Preston
a728dcfca8
Sticker preview done for inline bot results.
...
ReplyMarkupClickHandler moved to .cpp (implementation details).
2016-04-06 19:32:05 +04:00
John Preston
ba7cb1abbc
Defaulting inline bot reuslt video title/description to
...
"Video file"/duration. Scheme updated.
2016-04-06 17:46:52 +04:00
John Preston
80b0667ff9
Requesting getDifference if some users or channels are not loaded
...
while processing updateNewChannelMessage update.
2016-04-06 15:07:05 +04:00
John Preston
259a996276
Scheme updated. Inline bot result messages now may have reply markup.
...
Fully applying media from send inline bot result response.
2016-04-06 12:00:37 +04:00
John Preston
35785efa50
Inline bot video and sticker layout and sending done.
2016-04-03 13:11:41 +04:00
John Preston
cf9a78a164
Inline bot stickers done, but not tested yet.
2016-04-02 15:20:53 +04:00
John Preston
f7dc832dfe
Scheme updated. Current mtp layer is now edited inside
...
scheme.tl file in a special comment line.
2016-04-01 20:37:23 +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
40fddc9697
UniquePointer backported. Fixed unifying of adding new history items.
2016-03-31 15:18:21 +04:00
John Preston
8cde13fb8c
Scheme updated, not channel messages editing updates handled.
2016-03-30 21:13:07 +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
2c6f74f923
Reply markup keyboard class almost ready, single class
...
for inline and external bot keyboard handling.
But it needs to reinvent a good improvement/replacement
for ITextLink concept that will support automatic calls
of linkOver()/linkOut() methods in all link holders.
2016-03-28 20:15:17 +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
ebf9d3285b
Merge branch 'dev' into bots
2016-03-26 11:24:50 +03:00
John Preston
40ab82e4bd
critical bug fixed in auth import, 0.9.35 dev version
2016-03-25 21:30:19 +03:00
John Preston
559a74847b
OrderedSet class done using QMap as implementation,
...
instead of inheriting it, fixed replies delete code.
2016-03-25 18:20:34 +03:00
John Preston
54032d96b7
Merge branch 'dev' into bots
2016-03-25 15:47:18 +03:00
John Preston
9c7ac50ba6
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-03-25 14:30:10 +03:00
John Preston
a299c1f9e8
fixed upload of files
2016-03-24 23:35:46 +03:00
John Preston
0b6dea311b
scheme for new bot keyboards
2016-03-24 23:34:47 +03:00
John Preston
3e79d7477e
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-03-24 21:12:37 +03:00
John Preston
55e8612f27
fixed QtCreator build
2016-03-24 21:12:30 +03:00
John Preston
cd25799884
Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev
2016-03-24 20:31:55 +03:00
John Preston
605f5305e4
Changed all .. to ... in phrases
2016-03-24 18:07:13 +03:00
John Preston
ef69973e6d
fixed build for Xcode
2016-03-24 16:27:34 +03:00
John Preston
7c99f947eb
added connection implementations to git, protocol improved
2016-03-24 15:57:10 +03:00
John Preston
ad53185645
moved connection implementations from connection module to separate modules, Xcode and QtCreator projects need fixing
2016-03-24 13:55:42 +03:00
John Preston
ddd63d73b7
MTP::nonce -> rand_value, fixed first_name and last_name reading from minimal users
2016-03-24 13:12:18 +03:00
John Preston
d9ef8217e5
moved MTProtoSession and MTProtoConnection to MTP::internal:: namespace
2016-03-24 11:57:11 +03:00
John Preston
26e2918841
Modules renamed in mtproto folder, Xcode build should not work yet
2016-03-23 21:43: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
ee946025d6
fixed mtproto scheme gen code, 9034001 beta
2016-03-22 19:10:47 +03:00
John Preston
fd7a30f143
override specifiers added, retina bug in image circle fixed
2016-03-21 21:57:03 +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
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
47c7f76f2c
added some additional logging for file downloadings
2016-03-17 21:03:08 +03:00
John Preston
3a8824a9a6
intro rewrite started, new code sending methods
2016-03-14 19:59:18 +03:00
John Preston
eb728fb36e
calling connectTcp/Http even if _conn4 / _conn6 were already nulled
2016-03-14 12:48:53 +03:00
John Preston
5cab9569c3
updating edited messages dependencies (replies, edit / reply / pinned bar), postponing notification about pinned message while the message itself is not yet available
2016-03-11 15:20:58 +03:00
John Preston
efa5fc443a
pin/unpin messages in supergroups, local hide for pinned messages
2016-03-10 13:15:21 +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
0072573925
pinned message api used, ordering by online and displaying online count in small megagroups
2016-03-04 17:34:46 +02:00
John Preston
cde264e5a1
fixed crash in mtpFileLoader delayed destroy, finishing breakpad at the very end, 0.9.29 dev
2016-03-01 21:41:06 +02:00
John Preston
32322c4450
fixed some warnings, added debug logs before thread wait calls
2016-03-01 05:36:23 +03:00
John Preston
616354b8e9
improved for old version of Qt
2016-02-29 20:30:18 +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
b678913da5
improved rpcClear() when deleting a complex RPCSender, clearing recent inline bots on logout
2016-02-28 15:36:23 +03:00
John Preston
9d9b4b83a1
improved build script, popupmenu separator adding
2016-02-26 19:49:31 +03:00
John Preston
6fae60b6bb
fixed conversations list update on message edit
2016-02-26 16:00:48 +03:00
John Preston
1bd986d2cb
added any profile photo delete, fixed profile photo upload
2016-02-26 12:29:07 +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
0ffc2ce141
applying flags from dcOptions
2016-02-23 12:52:18 +03:00
John Preston
2a0a3b5cbb
tooltip showing only in active window
2016-02-22 14:15:24 +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
a597ded99b
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop into HEAD
2016-02-16 16:06:57 +03:00
John Preston
a5b466ec05
link clicks and popup menu items activated async, some crashes fixed
2016-02-16 14:21:39 +03:00
John Preston
71e544e0fc
added user tag for reports, fixed couple of compile warnings in gcc
2016-02-15 18:52:11 +03:00
John Preston
01c26cedb1
three crashes fixed
2016-02-15 10:09:14 +03:00
John Preston
0154be5138
fixed errors for 0.9.22 dev version
2016-02-14 22:46:01 +03:00
John Preston
f5dd8f8112
fixed webpage preview layout, switched to abridged version of the tcp protocol
2016-02-13 16:08:28 +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
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
2b4e58b1b9
Merge branch 'bots' of https://bitbucket.org/johnprestonmail/telegram-desktop into bots
2016-01-01 05:00:47 +08:00
John Preston
82fb3f590f
saved gifs panel substituting @gif to the message field
2016-01-01 02:34:56 +08:00
John Preston
9d22ec4900
Merge branch 'bots' of https://bitbucket.org/johnprestonmail/telegram-desktop into bots
2015-12-31 23:29:06 +08:00
John Preston
58da5c5c3b
build fixed for os x, langs updated
2015-12-31 23:28:54 +08:00
John Preston
35d4754380
caching web files to local, sending of inline bots results done properly, panel ux better for inline bots
2015-12-31 23:27:21 +08:00
John Preston
5830e0f657
inline bots gif / photo preview / sending done
2015-12-31 13:34:43 +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
cdcd9d8d54
fixed shared memory locations, scheme updated
2015-12-29 20:54:34 +08:00
John Preston
fb7a48ec19
captions for documents done
2015-12-28 16:03:16 +03:00
John Preston
4f6c8f8008
document captions display and adding done
2015-12-28 13:28:00 +03:00
John Preston
b23cd9fc11
scheme updated
2015-12-28 02:45:02 +03: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
6170144fe9
inline gifs playback / stopping done
2015-12-23 19:48:44 +03:00
John Preston
62723f7576
disabled libexif usage, mediaview showing gif/mp4 through ClipReader
2015-12-22 11:01:02 +03:00
John Preston
cc004d435b
new layout items structure started
2015-12-20 17:05:07 +03:00
John Preston
1416e4e277
scheme updated
2015-12-16 19:07:08 +03:00
John Preston
1545e7f796
moved to 44 layer
2015-12-16 18:31:56 +03:00
John Preston
f1e8b0913d
410 mtproto error code destroys current key, langs updated for 0.9.14
2015-12-08 23:41:04 +03:00
John Preston
e312adb786
added stickers preview
2015-12-07 16:05:00 +03:00
John Preston
b17c277a62
new beta 9014003 ready - info about last 200 members in channel added, no key destroy after 404 error immidiate after connection
2015-12-06 20:45:04 +03:00
John Preston
ed3601f883
sticker packs management done, conversations list context menu added
2015-12-02 20:17:53 +03:00
John Preston
583c0e5904
fixed delete chat where you are not participant / deactivated chat, scheme updated
2015-11-19 14:28:17 +03:00
John Preston
1fa4fd269e
new messages.getDialogs() is used for all dialog types (chats, groups, channels, supergroups)
2015-11-18 17:59:17 +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
497602f47e
merged supergroup with migrated group history, loading messages by 3 (temp! testing)
2015-11-13 18:14:33 +03:00
John Preston
ff1b046c17
group > megagroup convert added
2015-11-06 12:48:49 -05:00
John Preston
1d499129ba
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into groupadmins
2015-11-04 19:11:48 -05:00