Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-17 | Merge pull request #7732 from hercules-ci/make-initLibStore-viable-alternative | John Ericson | |
Make `initLibStore` a viable alternative | |||
2023-04-07 | Require openssl >= 1.1.1 | Robert Hensing | |
Versions older this are sufficiently old that we don't want to support them, and they require extra support code. | |||
2023-04-07 | Move OpenSSL init to initLibUtil | Robert Hensing | |
Part of an effort to make it easier to initialize the right things, by moving code into the appropriate libraries. | |||
2023-04-07 | Rename and protect `BufferedSink::write` | Théophane Hufschmitt | |
The `write` name is ambiguous and could lead to some funny bugs like https://github.com/NixOS/nix/pull/8173#issuecomment-1500009480. So rename it to the more explicit `writeUnbuffered`. Besides, this method shouldn't be (and isn't) used outside of the class implementation, so mark it `protected`. This makes it more symetrical to `BufferedSource` which uses a `protected readUnbuffered` method. | |||
2023-03-29 | avoid a string copy in printHash16 | Vaci Koblizek | |
2023-03-29 | return string_view from printHashType rather than string | Vaci Koblizek | |
2023-03-28 | Avoid a string copy during Hash::to_string | Vaci Koblizek | |
2022-04-07 | don't assume that rev is a SHA1 hash | Kasper Gałkowski | |
This was a problem when writing a fetcher that uses e.g. sha256 hashes for revisions. This doesn't actually do anything new, but allows for creating such fetchers in the future (perhaps when support for Git's SHA256 object format gains more popularity). | |||
2022-02-25 | Remove std::string alias (for real this time) | Eelco Dolstra | |
Also use std::string_view in a few more places. | |||
2022-01-27 | return string_views from forceString* | pennae | |
once a string has been forced we already have dynamic storage allocated for it, so we can easily reuse that storage instead of copying. | |||
2020-12-02 | Sink: Use std::string_view | Eelco Dolstra | |
2020-10-28 | Consistency | Eelco Dolstra | |
2020-08-05 | Add Hash::dummy to signal default value | Carlo Nucera | |
We did this in the same spirit of the dummy value that's present in libstore/path.hh | |||
2020-07-20 | Remove period at the end of the exception message | John Ericson | |
2020-07-20 | parser.hh -> split.hh | John Ericson | |
2020-07-16 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-16 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-15 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | Carlo Nucera | |
2020-07-14 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-13 | Remove istringstream_nocopy | Eelco Dolstra | |
2020-07-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-03 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-03 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | John Ericson | |
2020-07-02 | Have `splitPrefix` and `splitPrefixTo` parser helpers | John Ericson | |
2020-07-02 | Move `getParsedTypeAndSRI` to a more suitable location | John Ericson | |
Also mark it static | |||
2020-07-02 | Fix abort in 'nix develop' | Eelco Dolstra | |
2020-07-02 | Write the implementation for parseNonSRIUnprefixed | Carlo Nucera | |
2020-07-02 | Abstract common parsing functionality | Carlo Nucera | |
2020-07-02 | Inline and simplify in parseAnyPrefixed | Carlo Nucera | |
2020-07-02 | Rename fromSRI to parseSRI for constistency | Carlo Nucera | |
2020-07-02 | Get rid of the std::pair | Carlo Nucera | |
2020-07-02 | Inline newFunction | Carlo Nucera | |
2020-07-02 | Fix test suite | Carlo Nucera | |
2020-07-01 | Rename two hash constructors to proper functions | Carlo Nucera | |
2020-07-01 | Inline Hash::init() | Carlo Nucera | |
2020-07-01 | Keep the previous name, for diffing | Carlo Nucera | |
2020-07-01 | Fixed build, we still have test errors | Carlo Nucera | |
2020-06-30 | WIP initial design | Carlo Nucera | |
2020-06-30 | Factor the prefix splitting in hash | Carlo Nucera | |
2020-06-29 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-06-26 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-25 | Fix empty std::optional dereference in writeDerivation() | Eelco Dolstra | |
https://hydra.nixos.org/build/123017579 | |||
2020-06-23 | Fix and clean up hash parser | John Ericson | |
2020-06-23 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-06-19 | WIP: Make Hash always store a valid hash type | John Ericson | |
2020-06-19 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-19 | tabs -> spaces | John Ericson | |
2020-06-19 | Remove some `Base::` that crept in | John Ericson | |
2020-06-18 | Revert the `enum struct` change | John Ericson | |
Not a regular git revert as there have been many merges and things. | |||
2020-06-18 | Merge branch 'enum-class' into no-hash-type-unknown | John Ericson | |