Commit Graph

101 Commits

Author SHA1 Message Date
Saleem Abdulrasool
64ba7d5be8 modernize: use default method synthesis
Convert a number of destructors to default synthesized functions.  Try to
inline a few instances into the header.  It should be possible to inline all of
them, however, gcc seems to emit a number of warnings.  Furthermore, some of the
destructors are pure-virtualed, but provide an implementation.  Placing the
definition into the header causes ODR violations.
2016-08-06 11:58:04 -07:00
Wouter van Kesteren
a7fe415ebf nothrow -> noexcept
Change-Id: I944ad237c1cdf9cd49fd94184171555f1b550c0f
Reviewed-on: https://galileo.mailstation.de/gerrit/1894
Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
Reviewed-by: Kylie McClain <somasis@exherbo.org>
2015-08-21 17:21:47 +02:00
Wouter van Kesteren
b264c70140 noexcept is default for destructors
Change-Id: I9be4610510c6f38925cb2f9a02906a67a462672f
Reviewed-on: https://galileo.mailstation.de/gerrit/1893
Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
Reviewed-by: Kylie McClain <somasis@exherbo.org>
2015-08-21 17:20:58 +02:00
Wouter van Kesteren
82a9e92b64 throw() -> noexcept
Change-Id: I461abfda8b7297c1bd04f1090f8d58fa96364616
Reviewed-on: https://galileo.mailstation.de/gerrit/1892
Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
Reviewed-by: Kylie McClain <somasis@exherbo.org>
2015-08-21 17:19:40 +02:00
Elias Pipping
0d9560ed1d Move explicit instantiations to namespace paludis
Makes clang++ happy
2011-08-07 18:18:38 +01:00
Ciaran McCreesh
c8c5434b85 Remove VirtualsInterface 2011-06-11 22:35:32 +01:00
Ciaran McCreesh
e27dabb7c3 Remove ProvidesInterface 2011-06-11 22:35:27 +01:00
Ciaran McCreesh
0518a78117 Don't need can_be_favourite_repository 2011-03-25 18:37:48 +00:00
Ciaran McCreesh
bf9e33c1c7 Allow repos to return partial results if faster 2011-02-28 15:31:18 +00:00
Ciaran McCreesh
7a2c9e9746 Rework Pimp to avoid ImpPtr ickiness
Fixes: ticket:1070
2011-01-09 10:23:12 +00:00
Ciaran McCreesh
ee941e4ee6 Use name_foo rather than foo_name 2011-01-01 23:06:43 +00:00
Ciaran McCreesh
1e88d3f531 Avoid more explicit newage 2010-07-23 21:15:08 +01:00
Ciaran McCreesh
dd959fd53f PrivateImplementationPattern -> Pimp, Implementation -> Imp 2010-07-23 08:54:11 +01:00
Ciaran McCreesh
4209b95ecc Less verbose PrivateImplementationPattern 2010-07-22 21:46:00 +01:00
Ciaran McCreesh
f7be9952e6 Use std::make_shared<> 2010-07-22 18:55:26 +01:00
Ciaran McCreesh
7a8a792ae8 No more tr1:: and tr1/ 2010-07-22 18:54:57 +01:00
Ciaran McCreesh
3470087205 Kill NonCopyable, make Singleton its own thing 2010-07-22 18:54:47 +01:00
Ciaran McCreesh
cc129190d5 New improved NamedValue syntax 2010-05-19 16:01:04 +01:00
Ciaran McCreesh
8c38f206f4 Kill mirrors interface 2009-11-26 21:02:30 +00:00
Ciaran McCreesh
40281ddc9f Expose less about profiles 2009-11-06 18:35:00 +00:00
Ciaran McCreesh
e23b2cc477 Maybe make paludis --owner use less rams 2009-10-25 21:04:40 +00:00
Ciaran McCreesh
dd3736da2c There's no point in sync_interface 2009-10-21 22:01:52 +01:00
Ciaran McCreesh
9f94ffc79b Kill QA, qualudis
Pretty much a lost cause on Gentoo, and for Exherbo we'll do this
differently.
2009-10-20 22:10:36 +01:00
Ciaran McCreesh
6945cb45ac Hooks don't need an interface. 2009-10-14 19:28:18 +01:00
Ciaran McCreesh
ef75cff538 update 2009-09-13 16:50:54 +01:00
Ciaran McCreesh
d3a6729806 Do sets differently
Sets from repositories are now named setname::repo, and we automatically
create a master setname containing all of those sets.

