Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(html): ariaSort isn't supported in Firefox yet | Ned Batchelder | 2021-10-23 | 3 | -14/+14 |
| | | | | The HTML report index page wasn't indicating the sort order properly | ||||
* | fix(html): fix a few problems with the html report | Ned Batchelder | 2021-10-23 | 4 | -28/+32 |
| | | | | | | | | | | - highlights weren't showing - anchored lines were not visible - some j/k motions were broken - clicking the big buttons at the top didn't work | ||||
* | refactor: no more need for a search path for static files | Ned Batchelder | 2021-10-23 | 1 | -49/+13 |
| | | | | | | | We used to search an OS-specific directory in addition to our own, specifically so that Debian could use an OS-installed copy of jQuery and its plugins. But we no longer have jQuery or any third-party JavaScript code, so we don't need to search the Debian directories. | ||||
* | refactor(html): remove all uses of jQuery, only vanilla JS now | Septatrix | 2021-10-23 | 11 | -616/+394 |
| | | | | This is squashed from pull request #1248 | ||||
* | refactor(html): a one-header sticky header | Ned Batchelder | 2021-10-23 | 4 | -90/+80 |
| | |||||
* | fix(html): scrolling to an anchor ensures the line is visible | Ned Batchelder | 2021-10-20 | 3 | -24/+34 |
| | | | | | | | The sticky header was hiding the line scrolled to the top of the window. Along the way, also changed to use classes on <body> to control the sticky header, and moved the header code into a function. | ||||
* | fix: avoid measuring generated code. #1160 | Ned Batchelder | 2021-10-18 | 2 | -0/+5 |
| | |||||
* | refactor: no need for specialized pyexpat code anymore | Ned Batchelder | 2021-10-18 | 5 | -106/+0 |
| | | | | | | | | The pyexpat bug that plagued us was fixed in Python 3.4: https://bugs.python.org/issue22462 We no longer need the code that adapted to it. The test will remain, couldn't hurt. | ||||
* | fix(html): adjust some colors | Ned Batchelder | 2021-10-17 | 2 | -14/+13 |
| | | | | | | | | - make the yellow border more visible - make the context-blue less vibrant - all colors are lower-case | ||||
* | feat(html): sticky header on pyfile | Ned Batchelder | 2021-10-17 | 4 | -13/+85 |
| | |||||
* | refactor(html): use header/main/footer html5 elements | Ned Batchelder | 2021-10-17 | 4 | -29/+29 |
| | |||||
* | build: jQuery 3.6.0 | Ned Batchelder | 2021-10-16 | 1 | -4/+2 |
| | |||||
* | feat: `coverage run` now sets the COVERAGE_RUN environment variable | Ned Batchelder | 2021-10-16 | 2 | -1/+4 |
| | |||||
* | test: mark some uncovered lines in collector.py | Ned Batchelder | 2021-10-14 | 1 | -4/+4 |
| | |||||
* | perf: reduce the overhead of recording branches | Ned Batchelder | 2021-10-14 | 3 | -8/+49 |
| | |||||
* | fix: use human sorting on human-readable things | Ned Batchelder | 2021-10-12 | 8 | -22/+58 |
| | |||||
* | test: lightly test the ast_dump function | Ned Batchelder | 2021-10-12 | 1 | -67/+66 |
| | |||||
* | build: bump version | Ned Batchelder | 2021-10-11 | 1 | -1/+1 |
| | |||||
* | build: prep for 6.0.26.0.2 | Ned Batchelder | 2021-10-11 | 1 | -1/+1 |
| | |||||
* | fix: source modules need to be re-imported. #1232 | Ned Batchelder | 2021-10-11 | 3 | -29/+53 |
| | |||||
* | test: add more tests of run_python_file | Ned Batchelder | 2021-10-11 | 1 | -4/+2 |
| | | | | | | The tests in test_process run the exception handling in execfile.py, but only under coverage, so metacov can't see it. These smaller tests exercise the code without coverage on top. | ||||
* | refactor: remove qualname code that was only for Python 2 | Ned Batchelder | 2021-10-11 | 1 | -31/+5 |
| | |||||
* | fix: make third-party detection work with namespace packages. #1231 | Ned Batchelder | 2021-10-10 | 1 | -9/+32 |
| | |||||
* | style: the name of the matchers don't need quotes in the reprs | Ned Batchelder | 2021-10-10 | 1 | -3/+3 |
| | |||||
* | test: cover the last edge cases in sqldata.py | Ned Batchelder | 2021-10-10 | 1 | -4/+4 |
| | |||||
* | fix: raise CoverageException for SQLite connection errorsnedbat/sqldata-edge-tests | Ned Batchelder | 2021-10-10 | 1 | -1/+5 |
| | |||||
* | style: prefer explicit string concatenation | Ned Batchelder | 2021-10-10 | 3 | -34/+33 |
| | |||||
* | style: use the official designation for utf-8 | Ned Batchelder | 2021-10-10 | 6 | -11/+11 |
| | | | | | Yes, this is completely unimportant. Don't ask me why I bothered, I'm not really sure. | ||||
* | fix: contexts_by_lineno now returns a true dict | Ned Batchelder | 2021-10-09 | 3 | -13/+13 |
| | |||||
* | style: make string quotes uniform | Ned Batchelder | 2021-10-09 | 1 | -74/+71 |
| | |||||
* | refactor: this import was only needed for Python 2 | Ned Batchelder | 2021-10-08 | 1 | -4/+1 |
| | |||||
* | test: mark some uncovered things | Ned Batchelder | 2021-10-08 | 3 | -3/+12 |
| | |||||
* | test: canonicalize this bit of debug output | Ned Batchelder | 2021-10-08 | 1 | -1/+1 |
| | |||||
* | build: bump version | Ned Batchelder | 2021-10-06 | 1 | -1/+1 |
| | |||||
* | build: prep for 6.0.16.0.1 | Ned Batchelder | 2021-10-06 | 1 | -1/+1 |
| | |||||
* | fix: make exceptions importable from coverage.misc again. #1226 | Ned Batchelder | 2021-10-06 | 1 | -0/+5 |
| | |||||
* | Fix an incompatibility with pyarmor | glacials | 2021-10-06 | 1 | -1/+1 |
| | |||||
* | fix: pretend we didn't import third-party packages we use. #1228 | Ned Batchelder | 2021-10-06 | 2 | -5/+29 |
| | | | | | | tomli couldn't use coverage themselves because we imported it early. Cleaning sys.modules means their own imports will actually execute after coverage has started, so their files will be properly measured. | ||||
* | build: bump version | Ned Batchelder | 2021-10-02 | 1 | -1/+1 |
| | |||||
* | build: prep for 6.0 release | Ned Batchelder | 2021-10-02 | 1 | -1/+1 |
| | |||||
* | test: update pylint | Ned Batchelder | 2021-09-29 | 1 | -1/+1 |
| | |||||
* | fix: Avoid a race condition in misc.ensure_dir (#1220) | Clément Pit-Claudel | 2021-09-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * coverage/misc.py (ensure_dir): Pass exist_ok to os.makedirs, ensuring that if two concurrent instances of coverage.py entering this function at the same time won't fail with FileExistsError. Sample backtrace: Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/user/.local/lib/python3.8/site-packages/coverage/__main__.py", line 8, in <module> sys.exit(main()) File "/home/user/.local/lib/python3.8/site-packages/coverage/cmdline.py", line 871, in main status = CoverageScript().command_line(argv) File "/home/user/.local/lib/python3.8/site-packages/coverage/cmdline.py", line 588, in command_line return self.do_run(options, args) File "/home/user/.local/lib/python3.8/site-packages/coverage/cmdline.py", line 743, in do_run self.coverage.start() File "/home/user/.local/lib/python3.8/site-packages/coverage/control.py", line 535, in start self._init_for_start() File "/home/user/.local/lib/python3.8/site-packages/coverage/control.py", line 474, in _init_for_start self._init_data(suffix) File "/home/user/.local/lib/python3.8/site-packages/coverage/control.py", line 512, in _init_data ensure_dir_for_file(self.config.data_file) File "/home/user/.local/lib/python3.8/site-packages/coverage/misc.py", line 165, in ensure_dir_for_file ensure_dir(os.path.dirname(path)) File "/.local/lib/python3.8/site-packages/coverage/misc.py", line 160, in ensure_dir os.makedirs(directory) File "/usr/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) | ||||
* | refactor: use sets to collect data | Ned Batchelder | 2021-08-15 | 5 | -28/+28 |
| | | | | | | | Coverage.py predates sets as a built-in data structure, so the file data collection has long been dicts with None as the values. Sets are available to us now (since Python 2.4 in 2004, which coverage.py dropped support for in 2014!), we use sets. | ||||
* | fix: missing exceptions through with statements in 3.10 aren't considered ↵ | Ned Batchelder | 2021-08-14 | 1 | -8/+4 |
| | | | | missing branches. #1205 | ||||
* | debug: improved logging in tracer.c | Ned Batchelder | 2021-08-09 | 1 | -13/+14 |
| | |||||
* | Fix parsing 'command_line' option (#1201) | Pavel Tsialnou | 2021-08-06 | 1 | -1/+1 |
| | | | | | Coverage config files supports 'command_line' parameters. However, only '-m' is parsed properly. The line 'command_line = "--module unittest discover"' is considered as a path, not a module option. | ||||
* | feat: mention skipped file counts in the HTML report. #1163 | Ned Batchelder | 2021-08-06 | 2 | -1/+28 |
| | |||||
* | feat: `coverage combine` now prints messages naming the files being ↵ | Ned Batchelder | 2021-08-05 | 2 | -1/+6 |
| | | | | combined. #1105 (#1208) | ||||
* | feat: HTML report now says where the report is. #1195 (#1207) | Ned Batchelder | 2021-08-05 | 3 | -2/+19 |
| | |||||
* | feat: unrecognized options are now a warning rather than error. #1035 (#1206) | Ned Batchelder | 2021-08-05 | 2 | -18/+23 |
| | | | | Because they are warnings issued while parsing the configuration file, it's not possible to suppress them with the coverage configuration. |