Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-02-20 | Remove a bunch of other redundant #includes | Nick Mathewson | |
Folks have found two in the past week or so; we may as well fix the others. Found with: \#!/usr/bin/python3 import re def findMulti(fname): includes = set() with open(fname) as f: for line in f: m = re.match(r'^\s*#\s*include\s+["<](\S+)[>"]', line) if m: inc = m.group(1) if inc in includes: print("{}: {}".format(fname, inc)) includes.add(m.group(1)) import sys for fname in sys.argv[1:]: findMulti(fname) | |||
2017-10-19 | Comment-only change: annotate exit() calls. | Nick Mathewson | |
Sometimes when we call exit(), it's because the process is completely hopeless: openssl has a broken AES-CTR implementation, or the clock is in the 1960s, or something like that. But sometimes, we should return cleanly from tor_main() instead, so that embedders can keep embedding us and start another Tor process. I've gone through all the exit() and _exit() calls to annotate them with "exit ok" or "XXXX bad exit" -- the next step will be to fix the bad exit()s. First step towards 23848. | |||
2017-10-19 | Mark some unreachable code in compat_winthreads.c as unreachable | Nick Mathewson | |
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-27 | Add a brief file-level description for everything in src/common | Nick Mathewson | |
2015-08-18 | Merge branch 'decouple_controller_events_squashed' | Nick Mathewson | |
2015-08-18 | Log meaningful messages before failing on windows with threadlocal. | Nick Mathewson | |
2015-08-18 | Use thread-local storage to block event_queue recursion. | Nick Mathewson | |
2015-07-30 | Wrap windows-only C files in #ifdef _WIN32 | Nick Mathewson | |
This should make some scripts and IDEs happier. | |||
2015-01-14 | Fix check-spaces | Nick Mathewson | |
2015-01-14 | "Recursive" locks, not "reentrant" locks. Duh. | Nick Mathewson | |
2015-01-14 | Fix windows compilation of condition code | Nick Mathewson | |
2015-01-14 | Rename mutex_for_cond -> mutex_nonreentrant | Nick Mathewson | |
We'll want to use these for other stuff too. | |||
2015-01-14 | Specialize handling for mutexes allocated for condition variables | Nick Mathewson | |
(These must not be reentrant mutexes with pthreads.) | |||
2015-01-14 | Add tor_cond_init/uninit | Nick Mathewson | |
2015-01-14 | Add a timeout to tor_cond_wait; add tor_cond impl from libevent | Nick Mathewson | |
The windows code may need some tweaks for it to compile; I've not tested it yet. | |||
2015-01-14 | Split threading-related code out of compat.c | Nick Mathewson | |
Also, re-enable the #if'd out condition-variable code. Work queues are going to make us hack on all of this stuff a bit more closely, so it might not be a terrible idea to make it easier to hack. |