summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2014-01-08Check if environ is declaredIgor Pashev1-0/+4
2014-01-07Ported to mnttabIgor Pashev2-1/+75
2013-09-29build: Add cmake build infrastructureRoger Leigh11-8/+486
This permits building using cmake rather than the existing autoconf/automake/libtool infrastructure. The autotools- based build may be removed in future commits, but either may be used until that point.
2013-09-08build: Drop CppUnit supportRoger Leigh3-58/+7
2013-09-08test: Add libtest2 using gtestRoger Leigh2-1/+42
2013-05-05all: Place const before typename for const referencesRoger Leigh95-808/+808
2013-05-05chroot::facet: storage is an interface onlyRoger Leigh17-72/+52
storage does not derive from facet.
2013-05-05sbuild::chroot: clone checks for storage facetRoger Leigh1-0/+2
To sanity check the chroot state when cloning sessions and source chroots, ensure that the chroot contains a storage facet.
2013-05-04facet::factory: Use facet_info::name for facet::get_name to avoid duplicationRoger Leigh17-69/+36
2013-05-04facet::unshare: Remove unnecessary #ifdefsRoger Leigh1-4/+0
It's conditionally compiled if the header or unshare function are missing.
2013-05-04lib: Sources use namespace scopingRoger Leigh52-4920/+4952
Enclose in namespace as for all other sources.
2013-05-04chroot::facet: Update doxygen descriptionRoger Leigh1-5/+6
2013-05-04sbuild::chroot: Don't install session_clonable facet automaticallyRoger Leigh11-15/+41
Require it to be installed by facets which provide the functionality.
2013-05-04sbuild::chroot: Automatically install factory-created facetsRoger Leigh2-10/+39
Automatically create facets with auto_install set to true. Add add_facet_by_name method to avoid type errors using the plain add_facet interface.
2013-05-04chroot::facet::factory: Add auto_install propertyRoger Leigh19-1/+40
2013-05-04sbuild: Move session_flags from chroot to chroot::facetRoger Leigh19-84/+81
This breaks a circular dependency between the two classes. The flags are also used primarily by the facets, so this is a better location for them.
2013-05-04chroot::facet::facet: Remove chroot parameter from all methodsRoger Leigh33-369/+248
Use internal "owner" member instead.
2013-05-04facet::fsunion: Drop pre-facet special caseRoger Leigh1-6/+0
2013-05-04sbuild::chroot: Remove obsolete keysRoger Leigh2-67/+0
2013-05-04build: personality support is not built if not availableRoger Leigh4-39/+55
2013-05-04All code uses <> includesRoger Leigh44-73/+73
2013-05-04build: Install headers into correct subdirectoriesRoger Leigh1-25/+44
2013-05-04sbuild::chroot: Remove concrete implementations of chroot typesRoger Leigh17-1030/+0
2013-05-04sbuild::chroot::facet::session_clonable: Remove plain special caseRoger Leigh1-19/+11
A special case for plain is completely unnecesary since plain chroots can't use this facet.
2013-05-04sbuild::chroot: Use facet::factory to add storage facetsRoger Leigh1-48/+9
2013-05-04sbuild::chroot: Remove clone() from all chroot typesRoger Leigh17-73/+1
This is now implemented directly in the base class.
2013-05-04sbuild: Align source cloning with session cloningRoger Leigh5-45/+49
2013-05-04sbuild: Replace clone_session with session_setup facetRoger Leigh33-273/+338
2013-05-04sbuild::chroot::facet: Add copy argument to set_chrootRoger Leigh20-33/+58
This prevent erroneous re-adding of facets when cloning chroots.
2013-05-04sbuild: Replace clone_source with source_setup facetRoger Leigh32-178/+238
2013-05-04build: Build facets conditionallyRoger Leigh1-12/+14
2013-05-04sbuild::chroot: Remove unused virtual methodsRoger Leigh2-241/+130
These methods are now completely delegating to chroot facets.
2013-05-04sbuild: Remove unused directory_baseRoger Leigh3-259/+0
2013-05-04sbuild::chroot: Use factory interface for all storage facetsRoger Leigh9-17/+38
2013-05-04sbuild::chroot: Migrate custom to storage facetRoger Leigh5-503/+269
2013-05-04sbuild::chroot::facet: Add factory classRoger Leigh25-33/+432
All instantiable facets (not base classes and interfaces) are registered with the factory, and may be created via the factory interface.
2013-05-04Reindent all sourcesRoger Leigh6-41/+41
2013-05-04Reindent all headersRoger Leigh12-453/+453
2013-05-04sbuild::chroot: Migrate loopback to a storage facetRoger Leigh7-456/+267
2013-05-04sbuild::chroot: Migrate file to storage facetRoger Leigh5-655/+378
2013-05-04sbuild::chroot: Migrate directory to storage facetRoger Leigh5-318/+158
2013-05-04sbuild::chroot: Migrate btrfs-snapshot to storage facetRoger Leigh6-642/+372
2013-05-04sbuild::chroot: Migrate plain chroot type to storage facetRoger Leigh8-182/+109
2013-05-04sbuild::chroot::facet: Add directory_base storage facetRoger Leigh3-182/+179
2013-05-04sbuild::chroot: Migrate block-device and lvm-snapshot to facetsRoger Leigh27-588/+3012
2013-04-28sbuild::chroot: Facet exceptions include class nameRoger Leigh3-7/+39
2013-04-27sbuild::chroot: Default methods delegate to storage facetRoger Leigh2-10/+48
2013-04-27sbuild::chroot::facet::storage: Include setup_lock and get_path methodsRoger Leigh2-0/+24
2013-04-21sbuild::chroot: Move setup_session_info to session facetRoger Leigh11-73/+82
2013-04-21sbuild::chroot: Add _strict variant of get_facetRoger Leigh2-0/+48
This throws an exception rather than returning null.