Eelco Dolstra
5d4171f7fb
* Synchronise terminology with the ICSE paper (e.g., slice -> closure,
...
fstate -> Nix expression).
* Fix src/test.cc.
2003-10-07 12:27:49 +00:00
Eelco Dolstra
4a013962bd
* Started using Berkeley DB environments. This is necessary for
...
transaction support (but we don't actually use transactions yet).
2003-07-31 13:47:13 +00:00
Eelco Dolstra
5acb45446e
* Let `nix --install' print out the id of the normal form.
...
* Some minor refactoring.
2003-07-29 09:45:03 +00:00
Eelco Dolstra
1a7468a57a
* Debug levels. Use `--verbose / -v LEVEL' to display only messages
...
up to the given verbosity levels. These currently are:
lvlError = 0,
lvlNormal = 5,
lvlDebug = 10,
lvlDebugMore = 15
although only lvlError and lvlDebug are actually used right now.
2003-07-24 08:53:43 +00:00
Eelco Dolstra
401452e57a
* Memoize the evaluation of Fix expressions to speed up computation.
2003-07-21 08:55:49 +00:00
Eelco Dolstra
7984cfc7c1
* Argh, another short-write problem. Added wrappers around
...
read()/write() to fix this once and for all.
2003-07-20 21:11:43 +00:00
Eelco Dolstra
6f1a0f948d
* Refactorings.
2003-07-20 19:29:38 +00:00
Eelco Dolstra
7b3f44e05b
* The new normaliser now passes the unit tests.
2003-07-15 21:24:05 +00:00
Eelco Dolstra
f5b6fa5256
* Basic work on allowing derive expressions to build multiple paths.
...
This is not entirely trivial since this introduces the possibility
of mutual recursion.
* Made normal forms self-contained.
* Use unique ids, not content hashes, for content referencing.
2003-07-15 16:28:54 +00:00
Eelco Dolstra
cab3f4977a
* A path canonicaliser that doesn't depend on the existence of paths
...
(i.e., it doesn't use realpath(3), which is broken in any case).
Therefore it doesn't resolve symlinks.
2003-07-08 19:58:41 +00:00
Eelco Dolstra
5895c160c4
* Make dbRefs a mapping from Hash to [Path].
2003-07-07 09:25:26 +00:00
Eelco Dolstra
609a224848
* Fixed `make check' as well.
2003-07-07 07:44:57 +00:00
Eelco Dolstra
82e3d8fafe
* Got Fix working again.
2003-07-06 14:20:47 +00:00
Eelco Dolstra
40b5936691
* Realisation of Derive(...) expressions.
2003-06-27 14:56:12 +00:00
Eelco Dolstra
3da9687854
* Realisation of File(...) expressions.
2003-06-27 13:55:12 +00:00
Eelco Dolstra
d4c3edfaba
* Normalisation.
2003-06-27 09:55:31 +00:00
Eelco Dolstra
692b562342
* `nix --delete' command.
2003-06-23 14:40:49 +00:00
Eelco Dolstra
5f5cab0ac7
* A function to restore from a Nix archive.
...
* addValue() can now import any dumpable FS object.
2003-06-23 13:27:59 +00:00
Eelco Dolstra
1849aa2a72
* Refactoring: move dump function into archive.cc.
2003-06-20 10:40:25 +00:00
Eelco Dolstra
38e12df631
* `nix --dump' command.
2003-06-18 14:34:43 +00:00
Eelco Dolstra
94cf1f86bb
* Lambdas, applications, substitutions.
2003-06-18 12:36:12 +00:00
Eelco Dolstra
7a96da3627
* Test for expression dereferencing.
2003-06-17 15:47:25 +00:00
Eelco Dolstra
6656993f83
* Derefencing of hashed expressions.
2003-06-17 15:45:43 +00:00
Eelco Dolstra
a7ab242fb4
* Simplify the evaluator.
2003-06-17 13:37:44 +00:00
Eelco Dolstra
c739e20585
* Argument processing.
2003-06-16 21:01:18 +00:00
Eelco Dolstra
2f04e7102e
* Path hashing.
2003-06-16 15:59:23 +00:00
Eelco Dolstra
822794001c
* Started implementing the new evaluation model.
...
* Lots of refactorings.
* Unit tests.
2003-06-16 13:33:38 +00:00
Eelco Dolstra
21fe717ce2
* Refactoring: hash class.
2003-06-15 13:41:32 +00:00