Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make Analysis a context manager to properly close sqlite filesnedbat/close-data | Ned Batchelder | 2019-07-09 | 2 | -8/+14 |
| | |||||
* | Properly close the sqldata object | Ned Batchelder | 2019-07-09 | 2 | -5/+22 |
| | |||||
* | Keep the SQLite database open as long as possible. | Ned Batchelder | 2019-07-08 | 1 | -18/+19 |
| | |||||
* | 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 | 3 | -10/+46 |
|\ | |||||
| * | Avoid useless or redundant db operations. Faster. | Ned Batchelder | 2019-07-07 | 2 | -5/+20 |
| | | | | | | | | | | | | 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 |
| | | |||||
| * | Rough-hewn use of ox_profile | Ned Batchelder | 2019-07-07 | 1 | -0/+19 |
| | | |||||
* | | Fix typo | Min ho Kim | 2019-07-08 | 3 | -4/+4 |
|/ | |||||
* | Add tests of bug #806, and ensure it's fixed even if the program ends with ↵ | Ned Batchelder | 2019-07-06 | 1 | -4/+5 |
| | | | | an exception | ||||
* | Return to the original directory after exec'ing a file | Dan Hemberger | 2019-07-06 | 1 | -0/+4 |
| | | | | | | | | | | If the file that is exec'd chdirs to a directory that doesn't exist at the end of the execution, then we will fail to connect to the SQLite database (due to a failing `os.getcwd` command). We can easily fix this if we ensure we are in a directory that exists after executing the foreign code. Returning to the original directory seems to be a sensible choice. | ||||
* | Revert "Remove a copy of a private macro, and just use it" #809 | Ned Batchelder | 2019-07-06 | 2 | -1/+9 |
| | | | | This reverts commit b777c96f885b8d91b5339940a31a6a8ec4bfa3f9. | ||||
* | HTML: Mark things to show instead of to hide. | Ned Batchelder | 2019-07-06 | 4 | -267/+254 |
| | | | | | | | | | | Also made some other changes along the way: * Scroll bar markers change as the selected categories change. * We don't use css class 'stm' for anything, get rid of it. * Better sass use all around. | ||||
* | Clean up and test filtering contexts for reporting | Ned Batchelder | 2019-07-01 | 6 | -18/+19 |
| | |||||
* | Silence a pylint warning | Ned Batchelder | 2019-07-01 | 1 | -0/+2 |
| | |||||
* | No need for a backslash | Ned Batchelder | 2019-07-01 | 1 | -2/+1 |
| | |||||
* | Context reporting improvements and test | Ned Batchelder | 2019-06-30 | 2 | -2/+20 |
| | | | | | Contexts should only be reported on lines that are marked as executed. The empty outer context is now reported as "(empty)". | ||||
* | Make show_contexts available to set_option, and document it. | Ned Batchelder | 2019-06-30 | 1 | -1/+2 |
| | |||||
* | A little more about Coverage.current | Ned Batchelder | 2019-06-29 | 1 | -1/+7 |
| | |||||
* | New API: Coverage.current() returns the latest started instance. | Ned Batchelder | 2019-06-25 | 1 | -0/+15 |
| | |||||
* | Split HtmlReporter to get at data | Ned Batchelder | 2019-06-19 | 2 | -75/+87 |
| | |||||
* | Move arcz_to_arcs to misc so we can use it elsewhere | Ned Batchelder | 2019-06-19 | 1 | -0/+39 |
| | |||||
* | This class was simpler as a function | Ned Batchelder | 2019-06-17 | 2 | -16/+12 |
| | |||||
* | Remove ShiningPanda hack | Ned Batchelder | 2019-06-17 | 1 | -7/+0 |
| | |||||
* | A better name | Ned Batchelder | 2019-06-17 | 1 | -6/+6 |
| | |||||
* | Fix unicode for Py2 | Ned Batchelder | 2019-06-17 | 1 | -6/+6 |
| | |||||
* | Use an object instead of a dict for the report data | Ned Batchelder | 2019-06-17 | 3 | -37/+55 |
| | |||||
* | Move more into the template globals | Ned Batchelder | 2019-06-17 | 1 | -11/+15 |
| | |||||
* | Make the incremental checker a little smarter. | Ned Batchelder | 2019-06-17 | 1 | -71/+74 |
| | |||||
* | No need to pass coverage/config separately everywhere | Ned Batchelder | 2019-06-17 | 6 | -19/+20 |
| | |||||
* | Move css class constants to class-level | Ned Batchelder | 2019-06-17 | 1 | -14/+14 |
| | |||||
* | Move HTML concerns out of data_for_file | Ned Batchelder | 2019-06-17 | 1 | -22/+34 |
| | |||||
* | Refactor for better testability | Ned Batchelder | 2019-06-17 | 2 | -49/+53 |
| | |||||
* | Get rid of Reporter base class | Ned Batchelder | 2019-06-16 | 5 | -97/+67 |
| | |||||
* | Refactor text reporting to use the same code paths as other reports | Ned Batchelder | 2019-06-16 | 3 | -65/+55 |
| | |||||
* | Remove a property that has been deprecated for three years | Ned Batchelder | 2019-06-16 | 1 | -10/+0 |
| | |||||
* | Reporter base class shouldn't be responsible for directories | Ned Batchelder | 2019-06-15 | 3 | -13/+11 |
| | |||||
* | More sass goodness | Ned Batchelder | 2019-06-13 | 2 | -197/+178 |
| | |||||
* | Update the test output css files too | Ned Batchelder | 2019-06-13 | 1 | -2/+5 |
| | |||||
* | Use sass for css generation, to get nice hover highlights on lines | Ned Batchelder | 2019-06-13 | 2 | -414/+621 |
| | |||||
* | Include the template source in the hash to make development easier | Ned Batchelder | 2019-06-12 | 1 | -2/+4 |
| | |||||
* | Dynamic contexts can be disabled with 'none' | Ned Batchelder | 2019-06-12 | 1 | -3/+4 |
| | |||||
* | Add comments to the SQL schema, and keep them when creating the db | Ned Batchelder | 2019-06-11 | 1 | -22/+28 |
| | |||||
* | Polishing substitute_variables | Ned Batchelder | 2019-06-11 | 1 | -3/+2 |
| | |||||
* | Fix two pylint warnings | Ned Batchelder | 2019-06-11 | 1 | -2/+3 |
| | |||||
* | Include the count of contexts in the HTML report | Ned Batchelder | 2019-06-10 | 2 | -1/+2 |
| | |||||
* | Make --contexts available for HTML reports | Ned Batchelder | 2019-06-10 | 3 | -13/+24 |
| | |||||
* | Support for full qnames for old-style classes. | Stephan Richter | 2019-06-10 | 1 | -1/+15 |
| | |||||
* | Only compute contexts in HTML coverage when the option is specified. (For ↵ | Stephan Richter | 2019-06-10 | 2 | -3/+9 |
| | | | | large coverage data sets, reporting the context can be expensive.) |