aboutsummaryrefslogtreecommitdiff
path: root/src/lib/time
AgeCommit message (Collapse)Author
2019-09-30Re-run "make autostyle" with improved annotate_ifdef_directivesNick Mathewson
2019-09-10Merge branch 'bug31615_040' into bug31615_041teor
Merged modified lines from bug31615_040, and unmodified lines from maint-0.4.1.
2019-09-06subsys: Make the subsystem init order match the module dependenciesteor
Fix levels for subsystems that depend on log/err * winprocess (security) doesn't use err: * call windows process security APIs as early as possible * init err after winprocess * move wallclock so it's still after err * network and time depend on log: * make sure that network and time can use logging. * init network and time after log Add comments explaining the module init order. Fixes bug 31615; bugfix on 0.4.0.1-alpha.
2019-08-09Merge branch 'bug31343_31374_035' into bug31343_31374_040teor
2019-08-08Merge branch 'ticket31374_035' into maint-0.4.1Nick Mathewson
2019-08-08Merge branch 'ticket31374_029' into ticket31374_035Nick Mathewson
2019-06-05Run "make autostyle."Nick Mathewson
2019-05-02Add comments to include.am files to note where new sources goNick Mathewson
This mechanism isn't perfect, and sometimes it will guess wrong, but it will help our automation.
2019-04-12Merge branch 'tor-github/pr/754'George Kadianakis
2019-03-04doc: Fix an incorrect comment about calling FreeLibrary() on Windowsteor
There's an incorrect comment in compat_time.c that suggests we call FreeLibrary() before we're done using the library's functions. See 29642 for background. Closes ticket 29643.
2019-03-04doc: Improve the monotonic time module and function documentationteor
Explain what "monotonic" actually means, and document some results that have surprised people. Fixes bug 29640; bugfix on 0.2.9.1-alpha.
2019-01-16Bump copyright date to 2019Nick Mathewson
2019-01-16Bump copyright date to 2019.Nick Mathewson
2019-01-14Merge remote-tracking branch 'asn-github/adaptive_padding-final'Nick Mathewson
2019-01-11Include the beginnings of a FAQ about which timer to use.Nick Mathewson
2019-01-02Concentrate all TOR_USEC_PER_SEC definitions in a single header file.George Kadianakis
Co-authored-by: Mike Perry <mikeperry-git@torproject.org>
2019-01-02Circuit padding tests.George Kadianakis
Co-authored-by: George Kadianakis <desnacked@riseup.net>
2018-12-21Fix typo in time_sys.h.Alexander Færøy
2018-11-09Rename subsystem callback functions to make them consistentNick Mathewson
2018-11-05Move monotonic time setup into a subsystemNick Mathewson
2018-09-20Merge branch 'maint-0.3.4'Nick Mathewson
2018-08-19Rework predicted_ports_prediction_time_remaining() to fix CID 1438153rl1987
2018-07-10Rename torlog.[ch] to log.[ch]Nick Mathewson
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine.
2018-07-10File-level summary documentation for src/lib/*/*.[ch]Nick Mathewson
2018-07-03Fix up some windows compilation issues.Nick Mathewson
These were mostly cases where our previous macros had been casting, and the values that we were trying to printf were not in fact uint64_t.
2018-07-03Return U64_PRINTF_ARG and U64_FORMATNick Mathewson
The standard is printf("%"PRIu64, x);
2018-06-28Fix macOS includesTaylor Yu
Recent code movement from refactoring missed some includes that seem to be necessary on macOS.
2018-06-28Fix windows compilation in compat_timeNick Mathewson
We need to use lib/fs/winlib.h here so that we can use GetTickCount64. I would love to declare that XP is dead, and everybody has GetTickCount64.
2018-06-28fixup! Extract time functionality into lib/wallclock and lib/timeNick Mathewson
2018-06-28Extract time functionality into lib/wallclock and lib/timeNick Mathewson