Commit graph

  • 3c9f8fc9b6 * Don't convert variable names to strings. Eelco Dolstra 2010-03-25 13:10:04 +0000
  • f450384ded * Implement blackholing. Eelco Dolstra 2010-03-25 12:51:14 +0000
  • ef8bd919fc * Implement `...' and default function arguments. Eelco Dolstra 2010-03-25 12:45:23 +0000
  • 8a10360c91 * Simplify @-patterns: only {attrs}@name' or name@{attrs}' are now allowed. So name1@name2', {attrs1}@{attrs2}' and so on are now no longer legal. This is no big loss because they were not useful anyway. Eelco Dolstra 2010-03-25 12:19:41 +0000
  • 7482349fe8 * Implemented attribute set pattern matches. Eelco Dolstra 2010-03-24 23:40:00 +0000
  • 0fd3648d34 * Store values in environments. Eelco Dolstra 2010-03-24 12:41:08 +0000
  • b70bd8fe56 * Reduce the number of value allocations in eval() by moving responsibility for allocation of the result to the caller. Eelco Dolstra 2010-03-24 12:11:38 +0000
  • d31c59eb17 * Plain lambdas. Eelco Dolstra 2010-03-24 11:06:05 +0000
  • e8f7978274 Eelco Dolstra 2010-03-23 19:19:52 +0000
  • 0910ae9568 * Start of an evaluator that uses call-by-need (with thunk updating) instead of (memoised) call-by-name. Eelco Dolstra 2010-03-23 17:30:50 +0000
  • 90039e0863 * Branch for experimenting with faster / less memory-hungry Nix expression evaluation. Eelco Dolstra 2010-03-23 15:09:29 +0000
  • 71be50cc25 * Doh. Eelco Dolstra 2010-03-23 14:51:32 +0000
  • 3bfd3a4e95 * Test "with as; with bs;" since nobody knows what its semantics is. Eelco Dolstra 2010-03-23 14:26:27 +0000
  • f71ea9c911 * Use SQLite 3.6.23. Eelco Dolstra 2010-03-23 10:38:59 +0000
  • 141294ff38 * Clean up error messages in killUser(). Eelco Dolstra 2010-03-19 11:36:34 +0000
  • 74299c1cfb * Bump version number. Eelco Dolstra 2010-03-17 12:12:45 +0000
  • c4cfb392d3 Eelco Dolstra 2010-03-17 10:08:34 +0000
  • 8e3d98eb41 * Release notes for Nix 0.15. Eelco Dolstra 2010-03-16 13:12:18 +0000
  • f0c473c5f7 * Fix building on Cygwin (http://hydra.nixos.org/build/325071). Eelco Dolstra 2010-03-16 13:01:52 +0000
  • fe1b8781ae * Fix a broken link (reported by Peter Koppstein). Eelco Dolstra 2010-03-16 12:58:20 +0000
  • 741b7577c1 Merge r20344 & r20346. Nicolas Pierron 2010-03-14 11:58:07 +0000
  • 2fb0df83e9 Uh. somehow a Makefile tab got in as spaces. Fixing. Lluís Batlle i Rossell 2010-03-11 21:22:52 +0000
  • 13cce8ec45 Making 'bin2c' to be built with the compiler for the local system. I copied the configure.ac code about CC_FOR_BUILD from libX11. Lluís Batlle i Rossell 2010-03-11 20:56:25 +0000
  • e020d80e4e * Sync with the trunk. Eelco Dolstra 2010-03-11 15:45:05 +0000
  • 05e15049a5 Show the build user's group in /etc/group in chroots. Ludovic Courtès 2010-03-11 14:47:04 +0000
  • 070057c1b9 * Sync with the trunk. Eelco Dolstra 2010-03-11 10:52:52 +0000
  • c752c9f41a Fix thinko in r20547. Ludovic Courtès 2010-03-11 10:33:04 +0000
  • 2e8eaca573 Clear supplementary groups of `nixbld' in /etc/passwd in chroots. Ludovic Courtès 2010-03-11 10:21:23 +0000
  • 03afc34805 * Simplify. Eelco Dolstra 2010-03-10 13:07:37 +0000
  • 1a65142ec4 * Remove a debug statement. Eelco Dolstra 2010-03-10 12:46:25 +0000
  • 4c356acd04 * In `nix-store --export', abort if the contents of a path has changed. This prevents corrupt paths from spreading to other machines. Note that checking the hash is cheap because we're hashing anyway (because of the --sign feature). Eelco Dolstra 2010-03-09 14:32:03 +0000
  • 44f6e6de77 * Set gc-keep-outputs' or gc-keep-derivations' to false with `--delete --ignore-liveness'. Eelco Dolstra 2010-03-08 21:31:42 +0000
  • 2e4ef03aa3 * Increase the sqlite timeout. Eelco Dolstra 2010-03-08 10:35:45 +0000
  • 05fbf61f0e * nix-prefetch-url depends on sed (see http://hydra.nixos.org/build/311170). Eelco Dolstra 2010-03-05 18:26:47 +0000
  • 04791840f4 * Emit warning='1' or error='1' attributes for lines marked as warnings or errors with \e[w or \e[e. Eelco Dolstra 2010-03-05 12:54:58 +0000
  • bc6f7fc139 * Remove some unused functions. Eelco Dolstra 2010-03-04 13:03:26 +0000
  • fb6e223ddc * Synced with the trunk. Eelco Dolstra 2010-03-04 12:15:00 +0000
  • 5ff87c982e Eelco Dolstra 2010-03-03 16:17:09 +0000
  • e14e2399ed * Prevent a potential memory corruption problem if an ATerm garbage collection happens during fixAttrs(). Eelco Dolstra 2010-03-02 20:23:42 +0000
  • 158aa89317 * Ensure that make install' works without a prior make'. Eelco Dolstra 2010-03-02 20:22:46 +0000
  • 56af8e86e3 * Protect the true', false' and `__overrides' constants. Without an ATprotect call, these could be garbage collected, leading to weird crashes or wrong results. Eelco Dolstra 2010-03-02 20:09:12 +0000
  • 3f9e647ae8 * checkInterrupt() shouldn't be called from a destructor. Eelco Dolstra 2010-03-02 19:04:17 +0000
  • d8c5745c41 * Support static builds. Eelco Dolstra 2010-03-02 17:12:47 +0000
  • e07d7284a2 * Fix DESTDIR builds. Eelco Dolstra 2010-03-02 16:55:07 +0000
  • 5414b3b2db * Remove the --enable-static-nix flag. Eelco Dolstra 2010-03-02 16:40:40 +0000
  • 594eaddd11 * When using the included sqlite/aterm libraries, build with --enable-shared. * In libutil/libstore/libexpr etc., link against sqlite and aterm. * Some more header file hygiene. Eelco Dolstra 2010-03-02 15:58:13 +0000
  • 966ffb29a7 * Update the Valgrind suppressions for ATerm 2.5. Eelco Dolstra 2010-02-26 13:10:57 +0000
  • 24035b98b1 * Implement RemoteStore::queryValidPaths(). Eelco Dolstra 2010-02-26 12:05:01 +0000
  • e42401ee7b * Implement RemoteStore::queryDerivationOutputs(). Eelco Dolstra 2010-02-25 15:52:22 +0000
  • af565c348a * Support read-only access to the database. Eelco Dolstra 2010-02-24 16:44:43 +0000
  • e33f67ff0b * Refactor the upgrade / database initialisation logic a bit. Eelco Dolstra 2010-02-24 16:30:20 +0000
  • 84a4dd5ff0 * Don't use fdatasync since it doesn't work on Snow Leopard. * Don't refer to config.h in util.hh, because config.h is not installed (http://hydra.nixos.org/build/303053). Eelco Dolstra 2010-02-24 15:46:06 +0000
  • cfe742cfc5 * A function to query just the database id of a valid path. Eelco Dolstra 2010-02-24 15:07:23 +0000
  • 6baa2a2f5e Eelco Dolstra 2010-02-24 14:39:52 +0000
  • 9fd85c94de * Use `truncate' journal mode, which should be a bit faster. Eelco Dolstra 2010-02-24 14:22:34 +0000
  • fefd467539 * `helpText' is now zero-terminated. Eelco Dolstra 2010-02-24 13:24:27 +0000
  • 21b134b4e5 Eelco Dolstra 2010-02-24 13:13:39 +0000
  • a3c63d0d6c * Disable fsync() in SQLite if the fsync-metadata option is set to false. * Change the default for fsync-metadata' to true. * Disable fsync-metadata' in `make check'. Eelco Dolstra 2010-02-24 13:12:57 +0000
  • 90b6352d0a * Do registerValidPaths() in one transaction, which is much faster. E.g. it cuts the runtime of the referrers test from 50s to 23s. Eelco Dolstra 2010-02-24 12:48:00 +0000
  • fae0427324 * ADDITIONAL_NETWORK_LIBS -> LIBS. Eelco Dolstra 2010-02-24 12:25:48 +0000
  • fa6a4fcb11 * Add ${sqlite_lib} everywhere. Just adding it in `libstore' doesn't work on x86_64 when sqlite is compiled statically. Eelco Dolstra 2010-02-24 12:18:48 +0000
  • 5954eadf67 * Remove the fdatasync check since it's no longer needed. Eelco Dolstra 2010-02-24 12:16:50 +0000
  • bb82310dba * Set the path to sqlite3 properly. Eelco Dolstra 2010-02-24 11:06:17 +0000
  • 69d9df7fe6 * Don't fork so much. Eelco Dolstra 2010-02-24 11:04:03 +0000
  • 462bd50aef * Use normal (rather than full) synchronous mode, which I gather from the description at http://www.sqlite.org/atomiccommit.html should be safe enough. Eelco Dolstra 2010-02-24 10:57:57 +0000
  • 8520de4720 * Include the sqlite tarball in the Nix tarball. Eelco Dolstra 2010-02-24 10:48:57 +0000
  • dc6d1ec67e Eelco Dolstra 2010-02-23 23:24:49 +0000
  • 63b09c5e41 Eelco Dolstra 2010-02-23 22:31:38 +0000
  • 0efc986ba1 * Sync with the trunk. Eelco Dolstra 2010-02-23 22:14:33 +0000
  • b4e6d98fc3 * configure: flag --with-sqlite. Eelco Dolstra 2010-02-23 22:12:46 +0000
  • 7db2831d3a * Use ATerm 2.5. Eelco Dolstra 2010-02-23 16:17:21 +0000
  • 5ccb6f64f4 * Run ATerm's `make check'. Eelco Dolstra 2010-02-23 12:26:35 +0000
  • 2b20318b0e Eelco Dolstra 2010-02-22 14:24:37 +0000
  • 9cda616949 * The database needs a trigger to get rid of self-references to prevent a foreign key constraint violation on the Refs table when deleting a path. Eelco Dolstra 2010-02-22 14:18:55 +0000
  • c4d388add4 * Get derivation outputs from the database instead of the .drv file, which requires more I/O. Eelco Dolstra 2010-02-22 12:44:36 +0000
  • 103cfee056 * Revert r19650 (implement gc-keep-outputs by looking for derivations with the same name as the output) and instead use the DerivationOutputs table in the database, which is the correct way to to do things. Eelco Dolstra 2010-02-22 11:44:17 +0000
  • 299ff64812 * Put the derivation outputs in the database. This is useful for the garbage collector. Eelco Dolstra 2010-02-22 11:15:50 +0000
  • 1930570ad9 * Foreign key support in SQLite is not a persistent setting, so enable it at startup. * Implement negative caching. Now `make check' passes. Eelco Dolstra 2010-02-19 17:15:22 +0000
  • 9c9a88e9e2 * Implement more stuff. Eelco Dolstra 2010-02-19 16:43:25 +0000
  • 762cee72cc * Implement registerValidPath(). Eelco Dolstra 2010-02-19 16:04:51 +0000
  • 268f9aaf28 * Implemented queryValidPaths() and verifyStore(). Eelco Dolstra 2010-02-18 16:51:27 +0000
  • 836e5b6f57 * Implemented queryReferrers(). Eelco Dolstra 2010-02-18 16:21:59 +0000
  • 77cb9e3fb1 * Implement queryPathInfo(). Eelco Dolstra 2010-02-18 15:52:57 +0000
  • 885e22b16e * Implement isValidPath(). Eelco Dolstra 2010-02-18 15:11:08 +0000
  • cfb09e0fad * Automatically abort transactions if they go out of scope without committing. Eelco Dolstra 2010-02-18 14:40:07 +0000
  • e0305bb7a8 * Some wrapper objects to ensure that SQLite objects are properly destroyed. Eelco Dolstra 2010-02-18 14:30:42 +0000
  • a053d2d8e5 * Add the deriver to the ValidPaths table. In principle we could now store all the derivers of a path efficiently. But that opens a big can of worms with respect to garbage collector semantics. Eelco Dolstra 2010-02-18 13:48:18 +0000
  • dbddac0fe9 * Assign an integer id to every row in the ValidPaths table in order to make the Refs table more space-efficient. For instance, this reduces the size of the database on my laptop from 93 MiB to 18 MiB. (It was 72 MiB with the old schema on an ext3 disk with a 1 KiB block size.) Eelco Dolstra 2010-02-18 13:40:46 +0000
  • c1a07f9445 * Convert the Nix database to SQLite. Eelco Dolstra 2010-02-18 13:16:59 +0000
  • eaaa13ce47 * Experimental branch for using SQLite to store the Nix database. Eelco Dolstra 2010-02-18 13:14:51 +0000
  • 68e55cd9da * Since Hydra now escapes +', =' and ?' to %NN in URIs, nix-prefetch-url should unescape them, because %' is not a valid character in store path names. Eelco Dolstra 2010-02-16 00:10:39 +0000
  • 3b3e1025c3 * Typo. Reported by Peter Koppstein. Eelco Dolstra 2010-02-12 10:50:30 +0000
  • 20186a4079 Don't rely on `PATH_MAX' on GNU. Ludovic Courtès 2010-02-10 15:55:50 +0000
  • d0bf4adb1f Add `.gitignore'. Ludovic Courtès 2010-02-10 15:55:46 +0000
  • e08dbff9a8 * Fix a broken link (reported by Bjorn Buckwalter). Eelco Dolstra 2010-02-05 10:17:13 +0000
  • e1e91a3731 * Bump. Eelco Dolstra 2010-02-04 15:46:04 +0000
  • 817f4f7908 * Grmbl. Timing-sensitive tests are evil. Eelco Dolstra 2010-02-04 14:43:43 +0000
  • f36b7e7579 Eelco Dolstra 2010-02-04 14:00:47 +0000
  • 719cebcac2 * "Fix" incorrect help message. Eelco Dolstra 2010-02-04 09:38:09 +0000
  • 443673620d * Don't use ssh's -f flag since it leads to lots of lingering ssh processes. Eelco Dolstra 2010-02-04 02:38:40 +0000