0eebaed0c7
econf now does something with its arguments, and specifies --libdir. As a result, add the beginnings of multilib support stuff.
Stephen P. Bennett2006-02-03 17:08:40 +00:00
948a1fa5d4
Replace the split permission checking functions with has_permission(). Add enums for use with the new function, and update the tests.
Mark Loeser2006-02-03 07:22:52 +00:00
51cc12beb0
Added handling for PALUDIS_OPTIONS. Fairly crude, but should work.
Stephen P. Bennett2006-02-02 19:17:28 +00:00
881cc0e7de
Unbreak distcheck, because automake is retarded.
Ciaran McCreesh2006-02-02 17:20:15 +00:00
ceb546a758
Overload rather than specialise for stringify. Catch stringify(non-char pointer) mistakes at compile time.
Ciaran McCreesh2006-01-28 07:00:10 +00:00
4d2b4b9f63
Add assign, zero methods to CountedPtr for convenience.
Ciaran McCreesh2006-01-27 11:21:36 +00:00
571329770d
Use VirtualConstructor rather than hard coding repository formats
Ciaran McCreesh2006-01-27 09:36:00 +00:00
c50dc28469
Only call stat() when necessary now, instead of each time we construct an FSEntry
Mark Loeser2006-01-26 23:53:00 +00:00
192bbcfc25
Need to call stat() when we use FSEntry::operator/=. Added testcase for this bug.
Mark Loeser2006-01-26 21:37:13 +00:00
18ffe63eb8
Make FSEntry use a counted_ptr. Moved FSError exception to the constructor (when we do the stat() call), and added {owner,group,others}_has_{read,write,execute}. New testcases too.
Mark Loeser2006-01-26 20:35:58 +00:00
ec291b1880
Fix broken CircualrDependencyError call that lead to segfaults when the iterators were backwards.
Ciaran McCreesh2006-01-26 16:50:18 +00:00
daccfe3748
Fix some more possibly suspect uses of current_package
Ciaran McCreesh2006-01-26 16:27:10 +00:00
cb85301bfa
Use tr1:: or __gnu_cxx:: hashes (if available) for PortageRepository, since it's a bottleneck. Fix silly bug that occurs if || ( ) dependencies are specified on the commandline.
Ciaran McCreesh2006-01-26 16:17:10 +00:00
41621ee7b0
Use deps passed to DepList::add() directly (e.g. from the commandline) would result in an error. Make them work even if _implementation->current_package is 0.
Ciaran McCreesh2006-01-26 11:11:15 +00:00
979cf67ff1
DepList::add() is now properly transactional again
Ciaran McCreesh2006-01-26 11:02:12 +00:00