Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Daniel Dunbar c6607f8a53 scan-view: Remove some debugging prints.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56864 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30 17:54:44 +00:00
Ted Kremenek 480bc342cd Conditionally load/save default parameter value from config file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56852 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30 16:11:33 +00:00
Ted Kremenek 19c8820134 Use objects to represent form parameters. This allows us to abstract away some
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
2008-09-30 16:08:13 +00:00
Daniel Dunbar b5f9a4ea17 Disable report crashes link for the time being.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56617 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25 19:59:17 +00:00
Daniel Dunbar 7ebe0ed444 Add link to report analyzer failures (parse errors, asserts, etc).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56606 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25 06:05:31 +00:00
Daniel Dunbar f6a415fe47 Add scan-view '--allow-all-hosts' option, by default access is now
restricted to 127.0.0.1.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56563 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-24 17:59:41 +00:00
Daniel Dunbar 17fded63f9 scan-view: Add header and "report bug" links to report pages.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56470 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 21:43:43 +00:00
Daniel Dunbar 4d20cf759d scan-view: Add links to open files using default file handler.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56454 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 18:44:46 +00:00
Daniel Dunbar 28870e141a scan-view: Update for "button" class change, drop magic resolution of
"scanview.css", start action for opening files.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56448 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 18:05:49 +00:00
Daniel Dunbar c2dd3459fe scan-view: Add links from bug reporting forms to report & summary pages.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56427 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 03:08:32 +00:00
Daniel Dunbar 7ad535db06 scan-view: Search for available port if default is unavailable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56426 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 02:53:12 +00:00
Daniel Dunbar 8dcd940c0f scan-view: Store bug reporter defaults in ~/.scanview.cfg
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56424 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 02:27:45 +00:00
Daniel Dunbar 7345e4782e scan-view tweaks
- 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
2008-09-22 01:40:14 +00:00
Daniel Dunbar 47cceff13c Improve scan-view report bug (submitted) interface.
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
2008-09-22 01:21:30 +00:00
Daniel Dunbar 78266296fd Improve scan-view report bug interface.
- Pulled css out into Resources/scanview.css


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56416 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 00:11:51 +00:00
Daniel Dunbar b131c8ac7c scan-view tweaks:
- 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
2008-09-21 23:02:25 +00:00
Daniel Dunbar cb028b0180 scan-view tweaks:
- 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
2008-09-21 20:34:58 +00:00
Daniel Dunbar 25b51d0699 scan-view: Add more information to default bug description and use
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
2008-09-21 19:08:54 +00:00
Ted Kremenek 3bf5ebe69f Have ScanView.py generate a "<td></td>" pair in the output HTML instead of 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
2008-09-21 03:55:51 +00:00
Daniel Dunbar 5472249ee4 Make scan-view more robust / friendly when bug reporting fails.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56382 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-20 01:43:16 +00:00
Daniel Dunbar e33d3682b6 Add initial implementation of scan-view
- Web based interface to static analyzer.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56375 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-19 23:32:11 +00:00