aboutsummaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
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.
2018-07-05Start splitting src/orNick Mathewson
This is a very gentle commit that just lays the groundwork in the build system: it puts the include files to build libtor-app.a into src/core, and to build the tor executable into src/app. The executable is now "src/app/tor".
2018-07-05Clean up include paths for libtor-evloop (automated)Nick Mathewson
2018-07-05Remove util.hNick Mathewson
Inline its contents (which were all includes) into or.h, and some of its contents into other places that didn't include or.h at all.
2018-07-05Move address_set to src/orNick Mathewson
This is temporary, until src/or is split. Putting this in containers would be another logical alternative, except that addresses depend on containers, and we don't like cycles.
2018-07-05Move socks5_status.h to src/lib/netNick Mathewson
There might be a better place for it in the long run, but this is the best I can think of for now.
2018-07-05Move handles.h to src/lib/containerNick Mathewson
There might be a better place for it in the long run, but this is the best we can think of for now.
2018-07-03Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-03Merge remote-tracking branch 'github/ticket26626'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-03Retire U64_TO_DBL and DBL_TO_U64Nick Mathewson
These were necessary long ago to work around a bug in VC6.
2018-07-03Return U64_PRINTF_ARG and U64_FORMATNick Mathewson
The standard is printf("%"PRIu64, x);
2018-07-03Replace U64_LITERAL with the standard UINT64_CNick Mathewson
2018-07-03Use the standard SHRT_MAX name.Nick Mathewson
2018-07-03Clean up various things that broke with our stdint.h changesNick Mathewson
Casting before printf was necessary; now it's not so smart. We don't have SIZEOF_UINT8_T any more.
2018-07-02Partially revert "Use tor_addr_from_getsockname() in several places"Nick Mathewson
This reverts part of commit 6ed384b827dce21ea3a44b587, in order to fix bug 26568. Bugfix on 0.3.4.1-alpha.
2018-07-02Merge branch 'mikeperry_bug26214-rebased_squashed' into maint-0.3.4Nick Mathewson
2018-07-01fixup! Extract or_options_t from or.hNick Mathewson
2018-07-01fixup! Remove system headers from or.hNick Mathewson
2018-07-01Remove system headers from or.hNick Mathewson
2018-07-01Extract or_options_t from or.hNick Mathewson
I decided to have this file included from config.h, though, since it is used nearly everywhere.
2018-07-01Extract or_state_t to its own header.Nick Mathewson
Fewer modules needed this than I had expected.
2018-07-01Pull a couple more enums from or.hNick Mathewson
2018-07-01Move ext_or_cmd_t to proto_ext_orNick Mathewson
2018-07-01Extract more constants from or.hNick Mathewson
2018-07-01Extract addr_policy_t into a new header.Nick Mathewson
2018-07-01Extract various enums and tiny structs from or.hNick Mathewson
These all have a logical header to go in.
2018-07-01Minimize headers that include crypto_formats and x25519 stuffNick Mathewson
2018-07-01Remove other needless includes include from or/*.hNick Mathewson
2018-07-01Remove needless includes from or.hNick Mathewson
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*.
2018-07-01Combine DH_BYTES and DH_KEY_LEN; put them in a lib/defs header.Nick Mathewson
2018-07-01Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-07-01Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-01Merge remote-tracking branch 'dgoulet/bug26523_033_01' into maint-0.3.3Nick Mathewson
2018-07-01Tabify all of the .am files.Nick Mathewson
2018-06-29Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-29Restor EOL@EOF in routerlist.cNick Mathewson
2018-06-29Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson
2018-06-29Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-06-29Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-29Merge remote-tracking branch 'ahf-github/maint-0.3.2' into maint-0.3.2Nick Mathewson
2018-06-29Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-29Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson
2018-06-29Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-06-29Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2018-06-29Merge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1Nick Mathewson
2018-06-29Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1Nick Mathewson
2018-06-29Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-29Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-06-29Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson