Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix #708: .filename is private, and don't combine over ourselves | Ned Batchelder | 2019-04-15 | 3 | -15/+29 | |
| | ||||||
* | Add a set_env.py line for COVERAGE_DEBUG | Ned Batchelder | 2019-04-15 | 1 | -0/+1 | |
| | ||||||
* | Oops, clean up some unused listcomps | Ned Batchelder | 2019-04-09 | 1 | -7/+6 | |
| | ||||||
* | A little clean-up from pr #760 | Ned Batchelder | 2019-04-09 | 2 | -9/+8 | |
| | ||||||
* | Merge pull request #723 from blueyed/fix-702 | Ned Batchelder | 2019-04-08 | 1 | -2/+2 | |
|\ | | | | | CoverageSqliteData._file_id: use "insert or replace" | |||||
| * | CoverageSqliteData._file_id: fall back to SELECT | Daniel Hahler | 2019-03-31 | 1 | -2/+2 | |
| | | | | | | | | Fixes https://github.com/nedbat/coveragepy/issues/702 | |||||
* | | Merge pull request #760 from Shoobx/fix-coverage-with-threads | Ned Batchelder | 2019-04-08 | 1 | -17/+25 | |
|\ \ | | | | | | | Ensure sqldata thread safety. | |||||
| * | | Make thread code Py2 compatible. | Stephan Richter | 2019-01-26 | 1 | -8/+14 | |
| | | | ||||||
| * | | Use one conenction per thread to avoid tricky race conditions. (The ref ↵ | Stephan Richter | 2019-01-25 | 1 | -17/+19 | |
| | | | | | | | | | | | | counter is simply not good enough.) | |||||
* | | | Fix formatting, and credit Stephan | Ned Batchelder | 2019-04-07 | 1 | -31/+37 | |
| | | | ||||||
* | | | Merge pull request #765 from Shoobx/fast-sqldata-update | Ned Batchelder | 2019-04-07 | 1 | -45/+122 | |
|\ \ \ | | | | | | | | | Fast CoverageSqliteData Update/Combine | |||||
| * | | | Some cleanup (left from first versions) and localized file path lookup which ↵ | Stephan Richter | 2019-01-27 | 1 | -18/+11 | |
| | | | | | | | | | | | | | | | | takes off another 20%. | |||||
| * | | | Use efficient database queries to combine data. This algorithm is 25-30x ↵ | Stephan Richter | 2019-01-26 | 1 | -45/+129 | |
| |/ / | | | | | | | | | | | | | | | | faster than the original one. Given that context-included coverage has about 50x the data of the old format (on our code base), this means that combining is now only 2-3x slower than before. | |||||
* | | | Remove a copy of a private macro, and just use it | Ned Batchelder | 2019-04-07 | 2 | -9/+1 | |
| |/ |/| | ||||||
* | | Move more PYVERSION to be PYBEHAVIOR | Ned Batchelder | 2019-03-24 | 3 | -6/+29 | |
| | | ||||||
* | | Move some version conditionals to PYBEHAVIOR | Ned Batchelder | 2019-03-24 | 2 | -2/+8 | |
| | | ||||||
* | | Rewrite XML tests to use xml parsing instead of regexes | Ned Batchelder | 2019-03-23 | 1 | -13/+0 | |
| | | ||||||
* | | Remove executable bit from static assets | Jon Dufresne | 2019-03-03 | 2 | -0/+0 | |
| | | | | | | | | | | These files are simply static assets and do not require an executable bit. They are never intended to be executed as standalone scripts. | |||||
* | | Make sure that arcs() and lines() only returns distinct line combination ↵ | Stephan Richter | 2019-02-17 | 1 | -2/+2 | |
| | | | | | | | | values and not one entry for each context. | |||||
* | | Make sure that the cache is properly filled. (25x speedup on our system that ↵ | Stephan Richter | 2019-01-28 | 1 | -2/+3 | |
|/ | | | | | | has a large sys.path.) It is always a bad idea to reassign the cachekey during the computation. | |||||
* | Make line numbers immune to minimum font size settings. #748 | Ned Batchelder | 2019-01-04 | 1 | -3/+3 | |
| | ||||||
* | Contracts and privacy for Analysis methods | Ned Batchelder | 2018-12-26 | 1 | -5/+11 | |
| | ||||||
* | Simplify format_lines a little | Ned Batchelder | 2018-12-26 | 1 | -2/+2 | |
| | ||||||
* | Sort the text missing results by line number, not kind | Ned Batchelder | 2018-12-25 | 2 | -44/+43 | |
| | ||||||
* | Move code to where it belongs | Ned Batchelder | 2018-12-24 | 2 | -39/+39 | |
| | ||||||
* | Tweaks to the fail_under limiting | Ned Batchelder | 2018-12-24 | 1 | -4/+5 | |
| | ||||||
* | Disallow impossible values for fail_under | Mike Fiedler | 2018-12-23 | 1 | -0/+4 | |
| | | | | | | | | | Since there's no way were likely to achieve greater than 100% code coverage, disallow usage of any value above 100. Resolves #743 Signed-off-by: Mike Fiedler <miketheman@gmail.com> | |||||
* | Include default encodings in the debug output | Ned Batchelder | 2018-12-23 | 1 | -0/+2 | |
| | ||||||
* | Use a function instead of a method to show help | Ned Batchelder | 2018-11-26 | 1 | -65/+57 | |
| | ||||||
* | Bump version | Ned Batchelder | 2018-11-25 | 1 | -1/+1 | |
| | ||||||
* | PyRunner knows how to run Python files. | Ned Batchelder | 2018-11-25 | 2 | -81/+111 | |
| | | | | Adjust sys.path to better emulate Python, but only if we should. | |||||
* | Use implicit mock patching instead of explicit DI for cmdline tests | Ned Batchelder | 2018-11-25 | 1 | -17/+7 | |
| | | | | | This sets us up for mocking more or different globals without adding more explicit DI overrides in cmdline.py. | |||||
* | Don't try to use PyPy 'filenames' like '<builtin>/lib_pypy/_structseq.py' | Ned Batchelder | 2018-11-25 | 1 | -2/+4 | |
| | ||||||
* | Need to get_data for .annotate() to work | Ned Batchelder | 2018-11-15 | 1 | -0/+1 | |
| | ||||||
* | Fix function call formatting | Ned Batchelder | 2018-11-15 | 1 | -5/+9 | |
| | ||||||
* | Canonicalize the XML output | Ned Batchelder | 2018-11-11 | 1 | -5/+24 | |
| | | | | | | | | | | https://bugs.python.org/issue34160 added retaining the user's attribute order to the XML output, which removed the sorting that used to happen. This broke our XML tests, which compare against saved gold files. This adds in a rough-and-ready canonicalization to avoid the problem. Maybe the core devs will eventually support a sort_attributes option, and I can get rid of this. | |||||
* | Python 3.8 will optimize away "while True:" | Ned Batchelder | 2018-11-11 | 2 | -0/+23 | |
| | ||||||
* | Debug-time environment variables can be set with set_env.py | Ned Batchelder | 2018-11-03 | 3 | -0/+4 | |
| | ||||||
* | Adapt to 3.8's way of tracing decorated functions | Ned Batchelder | 2018-11-03 | 2 | -7/+30 | |
| | ||||||
* | You can turn off contracts while debugging tests | Ned Batchelder | 2018-11-03 | 1 | -1/+5 | |
| | ||||||
* | Always include a documentation link at the end of help messages | Ned Batchelder | 2018-10-21 | 1 | -8/+10 | |
| | ||||||
* | Make directories for the data file if needed. #721 | Ned Batchelder | 2018-10-21 | 1 | -0/+1 | |
| | ||||||
* | Helpers for making directories | Ned Batchelder | 2018-10-21 | 3 | -7/+20 | |
| | ||||||
* | PyPy3 fixed an obscure bug long ago, we don't need this override | Ned Batchelder | 2018-10-19 | 1 | -7/+3 | |
| | ||||||
* | One more error case for the command line | Ned Batchelder | 2018-10-19 | 1 | -0/+4 | |
| | ||||||
* | `[run] command_line` is the command line to use for 'coverage run'. #695 | Ned Batchelder | 2018-10-18 | 2 | -0/+10 | |
| | ||||||
* | Clean some lint | Ned Batchelder | 2018-10-17 | 1 | -1/+2 | |
| | ||||||
* | Don't clobber sys.path[0]. #715 | Ned Batchelder | 2018-10-16 | 1 | -4/+0 | |
| | ||||||
* | Allow later DebugOutputFile to replace earlier ones | Ned Batchelder | 2018-10-16 | 1 | -6/+12 | |
| | | | | | | When logging calls, get_one() is called with no filters. It would be the_one, so a later get_one with filters for pids wouldn't take effect. Now the earlier is only interim, and the later one wins. | |||||
* | Use one transaction to speed combining | Ned Batchelder | 2018-10-15 | 1 | -39/+45 | |
| |