kepka/Telegram/SourceFiles
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
..
_other Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
boxes Finalizing file renaming. 2017-03-04 13:23:56 +03:00
codegen Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
core Finalizing file renaming. 2017-03-04 13:23:56 +03:00
data Finalizing file renaming. 2017-03-04 13:23:56 +03:00
dialogs Finalizing file renaming. 2017-03-04 13:23:56 +03:00
history Finalizing file renaming. 2017-03-04 13:23:56 +03:00
inline_bots Finalizing file renaming. 2017-03-04 13:23:56 +03:00
intro Finalizing file renaming. 2017-03-04 13:23:56 +03:00
media Removed obsolete storage_file_type fields. 2017-03-04 14:28:21 +03:00
mtproto Finalizing file renaming. 2017-03-04 13:23:56 +03:00
overview Finalizing file renaming. 2017-03-04 13:23:56 +03:00
platform Fixed freezes in macOS clipboard requests. 2017-03-05 23:18:27 +03:00
profile Finalizing file renaming. 2017-03-04 13:23:56 +03:00
settings Finalizing file renaming. 2017-03-04 13:23:56 +03:00
stickers Finalizing file renaming. 2017-03-04 13:23:56 +03:00
storage Removed obsolete storage_file_type fields. 2017-03-04 14:28:21 +03:00
ui Removed obsolete storage_file_type fields. 2017-03-04 14:28:21 +03:00
window Finalizing file renaming. 2017-03-04 13:23:56 +03:00
apiwrap.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
apiwrap.h Made base::lambda a copyable value type. 2017-02-26 21:01:23 +03:00
app.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
app.h Moved AppClass to messenger.cpp:Messenger. 2017-02-25 19:48:20 +03:00
application.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
application.h Moved AppClass to messenger.cpp:Messenger. 2017-02-25 19:48:20 +03:00
auth_session.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
auth_session.h Moved MTP::authedId() to AuthSession::Current(). 2017-02-25 19:48:19 +03:00
autoupdater.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
autoupdater.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
config.h Encapsulated DcOptions to an independent class. 2017-02-25 19:48:19 +03:00
countries.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
dialogswidget.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
dialogswidget.h Made base::lambda a copyable value type. 2017-02-26 21:01:23 +03:00
facades.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
facades.h Removed legacy FileDialog::query* methods. 2017-02-28 19:04:52 +03:00
history.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
history.h Using standard library instead of std_ namespace. 2017-02-21 16:45:56 +03:00
historywidget.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
historywidget.h Finalizing file renaming. 2017-03-04 13:23:56 +03:00
lang.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
lang.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
langloaderplain.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
langloaderplain.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
layerwidget.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
layerwidget.h Made base::lambda a copyable value type. 2017-02-26 21:01:23 +03:00
layout.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
layout.h Version 1.0.5: new audio code + reorder pinned chats. 2017-01-31 12:13:51 +03:00
logs.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
logs.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
main.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
mainwidget.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
mainwidget.h Finalizing file renaming. 2017-03-04 13:23:56 +03:00
mainwindow.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
mainwindow.h Finalizing file renaming. 2017-03-04 13:23:56 +03:00
mediaview.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
mediaview.h Using standard library instead of std_ namespace. 2017-02-21 16:45:56 +03:00
messenger.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
messenger.h Removed legacy FileDialog::query* methods. 2017-02-28 19:04:52 +03:00
observer_peer.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
observer_peer.h Using standard library instead of std_ namespace. 2017-02-21 16:45:56 +03:00
overviewwidget.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
overviewwidget.h Replace T_WIDGET macro with a template base class. 2017-02-11 14:24:37 +03:00
passcodewidget.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
passcodewidget.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
qt_static_plugins.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
settings.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
settings.h Moved AppClass to messenger.cpp:Messenger. 2017-02-25 19:48:20 +03:00
shortcuts.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
shortcuts.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
stdafx.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
stdafx.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
structs.cpp Removed obsolete storage_file_type fields. 2017-03-04 14:28:21 +03:00
structs.h Ability to delete authorization keys added. 2017-02-25 19:48:22 +03:00