aboutsummaryrefslogtreecommitdiff
path: root/src/lib/intmath/cmp.h
AgeCommit message (Collapse)Author
2021-03-12Update copyrights to 2021, using "make update-copyright"Nick Mathewson
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-12-13Change interaction between dormant mode and clock jumps.Nick Mathewson
When the clock jumps, and we have a record of last user activity, adjust that record. This way if I'm inactive for 10 minutes and then the laptop is sleeping for an hour, I'll still count as having been inactive for 10 minutes. Previously, we treat every jump as if it were activity, which is ridiculous, and would prevent a Tor instance with a jumpy clock from ever going dormant.
2018-07-01File-level documentation for some of src/lib.Nick Mathewson
2018-06-28Move MIN and MAX into lib/intmath/cmp.hNick Mathewson
2018-06-22Extract simple integer math into its own moduleNick Mathewson