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

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2021-05-29Detect quazip >= 1.0 via pkgconfigLars Wendler
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
2020-03-05Add OSUtils for platform-specific functionality.Janek Bevendorff
Moves MacUtils into a separate sub folder and adds WinUtils, NixUtils, and OSUtils for platform-native code on Windows, Unix-like, and generic/all systems.
2019-09-28CLI: Add interactive session mode command `open`James Ring
This change adds a GNU Readline-based interactive mode to keepassxc-cli. If GNU Readline is not available, commands are just read from stdin with no editing or auto-complete support. DatabaseCommand is modified to add the path to the current database to the arguments passed to executeWithDatabase. In this way, instances of DatabaseCommand do not have to prompt to re-open the database after each invocation, and existing command implementations do not have to be changed to support interactive mode. This change also introduces a new way of handling commands between interactive and batch modes. * Fixes #3224. * Ran make format
2019-06-22Unbreak build on FreeBSD (#3304)Tobias Kortkamp
* Unbreak build on FreeBSD ``` In file included from src/core/Alloc.cpp:24: /usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>" ^ src/core/Alloc.cpp:65:28: error: use of undeclared identifier 'malloc_usable_size' ::operator delete(ptr, malloc_usable_size(ptr)); ^ 2 errors generated. ``` Non-standard APIs like `malloc_usable_size()` [1] are defined in `malloc_np.h` on FreeBSD, so use it instead of `malloc.h` there. [1] https://man.freebsd.org/jemalloc(3) * Allow Browser HostInstaller to work on FreeBSD and other OS's * Drop custom GNUInstallDirs cmake module and use cmake's own module It seems to be an outdated version and cmake generally provides it itself, so there should be no need for keepassxc to provide its own custom version. On FreeBSD this fixes the issue that man pages were installed into the wrong directory, i.e., `/usr/local/share/man` vs `/usr/local/man` as per FreeBSD's current packaging policy. Signed-off-by: Tobias Kortkamp <tobik@FreeBSD.org>
2019-05-02Fix QuaZip find module on macOS and clean up code.Janek Bevendorff
Finding libquazip failed on macOS due to path differences. This patch also cleans up the find module's code, aligns it with the coding style of the other CMake files and removes clutter that is not needed for KeePassXC such as non-Msys builds on Windows.
2019-04-20Windows: use winqtdeploy instead of DeplyQt4 from CMake (#3025)Jonathan White
* Ensure Qt dlls find plugins in bundled directory * Reduce complexity of deployment code * Standardize use of CMAKE_BUILD_TYPE_LOWER for more robust comparisons Fixes #3023. Fixes part of #1535.
2019-01-30Cleanup CMakeFiles prior to releaseJonathan White
* Remove Git revision finding code in favor of a simple command call: git rev-parse --short=7 HEAD * Added GIT_HEAD_OVERRIDE to explicitly define the hash for the current commit in case git is not available * Made WIX default over NSIS in release tool * Rename version.h to git-info.h
2019-01-29Performed project-wide code formattingJonathan White
* Updated format CMake command to properly ignore new directories and files * Added output when command is run * Resolves #2623
2019-01-17Corrected formatting and cleanupJonathan White
2019-01-07Fixed QuaZip for windows, renamingChristian Kieschnick
QuaZip should now usable under windows (fixed include in FindQuaZip) Renamed the representation from secure and unsecure to signed and unsigned
2019-01-04Fixed ci buildsChristian Kieschnick
ubuntu:14.04 does not have quazip5 libraries in the standard repository, therefore only insecure builds are created using the ci server
2018-12-19Merge branch 'develop'Jonathan White
Conflicts: CMakeLists.txt cmake/CLangFormat.cmake snapcraft.yaml src/CMakeLists.txt src/core/Database.cpp src/core/Database.h src/core/Tools.cpp src/crypto/CryptoHash.h src/crypto/ssh/ASN1Key.h src/crypto/ssh/OpenSSHKey.cpp src/format/Kdbx4Reader.cpp src/gui/DatabaseTabWidget.cpp src/gui/DatabaseTabWidget.h src/gui/DatabaseWidget.cpp src/gui/DatabaseWidget.h src/gui/DetailsWidget.cpp src/gui/DetailsWidget.ui src/gui/EditWidgetProperties.cpp src/gui/EntryPreviewWidget.cpp src/gui/EntryPreviewWidget.ui src/gui/FileDialog.cpp src/gui/dbsettings/DatabaseSettingsDialog.cpp src/gui/dbsettings/DatabaseSettingsDialog.h src/gui/group/EditGroupWidget.cpp src/gui/group/EditGroupWidget.h src/sshagent/ASN1Key.h src/sshagent/OpenSSHKey.cpp src/sshagent/SSHAgent.cpp tests/CMakeLists.txt
2018-10-19Reformat CMakeLists.txt filesJanek Bevendorff
2018-10-19Update and fix test coverage report generationJanek Bevendorff
Generation of unit test coverage reports used to be quite complicated and required a lot of different settings, including a custom CMake build type. This patch updates the coverage CMake module to only require -DWITH_COVERAGE=ON to be set on a normal Debug build in order to create a coverage target. This patch also moves away from lcov in favor of gcovr, since lcov appears to be broken in GCC 8. However, the routines for generating lcov reports still exist, so provided lcov receives updates and there is sufficient reason to switch back, it is easy to do so.
2018-10-19Add QR code generator for TOTP export (#1167)Adolfo E. García
* Resolves #764 * Add libqrencode and qtsvg dependencies * Ensure QR code remains square * Auto-close QR code dialog when database is locked * Add databaseLocked() Signal to databaseWidget * Correct otpauth URI output in Totp::writeSettings(...)
2018-10-01Add sharing of groups between databasesChristian Kieschnick
* Add source folder keeshare for sharing with corresponding define WITH_XC_KEESHARE * Move common crypto parts to src/crypto/ssh * Extended OpenSSHKey * Move filewatching to own file (currently in two related classes DelayedFileWatcher and BulkFileWatcher) * Small improvements for style and code in several classes * Sharing is secured using RSA-Keys which are generated on demand * Publisher signs the container using their private key * Client can verify the signed container and choose to decline an import, import only once or trust the publisher and automatically import all data of this source henceforth * Integration of settings into Group-Settings, Database-Settings and Application-Settings * Introduced dependency QuaZip as dependency to allow combined export of key container and the (custom format) certificate
2018-09-19Revert appveyor addition and DeployQt cmakeJonathan White
2018-06-21Add support for SonarCloud analysisJonathan White
2018-06-11Add AppVeyor support (#1380)Adolfo E. García
2018-03-31Removed http/ from excluded dirs.Louis-Bertrand Varin
2018-03-31Add ClangFormat exceptionsLouis-Bertrand Varin
2018-03-31Use xargs to avoid long command linesJanek Bevendorff
2018-03-31Add ClangFormat rulesLouis-Bertrand Varin
2018-02-28Properly rename argon2 symbols on Win32 buildsJonathan White
2018-02-01Ensure yubikey libs are dynamic; bump to c99Jonathan White
2018-01-30Add support for nightly builds to release toolJonathan White
2018-01-14Fix linker definition clashes between libargon2 and libsodium on WindowsJanek Bevendorff
2018-01-13Install needed PPA packages for deploymentJanek Bevendorff
2018-01-13Add Argon2Kdf and enable parameters in db settingsJonathan White
Note: This implementation is not yet connected to the database itself and will corrupt existing kdbx3 db's. * Implemented memory and parallelism parameters for Argon2Kdf * Using libargon2; libsodium does not support Argon2d algorithm * Moved basic rounds parameter into Kdf class * Reimplemented benchmark algorithm; previous was utterly broken
2018-01-04keepassxc-browservarjolintu
2017-06-14Update and fix copyright headersthez3ro
2017-05-06Update cmake files, fixes #331Jonathan White
2017-02-26Mark CMake library variables as advancedJanek Bevendorff
2017-02-20Merge branch 'develop' into feature/yubikeyJanek Bevendorff
2017-02-20Set windows EXE resource properties, resolves #329Janek Bevendorff
2017-02-15Merge branch 'develop' into feature/yubikeyJanek Bevendorff
2017-01-26Fix Windows linker and runtime errors when building against static QtJanek Bevendorff
2017-01-08keys: yk: Add YubiKey hardware driver supportKyle Manna
* Use compile time detection of the YubiKey libraries and link against the libraries if present. Can be disabled with: $ cmake -DCMAKE_DISABLE_FIND_PACKAGE_YubiKey=FALSE * A stub file provides empty calls for all the function calls integrated in to the UI to support this. In the future a more modular approach maybe better, but opting for simplicity initially. Signed-off-by: Kyle Manna <kyle@kylemanna.com>
2016-11-04Updated README badges and added code coverageJonathan White
2016-02-28Merge remote-tracking branch 'keepassx/master'Jonathan White
# Conflicts: # README.md # share/translations/keepassx_de.ts # src/CMakeLists.txt # src/gui/MainWindow.h
2015-07-18Display git revision in about dialog.Florian Geyer
2014-03-23Replaced qhttpserver with libmicrohttp.Keith Bennett
The qhttpserver seems to be riddled with memory leaks and was continuously crashing. I don't know Qt well enough to fix it so I have replaced it with libmicrohttp. This is not nearly as elegant but it is much more stable.
2014-01-12Parse the libgcrypt version in the cmake module.Felix Geyer
2013-04-30Use standard GNU install dirs and make them overridable.Felix Geyer
2011-11-12Rewrite Gcrypt cmake module.Felix Geyer
2010-09-11Add crypto classes and tests. Link to libgcrypt.Felix Geyer