summaryrefslogtreecommitdiff
path: root/tools/scan-view/ScanView.py
Commit message (Collapse)AuthorAge
* [analyzer] scan-view: don't ever serve absolute paths.Jordan Rose2013-04-29
| | | | | | | | | | | | At one point in time scan-view allowed absolute paths to reference files within the server root, but this doesn't seem to be used anymore, and caused problems if a server-root-relative path actually matched an absolute path to an existing file. This patch just treats paths as server-root-relative all the time. PR15843 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180715 91177308-0d34-0410-b5e6-96231b3b80d8
* Further harden checking that scan-view isn't serving up pages outsideTed Kremenek2012-10-12
| | | | | | the server root. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165839 91177308-0d34-0410-b5e6-96231b3b80d8
* Have scan-view guard against serving up pages outside the root directory.Ted Kremenek2012-10-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165815 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix call to send_error() in scan-view. An int error code is expected but a ↵Ted Kremenek2011-02-21
| | | | | | string was being sent. Patch by Andrew Price! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126138 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view: Remove some debugging prints.Daniel Dunbar2008-09-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56864 91177308-0d34-0410-b5e6-96231b3b80d8
* Conditionally load/save default parameter value from config file.Ted Kremenek2008-09-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56852 91177308-0d34-0410-b5e6-96231b3b80d8
* Use objects to represent form parameters. This allows us to abstract away someTed Kremenek2008-09-30
| | | | | | | | | of the details of HTML rendering of form parameters, and also us with the ability to delegate other actions (such as in the filling in of default values) to specific parameter objects. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56851 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable report crashes link for the time being.Daniel Dunbar2008-09-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56617 91177308-0d34-0410-b5e6-96231b3b80d8
* Add link to report analyzer failures (parse errors, asserts, etc).Daniel Dunbar2008-09-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56606 91177308-0d34-0410-b5e6-96231b3b80d8
* Add scan-view '--allow-all-hosts' option, by default access is nowDaniel Dunbar2008-09-24
| | | | | | | restricted to 127.0.0.1. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56563 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view: Add header and "report bug" links to report pages.Daniel Dunbar2008-09-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56470 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view: Add links to open files using default file handler.Daniel Dunbar2008-09-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56454 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view: Update for "button" class change, drop magic resolution ofDaniel Dunbar2008-09-22
| | | | | | | "scanview.css", start action for opening files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56448 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view: Add links from bug reporting forms to report & summary pages.Daniel Dunbar2008-09-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56427 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view: Search for available port if default is unavailable.Daniel Dunbar2008-09-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56426 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view: Store bug reporter defaults in ~/.scanview.cfgDaniel Dunbar2008-09-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56424 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view tweaksDaniel Dunbar2008-09-22
| | | | | | | | | - Use more correct HTTP error codes on (unexpected) errors. - Use onLoad to set ensure bug submission method gets set correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56422 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve scan-view report bug (submitted) interface.Daniel Dunbar2008-09-22
| | | | | | | | | | Give more meaningful error messages / fail gracefully on bad form input or SMTP errors. Use button for Report Bug link (where available). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56420 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve scan-view report bug interface.Daniel Dunbar2008-09-22
| | | | | | | - Pulled css out into Resources/scanview.css git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56416 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view tweaks:Daniel Dunbar2008-09-21
| | | | | | | | - Add simple favicon - Allow resolving source file paths (should be rethought) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56414 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view tweaks:Daniel Dunbar2008-09-21
| | | | | | | | | | - Update for scan-build table change. - Add --auto-reload option (for development, avoids need to restart server). - Always send Last-Modified, with a reasonable value for dynamic content. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56409 91177308-0d34-0410-b5e6-96231b3b80d8
* scan-view: Add more information to default bug description and useDaniel Dunbar2008-09-21
| | | | | | | iframe to embed bug view (for easy reference). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56406 91177308-0d34-0410-b5e6-96231b3b80d8
* Have ScanView.py generate a "<td></td>" pair in the output HTML instead of ↵Ted Kremenek2008-09-21
| | | | | | having scan-build output an empty (and possibly unused) <td>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56393 91177308-0d34-0410-b5e6-96231b3b80d8
* Make scan-view more robust / friendly when bug reporting fails.Daniel Dunbar2008-09-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56382 91177308-0d34-0410-b5e6-96231b3b80d8
* Add initial implementation of scan-viewDaniel Dunbar2008-09-19
- Web based interface to static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56375 91177308-0d34-0410-b5e6-96231b3b80d8