From 8bebc6e301ea2c15d876fadfbcf3f1ca7af0cfdc Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 9 Feb 2010 23:05:59 +0000 Subject: [PATCH] More analyzer website tweaking in preparation for additional content. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95714 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/analyzer/annotations.html | 2 + www/analyzer/available_checks.html | 2 + www/analyzer/content.css | 15 +++++++ www/analyzer/dev_cxx.html | 3 +- www/analyzer/filing_bugs.html | 5 +-- www/analyzer/index.html | 31 +++++++------ www/analyzer/installation.html | 4 +- www/analyzer/menu.css | 41 +++++++++-------- www/analyzer/menu.html.incl | 72 +++++++++++++++--------------- www/analyzer/scan-build.html | 3 +- 10 files changed, 101 insertions(+), 77 deletions(-) diff --git a/www/analyzer/annotations.html b/www/analyzer/annotations.html index cd92026e17..7f6fe38857 100644 --- a/www/analyzer/annotations.html +++ b/www/analyzer/annotations.html @@ -9,6 +9,7 @@ +
@@ -383,6 +384,7 @@ the use of preprocessor macros.

void my_assert_rtn(const char *, const char *, int, const char *) CLANG_ANALYZER_NORETURN; +
diff --git a/www/analyzer/available_checks.html b/www/analyzer/available_checks.html index 3956baec75..0d34882cb5 100644 --- a/www/analyzer/available_checks.html +++ b/www/analyzer/available_checks.html @@ -9,6 +9,7 @@ +
@@ -29,6 +30,7 @@ of some of the bugs that it finds:

+
diff --git a/www/analyzer/content.css b/www/analyzer/content.css index 3f47e3bea7..0567467b99 100644 --- a/www/analyzer/content.css +++ b/www/analyzer/content.css @@ -2,8 +2,11 @@ html { margin: 0px; } body { margin: 8px; } html, body { padding:0px; + margin:0px; font-size:small; font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, Helvetica, sans-serif; background-color: #fff; color: #222; line-height:1.5; + background-color: #808080; + } h1, h2, h3, tt { color: #000 } @@ -27,7 +30,19 @@ IMG.img_slide { margin-right: auto } +#page { width:820px; text-align: left; margin: 0 auto; padding:0; + background-color: white; height:100%; + border-left: 1px solid #EBF0FA; +} + +#content { + clear: left; + padding: 1em 2em 0 2em; + background-color: #ffffff; +} + .itemTitle { color:#2d58b7 } + /* Tables */ tr { vertical-align:top } diff --git a/www/analyzer/dev_cxx.html b/www/analyzer/dev_cxx.html index d3c940b6c2..58a4d16cd2 100644 --- a/www/analyzer/dev_cxx.html +++ b/www/analyzer/dev_cxx.html @@ -9,8 +9,8 @@ +
-

C++ Support

@@ -45,6 +45,7 @@ will be added as deemed necessary.

+
diff --git a/www/analyzer/filing_bugs.html b/www/analyzer/filing_bugs.html index daf05d0195..c86457a929 100644 --- a/www/analyzer/filing_bugs.html +++ b/www/analyzer/filing_bugs.html @@ -9,8 +9,8 @@ +
-

Filing Bugs and Feature Requests

@@ -55,8 +55,7 @@ the analyzer has access to that bug database.

Apple-internal Users

Please file bugs in Radar against the llvm - checker component.

- - +
diff --git a/www/analyzer/index.html b/www/analyzer/index.html index b5b1046e69..814070f00e 100644 --- a/www/analyzer/index.html +++ b/www/analyzer/index.html @@ -9,14 +9,19 @@ +
- -
+

Clang Static Analyzer

+ + +

The Clang Static Analyzer consists of both a source code analysis framework -and a standalone tool that finds bugs in C and Objective-C programs. The +and a standalone tool that finds bugs in C and Objective-C programs.

+ +

The standalone tool is invoked from the command-line, and is intended to run in tandem with a build of a project or code base.

@@ -76,7 +81,7 @@ href="http://clang.llvm.org">Clang project.

#wrappedcontent { padding:15px;} -
+
@@ -108,6 +113,13 @@ href="http://clang.llvm.org">Clang project.

+
+ +
Viewing static analyzer results in Xcode 3.2
+ +
Viewing static analyzer results in a web browser
+
+

What is Static Analysis?

The term "static analysis" is conflated, but here we use it to mean @@ -124,16 +136,6 @@ industrial-quality static analysis framework for analyzing C and Objective-C programs that is freely available, extensible, and has a high quality of implementation.

- - - -
- -
Viewing static analyzer results in Xcode 3.2
- -
Viewing static analyzer results in a web browser
-
-

Part of Clang and LLVM

As its name implies, the Clang Static Analyzer is built on top of feature requests or contribute your own patches.

+
diff --git a/www/analyzer/installation.html b/www/analyzer/installation.html index ceb2aed09e..75ecabd80c 100644 --- a/www/analyzer/installation.html +++ b/www/analyzer/installation.html @@ -9,8 +9,8 @@ +
-

Obtaining the Static Analyzer

@@ -107,7 +107,7 @@ are located in $(SRCDIR)/tools/clang/tools/scan-build and are subject to change.

- +
diff --git a/www/analyzer/menu.css b/www/analyzer/menu.css index a402d5a83f..e18b8e0bbb 100644 --- a/www/analyzer/menu.css +++ b/www/analyzer/menu.css @@ -1,10 +1,14 @@ /* From 'A list apart', 'dropdowns' */ -body { - background-color: #EBF0FA; -} + #nav { + clear: left; + margin:0; + padding:0; font-weight: bold; - color: #2d58b7; + width:100%; + background-color: #EBF0FA; + border-bottom: 1px solid; + font-size: 80%; } #nav a { text-decoration: none; @@ -12,42 +16,37 @@ body { #nav a:hover { text-decoration: underline; } -.menubar { - font-size: 80%; -} .menubar ul { - padding: 0; - margin: 0; - list-style: none; + list-style: none inside; } .menubar li { + margin: 0; + padding: 5px; text-align: center; - padding: 5px; - list-style: none; + text-indent: 0px; + list-style-position: inside; + list-style:none; float: left; position: relative; - width: 11em; + width: 13em; cursor: default; background-color: #EBF0FA; } .menubar li ul /* second level lists */ { display: none; position: absolute; - top: 1em; left: 0; } .menubar li>ul { + border-left: 1px solid; + border-right: 1px solid; + border-bottom: 1px solid; padding: 0; - margin: 0; - top:auto; + margin: 5px 0; left:auto; font-weight: normal; } .menubar li:hover ul, li.over ul { /* lists nested under hovered list items */ display: block; } -#content { - clear: left; - padding-top: 10px; - background-color: #ffffff; -} + diff --git a/www/analyzer/menu.html.incl b/www/analyzer/menu.html.incl index 2c430799a7..80f9b6eb7f 100644 --- a/www/analyzer/menu.html.incl +++ b/www/analyzer/menu.html.incl @@ -1,37 +1,39 @@ -