Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't try to delete a file called ':memory:' | Ned Batchelder | 2019-07-20 | 1 | -0/+2 | |
| | ||||||
* | z-compressed dumps and loads | Ned Batchelder | 2019-07-19 | 1 | -12/+17 | |
| | ||||||
* | Bitmaps for line numbers, 10% of the size. | Ned Batchelder | 2019-07-15 | 1 | -32/+94 | |
| | ||||||
* | :memory: support | Ned Batchelder | 2019-07-15 | 1 | -6/+15 | |
| | ||||||
* | CoverageData.dumps and loads for serialization | Ned Batchelder | 2019-07-15 | 1 | -8/+21 | |
| | ||||||
* | Merge branch 'master' into isolate_os | Ned Batchelder | 2019-07-10 | 1 | -6/+68 | |
|\ | ||||||
| * | Remove the JSON data code | Ned Batchelder | 2019-07-10 | 1 | -6/+68 | |
| | | ||||||
* | | Isolate the os module to protect from aggressive mocking interfearing with ↵ | Matt Bachmann | 2019-07-09 | 1 | -1/+2 | |
|/ | | | | database operations | |||||
* | SQLite will keep comments that are inside, not outside | Ned Batchelder | 2019-07-08 | 1 | -7/+7 | |
| | | | | | This way, ".schema" in the SQLite prompt will show the comments for the tables. | |||||
* | Merge branch 'master' into Fix-typo | Ned Batchelder | 2019-07-07 | 1 | -8/+24 | |
|\ | ||||||
| * | Avoid useless or redundant db operations. Faster. | Ned Batchelder | 2019-07-07 | 1 | -3/+17 | |
| | | | | | | | | | | | | Moving operations into the "with self._connect" means less opening and closing of the database. Returning early if there is no data to write avoids writing empty contexts. | |||||
| * | Log connections properly | Ned Batchelder | 2019-07-07 | 1 | -2/+2 | |
| | | ||||||
| * | Clarify SqliteDb | Ned Batchelder | 2019-07-07 | 1 | -3/+5 | |
| | | ||||||
* | | Fix typo | Min ho Kim | 2019-07-08 | 1 | -2/+2 | |
|/ | ||||||
* | Clean up and test filtering contexts for reporting | Ned Batchelder | 2019-07-01 | 1 | -9/+8 | |
| | ||||||
* | Add comments to the SQL schema, and keep them when creating the db | Ned Batchelder | 2019-06-11 | 1 | -22/+28 | |
| | ||||||
* | Fix two pylint warnings | Ned Batchelder | 2019-06-11 | 1 | -2/+3 | |
| | ||||||
* | Make --contexts available for HTML reports | Ned Batchelder | 2019-06-10 | 1 | -12/+21 | |
| | ||||||
* | Tricky case: Thread switching is getting in the way. | Stephan Richter | 2019-06-10 | 1 | -1/+6 | |
| | ||||||
* | Add ability to report contexts for all lines of a file. | Stephan Richter | 2019-06-10 | 1 | -0/+34 | |
| | ||||||
* | Sigh, sqlite3 does not support proper array serialization. | Stephan Richter | 2019-06-10 | 1 | -8/+10 | |
| | ||||||
* | Initialize attributes. | Stephan Richter | 2019-06-10 | 1 | -0/+2 | |
| | ||||||
* | Support for multiple, glob-based contexts in result queries. | Stephan Richter | 2019-06-10 | 1 | -8/+33 | |
| | ||||||
* | Don't name new method the same as old attribute | Ned Batchelder | 2019-04-20 | 1 | -1/+1 | |
| | ||||||
* | Fix #708: .filename is private, and don't combine over ourselves | Ned Batchelder | 2019-04-15 | 1 | -13/+21 | |
| | ||||||
* | 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 | 1 | -9/+2 | |
| | ||||||
* | 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. | |||||
* | | 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. | |||||
* | Use one transaction to speed combining | Ned Batchelder | 2018-10-15 | 1 | -39/+45 | |
| | ||||||
* | Defer using the database when calling set_context #716 | Ned Batchelder | 2018-10-14 | 1 | -11/+14 | |
| | | | | | | | | | | | The collector calls set_context() before any code is run. If we touch the database there, it will get created *very* early. This causes problems with pytest-cov, which will delete those early-created files when erasing data. By deferring the database access until add_lines is called, the data file stays off the disk until the collection is done (or until the context switches), which avoids the problem. | |||||
* | Fewer conditionals for debug output | Ned Batchelder | 2018-10-13 | 1 | -11/+11 | |
| | ||||||
* | Debugging improvements | Ned Batchelder | 2018-10-13 | 1 | -2/+2 | |
| | ||||||
* | Record the sys.argv in the db | Ned Batchelder | 2018-09-28 | 1 | -3/+5 | |
| | ||||||
* | Faster combining | Ned Batchelder | 2018-09-27 | 1 | -7/+13 | |
| | ||||||
* | CoverageSqliteData.__nonzero__: do not create DB | Daniel Hahler | 2018-09-24 | 1 | -0/+2 | |
| | | | | This makes is more lazy and avoids creating an empty DB unnecessarily. | |||||
* | Dynamic contexts | Ned Batchelder | 2018-09-23 | 1 | -0/+2 | |
| | ||||||
* | Merge branch 'nedbat/contexts' | Ned Batchelder | 2018-09-21 | 1 | -28/+101 | |
|\ | ||||||
| * | More debugging. | Ned Batchelder | 2018-09-21 | 1 | -0/+10 | |
| | | ||||||
| * | Combining contexts works | Ned Batchelder | 2018-09-21 | 1 | -22/+52 | |
| | | ||||||
| * | measured_contexts() and two simple tests of the global context | Ned Batchelder | 2018-09-21 | 1 | -11/+16 | |
| | | ||||||
| * | Change measured_files to a set | Ned Batchelder | 2018-09-21 | 1 | -3/+3 | |
| | |