Repository: stratos Updated Branches: refs/heads/master 0fedbe135 -> 8598f49e8
http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta-min.js ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta-min.js b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta-min.js index 8db7379..855f12b 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta-min.js +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta-min.js @@ -1,8 +1,20 @@ /* -Copyright (c) 2007, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.3.1 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ (function(){if(typeof YAHOO_config==="undefined"){YAHOO_config={};}var A={info:{"base":"http://yui.yahooapis.com/2.3.1/build/","skin":{"defaultSkin":"sam","base":"assets/skins/","path":"skin.css","rollup":3},"moduleInfo":{"animation":{"type":"js","path":"animation/animation-min.js","requires":["dom","event"]},"autocomplete":{"type":"js","path":"autocomplete/autocomplete-min.js","requires":["dom","event"],"optional":["connection","animation"],"skinnable":true},"button":{"type":"js","path":"button/button-beta-min.js","requires":["element"],"optional":["menu"],"skinnable":true},"calendar":{"type":"js","path":"calendar/calendar-min.js","requires":["event","dom"],"skinnable":true},"colorpicker":{"type":"js","path":"colorpicker/colorpicker-beta-min.js","requires":["slider","element"],"optional":["animation"],"skinnable":true},"connection":{"type":"js","path":"connection/connection-min.js","requires":["event"]},"container":{"type":"js","path":"container/container-min.js","requires":["dom", "event"],"optional":["dragdrop","animation"],"supersedes":["containercore"],"skinnable":true},"containercore":{"type":"js","path":"container/container_core-min.js","requires":["dom","event"]},"datasource":{"type":"js","path":"datasource/datasource-beta-min.js","requires":["event"],"optional":["connection"]},"datatable":{"type":"js","path":"datatable/datatable-beta-min.js","requires":["element","datasource"],"optional":["calendar","dragdrop"],"skinnable":true},"dom":{"type":"js","path":"dom/dom-min.js","requires":["yahoo"]},"dragdrop":{"type":"js","path":"dragdrop/dragdrop-min.js","requires":["dom","event"]},"editor":{"type":"js","path":"editor/editor-beta-min.js","requires":["menu","element","button"],"optional":["animation","dragdrop"],"skinnable":true},"element":{"type":"js","path":"element/element-beta-min.js","requires":["dom","event"]},"event":{"type":"js","path":"event/event-min.js","requires":["yahoo"]},"fonts":{"type":"css","path":"fonts/fonts-min.css"},"grids":{"type":"css" ,"path":"grids/grids-min.css","requires":["fonts"],"optional":["reset"]},"history":{"type":"js","path":"history/history-beta-min.js","requires":["event"]},"imageloader":{"type":"js","path":"imageloader/imageloader-experimental-min.js","requires":["event","dom"]},"logger":{"type":"js","path":"logger/logger-min.js","requires":["event","dom"],"optional":["dragdrop"],"skinnable":true},"menu":{"type":"js","path":"menu/menu-min.js","requires":["containercore"],"skinnable":true},"reset":{"type":"css","path":"reset/reset-min.css"},"reset-fonts-grids":{"type":"css","path":"reset-fonts-grids/reset-fonts-grids.css","supersedes":["reset","fonts","grids"]},"slider":{"type":"js","path":"slider/slider-min.js","requires":["dragdrop"],"optional":["animation"]},"tabview":{"type":"js","path":"tabview/tabview-min.js","requires":["element"],"optional":["connection"],"skinnable":true},"treeview":{"type":"js","path":"treeview/treeview-min.js","requires":["event"],"skinnable":true},"utilities":{"type":"js" ,"path":"utilities/utilities.js","supersedes":["yahoo","event","dragdrop","animation","dom","connection","element","yahoo-dom-event"],"rollup":6},"yahoo":{"type":"js","path":"yahoo/yahoo-min.js"},"yahoo-dom-event":{"type":"js","path":"yahoo-dom-event/yahoo-dom-event.js","supersedes":["yahoo","event","dom"],"rollup":3},"yuiloader":{"type":"js","path":"yuiloader/yuiloader-beta-min.js"},"yuitest":{"type":"js","path":"yuitest/yuitest-beta-min.js","requires":["logger"],"skinnable":true}}},ObjectUtil:{appendArray:function(D,B){if(B){for(var C=0;C<B.length;C=C+1){D[B[C]]=true;}}},clone:function(C){var D={};for(var B in C){D[B]=C[B];}return D;},merge:function(){var E={},B=arguments,D,C;for(D=0;D<B.length;D=D+1){for(C in B[D]){E[C]=B[D][C];}}return E;},keys:function(E,C){var B=[],D;for(D in E){B.push(D);}return B;}},ArrayUtil:{appendArray:function(C,B){Array.prototype.push.apply(C,B);},indexOf:function(B,D){for(var C=0;C<B.length;C=C+1){if(B[C]===D){return C;}}return -1;},toObject:function(B ){var D={};for(var C=0;C<B.length;C=C+1){D[B[C]]=true;}return D;},uniq:function(B){return A.ObjectUtil.keys(A.ArrayUtil.toObject(B));}},loaders:[],finishInit:function(B){B=B||YAHOO;B.env.YUIInfo=A.info;B.util.YUILoader=A.YUILoader;},onModuleLoaded:function(C){var E=C.name,B;for(var D=0;D<A.loaders.length;D=D+1){A.loaders[D].loadNext(E);}},init:function(){var E=YAHOO_config,D=E.load,C=(typeof YAHOO!=="undefined"&&YAHOO.env);if(C){YAHOO.env.listeners.push(A.onModuleLoaded);}else{if(E.listener){A.cachedCallback=E.listener;}E.listener=function(F){A.onModuleLoaded(F);if(A.cachedCallback){A.cachedCallback(F);}};}if(D||!C){D=D||{};var B=new A.YUILoader(D);B.onLoadComplete=function(){A.finishInit();if(D.onLoadComplete){B._pushEvents();D.onLoadComplete(B);}};if(!C){B.require("yahoo");}B.insert(null,D);}else{A.finishInit();}}};A.YUILoader=function(B){YAHOO_config.injecting=true;B=B||{};this._internalCallback=null;this.onLoadComplete=null;this.base=("base" in B)?B.base:A.info.base;this.allowRo llup=("allowRollup" in B)?B.allowRollup:true;this.filter=B.filter;this.sandbox=B.sandbox;this.required={};this.moduleInfo=B.moduleInfo||A.info.moduleInfo;this.rollups=null;this.loadOptional=B.loadOptional||false;this.sorted=[];this.loaded={};this.dirty=true;this.inserted={};this.skin=B.skin||A.ObjectUtil.clone(A.info.skin);if(B.require){this.require(B.require);}A.loaders.push(this);};A.YUILoader.prototype={FILTERS:{RAW:{"searchExp":"-min\\.js","replaceStr":".js"},DEBUG:{"searchExp":"-min\\.js","replaceStr":"-debug.js"}},SKIN_PREFIX:"skin-",addModule:function(B){if(!B||!B.name||!B.type||(!B.path&&!B.fullpath)){return false;}this.moduleInfo[B.name]=B;this.dirty=true;return true;},require:function(E){var B=(typeof E==="string")?arguments:E;this.dirty=true;for(var C=0;C<B.length;C=C+1){this.required[B[C]]=true;var D=this.parseSkin(B[C]);if(D){this._addSkin(D.skin,D.module);}}A.ObjectUtil.appendArray(this.required,B);},_addSkin:function(D,C){var B=this.formatSkin(D);if(!this.moduleInfo[B ]){this.addModule({"name":B,"type":"css","path":this.skin.base+D+"/"+this.skin.path,"rollup":this.skin.rollup}); }if(C){B=this.formatSkin(D,C);if(!this.moduleInfo[B]){this.addModule({"name":B,"type":"css","path":C+"/"+this.skin.base+D+"/"+C+".css"});}}},getRequires:function(C){if(!this.dirty&&C.expanded){return C.expanded;}C.requires=C.requires||[];var B,H=[],E=C.requires,G=C.optional,D=C.supersedes,F=this.moduleInfo;for(B=0;B<E.length;B=B+1){H.push(E[B]);A.ArrayUtil.appendArray(H,this.getRequires(F[E[B]]));}if(G&&this.loadOptional){for(B=0;B<G.length;B=B+1){H.push(G[B]);A.ArrayUtil.appendArray(H,this.getRequires(F[G[B]]));}}C.expanded=A.ArrayUtil.uniq(H);return C.expanded;},getProvides:function(B){var C=this.moduleInfo[B];var E={};E[B]=true;var D=C&&C.supersedes;A.ObjectUtil.appendArray(E,D);return E;},calculate:function(B){if(this.dirty){this._setup(B);this._explode();this._skin();if(this.allowRollup){this._rollup();}this._reduce();this._sort();this.dirty=false;}},_setup:function(C){C=C||{};this.loaded=A.ObjectUtil.clone(this.inserted);if(!this.sandbox&&typeof YAHOO!=="undefined"&&YAHOO.env) {this.loaded=A.ObjectUtil.merge(this.loaded,YAHOO.env.modules);}if(C.ignore){A.ObjectUtil.appendArray(this.loaded,C.ignore);}if(C.force){for(var B=0;B<C.force.length;B=B+1){if(C.force[B] in this.loaded){delete this.loaded[C.force[B]];}}}},_explode:function(){var E=this.required,C,B;for(C in E){B=this.moduleInfo[C];if(B){var D=this.getRequires(B);if(D){A.ObjectUtil.appendArray(E,D);}}}},_skin:function(){var E=this.required,D,C;for(D in E){C=this.moduleInfo[D];if(C&&C.skinnable){var F=this.skin.overrides,B;if(F&&F[D]){for(B=0;B<F[D].length;B=B+1){this.require(this.formatSkin(F[D][B],D));}}else{this.require(this.formatSkin(this.skin.defaultSkin,D));}}}},formatSkin:function(D,B){var C=this.SKIN_PREFIX+D;if(B){C=C+"-"+B;}return C;},parseSkin:function(C){if(C.indexOf(this.SKIN_PREFIX)===0){var B=C.split("-");return{skin:B[1],module:B[2]};}return null;},_rollup:function(){var G,F,E,K,I={},B=this.required,D;if(this.dirty||!this.rollups){for(G in this.moduleInfo){E=this.moduleInfo[G];if(E&&E .rollup){I[G]=E;}}this.rollups=I;}for(;;){var C=false;for(G in I){if(!B[G]&&!this.loaded[G]){E=this.moduleInfo[G];K=E.supersedes;D=true;if(!E.rollup){continue;}var J=this.parseSkin(G),H=0;if(J){for(F in B){if(G!==F&&this.parseSkin(F)){H++;D=(H>=E.rollup);if(D){break;}}}}else{for(F=0;F<K.length;F=F+1){if(this.loaded[K[F]]){D=false;break;}else{if(B[K[F]]){H++;D=(H>=E.rollup);if(D){break;}}}}}if(D){B[G]=true;C=true;this.getRequires(E);}}}if(!C){break;}}},_reduce:function(){var D,C,F,B,G=this.required;for(D in G){if(D in this.loaded){delete G[D];}else{var E=this.parseSkin(D);if(E){if(!E.module){var H=this.SKIN_PREFIX+E.skin;for(C in G){if(C!==D&&C.indexOf(H)>-1){delete G[C];}}}}else{B=this.moduleInfo[D];F=B&&B.supersedes;if(F){for(C=0;C<F.length;C=C+1){if(F[C] in G){delete G[F[C]];}}}}}}},_sort:function(){var L=[],C=this.moduleInfo,H=this.loaded;var M=function(Q,S){if(H[S]){return false;}var P,R=C[Q],N=R&&R.expanded;if(N&&A.ArrayUtil.indexOf(N,S)>-1){return true;}var O=C[S]&&C[S].supers edes;if(O){for(P=0;P<O.length;P=P+1){if(M(Q,O[P])){return true;}}}return false;};for(var G in this.required){L.push(G);}var B=0;for(;;){var D=L.length,K,J,F,E,I=false;for(F=B;F<D;F=F+1){K=L[F];for(E=F+1;E<D;E=E+1){if(M(K,L[E])){J=L.splice(E,1);L.splice(F,0,J[0]);I=true;break;}}if(I){break;}else{B=B+1;}}if(!I){break;}}this.sorted=L;},insert:function(F,E,C){if(!C){var B=this;this._internalCallback=function(){B._internalCallback=null;B.insert(F,E,"js");};this.insert(null,E,"css");return ;}E=E||{};this.onLoadComplete=F||this.onLoadComplete;var D=E&&E.filter||null;if(typeof D==="string"){D=D.toUpperCase();if(D==="DEBUG"){this.require("logger");}}this.filter=this.FILTERS[D]||D||this.FILTERS[this.filter]||this.filter;this.insertOptions=E;this.calculate(E);this.loading=true;this.loadType=C;this.loadNext();},loadNext:function(H){if(H){this.inserted[H]=true;}if(!this.loading){return ;}if(H&&H!==this.loading){return ;}var J=this.sorted,G=J.length,E,D,B;for(E=0;E<G;E=E+1){if(J[E] in this.insert ed){continue;}if(J[E]===this.loading){return ;}D=this.moduleInfo[J[E]];if(!this.loadType||this.loadType===D.type){this.loading=J[E];if(D.type==="css"){B=D.fullpath||this._url(D.path);this.insertCss(B);this.inserted[J[E]]=true;}else{B=D.fullpath||this._url(D.path);this.insertScript(B);if(D.verifier){var I=this,C=J[E];D.verifier(C,function(){I.loadNext(C);});}return ;}}}this.loading=null;if(this._internalCallback){var F=this._internalCallback;this._internalCallback=null;F(this);}else{if(this.onLoadComplete){this._pushEvents();this.onLoadComplete(this);}}},_pushEvents:function(){if(typeof YAHOO!=="undefined"&&YAHOO.util&&YAHOO.util.Event){YAHOO.util.Event._load();}},_url:function(D){var B=this.base||"",C=this.filter;B=B+D;if(C){B=B.replace(new RegExp(C.searchExp),C.replaceStr);}return B;},insertScript:function(C,E){var B=E||window,F=B.document,G=F.createElement("script"),D=F.getElementsByTagName("head")[0];G.src=C;G.type="text/javascript";D.appendChild(G);},insertCss:function(C,E){var B=E||window,F=B.document,G=F.createElement("link"),D=F.getElementsByTagName("head")[0];G.href=C;G.type="text/css";G.rel="stylesheet";D.appendChild(G);},sandbox:function(B){}};A.init();})(); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta.js ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta.js b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta.js index e3f311d..ea0cc82 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta.js +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuiloader/yuiloader-beta.js @@ -1,9 +1,21 @@ /* -Copyright (c) 2007, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.3.1 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ /** * Provides dynamic loading for the YUI library. It includes the dependency * info for the library, and will automatically pull in dependencies for http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest-skin.css ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest-skin.css b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest-skin.css index 85d776e..a2c505b 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest-skin.css +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest-skin.css @@ -1,7 +1,19 @@ /* -Copyright (c) 2008, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.6.0 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest.css ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest.css b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest.css index 85d776e..a2c505b 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest.css +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/skins/sam/yuitest.css @@ -1,7 +1,19 @@ /* -Copyright (c) 2008, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.6.0 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/testlogger.css ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/testlogger.css b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/testlogger.css index 60ee530..334b7df 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/testlogger.css +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/testlogger.css @@ -1,9 +1,21 @@ /* -Copyright (c) 2008, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.6.0 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ .yui-log {padding-top:3em;} /* .yui-log-container {position:relative;width:60em} http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/yuitest-core.css ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/yuitest-core.css b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/yuitest-core.css index 85d776e..a2c505b 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/yuitest-core.css +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/assets/yuitest-core.css @@ -1,7 +1,19 @@ /* -Copyright (c) 2008, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.6.0 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-debug.js ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-debug.js b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-debug.js index bd386db..a9d1667 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-debug.js +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-debug.js @@ -1,9 +1,21 @@ /* -Copyright (c) 2007, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.3.1 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ YAHOO.namespace("tool"); //----------------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-min.js ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-min.js b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-min.js index 7e4a63f..34d51fc 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-min.js +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta-min.js @@ -1,9 +1,21 @@ /* -Copyright (c) 2007, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.3.1 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ YAHOO.namespace("tool");YAHOO.tool.TestLogger=function(B,A){YAHOO.tool.TestLogger.superclass.constructor.call(this,B,A);this.init();};YAHOO.lang.extend(YAHOO.tool.TestLogger,YAHOO.widget.LogReader,{footerEnabled:true,newestOnTop:false,formatMsg:function(B){var A=B.category;var C=this.html2Text(B.msg);return"<pre><p><span class=\""+A+"\">"+A.toUpperCase()+"</span> "+C+"</p></pre>";},init:function(){if(YAHOO.tool.TestRunner){this.setTestRunner(YAHOO.tool.TestRunner);}this.hideSource("global");this.hideSource("LogReader");this.hideCategory("warn");this.hideCategory("window");this.hideCategory("time");this.clearConsole();},clearTestRunner:function(){if(this._runner){this._runner.unsubscribeAll();this._runner=null;}},setTestRunner:function(A){if(this._runner){this.clearTestRunner();}this._runner=A;A.subscribe(A.TEST_PASS_EVENT,this._handleTestRunnerEvent,this,true);A.subscribe(A.TEST_FAIL_EVENT,this._handleTestRunnerEvent,this,true);A.subscribe(A.TEST_IGNORE_EVENT,this._handleTestRunnerE vent,this,true);A.subscribe(A.BEGIN_EVENT,this._handleTestRunnerEvent,this,true);A.subscribe(A.COMPLETE_EVENT,this._handleTestRunnerEvent,this,true);A.subscribe(A.TEST_SUITE_BEGIN_EVENT,this._handleTestRunnerEvent,this,true);A.subscribe(A.TEST_SUITE_COMPLETE_EVENT,this._handleTestRunnerEvent,this,true);A.subscribe(A.TEST_CASE_BEGIN_EVENT,this._handleTestRunnerEvent,this,true);A.subscribe(A.TEST_CASE_COMPLETE_EVENT,this._handleTestRunnerEvent,this,true);},_handleTestRunnerEvent:function(D){var A=YAHOO.tool.TestRunner;var C="";var B="";switch(D.type){case A.BEGIN_EVENT:C="Testing began at "+(new Date()).toString()+".";B="info";break;case A.COMPLETE_EVENT:C="Testing completed at "+(new Date()).toString()+".\nPassed:"+D.results.passed+" Failed:"+D.results.failed+" Total:"+D.results.total;B="info";break;case A.TEST_FAIL_EVENT:C=D.testName+": "+D.error.getMessage();B="fail";break;case A.TEST_IGNORE_EVENT:C=D.testName+": ignored.";B="ignore";break;case A.TEST_PASS_EVENT:C=D.testName+": pas sed.";B="pass";break;case A.TEST_SUITE_BEGIN_EVENT:C="Test suite \""+D.testSuite.name+"\" started.";B="info";break;case A.TEST_SUITE_COMPLETE_EVENT:C="Test suite \""+D.testSuite.name+"\" completed.\nPassed:"+D.results.passed+" Failed:"+D.results.failed+" Total:"+D.results.total;B="info";break;case A.TEST_CASE_BEGIN_EVENT:C="Test case \""+D.testCase.name+"\" started.";B="info";break;case A.TEST_CASE_COMPLETE_EVENT:C="Test case \""+D.testCase.name+"\" completed.\nPassed:"+D.results.passed+" Failed:"+D.results.failed+" Total:"+D.results.total;B="info";break;default:C="Unexpected event "+D.type;C="info";}YAHOO.log(C,B,"TestRunner");}});YAHOO.namespace("tool");YAHOO.tool.TestRunner=(function(){function A(){A.superclass.constructor.apply(this,arguments);this.items=[];var C=[this.TEST_CASE_BEGIN_EVENT,this.TEST_CASE_COMPLETE_EVENT,this.TEST_SUITE_BEGIN_EVENT,this.TEST_SUITE_COMPLETE_EVENT,this.TEST_PASS_EVENT,this.TEST_FAIL_EVENT,this.TEST_IGNORE_EVENT,this.COMPLETE_EVENT,this.BEGIN_EVENT] ;for(var B=0;B<C.length;B++){this.createEvent(C[B],{scope:this});}}YAHOO.lang.extend(A,YAHOO.util.EventProvider,{TEST_CASE_BEGIN_EVENT:"testcasebegin",TEST_CASE_COMPLETE_EVENT:"testcasecomplete",TEST_SUITE_BEGIN_EVENT:"testsuitebegin",TEST_SUITE_COMPLETE_EVENT:"testsuitecomplete",TEST_PASS_EVENT:"pass",TEST_FAIL_EVENT:"fail",TEST_IGNORE_EVENT:"ignore",COMPLETE_EVENT:"complete",BEGIN_EVENT:"begin",_runTestCase:function(H){var J={};this.fireEvent(this.TEST_CASE_BEGIN_EVENT,{testCase:H});var F=[];for(var C in H){if(C.indexOf("test")===0&&typeof H[C]=="function"){F.push(C);}}var O=H._should.fail||{};var G=H._should.error||{};var L=H._should.ignore||{};var D=0;var B=0;var E=0;for(var I=0;I<F.length;I++){if(L[F[I]]){this.fireEvent(this.TEST_IGNORE_EVENT,{testCase:H,testName:F[I]});continue;}var K=false;var M=null;H.setUp();try{H[F[I]]();if(O[F[I]]){M=new YAHOO.util.ShouldFail();K=true;}else{if(G[F[I]]){M=new YAHOO.util.ShouldError();K=true;}}}catch(N){if(N instanceof YAHOO.util.AssertionE rror){if(!O[F[I]]){M=N;K=true;}}else{if(!G[F[I]]){M=new YAHOO.util.UnexpectedError(N);K=true;}else{if(YAHOO.lang.isString(G[F[I]])){if(N.message!=G[F[I]]){M=new YAHOO.util.UnexpectedError(N);K=true;}}else{if(YAHOO.lang.isObject(G[F[I]])){if(!(N instanceof G[F[I]].constructor)||N.message!=G[F[I]].message){M=new YAHOO.util.UnexpectedError(N);K=true;}}}}}}finally{if(K){this.fireEvent(this.TEST_FAIL_EVENT,{testCase:H,testName:F[I],error:M});}else{this.fireEvent(this.TEST_PASS_EVENT,{testCase:H,testName:F[I]});}}H.tearDown();J[F[I]]={result:K?"fail":"pass",message:M?M.getMessage():"Test passed"};E++;D+=(K?1:0);B+=(K?0:1);}J.total=E;J.failed=D;J.passed=B;this.fireEvent(this.TEST_CASE_COMPLETE_EVENT,{testCase:H,results:J});return J;},_runTestSuite:function(E){var D={passed:0,failed:0,total:0};this.fireEvent(this.TEST_SUITE_BEGIN_EVENT,{testSuite:E});for(var C=0;C<E.items.length;C++){var B=null;if(E.items[C] instanceof YAHOO.tool.TestSuite){B=this._runTestSuite(E.items[C]);}else{if(E.items[ C] instanceof YAHOO.tool.TestCase){B=this._runTestCase(E.items[C]);}}if(B!==null){D.total+=B.total;D.passed+=B.passed;D.failed+=B.failed;D[E.items[C].name]=B;}}this.fireEvent(this.TEST_SUITE_COMPLETE_EVENT,{testSuite:E,results:D});return D;},_run:function(B){if(YAHOO.lang.isObject(B)){if(B instanceof YAHOO.tool.TestSuite){return this._runTestSuite(B);}else{if(B instanceof YAHOO.tool.TestCase){return this._runTestCase(B);}else{throw new TypeError("_run(): Expected either YAHOO.tool.TestCase or YAHOO.tool.TestSuite.");}}}},fireEvent:function(B,C){C=C||{};C.type=B;A.superclass.fireEvent.call(this,B,C);},add:function(B){this.items.push(B);},clear:function(){while(this.items.length){this.items.pop();}},run:function(C){var E=null;this.fireEvent(this.BEGIN_EVENT);if(YAHOO.lang.isObject(C)){E=this._run(C);}else{E={passed:0,failed:0,total:0};for(var D=0;D<this.items.length;D++){var B=this._run(this.items[D]);E.passed+=B.passed;E.failed+=B.failed;E.total+=B.total;E[this.items[D].name]=B;}}thi s.fireEvent(this.COMPLETE_EVENT,{results:E}); }});return new A();})();YAHOO.namespace("tool");YAHOO.tool.TestSuite=function(A){this.name=A||YAHOO.util.Dom.generateId(null,"testSuite");this.items=[];};YAHOO.tool.TestSuite.prototype={add:function(A){if(A instanceof YAHOO.tool.TestSuite||A instanceof YAHOO.tool.TestCase){this.items.push(A);}}};YAHOO.namespace("tool");YAHOO.tool.TestCase=function(A){this._should={};for(var B in A){this[B]=A[B];}if(!YAHOO.lang.isString(this.name)){this.name=YAHOO.util.Dom.generateId(null,"testCase");}};YAHOO.tool.TestCase.prototype={setUp:function(){},tearDown:function(){}};YAHOO.namespace("util");YAHOO.util.Assert={fail:function(A){throw new YAHOO.util.AssertionError(A||"Test force-failed.");},areEqual:function(B,C,A){if(B!=C){throw new YAHOO.util.ComparisonFailure(A||"Values should be equal.",B,C);}},areNotEqual:function(A,C,B){if(A==C){throw new YAHOO.util.UnexpectedValue(B||"Values should not be equal.",A);}},areNotSame:function(A,C,B){if(A===C){throw new YAHOO.util.UnexpectedValue(B||"Values sh ould not be the same.",A);}},areSame:function(B,C,A){if(B!==C){throw new YAHOO.util.ComparisonFailure(A||"Values should be the same.",B,C);}},isFalse:function(B,A){if(false!==B){throw new YAHOO.util.ComparisonFailure(A||"Value should be false.",false,B);}},isTrue:function(B,A){if(true!==B){throw new YAHOO.util.ComparisonFailure(A||"Value should be true.",true,B);}},isNaN:function(B,A){if(!isNaN(B)){throw new YAHOO.util.ComparisonFailure(A||"Value should be NaN.",NaN,B);}},isNotNaN:function(B,A){if(isNaN(B)){throw new YAHOO.util.UnexpectedValue(A||"Values should not be NaN.",NaN);}},isNotNull:function(B,A){if(YAHOO.lang.isNull(B)){throw new YAHOO.util.UnexpectedValue(A||"Values should not be null.",null);}},isNotUndefined:function(B,A){if(YAHOO.lang.isUndefined(B)){throw new YAHOO.util.UnexpectedValue(A||"Value should not be undefined.",undefined);}},isNull:function(B,A){if(!YAHOO.lang.isNull(B)){throw new YAHOO.util.ComparisonFailure(A||"Value should be null.",null,B);}},isUndefined :function(B,A){if(!YAHOO.lang.isUndefined(B)){throw new YAHOO.util.ComparisonFailure(A||"Value should be undefined.",undefined,B);}},isArray:function(B,A){if(!YAHOO.lang.isArray(B)){throw new YAHOO.util.UnexpectedValue(A||"Value should be an array.",B);}},isBoolean:function(B,A){if(!YAHOO.lang.isBoolean(B)){throw new YAHOO.util.UnexpectedValue(A||"Value should be a Boolean.",B);}},isFunction:function(B,A){if(!YAHOO.lang.isFunction(B)){throw new YAHOO.util.UnexpectedValue(A||"Value should be a function.",B);}},isInstanceOf:function(B,C,A){if(!(C instanceof B)){throw new YAHOO.util.ComparisonFailure(A||"Value isn't an instance of expected type.",B,C);}},isNumber:function(B,A){if(!YAHOO.lang.isNumber(B)){throw new YAHOO.util.UnexpectedValue(A||"Value should be a number.",B);}},isObject:function(B,A){if(!YAHOO.lang.isObject(B)){throw new YAHOO.util.UnexpectedValue(A||"Value should be an object.",B);}},isString:function(B,A){if(!YAHOO.lang.isString(B)){throw new YAHOO.util.UnexpectedValu e(A||"Value should be a string.",B);}},isTypeOf:function(A,C,B){if(typeof C!=A){throw new YAHOO.util.ComparisonFailure(B||"Value should be of type "+expected+".",expected,typeof actual);}}};YAHOO.util.AssertionError=function(A){arguments.callee.superclass.constructor.call(this,A);this.message=A;this.name="AssertionError";};YAHOO.lang.extend(YAHOO.util.AssertionError,Error,{getMessage:function(){return this.message;},toString:function(){return this.name+": "+this.getMessage();},valueOf:function(){return this.toString();}});YAHOO.util.ComparisonFailure=function(B,A,C){arguments.callee.superclass.constructor.call(this,B);this.expected=A;this.actual=C;this.name="ComparisonFailure";};YAHOO.lang.extend(YAHOO.util.ComparisonFailure,YAHOO.util.AssertionError,{getMessage:function(){return this.message+"\nExpected: "+this.expected+" ("+(typeof this.expected)+")\nActual:"+this.actual+" ("+(typeof this.actual)+")";}});YAHOO.util.UnexpectedValue=function(B,A){arguments.callee.superclass.construc tor.call(this,B);this.unexpected=A;this.name="UnexpectedValue";};YAHOO.lang.extend(YAHOO.util.UnexpectedValue,YAHOO.util.AssertionError,{getMessage:function(){return this.message+"\nUnexpected: "+this.unexpected+" ("+(typeof this.unexpected)+") ";}});YAHOO.util.ShouldFail=function(A){arguments.callee.superclass.constructor.call(this,A||"This test should fail but didn't.");this.name="ShouldFail";};YAHOO.lang.extend(YAHOO.util.ShouldFail,YAHOO.util.AssertionError);YAHOO.util.ShouldError=function(A){arguments.callee.superclass.constructor.call(this,A||"This test should have thrown an error but didn't.");this.name="ShouldError";};YAHOO.lang.extend(YAHOO.util.ShouldError,YAHOO.util.AssertionError);YAHOO.util.UnexpectedError=function(A){arguments.callee.superclass.constructor.call(this,"Unexpected error: "+A.message);this.cause=A;this.name="UnexpectedError";};YAHOO.lang.extend(YAHOO.util.UnexpectedError,YAHOO.util.AssertionError);YAHOO.util.ArrayAssert={contains:function(E,D,B){var C=fals e;for(var A=0;A<D.length&&!C;A++){if(D[A]===E){C=true;}}if(!C){YAHOO.util.Assert.fail(B||"Value ("+E+") not found in array.");}},containsItems:function(C,D,B){for(var A=0;A<C.length;A++){this.contains(C[A],D,B);}if(!found){YAHOO.util.Assert.fail(B||"Value not found in array.");}},containsMatch:function(E,D,B){if(typeof E!="function"){throw new TypeError("ArrayAssert.containsMatch(): First argument must be a function.");}var C=false;for(var A=0;A<D.length&&!C;A++){if(E(D[A])){C=true;}}if(!C){YAHOO.util.Assert.fail(B||"No match found in array.");}},doesNotContain:function(E,D,B){var C=false;for(var A=0;A<D.length&&!C;A++){if(D[A]===E){C=true;}}if(C){YAHOO.util.Assert.fail(B||"Value found in array.");}},doesNotContainItems:function(C,D,B){for(var A=0;A<C.length;A++){this.doesNotContain(C[A],D,B);}},doesNotContainMatch:function(E,D,B){if(typeof E!="function"){throw new TypeError("ArrayAssert.doesNotContainMatch(): First argument must be a function.");}var C=false;for(var A=0;A<D.length& &!C;A++){if(E(D[A])){C=true; }}if(C){YAHOO.util.Assert.fail(B||"Value found in array.");}},indexOf:function(E,D,A,C){for(var B=0;B<D.length;B++){if(D[B]===E){YAHOO.util.Assert.areEqual(A,B,C||"Value exists at index "+B+" but should be at index "+A+".");return ;}}YAHOO.util.Assert.fail(C||"Value doesn't exist in array.");},itemsAreEqual:function(D,E,C){var A=Math.max(D.length,E.length);for(var B=0;B<A;B++){YAHOO.util.Assert.areEqual(D[B],E[B],C||"Values in position "+B+" are not equal.");}},itemsAreEquivalent:function(E,F,B,D){if(typeof B!="function"){throw new TypeError("ArrayAssert.itemsAreEquivalent(): Third argument must be a function.");}var A=Math.max(E.length,F.length);for(var C=0;C<A;C++){if(!B(E[C],F[C])){throw new YAHOO.util.ComparisonFailure(D||"Values in position "+C+" are not equivalent.",E[C],F[C]);}}},isEmpty:function(B,A){if(B.length>0){YAHOO.util.Assert.fail(A||"Array should be empty.");}},isNotEmpty:function(B,A){if(B.length===0){YAHOO.util.Assert.fail(A||"Array should not be empty.");}},itemsA reSame:function(D,E,C){var A=Math.max(D.length,E.length);for(var B=0;B<A;B++){YAHOO.util.Assert.areSame(D[B],E[B],C||"Values in position "+B+" are not the same.");}},lastIndexOf:function(E,D,A,C){for(var B=D.length;B>=0;B--){if(D[B]===E){YAHOO.util.Assert.areEqual(A,B,C||"Value exists at index "+B+" but should be at index "+A+".");return ;}}YAHOO.util.Assert.fail(C||"Value doesn't exist in array.");}};YAHOO.namespace("util");YAHOO.util.ObjectAssert={propertiesAreEqual:function(D,F,C){var B=[];for(var E in D){B.push(E);}for(var A=0;A<B.length;A++){YAHOO.util.Assert.isNotUndefined(F[B[A]],C||"Property'"+B[A]+"' expected.");}},hasProperty:function(A,B,C){if(YAHOO.lang.isUndefined(B[A])){YAHOO.util.Assert.fail(C||"Property "+A+" not found on object.");}},hasOwnProperty:function(A,B,C){if(!YAHOO.lang.hasOwnProperty(B,A)){YAHOO.util.Assert.fail(C||"Property "+A+" not found on object instance.");}}};YAHOO.util.DateAssert={datesAreEqual:function(B,C,A){if(B instanceof Date&&C instanceof Dat e){YAHOO.util.Assert.areEqual(B.getFullYear(),C.getFullYear(),A||"Years should be equal.");YAHOO.util.Assert.areEqual(B.getMonth(),C.getMonth(),A||"Months should be equal.");YAHOO.util.Assert.areEqual(B.getDate(),C.getDate(),A||"Day of month should be equal.");}else{throw new TypeError("DateAssert.datesAreEqual(): Expected and actual values must be Date objects.");}},timesAreEqual:function(B,C,A){if(B instanceof Date&&C instanceof Date){YAHOO.util.Assert.areEqual(B.getHours(),C.getHours(),A||"Hours should be equal.");YAHOO.util.Assert.areEqual(B.getMinutes(),C.getMinutes(),A||"Minutes should be equal.");YAHOO.util.Assert.areEqual(B.getSeconds(),C.getSeconds(),A||"Seconds should be equal.");}else{throw new TypeError("DateAssert.timesAreEqual(): Expected and actual values must be Date objects.");}}};YAHOO.namespace("util");YAHOO.util.UserAction={simulateKeyEvent:function(G,J,F,D,L,C,A,K,I,N,M){G=YAHOO.util.Dom.get(G);if(!G){throw new Error("simulateKeyEvent(): Invalid target.");}if(YA HOO.lang.isString(J)){J=J.toLowerCase();switch(J){case"keyup":case"keydown":case"keypress":break;case"textevent":J="keypress";break;default:throw new Error("simulateKeyEvent(): Event type '"+J+"' not supported.");}}else{throw new Error("simulateKeyEvent(): Event type must be a string.");}if(!YAHOO.lang.isBoolean(F)){F=true;}if(!YAHOO.lang.isBoolean(D)){D=true;}if(!YAHOO.lang.isObject(L)){L=window;}if(!YAHOO.lang.isBoolean(C)){C=false;}if(!YAHOO.lang.isBoolean(A)){A=false;}if(!YAHOO.lang.isBoolean(K)){K=false;}if(!YAHOO.lang.isBoolean(I)){I=false;}if(!YAHOO.lang.isNumber(N)){N=0;}if(!YAHOO.lang.isNumber(M)){M=0;}if(YAHOO.lang.isFunction(document.createEvent)){var B=null;try{B=document.createEvent("KeyEvents");B.initKeyEvent(J,F,D,L,C,A,K,I,N,M);}catch(H){try{B=document.createEvent("Events");}catch(E){B=document.createEvent("UIEvents");}finally{B.initEvent(J,F,D);B.view=L;B.altKey=A;B.ctrlKey=C;B.shiftKey=K;B.metaKey=I;B.keyCode=N;B.charCode=M;}}G.dispatchEvent(B);}else{if(YAHOO.lang. isObject(document.createEventObject)){B=document.createEventObject();B.bubbles=F;B.cancelable=D;B.view=L;B.ctrlKey=C;B.altKey=A;B.shiftKey=K;B.metaKey=I;B.keyCode=(M>0)?M:N;G.fireEvent("on"+J,B);}else{throw new Error("simulateKeyEvent(): No event simulation framework present.");}}},simulateMouseEvent:function(L,P,I,F,Q,K,H,G,E,C,D,A,O,N,J,M){L=YAHOO.util.Dom.get(L);if(!L){throw new Error("simulateMouseEvent(): Invalid target.");}if(YAHOO.lang.isString(P)){P=P.toLowerCase();switch(P){case"mouseover":case"mouseout":case"mousedown":case"mouseup":case"click":case"dblclick":case"mousemove":break;default:throw new Error("simulateMouseEvent(): Event type '"+P+"' not supported.");}}else{throw new Error("simulateMouseEvent(): Event type must be a string.");}if(!YAHOO.lang.isBoolean(I)){I=true;}if(!YAHOO.lang.isBoolean(F)){F=(P!="mousemove");}if(!YAHOO.lang.isObject(Q)){Q=window;}if(!YAHOO.lang.isNumber(K)){K=1;}if(!YAHOO.lang.isNumber(H)){H=0;}if(!YAHOO.lang.isNumber(G)){G=0;}if(!YAHOO.lang. isNumber(E)){E=0;}if(!YAHOO.lang.isNumber(C)){C=0;}if(!YAHOO.lang.isBoolean(D)){D=false;}if(!YAHOO.lang.isBoolean(A)){A=false;}if(!YAHOO.lang.isBoolean(O)){O=false;}if(!YAHOO.lang.isBoolean(N)){N=false;}if(!YAHOO.lang.isNumber(J)){J=0;}if(YAHOO.lang.isFunction(document.createEvent)){var B=document.createEvent("MouseEvents");if(B.initMouseEvent){B.initMouseEvent(P,I,F,Q,K,H,G,E,C,D,A,O,N,J,M);}else{B=document.createEvent("UIEvents");B.initEvent(P,I,F);B.view=Q;B.detail=K;B.screenX=H;B.screenY=G;B.clientX=E;B.clientY=C;B.ctrlKey=D;B.altKey=A;B.metaKey=N;B.shiftKey=O;B.button=J;B.relatedTarget=M;}if(M&&!B.relatedTarget){if(P=="mouseout"){B.toElement=M;}else{if(P=="mouseover"){B.fromElement=M;}}}L.dispatchEvent(B);}else{if(YAHOO.lang.isObject(document.createEventObject)){B=document.createEventObject();B.bubbles=I;B.cancelable=F;B.view=Q;B.detail=K;B.screenX=H;B.screenY=G;B.clientX=E;B.clientY=C;B.ctrlKey=D;B.altKey=A;B.metaKey=N;B.shiftKey=O;switch(J){case 0:B.button=1;break;case 1:B.bu tton=4;break;case 2:break; http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta.js ---------------------------------------------------------------------- diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta.js b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta.js index bd386db..a9d1667 100644 --- a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta.js +++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/yuitest/yuitest-beta.js @@ -1,9 +1,21 @@ /* -Copyright (c) 2007, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.3.1 -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ YAHOO.namespace("tool"); //----------------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading-environments.xml ---------------------------------------------------------------------- diff --git a/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading-environments.xml b/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading-environments.xml index 5366f82..a702700 100644 --- a/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading-environments.xml +++ b/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading-environments.xml @@ -1,19 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - ~ Copyright 2005-2013 WSO2, Inc. (http://wso2.com) - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. --> <!-- http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading.xml ---------------------------------------------------------------------- diff --git a/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading.xml b/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading.xml index f42616f..2e5c112 100644 --- a/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading.xml +++ b/features/manager/metadata-service/org.apache.stratos.metadata.service.feature/src/main/resources/tomcat/webapp-classloading.xml @@ -1,19 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - ~ Copyright 2005-2013 WSO2, Inc. (http://wso2.com) - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. --> <!-- http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading-environments.xml ---------------------------------------------------------------------- diff --git a/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading-environments.xml b/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading-environments.xml index 39c6b98..1aade86 100644 --- a/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading-environments.xml +++ b/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading-environments.xml @@ -1,19 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - ~ Copyright 2005-2013 WSO2, Inc. (http://wso2.com) - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. --> <!-- http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading.xml ---------------------------------------------------------------------- diff --git a/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading.xml b/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading.xml index f42616f..2e5c112 100644 --- a/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading.xml +++ b/features/manager/rest-endpoint/org.apache.stratos.rest.endpoint.feature/src/main/resources/tomcat/webapp-classloading.xml @@ -1,19 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - ~ Copyright 2005-2013 WSO2, Inc. (http://wso2.com) - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. --> <!-- http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/tools/docker-images/cartridge-docker-images/service-images/wso2is-saml-sso/files/carbon.xml ---------------------------------------------------------------------- diff --git a/tools/docker-images/cartridge-docker-images/service-images/wso2is-saml-sso/files/carbon.xml b/tools/docker-images/cartridge-docker-images/service-images/wso2is-saml-sso/files/carbon.xml index 42d0765..1a8c9a5 100644 --- a/tools/docker-images/cartridge-docker-images/service-images/wso2is-saml-sso/files/carbon.xml +++ b/tools/docker-images/cartridge-docker-images/service-images/wso2is-saml-sso/files/carbon.xml @@ -1,19 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. --> <!-- http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/tools/puppet3/modules/appserver/templates/conf/user-mgt/_roldap.erb ---------------------------------------------------------------------- diff --git a/tools/puppet3/modules/appserver/templates/conf/user-mgt/_roldap.erb b/tools/puppet3/modules/appserver/templates/conf/user-mgt/_roldap.erb index 6cdc150..852e99a 100644 --- a/tools/puppet3/modules/appserver/templates/conf/user-mgt/_roldap.erb +++ b/tools/puppet3/modules/appserver/templates/conf/user-mgt/_roldap.erb @@ -1,18 +1,19 @@ <!-- - ~ Copyright WSO2, Inc. (http://wso2.com) - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager"> <Property name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager</Property> http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/tools/puppet3/modules/appserver/templates/conf/user-mgt/_rwldap.erb ---------------------------------------------------------------------- diff --git a/tools/puppet3/modules/appserver/templates/conf/user-mgt/_rwldap.erb b/tools/puppet3/modules/appserver/templates/conf/user-mgt/_rwldap.erb index b496773..862cc6f 100644 --- a/tools/puppet3/modules/appserver/templates/conf/user-mgt/_rwldap.erb +++ b/tools/puppet3/modules/appserver/templates/conf/user-mgt/_rwldap.erb @@ -1,18 +1,19 @@ <!-- - ~ Copyright WSO2, Inc. (http://wso2.com) - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager"> <Property name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager</Property>
