Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 50526 Details for
Bug 157939
[Patch] Apply Patch should be able to handle patches generated by diff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch to update EMFT site to Phoenix skin
phoenix_emft.patch (text/plain), 158.63 KB, created by
Nick Boldt
on 2006-09-19 23:59:59 EDT
(
hide
)
Description:
patch to update EMFT site to Phoenix skin
Filename:
MIME Type:
Creator:
Nick Boldt
Created:
2006-09-19 23:59:59 EDT
Size:
158.63 KB
patch
obsolete
>Index: includes/footer.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/includes/footer.php,v >retrieving revision 1.2 >diff -u -r1.2 footer.php >--- includes/footer.php 3 Apr 2006 19:25:04 -0000 1.2 >+++ includes/footer.php 19 Sep 2006 19:31:12 -0000 >@@ -1,12 +1,3 @@ >-<?php include $pre."includes/nav.php"; ?> >- >-<p> >- <a href="http://www.eclipse.org/emft">EMFT Home</a> | >- <a href="http://www.eclipse.org/emf/emf.php">EMF Home</a> | >- <a href="#top">Top of Page</a> >-</p> >- >-<!-- wrapper for left nav --> >-</td></tr></table> >- >-</body></html> >\ No newline at end of file >+<?php >+/* no longer used */ >+?> >Index: includes/header.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/includes/header.php,v >retrieving revision 1.5 >diff -u -r1.5 header.php >--- includes/header.php 10 Apr 2006 17:01:01 -0000 1.5 >+++ includes/header.php 19 Sep 2006 19:31:12 -0000 >@@ -1,73 +1,9 @@ >-<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> >-<?php include_once $pre."includes/php42fix.php"; >- include_once $pre."includes/scripts.php"; >- $WWWpre = "http://www.eclipse.org/emft/"; >- $WWWprePhysical = "/home/data/httpd/www.eclipse.org/html/emft/"; >+<?php >+ include_once $pre . "includes/scripts.php"; >+ $WWWpre = "http://www.eclipse.org/emft/"; >+ $WWWprePhysical = "/home/data/httpd/www.eclipse.org/html/emft/"; > >- $isEMFserver = (false!==strpos($SERVER_NAME,"emf")); >- $isWWWserver = ($SERVER_NAME=="www.eclipse.org"||$SERVER_NAME=="eclipse.org"); >- $isEclipseCluster = ($SERVER_NAME=="www.eclipse.org"||$SERVER_NAME=="eclipse.org"||$SERVER_NAME=="download.eclipse.org"||$SERVER_NAME=="download1.eclipse.org"); >+ $isEMFserver = (preg_match("/emf/", $_SERVER["SERVER_NAME"])); >+ $isWWWserver = (preg_match("/^(?:www.|)eclipse.org$/", $_SERVER["SERVER_NAME"])); >+ $isEclipseCluster = (preg_match("/^(?:www.||download.|download1.)eclipse.org$/", $_SERVER["SERVER_NAME"])); > ?> >-<html> >-<head> >- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> >- <meta name="GENERATOR" content="Mozilla/4.72 [en] (Windows NT 5.0; U) [Netscape]"> >- <title><?php if (!$HTMLTitle) { echo "Eclipse Tools - EMF Technologies - $scn"; } else { echo $HTMLTitle; } ?></title> >- <link REL="SHORTCUT ICON" HREF="http://www.eclipse.org/emft/images/eclipse-icons/eclipse32.ico"> >- <script type="text/javascript" src="http://www.eclipse.org/emft/includes/nav.js"></script> >- <link rel="stylesheet" href="http://www.eclipse.org/emft/includes/style.css" type="text/css"> >- <!-- $Id: header.php,v 1.5 2006/04/10 17:01:01 nickb Exp $ --> >- <!-- PHP version: <?php echo phpversion(); ?> --> >- <!-- Server Name: <?php echo $SERVER_NAME; ?> --> >-</head> >-<body> >-<?php if (!$noHeader) { ?> >- <link rel="stylesheet" href="http://www.eclipse.org/emft/includes/tooltip.css" type="text/css"/> >- <div id="dhtmltooltip"></div> >- <script type="text/javascript" src="http://www.eclipse.org/emft/includes/tooltip.js"></script> >-<!-- wrapper for left nav --> >-<table cellspacing="0" cellpadding="0" border="0" width="100%"> >- <tr valign="top"><td colspan="1" align="left" width="100%"> >- <table border="0" cellspacing="0" cellpadding="0" WIDTH="100%" BGCOLOR="#006699" > >- >- <tr> >- <td BGCOLOR="#000000" width="116" ><a name="top"></a><a href="http://www.eclipse.org" target="_top"><img src="http://www.eclipse.org/images/EclipseBannerPic.jpg" width="115" height="50" border="0"/></a></td> >- <td WIDTH="637"><img SRC="http://www.eclipse.org/images/gradient.jpg" border="0" height="50" width="282"/></td> >- <td WIDTH="250"><img src="http://www.eclipse.org/images/eproject-simple.GIF" width="250" height="48"/></td> >- </tr> >- </table> >- </td> >- </tr> >-</table> >-<table cellspacing="0" cellpadding="0" border="0"> >- <tr valign=top> >- <td align=left width=115 bgcolor="#6699CC"><?php foreach (getFile("includes/nav.html") as $line) { echo $line; } ?></td> >- <td><img src="http://www.eclipse.org/emf/images/c.gif" border="0" width="3" height="1"></td><td align="left" width="100%"> >-  >-<table border="0" cellpadding="2" width="100%"> >- <tbody> >- >- <tr> >- <td align="left" width="60%"> >- <font class="indextop"><?php if (!$ProjectName[0]) { echo "EMFT"; } else { echo $ProjectName[0]; } ?></font><br> >- <font class="indexsub"><?php if (!$ProjectName[1]) { echo "Eclipse Modeling Framework Technologies"; } else { echo $ProjectName[1]; } ?></font> >- </td> >- <td width="40%"> >- <img src="<?php if (!$ProjectName[3]) { echo "http://www.eclipse.org/emf/images/c.gif"; } else { echo (strstr($ProjectName[3],$WWWpre)?$ProjectName[3]:$WWWpre.$ProjectName[3]); } ?>" align="right"/> >- </td> >- >- </tr> >- </tbody> >-</table> >- >-<table BORDER=0 CELLPADDING=2 WIDTH="100%" > >-<tr> >-<td ALIGN=LEFT VALIGN=TOP BGCOLOR="#0070A0"><b><font face="Arial,Helvetica"><font color="#FFFFFF"><?php if (!$ProjectName[2]) { echo "Eclipse Modeling Framework Technologies"; } else { echo $ProjectName[2]; } ?></font></font></b><a name="top"> </a></td> >-</tr> >-</table> >-<table BORDER=0 CELLPADDING=2 WIDTH="100%" > >-<tr> >-<td ALIGN=right VALIGN=TOP><b><font face="Arial,Helvetica"><small><a href="#quicknav">Quick Nav</a></small></td> >-</tr> >-</table> >-<?php } // end if $noHeader ?> >\ No newline at end of file >Index: includes/nav.html >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/includes/nav.html,v >retrieving revision 1.14 >diff -u -r1.14 nav.html >--- includes/nav.html 27 Jun 2006 23:37:12 -0000 1.14 >+++ includes/nav.html 19 Sep 2006 19:31:12 -0000 >@@ -1,248 +1 @@ >-<!-- not really XML, but designed to be embedded as XML, not HTML --> >-<div> >-<table border="0" cellspacing="0" cellpadding="0" BGCOLOR="#90C8FF" width="116"> >- <!-- common links - both projects --> >- <tr> >- <td valign="CENTER" height="21" BGCOLOR="#0080C0">  <a href="http://www.eclipse.org/emft" target="_top" class="navhead">EMFT home</a></td> >- >- </tr> >- >- <tr><td bgcolor="#CFFFFF" width="116" height="1"></td></tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/projects/eodm/" target="_top" class="nav"><i class="nav" style="color:#555555">eodm</i></a> >- </td> >- </tr> >- >- <tr><td bgcolor="#CFFFFF" width="116" height="1"></td></tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/projects/jet/" target="_top" class="nav"><i class="nav" style="color:#555555">jet</i></a>, >- <a href="http://www.eclipse.org/emft/projects/jeteditor/" target="_top" class="nav"><i class="nav" style="color:#555555">editor</i></a> >- </td> >- </tr> >- >- >- <tr><td bgcolor="#CFFFFF" width="116" height="1"></td></tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/projects/net4j/" target="_top" class="nav"><i class="nav" style="color:#555555">net4j</i></a>, >- <a href="http://www.eclipse.org/emft/projects/cdo/" target="_top" class="nav"><i class="nav" style="color:#555555">cdo</i></a> >- </td> >- </tr> >- >- >- <tr><td bgcolor="#CFFFFF" width="116" height="1"></td></tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/projects/ocl" target="_top" class="nav"><i class="nav" style="color:#555555">ocl</i></a> >- </td> >- </tr> >- >- <tr><td bgcolor="#CFFFFF" width="116" height="1"></td></tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/projects/query" target="_top" class="nav"><i class="nav" style="color:#555555">query</i></a> >- </td> >- </tr> >- >- <tr><td bgcolor="#CFFFFF" width="116" height="1"></td></tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/projects/transaction" target="_top" class="nav"><i class="nav" style="color:#555555">transaction</i></a> >- </td> >- </tr> >- >-<tr><td bgcolor="#CFFFFF" width="116" height="1"></td></tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/projects/validation" target="_top" class="nav"><i class="nav" style="color:#555555">validation</i></a> >- </td> >- </tr> >- >- <tr><td bgcolor="#CFFFFF" width="116" height="1"></td></tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://download.eclipse.org/technology/emft/downloads/" class="nav">Downloads</a> >- </td> >- </tr> >- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21">  <a href="http://download.eclipse.org/technology/emft/updates/" class="nav">Update Manager</a></td> >- </tr> >- >- <!-- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/docs.php" class="nav">Documentation</a><br/> >- >- </td> >- </tr> >- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/faq/faq.php" class="nav">FAQs</a> >- >- </td> >- </tr> >- >---> >- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emft/news/release-notes.php" class="nav">Release Notes</a> >- </td> >- </tr> >- >-<!-- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://download.eclipse.org/technology/emft/whatsnew-cvs/?source=" class="nav">What's New, CVS?</a> >- </td> >- </tr> >---> >- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="javascript:void(goBugzLink())" onclick="goBugzLink()" class="nav">Open Bugs</a> >- >- </td> >- </tr> >- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a >- href="news://news.eclipse.org/eclipse.technology.emft" class="nav">Newsgroup</a> >- >- </td> >- </tr> >- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- >-</table> >- >-<table border="0" cellspacing="0" cellpadding="0" cols="1" width="116" BGCOLOR="#90C8FF" height="45" > >- <tr> >- <td valign="CENTER" height="21" BGCOLOR="#0080C0"> <a href="http://www.eclipse.org/tools/index.html" target="_top" class="navhead"> >- tools</a>  <a href="http://www.eclipse.org/technology/index.html" target="_top" class="navhead"> >- tech</a></td> >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/downloads/" class="nav">Downloads</a> >- </td> >- >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- >- <tr valign="CENTER"> >- <td valign="CENTER" height="21"> >-   <a href="http://www.eclipse.org/emf" class="nav" target="_top">EMF</a> >- >- </td> >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- >- >-</table> >-<table border="0" cellspacing="0" cellpadding="0" width="116" BGCOLOR="#90C8FF" > >- <tr> >- <td valign="CENTER" height="21" BGCOLOR="#0080C0">  <a href="http://www.eclipse.org" target="_top" class="navhead"> >- Eclipse home</a></td> >- </tr> >- <tr valign="CENTER"> >- <td height="21">  <a href="http://www.eclipse.org/org/index.html" class="nav" target="_top">about us</a></td> >- >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td height="21">  <a href="http://www.eclipse.org/projects/index.html" class="nav" target="_top">projects</a></td> >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- >- </tr> >- <tr valign="CENTER"> >- <td height="21">  <a href="http://www.eclipse.org/downloads/" class="nav" target="_top">downloads</a></td> >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td height="21">  <a href="http://www.eclipse.org/articles/index.html" class="nav" target="_top">articles</a></td> >- >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td height="21">  <a href="http://www.eclipse.org/newsgroups/index.html" class="nav" target="_top">newsgroups</a></td> >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21">  <a href="http://www.eclipse.org/mail/index.html" class="nav" target="_top">mailing >- lists</a></td> >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td valign="CENTER" height="21">  <a href="http://www.eclipse.org/community/index.html" class="nav" target="_top">community</a></td> >- >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >- <tr valign="CENTER"> >- <td height="21">  <a href="http://www.eclipse.org/search/search.cgi" class="nav">search</a></td> >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- >- </tr> >- <tr valign="CENTER"> >- <td height="21">  <a href="https://bugs.eclipse.org/bugs/" class="nav">bugs</a></td> >- </tr> >- <tr> >- <td bgcolor="#CFFFFF" width="116" height="1"></td> >- </tr> >-</table> >-</div> >-<!-- $Id: nav.html,v 1.14 2006/06/27 23:37:12 nickb Exp $ --> >\ No newline at end of file >+<!-- no longer used --> >Index: includes/nav.js >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/includes/nav.js,v >retrieving revision 1.1 >diff -u -r1.1 nav.js >--- includes/nav.js 11 Jan 2006 23:11:25 -0000 1.1 >+++ includes/nav.js 19 Sep 2006 19:31:12 -0000 >@@ -1,4 +1 @@ >-function goBugzLink() { >- var collist = "%26query_format%3Dadvanced&column_changeddate=on&column_bug_severity=on&column_priority=on&column_rep_platform=on&column_bug_status=on&column_product=on&column_component=on&column_version=on&column_target_milestone=on&column_short_short_desc=on&splitheader=0"; >- document.location.href='https://bugs.eclipse.org/bugs/colchange.cgi?rememberedquery=product%3DEMFT%26bug_status%3DNEW%26bug_status%3DASSIGNED%26bug_status%3DREOPENED%26order%3Dbugs.bug_status%2Cbugs.target_milestone%2Cbugs.bug_id'+collist; >-} >\ No newline at end of file >+/* no longer used */ >Index: includes/nav.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/includes/nav.php,v >retrieving revision 1.10 >diff -u -r1.10 nav.php >--- includes/nav.php 19 May 2006 16:43:54 -0000 1.10 >+++ includes/nav.php 19 Sep 2006 19:31:12 -0000 >@@ -1,182 +1,65 @@ > <!-- $Id: nav.php,v 1.10 2006/05/19 16:43:54 nickb Exp $ --> >-<!-- quick nav --> >- >- <table border="0"> >- <tr> >- <td ALIGN=LEFT VALIGN=TOP BGCOLOR="#0070A0" colspan=3><b><font face="Arial,Helvetica"><font color="#FFFFFF">Quick Nav</font></font></b><a name="quicknav"> </a></td> >- </tr> >- <tr> >- <td width="65%" valign="top"> >- >- <table width="100%" id="AutoNumber1" border="0" bordercolor="#111111" >- style="border-collapse: collapse;" cellspacing="0" cellpadding="0"> >- <tr> >- <td> <a >- href="<?php echo $pre; ?>downloads/"><img >- src="<?php echo $WWWpre; ?>images/download.gif" border="0"></a></td> >- >- <td height="42"> <a >- href="<?php echo $pre; ?>downloads/" target="_self" >- class="category">Downloads</a> >- >- <?php if (strstr($SERVER_NAME,"emf.torolab.ibm.com")) { ?> >-:: <a href="http://emf.torolab.ibm.com/emft/build.php" target="_self" class="category">New Build</a> >- <?php } ?> >- >-<br><a class="subcategory" href="http://download.eclipse.org/technology/emft/updates/">Update Manager Site</a><br> >- >-<br> >- </td> >- >- <td width="11" rowspan="4"><br> >- </td> >- >- <td> <a href="news://news.eclipse.org/eclipse.technology.emft"> <img >- src="<?php echo $WWWpre; ?>images/news.gif" border="0"></a></td> >- <td> <a href="news://news.eclipse.org/eclipse.technology.emft" >- class="category" target="_top">EMFT newsgroup</a><br> >- >- <a href="http://www.eclipse.org/search/search.cgi" >- target="_self" class="subcategory">Search</a>, <a >- href="http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.emft" >- target="_self" class="subcategory">Web >-Interface</a></td> >- >- >- </tr> >- <tr> >- >-<td> <a href="http://bugs.eclipse.org/bugs"> <img >- src="<?php echo $WWWpre; ?>images/bugzilla.gif" border="0"></a></td> >- >- <td height="42"> <a href="http://bugs.eclipse.org/bugs" >- target="_self" class="category">Bugzilla</a><br> >- >-<a href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=EMFT" class="subcategory">EMFT Components</a><br/> >- >-<?php >- >- $statuses = array( >- "Open" => "%26bug_status%3DNEW%26bug_status%3DASSIGNED%26bug_status%3DREOPENED", >- "Closed This Week" => "%26bug_status%3DRESOLVED%26bug_status%3DVERIFIED%26bug_status%3DCLOSED%26changedin%3D7" >- ); >- $blcnt=0; >- $collist = "%26query_format%3Dadvanced&column_changeddate=on&column_bug_severity=on&column_priority=on&column_rep_platform=on&column_bug_status=on&column_product=on&column_component=on&column_version=on&column_target_milestone=on&column_short_short_desc=on&splitheader=0"; >- foreach ($statuses as $statusLabel => $statusString) { >- $bugzLinks = array( >- "EMFT" => "https://bugs.eclipse.org/bugs/colchange.cgi?rememberedquery=product%3DEMFT".$statusString."%26order%3Dbugs.bug_status%2Cbugs.target_milestone%2Cbugs.bug_id".$collist >+<div class="homeitem"> >+ <h3>Downloads</h3> >+ <p> >+ <a href="<?php echo $pre; ?>downloads/">Downloads</a> >+ <?php if ($isEMFserver) { ?> >+ :: <a href="http://emf.torolab.ibm.com/emft/build.php">New Build</a> >+ <?php } ?> >+ <br/> >+ Release Notes: <a href="http://www.eclipse.org/emft/news/release-notes.php?version=1.0.0">1.0.0</a> >+ </p> >+ <p><a href="http://download.eclipse.org/technology/emft/updates/">Update Manager Site</a></p> >+</div> >+ >+<div class="homeitem"> >+ <h3>Community</h3> >+ <p> >+ <a href="news://news.eclipse.org/eclipse.technology.emft">EMFT newsgroup</a><br/> >+ <a href="http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.emft">Web Interface</a> >+ </p> >+ <p> >+ <a href="http://dev.eclipse.org/mailman/listinfo/emft-dev">Mailing List</a> >+ <a href="http://dev.eclipse.org/mhonarc/lists/emft-dev/maillist.html">Archives</a>, >+ <a href="mailto:emft-dev@eclipse.org">Send a Message</a> >+ </p> >+</div> >+ >+<div class="homeitem"> >+ <h3>Documentation</h3> >+ <p> >+ <a href="http://www.eclipse.org/emf/faq/faq.php?FAQ=EMF">EMF FAQ</a>, >+ <a href="http://www.eclipse.org/eclipse/faq/eclipse-faq.html">Eclipse FAQ</a> >+ </p> >+ >+ <p> >+ <a href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=EMFT">EMFT Components</a><br/> <!-- not in emf --> >+ <a href="http://www.eclipse.org/downloads/download.php?file=/technology/emft/javadoc/index.php">EMFT Javadocs</a><br/> >+ <a href="http://wiki.eclipse.org/index.php/EMFT_Procedures">EMFT Build & Promote Procedures</a> >+ </p> >+</div> >+ >+<div class="homeitem"> >+ <h3>Development</h3> >+ <p><a name="cvs2" href="http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.emft/">EMFT CVS Repository</a></p> >+ >+ <p> >+ <a href="http://bugs.eclipse.org/bugs">Bugzilla</a><br/> >+ >+ <?php >+ $statuses = array( >+ "Open" => "%26bug_status%3DNEW%26bug_status%3DASSIGNED%26bug_status%3DREOPENED", >+ "Closed This Week" => "%26bug_status%3DRESOLVED%26bug_status%3DVERIFIED%26bug_status%3DCLOSED%26changedin%3D7" > ); >- foreach ($bugzLinks as $label => $url) { >- if ($blcnt>0) { echo ", "; } $blcnt++; >- echo "\n\t\t".'<a href="'.$url.'" target="_bugz" class="subcategory">'.$statusLabel.'</a>'; >+ $collist = "%26query_format%3Dadvanced&column_changeddate=on&column_bug_severity=on&column_priority=on&column_rep_platform=on&column_bug_status=on&column_product=on&column_component=on&column_version=on&column_target_milestone=on&column_short_short_desc=on&splitheader=0"; >+ foreach ($statuses as $statusLabel => $statusString) >+ { >+ $bugzLinks = array( >+ "EMFT" => "https://bugs.eclipse.org/bugs/colchange.cgi?rememberedquery=product%3DEMFT$statusString%26order%3Dbugs.bug_status%2Cbugs.target_milestone%2Cbugs.bug_id$collist" >+ ); >+ $bugzLinks = preg_replace("/^(.+)$/", "<a href=\"$1\" target=\"_bugz\">$statusLabel</a>", $bugzLinks); >+ print join(", ", $bugzLinks) . "<br/>\n"; > } >- } >-?> >- >-</td> >- >- <td> <a >- href="http://dev.eclipse.org/mailman/listinfo/emft-dev"> <img >- src="<?php echo $WWWpre; ?>images/mail.gif" border="0"></a></td> >- >- <td height="42"> <a >- href="http://dev.eclipse.org/mailman/listinfo/emft-dev" class="category" >- target="_self">Mailing List</a><br> >- <a >- href="http://dev.eclipse.org/mhonarc/lists/emft-dev/maillist.html" >- target="_self" class="subcategory">Archives</a>, <a >- href="mailto:emft-dev@eclipse.org" class="subcategory">Send >-Message</a></td> >- >- >- </tr> >- <tr> >- >- <td rowspan=1 valign=top> <img src="<?php echo $WWWpre; ?>images/reference.gif" >- border="0"></td> >- <!-- set to rowspan=2 to add more docs here, and to move the FAQs to the right column --> >- >- <td height="42" rowspan=1 valign=top> >- <!-- set to rowspan=2 to add more docs here, and to move the FAQs to the right column --> >- >-<b class="category">Documentation</b><br> >-<a href="http://www.eclipse.org/downloads/download.php?file=/technology/emft/javadoc/index.php" target="_self" class="subcategory">EMFT Javadocs</a><br/> >-<a href="http://wiki.eclipse.org/index.php/EMFT_Procedures" target="_self" class="subcategory">EMFT Build & Promote Procedures</a> >- >- >-</td> >- >- <td> <a name="cvs1" class="category"> >- <img src="<?php echo $WWWpre; ?>images/cvs.gif" border="0"></a></td> >- <td> <a name="cvs2" class="category">CVS Repositories</a><br> >-<!-- <?php if (strstr($SERVER_NAME,"emf.torolab.ibm.com")) { ?> >-<a href="<?php echo $pre; ?>whatsnew-cvs/?source=" target="_self" class="subcategory">What's New, CVS?</a> :: <a href="/whatsnew-cvs/build.php" target="_self" class="subcategory">Regenerate</a> <br> >-<?php } ?> --> >- <a href="http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.emft/" target="_self" class="subcategory">EMFT</a> >- </td> >- </tr> >- <tr> >- >- <td><img >- src="<?php echo $WWWpre; ?>images/release-notes.gif" border="0"></td> >-<td><a name="relnotes1" class="category">Release Notes</a><br> >- <a class="subcategory" href="http://www.eclipse.org/emft/news/release-notes.php?version=1.0.0">1.0.0</a> >-</td> >- >- <td><img >-src="<?php echo $WWWpre; ?>images/faq.gif" border="0"></td> >- >- <td> <b class="category">FAQ</b> <i class="subcategory">[ ... coming soon ... ]</i><br> >-<a href="http://www.eclipse.org/emf/faq/faq.php?FAQ=EMF" >- target="_self" class="category">EMF FAQ</a>, >- <a href="http://www.eclipse.org/eclipse/faq/eclipse-faq.html" >- target="_self" class="subcategory">Eclipse FAQ</a></td> >- >- >- </tr> >- </tbody> >- >- </table> >- </td> >- <td width="14" valign="top"> </td> >- <td width="35%" valign="top"> >- >- <!-- right column tables start --> >- <table cellspacing="0" cellpadding="0" width="100%" border="0"> >- <tr> >- <td rowspan="2" height="15" bgcolor="#8ABDBF"><span style="color: #ffffff; font-weight:bold; font-size: 11px; font-family: Verdana,Arial,Helvetica;"> What's New</span></td> >- <td width="60%"> </td> >- </tr> >- <tr> >- <td height="3" bgcolor="#8ABDBF"><img src="<?php echo $WWWpre; ?>images/c.gif" width=1 height=10></td> >- </tr> >- </table> >- <table cellspacing="0" cellpadding="0" width="100%" border="0"> >- <tr> >- <td bgcolor="#8ABDBF"><img src="<?php echo $WWWpre; ?>images/c.gif" width=2 height=1></td> >- <td bgcolor="white"><img src="<?php echo $WWWpre; ?>images/c.gif" width=5 height=1></td> >- <td width="100%"> >- >-<?php getNews(3,"whatsnew"); ?> >- >- <table cellspacing="0" cellpadding="0" width="100%" border="0"> >- <tr><td><p class="normal"> >- <a href="<?php echo $WWWpre; ?>news/news-whatsnew.php">What's New</a> >-[<a href="<?php echo $WWWpre; ?>news/news-whatsnew.php">more</a>]</a><br><br> >-</td></tr></table> >- >- </td> >- <td bgcolor="white"><img src="<?php echo $WWWpre; ?>images/c.gif" width=5 height=1></td> >- <td bgcolor="#8ABDBF"><img src="<?php echo $WWWpre; ?>images/c.gif" width=2 height=1></td> >- </tr> >- <tr> >- <td bgcolor="#8ABDBF" colspan=5><img src="<?php echo $WWWpre; ?>images/c.gif" width=1 height=2></td> >- </tr> >- </table> >- <!-- end right column tables --> >- >- </td> >- </tr> >- </tbody> >-</table> >-<table><tr><td><span style="font-size:1px"> </span></td></tr></table> >+ ?> >+ </p> >+</div> >Index: includes/php42fix.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/includes/php42fix.php,v >retrieving revision 1.1 >diff -u -r1.1 php42fix.php >--- includes/php42fix.php 19 Jan 2006 18:11:51 -0000 1.1 >+++ includes/php42fix.php 19 Sep 2006 19:31:12 -0000 >@@ -1,28 +1,3 @@ >-<?php >- // PHP 4.2 compliance fix - convert $_GET["foo"] into $foo, etc. >- if (phpversion()-0 >= 4.2) { >- $vars = $_GET; foreach ($vars as $v => $ars) { if (!$$v) { $$v = $ars; } } >- $vars = $_POST; foreach ($vars as $v => $ars) { if (!$$v) { $$v = $ars; } } >- if (!$PHP_SELF) { $PHP_SELF = $_SERVER["PHP_SELF"]; } >- if (!$QUERY_STRING) { $QUERY_STRING = $_SERVER["QUERY_STRING"]; } >- if (!$SERVER_NAME) { $SERVER_NAME = $_SERVER["SERVER_NAME"]; } >- if (!$HTTP_HOST) { $HTTP_HOST = $_SERVER["HTTP_HOST"]; } >- if (!$SCRIPT_FILENAME) {$SCRIPT_FILENAME =$_SERVER["SCRIPT_FILENAME"]; } >- $HTTP_GET_VARS = $_GET; >- $HTTP_POST_VARS = $_POST; >- $HTTP_COOKIE_VARS = $_COOKIE; // NEW NOV 26 2003 >- } else { >- $vars = $HTTP_GET_VARS; foreach ($vars as $v => $ars) { if (!$$v) { $$v = $ars; } } >- $vars = $HTTP_POST_VARS; foreach ($vars as $v => $ars) { if (!$$v) { $$v = $ars; } } >- if (!$PHP_SELF) { $PHP_SELF = $HTTP_SERVER_VARS["PHP_SELF"]; } >- if (!$QUERY_STRING) { $QUERY_STRING = $HTTP_SERVER_VARS["QUERY_STRING"]; } >- if (!$SERVER_NAME) { $SERVER_NAME = $HTTP_SERVER_VARS["SERVER_NAME"]; } >- if (!$HTTP_HOST) { $HTTP_HOST = $HTTP_SERVER_VARS["HTTP_HOST"]; } >- if (!$SCRIPT_FILENAME) {$SCRIPT_FILENAME =$HTTP_SERVER_VARS["SCRIPT_FILENAME"]; } >- } >- >-$qs = $QUERY_STRING; >-$sn = $SERVER_NAME; >-$scn = $PHP_SELF; >- >-?> >\ No newline at end of file >+<?php >+/* no longer used */ >+?> >Index: includes/scripts.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/includes/scripts.php,v >retrieving revision 1.12 >diff -u -r1.12 scripts.php >--- includes/scripts.php 10 Apr 2006 17:01:01 -0000 1.12 >+++ includes/scripts.php 19 Sep 2006 19:31:12 -0000 >@@ -115,10 +115,10 @@ > ini_set("display_errors","0"); // suppress file not found errors > $handle=opendir($dir); > while (($file = readdir($handle))!==false) { >- if ( ($ext=="" || preg_match("/".$ext."$/",$file)) && $file!=".." && $file!="." && $type=="f" && is_file($dir."/".$file)) { >+ if ( ($ext=="" || preg_match("/".$ext."$/",$file)) && $file!=".." && $file!="." && $type=="f") { > $stuff[] = "$file"; > //w("$index, $dir, $file, f$i",1); >- } else if ( ($ext=="" || preg_match("/".$ext."$/",$file)) && $file!=".." && $file!="." && $type=="d" && is_dir($dir."/".$file)) { >+ } else if ( ($ext=="" || preg_match("/".$ext."$/",$file)) && $file!=".." && $file!="." && $type=="d") { > $stuff[] = "$file"; > //w("$index, $dir, $file, d$i",1); > } >@@ -131,6 +131,16 @@ > global $_SERVER; > echo "<p> Directory ($dir) <b>".(!is_dir($dir)?"NOT FOUND":(!is_readable($dir)?"NOT READABLE":"PROBLEM"))."</b> on mirror: <b>".$_SERVER["HTTP_HOST"]."</b>! </p>"; > echo "<p> Please report this error to <a href=\"mailto:webmaster@eclipse.org?Subject=Directory ($dir) ".(!is_dir($dir)?"NOT FOUND":(!is_readable($dir)?"NOT READABLE":"PROBLEM"))." in scripts.php::loadDirSimple() on mirror ".$_SERVER["HTTP_HOST"]."\">webmaster@eclipse.org</a>, or make directory readable. </p>"; >+ /*echo ' >+ <p> While this problem is being resolved, you can get a copy of the latest EMF, SDO, or XSD from here: >+ <ul> >+ <li><a href="http://download.eclipse.org/tools/emf/downloads/drops/2.0/I200406030436/">http://download.eclipse.org/tools/emf/downloads/drops/2.0/I200406030436/</a> [Main Public Mirror]</li> >+ <li><a href="http://fullmoon.toronto.ibm.com/tools/emf/downloads/drops/2.0/I200406030436/">http://fullmoon.toronto.ibm.com/tools/emf/downloads/drops/2.0/I200406030436/</a> [IBM Only]</li> >+ <li><a href="http://fullmoon.hursley.ibm.com/tools/emf/downloads/drops/2.0/I200406030436/">http://fullmoon.hursley.ibm.com/tools/emf/downloads/drops/2.0/I200406030436/</a> [IBM Only]</li> >+ </ul> >+ </p> >+ <p> Thanks for your patience! </p> >+ ';*/ > $hadLoadDirSimpleError=1; > } > //exit; >@@ -138,33 +148,10 @@ > return $stuff; > } > >- function wArr($arr) { // ie., wArr(array,separator,showKeys,trailingCharacter); >- // since PHP won't display an array's contents when you do echo($array), this returns the array like this: >- /* usage: wArr($array) // 0:apple, 1:peach, 2:grapes\n >- wArr($array,"\n") (use "\n" as separator instead of ", ") >- wArr($array,"",false); (use default separator, but don't display keys >- wArr($array,"",false,false); (use default separator, but don't display keys and no trailing char */ >- $sep=(func_num_args()>1&&func_get_arg(1))?func_get_arg(1):"<br>"; >- $key=(func_num_args()>2)?func_get_arg(2):true; // assume we want keys >- $trail=(func_num_args()>3)?func_get_arg(3):"\n"; // assume we want a trailing newline >- $i=0; >- if (is_array($arr) && sizeof($arr)>0) { >- foreach ($arr as $ark => $arv) { >- w(($key?$ark.": ":"")); >- if (is_array($arv)) { >- w("<ul>"); >- wArr($arv,$sep,$key,$trail); >- w("</ul>"); >- } else { >- w($arv); >- } >- $i++; >- if ($i<sizeof($arr)) { w($sep); } >- } >- w($trail); >- } else { >- //w($arr.$trail); >- } >+ function wArr($arr) { >+ print "<pre>\n"; >+ print_r($arr); >+ print "</pre>\n"; > } > > function w($s) { // shortcut for echo() with second parameter: "add break+newline" >@@ -173,11 +160,11 @@ > } else { > $br=func_get_arg(1); > if (stristr($br,"b")) { >- $br="<br>"; >+ $br="<br/>"; > } else if (stristr($br,"n")) { > $br="\n"; > } else if ($br) { >- $br="<br>\n"; >+ $br="<br/>\n"; > } > } > echo($s.$br); >@@ -200,7 +187,7 @@ > return array($contents); > } > >- function getNews($lim,$key,$style="horiz",$divider="") { >+ function getNews($lim,$key,$style="horiz") { > global $CVSpre,$pre,$isWWWserver; > $xml = getFile("news/news.xml"); > if (!$xml) { >@@ -227,66 +214,41 @@ > $xmlCurrentDate = $m[1]; > $xmlItems[] = array($m[1] => ""); > } else if ($xmlCollect && !preg_match("/\<\/news\>/",$line,$m)) { // while collecting contents >- if (preg_match("/href=\"downloads\//",$line) && !preg_match("/href=\"http/",$line)) { >- $line = preg_replace("/href=\"/","href=\"".($isWWWserver?"http://download.eclipse.org/technology/emft/":$pre),$line); >+ $line = preg_replace("/href=\"\#latest/","href=\""."downloads.php#latest",$line); >+ //$line = preg_replace("/href=\"\#(emf\_3)/","href=\"whatsnew.php?ver=3.x#emf_3",$line); >+ //$line = preg_replace("/href=\"\#([IMNRS]\d{12})/","href=\""."news-release-notes.php?ver=2.0.0#$1",$line); // not needed >+ $line = preg_replace("/href=\"\#emf\_((\d)(\d)(\d))/","href=\""."news-release-notes.php?ver=$2.$3.$4#emf_$1",$line); >+ if (preg_match("/href=\"downloads.php\"/",$line) && !preg_match("/href=\"http/",$line)) { >+ $line = preg_replace("/href=\"/","href=\"".($isWWWserver?"http://download.eclipse.org/tools/emf/scripts/":$pre),$line); >+ } else if (preg_match("/href=\".+\.php\"/",$line) && !preg_match("/href=\"http/",$line)) { >+ $line = preg_replace("/href=\"/","href=\"$pre",$line); >+ } else if (preg_match("/href=\".+\.php\?.+\=.+\.html(#[a-zA-Z0-9\_\.]+|#|)\"/",$line) && !preg_match("/href=\"http/",$line)) { >+ // a link such as docs.php?doc=docs/../faq/index.html - no moleste! >+ } else if (preg_match("/href=\".+\.html(#[a-zA-Z0-9\_\.]+|#|)\"/",$line) && !preg_match("/href=\"http/",$line)) { >+ $line = preg_replace("/href=\"/","href=\"$CVSpre",$line); > } > $xmlItems[sizeof($xmlItems)-1][$xmlCurrentDate] .= $line; > } else if (preg_match("/\<\/news\>/",$line,$m)) { // end of item > $xmlCollect = 0; > } > } >- if ($style=="horiz") { >- echo "<table>"; >- foreach ($xmlItems as $i => $pair) { >- if ($lim<0 || $i<$lim) { >- echo "<tr valign=top>"; >- foreach ($pair as $date => $contents) { >- if (date("Y",strtotime($date))<date("Y")) { >- echo '<td><span class="'.($key=="whatsnew"?"normal":"").'"><b>'. >- date( ($key=="whatsnew"?"M":"F").'\&\n\b\s\p\;j\<\s\u\p\>S\<\/\s\u\p\>, Y', >- strtotime($date)).'</b></span></td>'."\n"; >- } else { >- echo '<td><span class="'.($key=="whatsnew"?"normal":"").'"><b>'. >- date( ($key=="whatsnew"?"M":"F").'\&\n\b\s\p\;j\<\s\u\p\>S\<\/\s\u\p\>', >- strtotime($date)).'</b></span></td>'."\n"; >- } >- echo '<td><span class="'.($key=="whatsnew"?"normal":"").'"> - </span></td>'."\n"; >- echo '<td><span class="'.($key=="whatsnew"?"normal":"").'">'; >- if (strtotime($date)>strtotime("-3 weeks")) { >- echo '<img src="http://www.eclipse.org/emf/images/new.gif" width="31" height="14">'; >- } >- echo $contents.'</span></td>'."\n"; >- } >- echo "</tr>"; >- } >- } >- echo "</table>"; >- } else if ($style=="vert") { >+ >+ if ($style=="vert") { > foreach ($xmlItems as $i => $pair) { > if ($lim<0 || $i<$lim) { >- echo "<tr valign=top>"; >+ echo "<p>\n"; > foreach ($pair as $date => $contents) { >- echo "<td>"; > if (strtotime($date)>strtotime("-3 weeks")) { >- echo '<img src="http://www.eclipse.org/emf/images/new.gif" width="31" height="14">'; >- } >- if (date("Y",strtotime($date))<date("Y")) { >- echo '<span class="'.($key=="whatsnew"?"normal":"").'"><b>'. >- date( ($key=="whatsnew"?"M":"F").'\&\n\b\s\p\;j\<\s\u\p\>S\<\/\s\u\p\>, Y', >- strtotime($date)).'</b></span> - '."\n"; >- } else { >- echo '<span class="'.($key=="whatsnew"?"normal":"").'"><b>'. >- date( ($key=="whatsnew"?"M":"F").'\&\n\b\s\p\;j\<\s\u\p\>S\<\/\s\u\p\>', >- strtotime($date)).'</b></span> - '."\n"; >+ echo '<img src="http://www.eclipse.org/emf/images/new.gif" alt="New!" width="31" height="14"/>'; > } >- echo '<span class="'.($key=="whatsnew"?"normal":"").'">'; >- echo $contents.'</span></td>'."\n"; >+ $app = (date("Y",strtotime($date))<date("Y") ? ", Y" : ""); >+ echo '<b>' . date(($key=="whatsnew"?"M":"F").'\&\n\b\s\p\;j\<\s\u\p\>S\<\/\s\u\p\>' . $app, strtotime($date)).'</b> - '."\n"; >+ echo $contents; > } >- echo "</tr>\n"; >- echo $divider; >+ echo "</p>\n"; > } > } > } > } > >-?> >\ No newline at end of file >+?> >Index: includes/style.css >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/includes/style.css,v >retrieving revision 1.1 >diff -u -r1.1 style.css >--- includes/style.css 11 Jan 2006 23:11:25 -0000 1.1 >+++ includes/style.css 19 Sep 2006 19:31:12 -0000 >@@ -1,62 +1 @@ >-/* eclipse header frame css */ >- >-.input {background: "#ffffcc";color: "#000000" ;font-weight: normal;} >-a.nav:link { text-decoration: none; color: "#000000"; } >-a.nav:visited { text-decoration: none; color: "#000000"; } >-a.nav:hover { text-decoration: underline; color: "#000000"; } >- >-/* eclipse left nav frame css */ >- >-p, table, td, th { font-family: arial, helvetica, geneva; font-size: 10pt} >-pre { font-family: "Courier New", Courier, mono; font-size: 10pt} >-h2 { font-family: arial, helvetica, geneva; font-size: 18pt; font-weight: bold ; line-height: 14px} >-code { font-family: "Courier New", Courier, mono; font-size: 10pt} >-sup { font-family: arial,helvetica,geneva; font-size: 10px} >-h3 { font-family: arial, helvetica, geneva; font-size: 14pt; font-weight: bold} >-li { font-family: arial, helvetica, geneva; font-size: 10pt} >-h1 { font-family: arial, helvetica, geneva; font-size: 28px; font-weight: bold} >-/* body { font-family: arial, helvetica, geneva; font-size: 10pt; clip: rect( )} */ >-.navhead { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small; color: #FFFFFF; font-weight: bold; text-decoration: underline} >-a.nav:link { text-decoration: none; color: #000000; } >-a.nav:visited { text-decoration: none; color: #000000; } >-a.nav:hover { text-decoration: underline; color: #000000; } >-a.navhead:link { text-decoration: none;} >-a.navhead:visited { text-decoration: none;} >-a.navhead:hover { text-decoration: underline;} >- >-/* eclipse default_style.css */ >- >-p, table, td, th { font-family: arial, helvetica, geneva; font-size: 10pt} >-pre { font-family: "Courier New", Courier, mono; font-size: 10pt} >-h2 { font-family: arial, helvetica, geneva; font-size: 18pt; font-weight: bold ; line-height: 14px} >-code { font-family: "Courier New", Courier, mono; font-size: 10pt} >-sup { font-family: arial,helvetica,geneva; font-size: 10px} >-h3 { font-family: arial, helvetica, geneva; font-size: 14pt; font-weight: bold} >-li { font-family: arial, helvetica, geneva; font-size: 10pt} >-h1 { font-family: arial, helvetica, geneva; font-size: 28px; font-weight: bold} >-/* body { font-family: arial, helvetica, geneva; font-size: 10pt; clip: rect( ); margin-top: 5mm; margin-left: 3mm} */ >-.indextop { font-size: x-large;; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold} >-.indexsub { font-size: xx-small;; font-family: Arial, Helvetica, sans-serif; color: #8080FF} >- >- .head_section { background-color: #0080c0; color: #ffffff; font-family: arial, helvetica, geneva; font-size: 10pt; } >- .box { background-color: #f0f0f0; color: #000000; font-family: arial, helvetica, geneva; font-size: 8pt; } >- .box-9pt { background-color: #f0f0f0; color: #000000; font-family: arial, helvetica, geneva; font-size: 9pt; } >- >-/* emf styles */ >- >-body { >- font-family: verdana, arial, helvetica, geneva; font-size: 9pt; clip: rect( ); margin-top: 0mm; margin-left: 0mm; >-} >-.nav { font-size: 9pt; font-family: Arial, Helvetica, sans-serif; } >-.normal{font-family:Verdana;font-size:8pt} >-p{font-family:Verdana;font-size:8pt} >-a.category{text-decoration:none;font-size:8pt;font-family:Verdana,Arial,Helvetica;font-weight:bold} >-a:hover.category {text-decoration:underline} >-.whatsnew {border-left:solid #8ABDBF 1px; border-right:solid #8ABDBF 1px;border-bottom:solid #8ABDBF 1px;} >-a.subcategory{text-decoration:none;font-size:8pt;font-family:Verdana,Arial,Helvetica} >-a:hover.subcategory {text-decoration:underline} >- >-tt.code { color: #4444CC; } >-pre.code { color: #4444CC; } >-.highlight { background-color: #FFFFCC; } >- >+/* no longer used */ >Index: news/news-whatsnew.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/news/news-whatsnew.php,v >retrieving revision 1.1 >diff -u -r1.1 news-whatsnew.php >--- news/news-whatsnew.php 20 Feb 2006 23:15:11 -0000 1.1 >+++ news/news-whatsnew.php 19 Sep 2006 19:31:12 -0000 >@@ -1,21 +1,24 @@ >-<?php $pre = "../"; >- $HTMLTitle = "EMFT What's New"; >- $ProjectName = array( >- "What's New", >- 'Eclipse Modeling Framework Technologies', >- "What's New", >- "images/reference.gif" >- ); >- include $pre."includes/header.php"; ?> >- >-<table BORDER=0 CELLPADDING=2 WIDTH="100%" > >-<tr> >-<td>    </td> >-<td> >-<?php getNews(-1,"all"); ?> >-</td> >-</tr> >-</table> >-<?php include $pre."includes/footer.php"; ?> >+<?php >+require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); > >-<!-- $Id: news-whatsnew.php,v 1.1 2006/02/20 23:15:11 nickb Exp $ --> >+ob_start(); >+ >+$pre = "../"; >+include "${pre}includes/scripts.php"; >+ >+print "<div id=\"midcolumn\">\n"; >+print "<div class=\"homeitem3col\">\n"; >+print "<h3>All News</h3>\n"; >+getNews(-1, "all", "vert"); >+print "</div>\n"; >+print "</div>\n"; >+ >+$html = ob_get_contents(); >+ob_end_clean(); >+ >+$pageTitle = "EMFT - All News"; >+$pageKeywords = ""; // TODO: add something here >+$pageAuthor = "Neil Skrypuch"; >+ >+$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); >+?> >Index: news/release-notes.css >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/news/release-notes.css,v >retrieving revision 1.1 >diff -u -r1.1 release-notes.css >--- news/release-notes.css 16 Feb 2006 23:59:04 -0000 1.1 >+++ news/release-notes.css 19 Sep 2006 19:31:12 -0000 >@@ -1,39 +1 @@ >-<STYLE type="text/css"> >-td.spacer {padding-bottom: 0px; padding-top: 0px;} >-.title { font-family: sans-serif; color: #99AACC;} >-.bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; } >-.sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white;} >-.log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 9pt; color:black;} >-.big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: black;} >- >-.light-row { >- background:#FFFFFF; >- cursor: pointer; >- _cursor: hand; >-} >-.dark-row { >- background:#EEEEFF; >- cursor: pointer; >- _cursor: hand; >-} >-.dark-row2 { >- background:#EEEEEE; >- cursor: pointer; >- _cursor: hand; >-} >- >-.header {background:#99AADD} >-.content-header {background:#CCCCCC; } >-#indent {word-wrap : break-word;width :300px;text-indent:10px;} >-.red { color:red; } >- >-pre.code { color: #4444CC; } >-tt.code { color: #4444CC; } >- >-.title {font-family: sans-serif; font-style: bold; font-weight: bold; font-size: 9pt; color:black;} >-.details {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 9pt; color:black;} >-.datestamp { font-family: sans-serif; color: purple; font-size: 9pt} >- >-/* $Id$ */ >- >-</STYLE> >+/* no longer used */ >Index: news/release-notes.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/news/release-notes.php,v >retrieving revision 1.11 >diff -u -r1.11 release-notes.php >--- news/release-notes.php 21 Jul 2006 20:57:36 -0000 1.11 >+++ news/release-notes.php 19 Sep 2006 19:31:12 -0000 >@@ -1,38 +1,51 @@ > <?php >+require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); >+ >+ob_start(); > > $pre = "../"; > >-// Process query string >-$vars = explode("&", $_SERVER['QUERY_STRING']); >-for ($i=0;$i<=count($vars);$i++) { >- $var = explode("=", $vars[$i]); >- $qsvars[$var[0]] = $var[1]; >+$params = array(); >+if (preg_match("/^(\d\.\d)$/", $_GET["version"], $regs)) >+{ >+ $params["version"] = $regs[1]; >+} >+else >+{ >+ $params["version"] = ""; > } > >-$params = array(); >-$params["project"] = $qsvars["proj"] ? $qsvars["proj"] : $qsvars["project"]; >-$params["version"] = $qsvars["version"]; >-$params["showFiltersOrHeaderFooter"] = 1; >- >-$HTMLTitle = "Eclipse Modeling Framework Technologies - Release Notes"; >-$ProjectName = array( >- "Release Notes", >- "Eclipse Modeling Framework Technologies", >- "Release Notes", >- "images/reference.gif" >-); >- >-include $pre . "includes/header.php"; >- >-$projs = loadDirSimple($pre."news","release-notes-.*\.xml","f"); sort($projs); reset($projs); >- >-echo '<form name="rnForm">   <b><select name="rnSelect" onchange="document.location.href=\''.$_SERVER["SCRIPT_NAME"].'?proj=\'+this.options[this.selectedIndex].value">' ."\n"; >-echo '<option value="">Choose an EMFT subproject:</option>'; >-foreach ($projs as $projF) { >- $p = explode("-",$projF); $p = explode(".",$p[2]); $p = $p[0]; >- echo '<option '.($qsvars["proj"]==$p?'selected ':'').'value="'.$p.'"> - emft.'.$p.'</option>'."\n"; >+if (preg_match("/^(" . join($projects, "|") . ")$/", $_GET["project"], $regs)) >+{ >+ $params["project"] = $regs[1]; >+} >+else >+{ >+ $params["project"] = ""; > } >-echo '</select></b></form>'."\n"; >+ >+$html .= <<<EOHTML >+<div id="rightcolumn"> >+ <div class="sideitem"> >+ <h6>Subproject:</h6> >+ <form action="release-notes.php" method="get" id="subproject_form"> >+ <p> >+ <select name="project" onchange="javascript:document.getElementById('subproject_form').submit()"> >+ <option value="">Subproject:</option> >+EOHTML; >+ >+ $p = join("", preg_replace("/^(.+)$/", "<option value=\"$1\">$1</option>\n", $projects)); >+ $html .= preg_replace("/<option (value=\"{$params["project"]}\")>/", "<option selected=\"selected\" $1>", $p); >+ >+$html .= <<<EOHTML >+ </select> >+ <br/> >+ <input type="submit" value="Go!"/> >+ </p> >+ </form> >+ </div> >+</div> >+EOHTML; > > /* > * To work, this script must be run with a version of PHP4 which >@@ -42,29 +55,47 @@ > * > * <xsl:param name="project"></xsl:param> <!-- this is used for multiple projects in the same file --> > * <xsl:param name="version"></xsl:param> >- * <xsl:param name="showFiltersOrHeaderFooter"></xsl:param> >- * > */ > >-if ($params["project"]) { >+if ($params["project"]) >+{ > // define XML and XSL sources >- $XMLfile = $params["project"]?"release-notes-".$params["project"].".xml":"release-notes.xml"; >+ $XMLfile = "release-notes-{$params["project"]}.xml"; > $XSLfile = "release-notes.xsl"; > > $processor = xslt_create(); >- $fileBase = 'file://' . getcwd () . '/'; >- xslt_set_base ( $processor, $fileBase ); >- $result = xslt_process($processor, $fileBase.$XMLfile, $fileBase.$XSLfile, NULL, array(), $params); >+ $fileBase = 'file://' . getcwd() . '/'; >+ xslt_set_base($processor, $fileBase); >+ $result = xslt_process($processor, $fileBase . $XMLfile, $fileBase . $XSLfile, NULL, array(), $params); > >- if(!$result) { >- echo "Trying to parse ".$XMLfile." with ".$XSLfile."...<br/>"; >- echo "ERROR #".xslt_errno($processor) . " : " . xslt_error($processor); >+ if (!$result) >+ { >+ echo "Trying to parse $XMLfile with $XSLfile...<br/>"; >+ echo "ERROR #" . xslt_errno($processor) . " : " . xslt_error($processor); > } > > echo $result; >- >- echo '<p><a href="view-source:http://www.eclipse.org/emft/news/'.$XMLfile.'" class="red">View as XML</a></p>'."\n"; >+} >+else >+{ >+ $content = preg_replace("/id=\"rightcolumn\"/", "id=\"midcolumn\"", $html); >+ $content = preg_replace("/class=\"sideitem\"/", "class=\"homeitem3col\"", $content); >+ $content = preg_replace("#<h6>Subproject:</h6>#", "<h3>Choose a subproject</h3>", $content); >+ $content = preg_replace("/subproject_form/", "subproject_form2", $content); >+ >+ print $content; > } > >-include $pre . "includes/footer.php"; ?> >-<!-- $Id: release-notes.php,v 1.11 2006/07/21 20:57:36 nickb Exp $ --> >+$html = ob_get_contents() . $html; >+ob_end_clean(); >+$html = preg_replace('/^\Q<?xml version="1.0" encoding="ISO-8859-1"?>\E/', "", $html); >+$html = preg_replace("/<(link|div) xmlns:\S+/", "<$1", $html); >+ >+$pageTitle = "EMFT - Release Notes"; >+$pageKeywords = ""; // TODO: add something here >+$pageAuthor = "Neil Skrypuch"; >+ >+$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/emft/includes/relnotes.css"/>' . "\n"); >+$App->AddExtraHtmlHeader('<script src="/emft/includes/toggle.js" type="text/javascript"></script>' . "\n"); //ie doesn't understand self closing script tags, and won't even try to render the page if you use one >+$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); >+?> >Index: news/release-notes.xsl >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/news/release-notes.xsl,v >retrieving revision 1.11 >diff -u -r1.11 release-notes.xsl >--- news/release-notes.xsl 21 Jul 2006 21:35:02 -0000 1.11 >+++ news/release-notes.xsl 19 Sep 2006 20:30:10 -0000 >@@ -1,299 +1,185 @@ > <xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl="urn:schemas-microsoft-com:xslt"> >-<xsl:output method="html" encoding="ISO-8859-1"/> >+<xsl:output method="xml" encoding="ISO-8859-1"/> > > <xsl:key name="entryProj" match="entry" use="@project"/> > <xsl:key name="versionDefVer" match="version-def" use="@version"/> > >- <xsl:param name="showFiltersOrHeaderFooter"></xsl:param> <!-- LEAVE BLANK - pass value of '1' into stylesheet via javascript --> > <xsl:param name="project"></xsl:param> > <xsl:param name="version"></xsl:param> > > <xsl:variable name="xx"> >- <xsl:call-template name="show_notes"> >- </xsl:call-template> >+ <xsl:call-template name="show_notes"> >+ </xsl:call-template> > </xsl:variable> > > <xsl:template name="show_notes" match="/"> > <xsl:for-each select="data"> >- <html xmlns="http://www.w3.org/1999/xhtml"> >- <xsl:if test="$showFiltersOrHeaderFooter='1'"> >- <style>@import url("release-notes.css");</style> >- <script type="text/javascript" src="http://www.eclipse.org/emf/includes/detaildiv.js"></script> >- </xsl:if> >- <xsl:if test="$showFiltersOrHeaderFooter!='1'"> >- <head> >- <title>EMFT Release Notes</title> >- <link REL="SHORTCUT ICON" HREF="http://http://www.eclipse.org/emf/images/eclipse-icons/eclipse32.ico"/> >- <script type="text/javascript" src="http://www.eclipse.org/emf/includes/nav.js"></script> >- <script type="text/javascript" src="http://www.eclipse.org/emf/includes/detaildiv.js"></script> >- <link rel="stylesheet" href="http://www.eclipse.org/emf/includes/style.css" type="text/css"/> >- <style>@import url("release-notes.css");</style> >- </head> >- >- <!-- wrapper for left nav --> >- <table cellspacing="0" cellpadding="0" border="0" width="99%"> >- <tr valign="top"><td colspan="1" align="left" width="99%"><table border="0" cellspacing="0" cellpadding="0" width="99%" BGCOLOR="#006699" > >- >- <tr> >- <td BGCOLOR="#000000" width="116" height="50"><a name="top"></a><a href="http://www.eclipse.org" target="_top"><img src="http://www.eclipse.org/images/EclipseBannerPic.jpg" width="115" height="50" border="0"/></a></td> >- <td width="637" height="50" style="background-repeat: repeat-y;" background="http://www.eclipse.org/images/gradient.jpg"></td> >- <td width="250" height="50"><img src="http://www.eclipse.org/images/eproject-simple.GIF" width="250" height="48"/></td> >- </tr> >- >- </table></td> >- </tr> >- </table> >- </xsl:if> >- >-<table cellspacing="0" cellpadding="0" border="0" width="99%"> >- <tr valign="top"> >- <xsl:if test="$showFiltersOrHeaderFooter!='1'"> >- <td align="left" width="115" bgcolor="#6699CC"> >- <!-- left nav here --> >- <xsl:copy-of select="document('../includes/nav.xml')/div"/> >- </td> >- </xsl:if> >- >- <td><img src="http://www.eclipse.org/images/c.gif" height="1" width="3"/></td><td align="left" width="99%"> >- <xsl:if test="$showFiltersOrHeaderFooter!='1'"> >-   >- <table border="0" cellpadding="2" width="99%"> >- <tbody> >- >- <tr> >- <td align="left" width="60%"> >- <font class="indextop"> >- Release Notes<xsl:if test="$project!='' or $version!=''">: >- <xsl:if test="$project!=''"><xsl:value-of select="$project" /> </xsl:if> >- <xsl:if test="$version!=''"><xsl:value-of select="$version" /> </xsl:if> >- </xsl:if> >- </font><br/> >- <font class="indexsub">Eclipse Modeling Framework Technologies</font> >- >- </td> >- <td width="40%"> >- <img src="http://www.eclipse.org/emf/images/reference.gif" hspace="50" align="right"/> >- </td> >- >- </tr> >- </tbody> >- </table> >- >- <table border="0" cellpadding="2" width="99%" > >- <tr> >- >- <td align="LEFT" valign="TOP" BGCOLOR="#0070A0"><b><font face="Arial,Helvetica"><font color="#FFFFFF"> >- Release Notes<xsl:if test="$project!='' or $version!=''">: >- <xsl:if test="$project!=''"><xsl:value-of select="$project" /> </xsl:if> >- <xsl:if test="$version!=''"><xsl:value-of select="$version" /> </xsl:if> >- </xsl:if> >- </font></font></b><a name="top"> </a></td> >- </tr> >- </table> >- </xsl:if> >- >+ <div id="midcolumn"> > <!-- form controls --> >- <xsl:if test="count(version-def)>2"> >- <table width="60%"> >- <tr> >- <td> >- <hr size="1" width="100%"/> >- <form action="http://www.eclipse.org/emft/news/release-notes.php" method="get" name="mainform"> >- <span class="log-text">Project version: </span> >- <select class="log-text" name="version" size="1"> >- <option value=""> Choose... </option> >- <xsl:for-each select="version-def"> >- <xsl:choose> >- <xsl:when test="$version = @version"> >- <option value="{@version}" selected="selected"><xsl:value-of select="@label" /></option> >- </xsl:when> >- <xsl:otherwise> >- <option value="{@version}"><xsl:value-of select="@label" /></option> >- </xsl:otherwise> >- </xsl:choose> >- </xsl:for-each> >- </select> >-   >- <input class="black-no-underline" type="submit" name="z" value="Go!"/> >- <input type="hidden" name="proj" value="{$project}"/> >- </form> >- </td> >- </tr> >- <!-- <tr> >- <td> >- <form action="http://download.eclipse.org/tools/emf/scripts/news-whatsnew-cvs.php" method="get" name="bugform" onSubmit="javascript:document.getElementById('Bugzilla').value = document.getElementById('bug').value" target="_blank"> >- <input type="hidden" name="source" value="emf"/> >- <label for="bug">CVS Delta for Bug ID: </label><input size="7" type="text" name="bug" id="bug"/> >- <input type="hidden" name="Bugzilla" id="Bugzilla" value=""/> >- <input type="submit" value="Go!"/> >- </form> >- </td> >- </tr> --> >- </table> >- </xsl:if> >+ <xsl:if test="count(version-def)>2"> >+ <div class="homeitem3col"> >+ <h3>Filters</h3> >+ <form action="/emft/news/release-notes.php" method="get" name="mainform"> >+ <p> >+ <label for="version">Project version: </label> >+ <select id="version" name="version"> >+ <option value=""> Choose... </option> >+ <xsl:for-each select="version-def"> >+ <xsl:choose> >+ <xsl:when test="$version = @version"> >+ <option value="{@version}" selected="selected"><xsl:value-of select="@label"/></option> >+ </xsl:when> >+ <xsl:otherwise> >+ <option value="{@version}"><xsl:value-of select="@label"/></option> >+ </xsl:otherwise> >+ </xsl:choose> >+ </xsl:for-each> >+ </select> >+ <xsl:text disable-output-escaping="yes">&#160;</xsl:text> >+ <input type="submit" value="Go!"/> >+ <input type="hidden" name="project" value="{$project}"/> >+ </p> >+ </form> >+ <!-- >+ <form action="http://download.eclipse.org/tools/emf/scripts/news-whatsnew-cvs.php" method="get" name="bugform" onSubmit="javascript:document.getElementById('Bugzilla').value = document.getElementById('bug').value" target="_blank"> >+ <input type="hidden" name="source" value="emf"/> >+ <label for="bug">CVS Delta for Bug ID: </label><input size="7" type="text" name="bug" id="bug"/> >+ <input type="hidden" name="Bugzilla" id="Bugzilla" value=""/> >+ <input type="submit" value="Go!"/> >+ </form> >+ --> >+ </div> >+ </xsl:if> > > <!-- nav header table (release/milestone list) --> >- <table border="0" cellspacing="1" cellpadding="3" width="99%"> > <xsl:for-each select="project-def"> > <xsl:if test="((count(key('entryProj',@project)) != 0 and $project = @project) or $project = '')"> >- <tr class="header"> >- <td colspan="1" class="sub-header"> >- <a class="sub-header" style="text-decoration:none" href="#{@project}"><xsl:value-of select="@label" /></a> >- </td> >- <td colspan="1" class="sub-header"> >- Bugs Closed <small>(click below to show bugs for a given release)</small> >- </td> >- </tr> >- <xsl:variable name="thisProject"><xsl:value-of select="@project" /></xsl:variable> >+ <div class="homeitem3col"> >+ <h3><a class="projtitle" href="#{@project}"><xsl:value-of select="@label"/></a></h3> >+ <ul> >+ <li class="header"> >+ <div class="fr">Bugs Closed</div> >+ </li> >+ <xsl:variable name="thisProject"><xsl:value-of select="@project"/></xsl:variable> > <xsl:for-each select="//version-def"> > <xsl:if test="not(contains(@label,'.x')) and (starts-with(@version,$version) or $version = '') and ($project = $thisProject or $project = '')"> >- <xsl:variable name="thisVersion"><xsl:value-of select="@version" /></xsl:variable> >- <xsl:variable name="matchCount"><xsl:for-each select="//bug"> >- <xsl:if test="starts-with(../@version,$thisVersion) and ../@project = $thisProject">1</xsl:if> >- </xsl:for-each></xsl:variable> >+ <li> >+ <xsl:variable name="thisVersion"><xsl:value-of select="@version"/></xsl:variable> >+ <xsl:variable name="matchCount"> >+ <xsl:for-each select="//bug"> >+ <xsl:if test="starts-with(../@version,$thisVersion) and ../@project = $thisProject">1</xsl:if> >+ </xsl:for-each> >+ </xsl:variable> > >- <xsl:variable name="isReleaseBuild"><xsl:for-each select="//entry"><xsl:if test="@build = @version and @version = $thisVersion">1</xsl:if></xsl:for-each></xsl:variable> >- <xsl:variable name="linkAnchorSuffix"><xsl:if test="string-length($isReleaseBuild) > 0">.<xsl:value-of select="$thisVersion" />.<xsl:value-of select="$thisVersion" /></xsl:if></xsl:variable> >+ <xsl:variable name="isReleaseBuild"> >+ <xsl:for-each select="//entry"> >+ <xsl:if test="@build = @version and @version = $thisVersion">1</xsl:if> >+ </xsl:for-each> >+ </xsl:variable> > > <!-- project: <xsl:value-of select="$thisProject" />, version: <xsl:value-of select="$thisVersion" /> --> >- <tr id="name{$thisProject}.{$thisVersion}.{$thisVersion}" valign="top" class="dark-row" onMouseOver="rowOver('{$thisProject}.{$thisVersion}.{$thisVersion}','#C0D8FF')" onMouseOut="rowOut('{$thisProject}.{$thisVersion}.{$thisVersion}','#EEEEFF')" > >- <td class="normal" width="22%" onclick="document.location.href='#{$thisProject}{$linkAnchorSuffix}';" onMouseOver="window.status='Click for detailed list of bugs';return true" onMouseOut="window.status='';return true"> >- <a href="javascript://" style="text-decoration:none"> >- <b><xsl:value-of select="$thisVersion" /> Release</b> >- <xsl:if test="string-length($isReleaseBuild) < 1"> (In Progress)</xsl:if> >- </a> >- </td> >- <td class="normal" width="70%" onClick="servOC('{$thisProject}.{$thisVersion}.{$thisVersion}',{string-length(matchCount)})" onMouseOver="window.status='Click for list of bugs';return true" onMouseOut="window.status='';return true"><a href="javascript://" style="text-decoration:none"><xsl:if test="string-length($matchCount)>0"><xsl:value-of select="string-length($matchCount)" /> bugs</xsl:if></a> >- </td> >- </tr> >- <tr style="display:none" id="ihtr{$thisProject}.{$thisVersion}.{$thisVersion}"><td bgcolor="#C0D8FF" colspan="2"><table cellspacing="0" cellpadding="0" border="0" bgcolor="white" width="100%"> >- <tr><td width="10"></td><td style="border:0px solid #000000"><div frameborder="0" id="ihif{$thisProject}.{$thisVersion}.{$thisVersion}"> >- <img src="http://www.eclipse.org/images/c.gif" height="3" width="1"/><br/> >- <xsl:for-each select="//bug"> >- <xsl:sort select="@id" data-type="number" order="descending" /> >- <xsl:if test="starts-with(../@version,$thisVersion) and ../@project = $thisProject"> >- <nobr> >- <xsl:if test="(substring(../@build,1,5) = ../@version) or number(substring(../@build,2,8)) >= 20041202"> >- <a href="http://download.eclipse.org/technology/emft/whatsnew-cvs/?source={../@project}&bug={@id}&Bugzilla={@id}"><img src="http://www.eclipse.org/emf/images/delta.gif" border="0" alt="CVS Deltas - What's New, CVS?"/></a><img src="http://www.eclipse.org/images/c.gif" height="1" width="2"/> >- </xsl:if> >- <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id={@id}" target="_bugz"> >- <xsl:value-of select="@id" /> >- </a>, >- </nobr>   >- </xsl:if> >- </xsl:for-each> <a href="javascript:servOC('{$thisProject}.{$thisVersion}.{$thisVersion}',{string-length(matchCount)})" style="text-decoration:none;color:black">■</a> >- <br/><img src="http://www.eclipse.org/images/c.gif" height="3" width="1"/> >- </div></td><td width="10"></td></tr></table></td></tr> >+ <div class="cb"> >+ <div class="fr"> >+ <xsl:if test="string-length($matchCount)>=0"> >+ <xsl:value-of select="string-length($matchCount)"/> >+ </xsl:if> >+ </div> >+ <xsl:choose> >+ <xsl:when test="string-length($isReleaseBuild) < 1"> >+ <b><xsl:value-of select="$thisVersion"/> Release</b> >+ </xsl:when> >+ <xsl:otherwise> >+ <b><a href="#r{$thisVersion}"><xsl:value-of select="$thisVersion"/> Release</a></b> >+ </xsl:otherwise> >+ </xsl:choose> >+ <xsl:if test="string-length($isReleaseBuild) < 1"> (In Progress)</xsl:if> >+ </div> >+ <div style="display:none" id="{$thisProject}-{$thisVersion}"> >+ <xsl:for-each select="//bug"> >+ <xsl:sort select="@id" data-type="number" order="descending" /> >+ <xsl:if test="starts-with(../@version,$thisVersion) and ../@project = $thisProject"> >+ <div class="fl"> >+ <a href="http://www.eclipse.org/emf/searchcvs.php?q={@id}"><img src="http://www.eclipse.org/emf/images/delta.gif" alt="CVS Delta"/></a> >+ <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id={@id}" target="_bugz"><xsl:value-of select="@id"/></a>, <xsl:text disable-output-escaping="yes">&#160;</xsl:text> >+ </div> >+ </xsl:if> >+ </xsl:for-each> >+ <div class="fl">■</div> >+ </div> >+ <div class="cb"><a id="{$thisProject}-{$thisVersion}-tog" href="javascript:toggle('{$thisProject}-{$thisVersion}')">show bug numbers</a></div> >+ </li> > </xsl:if> > </xsl:for-each> >- <tr><td class="spacer"> </td></tr> >+ </ul> >+ </div> > </xsl:if> > <xsl:if test="count(key('entryProj',@project)) = 0"> >- <tr><td colspan="2" class="normal"> » No Release Notes found for <xsl:value-of select="@project" />.</td></tr> >+ » No Release Notes found for <xsl:value-of select="@project"/>. > </xsl:if> > </xsl:for-each> >- </table> >- <p> </p> > > <!-- content! --> >- <table border="0" cellspacing="1" cellpadding="5" width="99%"> > <xsl:for-each select="project-def"> > <xsl:if test="((count(key('entryProj',@project)) != 0 and $project = @project) or $project = '')"> >- <tr class="content-header"> >- <td colspan="1" class="sub-header" width="99%"> >- <a name="{@project}"><xsl:value-of select="@label"/></a> >- </td> >- <td width="5" align="top" valign="right"><a class="bodyText" style="text-decoration:none" href="#top">^</a></td> >- </tr> >+ <div class="homeitem3col"> >+ <h3><xsl:value-of select="@label"/><a name="{@project}"><xsl:text disable-output-escaping="yes">&nbsp;</xsl:text></a></h3> >+ <ul> > <xsl:for-each select="key('entryProj',@project)"> >+ <xsl:sort select="@build" order="ascending" data-type="number"/> > <xsl:if test="(starts-with(@version,$version) or $version = '') and ($project = @project or $project = '')"> >- <xsl:variable name="thisVersion"><xsl:value-of select="@version" /></xsl:variable> >- <xsl:variable name="thisProject"><xsl:value-of select="@project" /></xsl:variable> >- <xsl:variable name="matchCount"><xsl:for-each select="//bug"> >- <xsl:if test="starts-with(../@version,$thisVersion) and ../@project = $thisProject">1</xsl:if> >- </xsl:for-each></xsl:variable> >+ <xsl:variable name="thisVersion"><xsl:value-of select="@version"/></xsl:variable> >+ <xsl:variable name="thisProject"><xsl:value-of select="@project"/></xsl:variable> >+ <xsl:variable name="matchCount"> >+ <xsl:for-each select="//bug"> >+ <xsl:if test="starts-with(../@version,$thisVersion) and ../@project = $thisProject">1</xsl:if> >+ </xsl:for-each> >+ </xsl:variable> > > <xsl:if test="@build = @version"> > <!-- {@project}.{@version}.{@build} --> >- <tr><td colspan="1" class="normal"> </td></tr> >- <tr class="content-header"> >- <td colspan="1" class="sub-header" width="99%"> >- <a name="{@project}.{@version}.{@build}"><xsl:value-of select="@build"/> Release</a> >- <xsl:if test="string-length($matchCount)>1"> (<xsl:value-of select="string-length($matchCount)" /> Bugs)</xsl:if> >- </td> >- <td width="5" align="top" valign="right"><a class="bodyText" style="text-decoration:none" href="#top">^</a></td> >- </tr> >+ <li class="release"> >+ <xsl:value-of select="@build"/> Release >+ <xsl:if test="string-length($matchCount)>1"><xsl:text disable-output-escaping="yes">&#160;</xsl:text>(<xsl:value-of select="string-length($matchCount)"/> Bugs)</xsl:if> >+ <a name="r{@version}"><xsl:text disable-output-escaping="yes">&nbsp;</xsl:text></a> >+ </li> > </xsl:if> > >- <xsl:variable name="rowColor"> >- <xsl:choose> >- <xsl:when test="(position() mod 2 = 1)">#EEEEEE</xsl:when> >- <xsl:otherwise>#FFFFFF</xsl:otherwise> >- </xsl:choose> >- </xsl:variable> >- <tr valign="top" bgcolor="{$rowColor}"> >- <td class="normal" align="left" width="99%" colspan="2"> >- >- <a name="{@project}.{@version}.{@build}"><b class="title"> >- <xsl:choose> >- <xsl:when test="@build = @version"><b><xsl:value-of select="@build" /> Release</b></xsl:when> >- <xsl:when test="starts-with(@build,@version)"><b><xsl:value-of select="@build" /></b></xsl:when> >- <xsl:otherwise><xsl:value-of select="@version" /> <xsl:value-of select="@build" /></xsl:otherwise> >- </xsl:choose> >- </b></a> >- <xsl:if test="count(bug)>1"> (<xsl:value-of select="count(bug)" /> Bugs)</xsl:if> >- >- <xsl:if test="note!=''"> >- <br/><span class="details"><xsl:copy-of select="note" /></span> >- </xsl:if> >- <xsl:if test="count(bug)>0"> >- <table width="99%" cellspacing="0" cellpadding="2"> >- <xsl:for-each select="bug"> >- <xsl:sort select="@id" data-type="number" order="descending" /> >- <tr id="name{../@project}{../@build}{position()}" onMouseOver="rowOver('{../@project}{../@build}{position()}','#C0D8FF')" onMouseOut="rowOut('{../@project}{../@build}{position()}','{$rowColor}')"> >- <td> </td> >- <xsl:if test="(substring(../@build,1,5) = ../@version) or number(substring(../@build,2,8)) >= 20041202"> >- <td><a href="http://download.eclipse.org/technology/emft/whatsnew-cvs/?source={../@project}&bug={@id}&Bugzilla={@id}"><img src="http://www.eclipse.org/emf/images/delta.gif" border="0" alt="CVS Deltas - What's New, CVS?"/></a></td> >- <td> </td> >- </xsl:if> >- <td align="right"><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id={@id}" target="_bugz"><xsl:value-of select="@id" /></a></td> >- <td> </td> >- <td width="99%"><xsl:value-of select="." /></td> >- </tr> >- </xsl:for-each> >- </table> >- </xsl:if> >- </td> >- </tr> >+ <li class="outerli"> >+ <xsl:choose> >+ <xsl:when test="@build = @version"><xsl:value-of select="@build"/> Release</xsl:when> >+ <xsl:when test="starts-with(@build,@version)"><xsl:value-of select="@build"/></xsl:when> >+ <xsl:otherwise><xsl:value-of select="@version"/><xsl:text disable-output-escaping="yes">&#160;</xsl:text><xsl:value-of select="@build"/></xsl:otherwise> >+ </xsl:choose> >+ <xsl:if test="count(bug)>1"> (<xsl:value-of select="count(bug)"/> Bugs)</xsl:if> >+ >+ <xsl:if test="count(bug)>0"> >+ <xsl:if test="note!=''"> >+ <xsl:copy-of select="note/node()"/> >+ </xsl:if> >+ <ul> >+ <xsl:for-each select="bug"> >+ <xsl:sort select="@id" data-type="number" order="descending"/> >+ <li> >+ <a href="http://www.eclipse.org/emf/searchcvs.php?q={@id}"><img src="http://www.eclipse.org/emf/images/delta.gif" alt="CVS Delta"/></a><xsl:text disable-output-escaping="yes">&#160;</xsl:text> >+ <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id={@id}" target="_bugz"><xsl:value-of select="@id"/></a><xsl:text disable-output-escaping="yes">&#160;</xsl:text> >+ <xsl:value-of select="."/> >+ </li> >+ </xsl:for-each> >+ </ul> >+ </xsl:if> >+ </li> > </xsl:if> > </xsl:for-each> >- <tr><td class="spacer"><br/></td><td class="spacer"><br/></td></tr> >+ </ul> >+ </div> > </xsl:if> > <xsl:if test="count(key('entryProj',@project)) = 0"> >- <tr><td colspan="1" class="normal">n/a</td></tr> >+ <div>n/a</div> <!-- will this ever happen? --> > </xsl:if> > </xsl:for-each> >- </table> >- >-<xsl:if test="$showFiltersOrHeaderFooter!='1'"> >- >-<p> >- <a name="quicknav"> >- <a href="/emf/emf.php">EMF Home</a> | >- <a href="/emf/sdo.php">SDO Home</a> | >- <a href="/emf/xsd.php">XSD Home</a> | >- <a href="#top">Top of Page</a> >- </a> >-</p> >- >-<!-- wrapper for left nav --> >-</xsl:if> >- >-</td></tr></table> >- >-</html> >+ </div> > </xsl:for-each> > </xsl:template> > > </xsl:stylesheet> >-<!-- $Id: release-notes.xsl,v 1.11 2006/07/21 21:35:02 nickb Exp $ --> >\ No newline at end of file >+<!-- $Id: release-notes.xsl,v 1.11 2006/07/21 21:35:02 nickb Exp $ --> >Index: projects/index.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/index.php,v >retrieving revision 1.21 >diff -u -r1.21 index.php >--- projects/index.php 14 Jun 2006 16:19:46 -0000 1.21 >+++ projects/index.php 19 Sep 2006 19:58:24 -0000 >@@ -1,204 +1,95 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> >-<?php >- $HTMLTitle = "EMFT - ".strtoupper($page)." Home"; >- $noHeader=true; >- $newsInSidebar=true; // don't include news in footer >- $pre = !$pre?"../":$pre; >- include $pre."includes/header.php"; ?> >- >-<!-- wrapper for left nav --> >-<table cellspacing="0" cellpadding="0" border="0" width="100%"> >- <tr valign="top"><td colspan="1" align="left" width="100%"> >- <table border="0" cellspacing="0" cellpadding="0" WIDTH="100%" BGCOLOR="#006699" > >- >- <tr> >- <td BGCOLOR="#000000" width="116" ><a name="top"></a><a href="http://www.eclipse.org" target="_top"><img src="http://www.eclipse.org/images/EclipseBannerPic.jpg" width="115" height="50" border="0"/></a></td> >- <td WIDTH="637"><img SRC="http://www.eclipse.org/images/gradient.jpg" border="0" height="50" width="282"/></td> >- <td WIDTH="250"><img src="http://www.eclipse.org/images/eproject-simple.GIF" width="250" height="48"/></td> >- </tr> >- </table> >- </td> >- </tr> >-</table> >-<table cellspacing="0" cellpadding="0" border="0"> >- <tr valign=top> >- <td align=left width=115 bgcolor="#6699CC"><?php include_once $pre."includes/nav.html"; ?></td> >- <td><img src="http://www.eclipse.org/emf/images/c.gif" border="0" width="3" height="1"></td><td align="left" width="100%"> >-  >-<table border="0" cellpadding="2" width="100%"> >- <tbody> >- >- <tr> >- <td align="left" width="60%"> >- <font class="indextop"><?php if (!$ProjectName[0]) { echo "EMFT"; } else { echo $ProjectName[0]; } ?></font><br> >- <font class="indexsub"><?php if (!$ProjectName[1]) { echo "Eclipse Modeling Framework Technologies"; } else { echo $ProjectName[1]; } ?></font> >- </td> >- <td width="40%"> >- <img src="<?php if (!$ProjectName[3]) { echo "http://www.eclipse.org/emf/images/c.gif"; } else { echo (strstr($ProjectName[3],$WWWpre)?$ProjectName[3]:$WWWpre.$ProjectName[3]); } ?>" align="right"/> >- </td> >- >- </tr> >- </tbody> >-</table> >- >-<table BORDER=0 CELLPADDING=2 WIDTH="100%" > >-<tr> >-<td ALIGN=right VALIGN=TOP><b><font face="Arial,Helvetica"><small><a href="#quicknav">Quick Nav</a></small></td> >-</tr> >-</table> >- >- >-<!-- main content starts here --> >-The Eclipse Modeling Framework Technology project was initiated to incubate new technologies that >-extend or complement EMF. For IP log >-information see the <a href="http://www.eclipse.org/emft/eclipse-project-ip-log.csv">IP Log</a> (CSV). >- >-<br><br> >-See the following for the EMFT 1.0 Release Review Presentations:<br> >-<a href="http://www.eclipse.org/emft/doc/rel_review/ocl_query_val_tran_1.0/EMFT_OCL_Query_Validation_Transaction_1.0_Release_Review.htm">EMFT 1.0 Release Review Presentation (OCL, Transaction, Query and Validation)</a>.<br/> >- >-<br><br> >-<table border="0" cellpadding="2" width="100%" > >-<tr valign="top"> >- >- <td width="99%"> >- <table cellpadding="2" cellspacing="2" border="0" width="100%"> >- <?php >- >- if (!$pages || !is_array($pages) || sizeof($pages)<1) { >- // default pages list - columns for the projects >- $pages=loadDirSimple($pre."projects",".*","d"); sort($pages); reset ($pages); >- } ?> >- <?php foreach ($pages as $page) { if ($page==$proj && is_file($pre."projects/".$page."/overview.php")) { $introText = ""; $detailText = ""; ?> >- <tr><td nowrap class="head_section"><b><?php echo strtoupper($page); ?></b><a name="top"> </a></td></tr> >- <tr><td class="box-9pt" width="100%"><?php include_once $page."/overview.php"; >- echo $detailText; doDownloadLink($page); ?></td></tr> >- <tr><td> </td></tr> >- <?php } } ?> >- <?php foreach ($pages as $page) { if ($page!=$proj && is_file($pre."projects/".$page."/overview.php")) { $introText = ""; $detailText = ""; ?> >- <tr><td nowrap class="head_section"><b><?php echo strtoupper($page); ?></b><a name="top"> </a></td></tr> >- <tr><td class="box-9pt" width="100%"><?php include_once $page."/overview.php"; >- echo $introText; doMoreLink($page); doDownloadLink($page); ?></td></tr> >- <tr><td> </td></tr> >- <?php } } ?> >- </table> >- </td> >- >- <td rowspan="1" valign="top"> >- >- <table width="212" cellpadding="2" cellspacing="2" border="0"> >- <tr> >- >- <td colspan="3" class="head_section"> >- <b>News</b> >- </td> >- </tr> >- <tr> >- <td class="box"> >- <br /> >- <table> >- <?php getNews(3,"whatsnew","vert"); ?> >- </table> >- <br/> >- >- - <a href="http://www.eclipse.org/emft/news/release-notes.php">EMFT Release Notes</a><br><br> >- >- - <a href="<?php echo $pre; ?>news/news-whatsnew.php">What's New</a> [<a href="<?php echo $pre; ?>news/news-whatsnew.php">more</a>]</a><br><br> >- >- >- </td> >- </tr> >- </table> >- >- <br /> >- >- <table width="212" cellpadding="2" cellspacing="2" border="0"> >- <tr> >- >- <td colspan="3" class="head_section"> >- <b>Eclipse Modeling Corner</b> >- </td> >- </tr> >- <tr> >- <td class="box"> <br/> >- Want to <a href="http://www.eclipse.org/emf/models/models.xml">contribute</a> to <a href="http://www.eclipse.org/emf/emf.php">EMF</a>? Now you can!<br/><br/> >- Have a look, post your comments, <a href="http://www.eclipse.org/emf/models/models.xml">submit</a> your code, or just read what others have written. <br><br> >- </td> >- </tr></table> >- >- <br/> >- >-<!-- <table width="212" cellpadding="2" cellspacing="2" border="0"> >- <tr> >- >- <td colspan="3" class="head_section"> >- <b>Subprojects</b> >- </td> >- </tr> >- <tr> >- <td class="box"> >- <br /> >- - <a href="/emf/emf.php">Eclipse Modeling Framework (EMF)</a><br /><br /> >- >- - <a href="/emf/sdo.php">Service Data Objects (SDO)</a><br /><br /> >- >- - <a href="/emf/xsd.php">XML Schema Infoset Model (XSD)</a><br /><br /> >- >- </td> >- </tr> >- </table> >- >- <br /> --> >- >- <table width="212" cellpadding="2" cellspacing="2" border="0"> >- <tr> >- <td colspan="3" class="head_section"> >- <b>Related links</b> >- >- </td> >- </tr> >- <tr> >- <td class="box"> >- <br /> >- - <a href="http://www.eclipse.org/emf">EMF</a><br /><br /> >- - <a href="http://www.eclipse.org/uml2">UML2</a><br /><br /> >- - <a href="http://www.eclipse.org/emf/docs.php?doc=docs/UsingUpdateManager/UsingUpdateManager.html">Using Update Manager</a><br /><br /> >- - <a href="http://www.eclipse.org/newsgroups">Eclipse newsgroups</a><br /><br /> >- - <a href="http://wiki.eclipse.org/index.php/EMFT_Procedures">EMFT Build & Promote Procedures</a><br /><br /> >- >- </ul> >- </td> >- </tr> >- </table> >- >- </td> >- >-</tr> >- >-</table> >- >-<?php include $pre."includes/nav.php"; ?> >- >-<p> >- <a href="<?php if ($isWWWserver) { ?>/emf<?php } else { ?>/tools/emf/scripts<?php } ?>/emf.php">EMF Home</a> | >- <a href="<?php if ($isWWWserver) { ?>/emf<?php } else { ?>/tools/emf/scripts<?php } ?>/sdo.php">SDO Home</a> | >- <a href="<?php if ($isWWWserver) { ?>/emf<?php } else { ?>/tools/emf/scripts<?php } ?>/xsd.php">XSD Home</a> | >- <a href="#top">Top of Page</a> >-</p> >- >-<!-- $Id: index.php,v 1.21 2006/06/14 16:19:46 pelder Exp $ --> >-</body></html> >- >-<?php >- >-function doMoreLink($proj) { global $pre; >- echo ' <a href="'.$pre.'projects/'.$proj.'/">More...</a>'; >-} >- >-function doDownloadLink($proj) { global $pre; >- echo '<p align="right"><small><a href="http://download.eclipse.org/technology/emft/downloads/?proj='.$proj.'">Downloads</a></small></p>'; >-} >+<?php >+require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); > >+ob_start(); >+ >+$pre = ($pre ? $pre : "../"); >+include $pre . "includes/header.php"; >+$proj = (preg_match("#^/emft/projects/(.+)/index.php$#", $_SERVER["PHP_SELF"], $regs) ? $regs[1] : ""); > ?> > >+<div id="midcolumn"> >+ <div class="homeitem3col"> >+ <h3>About EMFT</h3> >+ <p> >+ The Eclipse Modeling Framework Technology project was initiated to incubate new technologies that extend or complement EMF. >+ For IP log information see the <a href="http://www.eclipse.org/emft/eclipse-project-ip-log.csv">IP Log</a> (CSV). >+ </p> >+ >+ <p> >+ See the following for the EMFT 1.0 Release Review Presentations: >+ <a href="http://www.eclipse.org/emft/doc/rel_review/ocl_query_val_tran_1.0/EMFT_OCL_Query_Validation_Transaction_1.0_Release_Review.htm">EMFT 1.0 Release Review Presentation (OCL, Transaction, Query and Validation)</a>. >+ </p> >+ </div> >+ >+ <?php >+ foreach (array_keys($projects) as $page) //projects are defined in _projectCommon.php >+ { >+ $extra = ""; >+ >+ print "<div class=\"homeitem3col\">\n"; >+ print "<a name=\"$projects[$page]\"></a>"; >+ print "<h3>$page</h3>\n"; >+ include_once "$projects[$page]/overview.php"; >+ if ($projects[$page] == $proj) >+ { >+ print $detailText; >+ } >+ else >+ { >+ print $introText; >+ $extra = "<li><a href=\"${pre}projects/$projects[$page]/#$projects[$page]\">More...</a></li>"; >+ } >+ print "<ul class=\"extras\">$extra<li><a href=\"http://download.eclipse.org/technology/emft/downloads/?proj=$projects[$page]\">Downloads</a></li></ul>\n"; >+ print "</div>\n"; >+ } >+ ?> >+ >+ <?php include $pre . "includes/nav.php"; ?> >+ <!-- $Id: index.php,v 1.21 2006/06/14 16:19:46 pelder Exp $ --> >+</div> >+ >+<div id="rightcolumn"> >+ <div class="sideitem"> >+ <h6>News</h6> >+ <?php getNews(3, "whatsnew", "vert"); ?> >+ <ul> >+ <li><a href="http://www.eclipse.org/emft/news/release-notes.php">EMFT Release Notes</a></li> >+ <li><a href="<?php echo $pre; ?>news/news-whatsnew.php">What's New</a> [<a href="<?php echo $pre; ?>news/news-whatsnew.php">more</a>]</li> >+ </ul> >+ </div> >+ >+ <div class="sideitem"> >+ <h6>Modeling Corner</h6> >+ <p>Want to <a href="http://wiki.eclipse.org/index.php/Modeling_Corner">contribute</a> models, projects, files, ideas, utilities, or code to >+ <a href="http://www.eclipse.org/emft/">EMFT</a> or any other part of the <a href="http://www.eclipse.org/modeling/">Modeling Project</a>? >+ Now you can!</p> >+ <p>Have a look, post your comments, submit a link, or just read what others have written. <a href="http://wiki.eclipse.org/index.php/Modeling_Corner">Details here</a>.</p> >+ </div> >+ >+ <div class="sideitem"> >+ <h6>Related links</h6> >+ <ul> >+ <li><a href="http://www.eclipse.org/emf">EMF</a></li> >+ <li><a href="http://www.eclipse.org/uml2">UML2</a></li> >+ <li><a href="http://www.eclipse.org/emf/docs.php?doc=docs/UsingUpdateManager/UsingUpdateManager.html">Using Update Manager</a></li> >+ <li><a href="http://www.eclipse.org/newsgroups">Eclipse newsgroups</a></li> >+ <li><a href="http://wiki.eclipse.org/index.php/EMFT_Procedures">EMFT Build & Promote Procedures</a></li> >+ <!-- <li><a href="http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_1.html">Eclipse 3.1 Project Plan</a></li> --> >+ </ul> >+ </div> >+</div> >+ >+<?php >+$html = ob_get_contents(); >+ob_end_clean(); >+ >+$pageTitle = "EMFT - Home"; >+$pageKeywords = ""; // TODO: add something here >+$pageAuthor = "Neil Skrypuch"; >+ >+$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/emft/includes/index.css"/>' . "\n"); >+$App->AddExtraHtmlHeader('<style type="text/css">.homeitem { clear: none; }</style>' . "\n"); //hack for ie, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=154356 > >+$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); >+?> >Index: projects/overview_empty_stub.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/overview_empty_stub.php,v >retrieving revision 1.1 >diff -u -r1.1 overview_empty_stub.php >--- projects/overview_empty_stub.php 29 May 2006 18:06:32 -0000 1.1 >+++ projects/overview_empty_stub.php 19 Sep 2006 19:31:12 -0000 >@@ -1,14 +1,14 @@ > <?php >- >-$introText = >- 'This is an intro stub. <br>' . >- 'To edit it, go to <b>/cvsroot/org.eclipse/www/emft/projects/'.$page.'/</b> and ' . >- 'update <b>overview.php</b>.'; >+$introText = <<<EOT >+ <p>This is an intro stub. >+ To edit it, go to <b>/cvsroot/org.eclipse/www/emft/projects/$page/</b> and >+ update <b>overview.php</b>.</p> >+EOT; > >-$detailText = >- 'This is a detail page stub. <br>' . >- 'This will contain a full page of content & possibly graphics introducing this project. <br>' . >- 'To edit it, go to <b>/cvsroot/org.eclipse/www/emft/projects/'.$page.'/</b> and ' . >- 'update <b>overview.php</b>.'; >- >-?> >\ No newline at end of file >+$detailText = <<<EOT >+ <p>This is a detail page stub. >+ This will contain a full page of content & possibly graphics introducing this project. >+ To edit it, go to <b>/cvsroot/org.eclipse/www/emft/projects/$page/</b> and >+ update <b>overview.php</b>.</p> >+EOT; >+?> >Index: projects/cdo/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/cdo/overview.php,v >retrieving revision 1.2 >diff -u -r1.2 overview.php >--- projects/cdo/overview.php 19 Jun 2006 16:47:58 -0000 1.2 >+++ projects/cdo/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,17 +1,15 @@ > <?php >- >-$introText = >- 'CDO is both a technology for distributed shared EMF models and a fast server-based >- O/R mapping solution.'; >+$introText = <<<EOT >+ <p>CDO is both a technology for distributed shared EMF models and a fast server-based O/R mapping solution.</p> >+EOT; > >-$detailText = >- 'CDO is both a technology for distributed shared EMF models and a fast server-based >- O/R mapping solution. With CDO you can easily enhance your existing models in such a way that >- saving a resource transparently commits the applied changes to a relational database. Optionally >- other connected clients are actively notified about these changes so that their model copies get >- partially invalidated and all user interfaces reflect the current state at once. Stored resources >- are demand-loaded from the database only as needed. CDO uses the Net4j technology as a flexible >- an scalable signalling backbone.'; >- >- >-?> >\ No newline at end of file >+$detailText = <<<EOT >+ <p>CDO is both a technology for distributed shared EMF models and a fast server-based >+ O/R mapping solution. With CDO you can easily enhance your existing models in such a way that >+ saving a resource transparently commits the applied changes to a relational database. Optionally >+ other connected clients are actively notified about these changes so that their model copies get >+ partially invalidated and all user interfaces reflect the current state at once. Stored resources >+ are demand-loaded from the database only as needed. CDO uses the Net4j technology as a flexible >+ and scalable signalling backbone.</p> >+EOT; >+?> >Index: projects/eodm/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/eodm/overview.php,v >retrieving revision 1.5 >diff -u -r1.5 overview.php >--- projects/eodm/overview.php 6 Mar 2006 07:34:53 -0000 1.5 >+++ projects/eodm/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,28 +1,29 @@ > <?php >- >-$introText = >- 'EODM is an implementation of RDF(S)/OWL metamodels of the <a href="http://www.omg.org/ontology">Ontology Definition Metamodel (ODM)</a> ' . >- 'using EMF with additional parsing, inference, model transformation and editing functions. ' . >- 'EODM is part of the <a href="http://www.alphaworks.ibm.com/tech/semanticstk">IBM Integrated Ontology Development Toolkit (IODT)</a>. ' ; >+$introText = <<<EOT >+ <p>EODM is an implementation of RDF(S)/OWL metamodels of the <a href="http://www.omg.org/ontology">Ontology Definition Metamodel (ODM)</a> >+ using EMF with additional parsing, inference, model transformation and editing functions. >+ EODM is part of the <a href="http://www.alphaworks.ibm.com/tech/semanticstk">IBM Integrated Ontology Development Toolkit (IODT)</a>.</p> >+EOT; > >-$detailText = >- 'EODM is an implementation of RDF(S)/OWL metamodels of the <a href="http://www.omg.org/ontology">Ontology Definition Metamodel (ODM)</a> ' . >- 'using EMF with additional parsing, inference, model transformation and editing functions. ' . >- 'EODM is part of the <a href="http://www.alphaworks.ibm.com/tech/semanticstk">IBM Integrated Ontology Development Toolkit (IODT)</a>. ' . >- 'The proposed ODM standard unifies UML and MOF Standards from OMG and the emerging Semantic Web standards ' . >- 'from <a href="http://www.w3.org">W3C</a> - <a href="http://www.w3.org/RDF">RDF (Resource Description Framework)</a> ' . >- 'and <a href="http://www.w3.org/2004/OWL">OWL (Web Ontology Language)</a> specifically. ' . >- 'It is the fist coherent effort to integrate Model Driven Technologies and Semantic Web Technologies. ' . >- 'EODM uses Eclipse and Eclipse Modeling Framework (EMF) to drive this integration. It is the first design ' . >- 'and implementation of ODM within the Eclipse, EMF and Semantic Web community. EODM allows users to load a ' . >- 'RDF/OWL ontology into EMF-based Java objects, to manipulate and infer the EMF Java objects which represents ' . >- 'the RDF/OWL ontology in memory, and to serialize the Java objects to an ontology in RDF/XML syntax. EODM also ' . >- 'provides model transformation capabilities between RDF/OWL and other modeling languages, such as ECore, UML and ER etc. ' . >- '<br><br> ' . >- 'EODM includes the following components: <br><br>' . >- '1) EMF-based RDF/OWL Model<br>' . >- '2) RDF Core which includes RDF parser, reasoner and transformer<br>' . >- '3) OWL Core which includes OWL parser, reasoner and transformer<br>' . >- '4) Basic Workbench which provides basic Eclipse editors for RDF/OWL<br>' ; >- >-?> >\ No newline at end of file >+$detailText = <<<EOT >+ <p>EODM is an implementation of RDF(S)/OWL metamodels of the <a href="http://www.omg.org/ontology">Ontology Definition Metamodel (ODM)</a> >+ using EMF with additional parsing, inference, model transformation and editing functions. >+ EODM is part of the <a href="http://www.alphaworks.ibm.com/tech/semanticstk">IBM Integrated Ontology Development Toolkit (IODT)</a>. >+ The proposed ODM standard unifies UML and MOF Standards from OMG and the emerging Semantic Web standards >+ from <a href="http://www.w3.org">W3C</a> - <a href="http://www.w3.org/RDF">RDF (Resource Description Framework)</a> >+ and <a href="http://www.w3.org/2004/OWL">OWL (Web Ontology Language)</a> specifically. >+ It is the fist coherent effort to integrate Model Driven Technologies and Semantic Web Technologies. >+ EODM uses Eclipse and Eclipse Modeling Framework (EMF) to drive this integration. It is the first design >+ and implementation of ODM within the Eclipse, EMF and Semantic Web community. EODM allows users to load a >+ RDF/OWL ontology into EMF-based Java objects, to manipulate and infer the EMF Java objects which represents >+ the RDF/OWL ontology in memory, and to serialize the Java objects to an ontology in RDF/XML syntax. EODM also >+ provides model transformation capabilities between RDF/OWL and other modeling languages, such as ECore, UML and ER etc.</p> >+ <p>EODM includes the following components:</p> >+ <ol> >+ <li>EMF-based RDF/OWL Model</li> >+ <li>RDF Core which includes RDF parser, reasoner and transformer</li> >+ <li>OWL Core which includes OWL parser, reasoner and transformer</li> >+ <li>Basic Workbench which provides basic Eclipse editors for RDF/OWL</li> >+ </ol> >+EOT; >+?> >Index: projects/jet/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/jet/overview.php,v >retrieving revision 1.2 >diff -u -r1.2 overview.php >--- projects/jet/overview.php 3 Apr 2006 17:17:20 -0000 1.2 >+++ projects/jet/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,26 +1,28 @@ > <?php >+$introText = <<<EOT >+ <p>The JET component provides code generation framework & facilities that are used by EMF. >+ JSP-like template files can be edited and transformed into any kind of source artifact including java, html, properties or xml files in a very simple way.</p> >+EOT; > >-$introText = >- 'The JET component provides code generation framework & facilities that are used by EMF. <br>' . >- 'JSP-like template files can be edited and transformed into any kind of source artifact including java, html, properties or xml files in a very simple way.'; >+$detailText = <<<EOT >+ <p>JET is typically used in the implementation of a "code generator". A code-generator is an important component of Model Driven Development (MDD). >+ The goal of MDD is to describe a software system using abstract models (such as EMF/ECORE models or UML models), and then refine and >+ transform these models into code. Although is possible to create abstract models, and manually transform them into code, the real power of MDD comes from automating this process. >+ Such <b>transformations</b> accelerate the MDD process, and result in better code quality. The transformations can capture the "best practices" of experts, and can >+ ensure that a project consistently employes these practices.</p> > >-$detailText = >- '<p>JET is typically used in the implementation of a "code generator". A code-generator is an important component of Model Driven Development (MDD). <br>' . >- 'The goal of MDD is to describe a software system using abstract models (such as EMF/ECORE models or UML models), and then refine and ' . >- 'transform these models into code. Although is possible to create abstract models, and manually transform them into code, the real power of MDD comes from automating this process. <br>' . >- 'Such <b>transformations</b> accelerate the MDD process, and result in better code quality. The transformations can capture the "best practices" of experts, and can ' . >- 'ensure that a project consistently employes these practices.</p>' . >- '<p>However, transformations are not always perfect. Best practices are often dependent on context - what is optimal in one context may be ' . >- 'suboptimal in another. Transformations can address this issue by including some mechanism for end-user modification of the code generator. This is frequently done by using ' . >- '"templates" to create artifacts, and allowing users to substitute their own implementations of these templates if necessary. <br>' . >- 'This is the role of JET.</p>' . >- '<p>This component provides:</p>' . >- '<ul>' . >- ' <li>Expand the JET language to support custom tags (which are distributed in "tag libraries). (The language specification will be described in a separate document.)</li> ' . >- ' <li>Define Java interfaces and Eclipse Extension points for declaring custom tag libraries.</li> ' . >- ' <li>Provide Standard JET tag libraries that make it possible to create entire transformations without recourse to Java and the Eclipse APIs. (These tag libraries will be described in a separate document.)</li>' . >- ' <li>Provide Eclipse API and UI for invoking such transformations.</li>' . >- ' <li>Provide a JET template editor</li>' . >- '</ul>'; >+ <p>However, transformations are not always perfect. Best practices are often dependent on context - what is optimal in one context may be >+ suboptimal in another. Transformations can address this issue by including some mechanism for end-user modification of the code generator. >+ This is frequently done by using "templates" to create artifacts, and allowing users to substitute their own implementations of these templates if necessary. >+ This is the role of JET.</p> > >-?> >\ No newline at end of file >+ <p>This component provides:</p> >+ <ol> >+ <li>Expand the JET language to support custom tags (which are distributed in "tag libraries"). (The language specification will be described in a separate document.)</li> >+ <li>Define Java interfaces and Eclipse Extension points for declaring custom tag libraries.</li> >+ <li>Provide Standard JET tag libraries that make it possible to create entire transformations without recourse to Java and the Eclipse APIs. (These tag libraries will be described in a separate document.)</li> >+ <li>Provide Eclipse API and UI for invoking such transformations.</li> >+ <li>Provide a JET template editor.</li> >+ </ol> >+EOT; >+?> >Index: projects/jeteditor/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/jeteditor/overview.php,v >retrieving revision 1.2 >diff -u -r1.2 overview.php >--- projects/jeteditor/overview.php 23 May 2006 19:43:26 -0000 1.2 >+++ projects/jeteditor/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,14 +1,14 @@ > <?php >+$introText = <<<EOT >+ <p>The JETEditor provides a rich text editor component for editing JET templates within Eclipse. >+ The editor features syntax coloring, error highlighting and code completion.</p> >+EOT; > >-$introText = >- 'The JETEditor provides a rich text editor component for editing JET templates within Eclipse. <br>' . >- 'The editor features syntax coloring, error highlighting and code completion.'; >- >-$detailText = >- 'The mix of JSP-like script and template content in JET templates might rapidly become confusing and makes template editing challenging.' . >- '<br/>Template authors need a way to have a clearer view of the different text partitions and to reduce the complexity of writing the templates.' . >- 'The JET Editor leverages Eclipse text editor framework to provide this capability via features like syntax coloring, error highlighting and code completion.' . >- '<br/>Whereas JET Editor is bound to support the new EMFT implementation of the JET templates technology in a near future, it should currently ' . >- 'only be used for the org.eclipse.emf.codegen implementation of the JET technology.' ; >- >+$detailText = <<<EOT >+ <p>The mix of JSP-like script and template content in JET templates might rapidly become confusing and makes template editing challenging. >+ Template authors need a way to have a clearer view of the different text partitions and to reduce the complexity of writing the templates. >+ The JET Editor leverages Eclipse text editor framework to provide this capability via features like syntax coloring, error highlighting and code completion. >+ Whereas JET Editor is bound to support the new EMFT implementation of the JET templates technology in a near future, it should currently >+ only be used for the org.eclipse.emf.codegen implementation of the JET technology.</p> >+EOT; > ?> >Index: projects/net4j/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/net4j/overview.php,v >retrieving revision 1.2 >diff -u -r1.2 overview.php >--- projects/net4j/overview.php 19 Jun 2006 16:47:58 -0000 1.2 >+++ projects/net4j/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,12 +1,13 @@ > <?php >- >-$introText = >- 'Net4j is an extensible client-server system based on the Eclipse Runtime and the Spring Framework.'; >+$introText = <<<EOT >+ <p>Net4j is an extensible client-server system based on the Eclipse Runtime and the Spring Framework.</p> >+EOT; > >-$detailText = >- 'Net4j is an extensible client-server system based on the Eclipse Runtime and the Spring Framework. >- You can easily extend the protocol stack with Eclipse plugins that provide new transport or application protocols. Net4j\'s >- focus on performance and scalability is featured by non-blocking I/O, zero-copy signals and multiplexed binary protocols. >- Net4j was originally developed to support the CDO technology for distributed shared and persistent EMF models but can >- also multiplex your own user-supplied application protocols through the same socket connection.'; >-?> >\ No newline at end of file >+$detailText = <<<EOT >+ <p>Net4j is an extensible client-server system based on the Eclipse Runtime and the Spring Framework. >+ You can easily extend the protocol stack with Eclipse plugins that provide new transport or application protocols. Net4j's >+ focus on performance and scalability is featured by non-blocking I/O, zero-copy signals and multiplexed binary protocols. >+ Net4j was originally developed to support the CDO technology for distributed shared and persistent EMF models but can >+ also multiplex your own user-supplied application protocols through the same socket connection.</p> >+EOT; >+?> >Index: projects/ocl/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/ocl/overview.php,v >retrieving revision 1.5 >diff -u -r1.5 overview.php >--- projects/ocl/overview.php 6 Apr 2006 15:03:56 -0000 1.5 >+++ projects/ocl/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,17 +1,21 @@ > <?php >- >-$introText = >- 'The OCL component provides capabilities for queries, constraint parsing, constraint validation and content assist for user models. It defines the API for constructing, validating, and evaluating OCL queries and constraints on EMF model elements. The OCL expression syntax are used to implement OCL queries and constraints. It provides support for OCL syntax completion and parsing on the meta-model and user model level.'; >+$introText = <<<EOT >+ <p>The OCL component provides capabilities for queries, constraint parsing, constraint validation and content assist for user models. >+ It defines the API for constructing, validating, and evaluating OCL queries and constraints on EMF model elements. >+ The OCL expression syntax are used to implement OCL queries and constraints. >+ It provides support for OCL syntax completion and parsing on the meta-model and user model level.</p> >+EOT; > >-$detailText = >- 'The OCL component provides the following capabilities to support OCL integration. <br>' . >- '1) Defines APIs for OCL expression syntax. <br>' . >- '2) OCL expressions are used to implement OCL queries (Query) and constraints. <br>' . >- '3) The Visitor interface allows walking an OCL expression AST. <br>' . >- '<p>The OCL parser is generated by the LALR Parser Generator, a SourceForge project, ' . >- 'licensed under the <a href="http://www.eclipse.org/legal/epl-v10.html">EPL v1.0</a>. ' . >- 'Download it from the <a href="http://sourceforge.net/projects/lpg/">LPG home page</a>. ' . >- 'This site includes the generator executable required to regenerate the parser ' . >- 'code.</p>'; >- >-?> >\ No newline at end of file >+$detailText = <<<EOT >+ <p>The OCL component provides the following capabilities to support OCL integration.</p> >+ <ol> >+ <li>Defines APIs for OCL expression syntax.</li> >+ <li>OCL expressions are used to implement OCL queries (Query) and constraints.</li> >+ <li>The Visitor interface allows walking an OCL expression AST.</li> >+ </ol> >+ <p>The OCL parser is generated by the LALR Parser Generator, a SourceForge project, >+ licensed under the <a href="http://www.eclipse.org/legal/epl-v10.html">EPL v1.0</a>. >+ Download it from the <a href="http://sourceforge.net/projects/lpg/">LPG home page</a>. >+ This site includes the generator executable required to regenerate the parser code.</p> >+EOT; >+?> >Index: projects/query/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/query/overview.php,v >retrieving revision 1.2 >diff -u -r1.2 overview.php >--- projects/query/overview.php 22 Feb 2006 13:59:02 -0000 1.2 >+++ projects/query/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,19 +1,21 @@ > <?php >- >-$introText = >- 'The query component provides capabilities to specify and execute queries against EMF model elements and their contents.'; >+$introText = <<<EOT >+ <p>The query component provides capabilities to specify and execute queries against EMF model elements and their contents.</p> >+EOT; > >-$detailText = >- 'The query component facilitates the process of search and retrieval of model elements of interest in a flexible yet controlled and structured manner. Provides API support for the basic EObject based Condition objects that are used to formulate queries for EMF models. <br>' . >- 'The query component provides the following classes/interfaces to support queries. <br>' . >- '1) The IEObjectSource interface provides the search scope elements to be used in a query. <br>' . >- '2) The SELECT class implements a template-function that does the iteration over model elements and applies the search condition on each; it collects the resulting elements into a QueryResultSet object and returns it to the caller. <br>' . >- '3) The FROM class represents the elements to search. It is responsible of providing an appropriate iterator for the elements in the search space. <br>' . >- '4) The WHERE class applies the search conditions over the elements in the search set. <br>' . >- '5) The UPDATE class passes the elements who satisfy the search condition to a caller-supplied modification function. It collects the modified elements into a QueryResultSet object and returns it to the caller. <br>' . >- '6) The QueryResultSet class represents the set of elements returned by a given query. <br>' . >- '7) The EObjectCondition class is the abstract parent of all conditions that deal with model-elements (i.e., EObjects). It incorporates the services of a PruneHandler in order to answers whether or not to prune the element tree at a specific element and thus ignore its children. <br>' . >- '8) The ConditionPolicy class is used to allow the user to decide how to apply a given condition on a collection of a model-element EAttributes or EReferences values. Supports both the: exists (ANY) and for-all (ALL) semantics. <br>' . >- '9) The EObjectStructuralFeatureValueCondition class is the parent class for conditions that are responsible for checking the values held in model-elementsÂ’ attributes or references.'; >- >-?> >\ No newline at end of file >+$detailText = <<<EOT >+ <p>The query component facilitates the process of search and retrieval of model elements of interest in a flexible yet controlled and structured manner. Provides API support for the basic EObject based Condition objects that are used to formulate queries for EMF models.</p> >+ <p>The query component provides the following classes/interfaces to support queries.</p> >+ <ol> >+ <li>The IEObjectSource interface provides the search scope elements to be used in a query.</li> >+ <li>The SELECT class implements a template-function that does the iteration over model elements and applies the search condition on each; it collects the resulting elements into a QueryResultSet object and returns it to the caller.</li> >+ <li>The FROM class represents the elements to search. It is responsible of providing an appropriate iterator for the elements in the search space.</li> >+ <li>The WHERE class applies the search conditions over the elements in the search set.</li> >+ <li>The UPDATE class passes the elements who satisfy the search condition to a caller-supplied modification function. It collects the modified elements into a QueryResultSet object and returns it to the caller.</li> >+ <li>The QueryResultSet class represents the set of elements returned by a given query.</li> >+ <li>The EObjectCondition class is the abstract parent of all conditions that deal with model-elements (i.e., EObjects). It incorporates the services of a PruneHandler in order to answers whether or not to prune the element tree at a specific element and thus ignore its children.</li> >+ <li>The ConditionPolicy class is used to allow the user to decide how to apply a given condition on a collection of a model-element EAttributes or EReferences values. Supports both the: exists (ANY) and for-all (ALL) semantics.</li> >+ <li>The EObjectStructuralFeatureValueCondition class is the parent class for conditions that are responsible for checking the values held in model-elements attributes or references.</li> >+ </ol> >+EOT; >+?> >Index: projects/transaction/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/transaction/overview.php,v >retrieving revision 1.3 >diff -u -r1.3 overview.php >--- projects/transaction/overview.php 22 Feb 2006 13:46:35 -0000 1.3 >+++ projects/transaction/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,16 +1,20 @@ > <?php >- >-$introText = >- 'The transaction component provides a model management layer built on top of EMF for managing EMF resources. It provides API that include extensions to the EditingDomain and related APIs of the EMF.Edit framework, and an internal model of transactions. It consists of two layers: a non-Eclipse core, providing primarily the "transaction model", and an Eclipse workspace integration layer.'; >+$introText = <<<EOT >+ <p>The transaction component provides a model management layer built on top of EMF for managing EMF resources. >+ It provides API that include extensions to the EditingDomain and related APIs of the EMF.Edit framework, and an internal model of transactions. >+ It consists of two layers: a non-Eclipse core, providing primarily the "transaction model", and an Eclipse workspace integration layer.</p> >+EOT; > >-$detailText = >- 'The transaction component provides the following capabilities. <br>' . >- '1) Multi-threading - Supports a protocol for clients to read and write EMF models on multiple threads. <br>' . >- '2) Model Integrity - Semantic integrity is ensured by automatic validation to detect invalid changes and semantic procedures to proactively maintain correctness of semantic dependencies. <br>' . >- '3) Batched Events - Clients are notified of groups of related changes in batches, rather than as a stream of EMF notifications. In particular, this allows applications to analyze change sets in their entirety. <br>' . >- '4) Undo/Redo - For a simplified programming model, the API automatically tracks changes applied to models without the need for client code to use EMF edit Commands. These changes are encapsulated in transactions/operations that can undo and redo themselves. <br>' . >- '5) Editing Domain - Support cooperative editing of models by multiple editors/applications. EMF resources can be shared amongst different editing domains. <br>' . >- '6) Eclipse Workspace - The API provides traceability between EMF resources and workspace resources. Multi-threaded access is coordinated via the Eclipse jobs API and its integration with the workspace. <br>' . >- '7) Eclipse Operations - The API supports the Eclipse operation history as an undo stack for undo/redo of resource changes. The API provides a framework for undoable operations that automatically capture undo/redo information, which can be interleaved on the same history with dependent operations that do not modify the EMF model.'; >- >-?> >\ No newline at end of file >+$detailText = <<<EOT >+ <p>The transaction component provides the following capabilities.</p> >+ <ol> >+ <li>Multi-threading - Supports a protocol for clients to read and write EMF models on multiple threads.</li> >+ <li>Model Integrity - Semantic integrity is ensured by automatic validation to detect invalid changes and semantic procedures to proactively maintain correctness of semantic dependencies.</li> >+ <li>Batched Events - Clients are notified of groups of related changes in batches, rather than as a stream of EMF notifications. In particular, this allows applications to analyze change sets in their entirety.</li> >+ <li>Undo/Redo - For a simplified programming model, the API automatically tracks changes applied to models without the need for client code to use EMF edit Commands. These changes are encapsulated in transactions/operations that can undo and redo themselves.</li> >+ <li>Editing Domain - Support cooperative editing of models by multiple editors/applications. EMF resources can be shared amongst different editing domains.</li> >+ <li>Eclipse Workspace - The API provides traceability between EMF resources and workspace resources. Multi-threaded access is coordinated via the Eclipse jobs API and its integration with the workspace.</li> >+ <li>Eclipse Operations - The API supports the Eclipse operation history as an undo stack for undo/redo of resource changes. The API provides a framework for undoable operations that automatically capture undo/redo information, which can be interleaved on the same history with dependent operations that do not modify the EMF model.</li> >+ </ol> >+EOT; >+?> >Index: projects/validation/overview.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/projects/validation/overview.php,v >retrieving revision 1.2 >diff -u -r1.2 overview.php >--- projects/validation/overview.php 22 Feb 2006 03:40:14 -0000 1.2 >+++ projects/validation/overview.php 19 Sep 2006 19:31:12 -0000 >@@ -1,13 +1,16 @@ > <?php >- >-$introText = >- 'The validation component provides capabilities used to ensure model integrity.'; >+$introText = <<<EOT >+ <p>The validation component provides capabilities used to ensure model integrity.</p> >+EOT; > >-$detailText = >- 'The validation component provides the following capabilities. <br>' . >- '1) Constraint Definition - Provides API for defining constraints for any EMF meta-model (batch and live constraints). <br>' . >- '2) Customizable model traversal algorithms - Extensibility API to support meta-models that require custom strategies for model traversal. <br>' . >- '3) Constraint parsing for languages - Provides support for parsing the content of constraint elements defined in specific languages. The validation framework provides support for two languages: Java and OCL. <br>' . >- '4) Configurable constraint bindings to application contexts - API support to define "client contexts" that describe the objects that need to be validated and to bind them to constraints that need to be enforced on these objects. <br>' . >- '5) Validation listeners - Support for listening to validation events.'; >-?> >\ No newline at end of file >+$detailText = <<<EOT >+ <p>The validation component provides the following capabilities.</p> >+ <ol> >+ <li>Constraint Definition - Provides API for defining constraints for any EMF meta-model (batch and live constraints).</li> >+ <li>Customizable model traversal algorithms - Extensibility API to support meta-models that require custom strategies for model traversal.</li> >+ <li>Constraint parsing for languages - Provides support for parsing the content of constraint elements defined in specific languages. The validation framework provides support for two languages: Java and OCL.</li> >+ <li>Configurable constraint bindings to application contexts - API support to define "client contexts" that describe the objects that need to be validated and to bind them to constraints that need to be enforced on these objects.</li> >+ <li>Validation listeners - Support for listening to validation events.</li> >+ </ol> >+EOT; >+?> >Index: updates/index.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/updates/index.php,v >retrieving revision 1.7 >diff -u -r1.7 index.php >--- updates/index.php 9 Mar 2006 19:08:50 -0000 1.7 >+++ updates/index.php 19 Sep 2006 19:31:12 -0000 >@@ -1,57 +1,55 @@ > <?php >+require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); > >-$pre = "../"; >- >-// Process query string >-$vars = explode("&", $_SERVER['QUERY_STRING']); >-for ($i=0;$i<=count($vars);$i++) { >- $var = explode("=", $vars[$i]); >- $qsvars[$var[0]] = $var[1]; >-} >- >-$params = array(); >-$params["project"] = $qsvars["proj"]; >- >-$HTMLTitle = "EMF Technologies - Update Manager"; >-$ProjectName = array( >- "Update Manager", >- "EMF Technologies", >- "Update Manager", >- "images/reference.gif" >-); >- >-if (is_file($pre . "includes/header.php")) include $pre . "includes/header.php"; >- >-/* >- * To work, this script must be run with a version of PHP4 which >- * includes the Sablotron XSLT extension compiled into it >- * >- * Params in stylesheet: >- * >- * <xsl:param name="project"></xsl:param> >- * >- */ >- >-// define XML and XSL sources >-$XMLfile = $qsvars["XMLfile"] ? str_replace("../","",$qsvars["XMLfile"]).".xml" : "site.xml"; >-$XSLfile = "site.xsl"; >- >-if (function_exists('xslt_create')) { >- $processor = xslt_create(); >- $fileBase = 'file://' . getcwd () . '/'; >- xslt_set_base ( $processor, $fileBase ); >- $result = xslt_process($processor, $fileBase.$XMLfile, $fileBase.$XSLfile, NULL, array(), $params); >- >- if(!$result) { >- echo "Trying to parse ".$XMLfile." with ".$XSLfile."...<br/>"; >- echo "ERROR #".xslt_errno($processor) . " : " . xslt_error($processor); >- } >- echo $result; >-} else { ?> >- <meta http-equiv="Refresh" content="0;url=site.html"> >-<?php } ?> >- >-<p><a href="view-source:http://download.eclipse.org/technology/emft/updates/<?php echo $XMLfile; ?>" class="red">View as XML</a></p> >- >-<?php if (is_file($pre . "includes/footer.php")) include $pre . "includes/footer.php"; ?> >-<!-- $Id$ --> >+ob_start(); >+?> >+<div id="midcolumn"> >+ <div class="homeitem3col"> >+ <h3>EMF Update Manager Site</h3> >+ <p>To install these plugins, point your Eclipse Update Manager at this site. For more on how to do this, <a href="http://www.eclipse.org/emf/docs.php?doc=docs/UsingUpdateManager/UsingUpdateManager.html">click here</a>. <a href="http://www.eclipse.org/downloads/download.php?file=/technology/emft/updates/site.xml&format=xml">Mirrors available</a>. >+ </p> >+ <ul> >+ <li> >+ Help >+ <ul> >+ <li> >+ Software Updates >+ <ul> >+ <li> >+ Find and Install... >+ <ul> >+ <li> >+ Search for new features to install >+ <ul> >+ <li> >+ Add Update Site...<br/> >+ * Name: <b>EMFT Update Manager Site</b><br/> >+ * URL: <b><a href="http://download.eclipse.org/technology/emft/updates/site.xml" target="_um">http://download.eclipse.org/technology/emft/updates/site.xml</a></b> (Releases)<br/> >+ (or): <b><a href="http://download.eclipse.org/technology/emft/updates/site-interim.xml" target="_um">http://download.eclipse.org/technology/emft/updates/site-interim.xml</a></b> (I, M and S Builds) >+ </li> >+ </ul> >+ </li> >+ </ul> >+ </li> >+ </ul> >+ </li> >+ </ul> >+ </li> >+ </ul> >+ </div> >+</div> >+<!-- this doesn't really fit anywhere anymore... --> >+<!-- <img alt="how to" src="http://www.eclipse.org/images/howto_banner.jpg" height="111" width="272"/> --> >+<?php >+$html = ob_get_contents(); >+ob_end_clean(); >+ >+$pageTitle = "EMFT - Update Manager"; >+$pageKeywords = ""; // TODO: add something here >+$pageAuthor = "Neil Skrypuch"; >+ >+$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/emft/includes/um.css"/>'); >+ >+# Generate the web page >+$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); >+?> >Index: updates/site.css >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/updates/site.css,v >retrieving revision 1.1 >diff -u -r1.1 site.css >--- updates/site.css 24 Jan 2006 16:17:48 -0000 1.1 >+++ updates/site.css 19 Sep 2006 19:31:12 -0000 >@@ -1,15 +1 @@ >-<STYLE type="text/css"> >-td.spacer {padding-bottom: 10px; padding-top: 10px;} >-.title { font-family: sans-serif; color: #99AACC;} >-.bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; } >-.sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white;} >-.log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 8pt; color:black;} >-.big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white; border-top:10px solid white;} >-.light-row {background:#FFFFFF} >-.dark-row {background:#EEEEFF} >-.header {background:#99AADD} >-#indent {word-wrap : break-word;width :300px;text-indent:10px;} >- >-/* $Id$ */ >- >-</STYLE> >+/* no longer used */ >Index: updates/site.html >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/updates/site.html,v >retrieving revision 1.2 >diff -u -r1.2 site.html >--- updates/site.html 9 Mar 2006 18:37:22 -0000 1.2 >+++ updates/site.html 19 Sep 2006 19:31:12 -0000 >@@ -1,86 +1 @@ >-<html> >-<head> >-<title>EMFT Update Manager Site</title> >-<style>@import url("site.css");</style> >-<script type="text/javascript"> >- var returnval = 0; >- var stylesheet, xmlFile, cache, doc; >- function init(){ >- // NSCP 7.1+ / Mozilla 1.4.1+ >- // Use the standard DOM Level 2 technique, if it is supported >- if (document.implementation && document.implementation.createDocument) { >- xmlFile = document.implementation.createDocument("", "", null); >- stylesheet = document.implementation.createDocument("", "", null); >- xmlFile.load("site.xml"); >- stylesheet.load("site.xsl"); >- xmlFile.addEventListener("load", transform, false); >- stylesheet.addEventListener("load", transform, false); >- } >- //IE 6.0+ solution >- else if (window.ActiveXObject) { >- xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0"); >- xmlFile.async = false; >- xmlFile.load("site.xml"); >- stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0"); >- stylesheet.async = false; >- stylesheet.load("site.xsl"); >- cache = new ActiveXObject("msxml2.XSLTemplate.3.0"); >- cache.stylesheet = stylesheet; >- transformData(); >- } >- } >- // separate transformation function for IE 6.0+ >- function transformData(){ >- var processor = cache.createProcessor(); >- processor.input = xmlFile; >- processor.transform(); >- data.innerHTML = processor.output; >- } >- // separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+ >- function transform(){ >- returnval+=1; >- if (returnval==2){ >- var processor = new XSLTProcessor(); >- processor.importStylesheet(stylesheet); >- doc = processor.transformToDocument(xmlFile); >- document.getElementById("data").innerHTML = doc.documentElement.innerHTML; >- } >- } >-</script> >-</head> >-<body onload="init();"> >-<!--[insert static HTML here]--> >- >-<div id="data"> >-<!-- this is where the transformed data goes --> >- <table width="100%"> >- <tr valign="top"> >- <td width="75%"> >- <h2 class="title">EMFT Update Manager Site</h2> >- <p class="bodyText">To install these plugins, point your Eclipse Update Manager at this site.</p> >- >- <pre><p class="bodyText"> Help >- > Software Updates >- > Find and Install... >- > Search for new features to install >- > Add Update Site... >- * Name: <b>EMFT Update Manager Site</b> >- * URL: <b><a href="http://download.eclipse.org/technology/emft/updates/site.xml" target="_um">http://download.eclipse.org/technology/emft/updates/site.xml</a></b> (Releases) >- (or): <b><a href="http://download.eclipse.org/technology/emft/updates/site-interim.xml" target="_um">http://download.eclipse.org/technology/emft/updates/site-interim.xml</a></b> (I, M and S Builds)</p></pre> >- >- <p><b class="big-header">XML now loading...</b></p> >- <p> >- If you cannot see the Update Manager site listing after a few seconds, or to view this file as XML, <a href="http://download.eclipse.org/technology/emft/updates/site.xml" target="_um">click here</a>. >- </p> >- <p>Try <a target="_new" href="http://www.mozilla.org/download.html">Firefox</a>.</p> >- >- </td> >- <td width="25%"><img alt="how to" src="http://dev.eclipse.org/images/howto_banner.jpg" height="111" width="272" align="middle" /></td> >- </tr> >- </table> >- >-</div> >- >-<!-- $Id: site.html,v 1.2 2006/03/09 18:37:22 nickb Exp $ --> >-</body> >-</html> >+<!-- no longer used --> >Index: updates/site.xsl >=================================================================== >RCS file: /cvsroot/org.eclipse/www/emft/updates/site.xsl,v >retrieving revision 1.3 >diff -u -r1.3 site.xsl >--- updates/site.xsl 3 Apr 2006 19:25:26 -0000 1.3 >+++ updates/site.xsl 19 Sep 2006 19:31:12 -0000 >@@ -1,216 +1 @@ >-<xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl="urn:schemas-microsoft-com:xslt"> >-<xsl:output method="html" encoding="ISO-8859-1"/> >- >-<xsl:param name="project"></xsl:param> >-<!-- filter by category-def name or label, eg. >- <category-def label="emft query SDK 1.0.0 I200601191253" name="emft query SDK 1.0.0 I200601191253"> >---> >-<xsl:key name="cat" match="category" use="@name"/> >-<xsl:template match="/"> >-<xsl:for-each select="site"> >- <html> >- <head> >- <title>EMFT Update Manager Site</title> >- <style>@import url("site.css");</style> >- </head> >- <body> >- <table width="100%"> >- <tr valign="top"> >- <td width="75%"> >- <a name="top"> </a> >- <h2 class="title">EMFT Update Manager Site</h2> >- <p class="bodyText"><xsl:copy-of select="description"/> >- For more on how to do this, <a href="http://www.eclipse.org/emf/docs.php?doc=docs/UsingUpdateManager/UsingUpdateManager.html">click here</a>. <a href="http://www.eclipse.org/downloads/download.php?file=/technology/emft/updates/site.xml&format=xml">Mirrors available</a>. >- </p> >- <pre><p class="bodyText"> Help >- > Software Updates >- > Find and Install... >- > Search for new features to install >- > Add Update Site... >- * Name: <b>EMFT Update Manager Site</b> >- * URL: <b><a href="http://download.eclipse.org/technology/emft/updates/site.xml" target="_um">http://download.eclipse.org/technology/emft/updates/site.xml</a></b> (Releases) >- (or): <b><a href="http://download.eclipse.org/technology/emft/updates/site-interim.xml" target="_um">http://download.eclipse.org/technology/emft/updates/site-interim.xml</a></b> (I, M and S Builds)</p></pre> >- </td> >- <td width="25%"><img alt="how to" src="http://www.eclipse.org/images/howto_banner.jpg" height="111" width="272" align="middle" /></td> >- </tr> >- </table> >- >- <table width="100%" border="0" cellspacing="1" cellpadding="2"> >- <xsl:for-each select="category-def"> >- <xsl:sort select="@label" order="descending" case-order="upper-first"/> >- <xsl:if test="count(key('cat',@name)) != 0 and ($project = '' or contains(@name,$project) or contains(@label,$project))"> >- <tr class="header"> >- <!-- <td class="sub-header" width="30%"> >- <xsl:value-of select="@name"/> >- </td> --> >- <td class="sub-header" width="100%"> >- <xsl:value-of select="@label"/> >- </td> >- </tr> >- <xsl:for-each select="key('cat',@name)"> >- <xsl:sort select="ancestor::feature//@url" order="ascending"/> >- <xsl:sort select="ancestor::feature//@version" order="ascending"/> >- <xsl:sort select="ancestor::feature//@id" order="ascending" case-order="upper-first"/> >- <tr> >- <xsl:choose> >- <xsl:when test="(position() mod 2 = 1)"> >- <xsl:attribute name="class">dark-row</xsl:attribute> >- </xsl:when> >- <xsl:otherwise> >- <xsl:attribute name="class">light-row</xsl:attribute> >- </xsl:otherwise> >- </xsl:choose> >- <td class="log-text" id="indent"> >- <xsl:choose> >- <xsl:when test="ancestor::feature//@label"> >- <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a> >- <br/> >- <div id="indent"> >- (<xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@version"/>) >- </div> >- </xsl:when> >- <xsl:otherwise> >- <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@version"/></a> >- </xsl:otherwise> >- </xsl:choose> >- <br /> >- </td> >- </tr> >- </xsl:for-each> >- <tr><td class="spacer"><br/></td><td class="spacer"><br/></td></tr> >- </xsl:if> >- </xsl:for-each> >- <xsl:if test="count(feature) > count(feature/category)"> >- <tr class="header"> >- <td class="sub-header" colspan="2"> >- Uncategorized >- </td> >- </tr> >- </xsl:if> >- <xsl:choose> >- <xsl:when test="function-available('msxsl:node-set')"> >- <xsl:variable name="rtf-nodes"> >- <xsl:for-each select="feature[not(category)]"> >- <xsl:sort select="@id" order="ascending" case-order="upper-first"/> >- <xsl:sort select="@version" order="ascending" /> >- <xsl:value-of select="."/> >- <xsl:copy-of select="." /> >- </xsl:for-each> >- </xsl:variable> >- <xsl:variable name="myNodeSet" select="msxsl:node-set($rtf-nodes)/*"/> >- <xsl:for-each select="$myNodeSet"> >- <tr> >- <xsl:choose> >- <xsl:when test="position() mod 2 = 1"> >- <xsl:attribute name="class">dark-row</xsl:attribute> >- </xsl:when> >- <xsl:otherwise> >- <xsl:attribute name="class">light-row</xsl:attribute> >- </xsl:otherwise> >- </xsl:choose> >- <td class="log-text" id="indent"> >- <xsl:choose> >- <xsl:when test="@label"> >- <a href="{@url}"><xsl:value-of select="@label"/></a> >- <br /> >- <div id="indent"> >- (<xsl:value-of select="@id"/> - <xsl:value-of select="@version"/>) >- </div> >- </xsl:when> >- <xsl:otherwise> >- <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a> >- </xsl:otherwise> >- </xsl:choose> >- <br /><br /> >- </td> >- <td> >- <table> >- <xsl:if test="@os"> >- <tr><td class="log-text" id="indent">Operating Systems:</td> >- <td class="log-text" id="indent"><xsl:value-of select="@os"/></td> >- </tr> >- </xsl:if> >- <xsl:if test="@ws"> >- <tr><td class="log-text" id="indent">Windows Systems:</td> >- <td class="log-text" id="indent"><xsl:value-of select="@ws"/></td> >- </tr> >- </xsl:if> >- <xsl:if test="@nl"> >- <tr><td class="log-text" id="indent">Languages:</td> >- <td class="log-text" id="indent"><xsl:value-of select="@nl"/></td> >- </tr> >- </xsl:if> >- <xsl:if test="@arch"> >- <tr><td class="log-text" id="indent">Architecture:</td> >- <td class="log-text" id="indent"><xsl:value-of select="@arch"/></td> >- </tr> >- </xsl:if> >- </table> >- </td> >- </tr> >- </xsl:for-each> >- </xsl:when> >- <xsl:otherwise> >- <xsl:for-each select="feature[not(category)]"> >- <xsl:sort select="@id" order="ascending" case-order="upper-first"/> >- <xsl:sort select="@version" order="ascending" /> >- <tr> >- <xsl:choose> >- <xsl:when test="count(preceding-sibling::feature[not(category)]) mod 2 = 1"> >- <xsl:attribute name="class">dark-row</xsl:attribute> >- </xsl:when> >- <xsl:otherwise> >- <xsl:attribute name="class">light-row</xsl:attribute> >- </xsl:otherwise> >- </xsl:choose> >- <td class="log-text" id="indent"> >- <xsl:choose> >- <xsl:when test="@label"> >- <a href="{@url}"><xsl:value-of select="@label"/></a> >- <br /> >- <div id="indent"> >- (<xsl:value-of select="@id"/> - <xsl:value-of select="@version"/>) >- </div> >- </xsl:when> >- <xsl:otherwise> >- <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a> >- </xsl:otherwise> >- </xsl:choose> >- <br /><br /> >- </td> >- <td> >- <table> >- <xsl:if test="@os"> >- <tr><td class="log-text" id="indent">Operating Systems:</td> >- <td class="log-text" id="indent"><xsl:value-of select="@os"/></td> >- </tr> >- </xsl:if> >- <xsl:if test="@ws"> >- <tr><td class="log-text" id="indent">Windows Systems:</td> >- <td class="log-text" id="indent"><xsl:value-of select="@ws"/></td> >- </tr> >- </xsl:if> >- <xsl:if test="@nl"> >- <tr><td class="log-text" id="indent">Languages:</td> >- <td class="log-text" id="indent"><xsl:value-of select="@nl"/></td> >- </tr> >- </xsl:if> >- <xsl:if test="@arch"> >- <tr><td class="log-text" id="indent">Architecture:</td> >- <td class="log-text" id="indent"><xsl:value-of select="@arch"/></td> >- </tr> >- </xsl:if> >- </table> >- </td> >- </tr> >- </xsl:for-each> >- </xsl:otherwise> >- </xsl:choose> >- </table> >- <!-- $Id$ --> >- >- </body> >- </html> >-</xsl:for-each> >-</xsl:template> >-</xsl:stylesheet> >+<!-- no longer used --> >--- _projectCommon.php 2006-02-14 03:07:50.000000000 -0500 >+++ _projectCommon.php 2006-09-19 11:38:11.000000000 -0400 >@@ -0,0 +1,46 @@ >+<?php >+ if (preg_match("/^(Miasma|Industrial|Phoenix|Blue)$/", $_GET["skin"], $regs)) >+ { >+ $theme = $regs[1]; >+ } >+ else >+ { >+ $theme = "Phoenix"; >+ } >+ >+ $Nav->setLinkList(null); >+ >+ $rooturl = "http://www.eclipse.org"; >+ $downurl = (preg_match("/^(emf\.torolab\.ibm\.com)$/", $_SERVER["SERVER_NAME"], $regs) ? "http://$regs[1]" : "http://download.eclipse.org"); >+ $bugurl = "https://bugs.eclipse.org"; >+ >+ $projects = array( >+ "CDO" => "cdo", >+ "EODM" => "eodm", >+ "JET" => "jet", >+ "JET Editor" => "jeteditor", >+ "Net4j" => "net4j", >+ "OCL" => "ocl", >+ "Query" => "query", >+ "Transaction" => "transaction", >+ "Validation" => "validation" >+ ); >+ >+ $Nav->addNavSeparator("EMFT", "$rooturl/emft/"); >+ foreach (array_keys($projects) as $z) >+ { >+ $Nav->addCustomNav($z, "$rooturl/emft/projects/$projects[$z]/#$projects[$z]", "_self", 2); >+ } >+ >+ $Nav->addNavSeparator("Downloads", "$rooturl/emft/downloads/index.php"); >+ $Nav->addCustomNav("Update Manager", "$rooturl/emft/updates/", "_self", 2); >+ $Nav->addCustomNav("Release Notes", "$rooturl/emft/news/release-notes.php", "_self", 2); >+ $Nav->addNavSeparator("Community", ""); >+ $collist = "%26query_format%3Dadvanced&column_changeddate=on&column_bug_severity=on&column_priority=on&column_rep_platform=on&column_bug_status=on&column_product=on&column_component=on&column_version=on&column_target_milestone=on&column_short_short_desc=on&splitheader=0"; >+ $Nav->addCustomNav("Open Bugs", "$bugurl/bugs/colchange.cgi?rememberedquery=product%3DEMFT%26bug_status%3DNEW%26bug_status%3DASSIGNED%26bug_status%3DREOPENED%26order%3Dbugs.bug_status%2Cbugs.target_milestone%2Cbugs.bug_id" . $collist, "_self", 2); >+ $Nav->addCustomNav("Newsgroup", "news://news.eclipse.org/eclipse.technology.emft", "_self", 2); >+ $Nav->addCustomNav("Contributors", "$rooturl/emft/eclipse-project-ip-log.csv", "_self", 2); >+ $Nav->addNavSeparator("Tools", "$rooturl/tools/index.html"); >+ $Nav->addNavSeparator("Technology", "$rooturl/technology/index.php"); >+ $Nav->addNavSeparator("EMF", "$rooturl/emf/"); >+?> >--- downloads/index.php 2006-02-14 03:07:50.000000000 -0500 >+++ downloads/index.php 2006-09-19 15:02:32.000000000 -0400 >@@ -0,0 +1,799 @@ >+<?php >+require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); >+ >+ob_start(); >+ >+/* config */ >+$pre = "../"; >+include $pre . "includes/header.php"; >+ >+$dls = array( >+ "SDK (Runtime, Source)" => "SDK", >+ "Runtime" => "runtime", >+ "Examples" => "examples", >+ "Automated Tests" => "automated-tests" >+); >+ >+$trim_projects = getProjectArray(); >+$proj = (preg_match("/^(?:" . join("|", $trim_projects) . ")$/", $_GET["proj"]) ? $_GET["proj"] : $trim_projects[0]); >+ >+$filePre = array("emft-$proj", "emft-$proj", "emft-$proj", "emft-$proj"); // file prefixes - also defines the DL image to use, and image alt tag >+ >+$rssfeed = ""; >+ >+$debug = -1; >+$hadLoadDirSimpleError = 1; //have we echoed the loadDirSimple() error msg yet? if 1, omit error; if 0, echo at most 1 error >+$sortBy = (preg_match("/^(date)$/", $_GET["sortBy"], $regs) ? $regs[1] : ""); >+$showAll = (preg_match("/^(1)$/", $_GET["showAll"], $regs) ? $regs[1] : "0"); >+$showMax = (preg_match("/^(\d+)$/", $_GET["showMax"], $regs) ? $regs[1] : ($sortBy == "date" ? "10" : "5")); >+$doRefreshPage = false; >+$debug_echoPWD = 0; // set 0 to hide (for security purposes!) >+ >+$PWD = getPWD("$proj/downloads/drops/"); // see scripts.php >+$buildOptionsFile = "../build.options.txt"; // read only >+ >+if (preg_match("/(?:emf|fullmoon)\./", $_SERVER["HTTP_HOST"])) //internal >+{ >+ $downloadScript = "../../../technology/emft/scripts/download.php?dropFile="; >+ $downloadPre = "../../.."; >+} >+else // all others >+{ >+ $downloadScript = "http://www.eclipse.org/downloads/download.php?file="; >+ $downloadPre = ""; >+} >+/* end config */ >+ >+print "<div id=\"midcolumn\">\n"; >+ >+print "<div class=\"homeitem3col\">\n"; >+print "<h3>EMFT subproject selection</h3>\n"; >+print doSelectProject(); >+print "</div>\n"; >+ >+if (($options = loadOptionsFromFile($buildOptionsFile)) && is_array($options["Branch"])) >+{ >+ $buildTypes = getBuildTypes($options); >+} >+ >+$builds = getBuildsFromDirs(); >+if ($sortBy != "date") >+{ >+ $builds = reorderArray($builds, $buildTypes); >+} >+else >+{ >+ krsort($builds); >+} >+ >+if (sizeof($builds) == 0) >+{ >+ print "<div class=\"homeitem3col\">\n"; >+ print "<h3>${rssfeed}Builds</h3>\n"; >+ print "<ul class=\"releases\">\n"; >+ print "<li><i><b>Error!</b></i> No builds found on this server!</li>"; >+ print "</ul>\n"; >+ print "</div>\n"; >+} >+ >+if ($sortBy != "date") >+{ >+ $c = 0; >+ foreach ($builds as $branch => $types) >+ { >+ foreach ($types as $type => $IDs) >+ { >+ print "<div class=\"homeitem3col\">\n"; >+ print "<h3>$rssfeed" . $buildTypes[$branch][$type] . "s</h3>\n"; >+ print "<ul class=\"releases\">\n"; >+ $i = 0; >+ foreach ($IDs as $ID) >+ { >+ print outputBuild($branch, $ID, $c++); >+ $i++; >+ >+ if (!$showAll && $i == $showMax && $i < sizeof($IDs)) >+ { >+ print showToggle($showAll, $showMax, $sortBy, sizeof($IDs)); >+ break; >+ } >+ else if ($showAll && sizeof($IDs) > $showMax && $i == sizeof($IDs)) >+ { >+ print showToggle($showAll, $showMax, $sortBy, sizeof($IDs)); >+ } >+ } >+ print "</ul>\n"; >+ print "</div>\n"; >+ } >+ } >+} >+else if ($sortBy == "date") >+{ >+ print "<div class=\"homeitem3col\">\n"; >+ print "<a name=\"latest\"></a><h3>${rssfeed}Latest Builds</h3>\n"; >+ print "<ul class=\"releases\">\n"; >+ $c = 0; >+ foreach ($builds as $rID => $rbranch) >+ { >+ $ID = preg_replace("/^(\d{12})([IMNRS])$/", "$2$1", $rID); >+ $branch = preg_replace("/.$/", "", $rbranch); >+ print outputBuild($branch, $ID, $c++); >+ >+ if (!$showAll && $c == $showMax && $c < sizeof($builds)) >+ { >+ print showToggle($showAll, $showMax, $sortBy, sizeof($builds)); >+ break; >+ } >+ else if ($showAll && sizeof($builds) > $showMax && $c == sizeof($builds)) >+ { >+ print showToggle($showAll, $showMax, $sortBy, sizeof($builds)); >+ } >+ } >+ print "</ul>\n"; >+ print "</div>\n"; >+} >+ >+if ($doRefreshPage) >+{ ?> >+<script type="text/javascript"> >+ setTimeout('document.location.reload()', 60*1000); // refresh every 60 seconds if there's a build in progress >+</script> >+<?php } >+ >+doLanguagePacks($proj); ?> >+ <div class="homeitem3col"> >+ <h3>Questions?</h3> >+ <p>If you have problems downloading the drops, contact the <a href="mailto:webmaster@eclipse.org">webmaster</a>.</p> >+ <p>These are the minimum required downloads for using EMFT:</p> >+ <ul> >+ <li>To use <b class="emft">EMFT</b> alone, you require both the EMFT & <a href="/emf/download/">EMF</a> Runtimes.</li> >+ <li>To use <b class="emft">EMFT</b> w/ XSD models, you require three Runtimes: EMFT, <a href="/emf/download/">EMF</a> & <a href="/emf/download/">XSD</a>.</li> >+ </ul> >+ <p>All downloads are provided under the terms and conditions of the <a href="http://www.eclipse.org/legal/epl/notice.html">Eclipse Foundation Software User Agreement</a> unless otherwise specified.</p> >+ </div> >+</div> >+ >+<?php >+ >+print "<div id=\"rightcolumn\">\n"; >+print "<div class=\"sideitem\">\n"; >+print "<h6>Sort</h6>\n"; >+$newsort = ($sortBy == "date" ? "type" : "date"); >+print "<ul>\n"; >+print "<li><a href=\"?showAll=$showAll&showMax=$showMax&sortBy=$newsort&proj=$proj\">by $newsort</a></li>\n"; >+print "</ul>\n"; >+print "</div>\n"; >+print "</div>\n"; >+ >+$html = ob_get_contents(); >+ob_end_clean(); >+ >+$pageTitle = "EMFT - Downloads"; >+$pageKeywords = ""; // TODO: add something here >+$pageAuthor = "Neil Skrypuch"; >+ >+# Generate the web page >+$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="' . $pre . 'includes/downloads.css"/>' . "\n"); >+$App->AddExtraHtmlHeader('<script src="' . $pre . 'includes/downloads.js" type="text/javascript"></script>' . "\n"); //ie doesn't understand self closing script tags, and won't even try to render the page if you use one >+$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); >+ >+/************************** METHODS *****************************************/ >+ >+function reorderArray($arr, $buildTypes) >+{ >+ // the first dimension's order is preserved (kept as it is in the config file) >+ // sort the second dimension using the IMNRS order in $buildTypes >+ // rsort the third dimension >+ >+ $new = array(); >+ foreach ($buildTypes as $br => $types) >+ { >+ foreach ($types as $bt => $names) >+ { >+ if (array_key_exists($br, $arr) && array_key_exists($bt, $arr[$br]) && is_array($arr[$br][$bt])) >+ { >+ $new[$br][$bt] = $arr[$br][$bt]; >+ rsort($new[$br][$bt]); >+ } >+ } >+ } >+ >+ return $new; >+} >+ >+function getBuildsFromDirs() // massage the builds into more useful structures >+{ >+ global $PWD, $sortBy; >+ >+ $branchDirs = loadDirSimple($PWD, ".*", "d"); >+ $buildDirs = array(); >+ >+ foreach ($branchDirs as $branch) >+ { >+ if ($branch != "OLD") >+ { >+ $buildDirs[$branch] = loadDirSimple("$PWD/$branch", "[IMNRS]\d{12}", "d"); >+ } >+ } >+ >+ $builds_temp = array(); >+ foreach ($buildDirs as $br => $dirList) >+ { >+ foreach ($dirList as $dir) >+ { >+ $ty = substr($dir, 0, 1); //first char >+ >+ if ($sortBy != "date") >+ { >+ $builds_temp[$br][$ty][] = $dir; >+ } >+ else >+ { >+ $dttm = substr($dir, 1); // last 12 digits >+ $a = $dttm . $ty; >+ $b = $br . $ty; >+ >+ $builds_temp[$a] = $b; >+ } >+ } >+ } >+ >+ return $builds_temp; >+} >+ >+function getBuildTypes($options) >+{ >+ $arr = array(); >+ foreach ($options["Branch"] as $br => $branch) >+ { >+ foreach ($options["BuildType"] as $bt => $buildType) >+ { >+ $v = getValueFromOptionsString($branch, "value"); >+ if (!array_key_exists($v, $arr)) >+ { >+ $arr[$v] = array(); >+ } >+ if (preg_match("/^(.+)=([^\|]+)(?:\|selected)?$/", $buildType, $regs)) >+ { >+ // [2.0][N] >+ $arr[$v][$regs[2]] = "$v $regs[1] Build"; >+ } >+ } >+ } >+ >+ return $arr; >+} >+ >+function getValueFromOptionsString($opt, $nameOrValue) >+{ >+ if (preg_match("/^(.+)=([^\|]+)(?:\|selected)?$/", $opt, $regs)) >+ { >+ return (preg_match("/^(?:name|0)$/", $nameOrValue) ? $regs[1] : $regs[2]); >+ } >+} >+ >+function loadOptionsFromFile($file) >+{ >+ return (is_readable($file) ? loadOptionsFromArray(file($file)) : array()); >+} >+ >+function loadOptionsFromArray($sp) >+{ >+ foreach ($sp as $s) >+ { >+ if (preg_match("/^[^#].{2,}/", $s)) >+ { >+ if (preg_match("/\[([a-zA-Z_]+)(\|reversed)?\]/", $s, $matches)) // section starts >+ { >+ $doSection = $matches[1]; >+ >+ if ($matches[2] == "|reversed") //FIXME: reversed does nothing right now, apparently it's supposed to work >+ { >+ $options[$doSection]["reversed"] = true; >+ } >+ } >+ else >+ { >+ $options[$doSection][] = trim($s); //TODO: this looks like a bug, $doSection could be "" >+ } >+ } >+ } >+ >+ return $options; >+} >+ >+function IDtoDateStamp($ID, $style) // given N200402121441, return date("D, j M Y -- H:i (O)") >+{ >+ $styles = array('Y/m/d H:i', "D, j M Y -- H:i (O)", 'Y/m/d'); >+ if (preg_match("/(\d{4})(\d\d)(\d\d)(?:_)?(\d\d)(\d\d)/", $ID, $m)) >+ { >+ $ts = mktime($m[4], $m[5], 0, $m[2], $m[3], $m[1]); >+ return date($styles[$style], $ts); >+ } >+ >+ return ""; >+} >+ >+function createFileLinks($dls, $PWD, $branch, $ID, $pre2, $filePre, $ziplabel = "") // the new way - use a ziplabel pregen'd from a dir list! >+{ >+ $uu = 0; >+ $echo_out = ""; >+ >+ if (!$ziplabel) >+ { >+ $zips_in_folder = loadDirSimple("$PWD/$branch/$ID/", "(\.zip)", "f"); >+ // for testing, you can find a list of files like this: >+ // `find /home/www-data/emf-build/tools/emf/downloads/drops/2.0.1 -type f -maxdepth 2 -name *.zip -name *emf-sdo-xsd-SDK*` >+ >+ $ziplabel = preg_replace("/(.+)\-([^\-]+)(\.zip)/", "$2", $zips_in_folder[0]); // grab first entry >+ } >+ >+ $echo_out .= "<li><img src=\"/emft/images/dl-emft.gif\" alt=\"$filePre[0]\"/> $filePre[0]\n<ul>\n"; >+ foreach ($dls as $label => $u) >+ { >+ $echo_out .= "<li>"; >+ if ($u) >+ { >+ $u = "-$u"; >+ } >+ >+ if (is_file("$PWD/$branch/$ID/$pre2$filePre[$uu]$u-$ziplabel.zip")) >+ { >+ $echo_out .= fileFound("$PWD/", "$branch/$ID/$pre2$filePre[$uu]$u-$ziplabel.zip", $label); >+ } >+ else >+ { >+ $echo_out .= "..."; >+ } >+ $echo_out .= "</li>\n"; >+ $uu++; >+ } >+ $echo_out .= "</ul>\n</li>\n"; >+ return $echo_out; >+} >+ >+function showBuildResults($PWD, $path) // given path to /../downloads/drops/M200402021234/ >+{ >+ global $pre, $WWWpre, $proj; >+ $mid = "../../../technology/emft/$proj/downloads/drops/"; >+ >+ $warnings = 0; >+ $errors = 0; >+ >+ $result = ""; >+ $icon = ""; >+ >+ $indexHTML = ""; >+ $testResultsPHP = ""; >+ >+ $link = ""; >+ $link2 = ""; >+ >+ if ($isEMFserver && is_file("$PWD${path}buildlog.txt") && filesize("$PWD${path}buildlog.txt") < (3*1024*1024)) // if the log's too big, don't open it! >+ { >+ if (grep("/BUILD FAILED/", "$PWD${path}buildlog.txt")) >+ { >+ $icon = "not"; >+ $result = "FAILED"; // BUILD >+ } >+ } >+ >+ if (is_file("$PWD${path}index.html")) >+ { >+ $indexHTML = file_contents("$PWD${path}index.html"); >+ $zips = loadDirSimple($PWD . $path, ".zip", "f"); // get files count >+ $md5s = loadDirSimple($PWD . $path, ".zip.md5", "f"); // get files count >+ >+ if ((sizeof($zips) == 4 && sizeof($md5s) == 4)) >+ { >+ //check testresults/chkpii/ for results >+ //eg: /home/neil/workspace/org.eclipse.emft/releng/common/public_html/technology/emft/jet/downloads/drops/0.7.1/M200609072347/testresults/chkpii/org.eclipse.nls.summary.txt >+ if (is_file("$PWD${path}testresults/chkpii/org.eclipse.nls.summary.txt")) >+ { >+ $chkpiiResults = file_contents("$PWD${path}testresults/chkpii/org.eclipse.nls.summary.txt"); >+ // eg, file contains: >+ //htm: 6 E, 0 W >+ //xml: 1 E, 1 W >+ //properties: 0 E, 2 W >+ preg_match_all("/^\S+: (\d+) E, (\d+) W$/m", $chkpiiResults, $regs); >+ for ($i = 0; $i < sizeof($regs[0]); $i++) >+ { >+ $errors += $regs[1][$i]; >+ $warnings += $regs[2][$i]; >+ $icon = "not"; >+ $link = "$pre$mid${path}testresults/chkpii/org.eclipse.nls.summary.txt"; >+ $link2 = "$pre$mid${path}testresults/chkpii/"; >+ } >+ } >+ >+ if ($icon != "not") >+ { >+ //check testResults.php for results >+ if (is_file("$PWD${path}testResults.php")) >+ { >+ $testResultsPHP = file("$PWD${path}testResults.php"); >+ $link2 = "$pre$mid${path}testResults.php"; >+ foreach ($testResultsPHP as $tr) >+ { >+ if (preg_match("/<td>(\d*)<\/td><td>(\d*)<\/td><\/tr>/", $tr)) >+ { >+ $rows = explode("<tr>", $tr); // break into pieces >+ foreach ($rows as $r => $row) >+ { >+ if (preg_match("/<td>(\d*)<\/td><td>(\d*)<\/td><\/tr>/", $row, $m)) >+ { >+ $errors += $m[1]; >+ $warnings += $m[2]; >+ } >+ } >+ } >+ } >+ } >+ >+ if ($errors) >+ { >+ $icon = "not"; >+ $result = "COMPILER ERROR"; >+ } >+ else >+ { >+ $icon = ($warnings ? "check-maybe" : "check"); >+ $result = ""; >+ } >+ } >+ >+ //parse out the check/fail icons in index.html, if we haven't failed already >+ if ($icon != "not") >+ { >+ if (preg_match("/<font size=\"-1\" color=\"#FF0000\">skipped<\/font>/", $indexHTML)) >+ { >+ $result = "Skipped"; >+ $icon = "check-maybe"; >+ } >+ else if (preg_match("/(?:<!-- Examples -->.*FAIL\.gif|FAIL\.gif.*<!-- Automated Tests -->)/s", $indexHTML)) >+ { >+ $result = "FAILED"; >+ $icon = "not"; >+ } >+ else if (preg_match("/<!-- Automated Tests -->.*FAIL\.gif.*<!-- Examples -->/s", $indexHTML)) >+ { >+ $result = "TESTS FAILED"; >+ $icon = "check-tests-failed"; >+ } >+ } >+ } >+ } >+ >+ if (!$icon) >+ { >+ // display in progress icon & link to log >+ $result = "..."; >+ $icon = "question"; >+ } >+ >+ global $doRefreshPage; >+ if ($isEMFserver && $icon == "question" && is_file("$PWD${path}buildlog.txt") && filesize("$PWD${path}buildlog.txt") < (3*1024*1024)) >+ { >+ if ($isEMFserver && grep("/\[start\] start\.sh finished on: /", "$PWD${path}buildlog.txt")) >+ { >+ $icon = "not"; //display failed icon - not in progress anymore! >+ $result = "FAILED"; // BUILD >+ } >+ >+ if ($result != "FAILED" && strtotime("now") - filemtime("$PWD${path}buildlog.txt") < 7200) >+ { >+ $doRefreshPage = true; >+ } >+ else >+ { >+ $mightHavePassed = false; >+ if (grep("BUILD SUCCESSFUL", "$PWD${path}buildlog.txt")) >+ { >+ $mightHavePassed = true; >+ } >+ else if (grep("BUILD FAILED", "$PWD${path}buildlog.txt")) >+ { >+ $icon = "not"; //display failed icon >+ $result = "FAILED"; // BUILD >+ } >+ >+ if ($result != "FAILED" && $mightHavePassed) >+ { >+ $result = "Stalled!"; >+ $icon = "check-maybe"; >+ } >+ else if ($result != "FAILED" && !$mightHavePassed) >+ { >+ $result = "FAILED"; >+ $icon = "not"; >+ } >+ } >+ } >+ >+ if (!$link) // return a string with icon, result, and counts (if applic) >+ { >+ $link = ($isEMFserver ? "/emft/log-viewer.php?build=$path" : "http://download.eclipse.org/"."$mid${path}buildlog.txt"); >+ } >+ >+ if (!$link2) // link to console log in progress if it exists >+ { >+ $ID = substr($path, -14); >+ $conlog = "${path}testing/${ID}testing/linux.gtk_consolelog.txt"; >+ $testlog = "${path}testResults.php"; >+ $link2 = (is_file("$PWD$conlog") ? "$mid$conlog" : (is_file("$PWD$testlog") ? "$mid$testlog" : $link)); >+ $result = (is_file("$PWD$conlog") ? "Testing..." : $result); >+ } >+ $link2 = ($isEMFserver ? "" : "http://download.eclipse.org/").$link2; >+ >+ $out .= "<a href=\"$link2\">$result"; >+ $out .= ($errors == 0 && $warnings == 0) && !$result ? "Success" : ""; >+ $out .= ($errors > 0 || $warnings > 0) && $result ? ": " : ""; >+ $out .= ($errors > 0 ? "$errors E, $warnings W" : ($warnings > 0 ? "$warnings W" : "")); >+ $out .= "</a> <a href=\"$link\"><img src=\"http://www.eclipse.org/emft/images/$icon.gif\" alt=\"$icon\"/></a>"; >+ >+ return $out; >+} >+ >+function fileFound($PWD, $url, $label) //only used once >+{ >+ global $pre, $WWWpre, $downloadScript, $downloadPre, $proj; >+ >+ $mid = "$downloadPre/technology/emft/$proj/downloads/drops/"; // new for www.eclipse.org centralized download.php script >+ >+ return (is_file("$PWD$url.md5") ? "<div>" . pretty_size(filesize("$PWD$url")) . " (<a href=\"$pre$mid$url.md5\">md5</a>)</div>" : "") . "<a href=\"$downloadScript" . (($downloadPre ? $pre : "") . $mid . $url) . "\">$label</a>"; >+} >+ >+function pretty_size($bytes) >+{ >+ $sufs = array("B", "K", "M", "G", "T", "P"); //emft shouldn't be larger than 999.9 petabytes any time soon, hopefully >+ $suf = 0; >+ >+ while ($bytes >= 1000) >+ { >+ $bytes /= 1024; >+ $suf++; >+ } >+ >+ return sprintf("%3.1f%s", $bytes, $sufs[$suf]); >+} >+ >+function getProjectArray() //only the projects we have the files for >+{ >+ global $pre, $projects; >+ $projs = loadDirSimple($pre, ".*", "d"); >+ >+ return array_merge(array_intersect($projs, $projects)); //array_merge compresses the array indices >+} >+ >+function doSelectProject() >+{ >+ global $projects, $proj; >+ $out = <<<EOHTML >+ <form action="index.php" method="get" id="subproject_form"> >+ <p> >+ <label for="proj">Project: </label> >+ <select id="proj" name="proj" onchange="javascript:document.getElementById('subproject_form').submit()"> >+EOHTML; >+ >+ $p = join("", preg_replace("/^(.+)$/", "<option value=\"$1\">$1</option>\n", getProjectArray())); >+ $out .= preg_replace("/<option (value=\"$proj\")>/", "<option selected=\"selected\" $1>", $p); >+ >+ $out .= <<<EOHTML >+ </select> >+ <input type="submit" value="Go!"/> >+ </p> >+ </form> >+EOHTML; >+ >+ return $out; >+} >+ >+function doLanguagePacks($proj) >+{ >+ global $downloadScript, $downloadPre; >+ >+ $zips_in_folder = loadDirSimple("./NLS", "(NLpack.*-$proj.*\.zip)", "f"); >+ >+ // list all descriptions for subsequent releases, then tie them by index to the release versions and projects below >+ $details = array(0 => " >+ <p>The language packs contain NL fragments and features for:</p> >+ <ul> >+ <li>NLpack1 - German, Spanish, French, Italian, Japanese, Korean, Portuguese (Brazil), Traditional Chinese, Simplified Chinese</li> >+ <li>NLpack2 - Czech, Hungarian, Polish, Russian</li> >+ <li>NLpack2a - Danish, Dutch, Finnish, Greek, Norwegian, Portuguese, Swedish and Turkish</li> >+ <li>NLpackBidi - Arabic</li> >+ </ul> >+ <p>Each language pack zip contains 4 other zips (one for each of the language groups above). Unpack these zips into your Eclipse directory before starting Eclipse.</p>" >+ ); >+ >+ // list all projects by version and map to index of the $details array to retrieve the text content >+ $detailMappings = array( >+ "jet" => array("0.7.0" => 0), >+ "ocl" => array("1.0.0" => 0), >+ "query" => array("1.0.0" => 0), >+ "validation" => array("1.0.0" => 0), >+ "transaction" => array("1.0.0" => 0) >+ ); >+ >+ if (sizeof($zips_in_folder) > 0) >+ { >+ print "<div class=\"homeitem3col\">\n"; >+ print "<h3>Language Packs</h3>\n"; >+ print "<p>IBM is pleased to contribute translations for this Eclipse Modeling Framework Technology project.</p>\n"; >+ >+ $versionsDone = array(); >+ print "<ul>\n"; >+ foreach ($zips_in_folder as $zipfile) >+ { >+ $version = explode('-', $zipfile); >+ $version = substr($version[3], 0, strpos($version[3], ".zip")); >+ $versionX = substr($version, 0, -1) . "x"; >+ if (!in_array($version, $versionsDone)) >+ { >+ $versionsDone[] = $version; >+ $id = "lang" . str_replace(".", "_", $version); >+ print "<li>\n"; >+ print "<a href=\"javascript:toggle('$id')\" name=\"NLS$versionX\">emft.$proj $versionX Language Packs</a>\n"; >+ print "<ul id=\"$id\">\n"; >+ print "<li>\n"; >+ print $details[$detailMappings[$proj][$version]]; >+ print "<p>These translations are based on $proj $version. The NLS translation fragment packs should work with all subsequent $versionX maintenance releases, with any new strings remaining untranslated.</p>"; >+ >+ $packs = array( >+ "$versionX NLS Translation Packs" => "NLpacks-", >+ ); >+ $cols = array( >+ "$proj" => "$proj" >+ ); >+ $subcols = array( >+ "SDK" => "SDK-", >+ "Runtime" => "runtime-" >+ ); >+ $packSuf = "$version.zip"; >+ $folder = "NLS/"; >+ doNLSLinksList($packs, $cols, $subcols, $packSuf, $folder); >+ print "</li>\n"; >+ print "</ul>\n"; >+ print "</li>\n"; >+ } >+ } >+ print "</ul>\n"; >+ print "</div>\n"; >+ } >+} >+ >+function doNLSLinksList($packs, $cols, $subcols, $packSuf, $folder, $isArchive = false) >+{ >+ global $downloadScript, $downloadPre; >+ $cnt = 0; >+ >+ print "<ul class=\"nls\">\n"; >+ foreach ($packs as $name => $packPre) >+ { >+ print "<li>\n$name\n<ul>\n"; >+ foreach ($cols as $alt => $packMid) >+ { >+ print "<li>\n<img src=\"http://www.eclipse.org/emft/images/dl-emft.gif\" alt=\"$alt\"/> $alt\n<ul>\n"; >+ foreach ($subcols as $alt2 => $packMid2) >+ { >+ $dir = "$folder$packPre$packMid-$packMid2$packSuf"; >+ $linkpre = ($isArchived && is_file("./$dir") ? "http://archive.eclipse.org" : "http://www.eclipse.org/downloads/download.php?file="); >+ print "<li><a href=\"$linkpre/technology/emft/downloads/$dir\">$alt2</a></li>\n"; >+ } >+ print "</ul>\n</li>\n"; >+ } >+ print "</ul>\n</li>\n"; >+ } >+ print "</ul>\n"; >+} >+ >+function showToggle($showAll, $showMax, $sortBy, $count) >+{ >+ $ret = "<li><a href=\"" . $_SERVER["PHP_SELF"] . "?showAll=" . ($showAll == "1" ? "" : "1") . "&showMax=$showMax&sortBy=$sortBy\">" . ($showAll != "1" ? "show all $count" : "show only $showMax") . "...</a></li>\n"; >+ >+ return $ret; >+} >+ >+function outputBuild($branch, $ID, $c) >+{ >+ global $PWD, $isEMFserver, $dls, $filePre, $jdk14testsPWD, $jdk50testsPWD, $testsPWD, $proj; >+ $pre2 = (is_dir("$PWD/$branch/$ID/eclipse/$ID/") ? "eclipse/$branch/$ID/" : ""); >+ >+ $zips_in_folder = loadDirSimple("$PWD/$branch/$ID/", "(\.zip)", "f"); >+ // for testing, you can find a list of files like this: >+ // `find /home/www-data/emf-build/tools/emf/downloads/drops/2.0.1 -type f -maxdepth 2 -name *.zip -name *emf-sdo-xsd-SDK*` >+ $ziplabel = (sizeof($zips_in_folder) < 1) ? $ID : >+ preg_replace("/(.+)\-([^\-]+)(\.zip)/", "$2", $zips_in_folder[0]); // grab first entry >+ >+ // generalize for any relabelled build, thus 2.0.1/M200405061234/*-2.0.2.zip is possible; label = 2.0.2 >+ $IDlabel = $ziplabel; >+ >+ $ret = "<li>\n"; >+ $ret .= "<div>" . showBuildResults("$PWD/", "$branch/$ID/") . ($isEMFserver && $summary ? $summary : "") . "</div>"; >+ $ret .= "<a href=\"javascript:toggle('r$ID')\"><i>$IDlabel</i> (" . IDtoDateStamp($ID, ($isEMFserver ? 0 : 1)) . ")</a><a name=\"$ID\"> </a> <a href=\"?showAll=1&hlbuild=$ID&proj=$proj#$ID\"><img alt=\"Link to this build\" src=\"../images/link.png\"/></a>"; >+ >+ $ret .= "<ul id=\"r$ID\"" . (($c == 0 && !isset($_GET["hlbuild"])) || $ID == $_GET["hlbuild"] ? "" : " style=\"display: none\"") . ">\n"; >+ $ret .= createFileLinks($dls, $PWD, $branch, $ID, $pre2, $filePre, $ziplabel); >+ >+ $ret .= $tests; >+ $ret .= getBuildArtifacts("$PWD", "$branch/$ID"); >+ $ret .= "</ul>\n"; >+ $ret .= "</li>\n"; >+ >+ return $ret; >+} >+ >+function getBuildArtifacts($dir, $branchID) >+{ >+ global $isEMFserver, $downloadPre; >+ >+ $deps = array( >+ "emf" => "<a href=\"http://www.eclipse.org/emf/\">EMF</a>", >+ "eclipse" => "<a href=\"http://www.eclipse.org/eclipse/\">Eclipse</a>" >+ ); >+ $mid = "$downloadPre/technology/emft/downloads/drops/"; >+ $file = "$dir/$branchID/build.cfg"; >+ $lines = (is_file($file) && is_readable($file) ? file($file) : array()); >+ >+ foreach ($lines as $z) >+ { >+ if (preg_match("/^((?:" . join("|", array_keys($deps)) . ")(?:DownloadURL|File|BuildURL))=(.+)$/", $z, $regs)) >+ { >+ $opts[$regs[1]] = $regs[2]; >+ } >+ } >+ >+ foreach (array_keys($deps) as $z) >+ { >+ $builddir[$z] = $opts["${z}DownloadURL"] . $opts["${z}BuildURL"]; >+ $buildID[$z] = (preg_match("/([IMNRS]?\d{8}-?\d{4})$/", $opts["${z}BuildURL"], $regs) ? $regs[1] : ""); >+ $buildfile[$z] = $builddir[$z] . "/" . $opts["${z}File"]; >+ } >+ >+ $ret = ""; >+ >+ if (is_array($builddir) > 0) >+ { >+ $details = array( >+ "Config File" => "build.cfg", >+ "Map File" => "directory.txt", >+ "Build Log" => "buildlog.txt" >+ ); >+ >+ $ret .= "<li>\n"; >+ $ret .= "<img src=\"http://www.eclipse.org/emft/images/dl-deps.gif\" alt=\"Upstream dependencies used to build this driver\"/> Build Dependencies\n"; >+ $ret .= "<ul>\n"; >+ foreach (array_keys($deps) as $z) >+ { >+ $ret .= "<li><div><a href=\"$builddir[$z]\">Build Page</a></div>$deps[$z] <a href=\"$buildfile[$z]\">$buildID[$z]</a></li>\n"; >+ } >+ $ret .= "</ul>\n"; >+ $ret .= "</li>\n"; >+ >+ $ret .= "<li>\n"; >+ $ret .= "<img src=\"http://www.eclipse.org/emft/images/dl-more.gif\" alt=\"More info about this build\"/> Build Details\n"; >+ $ret .= "<ul>\n"; >+ $ret .= "<li><a href=\"$link$mid${branchID}/testResults.php\">Test Results & Compile Logs</a></li>\n"; >+ foreach (array_keys($details) as $label) >+ { >+ $details[$label] = preg_replace("/^(.+)$/", "<a href=\"$link$mid$branchID/$1\">$label</a>", $details[$label]); >+ } >+ $ret .= "<li>" . join(", ", $details) . "</li>\n"; >+ $ret .= "</ul>\n"; >+ $ret .= "</li>\n"; >+ } >+ return $ret; >+} >+ >+function file_contents($file) //TODO: remove this when we upgrade php to >= 4.3.0 everywhere >+{ >+ if (function_exists(file_get_contents)) >+ { >+ return file_get_contents($file); >+ } >+ else >+ { >+ return join("", file($file)); >+ } >+} >+?> >--- includes/downloads.css 2006-02-14 03:07:50.000000000 -0500 >+++ includes/downloads.css 2006-09-19 10:53:18.000000000 -0400 >@@ -0,0 +1,80 @@ >+#midcolumn .homeitem3col #requirements li ul li, >+#midcolumn .homeitem3col ul li ul li .nls li ul li ul li, >+#midcolumn .homeitem3col ul#archives li, >+#midcolumn #crimsonbug ul li >+{ >+ border-style: none; >+ padding: 0px; >+} >+ >+#midcolumn .homeitem3col ul li ul li .nls li, >+#midcolumn .homeitem3col ul li ul li, >+#midcolumn .homeitem3col ul li.outerli >+{ >+ border-style: none; >+} >+ >+b.emf >+{ >+ color: #BF5FBF; >+} >+ >+b.sdo >+{ >+ color: #18187D; >+} >+ >+b.xsd >+{ >+ color: #C7568E; >+} >+ >+b.all >+{ >+ color: #B51464; >+} >+ >+b.emft >+{ >+ color: #0099CC; >+} >+ >+.warning >+{ >+ background-color: yellow; >+ font-weight: bold; >+ margin: 2em; >+} >+ >+#midcolumn .homeitem3col ul.releases li ul li ul li >+{ >+ border-style: none; >+ min-height: 14px; /* makes sure that list items are at least as tall as check.gif, and thus, evenly spaced */ >+ padding: 0px; >+} >+ >+#midcolumn .homeitem3col ul.releases li ul >+{ >+ padding-top: 1px; /* in Konqueror, the status float hits the list and makes the (MD5)s not line up without this */ >+} >+ >+#midcolumn .homeitem3col ul.releases li ul li ul li.errors >+{ >+ background-color: #ff9c9c; >+} >+ >+#midcolumn .homeitem3col ul.releases li ul li ul li.warnings >+{ >+ background-color: yellow; >+} >+ >+#midcolumn .homeitem3col ul li div, >+#midcolumn .homeitem3col ul li ul li ul li div >+{ >+ float: right; >+} >+ >+#midcolumn .homeitem3col ul li div span >+{ >+ padding-left: 2.5em; >+} >--- includes/downloads.js 2006-02-14 03:07:50.000000000 -0500 >+++ includes/downloads.js 2006-09-12 16:33:16.000000000 -0400 >@@ -0,0 +1,5 @@ >+function toggle(id) >+{ >+ e = document.getElementById(id); >+ e.style.display = (e.style.display == "" ? "none" : ""); >+} >--- includes/index.css 2006-02-14 03:07:50.000000000 -0500 >+++ includes/index.css 2006-09-12 09:16:47.000000000 -0400 >@@ -0,0 +1,5 @@ >+#midcolumn .homeitem3col ul.extras li >+{ >+ border-style: none; >+ padding: 0; >+} >--- includes/relnotes.css 2006-02-14 03:07:50.000000000 -0500 >+++ includes/relnotes.css 2006-09-12 14:05:31.000000000 -0400 >@@ -0,0 +1,40 @@ >+#midcolumn .homeitem3col ul .release >+{ >+ padding-top: 1.5em; >+ font-weight: bold; >+ list-style: url(http://www.eclipse.org/emf/images/c.gif); /* hack for ie, since it doesn't understand list-style: none here */ >+ border-style: none; >+} >+ >+#midcolumn .homeitem3col ul .outerli >+{ >+ border-style: none; >+ padding-bottom: 1.2em; >+} >+ >+#midcolumn .homeitem3col ul .header >+{ >+ border-style: none; >+ list-style: url(http://www.eclipse.org/emf/images/c.gif); /* hack for ie, since it doesn't understand list-style: none here */ >+ padding-bottom: 1.2em; >+} >+ >+.cb >+{ >+ clear: both; >+} >+ >+.fr >+{ >+ float: right; >+} >+ >+.fl >+{ >+ float: left; >+} >+ >+#midcolumn .homeitem3col h3 .projtitle >+{ >+ color: white; >+} >--- includes/toggle.js 2006-02-14 03:07:50.000000000 -0500 >+++ includes/toggle.js 2006-09-12 14:05:31.000000000 -0400 >@@ -0,0 +1,16 @@ >+function toggle(eid) >+{ >+ buglist = document.getElementById(eid); >+ togtext = document.getElementById(eid + "-tog"); >+ >+ if (buglist.style.display == "none") >+ { >+ buglist.style.display = ""; >+ togtext.innerHTML = "hide bug numbers"; >+ } >+ else >+ { >+ buglist.style.display = "none"; >+ togtext.innerHTML = "show bug numbers"; >+ } >+} >--- includes/um.css 2006-02-14 03:07:50.000000000 -0500 >+++ includes/um.css 2006-09-12 11:31:05.000000000 -0400 >@@ -0,0 +1,9 @@ >+#midcolumn .homeitem3col ul li ul li, >+#midcolumn .homeitem3col ul li ul li ul li, >+#midcolumn .homeitem3col ul li ul li ul li ul li, >+#midcolumn .homeitem3col ul li ul li ul li ul li ul li >+{ >+ border-style: none; >+ margin-bottom: 0px; >+ padding-bottom: 0px; >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 157939
: 50526