]> granicus.if.org Git - clang/commitdiff
More analyzer website tweaking in preparation for additional content.
authorTed Kremenek <kremenek@apple.com>
Tue, 9 Feb 2010 23:05:59 +0000 (23:05 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 9 Feb 2010 23:05:59 +0000 (23:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95714 91177308-0d34-0410-b5e6-96231b3b80d8

www/analyzer/annotations.html
www/analyzer/available_checks.html
www/analyzer/content.css
www/analyzer/dev_cxx.html
www/analyzer/filing_bugs.html
www/analyzer/index.html
www/analyzer/installation.html
www/analyzer/menu.css
www/analyzer/menu.html.incl
www/analyzer/scan-build.html

index cd92026e17a17ee8c722200e6296eb07f290a17a..7f6fe388570e4ce6479d0da6b5bcef9654925aec 100644 (file)
@@ -9,6 +9,7 @@
 </head>
 <body>
 
+<div id="page">
 <!--#include virtual="menu.html.incl"-->
 
 <div id="content">
@@ -383,6 +384,7 @@ the use of preprocessor macros.</p>
 void my_assert_rtn(const char *, const char *, int, const char *) <span class="code_highlight">CLANG_ANALYZER_NORETURN</span>;
 </pre>
 
+</div>
 </div>
 </body>
 </html>
index 3956baec7587826dc172a2048a8d7d7b415ff51c..0d34882cb5a0d6f7ff65603b51be8e44167b7efd 100644 (file)
@@ -9,6 +9,7 @@
 </head>
 <body>
 
+<div id="page">
 <!--#include virtual="menu.html.incl"-->
 
 <div id="content">
@@ -29,6 +30,7 @@ of some of the bugs that it finds:</p>
 </ul>
 
 
+</div>
 </div>
 </body>
 </html>
index 3f47e3bea7ad3666336969409bf935626c838406..0567467b99f4c984a3b4527ecf76c6c1d5a3b8bb 100644 (file)
@@ -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 }
index d3c940b6c2d7f701b7a2777c3d066a7cf811edf6..58a4d16cd2ca531bdf44f2ec9ff241c3f27e5d1d 100644 (file)
@@ -9,8 +9,8 @@
 </head>
 <body>
 
+<div id="page">
 <!--#include virtual="menu.html.incl"-->
-
 <div id="content">
 
 <h1>C++ Support</h1>
@@ -45,6 +45,7 @@ will be added as deemed necessary.</p>
   </ul>
 </ul>
 
+</div>
 </div>
 </body>
 </html>
index daf05d0195705101ab39ad57c4faed89ef52b9b6..c86457a9299da4b914811cd28ede612fd2be2dd5 100644 (file)
@@ -9,8 +9,8 @@
 </head>
 <body>
 
+<div id="page">
 <!--#include virtual="menu.html.incl"-->
-
 <div id="content">
 
 <h1>Filing Bugs and Feature Requests</h1>
@@ -55,8 +55,7 @@ the analyzer has access to that bug database.</p>
 <h2>Apple-internal Users</h2>
 
 <p>Please file bugs in Radar against the <b>llvm - checker</b> component.</p>
-
-
+</div>
 </div>
 </body>
 </html>
index b5b1046e694a857a846e72d9b6837e2bfeb8e01b..814070f00edc61c9e387df9f7daab727c619ae1b 100644 (file)
@@ -9,14 +9,19 @@
 </head>
 <body>
 
+<div id="page">
 <!--#include virtual="menu.html.incl"-->
 
 <div id="content">
-<table style="margin-top:0px" border="0" cellpadding="0" cellspacing="0">
-<tr><td>
+
 <h1>Clang Static Analyzer</h1>  
+
+<table style="margin-top:0px" width="100%" border="0" cellpadding="0px" cellspacing="0">
+<tr><td>
 <p>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.</p>
+
+<p>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.</p>
 
@@ -76,7 +81,7 @@ href="http://clang.llvm.org">Clang</a> project.</p>
   #wrappedcontent { padding:15px;}
 </style>
 
-<div style="margin-left:25px; margin-right:25px; padding:0px; font-size: 80%">
+<div style="padding:0px; font-size: 90%">
  <b class="spiffy">
  <b class="spiffy1"><b></b></b>
  <b class="spiffy2"><b></b></b>
@@ -108,6 +113,13 @@ href="http://clang.llvm.org">Clang</a> project.</p>
  <b class="spiffy1"><b></b></b></b>
 </div>
 
+</td><td style="padding-left:10px">
+<a href="images/analyzer_xcode.png"><img src="images/analyzer_xcode.png" width="450x"></a>
+<center><b>Viewing static analyzer results in Xcode 3.2</b></center>
+<a href="images/analyzer_html.png"><img src="images/analyzer_html.png" width="450px"></a>
+<center><b>Viewing static analyzer results in a web browser</b></center>
+</td></tr></table>
+
 <h2 id="StaticAnalysis">What is Static Analysis?</h2>
 
 <p>The term &quot;static analysis&quot; 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.</p>
 
-
-
-
-</td><td>
-<a href="images/analyzer_xcode.png"><img src="images/analyzer_xcode.png" width="450x"></a>
-<center><b>Viewing static analyzer results in Xcode 3.2</b></center>
-<a href="images/analyzer_html.png"><img src="images/analyzer_html.png" width="450px"></a>
-<center><b>Viewing static analyzer results in a web browser</b></center>
-</td></tr></table>
-
 <h3 id="Clang">Part of Clang and LLVM</h3>
 
 <p>As its name implies, the Clang Static Analyzer is built on top of <a
@@ -192,6 +194,7 @@ you would like the Clang Static Analyzer to find, please feel free to
 file <a href="filing_bugs.html">feature requests</a> or contribute your own
 patches.</p>
 
+</div>
 </div>
 </body>
 </html>
index ceb2aed09efe549fe4543115392bcfe69b79de0e..75ecabd80cdb18e2bba06bbe05a03f075d6265bf 100644 (file)
@@ -9,8 +9,8 @@
 </head>
 <body>
 
+<div id="page">
 <!--#include virtual="menu.html.incl"-->
-
 <div id="content">
 
 <h1>Obtaining the Static Analyzer</h1>
@@ -107,7 +107,7 @@ are located in <tt>$(SRCDIR)/tools/clang/tools/scan-build</tt> and
 are subject to change.</p></li>
 
 </ul>
-
+</div>
 </div>
 </body>
 </html>
index a402d5a83f9a17e71a0e1995eb31be464bef0248..e18b8e0bbbe303259cb0e674cad6cb44edf062ca 100644 (file)
@@ -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;
-}
+
index 2c430799a702fbc42066403329fe895c21d32519..80f9b6eb7f40435354400595ef84b29ebd30ea86 100644 (file)
@@ -1,37 +1,39 @@
-<div id="nav">
+<table width="100%" id="nav" cellspacing=0 cellpadding=0>
+<tr><td>
+<ul style="margin:0; padding:0" class="menubar">
+<li>
+  <a href="/index.html">About</a>
   <ul class="menubar">
