about summary refs log tree commit diff
path: root/src/nix-store/dotgraph.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-02-04 Eliminate the "store" global variableEelco Dolstra1-2/+2
Also, move a few free-standing functions into StoreAPI and Derivation. Also, introduce a non-nullable smart pointer, ref<T>, which is just a wrapper around std::shared_ptr ensuring that the pointer is never null. (For reference-counted values, this is better than passing a "T&", because the latter doesn't maintain the refcount. Usually, the caller will have a shared_ptr keeping the value alive, but that's not always the case, e.g., when passing a reference to a std::thread via std::bind.)
2016-01-28 UntabifyEelco Dolstra1-63/+63
2014-08-20 Use proper quotes everywhereEelco Dolstra1-1/+1
2010-05-31 Comment out dead code in `nix-store'.Ludovic Courtès1-1/+1
* src/nix-store/dotgraph.cc (pathLabel): Move within #if 0 section.
2008-06-09 * Merged the no-bdb branch (-r10900:HEADEelco Dolstra1-1/+0
https://svn.nixos.org/repos/nix/nix/branches/no-bdb).
2006-11-30 * Refactoring. There is now an abstract interface class StoreAPIEelco Dolstra1-2/+2
containing functions that operate on the Nix store. One implementation is LocalStore, which operates on the Nix store directly. The next step, to enable secure multi-user Nix, is to create a different implementation RemoteStore that talks to a privileged daemon process that uses LocalStore to perform the actual operations.
2006-09-04 * Use a proper namespace.Eelco Dolstra1-2/+12
* Optimise header file usage a bit. * Compile the parser as C++.
2006-03-01 * db.hh shouldn't depend on the Berkeley DB headers.Eelco Dolstra1-0/+2
2006-01-19 * Don't show cycles, they're not very useful.Eelco Dolstra1-2/+4
2005-03-26 * Re-enable dot graph generation.Eelco Dolstra1-19/+31
2005-01-19 * Renamed `normalise.cc' -> `build.cc', `storeexprs.cc' ->Eelco Dolstra1-1/+1
`derivations.cc', etc. * Store the SHA-256 content hash of store paths in the database after they have been built/added. This is so that we can check whether the store has been messed with (a la `rpm --verify'). * When registering path validity, verify that the closure property holds.
2005-01-19 * Started removing closure store expressions, i.e., the explicitEelco Dolstra1-0/+2
representation of closures as ATerms in the Nix store. Instead, the file system pointer graph is now stored in the Nix database. This has many advantages: - It greatly simplifies the implementation (we can drop the notion of `successors', and so on). - It makes registering roots for the garbage collector much easier. Instead of specifying the closure expression as a root, you can simply specify the store path that must be retained as a root. This could not be done previously, since there was no way to find the closure store expression containing a given store path. - Better traceability: it is now possible to query what paths are referenced by a path, and what paths refer to a path.
2005-01-13 * Refactoring to support SHA-1.Eelco Dolstra1-3/+3
2003-11-18 * nix -> nix-store, fix -> nix-instantiate.Eelco Dolstra1-0/+135