tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r618461 [13/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/AdapterRegistry.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/AdapterRegistry.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/AdapterRegistry.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/AdapterRegistry.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,31 @@
+dojo.provide("dojo.AdapterRegistry");
+dojo.require("dojo.lang.func");
+dojo.AdapterRegistry=function(_1){
+this.pairs=[];
+this.returnWrappers=_1||false;
+};
+dojo.lang.extend(dojo.AdapterRegistry,{register:function(_2,_3,_4,_5,_6){
+var _7=(_6)?"unshift":"push";
+this.pairs[_7]([_2,_3,_4,_5]);
+},match:function(){
+for(var i=0;i<this.pairs.length;i++){
+var _9=this.pairs[i];
+if(_9[1].apply(this,arguments)){
+if((_9[3])||(this.returnWrappers)){
+return _9[2];
+}else{
+return _9[2].apply(this,arguments);
+}
+}
+}
+throw new Error("No match found");
+},unregister:function(_a){
+for(var i=0;i<this.pairs.length;i++){
+var _c=this.pairs[i];
+if(_c[0]==_a){
+this.pairs.splice(i,1);
+return true;
+}
+}
+return false;
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/Deferred.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/Deferred.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/Deferred.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/Deferred.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,152 @@
+dojo.provide("dojo.Deferred");
+dojo.require("dojo.lang.func");
+dojo.Deferred=function(_1){
+this.chain=[];
+this.id=this._nextId();
+this.fired=-1;
+this.paused=0;
+this.results=[null,null];
+this.canceller=_1;
+this.silentlyCancelled=false;
+};
+dojo.lang.extend(dojo.Deferred,{getFunctionFromArgs:function(){
+var a=arguments;
+if((a[0])&&(!a[1])){
+if(dojo.lang.isFunction(a[0])){
+return a[0];
+}else{
+if(dojo.lang.isString(a[0])){
+return dj_global[a[0]];
+}
+}
+}else{
+if((a[0])&&(a[1])){
+return dojo.lang.hitch(a[0],a[1]);
+}
+}
+return null;
+},makeCalled:function(){
+var _3=new dojo.Deferred();
+_3.callback();
+return _3;
+},repr:function(){
+var _4;
+if(this.fired==-1){
+_4="unfired";
+}else{
+if(this.fired==0){
+_4="success";
+}else{
+_4="error";
+}
+}
+return "Deferred("+this.id+", "+_4+")";
+},toString:dojo.lang.forward("repr"),_nextId:(function(){
+var n=1;
+return function(){
+return n++;
+};
+})(),cancel:function(){
+if(this.fired==-1){
+if(this.canceller){
+this.canceller(this);
+}else{
+this.silentlyCancelled=true;
+}
+if(this.fired==-1){
+this.errback(new Error(this.repr()));
+}
+}else{
+if((this.fired==0)&&(this.results[0] instanceof dojo.Deferred)){
+this.results[0].cancel();
+}
+}
+},_pause:function(){
+this.paused++;
+},_unpause:function(){
+this.paused--;
+if((this.paused==0)&&(this.fired>=0)){
+this._fire();
+}
+},_continue:function(_6){
+this._resback(_6);
+this._unpause();
+},_resback:function(_7){
+this.fired=((_7 instanceof Error)?1:0);
+this.results[this.fired]=_7;
+this._fire();
+},_check:function(){
+if(this.fired!=-1){
+if(!this.silentlyCancelled){
+dojo.raise("already called!");
+}
+this.silentlyCancelled=false;
+return;
+}
+},callback:function(_8){
+this._check();
+this._resback(_8);
+},errback:function(_9){
+this._check();
+if(!(_9 instanceof Error)){
+_9=new Error(_9);
+}
+this._resback(_9);
+},addBoth:function(cb,_b){
+var _c=this.getFunctionFromArgs(cb,_b);
+if(arguments.length>2){
+_c=dojo.lang.curryArguments(null,_c,arguments,2);
+}
+return this.addCallbacks(_c,_c);
+},addCallback:function(cb,_e){
+var _f=this.getFunctionFromArgs(cb,_e);
+if(arguments.length>2){
+_f=dojo.lang.curryArguments(null,_f,arguments,2);
+}
+return this.addCallbacks(_f,null);
+},addErrback:function(cb,_11){
+var _12=this.getFunctionFromArgs(cb,_11);
+if(arguments.length>2){
+_12=dojo.lang.curryArguments(null,_12,arguments,2);
+}
+return this.addCallbacks(null,_12);
+return this.addCallbacks(null,_11);
+},addCallbacks:function(cb,eb){
+this.chain.push([cb,eb]);
+if(this.fired>=0){
+this._fire();
+}
+return this;
+},_fire:function(){
+var _15=this.chain;
+var _16=this.fired;
+var res=this.results[_16];
+var _18=this;
+var cb=null;
+while(_15.length>0&&this.paused==0){
+var _1a=_15.shift();
+var f=_1a[_16];
+if(f==null){
+continue;
+}
+try{
+res=f(res);
+_16=((res instanceof Error)?1:0);
+if(res instanceof dojo.Deferred){
+cb=function(res){
+_18._continue(res);
+};
+this._pause();
+}
+}
+catch(err){
+_16=1;
+res=err;
+}
+}
+this.fired=_16;
+this.results[_16]=res;
+if((cb)&&(this.paused)){
+res.addBoth(cb);
+}
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/DeferredList.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/DeferredList.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/DeferredList.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/DeferredList.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,64 @@
+dojo.require("dojo.Deferred");
+dojo.provide("dojo.DeferredList");
+dojo.DeferredList=function(_1,_2,_3,_4,_5){
+this.list=_1;
+this.resultList=new Array(this.list.length);
+this.chain=[];
+this.id=this._nextId();
+this.fired=-1;
+this.paused=0;
+this.results=[null,null];
+this.canceller=_5;
+this.silentlyCancelled=false;
+if(this.list.length===0&&!_2){
+this.callback(this.resultList);
+}
+this.finishedCount=0;
+this.fireOnOneCallback=_2;
+this.fireOnOneErrback=_3;
+this.consumeErrors=_4;
+var _6=0;
+var _7=this;
+dojo.lang.forEach(this.list,function(d){
+var _9=_6;
+d.addCallback(function(r){
+_7._cbDeferred(_9,true,r);
+});
+d.addErrback(function(r){
+_7._cbDeferred(_9,false,r);
+});
+_6++;
+});
+};
+dojo.inherits(dojo.DeferredList,dojo.Deferred);
+dojo.lang.extend(dojo.DeferredList,{_cbDeferred:function(_c,_d,_e){
+this.resultList[_c]=[_d,_e];
+this.finishedCount+=1;
+if(this.fired!==0){
+if(_d&&this.fireOnOneCallback){
+this.callback([_c,_e]);
+}else{
+if(!_d&&this.fireOnOneErrback){
+this.errback(_e);
+}else{
+if(this.finishedCount==this.list.length){
+this.callback(this.resultList);
+}
+}
+}
+}
+if(!_d&&this.consumeErrors){
+_e=null;
+}
+return _e;
+},gatherResults:function(_f){
+var d=new dojo.DeferredList(_f,false,true,false);
+d.addCallback(function(_11){
+var ret=[];
+for(var i=0;i<_11.length;i++){
+ret.push(_11[i][1]);
+}
+return ret;
+});
+return d;
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/a11y.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/a11y.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/a11y.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/a11y.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,41 @@
+dojo.provide("dojo.a11y");
+dojo.require("dojo.uri.*");
+dojo.require("dojo.html.common");
+dojo.a11y={imgPath:dojo.uri.moduleUri("dojo.widget","templates/images"),doAccessibleCheck:true,accessible:null,checkAccessible:function(){
+if(this.accessible===null){
+this.accessible=false;
+if(this.doAccessibleCheck==true){
+this.accessible=this.testAccessible();
+}
+}
+return this.accessible;
+},testAccessible:function(){
+this.accessible=false;
+if(dojo.render.html.ie||dojo.render.html.mozilla){
+var _1=document.createElement("div");
+_1.style.backgroundImage="url(\""+this.imgPath+"/tab_close.gif\")";
+dojo.body().appendChild(_1);
+var _2=null;
+if(window.getComputedStyle){
+var _3=getComputedStyle(_1,"");
+_2=_3.getPropertyValue("background-image");
+}else{
+_2=_1.currentStyle.backgroundImage;
+}
+var _4=false;
+if(_2!=null&&(_2=="none"||_2=="url(invalid-url:)")){
+this.accessible=true;
+}
+dojo.body().removeChild(_1);
+}
+return this.accessible;
+},setCheckAccessible:function(_5){
+this.doAccessibleCheck=_5;
+},setAccessibleMode:function(){
+if(this.accessible===null){
+if(this.checkAccessible()){
+dojo.render.html.prefixes.unshift("a11y");
+}
+}
+return this.accessible;
+}};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,3 @@
+dojo.provide("dojo.animation");
+dojo.require("dojo.animation.Animation");
+dojo.deprecated("dojo.animation is slated for removal in 0.5; use dojo.lfx instead.","0.5");

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/Animation.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/Animation.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/Animation.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/Animation.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,167 @@
+dojo.provide("dojo.animation.Animation");
+dojo.require("dojo.animation.AnimationEvent");
+dojo.require("dojo.lang.func");
+dojo.require("dojo.math");
+dojo.require("dojo.math.curves");
+dojo.deprecated("dojo.animation.Animation is slated for removal in 0.5; use dojo.lfx.* instead.","0.5");
+dojo.animation.Animation=function(_1,_2,_3,_4,_5){
+if(dojo.lang.isArray(_1)){
+_1=new dojo.math.curves.Line(_1[0],_1[1]);
+}
+this.curve=_1;
+this.duration=_2;
+this.repeatCount=_4||0;
+this.rate=_5||25;
+if(_3){
+if(dojo.lang.isFunction(_3.getValue)){
+this.accel=_3;
+}else{
+var i=0.35*_3+0.5;
+this.accel=new dojo.math.curves.CatmullRom([[0],[i],[1]],0.45);
+}
+}
+};
+dojo.lang.extend(dojo.animation.Animation,{curve:null,duration:0,repeatCount:0,accel:null,onBegin:null,onAnimate:null,onEnd:null,onPlay:null,onPause:null,onStop:null,handler:null,_animSequence:null,_startTime:null,_endTime:null,_lastFrame:null,_timer:null,_percent:0,_active:false,_paused:false,_startRepeatCount:0,play:function(_7){
+if(_7){
+clearTimeout(this._timer);
+this._active=false;
+this._paused=false;
+this._percent=0;
+}else{
+if(this._active&&!this._paused){
+return;
+}
+}
+this._startTime=new Date().valueOf();
+if(this._paused){
+this._startTime-=(this.duration*this._percent/100);
+}
+this._endTime=this._startTime+this.duration;
+this._lastFrame=this._startTime;
+var e=new dojo.animation.AnimationEvent(this,null,this.curve.getValue(this._percent),this._startTime,this._startTime,this._endTime,this.duration,this._percent,0);
+this._active=true;
+this._paused=false;
+if(this._percent==0){
+if(!this._startRepeatCount){
+this._startRepeatCount=this.repeatCount;
+}
+e.type="begin";
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onBegin=="function"){
+this.onBegin(e);
+}
+}
+e.type="play";
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onPlay=="function"){
+this.onPlay(e);
+}
+if(this._animSequence){
+this._animSequence._setCurrent(this);
+}
+this._cycle();
+},pause:function(){
+clearTimeout(this._timer);
+if(!this._active){
+return;
+}
+this._paused=true;
+var e=new dojo.animation.AnimationEvent(this,"pause",this.curve.getValue(this._percent),this._startTime,new Date().valueOf(),this._endTime,this.duration,this._percent,0);
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onPause=="function"){
+this.onPause(e);
+}
+},playPause:function(){
+if(!this._active||this._paused){
+this.play();
+}else{
+this.pause();
+}
+},gotoPercent:function(_a,_b){
+clearTimeout(this._timer);
+this._active=true;
+this._paused=true;
+this._percent=_a;
+if(_b){
+this.play();
+}
+},stop:function(_c){
+clearTimeout(this._timer);
+var _d=this._percent/100;
+if(_c){
+_d=1;
+}
+var e=new dojo.animation.AnimationEvent(this,"stop",this.curve.getValue(_d),this._startTime,new Date().valueOf(),this._endTime,this.duration,this._percent);
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onStop=="function"){
+this.onStop(e);
+}
+this._active=false;
+this._paused=false;
+},status:function(){
+if(this._active){
+return this._paused?"paused":"playing";
+}else{
+return "stopped";
+}
+},_cycle:function(){
+clearTimeout(this._timer);
+if(this._active){
+var _f=new Date().valueOf();
+var _10=(_f-this._startTime)/(this._endTime-this._startTime);
+var fps=1000/(_f-this._lastFrame);
+this._lastFrame=_f;
+if(_10>=1){
+_10=1;
+this._percent=100;
+}else{
+this._percent=_10*100;
+}
+if(this.accel&&this.accel.getValue){
+_10=this.accel.getValue(_10);
+}
+var e=new dojo.animation.AnimationEvent(this,"animate",this.curve.getValue(_10),this._startTime,_f,this._endTime,this.duration,this._percent,Math.round(fps));
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onAnimate=="function"){
+this.onAnimate(e);
+}
+if(_10<1){
+this._timer=setTimeout(dojo.lang.hitch(this,"_cycle"),this.rate);
+}else{
+e.type="end";
+this._active=false;
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onEnd=="function"){
+this.onEnd(e);
+}
+if(this.repeatCount>0){
+this.repeatCount--;
+this.play(true);
+}else{
+if(this.repeatCount==-1){
+this.play(true);
+}else{
+if(this._startRepeatCount){
+this.repeatCount=this._startRepeatCount;
+this._startRepeatCount=0;
+}
+if(this._animSequence){
+this._animSequence._playNext();
+}
+}
+}
+}
+}
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/AnimationEvent.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/AnimationEvent.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/AnimationEvent.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/AnimationEvent.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,24 @@
+dojo.provide("dojo.animation.AnimationEvent");
+dojo.require("dojo.lang.common");
+dojo.deprecated("dojo.animation.AnimationEvent is slated for removal in 0.5; use dojo.lfx.* instead.","0.5");
+dojo.animation.AnimationEvent=function(_1,_2,_3,_4,_5,_6,_7,_8,_9){
+this.type=_2;
+this.animation=_1;
+this.coords=_3;
+this.x=_3[0];
+this.y=_3[1];
+this.z=_3[2];
+this.startTime=_4;
+this.currentTime=_5;
+this.endTime=_6;
+this.duration=_7;
+this.percent=_8;
+this.fps=_9;
+};
+dojo.extend(dojo.animation.AnimationEvent,{coordsAsInts:function(){
+var _a=new Array(this.coords.length);
+for(var i=0;i<this.coords.length;i++){
+_a[i]=Math.round(this.coords[i]);
+}
+return _a;
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/AnimationSequence.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/AnimationSequence.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/AnimationSequence.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/AnimationSequence.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,115 @@
+dojo.provide("dojo.animation.AnimationSequence");
+dojo.require("dojo.animation.AnimationEvent");
+dojo.require("dojo.animation.Animation");
+dojo.deprecated("dojo.animation.AnimationSequence is slated for removal in 0.5; use dojo.lfx.* instead.","0.5");
+dojo.animation.AnimationSequence=function(_1){
+this._anims=[];
+this.repeatCount=_1||0;
+};
+dojo.lang.extend(dojo.animation.AnimationSequence,{repeatCount:0,_anims:[],_currAnim:-1,onBegin:null,onEnd:null,onNext:null,handler:null,add:function(){
+for(var i=0;i<arguments.length;i++){
+this._anims.push(arguments[i]);
+arguments[i]._animSequence=this;
+}
+},remove:function(_3){
+for(var i=0;i<this._anims.length;i++){
+if(this._anims[i]==_3){
+this._anims[i]._animSequence=null;
+this._anims.splice(i,1);
+break;
+}
+}
+},removeAll:function(){
+for(var i=0;i<this._anims.length;i++){
+this._anims[i]._animSequence=null;
+}
+this._anims=[];
+this._currAnim=-1;
+},clear:function(){
+this.removeAll();
+},play:function(_6){
+if(this._anims.length==0){
+return;
+}
+if(_6||!this._anims[this._currAnim]){
+this._currAnim=0;
+}
+if(this._anims[this._currAnim]){
+if(this._currAnim==0){
+var e={type:"begin",animation:this._anims[this._currAnim]};
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onBegin=="function"){
+this.onBegin(e);
+}
+}
+this._anims[this._currAnim].play(_6);
+}
+},pause:function(){
+if(this._anims[this._currAnim]){
+this._anims[this._currAnim].pause();
+}
+},playPause:function(){
+if(this._anims.length==0){
+return;
+}
+if(this._currAnim==-1){
+this._currAnim=0;
+}
+if(this._anims[this._currAnim]){
+this._anims[this._currAnim].playPause();
+}
+},stop:function(){
+if(this._anims[this._currAnim]){
+this._anims[this._currAnim].stop();
+}
+},status:function(){
+if(this._anims[this._currAnim]){
+return this._anims[this._currAnim].status();
+}else{
+return "stopped";
+}
+},_setCurrent:function(_8){
+for(var i=0;i<this._anims.length;i++){
+if(this._anims[i]==_8){
+this._currAnim=i;
+break;
+}
+}
+},_playNext:function(){
+if(this._currAnim==-1||this._anims.length==0){
+return;
+}
+this._currAnim++;
+if(this._anims[this._currAnim]){
+var e={type:"next",animation:this._anims[this._currAnim]};
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onNext=="function"){
+this.onNext(e);
+}
+this._anims[this._currAnim].play(true);
+}else{
+var e={type:"end",animation:this._anims[this._anims.length-1]};
+if(typeof this.handler=="function"){
+this.handler(e);
+}
+if(typeof this.onEnd=="function"){
+this.onEnd(e);
+}
+if(this.repeatCount>0){
+this._currAnim=0;
+this.repeatCount--;
+this._anims[this._currAnim].play(true);
+}else{
+if(this.repeatCount==-1){
+this._currAnim=0;
+this._anims[this._currAnim].play(true);
+}else{
+this._currAnim=-1;
+}
+}
+}
+}});

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

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

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

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

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/__package__.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/__package__.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/__package__.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/animation/__package__.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,3 @@
+dojo.kwCompoundRequire({common:["dojo.animation.AnimationEvent","dojo.animation.Animation","dojo.animation.AnimationSequence"]});
+dojo.provide("dojo.animation.*");
+dojo.deprecated("dojo.Animation.* is slated for removal in 0.5; use dojo.lfx.* instead.","0.5");

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/behavior.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/behavior.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/behavior.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/behavior.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,137 @@
+dojo.provide("dojo.behavior");
+dojo.require("dojo.event.*");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.behavior");
+dojo.behavior=new function(){
+function arrIn(_1,_2){
+if(!_1[_2]){
+_1[_2]=[];
+}
+return _1[_2];
+}
+function forIn(_3,_4,_5){
+var _6={};
+for(var x in _3){
+if(typeof _6[x]=="undefined"){
+if(!_5){
+_4(_3[x],x);
+}else{
+_5.call(_4,_3[x],x);
+}
+}
+}
+}
+this.behaviors={};
+this.add=function(_8){
+var _9={};
+forIn(_8,this,function(_a,_b){
+var _c=arrIn(this.behaviors,_b);
+if((dojo.lang.isString(_a))||(dojo.lang.isFunction(_a))){
+_a={found:_a};
+}
+forIn(_a,function(_d,_e){
+arrIn(_c,_e).push(_d);
+});
+});
+};
+this.apply=function(){
+dojo.profile.start("dojo.behavior.apply");
+var r=dojo.render.html;
+var _10=(!r.safari);
+if(r.safari){
+var uas=r.UA.split("AppleWebKit/")[1];
+if(parseInt(uas.match(/[0-9.]{3,}/))>=420){
+_10=true;
+}
+}
+if((dj_undef("behaviorFastParse",djConfig)?(_10):djConfig["behaviorFastParse"])){
+this.applyFast();
+}else{
+this.applySlow();
+}
+dojo.profile.end("dojo.behavior.apply");
+};
+this.matchCache={};
+this.elementsById=function(id,_13){
+var _14=[];
+var _15=[];
+arrIn(this.matchCache,id);
+if(_13){
+var _16=this.matchCache[id];
+for(var x=0;x<_16.length;x++){
+if(_16[x].id!=""){
+_14.push(_16[x]);
+_16.splice(x,1);
+x--;
+}
+}
+}
+var _18=dojo.byId(id);
+while(_18){
+if(!_18["idcached"]){
+_15.push(_18);
+}
+_18.id="";
+_18=dojo.byId(id);
+}
+this.matchCache[id]=this.matchCache[id].concat(_15);
+dojo.lang.forEach(this.matchCache[id],function(_19){
+_19.id=id;
+_19.idcached=true;
+});
+return {"removed":_14,"added":_15,"match":this.matchCache[id]};
+};
+this.applyToNode=function(_1a,_1b,_1c){
+if(typeof _1b=="string"){
+dojo.event.topic.registerPublisher(_1b,_1a,_1c);
+}else{
+if(typeof _1b=="function"){
+if(_1c=="found"){
+_1b(_1a);
+}else{
+dojo.event.connect(_1a,_1c,_1b);
+}
+}else{
+_1b.srcObj=_1a;
+_1b.srcFunc=_1c;
+dojo.event.kwConnect(_1b);
+}
+}
+};
+this.applyFast=function(){
+dojo.profile.start("dojo.behavior.applyFast");
+forIn(this.behaviors,function(_1d,id){
+var _1f=dojo.behavior.elementsById(id);
+dojo.lang.forEach(_1f.added,function(_20){
+forIn(_1d,function(_21,_22){
+if(dojo.lang.isArray(_21)){
+dojo.lang.forEach(_21,function(_23){
+dojo.behavior.applyToNode(_20,_23,_22);
+});
+}
+});
+});
+});
+dojo.profile.end("dojo.behavior.applyFast");
+};
+this.applySlow=function(){
+dojo.profile.start("dojo.behavior.applySlow");
+var all=document.getElementsByTagName("*");
+var _25=all.length;
+for(var x=0;x<_25;x++){
+var _27=all[x];
+if((_27.id)&&(!_27["behaviorAdded"])&&(this.behaviors[_27.id])){
+_27["behaviorAdded"]=true;
+forIn(this.behaviors[_27.id],function(_28,_29){
+if(dojo.lang.isArray(_28)){
+dojo.lang.forEach(_28,function(_2a){
+dojo.behavior.applyToNode(_27,_2a,_29);
+});
+}
+});
+}
+}
+dojo.profile.end("dojo.behavior.applySlow");
+};
+};
+dojo.addOnLoad(dojo.behavior,"apply");

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/bootstrap1.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/bootstrap1.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/bootstrap1.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/bootstrap1.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,147 @@
+var dj_global=this;
+var dj_currentContext=this;
+function dj_undef(_1,_2){
+return (typeof (_2||dj_currentContext)[_1]=="undefined");
+}
+if(dj_undef("djConfig",this)){
+var djConfig={};
+}
+if(dj_undef("dojo",this)){
+var dojo={};
+}
+dojo.global=function(){
+return dj_currentContext;
+};
+dojo.locale=djConfig.locale;
+dojo.version={major:0,minor:4,patch:3,flag:"+",revision:Number("$Rev$".match(/[0-9]+/)[0]),toString:function(){
+with(dojo.version){
+return major+"."+minor+"."+patch+flag+" ("+revision+")";
+}
+}};
+dojo.evalProp=function(_3,_4,_5){
+if((!_4)||(!_3)){
+return undefined;
+}
+if(!dj_undef(_3,_4)){
+return _4[_3];
+}
+return (_5?(_4[_3]={}):undefined);
+};
+dojo.parseObjPath=function(_6,_7,_8){
+var _9=(_7||dojo.global());
+var _a=_6.split(".");
+var _b=_a.pop();
+for(var i=0,l=_a.length;i<l&&_9;i++){
+_9=dojo.evalProp(_a[i],_9,_8);
+}
+return {obj:_9,prop:_b};
+};
+dojo.evalObjPath=function(_e,_f){
+if(typeof _e!="string"){
+return dojo.global();
+}
+if(_e.indexOf(".")==-1){
+return dojo.evalProp(_e,dojo.global(),_f);
+}
+var ref=dojo.parseObjPath(_e,dojo.global(),_f);
+if(ref){
+return dojo.evalProp(ref.prop,ref.obj,_f);
+}
+return null;
+};
+dojo.errorToString=function(_11){
+if(!dj_undef("message",_11)){
+return _11.message;
+}else{
+if(!dj_undef("description",_11)){
+return _11.description;
+}else{
+return _11;
+}
+}
+};
+dojo.raise=function(_12,_13){
+if(_13){
+_12=_12+": "+dojo.errorToString(_13);
+}else{
+_12=dojo.errorToString(_12);
+}
+try{
+if(djConfig.isDebug){
+dojo.hostenv.println("FATAL exception raised: "+_12);
+}
+}
+catch(e){
+}
+throw _13||Error(_12);
+};
+dojo.debug=function(){
+};
+dojo.debugShallow=function(obj){
+};
+dojo.profile={start:function(){
+},end:function(){
+},stop:function(){
+},dump:function(){
+}};
+function dj_eval(_15){
+return dj_global.eval?dj_global.eval(_15):eval(_15);
+}
+dojo.unimplemented=function(_16,_17){
+var _18="'"+_16+"' not implemented";
+if(_17!=null){
+_18+=" "+_17;
+}
+dojo.raise(_18);
+};
+dojo.deprecated=function(_19,_1a,_1b){
+var _1c="DEPRECATED: "+_19;
+if(_1a){
+_1c+=" "+_1a;
+}
+if(_1b){
+_1c+=" -- will be removed in version: "+_1b;
+}
+dojo.debug(_1c);
+};
+dojo.render=(function(){
+function vscaffold(_1d,_1e){
+var tmp={capable:false,support:{builtin:false,plugin:false},prefixes:_1d};
+for(var i=0;i<_1e.length;i++){
+tmp[_1e[i]]=false;
+}
+return tmp;
+}
+return {name:"",ver:dojo.version,os:{win:false,linux:false,osx:false},html:vscaffold(["html"],["ie","opera","khtml","safari","moz"]),svg:vscaffold(["svg"],["corel","adobe","batik"]),vml:vscaffold(["vml"],["ie"]),swf:vscaffold(["Swf","Flash","Mm"],["mm"]),swt:vscaffold(["Swt"],["ibm"])};
+})();
+dojo.hostenv=(function(){
+var _21={isDebug:false,allowQueryConfig:false,baseScriptUri:"",baseRelativePath:"",libraryScriptUri:"",iePreventClobber:false,ieClobberMinimal:true,preventBackButtonFix:true,delayMozLoadingFix:false,searchIds:[],parseWidgets:true};
+if(typeof djConfig=="undefined"){
+djConfig=_21;
+}else{
+for(var _22 in _21){
+if(typeof djConfig[_22]=="undefined"){
+djConfig[_22]=_21[_22];
+}
+}
+}
+return {name_:"(unset)",version_:"(unset)",getName:function(){
+return this.name_;
+},getVersion:function(){
+return this.version_;
+},getText:function(uri){
+dojo.unimplemented("getText","uri="+uri);
+}};
+})();
+dojo.hostenv.getBaseScriptUri=function(){
+if(djConfig.baseScriptUri.length){
+return djConfig.baseScriptUri;
+}
+var uri=new String(djConfig.libraryScriptUri||djConfig.baseRelativePath);
+if(!uri){
+dojo.raise("Nothing returned by getLibraryScriptUri(): "+uri);
+}
+var _25=uri.lastIndexOf("/");
+djConfig.baseScriptUri=djConfig.baseRelativePath;
+return djConfig.baseScriptUri;
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/browser_debug.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/browser_debug.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/browser_debug.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/browser_debug.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,122 @@
+dojo.provide("dojo.browser_debug");
+dojo.hostenv.loadedUris.push("../src/bootstrap1.js");
+dojo.hostenv.loadedUris.push("../src/loader.js");
+dojo.hostenv.loadedUris.push("../src/hostenv_browser.js");
+dojo.hostenv._loadedUrisListStart=dojo.hostenv.loadedUris.length;
+function removeComments(_1){
+_1=new String((!_1)?"":_1);
+_1=_1.replace(/^(.*?)\/\/(.*)$/mg,"$1");
+_1=_1.replace(/(\n)/mg,"__DOJONEWLINE");
+_1=_1.replace(/\/\*(.*?)\*\//g,"");
+return _1.replace(/__DOJONEWLINE/mg,"\n");
+}
+dojo.hostenv.getRequiresAndProvides=function(_2){
+if(!_2){
+return [];
+}
+var _3=[];
+var _4;
+RegExp.lastIndex=0;
+var _5=/dojo.(hostenv.loadModule|hostenv.require|require|requireIf|kwCompoundRequire|hostenv.conditionalLoadModule|hostenv.startPackage|provide)\([\w\W]*?\)/mg;
+while((_4=_5.exec(_2))!=null){
+_3.push(_4[0]);
+}
+return _3;
+};
+dojo.hostenv.getDelayRequiresAndProvides=function(_6){
+if(!_6){
+return [];
+}
+var _7=[];
+var _8;
+RegExp.lastIndex=0;
+var _9=/dojo.(requireAfterIf)\([\w\W]*?\)/mg;
+while((_8=_9.exec(_6))!=null){
+_7.push(_8[0]);
+}
+return _7;
+};
+dojo.clobberLastObject=function(_a){
+if(_a.indexOf(".")==-1){
+if(!dj_undef(_a,dj_global)){
+delete dj_global[_a];
+}
+return true;
+}
+var _b=_a.split(/\./);
+var _c=dojo.evalObjPath(_b.slice(0,-1).join("."),false);
+var _d=_b[_b.length-1];
+if(!dj_undef(_d,_c)){
+delete _c[_d];
+return true;
+}
+return false;
+};
+var removals=[];
+function zip(_e){
+var _f=[];
+var _10={};
+for(var x=0;x<_e.length;x++){
+if(!_10[_e[x]]){
+_f.push(_e[x]);
+_10[_e[x]]=true;
+}
+}
+return _f;
+}
+var old_dj_eval=dj_eval;
+dj_eval=function(){
+return true;
+};
+dojo.hostenv.oldLoadUri=dojo.hostenv.loadUri;
+dojo.hostenv.loadUri=function(uri,cb){
+if(dojo.hostenv.loadedUris[uri]){
+return true;
+}
+try{
+var _14=this.getText(uri,null,true);
+if(!_14){
+return false;
+}
+if(cb){
+var _15=old_dj_eval("("+_14+")");
+cb(_15);
+}else{
+var _16=dojo.hostenv.getRequiresAndProvides(_14);
+eval(_16.join(";"));
+dojo.hostenv.loadedUris.push(uri);
+dojo.hostenv.loadedUris[uri]=true;
+var _17=dojo.hostenv.getDelayRequiresAndProvides(_14);
+eval(_17.join(";"));
+}
+}
+catch(e){
+alert(e);
+}
+return true;
+};
+dojo.hostenv._writtenIncludes={};
+dojo.hostenv.writeIncludes=function(_18){
+for(var x=removals.length-1;x>=0;x--){
+dojo.clobberLastObject(removals[x]);
+}
+var _1a=[];
+var _1b=dojo.hostenv._writtenIncludes;
+for(var x=0;x<dojo.hostenv.loadedUris.length;x++){
+var _1c=dojo.hostenv.loadedUris[x];
+if(!_1b[_1c]){
+_1b[_1c]=true;
+_1a.push(_1c);
+}
+}
+dojo.hostenv._global_omit_module_check=true;
+for(var x=dojo.hostenv._loadedUrisListStart;x<_1a.length;x++){
+document.write("<script type='text/javascript' src='"+_1a[x]+"'></script>");
+}
+document.write("<script type='text/javascript'>dojo.hostenv._global_omit_module_check = false;</script>");
+dojo.hostenv._loadedUrisListStart=0;
+if(!_18){
+dj_eval=old_dj_eval;
+dojo.hostenv.loadUri=dojo.hostenv.oldLoadUri;
+}
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/browser_debug_xd.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/browser_debug_xd.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/browser_debug_xd.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/browser_debug_xd.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,25 @@
+dojo.provide("dojo.browser_debug_xd");
+dojo.nonDebugProvide=dojo.provide;
+dojo.provide=function(_1){
+var _2=dojo.hostenv["xdDebugQueue"];
+if(_2&&_2.length>0&&_1==_2["currentResourceName"]){
+window.setTimeout("dojo.hostenv.xdDebugFileLoaded('"+_1+"')",1);
+}
+dojo.nonDebugProvide.apply(dojo,arguments);
+};
+dojo.hostenv.xdDebugFileLoaded=function(_3){
+var _4=this.xdDebugQueue;
+if(_3&&_3==_4.currentResourceName){
+_4.shift();
+}
+if(_4.length==0){
+_4.currentResourceName=null;
+this.xdNotifyLoaded();
+}else{
+_4.currentResourceName=_4[0].resourceName;
+var _5=document.createElement("script");
+_5.type="text/javascript";
+_5.src=_4[0].resourcePath;
+document.getElementsByTagName("head")[0].appendChild(_5);
+}
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/cal/iCalendar.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/cal/iCalendar.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/cal/iCalendar.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/cal/iCalendar.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,554 @@
+dojo.provide("dojo.cal.iCalendar");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.cal.textDirectory");
+dojo.require("dojo.date.common");
+dojo.require("dojo.date.serialize");
+dojo.cal.iCalendar.fromText=function(_1){
+var _2=dojo.cal.textDirectory.tokenise(_1);
+var _3=[];
+for(var i=0,_5=false;i<_2.length;i++){
+var _6=_2[i];
+if(!_5){
+if(_6.name=="BEGIN"&&_6.value=="VCALENDAR"){
+_5=true;
+var _7=[];
+}
+}else{
+if(_6.name=="END"&&_6.value=="VCALENDAR"){
+_3.push(new dojo.cal.iCalendar.VCalendar(_7));
+_5=false;
+}else{
+_7.push(_6);
+}
+}
+}
+return _3;
+};
+dojo.cal.iCalendar.Component=function(_8){
+if(!this.name){
+this.name="COMPONENT";
+}
+this.properties=[];
+this.components=[];
+if(_8){
+for(var i=0,_a="";i<_8.length;i++){
+if(_a==""){
+if(_8[i].name=="BEGIN"){
+_a=_8[i].value;
+var _b=[];
+}else{
+this.addProperty(new dojo.cal.iCalendar.Property(_8[i]));
+}
+}else{
+if(_8[i].name=="END"&&_8[i].value==_a){
+if(_a=="VEVENT"){
+this.addComponent(new dojo.cal.iCalendar.VEvent(_b));
+}else{
+if(_a=="VTIMEZONE"){
+this.addComponent(new dojo.cal.iCalendar.VTimeZone(_b));
+}else{
+if(_a=="VTODO"){
+this.addComponent(new dojo.cal.iCalendar.VTodo(_b));
+}else{
+if(_a=="VJOURNAL"){
+this.addComponent(new dojo.cal.iCalendar.VJournal(_b));
+}else{
+if(_a=="VFREEBUSY"){
+this.addComponent(new dojo.cal.iCalendar.VFreeBusy(_b));
+}else{
+if(_a=="STANDARD"){
+this.addComponent(new dojo.cal.iCalendar.Standard(_b));
+}else{
+if(_a=="DAYLIGHT"){
+this.addComponent(new dojo.cal.iCalendar.Daylight(_b));
+}else{
+if(_a=="VALARM"){
+this.addComponent(new dojo.cal.iCalendar.VAlarm(_b));
+}else{
+dojo.unimplemented("dojo.cal.iCalendar."+_a);
+}
+}
+}
+}
+}
+}
+}
+}
+_a="";
+}else{
+_b.push(_8[i]);
+}
+}
+}
+if(this._ValidProperties){
+this.postCreate();
+}
+}
+};
+dojo.extend(dojo.cal.iCalendar.Component,{addProperty:function(_c){
+this.properties.push(_c);
+this[_c.name.toLowerCase()]=_c;
+},addComponent:function(_d){
+this.components.push(_d);
+},postCreate:function(){
+for(var x=0;x<this._ValidProperties.length;x++){
+var _f=this._ValidProperties[x];
+var _10=false;
+for(var y=0;y<this.properties.length;y++){
+var _12=this.properties[y];
+var _13=_12.name.toLowerCase();
+if(dojo.lang.isArray(_f)){
+var _14=false;
+for(var z=0;z<_f.length;z++){
+var _16=_f[z].name.toLowerCase();
+if((this[_16])&&(_16!=_13)){
+_14=true;
+}
+}
+if(!_14){
+this[_13]=_12;
+}
+}else{
+if(_13==_f.name.toLowerCase()){
+_10=true;
+if(_f.occurance==1){
+this[_13]=_12;
+}else{
+_10=true;
+if(!dojo.lang.isArray(this[_13])){
+this[_13]=[];
+}
+this[_13].push(_12);
+}
+}
+}
+}
+if(_f.required&&!_10){
+dojo.debug("iCalendar - "+this.name+": Required Property not found: "+_f.name);
+}
+}
+if(dojo.lang.isArray(this.rrule)){
+for(var x=0;x<this.rrule.length;x++){
+var _17=this.rrule[x].value;
+this.rrule[x].cache=function(){
+};
+var _18=_17.split(";");
+for(var y=0;y<_18.length;y++){
+var _19=_18[y].split("=");
+var key=_19[0].toLowerCase();
+var val=_19[1];
+if((key=="freq")||(key=="interval")||(key=="until")){
+this.rrule[x][key]=val;
+}else{
+var _1c=val.split(",");
+this.rrule[x][key]=_1c;
+}
+}
+}
+this.recurring=true;
+}
+},toString:function(){
+return "[iCalendar.Component; "+this.name+", "+this.properties.length+" properties, "+this.components.length+" components]";
+}});
+dojo.cal.iCalendar.Property=function(_1d){
+this.name=_1d.name;
+this.group=_1d.group;
+this.params=_1d.params;
+this.value=_1d.value;
+};
+dojo.extend(dojo.cal.iCalendar.Property,{toString:function(){
+return "[iCalenday.Property; "+this.name+": "+this.value+"]";
+}});
+var _P=function(n,oc,req){
+return {name:n,required:(req)?true:false,occurance:(oc=="*"||!oc)?-1:oc};
+};
+dojo.cal.iCalendar.VCalendar=function(_21){
+this.name="VCALENDAR";
+this.recurring=[];
+this.nonRecurringEvents=function(){
+};
+dojo.cal.iCalendar.Component.call(this,_21);
+};
+dojo.inherits(dojo.cal.iCalendar.VCalendar,dojo.cal.iCalendar.Component);
+dojo.extend(dojo.cal.iCalendar.VCalendar,{addComponent:function(_22){
+this.components.push(_22);
+if(_22.name.toLowerCase()=="vevent"){
+if(_22.rrule){
+this.recurring.push(_22);
+}else{
+var _23=_22.getDate();
+var _24=_23.getMonth()+1;
+var _25=_24+"-"+_23.getDate()+"-"+_23.getFullYear();
+if(!dojo.lang.isArray(this[_25])){
+this.nonRecurringEvents[_25]=[];
+}
+this.nonRecurringEvents[_25].push(_22);
+}
+}
+},preComputeRecurringEvents:function(_26){
+var _27=function(){
+};
+for(var x=0;x<this.recurring.length;x++){
+var _29=this.recurring[x].getDates(_26);
+for(var y=0;y<_29.length;y++){
+var _2b=_29[y].getMonth()+1;
+var _2c=_2b+"-"+_29[y].getDate()+"-"+_29[y].getFullYear();
+if(!dojo.lang.isArray(_27[_2c])){
+_27[_2c]=[];
+}
+if(!dojo.lang.inArray(_27[_2c],this.recurring[x])){
+_27[_2c].push(this.recurring[x]);
+}
+}
+}
+this.recurringEvents=_27;
+},getEvents:function(_2d){
+var _2e=[];
+var _2f=[];
+var _30=[];
+var _31=_2d.getMonth()+1;
+var _32=_31+"-"+_2d.getDate()+"-"+_2d.getFullYear();
+if(dojo.lang.isArray(this.nonRecurringEvents[_32])){
+_30=this.nonRecurringEvents[_32];
+dojo.debug("Number of nonRecurring Events: "+_30.length);
+}
+if(dojo.lang.isArray(this.recurringEvents[_32])){
+_2f=this.recurringEvents[_32];
+}
+_2e=_2f.concat(_30);
+if(_2e.length>0){
+return _2e;
+}
+return null;
+}});
+var StandardProperties=[_P("dtstart",1,true),_P("tzoffsetto",1,true),_P("tzoffsetfrom",1,true),_P("comment"),_P("rdate"),_P("rrule"),_P("tzname")];
+dojo.cal.iCalendar.Standard=function(_33){
+this.name="STANDARD";
+this._ValidProperties=StandardProperties;
+dojo.cal.iCalendar.Component.call(this,_33);
+};
+dojo.inherits(dojo.cal.iCalendar.Standard,dojo.cal.iCalendar.Component);
+var DaylightProperties=[_P("dtstart",1,true),_P("tzoffsetto",1,true),_P("tzoffsetfrom",1,true),_P("comment"),_P("rdate"),_P("rrule"),_P("tzname")];
+dojo.cal.iCalendar.Daylight=function(_34){
+this.name="DAYLIGHT";
+this._ValidProperties=DaylightProperties;
+dojo.cal.iCalendar.Component.call(this,_34);
+};
+dojo.inherits(dojo.cal.iCalendar.Daylight,dojo.cal.iCalendar.Component);
+var VEventProperties=[_P("class",1),_P("created",1),_P("description",1),_P("dtstart",1),_P("geo",1),_P("last-mod",1),_P("location",1),_P("organizer",1),_P("priority",1),_P("dtstamp",1),_P("seq",1),_P("status",1),_P("summary",1),_P("transp",1),_P("uid",1),_P("url",1),_P("recurid",1),[_P("dtend",1),_P("duration",1)],_P("attach"),_P("attendee"),_P("categories"),_P("comment"),_P("contact"),_P("exdate"),_P("exrule"),_P("rstatus"),_P("related"),_P("resources"),_P("rdate"),_P("rrule")];
+dojo.cal.iCalendar.VEvent=function(_35){
+this._ValidProperties=VEventProperties;
+this.name="VEVENT";
+dojo.cal.iCalendar.Component.call(this,_35);
+this.recurring=false;
+this.startDate=dojo.date.fromIso8601(this.dtstart.value);
+};
+dojo.inherits(dojo.cal.iCalendar.VEvent,dojo.cal.iCalendar.Component);
+dojo.extend(dojo.cal.iCalendar.VEvent,{getDates:function(_36){
+var _37=this.getDate();
+var _38=[];
+var _39=["su","mo","tu","we","th","fr","sa"];
+var _3a={"daily":1,"weekly":2,"monthly":3,"yearly":4,"byday":1,"bymonthday":1,"byweekno":2,"bymonth":3,"byyearday":4};
+for(var x=0;x<this.rrule.length;x++){
+var _3c=this.rrule[x];
+var _3d=_3c.freq.toLowerCase();
+var _3e=1;
+if(_3c.interval>_3e){
+_3e=_3c.interval;
+}
+var set=[];
+var _40=_3a[_3d];
+if(_3c.until){
+var _41=dojo.date.fromIso8601(_3c.until);
+}else{
+var _41=_36;
+}
+if(_41>_36){
+_41=_36;
+}
+if(_37<_41){
+var _42=function(){
+};
+var _43=function(){
+};
+_42.length=0;
+_43.length=0;
+switch(_3d){
+case "yearly":
+var _44=new Date(_37);
+set.push(_44);
+while(_44<_41){
+_44.setYear(_44.getFullYear()+_3e);
+_45=new Date(_44);
+if(_45<_41){
+set.push(_45);
+}
+}
+break;
+case "monthly":
+_44=new Date(_37);
+set.push(_44);
+while(_44<_41){
+_44.setMonth(_44.getMonth()+_3e);
+var _45=new Date(_44);
+if(_45<_41){
+set.push(_45);
+}
+}
+break;
+case "weekly":
+_44=new Date(_37);
+set.push(_44);
+while(_44<_41){
+_44.setDate(_44.getDate()+(7*_3e));
+var _45=new Date(_44);
+if(_45<_41){
+set.push(_45);
+}
+}
+break;
+case "daily":
+_44=new Date(_37);
+set.push(_44);
+while(_44<_41){
+_44.setDate(_44.getDate()+_3e);
+var _45=new Date(_44);
+if(_45<_41){
+set.push(_45);
+}
+}
+break;
+}
+if((_3c["bymonth"])&&(_3a["bymonth"]<_40)){
+for(var z=0;z<_3c["bymonth"].length;z++){
+if(z==0){
+for(var zz=0;zz<set.length;zz++){
+set[zz].setMonth(_3c["bymonth"][z]-1);
+}
+}else{
+var _48=[];
+for(var zz=0;zz<set.length;zz++){
+var _49=new Date(set[zz]);
+_49.setMonth(_3c[z]);
+_48.push(_49);
+}
+tmp=set.concat(_48);
+set=tmp;
+}
+}
+}
+if(_3c["byweekno"]&&!_3c["bymonth"]){
+dojo.debug("TODO: no support for byweekno yet");
+}
+if(_3c["byyearday"]&&!_3c["bymonth"]&&!_3c["byweekno"]){
+if(_3c["byyearday"].length>1){
+var _4b="([+-]?)([0-9]{1,3})";
+for(var z=1;x<_3c["byyearday"].length;z++){
+var _4c=_3c["byyearday"][z].match(_4b);
+if(z==1){
+for(var zz=0;zz<set.length;zz++){
+if(_4c[1]=="-"){
+dojo.date.setDayOfYear(set[zz],366-_4c[2]);
+}else{
+dojo.date.setDayOfYear(set[zz],_4c[2]);
+}
+}
+}else{
+var _48=[];
+for(var zz=0;zz<set.length;zz++){
+var _49=new Date(set[zz]);
+if(_4c[1]=="-"){
+dojo.date.setDayOfYear(_49,366-_4c[2]);
+}else{
+dojo.date.setDayOfYear(_49,_4c[2]);
+}
+_48.push(_49);
+}
+tmp=set.concat(_48);
+set=tmp;
+}
+}
+}
+}
+if(_3c["bymonthday"]&&(_3a["bymonthday"]<_40)){
+if(_3c["bymonthday"].length>0){
+var _4b="([+-]?)([0-9]{1,3})";
+for(var z=0;z<_3c["bymonthday"].length;z++){
+var _4c=_3c["bymonthday"][z].match(_4b);
+if(z==0){
+for(var zz=0;zz<set.length;zz++){
+if(_4c[1]=="-"){
+if(_4c[2]<dojo.date.getDaysInMonth(set[zz])){
+set[zz].setDate(dojo.date.getDaysInMonth(set[zz])-_4c[2]);
+}
+}else{
+if(_4c[2]<dojo.date.getDaysInMonth(set[zz])){
+set[zz].setDate(_4c[2]);
+}
+}
+}
+}else{
+var _48=[];
+for(var zz=0;zz<set.length;zz++){
+var _49=new Date(set[zz]);
+if(_4c[1]=="-"){
+if(_4c[2]<dojo.date.getDaysInMonth(set[zz])){
+_49.setDate(dojo.date.getDaysInMonth(set[zz])-_4c[2]);
+}
+}else{
+if(_4c[2]<dojo.date.getDaysInMonth(set[zz])){
+_49.setDate(_4c[2]);
+}
+}
+_48.push(_49);
+}
+tmp=set.concat(_48);
+set=tmp;
+}
+}
+}
+}
+if(_3c["byday"]&&(_3a["byday"]<_40)){
+if(_3c["bymonth"]){
+if(_3c["byday"].length>0){
+var _4b="([+-]?)([0-9]{0,1}?)([A-Za-z]{1,2})";
+for(var z=0;z<_3c["byday"].length;z++){
+var _4c=_3c["byday"][z].match(_4b);
+var _4d=_4c[2];
+var day=_4c[3].toLowerCase();
+if(z==0){
+for(var zz=0;zz<set.length;zz++){
+if(_4c[1]=="-"){
+var _4f=0;
+var _50=dojo.date.getDaysInMonth(set[zz]);
+var _51=1;
+set[zz].setDate(_50);
+if(_39[set[zz].getDay()]==day){
+_4f++;
+_51=7;
+}
+_51=1;
+while(_4f<_4d){
+set[zz].setDate(set[zz].getDate()-_51);
+if(_39[set[zz].getDay()]==day){
+_4f++;
+_51=7;
+}
+}
+}else{
+if(_4d){
+var _4f=0;
+set[zz].setDate(1);
+var _52=1;
+if(_39[set[zz].getDay()]==day){
+_4f++;
+_52=7;
+}
+while(_4f<_4d){
+set[zz].setDate(set[zz].getDate()+_52);
+if(_39[set[zz].getDay()]==day){
+_4f++;
+_52=7;
+}
+}
+}else{
+var _4f=0;
+var _48=[];
+_50=new Date(set[zz]);
+var _53=dojo.date.getDaysInMonth(set[zz]);
+_50.setDate(_53);
+set[zz].setDate(1);
+if(_39[set[zz].getDay()]==day){
+_4f++;
+}
+var _45=new Date(set[zz]);
+_52=1;
+while(_45.getDate()<_50){
+if(_39[_45.getDay()]==day){
+_4f++;
+if(_4f==1){
+set[zz]=_45;
+}else{
+_48.push(_45);
+_45=new Date(_45);
+_52=7;
+_45.setDate(_45.getDate()+_52);
+}
+}else{
+_45.setDate(_45.getDate()+_52);
+}
+}
+var t=set.concat(_48);
+set=t;
+}
+}
+}
+}else{
+var _48=[];
+for(var zz=0;zz<set.length;zz++){
+var _49=new Date(set[zz]);
+if(_4c[1]=="-"){
+if(_4c[2]<dojo.date.getDaysInMonth(set[zz])){
+_49.setDate(dojo.date.getDaysInMonth(set[zz])-_4c[2]);
+}
+}else{
+if(_4c[2]<dojo.date.getDaysInMonth(set[zz])){
+_49.setDate(_4c[2]);
+}
+}
+_48.push(_49);
+}
+tmp=set.concat(_48);
+set=tmp;
+}
+}
+}
+}else{
+dojo.debug("TODO: byday within a yearly rule without a bymonth");
+}
+}
+dojo.debug("TODO: Process BYrules for units larger than frequency");
+var tmp=_38.concat(set);
+_38=tmp;
+}
+}
+_38.push(_37);
+return _38;
+},getDate:function(){
+return dojo.date.fromIso8601(this.dtstart.value);
+}});
+var VTimeZoneProperties=[_P("tzid",1,true),_P("last-mod",1),_P("tzurl",1)];
+dojo.cal.iCalendar.VTimeZone=function(_55){
+this.name="VTIMEZONE";
+this._ValidProperties=VTimeZoneProperties;
+dojo.cal.iCalendar.Component.call(this,_55);
+};
+dojo.inherits(dojo.cal.iCalendar.VTimeZone,dojo.cal.iCalendar.Component);
+var VTodoProperties=[_P("class",1),_P("completed",1),_P("created",1),_P("description",1),_P("dtstart",1),_P("geo",1),_P("last-mod",1),_P("location",1),_P("organizer",1),_P("percent",1),_P("priority",1),_P("dtstamp",1),_P("seq",1),_P("status",1),_P("summary",1),_P("uid",1),_P("url",1),_P("recurid",1),[_P("due",1),_P("duration",1)],_P("attach"),_P("attendee"),_P("categories"),_P("comment"),_P("contact"),_P("exdate"),_P("exrule"),_P("rstatus"),_P("related"),_P("resources"),_P("rdate"),_P("rrule")];
+dojo.cal.iCalendar.VTodo=function(_56){
+this.name="VTODO";
+this._ValidProperties=VTodoProperties;
+dojo.cal.iCalendar.Component.call(this,_56);
+};
+dojo.inherits(dojo.cal.iCalendar.VTodo,dojo.cal.iCalendar.Component);
+var VJournalProperties=[_P("class",1),_P("created",1),_P("description",1),_P("dtstart",1),_P("last-mod",1),_P("organizer",1),_P("dtstamp",1),_P("seq",1),_P("status",1),_P("summary",1),_P("uid",1),_P("url",1),_P("recurid",1),_P("attach"),_P("attendee"),_P("categories"),_P("comment"),_P("contact"),_P("exdate"),_P("exrule"),_P("related"),_P("rstatus"),_P("rdate"),_P("rrule")];
+dojo.cal.iCalendar.VJournal=function(_57){
+this.name="VJOURNAL";
+this._ValidProperties=VJournalProperties;
+dojo.cal.iCalendar.Component.call(this,_57);
+};
+dojo.inherits(dojo.cal.iCalendar.VJournal,dojo.cal.iCalendar.Component);
+var VFreeBusyProperties=[_P("contact"),_P("dtstart",1),_P("dtend"),_P("duration"),_P("organizer",1),_P("dtstamp",1),_P("uid",1),_P("url",1),_P("attendee"),_P("comment"),_P("freebusy"),_P("rstatus")];
+dojo.cal.iCalendar.VFreeBusy=function(_58){
+this.name="VFREEBUSY";
+this._ValidProperties=VFreeBusyProperties;
+dojo.cal.iCalendar.Component.call(this,_58);
+};
+dojo.inherits(dojo.cal.iCalendar.VFreeBusy,dojo.cal.iCalendar.Component);
+var VAlarmProperties=[[_P("action",1,true),_P("trigger",1,true),[_P("duration",1),_P("repeat",1)],_P("attach",1)],[_P("action",1,true),_P("description",1,true),_P("trigger",1,true),[_P("duration",1),_P("repeat",1)]],[_P("action",1,true),_P("description",1,true),_P("trigger",1,true),_P("summary",1,true),_P("attendee","*",true),[_P("duration",1),_P("repeat",1)],_P("attach",1)],[_P("action",1,true),_P("attach",1,true),_P("trigger",1,true),[_P("duration",1),_P("repeat",1)],_P("description",1)]];
+dojo.cal.iCalendar.VAlarm=function(_59){
+this.name="VALARM";
+this._ValidProperties=VAlarmProperties;
+dojo.cal.iCalendar.Component.call(this,_59);
+};
+dojo.inherits(dojo.cal.iCalendar.VAlarm,dojo.cal.iCalendar.Component);

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/cal/textDirectory.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/cal/textDirectory.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/cal/textDirectory.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/cal/textDirectory.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,44 @@
+dojo.provide("dojo.cal.textDirectory");
+dojo.require("dojo.string");
+dojo.cal.textDirectory.Property=function(_1){
+var _2=dojo.string.trim(_1.substring(0,_1.indexOf(":")));
+var _3=dojo.string.trim(_1.substr(_1.indexOf(":")+1));
+var _4=dojo.string.splitEscaped(_2,";");
+this.name=_4[0];
+_4.splice(0,1);
+this.params=[];
+var _5;
+for(var i=0;i<_4.length;i++){
+_5=_4[i].split("=");
+var _7=dojo.string.trim(_5[0].toUpperCase());
+if(_5.length==1){
+this.params.push([_7]);
+continue;
+}
+var _8=dojo.string.splitEscaped(_5[1],",");
+for(var j=0;j<_8.length;j++){
+if(dojo.string.trim(_8[j])!=""){
+this.params.push([_7,dojo.string.trim(_8[j])]);
+}
+}
+}
+if(this.name.indexOf(".")>0){
+_5=this.name.split(".");
+this.group=_5[0];
+this.name=_5[1];
+}
+this.value=_3;
+};
+dojo.cal.textDirectory.tokenise=function(_a){
+var _b=dojo.string.normalizeNewlines(_a,"\n").replace(/\n[ \t]/g,"").replace(/\x00/g,"");
+var _c=_b.split("\n");
+var _d=[];
+for(var i=0;i<_c.length;i++){
+if(dojo.string.trim(_c[i])==""){
+continue;
+}
+var _f=new dojo.cal.textDirectory.Property(_c[i]);
+_d.push(_f);
+}
+return _d;
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Axis.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Axis.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Axis.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Axis.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,119 @@
+dojo.provide("dojo.charting.Axis");
+dojo.require("dojo.lang.common");
+dojo.charting.Axis=function(_1,_2,_3){
+var id="dojo-charting-axis-"+dojo.charting.Axis.count++;
+this.getId=function(){
+return id;
+};
+this.setId=function(_5){
+id=_5;
+};
+this.scale=_2||"linear";
+this.label=_1||"";
+this.showLabel=true;
+this.showLabels=true;
+this.showLines=false;
+this.showTicks=false;
+this.range={upper:100,lower:0};
+this.origin="min";
+this._origin=null;
+this.labels=_3||[];
+this._labels=[];
+this.nodes={main:null,axis:null,label:null,labels:null,lines:null,ticks:null};
+this._rerender=false;
+};
+dojo.charting.Axis.count=0;
+dojo.extend(dojo.charting.Axis,{getCoord:function(_6,_7,_8){
+_6=parseFloat(_6,10);
+var _9=_7.getArea();
+if(_8.axisX==this){
+var _a=0-this.range.lower;
+var _b=this.range.lower+_a;
+var _c=this.range.upper+_a;
+_6+=_a;
+return (_6*((_9.right-_9.left)/_c))+_9.left;
+}else{
+var _c=this.range.upper;
+var _b=this.range.lower;
+var _a=0;
+if(_b<0){
+_a+=Math.abs(_b);
+}
+_c+=_a;
+_b+=_a;
+_6+=_a;
+var _d=_9.bottom;
+var _e=_9.top;
+return (((_d-_e)/(_c-_b))*(_c-_6))+_e;
+}
+},initializeOrigin:function(_f,_10){
+if(this._origin==null){
+this._origin=this.origin;
+}
+if(isNaN(this._origin)){
+if(this._origin.toLowerCase()=="max"){
+this.origin=_f.range[(_10=="y")?"upper":"lower"];
+}else{
+if(this._origin.toLowerCase()=="min"){
+this.origin=_f.range[(_10=="y")?"lower":"upper"];
+}else{
+this.origin=0;
+}
+}
+}
+},initializeLabels:function(){
+this._labels=[];
+if(this.labels.length==0){
+this.showLabels=false;
+this.showLines=false;
+this.showTicks=false;
+}else{
+if(this.labels[0].label&&this.labels[0].value!=null){
+for(var i=0;i<this.labels.length;i++){
+this._labels.push(this.labels[i]);
+}
+}else{
+if(!isNaN(this.labels[0])){
+for(var i=0;i<this.labels.length;i++){
+this._labels.push({label:this.labels[i],value:this.labels[i]});
+}
+}else{
+var a=[];
+for(var i=0;i<this.labels.length;i++){
+a.push(this.labels[i]);
+}
+var s=a.shift();
+this._labels.push({label:s,value:this.range.lower});
+if(a.length>0){
+var s=a.pop();
+this._labels.push({label:s,value:this.range.upper});
+}
+if(a.length>0){
+var _14=this.range.upper-this.range.lower;
+var _15=_14/(this.labels.length-1);
+for(var i=1;i<=a.length;i++){
+this._labels.push({label:a[i-1],value:this.range.lower+(_15*i)});
+}
+}
+}
+}
+}
+},initialize:function(_16,_17,_18,_19){
+this.destroy();
+this.initializeOrigin(_18,_19);
+this.initializeLabels();
+var _1a=this.render(_16,_17,_18,_19);
+return _1a;
+},destroy:function(){
+for(var p in this.nodes){
+while(this.nodes[p]&&this.nodes[p].childNodes.length>0){
+this.nodes[p].removeChild(this.nodes[p].childNodes[0]);
+}
+if(this.nodes[p]&&this.nodes[p].parentNode){
+this.nodes[p].parentNode.removeChild(this.nodes[p]);
+}
+this.nodes[p]=null;
+}
+}});
+dojo.requireIf(dojo.render.svg.capable,"dojo.charting.svg.Axis");
+dojo.requireIf(dojo.render.vml.capable,"dojo.charting.vml.Axis");

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Chart.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Chart.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Chart.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Chart.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,51 @@
+dojo.provide("dojo.charting.Chart");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.charting.PlotArea");
+dojo.charting.Chart=function(_1,_2,_3){
+this.node=_1||null;
+this.title=_2||"Chart";
+this.description=_3||"";
+this.plotAreas=[];
+};
+dojo.extend(dojo.charting.Chart,{addPlotArea:function(_4,_5){
+if(_4.x!=null&&_4.left==null){
+_4.left=_4.x;
+}
+if(_4.y!=null&&_4.top==null){
+_4.top=_4.y;
+}
+this.plotAreas.push(_4);
+if(_5){
+this.render();
+}
+},onInitialize:function(_6){
+},onRender:function(_7){
+},onDestroy:function(_8){
+},initialize:function(){
+if(!this.node){
+dojo.raise("dojo.charting.Chart.initialize: there must be a root node defined for the Chart.");
+}
+this.destroy();
+this.render();
+this.onInitialize(this);
+},render:function(){
+if(this.node.style.position!="absolute"){
+this.node.style.position="relative";
+}
+for(var i=0;i<this.plotAreas.length;i++){
+var _a=this.plotAreas[i].plotArea;
+var _b=_a.initialize();
+_b.style.position="absolute";
+_b.style.top=this.plotAreas[i].top+"px";
+_b.style.left=this.plotAreas[i].left+"px";
+this.node.appendChild(_b);
+_a.render();
+}
+},destroy:function(){
+for(var i=0;i<this.plotAreas.length;i++){
+this.plotAreas[i].plotArea.destroy();
+}
+while(this.node&&this.node.childNodes&&this.node.childNodes.length>0){
+this.node.removeChild(this.node.childNodes[0]);
+}
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Plot.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Plot.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Plot.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Plot.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,69 @@
+dojo.provide("dojo.charting.Plot");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.charting.Axis");
+dojo.require("dojo.charting.Series");
+dojo.charting.RenderPlotSeries={Singly:"single",Grouped:"grouped"};
+dojo.charting.Plot=function(_1,_2,_3){
+var id="dojo-charting-plot-"+dojo.charting.Plot.count++;
+this.getId=function(){
+return id;
+};
+this.setId=function(_5){
+id=_5;
+};
+this.axisX=null;
+this.axisY=null;
+this.series=[];
+this.dataNode=null;
+this.renderType=dojo.charting.RenderPlotSeries.Singly;
+if(_1){
+this.setAxis(_1,"x");
+}
+if(_2){
+this.setAxis(_2,"y");
+}
+if(_3){
+for(var i=0;i<_3.length;i++){
+this.addSeries(_3[i]);
+}
+}
+};
+dojo.charting.Plot.count=0;
+dojo.extend(dojo.charting.Plot,{addSeries:function(_7,_8){
+if(_7.plotter){
+this.series.push(_7);
+}else{
+this.series.push({data:_7,plotter:_8||dojo.charting.Plotters["Default"]});
+}
+},setAxis:function(_9,_a){
+if(_a.toLowerCase()=="x"){
+this.axisX=_9;
+}else{
+if(_a.toLowerCase()=="y"){
+this.axisY=_9;
+}
+}
+},getRanges:function(){
+var _b,_c,_d,_e;
+_b=_d=Number.MAX_VALUE;
+_c=_e=Number.MIN_VALUE;
+for(var i=0;i<this.series.length;i++){
+var _10=this.series[i].data.evaluate();
+for(var j=0;j<_10.length;j++){
+var _12=_10[j];
+_b=Math.min(_12.x,_b);
+_d=Math.min(_12.y,_d);
+_c=Math.max(_12.x,_c);
+_e=Math.max(_12.y,_e);
+}
+}
+return {x:{upper:_c,lower:_b},y:{upper:_e,lower:_d},toString:function(){
+return "[ x:"+_c+" - "+_b+", y:"+_e+" - "+_d+"]";
+}};
+},destroy:function(){
+var _13=this.dataNode;
+while(_13&&_13.childNodes&&_13.childNodes.length>0){
+_13.removeChild(_13.childNodes[0]);
+}
+this.dataNode=null;
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/PlotArea.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/PlotArea.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/PlotArea.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/PlotArea.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,124 @@
+dojo.provide("dojo.charting.PlotArea");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.gfx.color");
+dojo.require("dojo.gfx.color.hsl");
+dojo.require("dojo.charting.Plot");
+dojo.charting.PlotArea=function(){
+var id="dojo-charting-plotarea-"+dojo.charting.PlotArea.count++;
+this.getId=function(){
+return id;
+};
+this.setId=function(_2){
+id=_2;
+};
+this.areaType="standard";
+this.plots=[];
+this.size={width:600,height:400};
+this.padding={top:10,right:10,bottom:20,left:20};
+this.nodes={main:null,area:null,background:null,axes:null,plots:null};
+this._color={h:140,s:120,l:120,step:27};
+};
+dojo.charting.PlotArea.count=0;
+dojo.extend(dojo.charting.PlotArea,{nextColor:function(){
+var _3=dojo.gfx.color.hsl2rgb(this._color.h,this._color.s,this._color.l);
+this._color.h=(this._color.h+this._color.step)%360;
+while(this._color.h<140){
+this._color.h+=this._color.step;
+}
+return dojo.gfx.color.rgb2hex(_3[0],_3[1],_3[2]);
+},getArea:function(){
+return {left:this.padding.left,right:this.size.width-this.padding.right,top:this.padding.top,bottom:this.size.height-this.padding.bottom,toString:function(){
+var a=[this.top,this.right,this.bottom,this.left];
+return "["+a.join()+"]";
+}};
+},getAxes:function(){
+var _5={};
+for(var i=0;i<this.plots.length;i++){
+var _7=this.plots[i];
+_5[_7.axisX.getId()]={axis:_7.axisX,drawAgainst:_7.axisY,plot:_7,plane:"x"};
+_5[_7.axisY.getId()]={axis:_7.axisY,drawAgainst:_7.axisX,plot:_7,plane:"y"};
+}
+return _5;
+},getLegendInfo:function(){
+var a=[];
+for(var i=0;i<this.plots.length;i++){
+for(var j=0;j<this.plots[i].series.length;j++){
+var _b=this.plots[i].series[j].data;
+a.push({label:_b.label,color:_b.color});
+}
+}
+return a;
+},setAxesRanges:function(){
+var _c={};
+var _d={};
+for(var i=0;i<this.plots.length;i++){
+var _f=this.plots[i];
+var _c=_f.getRanges();
+var x=_c.x;
+var y=_c.y;
+var ax,ay;
+if(!_d[_f.axisX.getId()]){
+_d[_f.axisX.getId()]=_f.axisX;
+_c[_f.axisX.getId()]={upper:x.upper,lower:x.lower};
+}
+ax=_c[_f.axisX.getId()];
+ax.upper=Math.max(ax.upper,x.upper);
+ax.lower=Math.min(ax.lower,x.lower);
+if(!_d[_f.axisY.getId()]){
+_d[_f.axisY.getId()]=_f.axisY;
+_c[_f.axisY.getId()]={upper:y.upper,lower:y.lower};
+}
+ay=_c[_f.axisY.getId()];
+ay.upper=Math.max(ay.upper,y.upper);
+ay.lower=Math.min(ay.lower,y.lower);
+}
+for(var p in _d){
+_d[p].range=_c[p];
+}
+},render:function(_15,_16){
+if(!this.nodes.main||!this.nodes.area||!this.nodes.background||!this.nodes.plots||!this.nodes.axes){
+this.initialize();
+}
+this.resize();
+for(var i=0;i<this.plots.length;i++){
+var _18=this.plots[i];
+if(_18.dataNode){
+this.nodes.plots.removeChild(_18.dataNode);
+}
+var _19=this.initializePlot(_18);
+switch(_18.renderType){
+case dojo.charting.RenderPlotSeries.Grouped:
+if(_18.series[0]){
+_19.appendChild(_18.series[0].plotter(this,_18,_15,_16));
+}
+break;
+case dojo.charting.RenderPlotSeries.Singly:
+default:
+for(var j=0;j<_18.series.length;j++){
+var _1b=_18.series[j];
+var _1c=_1b.data.evaluate(_15);
+_19.appendChild(_1b.plotter(_1c,this,_18,_16));
+}
+}
+this.nodes.plots.appendChild(_19);
+}
+},destroy:function(){
+for(var i=0;i<this.plots.length;i++){
+this.plots[i].destroy();
+}
+for(var p in this.nodes){
+var _1f=this.nodes[p];
+if(!_1f){
+continue;
+}
+if(!_1f.childNodes){
+continue;
+}
+while(_1f.childNodes.length>0){
+_1f.removeChild(_1f.childNodes[0]);
+}
+this.nodes[p]=null;
+}
+}});
+dojo.requireIf(dojo.render.svg.capable,"dojo.charting.svg.PlotArea");
+dojo.requireIf(dojo.render.vml.capable,"dojo.charting.vml.PlotArea");

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Plotters.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Plotters.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Plotters.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Plotters.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,3 @@
+dojo.provide("dojo.charting.Plotters");
+dojo.requireIf(dojo.render.svg.capable,"dojo.charting.svg.Plotters");
+dojo.requireIf(dojo.render.vml.capable,"dojo.charting.vml.Plotters");

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/README.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/README.txt?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/README.txt (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/README.txt Mon Feb  4 14:07:13 2008
@@ -0,0 +1,46 @@
+Dojo Charting Engine
+=========================================================================
+The Dojo Charting Engine is a (fairly) complex object structure, designed
+to provide as much flexibility as possible in terms of chart construction.
+To this end, the engine details the following structure:
+
+Chart
+---PlotArea[]
+------Plot[]
+---------Axis (axisX)
+---------Axis (axisY)
+---------Series[]
+
+
+A Chart object is the main entity; it is the entire graphic.  A Chart may
+have any number of PlotArea objects, which are the basic canvas against 
+which data is plotted.  A PlotArea may have any number of Plot objects,
+which is a container representing up to 2 axes and any number of series
+to be plotted against those axes; a Series represents a binding against
+two fields from a data source (initial rev, this data source is always of
+type dojo.collections.Store but this will probably change once dojo.data
+is in production).
+
+The point of this structure is to allow for as much flexibility as possible
+in terms of what kinds of charts can be represented by the engine.  The
+current plan is to accomodate up to analytical financial charts, which tend
+to have 3 plot areas and any number of different types of axes on each one.
+
+The main exception to this is the pie chart, which will have it's own
+custom codebase.  Also, 3D charts are not accounted for at this time,
+although the only thing that will probably need to be altered to make
+that work would be Plot and Series (to accomodate the additional Z axis).
+
+Finally, a Plot will render its series[] through the use of Plotters, which
+are custom methods to render specific types of charts.
+-------------------------------------------------------------------------
+In terms of widgets, the basic concept is that there is a central, super-
+flexible Chart widget (Chart, oddly enough), and then any number of preset
+chart type widgets, that are basically built to serve a simple, easy 
+purpose.  For instance, if someone just needs to plot a series of lines,
+they would be better off using the LineChart widget; but if someone needed
+to plot a combo chart, that has 2 Y Axes (one linear, one log) against the
+same X Axis, using lines and areas, then they will want to use a Chart widget.
+Note also that unlike other widgets, the Charting engine *can* be called
+directly from script *without* the need for the actual widget engine to be
+loaded; the Chart widgets are thin wrappers around the charting engine.
\ No newline at end of file

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Series.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Series.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Series.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/charting/Series.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,181 @@
+dojo.provide("dojo.charting.Series");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.charting.Plotters");
+dojo.charting.Series=function(_1){
+var _2=_1||{length:1};
+this.dataSource=_2.dataSource||null;
+this.bindings={};
+this.color=_2.color;
+this.label=_2.label;
+if(_2.bindings){
+for(var p in _2.bindings){
+this.addBinding(p,_2.bindings[p]);
+}
+}
+};
+dojo.extend(dojo.charting.Series,{bind:function(_4,_5){
+this.dataSource=_4;
+this.bindings=_5;
+},addBinding:function(_6,_7){
+this.bindings[_6]=_7;
+},evaluate:function(_8){
+var _9=[];
+var a=this.dataSource.getData();
+var l=a.length;
+var _c=0;
+var _d=l;
+if(_8){
+if(_8.between){
+for(var i=0;i<l;i++){
+var _f=this.dataSource.getField(a[i],_8.between.field);
+if(_f>=_8.between.low&&_f<=_8.between.high){
+var o={src:a[i],series:this};
+for(var p in this.bindings){
+o[p]=this.dataSource.getField(a[i],this.bindings[p]);
+}
+_9.push(o);
+}
+}
+}else{
+if(_8.from||_8.length){
+if(_8.from){
+_c=Math.max(_8.from,0);
+if(_8.to){
+_d=Math.min(_8.to,_d);
+}
+}else{
+if(_8.length<0){
+_c=Math.max((_d+length),0);
+}else{
+_d=Math.min((_c+length),_d);
+}
+}
+for(var i=_c;i<_d;i++){
+var o={src:a[i],series:this};
+for(var p in this.bindings){
+o[p]=this.dataSource.getField(a[i],this.bindings[p]);
+}
+_9.push(o);
+}
+}
+}
+}else{
+for(var i=_c;i<_d;i++){
+var o={src:a[i],series:this};
+for(var p in this.bindings){
+o[p]=this.dataSource.getField(a[i],this.bindings[p]);
+}
+_9.push(o);
+}
+}
+if(_9.length>0&&typeof (_9[0].x)!="undefined"){
+_9.sort(function(a,b){
+if(a.x>b.x){
+return 1;
+}
+if(a.x<b.x){
+return -1;
+}
+return 0;
+});
+}
+return _9;
+},trends:{createRange:function(_14,len){
+var idx=_14.length-1;
+var _17=(len||_14.length);
+return {"index":idx,"length":_17,"start":Math.max(idx-_17,0)};
+},mean:function(_18,len){
+var _1a=this.createRange(_18,len);
+if(_1a.index<0){
+return 0;
+}
+var _1b=0;
+var _1c=0;
+for(var i=_1a.index;i>=_1a.start;i--){
+_1b+=_18[i].y;
+_1c++;
+}
+_1b/=Math.max(_1c,1);
+return _1b;
+},variance:function(_1e,len){
+var _20=this.createRange(_1e,len);
+if(_20.index<0){
+return 0;
+}
+var _21=0;
+var _22=0;
+var _23=0;
+for(var i=_20.index;i>=_20.start;i--){
+_21+=_1e[i].y;
+_22+=Math.pow(_1e[i].y,2);
+_23++;
+}
+return (_22/_23)-Math.pow(_21/_23,2);
+},standardDeviation:function(_25,len){
+return Math.sqrt(this.getVariance(_25,len));
+},max:function(_27,len){
+var _29=this.createRange(_27,len);
+if(_29.index<0){
+return 0;
+}
+var max=Number.MIN_VALUE;
+for(var i=_29.index;i>=_29.start;i--){
+max=Math.max(_27[i].y,max);
+}
+return max;
+},min:function(_2c,len){
+var _2e=this.createRange(_2c,len);
+if(_2e.index<0){
+return 0;
+}
+var min=Number.MAX_VALUE;
+for(var i=_2e.index;i>=_2e.start;i--){
+min=Math.min(_2c[i].y,min);
+}
+return min;
+},median:function(_31,len){
+var _33=this.createRange(_31,len);
+if(_33.index<0){
+return 0;
+}
+var a=[];
+for(var i=_33.index;i>=_33.start;i--){
+var b=false;
+for(var j=0;j<a.length;j++){
+if(_31[i].y==a[j]){
+b=true;
+break;
+}
+}
+if(!b){
+a.push(_31[i].y);
+}
+}
+a.sort();
+if(a.length>0){
+return a[Math.ceil(a.length/2)];
+}
+return 0;
+},mode:function(_38,len){
+var _3a=this.createRange(_38,len);
+if(_3a.index<0){
+return 0;
+}
+var o={};
+var ret=0;
+var _3d=Number.MIN_VALUE;
+for(var i=_3a.index;i>=_3a.start;i--){
+if(!o[_38[i].y]){
+o[_38[i].y]=1;
+}else{
+o[_38[i].y]++;
+}
+}
+for(var p in o){
+if(_3d<o[p]){
+_3d=o[p];
+ret=p;
+}
+}
+return ret;
+}}});

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

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

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

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

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

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

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



Mime
View raw message