summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Provide 'equals' and 'hashCode' implementations.task-25103iwakeh2018-01-31
|
* Reduce memory footprint of log lines.iwakeh2018-01-31
| | | | | | Also make validation optional for internal web log constructor. CollecTor uses this for storing freshly sanitized logs, which don't need to be validated a second time.
* fixup! Store size as simple int.nextiwakeh2018-01-31
|
* Use enum for request method.iwakeh2018-01-31
|
* Store size as simple int.iwakeh2018-01-31
|
* Prepare date strings lazily in order to improve performance.iwakeh2018-01-31
|
* Prepare for 2.2.0 release.Karsten Loesing2018-01-31
|
* Add new descriptor type for web server access logs.iwakeh2018-01-31
| | | | | Implements task-22983 and is based on the log-descriptor specification.
* Added package-info.iwakeh2018-01-31
|
* Added a space.iwakeh2018-01-31
|
* Update copyright to 2018.Karsten Loesing2018-01-09
|
* Update to latest metrics-base.Karsten Loesing2017-12-04
|
* Update to latest metrics-base.Karsten Loesing2017-10-26
|
* Bump version to 2.1.1-dev.Karsten Loesing2017-10-17
|
* Prepare for 2.1.1 release.Karsten Loesing2017-10-09
|
* Write build revision to index.json files.iwakeh2017-10-06
| | | | | Implements part of task-21414. Adapt IndexNode to supply a revision.
* Adapt all links in overview.html.task-23597iwakeh2017-09-15
| | | | | Implement task-23597. Reflect changes of links in Trac module names and Metrics' website.
* Bump version to 2.1.0-dev.Karsten Loesing2017-09-15
|
* Prepare for 2.1.0 release.Karsten Loesing2017-09-15
|
* Update to Java 8.Karsten Loesing2017-09-15
|
* Update to latest metrics-base.Karsten Loesing2017-09-05
| | | | | But override the switch from Java 7 to 8 until all metrics libraries depending on metrics-lib have upgraded to Java 8 first.
* Avoid internal packages' javadoc in public javadoc API.iwakeh2017-08-29
|
* Fix javadoc in Descriptor.iwakeh2017-08-15
|
* Move FileType and add PLAIN FileType for no compression.iwakeh2017-08-15
|
* Removed javadoc links to removed interfaces.iwakeh2017-07-28
|
* Avoid compiler warnings in test classes.iwakeh2017-07-28
|
* Add tests for Descriptor methods. Implements task-22912.iwakeh2017-07-28
| | | | | | The different tests have separate methods for clarity when tests fail. This is more important than the additional overhead of repeated iteration over the test-descriptors, which are kept small.
* Add test for #22912.Karsten Loesing2017-07-14
|
* Retain trailing newline in Torperf results.Karsten Loesing2017-07-13
| | | | Fixes #22912.
* Avoid non-ASCII characters in expected messages.Karsten Loesing2017-07-03
| | | | | This currently breaks Jenkins build, which is not exactly our fault but Jenkin's. But this is test code, so it's easier to just adapt.
* Update to Debian stretch libraries.Karsten Loesing2017-07-03
|
* Bump version to 2.0.0-dev.Karsten Loesing2017-06-28
| | | | | Also include missing change log entry that was supposed to go into 2.0.0.
* Prepare for 2.0.0 release.Karsten Loesing2017-06-28
|
* Rename jar files and release tarball.iwakeh2017-06-28
|
* Rename 'DescripTor' to 'Tor Metrics Library' as part of task-22732.task-22732iwakeh2017-06-26
|
* All examples compile and work as explained in Metrics' web-site tutorials.task-22734iwakeh2017-06-26
| | | | | Added a hint about where to find the examples to the README.md file. Implements task-22734.
* Tweak tests for removing deprecated code for #22154.Karsten Loesing2017-06-26
| | | | | | | | | | | | | | | This patch makes the following changes: - Remove now unused import in DescriptorParser. - Rename methods in DescriptorParserImpl to please checkstyle. - Tweak a few things in DescriptorReaderImplTest, including accepting varargs for dirs and putting back expected excluded files. - Remove tests that were previously testing deprecated methods which are now gone. - Change the two tests ending in NoDescriptors() back so that they really don't read any descriptors. - Put back tests for unrecognized lines, but don't expect DescriptorParseExceptions anymore and instead check getUnrecognizedLines().
* Remove more deprecated code for #22154.Karsten Loesing2017-06-26
| | | | | | | | | | | | | | | This patch makes the following changes: - Remove (non-deprecated) method DescriptorParser#parseDescriptors(byte[], String) which we clearly forgot to deprecate earlier and which we shouldn't support in the future. It returns a List (rather than Iterable) and throws DescriptorParseException rather than include UnparseableDescriptor in the result. Might deserve an extra notice in the change log. - Put back a few lines `this.unrecognizedLines.add(line);` which got lost in previous commits. - Remove `failUnrecognizedDescriptorLines` parameters everywhere. - Remove more obsolete code from DescriptorReaderImpl. - Remove now obsolete attribute oldExitListEntries from ExitListImpl.
* Make tests pass again.task-22154iwakeh2017-06-23
| | | | | (one still fails: testDirectorySignaturesLinesTwoAlgorithms in RelayNetworkStatusVoteImplTest) Part of task-22154.
* Make tests and benchmark compile; tests fail currently.iwakeh2017-06-23
| | | | Part of task-22154.
* Remove all deprecation warnings. Test might not compile yet.iwakeh2017-06-23
| | | | Part of task-22154.
* Always use UTF-8 as charset.Karsten Loesing2017-06-23
| | | | Implements #21932.
* Remove custom ImplementationNotAccessibleException.Karsten Loesing2017-06-22
| | | | Implements #22476.
* Bump version to 1.9.0-dev.Karsten Loesing2017-06-21
|
* Prepare for 1.9.0 release.Karsten Loesing2017-06-20
|
* Add new method to retrieve raw descriptor length.Karsten Loesing2017-06-20
| | | | | | | | | When we switched from storing copies of byte[] to storing byte[] references, offset, and length, getRawDescriptor() suddenly became more expensive than before. (Before that, copying bytes in the first place was always expensive.) If an application only calls Descriptor#getRawDescriptorBytes() to learn the array length, there's now a more efficient way to provide that information.
* Make DescriptorFile obsolete.Karsten Loesing2017-06-20
| | | | | | | | | | | | | | | | | | | | This change simplifies the DescriptorReader interface and allows for shorter and more concise application code. The result is that DescriptorReader returns Descriptor instances rather than DescriptorFile instances containing Descriptors and accepts a maximum queue size in Descriptors, DescriptorFile is deprecated, and Descriptor contains a File reference to the descriptor file. Implements #22141. Related to this change, this commit introduces a new UnparseableDescriptor to be returned by DescriptorParser and DescriptorReader if a descriptor cannot be parsed, as opposed to throwing a DescriptorParseException or skipping the entire descriptor file (fixes #22139), respectively. Also related to this change, DescriptorParser now returns an Iterable instead of a List, which prepares parsing large descriptor files descriptor by descriptor (will be tackled in #20395).
* Rename two parse* methods to verify*.Karsten Loesing2017-06-19
|
* Change encoding of microdescriptor digests in network status entries.Karsten Loesing2017-06-17
| | | | Fixes #22640.
* Add a test for the encoding of microdescriptor digests in votesKarsten Loesing2017-06-17
|