tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r618461 [15/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/collections/Set.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Set.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Set.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Set.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,101 @@
+dojo.provide("dojo.collections.Set");
+dojo.require("dojo.collections.Collections");
+dojo.require("dojo.collections.ArrayList");
+dojo.collections.Set=new function(){
+this.union=function(_1,_2){
+if(_1.constructor==Array){
+var _1=new dojo.collections.ArrayList(_1);
+}
+if(_2.constructor==Array){
+var _2=new dojo.collections.ArrayList(_2);
+}
+if(!_1.toArray||!_2.toArray){
+dojo.raise("Set operations can only be performed on array-based collections.");
+}
+var _3=new dojo.collections.ArrayList(_1.toArray());
+var e=_2.getIterator();
+while(!e.atEnd()){
+var _5=e.get();
+if(!_3.contains(_5)){
+_3.add(_5);
+}
+}
+return _3;
+};
+this.intersection=function(_6,_7){
+if(_6.constructor==Array){
+var _6=new dojo.collections.ArrayList(_6);
+}
+if(_7.constructor==Array){
+var _7=new dojo.collections.ArrayList(_7);
+}
+if(!_6.toArray||!_7.toArray){
+dojo.raise("Set operations can only be performed on array-based collections.");
+}
+var _8=new dojo.collections.ArrayList();
+var e=_7.getIterator();
+while(!e.atEnd()){
+var _a=e.get();
+if(_6.contains(_a)){
+_8.add(_a);
+}
+}
+return _8;
+};
+this.difference=function(_b,_c){
+if(_b.constructor==Array){
+var _b=new dojo.collections.ArrayList(_b);
+}
+if(_c.constructor==Array){
+var _c=new dojo.collections.ArrayList(_c);
+}
+if(!_b.toArray||!_c.toArray){
+dojo.raise("Set operations can only be performed on array-based collections.");
+}
+var _d=new dojo.collections.ArrayList();
+var e=_b.getIterator();
+while(!e.atEnd()){
+var _f=e.get();
+if(!_c.contains(_f)){
+_d.add(_f);
+}
+}
+return _d;
+};
+this.isSubSet=function(_10,_11){
+if(_10.constructor==Array){
+var _10=new dojo.collections.ArrayList(_10);
+}
+if(_11.constructor==Array){
+var _11=new dojo.collections.ArrayList(_11);
+}
+if(!_10.toArray||!_11.toArray){
+dojo.raise("Set operations can only be performed on array-based collections.");
+}
+var e=_10.getIterator();
+while(!e.atEnd()){
+if(!_11.contains(e.get())){
+return false;
+}
+}
+return true;
+};
+this.isSuperSet=function(_13,_14){
+if(_13.constructor==Array){
+var _13=new dojo.collections.ArrayList(_13);
+}
+if(_14.constructor==Array){
+var _14=new dojo.collections.ArrayList(_14);
+}
+if(!_13.toArray||!_14.toArray){
+dojo.raise("Set operations can only be performed on array-based collections.");
+}
+var e=_14.getIterator();
+while(!e.atEnd()){
+if(!_13.contains(e.get())){
+return false;
+}
+}
+return true;
+};
+}();

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/SkipList.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/SkipList.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/SkipList.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/SkipList.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,156 @@
+dojo.provide("dojo.collections.SkipList");
+dojo.require("dojo.collections.Collections");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.collections.SkipList");
+dojo.collections.SkipList=function(){
+function node(_1,_2){
+this.value=_2;
+this.height=_1;
+this.nodes=new nodeList(_1);
+this.compare=function(_3){
+if(this.value>_3){
+return 1;
+}
+if(this.value<_3){
+return -1;
+}
+return 0;
+};
+this.incrementHeight=function(){
+this.nodes.incrementHeight();
+this.height++;
+};
+this.decrementHeight=function(){
+this.nodes.decrementHeight();
+this.height--;
+};
+}
+function nodeList(_4){
+var _5=[];
+this.height=_4;
+for(var i=0;i<_4;i++){
+_5[i]=null;
+}
+this.item=function(i){
+return _5[i];
+};
+this.incrementHeight=function(){
+this.height++;
+_5[this.height]=null;
+};
+this.decrementHeight=function(){
+_5.splice(_5.length-1,1);
+this.height--;
+};
+}
+function iterator(_8){
+this.element=_8.head;
+this.atEnd=function(){
+return (this.element==null);
+};
+this.get=function(){
+if(this.atEnd()){
+return null;
+}
+this.element=this.element.nodes[0];
+return this.element;
+};
+this.reset=function(){
+this.element=_8.head;
+};
+}
+function chooseRandomHeight(_9){
+var _a=1;
+while(Math.random()<_b&&_a<_9){
+_a++;
+}
+return _a;
+}
+var _b=0.5;
+var _c=0;
+this.head=new node(1);
+this.count=0;
+this.add=function(_d){
+var _e=[];
+var _f=this.head;
+for(var i=this.head.height;i>=0;i--){
+if(!(_f.nodes[i]!=null&&_f.nodes[i].compare(_d)<0)){
+_c++;
+}
+while(_f.nodes[i]!=null&&_f.nodes[i].compare(_d)<0){
+_f=_f.nodes[i];
+_c++;
+}
+_e[i]=_f;
+}
+if(_f.nodes[0]!=null&&_f.nodes[0].compare(_d)==0){
+return;
+}
+var n=new node(_d,chooseRandomHeight(this.head.height+1));
+this.count++;
+if(n.height>this.head.height){
+this.head.incrementHeight();
+this.head.nodes[this.head.height-1]=n;
+}
+for(i=0;i<n.height;i++){
+if(i<_e.length){
+n.nodes[i]=_e[i].nodes[i];
+_e[i].nodes[i]=n;
+}
+}
+};
+this.contains=function(val){
+var _13=this.head;
+var i;
+for(i=this.head.height-1;i>=0;i--){
+while(_13.item(i)!=null){
+_c++;
+var _15=_13.nodes[i].compare(val);
+if(_15==0){
+return true;
+}else{
+if(_15<0){
+_13=_13.nodes[i];
+}else{
+break;
+}
+}
+}
+}
+return false;
+};
+this.getIterator=function(){
+return new iterator(this);
+};
+this.remove=function(val){
+var _17=[];
+var _18=this.head;
+for(var i=this.head.height-1;i>=0;i--){
+if(!(_18.nodes[i]!=null&&_18.nodes[i].compare(val)<0)){
+_c++;
+}
+while(_18.nodes[i]!=null&&_18.nodes[i].compare(val)<0){
+_18=_18.nodes[i];
+_c++;
+}
+_17[i]=_18;
+}
+_18=_18.nodes[0];
+if(_18!=null&&_18.compare(val)==0){
+this.count--;
+for(var i=0;i<this.head.height;i++){
+if(_17[i].nodes[i]!=_18){
+break;
+}else{
+_17[i].nodes[i]=_18.nodes[i];
+}
+}
+if(this.head.nodes[this.head.height-1]==null){
+this.head.decrementHeight();
+}
+}
+};
+this.resetComparisons=function(){
+_c=0;
+};
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/SortedList.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/SortedList.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/SortedList.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/SortedList.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,158 @@
+dojo.provide("dojo.collections.SortedList");
+dojo.require("dojo.collections.Collections");
+dojo.collections.SortedList=function(_1){
+var _2=this;
+var _3={};
+var q=[];
+var _5=function(a,b){
+if(a.key>b.key){
+return 1;
+}
+if(a.key<b.key){
+return -1;
+}
+return 0;
+};
+var _8=function(){
+q=[];
+var e=_2.getIterator();
+while(!e.atEnd()){
+q.push(e.get());
+}
+q.sort(_5);
+};
+var _a={};
+this.count=q.length;
+this.add=function(k,v){
+if(!_3[k]){
+_3[k]=new dojo.collections.DictionaryEntry(k,v);
+this.count=q.push(_3[k]);
+q.sort(_5);
+}
+};
+this.clear=function(){
+_3={};
+q=[];
+this.count=q.length;
+};
+this.clone=function(){
+return new dojo.collections.SortedList(this);
+};
+this.contains=this.containsKey=function(k){
+if(_a[k]){
+return false;
+}
+return (_3[k]!=null);
+};
+this.containsValue=function(o){
+var e=this.getIterator();
+while(!e.atEnd()){
+var _10=e.get();
+if(_10.value==o){
+return true;
+}
+}
+return false;
+};
+this.copyTo=function(arr,i){
+var e=this.getIterator();
+var idx=i;
+while(!e.atEnd()){
+arr.splice(idx,0,e.get());
+idx++;
+}
+};
+this.entry=function(k){
+return _3[k];
+};
+this.forEach=function(fn,_17){
+var s=_17||dj_global;
+if(Array.forEach){
+Array.forEach(q,fn,s);
+}else{
+for(var i=0;i<q.length;i++){
+fn.call(s,q[i],i,q);
+}
+}
+};
+this.getByIndex=function(i){
+return q[i].valueOf();
+};
+this.getIterator=function(){
+return new dojo.collections.DictionaryIterator(_3);
+};
+this.getKey=function(i){
+return q[i].key;
+};
+this.getKeyList=function(){
+var arr=[];
+var e=this.getIterator();
+while(!e.atEnd()){
+arr.push(e.get().key);
+}
+return arr;
+};
+this.getValueList=function(){
+var arr=[];
+var e=this.getIterator();
+while(!e.atEnd()){
+arr.push(e.get().value);
+}
+return arr;
+};
+this.indexOfKey=function(k){
+for(var i=0;i<q.length;i++){
+if(q[i].key==k){
+return i;
+}
+}
+return -1;
+};
+this.indexOfValue=function(o){
+for(var i=0;i<q.length;i++){
+if(q[i].value==o){
+return i;
+}
+}
+return -1;
+};
+this.item=function(k){
+if(k in _3&&!_a[k]){
+return _3[k].valueOf();
+}
+return undefined;
+};
+this.remove=function(k){
+delete _3[k];
+_8();
+this.count=q.length;
+};
+this.removeAt=function(i){
+delete _3[q[i].key];
+_8();
+this.count=q.length;
+};
+this.replace=function(k,v){
+if(!_3[k]){
+this.add(k,v);
+return false;
+}else{
+_3[k]=new dojo.collections.DictionaryEntry(k,v);
+q.sort(_5);
+return true;
+}
+};
+this.setByIndex=function(i,o){
+_3[q[i].key].value=o;
+_8();
+this.count=q.length;
+};
+if(_1){
+var e=_1.getIterator();
+while(!e.atEnd()){
+var _2c=e.get();
+q[q.length]=_3[_2c.key]=new dojo.collections.DictionaryEntry(_2c.key,_2c.value);
+}
+q.sort(_5);
+}
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Stack.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Stack.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Stack.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Stack.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,54 @@
+dojo.provide("dojo.collections.Stack");
+dojo.require("dojo.collections.Collections");
+dojo.collections.Stack=function(_1){
+var q=[];
+if(_1){
+q=q.concat(_1);
+}
+this.count=q.length;
+this.clear=function(){
+q=[];
+this.count=q.length;
+};
+this.clone=function(){
+return new dojo.collections.Stack(q);
+};
+this.contains=function(o){
+for(var i=0;i<q.length;i++){
+if(q[i]==o){
+return true;
+}
+}
+return false;
+};
+this.copyTo=function(_5,i){
+_5.splice(i,0,q);
+};
+this.forEach=function(fn,_8){
+var s=_8||dj_global;
+if(Array.forEach){
+Array.forEach(q,fn,s);
+}else{
+for(var i=0;i<q.length;i++){
+fn.call(s,q[i],i,q);
+}
+}
+};
+this.getIterator=function(){
+return new dojo.collections.Iterator(q);
+};
+this.peek=function(){
+return q[(q.length-1)];
+};
+this.pop=function(){
+var r=q.pop();
+this.count=q.length;
+return r;
+};
+this.push=function(o){
+this.count=q.push(o);
+};
+this.toArray=function(){
+return [].concat(q);
+};
+};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Store.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Store.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Store.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/collections/Store.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,280 @@
+dojo.provide("dojo.collections.Store");
+dojo.require("dojo.lang.common");
+dojo.collections.Store=function(_1){
+var _2=[];
+var _3={};
+this.keyField="Id";
+this.get=function(){
+return _2;
+};
+this.getByKey=function(_4){
+return _3[_4];
+};
+this.getByIndex=function(_5){
+return _2[_5];
+};
+this.getIndexOf=function(_6){
+for(var i=0;i<_2.length;i++){
+if(_2[i].key==_6){
+return i;
+}
+}
+return -1;
+};
+this.getData=function(){
+var _8=[];
+for(var i=0;i<_2.length;i++){
+_8.push(_2[i].src);
+}
+return _8;
+};
+this.getDataByKey=function(_a){
+if(_3[_a]!=null){
+return _3[_a].src;
+}
+return null;
+};
+this.getIndexOfData=function(_b){
+for(var i=0;i<_2.length;i++){
+if(_2[i].src==_b){
+return i;
+}
+}
+return -1;
+};
+this.getDataByIndex=function(_d){
+if(_2[_d]){
+return _2[_d].src;
+}
+return null;
+};
+this.update=function(_e,_f,val,_11){
+var _12=_f.split("."),i=0,o=_e,_15;
+if(_12.length>1){
+_15=_12.pop();
+do{
+if(_12[i].indexOf("()")>-1){
+var _16=_12[i++].split("()")[0];
+if(!o[_16]){
+dojo.raise("dojo.collections.Store.getField(obj, '"+_15+"'): '"+_16+"' is not a property of the passed object.");
+}else{
+o=o[_16]();
+}
+}else{
+o=o[_12[i++]];
+}
+}while(i<_12.length&&o!=null);
+}else{
+_15=_12[0];
+}
+_e[_15]=val;
+if(!_11){
+this.onUpdateField(_e,_f,val);
+}
+};
+this.forEach=function(fn){
+if(Array.forEach){
+Array.forEach(_2,fn,this);
+}else{
+for(var i=0;i<_2.length;i++){
+fn.call(this,_2[i]);
+}
+}
+};
+this.forEachData=function(fn){
+if(Array.forEach){
+Array.forEach(this.getData(),fn,this);
+}else{
+var a=this.getData();
+for(var i=0;i<a.length;i++){
+fn.call(this,a[i]);
+}
+}
+};
+this.setData=function(arr,_1d){
+_2=[];
+for(var i=0;i<arr.length;i++){
+var o={key:arr[i][this.keyField],src:arr[i]};
+_2.push(o);
+_3[o.key]=o;
+}
+if(!_1d){
+this.onSetData();
+}
+};
+this.clearData=function(_20){
+_2=[];
+_3={};
+if(!_20){
+this.onClearData();
+}
+};
+this.addData=function(obj,key,_23){
+var k=key||obj[this.keyField];
+if(_3[k]!=null){
+var o=_3[k];
+o.src=obj;
+}else{
+var o={key:k,src:obj};
+_2.push(o);
+_3[o.key]=o;
+}
+if(!_23){
+this.onAddData(o);
+}
+};
+this.addDataRange=function(arr,_27){
+var _28=[];
+for(var i=0;i<arr.length;i++){
+var k=arr[i][this.keyField];
+if(_3[k]!=null){
+var o=_3[k];
+o.src=arr[i];
+}else{
+var o={key:k,src:arr[i]};
+_2.push(o);
+_3[k]=o;
+}
+_28.push(o);
+}
+if(!_27){
+this.onAddDataRange(_28);
+}
+};
+this.addDataByIndex=function(obj,idx,key,_2f){
+var k=key||obj[this.keyField];
+if(_3[k]!=null){
+var i=this.getIndexOf(k);
+var o=_2.splice(i,1);
+o.src=obj;
+}else{
+var o={key:k,src:obj};
+_3[k]=o;
+}
+_2.splice(idx,0,o);
+if(!_2f){
+this.onAddData(o);
+}
+};
+this.addDataRangeByIndex=function(arr,idx,_35){
+var _36=[];
+for(var i=0;i<arr.length;i++){
+var k=arr[i][this.keyField];
+if(_3[k]!=null){
+var j=this.getIndexOf(k);
+var o=_2.splice(j,1);
+o.src=arr[i];
+}else{
+var o={key:k,src:arr[i]};
+_3[k]=o;
+}
+_36.push(o);
+}
+_2.splice(idx,0,_36);
+if(!_35){
+this.onAddDataRange(_36);
+}
+};
+this.removeData=function(obj,_3c){
+var idx=-1;
+var o=null;
+for(var i=0;i<_2.length;i++){
+if(_2[i].src==obj){
+idx=i;
+o=_2[i];
+break;
+}
+}
+if(!_3c){
+this.onRemoveData(o);
+}
+if(idx>-1){
+_2.splice(idx,1);
+delete _3[o.key];
+}
+};
+this.removeDataRange=function(idx,_41,_42){
+var ret=_2.splice(idx,_41);
+for(var i=0;i<ret.length;i++){
+delete _3[ret[i].key];
+}
+if(!_42){
+this.onRemoveDataRange(ret);
+}
+return ret;
+};
+this.removeDataByKey=function(key,_46){
+this.removeData(this.getDataByKey(key),_46);
+};
+this.removeDataByIndex=function(idx,_48){
+this.removeData(this.getDataByIndex(idx),_48);
+};
+if(_1&&_1.length&&_1[0]){
+this.setData(_1,true);
+}
+};
+dojo.extend(dojo.collections.Store,{getField:function(obj,_4a){
+var _4b=_4a.split("."),i=0,o=obj;
+do{
+if(_4b[i].indexOf("()")>-1){
+var _4e=_4b[i++].split("()")[0];
+if(!o[_4e]){
+dojo.raise("dojo.collections.Store.getField(obj, '"+_4a+"'): '"+_4e+"' is not a property of the passed object.");
+}else{
+o=o[_4e]();
+}
+}else{
+o=o[_4b[i++]];
+}
+}while(i<_4b.length&&o!=null);
+if(i<_4b.length){
+dojo.raise("dojo.collections.Store.getField(obj, '"+_4a+"'): '"+_4a+"' is not a property of the passed object.");
+}
+return o;
+},getFromHtml:function(_4f,_50,_51){
+var _52=_50.rows;
+var _53=function(row){
+var obj={};
+for(var i=0;i<_4f.length;i++){
+var o=obj;
+var _58=row.cells[i].innerHTML;
+var p=_4f[i].getField();
+if(p.indexOf(".")>-1){
+p=p.split(".");
+while(p.length>1){
+var pr=p.shift();
+o[pr]={};
+o=o[pr];
+}
+p=p[0];
+}
+var _5b=_4f[i].getType();
+if(_5b==String){
+o[p]=_58;
+}else{
+if(_58){
+o[p]=new _5b(_58);
+}else{
+o[p]=new _5b();
+}
+}
+}
+return obj;
+};
+var arr=[];
+for(var i=0;i<_52.length;i++){
+var o=_53(_52[i]);
+if(_51){
+_51(o,_52[i]);
+}
+arr.push(o);
+}
+return arr;
+},onSetData:function(){
+},onClearData:function(){
+},onAddData:function(obj){
+},onAddDataRange:function(arr){
+},onRemoveData:function(obj){
+},onRemoveDataRange:function(arr){
+},onUpdateField:function(obj,_64,val){
+}});

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

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

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

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

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,3 @@
+dojo.provide("dojo.crypto");
+dojo.crypto.cipherModes={ECB:0,CBC:1,PCBC:2,CFB:3,OFB:4,CTR:5};
+dojo.crypto.outputTypes={Base64:0,Hex:1,String:2,Raw:3};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/Blowfish.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/Blowfish.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/Blowfish.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/Blowfish.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,371 @@
+dojo.require("dojo.crypto");
+dojo.provide("dojo.crypto.Blowfish");
+dojo.crypto.Blowfish=new function(){
+var _1=Math.pow(2,2);
+var _2=Math.pow(2,3);
+var _3=Math.pow(2,4);
+var _4=Math.pow(2,8);
+var _5=Math.pow(2,16);
+var _6=Math.pow(2,24);
+var iv=null;
+var _8={p:[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s0:[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,7724
 90370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,28
 4835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],s
 1:[1266315497,3048417604,3681880366,3289982499,2909710000,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,61
 6741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,4489396
 70,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],s2:[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095
 763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079
 ,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364
 ,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],s3:[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2
 615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412
 390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409000,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,84686
 1322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]};
+function add(x,y){
+var _b=(x+y)&4294967295;
+if(_b<0){
+_b=-_b;
+return (65536*((_b>>16)^65535))+(((_b&65535)^65535)+1);
+}
+return _b;
+}
+function split(x){
+var r=x&4294967295;
+if(r<0){
+r=-r;
+return [((r&65535)^65535)+1,(r>>16)^65535];
+}
+return [r&65535,(r>>16)];
+}
+function xor(x,y){
+var xs=split(x);
+var ys=split(y);
+return (65536*(xs[1]^ys[1]))+(xs[0]^ys[0]);
+}
+function $(v,box){
+var d=v&255;
+v>>=8;
+var c=v&255;
+v>>=8;
+var b=v&255;
+v>>=8;
+var a=v&255;
+var r=add(box.s0[a],box.s1[b]);
+r=xor(r,box.s2[c]);
+return add(r,box.s3[d]);
+}
+function eb(o,box){
+var l=o.left;
+var r=o.right;
+l=xor(l,box.p[0]);
+r=xor(r,xor($(l,box),box.p[1]));
+l=xor(l,xor($(r,box),box.p[2]));
+r=xor(r,xor($(l,box),box.p[3]));
+l=xor(l,xor($(r,box),box.p[4]));
+r=xor(r,xor($(l,box),box.p[5]));
+l=xor(l,xor($(r,box),box.p[6]));
+r=xor(r,xor($(l,box),box.p[7]));
+l=xor(l,xor($(r,box),box.p[8]));
+r=xor(r,xor($(l,box),box.p[9]));
+l=xor(l,xor($(r,box),box.p[10]));
+r=xor(r,xor($(l,box),box.p[11]));
+l=xor(l,xor($(r,box),box.p[12]));
+r=xor(r,xor($(l,box),box.p[13]));
+l=xor(l,xor($(r,box),box.p[14]));
+r=xor(r,xor($(l,box),box.p[15]));
+l=xor(l,xor($(r,box),box.p[16]));
+o.right=l;
+o.left=xor(r,box.p[17]);
+}
+function db(o,box){
+var l=o.left;
+var r=o.right;
+l=xor(l,box.p[17]);
+r=xor(r,xor($(l,box),box.p[16]));
+l=xor(l,xor($(r,box),box.p[15]));
+r=xor(r,xor($(l,box),box.p[14]));
+l=xor(l,xor($(r,box),box.p[13]));
+r=xor(r,xor($(l,box),box.p[12]));
+l=xor(l,xor($(r,box),box.p[11]));
+r=xor(r,xor($(l,box),box.p[10]));
+l=xor(l,xor($(r,box),box.p[9]));
+r=xor(r,xor($(l,box),box.p[8]));
+l=xor(l,xor($(r,box),box.p[7]));
+r=xor(r,xor($(l,box),box.p[6]));
+l=xor(l,xor($(r,box),box.p[5]));
+r=xor(r,xor($(l,box),box.p[4]));
+l=xor(l,xor($(r,box),box.p[3]));
+r=xor(r,xor($(l,box),box.p[2]));
+l=xor(l,xor($(r,box),box.p[1]));
+o.right=l;
+o.left=xor(r,box.p[0]);
+}
+function init(key){
+var k=key;
+if(typeof (k)=="string"){
+var a=[];
+for(var i=0;i<k.length;i++){
+a.push(k.charCodeAt(i)&255);
+}
+k=a;
+}
+var box={p:[],s0:[],s1:[],s2:[],s3:[]};
+for(var i=0;i<_8.p.length;i++){
+box.p.push(_8.p[i]);
+}
+for(var i=0;i<_8.s0.length;i++){
+box.s0.push(_8.s0[i]);
+}
+for(var i=0;i<_8.s1.length;i++){
+box.s1.push(_8.s1[i]);
+}
+for(var i=0;i<_8.s2.length;i++){
+box.s2.push(_8.s2[i]);
+}
+for(var i=0;i<_8.s3.length;i++){
+box.s3.push(_8.s3[i]);
+}
+var pos=0;
+var _27=0;
+for(var i=0;i<box.p.length;i++){
+for(var j=0;j<4;j++){
+_27=(_27*_4)|k[pos];
+if(++pos==k.length){
+pos=0;
+}
+}
+box.p[i]=xor(box.p[i],_27);
+}
+var res={left:0,right:0};
+for(var i=0;i<box.p.length;){
+eb(res,box);
+box.p[i++]=res.left;
+box.p[i++]=res.right;
+}
+for(var i=0;i<4;i++){
+for(var j=0;j<box["s"+i].length;){
+eb(res,box);
+box["s"+i][j++]=res.left;
+box["s"+i][j++]=res.right;
+}
+}
+return box;
+}
+function toBase64(ba){
+var p="=";
+var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+var s=[];
+var l=ba.length;
+var rm=l%3;
+var x=l-rm;
+for(var i=0;i<x;){
+var t=ba[i++]<<16|ba[i++]<<8|ba[i++];
+s.push(tab.charAt((t>>>18)&63));
+s.push(tab.charAt((t>>>12)&63));
+s.push(tab.charAt((t>>>6)&63));
+s.push(tab.charAt(t&63));
+}
+switch(rm){
+case 2:
+var t=ba[i++]<<16|ba[i++]<<8;
+s.push(tab.charAt((t>>>18)&63));
+s.push(tab.charAt((t>>>12)&63));
+s.push(tab.charAt((t>>>6)&63));
+s.push(p);
+break;
+case 1:
+var t=ba[i++]<<16;
+s.push(tab.charAt((t>>>18)&63));
+s.push(tab.charAt((t>>>12)&63));
+s.push(p);
+s.push(p);
+break;
+}
+return s.join("");
+}
+function fromBase64(str){
+var s=str.split("");
+var p="=";
+var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+var out=[];
+var l=s.length;
+while(s[--l]==p){
+}
+for(var i=0;i<l;){
+var t=tab.indexOf(s[i++])<<18|tab.indexOf(s[i++])<<12|tab.indexOf(s[i++])<<6|tab.indexOf(s[i++]);
+out.push((t>>>16)&255);
+out.push((t>>>8)&255);
+out.push(t&255);
+}
+return out;
+}
+this.getIV=function(_3b){
+var out=_3b||dojo.crypto.outputTypes.Base64;
+switch(out){
+case dojo.crypto.outputTypes.Hex:
+var s=[];
+for(var i=0;i<iv.length;i++){
+s.push((iv[i]).toString(16));
+}
+return s.join("");
+case dojo.crypto.outputTypes.String:
+return iv.join("");
+case dojo.crypto.outputTypes.Raw:
+return iv;
+default:
+return toBase64(iv);
+}
+};
+this.setIV=function(_3f,_40){
+var ip=_40||dojo.crypto.outputTypes.Base64;
+var ba=null;
+switch(ip){
+case dojo.crypto.outputTypes.String:
+ba=[];
+for(var i=0;i<_3f.length;i++){
+ba.push(_3f.charCodeAt(i));
+}
+break;
+case dojo.crypto.outputTypes.Hex:
+ba=[];
+var i=0;
+while(i+1<_3f.length){
+ba.push(parseInt(_3f.substr(i,2),16));
+i+=2;
+}
+break;
+case dojo.crypto.outputTypes.Raw:
+ba=_3f;
+break;
+default:
+ba=fromBase64(_3f);
+break;
+}
+iv={};
+iv.left=ba[0]*_6|ba[1]*_5|ba[2]*_4|ba[3];
+iv.right=ba[4]*_6|ba[5]*_5|ba[6]*_4|ba[7];
+};
+this.encrypt=function(_44,key,ao){
+var out=dojo.crypto.outputTypes.Base64;
+var _48=dojo.crypto.cipherModes.EBC;
+if(ao){
+if(ao.outputType){
+out=ao.outputType;
+}
+if(ao.cipherMode){
+_48=ao.cipherMode;
+}
+}
+var bx=init(key);
+var _4a=8-(_44.length&7);
+for(var i=0;i<_4a;i++){
+_44+=String.fromCharCode(_4a);
+}
+var _4c=[];
+var _4d=_44.length>>3;
+var pos=0;
+var o={};
+var _50=(_48==dojo.crypto.cipherModes.CBC);
+var _51={left:iv.left||null,right:iv.right||null};
+for(var i=0;i<_4d;i++){
+o.left=_44.charCodeAt(pos)*_6|_44.charCodeAt(pos+1)*_5|_44.charCodeAt(pos+2)*_4|_44.charCodeAt(pos+3);
+o.right=_44.charCodeAt(pos+4)*_6|_44.charCodeAt(pos+5)*_5|_44.charCodeAt(pos+6)*_4|_44.charCodeAt(pos+7);
+if(_50){
+o.left=xor(o.left,_51.left);
+o.right=xor(o.right,_51.right);
+}
+eb(o,bx);
+if(_50){
+_51.left=o.left;
+_51.right=o.right;
+dojo.crypto.outputTypes.Hex;
+}
+_4c.push((o.left>>24)&255);
+_4c.push((o.left>>16)&255);
+_4c.push((o.left>>8)&255);
+_4c.push(o.left&255);
+_4c.push((o.right>>24)&255);
+_4c.push((o.right>>16)&255);
+_4c.push((o.right>>8)&255);
+_4c.push(o.right&255);
+pos+=8;
+}
+switch(out){
+case dojo.crypto.outputTypes.Hex:
+var s=[];
+for(var i=0;i<_4c.length;i++){
+s.push((_4c[i]).toString(16));
+}
+return s.join("");
+case dojo.crypto.outputTypes.String:
+return _4c.join("");
+case dojo.crypto.outputTypes.Raw:
+return _4c;
+default:
+return toBase64(_4c);
+}
+};
+this.decrypt=function(_53,key,ao){
+var ip=dojo.crypto.outputTypes.Base64;
+var _57=dojo.crypto.cipherModes.EBC;
+if(ao){
+if(ao.outputType){
+ip=ao.outputType;
+}
+if(ao.cipherMode){
+_57=ao.cipherMode;
+}
+}
+var bx=init(key);
+var pt=[];
+var c=null;
+switch(ip){
+case dojo.crypto.outputTypes.Hex:
+c=[];
+var i=0;
+while(i+1<_53.length){
+c.push(parseInt(_53.substr(i,2),16));
+i+=2;
+}
+break;
+case dojo.crypto.outputTypes.String:
+c=[];
+for(var i=0;i<_53.length;i++){
+c.push(_53.charCodeAt(i));
+}
+break;
+case dojo.crypto.outputTypes.Raw:
+c=_53;
+break;
+default:
+c=fromBase64(_53);
+break;
+}
+var _5c=c.length>>3;
+var pos=0;
+var o={};
+var _5f=(_57==dojo.crypto.cipherModes.CBC);
+var _60={left:iv.left||null,right:iv.right||null};
+for(var i=0;i<_5c;i++){
+o.left=c[pos]*_6|c[pos+1]*_5|c[pos+2]*_4|c[pos+3];
+o.right=c[pos+4]*_6|c[pos+5]*_5|c[pos+6]*_4|c[pos+7];
+if(_5f){
+var _61=o.left;
+var _62=o.right;
+}
+db(o,bx);
+if(_5f){
+o.left=xor(o.left,_60.left);
+o.right=xor(o.right,_60.right);
+_60.left=_61;
+_60.right=_62;
+}
+pt.push((o.left>>24)&255);
+pt.push((o.left>>16)&255);
+pt.push((o.left>>8)&255);
+pt.push(o.left&255);
+pt.push((o.right>>24)&255);
+pt.push((o.right>>16)&255);
+pt.push((o.right>>8)&255);
+pt.push(o.right&255);
+pos+=8;
+}
+if(pt[pt.length-1]==pt[pt.length-2]||pt[pt.length-1]==1){
+var n=pt[pt.length-1];
+pt.splice(pt.length-n,n);
+}
+for(var i=0;i<pt.length;i++){
+pt[i]=String.fromCharCode(pt[i]);
+}
+return pt.join("");
+};
+this.setIV("0000000000000000",dojo.crypto.outputTypes.Hex);
+}();

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/LICENSE
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/LICENSE?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/LICENSE (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/LICENSE Mon Feb  4 14:07:13 2008
@@ -0,0 +1,11 @@
+License Disclaimer:
+
+All contents of this directory are Copyright (c) the Dojo Foundation, with the
+following exceptions:
+-------------------------------------------------------------------------------
+
+MD5.js, SHA1.js:
+	* Copyright 1998-2005, Paul Johnstone
+	  Distributed under the terms of the BSD License
+
+

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/MD5.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/MD5.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/MD5.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/MD5.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,185 @@
+dojo.require("dojo.crypto");
+dojo.provide("dojo.crypto.MD5");
+dojo.crypto.MD5=new function(){
+var _1=8;
+var _2=(1<<_1)-1;
+function toWord(s){
+var wa=[];
+for(var i=0;i<s.length*_1;i+=_1){
+wa[i>>5]|=(s.charCodeAt(i/_1)&_2)<<(i%32);
+}
+return wa;
+}
+function toString(wa){
+var s=[];
+for(var i=0;i<wa.length*32;i+=_1){
+s.push(String.fromCharCode((wa[i>>5]>>>(i%32))&_2));
+}
+return s.join("");
+}
+function toHex(wa){
+var h="0123456789abcdef";
+var s=[];
+for(var i=0;i<wa.length*4;i++){
+s.push(h.charAt((wa[i>>2]>>((i%4)*8+4))&15)+h.charAt((wa[i>>2]>>((i%4)*8))&15));
+}
+return s.join("");
+}
+function toBase64(wa){
+var p="=";
+var _f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+var s=[];
+for(var i=0;i<wa.length*4;i+=3){
+var t=(((wa[i>>2]>>8*(i%4))&255)<<16)|(((wa[i+1>>2]>>8*((i+1)%4))&255)<<8)|((wa[i+2>>2]>>8*((i+2)%4))&255);
+for(var j=0;j<4;j++){
+if(i*8+j*6>wa.length*32){
+s.push(p);
+}else{
+s.push(_f.charAt((t>>6*(3-j))&63));
+}
+}
+}
+return s.join("");
+}
+function add(x,y){
+var l=(x&65535)+(y&65535);
+var m=(x>>16)+(y>>16)+(l>>16);
+return (m<<16)|(l&65535);
+}
+function R(n,c){
+return (n<<c)|(n>>>(32-c));
+}
+function C(q,a,b,x,s,t){
+return add(R(add(add(a,q),add(x,t)),s),b);
+}
+function FF(a,b,c,d,x,s,t){
+return C((b&c)|((~b)&d),a,b,x,s,t);
+}
+function GG(a,b,c,d,x,s,t){
+return C((b&d)|(c&(~d)),a,b,x,s,t);
+}
+function HH(a,b,c,d,x,s,t){
+return C(b^c^d,a,b,x,s,t);
+}
+function II(a,b,c,d,x,s,t){
+return C(c^(b|(~d)),a,b,x,s,t);
+}
+function core(x,len){
+x[len>>5]|=128<<((len)%32);
+x[(((len+64)>>>9)<<4)+14]=len;
+var a=1732584193;
+var b=-271733879;
+var c=-1732584194;
+var d=271733878;
+for(var i=0;i<x.length;i+=16){
+var _43=a;
+var _44=b;
+var _45=c;
+var _46=d;
+a=FF(a,b,c,d,x[i+0],7,-680876936);
+d=FF(d,a,b,c,x[i+1],12,-389564586);
+c=FF(c,d,a,b,x[i+2],17,606105819);
+b=FF(b,c,d,a,x[i+3],22,-1044525330);
+a=FF(a,b,c,d,x[i+4],7,-176418897);
+d=FF(d,a,b,c,x[i+5],12,1200080426);
+c=FF(c,d,a,b,x[i+6],17,-1473231341);
+b=FF(b,c,d,a,x[i+7],22,-45705983);
+a=FF(a,b,c,d,x[i+8],7,1770035416);
+d=FF(d,a,b,c,x[i+9],12,-1958414417);
+c=FF(c,d,a,b,x[i+10],17,-42063);
+b=FF(b,c,d,a,x[i+11],22,-1990404162);
+a=FF(a,b,c,d,x[i+12],7,1804603682);
+d=FF(d,a,b,c,x[i+13],12,-40341101);
+c=FF(c,d,a,b,x[i+14],17,-1502002290);
+b=FF(b,c,d,a,x[i+15],22,1236535329);
+a=GG(a,b,c,d,x[i+1],5,-165796510);
+d=GG(d,a,b,c,x[i+6],9,-1069501632);
+c=GG(c,d,a,b,x[i+11],14,643717713);
+b=GG(b,c,d,a,x[i+0],20,-373897302);
+a=GG(a,b,c,d,x[i+5],5,-701558691);
+d=GG(d,a,b,c,x[i+10],9,38016083);
+c=GG(c,d,a,b,x[i+15],14,-660478335);
+b=GG(b,c,d,a,x[i+4],20,-405537848);
+a=GG(a,b,c,d,x[i+9],5,568446438);
+d=GG(d,a,b,c,x[i+14],9,-1019803690);
+c=GG(c,d,a,b,x[i+3],14,-187363961);
+b=GG(b,c,d,a,x[i+8],20,1163531501);
+a=GG(a,b,c,d,x[i+13],5,-1444681467);
+d=GG(d,a,b,c,x[i+2],9,-51403784);
+c=GG(c,d,a,b,x[i+7],14,1735328473);
+b=GG(b,c,d,a,x[i+12],20,-1926607734);
+a=HH(a,b,c,d,x[i+5],4,-378558);
+d=HH(d,a,b,c,x[i+8],11,-2022574463);
+c=HH(c,d,a,b,x[i+11],16,1839030562);
+b=HH(b,c,d,a,x[i+14],23,-35309556);
+a=HH(a,b,c,d,x[i+1],4,-1530992060);
+d=HH(d,a,b,c,x[i+4],11,1272893353);
+c=HH(c,d,a,b,x[i+7],16,-155497632);
+b=HH(b,c,d,a,x[i+10],23,-1094730640);
+a=HH(a,b,c,d,x[i+13],4,681279174);
+d=HH(d,a,b,c,x[i+0],11,-358537222);
+c=HH(c,d,a,b,x[i+3],16,-722521979);
+b=HH(b,c,d,a,x[i+6],23,76029189);
+a=HH(a,b,c,d,x[i+9],4,-640364487);
+d=HH(d,a,b,c,x[i+12],11,-421815835);
+c=HH(c,d,a,b,x[i+15],16,530742520);
+b=HH(b,c,d,a,x[i+2],23,-995338651);
+a=II(a,b,c,d,x[i+0],6,-198630844);
+d=II(d,a,b,c,x[i+7],10,1126891415);
+c=II(c,d,a,b,x[i+14],15,-1416354905);
+b=II(b,c,d,a,x[i+5],21,-57434055);
+a=II(a,b,c,d,x[i+12],6,1700485571);
+d=II(d,a,b,c,x[i+3],10,-1894986606);
+c=II(c,d,a,b,x[i+10],15,-1051523);
+b=II(b,c,d,a,x[i+1],21,-2054922799);
+a=II(a,b,c,d,x[i+8],6,1873313359);
+d=II(d,a,b,c,x[i+15],10,-30611744);
+c=II(c,d,a,b,x[i+6],15,-1560198380);
+b=II(b,c,d,a,x[i+13],21,1309151649);
+a=II(a,b,c,d,x[i+4],6,-145523070);
+d=II(d,a,b,c,x[i+11],10,-1120210379);
+c=II(c,d,a,b,x[i+2],15,718787259);
+b=II(b,c,d,a,x[i+9],21,-343485551);
+a=add(a,_43);
+b=add(b,_44);
+c=add(c,_45);
+d=add(d,_46);
+}
+return [a,b,c,d];
+}
+function hmac(_47,key){
+var wa=toWord(key);
+if(wa.length>16){
+wa=core(wa,key.length*_1);
+}
+var l=[],r=[];
+for(var i=0;i<16;i++){
+l[i]=wa[i]^909522486;
+r[i]=wa[i]^1549556828;
+}
+var h=core(l.concat(toWord(_47)),512+_47.length*_1);
+return core(r.concat(h),640);
+}
+this.compute=function(_4e,_4f){
+var out=_4f||dojo.crypto.outputTypes.Base64;
+switch(out){
+case dojo.crypto.outputTypes.Hex:
+return toHex(core(toWord(_4e),_4e.length*_1));
+case dojo.crypto.outputTypes.String:
+return toString(core(toWord(_4e),_4e.length*_1));
+default:
+return toBase64(core(toWord(_4e),_4e.length*_1));
+}
+};
+this.getHMAC=function(_51,key,_53){
+var out=_53||dojo.crypto.outputTypes.Base64;
+switch(out){
+case dojo.crypto.outputTypes.Hex:
+return toHex(hmac(_51,key));
+case dojo.crypto.outputTypes.String:
+return toString(hmac(_51,key));
+default:
+return toBase64(hmac(_51,key));
+}
+};
+}();

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/Rijndael.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/Rijndael.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/Rijndael.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/Rijndael.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,10 @@
+dojo.provide("dojo.crypto.Rijndael");
+dojo.require("dojo.crypto");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.crypto.Rijndael");
+dojo.crypto.Rijndael=new function(){
+this.encrypt=function(_1,_2){
+};
+this.decrypt=function(_3,_4){
+};
+}();

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/SHA1.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/SHA1.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/SHA1.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/SHA1.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,158 @@
+dojo.require("dojo.crypto");
+dojo.provide("dojo.crypto.SHA1");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.crypto.SHA1");
+dojo.crypto.SHA1=new function(){
+var _1=8;
+var _2=(1<<_1)-1;
+function toWord(s){
+var wa=[];
+for(var i=0;i<s.length*_1;i+=_1){
+wa[i>>5]|=(s.charCodeAt(i/_1)&_2)<<(i%32);
+}
+return wa;
+}
+function toString(wa){
+var s=[];
+for(var i=0;i<wa.length*32;i+=_1){
+s.push(String.fromCharCode((wa[i>>5]>>>(i%32))&_2));
+}
+return s.join("");
+}
+function toHex(wa){
+var h="0123456789abcdef";
+var s=[];
+for(var i=0;i<wa.length*4;i++){
+s.push(h.charAt((wa[i>>2]>>((i%4)*8+4))&15)+h.charAt((wa[i>>2]>>((i%4)*8))&15));
+}
+return s.join("");
+}
+function toBase64(wa){
+var p="=";
+var _f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+var s=[];
+for(var i=0;i<wa.length*4;i+=3){
+var t=(((wa[i>>2]>>8*(i%4))&255)<<16)|(((wa[i+1>>2]>>8*((i+1)%4))&255)<<8)|((wa[i+2>>2]>>8*((i+2)%4))&255);
+for(var j=0;j<4;j++){
+if(i*8+j*6>wa.length*32){
+s.push(p);
+}else{
+s.push(_f.charAt((t>>6*(3-j))&63));
+}
+}
+}
+return s.join("");
+}
+function add(x,y){
+var l=(x&65535)+(y&65535);
+var m=(x>>16)+(y>>16)+(l>>16);
+return (m<<16)|(l&65535);
+}
+function r(x,n){
+return (x<<n)|(x>>>(32-n));
+}
+function f(u,v,w){
+return ((u&v)|(~u&w));
+}
+function g(u,v,w){
+return ((u&v)|(u&w)|(v&w));
+}
+function h(u,v,w){
+return (u^v^w);
+}
+function fn(i,u,v,w){
+if(i<20){
+return f(u,v,w);
+}
+if(i<40){
+return h(u,v,w);
+}
+if(i<60){
+return g(u,v,w);
+}
+return h(u,v,w);
+}
+function cnst(i){
+if(i<20){
+return 1518500249;
+}
+if(i<40){
+return 1859775393;
+}
+if(i<60){
+return -1894007588;
+}
+return -899497514;
+}
+function core(x,len){
+x[len>>5]|=128<<(24-len%32);
+x[((len+64>>9)<<4)+15]=len;
+var w=[];
+var a=1732584193;
+var b=-271733879;
+var c=-1732584194;
+var d=271733878;
+var e=-1009589776;
+for(var i=0;i<x.length;i+=16){
+var _31=a;
+var _32=b;
+var _33=c;
+var _34=d;
+var _35=e;
+for(var j=0;j<80;j++){
+if(j<16){
+w[j]=x[i+j];
+}else{
+w[j]=r(w[j-3]^w[j-8]^w[j-14]^w[j-16],1);
+}
+var t=add(add(r(a,5),fn(j,b,c,d)),add(add(e,w[j]),cnst(j)));
+e=d;
+d=c;
+c=r(b,30);
+b=a;
+a=t;
+}
+a=add(a,_31);
+b=add(b,_32);
+c=add(c,_33);
+d=add(d,_34);
+e=add(e,_35);
+}
+return [a,b,c,d,e];
+}
+function hmac(_38,key){
+var wa=toWord(key);
+if(wa.length>16){
+wa=core(wa,key.length*_1);
+}
+var l=[],r=[];
+for(var i=0;i<16;i++){
+l[i]=wa[i]^909522486;
+r[i]=wa[i]^1549556828;
+}
+var h=core(l.concat(toWord(_38)),512+_38.length*_1);
+return core(r.concat(h),640);
+}
+this.compute=function(_3f,_40){
+var out=_40||dojo.crypto.outputTypes.Base64;
+switch(out){
+case dojo.crypto.outputTypes.Hex:
+return toHex(core(toWord(_3f),_3f.length*_1));
+case dojo.crypto.outputTypes.String:
+return toString(core(toWord(_3f),_3f.length*_1));
+default:
+return toBase64(core(toWord(_3f),_3f.length*_1));
+}
+};
+this.getHMAC=function(_42,key,_44){
+var out=_44||dojo.crypto.outputTypes.Base64;
+switch(out){
+case dojo.crypto.outputTypes.Hex:
+return toHex(hmac(_42,key));
+case dojo.crypto.outputTypes.String:
+return toString(hmac(_42,key));
+default:
+return toBase64(hmac(_42,key));
+}
+};
+}();

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/SHA256.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/SHA256.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/SHA256.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/SHA256.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,8 @@
+dojo.provide("dojo.crypto.SHA256");
+dojo.require("dojo.crypto");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.crypto.SHA256");
+dojo.crypto.SHA256=new function(){
+this.compute=function(s){
+};
+}();

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

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

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

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

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

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

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/crypto/__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.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,2 @@
+dojo.provide("dojo.data");
+dojo.data={};

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/CsvStore.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/CsvStore.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/CsvStore.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/CsvStore.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,102 @@
+dojo.provide("dojo.data.CsvStore");
+dojo.require("dojo.data.core.RemoteStore");
+dojo.require("dojo.lang.assert");
+dojo.declare("dojo.data.CsvStore",dojo.data.core.RemoteStore,{_setupQueryRequest:function(_1,_2){
+var _3=this._serverQueryUrl?this._serverQueryUrl:"";
+var _4=_1.query?_1.query:"";
+_2.url=_3+_4;
+_2.method="get";
+},_resultToQueryData:function(_5){
+var _6=_5;
+var _7=this._getArrayOfArraysFromCsvFileContents(_6);
+var _8=this._getArrayOfObjectsFromArrayOfArrays(_7);
+var _9=this._getRemoteStoreDataFromArrayOfObjects(_8);
+return _9;
+},_setupSaveRequest:function(_a,_b){
+},_getArrayOfArraysFromCsvFileContents:function(_c){
+dojo.lang.assertType(_c,String);
+var _d=new RegExp("\r\n|\n|\r");
+var _e=new RegExp("^\\s+","g");
+var _f=new RegExp("\\s+$","g");
+var _10=new RegExp("\"\"","g");
+var _11=[];
+var _12=_c.split(_d);
+for(var i in _12){
+var _14=_12[i];
+if(_14.length>0){
+var _15=_14.split(",");
+var j=0;
+while(j<_15.length){
+var _17=_15[j];
+var _18=_17.replace(_e,"");
+var _19=_18.replace(_f,"");
+var _1a=_19.charAt(0);
+var _1b=_19.charAt(_19.length-1);
+var _1c=_19.charAt(_19.length-2);
+var _1d=_19.charAt(_19.length-3);
+if((_1a=="\"")&&((_1b!="\"")||((_1b=="\"")&&(_1c=="\"")&&(_1d!="\"")))){
+if(j+1===_15.length){
+return null;
+}
+var _1e=_15[j+1];
+_15[j]=_18+","+_1e;
+_15.splice(j+1,1);
+}else{
+if((_1a=="\"")&&(_1b=="\"")){
+_19=_19.slice(1,(_19.length-1));
+_19=_19.replace(_10,"\"");
+}
+_15[j]=_19;
+j+=1;
+}
+}
+_11.push(_15);
+}
+}
+return _11;
+},_getArrayOfObjectsFromArrayOfArrays:function(_1f){
+dojo.lang.assertType(_1f,Array);
+var _20=[];
+if(_1f.length>1){
+var _21=_1f[0];
+for(var i=1;i<_1f.length;++i){
+var row=_1f[i];
+var _24={};
+for(var j in row){
+var _26=row[j];
+var key=_21[j];
+_24[key]=_26;
+}
+_20.push(_24);
+}
+}
+return _20;
+},_getRemoteStoreDataFromArrayOfObjects:function(_28){
+dojo.lang.assertType(_28,Array);
+var _29={};
+for(var i=0;i<_28.length;++i){
+var _2b=_28[i];
+for(var key in _2b){
+var _2d=_2b[key];
+_2b[key]=[_2d];
+}
+_29[i]=_2b;
+}
+return _29;
+},newItem:function(_2e,_2f){
+dojo.unimplemented("dojo.data.CsvStore.newItem");
+},deleteItem:function(_30){
+dojo.unimplemented("dojo.data.CsvStore.deleteItem");
+},setValues:function(_31,_32,_33){
+dojo.unimplemented("dojo.data.CsvStore.setValues");
+},set:function(_34,_35,_36){
+dojo.unimplemented("dojo.data.CsvStore.set");
+},unsetAttribute:function(_37,_38){
+dojo.unimplemented("dojo.data.CsvStore.unsetAttribute");
+},save:function(_39){
+dojo.unimplemented("dojo.data.CsvStore.save");
+},revert:function(){
+dojo.unimplemented("dojo.data.CsvStore.revert");
+},isDirty:function(_3a){
+dojo.unimplemented("dojo.data.CsvStore.isDirty");
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/OpmlStore.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/OpmlStore.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/OpmlStore.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/OpmlStore.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,153 @@
+dojo.provide("dojo.data.OpmlStore");
+dojo.require("dojo.data.core.Read");
+dojo.require("dojo.data.core.Result");
+dojo.require("dojo.lang.assert");
+dojo.require("dojo.json");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.data.OpmlStore");
+dojo.declare("dojo.data.OpmlStore",dojo.data.core.Read,{initializer:function(_1){
+this._arrayOfTopLevelItems=[];
+this._metadataNodes=null;
+this._loadFinished=false;
+this._opmlFileUrl=_1["url"];
+},_assertIsItem:function(_2){
+if(!this.isItem(_2)){
+throw new Error("dojo.data.OpmlStore: a function was passed an item argument that was not an item");
+}
+},_removeChildNodesThatAreNotElementNodes:function(_3,_4){
+var _5=_3.childNodes;
+if(_5.length==0){
+return;
+}
+var _6=[];
+var i,_8;
+for(i=0;i<_5.length;++i){
+_8=_5[i];
+if(_8.nodeType!=Node.ELEMENT_NODE){
+_6.push(_8);
+}
+}
+for(i=0;i<_6.length;++i){
+_8=_6[i];
+_3.removeChild(_8);
+}
+if(_4){
+for(i=0;i<_5.length;++i){
+_8=_5[i];
+this._removeChildNodesThatAreNotElementNodes(_8,_4);
+}
+}
+},_processRawXmlTree:function(_9){
+var _a=_9.getElementsByTagName("head");
+var _b=_a[0];
+this._removeChildNodesThatAreNotElementNodes(_b);
+this._metadataNodes=_b.childNodes;
+var _c=_9.getElementsByTagName("body");
+var _d=_c[0];
+this._removeChildNodesThatAreNotElementNodes(_d,true);
+var _e=_c[0].childNodes;
+for(var i=0;i<_e.length;++i){
+var _10=_e[i];
+if(_10.tagName=="outline"){
+this._arrayOfTopLevelItems.push(_10);
+}
+}
+},get:function(_11,_12,_13){
+this._assertIsItem(_11);
+if(_12=="children"){
+return (_11.firstChild||_13);
+}else{
+var _14=_11.getAttribute(_12);
+_14=(_14!=undefined)?_14:_13;
+return _14;
+}
+},getValues:function(_15,_16){
+this._assertIsItem(_15);
+if(_16=="children"){
+var _17=[];
+for(var i=0;i<_15.childNodes.length;++i){
+_17.push(_15.childNodes[i]);
+}
+return _17;
+}else{
+return [_15.getAttribute(_16)];
+}
+},getAttributes:function(_19){
+this._assertIsItem(_19);
+var _1a=[];
+var _1b=_19;
+var _1c=_1b.attributes;
+for(var i=0;i<_1c.length;++i){
+var _1e=_1c.item(i);
+_1a.push(_1e.nodeName);
+}
+if(_1b.childNodes.length>0){
+_1a.push("children");
+}
+return _1a;
+},hasAttribute:function(_1f,_20){
+return (this.getValues(_1f,_20).length>0);
+},containsValue:function(_21,_22,_23){
+var _24=this.getValues(_21,_22);
+for(var i=0;i<_24.length;++i){
+var _26=_24[i];
+if(_23==_26){
+return true;
+}
+}
+return false;
+},isItem:function(_27){
+return (_27&&_27.nodeType==Node.ELEMENT_NODE&&_27.tagName=="outline");
+},isItemAvailable:function(_28){
+return this.isItem(_28);
+},find:function(_29){
+var _2a=null;
+if(_29 instanceof dojo.data.core.Result){
+_2a=_29;
+_2a.store=this;
+}else{
+_2a=new dojo.data.core.Result(_29,this);
+}
+var _2b=this;
+var _2c=function(_2d,_2e,evt){
+var _30=_2a.scope||dj_global;
+if(_2d=="load"){
+_2b._processRawXmlTree(_2e);
+if(_2a.saveResult){
+_2a.items=_2b._arrayOfTopLevelItems;
+}
+if(_2a.onbegin){
+_2a.onbegin.call(_30,_2a);
+}
+for(var i=0;i<_2b._arrayOfTopLevelItems.length;i++){
+var _32=_2b._arrayOfTopLevelItems[i];
+if(_2a.onnext&&!_2a._aborted){
+_2a.onnext.call(_30,_32,_2a);
+}
+}
+if(_2a.oncompleted&&!_2a._aborted){
+_2a.oncompleted.call(_30,_2a);
+}
+}else{
+if(_2d=="error"||_2d=="timeout"){
+var _33=_2e;
+if(_2a.onerror){
+_2a.onerror.call(_30,_2e);
+}
+}
+}
+};
+if(!this._loadFinished){
+if(this._opmlFileUrl){
+var _34=dojo.io.bind({url:this._opmlFileUrl,handle:_2c,mimetype:"text/xml",sync:(_2a.sync||false)});
+_2a._abortFunc=_34.abort;
+}
+}
+return _2a;
+},getIdentity:function(_35){
+dojo.unimplemented("dojo.data.OpmlStore.getIdentity()");
+return null;
+},findByIdentity:function(_36){
+dojo.unimplemented("dojo.data.OpmlStore.findByIdentity()");
+return null;
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/RdfStore.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/RdfStore.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/RdfStore.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/RdfStore.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,172 @@
+dojo.provide("dojo.data.RdfStore");
+dojo.provide("dojo.data.RhizomeStore");
+dojo.require("dojo.lang.declare");
+dojo.require("dojo.data.core.RemoteStore");
+dojo.require("dojo.experimental");
+dojo.data.RdfDatatypeSerializer=function(_1,_2,_3){
+this.type=_1;
+this._converter=_2;
+this.uri=_3;
+this.serialize=function(_4){
+return this._converter.call(_4,_4);
+};
+};
+dojo.declare("dojo.data.RdfStore",dojo.data.core.RemoteStore,{_datatypeMap:{literal:function(_5){
+var _6=_5.value;
+if(_5["xml:lang"]){
+_6.lang=_5["xml:lang"];
+}
+return _6;
+},uri:function(_7){
+return {id:_7.value};
+},bnode:function(_8){
+return {id:"_:"+_8.value};
+},"http://www.w3.org/2001/XMLSchema#int":function(_9){
+return parseInt(_9.value);
+},"http://www.w3.org/2001/XMLSchema#integer":function(_a){
+return parseInt(_a.value);
+},"http://www.w3.org/2001/XMLSchema#long":function(_b){
+return parseInt(_b.value);
+},"http://www.w3.org/2001/XMLSchema#float":function(_c){
+return parseFloat(_c.value);
+},"http://www.w3.org/2001/XMLSchema#double":function(_d){
+return parseFloat(_d.value);
+},"http://www.w3.org/2001/XMLSchema#boolean":function(_e){
+return !_e||_e=="false"||_e=="0"?false:true;
+}},_datatypeSerializers:[new dojo.data.RdfDatatypeSerializer(Number,Number.toString,"http://www.w3.org/2001/XMLSchema#float"),new dojo.data.RdfDatatypeSerializer(Boolean,Boolean.toString,"http://www.w3.org/2001/XMLSchema#boolean")],_findDatatypeSerializer:function(_f){
+var _10=this._datatypeSerializers.length;
+for(var i=0;i<_10;i++){
+var _12=this._datatypeSerializers[i];
+if(_f instanceof _12.type){
+return _12;
+}
+}
+},_toRDFValue:function(_13){
+var _14={};
+if(_13.id){
+if(_13.id.slice(0,2)=="_:"){
+_14.type="bnode";
+_14.value=_13.id.substring(2);
+}else{
+_14.type="uri";
+_14.value=_13.id;
+}
+}else{
+if(typeof _13=="string"||_13 instanceof String){
+_14.type="literal";
+_14.value=_13;
+if(_13.lang){
+_14["xml:lang"]=_13.lang;
+}
+}else{
+if(typeof _13=="number"){
+_13=new Number(_13);
+}else{
+if(typeof _13=="boolean"){
+_13=new Boolean(_13);
+}
+}
+var _15=this._findDatatypeSerializer(_13);
+if(_15){
+_14={"type":"typed-literal","datatype":_15.uri,"value":_13.toString()};
+}else{
+_14={"type":"literal","value":_13.toString()};
+}
+}
+}
+return _14;
+},_setupSaveRequest:function(_16,_17){
+var _18={"head":{"vars":["s","p","o"]},"results":{"bindings":[]}};
+var _19=[];
+for(var key in this._deleted){
+_19.push(key);
+}
+_18.results.deleted=_19;
+for(key in this._changed){
+var _1b=this._toRDFValue(this.getIdentity(key));
+var _1c=this._changed[key];
+for(var _1d in _1c){
+var _1e={type:"uri",value:_1d};
+var _1f=_1c[_1d];
+if(!_1f.length){
+continue;
+}
+var _20=[];
+for(var i=0;i<_1f.length;i++){
+var _22=this._toRDFValue(_1f[i]);
+_18.results.bindings.push({s:_1b,p:_1e,o:_22});
+}
+}
+}
+var _23=dojo.json.jsonRegistry;
+dojo.json.jsonRegistry=this._jsonRegistry;
+var _24=dojo.json.serialize(_18);
+dojo.json.jsonRegistry=_23;
+_17.postContent=_24;
+},_resultToQueryMetadata:function(_25){
+return _25.head;
+},_resultToQueryData:function(_26){
+var _27={};
+var _28=_26.results.bindings;
+for(var i=0;i<_28.length;i++){
+var _2a=_28[i];
+var _2b=_2a.s.value;
+if(_2a.s.type=="bnode"){
+_2b="_:"+_2b;
+}
+var _2c=data[_2b];
+if(!_2c){
+_2c={};
+data[_2a.s]=_2c;
+}
+var _2d=_2c[_2a.p.value];
+if(!_2d){
+_2c[_2a.p.value]=[_2a.o];
+}else{
+_2d.push(_2a.o);
+}
+}
+return _27;
+}});
+dojo.declare("dojo.data.RhizomeStore",dojo.data.RdfStore,{initializer:function(_2e){
+this._serverQueryUrl=_2e.baseUrl+"search?view=json&searchType=RxPath&search=";
+this._serverSaveUrl=_2e.baseUrl+"save-metadata";
+},_resultToQueryMetadata:function(_2f){
+return _2f;
+},_resultToQueryData:function(_30){
+return _30;
+},_setupSaveRequest:function(_31,_32){
+_32.url=this._serverSaveUrl;
+_32.method="post";
+_32.mimetype="text/plain";
+var _33=[];
+for(var key in this._deleted){
+_33.push(key);
+}
+var _35={};
+for(key in this._changed){
+if(!this._added[key]){
+_33.push(key);
+}
+var _36=this._changed[key];
+var _37={};
+for(var _38 in _36){
+var _39=_36[_38];
+if(!_39.length){
+continue;
+}
+var _3a=[];
+for(var i=0;i<_39.length;i++){
+var _3c=this._toRDFValue(_39[i]);
+_3a.push(_3c);
+}
+_37[_38]=_3a;
+}
+_35[key]=_37;
+}
+var _3d=dojo.json.jsonRegistry;
+dojo.json.jsonRegistry=this._jsonRegistry;
+var _3e=dojo.json.serialize(_35);
+dojo.json.jsonRegistry=_3d;
+_32.content={rdfFormat:"json",resource:_33,metadata:_3e};
+}});

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

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

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

Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/YahooStore.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/YahooStore.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/YahooStore.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/YahooStore.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,31 @@
+dojo.provide("dojo.data.YahooStore");
+dojo.require("dojo.data.core.RemoteStore");
+dojo.require("dojo.lang.declare");
+dojo.require("dojo.io.ScriptSrcIO");
+dojo.declare("dojo.data.YahooStore",dojo.data.core.RemoteStore,{_setupQueryRequest:function(_1,_2){
+var _3=1;
+var _4=1;
+if(_1){
+_3=_1.start||_3;
+_4=_1.count||_4;
+}
+var _5="http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid=dojo&language=en&query="+_1.query+"&start="+_3+"&results="+_4+"&output=json";
+_2.url=_5;
+_2.transport="ScriptSrcTransport";
+_2.mimetype="text/json";
+_2.jsonParamName="callback";
+},_resultToQueryMetadata:function(_6){
+return _6.ResultSet;
+},_resultToQueryData:function(_7){
+var _8={};
+for(var i=0;i<_7.ResultSet.totalResultsReturned;++i){
+var _a=_7.ResultSet.Result[i];
+var _b={};
+_b["Url"]=[_a.Url];
+_b["Title"]=[_a.Title];
+_b["Summary"]=[_a.Summary];
+var _c=(_7.ResultSet.firstResultPosition-1)+i;
+_8[_c.toString()]=_b;
+}
+return _8;
+}});

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

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

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/YahooStore.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/Read.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/Read.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Read.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Read.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,42 @@
+dojo.provide("dojo.data.core.Read");
+dojo.require("dojo.data.core.Result");
+dojo.require("dojo.lang.declare");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.data.core.Read");
+dojo.declare("dojo.data.core.Read",null,{get:function(_1,_2,_3){
+dojo.unimplemented("dojo.data.core.Read.get");
+var _4=null;
+return _4;
+},getValues:function(_5,_6){
+dojo.unimplemented("dojo.data.core.Read.getValues");
+var _7=null;
+return _7;
+},getAttributes:function(_8){
+dojo.unimplemented("dojo.data.core.Read.getAttributes");
+var _9=null;
+return _9;
+},hasAttribute:function(_a,_b){
+dojo.unimplemented("dojo.data.core.Read.hasAttribute");
+return false;
+},containsValue:function(_c,_d,_e){
+dojo.unimplemented("dojo.data.core.Read.containsValue");
+return false;
+},isItem:function(_f){
+dojo.unimplemented("dojo.data.core.Read.isItem");
+return false;
+},isItemAvailable:function(_10){
+dojo.unimplemented("dojo.data.core.Read.isItemAvailable");
+return false;
+},find:function(_11){
+dojo.unimplemented("dojo.data.core.Read.find");
+var _12=null;
+return _12;
+},getIdentity:function(_13){
+dojo.unimplemented("dojo.data.core.Read.getIdentity");
+var _14=null;
+return _14;
+},findByIdentity:function(_15){
+dojo.unimplemented("dojo.data.core.Read.getByIdentity");
+var _16=null;
+return _16;
+}});

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

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

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Read.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/RemoteStore.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/RemoteStore.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/RemoteStore.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/RemoteStore.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,341 @@
+dojo.provide("dojo.data.core.RemoteStore");
+dojo.require("dojo.data.core.Read");
+dojo.require("dojo.data.core.Write");
+dojo.require("dojo.data.core.Result");
+dojo.require("dojo.experimental");
+dojo.require("dojo.Deferred");
+dojo.require("dojo.lang.declare");
+dojo.require("dojo.json");
+dojo.require("dojo.io.*");
+dojo.experimental("dojo.data.core.RemoteStore");
+dojo.lang.declare("dojo.data.core.RemoteStore",[dojo.data.core.Read,dojo.data.core.Write],{_datatypeMap:{},_jsonRegistry:dojo.json.jsonRegistry,initializer:function(_1){
+if(!_1){
+_1={};
+}
+this._serverQueryUrl=_1.queryUrl||"";
+this._serverSaveUrl=_1.saveUrl||"";
+this._deleted={};
+this._changed={};
+this._added={};
+this._results={};
+this._data={};
+this._numItems=0;
+},_setupQueryRequest:function(_2,_3){
+_2.query=_2.query||"";
+_3.url=this._serverQueryUrl+encodeURIComponent(_2.query);
+_3.method="get";
+_3.mimetype="text/json";
+},_resultToQueryMetadata:function(_4){
+return _4;
+},_resultToQueryData:function(_5){
+return _5.data;
+},_remoteToLocalValues:function(_6){
+for(var _7 in _6){
+var _8=_6[_7];
+for(var i=0;i<_8.length;i++){
+var _a=_8[i];
+var _b=_a.datatype||_a.type;
+if(_b){
+var _c=_a.value;
+if(this._datatypeMap[_b]){
+_c=this._datatypeMap[_b](_a);
+}
+_8[i]=_c;
+}
+}
+}
+return _6;
+},_queryToQueryKey:function(_d){
+if(typeof _d=="string"){
+return _d;
+}else{
+return dojo.json.serialize(_d);
+}
+},_assertIsItem:function(_e){
+if(!this.isItem(_e)){
+throw new Error("dojo.data.RemoteStore: a function was passed an item argument that was not an item");
+}
+},get:function(_f,_10,_11){
+var _12=this.getValues(_f,_10);
+if(_12.length==0){
+return _11;
+}
+return _12[0];
+},getValues:function(_13,_14){
+var _15=this.getIdentity(_13);
+this._assertIsItem(_15);
+var _16=this._changed[_15];
+if(_16){
+var _17=_16[_14];
+if(_17!==undefined){
+return _17;
+}else{
+return [];
+}
+}
+return this._data[_15][0][_14];
+},getAttributes:function(_18){
+var _19=this.getIdentity(_18);
+if(!_19){
+return undefined;
+}
+var _1a=[];
+var _1b=this._data[_19][0];
+for(var att in _1b){
+_1a.push(att);
+}
+return _1a;
+},hasAttribute:function(_1d,_1e){
+var _1f=this.getValues(_1d,_1e);
+return _1f.length?true:false;
+},containsValue:function(_20,_21,_22){
+var _23=this.getValues(_20,_21);
+for(var i=0;i<_23.length;i++){
+if(_23[i]==_22){
+return true;
+}
+}
+return false;
+},isItem:function(_25){
+if(!_25){
+return false;
+}
+var _26=_25;
+if(this._deleted[_26]){
+return false;
+}
+if(this._data[_26]){
+return true;
+}
+if(this._added[_26]){
+return true;
+}
+return false;
+},find:function(_27){
+var _28=null;
+if(_27 instanceof dojo.data.core.Result){
+_28=_27;
+_28.store=this;
+}else{
+_28=new dojo.data.core.Result(_27,this);
+}
+var _29=_28.query;
+var _2a=this;
+var _2b=function(_2c,_2d,evt){
+var _2f=_28.scope||dj_global;
+if(_2c=="load"){
+_28.resultMetadata=_2a._resultToQueryMetadata(_2d);
+var _30=_2a._resultToQueryData(_2d);
+if(_28.onbegin){
+_28.onbegin.call(_2f,_28);
+}
+var _31=0;
+var _32=[];
+var _33=0;
+for(var key in _30){
+if(_28._aborted){
+break;
+}
+if(!_2a._deleted[key]){
+var _35=_30[key];
+var _36=_2a._remoteToLocalValues(_35);
+var _37=_2a._data[key];
+var _38=1;
+if(_37){
+_38=++_37[1];
+}else{
+_33++;
+}
+_2a._data[key]=[_36,_38];
+_32.push(key);
+_31++;
+if(_28.onnext){
+_28.onnext.call(_2f,key,_28);
+}
+}
+}
+_2a._results[_2a._queryToQueryKey(_29)]=_32;
+_2a._numItems+=_33;
+_28.length=_31;
+if(_28.saveResult){
+_28.items=_32;
+}
+if(!_28._aborted&&_28.oncompleted){
+_28.oncompleted.call(_2f,_28);
+}
+}else{
+if(_2c=="error"||_2c=="timeout"){
+dojo.debug("find error: "+dojo.json.serialize(_2d));
+if(_28.onerror){
+_28.onerror.call(_2f,_2d);
+}
+}
+}
+};
+var _39=_27.bindArgs||{};
+_39.sync=_28.sync;
+_39.handle=_2b;
+this._setupQueryRequest(_28,_39);
+var _3a=dojo.io.bind(_39);
+_28._abortFunc=_3a.abort;
+return _28;
+},getIdentity:function(_3b){
+if(!this.isItem(_3b)){
+return null;
+}
+return (_3b.id?_3b.id:_3b);
+},newItem:function(_3c,_3d){
+var _3e=_3d["identity"];
+if(this._deleted[_3e]){
+delete this._deleted[_3e];
+}else{
+this._added[_3e]=1;
+}
+if(_3c){
+for(var _3f in _3c){
+var _40=_3c[_3f];
+if(dojo.lang.isArray(_40)){
+this.setValues(_3e,_3f,_40);
+}else{
+this.set(_3e,_3f,_40);
+}
+}
+}
+return {id:_3e};
+},deleteItem:function(_41){
+var _42=this.getIdentity(_41);
+if(!_42){
+return false;
+}
+if(this._added[_42]){
+delete this._added[_42];
+}else{
+this._deleted[_42]=1;
+}
+if(this._changed[_42]){
+delete this._changed[_42];
+}
+return true;
+},setValues:function(_43,_44,_45){
+var _46=this.getIdentity(_43);
+if(!_46){
+return undefined;
+}
+var _47=this._changed[_46];
+if(!_47){
+_47={};
+this._changed[_46]=_47;
+}
+_47[_44]=_45;
+return true;
+},set:function(_48,_49,_4a){
+return this.setValues(_48,_49,[_4a]);
+},unsetAttribute:function(_4b,_4c){
+return this.setValues(_4b,_4c,[]);
+},_initChanges:function(){
+this._deleted={};
+this._changed={};
+this._added={};
+},_setupSaveRequest:function(_4d,_4e){
+_4e.url=this._serverSaveUrl;
+_4e.method="post";
+_4e.mimetype="text/plain";
+var _4f=[];
+for(var key in this._deleted){
+_4f.push(key);
+}
+var _51={"changed":this._changed,"deleted":_4f};
+var _52=dojo.json.jsonRegistry;
+dojo.json.jsonRegistry=this._jsonRegistry;
+var _53=dojo.json.serialize(_51);
+dojo.json.jsonRegistry=_52;
+_4e.postContent=_53;
+},save:function(_54){
+_54=_54||{};
+var _55=new dojo.Deferred();
+var _56=this;
+var _57=function(_58,_59,evt){
+if(_58=="load"){
+if(_55.fired==1){
+return;
+}
+var key=null;
+for(key in _56._added){
+if(!_56._data[key]){
+_56._data[key]=[{},1];
+}
+}
+for(key in _56._changed){
+var _5c=_56._data[key];
+var _5d=_56._changed[key];
+if(_5c){
+_5c[0]=_5d;
+}else{
+_56._data[key]=[_5d,1];
+}
+}
+for(key in _56._deleted){
+if(_56._data[key]){
+delete _56._data[key];
+}
+}
+_56._initChanges();
+_55.callback(true);
+}else{
+if(_58=="error"||_58=="timeout"){
+_55.errback(_59);
+}
+}
+};
+var _5e={sync:_54["sync"],handle:_57};
+this._setupSaveRequest(_54,_5e);
+var _5f=dojo.io.bind(_5e);
+_55.canceller=function(_60){
+_5f.abort();
+};
+return _55;
+},revert:function(){
+this._initChanges();
+return true;
+},isDirty:function(_61){
+if(_61){
+var _62=_61.id||_61;
+return this._deleted[_62]||this._changed[_62];
+}else{
+var key=null;
+for(key in this._changed){
+return true;
+}
+for(key in this._deleted){
+return true;
+}
+for(key in this._added){
+return true;
+}
+return false;
+}
+},createReference:function(_64){
+return {id:_64};
+},getSize:function(){
+return this._numItems;
+},forgetResults:function(_65){
+var _66=this._queryToQueryKey(_65);
+var _67=this._results[_66];
+if(!_67){
+return false;
+}
+var _68=0;
+for(var i=0;i<_67.length;i++){
+var key=_67[i];
+var _6b=this._data[key];
+if(_6b[1]<=1){
+delete this._data[key];
+_68++;
+}else{
+_6b[1]=--_6b[1];
+}
+}
+delete this._results[_66];
+this._numItems-=_68;
+return true;
+}});

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

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

Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/RemoteStore.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/Result.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/Result.js?rev=618461&view=auto
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Result.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3-custom-4.1.5/src/data/core/Result.js Mon Feb  4 14:07:13 2008
@@ -0,0 +1,23 @@
+dojo.provide("dojo.data.core.Result");
+dojo.require("dojo.lang.declare");
+dojo.require("dojo.experimental");
+dojo.experimental("dojo.data.core.Result");
+dojo.declare("dojo.data.core.Result",null,{initializer:function(_1,_2){
+this.fromKwArgs(_1||{});
+this.items=null;
+this.resultMetadata=null;
+this.length=-1;
+this.store=_2;
+this._aborted=false;
+this._abortFunc=null;
+},sync:true,abort:function(){
+this._aborted=true;
+if(this._abortFunc){
+this._abortFunc();
+}
+},fromKwArgs:function(_3){
+if(typeof _3.saveResult=="undefined"){
+this.saveResult=_3.onnext?false:true;
+}
+dojo.lang.mixin(this,_3);
+}});



Mime
View raw message