Vincent Ambo
6220988fc5
* guarding showLinks against negative numbers
2012-03-06 21:24:58 +01:00
Vincent Ambo
91d197945f
* merged String -> Text changes
...
* comment field
2012-03-06 21:08:36 +01:00
Eelco Dolstra
005d1e4ccb
Update bzip2 dependency
2012-03-06 20:03:20 +01:00
"Vincent Ambo ext:(%22)
8c90ebdb49
* TEXT EVERYWHERE, WHERE MY STRINGS AT?
2012-03-06 19:39:54 +01:00
"Vincent Ambo ext:(%22)
d4fa02deed
* using Text from Data.Text (stict) instead of String for text in entries and comments
2012-03-06 17:28:30 +01:00
Vincent Ambo
0418692f07
* finished comment field
2012-03-06 00:50:53 +01:00
Eelco Dolstra
605b16cd7b
Fix compilation on FreeBSD
...
http://hydra.nixos.org/build/2213576
Not sure why compilation doesn't fail on other platforms...
2012-03-05 22:04:40 +01:00
Eelco Dolstra
d645633643
nix-copy-closure: don't print copied path on stdout
...
We're already printing progress on stderr, so printing them on stdout
afterwards is kind of useless.
2012-03-05 20:52:24 +01:00
Eelco Dolstra
35355fc1fc
Set the close-on-exec flag on file descriptors
2012-03-05 20:29:00 +01:00
Eelco Dolstra
7b22bec252
Don't leak a file descriptor in commonChildInit()
2012-03-05 20:28:09 +01:00
Eelco Dolstra
1d487dc6a6
nix-worker: put the pid of the caller in argv[1]
...
This is useful for debugging.
2012-03-05 19:19:29 +01:00
Eelco Dolstra
2b4964f319
Restore progress indication during nix-copy-closure
2012-03-05 18:13:44 +01:00
Eelco Dolstra
56042a120a
build-remote.pl: don't wait forever for the upload lock
...
In the build hook, don't wait forever to get the upload lock. This
ensures progress if another process gets stuck while holding the
upload lock.
2012-03-05 17:58:09 +01:00
Vincent Ambo
f113778e17
* began work on commentBox
2012-03-05 05:27:20 +01:00
Vincent Ambo
96093c9009
* Pagination (finally!)
...
* slight CSS change
2012-03-03 16:39:15 +01:00
Vincent Ambo
485e271475
* added TODO file
2012-03-03 04:05:19 +01:00
Vincent Ambo
7114876693
* limiting amount of queries with couchDB's limit parameter
2012-03-03 04:02:30 +01:00
Vincent Ambo
65a5443e2d
* getMonthCount now takes a BlogLang, as is obviously required
2012-03-03 03:47:11 +01:00
Vincent Ambo
9e4b35613c
* removed an unnecessary tempVar
2012-03-03 03:42:44 +01:00
Vincent Ambo
907eecf8c7
* getMonthCount function added
2012-03-03 03:35:20 +01:00
Vincent Ambo
da8833bf34
* changes D:
2012-03-02 09:12:09 +01:00
Vincent Ambo
fed422f872
*updated .hgignore for geany files
2012-03-01 18:10:34 +01:00
Eelco Dolstra
8afd28a922
Remove dependency on sqlite3_table_column_metadata
...
Not all SQLite builds have the function sqlite3_table_column_metadata.
We were only using it in a schema upgrade check for compatibility with
databases that were probably never seen in the wild. So remove it.
2012-03-01 16:06:49 +01:00
Eelco Dolstra
1c94524458
Fix an uninitialised variable
...
The variable ‘useChroot’ was not initialised properly. This caused
random failures if using the build hook. Seen on Mac OS X 10.7 with Clang.
Thanks to KolibriFX for finding this :-)
2012-03-01 16:06:49 +01:00
"Vincent Ambo ext:(%22)
0f0d874aa7
* entries by month
2012-02-24 17:01:36 +01:00
"Vincent Ambo ext:(%22)
35a5557e17
* localization moved to Locales.hs
2012-02-24 16:06:33 +01:00
"Vincent Ambo ext:(%22)
a29a34d41f
* I fixed the front page
2012-02-24 05:20:36 +01:00
"Vincent Ambo ext:(%22)
066762051a
* rendering comments
2012-02-24 00:03:16 +01:00
"Vincent Ambo ext:(%22)
d04d693eb9
* comment parsing
2012-02-23 14:46:51 +01:00
"Vincent Ambo ext:(%22)
a4119e1cfd
* displaying blog entries
...
* changed convertDB for BlogLang JSON representation
2012-02-23 13:20:29 +01:00
"Vincent Ambo ext:(%22)
47dbfe900e
* removing .DS_Store files
2012-02-23 03:32:40 +01:00
"Vincent Ambo ext:(%22)
2fa129e7e3
* blog footer, language handling, emptyTest
2012-02-23 03:30:14 +01:00
"Vincent Ambo ext:(%22)
47c8d9a96d
* .hgignore file
2012-02-22 22:07:28 +01:00
"Vincent Ambo ext:(%22)
fd9dc7e706
* removing binaries
2012-02-22 22:05:11 +01:00
"Vincent Ambo ext:(%22)
b951faa6b4
* initial checkin
2012-02-22 22:03:31 +01:00
Eelco Dolstra
6fe13e6aba
Fix chroots builds
...
Chroots are initialised by hard-linking inputs from the Nix store to
the chroot. This doesn't work if the input has its immutable bit set,
because it's forbidden to create hard links to immutable files. So
temporarily clear the immutable bit when creating and destroying the
chroot.
Note that making regular files in the Nix store immutable isn't very
reliable, since the bit can easily become cleared: for instance, if we
run the garbage collector after running ‘nix-store --optimise’. So
maybe we should only make directories immutable.
2012-02-18 01:23:52 +01:00
Eelco Dolstra
bd013b6f98
On Linux, make the Nix store really read-only by using the immutable bit
...
I was bitten one time too many by Python modifying the Nix store by
creating *.pyc files when run as root. On Linux, we can prevent this
by setting the immutable bit on files and directories (as in ‘chattr
+i’). This isn't supported by all filesystems, so it's not an error
if setting the bit fails. The immutable bit is cleared by the garbage
collector before deleting a path. The only tricky aspect is in
optimiseStore(), since it's forbidden to create hard links to an
immutable file. Thus optimiseStore() temporarily clears the immutable
bit before creating the link.
2012-02-15 01:31:56 +01:00
Eelco Dolstra
5e57047d87
Fix a broken guard around utime()
...
Because of an outdated check for a timestamp of 0, we were calling
utime() even when it wasn't necessary.
2012-02-15 01:00:30 +01:00
Eelco Dolstra
58ac7a17a4
Don't use deletePath() to delete a single file
2012-02-15 00:28:01 +01:00
Eelco Dolstra
e9fc91df45
Fix error message
...
This fixes the error message
error: file `' was not found in the Nix search path (add it using $NIX_PATH or -I)
2012-02-09 18:56:48 +01:00
Eelco Dolstra
d5a5a83ad4
Use data() instead of c_str() where appropriate
2012-02-09 18:27:45 +01:00
Eelco Dolstra
ec2827f5fc
Update .gitignore
2012-02-08 19:25:43 +01:00
Eelco Dolstra
4055a3b19c
Remove empty ChangeLog file
2012-02-08 13:22:08 +01:00
Eelco Dolstra
fb95455c02
Set the versionSuffix to include the Git shortrev
2012-02-08 12:31:14 +01:00
Eelco Dolstra
67444f5e54
* Build Nix for the latest Fedora and Ubuntu releases (and drop some
...
old ones).
2012-02-07 13:18:20 +00:00
Eelco Dolstra
f491ae97d4
* Inline some functions and get rid of the indirection through
...
EvalState::eval(). This gives a 12% speedup on ‘nix-instantiate
/etc/nixos/nixos/ -A system --readonly-mode’ (from 1.01s to 0.89s).
2012-02-04 13:50:25 +00:00
Eelco Dolstra
2bda12ef3b
* Print elapsed evaluation time.
2012-02-04 13:27:11 +00:00
Eelco Dolstra
ce86a9a0ae
* nix-channel: fail if we don't have write permission to the manifests
...
directory. Previously in this situation we did add the Nix
expressions from the channel to allow installation from source, but
this doesn't work for binary-only channels and leads to confusing
error messages.
2012-02-02 12:25:56 +00:00
Eelco Dolstra
baa0501cc1
* Fix importing a derivation. This gave a segfault.
2012-01-26 13:13:00 +00:00
Eelco Dolstra
4c9fdd2cd6
* Add a test for importing derivations.
2012-01-26 13:04:50 +00:00