Software Freedom Law Center

Changeset 76

Show
Ignore:
Timestamp:
09/28/06 21:21:08 (2 years ago)
Author:
orion
Message:


Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/email-submission/email-reply-template-notfound.txt

    r38 r76  
    3636entered in our bug tracker. 
    3737 
    38 (This is the first run of the email interface, which will soon be 
    39 automated, so now would be a particularly good time to point out bugs.) 
    40  
    4138Here is the message you sent us: 
    4239--------- 
  • trunk/email-submission/email-reply-template-toomany.txt

    r38 r76  
    4646entered in our bug tracker. 
    4747 
    48 (This is the first run of the email interface, which will soon be 
    49 automated, so now would be a particularly good time to point out bugs.) 
    50  
    5148Here is the message you sent us: 
    5249--------- 
  • trunk/email-submission/email.html

    r51 r76  
    6868into a usable annotation. 
    6969</p> 
    70 <p>Send your comments to: <a href="mailto:comments@gplv3.fsf.org">comments at gplv3.fsf.org</a></p> 
     70<p>Send comments on the GPL draft to: <a href="mailto:gpl-comments@gplv3.fsf.org">gpl-comments at gplv3.fsf.org</a></p> 
     71<p>Send comments on the LGPL draft to: <a href="mailto:lgpl-comments@gplv3.fsf.org">lgpl-comments at gplv3.fsf.org</a></p> 
     72<p>Send comments on the GFDL draft to: <a href="mailto:gfdl-comments@gplv3.fsf.org">gfdl-comments at gplv3.fsf.org</a></p> 
     73<p>Send comments on the GSFDL draft to: <a href="mailto:gsfdl-comments@gplv3.fsf.org">gsfdl-comments at gplv3.fsf.org</a></p> 
    7174</div> 
    7275</html> 
  • trunk/selectxpath.xsl

    r69 r76  
    1 <!-- Copyright (C) 2005   Software Freedom Law Center, Inc. 
     1<!-- Copyright (C) 2005, 2006   Software Freedom Law Center, Inc. 
    22--   Author: Orion Montoya <orion@mdcclv.com> 
    33-- 
     
    3535        <script type="text/javascript" src="stet-intense-shorter.js"/> 
    3636        <script type="text/javascript" language="javascript"> 
    37           /* for Mozilla */ 
    38           /*   if (document.addEventListener) { 
    39           document.addEventListener("DOMContentLoaded", initPage(), null); 
    40           } */ 
    41           /* for Internet Explorer */ 
    42           /*@cc_on @*/ 
    43           /*@if (@_win32) 
    44           document.write("&lt;script defer src=ie_onload.js>&lt;"+"/script>"); 
    45               /*@end @*/ 
    46               /* for other browsers */ 
    47               var OnLoad = 'initPage()';  
    48               window.onload = function() {eval(OnLoad)};  
     37window.onload = initPage(); 
    4938</script> 
    5039 
  • trunk/stet-intense-shorter.js

    r69 r76  
    3434/*   ev.initEvent("printfire", false, true); */ 
    3535/*       dispatchEvent(ev); */ 
    36 /*   } */ 
     36/*   } */ 
    3737} 
    3838 
     
    4646var noMatch =  0; 
    4747function initPage() { 
     48  //  alert("starting initPage, supposedly DOM is loaded"); 
     49  //alert(document.getElementsByTagName("*").length); 
    4850  // quit if this function has already been called 
    4951  if (arguments.callee.done) return; 
     
    5456  filename = filename.replace(/.xml|.html/,''); 
    5557  //    printfire('filename is '+filename); 
    56   if((!filename.length) || (filename.match(/index/)) || (filename.match(/comments$/))|| (filename.match(/comments\/\?/)) || (filename.match(/comments\/#/)) || (filename.match(/debug/) || (filename.match(/classic/)))) { 
    57     filename = 'uncertain'; 
     58  if((!filename.length) || (filename.match(/index/)) || (filename.match(/comments?$/))|| (filename.match(/comments?\/\?/)) || (filename.match(/comments?\/#/)) || (filename.match(/debug/) || (filename.match(/classic/)))) { 
     59    filename = 'gplv3-draft-2'; 
    5860  } 
    5961  if(window.location.search.length) { 
     
    7678  var getUs = ''; 
    7779  for (var rtid in ticketObj) { 
    78     getUs += rtid+':'; 
     80    if ((rtid != '') && (rtid != 'length')) { 
     81      getUs += rtid+':'; 
     82    } 
    7983  } 
    8084  getnotes(getUs); 
     
    281285  } 
    282286  var method; 
     287  req.onreadystatechange = processReqChange; 
    283288  if(theData=='') { method="GET"; }  
    284289  else { method = "POST"; } 
     
    286291  req.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); 
    287292  req.setRequestHeader('X-Referer',document.location); 
    288   req.onreadystatechange = processReqChange; 
    289293  req.send(theData); 
    290294} 
     
    380384      resp_arrN = response.getElementsByTagName("ant"); 
    381385      if(!!resp_arrN.length && (resp_arrN.length > 0)) { 
     386        //      printfire("doing processAnt"); 
    382387        processAnt(response); 
    383388        did++; 
     
    519524  rtidsBySn = rtnArray[0]; 
    520525  rtidsByP = rtnArray[1]; 
    521   //  alert(rtidsBySn.length); 
     526  //  printfire("rtidsBySn = "+rtidsBySn); 
    522527  highlightSelections(rtidsBySn); 
    523528  PLinks(rtidsByP); 
    524   //  addAllLink(); 
    525   //  unOverlap("annotation",5); // thse won't overlap anymore 
     529  addAllLink(); 
     530  unOverlap("newannotation",5); // thse won't overlap anymore 
    526531  currently('Ready.'); 
    527532} 
     
    529534function addAllLink() { 
    530535  if (ticketObj.length < 150) { 
    531         loadAll(); 
    532     var sLnk = document.createElement('a');  
    533 /*     sLnk.setAttribute('href','#all'); */ 
    534 /*     sLnk.setAttribute('onClick','loadAll()'); */ 
    535     sLnk.appendChild(document.createTextNode('[currently showing all]'));  
     536//    loadAll(); 
     537    var sLnk = document.createElement('a');  
     538    sLnk.setAttribute('href','#all');   
     539    sLnk.setAttribute('onClick','loadAll()'); 
     540    sLnk.appendChild(document.createTextNode('[show all]'));  
    536541     document.getElementById('statustext').appendChild(document.createTextNode(' '));  
    537542     document.getElementById('statustext').appendChild(sLnk);  
     
    573578    if (selections_arr[prI].firstChild) { 
    574579      rtids_arr[prI].firstChild.data ? rtid = rtids_arr[prI].firstChild.data : rtid = "error"; 
    575       //      printfire('prI '+prI+',rtid '+rtid); 
     580      //printfire('prI '+prI+',rtid '+rtid); 
    576581      if (!ticketObj[rtid]) { ticketObj[rtid] = new Object; ticketObj.length++;} 
    577582      ticketObj[rtid].startnode = startnodes_arr[prI].firstChild.data.replace(/note\.[0-9]+\./,'');; 
     
    581586      if(!rtidsBySn[ticketObj[rtid].startnode]) { 
    582587        rtidsBySn[ticketObj[rtid].startnode] = new Array(rtid); 
    583         //      alert('pushing '+rtid+' to '+ticketObj[rtid].startnode); 
     588        //      printfire('1 pushing '+rtid+' to '+ticketObj[rtid].startnode); 
     589        //printfire("1 rtidsBySn[ticketObj[rtid].startnode][0] = "+rtidsBySn[ticketObj[rtid].startnode][0]); 
    584590        rtidsByP[startp] = new Array(rtid); 
    585591      } 
    586592      else { 
    587         //      alert('pushing '+rtid+' to '+ticketObj[rtid].startnode); 
     593        //      printfire('2 pushing '+rtid+' to '+ticketObj[rtid].startnode); 
    588594        rtidsBySn[ticketObj[rtid].startnode].push(rtid); 
     595        //printfire("2 rtidsBySn[ticketObj[rtid].startnode][0] = "+rtidsBySn[ticketObj[rtid].startnode][0]); 
    589596        rtidsByP[startp].push(rtid); 
    590597      } 
     
    600607  // ah, now it has to be fixed so we can highlight new annots. 
    601608  for (var section in rtidsBySn) { 
     609    //printfire('section is '+section);          
     610      var sectObj = document.getElementById(section); 
    602611    if(document.getElementById(section)) { 
    603     //    printfire('section is '+section);            
     612      //printfire('section is '+section);      
    604613    var Selections = new Array(); 
    605614    var Rtids = new Array(); 
     
    748757 
    749758var pickQueue; 
    750 if (drafter) { 
     759if (drafter.match(/drafter/)) { 
    751760pickQueue = document.createElement('select'); 
    752761pickQueue.setAttribute('name','queue'); 
     
    766775optIssues.appendChild(document.createTextNode('Issues')); 
    767776 
     777var optComA = document.createElement('option'); 
     778optComA.setAttribute('value','CommitteeA'); 
     779optComA.setAttribute('selected','selected'); 
     780optComA.appendChild(document.createTextNode('CommitteeA')); 
     781 
     782var optComB = document.createElement('option'); 
     783optComB.setAttribute('value','CommitteeB'); 
     784optComB.setAttribute('selected','selected'); 
     785optComB.appendChild(document.createTextNode('CommitteeB')); 
     786 
     787var optComC = document.createElement('option'); 
     788optComC.setAttribute('value','CommitteeC'); 
     789optComC.setAttribute('selected','selected'); 
     790optComC.appendChild(document.createTextNode('CommitteeC')); 
     791 
     792var optComD = document.createElement('option'); 
     793optComD.setAttribute('value','CommitteeD'); 
     794optComD.setAttribute('selected','selected'); 
     795optComD.appendChild(document.createTextNode('CommitteeD')); 
     796 
     797var optComT = document.createElement('option'); 
     798optComT.setAttribute('value','CommitteeT'); 
     799optComT.setAttribute('selected','selected'); 
     800optComT.appendChild(document.createTextNode('CommitteeTest')); 
     801 
    768802pickQueue.appendChild(optDrafter); 
    769803pickQueue.appendChild(optInbox); 
    770804pickQueue.appendChild(optIssues); 
    771 
     805pickQueue.appendChild(optComA); 
     806pickQueue.appendChild(optComB); 
     807pickQueue.appendChild(optComC); 
     808pickQueue.appendChild(optComD); 
     809pickQueue.appendChild(optComT); 
     810
     811 
     812else if (drafter.match(/Committee/)) { 
     813  var letray = drafter.match(/Committee(.)/); 
     814  var letter = letray[1]; 
     815 
     816  pickQueue = document.createElement('select'); 
     817  pickQueue.setAttribute('name','queue'); 
     818  pickQueue.setAttribute('id','queue'); 
     819   
     820  var optDrafter = document.createElement('option'); 
     821  optDrafter.setAttribute('value','Committee'+letter); 
     822  optDrafter.setAttribute('selected','selected'); 
     823  optDrafter.appendChild(document.createTextNode('Committee'+letter)); 
     824   
     825  var optInbox = document.createElement('option'); 
     826  optInbox.setAttribute('value','Inbox'); 
     827  optInbox.appendChild(document.createTextNode('Inbox')); 
     828   
     829  var optIssues = document.createElement('option'); 
     830  optIssues.setAttribute('value','Issues'); 
     831  optIssues.appendChild(document.createTextNode('Issues')); 
     832   
     833  pickQueue.appendChild(optDrafter); 
     834  pickQueue.appendChild(optInbox); 
     835  pickQueue.appendChild(optIssues); 
     836
     837 
    772838else { 
    773839pickQueue = document.createElement('input'); 
     
    10631129  loadHTMLtoDiv(ticketObj[rtid].full+' '+ticketObj[rtid].link+' <a href="javascript:showExcerpt(\''+rtid+'\')">[-]</a>',myCollapsed.id); 
    10641130  myCollapsed.parentNode.setAttribute('onclick',''); 
    1065   unOverlap("annotation",5); 
     1131  unOverlap("newannotation",5); 
    10661132} 
    10671133 
     
    10701136  loadHTMLtoDiv(ticketObj[rtid].excerpt+' <a href="javascript:showFull(\''+rtid+'\')">[+]</a>',myFull.id); 
    10711137  myFull.parentNode.setAttribute('onclick','showFull(\''+rtid+'\')'); 
    1072   unOverlap("annotation",5); 
     1138  unOverlap("newannotation",5); 
    10731139} 
    10741140 
     
    11321198    newMe.appendChild(document.createTextNode(' ')); 
    11331199    sLnk = document.createElement('a'); 
    1134     sLnk.setAttribute('href','http://gplv3.fsf.org/comments/rt/changeshown.html?came_from='+location.pathname); 
     1200    sLnk.setAttribute('href','http://gplv3.fsf.org/comments/rt/changeshown.html?came_from='+location.pathname+'&filename='+filename); 
    11351201    sLnk.appendChild(document.createTextNode('search')); 
    11361202    newMe.appendChild(sLnk); 
     
    11721238    lLnk.appendChild(document.createTextNode('[list]')); 
    11731239    newMe.appendChild(lLnk); 
     1240 
     1241if (!filename.match(/lgpl-draft-1/)) { 
    11741242    newMe.appendChild(document.createTextNode(' ')); 
    11751243    rat = document.createElement('a'); 
     
    11771245    rat.appendChild(document.createTextNode('[rationale]')); 
    11781246    newMe.appendChild(rat); 
     1247} 
    11791248    newMe.appendChild(document.createElement('br')); 
    11801249    newMe.appendChild(document.createTextNode('(found '+t.data+': click highlights to show.) ')); // , showing '+rng.data)); 
     
    11831252    sLnk.setAttribute('id','searchlink'); 
    11841253    sLnkA = document.createElement('a'); 
    1185     sLnkA.setAttribute('href','http://gplv3.fsf.org/comments/rt/changeshown.html?filename='+filename+'came_from='+location.pathname); 
     1254    sLnkA.setAttribute('href','http://gplv3.fsf.org/comments/rt/changeshown.html?filename='+filename+'&came_from='+location.pathname); 
    11861255    sLnkA.appendChild(document.createTextNode('search')); 
    11871256    sLnk.appendChild(sLnkA) 

SFLC Main Page

[frdm] Support SFLC