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