Adeeb Shihadeh
6f88ca1c6f
MultiLogIterator: add function to reset
...
old-commit-hash: c95ec211e1
2022-03-25 19:56:22 -07:00
Adeeb Shihadeh
8a682597ca
can_print_changes improvements
...
old-commit-hash: 1680f1e251
2022-03-10 14:32:19 -08:00
Greg Hogan
0b659ce9b6
eliminate xx filereader ( #23514 )
...
* eliminate xx filereader
* framereader cleanup
old-commit-hash: d5f4fdb1db
2022-01-13 15:56:54 -08:00
Adeeb Shihadeh
ba30137b2a
MultiLogIterator: fix after adding sort_by_time
...
old-commit-hash: bbb47dc860
2022-01-02 20:08:57 -08:00
Adeeb Shihadeh
c036e64c86
MultiLogIterator: remove wraparound mode ( #23360 )
...
old-commit-hash: 92f194decc
2022-01-02 15:16:44 -08:00
Greg Hogan
2f843c3023
LogReader: add arg to sort by time ( #23346 )
...
* logreader optional sort by time
* robust logreader sort by time option
old-commit-hash: 9992ea1ae8
2022-01-02 11:56:53 -08:00
Ewout ter Hoeven
f206ebd054
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
old-commit-hash: 332f568a82
2021-12-24 11:18:39 -08:00
Adeeb Shihadeh
0827af77e5
MultiLogIterator: default wraparound to false
...
old-commit-hash: c8356d3b8f
2021-12-02 08:14:48 -08:00
Adeeb Shihadeh
6c90a5d445
logreader: remove log path print
...
old-commit-hash: 01b99eae35
2021-11-29 13:44:20 -08:00
Greg Hogan
44f03a9401
fix log values with non-utf8 characters and remove index_log ( #20173 )
...
* remove index_log
* handle non-unicode characters in values
* dump.py better handling of printing non-unicode characters
* only replace errors in main
old-commit-hash: 78808961c5
2021-03-01 13:03:44 -08:00
Greg Hogan
d200f048b7
fix pylint errors
...
old-commit-hash: 1e6c7c94e4
2020-09-03 18:46:13 -07:00
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai >
old-commit-hash: 367155168a
2020-06-03 16:13:34 -07:00
George Hotz
d47b2ef576
More LGTM fixups ( #1457 )
...
* exclude lib dirs, fix 3 cpp errors
* fix more alerts, exclude mkvparse
Co-authored-by: George Hotz <geohot@gmail.com >
old-commit-hash: e568d3cadc
2020-05-02 20:00:41 -07:00
George Hotz
6fbcde48e5
Using lgtm.com and fixing found alerts ( #1452 )
...
* lgtm in readme, and mac nui fixes
* call super inits in radars
* unused imports, dup lines
* more radars, more unused imports
* pass CP into RadarInterfaceBase
* more fixups
* unused imports
* delete unused lines
* ugh, new unused import
Co-authored-by: George Hotz <geohot@gmail.com >
old-commit-hash: 1295cfe06c
2020-05-02 12:07:34 -07:00
Willem Melching
6993b1ecca
Build log_index using scons
...
old-commit-hash: 845abed5db
2020-04-30 16:26:11 -07:00
George Hotz
640c41a3ff
Add sentinels to logs and qlogs ( #1205 )
...
* sentinel WIP
* logger is now a cc, not a c
* simpler code doesn't touch loggerd.cc
* oops, double lock. and logreader is nicer
old-commit-hash: 2f2b85581c
2020-03-05 14:29:34 -08:00
Andy Haden
03acf56736
Revert "no more xx imports in tools"
...
This reverts commit 2de79769f0e7d29cc1e4f5544ae1681127ed3c5c.
old-commit-hash: 4a94e507cf
2020-02-25 11:36:02 -08:00
Willem Melching
6929d5b6e0
no more xx imports in tools
...
old-commit-hash: 1f9485171e
2020-02-25 11:06:27 -08:00
Andy
738c3cca79
Tools: Storage API ( #1161 )
...
* filereader
* support URLs in filereader, logreader
* unused
* use route files api; add auth file
* Implement browser auth
* Update readme, fix up cache paths
* Add tests, clear token on 401
* Factor out URLFile
* space
old-commit-hash: c4af05868b
2020-02-24 21:24:54 -05:00
George Hotz
99c5800ea5
merge in tools
...
old-commit-hash: 29ac3da7b8
2020-01-17 10:07:22 -08:00