You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* new point
* switch shared pointer to qpointer in connection validater and added nullptr checks
* removed accessor for nam on abstract core job
refactored CheckServerJobFactory to take a raw account pointer. Also removed the parent arg to the factory as it's fairly useless
adjusted the parenting of the one-off nam created in the factory to be sure it is parented by the job, so it is cleaned up along with the job.
minimal update to oauth to deal with the new factory interface
* lots of small cleanups/updates/removing accessors that have no business existing.
* removed the oc10 related folderwizardremotepath and updated deps
also cleaned up some additional accessors in the abstract network job
* updated AccountBasedOAuth and request auth impls to use *account
* comments and fixed typo
* removed dep on account from activity data and updated uses
* small cleanups, removed some accessors, including those to get the account, and got rid of account member for DiscoverySingleDirectoryJob as it was never used
* changed folder wizard and related class dependencies from the account state to the spacesmanager as that was all that was needed
eliminated more accessors to get the account, replaced more accountptr with just account*.
identified cases where the account dep can be removed completely with correct refactoring to make jobs only run in controllers/managers (where it's reasonable).
removed no longer used deprecated function from SpacesManager
* fixed forward declaration
* fixed the long standing issue in folderstatusmodel with the convoluted setAccountStatus function. Now the account status handling is much safer and clearer.
* make gcc happy and added todo's to really fix this mess
* did an interim refactor of the account storage in socketapi. Instead of a qset of accountptr instances I changed it to a hash of uuid -> QPointer<account>
I think we can actually replace this with a qset of defaultSyncRoot since the roots are unique to the account, and that is all the class needs to function, but don't want to get too far off track with this pr so do that another time
* more random conversions from shared to raw or q pointer
* updated the syncEngine account pointer
* AbstractNetworkJob now uses QPointer for the account (as do all subclasses now)
* made account member in AbstractNetworkJob private to ensure it's not used directly by subclasses
updated fetchServerSettings and discovery classes
* updated propagator classes
* finished the bulk of the updates. vfs is still to be updated so currently vfs tests don't pass - I am pushing this so I can pull the vfs changes
* merged the vfs changes in, updated the accountPtr to raw pointer in vfs - still need to turn it into a qpointer and check for nulls but it works now (local tests passed too) so should be no problem.
* removed accountfwd.h and all associated refs to AccountPtr - it's now gone.
also did some basic cleanup on some includes as well as updating to #pragma once where I ran into it
* missed a nullptr check that crashed on quit immediately after adding account
0 commit comments