Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-16 | Fix a shellcheck warning in test_parseconf.sh. | Nick Mathewson | |
I wonder why this didn't show up before. | |||
2019-09-16 | sort and coalesce some changelog sections | Nick Mathewson | |
2019-09-16 | Run format-changelog, add a stub blurb. | Nick Mathewson | |
2019-09-16 | Start a changelog for 0.4.2.1-alpha | Nick Mathewson | |
This commit sorts the changes files using sortChanges, and inserts them into a changelog entry. | |||
2019-09-16 | Merge branch 'tor-github/pr/1316' | George Kadianakis | |
2019-09-16 | Merge branch 'tor-github/pr/1324' | George Kadianakis | |
2019-09-16 | Merge branch 'tor-github/pr/1273' | George Kadianakis | |
2019-09-16 | Merge branch 'tor-github/pr/1318' | George Kadianakis | |
2019-09-14 | test_parseconf.sh: On --dump-config failure, --verify-config | Nick Mathewson | |
2019-09-14 | Add a test with many non-default options. | Nick Mathewson | |
2019-09-14 | Add a few error test cases | Nick Mathewson | |
2019-09-14 | Add an integration test for %include. | Nick Mathewson | |
2019-09-14 | test_parseconf: run each test from inside its directory. | Nick Mathewson | |
We need this to test includes and relative paths. | |||
2019-09-14 | Add a changes file for ticket 31637. | Nick Mathewson | |
2019-09-14 | Add test for +Option, /Option, and Option | Nick Mathewson | |
Here we use these directives to replace, extend, or clear values in torrc.defaults and in torrc. | |||
2019-09-14 | Move our first 3 example conf_examples to named directories | Nick Mathewson | |
I'm not planning to use "example" as the name for all of them, but these first three _are_ simple examples. | |||
2019-09-14 | Add a test script to try parsing and encoding Tor configurations | Nick Mathewson | |
This script takes a set of example torrcs and command-lines from src/test/conf_examples. If a success is expected, it runs "tor --dump-config" and compares the result with the one we expect. If a failure is expected, it runs "tor --verify-config" and greps for the error we expect. | |||
2019-09-13 | Detect overflow or underflow on double config values. | Nick Mathewson | |
Any floating point value too positive or negative to distinguish from +/-Inf, or too small to distinguish from +/-0, is an over/underflow. | |||
2019-09-12 | Merge branch 'tor-github/pr/1319' | David Goulet | |
2019-09-12 | Merge branch 'tor-github/pr/1285' | David Goulet | |
2019-09-12 | Merge branch 'tor-github/pr/1303' | George Kadianakis | |
2019-09-12 | Merge branch 'tor-github/pr/1299' | George Kadianakis | |
2019-09-12 | Workaround for GCC "note" about "variable tracking size limit" | Nick Mathewson | |
GCC complains that we are using too many variables here, probably because of the sheer number of locals used for our tinytest macros. Eventually we should fix that (see 30968), but this commit just makes the "note" go away by splitting the test function into two. | |||
2019-09-12 | Remove variable declarations from macros in test_addr_parse() | Nick Mathewson | |
Instead, put them in the function itself. This is an attempt to fix the gcc warning about the "variable tracking size limit exceeded". | |||
2019-09-12 | Merge remote-tracking branch 'tor-github/pr/1300' | Nick Mathewson | |
2019-09-11 | Changes file for ticket31626 (confparse.[ch] move) | Nick Mathewson | |
2019-09-11 | Update include.am files to refer to new location of confparse.[ch] | Nick Mathewson | |
Tests should now pass again. | |||
2019-09-11 | Update #includes to point to confparse.h in its new location. | Nick Mathewson | |
This commit was automatically generated by running scripts/maint/rectify_include_paths.py . | |||
2019-09-11 | Move confparse.[ch] into src/lib/confmgt/ | Nick Mathewson | |
This commit only does code movement, and does not clean up after itself. As such, it will break compilation. I'm separating it for ease of review. | |||
2019-09-11 | Add new entries to lib/confmgt ".may_include" file | Nick Mathewson | |
confparse.[ch] will need these; checkIncludes confirms that we have not introduced a cycle. | |||
2019-09-11 | Merge branch 'tor-github/pr/1296' | David Goulet | |
2019-09-11 | Document inconsistent usage of config_var_is_listable() | Nick Mathewson | |
See also ticket 31654. | |||
2019-09-11 | Extract common list of flags to use for obsolete variables. | Nick Mathewson | |
2019-09-11 | Clarify documentation on config_var_is_listable() | Nick Mathewson | |
Here we make it clear we're only looking at listable variable names, not at whether the variables themselves are gettable. Also, remove an extraneous h. (This commit is not a fixup, because of rebase conflicts.) | |||
2019-09-11 | Add test_cmdline.sh to distribution. | Nick Mathewson | |
2019-09-11 | integration test for --list-torrc-options | Nick Mathewson | |
(This option tests our existing behavior, not necessarily the most sensible behavior.) | |||
2019-09-11 | Test: Make sure NOLIST options are not listed. | Nick Mathewson | |
2019-09-11 | Changes file for 31625 (config flag refactor) | Nick Mathewson | |
2019-09-11 | Revise documentation on CFLG_* flags | Nick Mathewson | |
2019-09-11 | Remove all CVFLAG_* usage. | Nick Mathewson | |
2019-09-11 | Remove all VTFLAG_* usage. | Nick Mathewson | |
2019-09-11 | confparse, conftypes: Replace flags with their new names. | Nick Mathewson | |
The old names remain as #defines that cause variables to get one or more flags. Now every flag-testing function in confparse.c tests exactly one flag. | |||
2019-09-11 | Replace low-level {var_type,struct_var}_is_*() with flag inspection | Nick Mathewson | |
Since the flags are now stored with compatible numbering, we can just OR them together and see whether the flag we want is in the result. (Net code removal!) | |||
2019-09-11 | Re-number VTFLAG_* values so they don't conflict with CVFLAG_* | Nick Mathewson | |
2019-09-11 | Move VTFLAG_* declarations to conftypes.h | Nick Mathewson | |
2019-09-11 | typed_var: Make flags into an unsigned OR of bits. | Nick Mathewson | |
Using a bitfield here will enable us to unify the var_type_def_t flags with the config_var_t flags. (This commit does not yet do that unification, and does not yet rename or refactor any flags. It only changes booleans into bits.) | |||
2019-09-11 | struct_var: refactor struct_var_is*() functions to delegate | Nick Mathewson | |
Previously they checked the individual flags inside var_type_def_t; now they call the appropriate var_type_is_*() functions. (These functions will be removed entirely by the end of this branch.) | |||
2019-09-11 | config: make config_var_is_dumpable static. | Nick Mathewson | |
2019-09-11 | config: rename "contained" to "derived", and explain it better. | Nick Mathewson | |
Don't use "derived" directly, but check its implications for listing and copying. | |||
2019-09-11 | config: Introduce the concept of an "ungettable" variable. | Nick Mathewson | |
We had though to make all obsolete and invisible variables ungettable, so that GETCONF would reject them. But it turns out that this isn't the current behavior of GETCONF with those variables. So for now, I'm leaving the current behavior unchanged. (See ticket 31647 for a proposal to change the behavior.) |