9475ac6d17
warning -> compiler, since -pedantic isn't really a warning. Add -Woverloaded-virtual.
Ciaran McCreesh2006-01-24 18:24:10 +00:00
1215ecdd4d
Discourage some of the sillier match_package argument options
Ciaran McCreesh2006-01-24 18:00:54 +00:00
a0dfea75f2
Add in some more <=> compare function overloads for types that can be passed more quickly by value than by reference
Ciaran McCreesh2006-01-24 17:00:16 +00:00
683e961904
std::make_pair("foo", "bar") is illegal, although libstdc++ lets us get away with it. Explicitly create the strings anyway.
Ciaran McCreesh2006-01-24 10:43:11 +00:00
1fe17ec766
Replace make_qualified_package_name with a constructor.
Ciaran McCreesh2006-01-24 07:40:20 +00:00
01f3f80564
Use a deque in various places where it makes sense.
Ciaran McCreesh2006-01-24 07:04:48 +00:00
9ed3a2a493
Don't use < followed by > or < twice for types that have a .compare function.
Ciaran McCreesh2006-01-24 06:37:49 +00:00
440320262b
Make the cache location an optional config parameter for portage repositories
Ciaran McCreesh2006-01-24 04:00:21 +00:00
edc933d9af
Improve the error message given for no resolvable || () items. Don't require a package name when checking whether a USE flag is enabled.
Ciaran McCreesh2006-01-24 03:04:35 +00:00
64453b1a3c
When querying an old style virtual, display the package to which it resolves.
Ciaran McCreesh2006-01-24 03:02:54 +00:00
4386ff01f3
Remove some debug output, we don't need it any more.
Ciaran McCreesh2006-01-24 02:28:46 +00:00
c46326e48c
Make the extra test exception information work even when the linker thinks it is cleverer than us.
Ciaran McCreesh2006-01-23 01:57:57 +00:00
e1e7f5f089
Merge dep_string exceptions into dep_list and dep_parser. Make enum key naming more consistent on package vs name.
Ciaran McCreesh2006-01-22 22:44:00 +00:00
e68d9de42e
Allow the user to specify importance= for repositories. Value is an integer, larger is more important.
Ciaran McCreesh2006-01-22 12:45:40 +00:00
721c4c194a
Add --list-categories. Rename list_repositories files -> list and include both repository and category listing functions.
Ciaran McCreesh2006-01-22 12:28:17 +00:00
9e989c9c78
Unbreak config file subclasses when creating from a filename.
Ciaran McCreesh2006-01-22 12:12:20 +00:00
9257ae6f20
We don't really need sixty zillion files for version_spec either.
Ciaran McCreesh2006-01-22 09:21:23 +00:00
be5e1cc9ef
Move all the package database classes into the main package_database files.
Ciaran McCreesh2006-01-22 08:58:14 +00:00
f14f6c8017
Use base from member to avoid initialising pstream's std::istream with an uninitialised variable. Move pstream buffer and error classes into the main pstream files.
Ciaran McCreesh2006-01-22 08:21:48 +00:00
17305ce435
Move the various dep list exceptions into dep_list.{hh,cc}.
Ciaran McCreesh2006-01-22 07:50:48 +00:00
f7d90f2331
Avoid recompiling exception_to_debug_string for every single test case.
Ciaran McCreesh2006-01-22 07:39:06 +00:00
f40c1a8eb9
Improve exception messages from KeyValueConfigFile. Move KeyValueConfigFileError into key_value_config_file. Make ConfigFileError descend from ConfigurationError rather than directly from Exception.
Ciaran McCreesh2006-01-22 07:29:34 +00:00
3dff66adc5
Add new constructors to ConfigFile and descendents that take filenames rather than stream pointers. Use them where appropriate. Move ConfigFileError into config_file.
Ciaran McCreesh2006-01-22 07:15:29 +00:00
ab4ad3f5c9
internal_error might as well be part of exception, since we're on a file tidyup anyway...
Ciaran McCreesh2006-01-21 19:20:02 +00:00
b373502b50
Merge category_name_part_validator, category_name_part_error into category_name_part. Separate files are overkill here.
Ciaran McCreesh2006-01-21 18:30:48 +00:00
c34b2651b6
Merged alias_arg and switch_arg into args_option. Seperate files are overkill here, especially for two of the smallest args classes.
Stephen P. Bennett2006-01-21 18:28:37 +00:00
5710bbe9fe
Merge package_name_validator, package_name_error into package_name. Separate files are overkill here.
Ciaran McCreesh2006-01-21 18:20:23 +00:00
046afbcd3a
Merge repository_name_validator, repository_name_error into repository_name. Separate files are overkill here.
Ciaran McCreesh2006-01-21 18:07:15 +00:00
7bd6aec3d9
Merge keyword_name_validator, keyword_name_error into keyword_name. Separate files are overkill here.
Ciaran McCreesh2006-01-21 17:59:28 +00:00
fbd98bbc02
Merge slot_name_validator, slot_name_error into slot_name. Separate files are overkill here.
Ciaran McCreesh2006-01-21 17:45:14 +00:00
7c0d7c9161
Merge use_flag_name_validator, use_flag_name_error into use_flag_name. Separate files are overkill here.
Ciaran McCreesh2006-01-21 17:36:08 +00:00