summaryrefslogtreecommitdiff
path: root/src/app/main/ntmain.c
AgeCommit message (Collapse)Author
2021-03-28Add long format name --torrc-file for command line option -f. #40324Daniel Pinto
2021-03-12Update copyrights to 2021, using "make update-copyright"Nick Mathewson
2020-07-13Bug 31812: Change http URL's to httpsJeremyRand
2020-01-17Initialize publish/subscribe code when running as an NT service.Nick Mathewson
Fixes bug 32778; bugfix on 0.4.1.1-alpha.
2020-01-17Revert "Restore feature where nt-services detect non-"run_tor" modes."Nick Mathewson
This reverts commit 5c240db0bf7751d74ba438a1ca4ef0d051a53df7.
2020-01-14Merge branch 'ticket32883'Nick Mathewson
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2020-01-06Restore feature where nt-services detect non-"run_tor" modes.Nick Mathewson
Followup for #32883.
2019-11-07ntmain: make service_fns struct anonymous.Nick Mathewson
2019-10-17Rename CMD_OTHER to CMD_IMMEDIATENick Mathewson
2019-10-17Make the command-line parser understand "commands".Nick Mathewson
Previously these were implemented with a search in options_init_from_torrc(), but that led to each option being declared more than needed: once to say that it was a valid option, and once to say what it meant.
2019-06-11Free a string buffer in nt_service_install()Xiaoyin Liu
The string buffer "command" is not freed if the specified account name doesn't exist. This patch fixes this bug.
2019-03-26Merge branch 'messaging_v3' into messaging_v3_mergedNick Mathewson
2019-03-25practracker: split shutdown code out of main.cNick Mathewson
This is necessary to get the number of includes in main.c back under control. (In the future, we could just use the subsystem manager for this kind of stuff.)
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-12-18Call run_tor_main_loop() in ntmain.c, rather than do_main_loop().Nick Mathewson
Fixes bug 28612; bugfix on 0.3.5.3-alpha.
2018-09-21Missing include in ntmain.cNick Mathewson
2018-09-21Split main.c into main.c and mainloop.cNick Mathewson
The main.c code is responsible for initialization and shutdown; the mainloop.c code is responsible for running the main loop of Tor. Splitting the "generic event loop" part of mainloop.c from the event-loop-specific part is not done as part of this patch.
2018-07-05Fix every include path changed in the previous commit (automated)Nick Mathewson
I am very glad to have written this script.
2018-07-05Move literally everything out of src/orNick Mathewson
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so.