Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Moving the generated values to a cpp means that we won't need to recompile
all files including the version.h
|
|
|
|
* Replaced obsolete foreach-loops with for-loops
* Added a copy of queries into SqlDatabase::close
* Used const reference to avoid unneeded copying
* Fixed Qt containers possible detach within for-loop
* Removed unneeded copies before for-loops
|
|
|
|
|
|
|
|
This is a lot more user friendly than having to work with locale names, which often can't easily be associated with the language they represent.
There is also a fallback for cases when Qt cannot provide the native name for a locale provided by the translations helper. This usually indicates an issue in the filename of the translations. Right now, this is the case with "client_TW.qm".
|
|
|
|
Allows users to specify their preferred language, similar to --language. If not set, the existing auto-detection will be used.
|
|
Fixes: #7672
|
|
Fixes: #8258
|
|
Fixes: #7749
Fixes: #7704
|
|
|
|
Fixes: 7881
|
|
Fixes: #8020
|
|
|
|
D:\a\client\client\src\gui\generalsettings.cpp(74): warning C4996: 'QSysInfo::windowsVersion': Use QOperatingSystemVersion::current()
C:\CraftMaster\windows-msvc2017_32-cl\include\qt5\QtCore/qsysinfo.h(217): note: see declaration of 'QSysInfo::windowsVersion'
|
|
|
|
Don't build Windows only code on other platforms
|
|
|
|
Fixes: #7874
|
|
|
|
|
|
Issue: #7668
|
|
|
|
I don't see how to disable the right-click "Copy Link Location" context
menu, but we can make it copy the version text instead.
|
|
Conflicts:
VERSION.cmake
src/gui/generalsettings.ui
src/libsync/propagateuploadng.cpp
|
|
For owncloud/enterprise#2941
|
|
|
|
|
|
Conflicts:
.gitmodules
src/cmd/cmd.cpp
src/gui/generalsettings.ui
src/libsync/propagatedownload.cpp
src/libsync/propagateuploadng.cpp
|
|
Every proper application has that!
For decreasing window height in #6075
|
|
For #6585
|
|
The names in the combobox are being translated, so we need to rely
on the index rather than the text.
|
|
(PR #6567)
|
|
|
|
|
|
(cherry picked from commit dfdc2e1e87f99d387a042f4983c999fbb7fcf3d9)
|
|
|
|
|
|
(PR #6265)
- Remove the UI completely
- Move the #ifdef inside the FileSystem::moveToTrash function, so it is easier to
implement on other platforms
- Q_OS_UNIX includes mac, so we need to disable it. (not using Q_OS_LINUX because of
other BSD that uses XDG spec as well
- Translate the error messages
- Add a couple of doc comments
|
|
Squashed from https://github.com/owncloud/client/pull/6265
Linux only, Hidden option, disabled by default
|
|
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.
|
|
integration
Issue #5295
|
|
Some slot were protected or private but needed to be public.
Some needed a static_cast (can't use qOverload because it is in Qt 5.7)
This is not only a partial change.
|
|
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.
|