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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-29Fix compatibility with newer python3-nautilusNathan Pratta Teodosio
Signed-off-by: Nathan Pratta Teodosio <nathan.teodosio@canonical.com>
2022-10-04add [[nodiscard]] attribute via clang-tidyMatthieu Gallien
ran run-clang-tidy-14.py -header-filter='.*' -checks='-*,modernize-use-nodiscard' -fix under linux with most part of our code covered Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-07-01Ensure the dispatch source only gets deallocated after the ↵Claudio Cambra
dispatch_source_cancel is done Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-05-19Fix possible overflow on lineWrittenClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-05-16Fix crashing of finder sync extension caused by dispatch_source_cancel of ↵Claudio Cambra
nullptr Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-17Implement local socket to communicate with finder extensionClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-09require cmake 3.16Matthieu Gallien
close #3572 Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-02-11add headers in cmake files to get them properly detectedMatthieu Gallien
qt creator for example requires that headers are explcitly given in the source lists Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-11-23Only build app bundle if requestedFelix Weilbach
For development a app bundle is not needed. The app bundle is only needed for distribution and macdeployqt takes a lot of time. Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-11-16Compile finder extensions for arm and x86Felix Weilbach
Fix: https://github.com/nextcloud/desktop/issues/3967 Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-10-15target names are not changed in branded builds only the output filenamesMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-09-28add ContextMenuOptIn to COM registration, to allow Placeholder support. ↵Mathias Eggert
Issue #3584 Signed-off-by: Mathias Eggert <mathias.eggert@nexenio.com>
2021-09-13Fixed warnings in RemotePathChecker on WindowsDmytro Korchynskyi
Signed-off-by: Dmytro Korchynskyi <kdl.dima@gmail.com>
2021-09-01Use CMAKE_INSTALL_DATADIR instead of custom DATADIRNicolas Fella
CMake provides what we wan out of the box Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2021-08-31switch from Q_DECL_OVERRIDE to plain overrideMatthieu Gallien
our requirements guarantee availability of override keyword so we just use it Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-08-19Update to Qt 5.15Felix Weilbach
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-07-14Windows. Nextcloud Overlay Identifiers. Set 16 spaces before each ↵allexzander
identifier's name. Signed-off-by: allexzander <blackslayer4@gmail.com>
2021-05-06Fix int uint warningHannah von Reth
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2021-04-13Only include libcloudproviders dir when cloudproviders is foundNicolas Fella
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2021-04-13[shellintegration] Simplify cmake codeNicolas Fella
We don't need ECM to check for KIO Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2021-04-12[dolphin] Clean up CMake codeNicolas Fella
Remove some stuff that is not needed. Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2020-12-15Remove junk filesHannah von Reth
2020-12-15winvfs: initial workChristian Kamm
Done by ckamm and dschmidt
2020-12-15nautilus shell integration: Fix when there are several branded client installedOlivier Goffart
It appears that several extension can be loaded at the same time, but their classname for the extension need to be different, otherwise only the last loaded one would be active. Issue #6524
2020-10-15Update commentsMichael Schuster
Everyone uses their private mail, so ensure people can get in touch. Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-09-21Windows MSI: Let CMake install Shell Extensions WiX fragment to "msi/"Michael Schuster
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Fix spacingMichael Schuster
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Windows shell extensions: Add WiX (MSI) fragmentMichael Schuster
Use CMake to generate a WXI fragment to handle the DLL registration and file deployment for the shellext components. Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Windows shell extensions: Change NCUtil Pipe name from ownCloud to ↵Michael Schuster
APPLICATION_EXECUTABLE Avoid interference with foreign pipes as this is always a bad idea ;p Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Windows shell extensions: Rename all files and classes from OC* to NC*, ↵Michael Schuster
update version info This also ensures a clear separation in the system registry. SelfReg is not recommended by Microsoft and will be handled by the MSI package to allow proper Repair and Uninstall. However, we keep it for backward compatibility with the NSIS installer. For details see: https://stackoverflow.com/questions/364187/how-do-you-register-a-win32-com-dll-file-in-wix-3#364210 https://docs.microsoft.com/en-us/windows/win32/msi/selfreg-table#remarks Another fix by this commit: The "Version" registry value in the NCOverlays self reg should be a key and not a value. Details: https://wixtoolset.org/documentation/manual/v3/xsd/wix/class.html Example: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\Version] @="1.0.0.0" Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Windows shell extensions: Use custom GUIDs via CMake and prepare MSI regMichael Schuster
Previously side by side installation with ownCloud or other NC custom builds would break the shell integration because the same GUIDs and registry keys were used. Now we specify our custom GUIDs in NEXTCLOUD.cmake and use CMake to generate a header file and WiX (MSI) include file with these constants. Note: Using generators like "guidgen" or "uuidgen" ensures that GUIDs are unique, as manual changes are not guaranteed to be. Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Remove dead codeHannah von Reth
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-202.7 has less automatic includes on WindowsHannah von Reth
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Cleanup Windows shell extensionsHannah von Reth
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Remove outdated visual studio projects, we now use cmakeHannah von Reth
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Avoid warning because /MT overrides /MD flagDominik Schmidt
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Make OCUtil helper lib static and link it statically against crtDominik Schmidt
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Windows Shell Integration: Don't limit the size of the bufferOlivier Goffart
Otherwise we can't have operation that has many many filename As reported in #6780 Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Windows shellext: Update copyrights and company nameChristian Kamm
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20windows shell extension: add OCUtil/resource.hOlivier Goffart
It's a copy from OCContextMenu/resources.h Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-20Windows shellext: Add rc for OCUtil #6554Christian Kamm
To set the dll's metadata. Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-12Enable the modernize-use-using check on clang-tidyKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-08-12Add more raw string literals missed previouslyKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-11Simplify nullptr comparisons where appropriateMichael Schuster
Make the codebase consistent, we already have a lot of implicit pointer comparisons. Exception: Stay explicit on return's, example: return _db != nullptr; Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09Fix nullptr regression in RegistryUtil::ReadRegistryMichael Schuster
Merging PR #2057 caused the Windows build to fail: shell_integration\windows\OCUtil\RegistryUtil.cpp(43): error C2664: 'LSTATUS RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY)': cannot convert argument 3 from 'nullptr' to 'DWORD' The previous implementation prior the PR supplied NULL as the argument 3 to RegOpenKeyEx, so it was silently accepted and translated to zero, satisfying the DWORD's type requirement. Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-08Replace NULL by nullptr in all C++ filesStephan Beyer
We keep NULL in the pure C files in src/csync/std and test/csync. We also replace Doxygen documentation referring to "NULL" to "\c nullptr" (formatted as code). Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
2020-05-14Stop supporting Qt older than 5.12Kevin Ottens
This both removes older Qt from the CI and also adjust all the find_package calls in CMakeLists.txt Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-05-12Fix leak in FileUtil::IsChildFileKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-05-02Fixed symlink resolution for menu items.Daniel Vedder
Signed-off-by: Daniel Vedder <d.vedder@web.de>
2020-05-02Resolve symlinks when checking for registered paths.Daniel Vedder
Fixes issue #1948: https://github.com/nextcloud/desktop/issues/1948 The client already resolves symlinks when adding new paths to the sync-list, but the Nautilus plugin did not do this yet, causing it to not recognise synced folders if they were accessed via a symlink. Signed-off-by: Daniel Vedder <d.vedder@web.de>