[llvm-commits] CVS: llvm-www/pubs/index.html pubs.js
Misha Brukman
brukman at cs.uiuc.edu
Wed Dec 24 18:46:47 PST 2008
Changes in directory llvm-www/pubs:
index.html updated: 1.88 -> 1.89
pubs.js updated: 1.1 -> 1.2
---
Log message:
* Split month vs. year in publication dates
* Converted 2 more papers to the new Javascript format
---
Diffs of the changes: (+33 -14)
index.html | 10 ----------
pubs.js | 37 +++++++++++++++++++++++++++++++++----
2 files changed, 33 insertions(+), 14 deletions(-)
Index: llvm-www/pubs/index.html
diff -u llvm-www/pubs/index.html:1.88 llvm-www/pubs/index.html:1.89
--- llvm-www/pubs/index.html:1.88 Wed Dec 24 17:08:39 2008
+++ llvm-www/pubs/index.html Wed Dec 24 20:45:50 2008
@@ -328,16 +328,6 @@
GCC</a>"<br> Chris Lattner & Vikram Adve<br> <i>First Annual GCC Developers'
Summit</i>, Ottawa, Canada, May 2003.<br> </li>
-<li>"<a href="2003-04-29-DataStructureAnalysisTR.html">Data Structure Analysis:
-An Efficient Context-Sensitive Heap Analysis</a>"<br> Chris Lattner & Vikram
-Adve<br> <i>Technical Report #UIUCDCS-R-2003-2340, Computer Science Dept., Univ. of
-Illinois</i>, Apr. 2003.<br> </li>
-
-<li>"<a href="2002-12-LattnerMSThesis.html">LLVM: An Infrastructure for
-Multi-Stage Optimization</a>"<br> Chris Lattner<br> <i>Masters Thesis</i>,
-Computer Science Dept., University of Illinois at Urbana-Champaign,
-Dec. 2002</li>
-
</ol>
<script src="pubs.js" type="text/javascript"></script>
Index: llvm-www/pubs/pubs.js
diff -u llvm-www/pubs/pubs.js:1.1 llvm-www/pubs/pubs.js:1.2
--- llvm-www/pubs/pubs.js:1.1 Wed Dec 24 17:08:39 2008
+++ llvm-www/pubs/pubs.js Wed Dec 24 20:45:50 2008
@@ -1,6 +1,22 @@
// The array should be sorted reverse-chronologically, and will be displayed on
// the page in the order listed.
var PUBS = [
+ {url: '2003-04-29-DataStructureAnalysisTR.html',
+ title: 'Data Structure Analysis: An Efficient Context-Sensitive Heap Analysis',
+ author: 'Chris Lattner & Vikram Adve',
+ published: 'Technical Report #UIUCDCS-R-2003-2340',
+ location: 'Computer Science Dept., Univ. of Illinois',
+ month: 4,
+ year: 2003},
+
+ {url: '2002-12-LattnerMSThesis.html',
+ title: 'LLVM: An Infrastructure for Multi-Stage Optimization',
+ author: 'Chris Lattner',
+ published: 'Masters Thesis',
+ location: 'Computer Science Dept., University of Illinois at Urbana-Champaign',
+ month: 12,
+ year: 2002},
+
{url: '2002-08-08-CASES02-ControlC.html',
title: 'Ensuring Code Safety Without Runtime Checks for Real-Time ' +
'Control Systems',
@@ -8,14 +24,16 @@
published: "Proc. Int'l Conf. on Compilers, Architecture and Synthesis " +
"for Embedded Systems (CASES02)",
location: 'Grenoble, France',
- date: 'Oct. 2002'},
+ month: 10,
+ year: 2002},
{url: '2002-06-AutomaticPoolAllocation.html',
title: 'Automatic Pool Allocation for Disjoint Data Structures',
author: 'Chris Lattner & Vikram Adve',
published: 'ACM SIGPLAN Workshop on Memory System Performance (MSP)',
location: 'Berlin, Germany',
- date: 'June 2002'}
+ month: 6,
+ year: 2002}
];
/**
@@ -47,6 +65,10 @@
* the publications, each of which will be a list item (LI).
*/
function displayAllPubs(id) {
+ var MONTHS = [
+ 'Jan.', 'Feb.', 'Mar.', 'Apr.', 'May', 'June',
+ 'July', 'Aug.', 'Sep.', 'Oct.', 'Nov.', 'Dec.'
+ ];
var list = document.getElementById(id);
for (var i = 0; i < PUBS.length; ++i) {
var pub = PUBS[i];
@@ -58,8 +80,15 @@
if (isDef(pub.location)) {
item.innerHTML += ', ' + htmlEscape(pub.location);
}
- if (isDef(pub.date)) {
- item.innerHTML += ', ' + htmlEscape(pub.date);
+ if (isDef(pub.month) || isDef(pub.year)) {
+ var date = [];
+ if (isDef(pub.month)) {
+ date.push(MONTHS[pub.month - 1]);
+ }
+ if (isDef(pub.year)) {
+ date.push(pub.year);
+ }
+ item.innerHTML += ', ' + htmlEscape(date.join(' '));
}
item.innerHTML += '.';
list.appendChild(item);
More information about the llvm-commits
mailing list