aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-04Add stub directory-level documentation for most source directoriesNick Mathewson
This includes app, core, feature, lib, and tools, but excludes ext, test, and trunnel. This was generated by the following shell script: cd src for dname in $(find lib core feature app tools -type d |grep -v \\.deps$); do keyword="$(echo "$dname" |sed -e "s/\//_/" )" target="${dname}/${keyword}.dox" echo "$target" cat <<EOF >"$target" /** @dir ${dname} @brief ${dname} **/ EOF git add "$target" done
2019-11-03Add a stub main page for the documentation.Nick Mathewson
2019-11-03Doxygen: Better path handling.Nick Mathewson
This change tells doxygen to include all files not explicitly excluded, and to document paths along with filenames.
2019-11-03Doxygen: accept .dox as pure doxygen, and interpret everything as CNick Mathewson
2019-11-01Merge remote-tracking branch 'tor-github/pr/1480'Nick Mathewson
2019-11-01Doxyfile.in: switch to a tor-style green color scheme.Nick Mathewson
2019-10-31Merge branch 'tor-github/pr/1484'George Kadianakis
2019-10-31scripts/git: Restore a dropped check for pre-commit in pre-pushteor
Bugfix on 31919; not in any released version of Tor.
2019-10-31scripts/git: Print the correct path in git-setup-dirs.shteor
2019-10-31scripts/git: Don't use spaces in git URLsteor
2019-10-31doc: Add defaults for some transport optionsteor
2019-10-31config: Improve some function commentsteor
2019-10-31config: Give warn_about_relative_paths() const argsteor
Also gives make_path_absolute() const args. Obviously correct fixes to already reviewed code.
2019-10-30Merge remote-tracking branch 'tor-github/pr/1485'Nick Mathewson
2019-10-30circ: Add an handle to circuit_tDavid Goulet
Closes #32343 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-30Fix 32167: comment in config.cNick Mathewson
2019-10-31test: Fix a comment typo in src/test/test_hs_ntor.shteor
2019-10-31test: Fix a loop variable bug in test_parseconf.shteor
Obviously correct fixes to already reviewed code. No changes file required: not in any released version of tor.
2019-10-30Merge branch 'tor-github/pr/1468'David Goulet
2019-10-30hs-v2: Lookup intro failure cache when picking an intro from descriptorNeel Chauhan
When picking an intro point from the service descriptor, the client failed to lookup the failure cache. It made an HS v2 client re-pick bad intro points for which we already know it won't work in the first place. Based on Neel Chauhan original patch. Fixes #25568 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-30fs: Clarify an ambiguous comment about string/pointer equalityteor
2019-10-29Changes file for ticket 32277Taylor Yu
2019-10-29Reformat some options in tor.1.txtTaylor Yu
Reformat command line options in tor.1.txt to display as fixed-width in the HTML version. Based on a patch by Swati Thacker. Part of ticket 32277.
2019-10-29Reword command-options in tor.1.txtTaylor Yu
Reword the COMMAND-LINE OPTIONS section of tor.1.txt. Based on a patch by Swati Thacker. Part of ticket 32277.
2019-10-29Reword DESCRIPTION in tor.1.txtTaylor Yu
Reword the DESCRIPTION section of tor.1.txt. Based on a patch by Swati Thacker. Part of ticket 32277.
2019-10-29Move command-line conf option description earlierTaylor Yu
In tor.1.txt, move the paragraphs at the end of the COMMAND-LINE OPTIONS section earlier. This text describes how the user can specify configuration options on the command line. Also clarify some wording and formatting. Based on a patch by Swati Thacker. Part of ticket 32277.
2019-10-29Merge branch 'tor-github/pr/1456'George Kadianakis
2019-10-29app/config: Fix a comment typo in config.cteor
The options validation is now a callback. Bugfix on 31241; not in any released version of tor.
2019-10-29Merge branch 'maint-0.4.2'teor
2019-10-29Merge branch 'maint-0.4.1' into maint-0.4.2teor
2019-10-29Merge branch 'maint-0.4.0' into maint-0.4.1teor
2019-10-29Merge branch 'maint-0.3.5' into maint-0.4.0teor
2019-10-29Merge branch 'maint-0.2.9' into maint-0.3.5teor
2019-10-29Merge remote-tracking branch 'tor-github/pr/1460' into maint-0.2.9teor
2019-10-28changes: Add file for ticket 32196David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28ewma: Implement unit testsDavid Goulet
At this commit, 93.9% of line coverage and 95.5% of function coverage. Closes #32196 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28ewma: Move private struct into header private sectionDavid Goulet
Facilitate testing. Part of #32196. Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28test: Implement unit tests for circuitmux.cDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28test: Add fakecircs.{h|c} helperDavid Goulet
Fake circuits are created everywhere in the unit tests. This is an attempt at centralizing a "fake circuit creation" API like fakechans.c does for channel. This commit introduces fakecircs.c and changes test_relay.c and test_circpadding.c which were using roughly the same code. This will allow easier OR circuit creation for the future tests in test_circuitmux.c Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28test: Implement cmux allocate unit testDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28test: Remove circuitmux/destroy_cell_queue code duplicationDavid Goulet
This also rename a function to improve code clarity. Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28test: Add testcase setup object for test_cmuxDavid Goulet
Also remove a scheduler_init() from a test and MOCK the appropriate function so the test can pass. This is done in order to minimize initialization functions in the unit test and try to only go through the testcase setup object. Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28cmux: Move circuitmux_s object into header in private sectionDavid Goulet
Step needed in order to access members of the object for unit tests. Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28core: Add missing include in destroy_cell_queue_st.hDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-28nodelist: fix a comment typo in routerset.hteor
2019-10-28Merge branch 'tor-github/pr/1476'David Goulet
2019-10-28add missing docs in crypto_digest*Nick Mathewson
2019-10-28Merge branch 'config_macros_doc_cleanup'Nick Mathewson
2019-10-28scripts: Change to the top source directory as neededteor
Bugfix on 31919; not in any released version of tor.
2019-10-28practracker: Don't read editor temp filesteor
(Or any dot files.) Obviously correct changes to already-reviewed code.