Author: rjung Date: Thu May 21 23:29:02 2009 New Revision: 777319 URL: http://svn.apache.org/viewvc?rev=777319&view=rev Log: More missing svn properties.
Modified: tomcat/trunk/java/org/apache/catalina/ha/backend/CollectedInfo.java (props changed) tomcat/trunk/java/org/apache/catalina/ha/backend/HeartbeatListener.java (props changed) tomcat/trunk/java/org/apache/catalina/ha/backend/MultiCastSender.java (props changed) tomcat/trunk/java/org/apache/catalina/ha/backend/Proxy.java (props changed) tomcat/trunk/java/org/apache/catalina/ha/backend/Sender.java (props changed) tomcat/trunk/java/org/apache/catalina/ha/backend/TcpSender.java (props changed) tomcat/trunk/modules/bayeux/.classpath (props changed) tomcat/trunk/modules/bayeux/.project (props changed) tomcat/trunk/modules/bayeux/webapps/cometd/examples/simplechat/cometdchat.htm (contents, props changed) tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java (props changed) tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Connection.java (props changed) tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java (props changed) tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Statement.java (props changed) tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/SimpleObjectManager.java (props changed) tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/util/http/mapper/BaseMapper.java (props changed) tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/LiteTestHelper.java (props changed) tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/test/watchdog/WatchdogHttpClient.java (props changed) Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/CollectedInfo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/CollectedInfo.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/HeartbeatListener.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/HeartbeatListener.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/MultiCastSender.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/MultiCastSender.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/Proxy.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/Proxy.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/Sender.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/Sender.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/TcpSender.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/java/org/apache/catalina/ha/backend/TcpSender.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/bayeux/.classpath ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/bayeux/.classpath ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/bayeux/.project ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/bayeux/.project ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Modified: tomcat/trunk/modules/bayeux/webapps/cometd/examples/simplechat/cometdchat.htm URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/bayeux/webapps/cometd/examples/simplechat/cometdchat.htm?rev=777319&r1=777318&r2=777319&view=diff ============================================================================== --- tomcat/trunk/modules/bayeux/webapps/cometd/examples/simplechat/cometdchat.htm (original) +++ tomcat/trunk/modules/bayeux/webapps/cometd/examples/simplechat/cometdchat.htm Thu May 21 23:29:02 2009 @@ -1,130 +1,130 @@ -<!-- - 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. ---> -<html> -<header><title>Comet Simple Chat Application</title> - -<script type="text/javascript" src="../../dojo/dojo.js.uncompressed.js"></script> -<script type="text/javascript" src="../../dojox/cometd.js"></script> -<script type="text/javascript" src="../../dojox/cometd/_base.js"></script> - -<script type="text/javascript"> - -dojo.require("dojox.cometd"); - -dojo.addOnLoad(function() { - dojo.byId("message").style.visibility='hidden'; - dojox.cometd.init("/cometd/cometd"); -}); - - -function trim(str) { - return str.replace(/(^\s+|\s+$)/g,''); -} - - -function clear() { - dojo.byId("msgtext").value = ""; - dojo.byId("msgtext").focus(); -} - - -function enterKeyHandler(e) { -if (!e) e = window.event; - if (e.keyCode == 13) { - send(trim(dojo.byId("msgtext").value)); - clear(); - } - -} - - -function connect() { - dojox.cometd.subscribe("/chat/demo", onMsgEvent); - dojo.byId("login").style.visibility='hidden'; - dojo.byId("message").style.visibility='visible'; - send("Has joined the chat room"); - clear(); - dojo.byId("msgtext").onkeydown = enterKeyHandler; - dojo.byId("myname").appendChild(document.createTextNode("-> " + dojo.byId("scrname").value + " <-")); -} - - -function onMsgEvent(event) { - - // Break apart the text string into screen name and message parts. - var str = trim(event.data.msg); - var scrname = ""; - if (str.match(/^.*[|].*$/)) { - var spl = str.split("|"); - scrname = spl[0]; - str = " - " + spl[1]; - } - - // Insert the screen name in red and the message black into the DOM - var newP = document.createElement("p"); - var fnt1 = document.createElement("font"); - var attr1 = document.createAttribute("color"); - attr1.nodeValue = "red"; - fnt1.setAttributeNode(attr1); - - var newT = document.createTextNode(scrname); - fnt1.appendChild(newT); - - newP.appendChild(fnt1); - - var fnt2 = document.createElement("font"); - var attr2 = document.createAttribute("color"); - attr2.nodeValue = "black"; - fnt2.setAttributeNode(attr2); - - var newT2 = document.createTextNode(str); - fnt2.appendChild(newT2); - - newP.appendChild(fnt2); - - dojo.byId("dialog").appendChild(newP) -} - - -function send(msg) { - var scrname = dojo.byId("scrname").value; - var evt = {'data': { 'msg': trim(scrname) + '|' + msg }}; - onMsgEvent(evt); // Echo local - dojox.cometd.publish("/chat/demo", evt.data); -} - - -</script> - -</head> -</header> -<body> -<form> -<div id="login"> -Screen name: <input type="text" id="scrname"> -<input type=Button Id=logbtn value=Connect onClick=connect()><br/>Type a screen name and click the 'Connect' button -</div> - -<div id="dialog"></div> -<hr/> -<div id="message"> -<div id="myname"></div> Is my screen name<br/> -<textarea rows="3" cols="50" id="msgtext"></textarea>[ENTER] sends message</div> -</form> -</body> -</html> - +<!-- + 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. +--> +<html> +<header><title>Comet Simple Chat Application</title> + +<script type="text/javascript" src="../../dojo/dojo.js.uncompressed.js"></script> +<script type="text/javascript" src="../../dojox/cometd.js"></script> +<script type="text/javascript" src="../../dojox/cometd/_base.js"></script> + +<script type="text/javascript"> + +dojo.require("dojox.cometd"); + +dojo.addOnLoad(function() { + dojo.byId("message").style.visibility='hidden'; + dojox.cometd.init("/cometd/cometd"); +}); + + +function trim(str) { + return str.replace(/(^\s+|\s+$)/g,''); +} + + +function clear() { + dojo.byId("msgtext").value = ""; + dojo.byId("msgtext").focus(); +} + + +function enterKeyHandler(e) { +if (!e) e = window.event; + if (e.keyCode == 13) { + send(trim(dojo.byId("msgtext").value)); + clear(); + } + +} + + +function connect() { + dojox.cometd.subscribe("/chat/demo", onMsgEvent); + dojo.byId("login").style.visibility='hidden'; + dojo.byId("message").style.visibility='visible'; + send("Has joined the chat room"); + clear(); + dojo.byId("msgtext").onkeydown = enterKeyHandler; + dojo.byId("myname").appendChild(document.createTextNode("-> " + dojo.byId("scrname").value + " <-")); +} + + +function onMsgEvent(event) { + + // Break apart the text string into screen name and message parts. + var str = trim(event.data.msg); + var scrname = ""; + if (str.match(/^.*[|].*$/)) { + var spl = str.split("|"); + scrname = spl[0]; + str = " - " + spl[1]; + } + + // Insert the screen name in red and the message black into the DOM + var newP = document.createElement("p"); + var fnt1 = document.createElement("font"); + var attr1 = document.createAttribute("color"); + attr1.nodeValue = "red"; + fnt1.setAttributeNode(attr1); + + var newT = document.createTextNode(scrname); + fnt1.appendChild(newT); + + newP.appendChild(fnt1); + + var fnt2 = document.createElement("font"); + var attr2 = document.createAttribute("color"); + attr2.nodeValue = "black"; + fnt2.setAttributeNode(attr2); + + var newT2 = document.createTextNode(str); + fnt2.appendChild(newT2); + + newP.appendChild(fnt2); + + dojo.byId("dialog").appendChild(newP) +} + + +function send(msg) { + var scrname = dojo.byId("scrname").value; + var evt = {'data': { 'msg': trim(scrname) + '|' + msg }}; + onMsgEvent(evt); // Echo local + dojox.cometd.publish("/chat/demo", evt.data); +} + + +</script> + +</head> +</header> +<body> +<form> +<div id="login"> +Screen name: <input type="text" id="scrname"> +<input type=Button Id=logbtn value=Connect onClick=connect()><br/>Type a screen name and click the 'Connect' button +</div> + +<div id="dialog"></div> +<hr/> +<div id="message"> +<div id="myname"></div> Is my screen name<br/> +<textarea rows="3" cols="50" id="msgtext"></textarea>[ENTER] sends message</div> +</form> +</body> +</html> + Propchange: tomcat/trunk/modules/bayeux/webapps/cometd/examples/simplechat/cometdchat.htm ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/bayeux/webapps/cometd/examples/simplechat/cometdchat.htm ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Connection.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Connection.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Statement.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Statement.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/SimpleObjectManager.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/SimpleObjectManager.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/util/http/mapper/BaseMapper.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/util/http/mapper/BaseMapper.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/LiteTestHelper.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/LiteTestHelper.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/test/watchdog/WatchdogHttpClient.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/test/watchdog/WatchdogHttpClient.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org