summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-04-27Separate tests and examples into individual packagesKaren Arutyunov39-1523/+0
Also make cli module to be explicitly enabled via the config.cli configuration variable.
2020-02-13Drop copyright notice from source codeKaren Arutyunov36-36/+0
2019-10-08Adapt for building with Clang on WindowsKaren Arutyunov1-3/+3
2019-10-01Use cxx.std=latestKaren Arutyunov1-1/+1
2019-07-27Add support for direct file loading with argv_file_scannerBoris Kolpackov2-38/+84
2019-07-27Add support for option merging (--generate-merge)Boris Kolpackov3-0/+85
2019-04-02Handle combined option values in argv_file_scannerBoris Kolpackov2-4/+40
Turns out we cannot just pass them along as combined because of quoting. While at it, also add support for quoting non-option arguments.
2019-01-16Update copyright yearKaren Arutyunov33-33/+33
2018-12-03Suppress MSVC warnings at project levelKaren Arutyunov1-0/+6
2018-05-23Update for use with bdepBoris Kolpackov1-0/+2
2018-05-21Update copyright yearKaren Arutyunov33-33/+33
2018-05-19Get rid of doc{version} and types for testscript and manifest in buildfilesKaren Arutyunov6-6/+6
2018-04-16Add support for note formatting in plain text outputBoris Kolpackov1-10/+127
2018-04-12Add support for note block and spanBoris Kolpackov2-0/+88
For example: \N|This is a block note. It may consist of multiple paragraphs.| And this is \N{an inline note} that is inside a paragraph. Notes are currently only support for the html output.
2018-04-01Implement combined flags (-xyz vs -x -y -z) and values (--foo=bar) supportBoris Kolpackov5-0/+152
Both are enabled by default but can be disable with --no-combined-flags and --no-combined-values options.
2018-03-21Implement group_scannerBoris Kolpackov4-0/+218
2018-02-02Adjust tests to new test rule semanticsBoris Kolpackov1-2/+2
2017-07-15Make use of wildcards in buildfilesKaren Arutyunov6-8/+6
2017-03-03Rework build2 cli compilationBoris Kolpackov5-23/+10
2017-01-24Adapt to file redirect syntax changeKaren Arutyunov3-16/+16
2017-01-19Specify test.targetKaren Arutyunov1-0/+4
2017-01-03Update copyright yearBoris Kolpackov23-23/+23
2016-12-05Adapt buildfiles to expansion changeKaren Arutyunov5-5/+5
2016-11-25Adjust for literal here-document support in testscriptBoris Kolpackov3-24/+24
2016-11-23Fix broken ctor testKaren Arutyunov1-16/+8
2016-11-22Add support for build2 for tests and examplesKaren Arutyunov88-1274/+476
2016-11-15Start switch to build2Boris Kolpackov1-18/+0
2016-09-03Add auto-headings testBoris Kolpackov2-0/+27
2016-02-11Remove empty <th> from preface TOC entriesBoris Kolpackov1-3/+3
2016-02-11Assign numbers to TOC headingsBoris Kolpackov1-9/+9
2016-02-11Implement links in TOCBoris Kolpackov1-13/+17
2016-02-11Add support for ids in paragraphs, local fragment references in linksBoris Kolpackov2-31/+32
For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
2016-02-11First part of TOC generation support (no links yet)Boris Kolpackov2-0/+140
Currently only supported in the HTML output.
2016-01-26Implement support for sourcing .cli filesBoris Kolpackov1-0/+1
The idea is that the file is "read in" as if its content was copy-n-pasted. For example: "\h|Installation|" source "INSTALL.cli" // Also used to generate plain text INSTALL. Unlike include, source can appear anywhere in the file.
2012-05-11Add support for -I optionBoris Kolpackov1-1/+2
Now quote-included ("") option files are searched for relative to the including file while bracket-included (<>) ones are search in the directories specified with -I.
2012-05-11Fix lookup bugBoris Kolpackov1-3/+4
2012-05-10Implement option class inheritanceBoris Kolpackov17-10/+211
For now multiple, non-virtual inheritance is supported. An option class can now also be declared abstract using the class c = 0 {...}; syntax. New option, --exclude-base, controls whether base class information is present in usage and documentation.
2012-05-10Add support for options file inclusionBoris Kolpackov6-4/+23
New include-path prefixes, c++: and cli:, are now recognized (e.g., include <cli:foo>;). Without a prefix, the include declarations is considered to be c++-include unless the path ends with the .cli extension. The cli-included files are loaded and parsed. Currently, only inclusion relative to the current file is supported. Duplicate inclusions are detected and ignored based on the absolute filesystem path. If a file cli-includes another file, then the runtime code is assumed to come from the included file and is not generated.
2011-01-04Copyright updateBoris Kolpackov17-17/+17
2010-06-04Add support for single quotes in option filesBoris Kolpackov13-16/+45
2010-06-02Add support for quoting in option file scannerBoris Kolpackov9-1/+41
2010-06-02Implement generation of specifier functions (--generate-specifier)Boris Kolpackov4-1/+117
These functions determine whether the option was specified on the command line. New test: specifier.
2010-06-02Add cli options instead of overriding themBoris Kolpackov3-3/+1
2010-01-01Update copyrightBoris Kolpackov14-14/+14
2009-12-13Get rid of absolute paths in outputBoris Kolpackov3-5/+4
2009-12-10Scanner-based parsing with support for element erasingBoris Kolpackov19-1/+472
Also implement argv_file_scanner which provides support for reading command line arguments from the argv array as well as files specified with command line options. New examples: file. New tests: ctor, erase, file.
2009-12-10Cosmetic changesBoris Kolpackov2-2/+4
2009-11-08Implement option documentation support in frontendBoris Kolpackov3-1/+17
2009-11-08Add a test for multi-line string literalBoris Kolpackov2-0/+9
2009-10-28Fix test outputBoris Kolpackov2-3/+3