You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/03/22 17:05:27 UTC

[35/54] [partial] camel git commit: CAMEL-7263: Remove not maintained and deprecated camel-web module.

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/regexp.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/regexp.js b/components/camel-web/src/main/webapp/js/dojo/regexp.js
deleted file mode 100644
index 7018bad..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/regexp.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojo.regexp"]){
-dojo._hasResource["dojo.regexp"]=true;
-dojo.provide("dojo.regexp");
-dojo.regexp.escapeString=function(_1,_2){
-return _1.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){
-if(_2&&_2.indexOf(ch)!=-1){
-return ch;
-}
-return "\\"+ch;
-});
-};
-dojo.regexp.buildGroupRE=function(_4,re,_6){
-if(!(_4 instanceof Array)){
-return re(_4);
-}
-var b=[];
-for(var i=0;i<_4.length;i++){
-b.push(re(_4[i]));
-}
-return dojo.regexp.group(b.join("|"),_6);
-};
-dojo.regexp.group=function(_9,_a){
-return "("+(_a?"?:":"")+_9+")";
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/LICENSE
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/LICENSE b/components/camel-web/src/main/webapp/js/dojo/resources/LICENSE
deleted file mode 100644
index eb28b7e..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/resources/LICENSE
+++ /dev/null
@@ -1,30 +0,0 @@
-License Disclaimer:
-
-All contents of this directory are Copyright (c) the Dojo Foundation, with the
-following exceptions:
--------------------------------------------------------------------------------
-
-dojo.css:
-	* parts Copyright (c) 2007, Yahoo! Inc. All rights reserved.
-	  Distributed under the terms of the BSD License
-
-The Program includes all or portions of the following software which was obtained under the terms and conditions of the BSD License.
-
-http://developer.yahoo.com/yui/license.html
-
-Copyright (c) 2007, Yahoo! Inc.
- All rights reserved.
- Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 
- * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the 
-documentation and/or other materials provided with the distribution.
- * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without 
-specific prior written permission of Yahoo! Inc. 
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
-OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/_modules.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/_modules.js b/components/camel-web/src/main/webapp/js/dojo/resources/_modules.js
deleted file mode 100644
index 0b276e5..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/resources/_modules.js
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/blank.gif
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/blank.gif b/components/camel-web/src/main/webapp/js/dojo/resources/blank.gif
deleted file mode 100644
index e565824..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojo/resources/blank.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/blank.html
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/blank.html b/components/camel-web/src/main/webapp/js/dojo/resources/blank.html
deleted file mode 100644
index 40fe770..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/resources/blank.html
+++ /dev/null
@@ -1 +0,0 @@
-<html><head><script>isLoaded = true;</script></head><body></body></html>

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/dnd.css
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/dnd.css b/components/camel-web/src/main/webapp/js/dojo/resources/dnd.css
deleted file mode 100644
index 8bf39e7..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/resources/dnd.css
+++ /dev/null
@@ -1,9 +0,0 @@
-
-.dojoDndAvatar			{font-size: 75%; color: black;}
-.dojoDndAvatarHeader td	{padding-left: 20px; padding-right: 4px;}
-.dojoDndAvatarHeader	{background: #ccc;}
-.dojoDndAvatarItem		{background: #eee;}
-.dojoDndMove .dojoDndAvatarHeader	{background-image: url(images/dndNoMove.png); background-repeat: no-repeat;}
-.dojoDndCopy .dojoDndAvatarHeader	{background-image: url(images/dndNoCopy.png); background-repeat: no-repeat;}
-.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader	{background-image: url(images/dndMove.png); background-repeat: no-repeat;}
-.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader	{background-image: url(images/dndCopy.png); background-repeat: no-repeat;}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/dojo.css
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/dojo.css b/components/camel-web/src/main/webapp/js/dojo/resources/dojo.css
deleted file mode 100644
index 16e0950..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/resources/dojo.css
+++ /dev/null
@@ -1,99 +0,0 @@
-
-body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
-	margin: 0;
-	padding: 0;
-}
-fieldset, img {
-	border: 0 none;
-}
-address, caption, cite, code, dfn, th, var {
-	font-style: normal; 
-	font-weight: normal;
-}
-caption, th {
-	text-align: left;
-}
-q:before, q:after {
-	content:"";
-}
-abbr, acronym {
-	border:0;
-}
-body { 
-	font: 12px Myriad,Helvetica,Tahoma,Arial,clean,sans-serif; 
-	*font-size: 75%;
-}
-h1 {
-	font-size: 1.5em; 
-	font-weight: normal;
-	line-height: 1em; 
-	margin-top: 1em;
-	margin-bottom:0;
-}
-h2 { 
-	font-size: 1.1667em; 
-	font-weight: bold; 
-	line-height: 1.286em; 
-	margin-top: 1.929em; 
-	margin-bottom:0.643em;
-}
-h3, h4, h5, h6 {
-	font-size: 1em; 
-	font-weight: bold; 
-	line-height: 1.5em; 
-	margin-top: 1.5em; 
-	margin-bottom: 0;
-}
-p { 
-	font-size: 1em; 
-	margin-top: 1.5em; 
-	margin-bottom: 1.5em; 
-	line-height: 1.5em;
-}
-blockquote { 
-	font-size: 0.916em; 
-	margin-top: 3.272em; 
-	margin-bottom: 3.272em; 
-	line-height: 1.636em; 
-	padding: 1.636em; 
-	border-top: 1px solid #ccc; 
-	border-bottom: 1px solid #ccc;
-}
-ol li, ul li { 
-	font-size: 1em; 
-	line-height: 1.5em; 
-	margin: 0;
-}
-pre, code { 
-	font-size:115%;
-	*font-size:100%;
-	font-family: Courier, "Courier New"; 
-	background-color: #efefef; 
-	border: 1px solid #ccc;
-}
-pre { 
-	border-width: 1px 0; 
-	padding: 1.5em;
-}
-table {  font-size:100%; }
-table.dojoTabular { 
-	border-collapse: collapse; 
-	border-spacing: 0; 
-	border: 1px solid #ccc; 
-	margin: 0 1.5em;
-}
-.dojoTabular th { 
-	text-align: center; 
-	font-weight: bold;
-}
-table.dojoTabular thead, table.dojoTabular tfoot { 
-	background-color: #efefef; 
-	border: 1px solid #ccc; 
-	border-width: 1px 0; 
-}
-table.dojoTabular thead tr th,
-table.dojoTabular thead tr td,
-table.dojoTabular tbody tr td,
-table.dojoTabular tfoot tr td { 
-	padding: 0.25em 0.5em;
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/iframe_history.html
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/iframe_history.html b/components/camel-web/src/main/webapp/js/dojo/resources/iframe_history.html
deleted file mode 100644
index aee368f..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/resources/iframe_history.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-	<title></title>
-	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
-	<script type="text/javascript">
-	// <!--
-	var noInit = false;
-	
-	function defineParams(sparams){
-		if(sparams){
-			var ss = (sparams.indexOf("&amp;") >= 0) ? "&amp;" : "&";
-			sparams = sparams.split(ss);
-			for(var x=0; x<sparams.length; x++){
-				var tp = sparams[x].split("=");
-				if(typeof window[tp[0]] != "undefined"){
-					window[tp[0]] = ((tp[1]=="true")||(tp[1]=="false")) ? eval(tp[1]) : tp[1];
-				}
-			}
-		}
-	}
-	
-	function init(){
-		// parse the query string if there is one to try to get params that
-		// we can act on. Also allow params to be in a fragment identifier.
-		var query = null;
-		var frag = null;
-		var url = document.location.href;
-		var hashIndex = url.indexOf("#");
-		
-		//Extract fragment identifier
-		if(hashIndex != -1){
-			frag = url.substring(hashIndex + 1, url.length);
-			url = url.substring(0, hashIndex);
-		}
-
-		//Extract querystring
-		var parts = url.split("?");
-		if(parts.length == 2){
-			query = parts[1];
-		}
-
-		defineParams(query);
-		defineParams(frag);
-
-		if(noInit){ return; }
-		var hasParentDojo = false;
-		try{
-			hasParentDojo = window.parent != window && window.parent["dojo"];
-		}catch(e){
-			alert("Initializing iframe_history.html failed. If you are using a cross-domain Dojo build,"
-				+ " please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"
-				+ " to the path on your domain to iframe_history.html");
-			throw e;
-		}
-
-		if(hasParentDojo){
-			//Set the page title so IE history shows up with a somewhat correct name.
-			document.title = window.parent.document.title;
-			
-			//Notify parent that we are loaded.
-			var pdj = window.parent.dojo;
-			if(pdj["back"]){
-				pdj.back._iframeLoaded(null, window.location);
-			}
-		}
-
-	}
-	// -->
-	</script>
-</head>
-<body onload="try{ init(); }catch(e){ alert(e); }">
-	<h4>The Dojo Toolkit -- iframe_history.html</h4>
-
-	<p>This file is used in Dojo's back/fwd button management.</p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/images/dndCopy.png
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/images/dndCopy.png b/components/camel-web/src/main/webapp/js/dojo/resources/images/dndCopy.png
deleted file mode 100644
index 660ca4f..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojo/resources/images/dndCopy.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/images/dndMove.png
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/images/dndMove.png b/components/camel-web/src/main/webapp/js/dojo/resources/images/dndMove.png
deleted file mode 100644
index 74af29c..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojo/resources/images/dndMove.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/images/dndNoCopy.png
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/images/dndNoCopy.png b/components/camel-web/src/main/webapp/js/dojo/resources/images/dndNoCopy.png
deleted file mode 100644
index 87f3aa0..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojo/resources/images/dndNoCopy.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/resources/images/dndNoMove.png
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/resources/images/dndNoMove.png b/components/camel-web/src/main/webapp/js/dojo/resources/images/dndNoMove.png
deleted file mode 100644
index d75ed86..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojo/resources/images/dndNoMove.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/robot.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/robot.js b/components/camel-web/src/main/webapp/js/dojo/robot.js
deleted file mode 100644
index 2703058..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/robot.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojo.robot"]){
-dojo._hasResource["dojo.robot"]=true;
-dojo.provide("dojo.robot");
-dojo.experimental("dojo.robot");
-dojo.require("doh.robot");
-(function(){
-dojo.mixin(doh.robot,{_scrollIntoView:function(_1){
-if(typeof _1=="function"){
-_1=_1();
-}
-_1.scrollIntoView(false);
-},scrollIntoView:function(_2,_3){
-doh.robot.sequence(function(){
-doh.robot._scrollIntoView(_2);
-},_3);
-},mouseMoveAt:function(_4,_5,_6,_7,_8){
-doh.robot._assertRobot();
-_6=_6||100;
-this.sequence(function(){
-if(typeof _4=="function"){
-_4=_4();
-}
-if(!_4){
-return;
-}
-_4=dojo.byId(_4);
-if(_8===undefined){
-var _9=dojo.contentBox(_4);
-_7=_9.w/2;
-_8=_9.h/2;
-}
-var x=_7;
-var y=_8;
-doh.robot._scrollIntoView(_4);
-var c=dojo.coords(_4);
-x+=c.x;
-y+=c.y;
-doh.robot._mouseMove(x,y,false,_6);
-},_5,_6);
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/robotx.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/robotx.js b/components/camel-web/src/main/webapp/js/dojo/robotx.js
deleted file mode 100644
index c376ae6..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/robotx.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojo.robotx"]){
-dojo._hasResource["dojo.robotx"]=true;
-dojo.provide("dojo.robotx");
-dojo.require("dojo.robot");
-dojo.experimental("dojo.robotx");
-(function(){
-doh.robot._runsemaphore.lock.push("dojo.robotx.lock");
-var _1=document.getElementById("robotapplication");
-var _2=dojo.connect(doh,"_groupStarted",function(){
-dojo.disconnect(_2);
-if(!document.getElementById("robotconsole").childNodes.length){
-document.body.removeChild(document.getElementById("robotconsole"));
-_1.style.height="100%";
-}
-_1.style.visibility="visible";
-});
-var _3=function(){
-doh.robot._updateDocument();
-_3=null;
-doh.run();
-};
-var _4=function(){
-if(_3){
-_3();
-}
-var _5=dojo.connect(dojo.body(),"onunload",function(){
-dojo.global=window;
-dojo.doc=document;
-dojo.disconnect(_5);
-});
-};
-dojo.config.debugContainerId="robotconsole";
-document.write("<div id=\"robotconsole\" style=\"position:absolute;left:0px;top:75%;width:100%; height:25%;\"></div>");
-_1=document.createElement("iframe");
-_1.setAttribute("ALLOWTRANSPARENCY","true");
-dojo.style(_1,{visibility:"hidden",border:"0px none",padding:"0px",margin:"0px",position:"absolute",left:"0px",top:"0px",width:"100%",height:"75%",zIndex:"1"});
-if(_1["attachEvent"]!==undefined){
-_1.attachEvent("onload",_4);
-}else{
-dojo.connect(_1,"onload",_4);
-}
-dojo.mixin(doh.robot,{_updateDocument:function(){
-dojo.setContext(_1.contentWindow,_1.contentWindow.document);
-var _6=dojo.global;
-if(_6["dojo"]){
-dojo._topics=_6.dojo._topics;
-}
-},initRobot:function(_7){
-_1.src=_7;
-dojo.addOnLoad(function(){
-dojo.style(document.body,{width:"100%",height:"100%"});
-document.body.appendChild(_1);
-var _8=document.createElement("base");
-_8.href=_7;
-document.getElementsByTagName("head")[0].appendChild(_8);
-});
-},waitForPageToLoad:function(_9){
-var d=new doh.Deferred();
-_3=function(){
-_3=null;
-doh.robot._updateDocument();
-d.callback(true);
-};
-_9();
-return d;
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/rpc/JsonService.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/rpc/JsonService.js b/components/camel-web/src/main/webapp/js/dojo/rpc/JsonService.js
deleted file mode 100644
index 989c931..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/rpc/JsonService.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojo.rpc.JsonService"]){
-dojo._hasResource["dojo.rpc.JsonService"]=true;
-dojo.provide("dojo.rpc.JsonService");
-dojo.require("dojo.rpc.RpcService");
-dojo.declare("dojo.rpc.JsonService",dojo.rpc.RpcService,{bustCache:false,contentType:"application/json-rpc",lastSubmissionId:0,callRemote:function(_1,_2){
-var _3=new dojo.Deferred();
-this.bind(_1,_2,_3);
-return _3;
-},bind:function(_4,_5,_6,_7){
-var _8=dojo.rawXhrPost({url:_7||this.serviceUrl,postData:this.createRequest(_4,_5),contentType:this.contentType,timeout:this.timeout,handleAs:"json-comment-optional"});
-_8.addCallbacks(this.resultCallback(_6),this.errorCallback(_6));
-},createRequest:function(_9,_a){
-var _b={"params":_a,"method":_9,"id":++this.lastSubmissionId};
-var _c=dojo.toJson(_b);
-return _c;
-},parseResults:function(_d){
-if(dojo.isObject(_d)){
-if("result" in _d){
-return _d.result;
-}
-if("Result" in _d){
-return _d.Result;
-}
-if("ResultSet" in _d){
-return _d.ResultSet;
-}
-}
-return _d;
-}});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/rpc/JsonpService.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/rpc/JsonpService.js b/components/camel-web/src/main/webapp/js/dojo/rpc/JsonpService.js
deleted file mode 100644
index 1704364..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/rpc/JsonpService.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojo.rpc.JsonpService"]){
-dojo._hasResource["dojo.rpc.JsonpService"]=true;
-dojo.provide("dojo.rpc.JsonpService");
-dojo.require("dojo.rpc.RpcService");
-dojo.require("dojo.io.script");
-dojo.declare("dojo.rpc.JsonpService",dojo.rpc.RpcService,{constructor:function(_1,_2){
-if(this.required){
-if(_2){
-dojo.mixin(this.required,_2);
-}
-dojo.forEach(this.required,function(_3){
-if(_3==""||_3==undefined){
-throw new Error("Required Service Argument not found: "+_3);
-}
-});
-}
-},strictArgChecks:false,bind:function(_4,_5,_6,_7){
-var _8=dojo.io.script.get({url:_7||this.serviceUrl,callbackParamName:this.callbackParamName||"callback",content:this.createRequest(_5),timeout:this.timeout,handleAs:"json",preventCache:true});
-_8.addCallbacks(this.resultCallback(_6),this.errorCallback(_6));
-},createRequest:function(_9){
-var _a=(dojo.isArrayLike(_9)&&_9.length==1)?_9[0]:{};
-dojo.mixin(_a,this.required);
-return _a;
-}});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/rpc/RpcService.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/rpc/RpcService.js b/components/camel-web/src/main/webapp/js/dojo/rpc/RpcService.js
deleted file mode 100644
index 1eb10bb..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/rpc/RpcService.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojo.rpc.RpcService"]){
-dojo._hasResource["dojo.rpc.RpcService"]=true;
-dojo.provide("dojo.rpc.RpcService");
-dojo.declare("dojo.rpc.RpcService",null,{constructor:function(_1){
-if(_1){
-if((dojo.isString(_1))||(_1 instanceof dojo._Url)){
-if(_1 instanceof dojo._Url){
-var _2=_1+"";
-}else{
-_2=_1;
-}
-var _3=dojo.xhrGet({url:_2,handleAs:"json-comment-optional",sync:true});
-_3.addCallback(this,"processSmd");
-_3.addErrback(function(){
-throw new Error("Unable to load SMD from "+_1);
-});
-}else{
-if(_1.smdStr){
-this.processSmd(dojo.eval("("+_1.smdStr+")"));
-}else{
-if(_1.serviceUrl){
-this.serviceUrl=_1.serviceUrl;
-}
-this.timeout=_1.timeout||3000;
-if("strictArgChecks" in _1){
-this.strictArgChecks=_1.strictArgChecks;
-}
-this.processSmd(_1);
-}
-}
-}
-},strictArgChecks:true,serviceUrl:"",parseResults:function(_4){
-return _4;
-},errorCallback:function(_5){
-return function(_6){
-_5.errback(_6.message);
-};
-},resultCallback:function(_7){
-var tf=dojo.hitch(this,function(_9){
-if(_9.error!=null){
-var _a;
-if(typeof _9.error=="object"){
-_a=new Error(_9.error.message);
-_a.code=_9.error.code;
-_a.error=_9.error.error;
-}else{
-_a=new Error(_9.error);
-}
-_a.id=_9.id;
-_a.errorObject=_9;
-_7.errback(_a);
-}else{
-_7.callback(this.parseResults(_9));
-}
-});
-return tf;
-},generateMethod:function(_b,_c,_d){
-return dojo.hitch(this,function(){
-var _e=new dojo.Deferred();
-if((this.strictArgChecks)&&(_c!=null)&&(arguments.length!=_c.length)){
-throw new Error("Invalid number of parameters for remote method.");
-}else{
-this.bind(_b,dojo._toArray(arguments),_e,_d);
-}
-return _e;
-});
-},processSmd:function(_f){
-if(_f.methods){
-dojo.forEach(_f.methods,function(m){
-if(m&&m.name){
-this[m.name]=this.generateMethod(m.name,m.parameters,m.url||m.serviceUrl||m.serviceURL);
-if(!dojo.isFunction(this[m.name])){
-throw new Error("RpcService: Failed to create"+m.name+"()");
-}
-}
-},this);
-}
-this.serviceUrl=_f.serviceUrl||_f.serviceURL;
-this.required=_f.required;
-this.smd=_f;
-}});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/string.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojo/string.js b/components/camel-web/src/main/webapp/js/dojo/string.js
deleted file mode 100644
index eef037a..0000000
--- a/components/camel-web/src/main/webapp/js/dojo/string.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojo.string"]){
-dojo._hasResource["dojo.string"]=true;
-dojo.provide("dojo.string");
-dojo.string.rep=function(_1,_2){
-if(_2<=0||!_1){
-return "";
-}
-var _3=[];
-for(;;){
-if(_2&1){
-_3.push(_1);
-}
-if(!(_2>>=1)){
-break;
-}
-_1+=_1;
-}
-return _3.join("");
-};
-dojo.string.pad=function(_4,_5,ch,_7){
-if(!ch){
-ch="0";
-}
-var _8=String(_4),_9=dojo.string.rep(ch,Math.ceil((_5-_8.length)/ch.length));
-return _7?_8+_9:_9+_8;
-};
-dojo.string.substitute=function(_a,_b,_c,_d){
-_d=_d||dojo.global;
-_c=(!_c)?function(v){
-return v;
-}:dojo.hitch(_d,_c);
-return _a.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_f,key,_11){
-var _12=dojo.getObject(key,false,_b);
-if(_11){
-_12=dojo.getObject(_11,false,_d).call(_d,_12,key);
-}
-return _c(_12,key).toString();
-});
-};
-dojo.string.trim=String.prototype.trim?dojo.trim:function(str){
-str=str.replace(/^\s+/,"");
-for(var i=str.length-1;i>=0;i--){
-if(/\S/.test(str.charAt(i))){
-str=str.substring(0,i+1);
-break;
-}
-}
-return str;
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/LICENSE
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/LICENSE b/components/camel-web/src/main/webapp/js/dojox/LICENSE
deleted file mode 100644
index ad1676a..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/LICENSE
+++ /dev/null
@@ -1,195 +0,0 @@
-Dojo is available under *either* the terms of the modified BSD license *or* the
-Academic Free License version 2.1. As a recipient of Dojo, you may choose which
-license to receive this code under (except as noted in per-module LICENSE
-files). Some modules may not be the copyright of the Dojo Foundation. These
-modules contain explicit declarations of copyright in both the LICENSE files in
-the directories in which they reside and in the code itself. No external
-contributions are allowed under licenses which are fundamentally incompatible
-with the AFL or BSD licenses that Dojo is distributed under.
-
-The text of the AFL and BSD licenses is reproduced below. 
-
--------------------------------------------------------------------------------
-The "New" BSD License:
-**********************
-
-Copyright (c) 2005-2009, The Dojo Foundation
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-  * Redistributions of source code must retain the above copyright notice, this
-    list of conditions and the following disclaimer.
-  * Redistributions in binary form must reproduce the above copyright notice,
-    this list of conditions and the following disclaimer in the documentation
-    and/or other materials provided with the distribution.
-  * Neither the name of the Dojo Foundation nor the names of its contributors
-    may be used to endorse or promote products derived from this software
-    without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
--------------------------------------------------------------------------------
-The Academic Free License, v. 2.1:
-**********************************
-
-This Academic Free License (the "License") applies to any original work of
-authorship (the "Original Work") whose owner (the "Licensor") has placed the
-following notice immediately following the copyright notice for the Original
-Work:
-
-Licensed under the Academic Free License version 2.1
-
-1) Grant of Copyright License. Licensor hereby grants You a world-wide,
-royalty-free, non-exclusive, perpetual, sublicenseable license to do the
-following:
-
-a) to reproduce the Original Work in copies;
-
-b) to prepare derivative works ("Derivative Works") based upon the Original
-Work;
-
-c) to distribute copies of the Original Work and Derivative Works to the
-public;
-
-d) to perform the Original Work publicly; and
-
-e) to display the Original Work publicly.
-
-2) Grant of Patent License. Licensor hereby grants You a world-wide,
-royalty-free, non-exclusive, perpetual, sublicenseable license, under patent
-claims owned or controlled by the Licensor that are embodied in the Original
-Work as furnished by the Licensor, to make, use, sell and offer for sale the
-Original Work and Derivative Works.
-
-3) Grant of Source Code License. The term "Source Code" means the preferred
-form of the Original Work for making modifications to it and all available
-documentation describing how to modify the Original Work. Licensor hereby
-agrees to provide a machine-readable copy of the Source Code of the Original
-Work along with each copy of the Original Work that Licensor distributes.
-Licensor reserves the right to satisfy this obligation by placing a
-machine-readable copy of the Source Code in an information repository
-reasonably calculated to permit inexpensive and convenient access by You for as
-long as Licensor continues to distribute the Original Work, and by publishing
-the address of that information repository in a notice immediately following
-the copyright notice that applies to the Original Work.
-
-4) Exclusions From License Grant. Neither the names of Licensor, nor the names
-of any contributors to the Original Work, nor any of their trademarks or
-service marks, may be used to endorse or promote products derived from this
-Original Work without express prior written permission of the Licensor. Nothing
-in this License shall be deemed to grant any rights to trademarks, copyrights,
-patents, trade secrets or any other intellectual property of Licensor except as
-expressly stated herein. No patent license is granted to make, use, sell or
-offer to sell embodiments of any patent claims other than the licensed claims
-defined in Section 2. No right is granted to the trademarks of Licensor even if
-such marks are included in the Original Work. Nothing in this License shall be
-interpreted to prohibit Licensor from licensing under different terms from this
-License any Original Work that Licensor otherwise would have a right to
-license.
-
-5) This section intentionally omitted.
-
-6) Attribution Rights. You must retain, in the Source Code of any Derivative
-Works that You create, all copyright, patent or trademark notices from the
-Source Code of the Original Work, as well as any notices of licensing and any
-descriptive text identified therein as an "Attribution Notice." You must cause
-the Source Code for any Derivative Works that You create to carry a prominent
-Attribution Notice reasonably calculated to inform recipients that You have
-modified the Original Work.
-
-7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
-the copyright in and to the Original Work and the patent rights granted herein
-by Licensor are owned by the Licensor or are sublicensed to You under the terms
-of this License with the permission of the contributor(s) of those copyrights
-and patent rights. Except as expressly stated in the immediately proceeding
-sentence, the Original Work is provided under this License on an "AS IS" BASIS
-and WITHOUT WARRANTY, either express or implied, including, without limitation,
-the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU.
-This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No
-license to Original Work is granted hereunder except under this disclaimer.
-
-8) Limitation of Liability. Under no circumstances and under no legal theory,
-whether in tort (including negligence), contract, or otherwise, shall the
-Licensor be liable to any person for any direct, indirect, special, incidental,
-or consequential damages of any character arising as a result of this License
-or the use of the Original Work including, without limitation, damages for loss
-of goodwill, work stoppage, computer failure or malfunction, or any and all
-other commercial damages or losses. This limitation of liability shall not
-apply to liability for death or personal injury resulting from Licensor's
-negligence to the extent applicable law prohibits such limitation. Some
-jurisdictions do not allow the exclusion or limitation of incidental or
-consequential damages, so this exclusion and limitation may not apply to You.
-
-9) Acceptance and Termination. If You distribute copies of the Original Work or
-a Derivative Work, You must make a reasonable effort under the circumstances to
-obtain the express assent of recipients to the terms of this License. Nothing
-else but this License (or another written agreement between Licensor and You)
-grants You permission to create Derivative Works based upon the Original Work
-or to exercise any of the rights granted in Section 1 herein, and any attempt
-to do so except under the terms of this License (or another written agreement
-between Licensor and You) is expressly prohibited by U.S. copyright law, the
-equivalent laws of other countries, and by international treaty. Therefore, by
-exercising any of the rights granted to You in Section 1 herein, You indicate
-Your acceptance of this License and all of its terms and conditions.
-
-10) Termination for Patent Action. This License shall terminate automatically
-and You may no longer exercise any of the rights granted to You by this License
-as of the date You commence an action, including a cross-claim or counterclaim,
-against Licensor or any licensee alleging that the Original Work infringes a
-patent. This termination provision shall not apply for an action alleging
-patent infringement by combinations of the Original Work with other software or
-hardware.
-
-11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
-License may be brought only in the courts of a jurisdiction wherein the
-Licensor resides or in which Licensor conducts its primary business, and under
-the laws of that jurisdiction excluding its conflict-of-law provisions. The
-application of the United Nations Convention on Contracts for the International
-Sale of Goods is expressly excluded. Any use of the Original Work outside the
-scope of this License or after its termination shall be subject to the
-requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et
-seq., the equivalent laws of other countries, and international treaty. This
-section shall survive the termination of this License.
-
-12) Attorneys Fees. In any action to enforce the terms of this License or
-seeking damages relating thereto, the prevailing party shall be entitled to
-recover its costs and expenses, including, without limitation, reasonable
-attorneys' fees and costs incurred in connection with such action, including
-any appeal of such action. This section shall survive the termination of this
-License.
-
-13) Miscellaneous. This License represents the complete agreement concerning
-the subject matter hereof. If any provision of this License is held to be
-unenforceable, such provision shall be reformed only to the extent necessary to
-make it enforceable.
-
-14) Definition of "You" in This License. "You" throughout this License, whether
-in upper or lower case, means an individual or a legal entity exercising rights
-under, and complying with all of the terms of, this License. For legal
-entities, "You" includes any entity that controls, is controlled by, or is
-under common control with you. For purposes of this definition, "control" means
-(i) the power, direct or indirect, to cause the direction or management of such
-entity, whether by contract or otherwise, or (ii) ownership of fifty percent
-(50%) or more of the outstanding shares, or (iii) beneficial ownership of such
-entity.
-
-15) Right to Use. You may use the Original Work in all ways not otherwise
-restricted or conditioned by this License or by law, and Licensor promises not
-to interfere with or be responsible for such uses by You.
-
-This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved.
-Permission is hereby granted to copy and distribute this license without
-modification. This license may not be modified without the express written
-permission of its copyright owner.

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics.js b/components/camel-web/src/main/webapp/js/dojox/analytics.js
deleted file mode 100644
index e07a131..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.analytics"]){
-dojo._hasResource["dojox.analytics"]=true;
-dojo.provide("dojox.analytics");
-dojo.require("dojox.analytics._base");
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics/README
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics/README b/components/camel-web/src/main/webapp/js/dojox/analytics/README
deleted file mode 100644
index 6304903..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics/README
+++ /dev/null
@@ -1,139 +0,0 @@
--------------------------------------------------------------------------------
-dojox.analytics
--------------------------------------------------------------------------------
-Version 1.0
-Release date: 12/17/2007
--------------------------------------------------------------------------------
-Project state: 
-[base]: alpha
-[Urchin]: alpha
--------------------------------------------------------------------------------
-Project authors
-	Dustin Machi  (dmachi)
-	Peter Higgins (dante)
--------------------------------------------------------------------------------
-Project description
-	analytics and client monitoring system.  Including the base analytics
-system and any number of plugins enables logging of different system data
-back to the server.  Plugins included at this time:
-
-	dojo - reports dojo startup  collected information
-	window - reports available window information to the server
-	mouseOver - allows periodic sampling of mouseOver 
-	mouseClick - reports any mouse clicks to the server
-	idle - reports idle/activity 
-	consoleMessages - reports console.* messages to the server	
-
-	Additionally, a Google Ananlytics (Urchin tracker) helper is included
-	in this project, though is unrelated to the Core dojox.analytics 
-	project code. 
-
--------------------------------------------------------------------------------
-Dependencies:
-
-Dojo Core (package loader).
--------------------------------------------------------------------------------
-Documentation
-
-Usage:
-
-The primary intended usage will be to create a custom build layer that includes 
-the particular plugins you need for your project.   However in practice you
-can use the system as such:
-
-	<script type="text/javascript" src="../../../dojo/dojo.js"
-                djConfig="parseOnLoad: true, isDebug: false, usePlainJson: true, sendMethod: 'script', sendInterval: 5000"></script>
-
-        <script language="JavaScript" type="text/javascript">
-                // include the analytics system
-                dojo.require("dojox.analytics");
-
-                //tracks mouse clicks on the page
-                dojo.require("dojox.analytics.plugins.mouseClick");
-
-                // this plugin returns the informatin dojo collects when it launches
-                dojo.require("dojox.analytics.plugins.dojo");
-
-                // this plugin return the information the window has when it launches
-                // and it also ties to a few events such as window.option
-                dojo.require("dojox.analytics.plugins.window");
-
-                // this plugin tracks console. message, It logs console.error, warn, and
-                // info messages to the tracker.  It also defines console.rlog() which
-                // can be used to log only to the server.  Note that if isDebug() is disabled
-                // you will still see the console messages on the sever, but not in the actual
-                // browser console.
-                dojo.require("dojox.analytics.plugins.consoleMessages");
-
-                // tracks where a mouse is on a page an what it is over, periodically sampling
-                // and storing this data
-                dojo.require("dojox.analytics.plugins.mouseOver");
-
-                //tracks when the user has gone idle
-                dojo.require("dojox.analytics.plugins.idle");
-
-	</script> 
-
-When done using a build, none of the dojo.require() statement will be requires 
-would already be in the build. 
-
-Most of the plugins and the base itself have a number of configurable params
-that are passed in via the djConfig variable set.  This approach is taken so that
-the parameters can be easily provided in the case of a build or for a custom
-dojo.js build with analytics built in. Examples for different build profiles 
-are in the profiles directory.
-
-Available Configuration Parameters:
-
-	Base Configs
-	sendInterval - Normal send interval. Default 5000 
-	sendMethod - "script" || "xhrPost"
-	inTransitRetry - Delay before retrying an a send if it was in transit
-			or if there is still data to be sent after a post.
-			Default 1000
-	analyticsUrl - url to send logging data to. defaults to the test php 
-			file for now
-	maxRequestSize - Maximum size of GET style requests. Capped at 2000 for 
-			IE, and 4000 otherwise	
-
-	consoleMessages Config:
-
-	consoleLogFuncs - functions from the console object that you will log to 
-			the server. If the console object doesn't exist
-			or a particuarl method doesn't exist it will be
-			created as a remote logging only method. This provides
-			a quick and convient way to automatically define
-			a remote logging funciton that includes the functions
-			name in the log.  The 'rlog' in the default paramerters
-			is an example of this.  Defaults to ["error", "warn", "info", "rlog"]	
-
-	idle Config:
-	
-		idleTime - Number of ms to be idle before being reported to the server as idle
-
-	mouseOver config:
-		targetProps - the properties whose values will be reported for each target from
-				a mouse over sample.  defaults to ["id","className","localName","href", "spellcheck", "lang", "textContent", "value" ]
-
-		sampleDelay - the delay in ms between mouseover samples. Defaults to 2500
-
-	window config:
-		windowConnects - methods on the window objec that will be attached to 
-				have its data passed to the server when called.
-
-	
-Note that the basic usage of this system simply serializes json with toJson() when passed
-to the analytics addData() method.  If data is passed that has circular references
-it will die.  Take care not to do that or be surprised when it doens't work
-in those cases.
-
--------------------------------------------------------------------------------
-Installation instructions
-
-Grab the following from the Dojo SVN Repository:
-http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/analytics
-
-Install into the following directory structure:
-/dojox/analytics/
-
-...which should be at the same level as your Dojo checkout.

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics/Urchin.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics/Urchin.js b/components/camel-web/src/main/webapp/js/dojox/analytics/Urchin.js
deleted file mode 100644
index f45fb9e..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics/Urchin.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.analytics.Urchin"]){
-dojo._hasResource["dojox.analytics.Urchin"]=true;
-dojo.provide("dojox.analytics.Urchin");
-dojo.declare("dojox.analytics.Urchin",null,{acct:dojo.config.urchin,loadInterval:42,decay:0.5,timeout:4200,constructor:function(_1){
-this.tracker=null;
-dojo.mixin(this,_1);
-this._loadGA();
-},_loadGA:function(){
-var _2=("https:"==document.location.protocol)?"https://ssl.":"http://www.";
-dojo.create("script",{src:_2+"google-analytics.com/ga.js"},dojo.doc.getElementsByTagName("head")[0]);
-setTimeout(dojo.hitch(this,"_checkGA"),this.loadInterval);
-},_checkGA:function(){
-if(this.loadInterval>this.timeout){
-return;
-}
-setTimeout(dojo.hitch(this,!window["_gat"]?"_checkGA":"_gotGA"),this.loadInterval);
-this.loadInterval*=(this.decay+1);
-},_gotGA:function(){
-this.tracker=_gat._getTracker(this.acct);
-this.tracker._initData();
-this.GAonLoad.apply(this,arguments);
-},GAonLoad:function(){
-this.trackPageView();
-},trackPageView:function(_3){
-this.tracker._trackPageview.apply(this,arguments);
-}});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics/_base.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics/_base.js b/components/camel-web/src/main/webapp/js/dojox/analytics/_base.js
deleted file mode 100644
index 4602d42..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics/_base.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.analytics._base"]){
-dojo._hasResource["dojox.analytics._base"]=true;
-dojo.provide("dojox.analytics._base");
-dojox.analytics=function(){
-this._data=[];
-this._id=1;
-this.sendInterval=dojo.config["sendInterval"]||5000;
-this.inTransitRetry=dojo.config["inTransitRetry"]||200;
-this.dataUrl=dojo.config["analyticsUrl"]||dojo.moduleUrl("dojox.analytics.logger","dojoxAnalytics.php");
-this.sendMethod=dojo.config["sendMethod"]||"xhrPost";
-this.maxRequestSize=dojo.isIE?2000:dojo.config["maxRequestSize"]||4000;
-dojo.addOnLoad(this,"schedulePusher");
-dojo.addOnUnload(this,"pushData",true);
-};
-dojo.extend(dojox.analytics,{schedulePusher:function(_1){
-setTimeout(dojo.hitch(this,"checkData"),_1||this.sendInterval);
-},addData:function(_2,_3){
-if(arguments.length>2){
-var c=[];
-for(var i=1;i<arguments.length;i++){
-c.push(arguments[i]);
-}
-_3=c;
-}
-this._data.push({plugin:_2,data:_3});
-},checkData:function(){
-if(this._inTransit){
-this.schedulePusher(this.inTransitRetry);
-return;
-}
-if(this.pushData()){
-return;
-}
-this.schedulePusher();
-},pushData:function(){
-if(this._data.length){
-this._inTransit=this._data;
-this._data=[];
-var _6;
-switch(this.sendMethod){
-case "script":
-_6=dojo.io.script.get({url:this.getQueryPacket(),preventCache:1,callbackParamName:"callback"});
-break;
-case "xhrPost":
-default:
-_6=dojo.xhrPost({url:this.dataUrl,content:{id:this._id++,data:dojo.toJson(this._inTransit)}});
-break;
-}
-_6.addCallback(this,"onPushComplete");
-return _6;
-}
-return false;
-},getQueryPacket:function(){
-while(true){
-var _7={id:this._id++,data:dojo.toJson(this._inTransit)};
-var _8=this.dataUrl+"?"+dojo.objectToQuery(_7);
-if(_8.length>this.maxRequestSize){
-this._data.unshift(this._inTransit.pop());
-this._split=1;
-}else{
-return _8;
-}
-}
-},onPushComplete:function(_9){
-if(this._inTransit){
-delete this._inTransit;
-}
-if(this._data.length>0){
-this.schedulePusher(this.inTransitRetry);
-}else{
-this.schedulePusher();
-}
-}});
-dojox.analytics=new dojox.analytics();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics/logger/JSON.php
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics/logger/JSON.php b/components/camel-web/src/main/webapp/js/dojox/analytics/logger/JSON.php
deleted file mode 100644
index e87e4d0..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics/logger/JSON.php
+++ /dev/null
@@ -1,724 +0,0 @@
-<?php
-/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
-
-/** 
- * Converts to and from JSON format.
- * 
- * JSON (JavaScript Object Notation) is a lightweight data-interchange
- * format. It is easy for humans to read and write. It is easy for machines
- * to parse and generate. It is based on a subset of the JavaScript
- * Programming Language, Standard ECMA-262 3rd Edition - December 1999.
- * This feature can also be found in  Python. JSON is a text format that is
- * completely language independent but uses conventions that are familiar
- * to programmers of the C-family of languages, including C, C++, C#, Java,
- * JavaScript, Perl, TCL, and many others. These properties make JSON an
- * ideal data-interchange language.
- * 
- * This package provides a simple encoder and decoder for JSON notation. It
- * is intended for use with client-side Javascript applications that make
- * use of HTTPRequest to perform server communication functions - data can
- * be encoded into JSON notation for use in a client-side javascript, or
- * decoded from incoming Javascript requests. JSON format is native to
- * Javascript, and can be directly eval()'ed with no further parsing
- * overhead
- *
- * All strings should be in ASCII or UTF-8 format!
- *
- * LICENSE: Redistribution and use in source and binary forms, with or
- * without modification, are permitted provided that the following
- * conditions are met: Redistributions of source code must retain the
- * above copyright notice, this list of conditions and the following
- * disclaimer. Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- * 
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
- * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
- * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
- * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- * 
- * @category   
- * @package     Services_JSON
- * @author      Michal Migurski <mi...@teczno.com>
- * @author      Matt Knapp <mdknapp[at]gmail[dot]com>
- * @author      Brett Stimmerman <brettstimmerman[at]gmail[dot]com>
- * @copyright   2005 Michal Migurski
- * @license     http://www.opensource.org/licenses/bsd-license.php
- * @link        http://pear.php.net/pepr/pepr-proposal-show.php?id=198
- */
-
-/**
- * Marker constant for Services_JSON::decode(), used to flag stack state
- */
-define('SERVICES_JSON_SLICE',   1);
-
-/**
- * Marker constant for Services_JSON::decode(), used to flag stack state
- */
-define('SERVICES_JSON_IN_STR',  2);
-
-/**
- * Marker constant for Services_JSON::decode(), used to flag stack state
- */
-define('SERVICES_JSON_IN_ARR',  4);
-
-/**
- * Marker constant for Services_JSON::decode(), used to flag stack state
- */
-define('SERVICES_JSON_IN_OBJ',  8);
-
-/**
- * Marker constant for Services_JSON::decode(), used to flag stack state
- */
-define('SERVICES_JSON_IN_CMT', 16);
-
-/**
- * Behavior switch for Services_JSON::decode()
- */
-define('SERVICES_JSON_LOOSE_TYPE', 10);
-
-/**
- * Behavior switch for Services_JSON::decode()
- */
-define('SERVICES_JSON_STRICT_TYPE', 11);
-
-/** 
- * Converts to and from JSON format.
- *
- * Brief example of use:
- *
- * <code>
- * // create a new instance of Services_JSON
- * $json = new Services_JSON();
- * 
- * // convert a complexe value to JSON notation, and send it to the browser
- * $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4)));
- * $output = $json->encode($value);
- *
- * print($output);
- * // prints: ["foo","bar",[1,2,"baz"],[3,[4]]]
- * 
- * // accept incoming POST data, assumed to be in JSON notation
- * $input = file_get_contents('php://input', 1000000);
- * $value = $json->decode($input);
- * </code>
- */
-class Services_JSON
-{
-   /**
-    * constructs a new JSON instance
-    *
-    * @param    int     $use    object behavior: when encoding or decoding,
-    *                           be loose or strict about object/array usage
-    *
-    *                           possible values:
-    *                           - SERVICES_JSON_STRICT_TYPE: strict typing, default.
-    *                                                        "{...}" syntax creates objects in decode().
-    *                           - SERVICES_JSON_LOOSE_TYPE:  loose typing.
-    *                                                        "{...}" syntax creates associative arrays in decode().
-    */
-    function Services_JSON($use = SERVICES_JSON_STRICT_TYPE)
-    {
-        $this->use = $use;
-    }
-
-   /**
-    * convert a string from one UTF-16 char to one UTF-8 char
-    *
-    * Normally should be handled by mb_convert_encoding, but
-    * provides a slower PHP-only method for installations
-    * that lack the multibye string extension.
-    *
-    * @param    string  $utf16  UTF-16 character
-    * @return   string  UTF-8 character
-    * @access   private
-    */
-    function utf162utf8($utf16)
-    {
-        // oh please oh please oh please oh please oh please
-        if(function_exists('mb_convert_encoding'))
-            return mb_convert_encoding($utf16, 'UTF-8', 'UTF-16');
-        
-        $bytes = (ord($utf16{0}) << 8) | ord($utf16{1});
-
-        switch(true) {
-            case ((0x7F & $bytes) == $bytes):
-                // this case should never be reached, because we are in ASCII range
-                // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return chr(0x7F & $bytes);
-
-            case (0x07FF & $bytes) == $bytes:
-                // return a 2-byte UTF-8 character
-                // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return chr(0xC0 | (($bytes >> 6) & 0x1F))
-                     . chr(0x80 | ($bytes & 0x3F));
-
-            case (0xFFFF & $bytes) == $bytes:
-                // return a 3-byte UTF-8 character
-                // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return chr(0xE0 | (($bytes >> 12) & 0x0F))
-                     . chr(0x80 | (($bytes >> 6) & 0x3F))
-                     . chr(0x80 | ($bytes & 0x3F));
-        }
-
-        // ignoring UTF-32 for now, sorry
-        return '';
-    }        
-
-   /**
-    * convert a string from one UTF-8 char to one UTF-16 char
-    *
-    * Normally should be handled by mb_convert_encoding, but
-    * provides a slower PHP-only method for installations
-    * that lack the multibye string extension.
-    *
-    * @param    string  $utf8   UTF-8 character
-    * @return   string  UTF-16 character
-    * @access   private
-    */
-    function utf82utf16($utf8)
-    {
-        // oh please oh please oh please oh please oh please
-        if(function_exists('mb_convert_encoding'))
-            return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8');
-        
-        switch(strlen($utf8)) {
-            case 1:
-                // this case should never be reached, because we are in ASCII range
-                // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return $utf8;
-
-            case 2:
-                // return a UTF-16 character from a 2-byte UTF-8 char
-                // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return chr(0x07 & (ord($utf8{0}) >> 2))
-                     . chr((0xC0 & (ord($utf8{0}) << 6))
-                         | (0x3F & ord($utf8{1})));
-                
-            case 3:
-                // return a UTF-16 character from a 3-byte UTF-8 char
-                // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return chr((0xF0 & (ord($utf8{0}) << 4))
-                         | (0x0F & (ord($utf8{1}) >> 2)))
-                     . chr((0xC0 & (ord($utf8{1}) << 6))
-                         | (0x7F & ord($utf8{2})));
-        }
-
-        // ignoring UTF-32 for now, sorry
-        return '';
-    }        
-
-   /**
-    * encodes an arbitrary variable into JSON format
-    *
-    * @param    mixed   $var    any number, boolean, string, array, or object to be encoded.
-    *                           see argument 1 to Services_JSON() above for array-parsing behavior.
-    *                           if var is a strng, note that encode() always expects it
-    *                           to be in ASCII or UTF-8 format!
-    *
-    * @return   string  JSON string representation of input var
-    * @access   public
-    */
-    function encode($var)
-    {
-        switch (gettype($var)) {
-            case 'boolean':
-                return $var ? 'true' : 'false';
-            
-            case 'NULL':
-                return 'null';
-            
-            case 'integer':
-                return (int) $var;
-                
-            case 'double':
-            case 'float':
-                return (float) $var;
-                
-            case 'string':
-                // STRINGS ARE EXPECTED TO BE IN ASCII OR UTF-8 FORMAT
-                $ascii = '';
-                $strlen_var = strlen($var);
-
-               /*
-                * Iterate over every character in the string,
-                * escaping with a slash or encoding to UTF-8 where necessary
-                */
-                for ($c = 0; $c < $strlen_var; ++$c) {
-                    
-                    $ord_var_c = ord($var{$c});
-                    
-                    switch (true) {
-                        case $ord_var_c == 0x08:
-                            $ascii .= '\b';
-                            break;
-                        case $ord_var_c == 0x09:
-                            $ascii .= '\t';
-                            break;
-                        case $ord_var_c == 0x0A:
-                            $ascii .= '\n';
-                            break;
-                        case $ord_var_c == 0x0C:
-                            $ascii .= '\f';
-                            break;
-                        case $ord_var_c == 0x0D:
-                            $ascii .= '\r';
-                            break;
-
-                        case $ord_var_c == 0x22:
-                        case $ord_var_c == 0x2F:
-                        case $ord_var_c == 0x5C:
-                            // double quote, slash, slosh
-                            $ascii .= '\\'.$var{$c};
-                            break;
-                            
-                        case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)):
-                            // characters U-00000000 - U-0000007F (same as ASCII)
-                            $ascii .= $var{$c};
-                            break;
-                        
-                        case (($ord_var_c & 0xE0) == 0xC0):
-                            // characters U-00000080 - U-000007FF, mask 110XXXXX
-                            // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                            $char = pack('C*', $ord_var_c, ord($var{$c + 1}));
-                            $c += 1;
-                            $utf16 = $this->utf82utf16($char);
-                            $ascii .= sprintf('\u%04s', bin2hex($utf16));
-                            break;
-    
-                        case (($ord_var_c & 0xF0) == 0xE0):
-                            // characters U-00000800 - U-0000FFFF, mask 1110XXXX
-                            // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                            $char = pack('C*', $ord_var_c,
-                                         ord($var{$c + 1}),
-                                         ord($var{$c + 2}));
-                            $c += 2;
-                            $utf16 = $this->utf82utf16($char);
-                            $ascii .= sprintf('\u%04s', bin2hex($utf16));
-                            break;
-    
-                        case (($ord_var_c & 0xF8) == 0xF0):
-                            // characters U-00010000 - U-001FFFFF, mask 11110XXX
-                            // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                            $char = pack('C*', $ord_var_c,
-                                         ord($var{$c + 1}),
-                                         ord($var{$c + 2}),
-                                         ord($var{$c + 3}));
-                            $c += 3;
-                            $utf16 = $this->utf82utf16($char);
-                            $ascii .= sprintf('\u%04s', bin2hex($utf16));
-                            break;
-    
-                        case (($ord_var_c & 0xFC) == 0xF8):
-                            // characters U-00200000 - U-03FFFFFF, mask 111110XX
-                            // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                            $char = pack('C*', $ord_var_c,
-                                         ord($var{$c + 1}),
-                                         ord($var{$c + 2}),
-                                         ord($var{$c + 3}),
-                                         ord($var{$c + 4}));
-                            $c += 4;
-                            $utf16 = $this->utf82utf16($char);
-                            $ascii .= sprintf('\u%04s', bin2hex($utf16));
-                            break;
-    
-                        case (($ord_var_c & 0xFE) == 0xFC):
-                            // characters U-04000000 - U-7FFFFFFF, mask 1111110X
-                            // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                            $char = pack('C*', $ord_var_c,
-                                         ord($var{$c + 1}),
-                                         ord($var{$c + 2}),
-                                         ord($var{$c + 3}),
-                                         ord($var{$c + 4}),
-                                         ord($var{$c + 5}));
-                            $c += 5;
-                            $utf16 = $this->utf82utf16($char);
-                            $ascii .= sprintf('\u%04s', bin2hex($utf16));
-                            break;
-                    }
-                }
-                
-                return '"'.$ascii.'"';
-                
-            case 'array':
-               /*
-                * As per JSON spec if any array key is not an integer
-                * we must treat the the whole array as an object. We
-                * also try to catch a sparsely populated associative
-                * array with numeric keys here because some JS engines
-                * will create an array with empty indexes up to
-                * max_index which can cause memory issues and because
-                * the keys, which may be relevant, will be remapped
-                * otherwise.
-                * 
-                * As per the ECMA and JSON specification an object may
-                * have any string as a property. Unfortunately due to
-                * a hole in the ECMA specification if the key is a
-                * ECMA reserved word or starts with a digit the
-                * parameter is only accessible using ECMAScript's
-                * bracket notation.
-                */
-                
-                // treat as a JSON object  
-                if (is_array($var) && count($var) && (array_keys($var) !== range(0, sizeof($var) - 1))) {
-                    return '{' .
-                           join(',', array_map(array($this, 'name_value'),
-                                               array_keys($var),
-                                               array_values($var)))
-                           . '}';
-                }
-
-                // treat it like a regular array
-                return '[' . join(',', array_map(array($this, 'encode'), $var)) . ']';
-                
-            case 'object':
-                $vars = get_object_vars($var);
-                return '{' .
-                       join(',', array_map(array($this, 'name_value'),
-                                           array_keys($vars),
-                                           array_values($vars)))
-                       . '}';
-
-            default:
-                return '';
-        }
-    }
-    
-   /**
-    * array-walking function for use in generating JSON-formatted name-value pairs
-    *
-    * @param    string  $name   name of key to use
-    * @param    mixed   $value  reference to an array element to be encoded
-    *
-    * @return   string  JSON-formatted name-value pair, like '"name":value'
-    * @access   private
-    */
-    function name_value($name, $value)
-    {
-        return $this->encode(strval($name)) . ':' . $this->encode($value);
-    }        
-
-   /**
-    * reduce a string by removing leading and trailing comments and whitespace
-    *
-    * @param    $str    string      string value to strip of comments and whitespace
-    *
-    * @return   string  string value stripped of comments and whitespace
-    * @access   private
-    */
-    function reduce_string($str)
-    {
-        $str = preg_replace(array(
-        
-                // eliminate single line comments in '// ...' form
-                '#^\s*//(.+)$#m',
-    
-                // eliminate multi-line comments in '/* ... */' form, at start of string
-                '#^\s*/\*(.+)\*/#Us',
-    
-                // eliminate multi-line comments in '/* ... */' form, at end of string
-                '#/\*(.+)\*/\s*$#Us'
-    
-            ), '', $str);
-        
-        // eliminate extraneous space
-        return trim($str);
-    }
-
-   /**
-    * decodes a JSON string into appropriate variable
-    *
-    * @param    string  $str    JSON-formatted string
-    *
-    * @return   mixed   number, boolean, string, array, or object
-    *                   corresponding to given JSON input string.
-    *                   See argument 1 to Services_JSON() above for object-output behavior.
-    *                   Note that decode() always returns strings
-    *                   in ASCII or UTF-8 format!
-    * @access   public
-    */
-    function decode($str)
-    {
-        $str = $this->reduce_string($str);
-    
-        switch (strtolower($str)) {
-            case 'true':
-                return true;
-
-            case 'false':
-                return false;
-            
-            case 'null':
-                return null;
-            
-            default:
-                if (is_numeric($str)) {
-                    // Lookie-loo, it's a number
-
-                    // This would work on its own, but I'm trying to be
-                    // good about returning integers where appropriate:
-                    // return (float)$str;
-
-                    // Return float or int, as appropriate
-                    return ((float)$str == (integer)$str)
-                        ? (integer)$str
-                        : (float)$str;
-                    
-                } elseif (preg_match('/^("|\').*(\1)$/s', $str, $m) && $m[1] == $m[2]) {
-                    // STRINGS RETURNED IN UTF-8 FORMAT
-                    $delim = substr($str, 0, 1);
-                    $chrs = substr($str, 1, -1);
-                    $utf8 = '';
-                    $strlen_chrs = strlen($chrs);
-                    
-                    for ($c = 0; $c < $strlen_chrs; ++$c) {
-                    
-                        $substr_chrs_c_2 = substr($chrs, $c, 2);
-                        $ord_chrs_c = ord($chrs{$c});
-                        
-                        switch (true) {
-                            case $substr_chrs_c_2 == '\b':
-                                $utf8 .= chr(0x08);
-                                ++$c;
-                                break;
-                            case $substr_chrs_c_2 == '\t':
-                                $utf8 .= chr(0x09);
-                                ++$c;
-                                break;
-                            case $substr_chrs_c_2 == '\n':
-                                $utf8 .= chr(0x0A);
-                                ++$c;
-                                break;
-                            case $substr_chrs_c_2 == '\f':
-                                $utf8 .= chr(0x0C);
-                                ++$c;
-                                break;
-                            case $substr_chrs_c_2 == '\r':
-                                $utf8 .= chr(0x0D);
-                                ++$c;
-                                break;
-
-                            case $substr_chrs_c_2 == '\\"':
-                            case $substr_chrs_c_2 == '\\\'':
-                            case $substr_chrs_c_2 == '\\\\':
-                            case $substr_chrs_c_2 == '\\/':
-                                if (($delim == '"' && $substr_chrs_c_2 != '\\\'') ||
-                                   ($delim == "'" && $substr_chrs_c_2 != '\\"')) {
-                                    $utf8 .= $chrs{++$c};
-                                }
-                                break;
-                                
-                            case preg_match('/\\\u[0-9A-F]{4}/i', substr($chrs, $c, 6)):
-                                // single, escaped unicode character
-                                $utf16 = chr(hexdec(substr($chrs, ($c + 2), 2)))
-                                       . chr(hexdec(substr($chrs, ($c + 4), 2)));
-                                $utf8 .= $this->utf162utf8($utf16);
-                                $c += 5;
-                                break;
-        
-                            case ($ord_chrs_c >= 0x20) && ($ord_chrs_c <= 0x7F):
-                                $utf8 .= $chrs{$c};
-                                break;
-        
-                            case ($ord_chrs_c & 0xE0) == 0xC0:
-                                // characters U-00000080 - U-000007FF, mask 110XXXXX
-                                //see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                                $utf8 .= substr($chrs, $c, 2);
-                                ++$c;
-                                break;
-    
-                            case ($ord_chrs_c & 0xF0) == 0xE0:
-                                // characters U-00000800 - U-0000FFFF, mask 1110XXXX
-                                // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                                $utf8 .= substr($chrs, $c, 3);
-                                $c += 2;
-                                break;
-    
-                            case ($ord_chrs_c & 0xF8) == 0xF0:
-                                // characters U-00010000 - U-001FFFFF, mask 11110XXX
-                                // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                                $utf8 .= substr($chrs, $c, 4);
-                                $c += 3;
-                                break;
-    
-                            case ($ord_chrs_c & 0xFC) == 0xF8:
-                                // characters U-00200000 - U-03FFFFFF, mask 111110XX
-                                // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                                $utf8 .= substr($chrs, $c, 5);
-                                $c += 4;
-                                break;
-    
-                            case ($ord_chrs_c & 0xFE) == 0xFC:
-                                // characters U-04000000 - U-7FFFFFFF, mask 1111110X
-                                // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                                $utf8 .= substr($chrs, $c, 6);
-                                $c += 5;
-                                break;
-
-                        }
-
-                    }
-                    
-                    return $utf8;
-                
-                } elseif (preg_match('/^\[.*\]$/s', $str) || preg_match('/^\{.*\}$/s', $str)) {
-                    // array, or object notation
-
-                    if ($str{0} == '[') {
-                        $stk = array(SERVICES_JSON_IN_ARR);
-                        $arr = array();
-                    } else {
-                        if ($this->use == SERVICES_JSON_LOOSE_TYPE) {
-                            $stk = array(SERVICES_JSON_IN_OBJ);
-                            $obj = array();
-                        } else {
-                            $stk = array(SERVICES_JSON_IN_OBJ);
-                            $obj = new stdClass();
-                        }
-                    }
-                    
-                    array_push($stk, array('what'  => SERVICES_JSON_SLICE,
-                                           'where' => 0,
-                                           'delim' => false));
-
-                    $chrs = substr($str, 1, -1);
-                    $chrs = $this->reduce_string($chrs);
-                    
-                    if ($chrs == '') {
-                        if (reset($stk) == SERVICES_JSON_IN_ARR) {
-                            return $arr;
-
-                        } else {
-                            return $obj;
-
-                        }
-                    }
-
-                    //print("\nparsing {$chrs}\n");
-                    
-                    $strlen_chrs = strlen($chrs);
-                    
-                    for ($c = 0; $c <= $strlen_chrs; ++$c) {
-                    
-                        $top = end($stk);
-                        $substr_chrs_c_2 = substr($chrs, $c, 2);
-                    
-                        if (($c == $strlen_chrs) || (($chrs{$c} == ',') && ($top['what'] == SERVICES_JSON_SLICE))) {
-                            // found a comma that is not inside a string, array, etc.,
-                            // OR we've reached the end of the character list
-                            $slice = substr($chrs, $top['where'], ($c - $top['where']));
-                            array_push($stk, array('what' => SERVICES_JSON_SLICE, 'where' => ($c + 1), 'delim' => false));
-                            //print("Found split at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
-
-                            if (reset($stk) == SERVICES_JSON_IN_ARR) {
-                                // we are in an array, so just push an element onto the stack
-                                array_push($arr, $this->decode($slice));
-
-                            } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) {
-                                // we are in an object, so figure
-                                // out the property name and set an
-                                // element in an associative array,
-                                // for now
-                                if (preg_match('/^\s*(["\'].*[^\\\]["\'])\s*:\s*(\S.*),?$/Uis', $slice, $parts)) {
-                                    // "name":value pair
-                                    $key = $this->decode($parts[1]);
-                                    $val = $this->decode($parts[2]);
-
-                                    if ($this->use == SERVICES_JSON_LOOSE_TYPE) {
-                                        $obj[$key] = $val;
-                                    } else {
-                                        $obj->$key = $val;
-                                    }
-                                } elseif (preg_match('/^\s*(\w+)\s*:\s*(\S.*),?$/Uis', $slice, $parts)) {
-                                    // name:value pair, where name is unquoted
-                                    $key = $parts[1];
-                                    $val = $this->decode($parts[2]);
-
-                                    if ($this->use == SERVICES_JSON_LOOSE_TYPE) {
-                                        $obj[$key] = $val;
-                                    } else {
-                                        $obj->$key = $val;
-                                    }
-                                }
-
-                            }
-
-                        } elseif ((($chrs{$c} == '"') || ($chrs{$c} == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) {
-                            // found a quote, and we are not inside a string
-                            array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs{$c}));
-                            //print("Found start of string at {$c}\n");
-
-                        } elseif (($chrs{$c} == $top['delim']) &&
-                                 ($top['what'] == SERVICES_JSON_IN_STR) &&
-                                 (($chrs{$c - 1} != '\\') ||
-                                 ($chrs{$c - 1} == '\\' && $chrs{$c - 2} == '\\'))) {
-                            // found a quote, we're in a string, and it's not escaped
-                            array_pop($stk);
-                            //print("Found end of string at {$c}: ".substr($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n");
-
-                        } elseif (($chrs{$c} == '[') &&
-                                 in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
-                            // found a left-bracket, and we are in an array, object, or slice
-                            array_push($stk, array('what' => SERVICES_JSON_IN_ARR, 'where' => $c, 'delim' => false));
-                            //print("Found start of array at {$c}\n");
-
-                        } elseif (($chrs{$c} == ']') && ($top['what'] == SERVICES_JSON_IN_ARR)) {
-                            // found a right-bracket, and we're in an array
-                            array_pop($stk);
-                            //print("Found end of array at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
-
-                        } elseif (($chrs{$c} == '{') &&
-                                 in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
-                            // found a left-brace, and we are in an array, object, or slice
-                            array_push($stk, array('what' => SERVICES_JSON_IN_OBJ, 'where' => $c, 'delim' => false));
-                            //print("Found start of object at {$c}\n");
-
-                        } elseif (($chrs{$c} == '}') && ($top['what'] == SERVICES_JSON_IN_OBJ)) {
-                            // found a right-brace, and we're in an object
-                            array_pop($stk);
-                            //print("Found end of object at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
-
-                        } elseif (($substr_chrs_c_2 == '/*') &&
-                                 in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
-                            // found a comment start, and we are in an array, object, or slice
-                            array_push($stk, array('what' => SERVICES_JSON_IN_CMT, 'where' => $c, 'delim' => false));
-                            $c++;
-                            //print("Found start of comment at {$c}\n");
-
-                        } elseif (($substr_chrs_c_2 == '*/') && ($top['what'] == SERVICES_JSON_IN_CMT)) {
-                            // found a comment end, and we're in one now
-                            array_pop($stk);
-                            $c++;
-                            
-                            for ($i = $top['where']; $i <= $c; ++$i)
-                                $chrs = substr_replace($chrs, ' ', $i, 1);
-                            
-                            //print("Found end of comment at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
-
-                        }
-                    
-                    }
-                    
-                    if (reset($stk) == SERVICES_JSON_IN_ARR) {
-                        return $arr;
-
-                    } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) {
-                        return $obj;
-
-                    }
-                
-                }
-        }
-    }
-    
-}
-    
-?>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics/logger/dojoxAnalytics.php
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics/logger/dojoxAnalytics.php b/components/camel-web/src/main/webapp/js/dojox/analytics/logger/dojoxAnalytics.php
deleted file mode 100644
index 0f7f849..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics/logger/dojoxAnalytics.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-	require_once("./JSON.php");
-
-	$filename = "./logs/analytics.log";
-	$json = new Services_JSON;
-
-	$id = $_REQUEST["id"];
-	$items = $json->decode($_REQUEST["data"]);
-
-	if (!$handle = fopen($filename, 'a+')) {
-		print '{error: "server error"}';
-		exit;
-	}
-
-	foreach($items as $i=>$item){
-		$item->_analyticsId = $id;
-		$item->_analyticsTimeStamp = time();
-		$log = $json->encode($item) . "\n";
-		fwrite($handle, $log);
-	}
-	
-	fclose($handle);
-
-	$response = "{'eventsRecieved': '" . sizeof($items) . "', 'id': '" . $id . "'}";
-	if ($_REQUEST["callback"]){
-		print $_REQUEST["callback"] . "(" . $response . ");";
-	}else{
-		print $response;
-	}
-	
-?>

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/consoleMessages.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/consoleMessages.js b/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/consoleMessages.js
deleted file mode 100644
index 17b4866..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/consoleMessages.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.analytics.plugins.consoleMessages"]){
-dojo._hasResource["dojox.analytics.plugins.consoleMessages"]=true;
-dojo.provide("dojox.analytics.plugins.consoleMessages");
-dojox.analytics.plugins.consoleMessages=new (function(){
-this.addData=dojo.hitch(dojox.analytics,"addData","consoleMessages");
-var _1=dojo.config["consoleLogFuncs"]||["error","warn","info","rlog"];
-if(!console){
-console={};
-}
-for(var i=0;i<_1.length;i++){
-if(console[_1[i]]){
-dojo.connect(console,_1[i],dojo.hitch(this,"addData",_1[i]));
-}else{
-console[_1[i]]=dojo.hitch(this,"addData",_1[i]);
-}
-}
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/dojo.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/dojo.js b/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/dojo.js
deleted file mode 100644
index 5ecd2ba..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/dojo.js
+++ /dev/null
@@ -1,22 +0,0 @@
-if(!dojo._hasResource["dojox.analytics.plugins.dojo"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.analytics.plugins.dojo"] = true;
-dojo.provide("dojox.analytics.plugins.dojo");
-
-dojox.analytics.plugins.dojo = new (function(){
-	// summary:
-	//	plugin to have analyitcs return the base info dojo collects
-	this.addData = dojo.hitch(dojox.analytics, "addData", "dojo");
-	dojo.addOnLoad(dojo.hitch(this, function(){
-		var data = {};
-		for(var i in dojo){
-			if ((i=="version") || ((!dojo.isObject(dojo[i]))&&(i[0]!="_"))){
-				data[i]=dojo[i];
-			}
-		}
-
-		if (dojo.config){data.djConfig=dojo.config}
-		this.addData(data);
-	}));
-})();
-
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/idle.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/idle.js b/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/idle.js
deleted file mode 100644
index 86b82be..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/analytics/plugins/idle.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.analytics.plugins.idle"]){
-dojo._hasResource["dojox.analytics.plugins.idle"]=true;
-dojo.provide("dojox.analytics.plugins.idle");
-dojox.analytics.plugins.idle=new (function(){
-this.addData=dojo.hitch(dojox.analytics,"addData","idle");
-this.idleTime=dojo.config["idleTime"]||60000;
-this.idle=true;
-this.setIdle=function(){
-this.addData("isIdle");
-this.idle=true;
-};
-dojo.addOnLoad(dojo.hitch(this,function(){
-var _1=["onmousemove","onkeydown","onclick","onscroll"];
-for(var i=0;i<_1.length;i++){
-dojo.connect(dojo.doc,_1[i],this,function(e){
-if(this.idle){
-this.idle=false;
-this.addData("isActive");
-this.idleTimer=setTimeout(dojo.hitch(this,"setIdle"),this.idleTime);
-}else{
-clearTimeout(this.idleTimer);
-this.idleTimer=setTimeout(dojo.hitch(this,"setIdle"),this.idleTime);
-}
-});
-}
-}));
-})();
-}