summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use timeout of one minute for fetching index.task-24290iwakeh2018-03-19
| | | | | | | This is set for connect as well as read and can be overridden by system properties sun.net.client.default<Connect|Read>Timeout. Implements task-24290.
* Add change log entry for #25526.Karsten Loesing2018-03-19
|
* Override logLines method from LogDescriptor.task-25526iwakeh2018-02-26
|
* Bump version to 2.2.0-dev.Karsten Loesing2018-02-26
|
* Prepare for 2.2.0 release, again.Karsten Loesing2018-02-26
|
* Accomodate logs with more than Integer.MAX_VALUE lines.iwakeh2018-02-26
| | | | Implements task-23046.
* Enable handling of larger (> 2G) log files.task-25329iwakeh2018-02-16
| | | | | | | | | | | As log files can be compressed very efficiently log descriptor raw bytes contain the compressed bytes. Added methods for accessing uncompressed log content, as well as stream based methods for decompression and compression in class FileType. Adapted all tests to the changes. Implements task-25329.
* Add log line interfaces and access methods.iwakeh2018-02-16
| | | | | For both the general LogDescriptor and extension WebServerAccessLog. Include some new tests.
* Add log message reporting progress reading tarballs.Karsten Loesing2018-02-06
| | | | Implements #22990.
* Prepare for 2.2.0 release.Karsten Loesing2018-02-05
|
* Fail early when 'null' values are added.iwakeh2018-02-05
| | | | | | And, allow for roughly a years worth of entries in dateMap and requestMap before re-hashing by setting initial capacity. Defaults are fine for the small ipMap and protocolMap.
* Use 'putIfAbsent'.iwakeh2018-02-05
|
* Provide 'equals' and 'hashCode' implementations.iwakeh2018-02-05
|
* Reduce memory footprint of log lines.iwakeh2018-02-05
| | | | | | 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.
* Use enum for request method.iwakeh2018-02-05
|
* Store size as simple int.iwakeh2018-02-05
|
* Prepare date strings lazily in order to improve performance.iwakeh2018-02-05
|
* 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.