From: Ted Kremenek Date: Fri, 12 Feb 2010 21:05:44 +0000 (+0000) Subject: (1) Correctly format external Javascript link. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4aed5f8a30e39e169dcdef1c315f0f7a5699738;p=clang (1) Correctly format external Javascript link. (2) Reformat "annotations" topics list to use a collapsable tree. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96013 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/www/analyzer/annotations.html b/www/analyzer/annotations.html index 7f6fe38857..6204713463 100644 --- a/www/analyzer/annotations.html +++ b/www/analyzer/annotations.html @@ -5,7 +5,8 @@ Source Annotations - + + @@ -35,30 +36,34 @@ attributes.

recognized by GCC. Their use can be conditioned using preprocessor macros (examples included on this page).

- diff --git a/www/analyzer/available_checks.html b/www/analyzer/available_checks.html index 0d34882cb5..7af0865065 100644 --- a/www/analyzer/available_checks.html +++ b/www/analyzer/available_checks.html @@ -5,7 +5,7 @@ Available Checks - + diff --git a/www/analyzer/content.css b/www/analyzer/content.css index cced91621a..823fae265c 100644 --- a/www/analyzer/content.css +++ b/www/analyzer/content.css @@ -46,3 +46,18 @@ IMG.img_slide { /* Tables */ tr { vertical-align:top } + +/* Collapsing Trees: http://dbtree.megalingo.com/web/demo/simple-collapsible-tree.cfm */ +#collapsetree, #collapsetree a:link, #collapsetree li a:link, #collapsetree a:visited, #collapsetree li a:visited{color:#000;text-decoration:none} +#collapsetree,#collapsetree ul{list-style-type:none; width:auto; margin:0; padding:0} +#collapsetree ul{padding-left:20px;display:none;overflow:auto} +#collapsetree li ul{margin:0 auto} +#collapsetree li{display:block;width:100%;line-height:20px;white-space:nowrap} +#collapsetree li a{display:block;padding-left:20px;color:#000;text-decoration:none;background:url(images/tree/bullet.gif) center left no-repeat;white-space:nowrap} +#collapsetree li a:hover{text-decoration:underline;background-color:transparent;color:#000} +#collapsetree li ul.click{display:block} +#collapsetree li.click a{background:url(images/tree/bullet.gif) center left no-repeat} +#collapsetree ul li.click a{background:url(images/tree/bullet.gif) center left no-repeat} +#collapsetree li a.subMenu,#collapsetree ul li a.subMenu{background:url(images/tree/plus.gif) center left no-repeat} +#collapsetree li a.click{background:url(images/tree/minus.gif) center left no-repeat} +#collapsetree ul li a.click{background:url(images/tree/minus.gif) center left no-repeat} \ No newline at end of file diff --git a/www/analyzer/dev_cxx.html b/www/analyzer/dev_cxx.html index 58a4d16cd2..b5ef2b1091 100644 --- a/www/analyzer/dev_cxx.html +++ b/www/analyzer/dev_cxx.html @@ -5,7 +5,7 @@ Analyzer Development: C++ Support - + diff --git a/www/analyzer/filing_bugs.html b/www/analyzer/filing_bugs.html index 122e93183c..746f1cb22e 100644 --- a/www/analyzer/filing_bugs.html +++ b/www/analyzer/filing_bugs.html @@ -5,7 +5,7 @@ Filing Bugs and Feature Requests - + diff --git a/www/analyzer/images/tree/bullet.gif b/www/analyzer/images/tree/bullet.gif new file mode 100644 index 0000000000..de15348546 Binary files /dev/null and b/www/analyzer/images/tree/bullet.gif differ diff --git a/www/analyzer/images/tree/minus.gif b/www/analyzer/images/tree/minus.gif new file mode 100644 index 0000000000..225f40daeb Binary files /dev/null and b/www/analyzer/images/tree/minus.gif differ diff --git a/www/analyzer/images/tree/plus.gif b/www/analyzer/images/tree/plus.gif new file mode 100644 index 0000000000..5398c80133 Binary files /dev/null and b/www/analyzer/images/tree/plus.gif differ diff --git a/www/analyzer/index.html b/www/analyzer/index.html index d4b63a9379..006bc5c265 100644 --- a/www/analyzer/index.html +++ b/www/analyzer/index.html @@ -5,7 +5,7 @@ Clang Static Analyzer - + diff --git a/www/analyzer/installation.html b/www/analyzer/installation.html index 75ecabd80c..b84f263972 100644 --- a/www/analyzer/installation.html +++ b/www/analyzer/installation.html @@ -5,7 +5,7 @@ Obtaining the Static Analyzer - + diff --git a/www/analyzer/scan-build.html b/www/analyzer/scan-build.html index 85ee3cd181..16bdbfdbe2 100644 --- a/www/analyzer/scan-build.html +++ b/www/analyzer/scan-build.html @@ -5,7 +5,7 @@ Running the Analyzer - + diff --git a/www/analyzer/scripts/dbtree.js b/www/analyzer/scripts/dbtree.js new file mode 100644 index 0000000000..5face5db96 --- /dev/null +++ b/www/analyzer/scripts/dbtree.js @@ -0,0 +1 @@ +eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7 5,r,Q,u;7 17=[];5=H;1i();9(!1Z.1j.20){1Z.1j.20=k(a){C[C.D]=a}}7 19=\'35+/\';k 36(a){7 b,R=\'\',i=0;I(;i>16,(b&3a)>>8,b&1a)}9(a.21(i-2)==22)1m=R.23(0,R.D-2);s 9(a.21(i-1)==22)1m=R.23(0,R.D-1);s 1m=R;z 3b(1m)}7 A={24:k(){7 a=l.E(\'X\');I(7 i=0;i