tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r618461 [16/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
Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Result.js
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Write.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Write.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Write.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Write.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,31 @@
+dojo.provide("dojo.data.core.Write");
+dojo.require("dojo.data.core.Read");
+dojo.require("dojo.lang.declare");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.data.core.Write");
+dojo.declare("dojo.data.core.Write",dojo.data.core.Read,{newItem:function(_1){
+var _2;
+dojo.unimplemented("dojo.data.core.Write.newItem");
+return _2;
+},deleteItem:function(_3){
+dojo.unimplemented("dojo.data.core.Write.deleteItem");
+return false;
+},set:function(_4,_5,_6){
+dojo.unimplemented("dojo.data.core.Write.set");
+return false;
+},setValues:function(_7,_8,_9){
+dojo.unimplemented("dojo.data.core.Write.setValues");
+return false;
+},unsetAttribute:function(_a,_b){
+dojo.unimplemented("dojo.data.core.Write.clear");
+return false;
+},save:function(){
+dojo.unimplemented("dojo.data.core.Write.save");
+return false;
+},revert:function(){
+dojo.unimplemented("dojo.data.core.Write.revert");
+return false;
+},isDirty:function(_c){
+dojo.unimplemented("dojo.data.core.Write.isDirty");
+return false;
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Attribute.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Attribute.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Attribute.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Attribute.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,22 @@
+dojo.provide("dojo.data.old.Attribute");
+dojo.require("dojo.data.old.Item");
+dojo.require("dojo.lang.assert");
+dojo.data.old.Attribute=function(_1,_2){
+dojo.lang.assertType(_1,dojo.data.old.provider.Base,{optional:true});
+dojo.lang.assertType(_2,String);
+dojo.data.old.Item.call(this,_1);
+this._attributeId=_2;
+};
+dojo.inherits(dojo.data.old.Attribute,dojo.data.old.Item);
+dojo.data.old.Attribute.prototype.toString=function(){
+return this._attributeId;
+};
+dojo.data.old.Attribute.prototype.getAttributeId=function(){
+return this._attributeId;
+};
+dojo.data.old.Attribute.prototype.getType=function(){
+return this.get("type");
+};
+dojo.data.old.Attribute.prototype.setType=function(_3){
+this.set("type",_3);
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Item.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Item.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Item.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Item.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,210 @@
+dojo.provide("dojo.data.old.Item");
+dojo.require("dojo.data.old.Observable");
+dojo.require("dojo.data.old.Value");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.lang.assert");
+dojo.data.old.Item=function(_1){
+dojo.lang.assertType(_1,dojo.data.old.provider.Base,{optional:true});
+dojo.data.old.Observable.call(this);
+this._dataProvider=_1;
+this._dictionaryOfAttributeValues={};
+};
+dojo.inherits(dojo.data.old.Item,dojo.data.old.Observable);
+dojo.data.old.Item.compare=function(_2,_3){
+dojo.lang.assertType(_2,dojo.data.old.Item);
+if(!dojo.lang.isOfType(_3,dojo.data.old.Item)){
+return -1;
+}
+var _4=_2.getName();
+var _5=_3.getName();
+if(_4==_5){
+var _6=_2.getAttributes();
+var _7=_3.getAttributes();
+if(_6.length!=_7.length){
+if(_6.length>_7.length){
+return 1;
+}else{
+return -1;
+}
+}
+for(var i in _6){
+var _9=_6[i];
+var _a=_2.getValues(_9);
+var _b=_3.getValues(_9);
+dojo.lang.assert(_a&&(_a.length>0));
+if(!_b){
+return 1;
+}
+if(_a.length!=_b.length){
+if(_a.length>_b.length){
+return 1;
+}else{
+return -1;
+}
+}
+for(var j in _a){
+var _d=_a[j];
+if(!_3.hasAttributeValue(_d)){
+return 1;
+}
+}
+return 0;
+}
+}else{
+if(_4>_5){
+return 1;
+}else{
+return -1;
+}
+}
+};
+dojo.data.old.Item.prototype.toString=function(){
+var _e=[];
+var _f=this.getAttributes();
+for(var i in _f){
+var _11=_f[i];
+var _12=this.getValues(_11);
+var _13;
+if(_12.length==1){
+_13=_12[0];
+}else{
+_13="[";
+_13+=_12.join(", ");
+_13+="]";
+}
+_e.push("  "+_11+": "+_13);
+}
+var _14="{ ";
+_14+=_e.join(",\n");
+_14+=" }";
+return _14;
+};
+dojo.data.old.Item.prototype.compare=function(_15){
+return dojo.data.old.Item.compare(this,_15);
+};
+dojo.data.old.Item.prototype.isEqual=function(_16){
+return (this.compare(_16)==0);
+};
+dojo.data.old.Item.prototype.getName=function(){
+return this.get("name");
+};
+dojo.data.old.Item.prototype.get=function(_17){
+var _18=this._dictionaryOfAttributeValues[_17];
+if(dojo.lang.isUndefined(_18)){
+return null;
+}
+if(_18 instanceof dojo.data.old.Value){
+return _18.getValue();
+}
+if(dojo.lang.isArray(_18)){
+var _19=_18[0];
+return _19.getValue();
+}
+return _18;
+};
+dojo.data.old.Item.prototype.getValue=function(_1a){
+var _1b=this._dictionaryOfAttributeValues[_1a];
+if(dojo.lang.isUndefined(_1b)){
+return null;
+}
+if(_1b instanceof dojo.data.old.Value){
+return _1b;
+}
+if(dojo.lang.isArray(_1b)){
+var _1c=_1b[0];
+return _1c;
+}
+var _1d=_1b;
+_1c=new dojo.data.old.Value(_1d);
+this._dictionaryOfAttributeValues[_1a]=_1c;
+return _1c;
+};
+dojo.data.old.Item.prototype.getValues=function(_1e){
+var _1f=this._dictionaryOfAttributeValues[_1e];
+if(dojo.lang.isUndefined(_1f)){
+return null;
+}
+if(_1f instanceof dojo.data.old.Value){
+var _20=[_1f];
+this._dictionaryOfAttributeValues[_1e]=_20;
+return _20;
+}
+if(dojo.lang.isArray(_1f)){
+return _1f;
+}
+var _21=_1f;
+var _22=new dojo.data.old.Value(_21);
+_20=[_22];
+this._dictionaryOfAttributeValues[_1e]=_20;
+return _20;
+};
+dojo.data.old.Item.prototype.load=function(_23,_24){
+this._dataProvider.registerAttribute(_23);
+var _25=this._dictionaryOfAttributeValues[_23];
+if(dojo.lang.isUndefined(_25)){
+this._dictionaryOfAttributeValues[_23]=_24;
+return;
+}
+if(!(_24 instanceof dojo.data.old.Value)){
+_24=new dojo.data.old.Value(_24);
+}
+if(_25 instanceof dojo.data.old.Value){
+var _26=[_25,_24];
+this._dictionaryOfAttributeValues[_23]=_26;
+return;
+}
+if(dojo.lang.isArray(_25)){
+_25.push(_24);
+return;
+}
+var _27=_25;
+var _28=new dojo.data.old.Value(_27);
+_26=[_28,_24];
+this._dictionaryOfAttributeValues[_23]=_26;
+};
+dojo.data.old.Item.prototype.set=function(_29,_2a){
+this._dataProvider.registerAttribute(_29);
+this._dictionaryOfAttributeValues[_29]=_2a;
+this._dataProvider.noteChange(this,_29,_2a);
+};
+dojo.data.old.Item.prototype.setValue=function(_2b,_2c){
+this.set(_2b,_2c);
+};
+dojo.data.old.Item.prototype.addValue=function(_2d,_2e){
+this.load(_2d,_2e);
+this._dataProvider.noteChange(this,_2d,_2e);
+};
+dojo.data.old.Item.prototype.setValues=function(_2f,_30){
+dojo.lang.assertType(_30,Array);
+this._dataProvider.registerAttribute(_2f);
+var _31=[];
+this._dictionaryOfAttributeValues[_2f]=_31;
+for(var i in _30){
+var _33=_30[i];
+if(!(_33 instanceof dojo.data.old.Value)){
+_33=new dojo.data.old.Value(_33);
+}
+_31.push(_33);
+this._dataProvider.noteChange(this,_2f,_33);
+}
+};
+dojo.data.old.Item.prototype.getAttributes=function(){
+var _34=[];
+for(var key in this._dictionaryOfAttributeValues){
+_34.push(this._dataProvider.getAttribute(key));
+}
+return _34;
+};
+dojo.data.old.Item.prototype.hasAttribute=function(_36){
+return (_36 in this._dictionaryOfAttributeValues);
+};
+dojo.data.old.Item.prototype.hasAttributeValue=function(_37,_38){
+var _39=this.getValues(_37);
+for(var i in _39){
+var _3b=_39[i];
+if(_3b.isEqual(_38)){
+return true;
+}
+}
+return false;
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Kind.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Kind.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Kind.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Kind.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,6 @@
+dojo.provide("dojo.data.old.Kind");
+dojo.require("dojo.data.old.Item");
+dojo.data.old.Kind=function(_1){
+dojo.data.old.Item.call(this,_1);
+};
+dojo.inherits(dojo.data.old.Kind,dojo.data.old.Item);

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Observable.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Observable.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Observable.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Observable.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,27 @@
+dojo.provide("dojo.data.old.Observable");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.lang.assert");
+dojo.data.old.Observable=function(){
+};
+dojo.data.old.Observable.prototype.addObserver=function(_1){
+dojo.lang.assertType(_1,Object);
+dojo.lang.assertType(_1.observedObjectHasChanged,Function);
+if(!this._arrayOfObservers){
+this._arrayOfObservers=[];
+}
+if(!dojo.lang.inArray(this._arrayOfObservers,_1)){
+this._arrayOfObservers.push(_1);
+}
+};
+dojo.data.old.Observable.prototype.removeObserver=function(_2){
+if(!this._arrayOfObservers){
+return;
+}
+var _3=dojo.lang.indexOf(this._arrayOfObservers,_2);
+if(_3!=-1){
+this._arrayOfObservers.splice(_3,1);
+}
+};
+dojo.data.old.Observable.prototype.getObservers=function(){
+return this._arrayOfObservers;
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/ResultSet.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/ResultSet.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/ResultSet.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/ResultSet.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,39 @@
+dojo.provide("dojo.data.old.ResultSet");
+dojo.require("dojo.lang.assert");
+dojo.require("dojo.collections.Collections");
+dojo.data.old.ResultSet=function(_1,_2){
+dojo.lang.assertType(_1,dojo.data.old.provider.Base,{optional:true});
+dojo.lang.assertType(_2,Array,{optional:true});
+dojo.data.old.Observable.call(this);
+this._dataProvider=_1;
+this._arrayOfItems=[];
+if(_2){
+this._arrayOfItems=_2;
+}
+};
+dojo.inherits(dojo.data.old.ResultSet,dojo.data.old.Observable);
+dojo.data.old.ResultSet.prototype.toString=function(){
+var _3=this._arrayOfItems.join(", ");
+return _3;
+};
+dojo.data.old.ResultSet.prototype.toArray=function(){
+return this._arrayOfItems;
+};
+dojo.data.old.ResultSet.prototype.getIterator=function(){
+return new dojo.collections.Iterator(this._arrayOfItems);
+};
+dojo.data.old.ResultSet.prototype.getLength=function(){
+return this._arrayOfItems.length;
+};
+dojo.data.old.ResultSet.prototype.getItemAt=function(_4){
+return this._arrayOfItems[_4];
+};
+dojo.data.old.ResultSet.prototype.indexOf=function(_5){
+return dojo.lang.indexOf(this._arrayOfItems,_5);
+};
+dojo.data.old.ResultSet.prototype.contains=function(_6){
+return dojo.lang.inArray(this._arrayOfItems,_6);
+};
+dojo.data.old.ResultSet.prototype.getDataProvider=function(){
+return this._dataProvider;
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Type.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Type.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Type.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Type.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,6 @@
+dojo.provide("dojo.data.old.Type");
+dojo.require("dojo.data.old.Item");
+dojo.data.old.Type=function(_1){
+dojo.data.old.Item.call(this,_1);
+};
+dojo.inherits(dojo.data.old.Type,dojo.data.old.Item);

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Value.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Value.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Value.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/Value.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,22 @@
+dojo.provide("dojo.data.old.Value");
+dojo.require("dojo.lang.assert");
+dojo.data.old.Value=function(_1){
+this._value=_1;
+this._type=null;
+};
+dojo.data.old.Value.prototype.toString=function(){
+return this._value.toString();
+};
+dojo.data.old.Value.prototype.getValue=function(){
+return this._value;
+};
+dojo.data.old.Value.prototype.getType=function(){
+dojo.unimplemented("dojo.data.old.Value.prototype.getType");
+return this._type;
+};
+dojo.data.old.Value.prototype.compare=function(){
+dojo.unimplemented("dojo.data.old.Value.prototype.compare");
+};
+dojo.data.old.Value.prototype.isEqual=function(){
+dojo.unimplemented("dojo.data.old.Value.prototype.isEqual");
+};

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

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

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

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

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/format/Csv.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/format/Csv.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/format/Csv.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/format/Csv.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,68 @@
+dojo.provide("dojo.data.old.format.Csv");
+dojo.require("dojo.lang.assert");
+dojo.data.old.format.Csv=new function(){
+this.getArrayStructureFromCsvFileContents=function(_1){
+dojo.lang.assertType(_1,String);
+var _2=new RegExp("\r\n|\n|\r");
+var _3=new RegExp("^\\s+","g");
+var _4=new RegExp("\\s+$","g");
+var _5=new RegExp("\"\"","g");
+var _6=[];
+var _7=_1.split(_2);
+for(var i in _7){
+var _9=_7[i];
+if(_9.length>0){
+var _a=_9.split(",");
+var j=0;
+while(j<_a.length){
+var _c=_a[j];
+var _d=_c.replace(_3,"");
+var _e=_d.replace(_4,"");
+var _f=_e.charAt(0);
+var _10=_e.charAt(_e.length-1);
+var _11=_e.charAt(_e.length-2);
+var _12=_e.charAt(_e.length-3);
+if((_f=="\"")&&((_10!="\"")||((_10=="\"")&&(_11=="\"")&&(_12!="\"")))){
+if(j+1===_a.length){
+return null;
+}
+var _13=_a[j+1];
+_a[j]=_d+","+_13;
+_a.splice(j+1,1);
+}else{
+if((_f=="\"")&&(_10=="\"")){
+_e=_e.slice(1,(_e.length-1));
+_e=_e.replace(_5,"\"");
+}
+_a[j]=_e;
+j+=1;
+}
+}
+_6.push(_a);
+}
+}
+return _6;
+};
+this.loadDataProviderFromFileContents=function(_14,_15){
+dojo.lang.assertType(_14,dojo.data.old.provider.Base);
+dojo.lang.assertType(_15,String);
+var _16=this.getArrayStructureFromCsvFileContents(_15);
+if(_16){
+var _17=_16[0];
+for(var i=1;i<_16.length;++i){
+var row=_16[i];
+var _1a=_14.getNewItemToLoad();
+for(var j in row){
+var _1c=row[j];
+var key=_17[j];
+_1a.load(key,_1c);
+}
+}
+}
+};
+this.getCsvStringFromResultSet=function(_1e){
+dojo.unimplemented("dojo.data.old.format.Csv.getCsvStringFromResultSet");
+var _1f=null;
+return _1f;
+};
+}();

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/format/Json.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/format/Json.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/format/Json.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/format/Json.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,58 @@
+dojo.provide("dojo.data.old.format.Json");
+dojo.require("dojo.lang.assert");
+dojo.data.old.format.Json=new function(){
+this.loadDataProviderFromFileContents=function(_1,_2){
+dojo.lang.assertType(_1,dojo.data.old.provider.Base);
+dojo.lang.assertType(_2,String);
+var _3=eval("("+_2+")");
+this.loadDataProviderFromArrayOfJsonData(_1,_3);
+};
+this.loadDataProviderFromArrayOfJsonData=function(_4,_5){
+dojo.lang.assertType(_5,Array,{optional:true});
+if(_5&&(_5.length>0)){
+var _6=_5[0];
+dojo.lang.assertType(_6,[Array,"pureobject"]);
+if(dojo.lang.isArray(_6)){
+_loadDataProviderFromArrayOfArrays(_4,_5);
+}else{
+dojo.lang.assertType(_6,"pureobject");
+_loadDataProviderFromArrayOfObjects(_4,_5);
+}
+}
+};
+this.getJsonStringFromResultSet=function(_7){
+dojo.unimplemented("dojo.data.old.format.Json.getJsonStringFromResultSet");
+var _8=null;
+return _8;
+};
+function _loadDataProviderFromArrayOfArrays(_9,_a){
+var _b=_a[0];
+for(var i=1;i<_a.length;++i){
+var _d=_a[i];
+var _e=_9.getNewItemToLoad();
+for(var j in _d){
+var _10=_d[j];
+var key=_b[j];
+_e.load(key,_10);
+}
+}
+}
+function _loadDataProviderFromArrayOfObjects(_12,_13){
+for(var i in _13){
+var row=_13[i];
+var _16=_12.getNewItemToLoad();
+for(var key in row){
+var _18=row[key];
+if(dojo.lang.isArray(_18)){
+var _19=_18;
+for(var j in _19){
+_18=_19[j];
+_16.load(key,_18);
+}
+}else{
+_16.load(key,_18);
+}
+}
+}
+}
+}();

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/Base.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/Base.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/Base.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/Base.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,111 @@
+dojo.provide("dojo.data.old.provider.Base");
+dojo.require("dojo.lang.assert");
+dojo.data.old.provider.Base=function(){
+this._countOfNestedTransactions=0;
+this._changesInCurrentTransaction=null;
+};
+dojo.data.old.provider.Base.prototype.beginTransaction=function(){
+if(this._countOfNestedTransactions===0){
+this._changesInCurrentTransaction=[];
+}
+this._countOfNestedTransactions+=1;
+};
+dojo.data.old.provider.Base.prototype.endTransaction=function(){
+this._countOfNestedTransactions-=1;
+dojo.lang.assert(this._countOfNestedTransactions>=0);
+if(this._countOfNestedTransactions===0){
+var _1=this._saveChanges();
+this._changesInCurrentTransaction=null;
+if(_1.length>0){
+this._notifyObserversOfChanges(_1);
+}
+}
+};
+dojo.data.old.provider.Base.prototype.getNewItemToLoad=function(){
+return this._newItem();
+};
+dojo.data.old.provider.Base.prototype.newItem=function(_2){
+dojo.lang.assertType(_2,String,{optional:true});
+var _3=this._newItem();
+if(_2){
+_3.set("name",_2);
+}
+return _3;
+};
+dojo.data.old.provider.Base.prototype.newAttribute=function(_4){
+dojo.lang.assertType(_4,String,{optional:true});
+var _5=this._newAttribute(_4);
+return _5;
+};
+dojo.data.old.provider.Base.prototype.getAttribute=function(_6){
+dojo.unimplemented("dojo.data.old.provider.Base");
+var _7;
+return _7;
+};
+dojo.data.old.provider.Base.prototype.getAttributes=function(){
+dojo.unimplemented("dojo.data.old.provider.Base");
+return this._arrayOfAttributes;
+};
+dojo.data.old.provider.Base.prototype.fetchArray=function(){
+dojo.unimplemented("dojo.data.old.provider.Base");
+return [];
+};
+dojo.data.old.provider.Base.prototype.fetchResultSet=function(){
+dojo.unimplemented("dojo.data.old.provider.Base");
+var _8;
+return _8;
+};
+dojo.data.old.provider.Base.prototype.noteChange=function(_9,_a,_b){
+var _c={item:_9,attribute:_a,value:_b};
+if(this._countOfNestedTransactions===0){
+this.beginTransaction();
+this._changesInCurrentTransaction.push(_c);
+this.endTransaction();
+}else{
+this._changesInCurrentTransaction.push(_c);
+}
+};
+dojo.data.old.provider.Base.prototype.addItemObserver=function(_d,_e){
+dojo.lang.assertType(_d,dojo.data.old.Item);
+_d.addObserver(_e);
+};
+dojo.data.old.provider.Base.prototype.removeItemObserver=function(_f,_10){
+dojo.lang.assertType(_f,dojo.data.old.Item);
+_f.removeObserver(_10);
+};
+dojo.data.old.provider.Base.prototype._newItem=function(){
+var _11=new dojo.data.old.Item(this);
+return _11;
+};
+dojo.data.old.provider.Base.prototype._newAttribute=function(_12){
+var _13=new dojo.data.old.Attribute(this);
+return _13;
+};
+dojo.data.old.provider.Base.prototype._saveChanges=function(){
+var _14=this._changesInCurrentTransaction;
+return _14;
+};
+dojo.data.old.provider.Base.prototype._notifyObserversOfChanges=function(_15){
+var _16=this._getResultSets();
+for(var i in _15){
+var _18=_15[i];
+var _19=_18.item;
+var _1a=_19.getObservers();
+for(var j in _1a){
+var _1c=_1a[j];
+_1c.observedObjectHasChanged(_19,_18);
+}
+for(var k in _16){
+var _1e=_16[k];
+var _1f=_1e.getObservers();
+for(var m in _1f){
+_1c=_1f[m];
+_1c.observedObjectHasChanged(_1e,_18);
+}
+}
+}
+};
+dojo.data.old.provider.Base.prototype._getResultSets=function(){
+dojo.unimplemented("dojo.data.old.provider.Base");
+return [];
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/Delicious.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/Delicious.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/Delicious.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/Delicious.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,20 @@
+dojo.provide("dojo.data.old.provider.Delicious");
+dojo.require("dojo.data.old.provider.FlatFile");
+dojo.require("dojo.data.old.format.Json");
+dojo.data.old.provider.Delicious=function(){
+dojo.data.old.provider.FlatFile.call(this);
+if(Delicious&&Delicious.posts){
+dojo.data.old.format.Json.loadDataProviderFromArrayOfJsonData(this,Delicious.posts);
+}else{
+}
+var u=this.registerAttribute("u");
+var d=this.registerAttribute("d");
+var t=this.registerAttribute("t");
+u.load("name","Bookmark");
+d.load("name","Description");
+t.load("name","Tags");
+u.load("type","String");
+d.load("type","String");
+t.load("type","String");
+};
+dojo.inherits(dojo.data.old.provider.Delicious,dojo.data.old.provider.FlatFile);

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/FlatFile.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/FlatFile.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/FlatFile.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/FlatFile.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,100 @@
+dojo.provide("dojo.data.old.provider.FlatFile");
+dojo.require("dojo.data.old.provider.Base");
+dojo.require("dojo.data.old.Item");
+dojo.require("dojo.data.old.Attribute");
+dojo.require("dojo.data.old.ResultSet");
+dojo.require("dojo.data.old.format.Json");
+dojo.require("dojo.data.old.format.Csv");
+dojo.require("dojo.lang.assert");
+dojo.data.old.provider.FlatFile=function(_1){
+dojo.lang.assertType(_1,"pureobject",{optional:true});
+dojo.data.old.provider.Base.call(this);
+this._arrayOfItems=[];
+this._resultSet=null;
+this._dictionaryOfAttributes={};
+if(_1){
+var _2=_1["jsonObjects"];
+var _3=_1["jsonString"];
+var _4=_1["url"];
+if(_2){
+dojo.data.old.format.Json.loadDataProviderFromArrayOfJsonData(this,_2);
+}
+if(_3){
+dojo.data.old.format.Json.loadDataProviderFromFileContents(this,_3);
+}
+if(_4){
+var _5=_4.split(".");
+var _6=_5[(_5.length-1)];
+var _7=null;
+if(_6=="json"){
+_7=dojo.data.old.format.Json;
+}
+if(_6=="csv"){
+_7=dojo.data.old.format.Csv;
+}
+if(_7){
+var _8=dojo.hostenv.getText(_4);
+_7.loadDataProviderFromFileContents(this,_8);
+}else{
+dojo.lang.assert(false,"new dojo.data.old.provider.FlatFile({url: }) was passed a file without a .csv or .json suffix");
+}
+}
+}
+};
+dojo.inherits(dojo.data.old.provider.FlatFile,dojo.data.old.provider.Base);
+dojo.data.old.provider.FlatFile.prototype.getProviderCapabilities=function(_9){
+dojo.lang.assertType(_9,String,{optional:true});
+if(!this._ourCapabilities){
+this._ourCapabilities={transactions:false,undo:false,login:false,versioning:false,anonymousRead:true,anonymousWrite:false,permissions:false,queries:false,strongTyping:false,datatypes:[String,Date,Number]};
+}
+if(_9){
+return this._ourCapabilities[_9];
+}else{
+return this._ourCapabilities;
+}
+};
+dojo.data.old.provider.FlatFile.prototype.registerAttribute=function(_a){
+var _b=this.getAttribute(_a);
+if(!_b){
+var _c=new dojo.data.old.Attribute(this,_a);
+this._dictionaryOfAttributes[_a]=_c;
+_b=_c;
+}
+return _b;
+};
+dojo.data.old.provider.FlatFile.prototype.getAttribute=function(_d){
+var _e=(this._dictionaryOfAttributes[_d]||null);
+return _e;
+};
+dojo.data.old.provider.FlatFile.prototype.getAttributes=function(){
+var _f=[];
+for(var key in this._dictionaryOfAttributes){
+var _11=this._dictionaryOfAttributes[key];
+_f.push(_11);
+}
+return _f;
+};
+dojo.data.old.provider.FlatFile.prototype.fetchArray=function(_12){
+return this._arrayOfItems;
+};
+dojo.data.old.provider.FlatFile.prototype.fetchResultSet=function(_13){
+if(!this._resultSet){
+this._resultSet=new dojo.data.old.ResultSet(this,this.fetchArray(_13));
+}
+return this._resultSet;
+};
+dojo.data.old.provider.FlatFile.prototype._newItem=function(){
+var _14=new dojo.data.old.Item(this);
+this._arrayOfItems.push(_14);
+return _14;
+};
+dojo.data.old.provider.FlatFile.prototype._newAttribute=function(_15){
+dojo.lang.assertType(_15,String);
+dojo.lang.assert(this.getAttribute(_15)===null);
+var _16=new dojo.data.old.Attribute(this,_15);
+this._dictionaryOfAttributes[_15]=_16;
+return _16;
+};
+dojo.data.old.provider.Base.prototype._getResultSets=function(){
+return [this._resultSet];
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/JotSpot.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/JotSpot.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/JotSpot.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/JotSpot.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,6 @@
+dojo.provide("dojo.data.old.provider.JotSpot");
+dojo.require("dojo.data.old.provider.Base");
+dojo.data.old.provider.JotSpot=function(){
+dojo.unimplemented("dojo.data.old.provider.JotSpot");
+};
+dojo.inherits(dojo.data.old.provider.JotSpot,dojo.data.old.provider.Base);

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/MySql.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/MySql.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/MySql.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/provider/MySql.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,6 @@
+dojo.provide("dojo.data.old.provider.MySql");
+dojo.require("dojo.data.old.provider.Base");
+dojo.data.old.provider.MySql=function(){
+dojo.unimplemented("dojo.data.old.provider.MySql");
+};
+dojo.inherits(dojo.data.old.provider.MySql,dojo.data.old.provider.Base);

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/to_do.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/to_do.txt?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/to_do.txt (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/old/to_do.txt Mon Feb  4 14:07:13 2008
@@ -0,0 +1,45 @@
+Existing Features
+ * can import data from .json or .csv format files
+ * can import data from del.icio.us
+ * can create and modify data programmatically
+ * can bind data to dojo.widget.Chart
+ * can bind data to dojo.widget.SortableTable
+ * can bind one data set to multiple widgets
+ * notifications: widgets are notified when data changes
+ * notification available per-item or per-resultSet
+ * can create ad-hoc attributes
+ * attributes can be loosely-typed 
+ * attributes can have meta-data like type and display name
+ * half-implemented support for sorting
+ * half-implemented support for export to .json
+ * API for getting data in simple arrays 
+ * API for getting ResultSets with iterators (precursor to support for something like the openrico.org live grid)
+ 
+~~~~~~~~~~~~~~~~~~~~~~~~
+To-Do List
+ * be able to import data from an html <table></table>
+ * think about being able to import data from some type of XML 
+ * think about integration with dojo.undo.Manager
+ * think more about how to represent the notion of different data types
+ * think about what problems we'll run into when we have a MySQL data provider
+ * in TableBindingHack, improve support for data types in the SortableTable binding
+ * deal with ids (including MySQL multi-field keys)
+ * add support for item-references:  employeeItem.set('department', departmentItem);
+ * deal with Attributes as instances of Items, not just subclasses of Items
+ * unit tests for compare/sort code
+ * unit tests for everything
+ * implement item.toString('json') and item.toString('xml')
+ * implement dataProvider.newItem({name: 'foo', age: 26})
+ * deal better with transactions
+ * add support for deleting items
+ * don't send out multiple notifications to the same observer
+ * deal with item versions
+ * prototype a Yahoo data provider -- http://developer.yahoo.net/common/json.html
+ * prototype a data provider that enforces strong typing
+ * prototype a data provider that prevents ad-hoc attributes
+ * prototype a data provider that enforces single-kind item
+ * prototype a data provider that allows for login/authentication
+ * have loosely typed result sets play nicely with widgets that expect strong typing
+ * prototype an example of spreadsheet-style formulas or derivation rules
+ * experiment with some sort of fetch() that returns only a subset of a data provider's items
+

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,2 @@
+dojo.provide("dojo.date");
+dojo.deprecated("dojo.date","use one of the modules in dojo.date.* instead","0.5");

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/common.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/common.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/common.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/common.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,303 @@
+dojo.provide("dojo.date.common");
+dojo.date.setDayOfYear=function(_1,_2){
+_1.setMonth(0);
+_1.setDate(_2);
+return _1;
+};
+dojo.date.getDayOfYear=function(_3){
+var _4=_3.getFullYear();
+var _5=new Date(_4-1,11,31);
+return Math.floor((_3.getTime()-_5.getTime())/86400000);
+};
+dojo.date.setWeekOfYear=function(_6,_7,_8){
+if(arguments.length==1){
+_8=0;
+}
+dojo.unimplemented("dojo.date.setWeekOfYear");
+};
+dojo.date.getWeekOfYear=function(_9,_a){
+if(arguments.length==1){
+_a=0;
+}
+var _b=new Date(_9.getFullYear(),0,1);
+var _c=_b.getDay();
+_b.setDate(_b.getDate()-_c+_a-(_c>_a?7:0));
+return Math.floor((_9.getTime()-_b.getTime())/604800000);
+};
+dojo.date.setIsoWeekOfYear=function(_d,_e,_f){
+if(arguments.length==1){
+_f=1;
+}
+dojo.unimplemented("dojo.date.setIsoWeekOfYear");
+};
+dojo.date.getIsoWeekOfYear=function(_10,_11){
+if(arguments.length==1){
+_11=1;
+}
+dojo.unimplemented("dojo.date.getIsoWeekOfYear");
+};
+dojo.date.shortTimezones=["IDLW","BET","HST","MART","AKST","PST","MST","CST","EST","AST","NFT","BST","FST","AT","GMT","CET","EET","MSK","IRT","GST","AFT","AGTT","IST","NPT","ALMT","MMT","JT","AWST","JST","ACST","AEST","LHST","VUT","NFT","NZT","CHAST","PHOT","LINT"];
+dojo.date.timezoneOffsets=[-720,-660,-600,-570,-540,-480,-420,-360,-300,-240,-210,-180,-120,-60,0,60,120,180,210,240,270,300,330,345,360,390,420,480,540,570,600,630,660,690,720,765,780,840];
+dojo.date.getDaysInMonth=function(_12){
+var _13=_12.getMonth();
+var _14=[31,28,31,30,31,30,31,31,30,31,30,31];
+if(_13==1&&dojo.date.isLeapYear(_12)){
+return 29;
+}else{
+return _14[_13];
+}
+};
+dojo.date.isLeapYear=function(_15){
+var _16=_15.getFullYear();
+return (_16%400==0)?true:(_16%100==0)?false:(_16%4==0)?true:false;
+};
+dojo.date.getTimezoneName=function(_17){
+var str=_17.toString();
+var tz="";
+var _1a;
+var pos=str.indexOf("(");
+if(pos>-1){
+pos++;
+tz=str.substring(pos,str.indexOf(")"));
+}else{
+var pat=/([A-Z\/]+) \d{4}$/;
+if((_1a=str.match(pat))){
+tz=_1a[1];
+}else{
+str=_17.toLocaleString();
+pat=/ ([A-Z\/]+)$/;
+if((_1a=str.match(pat))){
+tz=_1a[1];
+}
+}
+}
+return tz=="AM"||tz=="PM"?"":tz;
+};
+dojo.date.getOrdinal=function(_1d){
+var _1e=_1d.getDate();
+if(_1e%100!=11&&_1e%10==1){
+return "st";
+}else{
+if(_1e%100!=12&&_1e%10==2){
+return "nd";
+}else{
+if(_1e%100!=13&&_1e%10==3){
+return "rd";
+}else{
+return "th";
+}
+}
+}
+};
+dojo.date.compareTypes={DATE:1,TIME:2};
+dojo.date.compare=function(_1f,_20,_21){
+var dA=_1f;
+var dB=_20||new Date();
+var now=new Date();
+with(dojo.date.compareTypes){
+var opt=_21||(DATE|TIME);
+var d1=new Date((opt&DATE)?dA.getFullYear():now.getFullYear(),(opt&DATE)?dA.getMonth():now.getMonth(),(opt&DATE)?dA.getDate():now.getDate(),(opt&TIME)?dA.getHours():0,(opt&TIME)?dA.getMinutes():0,(opt&TIME)?dA.getSeconds():0);
+var d2=new Date((opt&DATE)?dB.getFullYear():now.getFullYear(),(opt&DATE)?dB.getMonth():now.getMonth(),(opt&DATE)?dB.getDate():now.getDate(),(opt&TIME)?dB.getHours():0,(opt&TIME)?dB.getMinutes():0,(opt&TIME)?dB.getSeconds():0);
+}
+if(d1.valueOf()>d2.valueOf()){
+return 1;
+}
+if(d1.valueOf()<d2.valueOf()){
+return -1;
+}
+return 0;
+};
+dojo.date.dateParts={YEAR:0,MONTH:1,DAY:2,HOUR:3,MINUTE:4,SECOND:5,MILLISECOND:6,QUARTER:7,WEEK:8,WEEKDAY:9};
+dojo.date.add=function(dt,_29,_2a){
+if(typeof dt=="number"){
+dt=new Date(dt);
+}
+function fixOvershoot(){
+if(sum.getDate()<dt.getDate()){
+sum.setDate(0);
+}
+}
+var sum=new Date(dt);
+with(dojo.date.dateParts){
+switch(_29){
+case YEAR:
+sum.setFullYear(dt.getFullYear()+_2a);
+fixOvershoot();
+break;
+case QUARTER:
+_2a*=3;
+case MONTH:
+sum.setMonth(dt.getMonth()+_2a);
+fixOvershoot();
+break;
+case WEEK:
+_2a*=7;
+case DAY:
+sum.setDate(dt.getDate()+_2a);
+break;
+case WEEKDAY:
+var dat=dt.getDate();
+var _2d=0;
+var _2e=0;
+var _2f=0;
+var _30=0;
+var adj=0;
+var mod=_2a%5;
+if(mod==0){
+_2e=(_2a>0)?5:-5;
+_2d=(_2a>0)?((_2a-5)/5):((_2a+5)/5);
+}else{
+_2e=mod;
+_2d=parseInt(_2a/5);
+}
+_2f=dt.getDay();
+if(_2f==6&&_2a>0){
+adj=1;
+}else{
+if(_2f==0&&_2a<0){
+adj=-1;
+}
+}
+_30=(_2f+_2e);
+if(_30==0||_30==6){
+adj=(_2a>0)?2:-2;
+}
+sum.setDate(dat+(7*_2d)+_2e+adj);
+break;
+case HOUR:
+sum.setHours(sum.getHours()+_2a);
+break;
+case MINUTE:
+sum.setMinutes(sum.getMinutes()+_2a);
+break;
+case SECOND:
+sum.setSeconds(sum.getSeconds()+_2a);
+break;
+case MILLISECOND:
+sum.setMilliseconds(sum.getMilliseconds()+_2a);
+break;
+default:
+break;
+}
+}
+return sum;
+};
+dojo.date.diff=function(dtA,dtB,_35){
+if(typeof dtA=="number"){
+dtA=new Date(dtA);
+}
+if(typeof dtB=="number"){
+dtB=new Date(dtB);
+}
+var _36=dtB.getFullYear()-dtA.getFullYear();
+var _37=(dtB.getMonth()-dtA.getMonth())+(_36*12);
+var _38=dtB.getTime()-dtA.getTime();
+var _39=_38/1000;
+var _3a=_39/60;
+var _3b=_3a/60;
+var _3c=_3b/24;
+var _3d=_3c/7;
+var _3e=0;
+with(dojo.date.dateParts){
+switch(_35){
+case YEAR:
+_3e=_36;
+break;
+case QUARTER:
+var mA=dtA.getMonth();
+var mB=dtB.getMonth();
+var qA=Math.floor(mA/3)+1;
+var qB=Math.floor(mB/3)+1;
+qB+=(_36*4);
+_3e=qB-qA;
+break;
+case MONTH:
+_3e=_37;
+break;
+case WEEK:
+_3e=parseInt(_3d);
+break;
+case DAY:
+_3e=_3c;
+break;
+case WEEKDAY:
+var _43=Math.round(_3c);
+var _44=parseInt(_43/7);
+var mod=_43%7;
+if(mod==0){
+_43=_44*5;
+}else{
+var adj=0;
+var _47=dtA.getDay();
+var _48=dtB.getDay();
+_44=parseInt(_43/7);
+mod=_43%7;
+var _49=new Date(dtA);
+_49.setDate(_49.getDate()+(_44*7));
+var _4a=_49.getDay();
+if(_3c>0){
+switch(true){
+case _47==6:
+adj=-1;
+break;
+case _47==0:
+adj=0;
+break;
+case _48==6:
+adj=-1;
+break;
+case _48==0:
+adj=-2;
+break;
+case (_4a+mod)>5:
+adj=-2;
+break;
+default:
+break;
+}
+}else{
+if(_3c<0){
+switch(true){
+case _47==6:
+adj=0;
+break;
+case _47==0:
+adj=1;
+break;
+case _48==6:
+adj=2;
+break;
+case _48==0:
+adj=1;
+break;
+case (_4a+mod)<0:
+adj=2;
+break;
+default:
+break;
+}
+}
+}
+_43+=adj;
+_43-=(_44*2);
+}
+_3e=_43;
+break;
+case HOUR:
+_3e=_3b;
+break;
+case MINUTE:
+_3e=_3a;
+break;
+case SECOND:
+_3e=_39;
+break;
+case MILLISECOND:
+_3e=_38;
+break;
+default:
+break;
+}
+}
+return Math.round(_3e);
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/format.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/format.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/format.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/format.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,705 @@
+dojo.provide("dojo.date.format");
+dojo.require("dojo.date.common");
+dojo.require("dojo.date.supplemental");
+dojo.require("dojo.lang.array");
+dojo.require("dojo.lang.common");
+dojo.require("dojo.lang.func");
+dojo.require("dojo.string.common");
+dojo.require("dojo.i18n.common");
+dojo.requireLocalization("dojo.i18n.calendar","gregorian",null,"zh-cn,zh-hk,de,ko,zh-tw,zh,ja,fi,pt-br,fr,es,ROOT,hu,en,it,sv,nl,pt");
+dojo.requireLocalization("dojo.i18n.calendar","gregorianExtras",null,"zh,ja,ROOT");
+(function(){
+dojo.date.format=function(_1,_2){
+if(typeof _2=="string"){
+dojo.deprecated("dojo.date.format","To format dates with POSIX-style strings, please use dojo.date.strftime instead","0.5");
+return dojo.date.strftime(_1,_2);
+}
+function formatPattern(_3,_4){
+return _4.replace(/([a-z])\1*/ig,function(_5){
+var s;
+var c=_5.charAt(0);
+var l=_5.length;
+var _9;
+var _a=["abbr","wide","narrow"];
+switch(c){
+case "G":
+if(l>3){
+dojo.unimplemented("Era format not implemented");
+}
+s=_b.eras[_3.getFullYear()<0?1:0];
+break;
+case "y":
+s=_3.getFullYear();
+switch(l){
+case 1:
+break;
+case 2:
+s=String(s);
+s=s.substr(s.length-2);
+break;
+default:
+_9=true;
+}
+break;
+case "Q":
+case "q":
+s=Math.ceil((_3.getMonth()+1)/3);
+switch(l){
+case 1:
+case 2:
+_9=true;
+break;
+case 3:
+case 4:
+dojo.unimplemented("Quarter format not implemented");
+}
+break;
+case "M":
+case "L":
+var m=_3.getMonth();
+var _d;
+switch(l){
+case 1:
+case 2:
+s=m+1;
+_9=true;
+break;
+case 3:
+case 4:
+case 5:
+_d=_a[l-3];
+break;
+}
+if(_d){
+var _e=(c=="L")?"standalone":"format";
+var _f=["months",_e,_d].join("-");
+s=_b[_f][m];
+}
+break;
+case "w":
+var _10=0;
+s=dojo.date.getWeekOfYear(_3,_10);
+_9=true;
+break;
+case "d":
+s=_3.getDate();
+_9=true;
+break;
+case "D":
+s=dojo.date.getDayOfYear(_3);
+_9=true;
+break;
+case "E":
+case "e":
+case "c":
+var d=_3.getDay();
+var _d;
+switch(l){
+case 1:
+case 2:
+if(c=="e"){
+var _12=dojo.date.getFirstDayOfWeek(_2.locale);
+d=(d-_12+7)%7;
+}
+if(c!="c"){
+s=d+1;
+_9=true;
+break;
+}
+case 3:
+case 4:
+case 5:
+_d=_a[l-3];
+break;
+}
+if(_d){
+var _e=(c=="c")?"standalone":"format";
+var _f=["days",_e,_d].join("-");
+s=_b[_f][d];
+}
+break;
+case "a":
+var _13=(_3.getHours()<12)?"am":"pm";
+s=_b[_13];
+break;
+case "h":
+case "H":
+case "K":
+case "k":
+var h=_3.getHours();
+switch(c){
+case "h":
+s=(h%12)||12;
+break;
+case "H":
+s=h;
+break;
+case "K":
+s=(h%12);
+break;
+case "k":
+s=h||24;
+break;
+}
+_9=true;
+break;
+case "m":
+s=_3.getMinutes();
+_9=true;
+break;
+case "s":
+s=_3.getSeconds();
+_9=true;
+break;
+case "S":
+s=Math.round(_3.getMilliseconds()*Math.pow(10,l-3));
+break;
+case "v":
+case "z":
+s=dojo.date.getTimezoneName(_3);
+if(s){
+break;
+}
+l=4;
+case "Z":
+var _15=_3.getTimezoneOffset();
+var tz=[(_15<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_15)/60),2),dojo.string.pad(Math.abs(_15)%60,2)];
+if(l==4){
+tz.splice(0,0,"GMT");
+tz.splice(3,0,":");
+}
+s=tz.join("");
+break;
+case "Y":
+case "u":
+case "W":
+case "F":
+case "g":
+case "A":
+s="?";
+break;
+default:
+dojo.raise("dojo.date.format: invalid pattern char: "+_4);
+}
+if(_9){
+s=dojo.string.pad(s,l);
+}
+return s;
+});
+}
+_2=_2||{};
+var _17=dojo.hostenv.normalizeLocale(_2.locale);
+var _18=_2.formatLength||"short";
+var _b=dojo.date._getGregorianBundle(_17);
+var str=[];
+var _1a=dojo.lang.curry(this,formatPattern,_1);
+if(_2.selector=="yearOnly"){
+var _1b=_1.getFullYear();
+if(_17.match(/^zh|^ja/)){
+_1b+="\u5e74";
+}
+return _1b;
+}
+if(_2.selector!="timeOnly"){
+var _1c=_2.datePattern||_b["dateFormat-"+_18];
+if(_1c){
+str.push(_processPattern(_1c,_1a));
+}
+}
+if(_2.selector!="dateOnly"){
+var _1d=_2.timePattern||_b["timeFormat-"+_18];
+if(_1d){
+str.push(_processPattern(_1d,_1a));
+}
+}
+var _1e=str.join(" ");
+return _1e;
+};
+dojo.date.parse=function(_1f,_20){
+_20=_20||{};
+var _21=dojo.hostenv.normalizeLocale(_20.locale);
+var _22=dojo.date._getGregorianBundle(_21);
+var _23=_20.formatLength||"full";
+if(!_20.selector){
+_20.selector="dateOnly";
+}
+var _24=_20.datePattern||_22["dateFormat-"+_23];
+var _25=_20.timePattern||_22["timeFormat-"+_23];
+var _26;
+if(_20.selector=="dateOnly"){
+_26=_24;
+}else{
+if(_20.selector=="timeOnly"){
+_26=_25;
+}else{
+if(_20.selector=="dateTime"){
+_26=_24+" "+_25;
+}else{
+var msg="dojo.date.parse: Unknown selector param passed: '"+_20.selector+"'.";
+msg+=" Defaulting to date pattern.";
+dojo.debug(msg);
+_26=_24;
+}
+}
+}
+var _28=[];
+var _29=_processPattern(_26,dojo.lang.curry(this,_buildDateTimeRE,_28,_22,_20));
+var _2a=new RegExp("^"+_29+"$");
+var _2b=_2a.exec(_1f);
+if(!_2b){
+return null;
+}
+var _2c=["abbr","wide","narrow"];
+var _2d=new Date(1972,0);
+var _2e={};
+for(var i=1;i<_2b.length;i++){
+var grp=_28[i-1];
+var l=grp.length;
+var v=_2b[i];
+switch(grp.charAt(0)){
+case "y":
+if(l!=2){
+_2d.setFullYear(v);
+_2e.year=v;
+}else{
+if(v<100){
+v=Number(v);
+var _33=""+new Date().getFullYear();
+var _34=_33.substring(0,2)*100;
+var _35=Number(_33.substring(2,4));
+var _36=Math.min(_35+20,99);
+var num=(v<_36)?_34+v:_34-100+v;
+_2d.setFullYear(num);
+_2e.year=num;
+}else{
+if(_20.strict){
+return null;
+}
+_2d.setFullYear(v);
+_2e.year=v;
+}
+}
+break;
+case "M":
+if(l>2){
+if(!_20.strict){
+v=v.replace(/\./g,"");
+v=v.toLowerCase();
+}
+var _38=_22["months-format-"+_2c[l-3]].concat();
+for(var j=0;j<_38.length;j++){
+if(!_20.strict){
+_38[j]=_38[j].toLowerCase();
+}
+if(v==_38[j]){
+_2d.setMonth(j);
+_2e.month=j;
+break;
+}
+}
+if(j==_38.length){
+dojo.debug("dojo.date.parse: Could not parse month name: '"+v+"'.");
+return null;
+}
+}else{
+_2d.setMonth(v-1);
+_2e.month=v-1;
+}
+break;
+case "E":
+case "e":
+if(!_20.strict){
+v=v.toLowerCase();
+}
+var _3a=_22["days-format-"+_2c[l-3]].concat();
+for(var j=0;j<_3a.length;j++){
+if(!_20.strict){
+_3a[j]=_3a[j].toLowerCase();
+}
+if(v==_3a[j]){
+break;
+}
+}
+if(j==_3a.length){
+dojo.debug("dojo.date.parse: Could not parse weekday name: '"+v+"'.");
+return null;
+}
+break;
+case "d":
+_2d.setDate(v);
+_2e.date=v;
+break;
+case "a":
+var am=_20.am||_22.am;
+var pm=_20.pm||_22.pm;
+if(!_20.strict){
+v=v.replace(/\./g,"").toLowerCase();
+am=am.replace(/\./g,"").toLowerCase();
+pm=pm.replace(/\./g,"").toLowerCase();
+}
+if(_20.strict&&v!=am&&v!=pm){
+dojo.debug("dojo.date.parse: Could not parse am/pm part.");
+return null;
+}
+var _3d=_2d.getHours();
+if(v==pm&&_3d<12){
+_2d.setHours(_3d+12);
+}else{
+if(v==am&&_3d==12){
+_2d.setHours(0);
+}
+}
+break;
+case "K":
+if(v==24){
+v=0;
+}
+case "h":
+case "H":
+case "k":
+if(v>23){
+dojo.debug("dojo.date.parse: Illegal hours value");
+return null;
+}
+_2d.setHours(v);
+break;
+case "m":
+_2d.setMinutes(v);
+break;
+case "s":
+_2d.setSeconds(v);
+break;
+case "S":
+_2d.setMilliseconds(v);
+break;
+default:
+dojo.unimplemented("dojo.date.parse: unsupported pattern char="+grp.charAt(0));
+}
+}
+if(_2e.year&&_2d.getFullYear()!=_2e.year){
+dojo.debug("Parsed year: '"+_2d.getFullYear()+"' did not match input year: '"+_2e.year+"'.");
+return null;
+}
+if(_2e.month&&_2d.getMonth()!=_2e.month){
+dojo.debug("Parsed month: '"+_2d.getMonth()+"' did not match input month: '"+_2e.month+"'.");
+return null;
+}
+if(_2e.date&&_2d.getDate()!=_2e.date){
+dojo.debug("Parsed day of month: '"+_2d.getDate()+"' did not match input day of month: '"+_2e.date+"'.");
+return null;
+}
+return _2d;
+};
+function _processPattern(_3e,_3f,_40,_41){
+var _42=function(x){
+return x;
+};
+_3f=_3f||_42;
+_40=_40||_42;
+_41=_41||_42;
+var _44=_3e.match(/(''|[^'])+/g);
+var _45=false;
+for(var i=0;i<_44.length;i++){
+if(!_44[i]){
+_44[i]="";
+}else{
+_44[i]=(_45?_40:_3f)(_44[i]);
+_45=!_45;
+}
+}
+return _41(_44.join(""));
+}
+function _buildDateTimeRE(_47,_48,_49,_4a){
+return _4a.replace(/([a-z])\1*/ig,function(_4b){
+var s = '';
+var c=_4b.charAt(0);
+var l=_4b.length;
+switch(c){
+case "y":
+s="\\d"+((l==2)?"{2,4}":"+");
+break;
+case "M":
+s=(l>2)?"\\S+":"\\d{1,2}";
+break;
+case "d":
+s="\\d{1,2}";
+break;
+case "E":
+s="\\S+";
+break;
+case "h":
+case "H":
+case "K":
+case "k":
+s="\\d{1,2}";
+break;
+case "m":
+case "s":
+s="[0-5]\\d";
+break;
+case "S":
+s="\\d{1,3}";
+break;
+case "a":
+var am=_49.am||_48.am||"AM";
+var pm=_49.pm||_48.pm||"PM";
+if(_49.strict){
+s=am+"|"+pm;
+}else{
+for (var i=0; i < am.length; i++){s += '[' + am.charAt(i).toLowerCase() + '|' + am.charAt(i).toUpperCase() + ']';}
+s += '|'; for (var i=0; i < pm.length; i++){ s += '[' + pm.charAt(i).toLowerCase() + '|' + pm.charAt(i).toUpperCase() + ']';}
+}
+break;
+default:
+dojo.unimplemented("parse of date format, pattern="+_4a);
+}
+if(_47){
+_47.push(_4b);
+}
+return "\\s*("+s+")\\s*";
+});
+}
+})();
+dojo.date.strftime=function(_51,_52,_53){
+var _54=null;
+function _(s,n){
+return dojo.string.pad(s,n||2,_54||"0");
+}
+var _57=dojo.date._getGregorianBundle(_53);
+function $(_58){
+switch(_58){
+case "a":
+return dojo.date.getDayShortName(_51,_53);
+case "A":
+return dojo.date.getDayName(_51,_53);
+case "b":
+case "h":
+return dojo.date.getMonthShortName(_51,_53);
+case "B":
+return dojo.date.getMonthName(_51,_53);
+case "c":
+return dojo.date.format(_51,{locale:_53});
+case "C":
+return _(Math.floor(_51.getFullYear()/100));
+case "d":
+return _(_51.getDate());
+case "D":
+return $("m")+"/"+$("d")+"/"+$("y");
+case "e":
+if(_54==null){
+_54=" ";
+}
+return _(_51.getDate());
+case "f":
+if(_54==null){
+_54=" ";
+}
+return _(_51.getMonth()+1);
+case "g":
+break;
+case "G":
+dojo.unimplemented("unimplemented modifier 'G'");
+break;
+case "F":
+return $("Y")+"-"+$("m")+"-"+$("d");
+case "H":
+return _(_51.getHours());
+case "I":
+return _(_51.getHours()%12||12);
+case "j":
+return _(dojo.date.getDayOfYear(_51),3);
+case "k":
+if(_54==null){
+_54=" ";
+}
+return _(_51.getHours());
+case "l":
+if(_54==null){
+_54=" ";
+}
+return _(_51.getHours()%12||12);
+case "m":
+return _(_51.getMonth()+1);
+case "M":
+return _(_51.getMinutes());
+case "n":
+return "\n";
+case "p":
+return _57[_51.getHours()<12?"am":"pm"];
+case "r":
+return $("I")+":"+$("M")+":"+$("S")+" "+$("p");
+case "R":
+return $("H")+":"+$("M");
+case "S":
+return _(_51.getSeconds());
+case "t":
+return "\t";
+case "T":
+return $("H")+":"+$("M")+":"+$("S");
+case "u":
+return String(_51.getDay()||7);
+case "U":
+return _(dojo.date.getWeekOfYear(_51));
+case "V":
+return _(dojo.date.getIsoWeekOfYear(_51));
+case "W":
+return _(dojo.date.getWeekOfYear(_51,1));
+case "w":
+return String(_51.getDay());
+case "x":
+return dojo.date.format(_51,{selector:"dateOnly",locale:_53});
+case "X":
+return dojo.date.format(_51,{selector:"timeOnly",locale:_53});
+case "y":
+return _(_51.getFullYear()%100);
+case "Y":
+return String(_51.getFullYear());
+case "z":
+var _59=_51.getTimezoneOffset();
+return (_59>0?"-":"+")+_(Math.floor(Math.abs(_59)/60))+":"+_(Math.abs(_59)%60);
+case "Z":
+return dojo.date.getTimezoneName(_51);
+case "%":
+return "%";
+}
+}
+var _5a="";
+var i=0;
+var _5c=0;
+var _5d=null;
+while((_5c=_52.indexOf("%",i))!=-1){
+_5a+=_52.substring(i,_5c++);
+switch(_52.charAt(_5c++)){
+case "_":
+_54=" ";
+break;
+case "-":
+_54="";
+break;
+case "0":
+_54="0";
+break;
+case "^":
+_5d="upper";
+break;
+case "*":
+_5d="lower";
+break;
+case "#":
+_5d="swap";
+break;
+default:
+_54=null;
+_5c--;
+break;
+}
+var _5e=$(_52.charAt(_5c++));
+switch(_5d){
+case "upper":
+_5e=_5e.toUpperCase();
+break;
+case "lower":
+_5e=_5e.toLowerCase();
+break;
+case "swap":
+var _5f=_5e.toLowerCase();
+var _60="";
+var j=0;
+var ch="";
+while(j<_5e.length){
+ch=_5e.charAt(j);
+_60+=(ch==_5f.charAt(j))?ch.toUpperCase():ch.toLowerCase();
+j++;
+}
+_5e=_60;
+break;
+default:
+break;
+}
+_5d=null;
+_5a+=_5e;
+i=_5c;
+}
+_5a+=_52.substring(i);
+return _5a;
+};
+(function(){
+var _63=[];
+dojo.date.addCustomFormats=function(_64,_65){
+_63.push({pkg:_64,name:_65});
+};
+dojo.date._getGregorianBundle=function(_66){
+var _67={};
+dojo.lang.forEach(_63,function(_68){
+var _69=dojo.i18n.getLocalization(_68.pkg,_68.name,_66);
+_67=dojo.lang.mixin(_67,_69);
+},this);
+return _67;
+};
+})();
+dojo.date.addCustomFormats("dojo.i18n.calendar","gregorian");
+dojo.date.addCustomFormats("dojo.i18n.calendar","gregorianExtras");
+dojo.date.getNames=function(_6a,_6b,use,_6d){
+var _6e;
+var _6f=dojo.date._getGregorianBundle(_6d);
+var _70=[_6a,use,_6b];
+if(use=="standAlone"){
+_6e=_6f[_70.join("-")];
+}
+_70[1]="format";
+return (_6e||_6f[_70.join("-")]).concat();
+};
+dojo.date.getDayName=function(_71,_72){
+return dojo.date.getNames("days","wide","format",_72)[_71.getDay()];
+};
+dojo.date.getDayShortName=function(_73,_74){
+return dojo.date.getNames("days","abbr","format",_74)[_73.getDay()];
+};
+dojo.date.getMonthName=function(_75,_76){
+return dojo.date.getNames("months","wide","format",_76)[_75.getMonth()];
+};
+dojo.date.getMonthShortName=function(_77,_78){
+return dojo.date.getNames("months","abbr","format",_78)[_77.getMonth()];
+};
+dojo.date.toRelativeString=function(_79){
+var now=new Date();
+var _7b=(now-_79)/1000;
+var end=" ago";
+var _7d=false;
+if(_7b<0){
+_7d=true;
+end=" from now";
+_7b=-_7b;
+}
+if(_7b<60){
+_7b=Math.round(_7b);
+return _7b+" second"+(_7b==1?"":"s")+end;
+}
+if(_7b<60*60){
+_7b=Math.round(_7b/60);
+return _7b+" minute"+(_7b==1?"":"s")+end;
+}
+if(_7b<60*60*24){
+_7b=Math.round(_7b/3600);
+return _7b+" hour"+(_7b==1?"":"s")+end;
+}
+if(_7b<60*60*24*7){
+_7b=Math.round(_7b/(3600*24));
+if(_7b==1){
+return _7d?"Tomorrow":"Yesterday";
+}else{
+return _7b+" days"+end;
+}
+}
+return dojo.date.format(_79);
+};
+dojo.date.toSql=function(_7e,_7f){
+return dojo.date.strftime(_7e,"%F"+!_7f?" %T":"");
+};
+dojo.date.fromSql=function(_80){
+var _81=_80.split(/[\- :]/g);
+while(_81.length<6){
+_81.push(0);
+}
+return new Date(_81[0],(parseInt(_81[1],10)-1),_81[2],_81[3],_81[4],_81[5]);
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/serialize.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/serialize.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/serialize.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/serialize.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,116 @@
+dojo.provide("dojo.date.serialize");
+dojo.require("dojo.string.common");
+dojo.date.setIso8601=function(_1,_2){
+var _3=(_2.indexOf("T")==-1)?_2.split(" "):_2.split("T");
+_1=dojo.date.setIso8601Date(_1,_3[0]);
+if(_3.length==2){
+_1=dojo.date.setIso8601Time(_1,_3[1]);
+}
+return _1;
+};
+dojo.date.fromIso8601=function(_4){
+return dojo.date.setIso8601(new Date(0,0),_4);
+};
+dojo.date.setIso8601Date=function(_5,_6){
+var _7="^([0-9]{4})((-?([0-9]{2})(-?([0-9]{2}))?)|"+"(-?([0-9]{3}))|(-?W([0-9]{2})(-?([1-7]))?))?$";
+var d=_6.match(new RegExp(_7));
+if(!d){
+dojo.debug("invalid date string: "+_6);
+return null;
+}
+var _9=d[1];
+var _a=d[4];
+var _b=d[6];
+var _c=d[8];
+var _d=d[10];
+var _e=d[12]?d[12]:1;
+_5.setFullYear(_9);
+if(_c){
+_5.setMonth(0);
+_5.setDate(Number(_c));
+}else{
+if(_d){
+_5.setMonth(0);
+_5.setDate(1);
+var gd=_5.getDay();
+var day=gd?gd:7;
+var _11=Number(_e)+(7*Number(_d));
+if(day<=4){
+_5.setDate(_11+1-day);
+}else{
+_5.setDate(_11+8-day);
+}
+}else{
+if(_a){
+_5.setDate(1);
+_5.setMonth(_a-1);
+}
+if(_b){
+_5.setDate(_b);
+}
+}
+}
+return _5;
+};
+dojo.date.fromIso8601Date=function(_12){
+return dojo.date.setIso8601Date(new Date(0,0),_12);
+};
+dojo.date.setIso8601Time=function(_13,_14){
+var _15="Z|(([-+])([0-9]{2})(:?([0-9]{2}))?)$";
+var d=_14.match(new RegExp(_15));
+var _17=0;
+if(d){
+if(d[0]!="Z"){
+_17=(Number(d[3])*60)+Number(d[5]);
+_17*=((d[2]=="-")?1:-1);
+}
+_17-=_13.getTimezoneOffset();
+_14=_14.substr(0,_14.length-d[0].length);
+}
+var _18="^([0-9]{2})(:?([0-9]{2})(:?([0-9]{2})(.([0-9]+))?)?)?$";
+d=_14.match(new RegExp(_18));
+if(!d){
+dojo.debug("invalid time string: "+_14);
+return null;
+}
+var _19=d[1];
+var _1a=Number((d[3])?d[3]:0);
+var _1b=(d[5])?d[5]:0;
+var ms=d[7]?(Number("0."+d[7])*1000):0;
+_13.setHours(_19);
+_13.setMinutes(_1a);
+_13.setSeconds(_1b);
+_13.setMilliseconds(ms);
+if(_17!==0){
+_13.setTime(_13.getTime()+_17*60000);
+}
+return _13;
+};
+dojo.date.fromIso8601Time=function(_1d){
+return dojo.date.setIso8601Time(new Date(0,0),_1d);
+};
+dojo.date.toRfc3339=function(_1e,_1f){
+if(!_1e){
+_1e=new Date();
+}
+var _=dojo.string.pad;
+var _21=[];
+if(_1f!="timeOnly"){
+var _22=[_(_1e.getFullYear(),4),_(_1e.getMonth()+1,2),_(_1e.getDate(),2)].join("-");
+_21.push(_22);
+}
+if(_1f!="dateOnly"){
+var _23=[_(_1e.getHours(),2),_(_1e.getMinutes(),2),_(_1e.getSeconds(),2)].join(":");
+var _24=_1e.getTimezoneOffset();
+_23+=(_24>0?"-":"+")+_(Math.floor(Math.abs(_24)/60),2)+":"+_(Math.abs(_24)%60,2);
+_21.push(_23);
+}
+return _21.join("T");
+};
+dojo.date.fromRfc3339=function(_25){
+if(_25.indexOf("Tany")!=-1){
+_25=_25.replace("Tany","");
+}
+var _26=new Date();
+return dojo.date.setIso8601(_26,_25);
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/supplemental.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/supplemental.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/supplemental.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/date/supplemental.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,34 @@
+dojo.provide("dojo.date.supplemental");
+dojo.date.getFirstDayOfWeek=function(_1){
+var _2={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,gb:0,sy:4};
+_1=dojo.hostenv.normalizeLocale(_1);
+var _3=_1.split("-")[1];
+var _4=_2[_3];
+return (typeof _4=="undefined")?1:_4;
+};
+dojo.date.getWeekend=function(_5){
+var _6={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};
+var _7={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};
+_5=dojo.hostenv.normalizeLocale(_5);
+var _8=_5.split("-")[1];
+var _9=_6[_8];
+var _a=_7[_8];
+if(typeof _9=="undefined"){
+_9=6;
+}
+if(typeof _a=="undefined"){
+_a=0;
+}
+return {start:_9,end:_a};
+};
+dojo.date.isWeekend=function(_b,_c){
+var _d=dojo.date.getWeekend(_c);
+var _e=(_b||new Date()).getDay();
+if(_d.end<_d.start){
+_d.end+=7;
+if(_e<_d.start){
+_e+=7;
+}
+}
+return _e>=_d.start&&_e<=_d.end;
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,72 @@
+dojo.provide("dojo.debug");
+dojo.debug=function(){
+if(!djConfig.isDebug){
+return;
+}
+var _1=arguments;
+if(dj_undef("println",dojo.hostenv)){
+dojo.raise("dojo.debug not available (yet?)");
+}
+var _2=dj_global["jum"]&&!dj_global["jum"].isBrowser;
+var s=[(_2?"":"DEBUG: ")];
+for(var i=0;i<_1.length;++i){
+if(!false&&_1[i]&&_1[i] instanceof Error){
+var _5="["+_1[i].name+": "+dojo.errorToString(_1[i])+(_1[i].fileName?", file: "+_1[i].fileName:"")+(_1[i].lineNumber?", line: "+_1[i].lineNumber:"")+"]";
+}else{
+try{
+var _5=String(_1[i]);
+}
+catch(e){
+if(dojo.render.html.ie){
+var _5="[ActiveXObject]";
+}else{
+var _5="[unknown]";
+}
+}
+}
+s.push(_5);
+}
+dojo.hostenv.println(s.join(" "));
+};
+dojo.debugShallow=function(_6){
+if(!djConfig.isDebug){
+return;
+}
+dojo.debug("------------------------------------------------------------");
+dojo.debug("Object: "+_6);
+var _7=[];
+for(var _8 in _6){
+try{
+_7.push(_8+": "+_6[_8]);
+}
+catch(E){
+_7.push(_8+": ERROR - "+E.message);
+}
+}
+_7.sort();
+for(var i=0;i<_7.length;i++){
+dojo.debug(_7[i]);
+}
+dojo.debug("------------------------------------------------------------");
+};
+dojo.debugDeep=function(_a){
+if(!djConfig.isDebug){
+return;
+}
+if(!dojo.uri||!dojo.uri.dojoUri){
+return dojo.debug("You'll need to load dojo.uri.* for deep debugging - sorry!");
+}
+if(!window.open){
+return dojo.debug("Deep debugging is only supported in host environments with window.open");
+}
+var _b=dojo.debugDeep.debugVars.length;
+dojo.debugDeep.debugVars.push(_a);
+var _c=(djConfig["dojoDebugDeepHtmlUrl"]||new dojo.uri.Uri(location,dojo.uri.moduleUri("dojo.debug","deep.html")).toString())+"?var="+_b;
+var _d=window.open(_c,"_blank","width=600, height=400, resizable=yes, scrollbars=yes, status=yes");
+try{
+_d.debugVar=_a;
+}
+catch(e){
+}
+};
+dojo.debugDeep.debugVars=[];

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/Firebug.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/Firebug.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/Firebug.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/Firebug.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,44 @@
+dojo.provide("dojo.debug.Firebug");
+dojo.deprecated("dojo.debug.Firebug is slated for removal in 0.5; use dojo.debug.console instead.","0.5");
+if(dojo.render.html.moz){
+if(console&&console.log){
+var consoleLog=function(){
+if(!djConfig.isDebug){
+return;
+}
+var _1=dojo.lang.toArray(arguments);
+_1.splice(0,0,"DEBUG: ");
+console.log.apply(console,_1);
+};
+dojo.debug=consoleLog;
+dojo.debugDeep=consoleLog;
+dojo.debugShallow=function(_2){
+if(!djConfig.isDebug){
+return;
+}
+if(dojo.lang.isArray(_2)){
+console.log("Array: ",_2);
+for(var i=0;x<_2.length;i++){
+console.log("    ","["+i+"]",_2[i]);
+}
+}else{
+console.log("Object: ",_2);
+var _4=[];
+for(var _5 in _2){
+_4.push(_5);
+}
+_4.sort();
+dojo.lang.forEach(_4,function(_6){
+try{
+console.log("    ",_6,_2[_6]);
+}
+catch(e){
+console.log("    ",_6,"ERROR",e.message,e);
+}
+});
+}
+};
+}else{
+dojo.debug("dojo.debug.Firebug requires Firebug > 0.4");
+}
+}

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/arrow_hide.gif
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/arrow_hide.gif?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/debug/arrow_hide.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/arrow_show.gif
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/arrow_show.gif?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/debug/arrow_show.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/console.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/console.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/console.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/debug/console.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,84 @@
+dojo.provide("dojo.debug.console");
+dojo.require("dojo.logging.ConsoleLogger");
+if(window.console){
+if(console.info!=null){
+dojo.hostenv.println=function(){
+if(!djConfig.isDebug){
+return;
+}
+console.info.apply(console,arguments);
+};
+dojo.debug=dojo.hostenv.println;
+dojo.debugDeep=dojo.debug;
+dojo.debugShallow=function(_1,_2,_3){
+if(!djConfig.isDebug){
+return;
+}
+_2=(_2!=false);
+_3=(_3!=false);
+if(_1==null||_1.constructor==null){
+return dojo.debug(_1);
+}
+var _4=_1.declaredClass;
+if(_4==null){
+_4=_1.constructor.toString().match(/function\s*(.*)\(/);
+if(_4){
+_4=_4[1];
+}
+}
+if(_4){
+if(_4=="String"||_4=="Number"){
+return dojo.debug(_4+": ",_1);
+}
+if(_2&&!_3){
+var _5=_1;
+}else{
+var _6=[];
+if(_2){
+for(var _7 in _1){
+_6.push(_7);
+}
+}else{
+for(var _7 in _1){
+if(typeof _1[_7]!="function"){
+_6.push(_7);
+}else{
+dojo.debug(_7);
+}
+}
+}
+if(_3){
+_6.sort();
+}
+var _5={};
+dojo.lang.forEach(_6,function(_8){
+_5[_8]=_1[_8];
+});
+}
+return dojo.debug(_4+": %o\n%2.o",_1,_5);
+}
+return dojo.debug(_1.constructor+": ",_1);
+};
+}else{
+if(console.log!=null){
+dojo.hostenv.println=function(){
+if(!djConfig.isDebug){
+return;
+}
+var _9=dojo.lang.toArray(arguments);
+console.log("DEBUG: "+_9.join(" "));
+};
+dojo.debug=dojo.hostenv.println;
+}else{
+dojo.debug("dojo.debug.console requires Firebug > 0.4");
+}
+}
+}else{
+if(dojo.render.html.opera){
+if(opera&&opera.postError){
+dojo.hostenv.println=opera.postError;
+}else{
+dojo.debug("dojo.debug.Opera requires Opera > 8.0");
+}
+}
+}

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

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

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



Mime
View raw message