Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-24 | Fix comment: ___ options are now that way because of the INVISIBLE flag. | Nick Mathewson | |
2019-08-22 | Merge branch 'ticket30935' into ticket30935_merged | Nick Mathewson | |
2019-08-20 | Merge branch 'ticket30914' into ticket30914_merged | Nick Mathewson | |
2019-08-19 | Merge branch 'maint-0.4.1' | Nick Mathewson | |
2019-08-19 | Merge branch 'maint-0.4.0' into maint-0.4.1 | Nick Mathewson | |
2019-08-19 | Merge branch 'maint-0.3.5' into maint-0.4.0 | Nick Mathewson | |
2019-08-19 | Merge branch 'maint-0.2.9' into maint-0.3.5 | Nick Mathewson | |
2019-08-12 | Merge branch 'maint-0.3.5' into maint-0.4.0 | teor | |
2019-08-12 | Merge remote-tracking branch 'tor-github/pr/1066' into maint-0.3.5 | teor | |
2019-08-12 | Merge remote-tracking branch 'tor-github/pr/1065' into maint-0.3.5 | teor | |
2019-08-12 | Merge remote-tracking branch 'tor-github/pr/1020' into maint-0.3.5 | teor | |
2019-07-24 | Remove src/core/ and src/feature dependencies from confparse.c | Nick Mathewson | |
This C file will eventually belong in lib/confmgt, so it needs to have only low-level dependencies. Now that it no longers needs routerset.c, we can adjust its includes accordingly. I'm not moving the file yet, since it would make fixup commits on earlier branches here really hard to do. | |||
2019-07-24 | Make config_var and config_fmt const. | Nick Mathewson | |
Now that we have a reasonable implementation for overriding the default options for TestingTorNetwork, we don't need to modify config_var_t structs any more. And therefore, we can have constant format options, like reasonable people. | |||
2019-07-24 | Refactor handling of TestingTorNetwork | Nick Mathewson | |
Previously, when TestingTorNetwork was set, we would manually adjust the initvalue members of a bunch of other config_var_t, and then re-run the early parts or parsing the options. Now we treat the initvalue fields as immutable, but instead assign to them in options_init(), as early as possible. Rather than re-running the early parts of options, we just re-call the options_init_from_string() function. This patch de-kludges some of our code pretty handily. I think it could later handle authorities and fallbacks, but for now I think we should leave those alone. | |||
2019-07-23 | Merge branch 'tor-github/pr/1116' | David Goulet | |
2019-07-01 | Merge branch 'maint-0.4.1' | Nick Mathewson | |
2019-07-01 | Merge branch 'maint-0.3.5' into maint-0.4.0 | Nick Mathewson | |
2019-07-01 | Merge branch 'maint-0.2.9' into maint-0.3.5 | Nick Mathewson | |
2019-07-01 | Merge branch 'maint-0.4.0' into maint-0.4.1 | Nick Mathewson | |
2019-06-26 | Merge branch 'tor-github/pr/1114' into maint-0.4.1 | George Kadianakis | |
2019-06-25 | Make "invisibility" and "undumpability" properties of variables. | Nick Mathewson | |
Previously, these were magical things that we detected by checking whether a variable's name was prefixed with two or three underscores. | |||
2019-06-25 | Turn several properties of types or variables into flags. | Nick Mathewson | |
"unsettable" is a property of types. LINELIST_V and OBSOLETE are unsettable, meaning that they cannot be set by name. "contained" is a property of types. I'm hoping to find a better name here. LINELIST_S is "contained" because it always appears within a LINELIST_V, and as such doesn't need to be dumped ore copied independently. "cumulative" is a property of types. Cumulative types can appear more than once in a torrc without causing a warning, because they add to each other rather than replacing each other. "obsolete" is a property of variables. "marking fragile" is now a command that struct members can accept. With these changes, confparse and config no longer ever need to mention CONFIG_TYPE_XYZ values by name. | |||
2019-06-25 | Add a function to make sure all values in a config object are ok | Nick Mathewson | |
2019-06-25 | Extend macros to allow flag arguments. | Nick Mathewson | |
2019-06-25 | Use structvar to find the types for config vars. | Nick Mathewson | |
2019-06-25 | Use struct_var_{copy,eq} in confparse.c. | Nick Mathewson | |
2019-06-25 | Move responsibility for config var macros | Nick Mathewson | |
The testing-only parts now live in a conftesting.h; the shared parts of the macros live in confmacros.h | |||
2019-06-25 | Use struct_magic_decl to verify magic numbers in config objects | Nick Mathewson | |
2019-06-25 | Move config_var_t info conftypes.h | Nick Mathewson | |
2019-06-25 | Port confparse to use struct_var in place of typed_var. | Nick Mathewson | |
This requires changes to config_var_t, causing corresponding changes throughout its users. | |||
2019-06-24 | Partially port routerset to being a full-fledged config type again. | Nick Mathewson | |
2019-06-24 | Add a "typed_var" abstraction to implement lvalue access in C. | Nick Mathewson | |
Right now, this has been done at a high level by confparse.c, but it makes more sense to lower it. This API is radically un-typesafe as it stands; we'll be wrapping it in a safer API as we do #30914 and lower the struct manipulation code as well. Closes ticket 30864. | |||
2019-06-24 | Move unit-parsing code to src/lib/confmgt | Nick Mathewson | |
lib/confmgt is at a higher level than lib/conf, since it needs to call down to logging and similar modules. | |||
2019-06-24 | Start moving types that will be used for config vars to lib/conf | Nick Mathewson | |
This will be a lower-level module than anything that actually sets or handles configuration variables. Part of 30864. | |||
2019-06-15 | Merge branch 'bug30894_035' into ticket30893 | Nick Mathewson | |
2019-06-15 | Add more unit tests for confparse.c, so we can refactor. | Nick Mathewson | |
This set of tests gets the line coverage to 100%. | |||
2019-06-15 | Fix memleak when failing to parse a CSV_INTERVAL. | Nick Mathewson | |
Fixes bug 30894; bugfix on 0.3.4.1-alpha | |||
2019-06-15 | Remove the PORT configuration type: nothing uses it. | Nick Mathewson | |
All of our port configurations now use an extended format. | |||
2019-06-15 | Renaming: CONFIG_TYPE_UINT -> CONFIG_TYPE_POSINT | Nick Mathewson | |
This name has been a historical source of confusion, since "uint" usually suggests "unsigned int" to people, when the real type is "nonnegative int". | |||
2019-06-11 | Merge branch 'tor-github/pr/1031' | David Goulet | |
2019-06-11 | Merge branch 'tor-github/pr/1065' into maint-0.4.1 | George Kadianakis | |
2019-06-05 | Merge remote-tracking branch 'tor-github/pr/1020' into maint-0.4.0 | Nick Mathewson | |
2019-06-05 | Run "make autostyle." | Nick Mathewson | |
2019-05-31 | Merge branch 'bug29875_035' into bug29875_master | Nick Mathewson | |
2019-05-31 | Consider dir info to have changed when the bridges change | Nick Mathewson | |
Otherwise, we won't realize that we haven't got enough bridge information to build circuits. Part of a fix for ticket 29875. | |||
2019-05-31 | Fix a logic error in deciding whether to accept SessionGroup= | Nick Mathewson | |
Fixes bug 22619; bugfix on 0.2.7.2-alpha | |||
2019-05-16 | Prop 301: No longer vote on RecommendedPackages | Iain R. Learmonth | |
This is the first half of implementing proposal 301. The RecommendedPackages torrc option is marked as obsolete and the test cases for the option removed. Additionally, the code relating to generating and formatting package lines in votes is removed. These lines may still appear in votes from other directory authorities running earlier versions of the code and so consensuses may still contain package lines. A new consensus method will be needed to stop including package lines in consensuses. Fixes: #28465 | |||
2019-05-14 | Merge branch 'ticket30452_035_v3' into ticket30452_041_v3 | Nick Mathewson | |
2019-05-14 | Add a --list-modules command | Nick Mathewson | |
Closes ticket 30452. | |||
2019-05-13 | Merge branch 'bug28683_30173_29203_squashed' | Nick Mathewson | |