nextcloud-desktop/src/gui
Christian Kamm 2e11f14a6b
SocketApi: Fix crash with readyRead() after disconnected() #7044
With the recent bugfix to avoid sending messages on dead connections
0bfe7ac250c54f5415c0a794c7b271428e83c3cf
the client now crashed if readyRead() was received after disconnected()
for the socket as the listener for that connection was already removed.

This code fixes it by still invoking the handler from readyRead() but
passing a SocketListener that won't attempt to send messages.
2020-12-15 10:58:42 +01:00
..
cloudproviders Fix warnings about signedness 2020-12-15 10:58:41 +01:00
creds HttpCredentials: Do not re-enter the event loop 2020-12-15 10:58:31 +01:00
tray Ensure a sync happens after a conflict resolution 2020-12-15 09:40:57 +00:00
updater Please the clang-tidy overlord 2020-11-24 18:22:33 +00:00
wizard Wizard: Avoid cert dialog multiple connection 2020-12-15 10:58:42 +01:00
accountmanager.cpp OAuth2: Store 'Account::davUser' in the config, and use that user for connecting 2020-12-15 10:58:11 +01:00
accountmanager.h Settings migration: Preserve future settings where possible 2020-12-15 10:57:54 +01:00
accountsettings.cpp Ensure local discovery on selective sync changes 2020-12-15 10:58:41 +01:00
accountsettings.h vfs: Add vfs migration options to folder context menu 2020-12-15 10:58:33 +01:00
accountsettings.ui Handle the warning message when unchecking folders for syncing. 2020-12-14 12:36:51 +01:00
accountstate.cpp Fetch apps when we get connected only 2020-11-05 13:37:25 +01:00
accountstate.h Enable the modernize-user-nullptr check on clang-tidy 2020-08-12 19:45:25 +02:00
addcertificatedialog.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
addcertificatedialog.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
addcertificatedialog.ui l10n: Removed blank before colon 2020-02-24 11:10:05 +01:00
application.cpp Allow to open log window via command line to already running client 2020-12-15 10:58:27 +01:00
application.h Settings migration: Preserve future settings where possible 2020-12-15 10:57:54 +01:00
authenticationdialog.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
authenticationdialog.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
CMakeLists.txt Install libocsync to lib/ without subfolder. 2020-12-15 10:57:56 +01:00
cocoainitializer.h Apply clang-format 2017-05-17 12:26:27 +02:00
cocoainitializer_mac.mm License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
conflictdialog.cpp Remove last left over of the "remote" wording 2020-10-26 14:45:46 +00:00
conflictdialog.h Add a conflict dialog to help the user solve them 2020-10-22 16:40:46 +02:00
conflictdialog.ui Add a conflict dialog to help the user solve them 2020-10-22 16:40:46 +02:00
conflictsolver.cpp Add KeepBothVersions as a possible solution to ConflictSolver 2020-10-22 16:40:46 +02:00
conflictsolver.h Add KeepBothVersions as a possible solution to ConflictSolver 2020-10-22 16:40:46 +02:00
connectionvalidator.cpp Fix libsync exports for proxy changes in #1886 2020-06-18 21:05:11 +02:00
connectionvalidator.h Add UserInfo class and fetch quota via API instead of PropfindJob 2020-02-14 02:10:01 +01:00
elidedlabel.cpp Remove redundant initialization of ElidedLabel::_elideMode 2020-07-08 14:08:41 +02:00
elidedlabel.h Use default member init when applicable 2020-06-03 16:10:39 +02:00
folder.cpp Ensure local discovery on selective sync changes 2020-12-15 10:58:41 +01:00
folder.h Ensure local discovery on selective sync changes 2020-12-15 10:58:41 +01:00
folderman.cpp Folder wizard: Fix infinite loop for bad paths #7041 2020-12-15 10:58:42 +01:00
folderman.h vfs: Be more careful about Vfs instance ownership 2020-12-15 10:58:25 +01:00
folderstatusdelegate.cpp Account Settings: fix progress being written in white when there are errors 2020-12-15 10:58:12 +01:00
folderstatusdelegate.h Account Settings: Add a text for folder using vierual files 2020-12-15 10:58:04 +01:00
folderstatusmodel.cpp Ensure local discovery on selective sync changes 2020-12-15 10:58:41 +01:00
folderstatusmodel.h Remove unused method 2020-08-13 12:55:14 +00:00
folderstatusview.cpp Use the return braced init list pattern 2020-05-27 14:36:07 +02:00
folderstatusview.h Make the "Add Folder Sync Connection" button act like a button 2018-10-31 20:05:14 +01:00
folderwatcher.cpp FolderWatcher: Disable test on OSX #7305 2020-11-24 16:56:49 +00:00
folderwatcher.h FolderWatcher: Usage of QTime for elapsed time is deprecated 2020-11-24 16:56:49 +00:00
folderwatcher_linux.cpp FolderWatcher: Become unreliable if test notification fails #7241 2020-11-24 16:56:49 +00:00
folderwatcher_linux.h FolderWatcher: Wait for ready before testing #7305 2020-11-24 16:56:49 +00:00
folderwatcher_mac.cpp Also output the event flags in the debug logs 2020-10-26 12:37:00 +00:00
folderwatcher_mac.h FolderWatcher: Wait for ready before testing #7305 2020-11-24 16:56:49 +00:00
folderwatcher_win.cpp Pin state updates 2020-12-15 10:58:38 +01:00
folderwatcher_win.h FolderWatcher: Wait for ready before testing #7305 2020-11-24 16:56:49 +00:00
folderwizard.cpp Folder: Add remoteFolderTrailingSlash() 2020-12-15 10:58:39 +01:00
folderwizard.h Rename Placeholders to Virtual Files in code #6531 2020-12-15 10:57:53 +01:00
folderwizardsourcepage.ui l10n: Triple dot to ellipsis 2020-02-05 06:50:27 +01:00
folderwizardtargetpage.ui l10n: Change case of one word 2020-02-24 11:08:56 +01:00
generalsettings.cpp Disable autostartCheckBox if autostart is configured system wide 2020-12-15 10:58:14 +01:00
generalsettings.h Settings: Add update channel combobox #6259 2020-11-24 18:22:33 +00:00
generalsettings.ui Settings: Add update channel combobox #6259 2020-11-24 18:22:33 +00:00
gui.md Structure developer documentation 2015-06-29 18:43:21 +02:00
guiutility.cpp Prepend "nextcloud" for all logging categories 2017-12-28 17:33:10 -02:00
guiutility.h Introduce private link sharing #5023 2017-07-07 10:49:51 +02:00
headerbanner.cpp Update comments 2020-10-15 02:18:52 +02:00
headerbanner.h Update comments 2020-10-15 02:18:52 +02:00
iconjob.cpp Free IconJob after use 2020-09-28 12:30:53 +02:00
iconjob.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
ignorelisteditor.cpp Never ignore .sync-exclude, even if excludeHidden 2019-08-15 03:00:26 +01:00
ignorelisteditor.h Extract IgnoreListTableWidget to be reused 2019-08-15 03:00:26 +01:00
ignorelisteditor.ui IgnoreListEditor: increase a bit the size 2020-12-15 10:58:21 +01:00
ignorelisttablewidget.cpp Do not declare local variables without an initial value. 2020-06-03 07:50:40 +00:00
ignorelisttablewidget.h Extract IgnoreListTableWidget to be reused 2019-08-15 03:00:26 +01:00
ignorelisttablewidget.ui Fixed some missing 'translatable' exclusions, added missing window titles in flow dialogs 2019-09-25 14:02:59 +02:00
legalnotice.cpp Settings dialog: Move detailed version info from About section to Legal notice dialog 2020-03-07 06:45:41 +01:00
legalnotice.h Settings dialog: Move detailed version info from About section to Legal notice dialog 2020-03-07 06:45:41 +01:00
legalnotice.ui Fix Legal notice dialog: Correct title and header font 2020-03-09 00:41:59 +01:00
lockwatcher.cpp Test: Add test for locked file tracking and propagation 2020-12-15 10:58:17 +01:00
lockwatcher.h LockWatcher: Add chrono header 2020-12-15 10:58:20 +01:00
logbrowser.cpp Enable the modernize-deprecated-headers check on clang-tidy 2020-08-13 14:53:52 +02:00
logbrowser.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
main.cpp Gui: do not show the settings when opening a virtual file 2020-12-15 10:58:31 +01:00
manifest-mingw.rc Add manifest file on Windows to make the application UAC aware. 2016-11-14 12:16:58 +01:00
mnemonicdialog.ui Fixed some missing 'translatable' exclusions, added missing window titles in flow dialogs 2019-09-25 14:02:59 +02:00
navigationpanehelper.cpp Misc fixes for Windows 7 2020-10-28 06:24:53 +00:00
navigationpanehelper.h Windows: Add a setting to enable/disable the explorer navigation pane integration 2017-10-24 16:10:53 +02:00
networksettings.cpp Use the return braced init list pattern 2020-05-27 14:36:07 +02:00
networksettings.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
networksettings.ui l10n: Removed colon from translation 2020-02-24 11:13:34 +01:00
notificationconfirmjob.cpp Removes unused NotificationWidget class. 2018-08-13 15:17:40 +02:00
notificationconfirmjob.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
ocsjob.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
ocsjob.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
ocsnavigationappsjob.cpp Adds function to add raw header to the request. 2018-05-07 18:03:42 +02:00
ocsnavigationappsjob.h Adds function to add raw header to the request. 2018-05-07 18:03:42 +02:00
ocsshareejob.cpp Fixed slow sharee search in the share dialog 2020-12-08 13:48:43 +00:00
ocsshareejob.h Fixed slow sharee search in the share dialog 2020-12-08 13:48:43 +00:00
ocssharejob.cpp Enable all the misc clang-tidy check except one 2020-08-31 09:14:09 +02:00
ocssharejob.h Finishing PR #1154 adding note when sharing 2019-09-18 13:37:49 +02:00
openfilemanager.cpp Use raw string literals when appropriate 2020-05-26 20:13:51 +02:00
openfilemanager.h License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
owncloud.exe.manifest-mingw Add manifest file on Windows to make the application UAC aware. 2016-11-14 12:16:58 +01:00
owncloud.xml.in Virtual Files Mime Type: use "vnd." prefix instead of "x-" 2020-12-15 10:58:03 +01:00
owncloudgui.cpp Fix warnings about signedness 2020-12-15 10:58:41 +01:00
owncloudgui.h Move pause/unpause helpers to Systray 2020-11-10 17:29:51 +00:00
owncloudsetupwizard.cpp Wizard: Ensure client cert doesn't get lost #6911 2020-12-15 10:58:32 +01:00
owncloudsetupwizard.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
proxyauthdialog.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
proxyauthdialog.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
proxyauthdialog.ui Fixed some missing 'translatable' exclusions, added missing window titles in flow dialogs 2019-09-25 14:02:59 +02:00
proxyauthhandler.cpp Get rid of FindQt5Keychain.cmake 2020-11-02 13:19:48 +01:00
proxyauthhandler.h ProxyAuthHandler: Add template member function execAwait to avoid code duplication 2020-07-06 21:51:40 +02:00
remotewipe.cpp Enable all the misc clang-tidy check except one 2020-08-31 09:14:09 +02:00
remotewipe.h Once client gets 401/403 from the server, check if remote wipe was requested. 2019-10-17 20:11:31 +02:00
selectivesyncdialog.cpp Ensure local discovery on selective sync changes 2020-12-15 10:58:41 +01:00
selectivesyncdialog.h Don't use nullptr for QFlags 2020-10-12 11:52:53 +00:00
settingsdialog.cpp Add Ctrl-L as log window shortcut 2020-12-15 10:58:17 +01:00
settingsdialog.h Gigantic ton of changes and deletions: ActivityListModel, tray GUI, Account logic. 2020-01-03 13:09:29 +01:00
settingsdialog.ui Gigantic ton of changes and deletions: ActivityListModel, tray GUI, Account logic. 2020-01-03 13:09:29 +01:00
settingsdialogcommon.cpp Fix typo 2019-10-01 08:25:24 +02:00
sharedialog.cpp Share dialog: use the original name and not the virtual file name 2020-12-15 10:57:54 +01:00
sharedialog.h ShareDialog: Pointer cosmetics 2020-05-29 20:57:52 +02:00
sharedialog.ui resolving conflict with current master 2019-10-29 14:07:26 +01:00
sharee.cpp Sharing: add the shareWithAdditionalInfo string in autocompletion results 2020-12-15 10:58:15 +01:00
sharee.h Fixed slow sharee search in the share dialog 2020-12-08 13:48:43 +00:00
sharelinkwidget.cpp Stop the animation if we got an error message 2020-10-19 14:33:19 +00:00
sharelinkwidget.h Code cleanup 2020-02-14 03:00:20 +01:00
sharelinkwidget.ui Cleanup/Removal/Adaption/Update to resource files and crresponding code, esp. regarding svg usage 2020-01-18 17:47:17 +01:00
sharemanager.cpp Ensure local discovery on selective sync changes 2020-12-15 10:58:41 +01:00
sharemanager.h Added sharing via email. 2020-12-08 11:08:45 +02:00
sharepermissions.h Display the correct default permissions when creating a share. 2020-07-08 18:15:36 +02:00
shareusergroupwidget.cpp Fixed slow sharee search in the share dialog 2020-12-08 13:48:43 +00:00
shareusergroupwidget.h Fixed slow sharee search in the share dialog 2020-12-08 13:48:43 +00:00
shareusergroupwidget.ui Merge branch 'master' into resource-cleanup 2020-03-01 05:34:12 +01:00
shareuserline.ui Merge branch 'master' into resource-cleanup 2020-03-01 05:34:12 +01:00
socketapi.cpp SocketApi: Fix crash with readyRead() after disconnected() #7044 2020-12-15 10:58:42 +01:00
socketapi.h Move SyncFileStatus to libcommon 2020-12-15 10:58:37 +01:00
socketapisocket_mac.h shell_i: Use an NSConnection instead of a local socket #2340 2015-06-15 15:28:17 +02:00
socketapisocket_mac.mm SocketAPI OSX: Forbid further sends on connectionDidDie 2020-12-15 10:58:36 +01:00
sslbutton.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
sslbutton.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
sslerrordialog.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
sslerrordialog.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
sslerrordialog.ui Marking unused strings as unstranslatable 2019-05-14 20:07:08 +02:00
synclogdialog.cpp Use = default for trivial ctors and dtors 2020-05-25 21:33:24 +02:00
synclogdialog.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
synclogdialog.ui Settings: Move synclog widget to a seperate dialog. 2015-10-01 16:57:37 +02:00
syncrunfilelog.cpp SyncRunFileLog: Add the requestid 2020-12-15 10:57:53 +01:00
syncrunfilelog.h changed paths of logfiles 2018-04-17 15:54:05 +02:00
systray.cpp Have the new account wizard open again 2020-12-14 15:58:52 +01:00
systray.h Fix macOS bug where tray window causes spaces to switch 2020-12-02 06:54:16 +00:00
systray.mm Fix macOS bug where tray window causes spaces to switch 2020-12-02 06:54:16 +00:00
thumbnailjob.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
thumbnailjob.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
tooltipupdater.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
tooltipupdater.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
userinfo.cpp Update comments 2020-10-15 02:18:52 +02:00
userinfo.h Update comments 2020-10-15 02:18:52 +02:00
version.rc.in Use correct values for items in version.rc 2016-02-17 14:16:29 +01:00