Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-19Replaces obsolete QLinkedList with std::listOleksii Lysenko
2021-06-10Removed obsolete Q_FOREACH macroOleksii Lysenko
2020-02-10SyncEngine: no need to use QAtomicIntOlivier Goffart
This was done because the propagator jobs where running in a thread a long time ago, but this is no longer the case. (Also QAtomicInt::load is marked as deprecated now)
2020-02-10Run clang-tidy check for modernize-use-nullptrOlivier Goffart
2018-01-15Implementation of delta-sync support on client-side.Ahmed Ammar
This commit adds client-side support for delta-sync, this adds a new 3rdparty submodule `gh:ahmedammar/zsync`. This zsync tree is a modified version of upstream, adding some needed support for the upload path and other requirements. If the server does not announce the required zsync capability then a full upload/download is fallen back to. Delta synchronization can be enabled/disabled using command line, config, or gui options. On both upload and download paths, a check is made for the existance of a zsync metadata file on the server for a given path. This is provided by a dav property called `zsync`, found during discovery phase. If it doesn't exist the code reverts back to a complete upload or download, i.e. previous implementations. In the case of upload, a new zsync metadata file will be uploaded as part of the chunked upload and future synchronizations will be delta-sync capable. Chunked uploads no longer use sequential file names for each chunk id, instead, they are named as the byte offset into the remote file, this is a minimally intrusive modification to allow fo delta-sync and legacy code paths to run seamlessly. A new http header OC-Total-File-Length is sent, which informs the server of the final expected size of the file not just the total transmitted bytes as reported by OC-Total-Length. The seeding and generation of the zsync metadata file is done in a separate thread since this is a cpu intensive task, ensuring main thread is not blocked. This commit closes owncloud/client#179.
2017-09-25bandwidthmanager: Fix unregistering devices on deleteOlivier Goffart
from the destroyed signal, qobject_cast won't work because the object is already destroyed. One must use reinterpret_cast then
2017-09-21Use the Qt5 connection syntax (automated with clazy)Olivier Goffart
This is motivated by the fact that QMetaObject::noralizeSignature takes 7.35% CPU of the LargeSyncBench. (Mostly from ABstractNetworkJob::setupConnections and PropagateUploadFileV1::startNextChunk). It could be fixed by using normalized signature in the connection statement, but i tought it was a good oportunity to modernize the code. This commit only contains calls that were automatically converted with clazy.
2017-09-05Move Utility to a new common static libraryJocelyn Turcotte
Now that csync builds as C++, this will avoid having to implement functionalities needed by csync mandatorily in csync itself. This library is built as part of libocsync and symbols exported through it. This requires a relicense of Utility as LGPL. All classes moved into this library from src/libsync will need to be relicensed as well.
2017-05-17Apply clang-formatChristian Kamm
2017-05-11Upgrade some qCDebug to qCInfo or qCWarningJocelyn Turcotte
Use qCInfo for anything that has general value for support and development. Use qCWarning for any recoverable error and qCCritical for anything that could result in data loss or would identify a serious issue with the code. Issue #5647
2017-05-11Use Qt logging categories for loggingJocelyn Turcotte
This gives more insight about the logs and allow setting fine-tuned logging rules. The categories are set to only output Info by default so this allows us to provide more concise logging while keeping the ability to extract more information for a specific category when developping or debugging customer issues. Issue #5647
2015-10-05libtypos comment and message typos for masterPhil Davis
2015-05-12BandwidthManager: fix warningsOlivier Goffart
Unused variables
2015-05-11Bandwidth Manager: Comment out qDebugMarkus Goetz
We have not received any grave bug reports for it, not needed anymore.
2015-02-06Propagator: Fix crashMarkus Goetz
This crash was uncovered when testing parallel chunks when one chunk finished the upload. The propagate was then finished with the other UploadDevices still being in-flight in the QNAM.
2015-01-23Don't require NEON with Qt 5.4Olivier Goffart
2014-12-08Merge branch 'master' into rename_clientDaniel Molkentin
2014-12-02Namespace fixesDaniel Molkentin
2014-12-02Bandwidth: Fix issue with removed download jobsMarkus Goetz
The measuring broke when a job that is currently measuring was removed.
2014-11-11Split propagator_qnam.cpp into propagateupload.cpp and propagatedownload.cppOlivier Goffart
2014-11-08Fix compilation errors after mergeOlivier Goffart
2014-11-08Fix the il branch merge: Move the bandwidthmanager to libsyncOlivier Goffart