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
6b242a982b
Fix GIF pause by layer.
...
Let MainWindow enable / disable GIF pausing when a layer is shown.
2017-04-07 18:13:20 +03:00
John Preston
0d0307e175
Move ApiWrap to AuthSession.
...
Also send all ApiWrap requests as an MTP::Sender.
Also create AuthSession only after starting MTProto.
2017-04-07 18:13:19 +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
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00
John Preston
c94a88e154
Rename / move a bunch of files.
...
Next commit fixes the build.
2017-04-07 18:13:16 +03:00
John Preston
8504bbb9d5
Improve icons and scripts for Windows Store.
2017-04-06 14:35:35 +03:00
John Preston
6746d4ba2d
Build crashpad from git. Crashpad path has changed.
2017-04-06 11:06:29 +03:00
John Preston
7b7df23e3b
Version 1.0.29: Fix crash on app quit.
...
Some cleanup actions in App::clearHistories() queue file loader
destructions that should be completed before MTProto is reset.
2017-04-05 13:39:31 +03:00
John Preston
252a6f9d5a
Version 1.0.29: Fix cancel GIFs search button.
2017-04-05 13:14:17 +03:00
John Preston
a1adf2dae6
Version 1.0.29: Fix crash on app quit.
...
Destroy queued file loaders before destroying AuthSession, because
they have references to Downloader which is owned by AuthSession.
2017-04-05 13:04:26 +03:00
John Preston
22d905b39c
Version 1.0.29: Add cloud icon to main menu.
2017-04-05 12:22:45 +03:00
John Preston
03a59b04be
Add progress animation to GIFs search.
...
Also display "no results" phrase.
2017-04-04 16:19:49 +03:00
John Preston
4384c80961
Prefer appindicator only on Unity and Pantheon.
...
Commit dcd6028e91
introduced a regression which caused
appindicator tray icon to be preferred everywhere else.
2017-04-04 12:59:48 +03:00
Lonami
b7ea15b83d
Use message date by default when saving a photo ( #1586 ) ( #3150 )
...
Signed-off-by: Lonami <totufals@hotmail.com> (github: Lonami)
2017-04-04 12:14:32 +03:00
John Preston
20ad611924
Alpha 1.0.28: bump version.
2017-04-03 22:08:22 +03:00
John Preston
57b85ac30f
Alpha 1.0.28: new emoji panel, GNOME tray icon.
2017-04-03 22:06:20 +03:00
John Preston
81375a05f1
Always write MTP data right after login.
...
Also write to DebugLogs all keys write attempts.
2017-04-03 21:59:13 +03:00
John Preston
50586eb06d
Build codegen_emoji without GUI dependencies.
...
We need GUI dependencies only when we generate images.
2017-04-03 21:49:07 +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
c1aa1c5a0f
Enable Qt tray icon in GNOME and derivatives.
...
As tested in Fedora Qt 5.6.2 tray icon works well in GNOME.
Also add more logs about DE and tray icon. Fix #3175 #3188
2017-04-03 20:46:09 +03:00
John Preston
78d245c02c
Improve positioning of chat helper panels.
2017-04-03 19:46:24 +03:00
John Preston
ffc9585196
Add hierarchy of GIF pausing inside a window.
...
GIFs get paused if some other layer is displayed above.
Media preview > Box or layer > Saved GIFs panel > Inline bot results.
If any of those is displayed, GIFs inside message history pause too.
2017-04-03 19:46:12 +03:00
John Preston
6003ac2132
Add base::weak_unique_ptr<T> template class.
...
Sometimes you don't need shared ownership (shared_ptr), but you
still need to be able to have weak pointers to an object.
Now you can derive the object from base::enable_weak_from_this
and use base::weak_unique_ptr<T> after that.
2017-04-03 14:08:36 +03:00
John Preston
0cdd0a9ff9
Remove old 'using std::string' from mtproto.
2017-04-02 20:11:30 +03:00
John Preston
7a7f157a8e
Fix crash in EmojiListWidget.
...
Changing recent emoji list was giving us inconsistent emoji list
in _emoji[section] and its size in SectionInfo::count field.
2017-04-01 17:08:56 +03:00
John Preston
f1718f1d10
Generate emoji config by a build action.
...
Also hopefully optimize the build speed for emoji config.
2017-04-01 17:08:42 +03:00
John Preston
a1b53f07d5
Fix build for Xcode and GCC.
2017-04-01 16:14:56 +03:00
John Preston
e8ed307278
Add search in GIFs to EmojiPanel.
2017-03-31 18:58:59 +03:00
John Preston
0690c4f98c
Move EmojiPanel bottom controls to Controller.
...
Open sticker set by click on the name.
Add a delete sticker set button.
2017-03-31 15:58:52 +03:00
John Preston
6d27172b20
Move [Emoji|Sticker]PanInner to separate modules.
...
Now we have three separate [Emoji|Stickers|Gifs]ListWidget.
2017-03-31 15:48:03 +03:00
John Preston
bed3aa1a7f
Finalize rename / move of files.
...
Also rename EmojiPan to EmojiPanel.
2017-03-31 15:48:02 +03:00
John Preston
477f175f76
Rename / move emoji_pan module to emoji_panel.
...
Next commit fixes the build.
2017-03-31 15:48:02 +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
3d846fcd49
Show inline bot results in a separate widget.
...
Add a InlineBots::Layout::Widget for inline bot results.
GIF search from EmojiPan is disabled for now.
2017-03-31 15:48:00 +03:00
John Preston
5cb66c99bd
Make stickers FeaturedReader an MTP::Sender.
2017-03-31 15:47:59 +03:00
John Preston
8d4be19952
Use separate TopBar for History and Overview.
...
Move TopBar widget to History and Overview from MainWidget.
2017-03-31 15:47:58 +03:00
John Preston
cdca00368f
Improve EmojiPan: resource management.
...
Store inline results and layouts in unique_ptrs.
Move EmojiPan from RPCSender to MTP::Sender.
2017-03-31 15:47:57 +03:00
John Preston
8884cb190a
Version 1.0.27: Fix launch in Ubuntu 17.04
...
Ubuntu 17.04 launch results in segfault if the build was done
by GCC 6.2 (works fine with GCC 4.9). Backtrace shows that it
crashes in gtk_init_check() call somewhere in libmirclient and
tests show that it works fine with GDK_BACKEND=x11.
So we use gdk_set_allowed_backends() method to explicitly state
that we support only "x11" GDK backend, that way it doesn't try
to use libmirclient and it does not crash.
Fix #3176 #3162
2017-03-31 13:46:55 +03:00
John Preston
df6972eeba
Update API scheme.
2017-03-31 13:31:51 +03:00
John Preston
f0ab72ffbc
Fix AutoConnection::debugState() for TCP connections. Fix #3171
...
Also silent new Xcode version warning.
2017-03-30 18:20:51 +03:00
John Preston
a851497bbf
Version 1.0.26 for macOS: Fix Clang builds.
...
Custom build of libc++ for OS X 10.6-10.7 already has C++17 as_const.
Add workaround for Apple Clang has strange issues (freeze and segfault).
2017-03-30 15:00:02 +03:00
John Preston
e6d94b5ee7
Version 1.0.26: Better appx manifest, update langs.
2017-03-30 12:49:58 +03:00
John Preston
23f23e3ca5
Closed beta 1000024001: Improved edit privacy box.
2017-03-30 12:49:16 +03:00
John Preston
dde63a9047
Update langs.
2017-03-30 12:49:16 +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
70b6335b11
Closed beta 1000018003: notifications / jump to date.
2017-03-30 12:49:16 +03:00
John Preston
47c5d56c7b
Use QLocale for amount + currency formatting.
2017-03-30 12:49:15 +03:00
John Preston
fde769e0b9
Don't use WebDocument size field.
...
WebDocument size field is not a reliable information,
it can be > 0 and != upload.WebFile size field, so just ignore it
and load all WebDocument files as files with unknown size.
2017-03-30 12:49:15 +03:00
John Preston
23b39923ad
Closed beta 1000018002: more phrases for payments.
...
Also replacing the Buy keyboard button with Receipt if the invoice
was payed already (like in mobile apps). This required to move the
inline markup apply before the media apply in message editing.
2017-03-30 12:49:15 +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
12ca6f3819
Closed beta 1000018001: calls and payments dummies.
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
7b5985445c
Payment service messages supported.
2017-03-30 12:49:15 +03:00
John Preston
2019c24e08
Pay button and messageMediaInvoice supported.
...
New button type keyboardButtonBuy just shows a box with information.
WebDocument photo type is not supported yet, 'photo' is ignored.
Also HistoryMediaPtr is now implemented as a std::unique_ptr wrapper.
2017-03-30 12:49:15 +03:00
John Preston
0cc7cdd212
Added phrases for phone calls service messages.
...
Also refactored service message text parsing from an action object.
2017-03-30 12:49:15 +03:00
John Preston
16396b5d90
API scheme updated to layer 65.
2017-03-30 12:49:14 +03:00
John Preston
5666f14829
Allow audio and video files with duration < 1s.
2017-03-27 15:50:40 +03:00
John Preston
d41372dccd
Allow MTP_flags(0) and MTP_flags(single_flag).
2017-03-25 18:42:01 +03:00
Nicholas Guriev
2e6c15ff9d
Update .desktop file on Linux ( #3109 )
...
What has been done:
* Removed deprecated Encoding key
* Specified correct WM class for StartupWMClass key
* Fixed icon name
I also fixed restarting when language is changed and there is no Updater
Signed-off-by: Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
2017-03-23 18:00:21 +03:00
John Preston
0ce6e8a33a
Show warning message before changing phone number.
2017-03-23 17:58:58 +03:00
Christoph
be659e2611
Fix regex for in app links ( #3142 )
...
Before, this regex matched also links which contained a in app link, e.g.: https://github.com/search?q=https://telegram.me/BotFather
Fix #3141
Signed-off-by: Christoph <auer.chrisi@gmx.net>
2017-03-23 17:56:51 +03:00
John Preston
47044ab25e
Fix GCC warning on Release build in Emoji::Init.
...
Also use initializer_list instead of recursion in Emoji::ComputeId.
2017-03-23 15:47:01 +03:00
John Preston
731e53bc99
Fix crash in tray icon notifications toggle.
...
While we have the same tray menu for an authorized user and not.
2017-03-23 15:30:16 +03:00
John Preston
e38d683979
Fix crash in SelfDestructionBox.
...
base::lambda_guarded may destroy the lambda after the owner. In case
of SelfDestructionBox it lead to a dtor of a dangling object_ptr.
MTP::Sender destroys the lambda handlers together with itself.
2017-03-23 15:18:02 +03:00
John Preston
e9ec09b91a
Add MTP::Sender to replace RPCSender some day.
...
Also use c++1z language standard in Xcode build.
Also treat warnings as errors.
2017-03-23 14:37:38 +03:00
John Preston
7fcc5d649c
Change push_back to emplace_back in emoji_config.
...
Perhaps that way GCC won't give a warning on variable count inside
one method Ui::Emoji::Init() in Release builds.
2017-03-22 12:24:53 +03:00
John Preston
6601a00eea
Alpha 1.0.25: Edit phone number in Settings.
...
Also fix build for GCC.
Also add scripts for GitHub releases management.
2017-03-21 22:49:23 +03:00
John Preston
743743ca10
Fix WebPage reply preview.
...
Sometimes HistoryWebPage::hasReplyPreview() was returning true while
the HistoryWebPage::replyPreview() method was not offering anything.
2017-03-21 20:59:35 +03:00
John Preston
bd121752f1
Change your account phone number in Settings.
2017-03-21 20:13:34 +03:00
John Preston
facc729234
Edit account self destruct time in Settings.
...
Also accept lambda_once in rpcDone() and rpcFail() lambda wrappers.
2017-03-20 23:05:38 +03:00
John Preston
a5df46f381
Improve EditPrivacyBox layout.
...
Also fix incorrect killTimer() calls in DiscreteSlider.
2017-03-19 11:32:24 +03:00
John Preston
5530172add
Alpha 1.0.24: Fix build in Xcode.
2017-03-19 00:29:43 +03:00
John Preston
59636ac072
Alpha 1.0.24: edit last seen and invite privacy.
2017-03-19 00:14:23 +03:00
John Preston
12cbf78191
Refactor Ui::Radiobutton. Add Ui::Radioenum<Enum>.
...
Now group of Ui::Radiobutton instances share Ui::RadiobuttonGroup.
All value management is done through the group instance, not through
separate radio buttons. Also a template for groups over enums added.
2017-03-19 00:06:10 +03:00
John Preston
0a40bf2071
WIP radiobuttons refactoring.
2017-03-18 14:55:04 +03:00
John Preston
7546245213
Show warning when user edits last seen first time.
2017-03-18 12:49:48 +03:00
John Preston
fc77b0a51c
Save privacy in ApiWrap. Handle privacy updates.
2017-03-18 12:49:47 +03:00
John Preston
346daee421
Edit groups and channels invite privacy.
2017-03-18 12:49:46 +03:00
John Preston
61c5b45d7a
Select exception users in EditPrivacyBox.
2017-03-18 12:49:46 +03:00
John Preston
85fd117675
Add EditPrivacyBox. Edit last seen privacy.
...
Selecting exception users is not supported yet.
2017-03-18 12:49:45 +03:00
John Preston
a563cf553c
Rename / move settings_blocked_box_controller.
...
Next commit fixes the build.
2017-03-18 12:49:44 +03:00
John Preston
18151359f3
Fix drag-n-drop images from Firefox.
...
Commit a1b53c660e
introduced a regression which caused images that
were shown for sending confirmation as a file path + image not being
passed to FileLoadTask in _image field, they were passed in the
_information field instead. They were not sent in case the file path
was not existing at the moment of processing. If the file path does
not exist anymore read the image from _information and send it.
2017-03-18 12:44:31 +03:00
John Preston
16fa56de48
Finalize rename / move of files.
2017-03-16 12:53:13 +03:00
John Preston
412d3f8350
Rename / move a bunch of files.
...
Next commit fixes the build.
2017-03-16 12:52:38 +03:00
John Preston
6ad2cd38ed
Generate scheme module by GYP action.
...
Add a new codegen action to generate MTP scheme from scheme.tl file.
2017-03-16 12:37:56 +03:00
John Preston
d91a2403b0
Use refs in AuthSession part getters.
...
Also use only AuthSession data for Contacts/Dialogs loaded state.
2017-03-15 19:24:06 +03:00
John Preston
1027bd431a
Add some helper methods to effect wrappers.
...
Add and use similar methods to WidgetSlideWrap and WidgetFadeWrap:
[show|hide|toggle]Fast() and [show|hide|toggle]Animated().
2017-03-15 18:10:18 +03:00
Christoph
fed20435ad
Update local regex ( #3115 )
...
Adds support for telegram.dog links
Fix #3111
Signed-off-by: Christoph <auer.chrisi@gmx.net>
2017-03-15 17:38:05 +03:00
John Preston
b2ac84c8c6
Alpha 1.0.23: Fix changelog message.
2017-03-15 15:13:09 +03:00
John Preston
8c06b08f30
Alpha 1.0.23: Add blocked users list box in settings.
...
Also fixed build for Xcode.
2017-03-15 13:45:56 +03:00
John Preston
2ce2a14228
Add global search by username in block user box.
2017-03-14 21:38:50 +03:00
John Preston
46dab1a6b4
Add local search (filter) in block user box.
2017-03-14 20:10:28 +03:00
John Preston
805be84bff
Add block user box. Search isn't working yet.
...
Add a box containing all chats and contacts for blocking users.
Contacts and dialogs loaded state can be accessed in AuthSession.
2017-03-14 17:16:03 +03:00
John Preston
b1ee91b06b
Add blocked users box to Settings.
...
Start a general PeerListBox, it should replace both ContactsBox
and MembersBox in the future. Show blocked users list in it.
2017-03-14 13:58:36 +03:00
John Preston
6873d53993
Alpha 1.0.22: fix couple of crashes.
2017-03-13 13:31:11 +03:00
John Preston
929c55a2a1
Include only required moc_*.cpp in the build.
...
Use a python script to generate the list of sources to build.
Now we don't include moc_*.cpp files in build by default, instead
we list only non-empty ones.
If you change a header so that the corresponding moc_*.cpp changes
its emptyness you may need to gyp/refresh to apply this change.
This should speed up the build significantly on GCC.
2017-03-13 13:17:26 +03:00
John Preston
2e17b480a5
Fix crash in HistoryVideo::draw.
2017-03-12 11:52:28 +03:00
John Preston
1395237810
Fix crash in notifications.
...
~HistoryItem() sometimes causes a queued notification to show.
Custom notifications depend on MainWindow and it is destroyed
already in clearHistories(), so clear the notifications queue first.
2017-03-12 11:49:44 +03:00
John Preston
bc254228c9
Alpha 1.0.21: Use custom refcount for MTP types.
...
It seems that heavy using std::shared_ptr and std::make_shared
like it was before completely kills the compilation time.
Also HistoryItem::_create now uses perfect forwarding.
2017-03-11 20:03:36 +03:00
John Preston
f2cd364e14
Alpha 1.0.21: Fix more compilation bugs.
2017-03-11 17:13:57 +03:00
John Preston
28ae5fd65c
Alpha 1.0.21: Fix compilation bug.
2017-03-11 13:35:43 +03:00
John Preston
493ba6f2cd
Alpha 1.0.21: Send MP4 and MOV files as videos.
2017-03-11 13:33:05 +03:00
John Preston
f2465eba73
Make MTPstring and MTPvector value types.
...
Also move MTPstring implementation to QByteArray.
2017-03-10 23:27:26 +03:00
John Preston
1df955e30a
Closed beta 1000020001: remove chats list padding. Fix #3098
...
Also return config requesting at the beginning of each app launch.
2017-03-10 23:27:25 +03:00
John Preston
02da80439b
Remove read() constructors from MTP types.
...
This will allow us to handle errors in parsing not by exceptions.
2017-03-10 23:27:24 +03:00
John Preston
3b373e236e
Make all owned MTPD types immutable.
...
Remove custom refcounting in mtpData, use std::shared_ptr instead.
2017-03-10 23:27:23 +03:00
John Preston
6061d9d65b
Fix WidgetFadeWrap::showFast() after animation. Fix #3096
2017-03-10 19:41:44 +03:00
John Preston
021454dbd4
Add .jpg to inputFile filename when photo is sent.
...
Server has some extensions checking for inputMediaUploadedPhoto,
so force the extension to be .jpg anyway. It doesn't matter,
because the filename from inputFile is not used anywhere.
Also own PhotoData::UploadingData through std::unique_ptr.
2017-03-10 18:55:34 +03:00
John Preston
f6918feea3
Fix build in Xcode and GCC.
2017-03-10 18:53:16 +03:00
John Preston
6c00b7efde
Show animated previews for GIFs in SendFilesBox.
2017-03-10 17:43:26 +03:00
John Preston
a1b53c660e
Show video thumbnail in SendFileBox.
...
Read media information (image / song / video) in SendFileBox in the
same way it is read in FileLoadTask::process() and reuse it in
FileLoadTask if it was loaded already for the box.
2017-03-10 17:14:10 +03:00
John Preston
9ed8cbe2d1
Send mp4 and quicktime files as videos.
2017-03-10 17:12:51 +03:00
John Preston
eaae662b7d
Use mapbox::util::variant in a submodule.
...
While we don't have C++17 std::variant<> use a BSD licensed
alternative from mapbox team in a base:: wrapper.
2017-03-10 17:12:04 +03:00
John Preston
7da52bd3ec
Move GSL dependency to a submodule.
2017-03-10 14:34:43 +03:00
John Preston
e4f7b3c7c2
Fix mediaview update when image is loaded.
...
Subscribe on app launch, not only when AuthSession has changed.
2017-03-10 11:25:38 +03:00
John Preston
ee45bbe4c6
Alpha 1.0.20: fix crash in old Windows versions.
...
A shell32 method SHCreateItemFromParsingName was used without
checking if it was successfully loaded from shell32.dll (Vista+).
2017-03-09 00:10:32 +03:00
John Preston
5aab168b3e
Alpha 1.0.20: fix crash in default notifications.
...
Before showNextFromQueue() was called from a range-for loop over
the _notifications and it invalidated the _notifications iterators.
2017-03-08 23:51:40 +03:00
John Preston
ce8d68fc8c
Alpha 1.0.19: Add MSVC++ bug workaround.
2017-03-08 13:46:04 +03:00
John Preston
6d216042e6
Alpha 1.0.19: jump to date, macOS do not disturb.
...
Production testing of the AuthSession downloader() and notifications().
2017-03-08 13:33:16 +03:00
John Preston
a5c83467d6
Respect macOS do not disturb settings. Fix #3095 .
2017-03-08 13:12:02 +03:00
John Preston
b5d9eee489
Fix macOS native notification callbacks.
2017-03-08 10:31:05 +03:00
John Preston
ed3b2cc017
Make date service messages clickable.
...
Open jump to date box when clicking on dates including floating date.
2017-03-07 22:30:00 +03:00
John Preston
f663a2bf08
Limit the CalendarBox selectable days.
...
Use available information (first and last message date) to limit
the days you can choose in jump-to-date calendar box.
2017-03-07 22:29:59 +03:00
John Preston
ec0c3c5f82
Add ripple animation in CalendarBox cells.
2017-03-07 22:29:59 +03:00
John Preston
d3af60ff0b
Add a simple jump to date in a chat.
2017-03-07 22:29:59 +03:00
John Preston
ae977044f6
First version of CalendarBox is done.
...
Also moved BackgroundBox::Inner declaration inside backgroundbox.cpp
2017-03-07 22:29:49 +03:00
John Preston
6d80471fc9
Calendar button added to DialogsWidget.
...
When you search in a specific chat there is a calendar button now.
2017-03-07 21:59:47 +03:00
John Preston
b80dd99172
Ui::FadeAnimation now supports scaling.
...
Ui::WidgetScaledFadeWrap<> wrapper added for fading widgets out and
fading them in with a scale effect similar to Ui::SendButton.
2017-03-07 21:58:40 +03:00
John Preston
6456a83a22
Finalizing files rename.
...
Also moved peer_avatar_button to ui/special_buttons.
2017-03-07 21:58:35 +03:00
John Preston
9510492174
Renamed history_down_button module.
...
Next commit fixes the build.
2017-03-07 21:58:24 +03:00
John Preston
a441a9fca9
Fix service message highlighting.
2017-03-07 21:58:16 +03:00
John Preston
81790b2271
Notifications management moved to AuthSession.
...
Also implemented Global::WorkMode() as an base::Variable.
2017-03-06 18:38:15 +03:00
John Preston
b14ba398e6
Fixed Linux build.
2017-03-06 01:43:35 +03:00
John Preston
e88305d984
Fixed freezes in macOS clipboard requests.
...
Sometimes QClipboard::text() unexpectedly freezes on macOS, no known
causes for that. But before we were requesting the clipboard text after
each change in any text field to update macOS global menu items.
Now we use Cocoa API directly to find out if there were any changes to
the clipboard content and query text through Qt only if we have changes.
That way it should almost never freeze (at least) or even really never.
2017-03-05 23:18:27 +03:00
John Preston
31009b19c6
Removed obsolete storage_file_type fields.
2017-03-04 14:28:21 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00
John Preston
b0dbe9d353
Renamed / moved a bunch of files.
...
Next commit fixes the build.
2017-03-04 12:56:07 +03:00
John Preston
08167a6a91
Removed #include "stdafx.h" from all files.
...
Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway.
2017-03-04 12:27:52 +03:00
John Preston
12bbd971b3
Added Guideline Support Library as a dependency.
...
See https://github.com/Microsoft/GSL for information.
2017-03-04 12:01:07 +03:00
John Preston
0838d21a05
Removed virtual type getters in mtpFileLoader.
2017-03-04 12:01:06 +03:00
John Preston
f48d6dc464
Alpha 1.0.18: Fixed build for macOS.
2017-03-02 17:01:32 +03:00
John Preston
6576959948
Alpha 1.0.18: destroying auth keys on sign up.
...
Also some debugging tools for mtproto endpoints added.
2017-03-01 21:42:36 +03:00
John Preston
3da0af3550
Merge branch 'master' into dev
2017-03-01 21:41:42 +03:00
John Preston
195d3d13d7
Fix regression from 87445ccf8c
in a helper script.
2017-03-01 21:37:15 +03:00
Konstantin Lazutin
701acace21
Removed click at the end of the notification sound ( #3052 )
...
Signed-off-by: Konstantin Lazutin klazutin@gmail.com (github: klazutin)
2017-03-01 21:30:28 +03:00
John Preston
bc76f5ee1e
Debug feature added for overriding dc options.
...
Now you can type "endpoints" in Settings and choose a file with
a complete set of dc_options that will be used instead of built-in
or received through mtproto config till the end of current session.
2017-03-01 20:22:37 +03:00
John Preston
5f5770dd46
Support special seek whence for ffmpeg.
...
AVSEEK_SIZE is passed as a whence when ffmpeg needs just data size.
2017-03-01 10:31:36 +03:00
John Preston
fb230a443e
Fixed text with right bearings display.
...
Sometimes Text::_maxWidth was not accumulated correctly because
the intermediate text blocks had negative right bearing larger
than the whole width of the next text block, so the final computed
line width was less than some intermediate value. Now we accumulate
the _maxWidth value after each block making this value correct.
2017-02-28 19:38:23 +03:00
John Preston
a4a7a77abd
Closed beta 1000017001: enable auth_key_destroy.
...
Now we use only new authorization keys for signing in. If we are
preparing to sign in and we see, that some of the authorization
keys were not generated in this launch, but were read from file, we
destroy all existing auth keys and generate a completely new set.
2017-02-28 19:08:30 +03:00
John Preston
12705c9065
Removed legacy FileDialog::query* methods.
...
Everything is done easier and better through the FileDialog::Get*.
2017-02-28 19:04:52 +03:00
John Preston
f8318177b9
Platform-dependent file methods called async.
...
Some major platform-dependent file operations refactoring.
All methods like "open file", "open file with", "show in folder"
were moved to core/file_utilities module with platform-dependent
backends. All methods interacting with DesktopServices made async.
2017-02-28 18:03:38 +03:00
John Preston
6f0cf30b12
Some platform-dependent modules refactoring.
...
Now each platform-dependent module declares its interface in
platform/platform_module.h file and after that includes platform-
specific headers like platform/win/module_win.h with implementation.
Also removed the legacy WinRT platform-dependent implementations.
2017-02-28 13:51:00 +03:00
John Preston
ae08a2f697
Alpha 1.0.17: crash fix in file open.
...
ShellExecute() call reenters Qt event loop, so each time we
schedule a delayed action (like destroying FileLoader) and after
that we call ShellExecute (in psOpenFile) we destroy it inside
this call and can't use it after.
So now we perform ShellExecute calls only delayed (using task queue).
2017-02-28 11:18:27 +03:00
John Preston
a5eb5a6ea2
Crash fix when setting a background image by URL. #3077
...
When we choose a file from URL we don't get the filename.
In background image apply method we test for a theme / palette
file extensions. Now we don't crash there, but we still can't set
a .tdesktop-theme or .tdesktop-palette file from URL. Who cares :)
2017-02-28 10:26:27 +03:00
John Preston
d254058690
Alpha 1.0.16: fighting crashes.
...
An attempt to fix a crash in MTP::Instance destructor + additional
logging there to find out how this crash happens.
2017-02-27 21:47:29 +03:00
John Preston
2fa2fa41c5
Some special logging added for crash catching.
...
Special FileLoader destructor crash added to find the code path
leading to crashes that could be observed through the reports.
Looks like progress() signal handlers enter event loop somehow.
2017-02-27 21:33:42 +03:00
John Preston
3f8e822621
Fixing crash in logout from passcode.
...
If the MTP::Instance is not started yet (we forgot our passcode),
the logout attempt was attempting to use mtproto from Intro::Widget
constructor before it was created. Now we create it before logout.
2017-02-27 21:25:42 +03:00
John Preston
fb2a26fb35
Alpha 1.0.15: various improvements.
...
Wrong supergroup members display fix, RTL text layout fix.
Linux GTK file chooser image preview added. Fix #3053 #2968
2017-02-27 13:44:14 +03:00
John Preston
6c2f16e9a0
Some improvements in mtproto data processing.
...
Readability improvements. Checking maximum padding size.
Checking SHA1 hash before validating inner message length.
2017-02-27 12:51:03 +03:00
Christoph
87445ccf8c
Add interpreter path
...
Fix #3064
2017-02-27 09:42:11 +01:00
John Preston
4838d1bfc9
GTK file chooser image preview support added. #2968
...
Thanks to Chromium code.
Also fixed build on GCC / Linux.
2017-02-26 22:27:57 +03:00
John Preston
e8b03248e1
Fix members list in supergroups when scrolling up.
...
When we load previous messages in chat history we add all authors
of the messages to lastAuthors in regular groups (so that we can
suggest them in mention autocomplete). The same logic was (blindly)
applied to supergroups lastParticipants list which is used not only
for the mention autocomplete but also in Profile members list. That
way we were showing there users who could've already left the group.
2017-02-26 21:02:47 +03:00
John Preston
dcd6028e91
Loading libunity only in Unity and Pantheon. #3053
...
Commit 296c800b39
introduced a regression which caused crashes
in some ArchLinux distros when attempting to load or use libunity.
2017-02-26 21:02:46 +03:00
John Preston
5195b4d3ef
RTL strings with trailing spaces render fix.
...
Commit 8d354382a4
introduced a regression in RTL phrases display.
When an RTL line had trailing spaces we started displaying them in
front of the text still assuming counted line width value that did
not include those trailing spaces.
Line width is not including trailing spaces width because it is
allowed to fit in the line any number of spaces.
Also text block "left padding" entity was eliminated. If we have
some spaces in the start of the text block (for example a text block
after a link) we just add an empty word and mark those spaces as its
right padding.
2017-02-26 21:02:45 +03:00
John Preston
692d115313
Use a Deleted Account phrase instead of Unknown.
2017-02-26 21:02:45 +03:00
John Preston
c207743338
Made base::lambda a copyable value type.
...
Now base::lambda can be copied and can wrap any immutable lambda.
For mutable lambdas there is base::lambda_once (which you're
supposed to call only once to pass data through lambda captures,
for example by using std::unique_ptr). Generally base::lambda is
passed by value and base::lambda_once is passed by rvalue reference.
2017-02-26 21:01:23 +03:00
John Preston
f82989c9c3
Using std::vector<> and const fields for emoji.
2017-02-25 23:35:55 +03:00
John Preston
c48ed2e62b
Closed beta 1000014001: fixed GCC build.
2017-02-25 21:17:50 +03:00
John Preston
d1e37864ac
Closed beta 1000014001: fixed crash in MTP destructor.
...
Some of MTP::Instance::Private fields access _instance in
destructors. All that cleanup should be performed before the
Instance::~Instance() (which invalidates _private) is called.
2017-02-25 20:55:11 +03:00
John Preston
bcec2f6b84
Closed beta 1000014001: fixed Xcode build.
2017-02-25 20:46:21 +03:00
John Preston
6b70cc342a
Closed beta 1000014001: testing MTP changes.
...
Destroying of the authorization keys disabled for now.
2017-02-25 20:15:30 +03:00
John Preston
7d89b54d1c
Ability to delete authorization keys added.
...
If we start logging in and we know, that some of the authorization
keys were read from the hard drive, not generated, we destroy all
the existing authorization keys and start generating new keys.
2017-02-25 19:48:22 +03:00
John Preston
dd933cf61c
MTP global state moved to MTP::Instance class.
...
Now there will be ability to start multiple mtproto instances.
2017-02-25 19:48:21 +03:00
John Preston
c3b3819d9f
Moved AppClass to messenger.cpp:Messenger.
2017-02-25 19:48:20 +03:00
John Preston
63c61637f8
Moved MTP::authedId() to AuthSession::Current().
2017-02-25 19:48:19 +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
21efb44e81
TL scheme for destroy_auth_key query added.
2017-02-25 19:48:17 +03:00
John Preston
e6672432bb
Merge branch 'master' into dev
2017-02-25 19:47:10 +03:00
Mohammad Reza Espargham
8c63feb11e
Added interpreter path ( #3065 )
...
Signed-off-by: MohammadReza Espargham <reza.espargham@owasp.org> (github: rezasp)
2017-02-23 22:37:24 +01:00
Mohammad Reza Espargham
dbd4eaed48
Added interpreter path ( #3061 )
...
Signed-off-by: MohammadReza Espargham <reza.espargham@owasp.org> (github: rezasp)
2017-02-23 18:51:29 +01:00
John Preston
9e4b752830
Fix travis build warning on precompiled headers.
2017-02-22 14:00:08 +03:00
John Preston
958d3b7c15
Good alignment in palette reading generated code.
...
Also added -std=gnu++1y to CMake precompiled header generation.
2017-02-21 21:24:36 +03:00
John Preston
30ae322cf0
Move to GCC 6 and silent some warnings there.
2017-02-21 18:29:59 +03:00
John Preston
755325fef3
Updated Xcode build for using standard library.
...
Also trying to use g++-6 for travis build.
2017-02-21 17:37:53 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00
John Preston
27f015561a
Using custom build of libc++ for old OS X version.
...
This will allow us to use C++14 library on all platforms.
Patches for macold versions got bigger and are now different for
crashpad and mini_chromium, so they were moved to a separate folder.
2017-02-21 15:37:52 +03:00
John Preston
228e2f7031
Use 'v140' msbuild_toolset for VS project.
...
We use /SUBSYSTEM:Windows and 'MinimumRequiredVersion': '5.01' to
make our app work in Windows XP, but we use 'v140' toolset instead
of 'v140_xp' so that we have access to modern APIs like WRL.
2017-02-21 15:27:34 +03:00
John Preston
7fa1986b27
Version 1.0.14: crash fix in text rendering.
...
Fix a regression introduced in 8d354382a4
which caused an overflow
in _parAnalysis access. We were resizing _parAnalysis array for a
line width without the pending newline character while we used it
for painting a line including the pending newline character. It was
not a problem before, when we were trimming them from the end of
the string, but it results in a buffer overflow and crashes in the
lastest versions. So now we just don't include the newline in the
painted string, so it has exactly the same size as _parAnalysis.
2017-02-20 23:58:54 +03:00
John Preston
5939c54d33
Version 1.0.13: fix unnecessary window activations.
...
A regression was introduced in 1.0.12 version which led to wrong
activations of the main window: if a custom popup menu was shown
for the tray icon or a custom notification was clicked.
2017-02-20 13:36:25 +03:00
John Preston
d408fca96f
Added some more debug info for wrong history state.
2017-02-20 13:35:30 +03:00
Christoph Auer
120e21c126
Remove workaround for missing build defines
...
Fixed by commit d1d9e29ca5
2017-02-19 14:00:14 +01:00
John Preston
d1d9e29ca5
Version 1.0.12: fix initial build_defines.
2017-02-19 14:02:35 +03:00
John Preston
bcf01cf718
Version 1.0.12: more emoji, voice messages seek, theme editor.
2017-02-19 13:50:36 +03:00
Christoph Auer
daa934014c
Change TELEGRAM_BUILD_DEFINES to TDESKTOP_BUILD_DEFINES
2017-02-19 09:29:08 +01:00
Christoph
ef535ca026
Implement AppVeyor ( #3025 )
...
Also implement build defines for Windows
Set TELEGRAM_BUILD_DEFINES before calling gyp/refresh.bat
Fix #3000
Signed-off-by: Christoph <auer.chrisi@gmx.net>
2017-02-18 20:23:50 +01:00
John Preston
843089733b
Better handle window hide / activate in macOS. #1278
...
When we hide window by 'x' title button or by cmd+w key we try to
deactivate the whole application (so some other app gets activated).
When we activate the application in any way we check if the main
window is hidden and if it is - we show it and activate it.
2017-02-18 16:34:18 +03:00
John Preston
6e1b6e6e53
Fixed Qt 5.3.2 tray icon with autohidden menu bar.
...
Also removed the old Qt 5.6.0 patch (only 5.6.2 is currently used).
2017-02-18 16:34:18 +03:00
John Preston
4232fa2f6e
Use QuietHours registry key only in latest Windows
...
Sometimes the windows quiet hours registry key gets set even in
Windows 7 (or older) and we disable notifications though it has
nothing to do with real user settings. Check for 8.1 at least.
2017-02-18 16:06:03 +03:00
John Preston
746d58e453
Fix small glitches in the intro cover sprites. #2904
2017-02-18 15:26:12 +03:00
John Preston
f2e69d2621
Intro cover now shows palette changes in realtime.
2017-02-18 14:38:15 +03:00
John Preston
8ffdfa7923
Fixed a render glitch when highlighting a message. #3023
2017-02-18 14:38:15 +03:00
John Preston
89f3b45888
Fix of neutral emoji color variant choice saving.
2017-02-18 14:38:14 +03:00
John Preston
a2774848ba
Changed FileDescription to a smaller one in rc.
...
This string is displayed in Windows task manager and should be small.
2017-02-18 14:38:13 +03:00
John Preston
36fc7d1991
Merge branch 'master' into temp
...
Conflicts:
Telegram/SourceFiles/settings/settings_widget.cpp
2017-02-18 14:37:57 +03:00
John Preston
8060c7e141
Alpha 1.0.11: fix Qt 5.3.2 build.
...
Qt 5.3.2 QVector works only with types having an assignment operator.
2017-02-17 22:59:25 +03:00
John Preston
b7c4e867e8
Alpha 1.0.11: emoji parsing fixed.
...
We should count emoji length correctly in cases we have a partial
match for a longer one, but not a full match. If we start reading
the next characters but don't find a full emoji there we need to
have a correct length of a previously found emoji saved already.
2017-02-17 21:57:21 +03:00
John Preston
d259656e89
Alpha 1.0.11: emoji parsing fixed.
...
Now we ignore all 0xFE0F characters, because some other
apps send or not send them randomly, not like iOS/macOS.
2017-02-17 20:31:46 +03:00
Wouter van Kesteren
540ba9bfaf
Fix compilation of history widget with GCC 6. ( #3016 )
...
error: inconsistent deduction for 'auto': 'int' and then 'auto'
auto start = 0, end = list.size();
^~~~
Signed-off-by: Wouter van Kesteren <woutershep@gmail.com> (github: woutershep)
2017-02-17 15:56:52 +01:00
John Preston
0411f05c39
Alpha 1.0.11: crashfix in theme preview generator.
2017-02-17 16:07:57 +03:00
Behnam Emamian
54c409d967
Use external video player by hidden setting ( #3021 )
...
Signed-off-by: Behnam Emamian <emamian@persianprocess.com> (github: BehnamEmamian)
2017-02-17 13:50:27 +01:00
John Preston
bff74452b7
Divided emoji resource file in two.
...
Linux 32bit build cannot handle all the emoji sprites
being compiled in a single translation unit, so now
it is divided in two.
2017-02-17 15:15:24 +03:00
John Preston
c0c7b39375
Alpha 1.0.10: better changelog message.
2017-02-17 13:17:42 +03:00
John Preston
695733f520
Alpha 1.0.10: fix clang/GCC and old OS X build.
2017-02-17 12:56:42 +03:00
John Preston
7adfe93a8d
Alpha 1.0.10: unpinning converted chat on demand.
...
If we want to pin a chat and we have reached the limit we now check
for a deactivated (converted to supergroup) chat that is pinned and
is not in the chats list and just silently unpin it if it is found.
Also possible UB fix for a waveform encoding and decoding.
2017-02-16 19:47:50 +03:00
John Preston
8d354382a4
Text selection display fixes.
...
- Use QPainter current pen for selected text in cases we
didn't specify it explicitly in the TextPalette.
- Better rounding of QRectF from QFixed values to QRect selected
background filling areas.
- Using QPainter::viewport() instead of random huge QRect() in
clipping, because it fails to apply this huge QRect() clip region
in Retina paint devices: 2x scale QMatrix::map() is not defined for
QRegion-s having rects with sum of dimensions larger than 100000.
2017-02-16 17:07:16 +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
902dee0c2a
Fix crash in OpenSSL usage.
...
First try to activate Qt OpenSSL usage and let Qt to set
the locking methods for OpenSSL. Only if Qt didn't set them
we use our own locking methods. Before that we were always
setting our own locking methods and Qt was overriding them
at some random moment of time sometimes leading to a crash.
2017-02-15 21:27:03 +03:00
John Preston
25f90b5159
Fix build of the new TWidgetHelper<> for GCC, finally.
...
Also fixed a char-related warning in codegen project.
2017-02-13 02:17:06 +03:00
John Preston
232ed0a7c0
Fix build of the new TWidgetHelper<> for Clang and GCC.
2017-02-12 23:41:29 +03:00
John Preston
25583fa813
Replace T_WIDGET macro with a template base class.
2017-02-11 14:24:37 +03:00
John Preston
61b55706ae
Alpha 1.0.9: crash fix in video playback.
...
Media::Player::Instance started to notify about all sound
playback updates, even for video files (which do not have
DocumentData filled in), while Media::Player widgets were
relying on the existance of DocumentData in each update.
2017-02-11 11:00:21 +03:00
John Preston
d3420b6a92
Fixed info display in media in non-group chats.
...
Version 1.0.8 introduced a regression in displaying forwarded,
reply and via @bot information in photo, video, GIFs and locations.
2017-02-11 10:55:43 +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
296c800b39
Load libunity in all DEs to set dock icon counter. #956
...
Before we tried loading and using libunity only in Unity DE.
2017-02-10 20:45:11 +03:00
John Preston
c39bf239ea
Removed legacy HistoryItem::type() code.
2017-02-10 17:16:50 +03:00
John Preston
2ab3cda743
Use current folder in Debug configuration for UWP.
2017-02-10 13:10:33 +03:00
John Preston
a627ed0929
Merge branch 'master' into dev
2017-02-10 12:18:37 +03:00
John Preston
8b503d4930
Fixed build on Windows.
2017-02-10 01:29:20 +03:00
John Preston
6e833baf91
Handle tg:// links in Windows packaged build.
2017-02-09 22:31:30 +03:00
John Preston
3dbe187f56
Merge remote-tracking branch 'origin/master' into dev
2017-02-09 22:31:11 +03:00
Fela Ameghino
e569b8c5f9
Windows URI association fix ( #2957 )
...
Signed-off-by: Fela Ameghino <fela.ameghino@mahiz.it> (github: frayxrulez)
2017-02-09 22:28:46 +03:00
John Preston
2becd307df
Always display name in media messages in groups.
2017-02-09 17:34:19 +03:00
John Preston
3c18532612
Fixed Ui::PopupMenu submenu creation. #2971
2017-02-09 17:20:49 +03:00
John Preston
2f85997c9f
Fixed multiline comments handling in theme editor. #2987
2017-02-09 16:53:28 +03:00
John Preston
e8ead2974b
Added logging of file location invalidations.
...
If file size or file last modified time were changed we
invalidate our known location for a downloaded file. Now
we log those events to DebugLogs to see if they're responsible
for reported download problems.
2017-02-09 16:51:49 +03:00
John Preston
bb7730eee1
Back mouse button and key return you in stack.
...
Now you can use mouse Back button and Back keyboard button
to return from media overview through profile to the chat view.
2017-02-09 16:49:43 +03:00
John Preston
0518a456f8
"File Decription" keys updated in Windows resources.
2017-02-09 16:49:03 +03:00
John Preston
8e3274cd8f
Colors added in palette for selected messages.
...
User names in groups, text and links in messages and names
in files and shared contacts not can have different colors
in plain inbox / outbox messages and in selected messages.
Now we can use a separate color for selected parts in Text.
2017-02-09 16:46:14 +03:00
John Preston
cce99a96ac
Fixed directory choose dialog in Windows XP.
2017-02-09 16:44:37 +03:00
John Preston
b84abbec08
Fixed crash in Theme Editor.
...
There was an attempt to access _searchResults with index from _data.
2017-02-09 16:43:21 +03:00
John Preston
27a4d0f029
Alpha 1.0.7: Theme editor added to Settings.
2017-02-07 20:39:47 +03:00
John Preston
b842761ea3
Closed beta 1000006001: Built in theme and color palette editor.
2017-02-07 17:56:33 +03:00
John Preston
60f45ab9b3
Improved location coords precision when converting them to string.
...
Also disabled some options for a packaged build.
2017-02-03 13:17:40 +03:00
John Preston
5f0741a0a5
Some more logo assets added.
2017-02-02 20:09:26 +03:00
John Preston
ed4b9bc40b
Added comments to the colors.palette rows.
2017-02-01 22:38:31 +03:00
John Preston
686abd63b5
Version 1.0.6: fixing some critical issues in audio handling.
...
OnPropertyValueChanged() is called sometimes couple times a second
and sometimes when AudioMutex is locked already causing a deadlock.
Also some code added to support Desktop Bridge converter to UWP app.
2017-02-01 13:12:52 +03:00
John Preston
da2191e9d5
Version 1.0.5: fixed retina EmojiBox layout.
2017-01-31 12:29:22 +03:00
John Preston
33d2ec0f54
Version 1.0.5: new audio code + reorder pinned chats.
2017-01-31 12:13:51 +03:00
John Preston
6df0591e82
Langs updated with a changelog. Pinned chats reorder fixed on macOS.
2017-01-31 11:10:38 +03:00
John Preston
d1b9b8e3a3
Alpha 1.0.4: Click and drag to reorder pinned chats.
2017-01-30 18:27:13 +03:00
John Preston
b21f72fef0
Fixed build for old OS X.
2017-01-27 10:25:43 +03:00
John Preston
697fdd4294
Alpha 1.0.3: audio device opened only when some sound is played.
...
Also on Windows Vista and later audio device should switch after
the system default audio output device is changed.
2017-01-27 10:08:59 +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
6ae68b337d
Audio capture moved to a separate module.
2017-01-25 00:25:21 +03:00
Marco Trevisan
28899a642b
main-window-linux: unref tray Indicator and Unity Launcher Entry ( #2661 )
...
Signed-off-by: Marco Trevisan <mail@3v1n0.net> (github: 3v1n0)
2017-01-24 13:45:10 +03:00
Marco Trevisan
4518e94c8a
main-window-linux: try to use AppIndicator in Unity ( #2660 )
...
Signed-off-by: Marco Trevisan <mail@3v1n0.net> (github: 3v1n0)
2017-01-24 13:44:46 +03:00
ZunSThy
59b0b0659a
Fix: Corret 'Show in folder' logic ( #2894 )
...
Signed-off-by: Zun SThy <zunsthy@gmail.com> (github: zunsthy)
2017-01-24 13:18:48 +03:00
John Preston
2dccca7b16
Version 1.0.2: display correct changelog after the update.
2017-01-19 11:41:19 +03:00
John Preston
7ab87486dc
Version 1.0.2: drag-n-drop from Firefox, resizable left column.
2017-01-19 11:38:10 +03:00
John Preston
8bb14f4565
Small layout search field hidden. Crash fix in common groups section.
...
Also clearing cloud drafts in deactivated chats after migrating them.
2017-01-18 13:26:33 +03:00
John Preston
8f31e1ab31
Alpha 1.0.1 for Windows: Qt bugfix backported for large files write.
...
Also the initial background saved as JPG to reduce the Telegram.exe
file size below 32 MB. Currently deployed versions can't autoupdate
to a file that is larger than 32 MB due to a critical Qt bug.
2017-01-17 11:50:22 +03:00
John Preston
041e366df7
Alpha 1.0.1: resize chats list with mouse press-and-drag.
...
Also fixed drag-n-drop images from Firefox in Windows.
Also some additional colors added to themes palette:
HistoryToDown button now has separate colors.
Windows title bar and buttons have separate active/inactive colors.
2017-01-16 16:27:11 +03:00
John Preston
47aa03ce37
Logging string in case of crash inside Qt text processing.
...
There are some crash reports from OS X 10.6 and it is the way
to find out which string exactly crashes the app in that place.
2017-01-16 13:18:34 +03:00
John Preston
4424dbf64a
Allow to resize chats list. One more mode added (narrow chats list).
2017-01-16 12:55:03 +03:00
John Preston
c58df19b93
Fix popup menu rendering in OS X 10.6-10.7. #2839
2017-01-15 16:12:35 +03:00
John Preston
8a8e0c1182
Passcode box layout fix. Drop image from Firefox fix.
...
Also admin star color in group profile has separate palette entry.
2017-01-13 18:15:25 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
2d185cf66e
Some colors split for the palette. Theme preview applying improved.
...
Also attempting to fix travis build.
2017-01-11 12:16:44 +04:00
John Preston
30c9bcb985
Alpha 0.10.27: appoint admins in your supergroups from context menu.
2017-01-11 09:30:51 +04:00
John Preston
c09dab2b3a
MediaView save message fixed. Sticker pan size updated correctly.
2017-01-09 18:00:56 +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
1a16df4037
Fixed alpha 0.10.25 build for Linux: static libvdpau build added.
2017-01-05 17:46:36 +04:00
John Preston
0edca8cfdb
Alpha version 0.10.25: crash fix in aligned image creation.
2017-01-05 15:39:00 +04:00
John Preston
019939a09d
Alpha 0.10.24: langs updated.
2017-01-05 13:40:21 +04:00
John Preston
9d66e88fc1
Alpha 0.10.24: fixed image alignment for ffmpeg, using ffmpeg 3.2.
2017-01-05 13:08:16 +04:00
John Preston
d0a7e6be73
Delete messages box labels fix and confirm by Enter key.
...
Also context menu fixed in case of non-transparent windows.
Also pausing GIFs when the window is not active.
2017-01-02 21:11:49 +04:00
John Preston
72e34dc5b1
Fixed alpha 0.10.23 build for Linux.
2017-01-01 21:49:44 +04:00
John Preston
a86c85485a
Alpha 0.10.23: removed test code for error text checking.
2017-01-01 21:15:21 +04:00
John Preston
3da020dffd
Alpha 0.10.23: tiled background fixed for macOS.
2017-01-01 21:10:35 +04:00
John Preston
c65a280b9d
Alpha 0.10.23: small tiled background performance improved.
...
Also some error texts improved. Also Ctrl+W closes MediaView now.
2017-01-01 20:59:33 +04:00
John Preston
eec5b78054
Delete for everyone checkbox added. Various bugfixes.
2017-01-01 15:47:00 +04:00
John Preston
218f991547
Alpha version 0.10.22: critical bug fixes.
2016-12-31 17:34:41 +04:00
John Preston
bc0c355d2d
Alpha version 0.10.21: pinned chats, groups in common, new design.
2016-12-30 22:23:17 +04:00
John Preston
b39987c343
Closed beta 10020007: New selected messages count animation.
2016-12-30 17:53:10 +04:00
John Preston
1d8e76aa08
New empty user/chat photos: with filled background and initials.
2016-12-30 17:53:09 +04:00
John Preston
204d91d567
Closed beta 10020006: fixed crash on start when the passcode is used.
2016-12-30 17:53:07 +04:00
John Preston
38e6a0ae7e
Closed beta 10020005: Added several buttons animations.
2016-12-30 17:53:06 +04:00
John Preston
ef927c8465
Theme preview ready.
...
Also style::color is now copyable, constructed only inside a palette.
Also macOS setup new background ready.
2016-12-30 17:53:05 +04:00
John Preston
1d895cd953
Closed beta 10020004: stickers box fixed, manage admins box fixed.
2016-12-30 17:53:03 +04:00
John Preston
eb4d2a38b6
Closed beta 10020003: All colors moved to palette, some bug fixes.
2016-12-30 17:53:02 +04:00
John Preston
b030824ef5
Use default color theme link in non-authed Advanced settings section.
2016-12-30 17:53:00 +04:00
John Preston
177078b0af
Closed beta 10020002: Use default color theme link in Settings.
2016-12-30 17:53:00 +04:00
John Preston
0480e02b23
Closed beta 10020001: application icon changed.
2016-12-30 17:52:58 +04:00
John Preston
2436ad74bd
Boxes redesigned. Common groups moved to Shared Media.
...
Also transparent images sending fixed.
2016-12-30 17:52:56 +04:00
John Preston
85b434bee4
Scheme updated. Pinned dialogs support added.
2016-12-30 17:52:53 +04:00
John Preston
90234cb7a0
Closed beta 10019014: New input fields design and animations.
2016-12-30 17:52:52 +04:00
John Preston
2d48cde27a
Fixed crashes in thumb animation. Fix notifications show.
...
Also allow reporting bots. Also disable last used stickers click.
2016-12-30 17:52:51 +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
47977009b8
Moved FloatAnimation->Animation, Animation->BasicAnimation.
2016-12-30 17:52:48 +04:00
John Preston
06ed7b8eaf
Some more ripple animations. Now only anim::value (float64).
...
Also each FloatAnimation now stops MTP responses.
Also slide animations done by FloatAnimation.
Closed beta 10019012.
2016-12-30 17:52:46 +04:00
John Preston
a248cef15d
Moved back to layer 58, fixed some style issues.
2016-12-30 17:52:44 +04:00
John Preston
74253fb7f2
Fixed layout of names in profile peer list block.
2016-12-30 17:52:43 +04:00
John Preston
7bb3b4d807
Common groups profile block done. Moved to layer 59.
...
Also profile block modules were renamed.
2016-12-30 17:52:42 +04:00
John Preston
a3c406dd00
Some macOS improvements for animations and retina support.
2016-12-30 17:52:41 +04:00
John Preston
3e6d483939
Closed beta 10019011: fixed build in Xcode, langs updated.
2016-12-30 17:52:40 +04:00
John Preston
b0f14d1856
Closed beta 10019011: various style improvements.
2016-12-30 17:52:39 +04:00
John Preston
2796c53542
Some more ripple animations.
2016-12-30 17:52:37 +04:00
John Preston
8958ae0377
Typing animations from android.
2016-12-30 17:52:36 +04:00
John Preston
2b3631f3ae
Closed beta 10019010: fixed build for Xcode.
2016-12-30 17:52:34 +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
26c08236cd
Fixed build for Xcode. Round cap used in radial animations.
2016-12-30 17:52:31 +04:00
John Preston
3da0533339
Intro redesign done.
2016-12-30 17:52:30 +04:00
John Preston
6e0394dd42
Stickers box redesigned.
2016-12-30 17:52:28 +04:00
John Preston
38d20c506e
Image options are used in cache key. Medias with captions has tails.
2016-12-30 17:52:27 +04:00
John Preston
b1ca0f5ea3
Fixed build for macOS old versions.
2016-12-30 17:52:26 +04:00
John Preston
eb05e62422
Not rounding images (photos/videos/gifs) that continue to a bubble.
2016-12-30 17:52:25 +04:00
John Preston
9155591e8a
New cancel search icon animation.
2016-12-30 17:52:24 +04:00
John Preston
9fa284a6d1
Photo and video overview and background gallery checkboxes improved.
2016-12-30 17:52:23 +04:00
John Preston
e880c4876e
Strict alignment request for base::lambda. Various improvements.
2016-12-30 17:52:21 +04:00
John Preston
8a0c275658
Group and channel create box photo select button improved.
2016-12-30 17:52:20 +04:00
John Preston
2ada4d841f
Top bar buttons design improved, emoji pan animations removed.
2016-12-30 17:52:18 +04:00
John Preston
d313bd56a6
Qt render bug fixed by patch for Qt 5.3.2 as well.
2016-12-30 17:52:17 +04:00
John Preston
d607f0768a
Closed version 10019009: bubbles with tails.
2016-12-30 17:52:16 +04:00
John Preston
31a66d66e2
Layers show/hide rewritten, animated show over mainmenu and settings.
2016-12-30 17:52:15 +04:00
John Preston
d0f7c6c210
Qt render bug fixed by patch. Design improvements and fixes.
2016-12-30 17:52:14 +04:00
John Preston
07689476a6
Closed beta 10019008: Some more ripple animations added.
2016-12-30 17:52:13 +04:00
John Preston
cdef9fa14f
Active state for IconButton added, when ripple is not hidden.
2016-12-30 17:52:11 +04:00
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
48eb72a9c2
Optimized dropdown animation. Dropdown animation for EmojiPan done.
2016-12-30 17:52:07 +04:00
John Preston
78f55c10e9
Closed beta 10019006: left main menu.
2016-12-30 17:52:06 +04:00
John Preston
a74baaea36
Left main menu.
2016-12-30 17:52:05 +04:00
John Preston
807bebb3cf
Buttons moved to ui/widgets/buttons module, BoxButton removed.
2016-12-30 17:52:04 +04:00
John Preston
d4d1d438be
Closed beta 10019005: inline bot cancel button fixed.
2016-12-30 17:52:02 +04:00
John Preston
55b1ba128d
Fixed PanelAnimation for Retina, added 1px padding to emoji.
2016-12-30 17:52:01 +04:00
John Preston
bd2be4e0c1
Build fixed for Linux, checking for compositing manager running.
...
Backported QX11Info::isCompositingManagerRunning from Qt 5.7.
2016-12-30 17:52:00 +04:00
John Preston
27ff8d4bf5
Closed beta 10019004: improved new dropdown animation on macOS.
2016-12-30 17:51:58 +04:00
John Preston
1310b156dc
Closed beta 10019004: new add contact button, various improvements.
2016-12-30 17:51:57 +04:00
John Preston
3366e05b77
Rich dropdown animations.
2016-12-30 17:51:56 +04:00
John Preston
45ce0ecb1f
Dialogs filter input field without search icon.
2016-12-30 17:51:55 +04:00
John Preston
8ff3779c9a
Custom title bar for macOS 10.10+ improved, colors in palette now.
2016-12-30 17:51:54 +04:00
John Preston
494254496e
10019003: Some compose area icons improved. Box headers redesigned.
2016-12-30 17:51:52 +04:00
John Preston
475b35bf55
Custom title on macOS 10.10+ added.
2016-12-30 17:51:51 +04:00
John Preston
19f4e50e33
New compose area icons.
2016-12-30 17:51:50 +04:00
John Preston
fac8e48381
Default background changed to green, "video file" -> "video" in lang.
2016-12-30 17:51:48 +04:00
John Preston
dd9bd43331
Closed beta 10019002: fixed build for Linux.
2016-12-30 17:51:47 +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
0326976473
Beta version 10019002: fixed build for Xcode.
2016-12-30 17:51:45 +04:00
John Preston
dac96bfc4a
Closed beta 10019002: redesign, fix emoji pan hide after inline bot.
2016-12-30 17:51:44 +04:00
John Preston
b3d1602354
Forward bar and unread counter added to top bar in OneColumn layout.
2016-12-30 17:51:42 +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
1ecd6866c7
Closed beta 10019001: improved style apply for FlatButton.
2016-12-30 17:51:35 +04:00
John Preston
1466338e7e
Closed beta 10019001: Build fixed for Xcode.
2016-12-30 17:51:34 +04:00
John Preston
2a3fd0066d
Closed beta 10019001: style::color copy is denied, only const refs.
2016-12-30 17:51:33 +04:00
John Preston
5d10c02b5b
Applying color themes with confirmation / reverting (15 seconds).
2016-12-30 17:51:32 +04:00
John Preston
af9edc17d2
Applying color theme without restarting the application.
2016-12-30 17:51:31 +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
b2414939c9
Merge branch 'master' into dev
2016-12-30 17:50:59 +04:00
John Preston
19b77ee4ac
Version 0.10.20: don't allow the share url start with an inline bot.
2016-12-18 19:12:49 +03:00
John Preston
09b429592f
Version 0.10.20: crash fixed in group create box.
2016-12-18 18:47:32 +03:00
John Preston
7f71ef3784
Fixed bug in ffmpeg animation reader.
2016-12-18 12:12:42 +03:00
Marco Trevisan
2dadf7ce57
linux-libs: parse XDG_CURRENT_DESKTOP as colon separated list ( #2663 )
...
Signed-off-by: Marco Trevisan <mail@3v1n0.net> (github: 3v1n0)
2016-11-23 10:25:11 +01:00
Marco Trevisan
d460897f84
main-window-linux: parse XDG_CURRENT_DESKTOP as colon separated list ( #2659 )
...
As per freedesktop specifications¹, $XDG_CURRENT_DESKTOP is a
"colon-separated list of strings". Thus we need to parse it in that way.
[1] https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
Signed-off-by: Marco Trevisan <mail@3v1n0.net> (github: 3v1n0)
2016-11-22 09:46:08 +03:00
Faissal Bensefia
9dc660c8ec
Fixes "pushd: not found" ( #2654 )
...
Signed-off-by: faissaloo <faissaloo@gmail.com>
2016-11-20 14:09:00 +01:00
John Preston
2e4426aac0
Old sprites removed completely. Only #rrggbb and #rrggbbaa in styles.
...
Also moved Checkbox and Radiobutton to Ui namespace.
Also child widgets in many boxes were wrapped in ChildWidget<>.
2016-10-28 12:20:24 +03:00
John Preston
42e544abff
All icons were moved from sprites to separate icon files.
2016-10-28 11:02:45 +03: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
6e33f039b2
Dropdown replaced by Ui::DropdownMenu. ScrolledWidget removed.
...
Ui::DropdownMenu is like Ui::PopupMenu, both based on Ui::Menu.
2016-10-27 15:56:48 +03:00
John Preston
140e6d6268
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-10-26 15:24:38 +03:00
John Preston
ec6e46dae7
Some more icons moved from sprite.
2016-10-26 15:24:21 +03:00
John Preston
abd755d7fc
Fixed build for Xcode and GCC.
2016-10-26 14:03:33 +03:00
John Preston
ff2d959abd
Some icons moved from sprite. Ui::WidgetFadeWrap() effect added.
2016-10-26 13:06:00 +03:00
John Preston
d35b295d5e
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-10-25 21:00:45 +03:00
John Preston
a65c76ea69
Venue layout fixed for multiline address text.
...
We don't make the bubble wider for the address text to fit in,
so we should not respect address Text::maxWidth() for item _maxw.
2016-10-25 20:30:49 +03:00
John Preston
802349d042
Version 0.10.19: Critical bug fix of Session::needToResumeAndSend().
2016-10-24 23:37:43 +03:00
John Preston
c8a379e85e
Fix crash: transfer QMenu ownership to PopupMenu. Not tested.
2016-10-24 18:38:57 +03:00
John Preston
1cfe9d0ff5
Version 0.10.18: a couple of crash fixes.
2016-10-24 18:36:17 +03:00
John Preston
53e48beb03
Merge branch 'dev'
2016-10-24 16:44:48 +03:00
John Preston
d2e27726ca
Version 0.10.18: new cute design for adding members to your groups.
2016-10-24 16:31:36 +03:00
John Preston
a774e9b712
Closed beta 0.10.17.2: macOS animation improvements, multiselect design.
2016-10-24 00:25:29 +03:00
John Preston
6d9173bca8
Version 0.10.17 alpha: new cute control for adding members to groups.
2016-10-22 23:29:25 +03:00
John Preston
c1d862d8de
Some icons moved from sprite to separate files.
2016-10-22 21:58:36 +03:00
John Preston
e1478359e6
Fixed build in Xcode.
2016-10-22 20:05:19 +03:00
John Preston
8bc4e3816b
ShareBox and CountrySelect use Ui::MultiSelect as a search field.
2016-10-22 18:59:36 +03:00
John Preston
48332c0c6b
Ui::MultiSelect control ready.
2016-10-22 18:59:36 +03:00
John Preston
3455344c62
Ui::MultiSelect control started: now it's just search field + cancel.
2016-10-22 18:59:34 +03:00
John Preston
e5a5273b3a
Scrollable boxes reorganized: _scroll always owns _inner.
...
Also some boxes moved to separate modules: MembersBox, StickersBox.
2016-10-22 18:59:33 +03:00
John Preston
2bd561821a
Using cute userpic checkbox Ui::RoundImageCheckbox in ContactsBox.
2016-10-22 18:59:32 +03:00
John Preston
763b347a8f
Moved a cute userpic checkbox from ShareBox to a separate class.
2016-10-22 18:59:32 +03:00
John Preston
c514c62d61
Attempt to fix a crash in getUserFull() without a loaded peer.
2016-10-22 18:58:14 +03:00
John Preston
130c41d711
Take control over macOS media keys only when using music player. #2549
2016-10-22 17:35:37 +03:00
John Preston
77df38b4fd
Fixed html encoding in native linux notifications. #2532
...
Also use case-insensitive filters in GTK file chooser.
2016-10-22 16:57:13 +03:00
John Preston
c773bffec6
Applying the ReplyMarkup returned in updateNewMessage. #2543
...
Also InputField now can be forced to hide placeholder.
2016-10-20 18:29:18 +03:00
John Preston
20d04a065e
Fixed Windows tray icon (Qt 5.6.2 broke it).
2016-10-20 17:46:16 +03:00
John Preston
951d93832c
Fix wrong clearing of a bot start token when returning to chat. #2417
2016-10-20 12:46:16 +03:00
John Preston
143cfe0d0f
Disabled SPMediaKeyTap in MacAppStore build: it crashes.
2016-10-20 01:02:21 +03:00
John Preston
3b843f3d0f
Removing Info.plist file before build to force it regeneration.
2016-10-19 21:56:56 +03:00
John Preston
5ad2fc12d9
Version 0.10.16 stable: langs updated.
2016-10-19 21:54:11 +03:00
John Preston
9752224449
Version 0.10.16 stable: new media player + notifications update.
2016-10-19 21:47:45 +03:00
John Preston
f1307f70ce
Fixed history scroll state clearing in case bot info was shown.
2016-10-19 17:33:28 +03:00
John Preston
2ffc0196dd
Fix reply from notifications (Qt 5.6.2 broke it).
...
Now the mouse press on Qt::BypassWindowManagerHint window
doesn't activate it. So if you want a working input field
in a Qt::BypassWindowManagerHint window, you should
activate it yourself from any mouse press event.
2016-10-19 16:46:45 +03:00
John Preston
3503be03c9
Fix tray icon menu display in Fedora (Qt 5.6.2 broke it).
...
When activeChanged() is emitted we call updateTrayMenu(), that
always called trayIcon->setContextMenu(), which was hiding the
just-shown tray icon menu in case of right click with main
window being active. Now we call trayIcon->setContextMenu()
only if the contextMenu value has really changed for trayIcon.
2016-10-19 15:24:39 +03:00
John Preston
40fc7379bc
Fixed several bugs appearing on logout-login in player and messages.
2016-10-19 11:59:19 +03:00
John Preston
48a20f0e71
Version 0.10.15 alpha: crash fix in new player, close button added.
...
Also some grammar improvements and pinned message bar hiding fixed.
2016-10-18 18:19:13 +03:00
John Preston
b33b59b8b9
Version 0.10.14 alpha: fixed retina icon userpics, langs updated.
2016-10-18 15:00:25 +03:00
John Preston
2f4b2d0a33
Version 0.10.14 alpha: userpic images are now generated as icons.
...
Also fixed Windows build by adding breakpad include path back to gyp.
2016-10-18 14:48:03 +03:00
John Preston
ba4dcc42dc
Version 0.10.14 alpha: using $XDG_DATA_HOME in Linux.
...
If there is no app data in ~/.TelegramDesktop (like in
fresh installs) we use $XDG_DATA_HOME/TelegramDesktop.
2016-10-18 13:32:33 +03:00
John Preston
fc7c5d0ab3
Fixed travis build for TDESKTOP_DISABLE_AUTOUPDATE case.
2016-10-18 10:56:38 +03:00
John Preston
7345408568
Merge branch 'master' into dev
2016-10-18 00:27:16 +03:00
John Preston
e536d5ad59
Linux build with Qt 5.6.2 done.
2016-10-17 23:55:31 +03:00
John Preston
eb6b2c7d2e
Merge branch 'master' into dev
...
Conflicts:
Telegram/gyp/qt.gypi
2016-10-17 23:00:34 +03:00
John Preston
48fde28484
Moving to Qt 5.6.2, Xcode build tested.
2016-10-17 22:24:03 +03:00
John Preston
fd6a312abc
SPMediaKeyTap solution for macOS media keys added.
2016-10-17 17:57:14 +03:00
John Preston
eb939fa4b0
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-10-17 13:56:29 +03:00
John Preston
0902741b85
Respecting Quite Hours in Windows.
...
Also closing current chat on window close or passcode lock.
2016-10-17 13:55:17 +03:00
John Preston
cf247384d3
Added an external virtual method / multimethod implementation.
2016-10-17 11:46:43 +03:00
John Preston
fa0e255183
Fixed tooltip display when hiding media player panel.
2016-10-14 21:44:15 +03:00
John Preston
5d6dafeeda
New media player build fixed for Xcode.
2016-10-14 21:27:42 +03:00
John Preston
31a847fb9d
Playlist appearance added to the new media player.
...
Also itemRemoved() now is fired as a global observable.
2016-10-14 20:10:15 +03:00
John Preston
4f0cff5467
Playlist added in the new media player panel.
2016-10-13 18:04:40 +03:00
John Preston
d543073632
Display download progress in the media player playback widget.
2016-10-13 12:12:12 +03:00
John Preston
956d048d56
Changing volume in media player by mouse wheel events.
2016-10-13 11:36:02 +03:00
John Preston
9eb8a93719
Media::Player::Widget added instead of PlayerWidget.
...
New media player bar widget added. Switching between floating
media player panel and media player widget. New volume controller.
2016-10-12 22:36:48 +03:00
John Preston
d919f3e705
Fixed error display in qrc dependencies update.
2016-10-11 19:56:58 +03:00
John Preston
8f135d7e00
Cancel state added for PlayButtonLayout in the new media player.
2016-10-09 20:08:16 +03:00
John Preston
1a67b31ee9
Travis build fixed.
...
Caching libxkbcommon, Qt, breakpad, GYP, libva, ffmpeg, openal-soft.
2016-10-09 10:43:56 +03:00
John Preston
2d9ccbc428
Fixed PhotoCropBox for Retina displays.
2016-10-09 01:06:21 +03:00
John Preston
3c8fb5f1f6
Media player vector button added to new audio player cover.
2016-10-08 21:28:43 +03:00
John Preston
e616c39608
Merge branch 'dev' into player
...
Conflicts:
Telegram/SourceFiles/application.cpp
Telegram/SourceFiles/core/utils.h
Telegram/SourceFiles/localstorage.cpp
Telegram/SourceFiles/pspecific_mac_p.mm
2016-10-08 12:10:33 +03:00
John Preston
377d333f1c
Using same notification options for all notification managers.
2016-10-08 11:38:53 +03:00
John Preston
6798b86655
Version 0.10.13.alpha: removed Reply button for hidden text notifies.
2016-10-07 20:02:13 +03:00
John Preston
b298c72b52
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-10-07 19:47:16 +03: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
4a9821117b
Version 0.10.12.alpha: no new settings link for macOS 10.8+ version.
2016-10-07 17:28:37 +03:00
John Preston
3c84899edf
Version 0.10.12.alpha: returned native macOS notifications for 10.8+
2016-10-07 16:37:31 +03:00
John Preston
4369c23314
Version 0.10.12.alpha: major notifications update.
2016-10-07 16:24:19 +03:00
John Preston
15ee4b40dc
Retina handling fixed in the new notifications.
2016-10-07 16:14:02 +03:00
John Preston
eb47b9468c
Various fixes.
...
Copy inline keyboard when forwarding messages with a game.
Don't show "Deleted Message" in service message with scores.
Improved tiny web page previews. Ignore right button in emoji panel.
2016-10-07 10:58:34 +03:00
John Preston
16ce28f4d2
Notifications settings done: screen corner selection + max count.
2016-10-06 19:41:09 +03:00
John Preston
e7b6d7b498
Advanced notifications settings box layout done.
2016-10-05 21:37:48 +03:00
John Preston
41dc0f4e98
Hide all button added to default notifications.
2016-10-05 19:56:27 +03:00
John Preston
043cba0a64
Custom notifications inline reply added, positioning broken.
2016-10-04 21:18:08 +03:00
John Preston
c8aa7672e9
Notifications by libnotify support improved.
2016-10-04 16:36:50 +03:00
John Preston
a9929a5d51
Merge branch 'master' into notifications
2016-10-04 12:19:00 +03:00
John Preston
79a90956f7
Merge branch 'games_branch'
2016-10-03 18:46:01 +03:00
John Preston
9fdd75113f
Bump version to 0.10.11.
2016-10-03 18:45:52 +03:00
John Preston
b600050057
Version 0.10.11: two more crash fixes.
2016-10-03 18:09:01 +03:00
John Preston
c9288f2d0a
Native notifications switched off by default. Libnotify supported.
2016-10-03 18:07:50 +03:00
John Preston
f710fe2dd3
0.10.10: Crashfix: Removed infinite recursion in Ui::FadeAnimation().
2016-10-03 13:30:14 +03:00
John Preston
aa17702c01
0.10.10: Crashfix: Removed infinite recursion in Ui::FadeAnimation().
2016-10-03 13:09:49 +03:00
John Preston
6db52f7fa9
LibNotify Linux notifications support added, testing.
2016-10-03 11:56:03 +03:00
John Preston
1cc1aab823
Version 0.10.9: don't handle cStartUrl() while passcoded.
2016-10-03 11:25:11 +03:00
John Preston
1a645a8496
Merge branch 'master' of https://bitbucket.org/johnprestonmail/telegram-desktop
2016-10-03 11:22:43 +03:00
John Preston
e1a8c89ff1
Version 0.10.9: don't handle cStartUrl() while passcoded.
2016-10-03 11:20:02 +03:00
John Preston
2d1d62a953
Code for replying from notifications, macOS uses notificationActivated().
2016-10-02 20:06:34 +03:00
John Preston
7f950d2de2
Unified code for notification activation events in Windows version.
2016-10-02 19:32:46 +03:00
John Preston
c2aa8d3c77
NB Broken! Build in Xcode fixed, macOS notifications done by Manager.
2016-10-02 18:44:54 +03:00
John Preston
0bf55835f5
NB Broken! Notifications refactored to Manager, only Windows working.
2016-10-02 16:54:27 +03:00
John Preston
a41e0c4aa7
NB Broken! Started notification manager abstraction.
2016-10-02 12:30:28 +03:00
John Preston
1d6aba86ba
Removed channel name from first message. Fixed channel members count.
2016-10-02 10:16:33 +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
4a5f467560
Version 0.10.9: fixed interface scaling and Windows build.
2016-10-01 16:15:27 +03:00
John Preston
ef2faf676e
Version 0.10.9: langs updated, moved shadow icons to separate files.
2016-10-01 15:35:52 +03:00
John Preston
3d2f025e10
Version 0.10.9: games.
2016-09-30 21:18:00 +03:00
John Preston
acbaf83442
Disabling playback seeking in new media player when loading audio.
2016-09-30 21:10:54 +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
886327a1d0
Playing game state is set for 10 seconds instead of 30.
...
Also moved some icons from sprite to separate b&w files.
2016-09-30 19:40:00 +03:00
John Preston
2ebab6a13c
Beta 10008005: langs updated, new playing game status added.
2016-09-30 16:43:38 +03:00
John Preston
a18e3e5616
Game play send message action is supported.
2016-09-30 16:40:22 +03:00
John Preston
376941dd5e
Mixed channel access hash to the game score encrypted data.
...
Added new lang strings for playing game send actions (not done yet).
Also moved alot of icons from sprite to separate b&w files.
2016-09-30 15:52:03 +03:00
John Preston
828b42e4f1
Version 10008004: fixed Xcode build.
2016-09-29 22:48:34 +03:00
John Preston
a5eee9bd3e
Beta 10008004: games / webpages work fine if media autoload disabled.
...
Also moved alot of file icons from sprite to separate b&w files.
2016-09-29 22:42:14 +03:00
John Preston
fee1cec3d9
Merge branch 'game_media' into player
2016-09-29 20:01:56 +03:00
John Preston
1247bd19b6
No confirmations for verified game bots. Disabled Game media edition.
...
Also inline bot requests are sent after "@...bot" even without space.
2016-09-29 19:15:44 +03:00
John Preston
325e28f3a8
Fixed bad time displaying when seeking in the new media player.
2016-09-29 18:25:17 +03:00
John Preston
5d37517eac
Fixed build.
2016-09-29 17:04:43 +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
01a5aa30df
Beta 10008003: langs updated.
2016-09-29 15:59:30 +03:00
John Preston
6b8d3aa48c
Some layout fixes, std_::align() fixed to work in OS X 10.6-7 build.
2016-09-29 15:57:20 +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
73a8d27bfd
You scored phrase for game service messages. Game layout bug fix.
2016-09-29 12:10:32 +03:00
John Preston
139882113d
Closed beta 10008002: games support and some testing.
2016-09-29 00:33:51 +03:00
John Preston
5b7d936140
Some langs updated. Build fixed for Xcode.
2016-09-29 00:33:05 +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
78815800d0
Media::Clip::Reader owners use Media::Clip::ReaderPointer smartptr.
2016-09-28 23:28:53 +03:00
John Preston
344890c533
Game sharing and inline results supported. Qt patch updated.
...
Qt patch now disables QT_SCALE_FACTOR and other HighDpi
environment variables reading because tdesktop doesn't support them.
2016-09-28 19:23:25 +03:00
John Preston
5529e24000
Displaying of games finished.
2016-09-28 14:38:35 +03:00
John Preston
538ffb9727
Moved History[Media] classes to history_media_types module.
2016-09-28 13:15:03 +03:00
John Preston
d277b0d4bb
Some parts from history module moved to history_[item,media,message].
2016-09-27 17:20:49 +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
da49d8440a
Beta 10008001: moved all Notify::Observer-s to base::Subscriber-s.
2016-09-26 21:33:34 +03:00
John Preston
18f3e45657
NB Broken! New lambda approaches Xcode compilation fixed.
2016-09-26 21:17:36 +03:00
John Preston
c91bdf3fef
NB Broken! Moving from registerPeerObserver() to base::Subscriber.
2016-09-26 17:50:24 +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
866bc4ff8a
Rotation from metadata supported in FFmpeg video stream reader.
...
Also small glitch fix in settings rebuild after self() has changed.
2016-09-26 10:58:04 +03:00
John Preston
ff3e6c429d
Emoji display in Sticker preview fixed for Retina displays.
2016-09-25 22:52:11 +03:00
John Preston
52731a737a
Fixed Settings avatar display after restart-to-settings.
2016-09-25 22:30:47 +03:00
John Preston
3d8dadc2e7
Fixed reading issue in channels after getChannelDifference().
...
In App::history() readInboxBefore property was reset each time.
2016-09-25 22:04:02 +03:00
John Preston
042c9fc23d
Using plain mutex for Clip readers access serialize, not read-write.
...
This is an attempt to fix some strange crash reports in write-access
to a mutable QAtomicInt through a const_iterator in ReaderPointers.
2016-09-25 21:05:47 +03:00
John Preston
38114d3297
Merge branch 'master' into player
2016-09-23 22:22:40 +03:00
John Preston
947963d5d1
Version 0.10.8: editing of service message added.
2016-09-23 21:26:53 +03:00
John Preston
efbf67a8ff
Merge branch 'master' of https://bitbucket.org/johnprestonmail/telegram-desktop
2016-09-23 19:42:55 +03:00
John Preston
3e4088b413
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop
2016-09-23 19:42:03 +03:00
John Preston
0479b214da
Version 0.10.8: fixed Linux and old Xcode builds.
...
No conversion to bool in ?: operator with Flags::explicit operator bool().
Qt 5.3 QStringList::mid() returns QList<QString> with no join() method.
2016-09-23 19:40:25 +03:00
John Preston
3d9e0030c5
Version 0.10.8.
2016-09-23 19:20:04 +03:00
John Preston
780fe61ff2
Merge branch 'games' of https://bitbucket.org/johnprestonmail/telegram-desktop into games
2016-09-23 19:07:02 +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
47eead17b1
Version 0.10.7 Mac App Store build ready.
2016-09-20 18:14:00 +03:00
John Preston
5c20ae0411
Merge branch 'games' into player
2016-09-20 18:12:55 +03:00
John Preston
c563280b76
Merge branch 'master' into games
2016-09-20 18:12:49 +03:00
John Preston
c4a4e99f6b
Version 0.10.7: fixed entities moving when replacing emoji.
2016-09-20 17:02:50 +03:00
John Preston
75c12dda31
Version 0.10.7: fix of settings saving, fix of OpenSSL in Linux build.
2016-09-20 16:29:34 +03:00
John Preston
2ea4c87d78
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop
2016-09-20 16:24:51 +03:00
John Preston
1da2a7c10c
Fixed Linux build (double OpenSSL init with libgost). #2427
2016-09-20 16:21:57 +03:00
John Preston
f7999bc993
Languages updated. Build in Xcode fixed.
2016-09-20 16:03:42 +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
ce1973fd30
New media player layout started.
2016-09-17 22:28:33 +03:00
John Preston
50fa8b63c9
Software animated play/pause title button ready, icons for it removed.
2016-09-16 15:49:36 +03:00
John Preston
37b5329af3
Merge branch 'games' into player
2016-09-16 13:44:00 +03:00
John Preston
6d2fc5c642
Game bot confirmations added.
2016-09-15 22:15:49 +03:00
John Preston
578cf4ed61
Merge branch 'master' into games
2016-09-15 21:56:57 +03:00
John Preston
298bd2a476
New player icons and sources created.
2016-09-15 19:32:49 +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
708bf688ea
Xcode 8 supported. Fixed quit by Cmd+Q in case of macOS fullscreen window.
2016-09-15 13:50:43 +03:00
John Preston
96202f775c
Fixed settings reset in case of tiled background.
2016-09-15 13:26:31 +03:00
John Preston
26ca5fafbb
Scheme updated. Dialogs list layout bug fixed.
2016-09-15 12:44:02 +03:00
John Preston
a7b692e8ed
PR #1954 improvements.
...
Inverted the direction of move-by-wheel, so that scrolling down will
move you forward through the photos or documents overview.
Added an accumulation of the scroll amount so that you don't zoom or
skip photos each time a (possibly very frequent) wheel event fires.
2016-09-14 19:05:40 +03:00
John Preston
f83610778a
Merge branch 'wheel_mouse_zooming' of https://github.com/EXL/tdesktop into EXL-wheel_mouse_zooming
2016-09-14 18:34:27 +03:00
John Preston
8660ab555b
Stable 0.10.6 for Linux: dynamic xcb link, cmake dependencies fixed.
2016-09-13 17:07:30 +03:00
John Preston
ffe75444d1
Stable 0.10.6 (only for OS X): fixing Updater erasing.
2016-09-12 18:48:01 +03:00
John Preston
86982da5f7
Merge branch 'master' into games
...
Conflicts:
Telegram/Telegram.pro
2016-09-12 16:35:17 +03:00
John Preston
a62a47098e
Version 0.10.5: new settings. First stable version on GYP.
2016-09-12 15:02:52 +03:00
John Preston
1629793ace
Merge remote-tracking branch 'origin/dev'
2016-09-12 14:51:47 +03:00
John Preston
273637f9ac
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-09-12 14:51:24 +03:00
John Preston
e90468f67b
Languages updated.
2016-09-12 14:51:00 +03:00
John Preston
a41912cdf3
Moved all builds to GYP.
2016-09-12 14:45:41 +03:00
John Preston
07e2eb4c57
Deploy script for Linux ready for GYP build.
2016-09-12 13:17:20 +03:00
John Preston
f517494c91
Closed beta 0.10.4.1: testing linux GYP build.
2016-09-11 12:35:23 +03:00
John Preston
c7e8b153bb
Enabled sending stickers from the sticker set preview box.
2016-09-11 11:38:14 +03:00
John Preston
8419a56e10
Emoji display added to sticker preview. Reading featured sticker sets.
...
Reading featured sticker sets one by one while scrolling through them,
only when the row was fully visible and the image was already loaded.
2016-09-10 23:54:59 +03:00
John Preston
ff657347b8
Featured stickers section done in StickersPanel.
...
EmojiPan moved to a separate module stickers/emoji_pan.
FFmpeg linked by msvs linker flags in GYP to use ".a" extension.
2016-09-09 18:52:46 +03:00
John Preston
b5640fdb0a
GYP build for Linux done: GYP -> CMake -> make. Testing.
2016-09-09 09:15:11 +03:00
John Preston
58933df54b
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-09-07 14:14:45 +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
34331f558f
ShareBox: keyboard handle, animated scroll, chosen items jump to top.
2016-09-06 17:45:10 +03:00
John Preston
52a7ed77ba
First version of ShareBox done, cute animations.
...
Temporarily ShareBox is opened instead of ContactsBox, for testing.
2016-09-06 15:28:37 +03:00
John Preston
589b7310c1
Improved service messages about game scores: some links added.
2016-09-03 17:27:22 -04:00
John Preston
326d22565d
Merge branch 'dev' into games
2016-09-03 16:35:29 -04:00
John Preston
2f206bf6bc
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-09-03 12:45:08 -04:00
John Preston
d8444cb5d0
Build scripts made ready for OS X old version.
2016-09-03 12:44:45 -04:00
John Preston
ab18fc6478
0.10.4: Same chat msg links fixed. Crash fix attempt in ScrollArea.
...
If the message link is opened in the same chat the ShowWay::Forward
should be ignored.
There was a possible crash in ~ScrollArea() when one of the bars
was already destroyed and the second called ScrollArea::leaveEvent.
Now both bars are ChildWidget<>s and will be destroyed in ~QWidget().
2016-09-03 12:35:12 -04:00
John Preston
610d42fd8d
Merge branch 'dev' into games
2016-09-03 11:51:29 -04:00
John Preston
3d3fc33253
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-09-03 10:19:15 -04:00
John Preston
b772e42ca1
Fixed crash in RevokePublicLinkBox.
2016-09-03 10:18:46 -04:00
John Preston
9bd30ba09f
Alpha version 0.10.3: fixed the build for old OS X versions and Qt 5.3.2
2016-09-02 13:01:33 -04:00
John Preston
1a4986058d
Fixed warning for non-MAS Xcode version.
2016-09-02 12:57:44 -04:00
John Preston
73b81ac1f4
Alpha version 0.10.3: new settings design, first OS X version by GYP.
2016-09-02 12:28:18 -04:00
John Preston
160895f6e3
Support for game keyboard buttons and score service messages added.
2016-09-02 12:11:23 -04:00
John Preston
07dffb948d
Closed beta 10002002: testin OS X build by GYP.
2016-09-02 01:27:54 -04:00
John Preston
58f0dbe2a4
Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev
2016-09-02 00:10:58 -04:00
John Preston
167adc652b
Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev
2016-09-02 00:04:04 -04:00
John Preston
659551e439
Fixed sprite generation for 125% and 150% interface scales.
2016-09-02 00:03:36 -04:00
John Preston
263448bfb2
Fixed back button when opening channels. Fixed profile buttons layout.
2016-09-01 21:38:06 -04:00
John Preston
d864a8d8eb
Fixed crash in Observers (removing an observer inside notify call).
2016-09-01 21:12:04 -04:00
John Preston
be02ef563c
Fixed crash in tray icon toggle in new Settings in macOS / Linux.
2016-08-31 16:06:52 -04:00
John Preston
c5f4655b9e
Merge branch 'gyp_xcode' into dev
2016-08-31 16:06:12 -04: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
dfcebcf9e2
Version for Mac App Store build from GYP ready, not tested yet.
...
Still need to merge code changes from macstore branch.
2016-08-31 08:32:05 -06:00
John Preston
50616cc267
Version for OS X 10.6-10.7 build from GYP is ready, not tested yet.
2016-08-29 23:24:16 -06:00
John Preston
b821978a36
Added Xcode projects to .gitignore, added some Xcode settings to GYP.
2016-08-29 21:36:25 -06:00
John Preston
d703746875
Telegram for macOS build from GYP ready, Xcode projects removed.
2016-08-29 20:27:02 -06:00
John Preston
03b37b85e5
Added one forgotten header file to the Xcode project.
2016-08-28 20:01:10 -06:00
John Preston
f8e1063541
New settings build ready in QtCreator. Closed beta 10002001.
2016-08-28 19:55:15 -05:00
John Preston
605a45c8ba
New settings build ready in Xcode.
2016-08-28 14:23:32 -06:00
John Preston
2aab8bbae8
Removed old SettingsWidget from code, deleted old settings module.
2016-08-28 13:51:02 -06:00
John Preston
f50cd2892a
First attempt to build OS X version using GYP/Ninja.
...
Utils and codegen builds are ready, bundle is not prepared yet.
2016-08-28 13:36:51 -06:00
John Preston
b520cf0f78
First version of the new Settings page is finished.
...
Added LocalStorageBox for watching info and clearing local storage.
Local passcode and cloud password state display and editing done.
Temporary download location clearing link added.
Crash fixed in local storage clear + app close, now waiting for the
clearing thread to quit. Some design improvements and testing.
2016-08-28 13:16:23 -06:00
John Preston
afab21372b
Auto update and codes ("loadlang" etc) supported in the new Settings.
2016-08-27 11:52:05 -06: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
993b91ac15
Most of the new Settings sections filled with widgets.
...
Some animations added: new scale slider, widget_slide_wrap<TWidget>.
Any TWidget now can resizeToWidth() with overriden resizeGetHeight().
2016-08-22 19:31:42 +02:00
John Preston
b9e22f59a1
New settings section widgets added. Settings cover section is ready.
2016-08-19 19:26:31 +02:00
John Preston
ea955635ac
New way for subscribe/notify async about any events.
...
Two classes base::Observable<Event> and base::Subscriber were added.
base::Observable<Event> can notify about Event-s, while any
base::Subscriber can subscribe and then async receive them.
2016-08-18 21:27:43 +02:00
John Preston
90678d411f
Started a special LayerWidget: Settings::Widget.
...
Also added some missing calls to parent event handlers in boxes.
2016-08-18 12:52:36 +03:00
EXL
43a40c3b9a
Add zooming in media viewer on Ctrl + mouse wheel
...
Mouse wheel without Ctrl key is used for switch to the prev/next image;
Clicking on mouse wheel is used to reset zoom;
To switch images are taken only a physical mouse wheel events.
Signed-off-by: Serg Koles <exlmotodev@gmail.com> (github: EXL)
2016-08-18 11:36:36 +03:00
John Preston
4a6e669a53
Merge branch 'dev' into settings
...
Conflicts:
Telegram/SourceFiles/boxes/addcontactbox.h
Telegram/SourceFiles/boxes/confirmbox.h
2016-08-16 20:19:57 +03:00
John Preston
362b942a22
Merge branch 'same_peer_flag' into dev + fix style codegen rule desc.
...
Conflicts:
Telegram/Telegram.vcxproj
Telegram/Telegram.vcxproj.filters
2016-08-16 20:12:55 +03:00
John Preston
392984f276
New way of working with boxes (layers).
...
Now the background of boxes is separated to another widget.
This will allow to use a special layer widget (like settings)
together with the usual layers-boxes upon it, moving the special
widget behind the dark background when a usual layer-box is shown.
2016-08-16 19:53:10 +03:00
John Preston
05697374c5
Crash fix for inline results clearing. Crash fix for GIF starting.
2016-08-15 10:39:12 +03:00