1
0
forked from Alepha/Alepha
Commit Graph

395 Commits

Author SHA1 Message Date
6122f3ba80 UA 2024-07-08 17:06:31 -04:00
970cfa3b62 Unify everything to template_for form. 2024-07-05 12:23:26 -04:00
32e6c36570 Rename the template_for header.
C++26 (I hope) is supposed to have this syntax:

```
template for( const auto &element: aggregate )
{
	...;
}
```

Thus, I've adjusted this gadget to have a similar name, to enable
simple mechanical code changes.  From Alepha, you'd use it
thus:

```
template_for( aggregate ) <=[&]( const auto &element )
{
	...;
};
```
2024-07-05 11:59:26 -04:00
b5fb8c76f2 Create C++26(?) emulation of template for. 2024-07-05 11:54:19 -04:00
807311e0dd In this file, Concepts.h should be non-relative 2024-07-05 11:54:09 -04:00
7b449fb3e1 minor edits to Format doc 2024-06-26 18:20:32 -04:00
a8c6780cb9 Enable printing case arguments on failed tests
The `TableTest` mechanism now prints as much detailed information
as it can get about the case arguments in any failed test case.

Git-commit-built-by: Merge branch 'print-test-inputs'
2024-06-14 11:51:00 -04:00
2fa08c821e Add a template binding gadget for type lists
This is useful when the same set of types has to go into a
std::variant, a std::tuple, and perhaps a few other template
lists.

Git-commit-built-by: Merge branch 'make-template'
2024-06-14 11:49:01 -04:00
fa33154064 Add a template binding gadget for type lists. 2024-06-14 11:28:13 -04:00
b44539cab1 Table tests now print argument information about failed cases.
At least they'll print as much information as they can.
Unstreamable input types will just print typeid information.
2024-06-13 18:04:33 -04:00
fc02d1a0c3 Relax the test print debugging rules.
A type which cannot be printed when streamed in "Relaxed"
mode will simply print the typeid and that's it.  This is
opposed to its original behaviour which would be a compile
time error.
2024-06-13 18:03:33 -04:00
33fa7cc711 Expose the stream value adaptor for tests.
This will permit calling this stream adaptor from
various contexts which are test related.
2024-06-13 18:03:12 -04:00
500ad866eb Add an identity which works with TableTest 2024-06-12 16:59:11 -04:00
26eb1b080e Basic support for exception verification in tests
This probably needs to be expanded upon.  The basic functionality
added is to permit a test expectation clause to be a function which
takes some kind of exception type.  That function can then
perform any arbitrary checks and analyses it needs to confirm that
the exception which was caught passes muster for that test case.
2024-06-12 00:08:14 -04:00
e16be47994 Fix a formatting nit. 2024-06-11 12:01:21 -04:00
940fec2926 doxygen - don't strip comments from reference source 2024-06-09 18:50:30 -04:00
4f8c68dcdd Remove spurious whitespace. 2024-06-03 21:31:40 -04:00
77d2920041 Add an Enumeration concept to detect enum
This lets one explicitly require an enum as a template parameter.
2024-05-30 14:32:29 -04:00
f1f1a8017d Add an Enumeration concept to detect enum 2024-05-30 14:26:49 -04:00
a3302ebc82 Get processor count when building on FreeBSD 2024-05-30 01:19:33 -04:00
90531755f8 Remove a stray debugging print 2024-05-24 14:04:27 -04:00
4045c30021 Switch the dead drop to use a circular buffer. 2024-05-24 13:34:42 -04:00
2442ddac2b Assertions only in debug builds. 2024-05-24 13:26:17 -04:00
ec41796d59 Require exceptions to be one of specific defined grades.
Merge branch 'exception-improvements'
2024-05-22 12:53:11 -04:00
b507a7a588 Integrate a few code refactoring changes.
Merge branch 'refactors'
2024-05-22 12:47:17 -04:00
71b8b9c9e6 Integrate the number printing functionality.
This might make writing some kinds of tests which need lots
of string data easier (convert large numbers to larger strings).

Merges branch 'number-print'

 Conflicts:
	Utility/CMakeLists.txt
2024-05-22 00:41:22 -04:00
75eb205a22 Merge branch 'relocate-blob' 2024-05-21 14:11:38 -04:00
94b0a1561b Relocate Blob, Buffer, and DataChain to Memory. 2024-05-20 18:18:04 -04:00
3844026429 Move streamable name to be more like the others. 2024-05-07 22:46:38 -04:00
a1137d3a56 Split up the evaluation helpers into specific files. 2024-05-07 22:41:57 -04:00
f47b942e28 Remove some debugging code from the line-tracking streambuf. 2024-04-12 17:14:16 -04:00
2282cb73a4 Merge branch 'docs-improvements' 2024-04-05 00:56:19 -04:00
26d9ff52a0 Formatting literals. 2024-04-05 00:55:53 -04:00
aee670f15a Format is a dir. 2024-04-04 22:56:46 -04:00
dd674bf35a Delimited list test needs to test disconnect. 2024-04-04 22:38:45 -04:00
8ae94293ce Fix delimited list unimpl function. 2024-04-04 22:31:35 -04:00
1a6460e717 Stackable streambufs have a depth observer now. 2024-04-04 22:29:23 -04:00
083a58dc99 The --help output got mangled. This fixes it. 2024-04-04 22:26:29 -04:00
541a945605 IWYU for OStreamable using delimited list. 2024-04-04 22:25:56 -04:00
4cec1a7299 Started work on some formatting primitives.
Things like markdown and indent fixing in UDLs.
2024-04-04 18:18:11 -04:00
6d60639b1c Move some docs to a docs dir.
This lets me have a dir named `Format`, which I want.
2024-04-04 18:12:54 -04:00
379a2b4dc2 Start using the stream adaptor. 2024-04-04 18:07:41 -04:00
a6467772f4 Make it possible to use arbitrary code in making delimited lists. 2024-04-04 15:41:27 -04:00
58327d5afd We should be using sentry in our generated istream operators. 2024-04-04 13:56:26 -04:00
29575e7e30 Some cleanup and tests for Enum and constexpr strings. 2024-04-04 00:53:12 -04:00
38df35ebc4 IOStream filter stage.
This permits creation of custom filtration stages in the IOStream
streambuf stack.
2024-04-03 23:44:51 -04:00
cc1fdf725b Correct some of the underlying-forwarding parts of stream stacks. 2024-04-03 23:38:13 -04:00
83034c501f AutoRAII based stream adaptors. 2024-04-03 16:28:55 -04:00
435bd912a4 Use delimiter stream adaptor in some output. 2024-04-03 16:09:50 -04:00
66e8acfd5b List delimiting primitive for output streams. 2024-04-03 15:53:43 -04:00