Ted Kremenek
57cbb0de09
Fix call to send_error() in scan-view. An int error code is expected but a 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
2011-02-21 19:26:48 +00:00
Ted Kremenek
305d2d2b61
Increase scan-view max timeout to 1 minute.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70896 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-04 19:02:41 +00:00
Ted Kremenek
56f6e3f3d2
"missing ivar release" is a performance bug.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58436 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-30 17:29:54 +00:00
Ted Kremenek
03373df257
Generalize searching for the keyword "leak" in a bug type.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58115 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-24 21:23:51 +00:00
Ted Kremenek
7ab944725e
For Radar reporting, null dereferences should be default classified as "Crash/Hang/Data loss" <rdar://problem/6315624>
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58045 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-23 21:36:52 +00:00
Ted Kremenek
c94e31e907
Set reproducibility back to "Always"
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56891 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30 23:23:58 +00:00
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
8fe38a6ca9
Default reproducibility to "Not applicable"
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56860 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30 17:28:54 +00:00
Ted Kremenek
ba78cc0c68
Make "Performance" the default Radar classification for leaks. "Other" for all others (for now).
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56858 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30 17:12:32 +00:00
Ted Kremenek
8ce622d787
Make a separate parameter class for "Radar classifications".
...
Do not save the radar classification to the config file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56856 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30 17:00:30 +00:00
Ted Kremenek
fe6fa074db
Add "SelectionParameter" class to represent drop-down boxes.
...
Added "Classification" field to Radar filing.
Modified FileRadar.scpt to take the classification as an argument.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56854 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30 16:37:50 +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
Ted Kremenek
13c03d85eb
Tabs -> Spaces.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56833 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30 05:45:59 +00:00
Daniel Dunbar
58df184ef9
Fix braindead bug, ID number was hardcoded.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56789 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-29 16:06:43 +00:00
Daniel Dunbar
15d671902d
Change Radar reproducibility to "Always".
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56644 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-26 05:00:28 +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
Ted Kremenek
51e6ffe729
Removed scan-view's version of scanview.css.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56446 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 17:55:14 +00:00
Nuno Lopes
7ccce6b046
not executable
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56439 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 17:26:14 +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
e673c08c3a
scan-view tweak
...
- Require index.html in provided results directory.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56423 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22 01:42:08 +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
Daniel Dunbar
feee21a476
Don't add Bugzilla reporter (not yet implemented)
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56404 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21 19:06:51 +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