-    <li>
-      <a href="/index.html">About</a>
-      <ul>
-        <li><a href="/index.html">About the Analyzer</a></li>
-        <li><a href="http://llvm.org/">LLVM Project</a></li>
-        <li><a href="http://clang.llvm.org/">Clang Project</a></li>
-      </ul>
-    </li>
-    <li>
-      <a href="/filing_bugs.html">Filing Bugs</a>
-    </li>
-    <li>
-      User Manual
-      <ul>
-        <li><a href="/installation.html">Obtaining the Analyzer</a></li>
-        <li><a href="/scan-build.html">Running the Analyzer</tt></a></li>
-        <li><a href="/available_checks.html">Available Checks</a></li>
-        <li><a href="/annotations.html">Source-level Annotations</a></li>
-      </ul>
-    </li>
-    <li>
-      Development
-      <ul>
-        <li><a href="/dev_cxx.html">Analysis support for C++</a></li>
-      </ul>
-    </li>
-    <li>
-      Mailing Lists
-      <ul>
-        <li><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">cfe-dev</a></li>
-        <li><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">cfe-commits</a></li>
-      </ul>
-    </li>
+    <li><a href="/index.html">About the Analyzer</a></li>
+    <li><a href="http://llvm.org/">LLVM Project</a></li>
+    <li><a href="http://clang.llvm.org/">Clang Project</a></li>
   </ul>
-</div>
+</li>
+<li>
+  <a href="/filing_bugs.html">Filing Bugs</a>
+</li>
+<li>
+  User Manual
+  <ul>
+    <li><a href="/installation.html">Obtaining the Analyzer</a></li>
+    <li><a href="/scan-build.html">Running the Analyzer</tt></a></li>
+    <li><a href="/available_checks.html">Available Checks</a></li>
+    <li><a href="/annotations.html">Source-level Annotations</a></li>
+  </ul>
+</li>
+<li>
+  Development
+  <ul>
+    <li><a href="/dev_cxx.html">Analysis support for C++</a></li>
+  </ul>
+</li>
+<li>
+  Mailing Lists
+  <ul>
+    <li><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">cfe-dev</a></li>
+    <li><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">cfe-commits</a></li>
+  </ul>
+</li>
+</ul>
+</td></tr>
+</table>
index 884530bb66d4c61f6cd7c50f902f0e46d057d03c..26b9fc190436ef561aad6d9b37355c11f3a0c74d 100644 (file)
@@ -26,8 +26,8 @@
 </head>
 <body>
 
+<div id="page">
 <!--#include virtual="menu.html.incl"-->
-
 <div id="content">
 
 <h1>Running the Analyzer</h1>
@@ -245,6 +245,7 @@ the arguments over to <tt>gcc</tt>, but this may not work perfectly (please
 report bugs of this kind).
  -->
 
+</div>
 </div>
 </body>
 </html>