tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r618461 [20/43] - in /tapestry/tapestry4/trunk/tapestry-framework/src/js: dojo-0.4.3-custom-4.1.5/ dojo-0.4.3-custom-4.1.5/nls/ dojo-0.4.3-custom-4.1.5/src/ dojo-0.4.3-custom-4.1.5/src/animation/ dojo-0.4.3-custom-4.1.5/src/cal/ dojo-0.4.3-...
Date Mon, 04 Feb 2008 22:08:37 GMT
Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_adobesvg.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_adobesvg.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_adobesvg.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_adobesvg.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,367 @@
+if(typeof window=="undefined"){
+dojo.raise("attempt to use adobe svg hostenv when no window object");
+}
+with(dojo.render){
+name=navigator.appName;
+ver=parseFloat(navigator.appVersion,10);
+switch(navigator.platform){
+case "MacOS":
+os.osx=true;
+break;
+case "Linux":
+os.linux=true;
+break;
+case "Windows":
+os.win=true;
+break;
+default:
+os.linux=true;
+break;
+}
+svg.capable=true;
+svg.support.builtin=true;
+svg.adobe=true;
+}
+dojo.hostenv.println=function(s){
+try{
+var ti=document.createElement("text");
+ti.setAttribute("x","50");
+var _3=25+15*document.getElementsByTagName("text").length;
+ti.setAttribute("y",_3);
+var tn=document.createTextNode(s);
+ti.appendChild(tn);
+document.documentElement.appendChild(ti);
+}
+catch(e){
+}
+};
+dojo.debug=function(){
+if(!djConfig.isDebug){
+return;
+}
+var _5=arguments;
+if(typeof dojo.hostenv.println!="function"){
+dojo.raise("attempt to call dojo.debug when there is no dojo.hostenv println implementation (yet?)");
+}
+var _6=dj_global["jum"];
+var s=_6?"":"DEBUG: ";
+for(var i=0;i<_5.length;++i){
+s+=_5[i];
+}
+if(_6){
+jum.debug(s);
+}else{
+dojo.hostenv.println(s);
+}
+};
+dojo.hostenv.startPackage("dojo.hostenv");
+dojo.hostenv.name_="adobesvg";
+dojo.hostenv.anonCtr=0;
+dojo.hostenv.anon={};
+dojo.hostenv.nameAnonFunc=function(_9,_a){
+var _b="_"+this.anonCtr++;
+var _c=(_a||this.anon);
+while(typeof _c[_b]!="undefined"){
+_b="_"+this.anonCtr++;
+}
+_c[_b]=_9;
+return _b;
+};
+dojo.hostenv.modulesLoadedFired=false;
+dojo.hostenv.modulesLoadedListeners=[];
+dojo.hostenv.getTextStack=[];
+dojo.hostenv.loadUriStack=[];
+dojo.hostenv.loadedUris=[];
+dojo.hostenv.modulesLoaded=function(){
+if(this.modulesLoadedFired){
+return;
+}
+if((this.loadUriStack.length==0)&&(this.getTextStack.length==0)){
+if(this.inFlightCount>0){
+dojo.debug("couldn't initialize, there are files still in flight");
+return;
+}
+this.modulesLoadedFired=true;
+var _d=this.modulesLoadedListeners;
+for(var x=0;x<_d.length;x++){
+_d[x]();
+}
+}
+};
+dojo.hostenv.getNewAnonFunc=function(){
+var _f="_"+this.anonCtr++;
+while(typeof this.anon[_f]!="undefined"){
+_f="_"+this.anonCtr++;
+}
+eval("dojo.nostenv.anon."+_f+" = function(){};");
+return [_f,this.anon[_f]];
+};
+dojo.hostenv.displayStack=function(){
+var oa=[];
+var _11=this.loadUriStack;
+for(var x=0;x<_11.length;x++){
+oa.unshift([_11[x][0],(typeof _11[x][2])]);
+}
+dojo.debug("<pre>"+oa.join("\n")+"</pre>");
+};
+dojo.hostenv.unwindUriStack=function(){
+var _13=this.loadUriStack;
+for(var x in dojo.hostenv.loadedUris){
+for(var y=_13.length-1;y>=0;y--){
+if(_13[y][0]==x){
+_13.splice(y,1);
+}
+}
+}
+var _16=_13.pop();
+if((!_16)&&(_13.length==0)){
+return;
+}
+for(var x=0;x<_13.length;x++){
+if((_13[x][0]==_16[0])&&(_13[x][2])){
+_16[2]==_13[x][2];
+}
+}
+var _17=_16;
+while(dojo.hostenv.loadedUris[_16[0]]){
+_17=_16;
+_16=_13.pop();
+}
+while(typeof _16[2]=="string"){
+try{
+dj_eval(_16[2]);
+_16[1](true);
+}
+catch(e){
+dojo.debug("we got an error when loading "+_16[0]);
+dojo.debug("error: "+e);
+}
+dojo.hostenv.loadedUris[_16[0]]=true;
+dojo.hostenv.loadedUris.push(_16[0]);
+_17=_16;
+_16=_13.pop();
+if((!_16)&&(_13.length==0)){
+break;
+}
+while(dojo.hostenv.loadedUris[_16[0]]){
+_17=_16;
+_16=_13.pop();
+}
+}
+if(_16){
+_13.push(_16);
+dojo.debug("### CHOKED ON: "+_16[0]);
+}
+};
+dojo.hostenv.loadUri=function(uri,cb){
+if(dojo.hostenv.loadedUris[uri]){
+return;
+}
+var _1a=this.loadUriStack;
+_1a.push([uri,cb,null]);
+var tcb=function(_1c){
+if(_1c.content){
+_1c=_1c.content;
+}
+var _1d=_1a.pop();
+if((!_1d)&&(_1a.length==0)){
+dojo.hostenv.modulesLoaded();
+return;
+}
+if(typeof _1c=="string"){
+_1a.push(_1d);
+for(var x=0;x<_1a.length;x++){
+if(_1a[x][0]==uri){
+_1a[x][2]=_1c;
+}
+}
+_1d=_1a.pop();
+}
+if(dojo.hostenv.loadedUris[_1d[0]]){
+dojo.hostenv.unwindUriStack();
+return;
+}
+_1a.push(_1d);
+if(_1d[0]!=uri){
+if(typeof _1d[2]=="string"){
+dojo.hostenv.unwindUriStack();
+}
+}else{
+if(!_1c){
+_1d[1](false);
+}else{
+var _1f=dojo.hostenv.getDepsForEval(_1d[2]);
+if(_1f.length>0){
+eval(_1f.join(";"));
+}else{
+dojo.hostenv.unwindUriStack();
+}
+}
+}
+};
+this.getText(uri,tcb,true);
+};
+dojo.hostenv.loadModule=function(_20,_21,_22){
+var _23=this.findModule(_20,0);
+if(_23){
+return _23;
+}
+if(typeof this.loading_modules_[_20]!=="undefined"){
+dojo.debug("recursive attempt to load module '"+_20+"'");
+}else{
+this.addedToLoadingCount.push(_20);
+}
+this.loading_modules_[_20]=1;
+var _24=_20.replace(/\./g,"/")+".js";
+var _25=_20.split(".");
+var _26=_20.split(".");
+if(_25[0]=="dojo"){
+_25[0]="src";
+}
+var _27=_25.pop();
+_25.push(_27);
+var _28=this;
+var pfn=this.pkgFileName;
+if(_27=="*"){
+_20=(_26.slice(0,-1)).join(".");
+var _23=this.findModule(_20,0);
+if(_23){
+_28.removedFromLoadingCount.push(_20);
+return _23;
+}
+var _2a=function(_2b){
+if(_2b){
+_23=_28.findModule(_20,false);
+if((!_23)&&(_25[_25.length-1]!=pfn)){
+dojo.raise("Module symbol '"+_20+"' is not defined after loading '"+_24+"'");
+}
+if(_23){
+_28.removedFromLoadingCount.push(_20);
+dojo.hostenv.modulesLoaded();
+return;
+}
+}
+_25.pop();
+_25.push(pfn);
+_24=_25.join("/")+".js";
+if(_24.charAt(0)=="/"){
+_24=_24.slice(1);
+}
+_28.loadPath(_24,((!_22)?_20:null),_2a);
+};
+_2a();
+}else{
+_24=_25.join("/")+".js";
+_20=_26.join(".");
+var _2a=function(_2c){
+if(_2c){
+_23=_28.findModule(_20,false);
+if((!_23)&&(_25[_25.length-1]!=pfn)){
+dojo.raise("Module symbol '"+_20+"' is not defined after loading '"+_24+"'");
+}
+if(_23){
+_28.removedFromLoadingCount.push(_20);
+dojo.hostenv.modulesLoaded();
+return;
+}
+}
+var _2d=(_25[_25.length-1]==pfn)?false:true;
+_25.pop();
+if(_2d){
+_25.push(pfn);
+}
+_24=_25.join("/")+".js";
+if(_24.charAt(0)=="/"){
+_24=_24.slice(1);
+}
+_28.loadPath(_24,((!_22)?_20:null),_2a);
+};
+this.loadPath(_24,((!_22)?_20:null),_2a);
+}
+return;
+};
+dojo.hostenv.async_cb=null;
+dojo.hostenv.unWindGetTextStack=function(){
+if(dojo.hostenv.inFlightCount>0){
+setTimeout("dojo.hostenv.unWindGetTextStack()",100);
+return;
+}
+dojo.hostenv.inFlightCount++;
+var _2e=dojo.hostenv.getTextStack.pop();
+if((!_2e)&&(dojo.hostenv.getTextStack.length==0)){
+dojo.hostenv.inFlightCount--;
+dojo.hostenv.async_cb=function(){
+};
+return;
+}
+dojo.hostenv.async_cb=_2e[1];
+window.getURL(_2e[0],function(_2f){
+dojo.hostenv.inFlightCount--;
+dojo.hostenv.async_cb(_2f.content);
+dojo.hostenv.unWindGetTextStack();
+});
+};
+dojo.hostenv.getText=function(uri,_31,_32){
+try{
+if(_31){
+dojo.hostenv.getTextStack.push([uri,_31,_32]);
+dojo.hostenv.unWindGetTextStack();
+}else{
+return dojo.raise("No synchronous XMLHTTP implementation available, for uri "+uri);
+}
+}
+catch(e){
+return dojo.raise("No XMLHTTP implementation available, for uri "+uri);
+}
+};
+dojo.hostenv.postText=function(uri,_34,_35,_36,_37,_38){
+var _39=null;
+var _3a=function(_3b){
+if(!_3b.success){
+dojo.raise("Request for uri '"+uri+"' resulted in "+_3b.status);
+}
+if(!_3b.content){
+if(!_36){
+dojo.raise("Request for uri '"+uri+"' resulted in no content");
+}
+return null;
+}
+_34(_3b.content);
+};
+try{
+if(_34){
+_39=window.postURL(uri,_35,_3a,mimeType,_38);
+}else{
+return dojo.raise("No synchronous XMLHTTP post implementation available, for uri "+uri);
+}
+}
+catch(e){
+return dojo.raise("No XMLHTTP post implementation available, for uri "+uri);
+}
+};
+function dj_last_script_src(){
+var _3c=window.document.getElementsByTagName("script");
+if(_3c.length<1){
+dojo.raise("No script elements in window.document, so can't figure out my script src");
+}
+var li=_3c.length-1;
+var _3e="http://www.w3.org/1999/xlink";
+var src=null;
+var _40=null;
+while(!src){
+_40=_3c.item(li);
+src=_40.getAttributeNS(_3e,"href");
+li--;
+if(li<0){
+break;
+}
+}
+if(!src){
+dojo.raise("Last script element (out of "+_3c.length+") has no src");
+}
+return src;
+}
+if(!dojo.hostenv["library_script_uri_"]){
+dojo.hostenv.library_script_uri_=dj_last_script_src();
+}
+dojo.requireIf((djConfig["isDebug"]||djConfig["debugAtAllCosts"]),"dojo.debug");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_adobesvg.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_adobesvg.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_adobesvg.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_browser.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_browser.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_browser.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_browser.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,404 @@
+if(typeof window!="undefined"){
+(function(){
+if(djConfig.allowQueryConfig){
+var _1=document.location.toString();
+var _2=_1.split("?",2);
+if(_2.length>1){
+var _3=_2[1];
+var _4=_3.split("&");
+for(var x in _4){
+var sp=_4[x].split("=");
+if((sp[0].length>9)&&(sp[0].substr(0,9)=="djConfig.")){
+var _7=sp[0].substr(9);
+try{
+djConfig[_7]=eval(sp[1]);
+}
+catch(e){
+djConfig[_7]=sp[1];
+}
+}
+}
+}
+}
+if(((djConfig["baseScriptUri"]=="")||(djConfig["baseRelativePath"]==""))&&(document&&document.getElementsByTagName)){
+var _8=document.getElementsByTagName("script");
+var _9=/(__package__|dojo|bootstrap1)\.js([\?\.]|$)/i;
+for(var i=0;i<_8.length;i++){
+var _b=_8[i].getAttribute("src");
+if(!_b){
+continue;
+}
+var m=_b.match(_9);
+if(m){
+var _d=_b.substring(0,m.index);
+if(_b.indexOf("bootstrap1")>-1){
+_d+="../";
+}
+if(!this["djConfig"]){
+djConfig={};
+}
+if(djConfig["baseScriptUri"]==""){
+djConfig["baseScriptUri"]=_d;
+}
+if(djConfig["baseRelativePath"]==""){
+djConfig["baseRelativePath"]=_d;
+}
+break;
+}
+}
+}
+var dr=dojo.render;
+var _f=dojo.render.html;
+var drs=dojo.render.svg;
+var dua=(_f.UA=navigator.userAgent);
+var dav=(_f.AV=navigator.appVersion);
+var t=true;
+var f=false;
+_f.capable=t;
+_f.support.builtin=t;
+dr.ver=parseFloat(_f.AV);
+dr.os.mac=dav.indexOf("Macintosh")>=0;
+dr.os.win=dav.indexOf("Windows")>=0;
+dr.os.linux=dav.indexOf("X11")>=0;
+_f.opera=dua.indexOf("Opera")>=0;
+_f.khtml=(dav.indexOf("Konqueror")>=0)||(dav.indexOf("Safari")>=0);
+_f.safari=dav.indexOf("Safari")>=0;
+var _15=dua.indexOf("Gecko");
+_f.mozilla=_f.moz=(_15>=0)&&(!_f.khtml);
+if(_f.mozilla){
+_f.geckoVersion=dua.substring(_15+6,_15+14);
+}
+_f.ie=(document.all)&&(!_f.opera);
+_f.ie50=_f.ie&&dav.indexOf("MSIE 5.0")>=0;
+_f.ie55=_f.ie&&dav.indexOf("MSIE 5.5")>=0;
+_f.ie60=_f.ie&&dav.indexOf("MSIE 6.0")>=0;
+_f.ie70=_f.ie&&dav.indexOf("MSIE 7.0")>=0;
+var cm=document["compatMode"];
+_f.quirks=(cm=="BackCompat")||(cm=="QuirksMode")||_f.ie55||_f.ie50;
+dojo.locale=dojo.locale||(_f.ie?navigator.userLanguage:navigator.language).toLowerCase();
+dr.vml.capable=_f.ie;
+drs.capable=f;
+drs.support.plugin=f;
+drs.support.builtin=f;
+var _17=window["document"];
+var tdi=_17["implementation"];
+if((tdi)&&(tdi["hasFeature"])&&(tdi.hasFeature("org.w3c.dom.svg","1.0"))){
+drs.capable=t;
+drs.support.builtin=t;
+drs.support.plugin=f;
+}
+if(_f.safari){
+var tmp=dua.split("AppleWebKit/")[1];
+var ver=parseFloat(tmp.split(" ")[0]);
+if(ver>=420){
+drs.capable=t;
+drs.support.builtin=t;
+drs.support.plugin=f;
+}
+}else{
+}
+})();
+dojo.hostenv.startPackage("dojo.hostenv");
+dojo.render.name=dojo.hostenv.name_="browser";
+dojo.hostenv.searchIds=[];
+dojo.hostenv._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];
+dojo.hostenv.getXmlhttpObject=function(){
+var _1b=null;
+var _1c=null;
+try{
+_1b=new XMLHttpRequest();
+}
+catch(e){
+}
+if(!_1b){
+for(var i=0;i<3;++i){
+var _1e=dojo.hostenv._XMLHTTP_PROGIDS[i];
+try{
+_1b=new ActiveXObject(_1e);
+}
+catch(e){
+_1c=e;
+}
+if(_1b){
+dojo.hostenv._XMLHTTP_PROGIDS=[_1e];
+break;
+}
+}
+}
+if(!_1b){
+return dojo.raise("XMLHTTP not available",_1c);
+}
+return _1b;
+};
+dojo.hostenv._blockAsync=false;
+dojo.hostenv.getText=function(uri,_20,_21){
+if(!_20){
+this._blockAsync=true;
+}
+var _22=this.getXmlhttpObject();
+function isDocumentOk(_23){
+var _24=_23["status"];
+return Boolean((!_24)||((200<=_24)&&(300>_24))||(_24==304));
+}
+if(_20){
+var _25=this,_26=null,gbl=dojo.global();
+var xhr=dojo.evalObjPath("dojo.io.XMLHTTPTransport");
+_22.onreadystatechange=function(){
+if(_26){
+gbl.clearTimeout(_26);
+_26=null;
+}
+if(_25._blockAsync||(xhr&&xhr._blockAsync)){
+_26=gbl.setTimeout(function(){
+_22.onreadystatechange.apply(this);
+},10);
+}else{
+if(4==_22.readyState){
+if(isDocumentOk(_22)){
+_20(_22.responseText);
+}
+}
+}
+};
+}
+_22.open("GET",uri,_20?true:false);
+try{
+_22.send(null);
+if(_20){
+return null;
+}
+if(!isDocumentOk(_22)){
+var err=Error("Unable to load "+uri+" status:"+_22.status);
+err.status=_22.status;
+err.responseText=_22.responseText;
+throw err;
+}
+}
+catch(e){
+this._blockAsync=false;
+if((_21)&&(!_20)){
+return null;
+}else{
+throw e;
+}
+}
+this._blockAsync=false;
+return _22.responseText;
+};
+dojo.hostenv.defaultDebugContainerId="dojoDebug";
+dojo.hostenv._println_buffer=[];
+dojo.hostenv._println_safe=false;
+dojo.hostenv.println=function(_2a){
+if(!dojo.hostenv._println_safe){
+dojo.hostenv._println_buffer.push(_2a);
+}else{
+try{
+var _2b=document.getElementById(djConfig.debugContainerId?djConfig.debugContainerId:dojo.hostenv.defaultDebugContainerId);
+if(!_2b){
+_2b=dojo.body();
+}
+var div=document.createElement("div");
+div.appendChild(document.createTextNode(_2a));
+_2b.appendChild(div);
+}
+catch(e){
+try{
+document.write("<div>"+_2a+"</div>");
+}
+catch(e2){
+window.status=_2a;
+}
+}
+}
+};
+dojo.addOnLoad(function(){
+dojo.hostenv._println_safe=true;
+while(dojo.hostenv._println_buffer.length>0){
+dojo.hostenv.println(dojo.hostenv._println_buffer.shift());
+}
+});
+function dj_addNodeEvtHdlr(_2d,_2e,fp){
+var _30=_2d["on"+_2e]||function(){
+};
+_2d["on"+_2e]=function(){
+fp.apply(_2d,arguments);
+_30.apply(_2d,arguments);
+};
+return true;
+}
+dojo.hostenv._djInitFired=false;
+function dj_load_init(e){
+dojo.hostenv._djInitFired=true;
+var _32=(e&&e.type)?e.type.toLowerCase():"load";
+if(arguments.callee.initialized||(_32!="domcontentloaded"&&_32!="load")){
+return;
+}
+arguments.callee.initialized=true;
+if(typeof (_timer)!="undefined"){
+clearInterval(_timer);
+delete _timer;
+}
+var _33=function(){
+if(dojo.render.html.ie){
+dojo.hostenv.makeWidgets();
+}
+};
+if(dojo.hostenv.inFlightCount==0){
+_33();
+dojo.hostenv.modulesLoaded();
+}else{
+dojo.hostenv.modulesLoadedListeners.unshift(_33);
+}
+}
+if(document.addEventListener){
+if(dojo.render.html.opera||(dojo.render.html.moz&&(djConfig["enableMozDomContentLoaded"]===true))){
+document.addEventListener("DOMContentLoaded",dj_load_init,null);
+}
+window.addEventListener("load",dj_load_init,null);
+}
+if(dojo.render.html.ie&&dojo.render.os.win){
+document.attachEvent("onreadystatechange",function(e){
+if(document.readyState=="complete"){
+dj_load_init();
+}
+});
+}
+if(/(WebKit|khtml)/i.test(navigator.userAgent)){
+var _timer=setInterval(function(){
+if(/loaded|complete/.test(document.readyState)){
+dj_load_init();
+}
+},10);
+}
+if(dojo.render.html.ie){
+dj_addNodeEvtHdlr(window,"beforeunload",function(){
+dojo.hostenv._unloading=true;
+window.setTimeout(function(){
+dojo.hostenv._unloading=false;
+},0);
+});
+}
+dj_addNodeEvtHdlr(window,"unload",function(){
+dojo.hostenv.unloaded();
+if((!dojo.render.html.ie)||(dojo.render.html.ie&&dojo.hostenv._unloading)){
+dojo.hostenv.unloaded();
+}
+});
+dojo.hostenv.makeWidgets=function(){
+var _35=[];
+if(djConfig.searchIds&&djConfig.searchIds.length>0){
+_35=_35.concat(djConfig.searchIds);
+}
+if(dojo.hostenv.searchIds&&dojo.hostenv.searchIds.length>0){
+_35=_35.concat(dojo.hostenv.searchIds);
+}
+if((djConfig.parseWidgets)||(_35.length>0)){
+if(dojo.evalObjPath("dojo.widget.Parse")){
+var _36=new dojo.xml.Parse();
+if(_35.length>0){
+for(var x=0;x<_35.length;x++){
+var _38=document.getElementById(_35[x]);
+if(!_38){
+continue;
+}
+var _39=_36.parseElement(_38,null,true);
+dojo.widget.getParser().createComponents(_39);
+}
+}else{
+if(djConfig.parseWidgets){
+var _39=_36.parseElement(dojo.body(),null,true);
+dojo.widget.getParser().createComponents(_39);
+}
+}
+}
+}
+};
+dojo.addOnLoad(function(){
+if(!dojo.render.html.ie){
+dojo.hostenv.makeWidgets();
+}
+});
+try{
+if(dojo.render.html.ie){
+document.namespaces.add("v","urn:schemas-microsoft-com:vml");
+document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");
+}
+}
+catch(e){
+}
+dojo.hostenv.writeIncludes=function(){
+};
+if(!dj_undef("document",this)){
+dj_currentDocument=this.document;
+}
+dojo.doc=function(){
+return dj_currentDocument;
+};
+dojo.body=function(){
+return dojo.doc().body||dojo.doc().getElementsByTagName("body")[0];
+};
+dojo.byId=function(id,doc){
+if((id)&&((typeof id=="string")||(id instanceof String))){
+if(!doc){
+doc=dj_currentDocument;
+}
+var ele=doc.getElementById(id);
+if(ele&&(ele.id!=id)&&doc.all){
+ele=null;
+eles=doc.all[id];
+if(eles){
+if(eles.length){
+for(var i=0;i<eles.length;i++){
+if(eles[i].id==id){
+ele=eles[i];
+break;
+}
+}
+}else{
+ele=eles;
+}
+}
+}
+return ele;
+}
+return id;
+};
+dojo.setContext=function(_3e,_3f){
+dj_currentContext=_3e;
+dj_currentDocument=_3f;
+};
+dojo._fireCallback=function(_40,_41,_42){
+if((_41)&&((typeof _40=="string")||(_40 instanceof String))){
+_40=_41[_40];
+}
+return (_41?_40.apply(_41,_42||[]):_40());
+};
+dojo.withGlobal=function(_43,_44,_45,_46){
+var _47;
+var _48=dj_currentContext;
+var _49=dj_currentDocument;
+try{
+dojo.setContext(_43,_43.document);
+_47=dojo._fireCallback(_44,_45,_46);
+}
+finally{
+dojo.setContext(_48,_49);
+}
+return _47;
+};
+dojo.withDoc=function(_4a,_4b,_4c,_4d){
+var _4e;
+var _4f=dj_currentDocument;
+try{
+dj_currentDocument=_4a;
+_4e=dojo._fireCallback(_4b,_4c,_4d);
+}
+finally{
+dj_currentDocument=_4f;
+}
+return _4e;
+};
+}
+dojo.requireIf((djConfig["isDebug"]||djConfig["debugAtAllCosts"]),"dojo.debug");
+dojo.requireIf(djConfig["debugAtAllCosts"]&&!window.widget&&!djConfig["useXDomain"],"dojo.browser_debug");
+dojo.requireIf(djConfig["debugAtAllCosts"]&&!window.widget&&djConfig["useXDomain"],"dojo.browser_debug_xd");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_browser.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_browser.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_browser.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_dashboard.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_dashboard.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_dashboard.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_dashboard.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,167 @@
+dojo.render.name=dojo.hostenv.name_="dashboard";
+dojo.hostenv.println=function(_1){
+return alert(_1);
+};
+dojo.hostenv.getXmlhttpObject=function(_2){
+if(widget.system&&_2){
+if((_2.contentType&&_2.contentType.indexOf("text/")!=0)||(_2.headers&&_2.headers["content-type"]&&_2.headers["content-type"].indexOf("text/")!=0)){
+var _3=new dojo.hostenv.CurlRequest;
+_3._save=true;
+return _3;
+}else{
+if(_2.method&&_2.method.toUpperCase()=="HEAD"){
+return new dojo.hostenv.CurlRequest;
+}else{
+if(_2.headers&&_2.header.referer){
+return new dojo.hostenv.CurlRequest;
+}
+}
+}
+}
+return new XMLHttpRequest;
+};
+dojo.hostenv.CurlRequest=function(){
+this.onreadystatechange=null;
+this.readyState=0;
+this.responseText="";
+this.responseXML=null;
+this.status=0;
+this.statusText="";
+this._method="";
+this._url="";
+this._async=true;
+this._referrer="";
+this._headers=[];
+this._save=false;
+this._responseHeader="";
+this._responseHeaders={};
+this._fileName="";
+this._username="";
+this._password="";
+};
+dojo.hostenv.CurlRequest.prototype.open=function(_4,_5,_6,_7,_8){
+this._method=_4;
+this._url=_5;
+if(_6){
+this._async=_6;
+}
+if(_7){
+this._username=_7;
+}
+if(_8){
+this._password=_8;
+}
+};
+dojo.hostenv.CurlRequest.prototype.setRequestHeader=function(_9,_a){
+switch(_9){
+case "Referer":
+this._referrer=_a;
+break;
+case "content-type":
+break;
+default:
+this._headers.push(_9+"="+_a);
+break;
+}
+};
+dojo.hostenv.CurlRequest.prototype.getAllResponseHeaders=function(){
+return this._responseHeader;
+};
+dojo.hostenv.CurlRequest.prototype.getResponseHeader=function(_b){
+return this._responseHeaders[_b];
+};
+dojo.hostenv.CurlRequest.prototype.send=function(_c){
+this.readyState=1;
+if(this.onreadystatechange){
+this.onreadystatechange.call(this);
+}
+var _d={sS:""};
+if(this._referrer){
+_d.e=this._referrer;
+}
+if(this._headers.length){
+_d.H=this._headers.join("&");
+}
+if(this._username){
+if(this._password){
+_d.u=this._username+":"+this._password;
+}else{
+_d.u=this._username;
+}
+}
+if(_c){
+_d.d=this.content;
+if(this._method!="POST"){
+_d.G="";
+}
+}
+if(this._method=="HEAD"){
+_d.I="";
+}else{
+if(this._save){
+_d.I="";
+}else{
+_d.i="";
+}
+}
+var _e=widget.system(dojo.hostenv.CurlRequest._formatCall(_d,this._url),null);
+this.readyState=2;
+if(this.onreadystatechange){
+this.onreadystatechange.call(this);
+}
+if(_e.errorString){
+this.responseText=_e.errorString;
+this.status=0;
+}else{
+if(this._save){
+this._responseHeader=_e.outputString;
+}else{
+var _f=_e.outputString.replace(/\r/g,"").split("\n\n",2);
+this._responseHeader=_f[0];
+this.responseText=_f[1];
+}
+_f=this._responseHeader.split("\n");
+this.statusText=_f.shift();
+this.status=this.statusText.split(" ")[1];
+for(var i=0,_11;_11=_f[i];i++){
+var _12=_11.split(": ",2);
+this._responseHeaders[_12[0]]=_12[1];
+}
+if(this._save){
+widget.system("/bin/mkdir cache",null);
+this._fileName=this._url.split("/").pop().replace(/\W/g,"");
+this._fileName+="."+this._responseHeaders["Content-Type"].replace(/[\r\n]/g,"").split("/").pop();
+delete _d.I;
+_d.o="cache/"+this._fileName;
+_e=widget.system(dojo.hostenv.CurlRequest._formatCall(_d,this._url),null);
+if(!_e.errorString){
+this.responseText="cache/"+this._fileName;
+}
+}else{
+if(this._method=="HEAD"){
+this.responseText=this._responseHeader;
+}
+}
+}
+this.readyState=4;
+if(this.onreadystatechange){
+this.onreadystatechange.call(this);
+}
+};
+dojo.hostenv.CurlRequest._formatCall=function(_13,url){
+var _15=["/usr/bin/curl"];
+for(var key in _13){
+if(_13[key]!=""){
+_15.push("-"+key+" '"+_13[key].replace(/'/g,"'")+"'");
+}else{
+_15.push("-"+key);
+}
+}
+_15.push("'"+url.replace(/'/g,"'")+"'");
+return _15.join(" ");
+};
+dojo.hostenv.exit=function(){
+if(widget.system){
+widget.system("/bin/rm -rf cache/*",null);
+}
+};

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_dashboard.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_dashboard.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_dashboard.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_jsc.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_jsc.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_jsc.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_jsc.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,78 @@
+/*
+	Copyright (c) 2004-2006, The Dojo Foundation
+	All Rights Reserved.
+
+	Licensed under the Academic Free License version 2.1 or above OR the
+	modified BSD license. For more information on Dojo licensing, see:
+
+		http://dojotoolkit.org/community/licensing.shtml
+*/
+
+/*
+ * JScript .NET jsc
+ *
+ */
+
+dojo.hostenv.name_ = 'jsc';
+
+// Sanity check this is the right hostenv.
+// See the Rotor source code jscript/engine/globalobject.cs for what globals
+// are available.
+if((typeof ScriptEngineMajorVersion != 'function')||(ScriptEngineMajorVersion() < 7)){
+	dojo.raise("attempt to use JScript .NET host environment with inappropriate ScriptEngine"); 
+}
+
+// for more than you wanted to know about why this import is required even if
+// we fully qualify all symbols, see
+// http://groups.google.com/groups?th=f050c7aeefdcbde2&rnum=12
+import System;
+
+dojo.hostenv.getText = function(uri){
+	if(!System.IO.File.Exists(uri)){
+		// dojo.raise("No such file '" + uri + "'");
+		return 0;
+	}
+	var reader = new System.IO.StreamReader(uri);
+	var contents : String = reader.ReadToEnd();
+	return contents;
+}
+
+dojo.hostenv.loadUri = function(uri){
+	var contents = this.getText(uri);
+	if(!contents){
+		dojo.raise("got no back contents from uri '" + uri + "': " + contents);
+	}
+	// TODO: in JScript .NET, eval will not affect the symbol table of the current code?
+	var value = dj_eval(contents);
+	dojo.debug("jsc eval of contents returned: ", value);
+	return 1;
+
+	// for an example doing runtime code compilation, see:
+	// http://groups.google.com/groups?selm=eQ1aeciCBHA.1644%40tkmsftngp05&rnum=6
+	// Microsoft.JScript or System.CodeDom.Compiler ?
+	// var engine = new Microsoft.JScript.Vsa.VsaEngine()
+	// what about loading a js file vs. a dll?
+	// GetObject("script:" . uri);
+}
+
+/* The System.Environment object is useful:
+    print ("CommandLine='" + System.Environment.CommandLine + "' " +
+	   "program name='" + System.Environment.GetCommandLineArgs()[0] + "' " +
+	   "CurrentDirectory='" + System.Environment.CurrentDirectory + "' " +
+	   "StackTrace='" + System.Environment.StackTrace + "'");
+*/
+
+// same as System.Console.WriteLine
+// sigh; Rotor treats symbol "print" at parse time without actually putting it
+// in the builtin symbol table.
+// Note that the print symbol is not available if jsc is run with the "/print-"
+// option.
+dojo.hostenv.println = function(s){
+	print(s); // = print
+}
+
+dojo.hostenv.getLibraryScriptUri = function(){
+	return System.Environment.GetCommandLineArgs()[0];
+}
+
+dojo.requireIf((djConfig["isDebug"] || djConfig["debugAtAllCosts"]), "dojo.debug");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_jsc.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_jsc.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_jsc.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_rhino.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_rhino.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_rhino.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_rhino.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,150 @@
+dojo.hostenv.println=function(_1){
+if(arguments.length>0){
+print(arguments[0]);
+for(var i=1;i<arguments.length;i++){
+var _3=false;
+for(var p in arguments[i]){
+_3=true;
+break;
+}
+if(_3){
+dojo.debugShallow(arguments[i]);
+}
+}
+}else{
+print(_1);
+}
+};
+dojo.locale=dojo.locale||java.util.Locale.getDefault().toString().replace("_","-").toLowerCase();
+dojo.render.name=dojo.hostenv.name_="rhino";
+dojo.hostenv.getVersion=function(){
+return version();
+};
+if(dj_undef("byId")){
+dojo.byId=function(id,_6){
+if(id&&(typeof id=="string"||id instanceof String)){
+if(!_6){
+_6=document;
+}
+return _6.getElementById(id);
+}
+return id;
+};
+}
+dojo.hostenv.loadUri=function(_7,cb){
+try{
+var _9=(new java.io.File(_7)).exists();
+if(!_9){
+try{
+var _a=(new java.net.URL(_7)).openStream();
+_a.close();
+}
+catch(e){
+return false;
+}
+}
+if(cb){
+var _b=(_9?readText:readUri)(_7,"UTF-8");
+cb(eval("("+_b+")"));
+}else{
+load(_7);
+}
+return true;
+}
+catch(e){
+dojo.debug("rhino load('"+_7+"') failed. Exception: "+e);
+return false;
+}
+};
+dojo.hostenv.exit=function(_c){
+quit(_c);
+};
+function dj_rhino_current_script_via_java(_d){
+var _e=Packages.org.mozilla.javascript.Context.getCurrentContext().getOptimizationLevel();
+var _f=new java.io.CharArrayWriter();
+var pw=new java.io.PrintWriter(_f);
+var exc=new java.lang.Exception();
+var s=_f.toString();
+var _13=s.match(/[^\(]*\.js\)/gi);
+if(!_13){
+throw Error("cannot parse printStackTrace output: "+s);
+}
+var _14=((typeof _d!="undefined")&&(_d))?_13[_d+1]:_13[_13.length-1];
+var _14=_13[3];
+if(!_14){
+_14=_13[1];
+}
+if(!_14){
+throw Error("could not find js file in printStackTrace output: "+s);
+}
+return _14;
+}
+function readText(_15,_16){
+_16=_16||"utf-8";
+var jf=new java.io.File(_15);
+var is=new java.io.FileInputStream(jf);
+return dj_readInputStream(is,_16);
+}
+function readUri(uri,_1a){
+var _1b=(new java.net.URL(uri)).openConnection();
+_1a=_1a||_1b.getContentEncoding()||"utf-8";
+var is=_1b.getInputStream();
+return dj_readInputStream(is,_1a);
+}
+function dj_readInputStream(is,_1e){
+var _1f=new java.io.BufferedReader(new java.io.InputStreamReader(is,_1e));
+try{
+var sb=new java.lang.StringBuffer();
+var _21="";
+while((_21=_1f.readLine())!==null){
+sb.append(_21);
+sb.append(java.lang.System.getProperty("line.separator"));
+}
+return sb.toString();
+}
+finally{
+_1f.close();
+}
+}
+if(!djConfig.libraryScriptUri.length){
+try{
+djConfig.libraryScriptUri=dj_rhino_current_script_via_java(1);
+}
+catch(e){
+if(djConfig["isDebug"]){
+print("\n");
+print("we have no idea where Dojo is located.");
+print("Please try loading rhino in a non-interpreted mode or set a");
+print("\n\tdjConfig.libraryScriptUri\n");
+print("Setting the dojo path to './'");
+print("This is probably wrong!");
+print("\n");
+print("Dojo will try to load anyway");
+}
+djConfig.libraryScriptUri="./";
+}
+}
+dojo.doc=function(){
+return document;
+};
+dojo.body=function(){
+return document.body;
+};
+function setTimeout(_22,_23){
+var def={sleepTime:_23,hasSlept:false,run:function(){
+if(!this.hasSlept){
+this.hasSlept=true;
+java.lang.Thread.currentThread().sleep(this.sleepTime);
+}
+try{
+_22();
+}
+catch(e){
+dojo.debug("Error running setTimeout thread:"+e);
+}
+}};
+var _25=new java.lang.Runnable(def);
+var _26=new java.lang.Thread(_25);
+_26.start();
+}
+dojo.requireIf((djConfig["isDebug"]||djConfig["debugAtAllCosts"]),"dojo.debug");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_rhino.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_rhino.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_rhino.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_spidermonkey.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_spidermonkey.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_spidermonkey.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_spidermonkey.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,37 @@
+dojo.hostenv.name_="spidermonkey";
+dojo.hostenv.println=print;
+dojo.hostenv.exit=function(_1){
+quit(_1);
+};
+dojo.hostenv.getVersion=function(){
+return version();
+};
+if(typeof line2pc=="undefined"){
+dojo.raise("attempt to use SpiderMonkey host environment when no 'line2pc' global");
+}
+function dj_spidermonkey_current_file(_2){
+var s="";
+try{
+throw Error("whatever");
+}
+catch(e){
+s=e.stack;
+}
+var _4=s.match(/[^@]*\.js/gi);
+if(!_4){
+dojo.raise("could not parse stack string: '"+s+"'");
+}
+var _5=(typeof _2!="undefined"&&_2)?_4[_2+1]:_4[_4.length-1];
+if(!_5){
+dojo.raise("could not find file name in stack string '"+s+"'");
+}
+return _5;
+}
+if(!dojo.hostenv.library_script_uri_){
+dojo.hostenv.library_script_uri_=dj_spidermonkey_current_file(0);
+}
+dojo.hostenv.loadUri=function(_6){
+var ok=load(_6);
+return 1;
+};
+dojo.requireIf((djConfig["isDebug"]||djConfig["debugAtAllCosts"]),"dojo.debug");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_spidermonkey.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_spidermonkey.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_spidermonkey.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_svg.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_svg.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_svg.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_svg.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,234 @@
+if(typeof window=="undefined"){
+dojo.raise("attempt to use adobe svg hostenv when no window object");
+}
+dojo.debug=function(){
+if(!djConfig.isDebug){
+return;
+}
+var _1=arguments;
+var _2=dj_global["jum"];
+var s=_2?"":"DEBUG: ";
+for(var i=0;i<_1.length;++i){
+s+=_1[i];
+}
+if(_2){
+jum.debug(s);
+}else{
+dojo.hostenv.println(s);
+}
+};
+dojo.render.name=navigator.appName;
+dojo.render.ver=parseFloat(navigator.appVersion,10);
+switch(navigator.platform){
+case "MacOS":
+dojo.render.os.osx=true;
+break;
+case "Linux":
+dojo.render.os.linux=true;
+break;
+case "Windows":
+dojo.render.os.win=true;
+break;
+default:
+dojo.render.os.linux=true;
+break;
+}
+dojo.render.svg.capable=true;
+dojo.render.svg.support.builtin=true;
+dojo.render.svg.moz=((navigator.userAgent.indexOf("Gecko")>=0)&&(!((navigator.appVersion.indexOf("Konqueror")>=0)||(navigator.appVersion.indexOf("Safari")>=0))));
+dojo.render.svg.adobe=(window.parseXML!=null);
+dojo.hostenv.startPackage("dojo.hostenv");
+dojo.hostenv.println=function(s){
+try{
+var ti=document.createElement("text");
+ti.setAttribute("x","50");
+ti.setAttribute("y",(25+15*document.getElementsByTagName("text").length));
+ti.appendChild(document.createTextNode(s));
+document.documentElement.appendChild(ti);
+}
+catch(e){
+}
+};
+dojo.hostenv.name_="svg";
+dojo.hostenv.setModulePrefix=function(_7,_8){
+};
+dojo.hostenv.getModulePrefix=function(_9){
+};
+dojo.hostenv.getTextStack=[];
+dojo.hostenv.loadUriStack=[];
+dojo.hostenv.loadedUris=[];
+dojo.hostenv.modules_={};
+dojo.hostenv.modulesLoadedFired=false;
+dojo.hostenv.modulesLoadedListeners=[];
+dojo.hostenv.getText=function(_a,cb,_c){
+if(!cb){
+var cb=function(_d){
+window.alert(_d);
+};
+}
+if(!_c){
+window.getUrl(_a,cb);
+}else{
+window.postUrl(_a,_c,cb);
+}
+};
+dojo.hostenv.getLibaryScriptUri=function(){
+};
+dojo.hostenv.loadUri=function(_e){
+};
+dojo.hostenv.loadUriAndCheck=function(_f,_10){
+};
+dojo.hostenv.loadModule=function(_11){
+var a=_11.split(".");
+var _13=window;
+var s=[];
+for(var i=0;i<a.length;i++){
+if(a[i]=="*"){
+continue;
+}
+s.push(a[i]);
+if(!_13[a[i]]){
+dojo.raise("dojo.require('"+_11+"'): module does not exist.");
+}else{
+_13=_13[a[i]];
+}
+}
+return;
+};
+dojo.hostenv.startPackage=function(_16){
+var a=_16.split(".");
+var _18=window;
+var s=[];
+for(var i=0;i<a.length;i++){
+if(a[i]=="*"){
+continue;
+}
+s.push(a[i]);
+if(!_18[a[i]]){
+_18[a[i]]={};
+}
+_18=_18[a[i]];
+}
+return;
+};
+if(window.parseXML){
+window.XMLSerialzer=function(){
+function nodeToString(n,a){
+function fixText(s){
+return String(s).replace(/\&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;");
+}
+function fixAttribute(s){
+return fixText(s).replace(/\"/g,"&quot;");
+}
+switch(n.nodeType){
+case 1:
+var _1f=n.nodeName;
+a.push("<"+_1f);
+for(var i=0;i<n.attributes.length;i++){
+if(n.attributes.item(i).specified){
+a.push(" "+n.attributes.item(i).nodeName.toLowerCase()+"=\""+fixAttribute(n.attributes.item(i).nodeValue)+"\"");
+}
+}
+if(n.canHaveChildren||n.hasChildNodes()){
+a.push(">");
+for(var i=0;i<n.childNodes.length;i++){
+nodeToString(n.childNodes.item(i),a);
+}
+a.push("</"+_1f+">\n");
+}else{
+a.push(" />\n");
+}
+break;
+case 3:
+a.push(fixText(n.nodeValue));
+break;
+case 4:
+a.push("<![CDA"+"TA[\n"+n.nodeValue+"\n]"+"]>");
+break;
+case 7:
+a.push(n.nodeValue);
+if(/(^<\?xml)|(^<\!DOCTYPE)/.test(n.nodeValue)){
+a.push("\n");
+}
+break;
+case 8:
+a.push("<!-- "+n.nodeValue+" -->\n");
+break;
+case 9:
+case 11:
+for(var i=0;i<n.childNodes.length;i++){
+nodeToString(n.childNodes.item(i),a);
+}
+break;
+default:
+a.push("<!--\nNot Supported:\n\n"+"nodeType: "+n.nodeType+"\nnodeName: "+n.nodeName+"\n-->");
+}
+}
+this.serializeToString=function(_21){
+var a=[];
+nodeToString(_21,a);
+return a.join("");
+};
+};
+window.DOMParser=function(){
+this.parseFromString=function(s){
+return parseXML(s,window.document);
+};
+};
+window.XMLHttpRequest=function(){
+var uri=null;
+var _25="POST";
+var _26=true;
+var cb=function(d){
+this.responseText=d.content;
+try{
+this.responseXML=parseXML(this.responseText,window.document);
+}
+catch(e){
+}
+this.status="200";
+this.statusText="OK";
+if(!d.success){
+this.status="500";
+this.statusText="Internal Server Error";
+}
+this.onload();
+this.onreadystatechange();
+};
+this.onload=function(){
+};
+this.readyState=4;
+this.onreadystatechange=function(){
+};
+this.status=0;
+this.statusText="";
+this.responseBody=null;
+this.responseStream=null;
+this.responseXML=null;
+this.responseText=null;
+this.abort=function(){
+return;
+};
+this.getAllResponseHeaders=function(){
+return [];
+};
+this.getResponseHeader=function(n){
+return null;
+};
+this.setRequestHeader=function(nm,val){
+};
+this.open=function(_2c,url,_2e){
+_25=_2c;
+uri=url;
+};
+this.send=function(_2f){
+var d=_2f||null;
+if(_25=="GET"){
+getURL(uri,cb);
+}else{
+postURL(uri,_2f,cb);
+}
+};
+};
+}
+dojo.requireIf((djConfig["isDebug"]||djConfig["debugAtAllCosts"]),"dojo.debug");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_svg.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_svg.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_svg.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_wsh.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_wsh.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_wsh.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_wsh.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,22 @@
+dojo.hostenv.name_="wsh";
+if(typeof WScript=="undefined"){
+dojo.raise("attempt to use WSH host environment when no WScript global");
+}
+dojo.hostenv.println=WScript.Echo;
+dojo.hostenv.getCurrentScriptUri=function(){
+return WScript.ScriptFullName();
+};
+dojo.hostenv.getText=function(_1){
+var _2=new ActiveXObject("Scripting.FileSystemObject");
+var _3=_2.OpenTextFile(_1,1);
+if(!_3){
+return null;
+}
+var _4=_3.ReadAll();
+_3.Close();
+return _4;
+};
+dojo.hostenv.exit=function(_5){
+WScript.Quit(_5);
+};
+dojo.requireIf((djConfig["isDebug"]||djConfig["debugAtAllCosts"]),"dojo.debug");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_wsh.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_wsh.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/hostenv_wsh.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,3 @@
+dojo.provide("dojo.html");
+dojo.require("dojo.html.*");
+dojo.deprecated("dojo.html","replaced by dojo.html.*","0.5");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/__package__.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/__package__.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/__package__.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/__package__.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,2 @@
+dojo.kwCompoundRequire({common:["dojo.html.common","dojo.html.style"]});
+dojo.provide("dojo.html.*");

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/__package__.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/__package__.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/__package__.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/color.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/color.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/color.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/color.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,25 @@
+dojo.require("dojo.html.style");
+dojo.provide("dojo.html.color");
+dojo.require("dojo.gfx.color");
+dojo.require("dojo.lang.common");
+dojo.html.getBackgroundColor=function(_1){
+_1=dojo.byId(_1);
+var _2;
+do{
+_2=dojo.html.getStyle(_1,"background-color");
+if(_2.toLowerCase()=="rgba(0, 0, 0, 0)"){
+_2="transparent";
+}
+if(_1==document.getElementsByTagName("body")[0]){
+_1=null;
+break;
+}
+_1=_1.parentNode;
+}while(_1&&dojo.lang.inArray(["transparent",""],_2));
+if(_2=="transparent"){
+_2=[255,255,255,0];
+}else{
+_2=dojo.gfx.color.extractRGB(_2);
+}
+return _2;
+};

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/color.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/color.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/color.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/common.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/common.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/common.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/common.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,169 @@
+dojo.provide("dojo.html.common");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.dom");
+dojo.lang.mixin(dojo.html,dojo.dom);
+dojo.html.body=function(){
+dojo.deprecated("dojo.html.body() moved to dojo.body()","0.5");
+return dojo.body();
+};
+dojo.html.getEventTarget=function(_1){
+if(!_1){
+_1=dojo.global().event||{};
+}
+var t=(_1.srcElement?_1.srcElement:(_1.target?_1.target:null));
+while((t)&&(t.nodeType!=1)){
+t=t.parentNode;
+}
+return t;
+};
+dojo.html.getViewport=function(){
+var _3=dojo.global();
+var _4=dojo.doc();
+var w=0;
+var h=0;
+if(dojo.render.html.mozilla){
+w=_4.documentElement.clientWidth;
+h=_3.innerHeight;
+}else{
+if(!dojo.render.html.opera&&_3.innerWidth){
+w=_3.innerWidth;
+h=_3.innerHeight;
+}else{
+if(!dojo.render.html.opera&&dojo.exists(_4,"documentElement.clientWidth")){
+var w2=_4.documentElement.clientWidth;
+if(!w||w2&&w2<w){
+w=w2;
+}
+h=_4.documentElement.clientHeight;
+}else{
+if(dojo.body().clientWidth){
+w=dojo.body().clientWidth;
+h=dojo.body().clientHeight;
+}
+}
+}
+}
+return {width:w,height:h};
+};
+dojo.html.getScroll=function(){
+var _8=dojo.global();
+var _9=dojo.doc();
+var _a=_8.pageYOffset||_9.documentElement.scrollTop||dojo.body().scrollTop||0;
+var _b=_8.pageXOffset||_9.documentElement.scrollLeft||dojo.body().scrollLeft||0;
+return {top:_a,left:_b,offset:{x:_b,y:_a}};
+};
+dojo.html.getParentByType=function(_c,_d){
+var _e=dojo.doc();
+var _f=dojo.byId(_c);
+_d=_d.toLowerCase();
+while((_f)&&(_f.nodeName.toLowerCase()!=_d)){
+if(_f==(_e["body"]||_e["documentElement"])){
+return null;
+}
+_f=_f.parentNode;
+}
+return _f;
+};
+dojo.html.getAttribute=function(_10,_11){
+_10=dojo.byId(_10);
+if((!_10)||(!_10.getAttribute)){
+return null;
+}
+var ta=typeof _11=="string"?_11:new String(_11);
+var v=_10.getAttribute(ta.toUpperCase());
+if((v)&&(typeof v=="string")&&(v!="")){
+return v;
+}
+if(v&&v.value){
+return v.value;
+}
+if((_10.getAttributeNode)&&(_10.getAttributeNode(ta))){
+return (_10.getAttributeNode(ta)).value;
+}else{
+if(_10.getAttribute(ta)){
+return _10.getAttribute(ta);
+}else{
+if(_10.getAttribute(ta.toLowerCase())){
+return _10.getAttribute(ta.toLowerCase());
+}
+}
+}
+return null;
+};
+dojo.html.hasAttribute=function(_14,_15){
+return dojo.html.getAttribute(dojo.byId(_14),_15)?true:false;
+};
+dojo.html.getCursorPosition=function(e){
+e=e||dojo.global().event;
+var _17={x:0,y:0};
+if(e.pageX||e.pageY){
+_17.x=e.pageX;
+_17.y=e.pageY;
+}else{
+var de=dojo.doc().documentElement;
+var db=dojo.body();
+_17.x=e.clientX+((de||db)["scrollLeft"])-((de||db)["clientLeft"]);
+_17.y=e.clientY+((de||db)["scrollTop"])-((de||db)["clientTop"]);
+}
+return _17;
+};
+dojo.html.isTag=function(_1a){
+_1a=dojo.byId(_1a);
+if(_1a&&_1a.tagName){
+for(var i=1;i<arguments.length;i++){
+if(_1a.tagName.toLowerCase()==String(arguments[i]).toLowerCase()){
+return String(arguments[i]).toLowerCase();
+}
+}
+}
+return "";
+};
+if(dojo.render.html.ie&&!dojo.render.html.ie70){
+if(window.location.href.substr(0,6).toLowerCase()!="https:"){
+(function(){
+var _1c=dojo.doc().createElement("script");
+_1c.src="javascript:'dojo.html.createExternalElement=function(doc, tag){ return doc.createElement(tag); }'";
+dojo.doc().getElementsByTagName("head")[0].appendChild(_1c);
+})();
+}
+}else{
+dojo.html.createExternalElement=function(doc,tag){
+return doc.createElement(tag);
+};
+}
+dojo.html._callDeprecated=function(_1f,_20,_21,_22,_23){
+dojo.deprecated("dojo.html."+_1f,"replaced by dojo.html."+_20+"("+(_22?"node, {"+_22+": "+_22+"}":"")+")"+(_23?"."+_23:""),"0.5");
+var _24=[];
+if(_22){
+var _25={};
+_25[_22]=_21[1];
+_24.push(_21[0]);
+_24.push(_25);
+}else{
+_24=_21;
+}
+var ret=dojo.html[_20].apply(dojo.html,_21);
+if(_23){
+return ret[_23];
+}else{
+return ret;
+}
+};
+dojo.html.getViewportWidth=function(){
+return dojo.html._callDeprecated("getViewportWidth","getViewport",arguments,null,"width");
+};
+dojo.html.getViewportHeight=function(){
+return dojo.html._callDeprecated("getViewportHeight","getViewport",arguments,null,"height");
+};
+dojo.html.getViewportSize=function(){
+return dojo.html._callDeprecated("getViewportSize","getViewport",arguments);
+};
+dojo.html.getScrollTop=function(){
+return dojo.html._callDeprecated("getScrollTop","getScroll",arguments,null,"top");
+};
+dojo.html.getScrollLeft=function(){
+return dojo.html._callDeprecated("getScrollLeft","getScroll",arguments,null,"left");
+};
+dojo.html.getScrollOffset=function(){
+return dojo.html._callDeprecated("getScrollOffset","getScroll",arguments,null,"offset");
+};

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/common.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/common.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/common.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/display.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/display.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/display.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/display.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,134 @@
+dojo.provide("dojo.html.display");
+dojo.require("dojo.html.style");
+dojo.html._toggle=function(_1,_2,_3){
+_1=dojo.byId(_1);
+_3(_1,!_2(_1));
+return _2(_1);
+};
+dojo.html.show=function(_4){
+_4=dojo.byId(_4);
+if(dojo.html.getStyleProperty(_4,"display")=="none"){
+dojo.html.setStyle(_4,"display",(_4.dojoDisplayCache||""));
+_4.dojoDisplayCache=undefined;
+}
+};
+dojo.html.hide=function(_5){
+_5=dojo.byId(_5);
+if(typeof _5["dojoDisplayCache"]=="undefined"){
+var d=dojo.html.getStyleProperty(_5,"display");
+if(d!="none"){
+_5.dojoDisplayCache=d;
+}
+}
+dojo.html.setStyle(_5,"display","none");
+};
+dojo.html.setShowing=function(_7,_8){
+dojo.html[(_8?"show":"hide")](_7);
+};
+dojo.html.isShowing=function(_9){
+return (dojo.html.getStyleProperty(_9,"display")!="none");
+};
+dojo.html.toggleShowing=function(_a){
+return dojo.html._toggle(_a,dojo.html.isShowing,dojo.html.setShowing);
+};
+dojo.html.displayMap={tr:"",td:"",th:"",img:"inline",span:"inline",input:"inline",button:"inline"};
+dojo.html.suggestDisplayByTagName=function(_b){
+_b=dojo.byId(_b);
+if(_b&&_b.tagName){
+var _c=_b.tagName.toLowerCase();
+return (_c in dojo.html.displayMap?dojo.html.displayMap[_c]:"block");
+}
+};
+dojo.html.setDisplay=function(_d,_e){
+dojo.html.setStyle(_d,"display",((_e instanceof String||typeof _e=="string")?_e:(_e?dojo.html.suggestDisplayByTagName(_d):"none")));
+};
+dojo.html.isDisplayed=function(_f){
+return (dojo.html.getComputedStyle(_f,"display")!="none");
+};
+dojo.html.toggleDisplay=function(_10){
+return dojo.html._toggle(_10,dojo.html.isDisplayed,dojo.html.setDisplay);
+};
+dojo.html.setVisibility=function(_11,_12){
+dojo.html.setStyle(_11,"visibility",((_12 instanceof String||typeof _12=="string")?_12:(_12?"visible":"hidden")));
+};
+dojo.html.isVisible=function(_13){
+return (dojo.html.getComputedStyle(_13,"visibility")!="hidden");
+};
+dojo.html.toggleVisibility=function(_14){
+return dojo.html._toggle(_14,dojo.html.isVisible,dojo.html.setVisibility);
+};
+dojo.html.setOpacity=function(_15,_16,_17){
+_15=dojo.byId(_15);
+var h=dojo.render.html;
+if(!_17){
+if(_16>=1){
+if(h.ie){
+dojo.html.clearOpacity(_15);
+return;
+}else{
+_16=0.999999;
+}
+}else{
+if(_16<0){
+_16=0;
+}
+}
+}
+if(h.ie){
+if(_15.nodeName.toLowerCase()=="tr"){
+var tds=_15.getElementsByTagName("td");
+for(var x=0;x<tds.length;x++){
+tds[x].style.filter="Alpha(Opacity="+_16*100+")";
+}
+}
+_15.style.filter="Alpha(Opacity="+_16*100+")";
+}else{
+if(h.moz){
+_15.style.opacity=_16;
+_15.style.MozOpacity=_16;
+}else{
+if(h.safari){
+_15.style.opacity=_16;
+_15.style.KhtmlOpacity=_16;
+}else{
+_15.style.opacity=_16;
+}
+}
+}
+};
+dojo.html.clearOpacity=function(_1b){
+_1b=dojo.byId(_1b);
+var ns=_1b.style;
+var h=dojo.render.html;
+if(h.ie){
+try{
+if(_1b.filters&&_1b.filters.alpha){
+ns.filter="";
+}
+}
+catch(e){
+}
+}else{
+if(h.moz){
+ns.opacity=1;
+ns.MozOpacity=1;
+}else{
+if(h.safari){
+ns.opacity=1;
+ns.KhtmlOpacity=1;
+}else{
+ns.opacity=1;
+}
+}
+}
+};
+dojo.html.getOpacity=function(_1e){
+_1e=dojo.byId(_1e);
+var h=dojo.render.html;
+if(h.ie){
+var _20=(_1e.filters&&_1e.filters.alpha&&typeof _1e.filters.alpha.opacity=="number"?_1e.filters.alpha.opacity:100)/100;
+}else{
+var _20=_1e.style.opacity||_1e.style.MozOpacity||_1e.style.KhtmlOpacity||1;
+}
+return _20>=0.999999?1:Number(_20);
+};

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/display.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/display.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/display.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/iframe.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/iframe.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/iframe.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/iframe.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,71 @@
+dojo.provide("dojo.html.iframe");
+dojo.require("dojo.html.util");
+dojo.html.iframeContentWindow=function(_1){
+var _2=dojo.html.getDocumentWindow(dojo.html.iframeContentDocument(_1))||dojo.html.iframeContentDocument(_1).__parent__||(_1.name&&document.frames[_1.name])||null;
+return _2;
+};
+dojo.html.iframeContentDocument=function(_3){
+var _4=_3.contentDocument||((_3.contentWindow)&&(_3.contentWindow.document))||((_3.name)&&(document.frames[_3.name])&&(document.frames[_3.name].document))||null;
+return _4;
+};
+dojo.html.BackgroundIframe=function(_5){
+if(dojo.render.html.ie55||dojo.render.html.ie60){
+var _6="<iframe src='javascript:false'"+" style='position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;"+"z-index: -1; filter:Alpha(Opacity=\"0\");' "+">";
+this.iframe=dojo.doc().createElement(_6);
+this.iframe.tabIndex=-1;
+if(_5){
+_5.appendChild(this.iframe);
+this.domNode=_5;
+}else{
+dojo.body().appendChild(this.iframe);
+this.iframe.style.display="none";
+}
+}
+};
+dojo.lang.extend(dojo.html.BackgroundIframe,{iframe:null,onResized:function(){
+if(this.iframe&&this.domNode&&this.domNode.parentNode){
+var _7=dojo.html.getMarginBox(this.domNode);
+if(_7.width==0||_7.height==0){
+dojo.lang.setTimeout(this,this.onResized,100);
+return;
+}
+this.iframe.style.width=_7.width+"px";
+this.iframe.style.height=_7.height+"px";
+}
+},size:function(_8){
+if(!this.iframe){
+return;
+}
+var _9=dojo.html.toCoordinateObject(_8,true,dojo.html.boxSizing.BORDER_BOX);
+with(this.iframe.style){
+width=_9.width+"px";
+height=_9.height+"px";
+left=_9.left+"px";
+top=_9.top+"px";
+}
+},setZIndex:function(_a){
+if(!this.iframe){
+return;
+}
+if(dojo.dom.isNode(_a)){
+this.iframe.style.zIndex=dojo.html.getStyle(_a,"z-index")-1;
+}else{
+if(!isNaN(_a)){
+this.iframe.style.zIndex=_a;
+}
+}
+},show:function(){
+if(this.iframe){
+this.iframe.style.display="block";
+}
+},hide:function(){
+if(this.iframe){
+this.iframe.style.display="none";
+}
+},remove:function(){
+if(this.iframe){
+dojo.html.removeNode(this.iframe,true);
+delete this.iframe;
+this.iframe=null;
+}
+}});

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/iframe.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/iframe.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/iframe.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowB.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowB.png?rev=618461&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowB.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowBL.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowBL.png?rev=618461&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowBL.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowBR.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowBR.png?rev=618461&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowBR.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowL.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowL.png?rev=618461&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowL.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowR.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowR.png?rev=618461&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowR.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowT.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowT.png?rev=618461&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowT.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowTL.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowTL.png?rev=618461&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowTL.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowTR.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowTR.png?rev=618461&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/images/shadowTR.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/layout.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/layout.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/layout.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/layout.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,375 @@
+dojo.provide("dojo.html.layout");
+dojo.require("dojo.html.common");
+dojo.require("dojo.html.style");
+dojo.require("dojo.html.display");
+dojo.html.sumAncestorProperties=function(_1,_2){
+_1=dojo.byId(_1);
+if(!_1){
+return 0;
+}
+var _3=0;
+while(_1){
+if(dojo.html.getComputedStyle(_1,"position")=="fixed"){
+return 0;
+}
+var _4=_1[_2];
+if(_4){
+_3+=_4-0;
+if(_1==dojo.body()){
+break;
+}
+}
+_1=_1.parentNode;
+}
+return _3;
+};
+dojo.html.setStyleAttributes=function(_5,_6){
+_5=dojo.byId(_5);
+var _7=_6.replace(/(;)?\s*$/,"").split(";");
+for(var i=0;i<_7.length;i++){
+var _9=_7[i].split(":");
+var _a=_9[0].replace(/\s*$/,"").replace(/^\s*/,"").toLowerCase();
+var _b=_9[1].replace(/\s*$/,"").replace(/^\s*/,"");
+switch(_a){
+case "opacity":
+dojo.html.setOpacity(_5,_b);
+break;
+case "content-height":
+dojo.html.setContentBox(_5,{height:_b});
+break;
+case "content-width":
+dojo.html.setContentBox(_5,{width:_b});
+break;
+case "outer-height":
+dojo.html.setMarginBox(_5,{height:_b});
+break;
+case "outer-width":
+dojo.html.setMarginBox(_5,{width:_b});
+break;
+default:
+_5.style[dojo.html.toCamelCase(_a)]=_b;
+}
+}
+};
+dojo.html.boxSizing={MARGIN_BOX:"margin-box",BORDER_BOX:"border-box",PADDING_BOX:"padding-box",CONTENT_BOX:"content-box"};
+dojo.html.getAbsolutePosition=dojo.html.abs=function(_c,_d,_e){
+_c=dojo.byId(_c,_c.ownerDocument);
+var _f={x:0,y:0};
+var bs=dojo.html.boxSizing;
+if(!_e){
+_e=bs.CONTENT_BOX;
+}
+var _11=2;
+var _12;
+switch(_e){
+case bs.MARGIN_BOX:
+_12=3;
+break;
+case bs.BORDER_BOX:
+_12=2;
+break;
+case bs.PADDING_BOX:
+default:
+_12=1;
+break;
+case bs.CONTENT_BOX:
+_12=0;
+break;
+}
+var h=dojo.render.html;
+var db=document["body"]||document["documentElement"];
+if(h.ie){
+with(_c.getBoundingClientRect()){
+_f.x=left-2;
+_f.y=top-2;
+}
+}else{
+if(document.getBoxObjectFor){
+_11=1;
+try{
+var bo=document.getBoxObjectFor(_c);
+_f.x=bo.x-dojo.html.sumAncestorProperties(_c,"scrollLeft");
+_f.y=bo.y-dojo.html.sumAncestorProperties(_c,"scrollTop");
+}
+catch(e){
+}
+}else{
+if(_c["offsetParent"]){
+var _16;
+if((h.safari)&&(_c.style.getPropertyValue("position")=="absolute")&&(_c.parentNode==db)){
+_16=db;
+}else{
+_16=db.parentNode;
+}
+if(_c.parentNode!=db){
+var nd=_c;
+if(dojo.render.html.opera){
+nd=db;
+}
+_f.x-=dojo.html.sumAncestorProperties(nd,"scrollLeft");
+_f.y-=dojo.html.sumAncestorProperties(nd,"scrollTop");
+}
+var _18=_c;
+do{
+var n=_18["offsetLeft"];
+if(!h.opera||n>0){
+_f.x+=isNaN(n)?0:n;
+}
+var m=_18["offsetTop"];
+_f.y+=isNaN(m)?0:m;
+_18=_18.offsetParent;
+}while((_18!=_16)&&(_18!=null));
+}else{
+if(_c["x"]&&_c["y"]){
+_f.x+=isNaN(_c.x)?0:_c.x;
+_f.y+=isNaN(_c.y)?0:_c.y;
+}
+}
+}
+}
+if(_d){
+var _1b=dojo.html.getScroll();
+_f.y+=_1b.top;
+_f.x+=_1b.left;
+}
+var _1c=[dojo.html.getPaddingExtent,dojo.html.getBorderExtent,dojo.html.getMarginExtent];
+if(_11>_12){
+for(var i=_12;i<_11;++i){
+_f.y+=_1c[i](_c,"top");
+_f.x+=_1c[i](_c,"left");
+}
+}else{
+if(_11<_12){
+for(var i=_12;i>_11;--i){
+_f.y-=_1c[i-1](_c,"top");
+_f.x-=_1c[i-1](_c,"left");
+}
+}
+}
+_f.top=_f.y;
+_f.left=_f.x;
+return _f;
+};
+dojo.html.isPositionAbsolute=function(_1e){
+return (dojo.html.getComputedStyle(_1e,"position")=="absolute");
+};
+dojo.html._sumPixelValues=function(_1f,_20,_21){
+var _22=0;
+for(var x=0;x<_20.length;x++){
+_22+=dojo.html.getPixelValue(_1f,_20[x],_21);
+}
+return _22;
+};
+dojo.html.getMargin=function(_24){
+return {width:dojo.html._sumPixelValues(_24,["margin-left","margin-right"],(dojo.html.getComputedStyle(_24,"position")=="absolute")),height:dojo.html._sumPixelValues(_24,["margin-top","margin-bottom"],(dojo.html.getComputedStyle(_24,"position")=="absolute"))};
+};
+dojo.html.getBorder=function(_25){
+return {width:dojo.html.getBorderExtent(_25,"left")+dojo.html.getBorderExtent(_25,"right"),height:dojo.html.getBorderExtent(_25,"top")+dojo.html.getBorderExtent(_25,"bottom")};
+};
+dojo.html.getBorderExtent=function(_26,_27){
+return (dojo.html.getStyle(_26,"border-"+_27+"-style")=="none"?0:dojo.html.getPixelValue(_26,"border-"+_27+"-width"));
+};
+dojo.html.getMarginExtent=function(_28,_29){
+return dojo.html._sumPixelValues(_28,["margin-"+_29],dojo.html.isPositionAbsolute(_28));
+};
+dojo.html.getPaddingExtent=function(_2a,_2b){
+return dojo.html._sumPixelValues(_2a,["padding-"+_2b],true);
+};
+dojo.html.getPadding=function(_2c){
+return {width:dojo.html._sumPixelValues(_2c,["padding-left","padding-right"],true),height:dojo.html._sumPixelValues(_2c,["padding-top","padding-bottom"],true)};
+};
+dojo.html.getPadBorder=function(_2d){
+var pad=dojo.html.getPadding(_2d);
+var _2f=dojo.html.getBorder(_2d);
+return {width:pad.width+_2f.width,height:pad.height+_2f.height};
+};
+dojo.html.getBoxSizing=function(_30){
+var h=dojo.render.html;
+var bs=dojo.html.boxSizing;
+if(((h.ie)||(h.opera))&&_30.nodeName.toLowerCase()!="img"){
+var cm=document["compatMode"];
+if((cm=="BackCompat")||(cm=="QuirksMode")){
+return bs.BORDER_BOX;
+}else{
+return bs.CONTENT_BOX;
+}
+}else{
+if(arguments.length==0){
+_30=document.documentElement;
+}
+var _34;
+if(!h.ie){
+_34=dojo.html.getStyle(_30,"-moz-box-sizing");
+if(!_34){
+_34=dojo.html.getStyle(_30,"box-sizing");
+}
+}
+return (_34?_34:bs.CONTENT_BOX);
+}
+};
+dojo.html.isBorderBox=function(_35){
+return (dojo.html.getBoxSizing(_35)==dojo.html.boxSizing.BORDER_BOX);
+};
+dojo.html.getBorderBox=function(_36){
+_36=dojo.byId(_36);
+return {width:_36.offsetWidth,height:_36.offsetHeight};
+};
+dojo.html.getPaddingBox=function(_37){
+var box=dojo.html.getBorderBox(_37);
+var _39=dojo.html.getBorder(_37);
+return {width:box.width-_39.width,height:box.height-_39.height};
+};
+dojo.html.getContentBox=function(_3a){
+_3a=dojo.byId(_3a);
+var _3b=dojo.html.getPadBorder(_3a);
+return {width:_3a.offsetWidth-_3b.width,height:_3a.offsetHeight-_3b.height};
+};
+dojo.html.setContentBox=function(_3c,_3d){
+_3c=dojo.byId(_3c);
+var _3e=0;
+var _3f=0;
+var _40=dojo.html.isBorderBox(_3c);
+var _41=(_40?dojo.html.getPadBorder(_3c):{width:0,height:0});
+var ret={};
+if(typeof _3d.width!="undefined"){
+_3e=_3d.width+_41.width;
+ret.width=dojo.html.setPositivePixelValue(_3c,"width",_3e);
+}
+if(typeof _3d.height!="undefined"){
+_3f=_3d.height+_41.height;
+ret.height=dojo.html.setPositivePixelValue(_3c,"height",_3f);
+}
+return ret;
+};
+dojo.html.getMarginBox=function(_43){
+var _44=dojo.html.getBorderBox(_43);
+var _45=dojo.html.getMargin(_43);
+return {width:_44.width+_45.width,height:_44.height+_45.height};
+};
+dojo.html.setMarginBox=function(_46,_47){
+_46=dojo.byId(_46);
+var _48=0;
+var _49=0;
+var _4a=dojo.html.isBorderBox(_46);
+var _4b=(!_4a?dojo.html.getPadBorder(_46):{width:0,height:0});
+var _4c=dojo.html.getMargin(_46);
+var ret={};
+if(typeof _47.width!="undefined"){
+_48=_47.width-_4b.width;
+_48-=_4c.width;
+ret.width=dojo.html.setPositivePixelValue(_46,"width",_48);
+}
+if(typeof _47.height!="undefined"){
+_49=_47.height-_4b.height;
+_49-=_4c.height;
+ret.height=dojo.html.setPositivePixelValue(_46,"height",_49);
+}
+return ret;
+};
+dojo.html.getElementBox=function(_4e,_4f){
+var bs=dojo.html.boxSizing;
+switch(_4f){
+case bs.MARGIN_BOX:
+return dojo.html.getMarginBox(_4e);
+case bs.BORDER_BOX:
+return dojo.html.getBorderBox(_4e);
+case bs.PADDING_BOX:
+return dojo.html.getPaddingBox(_4e);
+case bs.CONTENT_BOX:
+default:
+return dojo.html.getContentBox(_4e);
+}
+};
+dojo.html.toCoordinateObject=dojo.html.toCoordinateArray=function(_51,_52,_53){
+if(_51 instanceof Array||typeof _51=="array"){
+dojo.deprecated("dojo.html.toCoordinateArray","use dojo.html.toCoordinateObject({left: , top: , width: , height: }) instead","0.5");
+while(_51.length<4){
+_51.push(0);
+}
+while(_51.length>4){
+_51.pop();
+}
+var ret={left:_51[0],top:_51[1],width:_51[2],height:_51[3]};
+}else{
+if(!_51.nodeType&&!(_51 instanceof String||typeof _51=="string")&&("width" in _51||"height" in _51||"left" in _51||"x" in _51||"top" in _51||"y" in _51)){
+var ret={left:_51.left||_51.x||0,top:_51.top||_51.y||0,width:_51.width||0,height:_51.height||0};
+}else{
+var _55=dojo.byId(_51);
+var pos=dojo.html.abs(_55,_52,_53);
+var _57=dojo.html.getMarginBox(_55);
+var ret={left:pos.left,top:pos.top,width:_57.width,height:_57.height};
+}
+}
+ret.x=ret.left;
+ret.y=ret.top;
+return ret;
+};
+dojo.html.setMarginBoxWidth=dojo.html.setOuterWidth=function(_58,_59){
+return dojo.html._callDeprecated("setMarginBoxWidth","setMarginBox",arguments,"width");
+};
+dojo.html.setMarginBoxHeight=dojo.html.setOuterHeight=function(){
+return dojo.html._callDeprecated("setMarginBoxHeight","setMarginBox",arguments,"height");
+};
+dojo.html.getMarginBoxWidth=dojo.html.getOuterWidth=function(){
+return dojo.html._callDeprecated("getMarginBoxWidth","getMarginBox",arguments,null,"width");
+};
+dojo.html.getMarginBoxHeight=dojo.html.getOuterHeight=function(){
+return dojo.html._callDeprecated("getMarginBoxHeight","getMarginBox",arguments,null,"height");
+};
+dojo.html.getTotalOffset=function(_5a,_5b,_5c){
+return dojo.html._callDeprecated("getTotalOffset","getAbsolutePosition",arguments,null,_5b);
+};
+dojo.html.getAbsoluteX=function(_5d,_5e){
+return dojo.html._callDeprecated("getAbsoluteX","getAbsolutePosition",arguments,null,"x");
+};
+dojo.html.getAbsoluteY=function(_5f,_60){
+return dojo.html._callDeprecated("getAbsoluteY","getAbsolutePosition",arguments,null,"y");
+};
+dojo.html.totalOffsetLeft=function(_61,_62){
+return dojo.html._callDeprecated("totalOffsetLeft","getAbsolutePosition",arguments,null,"left");
+};
+dojo.html.totalOffsetTop=function(_63,_64){
+return dojo.html._callDeprecated("totalOffsetTop","getAbsolutePosition",arguments,null,"top");
+};
+dojo.html.getMarginWidth=function(_65){
+return dojo.html._callDeprecated("getMarginWidth","getMargin",arguments,null,"width");
+};
+dojo.html.getMarginHeight=function(_66){
+return dojo.html._callDeprecated("getMarginHeight","getMargin",arguments,null,"height");
+};
+dojo.html.getBorderWidth=function(_67){
+return dojo.html._callDeprecated("getBorderWidth","getBorder",arguments,null,"width");
+};
+dojo.html.getBorderHeight=function(_68){
+return dojo.html._callDeprecated("getBorderHeight","getBorder",arguments,null,"height");
+};
+dojo.html.getPaddingWidth=function(_69){
+return dojo.html._callDeprecated("getPaddingWidth","getPadding",arguments,null,"width");
+};
+dojo.html.getPaddingHeight=function(_6a){
+return dojo.html._callDeprecated("getPaddingHeight","getPadding",arguments,null,"height");
+};
+dojo.html.getPadBorderWidth=function(_6b){
+return dojo.html._callDeprecated("getPadBorderWidth","getPadBorder",arguments,null,"width");
+};
+dojo.html.getPadBorderHeight=function(_6c){
+return dojo.html._callDeprecated("getPadBorderHeight","getPadBorder",arguments,null,"height");
+};
+dojo.html.getBorderBoxWidth=dojo.html.getInnerWidth=function(){
+return dojo.html._callDeprecated("getBorderBoxWidth","getBorderBox",arguments,null,"width");
+};
+dojo.html.getBorderBoxHeight=dojo.html.getInnerHeight=function(){
+return dojo.html._callDeprecated("getBorderBoxHeight","getBorderBox",arguments,null,"height");
+};
+dojo.html.getContentBoxWidth=dojo.html.getContentWidth=function(){
+return dojo.html._callDeprecated("getContentBoxWidth","getContentBox",arguments,null,"width");
+};
+dojo.html.getContentBoxHeight=dojo.html.getContentHeight=function(){
+return dojo.html._callDeprecated("getContentBoxHeight","getContentBox",arguments,null,"height");
+};
+dojo.html.setContentBoxWidth=dojo.html.setContentWidth=function(_6d,_6e){
+return dojo.html._callDeprecated("setContentBoxWidth","setContentBox",arguments,"width");
+};
+dojo.html.setContentBoxHeight=dojo.html.setContentHeight=function(_6f,_70){
+return dojo.html._callDeprecated("setContentBoxHeight","setContentBox",arguments,"height");
+};

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/layout.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/layout.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/layout.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/metrics.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/metrics.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/metrics.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/metrics.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,202 @@
+dojo.provide("dojo.html.metrics");
+dojo.require("dojo.html.layout");
+dojo.html.getScrollbar=function(){
+var _1=document.createElement("div");
+_1.style.width="100px";
+_1.style.height="100px";
+_1.style.overflow="scroll";
+_1.style.position="absolute";
+_1.style.top="-300px";
+_1.style.left="0px";
+var _2=document.createElement("div");
+_2.style.width="400px";
+_2.style.height="400px";
+_1.appendChild(_2);
+dojo.body().appendChild(_1);
+var _3=_1.offsetWidth-_1.clientWidth;
+dojo.body().removeChild(_1);
+_1.removeChild(_2);
+_1=_2=null;
+return {width:_3};
+};
+dojo.html.getFontMeasurements=function(){
+var _4={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};
+if(dojo.render.html.ie){
+document.documentElement.style.fontSize="100%";
+}
+var _5=document.createElement("div");
+_5.style.position="absolute";
+_5.style.left="-100px";
+_5.style.top="0";
+_5.style.width="30px";
+_5.style.height="1000em";
+_5.style.border="0";
+_5.style.margin="0";
+_5.style.padding="0";
+_5.style.outline="0";
+_5.style.lineHeight="1";
+_5.style.overflow="hidden";
+dojo.body().appendChild(_5);
+for(var p in _4){
+_5.style.fontSize=p;
+_4[p]=Math.round(_5.offsetHeight*12/16)*16/12/1000;
+}
+dojo.body().removeChild(_5);
+_5=null;
+return _4;
+};
+dojo.html._fontMeasurements=null;
+dojo.html.getCachedFontMeasurements=function(_7){
+if(_7||!dojo.html._fontMeasurements){
+dojo.html._fontMeasurements=dojo.html.getFontMeasurements();
+}
+return dojo.html._fontMeasurements;
+};
+dojo.html.measureFragment=function(_8,_9,_a){
+var _b=_8.cloneNode(true);
+_b.innerHTML=_9;
+_8.parentNode.appendChild(_b);
+var _c=dojo.html.getElementBox(_b,_a);
+_8.parentNode.removeChild(_b);
+_b=null;
+return _c;
+};
+dojo.html.getFittedFragment=function(_d,_e){
+function cl(_f){
+var _10=document.createElement(_f.tagName);
+_10.id=_f.id+"-clone";
+_10.className=_f.className;
+for(var j=0;j<_f.attributes.length;j++){
+if(_f.attributes[j].specified){
+if(_f.attributes[j].nodeName.toLowerCase()!="style"&&_f.attributes[j].nodeName.toLowerCase()!="edited"&&_f.attributes[j].nodeName.toLowerCase()!="contenteditable"&&_f.attributes[j].nodeName.toLowerCase()!="id"&&_f.attributes[j].nodeName.toLowerCase()!="class"){
+_10.setAttribute(_f.attributes[j].nodeName.toLowerCase(),_f.attributes[j].nodeValue);
+}
+}
+}
+return _10;
+}
+var _12=dojo.html.getFontMeasurements()["16px"];
+var n=cl(_d);
+n.style.width=dojo.html.getBorderBox(_d).width+"px";
+n.style.height=(_12+4)+"px";
+_d.parentNode.appendChild(n);
+var rem=dojo.html.fitToElement(n,_e);
+var ret=n.innerHTML;
+n.parentNode.removeChild(n);
+return ret;
+};
+dojo.html.fitToElement=function(_16,_17){
+function cl(_18){
+var _19=document.createElement(_18.tagName);
+_19.id=_18.id+"-clone";
+_19.className=_18.className;
+for(var j=0;j<_18.attributes.length;j++){
+if(_18.attributes[j].specified){
+if(_18.attributes[j].nodeName.toLowerCase()!="style"&&_18.attributes[j].nodeName.toLowerCase()!="edited"&&_18.attributes[j].nodeName.toLowerCase()!="contenteditable"&&_18.attributes[j].nodeName.toLowerCase()!="id"&&_18.attributes[j].nodeName.toLowerCase()!="class"){
+_19.setAttribute(_18.attributes[j].nodeName.toLowerCase(),_18.attributes[j].nodeValue);
+}
+}
+}
+return _19;
+}
+var _1b=cl(_16);
+_16.parentNode.appendChild(_1b);
+var t=dojo.html.getBorderBox(_16);
+_1b.style.width=t.width+"px";
+var _1d=["br","img","hr","input","!--"];
+var _1e=["<BR>","<br>","<br/>","<br />","<p></p>","<P></P>"];
+var _1f=[];
+var str=_17;
+var i=0;
+var _22=str.length;
+var add=0;
+var _24=true;
+_1b.innerHTML=str;
+while(_24){
+add=Math.round((_22-i)/2);
+if(add<=1){
+_24=false;
+}
+i+=add;
+_1b.innerHTML=str.substr(0,i);
+if(_1b.offsetHeight>t.height){
+_22=i;
+i-=add;
+}
+}
+if(str.substr(0,i)!=str){
+var _25=str.substr(0,i).lastIndexOf(" ");
+var _26=str.substr(0,i).lastIndexOf("\n");
+var _27=str.substr(0,i).lastIndexOf(">");
+var _28=str.substr(0,i).lastIndexOf("<");
+if(_28<=_27&&_26==i-1){
+i=i;
+}else{
+if(_25!=-1&&_25>_27&&_27>_28){
+i=_25+1;
+}else{
+if(_28>_27){
+i=_28;
+}else{
+if(_27!=-1){
+i=_27+1;
+}
+}
+}
+}
+}
+str=str.substr(0,i);
+var ret=_17.substr(str.length);
+var _2a=true;
+var _2b=str.split("<");
+_2b.shift();
+for(var j=0;j<_2b.length;j++){
+_2b[j]=_2b[j].split(">")[0];
+if(_2b[j].charAt(_2b[j].length-1)=="/"){
+continue;
+}
+if(_2b[j].charAt(0)!="/"){
+for(var k=0;k<_1d.length;k++){
+if(_2b[j].split(" ")[0].toLowerCase()==_1d[k]){
+_2a=false;
+}
+}
+if(_2a){
+_1f.push(_2b[j]);
+}
+_2a=true;
+}else{
+_1f.pop();
+}
+}
+for(var j=0;j<_1e.length;j++){
+if(ret.charAt(0)=="\n"){
+ret=ret.substr(1);
+}
+while(ret.indexOf(_1e[j])==0){
+ret=ret.substr(_1e[j].length);
+}
+}
+for(var j=_1f.length-1;j>=0;j--){
+if(str.lastIndexOf(_1f[j])==(str.length-_1f[j].length-1)){
+str=str.substring(0,str.lastIndexOf(_1f[j]));
+}else{
+str+="</"+_1f[j]+">";
+}
+if(ret.length>0){
+ret="<"+_1f[j]+">"+ret;
+}
+}
+for(var j=0;j<_1e.length;j++){
+if(ret.charAt(0)=="\n"){
+ret=ret.substr(1);
+}
+while(ret.indexOf(_1e[j])==0){
+ret=ret.substr(_1e[j].length);
+}
+}
+_16.innerHTML=str;
+_1b.parentNode.removeChild(_1b);
+_1b=null;
+return ret;
+};

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/metrics.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/metrics.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/html/metrics.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message