1. 14 Jun, 2016 1 commit
  2. 31 May, 2016 4 commits
  3. 20 May, 2016 5 commits
  4. 26 Apr, 2016 1 commit
  5. 15 Apr, 2016 5 commits
  6. 11 Apr, 2016 1 commit
  7. 28 Dec, 2015 2 commits
  8. 25 Dec, 2015 2 commits
  9. 22 Dec, 2015 3 commits
    • Karsten Loesing's avatar
      Use StringBuilder correctly. · 77bea155
      Karsten Loesing authored
      We shouldn't call someStringBuilder.append(someString + "\n"), but
      rather someStringBuilder.append(someString).append("\n"), or Java will
      internally build another StringBuilder for the + part.
      Suggested by iwakeh, implements #17830.
    • Karsten Loesing's avatar
      Use Java 7's switch-on-String wherever possible. · 2b4d7732
      Karsten Loesing authored
      Rather than writing chained if-else statements with String comparison
      for equals(), we can now switch on a String instance.
      Suggested by iwakeh, implements #17824.
    • Karsten Loesing's avatar
      Use Java 7's diamond operator wherever possible. · ce187179
      Karsten Loesing authored
      In many cases, the compiler will now infer which parameter types a new
      object shall have, which allows us to make our code less verbose.
      Suggested by iwakeh, implements #17823.
  10. 17 Dec, 2015 3 commits
  11. 15 Dec, 2015 2 commits
    • Karsten Loesing's avatar
      Allow to distinguish between relay and bridge descriptors. · 957d57be
      Karsten Loesing authored
      So far, we did not distinguish between relay and bridge descriptors in
      the case of server descriptors and extra-info descriptors.  This works
      just fine, because we tried hard to re-use existing keywords in relay
      descriptors for sanitized contents in bridge descriptors to facilitate
      However, some applications process both relay and bridge descriptors
      and need to add workarounds for distinguishing between the two.  For
      example, they couldn't just read the contents of CollecTor's recent/
      directory, because they wouldn't be able to know whether a
      ServerDescriptor instance was published by a relay or bridge.  Or even
      worse, if an application expects a given directory to contain relay
      descriptors and that directory suddenly contains bridge descriptors,
      that application wouldn't notice.
      This change adds new interfaces to distinguish between relay and
      bridge descriptors.  It still supports the existing two interfaces
      that don't make this distinction.  Those two interfaces are not
      deprecated, because it's okay if an application does not care whether
      a descriptor was published by a relay or bridge.
      This change is in parts based on a discussion with atagar.  Thanks!
      Implements #17000.
    • iwakeh's avatar
      Introduce a new ExitList.Entry type. · b50e961a
      iwakeh authored
      Patch for #17821
  12. 12 Dec, 2015 1 commit
  13. 10 Dec, 2015 1 commit
  14. 05 Dec, 2015 2 commits
  15. 04 Dec, 2015 1 commit
  16. 02 Dec, 2015 2 commits
  17. 27 Nov, 2015 4 commits