faa4ad7964
EnumArg::_default_arg can (should) be const; make it so
Stephen P. Bennett
2006-01-21 01:34:48 +00:00
27c1d97a7b
Add VirtualConstructor, the coolest toy ever written.
Ciaran McCreesh
2006-01-21 00:16:47 +00:00
7b72a5fd69
Change the output for failed tests to produce 'filename:line: message' on a line of its own so that Vim quickfix can parse and locate errors without assistance.
Ciaran McCreesh
2006-01-20 20:11:55 +00:00
82ba4c4cee
Add std-options to AUTOMAKE_OPTIONS
Ciaran McCreesh
2006-01-20 06:11:48 +00:00
effe9fbdbb
Display compiler version in --version, if known.
Ciaran McCreesh
2006-01-20 06:09:50 +00:00
122a7b5393
Don't use colour for non-tty output or for dumb terminals.
Ciaran McCreesh
2006-01-20 05:21:46 +00:00
34fff22d84
Include libebt version information in --version display.
Ciaran McCreesh
2006-01-20 04:12:21 +00:00
04f7bb3209
Work around weird bug in gcc 3.3
Ciaran McCreesh
2006-01-20 04:08:59 +00:00
9f3537b147
Fix attribute support on GCC 3.3. Don't try to use the weak linkage trick unless our compiler is known to provide a working __attribute__((weak)).
Ciaran McCreesh
2006-01-20 03:34:34 +00:00
ef2391fedf
Partial attribute support for icc.
Ciaran McCreesh
2006-01-20 03:04:00 +00:00
518c7684e1
Move CODING_STANDARDS into Doxygen
Ciaran McCreesh
2006-01-20 02:17:14 +00:00
81e10024fc
More Doxygen updates.
Ciaran McCreesh
2006-01-20 01:59:09 +00:00
a01468df8c
Fixed spelling
Stephen P. Bennett
2006-01-20 01:52:53 +00:00
d4c753da4a
Minor coding style tweaks
Ciaran McCreesh
2006-01-20 01:22:57 +00:00
9ded15bf77
Create an AcceptVisitor class and accept_visitor convenience function to simplify calling accept on each item in a container of pointers to nodes. Use them.
Ciaran McCreesh
2006-01-20 01:21:17 +00:00
f606692f39
Shorten as-needed description so that it doesn't wrap in an 80 column terminal.
Ciaran McCreesh
2006-01-20 00:56:40 +00:00
6d629dc95a
More Doxygen comments.
Ciaran McCreesh
2006-01-20 00:46:43 +00:00
14cf958649
Converted --help output to use a visitor, and handle EnumArg better
Stephen P. Bennett
2006-01-20 00:43:06 +00:00
f76ef486ea
Use the Visitor Doxygen group. Add file and test Doxygen comments.
Ciaran McCreesh
2006-01-20 00:34:01 +00:00
4f59c11d5c
Add Doxygen comments to visitor. Move Visits into visitor_internals since the unwashed masses shouldn't be touching it directy.
Ciaran McCreesh
2006-01-20 00:26:36 +00:00
f162820c7f
Rename to TransformInsertIterator etc. rather from TranslateInsertIterator.
Ciaran McCreesh
2006-01-20 00:07:04 +00:00
867d2b7dfb
Regenerate m4-created files where needed. Should only affect SVN users who don't rerun ./autogen.bash after every update. Normal users (if we ever get any) shouldn't ever hit this, and so won't need the GNU m4 dependency.
Ciaran McCreesh
2006-01-19 23:47:58 +00:00
e9b3450bf1
Use the new visitor templates for args/
Stephen P. Bennett
2006-01-19 22:25:04 +00:00
25aa93d22c
Add in a few more tests for KeyValueConfigFile
Ciaran McCreesh
2006-01-19 22:23:19 +00:00
ebe3297f03
Add in GPL headers where missing. Add KeyValueConfigFileError and use it rather than InternalError. Make DefaultConfigError and KeyValueConfigFileError descend from ConfigurationError rather than Exception.
Ciaran McCreesh
2006-01-19 22:21:09 +00:00
6e0ef486a1
Display a nicer error on commandline screwups
Ciaran McCreesh
2006-01-19 20:26:26 +00:00
b3bee5ca17
Switch to using PALUDIS_HERE rather than __PRETTY_FUNCTION__. Make the test framework print out more exception information where it is available. We use a linker trick to avoid having libpaludistest.a require libpaludis.a.
Ciaran McCreesh
2006-01-19 19:16:26 +00:00
ceed973f97
Add tests for KeyValueConfigFile. Fix off by one error with unbraced variables.
Ciaran McCreesh
2006-01-19 19:15:37 +00:00
a239211d9e
We don't need -Wno-overloaded-virtual with the new visitor code.
Ciaran McCreesh
2006-01-19 19:14:37 +00:00
f399ff1a78
StripAdapter's member is no longer a reference. Add testcases for StripAdapter as well
Mark Loeser
2006-01-19 04:35:21 +00:00
816a7e4485
Remove composite_visitor, we don't use it any more.
Ciaran McCreesh
2006-01-19 02:46:32 +00:00
4f672a6d76
Fixes for icc: define and use next() rather than ++ to advance pointers, add in a few new includes.
Ciaran McCreesh
2006-01-19 02:29:55 +00:00
21ed2b404c
EnumArg changes. Added description fields for each allowed arg, and allow for a default arg if it's not specified.
Stephen P. Bennett
2006-01-17 18:57:23 +00:00
e9caa13092
Add setup/cleanup scripts for is_file_with_extension_TEST rather than using the source file so that distcheck works.
Ciaran McCreesh
2006-01-17 18:08:47 +00:00
81564b60c7
Fix test script setup to work with distcheck
Ciaran McCreesh
2006-01-17 17:50:47 +00:00
75e3b717da
Some simple testcases
Mark Loeser
2006-01-17 05:37:38 +00:00
257c29ad4b
Initial use.mask support for Portage repositories
Ciaran McCreesh
2006-01-17 03:08:03 +00:00
093e77ffc9
Use check_ rather than noinst_ for test scripts, programs and libraries
Ciaran McCreesh
2006-01-17 03:07:20 +00:00