Cache sets cleanly whilst we're at it.

Fixes: ticket:746
2009-08-25 20:57:34 +01:00
Ciaran McCreesh
c3e8cf81af Only invalidate expired write cache entries 2009-04-27 22:24:32 +01:00
Ciaran McCreesh
58d34274c8 Enough is enough 2009-01-11 15:38:52 +00:00
Ciaran McCreesh
4231af5178 New easier tree visitors 2009-01-09 13:46:00 +00:00
Ciaran McCreesh
51898c84d3 Blacklist paludis-extras. 2008-12-11 19:11:31 +00:00
Ciaran McCreesh
7cd0c2d122 Paludis is about choices. 2008-10-24 09:32:40 +01:00
Ciaran McCreesh
6ded700846 Per distribution repository blacklists 2008-08-27 22:11:20 +01:00
Ciaran McCreesh
afc7095852 Repository ctor now takes Environment param 2008-08-27 22:10:46 +01:00
Stephen P. Bennett
d99bb263e1 Fix some unresolved externals 2008-06-14 12:37:55 +00:00
David Leverton
9c17b66a46 Make sure PackageDatabase::favourite_repository returns an installable repository. 2008-06-14 12:37:55 +00:00
Ciaran McCreesh
118de550d2 paludis::tr1:: is dead. We no longer support compilers that don't do tr1 (that means you, gcc-3). 2008-04-26 13:59:04 +00:00
Ciaran McCreesh
a23e77e48c Give log messages an id 2008-04-16 14:01:13 +00:00
Ciaran McCreesh
a297ce7c92 world is now in env, not repos. Fixes: ticket:421 2008-03-09 14:07:05 +00:00
Ciaran McCreesh
981dd553a5 More sr -> kc 2008-02-21 14:40:19 +00:00
Ciaran McCreesh
3f23bc8423 Move common metadata key code into a base class 2008-02-14 09:43:03 +00:00
Ciaran McCreesh
763dc12ae1 Be kinder to stupid compilers: don't rely upon tr1::shared_ptr<> being callable. Don't explicitly instantiate fully specialised templates if the compielr doesn't allow it. Include -impl headers in more places to work around compilers thinking they can ignore explicit instantiations. 2007-11-17 12:33:54 +00:00
Ciaran McCreesh
dc95c2f26e Replace RepositoryInfo with emtadata keys. Change how we handle ambiguous _imp. Introduce common Literal metadata key classes to reduce duplicated code. Fixes: ticket:438. Fixes: ticket:416 2007-11-16 08:23:00 +00:00
Ciaran McCreesh
ea7d4ab21e Fix 2007-11-02 08:39:19 +00:00
Ciaran McCreesh
d832a1dd9e Stop using libebt, libwrapiter. C++0x compliant iterators. Use static_assert, concepts where available. 2007-11-02 07:39:03 +00:00
Ciaran McCreesh
6762103303 Kill repository NVIs, License interface. Fixes: ticket:394 2007-10-26 06:22:59 +00:00
Ciaran McCreesh
6e0aedd0a4 Remove email addresses from places that aren't AUTHORS 2007-10-23 23:33:12 +00:00
Ciaran McCreesh
08aec53f3f Use an email address that works 2007-10-23 22:52:29 +00:00
Fernando J. Pereda
1d20f5812f Introduce NoSuchSetError and RecursivelyDefinedSetError and use them. 2007-10-22 22:07:22 +00:00
Piotr Jaroszyński
420df001fe Better ambiguity resolution for virtuals, installed packages. Fixes: ticket:391 2007-10-17 11:11:43 +00:00
Ciaran McCreesh
ba60ed5885 More doxygen work. 2007-10-08 09:04:54 +00:00