cherbot-commit Mailing List for CherBot (Page 6)
Status: Alpha
Brought to you by:
christianhujer
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(39) |
Nov
(1) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
(67) |
Jul
(6) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
| 2008 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
(19) |
| 2009 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <chr...@us...> - 2006-10-29 00:08:28
|
Revision: 24
http://svn.sourceforge.net/cherbot/?rev=24&view=rev
Author: christianhujer
Date: 2006-10-28 17:08:23 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Made Manager compilable again.
Modified Paths:
--------------
trunk/src/net/sf/cherbot/Manager.java
Modified: trunk/src/net/sf/cherbot/Manager.java
===================================================================
--- trunk/src/net/sf/cherbot/Manager.java 2006-10-29 00:06:30 UTC (rev 23)
+++ trunk/src/net/sf/cherbot/Manager.java 2006-10-29 00:08:23 UTC (rev 24)
@@ -26,6 +26,7 @@
import java.util.NoSuchElementException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
+import java.security.Permission;
/**
* Base class for managers.
@@ -436,7 +437,7 @@
* @param msg command to send
*/
protected final void ncom(final String msg) {
- cherBot.ncom(msg);
+ //cherBot.ncom(msg);
}
/**
@@ -1173,7 +1174,7 @@
* Converter for Enums.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
- protected static class EnumConverter<En extends Enum> extends Converter<En> {
+ protected static class EnumConverter<En extends Enum<En>> extends Converter<En> {
/**
* Class to convert.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-29 00:06:39
|
Revision: 23
http://svn.sourceforge.net/cherbot/?rev=23&view=rev
Author: christianhujer
Date: 2006-10-28 17:06:30 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Added junit to IntelliJ IDEA paths.
Modified Paths:
--------------
trunk/cherbot.iml
trunk/cherbot.ipr
Modified: trunk/cherbot.iml
===================================================================
--- trunk/cherbot.iml 2006-10-29 00:01:08 UTC (rev 22)
+++ trunk/cherbot.iml 2006-10-29 00:06:30 UTC (rev 23)
@@ -9,6 +9,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" name="junit-4.1" level="project" />
<orderEntryProperties />
</component>
<component name="copyright">
Modified: trunk/cherbot.ipr
===================================================================
--- trunk/cherbot.ipr 2006-10-29 00:01:08 UTC (rev 22)
+++ trunk/cherbot.ipr 2006-10-29 00:06:30 UTC (rev 23)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project version="4" relativePaths="false">
+<project version="4" relativePaths="true">
<component name="AntConfiguration">
<defaultAnt bundledAnt="true" />
</component>
@@ -1044,7 +1044,15 @@
<option name="useAlternate" value="false" />
</LanguageOptions>
</component>
- <component name="libraryTable" />
+ <component name="libraryTable">
+ <library name="junit-4.1">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/lib/junit-4.1.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </component>
<component name="uidesigner-configuration">
<option name="INSTRUMENT_CLASSES" value="true" />
<option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-29 00:01:22
|
Revision: 22
http://svn.sourceforge.net/cherbot/?rev=22&view=rev
Author: christianhujer
Date: 2006-10-28 17:01:08 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Added Subversion documentation.
Added Paths:
-----------
trunk/src/doc/subversion.xhtml
Added: trunk/src/doc/subversion.xhtml
===================================================================
--- trunk/src/doc/subversion.xhtml (rev 0)
+++ trunk/src/doc/subversion.xhtml 2006-10-29 00:01:08 UTC (rev 22)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Id: releasePlan.xhtml,v 1.6 2006/03/29 22:21:14 christianhujer Exp $ -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
+ <head>
+ <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
+ <meta name="Date" content="$Date: 2006-09-19 01:16:38 +0200 (Di, 19 Sep 2006) $" />
+ <title>CherBot Subversion Developer Access</title>
+ </head>
+ <body>
+ <h2>Checking out a normal working copy</h2>
+ <p>
+ To checkout a normal working copy of the latest development, checkout the trunk.
+ This is what's called HEAD or MAIN/LATEST in other version control systems.
+ </p>
+ <p><code>svn co https://svn.sourceforge.net/svnroot/cherbot/trunk cherbot</code></p>
+ <h2>Rules</h2>
+ <p>
+ Current rules are this:
+ </p>
+ <ul>
+ <li>
+ All files need a mime type.
+ For normal source code, use <code>text/plain</code>.
+ Use this command to set the mime type:
+ <br />
+ <code>svn propset svn:mime-type text/plain <var>filename</var></code>
+ <br />
+ <em>Note:</em> A hook verifies that the mime type is set.
+ </li>
+ <li>
+ All files with a text based mime type need a line ending setting.
+ CherBot convention is to always use <code>LF</code>.
+ Use this command to set the line ending style:
+ <br />
+ <code>svn propset svn:eol-style LF <var>filename</var></code>
+ <br />
+ <em>Note:</em> A hook verifies that the eol style for files with mime type text/* is set.
+ </li>
+ <li>
+ All XHTML files of the documentation (<code>src/doc/**/*.xhtml</code>) need a meta element for the edit date:
+ <br />
+ <code><![CDATA[<meta name="Date" content="$]]><![CDATA[Date$" />]]></code>
+ <br />
+ Also, they need their keyword substitution set to <code>Date</code>.
+ Use <code>svn propset svn:keywords Date <var>filename</var></code> to set the keyword substitution.
+ <br />
+ <em>Note:</em> Because we cannot install custom hooks on SF, this is <em>not</em> checked with a hook.
+ </li>
+ </ul>
+ <h2>Releases</h2>
+ <p>
+ Releases are created in the following way:
+ </p>
+ <ol>
+ <li>
+ A branch with the new release name is created.
+ Usually the branch will increase the minor revision and use it as its name.
+ Example: <code>svn copy trunk branches/0.8</code>.
+ The policy for branches is that they aren't completely frozen, but only changes required for release and bug fixing are allowed.
+ </li>
+ <li>
+ The branch is braught into releasable state.
+ This usually should be zero effort, yet consider this a separate step.
+ </li>
+ <li>
+ The release is published.
+ As a part of the release publishing, a tag with the new release name and patch level is created.
+ Example: <code>svn copy branches/0.8 tags/0.8.0</code>.
+ The policy for tags is that they are completely frozen, tags must never ever be changed.
+ </li>
+ </ol>
+ <h2>Checking out a released version</h2>
+ <p>
+ To checkout a released version, use <code>svn co https://svn.sourceforge.net/svnroot/cherbot/tags/<var>version</var> cherbot</code> with
+ <var>version</var> being the release name.
+ To checkout, for example, version <samp>0.8.0</samp>, use <samp>svn co https://svn.sourceforge.net/svnroot/cherbot/tags/0.8.0 cherbot</samp>.
+ </p>
+ <h2>See Also</h2>
+ <ul>
+ <li><a href="http://sourceforge.net/svn/?group_id=180828">SourceForge.net: Subversion for CherBot</a></li>
+ </ul>
+ </body>
+</html>
Property changes on: trunk/src/doc/subversion.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 23:47:10
|
Revision: 21
http://svn.sourceforge.net/cherbot/?rev=21&view=rev
Author: christianhujer
Date: 2006-10-28 16:47:04 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Added documentation to build system.
Modified Paths:
--------------
trunk/build.xml
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2006-10-28 23:28:35 UTC (rev 20)
+++ trunk/build.xml 2006-10-28 23:47:04 UTC (rev 21)
@@ -1,16 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE project [
+ <!ENTITY catalogForAnt SYSTEM "src/doc/dtd/catalogForAnt.xml">
+]>
<project default="createJar">
<description>
CherBot
</description>
- <property file="ftp.properties" />
+ <property file="developer.properties" />
<property file="project.properties" />
<tstamp><format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss z" timezone="UTC"/></tstamp>
<exec executable="svnversion" outputproperty="build.number" />
+ <path id="xsltpath">
+ <fileset dir="lib" includes="**/*.jar" />
+ </path>
+ <taskdef name="megaxslt" classpathref="xsltpath" classname="com.hujer.ant.tasks.megaxslt.MegaXsltTask" />
+ <taskdef name="rgzip" classpath="lib/megaxslt.jar" classname="com.hujer.ant.tasks.rgzip.RGZipTask" />
+ &catalogForAnt;
+
<target
name = "compile"
description = "Compile sandbox"
@@ -38,6 +48,64 @@
</target>
<target
+ name = "editorialDoc"
+ description = "Creates the editorial part of the project documentation."
+ >
+ <mkdir dir="dest/doc" />
+ <megaxslt
+ srcdir="src/doc"
+ destdir="dest/doc"
+ includes="**/*.xhtml"
+ validatesource="true"
+ validatedest="true"
+ ending="xhtml"
+ transformerFactoryImplementationClassName="net.sf.saxon.TransformerFactoryImpl"
+ >
+ <xmlcatalog refid="commonDTDs" />
+ <transformation stylesheet="src/doc/transform.xslt" />
+ <transformation stylesheet="src/doc/cleanupXhtml11.xslt" />
+ </megaxslt>
+ <megaxslt
+ srcdir="dest/doc"
+ destdir="dest/doc"
+ includes="**/*.xhtml"
+ validatesource="true"
+ validatedest="false"
+ ending="html"
+ converttocanonical="true"
+ transformerFactoryImplementationClassName="net.sf.saxon.TransformerFactoryImpl"
+ >
+ <xmlcatalog refid="commonDTDs" />
+ <transformation stylesheet="src/doc/xhtml2html.xslt" />
+ </megaxslt>
+ <copy
+ todir="dest/doc"
+ >
+ <fileset dir="src/doc">
+ <include name="**/.htaccess" />
+ <include name="**/*.html" />
+ <include name="dtd/**/*.mod" />
+ <include name="dtd/**/*.dtd" />
+ <include name="dtd/**/*.xml" />
+ <include name="**/*.css" />
+ <include name="**/*.png" />
+ <include name="robots.txt" />
+ <exclude name="**/.xvpics/*.png" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target
+ name = "uploadDoc"
+ description = "uploads the latest editorial documentation."
+ depends = "editorialDoc"
+ >
+ <exec executable="rsync" failonerror="true">
+ <arg line="-auzv --exclude=api/*/ -e ssh dest/doc/ ${user.rsync.username}@${user.rsync.host}:${user.rsync.dir}/htdocs/" />
+ </exec>
+ </target>
+
+ <target
name = "createJar"
description = "creates a jar archive containing the CherBot"
depends = "compile"
@@ -53,6 +121,7 @@
</manifest>
<fileset dir="classes" />
</jar>
+
</target>
<target
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 23:30:10
|
Revision: 20
http://svn.sourceforge.net/cherbot/?rev=20&view=rev
Author: christianhujer
Date: 2006-10-28 16:28:35 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Added CherBot website.
Modified Paths:
--------------
trunk/src/doc/start.xhtml
trunk/src/doc/transform.xslt
trunk/src/doc/xhtml2html.xslt
Added Paths:
-----------
trunk/src/doc/.htaccess
trunk/src/doc/cleanupXhtml11.xslt
trunk/src/doc/dtd/
trunk/src/doc/dtd/catalogForAnt.xml
trunk/src/doc/dtd/xhtml-applet-1.mod
trunk/src/doc/dtd/xhtml-arch-1.mod
trunk/src/doc/dtd/xhtml-attribs-1.mod
trunk/src/doc/dtd/xhtml-base-1.mod
trunk/src/doc/dtd/xhtml-basic-form-1.mod
trunk/src/doc/dtd/xhtml-basic-table-1.mod
trunk/src/doc/dtd/xhtml-bdo-1.mod
trunk/src/doc/dtd/xhtml-blkphras-1.mod
trunk/src/doc/dtd/xhtml-blkpres-1.mod
trunk/src/doc/dtd/xhtml-blkstruct-1.mod
trunk/src/doc/dtd/xhtml-charent-1.mod
trunk/src/doc/dtd/xhtml-csismap-1.mod
trunk/src/doc/dtd/xhtml-datatypes-1.mod
trunk/src/doc/dtd/xhtml-edit-1.mod
trunk/src/doc/dtd/xhtml-events-1.mod
trunk/src/doc/dtd/xhtml-form-1.mod
trunk/src/doc/dtd/xhtml-frames-1.mod
trunk/src/doc/dtd/xhtml-framework-1.mod
trunk/src/doc/dtd/xhtml-hypertext-1.mod
trunk/src/doc/dtd/xhtml-iframe-1.mod
trunk/src/doc/dtd/xhtml-image-1.mod
trunk/src/doc/dtd/xhtml-inlphras-1.mod
trunk/src/doc/dtd/xhtml-inlpres-1.mod
trunk/src/doc/dtd/xhtml-inlstruct-1.mod
trunk/src/doc/dtd/xhtml-inlstyle-1.mod
trunk/src/doc/dtd/xhtml-lat1.ent
trunk/src/doc/dtd/xhtml-legacy-1.mod
trunk/src/doc/dtd/xhtml-link-1.mod
trunk/src/doc/dtd/xhtml-list-1.mod
trunk/src/doc/dtd/xhtml-meta-1.mod
trunk/src/doc/dtd/xhtml-nameident-1.mod
trunk/src/doc/dtd/xhtml-notations-1.mod
trunk/src/doc/dtd/xhtml-object-1.mod
trunk/src/doc/dtd/xhtml-param-1.mod
trunk/src/doc/dtd/xhtml-pres-1.mod
trunk/src/doc/dtd/xhtml-qname-1.mod
trunk/src/doc/dtd/xhtml-ruby-1.mod
trunk/src/doc/dtd/xhtml-script-1.mod
trunk/src/doc/dtd/xhtml-special.ent
trunk/src/doc/dtd/xhtml-ssismap-1.mod
trunk/src/doc/dtd/xhtml-struct-1.mod
trunk/src/doc/dtd/xhtml-style-1.mod
trunk/src/doc/dtd/xhtml-symbol.ent
trunk/src/doc/dtd/xhtml-table-1.mod
trunk/src/doc/dtd/xhtml-target-1.mod
trunk/src/doc/dtd/xhtml-text-1.mod
trunk/src/doc/dtd/xhtml-xinclude10-1.mod
trunk/src/doc/dtd/xhtml11-flat.dtd
trunk/src/doc/dtd/xhtml11-model-1.mod
trunk/src/doc/dtd/xhtml11.dtd
trunk/src/doc/dtd/xhtml11_xinclude10-model-1.mod
trunk/src/doc/dtd/xhtml11_xinclude10.dtd
trunk/src/doc/robots.txt
trunk/src/doc/sitestyle.css
Removed Paths:
-------------
trunk/src/doc/style.css
Added: trunk/src/doc/.htaccess
===================================================================
--- trunk/src/doc/.htaccess (rev 0)
+++ trunk/src/doc/.htaccess 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,9 @@
+DirectoryIndex start
+Options +MultiViews +Includes
+RemoveType .html
+RemoveType .xhtml
+AddType text/html;charset=UTF-8 .html
+AddType application/xhtml+xml;charset=UTF-8;qs=0.999 .xhtml
+AddHandler server-parsed .html
+AddHandler server-parsed .xhtml
+ErrorDocument 404 /status404
Property changes on: trunk/src/doc/.htaccess
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
Added: trunk/src/doc/cleanupXhtml11.xslt
===================================================================
--- trunk/src/doc/cleanupXhtml11.xslt (rev 0)
+++ trunk/src/doc/cleanupXhtml11.xslt 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ - $Id: cleanupXhtml11.xslt,v 1.2 2006/01/24 21:13:35 christianhujer Exp $
+ -
+ - Transformation cleaning up XHTML:
+ - * removes superfluous namespace declarations
+ - * removes attributes with default values
+ -
+ - © 2003 Christian W. Hujer
+ -
+ - Log: see end of file
+ -->
+
+<xsl:transform
+ version="2.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ xmlns:helper="java:com.hujer.xpath.Helper"
+>
+
+ <xsl:output
+ doctype-public="-//W3C//DTD XHTML 1.1//EN"
+ doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
+ encoding="utf-8"
+ indent="no"
+ method="xml"
+ omit-xml-declaration="no"
+ cdata-section-elements="html:script html:style"
+ />
+
+ <!--xsl:strip-space
+ elements="html:body html:head html:html html:title html:h1 html:h2 html:h3 html:h4 html:h5 html:h6 html:address html:blockquote html:div html:p html:pre html:dl html:dt html:dd html:ol html:ul html:li html:applet html:form html:fieldset html:caption html:table html:td html:th html:tr html:col html:colgroup html:tbody html:thead html:tfoot html:object html:frameset html:param html:img html:frame html:noframes html:iframe html:meta html:link html:input html:select html:optgroup html:option html:button html:label html:legend"
+ /-->
+
+ <xsl:template match="html:head/@profile"/>
+ <xsl:template match="html:html/@version"/>
+ <xsl:template match="html:meta[@scheme='CVS']"/>
+ <xsl:template match="html:td/@colspan[.='1']|html:td/@rowspan[.='1']|html:th/@colspan[.='1']|html:th/@rowspan[.='1']"/>
+ <xsl:template match="html:a/@shape[.='rect']"/>
+ <xsl:template match="html:input/@type[.='text']"/>
+ <xsl:template match="html:pre/@xml:space[.='preserve']"/>
+
+ <xsl:template match="@*">
+ <xsl:copy/>
+ </xsl:template>
+
+ <xsl:template match="html:div[not(@*)]|html:span[not(@*)]">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="html:*">
+ <xsl:element
+ name="{local-name()}"
+ namespace="http://www.w3.org/1999/xhtml"
+ >
+ <xsl:apply-templates select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="comment()">
+ <xsl:if test="starts-with(., '#')">
+ <xsl:copy/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="/processing-instruction('doc')|/processing-instruction('IS10744')"/>
+ <xsl:template match="processing-instruction()">
+ <xsl:copy/>
+ </xsl:template>
+
+ <xsl:template match="html:*[@xml:space='preserve']//text()">
+ <xsl:copy/>
+ </xsl:template>
+
+ <!-- New: Remove xml:base attributes introduced by XInclude -->
+ <xsl:template match="@xml:base"/>
+
+ <!--<xsl:template match="@xmlns:*"/>-->
+
+ <xsl:template match="text()">
+ <xsl:value-of select="helper:normalize(.)"/>
+ <!--xsl:choose>
+ <xsl:when test=". = ' '"><xsl:text> </xsl:text></xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="starts-with(., ' ') or starts-with(., '
')"><xsl:text> </xsl:text></xsl:if>
+ <xsl:value-of select="normalize-space(.)"/>
+ <xsl:if test="ends-with(., ' ') or ends-with(., '
')"><xsl:text> </xsl:text></xsl:if-->
+ <!--xsl:if test="following-sibling::* and substring(., string-length(.)) = ' ' or substring(., string-length(.)) = '
'"><xsl:text> </xsl:text></xsl:if-->
+ <!--/xsl:otherwise>
+ </xsl:choose-->
+ </xsl:template>
+
+</xsl:transform>
Property changes on: trunk/src/doc/cleanupXhtml11.xslt
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/catalogForAnt.xml
===================================================================
--- trunk/src/doc/dtd/catalogForAnt.xml (rev 0)
+++ trunk/src/doc/dtd/catalogForAnt.xml 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xmlcatalog id="commonDTDs">
+ <entity publicid="-//JAPI//DTD XHTML 1.1 + XInclude 1.0//EN" location="src/doc/dtd/xhtml11_xinclude10.dtd" />
+ <entity publicid="-//JAPI//ENTITIES XHTML 1.1 + XInclude 1.0 Document Model 1.0//EN" location="src/doc/dtd/xhtml11_xinclude10-model-1.mod" />
+ <entity publicid="-//JAPI//ELEMENTS XHTML XInclude 1.0//EN" location="src/doc/dtd/xhtml-xinclude10-1.mod" />
+ <entity publicid="-//W3C//DTD XHTML 1.1//EN" location="src/doc/dtd/xhtml11.dtd" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Base Architecture 1.0//EN" location="src/doc/dtd/xhtml-arch-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Base Element 1.0//EN" location="src/doc/dtd/xhtml-base-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Basic Forms 1.0//EN" location="src/doc/dtd/xhtml-basic-form-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Basic Tables 1.0//EN" location="src/doc/dtd/xhtml-basic-table-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML BDO Element 1.0//EN" location="src/doc/dtd/xhtml-bdo-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML BIDI Override Element 1.0//EN" location="src/doc/dtd/xhtml-bdo-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Block Phrasal 1.0//EN" location="src/doc/dtd/xhtml-blkphras-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Block Presentation 1.0//EN" location="src/doc/dtd/xhtml-blkpres-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Block Structural 1.0//EN" location="src/doc/dtd/xhtml-blkstruct-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Client-side Image Maps 1.0//EN" location="src/doc/dtd/xhtml-csismap-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Document Structure 1.0//EN" location="src/doc/dtd/xhtml-struct-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Editing Elements 1.0//EN" location="src/doc/dtd/xhtml-edit-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Editing Markup 1.0//EN" location="src/doc/dtd/xhtml-edit-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Embedded Object 1.0//EN" location="src/doc/dtd/xhtml-object-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Forms 1.0//EN" location="src/doc/dtd/xhtml-form-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Frames 1.0//EN" location="src/doc/dtd/xhtml-frames-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Hypertext 1.0//EN" location="src/doc/dtd/xhtml-hypertext-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Images 1.0//EN" location="src/doc/dtd/xhtml-image-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Inline Frame Element 1.0//EN" location="src/doc/dtd/xhtml-iframe-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Inline Phrasal 1.0//EN" location="src/doc/dtd/xhtml-inlphras-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Inline Presentation 1.0//EN" location="src/doc/dtd/xhtml-inlpres-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Inline Structural 1.0//EN" location="src/doc/dtd/xhtml-inlstruct-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Inline Style 1.0//EN" location="src/doc/dtd/xhtml-inlstyle-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Java Applets 1.0//EN" location="src/doc/dtd/xhtml-applet-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN" location="src/doc/dtd/xhtml-legacy-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Link Element 1.0//EN" location="src/doc/dtd/xhtml-link-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Lists 1.0//EN" location="src/doc/dtd/xhtml-list-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Metainformation 1.0//EN" location="src/doc/dtd/xhtml-meta-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Name Identifier 1.0//EN" location="src/doc/dtd/xhtml-nameident-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Param Element 1.0//EN" location="src/doc/dtd/xhtml-param-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Presentation 1.0//EN" location="src/doc/dtd/xhtml-pres-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Ruby 1.0//EN" location="src/doc/dtd/xhtml-ruby-1.mod"/>
+ <entity publicid="-//W3C//ELEMENTS XHTML Scripting 1.0//EN" location="src/doc/dtd/xhtml-script-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Server-side Image Maps 1.0//EN" location="src/doc/dtd/xhtml-ssismap-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Style Sheets 1.0//EN" location="src/doc/dtd/xhtml-style-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Tables 1.0//EN" location="src/doc/dtd/xhtml-table-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Target 1.0//EN" location="src/doc/dtd/xhtml-target-1.mod" />
+ <entity publicid="-//W3C//ELEMENTS XHTML Text 1.0//EN" location="src/doc/dtd/xhtml-text-1.mod" />
+ <entity publicid="-//W3C//ENTITIES Latin 1 for XHTML//EN" location="src/doc/dtd/xhtml-lat1.ent" />
+ <entity publicid="-//W3C//ENTITIES Special for XHTML//EN" location="src/doc/dtd/xhtml-special.ent" />
+ <entity publicid="-//W3C//ENTITIES Symbols for XHTML//EN" location="src/doc/dtd/xhtml-symbol.ent" />
+ <entity publicid="-//W3C//ENTITIES XHTML 1.1 Document Model 1.0//EN" location="src/doc/dtd/xhtml11-model-1.mod" />
+ <entity publicid="-//W3C//ENTITIES XHTML 1.1 Modular Framework 1.0//EN" location="src/doc/dtd/template.dtd" />
+ <entity publicid="-//W3C//ENTITIES XHTML Character Entities 1.0//EN" location="src/doc/dtd/xhtml-charent-1.mod" />
+ <entity publicid="-//W3C//ENTITIES XHTML Common Attributes 1.0//EN" location="src/doc/dtd/xhtml-attribs-1.mod" />
+ <entity publicid="-//W3C//ENTITIES XHTML Datatypes 1.0//EN" location="src/doc/dtd/xhtml-datatypes-1.mod" />
+ <entity publicid="-//W3C//ENTITIES XHTML Inline Style 1.0//EN" location="src/doc/dtd/xhtml-inlstyle-1.mod" />
+ <entity publicid="-//W3C//ENTITIES XHTML Intrinsic Events 1.0//EN" location="src/doc/dtd/xhtml-events-1.mod" />
+ <entity publicid="-//W3C//ENTITIES XHTML Modular Framework 1.0//EN" location="src/doc/dtd/xhtml-framework-1.mod" />
+ <entity publicid="-//W3C//ENTITIES XHTML Qualified Names 1.0//EN" location="src/doc/dtd/xhtml-qname-1.mod" />
+ <entity publicid="-//W3C//NOTATIONS XHTML Notations 1.0//EN" location="src/doc/dtd/xhtml-notations-1.mod" />
+</xmlcatalog>
Property changes on: trunk/src/doc/dtd/catalogForAnt.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-applet-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-applet-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-applet-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,57 @@
+<!-- ...................................................................... -->
+<!-- XHTML Java Applet Module ............................................ -->
+<!-- file: xhtml-applet-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-applet-1.mod,v 3.1 2000/11/15 22:02:08 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Java Applets 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-applet-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Java Applets
+
+ applet
+
+ This module declares the applet element type and its attributes,
+ used to provide support for Java applets. The 'alt' attribute
+ is now required (as it is on images). One of either code or
+ object attributes must be present. In the document, place param
+ elements before other content within the <applet> element.
+
+ Note that use of this module requires instantiation of the
+ Param Element Module.
+-->
+
+<!-- applet: Java Applet ............................... -->
+
+<!ENTITY % applet.element "INCLUDE" >
+<![%applet.element;[
+<!ENTITY % applet.content
+ "( %param.qname; | %Flow.mix; | #PCDATA )*"
+>
+<!ENTITY % applet.qname "applet" >
+<!ELEMENT %applet.qname; %applet.content; >
+<!-- end of applet.element -->]]>
+
+<!ENTITY % applet.attlist "INCLUDE" >
+<![%applet.attlist;[
+<!ATTLIST %applet.qname;
+ %Core.attrib;
+ alt %Text.datatype; #REQUIRED
+ archive CDATA #IMPLIED
+ code CDATA #IMPLIED
+ codebase %URI.datatype; #IMPLIED
+ object CDATA #IMPLIED
+ width %Length.datatype; #REQUIRED
+ height %Length.datatype; #REQUIRED
+>
+<!-- end of applet.attlist -->]]>
+
+<!-- end of xhtml-applet-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-applet-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-arch-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-arch-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-arch-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,51 @@
+<!-- ...................................................................... -->
+<!-- XHTML Base Architecture Module ...................................... -->
+<!-- file: xhtml-arch-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-arch-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Base Architecture 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-arch-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- This optional module includes declarations that enable XHTML to be used
+ as a base architecture according to the 'Architectural Forms Definition
+ Requirements' (Annex A.3, ISO/IEC 10744, 2nd edition). For more information
+ on use of architectural forms, see the HyTime web site at:
+
+ http://www.hytime.org/
+-->
+
+<?IS10744 ArcBase xhtml ?>
+
+<!NOTATION xhtml PUBLIC "-//W3C//NOTATION AFDR ARCBASE XHTML 1.1//EN" >
+
+<!-- Entity declaration for associated Architectural DTD
+-->
+<!ENTITY xhtml-arch.dtd
+ PUBLIC "-//W3C//DTD XHTML Architecture 1.1//EN"
+ "xhtml11-arch.dtd" >
+
+<?IS10744:arch xhtml
+ public-id = "-//W3C//NOTATION AFDR ARCBASE XHTML 1.1//EN"
+ dtd-public-id = "-//W3C//DTD XHTML 1.1//EN"
+ dtd-system-id = "xhtml11.dtd"
+ doc-elem-form = "html"
+ form-att = "html"
+ renamer-att = "htnames"
+ suppressor-att = "htsupp"
+ data-ignore-att = "htign"
+ auto = "ArcAuto"
+ options = "HtModReq HtModOpt"
+ HtModReq = "Framework Text Hypertext Lists Structure"
+ HtModOpt = "Standard"
+?>
+
+<!-- end of xhtml-arch-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-arch-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-attribs-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-attribs-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-attribs-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,78 @@
+<!-- ...................................................................... -->
+<!-- XHTML Common Attributes Module ...................................... -->
+<!-- file: xhtml-attribs-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-attribs-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ENTITIES XHTML Common Attributes 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-attribs-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Common Attributes
+
+ This module declares many of the common attributes for the XHTML DTD.
+ %NS.decl.attrib; is declared in the XHTML Qname module.
+-->
+
+<!ENTITY % id.attrib
+ "id ID #IMPLIED"
+>
+
+<!ENTITY % class.attrib
+ "class NMTOKENS #IMPLIED"
+>
+
+<!ENTITY % title.attrib
+ "title %Text.datatype; #IMPLIED"
+>
+
+<!ENTITY % Core.extra.attrib "" >
+
+<!ENTITY % Core.attrib
+ "%XHTML.xmlns.attrib;
+ %id.attrib;
+ %class.attrib;
+ %title.attrib;
+ %Core.extra.attrib;"
+>
+
+<!ENTITY % lang.attrib
+ "xml:lang %LanguageCode.datatype; #IMPLIED"
+>
+
+<![%XHTML.bidi;[
+<!ENTITY % dir.attrib
+ "dir ( ltr | rtl ) #IMPLIED"
+>
+
+<!ENTITY % I18n.attrib
+ "%dir.attrib;
+ %lang.attrib;"
+>
+
+]]>
+<!ENTITY % I18n.attrib
+ "%lang.attrib;"
+>
+
+<!ENTITY % Common.extra.attrib "" >
+
+<!-- intrinsic event attributes declared previously
+-->
+<!ENTITY % Events.attrib "" >
+
+<!ENTITY % Common.attrib
+ "%Core.attrib;
+ %I18n.attrib;
+ %Events.attrib;
+ %Common.extra.attrib;"
+>
+
+<!-- end of xhtml-attribs-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-attribs-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-base-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-base-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-base-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,53 @@
+<!-- ...................................................................... -->
+<!-- XHTML Base Element Module ........................................... -->
+<!-- file: xhtml-base-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-base-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Base Element 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-base-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Base element
+
+ base
+
+ This module declares the base element type and its attributes,
+ used to define a base URI against which relative URIs in the
+ document will be resolved.
+
+ Note that this module also redeclares the content model for
+ the head element to include the base element.
+-->
+
+<!-- base: Document Base URI ........................... -->
+
+<!ENTITY % base.element "INCLUDE" >
+<![%base.element;[
+<!ENTITY % base.content "EMPTY" >
+<!ENTITY % base.qname "base" >
+<!ELEMENT %base.qname; %base.content; >
+<!-- end of base.element -->]]>
+
+<!ENTITY % base.attlist "INCLUDE" >
+<![%base.attlist;[
+<!ATTLIST %base.qname;
+ %XHTML.xmlns.attrib;
+ href %URI.datatype; #REQUIRED
+>
+<!-- end of base.attlist -->]]>
+
+<!ENTITY % head.content
+ "( %HeadOpts.mix;,
+ ( ( %title.qname;, %HeadOpts.mix;, ( %base.qname;, %HeadOpts.mix; )? )
+ | ( %base.qname;, %HeadOpts.mix;, ( %title.qname;, %HeadOpts.mix; ))))"
+>
+
+<!-- end of xhtml-base-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-base-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-basic-form-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-basic-form-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-basic-form-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,185 @@
+<!-- ...................................................................... -->
+<!-- XHTML Simplified Forms Module ....................................... -->
+<!-- file: xhtml-basic-form-1.mod
+
+ This is XHTML Basic, a proper subset of XHTML.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-basic-form-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Basic Forms 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-basic-form-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Basic Forms
+
+ This forms module is based on the HTML 3.2 forms model, with
+ the WAI-requested addition of the label element. While this
+ module essentially mimics the content model and attributes of
+ HTML 3.2 forms, the element types declared herein also include
+ all HTML 4 common attributes.
+
+ form, label, input, select, option, textarea
+-->
+
+<!-- declare qualified element type names:
+-->
+<!ENTITY % form.qname "form" >
+<!ENTITY % label.qname "label" >
+<!ENTITY % input.qname "input" >
+<!ENTITY % select.qname "select" >
+<!ENTITY % option.qname "option" >
+<!ENTITY % textarea.qname "textarea" >
+
+<!-- %BlkNoForm.mix; includes all non-form block elements,
+ plus %Misc.class;
+-->
+<!ENTITY % BlkNoForm.mix
+ "%Heading.class;
+ | %List.class;
+ | %BlkStruct.class;
+ %BlkPhras.class;
+ %BlkPres.class;
+ | %table.qname;
+ %Block.extra;
+ %Misc.class;"
+>
+
+<!-- form: Form Element ................................ -->
+
+<!ENTITY % form.element "INCLUDE" >
+<![%form.element;[
+<!ENTITY % form.content
+ "( %BlkNoForm.mix; )+"
+>
+<!ELEMENT %form.qname; %form.content; >
+<!-- end of form.element -->]]>
+
+<!ENTITY % form.attlist "INCLUDE" >
+<![%form.attlist;[
+<!ATTLIST %form.qname;
+ %Common.attrib;
+ action %URI.datatype; #REQUIRED
+ method ( get | post ) 'get'
+ enctype %ContentType.datatype; 'application/x-www-form-urlencoded'
+>
+<!-- end of form.attlist -->]]>
+
+<!-- label: Form Field Label Text ...................... -->
+
+<!ENTITY % label.element "INCLUDE" >
+<![%label.element;[
+<!-- Each label must not contain more than ONE field
+-->
+<!ENTITY % label.content
+ "( #PCDATA
+ | %input.qname; | %select.qname; | %textarea.qname;
+ | %InlStruct.class;
+ %InlPhras.class;
+ %I18n.class;
+ %InlPres.class;
+ %InlSpecial.class;
+ %Misc.class; )*"
+>
+<!ELEMENT %label.qname; %label.content; >
+<!-- end of label.element -->]]>
+
+<!ENTITY % label.attlist "INCLUDE" >
+<![%label.attlist;[
+<!ATTLIST %label.qname;
+ %Common.attrib;
+ for IDREF #IMPLIED
+ accesskey %Character.datatype; #IMPLIED
+>
+<!-- end of label.attlist -->]]>
+
+<!-- input: Form Control ............................... -->
+
+<!ENTITY % input.element "INCLUDE" >
+<![%input.element;[
+<!ENTITY % input.content "EMPTY" >
+<!ELEMENT %input.qname; %input.content; >
+<!-- end of input.element -->]]>
+
+<!-- Basic Forms removes 'image' and 'file' input types.
+-->
+<!ENTITY % input.attlist "INCLUDE" >
+<![%input.attlist;[
+<!ENTITY % InputType.class
+ "( text | password | checkbox | radio
+ | submit | reset | hidden )"
+>
+<!-- attribute name required for all but submit & reset
+-->
+<!ATTLIST %input.qname;
+ %Common.attrib;
+ type %InputType.class; 'text'
+ name CDATA #IMPLIED
+ value CDATA #IMPLIED
+ checked ( checked ) #IMPLIED
+ size CDATA #IMPLIED
+ maxlength %Number.datatype; #IMPLIED
+ src %URI.datatype; #IMPLIED
+ accesskey %Character.datatype; #IMPLIED
+>
+<!-- end of input.attlist -->]]>
+
+<!-- select: Option Selector ........................... -->
+
+<!ENTITY % select.element "INCLUDE" >
+<![%select.element;[
+<!ENTITY % select.content "( %option.qname; )+" >
+<!ELEMENT %select.qname; %select.content; >
+<!-- end of select.element -->]]>
+
+<!ENTITY % select.attlist "INCLUDE" >
+<![%select.attlist;[
+<!ATTLIST %select.qname;
+ %Common.attrib;
+ name CDATA #IMPLIED
+ size %Number.datatype; #IMPLIED
+ multiple ( multiple ) #IMPLIED
+>
+<!-- end of select.attlist -->]]>
+
+<!-- option: Selectable Choice ......................... -->
+
+<!ENTITY % option.element "INCLUDE" >
+<![%option.element;[
+<!ENTITY % option.content "( #PCDATA )" >
+<!ELEMENT %option.qname; %option.content; >
+<!-- end of option.element -->]]>
+
+<!ENTITY % option.attlist "INCLUDE" >
+<![%option.attlist;[
+<!ATTLIST %option.qname;
+ %Common.attrib;
+ selected ( selected ) #IMPLIED
+ value CDATA #IMPLIED
+>
+<!-- end of option.attlist -->]]>
+
+<!-- textarea: Multi-Line Text Field ................... -->
+
+<!ENTITY % textarea.element "INCLUDE" >
+<![%textarea.element;[
+<!ENTITY % textarea.content "( #PCDATA )" >
+<!ELEMENT %textarea.qname; %textarea.content; >
+<!-- end of textarea.element -->]]>
+
+<!ENTITY % textarea.attlist "INCLUDE" >
+<![%textarea.attlist;[
+<!ATTLIST %textarea.qname;
+ %Common.attrib;
+ name CDATA #IMPLIED
+ rows %Number.datatype; #REQUIRED
+ cols %Number.datatype; #REQUIRED
+ accesskey %Character.datatype; #IMPLIED
+>
+<!-- end of textarea.attlist -->]]>
+
+<!-- end of xhtml-basic-form-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-basic-form-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-basic-table-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-basic-table-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-basic-table-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,166 @@
+<!-- ....................................................................... -->
+<!-- XHTML Basic Table Module ............................................. -->
+<!-- file: xhtml-basic-table-1.mod
+
+ This is XHTML Basic, a proper subset of XHTML.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-basic-table-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Basic Tables 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-basic-table-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Basic Tables
+
+ table, caption, tr, th, td
+
+ This table module declares elements and attributes defining
+ a table model based fundamentally on features found in the
+ widely-deployed HTML 3.2 table model. While this module
+ mimics the content model and table attributes of HTML 3.2
+ tables, the element types declared herein also includes all
+ HTML 4 common and most of the HTML 4 table attributes.
+-->
+
+<!-- declare qualified element type names:
+-->
+<!ENTITY % table.qname "table" >
+<!ENTITY % caption.qname "caption" >
+<!ENTITY % tr.qname "tr" >
+<!ENTITY % th.qname "th" >
+<!ENTITY % td.qname "td" >
+
+<!-- horizontal alignment attributes for cell contents
+-->
+<!ENTITY % CellHAlign.attrib
+ "align ( left
+ | center
+ | right ) #IMPLIED"
+>
+
+<!-- vertical alignment attributes for cell contents
+-->
+<!ENTITY % CellVAlign.attrib
+ "valign ( top
+ | middle
+ | bottom ) #IMPLIED"
+>
+
+<!-- scope is simpler than axes attribute for common tables
+-->
+<!ENTITY % scope.attrib
+ "scope ( row | col ) #IMPLIED"
+>
+
+<!-- table: Table Element .............................. -->
+
+<!ENTITY % table.element "INCLUDE" >
+<![%table.element;[
+<!ENTITY % table.content
+ "( %caption.qname;?, %tr.qname;+ )"
+>
+<!ELEMENT %table.qname; %table.content; >
+<!-- end of table.element -->]]>
+
+<!ENTITY % table.attlist "INCLUDE" >
+<![%table.attlist;[
+<!ATTLIST %table.qname;
+ %Common.attrib;
+ summary %Text.datatype; #IMPLIED
+>
+<!-- end of table.attlist -->]]>
+
+<!-- caption: Table Caption ............................ -->
+
+<!ENTITY % caption.element "INCLUDE" >
+<![%caption.element;[
+<!ENTITY % caption.content
+ "( #PCDATA | %Inline.mix; )*"
+>
+<!ELEMENT %caption.qname; %caption.content; >
+<!-- end of caption.element -->]]>
+
+<!ENTITY % caption.attlist "INCLUDE" >
+<![%caption.attlist;[
+<!ATTLIST %caption.qname;
+ %Common.attrib;
+>
+<!-- end of caption.attlist -->]]>
+
+<!-- tr: Table Row ..................................... -->
+
+<!ENTITY % tr.element "INCLUDE" >
+<![%tr.element;[
+<!ENTITY % tr.content "( %th.qname; | %td.qname; )+" >
+<!ELEMENT %tr.qname; %tr.content; >
+<!-- end of tr.element -->]]>
+
+<!ENTITY % tr.attlist "INCLUDE" >
+<![%tr.attlist;[
+<!ATTLIST %tr.qname;
+ %Common.attrib;
+ %CellHAlign.attrib;
+ %CellVAlign.attrib;
+>
+<!-- end of tr.attlist -->]]>
+
+<!-- th: Table Header Cell ............................. -->
+
+<!-- th is for header cells, td for data,
+ but for cells acting as both use td
+-->
+
+<!ENTITY % th.element "INCLUDE" >
+<![%th.element;[
+<!ENTITY % th.content
+ "( #PCDATA | %FlowNoTable.mix; )*"
+>
+<!ELEMENT %th.qname; %th.content; >
+<!-- end of th.element -->]]>
+
+<!ENTITY % th.attlist "INCLUDE" >
+<![%th.attlist;[
+<!ATTLIST %th.qname;
+ %Common.attrib;
+ abbr %Text.datatype; #IMPLIED
+ axis CDATA #IMPLIED
+ headers IDREFS #IMPLIED
+ %scope.attrib;
+ rowspan %Number.datatype; '1'
+ colspan %Number.datatype; '1'
+ %CellHAlign.attrib;
+ %CellVAlign.attrib;
+>
+<!-- end of th.attlist -->]]>
+
+<!-- td: Table Data Cell ............................... -->
+
+<!ENTITY % td.element "INCLUDE" >
+<![%td.element;[
+<!ENTITY % td.content
+ "( #PCDATA | %FlowNoTable.mix; )*"
+>
+<!ELEMENT %td.qname; %td.content; >
+<!-- end of td.element -->]]>
+
+<!ENTITY % td.attlist "INCLUDE" >
+<![%td.attlist;[
+<!ATTLIST %td.qname;
+ %Common.attrib;
+ abbr %Text.datatype; #IMPLIED
+ axis CDATA #IMPLIED
+ headers IDREFS #IMPLIED
+ %scope.attrib;
+ rowspan %Number.datatype; '1'
+ colspan %Number.datatype; '1'
+ %CellHAlign.attrib;
+ %CellVAlign.attrib;
+>
+<!-- end of td.attlist -->]]>
+
+<!-- end of xhtml-basic-table-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-basic-table-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-bdo-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-bdo-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-bdo-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,47 @@
+<!-- ...................................................................... -->
+<!-- XHTML BDO Element Module ............................................. -->
+<!-- file: xhtml-bdo-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-bdo-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML BDO Element 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-bdo-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Bidirectional Override (bdo) Element
+
+ This modules declares the element 'bdo', used to override the
+ Unicode bidirectional algorithm for selected fragments of text.
+
+ DEPENDENCIES:
+ Relies on the conditional section keyword %XHTML.bidi; declared
+ as "INCLUDE". Bidirectional text support includes both the bdo
+ element and the 'dir' attribute.
+-->
+
+<!ENTITY % bdo.element "INCLUDE" >
+<![%bdo.element;[
+<!ENTITY % bdo.content
+ "( #PCDATA | %Inline.mix; )*"
+>
+<!ENTITY % bdo.qname "bdo" >
+<!ELEMENT %bdo.qname; %bdo.content; >
+<!-- end of bdo.element -->]]>
+
+<!ENTITY % bdo.attlist "INCLUDE" >
+<![%bdo.attlist;[
+<!ATTLIST %bdo.qname;
+ %Core.attrib;
+ xml:lang %LanguageCode.datatype; #IMPLIED
+ dir ( ltr | rtl ) #REQUIRED
+>
+]]>
+
+<!-- end of xhtml-bdo-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-bdo-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-blkphras-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-blkphras-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-blkphras-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,164 @@
+<!-- ...................................................................... -->
+<!-- XHTML Block Phrasal Module .......................................... -->
+<!-- file: xhtml-blkphras-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-blkphras-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Block Phrasal 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-blkphras-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Block Phrasal
+
+ address, blockquote, pre, h1, h2, h3, h4, h5, h6
+
+ This module declares the elements and their attributes used to
+ support block-level phrasal markup.
+-->
+
+<!ENTITY % address.element "INCLUDE" >
+<![%address.element;[
+<!ENTITY % address.content
+ "( #PCDATA | %Inline.mix; )*" >
+<!ENTITY % address.qname "address" >
+<!ELEMENT %address.qname; %address.content; >
+<!-- end of address.element -->]]>
+
+<!ENTITY % address.attlist "INCLUDE" >
+<![%address.attlist;[
+<!ATTLIST %address.qname;
+ %Common.attrib;
+>
+<!-- end of address.attlist -->]]>
+
+<!ENTITY % blockquote.element "INCLUDE" >
+<![%blockquote.element;[
+<!ENTITY % blockquote.content
+ "( %Block.mix; )+"
+>
+<!ENTITY % blockquote.qname "blockquote" >
+<!ELEMENT %blockquote.qname; %blockquote.content; >
+<!-- end of blockquote.element -->]]>
+
+<!ENTITY % blockquote.attlist "INCLUDE" >
+<![%blockquote.attlist;[
+<!ATTLIST %blockquote.qname;
+ %Common.attrib;
+ cite %URI.datatype; #IMPLIED
+>
+<!-- end of blockquote.attlist -->]]>
+
+<!ENTITY % pre.element "INCLUDE" >
+<![%pre.element;[
+<!ENTITY % pre.content
+ "( #PCDATA
+ | %InlStruct.class;
+ %InlPhras.class;
+ | %tt.qname; | %i.qname; | %b.qname;
+ %I18n.class;
+ %Anchor.class;
+ | %script.qname; | %map.qname;
+ %Inline.extra; )*"
+>
+<!ENTITY % pre.qname "pre" >
+<!ELEMENT %pre.qname; %pre.content; >
+<!-- end of pre.element -->]]>
+
+<!ENTITY % pre.attlist "INCLUDE" >
+<![%pre.attlist;[
+<!ATTLIST %pre.qname;
+ %Common.attrib;
+ xml:space ( preserve ) #FIXED 'preserve'
+>
+<!-- end of pre.attlist -->]]>
+
+<!-- ................... Heading Elements ................... -->
+
+<!ENTITY % Heading.content "( #PCDATA | %Inline.mix; )*" >
+
+<!ENTITY % h1.element "INCLUDE" >
+<![%h1.element;[
+<!ENTITY % h1.qname "h1" >
+<!ELEMENT %h1.qname; %Heading.content; >
+<!-- end of h1.element -->]]>
+
+<!ENTITY % h1.attlist "INCLUDE" >
+<![%h1.attlist;[
+<!ATTLIST %h1.qname;
+ %Common.attrib;
+>
+<!-- end of h1.attlist -->]]>
+
+<!ENTITY % h2.element "INCLUDE" >
+<![%h2.element;[
+<!ENTITY % h2.qname "h2" >
+<!ELEMENT %h2.qname; %Heading.content; >
+<!-- end of h2.element -->]]>
+
+<!ENTITY % h2.attlist "INCLUDE" >
+<![%h2.attlist;[
+<!ATTLIST %h2.qname;
+ %Common.attrib;
+>
+<!-- end of h2.attlist -->]]>
+
+<!ENTITY % h3.element "INCLUDE" >
+<![%h3.element;[
+<!ENTITY % h3.qname "h3" >
+<!ELEMENT %h3.qname; %Heading.content; >
+<!-- end of h3.element -->]]>
+
+<!ENTITY % h3.attlist "INCLUDE" >
+<![%h3.attlist;[
+<!ATTLIST %h3.qname;
+ %Common.attrib;
+>
+<!-- end of h3.attlist -->]]>
+
+<!ENTITY % h4.element "INCLUDE" >
+<![%h4.element;[
+<!ENTITY % h4.qname "h4" >
+<!ELEMENT %h4.qname; %Heading.content; >
+<!-- end of h4.element -->]]>
+
+<!ENTITY % h4.attlist "INCLUDE" >
+<![%h4.attlist;[
+<!ATTLIST %h4.qname;
+ %Common.attrib;
+>
+<!-- end of h4.attlist -->]]>
+
+<!ENTITY % h5.element "INCLUDE" >
+<![%h5.element;[
+<!ENTITY % h5.qname "h5" >
+<!ELEMENT %h5.qname; %Heading.content; >
+<!-- end of h5.element -->]]>
+
+<!ENTITY % h5.attlist "INCLUDE" >
+<![%h5.attlist;[
+<!ATTLIST %h5.qname;
+ %Common.attrib;
+>
+<!-- end of h5.attlist -->]]>
+
+<!ENTITY % h6.element "INCLUDE" >
+<![%h6.element;[
+<!ENTITY % h6.qname "h6" >
+<!ELEMENT %h6.qname; %Heading.content; >
+<!-- end of h6.element -->]]>
+
+<!ENTITY % h6.attlist "INCLUDE" >
+<![%h6.attlist;[
+<!ATTLIST %h6.qname;
+ %Common.attrib;
+>
+<!-- end of h6.attlist -->]]>
+
+<!-- end of xhtml-blkphras-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-blkphras-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-blkpres-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-blkpres-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-blkpres-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,40 @@
+<!-- ...................................................................... -->
+<!-- XHTML Block Presentation Module ..................................... -->
+<!-- file: xhtml-blkpres-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-blkpres-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Block Presentation 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-blkpres-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Block Presentational Elements
+
+ hr
+
+ This module declares the elements and their attributes used to
+ support block-level presentational markup.
+-->
+
+<!ENTITY % hr.element "INCLUDE" >
+<![%hr.element;[
+<!ENTITY % hr.content "EMPTY" >
+<!ENTITY % hr.qname "hr" >
+<!ELEMENT %hr.qname; %hr.content; >
+<!-- end of hr.element -->]]>
+
+<!ENTITY % hr.attlist "INCLUDE" >
+<![%hr.attlist;[
+<!ATTLIST %hr.qname;
+ %Common.attrib;
+>
+<!-- end of hr.attlist -->]]>
+
+<!-- end of xhtml-blkpres-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-blkpres-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-blkstruct-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-blkstruct-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-blkstruct-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,57 @@
+<!-- ...................................................................... -->
+<!-- XHTML Block Structural Module ....................................... -->
+<!-- file: xhtml-blkstruct-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-blkstruct-1.mod,v 3.1 2000/11/15 22:02:08 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Block Structural 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-blkstruct-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Block Structural
+
+ div, p
+
+ This module declares the elements and their attributes used to
+ support block-level structural markup.
+-->
+
+<!ENTITY % div.element "INCLUDE" >
+<![%div.element;[
+<!ENTITY % div.content
+ "( #PCDATA | %Flow.mix; )*"
+>
+<!ENTITY % div.qname "div" >
+<!ELEMENT %div.qname; %div.content; >
+<!-- end of div.element -->]]>
+
+<!ENTITY % div.attlist "INCLUDE" >
+<![%div.attlist;[
+<!ATTLIST %div.qname;
+ %Common.attrib;
+>
+<!-- end of div.attlist -->]]>
+
+<!ENTITY % p.element "INCLUDE" >
+<![%p.element;[
+<!ENTITY % p.content
+ "( #PCDATA | %Inline.mix; )*" >
+<!ENTITY % p.qname "p" >
+<!ELEMENT %p.qname; %p.content; >
+<!-- end of p.element -->]]>
+
+<!ENTITY % p.attlist "INCLUDE" >
+<![%p.attlist;[
+<!ATTLIST %p.qname;
+ %Common.attrib;
+>
+<!-- end of p.attlist -->]]>
+
+<!-- end of xhtml-blkstruct-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-blkstruct-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-charent-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-charent-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-charent-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,38 @@
+<!-- ...................................................................... -->
+<!-- XHTML Character Entities Module ......................................... -->
+<!-- file: xhtml-charent-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-charent-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ENTITIES XHTML Character Entities 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-charent-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Character Entities for XHTML
+
+ This module declares the set of character entities for XHTML,
+ including the Latin 1, Symbol and Special character collections.
+-->
+
+<!ENTITY % xhtml-lat1
+ PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent" >
+<!ENTITY % xhtml-symbol
+ PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent" >
+<!ENTITY % xhtml-special
+ PUBLIC "-//W3C//ENTITIES Special for XHTML//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent" >
+
+%xhtml-lat1;
+%xhtml-symbol;
+%xhtml-special;
+
+<!-- end of xhtml-charent-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-charent-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-csismap-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-csismap-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-csismap-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,114 @@
+<!-- ...................................................................... -->
+<!-- XHTML Client-side Image Map Module .................................. -->
+<!-- file: xhtml-csismap-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-csismap-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Client-side Image Maps 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-csismap-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Client-side Image Maps
+
+ area, map
+
+ This module declares elements and attributes to support client-side
+ image maps. This requires that the Image Module (or a module
+ declaring the img element type) be included in the DTD.
+
+ These can be placed in the same document or grouped in a
+ separate document, although the latter isn't widely supported
+-->
+
+<!ENTITY % area.element "INCLUDE" >
+<![%area.element;[
+<!ENTITY % area.content "EMPTY" >
+<!ENTITY % area.qname "area" >
+<!ELEMENT %area.qname; %area.content; >
+<!-- end of area.element -->]]>
+
+<!ENTITY % Shape.datatype "( rect | circle | poly | default )">
+<!ENTITY % Coords.datatype "CDATA" >
+
+<!ENTITY % area.attlist "INCLUDE" >
+<![%area.attlist;[
+<!ATTLIST %area.qname;
+ %Common.attrib;
+ href %URI.datatype; #IMPLIED
+ shape %Shape.datatype; 'rect'
+ coords %Coords.datatype; #IMPLIED
+ nohref ( nohref ) #IMPLIED
+ alt %Text.datatype; #REQUIRED
+ tabindex %Number.datatype; #IMPLIED
+ accesskey %Character.datatype; #IMPLIED
+>
+<!-- end of area.attlist -->]]>
+
+<!-- modify anchor attribute definition list
+ to allow for client-side image maps
+-->
+<!ATTLIST %a.qname;
+ shape %Shape.datatype; 'rect'
+ coords %Coords.datatype; #IMPLIED
+>
+
+<!-- modify img attribute definition list
+ to allow for client-side image maps
+-->
+<!ATTLIST %img.qname;
+ usemap IDREF #IMPLIED
+>
+
+<!-- modify form input attribute definition list
+ to allow for client-side image maps
+-->
+<!ATTLIST %input.qname;
+ usemap IDREF #IMPLIED
+>
+
+<!-- modify object attribute definition list
+ to allow for client-side image maps
+-->
+<!ATTLIST %object.qname;
+ usemap IDREF #IMPLIED
+>
+
+<!-- 'usemap' points to the 'id' attribute of a <map> element,
+ which must be in the same document; support for external
+ document maps was not widely supported in HTML and is
+ eliminated in XHTML.
+
+ It is considered an error for the element pointed to by
+ a usemap IDREF to occur in anything but a <map> element.
+-->
+
+<!ENTITY % map.element "INCLUDE" >
+<![%map.element;[
+<!ENTITY % map.content
+ "(( %Block.mix; ) | %area.qname; )+"
+>
+<!ENTITY % map.qname "map" >
+<!ELEMENT %map.qname; %map.content; >
+<!-- end of map.element -->]]>
+
+<!ENTITY % map.attlist "INCLUDE" >
+<![%map.attlist;[
+<!ATTLIST %map.qname;
+ %XHTML.xmlns.attrib;
+ id ID #REQUIRED
+ %class.attrib;
+ %title.attrib;
+ %Core.extra.attrib;
+ %I18n.attrib;
+ %Events.attrib;
+>
+<!-- end of map.attlist -->]]>
+
+<!-- end of xhtml-csismap-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-csismap-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-datatypes-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-datatypes-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-datatypes-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,82 @@
+<!-- ...................................................................... -->
+<!-- XHTML Datatypes Module .............................................. -->
+<!-- file: xhtml-datatypes-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-datatypes-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-datatypes-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Datatypes
+
+ defines containers for the following datatypes, many of
+ these imported from other specifications and standards.
+-->
+
+<!-- Length defined for cellpadding/cellspacing -->
+
+<!-- nn for pixels or nn% for percentage length -->
+<!ENTITY % Length.datatype "CDATA" >
+
+<!-- space-separated list of link types -->
+<!ENTITY % LinkTypes.datatype "NMTOKENS" >
+
+<!-- single or comma-separated list of media descriptors -->
+<!ENTITY % MediaDesc.datatype "CDATA" >
+
+<!-- pixel, percentage, or relative -->
+<!ENTITY % MultiLength.datatype "CDATA" >
+
+<!-- one or more digits (NUMBER) -->
+<!ENTITY % Number.datatype "CDATA" >
+
+<!-- integer representing length in pixels -->
+<!ENTITY % Pixels.datatype "CDATA" >
+
+<!-- script expression -->
+<!ENTITY % Script.datatype "CDATA" >
+
+<!-- textual content -->
+<!ENTITY % Text.datatype "CDATA" >
+
+<!-- Imported Datatypes ................................ -->
+
+<!-- a single character from [ISO10646] -->
+<!ENTITY % Character.datatype "CDATA" >
+
+<!-- a character encoding, as per [RFC2045] -->
+<!ENTITY % Charset.datatype "CDATA" >
+
+<!-- a space separated list of character encodings, as per [RFC2045] -->
+<!ENTITY % Charsets.datatype "CDATA" >
+
+<!-- media type, as per [RFC2045] -->
+<!ENTITY % ContentType.datatype "CDATA" >
+
+<!-- comma-separated list of media types, as per [RFC2045] -->
+<!ENTITY % ContentTypes.datatype "CDATA" >
+
+<!-- date and time information. ISO date format -->
+<!ENTITY % Datetime.datatype "CDATA" >
+
+<!-- formal public identifier, as per [ISO8879] -->
+<!ENTITY % FPI.datatype "CDATA" >
+
+<!-- a language code, as per [RFC1766] -->
+<!ENTITY % LanguageCode.datatype "NMTOKEN" >
+
+<!-- a Uniform Resource Identifier, see [URI] -->
+<!ENTITY % URI.datatype "CDATA" >
+
+<!-- a space-separated list of Uniform Resource Identifiers, see [URI] -->
+<!ENTITY % URIs.datatype "CDATA" >
+
+<!-- end of xhtml-datatypes-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-datatypes-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-edit-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-edit-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-edit-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,66 @@
+<!-- ...................................................................... -->
+<!-- XHTML Editing Elements Module ....................................... -->
+<!-- file: xhtml-edit-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-edit-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ELEMENTS XHTML Editing Markup 1.0//EN"
+ SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-edit-1.mod"
+
+ Revisions:
+ (none)
+ ....................................................................... -->
+
+<!-- Editing Elements
+
+ ins, del
+
+ This module declares element types and attributes used to indicate
+ inserted and deleted content while editing a document.
+-->
+
+<!-- ins: Inserted Text ............................... -->
+
+<!ENTITY % ins.element "INCLUDE" >
+<![%ins.element;[
+<!ENTITY % ins.content
+ "( #PCDATA | %Flow.mix; )*"
+>
+<!ENTITY % ins.qname "ins" >
+<!ELEMENT %ins.qname; %ins.content; >
+<!-- end of ins.element -->]]>
+
+<!ENTITY % ins.attlist "INCLUDE" >
+<![%ins.attlist;[
+<!ATTLIST %ins.qname;
+ %Common.attrib;
+ cite %URI.datatype; #IMPLIED
+ datetime %Datetime.datatype; #IMPLIED
+>
+<!-- end of ins.attlist -->]]>
+
+<!-- del: Deleted Text ................................ -->
+
+<!ENTITY % del.element "INCLUDE" >
+<![%del.element;[
+<!ENTITY % del.content
+ "( #PCDATA | %Flow.mix; )*"
+>
+<!ENTITY % del.qname "del" >
+<!ELEMENT %del.qname; %del.content; >
+<!-- end of del.element -->]]>
+
+<!ENTITY % del.attlist "INCLUDE" >
+<![%del.attlist;[
+<!ATTLIST %del.qname;
+ %Common.attrib;
+ cite %URI.datatype; #IMPLIED
+ datetime %Datetime.datatype; #IMPLIED
+>
+<!-- end of del.attlist -->]]>
+
+<!-- end of xhtml-edit-1.mod -->
Property changes on: trunk/src/doc/dtd/xhtml-edit-1.mod
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/doc/dtd/xhtml-events-1.mod
===================================================================
--- trunk/src/doc/dtd/xhtml-events-1.mod (rev 0)
+++ trunk/src/doc/dtd/xhtml-events-1.mod 2006-10-28 23:28:35 UTC (rev 20)
@@ -0,0 +1,120 @@
+<!-- ...................................................................... -->
+<!-- XHTML Intrinsic Events Module ....................................... -->
+<!-- file: xhtml-events-1.mod
+
+ This is XHTML, a reformulation of HTML as a modular XML application.
+ Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
+ Revision: $Id: xhtml-events-1.mod,v 3.0 2000/10/22 17:13:38 altheim Exp $ SMI
+
+ This DTD module is identified by the PUBLIC and SYSTEM identifiers:
+
+ PUBLIC "-//W3C//ENTITIES XHTML Intrinsic E...
[truncated message content] |
|
From: <chr...@us...> - 2006-10-28 23:03:59
|
Revision: 19
http://svn.sourceforge.net/cherbot/?rev=19&view=rev
Author: christianhujer
Date: 2006-10-28 16:03:23 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Updated author information.
Modified Paths:
--------------
trunk/src/net/sf/cherbot/BlackListManager.java
trunk/src/net/sf/cherbot/CherBot.java
trunk/src/net/sf/cherbot/CherBotException.java
trunk/src/net/sf/cherbot/CherBotLogger.java
trunk/src/net/sf/cherbot/CherBotPermission.java
trunk/src/net/sf/cherbot/CherBotSecurityManager.java
trunk/src/net/sf/cherbot/CollectionsManager.java
trunk/src/net/sf/cherbot/CommType.java
trunk/src/net/sf/cherbot/Crime.java
trunk/src/net/sf/cherbot/CrimeManager.java
trunk/src/net/sf/cherbot/CronManager.java
trunk/src/net/sf/cherbot/DeathsManager.java
trunk/src/net/sf/cherbot/DummyManagerProxy.java
trunk/src/net/sf/cherbot/EmotesManager.java
trunk/src/net/sf/cherbot/ExampleTestCase.java
trunk/src/net/sf/cherbot/ExampleTester.java
trunk/src/net/sf/cherbot/GreetingsManager.java
trunk/src/net/sf/cherbot/GroupManager.java
trunk/src/net/sf/cherbot/LamentsManager.java
trunk/src/net/sf/cherbot/MailManager.java
trunk/src/net/sf/cherbot/Manager.java
trunk/src/net/sf/cherbot/ManagerDocumenter.java
trunk/src/net/sf/cherbot/NoSuchPlayerException.java
trunk/src/net/sf/cherbot/NoobManager.java
trunk/src/net/sf/cherbot/PlayerManager.java
trunk/src/net/sf/cherbot/PollManager.java
trunk/src/net/sf/cherbot/RodBabyManager.java
trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
trunk/src/net/sf/cherbot/SalesManager.java
trunk/src/net/sf/cherbot/SmutException.java
trunk/src/net/sf/cherbot/SmutManager.java
trunk/src/net/sf/cherbot/TestManager.java
trunk/src/net/sf/cherbot/TimeManager.java
Modified: trunk/src/net/sf/cherbot/BlackListManager.java
===================================================================
--- trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -11,7 +11,7 @@
/**
* Manages a black list of users that may not use Cherbot.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("Blacklist of players that are denied to use Cherbot.")
@Manager.Features({ "Blacklist players that are denied to use Cherbot." })
Modified: trunk/src/net/sf/cherbot/CherBot.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -24,7 +24,7 @@
/**
* A Daimonin bot.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
* @todo split this class into four: A generic base class for robots, a class handling Daimonin-specific stuff, an interface for network
* implementations implemted by the latter, and this specific CherBot subclass.
* @todo perhaps add a graphical interface.
@@ -483,7 +483,7 @@
/**
* The internal manager.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("Manages the other modules and gives some general information about the bot.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/CherBotException.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -10,7 +10,7 @@
* Base Exception for exteptions that could occur when using players.
* These exceptions are runtime exceptions thrown if actors use illegal arguments or commands in a wrong state.
* The message of such an exception must be a message meaningful to the end user (bot user).
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public class CherBotException extends RuntimeException {
Modified: trunk/src/net/sf/cherbot/CherBotLogger.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -12,7 +12,7 @@
/**
* This class is used for logging within Cherbot.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public class CherBotLogger {
Modified: trunk/src/net/sf/cherbot/CherBotPermission.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -10,7 +10,7 @@
/**
* Permissions to access the CherBot.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public class CherBotPermission extends BasicPermission {
Modified: trunk/src/net/sf/cherbot/CherBotSecurityManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -26,7 +26,7 @@
/**
* SecurityManager for CherBot.
* The CherBotSecurityManager manages the permissions granted for the individual modules and actions.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("Cherbot has a sophisticated security system, derived from Java. It is comparable with JAAS, the security concept used in Java application servers. This module controls security.")
@Manager.Features({ "Grant permissions", "Revoke permissions", "List permissions" })
Modified: trunk/src/net/sf/cherbot/CollectionsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -18,7 +18,7 @@
/**
* Manager for collectors.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("This module allows players to manage a list of items they collect. You can also ask what other players collect or who collects a certain item. Like most modules, querying works also if the queried player is not online.")
@Manager.Features({
@@ -35,7 +35,7 @@
/**
* Entry.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private static class Entry implements Comparable<Entry> {
Modified: trunk/src/net/sf/cherbot/CommType.java
===================================================================
--- trunk/src/net/sf/cherbot/CommType.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CommType.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -14,7 +14,7 @@
/**
* Enumeration for known communication types, along with matching facility.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public enum CommType {
Modified: trunk/src/net/sf/cherbot/Crime.java
===================================================================
--- trunk/src/net/sf/cherbot/Crime.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/Crime.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -8,7 +8,7 @@
/**
* TODO
- * @author <a href="mailto:ch...@it...">Christian Hujer</a>
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
class Crime {
Modified: trunk/src/net/sf/cherbot/CrimeManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -17,7 +17,7 @@
/**
* Class to manage crimes.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
* @todo timestamps, victims, eyewitnesses.
*/
@Manager.Description("Manages crimes and criminals.")
@@ -386,7 +386,7 @@
} // class CrimeManager
///** Class for a crime type.
-// * @author $Author: chris $
+// * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
// */
//class CrimeType {
//
@@ -405,7 +405,7 @@
//} // class CrimeType
//
///** Class for a crime.
-// * @author $Author: chris $
+// * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
// */
//class Crime {
//
Modified: trunk/src/net/sf/cherbot/CronManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -13,7 +13,7 @@
/**
* Manager to manage events (commands etc.) that need to be scheduled in some timed intervals.
* It is mainly a proxy handling all manager interaction.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("This manager is used for scheduling commands in regular intervals.")
@Manager.Features("This manager is similar to the cron command in UNIX or the task planner in Windows.")
Modified: trunk/src/net/sf/cherbot/DeathsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -14,7 +14,7 @@
/**
* A class that manages deaths.
* Each time a player dies, his/her death is counted.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
* @todo statistics and rankings
*/
@Manager.Description("The death manager recognizes that a player died. It counts each death of each player and manages two statistics. One for the deaths of each player and one of the kills from each mob.")
Modified: trunk/src/net/sf/cherbot/DummyManagerProxy.java
===================================================================
--- trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -11,7 +11,7 @@
* If a module is removed, you don't remove the module completely, but create a DummyManagerProxy instance and list all removed modules there.
* This allows players to invoke commands from the removed module with a meaningful response like "This dommand was removed." instead of no response at
* all.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("Only a dummy manager for helping disabling managers.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/EmotesManager.java
===================================================================
--- trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -17,7 +17,7 @@
/**
* The emotes manager reacts on emotes.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
* @todo add timestamps to attitude changing commands, so players cannot simply fill their attitude by hugging Cherbot.
*/
@Manager.Description("CherBot can react on some emotes.")
Modified: trunk/src/net/sf/cherbot/ExampleTestCase.java
===================================================================
--- trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -11,7 +11,7 @@
/**
* Class for a single Test Case that checks an example String against a regular expression.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public final class ExampleTestCase extends TestCase {
// Let not override this class, it wouldn't work as expected because runTest() has changed very much.
Modified: trunk/src/net/sf/cherbot/ExampleTester.java
===================================================================
--- trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -12,7 +12,7 @@
/**
* Class that tests wether the examples given on the Commands really match the regular expressions.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public final class ExampleTester extends TestSuite {
Modified: trunk/src/net/sf/cherbot/GreetingsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -12,7 +12,7 @@
/**
* Class to manage greetings.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("Greets players as soon as they enter, works like a kind of \"CherBot Sonar\" - you enter and instantly know wether CherBot is online.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/GroupManager.java
===================================================================
--- trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -24,7 +24,7 @@
/**
* Manager for groups.
* If the mail manager is installed, messages can be sent to all members of a group as well.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("The GroupManager managers groups of players. Please read this carefully: Every modern RPG is very likely to get a really good clan feature of its own. The GroupManager in Cherbot is in no way a replacement for a good clan feature. It's only an interesting feature for testing what commands a magic clan secretary would have to understand. It's very likely that this feature will get removed from CherBot one day.")
@Manager.Features({ "Apply for group creation", "Manage a group", "Manage the status of group members", "Invite players to a group", "Confirm group membership", "Send messages to all members of a group" })
@@ -465,7 +465,7 @@
/**
* A Group.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private static class Group implements Serializable {
@@ -1186,7 +1186,7 @@
/**
* A member.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private class Member implements Serializable {
@@ -1307,7 +1307,7 @@
/**
* Member state.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private enum State {
Modified: trunk/src/net/sf/cherbot/LamentsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -13,7 +13,7 @@
/**
* Class to manage laments killings.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("You can have Cherbot lament you or other players when they die.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/MailManager.java
===================================================================
--- trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -21,7 +21,7 @@
/**
* Mail Manager.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("This manager allows players to leave a message for other players.")
@Manager.Features({
@@ -37,7 +37,7 @@
/**
* Mail.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private class Mail implements Comparable<Mail> {
Modified: trunk/src/net/sf/cherbot/Manager.java
===================================================================
--- trunk/src/net/sf/cherbot/Manager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/Manager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -54,7 +54,7 @@
* Synchronization of methods is not neccessary. The bot has basically only two threads, which could run on a single group of Manager instances. It's
* the bot's task to synchronize access to Managers for these Threads. Also, that's the reason why it's possible to globally know who the current actor
* is.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
* @todo move some Permission handling to this class to make it possible to list the permissions supported by the manager and to warn on unknown
* permissions in CherBotSecurityManager
*/
@@ -522,7 +522,7 @@
* A command understood by the bot.
* It is basically a regular expression, a method ({@link Command#perform(String)} that checks for the regular expression and invokes another
* method ({@link Command#performImpl()}) if the regular expression matches.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
* @todo eventually move permission handling here, that would probably be more secure and it would be more informative because a centralized
* interface for querying the required permissions would be available.
* Note: a single Command instance is <em>not thread-safe</em>.
@@ -666,7 +666,7 @@
/**
* An Loader module.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public abstract class IOModule {
@@ -696,7 +696,7 @@
/**
* A Text file loader / saver module.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
* @todo think about making three classes out of this: add two inner classes for not mixing up load and save.
*/
public abstract class AbstractTextIOModule<Data> extends IOModule implements Iterable<Data> {
@@ -794,7 +794,7 @@
/**
* Class for IO using text.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
protected abstract class TextIOModule extends AbstractTextIOModule<String> {
@@ -838,7 +838,7 @@
/**
* Iterator for reading input lines.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private class ReadIterator implements Iterator<String> {
@@ -905,7 +905,7 @@
/**
* Class for IO using regular expression patterns.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
protected abstract class RegexIOModule extends AbstractTextIOModule<Matcher> {
@@ -961,7 +961,7 @@
/**
* Iterator for matching input lines.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private class MatcherIterator implements Iterator<Matcher> {
@@ -1032,7 +1032,7 @@
/**
* IOModule for loading / saving a collection.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
protected final class CollectionIOModule extends TextIOModule {
@@ -1084,7 +1084,7 @@
/**
* Converter used by MapIOMOdule.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
protected static abstract class Converter<ValueType> {
@@ -1171,7 +1171,7 @@
/**
* Converter for Enums.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
protected static class EnumConverter<En extends Enum> extends Converter<En> {
@@ -1206,7 +1206,7 @@
/**
* IOModule for loading / saving a Map.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
protected final class MapIOModule<ValueType> extends RegexIOModule {
@@ -1293,7 +1293,7 @@
/**
* Annotation for Description of Commands.
* Use this annotation to annotate a Command's performImpl method.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Retention(RUNTIME)
@Target({ METHOD, TYPE })
@@ -1311,7 +1311,7 @@
/**
* Annotation for Examples of Commands.
* Use this annotation to annotate a Command's performImpl method.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Retention(RUNTIME)
@Target({ METHOD })
@@ -1328,7 +1328,7 @@
/**
* Annotation to document the permission required to execute a command.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Retention(RUNTIME)
@Target({ METHOD })
@@ -1344,7 +1344,7 @@
/**
* Annotatin to document the features of a module / Manager
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Retention(RUNTIME)
@Target({ TYPE })
Modified: trunk/src/net/sf/cherbot/ManagerDocumenter.java
===================================================================
--- trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -16,7 +16,7 @@
/**
* Extracts the documentation from a Manager and writes it to an XML file for further processing.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public class ManagerDocumenter {
Modified: trunk/src/net/sf/cherbot/NoSuchPlayerException.java
===================================================================
--- trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -8,7 +8,7 @@
/**
* RuntimeException that is thrown if a player is used but not known to CherBot.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public class NoSuchPlayerException extends CherBotException {
Modified: trunk/src/net/sf/cherbot/NoobManager.java
===================================================================
--- trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -14,7 +14,7 @@
/**
* Manages some Noob help.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("This module manages some information that's interesting especially for newbies.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/PlayerManager.java
===================================================================
--- trunk/src/net/sf/cherbot/PlayerManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/PlayerManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -32,7 +32,7 @@
* It keeps track of players.
* It can be asked if he knows a player.
* Also it can be asked what level a certain player has.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
* @todo tell when a player was last seen online.
*/
@Manager.Description("Manages overall player information. Keeps track of player names, so everywhere you insert a player name in a command, CherBot can make sure that the player name is correct. Also keeps track of all player's levels and manages a ranking. Detects after a while that a player levelled and can congratulate on this.")
@@ -865,7 +865,7 @@
/**
* Enum for genders.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private static enum Gender {
Modified: trunk/src/net/sf/cherbot/PollManager.java
===================================================================
--- trunk/src/net/sf/cherbot/PollManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/PollManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -31,7 +31,7 @@
* A Poll has a unique number to distinguish the poll from others, a title and a text.
* Also, a Poll has a number of votes each player can give.
* For a Poll, at least two Choices exist, each with a choice index number (starting at 1 per Poll) and a text.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("With the poll manager, you can manage and run polls.")
@Manager.Features({
@@ -321,7 +321,7 @@
/**
* The state of a poll.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private static enum PollState {
@@ -334,7 +334,7 @@
* Design question: It could be possible to a) store each player with its vote or b) store a vote count for each choice and a set of players that
* voted.
* I chose b) because it is closer to real elections and anonymous.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private class Poll implements Comparable<Poll> {
Modified: trunk/src/net/sf/cherbot/RodBabyManager.java
===================================================================
--- trunk/src/net/sf/cherbot/RodBabyManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/RodBabyManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -11,7 +11,7 @@
/**
* A manager to keep track of rod babies.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("This module manages a black list of rod babies. For most players of no interest, requested feature by some players. A rod baby is a user with magic devices as main skill and unbalanced other skills. A rod baby is a player whose main level is magic devices, where the magic devices level outlevels all other skill levels by far and who still nearly only kills with a rod, horn or heavy rod. Some hlps don't like rod babies.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
===================================================================
--- trunk/src/net/sf/cherbot/RodBabyWannabeManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/RodBabyWannabeManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -11,7 +11,7 @@
/**
* A manager to keep track of rod baby wannabes.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("This module manages a black list of rod baby wannabes. For most players of no interest, requested feature by some players. A rod baby wannabe is a user who wants to become a rod baby and begs for rods and horns.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/SalesManager.java
===================================================================
--- trunk/src/net/sf/cherbot/SalesManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/SalesManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -12,7 +12,7 @@
import java.util.regex.Matcher;
/**
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("Allows to place sales adds.")
@Manager.Features({
@@ -29,7 +29,7 @@
/**
* Entry.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
private static class Entry {
Modified: trunk/src/net/sf/cherbot/SmutException.java
===================================================================
--- trunk/src/net/sf/cherbot/SmutException.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/SmutException.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -8,7 +8,7 @@
/**
* Exception that is thrown if someone uses smut.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public class SmutException extends SecurityException {
Modified: trunk/src/net/sf/cherbot/SmutManager.java
===================================================================
--- trunk/src/net/sf/cherbot/SmutManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/SmutManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -12,7 +12,7 @@
/**
* SmutManager: manages a list of regular expressions that are not allowed.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("Cherbot manages a list of regular expressions to censor itself.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/TestManager.java
===================================================================
--- trunk/src/net/sf/cherbot/TestManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/TestManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -11,7 +11,7 @@
/**
* Test Manager.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("This module is used to test Cherbot.")
@Manager.Features({ "Manage the list of Cherbot testers." })
Modified: trunk/src/net/sf/cherbot/TimeManager.java
===================================================================
--- trunk/src/net/sf/cherbot/TimeManager.java 2006-10-28 22:58:11 UTC (rev 18)
+++ trunk/src/net/sf/cherbot/TimeManager.java 2006-10-28 23:03:23 UTC (rev 19)
@@ -12,7 +12,7 @@
/**
* Manager to manage the current game time within Cherbot.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Manager.Description("This manager is only internally used for CherBot's time.")
@Manager.Features("Cherbot now also knows about the game time and records that time as well wherever timestamps are taken.")
@@ -214,7 +214,7 @@
/**
* A game time.
- * @author $Author: chris $
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public static class Time implements Comparable<Time>, Serializable {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:58:47
|
Revision: 18
http://svn.sourceforge.net/cherbot/?rev=18&view=rev
Author: christianhujer
Date: 2006-10-28 15:58:11 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Removed unused version information from files.
Modified Paths:
--------------
trunk/src/net/sf/cherbot/BlackListManager.java
trunk/src/net/sf/cherbot/CherBot.java
trunk/src/net/sf/cherbot/CherBotException.java
trunk/src/net/sf/cherbot/CherBotLogger.java
trunk/src/net/sf/cherbot/CherBotPermission.java
trunk/src/net/sf/cherbot/CherBotSecurityManager.java
trunk/src/net/sf/cherbot/CollectionsManager.java
trunk/src/net/sf/cherbot/CommType.java
trunk/src/net/sf/cherbot/CrimeManager.java
trunk/src/net/sf/cherbot/CronManager.java
trunk/src/net/sf/cherbot/DeathsManager.java
trunk/src/net/sf/cherbot/DummyManagerProxy.java
trunk/src/net/sf/cherbot/EmotesManager.java
trunk/src/net/sf/cherbot/ExampleTestCase.java
trunk/src/net/sf/cherbot/ExampleTester.java
trunk/src/net/sf/cherbot/GreetingsManager.java
trunk/src/net/sf/cherbot/GroupManager.java
trunk/src/net/sf/cherbot/LamentsManager.java
trunk/src/net/sf/cherbot/MailManager.java
trunk/src/net/sf/cherbot/Manager.java
trunk/src/net/sf/cherbot/ManagerDocumenter.java
trunk/src/net/sf/cherbot/NoSuchPlayerException.java
trunk/src/net/sf/cherbot/NoobManager.java
trunk/src/net/sf/cherbot/PlayerManager.java
trunk/src/net/sf/cherbot/PollManager.java
trunk/src/net/sf/cherbot/RodBabyManager.java
trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
trunk/src/net/sf/cherbot/SalesManager.java
trunk/src/net/sf/cherbot/SmutException.java
trunk/src/net/sf/cherbot/SmutManager.java
trunk/src/net/sf/cherbot/TestManager.java
trunk/src/net/sf/cherbot/TimeManager.java
Modified: trunk/src/net/sf/cherbot/BlackListManager.java
===================================================================
--- trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -12,18 +12,12 @@
/**
* Manages a black list of users that may not use Cherbot.
* @author $Author: chris $
- * @version $Id: BlackListManager.java,v 1.13 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("Blacklist of players that are denied to use Cherbot.")
@Manager.Features({ "Blacklist players that are denied to use Cherbot." })
public class BlackListManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.13 $";
-
- /**
* Permission to modify blacklist.
*/
private static final String PERM_BLACKLIST = "Blacklist";
@@ -135,52 +129,3 @@
} // IO Modules
} // class BlackListManager
-
-/*
- * $Log: BlackListManager.java,v $
- * Revision 1.13 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.12 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.11 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- * Revision 1.10 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.9 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.8 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.7 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.6 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.5 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.4 2005/03/15 22:41:26 chris
- * Improved regexes.
- *
- * Revision 1.3 2005/03/15 11:43:45 chris
- * Added manager description.
- *
- * Revision 1.2 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.1 2005/03/14 16:55:00 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/CherBot.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -25,7 +25,6 @@
/**
* A Daimonin bot.
* @author $Author: chris $
- * @version $Id: CherBot.java,v 1.31 2005/11/09 20:30:00 chris Exp $
* @todo split this class into four: A generic base class for robots, a class handling Daimonin-specific stuff, an interface for network
* implementations implemted by the latter, and this specific CherBot subclass.
* @todo perhaps add a graphical interface.
@@ -485,7 +484,6 @@
/**
* The internal manager.
* @author $Author: chris $
- * @version $Revision: 1.31 $
*/
@Manager.Description("Manages the other modules and gives some general information about the bot.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/CherBotException.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -11,21 +11,10 @@
* These exceptions are runtime exceptions thrown if actors use illegal arguments or commands in a wrong state.
* The message of such an exception must be a message meaningful to the end user (bot user).
* @author $Author: chris $
- * @version $Id: CherBotException.java,v 1.3 2005/03/18 17:35:42 chris Exp $
*/
public class CherBotException extends RuntimeException {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.3 $";
-
- /**
- * Serial Version.
- */
- private static final long serialVersionUID = 1L;
-
- /**
* Create a CherBotException.
* @param msg Message (displayed to end user)
*/
@@ -34,24 +23,3 @@
}
} // class CherBotException
-
-/*
- * $Log: CherBotException.java,v $
- * Revision 1.3 2005/03/18 17:35:42 chris
- * Fixed cocumentation
- *
- * Revision 1.2 2005/03/14 03:06:20 chris
- * Fixed copyright.
- *
- * Revision 1.1 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- */
Modified: trunk/src/net/sf/cherbot/CherBotLogger.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -13,16 +13,10 @@
/**
* This class is used for logging within Cherbot.
* @author $Author: chris $
- * @version $Id: CherBotLogger.java,v 1.2 2005/08/31 13:55:28 chris Exp $
*/
public class CherBotLogger {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.2 $";
-
- /**
* The logger.
*/
private PrintWriter log;
@@ -93,15 +87,3 @@
}
} // class CherBotLogger
-
-/*
- * $Log: CherBotLogger.java,v $
- * Revision 1.2 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.1 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- */
Modified: trunk/src/net/sf/cherbot/CherBotPermission.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -11,16 +11,10 @@
/**
* Permissions to access the CherBot.
* @author $Author: chris $
- * @version $Id: CherBotPermission.java,v 1.1 2005/03/01 09:14:02 chris Exp $
*/
public class CherBotPermission extends BasicPermission {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.1 $";
-
- /**
* Serial Version.
*/
private static final long serialVersionUID = 1L;
@@ -34,10 +28,3 @@
}
} // class CherBotPermission
-
-/*
- * $Log: CherBotPermission.java,v $
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/CherBotSecurityManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -27,18 +27,12 @@
* SecurityManager for CherBot.
* The CherBotSecurityManager manages the permissions granted for the individual modules and actions.
* @author $Author: chris $
- * @version $Id: CherBotSecurityManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("Cherbot has a sophisticated security system, derived from Java. It is comparable with JAAS, the security concept used in Java application servers. This module controls security.")
@Manager.Features({ "Grant permissions", "Revoke permissions", "List permissions" })
public class CherBotSecurityManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.17 $";
-
- /**
* Permission to grant permissions.
*/
private static final String PERM_GRANT = "Security.Grant";
@@ -321,78 +315,3 @@
}
} // class CherBotSecurityManager
-
-/*
- * $Log: CherBotSecurityManager.java,v $
- * Revision 1.17 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.16 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.15 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- * Revision 1.14 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.13 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.12 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.11 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.10 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.9 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.8 2005/03/15 11:43:45 chris
- * Added manager description.
- *
- * Revision 1.7 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.4 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.3 2005/03/01 10:43:37 chris
- * Added list other facility.
- * Beautified source code.
- * Added some documentation.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/CollectionsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -19,7 +19,6 @@
/**
* Manager for collectors.
* @author $Author: chris $
- * @version $Id: CollectionsManager.java,v 1.21 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("This module allows players to manage a list of items they collect. You can also ask what other players collect or who collects a certain item. Like most modules, querying works also if the queried player is not online.")
@Manager.Features({
@@ -30,11 +29,6 @@
public class CollectionsManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.21 $";
-
- /**
* Permission to collect.
*/
private static final String PERM_COLLECT = "Collections.Edit";
@@ -42,7 +36,6 @@
/**
* Entry.
* @author $Author: chris $
- * @version $Revision: 1.21 $
*/
private static class Entry implements Comparable<Entry> {
@@ -579,91 +572,3 @@
} // IO Modules
} // class CollectorsManager
-
-/*
- * $Log: CollectionsManager.java,v $
- * Revision 1.21 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.20 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.19 2005/04/26 10:49:45 chris
- * omitted 'want' from C_COLLECT since it has some modal character and is used elsewhere.
- *
- * Revision 1.18 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.17 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.16 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.15 2005/03/30 22:12:59 chris
- * Listing online collectors.
- *
- * Revision 1.14 2005/03/25 10:25:13 chris
- * Implemented online collections and listening.
- *
- * Revision 1.13 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.12 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.11 2005/03/15 11:44:02 chris
- * Made Cherbot less picky on apostrophes.
- *
- * Revision 1.10 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.9 2005/03/14 03:13:07 chris
- * Improved regular expressions.
- * Added class annotations.
- * Added "I collect nothing" command.
- *
- * Revision 1.8 2005/03/10 14:18:30 chris
- * Improved regular expressions.
- *
- * Revision 1.7 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.6 2005/03/05 11:18:11 chris
- * Fixed serious security bug.
- *
- * Revision 1.5 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.4 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.3 2005/03/01 10:59:52 chris
- * Improved source format.
- * Added more commands.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/CommType.java
===================================================================
--- trunk/src/net/sf/cherbot/CommType.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CommType.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -15,7 +15,6 @@
/**
* Enumeration for known communication types, along with matching facility.
* @author $Author: chris $
- * @version $Revision: 1.4 $
*/
public enum CommType {
@@ -61,24 +60,3 @@
}
} // enum CommType
-
-/*
- * $Log: CommType.java,v $
- * Revision 1.4 2005/11/15 20:50:07 chris
- * Fixed some behaviour.
- *
- * Revision 1.3 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.2 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.1 2005/03/03 18:22:22 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/CrimeManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -18,7 +18,6 @@
/**
* Class to manage crimes.
* @author $Author: chris $
- * @version $Revision: 1.22 $
* @todo timestamps, victims, eyewitnesses.
*/
@Manager.Description("Manages crimes and criminals.")
@@ -31,11 +30,6 @@
public class CrimeManager extends Manager {
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.22 $";
-
- /**
* Crimetypes.
*/
private SortedSet<String> crimeTypes = new TreeSet<String>();
@@ -393,13 +387,9 @@
///** Class for a crime type.
// * @author $Author: chris $
-// * @version $Revision: 1.22 $
// */
//class CrimeType {
//
-// /** Version Information. */
-// public static final String version = "$Revision: 1.22 $";
-//
// /** ID of this CrimeType. */
// String id;
//
@@ -416,13 +406,9 @@
//
///** Class for a crime.
// * @author $Author: chris $
-// * @version $Revision: 1.22 $
// */
//class Crime {
//
-// /** Version Information. */
-// public static final String version = "$Revision: 1.22 $";
-//
// /** The type of this Crime.
// * Should match with an id from a CrimeType.
// */
@@ -491,92 +477,3 @@
// }
//
//} // class Crime
-
-/*
- * $Log: CrimeManager.java,v $
- * Revision 1.22 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.21 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.20 2005/04/26 10:50:06 chris
- * Fixed regex bug.
- *
- * Revision 1.19 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.18 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.17 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.16 2005/03/30 22:14:49 chris
- * Inform offline criminals, list online criminals.
- *
- * Revision 1.15 2005/03/25 10:28:25 chris
- * Imrpoved commands.
- *
- * Revision 1.14 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.13 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.12 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.11 2005/03/15 11:44:02 chris
- * Made Cherbot less picky on apostrophes.
- *
- * Revision 1.10 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.9 2005/03/14 03:46:42 chris
- * Improved regexp.
- *
- * Revision 1.8 2005/03/14 03:11:27 chris
- * Added class annotations.
- * Fixed output of crime count.
- *
- * Revision 1.7 2005/03/10 21:11:33 chris
- * Added list reported crimes command.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/04 11:35:10 chris
- * Fixed minor documentation bugs.
- *
- * Revision 1.4 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.3 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/CronManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -14,18 +14,12 @@
* Manager to manage events (commands etc.) that need to be scheduled in some timed intervals.
* It is mainly a proxy handling all manager interaction.
* @author $Author: chris $
- * @version $Id: CronManager.java,v 1.2 2005/09/13 21:00:35 chris Exp $
*/
@Manager.Description("This manager is used for scheduling commands in regular intervals.")
@Manager.Features("This manager is similar to the cron command in UNIX or the task planner in Windows.")
public class CronManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.2 $";
-
- /**
* The TickEvents.
*/
private final List<CronTask> cronTasks = new ArrayList<CronTask>();
Modified: trunk/src/net/sf/cherbot/DeathsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -15,7 +15,6 @@
* A class that manages deaths.
* Each time a player dies, his/her death is counted.
* @author $Author: chris $
- * @version $Id: DeathsManager.java,v 1.16 2005/11/09 20:30:00 chris Exp $
* @todo statistics and rankings
*/
@Manager.Description("The death manager recognizes that a player died. It counts each death of each player and manages two statistics. One for the deaths of each player and one of the kills from each mob.")
@@ -26,11 +25,6 @@
public class DeathsManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.16 $";
-
- /**
* Death count.
*/
private Map<String, int[]> deaths = new HashMap<String, int[]>();
@@ -208,69 +202,3 @@
} // IO Modules
} // class DeathsManager
-
-/*
- * $Log: DeathsManager.java,v $
- * Revision 1.16 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.15 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.14 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.13 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.12 2005/03/30 22:16:02 chris
- * Implemented level-relative kill ranking.
- *
- * Revision 1.11 2005/03/25 10:28:12 chris
- * Improved commands.
- *
- * Revision 1.10 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.9 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.8 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.7 2005/03/14 03:10:15 chris
- * Added class annotations.
- * Improved regexps.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/05 11:18:27 chris
- * Removed superfluous synchronization.
- *
- * Revision 1.4 2005/03/04 14:53:43 chris
- * Fixed bug in reading regexp.
- *
- * Revision 1.3 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.2 2005/03/03 22:56:23 chris
- * Improved code, fixed regexp
- *
- * Revision 1.1 2005/03/03 18:22:22 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/DummyManagerProxy.java
===================================================================
--- trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -12,7 +12,6 @@
* This allows players to invoke commands from the removed module with a meaningful response like "This dommand was removed." instead of no response at
* all.
* @author $Author: chris $
- * @version $Id: DummyManagerProxy.java,v 1.7 2005/08/31 13:55:28 chris Exp $
*/
@Manager.Description("Only a dummy manager for helping disabling managers.")
@Manager.Features({
@@ -21,11 +20,6 @@
public class DummyManagerProxy extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.7 $";
-
- /**
* Create a DummyManager.
* @param cherBot CherBot to create DummyManager for
*/
@@ -52,39 +46,3 @@
}
} // class DUmmyManagerProxy
-
-/*
- * $Log: DummyManagerProxy.java,v $
- * Revision 1.7 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.6 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.5 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.4 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.3 2005/03/14 03:10:02 chris
- * Added annotations.
- *
- * Revision 1.2 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.1 2005/03/05 20:18:48 chris
- * DummyManagerProxy.java
- *
- */
Modified: trunk/src/net/sf/cherbot/EmotesManager.java
===================================================================
--- trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -18,7 +18,6 @@
/**
* The emotes manager reacts on emotes.
* @author $Author: chris $
- * @version $Id: EmotesManager.java,v 1.10 2005/11/09 20:30:00 chris Exp $
* @todo add timestamps to attitude changing commands, so players cannot simply fill their attitude by hugging Cherbot.
*/
@Manager.Description("CherBot can react on some emotes.")
@@ -26,11 +25,6 @@
public class EmotesManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.10 $";
-
- /**
* Permission to modify lovers and haters.
*/
private static final String PERM_EMOTES = "Emotes";
@@ -804,43 +798,3 @@
} // IOModules
} // class EmotesManager
-
-/*
- * $Log: EmotesManager.java,v $
- * Revision 1.10 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.9 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.8 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.7 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.6 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.5 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.4 2005/03/19 12:33:32 chris
- * Big update with emotions.
- *
- * Revision 1.3 2005/03/18 17:35:42 chris
- * Fixed cocumentation
- *
- * Revision 1.2 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.1 2005/03/14 03:06:03 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/ExampleTestCase.java
===================================================================
--- trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -12,17 +12,11 @@
/**
* Class for a single Test Case that checks an example String against a regular expression.
* @author $Author: chris $
- * @version $Revision: 1.3 $
*/
public final class ExampleTestCase extends TestCase {
// Let not override this class, it wouldn't work as expected because runTest() has changed very much.
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.3 $";
-
- /**
* Pattern to check.
*/
private Pattern pat;
@@ -78,18 +72,3 @@
}
} // class ExampleTestCase
-
-/*
- * $Log: ExampleTestCase.java,v $
- * Revision 1.3 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.2 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.1 2005/03/16 11:36:18 chris
- * Added tests that verify that the examples work.
- *
- */
Modified: trunk/src/net/sf/cherbot/ExampleTester.java
===================================================================
--- trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -13,16 +13,10 @@
/**
* Class that tests wether the examples given on the Commands really match the regular expressions.
* @author $Author: chris $
- * @version $Id: ExampleTester.java,v 1.2 2005/08/31 13:55:28 chris Exp $
*/
public final class ExampleTester extends TestSuite {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.2 $";
-
- /**
* Returns the TestSuite.
* @return TestSuite
*/
@@ -90,15 +84,3 @@
}
} // class ExampleTester
-
-/*
- * $Log: ExampleTester.java,v $
- * Revision 1.2 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.1 2005/03/16 11:36:18 chris
- * Added tests that verify that the examples work.
- *
- */
Modified: trunk/src/net/sf/cherbot/GreetingsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -13,7 +13,6 @@
/**
* Class to manage greetings.
* @author $Author: chris $
- * @version $Revision: 1.18 $
*/
@Manager.Description("Greets players as soon as they enter, works like a kind of \"CherBot Sonar\" - you enter and instantly know wether CherBot is online.")
@Manager.Features({
@@ -24,11 +23,6 @@
public class GreetingsManager extends Manager {
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.18 $";
-
- /**
* Map for players / greetings.
*/
private Map<String, String> greetings = new HashMap<String, String>();
@@ -190,80 +184,3 @@
} // IO Modules
} // class GreetingsManager
-
-/*
- * $Log: GreetingsManager.java,v $
- * Revision 1.18 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.17 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.16 2005/04/26 10:50:18 chris
- * Improved regex.
- *
- * Revision 1.15 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.14 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.13 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.12 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.11 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.10 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.9 2005/03/15 11:44:02 chris
- * Made Cherbot less picky on apostrophes.
- *
- * Revision 1.8 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.7 2005/03/14 03:09:53 chris
- * Added class annotations.
- * Removed permission check for setting own greeting.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/05 11:19:06 chris
- * Removed superfluous synchronization.
- *
- * Revision 1.4 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.3 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/GroupManager.java
===================================================================
--- trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -25,7 +25,6 @@
* Manager for groups.
* If the mail manager is installed, messages can be sent to all members of a group as well.
* @author $Author: chris $
- * @version $Id: GroupManager.java,v 1.19 2005/11/20 19:08:53 chris Exp $
*/
@Manager.Description("The GroupManager managers groups of players. Please read this carefully: Every modern RPG is very likely to get a really good clan feature of its own. The GroupManager in Cherbot is in no way a replacement for a good clan feature. It's only an interesting feature for testing what commands a magic clan secretary would have to understand. It's very likely that this feature will get removed from CherBot one day.")
@Manager.Features({ "Apply for group creation", "Manage a group", "Manage the status of group members", "Invite players to a group", "Confirm group membership", "Send messages to all members of a group" })
@@ -467,7 +466,6 @@
/**
* A Group.
* @author $Author: chris $
- * @version $Revision: 1.19 $
*/
private static class Group implements Serializable {
@@ -1189,16 +1187,10 @@
/**
* A member.
* @author $Author: chris $
- * @version $Revision: 1.19 $
*/
private class Member implements Serializable {
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.19 $";
-
- /**
* Serial Version.
*/
private static final long serialVersionUID = 1L;
@@ -1316,7 +1308,6 @@
/**
* Member state.
* @author $Author: chris $
- * @version $Revision: 1.19 $
*/
private enum State {
@@ -1424,69 +1415,3 @@
}
} // class GroupManager
-
-/*
- * $Log: GroupManager.java,v $
- * Revision 1.19 2005/11/20 19:08:53 chris
- * Fixed NPE bug when setting state to none.
- *
- * Revision 1.18 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.17 2005/09/13 21:00:35 chris
- * Small improvements.
- *
- * Revision 1.16 2005/09/10 11:20:41 chris
- * Hidden groups were listed on Wiki. This was wrong. Hidden groups are not shown in the wiki now.
- *
- * Revision 1.15 2005/09/06 22:18:17 chris
- * Another NPE bugfix.
- *
- * Revision 1.14 2005/09/06 22:00:23 chris
- * Fixed group npe bug.
- *
- * Revision 1.13 2005/09/06 21:53:14 chris
- * Added basic cron manager. Improved Group manager to include wiki output.
- *
- * Revision 1.12 2005/09/02 21:12:24 chris
- * Fixed founder state had no admin rights. Admin rights now include founder.
- *
- * Revision 1.11 2005/08/31 13:56:39 chris
- * Improved member count.
- *
- * Revision 1.10 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.9 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- * Revision 1.8 2005/04/26 10:52:54 chris
- * Much work with commands, memberships and admin membership information.
- *
- * Revision 1.7 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.6 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.5 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.4 2005/03/30 22:16:41 chris
- * New commands to query members.
- *
- * Revision 1.3 2005/03/25 14:27:07 chris
- * Offline players are mailed now.
- *
- * Revision 1.2 2005/03/25 10:25:37 chris
- * Improved responses and commands for ease of use.
- *
- * Revision 1.1 2005/03/23 12:44:39 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/LamentsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -14,7 +14,6 @@
/**
* Class to manage laments killings.
* @author $Author: chris $
- * @version $Revision: 1.16 $
*/
@Manager.Description("You can have Cherbot lament you or other players when they die.")
@Manager.Features({
@@ -23,11 +22,6 @@
public class LamentsManager extends Manager {
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.16 $";
-
- /**
* Map for players / laments.
*/
private Map<String, String> laments = new HashMap<String, String>();
@@ -204,74 +198,3 @@
} // IO Modules
} // class LamentsManager
-
-/*
- * $Log: LamentsManager.java,v $
- * Revision 1.16 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.15 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.14 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.13 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.12 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.11 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.10 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.9 2005/03/15 11:44:02 chris
- * Made Cherbot less picky on apostrophes.
- *
- * Revision 1.8 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.7 2005/03/14 03:09:25 chris
- * Added class annotations.
- * Removed permission for setting own laments message.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/05 11:19:20 chris
- * Removed superfluous synchronization.
- *
- * Revision 1.4 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.3 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/MailManager.java
===================================================================
--- trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -22,7 +22,6 @@
/**
* Mail Manager.
* @author $Author: chris $
- * @version $Id: MailManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("This manager allows players to leave a message for other players.")
@Manager.Features({
@@ -32,11 +31,6 @@
public class MailManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.17 $";
-
- /**
* Date formattter.
*/
private DateFormat dateFormat = DateFormat.getDateTimeInstance(DEFAULT, DEFAULT, ENGLISH);
@@ -44,7 +38,6 @@
/**
* Mail.
* @author $Author: chris $
- * @version $Revision: 1.17 $
*/
private class Mail implements Comparable<Mail> {
@@ -401,63 +394,3 @@
} // IO Modules
} // class MailManager
-
-/*
- * $Log: MailManager.java,v $
- * Revision 1.17 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.16 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.15 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- * Revision 1.14 2005/05/01 14:26:51 chris
- * Fixed bug with read mail in save file.
- *
- * Revision 1.13 2005/04/26 10:50:38 chris
- * unread mail.
- *
- * Revision 1.12 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.11 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.10 2005/03/30 22:17:01 chris
- * Delete all mail, tell correct nr when deleting.
- *
- * Revision 1.9 2005/03/25 14:26:52 chris
- * Improved deletion response.
- *
- * Revision 1.8 2005/03/25 10:29:43 chris
- * Improved commands, added generic mail feature.
- *
- * Revision 1.7 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.6 2005/03/19 12:33:09 chris
- * Improved commands.
- * Removed superfluous old code.
- * Added Mail documentation.
- *
- * Revision 1.5 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.4 2005/03/15 22:41:26 chris
- * Improved regexes.
- *
- * Revision 1.3 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.2 2005/03/14 16:55:18 chris
- * Added public method for sending mail.
- *
- * Revision 1.1 2005/03/14 03:06:03 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/Manager.java
===================================================================
--- trunk/src/net/sf/cherbot/Manager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/Manager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -55,7 +55,6 @@
* the bot's task to synchronize access to Managers for these Threads. Also, that's the reason why it's possible to globally know who the current actor
* is.
* @author $Author: chris $
- * @version $Id: Manager.java,v 1.28 2005/11/15 20:50:07 chris Exp $
* @todo move some Permission handling to this class to make it possible to list the permissions supported by the manager and to warn on unknown
* permissions in CherBotSecurityManager
*/
@@ -524,7 +523,6 @@
* It is basically a regular expression, a method ({@link Command#perform(String)} that checks for the regular expression and invokes another
* method ({@link Command#performImpl()}) if the regular expression matches.
* @author $Author: chris $
- * @version $Id: Manager.java,v 1.28 2005/11/15 20:50:07 chris Exp $
* @todo eventually move permission handling here, that would probably be more secure and it would be more informative because a centralized
* interface for querying the required permissions would be available.
* Note: a single Command instance is <em>not thread-safe</em>.
@@ -669,7 +667,6 @@
/**
* An Loader module.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
public abstract class IOModule {
@@ -700,7 +697,6 @@
/**
* A Text file loader / saver module.
* @author $Author: chris $
- * @version $Revision: 1.28 $
* @todo think about making three classes out of this: add two inner classes for not mixing up load and save.
*/
public abstract class AbstractTextIOModule<Data> extends IOModule implements Iterable<Data> {
@@ -799,7 +795,6 @@
/**
* Class for IO using text.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected abstract class TextIOModule extends AbstractTextIOModule<String> {
@@ -844,7 +839,6 @@
/**
* Iterator for reading input lines.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
private class ReadIterator implements Iterator<String> {
@@ -912,7 +906,6 @@
/**
* Class for IO using regular expression patterns.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected abstract class RegexIOModule extends AbstractTextIOModule<Matcher> {
@@ -969,7 +962,6 @@
/**
* Iterator for matching input lines.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
private class MatcherIterator implements Iterator<Matcher> {
@@ -1041,7 +1033,6 @@
/**
* IOModule for loading / saving a collection.
* @author $Author: chris $
- * @version $Version$
*/
protected final class CollectionIOModule extends TextIOModule {
@@ -1094,7 +1085,6 @@
/**
* Converter used by MapIOMOdule.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected static abstract class Converter<ValueType> {
@@ -1182,7 +1172,6 @@
/**
* Converter for Enums.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected static class EnumConverter<En extends Enum> extends Converter<En> {
@@ -1218,7 +1207,6 @@
/**
* IOModule for loading / saving a Map.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected final class MapIOModule<ValueType> extends RegexIOModule {
@@ -1306,7 +1294,6 @@
* Annotation for Description of Commands.
* Use this annotation to annotate a Command's performImpl method.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
@Retention(RUNTIME)
@Target({ METHOD, TYPE })
@@ -1325,7 +1312,6 @@
* Annotation for Examples of Commands.
* Use this annotation to annotate a Command's performImpl method.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
@Retention(RUNTIME)
@Target({ METHOD })
@@ -1343,7 +1329,6 @@
/**
* Annotation to document the permission required to execute a command.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
@Retention(RUNTIME)
@Target({ METHOD })
@@ -1360,7 +1345,6 @@
/**
* Annotatin to document the features of a module / Manager
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
@Retention(RUNTIME)
@Target({ TYPE })
@@ -1375,109 +1359,3 @@
} // @interface Features
} // class Manager
-
-/*
- * $Log: Manager.java,v $
- * Revision 1.28 2005/11/15 20:50:07 chris
- * Fixed some behaviour.
- *
- * Revision 1.27 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.26 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.25 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.24 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.23 2005/03/30 22:17:23 chris
- * new converters, get level.
- *
- * Revision 1.22 2005/03/25 14:26:29 chris
- * Fixed bugs inmail feature, added inform variant.
- *
- * Revision 1.21 2005/03/25 10:24:51 chris
- * Improved inform.
- *
- * Revision 1.20 2005/03/25 10:24:05 chris
- * Implemented mail and inform.
- *
- * Revision 1.19 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.18 2005/03/19 12:32:09 chris
- * Use CharSequences instead of Strings.
- *
- * Revision 1.17 2005/03/18 23:09:49 chris
- * Removed debug message.
- *
- * Revision 1.16 2005/03/18 17:35:42 chris
- * Fixed cocumentation
- *
- * Revision 1.15 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.14 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.13 2005/03/15 11:43:25 chris
- * Matcher garbage collection.
- *
- * Revision 1.12 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.11 2005/03/13 12:52:27 chris
- * Added features and module description documentation generation.
- *
- * Revision 1.10 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.9 2005/03/05 20:18:48 chris
- * DummyManagerProxy.java
- *
- * Revision 1.8 2005/03/05 11:19:30 chris
- * Added a TODO.
- *
- * Revision 1.7 2005/03/04 11:35:10 chris
- * Fixed minor documentation bugs.
- *
- * Revision 1.6 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.5 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.4 2005/03/01 10:58:14 chris
- * Fixed documentation bugs.
- *
- * Revision 1.3 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.2 2005/03/01 09:51:16 chris
- * Improved documentation.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/ManagerDocumenter.java
===================================================================
--- trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -17,16 +17,10 @@
/**
* Extracts the documentation from a Manager and writes it to an XML file for further processing.
* @author $Author: chris $
- * @version $Id: ManagerDocumenter.java,v 1.5 2005/08/31 13:55:28 chris Exp $
*/
public class ManagerDocumenter {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.5 $";
-
- /**
* Document.
*/
private static Document doc;
@@ -124,32 +118,3 @@
}
} // class ManagerDocumenter
-
-/*
- * $Log: ManagerDocumenter.java,v $
- * Revision 1.5 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.4 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.3 2005/03/15 22:36:40 chris
- * Changed to fit new command method signature.
- *
- * Revision 1.2 2005/03/13 12:52:02 chris
- * Added features and module description documentation generation.
- *
- * Revision 1.1 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- */
Modified: trunk/src/net/sf/cherbot/NoSuchPlayerException.java
===================================================================
--- trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -9,7 +9,6 @@
/**
* RuntimeException that is thrown if a player is used but not known to CherBot.
* @author $Author: chris $
- * @version $Id: NoSuchPlayerException.java,v 1.4 2005/08/31 13:55:28 chris Exp $
*/
public class NoSuchPlayerException extends CherBotException {
@@ -42,31 +41,3 @@
}
} // class NoSuchPlayerException
-
-/*
- * $Log: NoSuchPlayerException.java,v $
- * Revision 1.4 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.3 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.2 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.1 2005/03/01 22:04:52 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/NoobManager.java
===================================================================
--- trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -15,7 +15,6 @@
/**
* Manages some Noob help.
* @author $Author: chris $
- * @version $Id: NoobManager.java,v 1.17 2005/08/31 13:55:28 chris Exp $
*/
@Manager.Description("This module manages some information that's interesting especially for newbies.")
@Manager.Features({
@@ -24,11 +23,6 @@
})
public class NoobManager extends Manager {
- /**
- * Version information
- */
- public static final String version = "$Revision: 1.17 $";
-
private static final String PERM_HOWTO = "Noob.Howto";
/**
@@ -313,77 +307,3 @@
} // IO Modules
} // class NoobManager
-
-/*
- * $Log: NoobManager.java,v $
- * Revision 1.17 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.16 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.15 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.14 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.13 2005/03/25 15:25:17 chris
- * Added determiners to a regexp.
- *
- * Revision 1.12 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.11 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.10 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.9 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.8 2005/03/14 03:09:02 chris
- * Added class annotations.
- *
- * Revision 1.7 2005/03/10 21:13:06 chris
- * Improved whereis command.
- * Added where am i command.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked cod...
[truncated message content] |
|
From: <chr...@us...> - 2006-10-28 22:47:25
|
Revision: 17
http://svn.sourceforge.net/cherbot/?rev=17&view=rev
Author: christianhujer
Date: 2006-10-28 15:47:18 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Setup inspection profile.
Modified Paths:
--------------
trunk/cherbot.ipr
Modified: trunk/cherbot.ipr
===================================================================
--- trunk/cherbot.ipr 2006-10-28 22:32:24 UTC (rev 16)
+++ trunk/cherbot.ipr 2006-10-28 22:47:18 UTC (rev 17)
@@ -230,8 +230,6 @@
</inspection_tool>
<inspection_tool class="ThisEscapedInConstructor" level="WARNING" enabled="true" />
<inspection_tool class="NonThreadSafeLazyInitialization" level="WARNING" enabled="true" />
- <inspection_tool class="AssertAsName" level="WARNING" enabled="true" />
- <inspection_tool class="EnumAsName" level="WARNING" enabled="true" />
<inspection_tool class="ClassWithoutConstructor" level="WARNING" enabled="true" />
<inspection_tool class="FieldHasSetterButNoGetter" level="WARNING" enabled="true" />
<inspection_tool class="JUnitAbstractTestClassNamingConvention" level="WARNING" enabled="true">
@@ -501,6 +499,181 @@
<option name="IGNORE_JAVADOC_PERIOD" value="true" />
<option name="myAdditionalJavadocTags" value="note,warning,todo,invariant,retval" />
</inspection_tool>
+ <inspection_tool class="ClassMayBeInterface" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassNameDiffersFromFileName" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassInTopLevelPackage" level="WARNING" enabled="true" />
+ <inspection_tool class="EmptyClass" level="WARNING" enabled="true" />
+ <inspection_tool class="FinalMethodInFinalClass" level="WARNING" enabled="true" />
+ <inspection_tool class="MissingDeprecatedAnnotation" level="WARNING" enabled="true" />
+ <inspection_tool class="MissingOverrideAnnotation" level="WARNING" enabled="true" />
+ <inspection_tool class="MultipleTopLevelClassesInFile" level="WARNING" enabled="true" />
+ <inspection_tool class="NoopMethodInAbstractClass" level="WARNING" enabled="true" />
+ <inspection_tool class="ProtectedMemberInFinalClass" level="WARNING" enabled="true" />
+ <inspection_tool class="PublicConstructorInNonPublicClass" level="WARNING" enabled="true" />
+ <inspection_tool class="Singleton" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticNonFinalField" level="WARNING" enabled="true" />
+ <inspection_tool class="UtilityClass" level="WARNING" enabled="true" />
+ <inspection_tool class="UtilityClassWithPublicConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="UtilityClassWithoutPrivateConstructor" level="WARNING" enabled="true">
+ <option name="ignoreClassesWithOnlyMain" value="false" />
+ </inspection_tool>
+ <inspection_tool class="CloneInNonCloneableClass" level="WARNING" enabled="true" />
+ <inspection_tool class="CloneableImplementsClone" level="WARNING" enabled="true">
+ <option name="m_ignoreCloneableDueToInheritance" value="false" />
+ </inspection_tool>
+ <inspection_tool class="CStyleArrayDeclaration" level="WARNING" enabled="true" />
+ <inspection_tool class="ChainedEquality" level="WARNING" enabled="true" />
+ <inspection_tool class="ConfusingOctalEscape" level="WARNING" enabled="true" />
+ <inspection_tool class="ConstantOnRHSOfComparison" level="WARNING" enabled="true" />
+ <inspection_tool class="ControlFlowStatementWithoutBraces" level="WARNING" enabled="true" />
+ <inspection_tool class="LiteralAsArgToStringEquals" level="WARNING" enabled="true" />
+ <inspection_tool class="LocalCanBeFinal" level="WARNING" enabled="true">
+ <option name="REPORT_VARIABLES" value="true" />
+ <option name="REPORT_PARAMETERS" value="true" />
+ </inspection_tool>
+ <inspection_tool class="MissortedModifiers" level="WARNING" enabled="true">
+ <option name="m_requireAnnotationsFirst" value="true" />
+ </inspection_tool>
+ <inspection_tool class="MultipleDeclaration" level="WARNING" enabled="true" />
+ <inspection_tool class="RedundantFieldInitialization" level="WARNING" enabled="true" />
+ <inspection_tool class="RedundantImplements" level="WARNING" enabled="true" />
+ <inspection_tool class="ReturnThis" level="WARNING" enabled="true" />
+ <inspection_tool class="UnnecessarilyQualifiedStaticUsage" level="WARNING" enabled="true">
+ <option name="m_ignoreStaticFieldAccesses" value="false" />
+ <option name="m_ignoreStaticMethodCalls" value="false" />
+ <option name="m_ignoreStaticAccessFromStaticContext" value="false" />
+ </inspection_tool>
+ <inspection_tool class="UnnecessaryThis" level="WARNING" enabled="true" />
+ <inspection_tool class="UnnecessarySuperConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="UnnecessaryEnumModifier" level="WARNING" enabled="true" />
+ <inspection_tool class="UnnecessaryFullyQualifiedName" level="WARNING" enabled="true">
+ <option name="m_ignoreJavadoc" value="false" />
+ </inspection_tool>
+ <inspection_tool class="UnnecessaryInterfaceModifier" level="WARNING" enabled="true" />
+ <inspection_tool class="UnnecessaryParentheses" level="WARNING" enabled="true" />
+ <inspection_tool class="UnnecessaryQualifierForThis" level="WARNING" enabled="true" />
+ <inspection_tool class="MultipleTypedDeclaration" level="WARNING" enabled="true" />
+ <inspection_tool class="ConditionalExpressionWithIdenticalBranches" level="WARNING" enabled="true" />
+ <inspection_tool class="ConfusingElse" level="WARNING" enabled="true" />
+ <inspection_tool class="DefaultNotLastCaseInSwitch" level="WARNING" enabled="true" />
+ <inspection_tool class="DuplicateCondition" level="WARNING" enabled="true">
+ <option name="ignoreMethodCalls" value="false" />
+ </inspection_tool>
+ <inspection_tool class="DuplicateBooleanBranch" level="WARNING" enabled="true" />
+ <inspection_tool class="EnumSwitchStatementWhichMissesCases" level="WARNING" enabled="true">
+ <option name="ignoreSwitchStatementsWithDefault" value="false" />
+ </inspection_tool>
+ <inspection_tool class="FallthruInSwitchStatement" level="WARNING" enabled="true" />
+ <inspection_tool class="ForLoopReplaceableByWhile" level="WARNING" enabled="true">
+ <option name="m_ignoreLoopsWithoutConditions" value="false" />
+ </inspection_tool>
+ <inspection_tool class="ForLoopWithMissingComponent" level="WARNING" enabled="true">
+ <option name="ignoreCollectionLoops" value="false" />
+ </inspection_tool>
+ <inspection_tool class="IfStatementWithIdenticalBranches" level="WARNING" enabled="true" />
+ <inspection_tool class="IfStatementWithTooManyBranches" level="WARNING" enabled="true">
+ <option name="m_limit" value="3" />
+ </inspection_tool>
+ <inspection_tool class="LabeledStatement" level="WARNING" enabled="true" />
+ <inspection_tool class="NestedSwitchStatement" level="WARNING" enabled="true" />
+ <inspection_tool class="LoopConditionNotUpdatedInsideLoop" level="WARNING" enabled="true" />
+ <inspection_tool class="SwitchStatementWithConfusingDeclaration" level="WARNING" enabled="true" />
+ <inspection_tool class="OverlyComplexBooleanExpression" level="WARNING" enabled="true">
+ <option name="m_limit" value="3" />
+ <option name="m_ignorePureConjunctionsDisjunctions" value="true" />
+ </inspection_tool>
+ <inspection_tool class="PointlessIndexOfComparison" level="WARNING" enabled="true" />
+ <inspection_tool class="SwitchStatementWithTooFewBranches" level="WARNING" enabled="true">
+ <option name="m_limit" value="2" />
+ </inspection_tool>
+ <inspection_tool class="SwitchStatementDensity" level="WARNING" enabled="true">
+ <option name="m_limit" value="20" />
+ </inspection_tool>
+ <inspection_tool class="SwitchStatementWithTooManyBranches" level="WARNING" enabled="true">
+ <option name="m_limit" value="10" />
+ </inspection_tool>
+ <inspection_tool class="SwitchStatementsWithoutDefault" level="WARNING" enabled="true">
+ <option name="m_ignoreFullyCoveredEnums" value="true" />
+ </inspection_tool>
+ <inspection_tool class="UnnecessaryDefault" level="WARNING" enabled="true" />
+ <inspection_tool class="InstanceofCatchParameter" level="WARNING" enabled="true" />
+ <inspection_tool class="TooBroadCatch" level="WARNING" enabled="true" />
+ <inspection_tool class="EqualsAndHashcode" level="WARNING" enabled="true" />
+ <inspection_tool class="RedundantSuppression" level="WARNING" enabled="true" />
+ <inspection_tool class="RedundantThrowsDeclaration" level="WARNING" enabled="true" />
+ <inspection_tool class="ExtendsConcreteCollection" level="WARNING" enabled="true" />
+ <inspection_tool class="AbstractMethodWithMissingImplementations" level="WARNING" enabled="true" />
+ <inspection_tool class="AbstractMethodOverridesConcreteMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="AbstractMethodOverridesAbstractMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="AbstractClassWithoutAbstractMethods" level="WARNING" enabled="true" />
+ <inspection_tool class="AbstractClassNeverImplemented" level="WARNING" enabled="true" />
+ <inspection_tool class="ExtendsUtilityClass" level="WARNING" enabled="true" />
+ <inspection_tool class="NonProtectedConstructorInAbstractClass" level="WARNING" enabled="true">
+ <option name="m_ignoreNonPublicClasses" value="false" />
+ </inspection_tool>
+ <inspection_tool class="InterfaceNeverImplemented" level="WARNING" enabled="true">
+ <option name="ignoreInterfacesThatOnlyDeclareConstants" value="false" />
+ </inspection_tool>
+ <inspection_tool class="RedundantMethodOverride" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticInheritance" level="WARNING" enabled="true" />
+ <inspection_tool class="IndexOfReplaceableByContains" level="WARNING" enabled="true" />
+ <inspection_tool class="AssertAsName" level="WARNING" enabled="true" />
+ <inspection_tool class="EnumAsName" level="WARNING" enabled="true" />
+ <inspection_tool class="ComparisonToNaN" level="WARNING" enabled="true" />
+ <inspection_tool class="ConfusingFloatingPointLiteral" level="WARNING" enabled="true" />
+ <inspection_tool class="DivideByZero" level="WARNING" enabled="true" />
+ <inspection_tool class="LongLiteralsEndingWithLowercaseL" level="WARNING" enabled="true" />
+ <inspection_tool class="BadOddness" level="WARNING" enabled="true" />
+ <inspection_tool class="AssignmentToNull" level="WARNING" enabled="true" />
+ <inspection_tool class="AssignmentToStaticFieldFromInstanceMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="AssignmentUsedAsCondition" level="WARNING" enabled="true" />
+ <inspection_tool class="ObjectToString" level="WARNING" enabled="true" />
+ <inspection_tool class="ReplaceAllDot" level="WARNING" enabled="true" />
+ <inspection_tool class="CastConflictsWithInstanceof" level="WARNING" enabled="true" />
+ <inspection_tool class="CastToIncompatibleInterface" level="WARNING" enabled="true" />
+ <inspection_tool class="CollectionAddedToSelf" level="WARNING" enabled="true" />
+ <inspection_tool class="ComparatorNotSerializable" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledCompareTo" level="WARNING" enabled="true" />
+ <inspection_tool class="CovariantCompareTo" level="WARNING" enabled="true" />
+ <inspection_tool class="CovariantEquals" level="WARNING" enabled="true" />
+ <inspection_tool class="EmptyInitializer" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledEquals" level="WARNING" enabled="true" />
+ <inspection_tool class="EqualsBetweenInconvertibleTypes" level="WARNING" enabled="true" />
+ <inspection_tool class="ArrayEquals" level="WARNING" enabled="true" />
+ <inspection_tool class="EqualsWhichDoesntCheckParameterClass" level="WARNING" enabled="true" />
+ <inspection_tool class="ForLoopThatDoesntUseLoopVariable" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledHashcode" level="WARNING" enabled="true" />
+ <inspection_tool class="InstanceofIncompatibleInterface" level="WARNING" enabled="true" />
+ <inspection_tool class="InstantiationOfUtilityClass" level="WARNING" enabled="true" />
+ <inspection_tool class="IteratorHasNextCallsIteratorNext" level="WARNING" enabled="true" />
+ <inspection_tool class="IteratorNextDoesNotThrowNoSuchElementException" level="WARNING" enabled="true" />
+ <inspection_tool class="CompareToUsesNonFinalVariable" level="WARNING" enabled="true" />
+ <inspection_tool class="EqualsUsesNonFinalVariable" level="WARNING" enabled="true" />
+ <inspection_tool class="HashCodeUsesNonFinalVariable" level="WARNING" enabled="true" />
+ <inspection_tool class="NonShortCircuitBoolean" level="WARNING" enabled="true" />
+ <inspection_tool class="ObjectEquality" level="WARNING" enabled="true">
+ <option name="m_ignoreEnums" value="true" />
+ <option name="m_ignoreClassObjects" value="false" />
+ <option name="m_ignorePrivateConstructors" value="false" />
+ </inspection_tool>
+ <inspection_tool class="OctalAndDecimalIntegersMixed" level="WARNING" enabled="true" />
+ <inspection_tool class="ResultOfObjectAllocationIgnored" level="WARNING" enabled="true" />
+ <inspection_tool class="ReturnNull" level="WARNING" enabled="true">
+ <option name="m_reportObjectMethods" value="true" />
+ <option name="m_reportArrayMethods" value="true" />
+ <option name="m_reportCollectionMethods" value="true" />
+ </inspection_tool>
+ <inspection_tool class="StaticFieldReferenceOnSubclass" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticCallOnSubclass" level="WARNING" enabled="true" />
+ <inspection_tool class="SubtractionInCompareTo" level="WARNING" enabled="true" />
+ <inspection_tool class="SuspiciousToArrayCall" level="WARNING" enabled="true" />
+ <inspection_tool class="SuspiciousSystemArraycopy" level="WARNING" enabled="true" />
+ <inspection_tool class="TextLabelInSwitchStatement" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledToString" level="WARNING" enabled="true" />
+ <inspection_tool class="ArchaicSystemPropertyAccess" level="WARNING" enabled="true" />
+ <inspection_tool class="ResultSetIndexZero" level="WARNING" enabled="true" />
+ <inspection_tool class="UseOfPropertiesAsHashtable" level="WARNING" enabled="true" />
+ <inspection_tool class="UnusedProperty" level="WARNING" enabled="true" />
</profile>
</profiles>
</component>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:33:15
|
Revision: 16
http://svn.sourceforge.net/cherbot/?rev=16&view=rev
Author: christianhujer
Date: 2006-10-28 15:32:24 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Reformatted code according to project code style.
Modified Paths:
--------------
trunk/cherbot.ipr
trunk/src/net/sf/cherbot/BlackListManager.java
trunk/src/net/sf/cherbot/CherBot.java
trunk/src/net/sf/cherbot/CherBotException.java
trunk/src/net/sf/cherbot/CherBotLogger.java
trunk/src/net/sf/cherbot/CherBotPermission.java
trunk/src/net/sf/cherbot/CherBotSecurityManager.java
trunk/src/net/sf/cherbot/CollectionsManager.java
trunk/src/net/sf/cherbot/CommType.java
trunk/src/net/sf/cherbot/Crime.java
trunk/src/net/sf/cherbot/CrimeManager.java
trunk/src/net/sf/cherbot/CronManager.java
trunk/src/net/sf/cherbot/DeathsManager.java
trunk/src/net/sf/cherbot/DummyManagerProxy.java
trunk/src/net/sf/cherbot/EmotesManager.java
trunk/src/net/sf/cherbot/ExampleTestCase.java
trunk/src/net/sf/cherbot/ExampleTester.java
trunk/src/net/sf/cherbot/GreetingsManager.java
trunk/src/net/sf/cherbot/GroupManager.java
trunk/src/net/sf/cherbot/LamentsManager.java
trunk/src/net/sf/cherbot/MailManager.java
trunk/src/net/sf/cherbot/Manager.java
trunk/src/net/sf/cherbot/ManagerDocumenter.java
trunk/src/net/sf/cherbot/NoSuchPlayerException.java
trunk/src/net/sf/cherbot/NoobManager.java
trunk/src/net/sf/cherbot/PlayerManager.java
trunk/src/net/sf/cherbot/PollManager.java
trunk/src/net/sf/cherbot/RodBabyManager.java
trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
trunk/src/net/sf/cherbot/SalesManager.java
trunk/src/net/sf/cherbot/SmutException.java
trunk/src/net/sf/cherbot/SmutManager.java
trunk/src/net/sf/cherbot/TestManager.java
trunk/src/net/sf/cherbot/TimeManager.java
Modified: trunk/cherbot.ipr
===================================================================
--- trunk/cherbot.ipr 2006-10-28 22:29:28 UTC (rev 15)
+++ trunk/cherbot.ipr 2006-10-28 22:32:24 UTC (rev 16)
@@ -23,7 +23,7 @@
<option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true" />
<option name="GENERATE_FINAL_LOCALS" value="true" />
<option name="GENERATE_FINAL_PARAMETERS" value="true" />
- <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="0" />
+ <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="9999" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="1" />
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
<value />
Modified: trunk/src/net/sf/cherbot/BlackListManager.java
===================================================================
--- trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:29:28 UTC (rev 15)
+++ trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:32:24 UTC (rev 16)
@@ -9,55 +9,65 @@
import java.util.SortedSet;
import java.util.TreeSet;
-/** Manages a black list of users that may not use Cherbot.
+/**
+ * Manages a black list of users that may not use Cherbot.
* @author $Author: chris $
* @version $Id: BlackListManager.java,v 1.13 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("Blacklist of players that are denied to use Cherbot.")
-@Manager.Features({"Blacklist players that are denied to use Cherbot."})
+@Manager.Features({ "Blacklist players that are denied to use Cherbot." })
public class BlackListManager extends Manager {
- /** Version information */
+ /**
+ * Version information
+ */
public static final String version = "$Revision: 1.13 $";
- /** Permission to modify blacklist. */
+ /**
+ * Permission to modify blacklist.
+ */
private static final String PERM_BLACKLIST = "Blacklist";
- /** The black list. */
+ /**
+ * The black list.
+ */
private SortedSet<String> blacklist = new TreeSet<String>();
{ // Commands
new Command("(?:$LIST ?(?:the )?blacklist(?:ed players)?|wh(?:o|ich players?) (?:is|are|r) (?:blacklisted|on (?:the )?blacklist))[.!?]?") {
@Description("Lists the blacklisted players.")
- @Examples({"List blacklist", "Tell me the blacklisted players.", "Who is blacklisted?", "Which players are on the blacklist?"})
+ @Examples({ "List blacklist", "Tell me the blacklisted players.", "Who is blacklisted?", "Which players are on the blacklist?" })
@Override public void performImpl() {
listBlacklist();
}
};
new Command("(?:put|add) $PLAYER (?:to|on) blacklist[.!]?") {
@Description("Puts a player on the blacklist.")
- @Examples({"Put Lead on blacklist.", "Add Lead to blacklist."})
+ @Examples({ "Put Lead on blacklist.", "Add Lead to blacklist." })
@Override public void performImpl() {
addBlacklist(player(1));
}
};
new Command("(?:remove) $PLAYER from blacklist[.!]?") {
@Description("Removes a player from the blacklist.")
- @Examples({"Remove Lead from blacklist."})
+ @Examples({ "Remove Lead from blacklist." })
@Override public void performImpl() {
removeBlacklist(player(1));
}
};
} // Commands
- /** Create the BlackListManager.
+ /**
+ * Create the BlackListManager.
* @param cherbot CherBot
*/
public BlackListManager(final CherBot cherbot) {
super(cherbot, "blacklist");
}
- /** List the blacklist. */
+ /**
+ * List the blacklist.
+ */
private void listBlacklist() {
if (blacklist.size() == 0) {
answer("Noone's on the blacklist yet.");
@@ -70,7 +80,8 @@
}
}
- /** Puts a player to the blacklist.
+ /**
+ * Puts a player to the blacklist.
* @param player Player to blacklist
*/
private void addBlacklist(final String player) {
@@ -83,7 +94,8 @@
}
}
- /** Removes a player from the blacklist.
+ /**
+ * Removes a player from the blacklist.
* @param player Player to remove
*/
private void removeBlacklist(final String player) {
@@ -96,19 +108,24 @@
}
}
- /** Checks wether a player is blacklisted.
+ /**
+ * Checks wether a player is blacklisted.
* @param player Player to check
*/
public boolean isBlacklisted(final String player) {
return blacklist.contains(player);
}
- /** Checks wether the actor is blacklisted. */
+ /**
+ * Checks wether the actor is blacklisted.
+ */
public boolean isBlacklisted() {
return blacklist.contains(getActor());
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override public void help() {
answer("I have a blacklist. Players on the blacklist cannot use Cherbot.");
}
Modified: trunk/src/net/sf/cherbot/CherBot.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:29:28 UTC (rev 15)
+++ trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:32:24 UTC (rev 16)
@@ -12,51 +12,72 @@
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.BreakIterator;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sf.cherbot.Manager.Command;
-/** A Daimonin bot.
+/**
+ * A Daimonin bot.
+ * @author $Author: chris $
+ * @version $Id: CherBot.java,v 1.31 2005/11/09 20:30:00 chris Exp $
* @todo split this class into four: A generic base class for robots, a class handling Daimonin-specific stuff, an interface for network
* implementations implemted by the latter, and this specific CherBot subclass.
* @todo perhaps add a graphical interface.
- * @author $Author: chris $
- * @version $Id: CherBot.java,v 1.31 2005/11/09 20:30:00 chris Exp $
*/
public class CherBot {
- /** Lihes of code. */
+ /**
+ * Lihes of code.
+ */
private static final int LINES_OF_CODE = 11137;
- /** Wether to stop.
+ /**
+ * Wether to stop.
* This variable initially is false.
* Telling the Bot to stop sets this variable to true, terminating the two thread loops for receiving packets and the console.
*/
private boolean stop;
- /** The user name this bot should use for connecting with the server. */
+ /**
+ * The user name this bot should use for connecting with the server.
+ */
private String username;
- /** The password this bot sohuld use for connecting with the server. */
+ /**
+ * The password this bot sohuld use for connecting with the server.
+ */
private String password;
- /** The SecurityManager.
+ /**
+ * The SecurityManager.
* Provides access to security handling possibly used by every other manager.
* Thus needs to be available to all managers.
*/
private CherBotSecurityManager securityManager;
- /** The internal manager. */
+ /**
+ * The internal manager.
+ */
private InternalManager internalManager;
- /** The Blacklist manager. */
+ /**
+ * The Blacklist manager.
+ */
private BlackListManager blacklistManager;
- /** The Player manager. */
+ /**
+ * The Player manager.
+ */
private PlayerManager playerManager;
- /** The Managers as a list for looping or similar.
+ /**
+ * The Managers as a list for looping or similar.
* It's a List because the order in which the managers are added really matters.
* Managers might have regular expression overlapping, an input string could match the commands of more than just one manager.
* The managers are searched in their creation order.
@@ -64,21 +85,26 @@
*/
private List<Manager> managers = new ArrayList<Manager>();
- /** The Managers as map, for getting the Manager on a specific topic.
+ /**
+ * The Managers as map, for getting the Manager on a specific topic.
* Key: topic of Manager ({@link Manager#getTopic()}).
* Value: Manager
*/
- private Map<String,Manager> managerMap = new HashMap<String,Manager>();
+ private Map<String, Manager> managerMap = new HashMap<String, Manager>();
- /** The Managers with timers. */
+ /**
+ * The Managers with timers.
+ */
private List<Manager> timers = new ArrayList<Manager>();
- /** The Commands.
+ /**
+ * The Commands.
* The order is important, this must be a List.
*/
private List<Command> commands = new ArrayList<Command>();
- /** Main program.
+ /**
+ * Main program.
* @param args command line arguments
* @throws IOException in case of I/O problems
*/
@@ -88,7 +114,8 @@
bot.run();
}
- /** Create the CherBot.
+ /**
+ * Create the CherBot.
* This creates the managers.
* @todo put the list of managers that should be created in a file, read the file and use reflection to create the managers.
* This would allow users to configure what modules the bot should load without recompiling the bot.
@@ -119,12 +146,15 @@
new NoobManager(this);
}
- /** Quit Cherbot. */
+ /**
+ * Quit Cherbot.
+ */
public void quit() {
System.exit(0);
}
- /** Add a Manager.
+ /**
+ * Add a Manager.
* The constructor of Manager invokes this method.
* So do not call this method or a Manager would be added twice.
* @param manager Manager to add
@@ -137,7 +167,8 @@
managerMap.put(manager.getTopic(), manager);
}
- /** Get a Manager for a certain topic.
+ /**
+ * Get a Manager for a certain topic.
* @param topic Topic to get Manager for
* @return Manager for <var>topic</var> or <code>null</code> if no manager for the specified topic is known
*/
@@ -145,7 +176,8 @@
return managerMap.get(topic);
}
- /** Get all managers.
+ /**
+ * Get all managers.
* The returned collection is immutable.
* @return all managers
*/
@@ -153,7 +185,8 @@
return Collections.unmodifiableList(managers);
}
- /** Get the SecurityManager.
+ /**
+ * Get the SecurityManager.
* Don't rely on the SecurityManager instance being the same all the time for an instance of CherBot.
* The SecurityManager might change over the time.
* @return SecurityManager
@@ -162,7 +195,8 @@
return securityManager;
}
- /** Add a Command.
+ /**
+ * Add a Command.
* The constructor of Manager.Command indirectly invokes this method by invoking Manager.addCommand.
* So do not call this method or a Command would be added twice.
* @param command Command to add
@@ -171,20 +205,22 @@
commands.add(command);
}
- /** Get username used by the bot.
+ /**
+ * Get username used by the bot.
* @return username
*/
public String getUsername() {
return username;
}
- /** Connect to a server.
+ /**
+ * Connect to a server.
* @param username username
* @param password password
- * @param server Server to connect to
+ * @param server Server to connect to
* @throws IOException if the socket cannot be opened.
*/
- @SuppressWarnings({"SocketOpenedButNotSafelyClosed"})
+ @SuppressWarnings({ "SocketOpenedButNotSafelyClosed" })
public void connect(final String username, final String password, final String server) throws IOException {
this.username = username;
this.password = password;
@@ -196,7 +232,8 @@
//say("food");
}
- /** Keep the bot running.
+ /**
+ * Keep the bot running.
* @throws IOException in case of I/O problems
*/
public void run() throws IOException {
@@ -212,14 +249,16 @@
}
}
- /** Answer.
+ /**
+ * Answer.
* @param cs String to answer
*/
public void answer(final CharSequence cs) {
tell(actor, cs.toString()); // TODO: Improve CharSequence handling
}
- /** Shout.
+ /**
+ * Shout.
* @param s String to shout
*/
public void shout(final String s) {
@@ -231,7 +270,8 @@
}
}
- /** Tell
+ /**
+ * Tell
* @param p Player name
* @param s String to tell
*/
@@ -250,7 +290,8 @@
}
}
- /** Reply
+ /**
+ * Reply
* @param s String to tell
*/
public void reply(final String s) throws IOException {
@@ -260,7 +301,8 @@
}
}
- /** Say.
+ /**
+ * Say.
* @param s String to say
*/
public void say(final String s) {
@@ -270,11 +312,12 @@
}
}
- /** Split a String into substrings.
+ /**
+ * Split a String into substrings.
* @param s String to split
* @return substrings
*/
- @SuppressWarnings({"AssignmentToForLoopParameter"})
+ @SuppressWarnings({ "AssignmentToForLoopParameter" })
private static Iterable<String> lineSplit(final String s) {
final BreakIterator it = BreakIterator.getLineInstance();
it.setText(s);
@@ -282,9 +325,11 @@
final int width = 230;
for (int end = it.last(), split = it.first(), current = 0; current <= end;) {
current = it.next();
- if (current-split > width) {
+ if (current - split > width) {
current = it.previous();
- if (current == split) { current = it.next(); }
+ if (current == split) {
+ current = it.next();
+ }
ret.add(s.substring(split, current));
split = current;
} else if (current == end) {
@@ -295,13 +340,18 @@
return ret;
}
- /** Pattern for game entering. */
+ /**
+ * Pattern for game entering.
+ */
private static final Pattern enter = Pattern.compile("(\\S+) has entered the game.");
- /** Pattern for game kill. */
+ /**
+ * Pattern for game kill.
+ */
private static final Pattern kill = Pattern.compile("(.+) killed (\\S+)( with (.*))?.");
- /** Dispatch a packet of data.
+ /**
+ * Dispatch a packet of data.
* @param data packet to dispatch
* @throws IOException in case of I/O problems
*/
@@ -309,19 +359,21 @@
} // dispatch
private static final String[] colors = {
- "\000\033[0m\001", // default / white
- "\000\033[33m\001", // orange
- "\000\033[96m\001", // light blue / navy
- "\000\033[91m\001", // red
- "\000\033[92m\001", // green
- "\000\033[94m\001", // blue
- "\000\033[37m\001", // grey
- "\000\033[93m\001", // yellow
- "\000\033[36m\001", // dark navy
- "\000\033[0m\001", // don't know
- "\000\033[93m\001", // yellow again
+ "\000\033[0m\001", // default / white
+ "\000\033[33m\001", // orange
+ "\000\033[96m\001", // light blue / navy
+ "\000\033[91m\001", // red
+ "\000\033[92m\001", // green
+ "\000\033[94m\001", // blue
+ "\000\033[37m\001", // grey
+ "\000\033[93m\001", // yellow
+ "\000\033[36m\001", // dark navy
+ "\000\033[0m\001", // don't know
+ "\000\033[93m\001", // yellow again
};
- /** Switch output to a certain color.
+
+ /**
+ * Switch output to a certain color.
* @param n color to switch to
*/
private static void switchColor(final int n) {
@@ -332,8 +384,9 @@
}
}
- /** Handle communication.
- * @param ct Communication Type
+ /**
+ * Handle communication.
+ * @param ct Communication Type
* @param who speaker
* @param msg message
* @throws IOException in case of I/O problems
@@ -341,7 +394,9 @@
*/
private void communicate(final CommType ct, final String who, final String msg) throws IOException {
playerManager.see(who);
- if (username.equals(who)) { return; } // avoid loop dispatch!
+ if (username.equals(who)) {
+ return;
+ } // avoid loop dispatch!
if (ct == CommType.shout) {
final Pattern p = Pattern.compile(username + "(?:(?:,|:)? *)(.*)");
final Matcher matcher = p.matcher(msg);
@@ -354,18 +409,22 @@
}
}
- /** Who executes the current / executed the last command. */
+ /**
+ * Who executes the current / executed the last command.
+ */
private String actor;
- /** Get the actor (player that executes current / executed the last command).
+ /**
+ * Get the actor (player that executes current / executed the last command).
* @return actor
*/
public String getActor() {
return actor;
}
- /** Dispatch a message, try to execute it's command.
- * @param who speaker
+ /**
+ * Dispatch a message, try to execute it's command.
+ * @param who speaker
* @param rawCmd Command to perform
* @todo this needs to be improved so /shout can also be used to communicate with Cherbot and Cherbot could respond on shout
*/
@@ -389,7 +448,8 @@
}
}
- /** Handle enter.
+ /**
+ * Handle enter.
* @param who person that entered.
*/
private void enter(final String who) {
@@ -398,53 +458,60 @@
}
}
- /** Handle kill.
+ /**
+ * Handle kill.
* @param killer Killer
- * @param who person that was killed
- * @param with with what
+ * @param who person that was killed
+ * @param with with what
* @throws IOException in case of I/O problems
*/
private void kill(final String killer, final String who, final String with) throws IOException {
- if (username.equals(who)) { return; } // avoid lamenting myself
+ if (username.equals(who)) {
+ return;
+ } // avoid lamenting myself
for (Manager manager : managers) {
manager.died(who, killer, with);
}
}
- /** Write a line to stdout.
+ /**
+ * Write a line to stdout.
* @param s line to write
*/
private static void println(final String s) {
System.out.println(s);
}
- /** The internal manager.
+ /**
+ * The internal manager.
* @author $Author: chris $
* @version $Revision: 1.31 $
*/
@Manager.Description("Manages the other modules and gives some general information about the bot.")
@Manager.Features({
- "Load and save persistent data.",
- "List commands.",
- "Tell what's new."
- })
+ "Load and save persistent data.",
+ "List commands.",
+ "Tell what's new."
+ })
private class InternalManager extends Manager {
+
private static final String PERM_SAVE = "Internal.Save";
+
private static final String PERM_LOAD = "Internal.Load";
+
private static final String PERM_QUIT = "Internal.Quit";
- /* Commands. */
- {
+ /* Commands. */ {
new Command("(?:in )?wh(?:ich|at) (?:programming[- ])?language (?:(?:were|are) $YOU|have you been) (?:written|programmed|coded)(?: in)?[?]?") {
@Description("You can ask in which language cherbot is written in.")
- @Examples({"What language are you coded in?", "In which programming language have you been written?"})
+ @Examples({ "What language are you coded in?", "In which programming language have you been written?" })
@Override public void performImpl() {
answer("I'm written in " + LINES_OF_CODE + " of Java code.");
}
};
new Command("save[.!]?") {
@Description("Saves all module data to persistent storage.")
- @Examples({"Save!"})
+ @Examples({ "Save!" })
@Override public void performImpl() {
checkPermission(new CherBotPermission(PERM_SAVE));
try {
@@ -457,7 +524,7 @@
};
new Command("save (\\w+)[.!]") {
@Description("Saves a specific module's data to persistent storage.")
- @Examples({"Save collections!", "Save sales!"})
+ @Examples({ "Save collections!", "Save sales!" })
@Override public void performImpl() {
final String module = matcher.group(1);
checkPermission(new CherBotPermission(PERM_SAVE + '.' + module));
@@ -473,7 +540,7 @@
};
new Command("load[.!]?") {
@Description("Load all module data from persistent storage.")
- @Examples({"Load!"})
+ @Examples({ "Load!" })
@Override public void performImpl() {
checkPermission(new CherBotPermission(PERM_LOAD));
try {
@@ -486,7 +553,7 @@
};
new Command("load (\\w+)[.!]?") {
@Description("Load a specific module's data from persistent storage.")
- @Examples({"Load collections!", "Load sales!"})
+ @Examples({ "Load collections!", "Load sales!" })
@Override public void performImpl() {
final String module = matcher.group(1);
checkPermission(new CherBotPermission(PERM_LOAD + '.' + module));
@@ -502,41 +569,49 @@
};
new Command("help[.!]?") {
@Description("Displays some general help.")
- @Examples({"Help!"})
+ @Examples({ "Help!" })
@Override public void performImpl() {
answer("More info: about, info, help commands, help topics, help usage, help testing");
}
};
new Command("(about|tell me about $YOU)[.!]?") {
@Description("Displays some information about Cherbot.")
- @Examples({"About!", "Tell me about you!"})
+ @Examples({ "About!", "Tell me about you!" })
@Override public void performImpl() {
answer("Hello. I am Cherbot, Cheristheus' stupid bot, written in 12 hours, approx. " + LINES_OF_CODE + " lines of code.\nI understand several commands, but most of them are privileged. If you talk to me, use short yet complete correct English sentences. I usually won't respond to single words thrown at me. If I say something like \"I don't want to.\", that means you used the correct command but you don't have enough permissions.\nAsk me about 'help topics' to find out what I can.");
}
};
new Command("(list|show|help) modules[.!]?") {
@Description("Lists which modules Cherbot has loaded.")
- @Examples({"List modules!", "Show modules!" })
+ @Examples({ "List modules!", "Show modules!" })
@Override public void performImpl() {
final StringBuilder mods = new StringBuilder();
for (Manager manager : managers) {
- if (mods.length() > 0) { mods.append(", "); } else { mods.append("Loaded modules: "); }
+ if (mods.length() > 0) {
+ mods.append(", ");
+ } else {
+ mods.append("Loaded modules: ");
+ }
mods.append(manager.getTopic());
}
mods
- .append(". ")
- .append(Integer.toString(managers.size()))
- .append(" modules total. Use 'help <modulename>' to get information on a specific module.");
+ .append(". ")
+ .append(Integer.toString(managers.size()))
+ .append(" modules total. Use 'help <modulename>' to get information on a specific module.");
answer(mods.toString());
}
};
new Command("(list|show|help) commands[.!]?") {
@Description("Lists the commands. Won't really list the commands but show the modules, since the commands are quite a lot now.")
- @Examples({"List commands!", "Show commands!"})
+ @Examples({ "List commands!", "Show commands!" })
@Override public void performImpl() {
final StringBuilder sb = new StringBuilder();
for (Manager manager : managers) {
- if (sb.length() == 0) { sb.append("Loaded modules: "); } else { sb.append(", "); }
+ if (sb.length() == 0) {
+ sb.append("Loaded modules: ");
+ } else {
+ sb.append(", ");
+ }
sb.append(manager.getTopic());
}
sb.append(". To know the commands for a specific module, use 'help commands <modulename>', like 'help commands topics'.");
@@ -545,7 +620,7 @@
};
new Command("(list|show|help) commands? (of |from )?(the |module )?(\\w+)([- ](module|commands))?[.!]?") {
@Description("Lists all commands from the specified module.")
- @Examples({"Show commands from module sales", "Show commands from the sales-module!"})
+ @Examples({ "Show commands from module sales", "Show commands from the sales-module!" })
@Override public void performImpl() {
final String topic = matcher.group(4);
final StringBuilder sb = new StringBuilder();
@@ -564,14 +639,14 @@
};
new Command("(list||show|help) (me )?all commands[.!]?") {
@Description("Lists all commands. Please don't use it.")
- @Examples({"List all commands!", "Show me all commands!"})
+ @Examples({ "List all commands!", "Show me all commands!" })
@Override public void performImpl() {
answer("The commands might be quite a lot. If you really want me to do that, tell me 'Really list all commands.'.");
}
};
new Command("really (list|show|help) (me )?all commands[.!]?") {
@Description("Lists all commands. Please don't use it.")
- @Examples({"Really list all commands!", "Really show me all commands!"})
+ @Examples({ "Really list all commands!", "Really show me all commands!" })
@Override public void performImpl() {
final StringBuilder sb = new StringBuilder();
for (Manager manager : managers) {
@@ -584,7 +659,7 @@
};
new Command("help (.*?)[.!]?") {
@Description("List the help on a specific module.")
- @Examples({"Help collections!", "Help sales!"})
+ @Examples({ "Help collections!", "Help sales!" })
@Override public void performImpl() {
final String topic = matcher.group(1);
if (topic.equals("usage")) {
@@ -600,47 +675,47 @@
};
new Command("info[.!]?") {
@Description("Gives some general info about Cherbot.")
- @Examples({"Info"})
+ @Examples({ "Info" })
@Override public void performImpl() {
final StringBuilder info = new StringBuilder();
info
- .append("Version: some alpha.\n")
- .append("Lines of code: approx. ")
- .append(LINES_OF_CODE)
- .append(".\n")
- .append("Loaded modules: ")
- .append(managers.size())
- .append(".\n")
- .append("Known commands: ")
- .append(commands.size())
- .append('.');
+ .append("Version: some alpha.\n")
+ .append("Lines of code: approx. ")
+ .append(LINES_OF_CODE)
+ .append(".\n")
+ .append("Loaded modules: ")
+ .append(managers.size())
+ .append(".\n")
+ .append("Known commands: ")
+ .append(commands.size())
+ .append('.');
answer(info.toString());
}
};
new Command("how many commands do $YOU know[?]?") {
@Description("Asks Cherbot how many commands it knows.")
- @Examples({"How many commands do you know?"})
+ @Examples({ "How many commands do you know?" })
@Override public void performImpl() {
answer("I know " + commands.size() + " commands.");
}
};
new Command("what('?s| is) new[?]?") {
@Description("Reports what's new since the last versions.")
- @Examples({"What's new?"})
+ @Examples({ "What's new?" })
@Override public void performImpl() {
whatsNew();
}
};
new Command("ping") {
@Description("Command to test wether Cherbot is still active. If Cherbot works, it will respond \"pong\".")
- @Examples({"ping"})
+ @Examples({ "ping" })
public void performImpl() {
answer("pong");
}
};
new Command("quit[.!]?") {
@Description("Quit Cherbot.")
- @Examples({"Quit!"})
+ @Examples({ "Quit!" })
@Override public void performImpl() {
checkPermission(new CherBotPermission(PERM_QUIT));
answer("Quitting.");
@@ -651,14 +726,17 @@
// private final String[] permissions = { PERM_SAVE, PERM_LOAD };
- /** Create an internal manager.
+ /**
+ * Create an internal manager.
* @param cherBot Cher Bot
*/
InternalManager(final CherBot cherBot) {
super(cherBot, "topics");
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override public void help() {
final StringBuilder topics = new StringBuilder();
for (Manager manager : managers) {
@@ -678,18 +756,26 @@
// return permissions;
//}
- /** What's new. */
+ /**
+ * What's new.
+ */
private void whatsNew() {
BufferedReader in = null;
try {
in = new BufferedReader(new InputStreamReader(new FileInputStream("news.txt")));
final StringBuilder sb = new StringBuilder();
- for (String line; (line = in.readLine()) != null; sb.append(line).append('\n'));
+ for (String line; (line = in.readLine()) != null; sb.append(line).append('\n')) {
+ ;
+ }
answer(sb.toString());
} catch (IOException e) {
answer("No news available.");
} finally {
- try { in.close(); } catch (Exception e) { /* ignore */ } finally { in = null; }
+ try {
+ in.close();
+ } catch (Exception e) { /* ignore */ } finally {
+ in = null;
+ }
}
}
@@ -707,6 +793,7 @@
}
}
}
+
@Override public void load() {
for (Manager manager : managers) {
if (manager != InternalManager.this) {
Modified: trunk/src/net/sf/cherbot/CherBotException.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:29:28 UTC (rev 15)
+++ trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:32:24 UTC (rev 16)
@@ -6,7 +6,8 @@
package net.sf.cherbot;
-/** Base Exception for exteptions that could occur when using players.
+/**
+ * Base Exception for exteptions that could occur when using players.
* These exceptions are runtime exceptions thrown if actors use illegal arguments or commands in a wrong state.
* The message of such an exception must be a message meaningful to the end user (bot user).
* @author $Author: chris $
@@ -14,13 +15,18 @@
*/
public class CherBotException extends RuntimeException {
- /** Version information */
+ /**
+ * Version information
+ */
public static final String version = "$Revision: 1.3 $";
- /** Serial Version. */
+ /**
+ * Serial Version.
+ */
private static final long serialVersionUID = 1L;
- /** Create a CherBotException.
+ /**
+ * Create a CherBotException.
* @param msg Message (displayed to end user)
*/
public CherBotException(final String msg) {
Modified: trunk/src/net/sf/cherbot/CherBotLogger.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:29:28 UTC (rev 15)
+++ trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:32:24 UTC (rev 16)
@@ -10,25 +10,33 @@
import java.io.IOException;
import java.io.PrintWriter;
-/** This class is used for logging within Cherbot.
+/**
+ * This class is used for logging within Cherbot.
* @author $Author: chris $
* @version $Id: CherBotLogger.java,v 1.2 2005/08/31 13:55:28 chris Exp $
*/
public class CherBotLogger {
- /** Version information */
+ /**
+ * Version information
+ */
public static final String version = "$Revision: 1.2 $";
- /** The logger. */
+ /**
+ * The logger.
+ */
private PrintWriter log;
- /** Create a logger. */
- @SuppressWarnings({"IOResourceOpenedButNotSafelyClosed"})
+ /**
+ * Create a logger.
+ */
+ @SuppressWarnings({ "IOResourceOpenedButNotSafelyClosed" })
public CherBotLogger() throws IOException {
log = new PrintWriter(new FileWriter("log.txt", true));
}
- /** Log something said.
+ /**
+ * Log something said.
* @param who Who said it
* @param msg What he said
*/
@@ -36,7 +44,8 @@
log.append("[say] ").append(who).append(": ").append(msg).println();
}
- /** Log something told.
+ /**
+ * Log something told.
* @param who Who told it
* @param msg What he told
*/
@@ -44,7 +53,8 @@
log.append("[tell] ").append(who).append(": ").append(msg).println();
}
- /** Log something shouted.
+ /**
+ * Log something shouted.
* @param who Who shouted it
* @param msg What he shouted
*/
@@ -52,7 +62,8 @@
log.append("[shout] ").append(who).append(": ").append(msg).println();
}
- /** Log a successful command.
+ /**
+ * Log a successful command.
* @param who Who invoked it
* @param msg Message that triggered command
* @param cmd Command
@@ -61,17 +72,19 @@
log.append("[cmd] ").append("[").append(cmd.getManager().getTopic()).append("]").append(who).append(": ").append(msg).println();
}
- /** Log an unsuccessful command.
+ /**
+ * Log an unsuccessful command.
* @param who Who invoked it
* @param msg Message that triggered command
* @param cmd Command
- * @param ex Exception that made the command fail
+ * @param ex Exception that made the command fail
*/
public void fail(final String who, final String msg, final Manager.Command cmd, final Exception ex) {
log.append("[fail] ").append("[").append(cmd.getManager().getTopic()).append("]").append(who).append(": ").append(msg).append("!").append(ex.toString()).println();
}
- /** Log that a command wasn't found.
+ /**
+ * Log that a command wasn't found.
* @param who Who tried to command
* @param msg Message that didn't trigger a command
*/
Modified: trunk/src/net/sf/cherbot/CherBotPermission.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:29:28 UTC (rev 15)
+++ trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:32:24 UTC (rev 16)
@@ -8,19 +8,25 @@
import java.security.BasicPermission;
-/** Permissions to access the CherBot.
+/**
+ * Permissions to access the CherBot.
* @author $Author: chris $
* @version $Id: CherBotPermission.java,v 1.1 2005/03/01 09:14:02 chris Exp $
*/
public class CherBotPermission extends BasicPermission {
- /** Version information */
+ /**
+ * Version information
+ */
public static final String version = "$Revision: 1.1 $";
- /** Serial Version. */
+ /**
+ * Serial Version.
+ */
private static final long serialVersionUID = 1L;
- /** Create a CherBotPermission.
+ /**
+ * Create a CherBotPermission.
* @param name name
*/
public CherBotPermission(final String name) {
Modified: trunk/src/net/sf/cherbot/CherBotSecurityManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:29:28 UTC (rev 15)
+++ trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:32:24 UTC (rev 16)
@@ -23,37 +23,51 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-/** SecurityManager for CherBot.
+/**
+ * SecurityManager for CherBot.
* The CherBotSecurityManager manages the permissions granted for the individual modules and actions.
* @author $Author: chris $
* @version $Id: CherBotSecurityManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("Cherbot has a sophisticated security system, derived from Java. It is comparable with JAAS, the security concept used in Java application servers. This module controls security.")
-@Manager.Features({"Grant permissions", "Revoke permissions", "List permissions"})
+@Manager.Features({ "Grant permissions", "Revoke permissions", "List permissions" })
public class CherBotSecurityManager extends Manager {
- /** Version information */
+ /**
+ * Version information
+ */
public static final String version = "$Revision: 1.17 $";
- /** Permission to grant permissions. */
- private static final String PERM_GRANT = "Security.Grant";
+ /**
+ * Permission to grant permissions.
+ */
+ private static final String PERM_GRANT = "Security.Grant";
- /** Permission to revoke permissions. */
- private static final String PERM_REVOKE = "Security.Revoke";
+ /**
+ * Permission to revoke permissions.
+ */
+ private static final String PERM_REVOKE = "Security.Revoke";
- /** Permission to list own permissions. */
- private static final String PERM_LIST_OWN = "Security.List.Own";
+ /**
+ * Permission to list own permissions.
+ */
+ private static final String PERM_LIST_OWN = "Security.List.Own";
- /** Permission to list other player's permissions. */
+ /**
+ * Permission to list other player's permissions.
+ */
private static final String PERM_LIST_OTHER = "Security.List";
- /** The Permissions.
+ /**
+ * The Permissions.
* Key: player name.
* Value: Set with permission names.
*/
- private Map<String,Permissions> permissions = new HashMap<String,Permissions>();
+ private Map<String, Permissions> permissions = new HashMap<String, Permissions>();
- /** NullStringComparator. */
+ /**
+ * NullStringComparator.
+ */
private Comparator<String> nullStringComparator = new Comparator<String>() {
public int compare(final String o1, final String o2) {
if (o1 == null && o2 == null) {
@@ -72,7 +86,7 @@
/* Grant command. */
new Command("(?:grant|allow) $PLAYER(?: access| permission)?(?: to| on)? (.*?)[.!]?") {
@Description("Grants someone the permission to do something.")
- @Examples({"Grant Michtoen permission on *.", "Allow Michtoen access to *.", "Allow Tehrtapimp to Greetings.Set.Own."})
+ @Examples({ "Grant Michtoen permission on *.", "Allow Michtoen access to *.", "Allow Tehrtapimp to Greetings.Set.Own." })
@Override public void performImpl() {
grant(player(1), gr(2));
}
@@ -81,7 +95,7 @@
/* Revoke command. */
new Command("(?:deny|revoke) $PLAYER(?:'s?)?(?: access| permission)?(?: to| on)? (.*?)[.!]?") {
@Description("Revokes someone's permission to do something.")
- @Examples({"Deny Tehrtapimp to Greetings.Set.Own."})
+ @Examples({ "Deny Tehrtapimp to Greetings.Set.Own." })
@Override public void performImpl() {
revoke(player(1), gr(2));
}
@@ -90,7 +104,7 @@
/* List command. */
new Command("(?:$LIST|what (?:are|r)) my permissions[.!?]?") {
@Description("Shows what permissions you have.")
- @Examples({"What are my permissions?", "Show me my permissions."})
+ @Examples({ "What are my permissions?", "Show me my permissions." })
@Override public void performImpl() {
list(getCherBot().getActor());
}
@@ -99,7 +113,7 @@
/* List command. */
new Command("(?:$LIST|what (?:are|r)) $PLAYER(?:'s?)? permissions[.!?]?") {
@Description("Lists somebody else's permissions.")
- @Examples({"List Michtoen's permissions."})
+ @Examples({ "List Michtoen's permissions." })
@Override public void performImpl() {
list(player(1));
}
@@ -108,7 +122,7 @@
/* List command. */
new Command("$LIST permissions[.!]?") {
@Description("Lists all permissoins.")
- @Examples({"List permissions."})
+ @Examples({ "List permissions." })
@Override public void performImpl() {
final SortedSet<String> players = new TreeSet<String>(nullStringComparator);
players.addAll(permissions.keySet());
@@ -119,14 +133,17 @@
};
} // Commands
- /** Create the SecurityManager. */
+ /**
+ * Create the SecurityManager.
+ */
public CherBotSecurityManager(final CherBot cherBot) {
super(cherBot, "security");
final Permissions pm = new Permissions();
pm.add(new AllPermission());
}
- /** Get the String to add to a grant / revoke permission for checking.
+ /**
+ * Get the String to add to a grant / revoke permission for checking.
* @param permission permission to get String from
* @return part
*/
@@ -136,21 +153,26 @@
return m.matches() ? '.' + m.group(1) : "";
}
- /** Grant permission to someone on something.
- * @param player to whome are permissions granted
+ /**
+ * Grant permission to someone on something.
+ * @param player to whome are permissions granted
* @param permission Permission to grant
*/
private void grant(final String player, final String permission) {
checkPermission(PERM_GRANT + getPart(permission));
Permissions perms = permissions.get(player);
- if (perms == null) { perms = new Permissions(); permissions.put(player, perms); }
+ if (perms == null) {
+ perms = new Permissions();
+ permissions.put(player, perms);
+ }
perms.add(new CherBotPermission(permission));
answer("Granted " + permission + "-permission to " + player);
tell(player, getActor() + " granted you " + permission + "-permission.");
}
- /** Revoke permission to someoneon something
- * @param player whose permissions are to be revoked
+ /**
+ * Revoke permission to someoneon something
+ * @param player whose permissions are to be revoked
* @param permission Permissions to revoke
*/
private void revoke(final String player, final String permission) {
@@ -159,7 +181,8 @@
tell(player, getActor() + " revoked your " + permission + "-permission.");
}
- /** List permissons.
+ /**
+ * List permissons.
* @param player whose permissions to list
*/
private void list(final String player) {
@@ -179,26 +202,32 @@
}
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override public void help() {
answer("The Security engine controls access on the different bot functions that I have. If you're unsure about wether to first write the permissions or first write the player in a command, first write the player, then the permissions.");
}
- /** Check wether a player has a certain permission.
+ /**
+ * Check wether a player has a certain permission.
* @param player Player to check
- * @param perm Permission to check
+ * @param perm Permission to check
*/
public void checkPermissionImpl(final String player, final CherBotPermission perm) {
checkPermissionImpl(player, perm, "I don't want to.");
}
- /** Check wether a player has a certain permission.
+ /**
+ * Check wether a player has a certain permission.
* @param player Player to check
- * @param perm Permission to check
- * @param msg Message to use in case the permission isn't granted
+ * @param perm Permission to check
+ * @param msg Message to use in case the permission isn't granted
*/
public void checkPermissionImpl(final String player, final CherBotPermission perm, final String msg) {
- if (player == null) { return; } // console
+ if (player == null) {
+ return;
+ } // console
final Permissions perms = permissions.get(player);
if (perms == null || !perms.implies(perm)) {
System.err.println("Security: Permission denied for " + player + ": " + perm + "(perms: " + perms + ")");
@@ -207,18 +236,23 @@
System.err.println("Security: Permission granted to " + player + " for " + perm);
}
- /** Return wether a player has a certain permission.
+ /**
+ * Return wether a player has a certain permission.
* @param player Player to check
- * @param perm Permission to check
+ * @param perm Permission to check
* @return <code>ture</code> if and only if player has permissoin
*/
public boolean hasPermissionImpl(final String player, final String perm) {
- if (player == null) { return true; } // console
+ if (player == null) {
+ return true;
+ } // console
final Permissions perms = permissions.get(player);
return perms != null && perms.implies(new CherBotPermission(perm));
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override public void load() throws IOException {
// Text interface (unfinished):
//BufferedReader in = null;
@@ -241,11 +275,17 @@
ioe.initCause(e);
throw ioe;
} finally {
- try { in.close(); } catch (Exception e) { /* ignore */ } finally { in = null; }
+ try {
+ in.close();
+ } catch (Exception e) { /* ignore */ } finally {
+ in = null;
+ }
}
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override public void save() throws IOException {
// Text interface (loading is unfinished):
//PrintWriter out = null;
@@ -272,7 +312,11 @@
out = new ObjectOutputStream(new FileOutputStream("security.dat"));
out.writeObject(permissions);
} finally {
- try { out.close(); } catch (Exception e) { /* ignore */ } finally { out = null; }
+ try {
+ out.close();
+ } catch (Exception e) { /* ignore */ } finally {
+ out = null;
+ }
}
}
Modified: trunk/src/net/sf/cherbot/CollectionsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:29:28 UTC (rev 15)
+++ trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:32:24 UTC (rev 16)
@@ -16,38 +16,49 @@
import java.util.TreeSet;
import java.util.regex.Matcher;
-/** Manager for collectors.
+/**
+ * Manager for collectors.
* @author $Author: chris $
* @version $Id: CollectionsManager.java,v 1.21 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("This module allows players to manage a list of items they collect. You can also ask what other players collect or who collects a certain item. Like most modules, querying works also if the queried player is not online.")
@Manager.Features({
- "Manage your own list of collectables by adding to, removing from and clearing your list.",
- "Query what another player collects.",
- "Query which players collect a certain collectable."
-})
+ "Manage your own list of collectables by adding to, removing from and clearing your list.",
+ "Query what another player collects.",
+ "Query which players collect a certain collectable."
+ })
public class CollectionsManager extends Manager {
- /** Version information */
+ /**
+ * Version information
+ */
public static final String version = "$Revision: 1.21 $";
- /** Permission to collect. */
+ /**
+ * Permission to collect.
+ */
private static final String PERM_COLLECT = "Collections.Edit";
- /** Entry.
+ /**
+ * Entry.
* @author $Author: chris $
* @version $Revision: 1.21 $
*/
private static class Entry implements Comparable<Entry> {
- /** Collector. */
+ /**
+ * Collector.
+ */
private final String collector;
- /** Collectable. */
+ /**
+ * Collectable.
+ */
private final String collectable;
- /** Create an Entry.
- * @param collector Collector
+ /**
+ * Create an Entry.
+ * @param collector Collector
* @param collectable Collectable
*/
Entry(final String collector, final String collectable) {
@@ -55,7 +66,9 @@
this.collectable = collectable;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override public boolean equals(final Object obj) {
if (obj == null || !(obj instanceof Entry)) {
return false;
@@ -64,12 +77,16 @@
return collector.equals(e.collector) && collectable.equals(e.collectable);
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override public int hashCode() {
return collector.hashCode() ^ collectable.hashCode();
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
public int compareTo(final Entry e) {
int ret = collector.compareTo(e.collector);
if (ret == 0) {
@@ -80,20 +97,26 @@
} // class Entry
- /** Table. */
+ /**
+ * Table.
+ */
private Set<Entry> collections = new HashSet<Entry>();
- /** Listeners. */
+ /**
+ * Listeners.
+ */
private Set<String> listeners = new HashSet<String>();
- /** Command subpattern for collecting. */
+ /**
+ * Command subpattern for collecting.
+ */
public static final String C_COLLECT = "(?:buy|collect|need|purchase)";
{ // Commands
// TODO: add need, purchase, want and buy as verbs along with collects
new Command("what (?:items )?$COLLECTs (\\S+?)[?]?") {
@Description("Lists what items a person collects.")
- @Examples({"What items collects Nakron?", "What collects Nakron?"})
+ @Examples({ "What items collects Nakron?", "What collects Nakron?" })
@Override public void performImpl() {
listCollectablesFor(player(1));
}
@@ -101,7 +124,7 @@
new Command("(?:who (?:$COLLECTs(?: stuff)?|(?:are|r) (?:the )?collectors|is collect(?:or|ing))[?]?|$LIST collectors[.!]?)") {
@Description("Lists which players collect items.")
- @Examples({"Who collects?", "Who collects stuff?", "Who are the collectors?", "Who is collecting?", "List collectors."})
+ @Examples({ "Who collects?", "Who collects stuff?", "Who are the collectors?", "Who is collecting?", "List collectors." })
@Override public void performImpl() {
listCollectors();
}
@@ -109,7 +132,7 @@
new Command("(?:what(?:'s| is|(?: items)? (?:are|r)) (?:collected|(?:the |a )?collectables?)[?]?|$LIST collectables[.!]?)") {
@Description("Lists what items are collected.")
- @Examples({"What are the collectables?", "What items are collected?", "What is collectable?", "List collectables."})
+ @Examples({ "What are the collectables?", "What items are collected?", "What is collectable?", "List collectables." })
@Override public void performImpl() {
listCollectables();
}
@@ -117,7 +140,7 @@
new Command("(?:any(?:body|one) $COLLECTs|does any(?:body|one) $COLLECT|Is any(?:body|one) $COLLECTing|who(?:(?:'s| is) $COLLECTing| $COLLECTs| does $COLLECT)) (.*?)[?]?") {
@Description("Lists who collects a certain item. Be sure to double check. If a search for \"shield\" yields a player, check wether he really collects the kind of shield you have - perhaps he/she only collects certain types of shields. It is recommended to ask the terms in singular form.")
- @Examples({"Anyone collects shield?", "Who collects gem?", "Is anybody collecting jewel?"})
+ @Examples({ "Anyone collects shield?", "Who collects gem?", "Is anybody collecting jewel?" })
@Override public void performImpl() {
listCollectorsFor(collectable(gr(1)));
}
@@ -125,7 +148,7 @@
new Command("(?:any(?:body|one) online $COLLECTs|does any(?:body|one) online $COLLECT|is any(?:body|one) online $COLLECTing|who(?:(?:'s| is) online $COLLECTing| online $COLLECTs| online does $COLLECT)) (.*?)[?]?") {
@Description("Lists who collects a certain item. Be sure to double check. If a search for \"shield\" yields a player, check wether he really collects the kind of shield you have - perhaps he/she only collects certain types of shields. It is recommended to ask the terms in singular form.")
- @Examples({"Anyone online collects shield?", "Who online collects gem?", "Is anybody online collecting jewel?"})
+ @Examples({ "Anyone online collects shield?", "Who online collects gem?", "Is anybody online collecting jewel?" })
@Override public void performImpl() {
listOnlineCollectorsFor(collectable(gr(1)));
}
@@ -133,7 +156,7 @@
new Command("what(?:'s|(?: items)? is| does) $PLAYER $COLLECT(?:ing)?[?]?") {
@Description("Lists what items a person collects.")
- @Examples({"What's Nakron collecting?", "What items is Nakron collecting?", "What does Nakron collect?"})
+ @Examples({ "What's Nakron collecting?", "What items is Nakron collecting?", "What does Nakron collect?" })
@Override public void performImpl() {
listCollectablesFor(player(1));
}
@@ -141,7 +164,7 @@
new Command("I(?: $COLLECT nothing|(?: do(?:n'?t| not) $COLLECT|(?:'m| am) not $COLLECTing) anything)[.]?") {
@Description("Tells cherbot to completely discard your list of collections. Use it if you start over with a new initially empty list.")
- @Examples({"I collect nothing."})
+ @Examples({ "I collect nothing." })
@Override public void performImpl() {
clearCollects(getActor());
}
@@ -149,14 +172,14 @@
new Command("I(?:(?: am|'m) $COLLECTing| $COLLECT) (.*?)[.]?") {
@Description("Informs Cherbot of what you collect. Maybe you're interested in using different spellings if more than one spelling is common. Hint: use / for alternatives.")
- @Examples({"I collect rings, amulets, ammys, crowns and bracers.", "I collect slash/pierce weapons, rings/ammys (hp+/pierce protection) and cursed/damned potions."})
+ @Examples({ "I collect rings, amulets, ammys, crowns and bracers.", "I collect slash/pierce weapons, rings/ammys (hp+/pierce protection) and cursed/damned potions." })
@Override public void performImpl() {
collect(getActor(), collectables(gr(1)));
}
};
new Command("$PLAYER(?:(?: is|'s) $COLLECTing| $COLLECTs) nothing[.]?") {
@Description("Informs Cherbot that another person collects nothing.")
- @Examples({"Cherbot collects nothing."})
+ @Examples({ "Cherbot collects nothing." })
@Override public void performImpl() {
clearCollects(player(1));
}
@@ -164,7 +187,7 @@
new Command("$PLAYER(?:(?: is|'s) $COLLECTing| $COLLECTs) (.*?)[.]?") {
@Description("Informs Cherbot that another person collects something.")
- @Examples({"Cherbot collects dust."})
+ @Examples({ "Cherbot colle...
[truncated message content] |
|
From: <chr...@us...> - 2006-10-28 22:29:37
|
Revision: 15
http://svn.sourceforge.net/cherbot/?rev=15&view=rev
Author: christianhujer
Date: 2006-10-28 15:29:28 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Setup project code style settings.
Modified Paths:
--------------
trunk/cherbot.ipr
Modified: trunk/cherbot.ipr
===================================================================
--- trunk/cherbot.ipr 2006-10-28 22:22:23 UTC (rev 14)
+++ trunk/cherbot.ipr 2006-10-28 22:29:28 UTC (rev 15)
@@ -11,8 +11,40 @@
<option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
</component>
<component name="CodeStyleSettingsManager">
- <option name="PER_PROJECT_SETTINGS" />
- <option name="USE_PER_PROJECT_SETTINGS" value="false" />
+ <option name="PER_PROJECT_SETTINGS">
+ <value>
+ <option name="LINE_SEPARATOR" value=" " />
+ <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
+ <option name="ALIGN_MULTILINE_FOR" value="false" />
+ <option name="BLANK_LINES_BEFORE_PACKAGE" value="1" />
+ <option name="BLANK_LINES_AROUND_FIELD" value="1" />
+ <option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
+ <option name="SPACE_WITHIN_ARRAY_INITIALIZER_BRACES" value="true" />
+ <option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true" />
+ <option name="GENERATE_FINAL_LOCALS" value="true" />
+ <option name="GENERATE_FINAL_PARAMETERS" value="true" />
+ <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="0" />
+ <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="1" />
+ <option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
+ <value />
+ </option>
+ <option name="IMPORT_LAYOUT_TABLE">
+ <value>
+ <package name="" withSubpackages="true" />
+ </value>
+ </option>
+ <option name="RIGHT_MARGIN" value="160" />
+ <option name="IF_BRACE_FORCE" value="3" />
+ <option name="DOWHILE_BRACE_FORCE" value="3" />
+ <option name="WHILE_BRACE_FORCE" value="3" />
+ <option name="FOR_BRACE_FORCE" value="3" />
+ <option name="JD_ADD_BLANK_AFTER_DESCRIPTION" value="false" />
+ <option name="METHOD_ANNOTATION_WRAP" value="1" />
+ <option name="CLASS_ANNOTATION_WRAP" value="1" />
+ <option name="FIELD_ANNOTATION_WRAP" value="1" />
+ </value>
+ </option>
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
</component>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:22:29
|
Revision: 14
http://svn.sourceforge.net/cherbot/?rev=14&view=rev
Author: christianhujer
Date: 2006-10-28 15:22:23 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Removed some unused code.
Modified Paths:
--------------
trunk/src/net/sf/cherbot/CherBot.java
Modified: trunk/src/net/sf/cherbot/CherBot.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:19:30 UTC (rev 13)
+++ trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:22:23 UTC (rev 14)
@@ -11,14 +11,8 @@
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
-import java.net.Socket;
import java.text.BreakIterator;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sf.cherbot.Manager.Command;
@@ -194,12 +188,6 @@
public void connect(final String username, final String password, final String server) throws IOException {
this.username = username;
this.password = password;
- socket = new Socket(server, 13327);
- in = socket.getInputStream();
- out = socket.getOutputStream();
- receiveServerVersion();
- sendClientVersion();
- login();
try {
internalManager.load();
} catch (final Exception e) {
@@ -214,8 +202,6 @@
public void run() throws IOException {
try {
while (!stop) {
- dispatch(receivePacket());
- timer();
}
} finally {
try {
@@ -223,9 +209,6 @@
} catch (final Exception e) {
System.err.println(e);
}
- try { in.close(); } catch (final IOException e) { /* ignore */ } finally { in = null; }
- try { out.close(); } catch (final IOException e) { /* ignore */ } finally { out = null; }
- try { socket.close(); } catch (final IOException e) { /* ignore */ } finally { socket = null; }
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:19:44
|
Revision: 13
http://svn.sourceforge.net/cherbot/?rev=13&view=rev
Author: christianhujer
Date: 2006-10-28 15:19:30 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Added library directory.
Added Paths:
-----------
trunk/lib/
trunk/lib/LICENSE-junit-4.1.jar
trunk/lib/junit-4.1.jar
Added: trunk/lib/LICENSE-junit-4.1.jar
===================================================================
--- trunk/lib/LICENSE-junit-4.1.jar (rev 0)
+++ trunk/lib/LICENSE-junit-4.1.jar 2006-10-28 22:19:30 UTC (rev 13)
@@ -0,0 +1,125 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+<HEAD>
+<TITLE>Common Public License - v 1.0</TITLE>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</HEAD>
+
+<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
+
+
+<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
+<P><B></B><FONT SIZE="3"></FONT>
+<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
+<P><FONT SIZE="2">"Contribution" means:</FONT>
+
+<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
+b) in the case of each subsequent Contributor:</FONT></UL>
+
+
+<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
+
+
+<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
+
+
+<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
+
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
+<P><FONT SIZE="2"><B></B></FONT>
+<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
+
+<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT></UL>
+
+
+<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT></UL>
+
+
+<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
+
+
+<UL><FONT SIZE="2"></FONT></UL>
+
+<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
+<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
+
+<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
+
+
+<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
+
+
+<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
+
+
+<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
+
+
+<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
+
+
+<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
+
+
+<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
+
+<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
+
+<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
+
+
+<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
+
+<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
+<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
+<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
+<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
+<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
+<P><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
+<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
+<P><FONT SIZE="2"></FONT>
+
+</BODY>
+
+</HTML>
\ No newline at end of file
Property changes on: trunk/lib/LICENSE-junit-4.1.jar
___________________________________________________________________
Name: svn:mime-type
+ text/html
Name: svn:eol-style
+ LF
Added: trunk/lib/junit-4.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/lib/junit-4.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:15:30
|
Revision: 12
http://svn.sourceforge.net/cherbot/?rev=12&view=rev
Author: christianhujer
Date: 2006-10-28 15:14:40 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Updated copyright.
Modified Paths:
--------------
trunk/cherbot.iml
trunk/cherbot.ipr
trunk/src/net/sf/cherbot/BlackListManager.java
trunk/src/net/sf/cherbot/CherBot.java
trunk/src/net/sf/cherbot/CherBotException.java
trunk/src/net/sf/cherbot/CherBotLogger.java
trunk/src/net/sf/cherbot/CherBotPermission.java
trunk/src/net/sf/cherbot/CherBotSecurityManager.java
trunk/src/net/sf/cherbot/CollectionsManager.java
trunk/src/net/sf/cherbot/CommType.java
trunk/src/net/sf/cherbot/Crime.java
trunk/src/net/sf/cherbot/CrimeManager.java
trunk/src/net/sf/cherbot/CronManager.java
trunk/src/net/sf/cherbot/DeathsManager.java
trunk/src/net/sf/cherbot/DummyManagerProxy.java
trunk/src/net/sf/cherbot/EmotesManager.java
trunk/src/net/sf/cherbot/ExampleTestCase.java
trunk/src/net/sf/cherbot/ExampleTester.java
trunk/src/net/sf/cherbot/GreetingsManager.java
trunk/src/net/sf/cherbot/GroupManager.java
trunk/src/net/sf/cherbot/LamentsManager.java
trunk/src/net/sf/cherbot/MailManager.java
trunk/src/net/sf/cherbot/Manager.java
trunk/src/net/sf/cherbot/ManagerDocumenter.java
trunk/src/net/sf/cherbot/NoSuchPlayerException.java
trunk/src/net/sf/cherbot/NoobManager.java
trunk/src/net/sf/cherbot/PlayerManager.java
trunk/src/net/sf/cherbot/PollManager.java
trunk/src/net/sf/cherbot/RodBabyManager.java
trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
trunk/src/net/sf/cherbot/SalesManager.java
trunk/src/net/sf/cherbot/SmutException.java
trunk/src/net/sf/cherbot/SmutManager.java
trunk/src/net/sf/cherbot/TestManager.java
trunk/src/net/sf/cherbot/TimeManager.java
Added Paths:
-----------
trunk/COPYING
Added: trunk/COPYING
===================================================================
--- trunk/COPYING (rev 0)
+++ trunk/COPYING 2006-10-28 22:14:40 UTC (rev 12)
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
Property changes on: trunk/COPYING
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
Modified: trunk/cherbot.iml
===================================================================
--- trunk/cherbot.iml 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/cherbot.iml 2006-10-28 22:14:40 UTC (rev 12)
@@ -13,7 +13,7 @@
</component>
<component name="copyright">
<Base>
- <setting name="state" value="2" />
+ <setting name="state" value="1" />
</Base>
<LanguageOptions name="$TEMPLATE$">
<option name="templateOptions">
Modified: trunk/cherbot.ipr
===================================================================
--- trunk/cherbot.ipr 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/cherbot.ipr 2006-10-28 22:14:40 UTC (rev 12)
@@ -668,8 +668,176 @@
</component>
<component name="copyright">
<Base>
- <setting name="state" value="2" />
+ <setting name="state" value="1" />
</Base>
+ <LanguageOptions name="$TEMPLATE$">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright © &#36;today.year, Christian Hujer and the CherBot developers. All Rights Reserved. License: GNU General Public License v2.0 or newer. See file COPYING in the root directory of this project." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="4" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="CSS">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="HTML">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="JAVA">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="JSP">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="true" />
+ </LanguageOptions>
+ <LanguageOptions name="JavaScript">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="Properties">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="XML">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
</component>
<component name="libraryTable" />
<component name="uidesigner-configuration">
Modified: trunk/src/net/sf/cherbot/BlackListManager.java
===================================================================
--- trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/BlackListManager.java,v 1.13 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/CherBot.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBot.java,v 1.31 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/CherBotException.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBotException.java,v 1.3 2005/03/18 17:35:42 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/CherBotLogger.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBotLogger.java,v 1.2 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/CherBotPermission.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBotPermission.java,v 1.1 2005/03/01 09:14:02 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/CherBotSecurityManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBotSecurityManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/CollectionsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CollectionsManager.java,v 1.21 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/CommType.java
===================================================================
--- trunk/src/net/sf/cherbot/CommType.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CommType.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CommType.java,v 1.4 2005/11/15 20:50:07 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/Crime.java
===================================================================
--- trunk/src/net/sf/cherbot/Crime.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/Crime.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,3 +1,9 @@
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
+ */
+
package net.sf.cherbot;
/**
Modified: trunk/src/net/sf/cherbot/CrimeManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CrimeManager.java,v 1.22 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/CronManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/CronManager.java,v 1.2 2005/09/13 21:00:35 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/DeathsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/DeathsManager.java,v 1.16 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/DummyManagerProxy.java
===================================================================
--- trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/DummyManagerProxy.java,v 1.7 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/EmotesManager.java
===================================================================
--- trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/EmotesManager.java,v 1.10 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/ExampleTestCase.java
===================================================================
--- trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/ExampleTestCase.java,v 1.3 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/ExampleTester.java
===================================================================
--- trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/ExampleTester.java,v 1.2 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/GreetingsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/GreetingsManager.java,v 1.18 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/GroupManager.java
===================================================================
--- trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/GroupManager.java,v 1.19 2005/11/20 19:08:53 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/LamentsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/LamentsManager.java,v 1.16 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/MailManager.java
===================================================================
--- trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/MailManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/Manager.java
===================================================================
--- trunk/src/net/sf/cherbot/Manager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/Manager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/Manager.java,v 1.28 2005/11/15 20:50:07 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/ManagerDocumenter.java
===================================================================
--- trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/ManagerDocumenter.java,v 1.5 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/NoSuchPlayerException.java
===================================================================
--- trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/NoSuchPlayerException.java,v 1.4 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/NoobManager.java
===================================================================
--- trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/NoobManager.java,v 1.17 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/PlayerManager.java
===================================================================
--- trunk/src/net/sf/cherbot/PlayerManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/PlayerManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/PlayerManager.java,v 1.26 2005/11/15 20:50:07 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/PollManager.java
===================================================================
--- trunk/src/net/sf/cherbot/PollManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/PollManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/PollManager.java,v 1.10 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/RodBabyManager.java
===================================================================
--- trunk/src/net/sf/cherbot/RodBabyManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/RodBabyManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/RodBabyManager.java,v 1.16 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
===================================================================
--- trunk/src/net/sf/cherbot/RodBabyWannabeManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/RodBabyWannabeManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/RodBabyWannabeManager.java,v 1.12 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/SalesManager.java
===================================================================
--- trunk/src/net/sf/cherbot/SalesManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/SalesManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/SalesManager.java,v 1.13 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/SmutException.java
===================================================================
--- trunk/src/net/sf/cherbot/SmutException.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/SmutException.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/SmutException.java,v 1.1 2005/03/01 09:14:02 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/SmutManager.java
===================================================================
--- trunk/src/net/sf/cherbot/SmutManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/SmutManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/SmutManager.java,v 1.15 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/TestManager.java
===================================================================
--- trunk/src/net/sf/cherbot/TestManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/TestManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/TestManager.java,v 1.6 2005/11/09 20:30:00 chris Exp $
- *
- * © 2005 Christian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
Modified: trunk/src/net/sf/cherbot/TimeManager.java
===================================================================
--- trunk/src/net/sf/cherbot/TimeManager.java 2006-10-28 22:07:02 UTC (rev 11)
+++ trunk/src/net/sf/cherbot/TimeManager.java 2006-10-28 22:14:40 UTC (rev 12)
@@ -1,9 +1,7 @@
-/* $Header: /home/rpgroot/CherBot/src/cherbot/TimeManager.java,v 1.4 2005/08/31 13:55:28 chris Exp $
- *
- * © 2005 Chrsitian Hujer. All rights reserved.
- * License: GNU General Public License. See file COPYING in the root directory of this project.
- *
- * Log: see end of file
+/*
+ * Copyright © 2006, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
*/
package net.sf.cherbot;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:07:14
|
Revision: 11
http://svn.sourceforge.net/cherbot/?rev=11&view=rev
Author: christianhujer
Date: 2006-10-28 15:07:02 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Removing cherbot.iws from project.
Removed Paths:
-------------
trunk/cherbot.iws
Deleted: trunk/cherbot.iws
===================================================================
--- trunk/cherbot.iws 2006-10-28 22:05:52 UTC (rev 10)
+++ trunk/cherbot.iws 2006-10-28 22:07:02 UTC (rev 11)
@@ -1,577 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4" relativePaths="false">
- <component name="BookmarkManager" />
- <component name="ChangeBrowserSettings">
- <option name="MAIN_SPLITTER_PROPORTION" value="0.3" />
- <option name="MESSAGES_SPLITTER_PROPORTION" value="0.8" />
- <option name="USE_DATE_BEFORE_FILTER" value="false" />
- <option name="USE_DATE_AFTER_FILTER" value="false" />
- <option name="USE_CHANGE_BEFORE_FILTER" value="false" />
- <option name="USE_CHANGE_AFTER_FILTER" value="false" />
- <option name="DATE_BEFORE" value="" />
- <option name="DATE_AFTER" value="" />
- <option name="CHANGE_BEFORE" value="" />
- <option name="CHANGE_AFTER" value="" />
- <option name="USE_USER_FILTER" value="false" />
- <option name="USER" value="" />
- </component>
- <component name="ChangeListManager">
- <list default="true" name="Default" comment="">
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/cherbot.iws" afterPath="$PROJECT_DIR$/cherbot.iws" />
- </list>
- </component>
- <component name="ChangeListSynchronizer" />
- <component name="ChangesViewManager" flattened_view="true" />
- <component name="CheckinPanelState" />
- <component name="Commander">
- <leftPanel />
- <rightPanel />
- <splitter proportion="0.5" />
- </component>
- <component name="CompilerWorkspaceConfiguration">
- <option name="COMPILE_IN_BACKGROUND" value="false" />
- <option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true" />
- <option name="CLOSE_MESSAGE_VIEW_IF_SUCCESS" value="true" />
- <option name="COMPILE_DEPENDENT_FILES" value="false" />
- <option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
- <option name="ASSERT_NOT_NULL" value="true" />
- </component>
- <component name="CoverageDataManager" />
- <component name="Cvs2Configuration">
- <option name="PRUNE_EMPTY_DIRECTORIES" value="true" />
- <option name="MERGING_MODE" value="0" />
- <option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" />
- <option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" />
- <option name="RESET_STICKY" value="false" />
- <option name="CREATE_NEW_DIRECTORIES" value="true" />
- <option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" />
- <option name="PROCESS_UNKNOWN_FILES" value="false" />
- <option name="PROCESS_DELETED_FILES" value="false" />
- <option name="PROCESS_IGNORED_FILES" value="false" />
- <option name="RESERVED_EDIT" value="false" />
- <option name="CHECKOUT_DATE_OR_REVISION_SETTINGS">
- <value>
- <option name="BRANCH" value="" />
- <option name="DATE" value="" />
- <option name="USE_BRANCH" value="false" />
- <option name="USE_DATE" value="false" />
- </value>
- </option>
- <option name="UPDATE_DATE_OR_REVISION_SETTINGS">
- <value>
- <option name="BRANCH" value="" />
- <option name="DATE" value="" />
- <option name="USE_BRANCH" value="false" />
- <option name="USE_DATE" value="false" />
- </value>
- </option>
- <option name="SHOW_CHANGES_REVISION_SETTINGS">
- <value>
- <option name="BRANCH" value="" />
- <option name="DATE" value="" />
- <option name="USE_BRANCH" value="false" />
- <option name="USE_DATE" value="false" />
- </value>
- </option>
- <option name="SHOW_OUTPUT" value="false" />
- <option name="ADD_WATCH_INDEX" value="0" />
- <option name="REMOVE_WATCH_INDEX" value="0" />
- <option name="UPDATE_KEYWORD_SUBSTITUTION" />
- <option name="MAKE_NEW_FILES_READONLY" value="false" />
- <option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" />
- <option name="TAG_AFTER_PROJECT_COMMIT" value="false" />
- <option name="OVERRIDE_EXISTING_TAG_FOR_PROJECT" value="true" />
- <option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" />
- <option name="CLEAN_COPY" value="false" />
- </component>
- <component name="DaemonCodeAnalyzer">
- <disable_hints />
- </component>
- <component name="DebuggerManager">
- <breakpoint_any>
- <breakpoint>
- <option name="NOTIFY_CAUGHT" value="true" />
- <option name="NOTIFY_UNCAUGHT" value="true" />
- <option name="ENABLED" value="false" />
- <option name="SUSPEND_POLICY" value="SuspendAll" />
- <option name="LOG_ENABLED" value="false" />
- <option name="LOG_EXPRESSION_ENABLED" value="false" />
- <option name="COUNT_FILTER_ENABLED" value="false" />
- <option name="COUNT_FILTER" value="0" />
- <option name="CONDITION_ENABLED" value="false" />
- <option name="CLASS_FILTERS_ENABLED" value="false" />
- <option name="INSTANCE_FILTERS_ENABLED" value="false" />
- <option name="CONDITION" value="" />
- <option name="LOG_MESSAGE" value="" />
- </breakpoint>
- <breakpoint>
- <option name="NOTIFY_CAUGHT" value="true" />
- <option name="NOTIFY_UNCAUGHT" value="true" />
- <option name="ENABLED" value="false" />
- <option name="SUSPEND_POLICY" value="SuspendAll" />
- <option name="LOG_ENABLED" value="false" />
- <option name="LOG_EXPRESSION_ENABLED" value="false" />
- <option name="COUNT_FILTER_ENABLED" value="false" />
- <option name="COUNT_FILTER" value="0" />
- <option name="CONDITION_ENABLED" value="false" />
- <option name="CLASS_FILTERS_ENABLED" value="false" />
- <option name="INSTANCE_FILTERS_ENABLED" value="false" />
- <option name="CONDITION" value="" />
- <option name="LOG_MESSAGE" value="" />
- </breakpoint>
- </breakpoint_any>
- <breakpoint_rules />
- <ui_properties />
- </component>
- <component name="ErrorTreeViewConfiguration">
- <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
- <option name="HIDE_WARNINGS" value="false" />
- </component>
- <component name="FavoritesManager">
- <favorites_list name="cherbot" />
- </component>
- <component name="FavoritesProjectViewPane" />
- <component name="FileEditorManager" />
- <component name="FindManager">
- <FindUsagesManager>
- <setting name="OPEN_NEW_TAB" value="false" />
- </FindUsagesManager>
- </component>
- <component name="HierarchyBrowserManager">
- <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
- <option name="SORT_ALPHABETICALLY" value="false" />
- <option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" />
- </component>
- <component name="InspectionManager">
- <option name="AUTOSCROLL_TO_SOURCE" value="false" />
- <option name="SPLITTER_PROPORTION" value="0.5" />
- <option name="GROUP_BY_SEVERITY" value="false" />
- <option name="FILTER_RESOLVED_ITEMS" value="true" />
- <option name="ANALYZE_TEST_SOURCES" value="true" />
- <option name="SHOW_DIFF_WITH_PREVIOUS_RUN" value="false" />
- <option name="SCOPE_TYPE" value="1" />
- <option name="CUSTOM_SCOPE_NAME" value="" />
- <option name="SHOW_ONLY_DIFF" value="false" />
- <option name="myCurrentProfileName" value="Default" />
- </component>
- <component name="J2EEProjectPane" />
- <component name="JspContextManager" />
- <component name="ModuleEditorState">
- <option name="LAST_EDITED_MODULE_NAME" />
- <option name="LAST_EDITED_TAB_NAME" />
- </component>
- <component name="NamedScopeManager" />
- <component name="PackagesPane">
- <subPane>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="cherbot.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="cherbot" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
- </PATH_ELEMENT>
- </PATH>
- </subPane>
- </component>
- <component name="PerforceChangeBrowserSettings">
- <option name="USE_CLIENT_FILTER" value="true" />
- <option name="CLIENT" value="" />
- </component>
- <component name="PerforceDirect.Settings">
- <option name="useP4CONFIG" value="true" />
- <option name="port" value="<perforce_server>:1666" />
- <option name="client" value="" />
- <option name="user" value="" />
- <option name="passwd" value="" />
- <option name="showCmds" value="false" />
- <option name="useNativeApi" value="false" />
- <option name="pathToExec" value="p4" />
- <option name="useCustomPathToExec" value="false" />
- <option name="SYNC_FORCE" value="false" />
- <option name="SYNC_RUN_RESOLVE" value="true" />
- <option name="REVERT_UNCHANGED_FILES" value="true" />
- <option name="CHARSET" value="none" />
- <option name="SHOW_BRANCHES_HISTORY" value="true" />
- <option name="ENABLED" value="true" />
- <option name="USE_LOGIN" value="false" />
- <option name="LOGIN_SILENTLY" value="false" />
- <option name="INTEGRATE_RUN_RESOLVE" value="true" />
- <option name="INTEGRATE_REVERT_UNCHANGED" value="true" />
- </component>
- <component name="ProjectLevelVcsManager">
- <OptionsSetting value="true" id="Add" />
- <OptionsSetting value="true" id="Remove" />
- <OptionsSetting value="true" id="Checkin" />
- <OptionsSetting value="true" id="Checkout" />
- <OptionsSetting value="true" id="Update" />
- <OptionsSetting value="true" id="Status" />
- <OptionsSetting value="true" id="Edit" />
- <OptionsSetting value="true" id="Undo Check Out" />
- <OptionsSetting value="true" id="Compare with SourceSafe Version" />
- <OptionsSetting value="true" id="Get Latest Version" />
- <ConfirmationsSetting value="0" id="Add" />
- <ConfirmationsSetting value="0" id="Remove" />
- </component>
- <component name="ProjectPane">
- <subPane>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="cherbot.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="cherbot" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="cherbot.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="cherbot" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="cherbot.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="cherbot" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- </subPane>
- </component>
- <component name="ProjectReloadState">
- <option name="STATE" value="0" />
- </component>
- <component name="ProjectView">
- <navigator currentView="ProjectPane" proportions="0.1" version="1" splitterProportion="0.5">
- <flattenPackages />
- <showMembers />
- <showModules />
- <showLibraryContents />
- <hideEmptyPackages />
- <abbreviatePackageNames />
- <showStructure PackagesPane="false" ProjectPane="false" />
- <autoscrollToSource />
- <autoscrollFromSource />
- <sortByType />
- </navigator>
- </component>
- <component name="PropertiesComponent">
- <property name="MemberChooser.copyJavadoc" value="false" />
- <property name="GoToClass.includeLibraries" value="false" />
- <property name="MemberChooser.showClasses" value="true" />
- <property name="MemberChooser.sorted" value="false" />
- <property name="GoToFile.includeJavaFiles" value="false" />
- <property name="GoToClass.toSaveIncludeLibraries" value="false" />
- </component>
- <component name="ReadonlyStatusHandler">
- <option name="SHOW_DIALOG" value="true" />
- </component>
- <component name="RecentsManager">
- <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
- <recent name="net.sf" />
- </key>
- </component>
- <component name="RestoreUpdateTree" />
- <component name="RunManager">
- <configuration default="true" type="Applet" factoryName="Applet">
- <module name="" />
- <option name="MAIN_CLASS_NAME" />
- <option name="HTML_FILE_NAME" />
- <option name="HTML_USED" value="false" />
- <option name="WIDTH" value="400" />
- <option name="HEIGHT" value="300" />
- <option name="POLICY_FILE" value="/home/cher/Documents/Downloads/idea-5581/bin/appletviewer.policy" />
- <option name="VM_PARAMETERS" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- </configuration>
- <configuration default="true" type="JUnit" factoryName="JUnit" enabled="false" merge="false">
- <module name="" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- <option name="PACKAGE_NAME" />
- <option name="MAIN_CLASS_NAME" />
- <option name="METHOD_NAME" />
- <option name="TEST_OBJECT" value="class" />
- <option name="VM_PARAMETERS" />
- <option name="PARAMETERS" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
- <option name="ADDITIONAL_CLASS_PATH" />
- <option name="TEST_SEARCH_SCOPE">
- <value defaultName="wholeProject" />
- </option>
- <method>
- <option name="Make" value="true" />
- </method>
- </configuration>
- <configuration default="true" type="Application" factoryName="Application" enabled="false" merge="false">
- <option name="MAIN_CLASS_NAME" />
- <option name="VM_PARAMETERS" />
- <option name="PROGRAM_PARAMETERS" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- <option name="ENABLE_SWING_INSPECTOR" value="false" />
- <module name="" />
- </configuration>
- <configuration default="true" type="Remote" factoryName="Remote">
- <option name="USE_SOCKET_TRANSPORT" value="true" />
- <option name="SERVER_MODE" value="false" />
- <option name="SHMEM_ADDRESS" value="javadebug" />
- <option name="HOST" value="localhost" />
- <option name="PORT" value="5005" />
- </configuration>
- </component>
- <component name="ScopeViewComponent" />
- <component name="SelectInManager" />
- <component name="StarteamConfiguration">
- <option name="SERVER" value="" />
- <option name="PORT" value="49201" />
- <option name="USER" value="" />
- <option name="PASSWORD" value="" />
- <option name="PROJECT" value="" />
- <option name="VIEW" value="" />
- <option name="ALTERNATIVE_WORKING_PATH" value="" />
- </component>
- <component name="StructuralSearchPlugin" />
- <component name="StructureViewFactory">
- <option name="AUTOSCROLL_MODE" value="true" />
- <option name="AUTOSCROLL_FROM_SOURCE" value="false" />
- <option name="ACTIVE_ACTIONS" value="" />
- </component>
- <component name="Struts Assistant">
- <option name="showInputs" value="true" />
- <option name="resources">
- <value>
- <option name="strutsPath" />
- <option name="strutsHelp" />
- </value>
- </option>
- <option name="selectedTaglibs" />
- <option name="selectedTaglibs" />
- <option name="myStrutsValidationEnabled" value="true" />
- <option name="myTilesValidationEnabled" value="true" />
- <option name="myValidatorValidationEnabled" value="true" />
- <option name="myReportErrorsAsWarnings" value="true" />
- </component>
- <component name="SvnChangesBrowserSettings">
- <option name="USE_AUTHOR_FIELD" value="true" />
- <option name="AUTHOR" value="" />
- <option name="LOCATION" value="" />
- <option name="USE_PROJECT_SETTINGS" value="true" />
- <option name="USE_ALTERNATE_LOCATION" value="false" />
- </component>
- <component name="SvnConfiguration">
- <option name="USER" value="" />
- <option name="PASSWORD" value="" />
- <option name="PROCESS_UNRESOLVED" value="false" />
- <option name="LAST_MERGED_REVISION" />
- <option name="UPDATE_RUN_STATUS" value="false" />
- <option name="UPDATE_RECURSIVELY" value="true" />
- <option name="MERGE_DRY_RUN" value="false" />
- <configuration useDefault="true">/home/cher/.subversion</configuration>
- </component>
- <component name="TodoView" selected-index="0">
- <todo-panel id="selected-file">
- <are-packages-shown value="false" />
- <are-modules-shown value="false" />
- <flatten-packages value="false" />
- <is-autoscroll-to-source value="true" />
- </todo-panel>
- <todo-panel id="all">
- <are-packages-shown value="true" />
- <are-modules-shown value="false" />
- <flatten-packages value="false" />
- <is-autoscroll-to-source value="true" />
- </todo-panel>
- </component>
- <component name="ToolWindowManager">
- <frame x="1280" y="0" width="1280" height="1024" extended-state="6" />
- <editor active="false" />
- <layout>
- <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="7" />
- <window_info id="Log4jMonitor" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
- <window_info id="Dilbert" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2580645" order="8" />
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="4" />
- <window_info id="simpleUML" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3292683" order="0" />
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32962137" order="1" />
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
- <window_info id="Dependency Cycles" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="6" />
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Module Dependencies" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Metrics" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="JavaDoc Browser" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="2" />
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
- <window_info id="File View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="0" />
- <window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="0" />
- <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
- <window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="3" />
- <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="5" />
- </layout>
- </component>
- <component name="VCS.FileViewConfiguration">
- <option name="SELECTED_STATUSES" value="DEFAULT" />
- <option name="SELECTED_COLUMNS" value="DEFAULT" />
- <option name="SHOW_FILTERS" value="true" />
- <option name="CUSTOMIZE_VIEW" value="true" />
- <option name="SHOW_FILE_HISTORY_AS_TREE" value="true" />
- </component>
- <component name="VcsManagerConfiguration">
- <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
- <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
- <option name="PERFORM_UPDATE_IN_BACKGROUND" value="false" />
- <option name="PERFORM_COMMIT_IN_BACKGROUND" value="false" />
- <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
- <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
- <option name="LAST_COMMIT_MESSAGE" />
- <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
- <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
- <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
- <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
- <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
- <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
- <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
- <option name="ERROR_OCCURED" value="false" />
- <option name="ACTIVE_VCS_NAME" value="svn" />
- <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
- <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
- <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
- </component>
- <component name="VssConfiguration">
- <option name="CLIENT_PATH" value="" />
- <option name="SRCSAFEINI_PATH" value="" />
- <option name="USER_NAME" value="" />
- <option name="PWD" value="" />
- <option name="VSS_IS_INITIALIZED" value="true" />
- <CheckoutOptions>
- <option name="COMMENT" value="" />
- <option name="DO_NOT_GET_LATEST_VERSION" value="false" />
- <option name="REPLACE_WRITABLE" value="false" />
- <option name="RECURSIVE" value="false" />
- </CheckoutOptions>
- <CheckinOptions>
- <option name="COMMENT" value="" />
- <option name="KEEP_CHECKED_OUT" value="false" />
- <option name="RECURSIVE" value="false" />
- </CheckinOptions>
- <AddOptions>
- <option name="COMMENT" value="" />
- <option name="STORE_ONLY_LATEST_VERSION" value="false" />
- <option name="CHECK_OUT_IMMEDIATELY" value="false" />
- <option name="FILE_TYPE" value="0" />
- </AddOptions>
- <UndocheckoutOptions>
- <option name="MAKE_WRITABLE" value="false" />
- <option name="REPLACE_LOCAL_COPY" value="0" />
- <option name="RECURSIVE" value="false" />
- </UndocheckoutOptions>
- <GetOptions>
- <option name="REPLACE_WRITABLE" value="0" />
- <option name="MAKE_WRITABLE" value="false" />
- <option name="ANSWER_POSITIVELY" value="false" />
- <option name="RECURSIVE" value="false" />
- </GetOptions>
- </component>
- <component name="antWorkspaceConfiguration">
- <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
- <option name="FILTER_TARGETS" value="false" />
- </component>
- <component name="com.intellij.ide.util.scopeChooser.ScopeChooserConfigurable" proportions="" version="1">
- <option name="myLastEditedConfigurable" value="Local Scopes" />
- </component>
- <component name="com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootMasterDetailsConfigurable" proportions="0.1,0.5" version="1">
- <option name="myPlainMode" value="false" />
- <option name="myLastEditedConfigurable" value="cherbot" />
- </component>
- <component name="com.intellij.profile.ui.ErrorOptionsConfigurable" proportions="" version="1">
- <option name="myLastEditedConfigurable" />
- </component>
- <component name="editorHistoryManager" />
- <component name="simpleUML.DiagramSettingsWorkspace" />
- <component name="simpleUML.UMLToolWindowPlugin">
- <General>
- <option name="birdViewUpdateDelay" value="2000" />
- <option name="defaultFileLocation" value="file:///home/cher/Documents/Downloads/idea-5581/bin" />
- </General>
- <Classdiagram>
- <option name="diagramTitleFont" value="SansSerif,1,12" />
- <option name="diagramFont" value="SansSerif,0,10" />
- <option name="defaultFieldsExpanded" value="false" />
- <option name="defaultContructorsExpanded" value="false" />
- <option name="defaultMethodsExpanded" value="false" />
- <option name="showParameters" value="true" />
- <option name="showTooltip" value="true" />
- <option name="showReturnValues" value="true" />
- <option name="longModifier" value="true" />
- <option name="implementsBehaviour" value="1" />
- <option name="extendsBehaviour" value="1" />
- <option name="compartmentBehaviour" value="1" />
- <option name="interfaceBackgroundColor" value="-6494306" />
- <option name="abstractClassBackgroundColor" value="-1580132" />
- <option name="classBackgroundColor" value="-6508057" />
- <option name="diagramBackgroundColor" value="-1" />
- <option name="useAntialiasedConnectors" value="true" />
- <option name="quickSourceLinkColor" value="-16776961" />
- <option name="quickDiagramLinkColor" value="-8454144" />
- <option name="drawDecorations" value="false" />
- <option name="hideFieldList" value="" />
- <option name="showFieldList" value="" />
- <option name="hideConstructorList" value="" />
- <option name="showConstructorList" value="" />
- <option name="hideMethodList" value="" />
- <option name="showMethodList" value="" />
- <option name="minimumFigureSize" value="0,0" />
- </Classdiagram>
- <Dependencydiagram>
- <option name="diagramTitleFont" value="SansSerif,1,12" />
- <option name="diagramFont" value="SansSerif,0,10" />
- <option name="diagramBackgroundColor" value="-1" />
- <option name="useAntialiasedConnectors" value="true" />
- <option name="packageNameCompressionLevel" value="0" />
- </Dependencydiagram>
- <Packagediagram>
- <option name="diagramTitleFont" value="SansSerif,0,12" />
- <option name="diagramFont" value="SansSerif,0,10" />
- <option name="packageBackgroundColor" value="-4144960" />
- <option name="diagramBackgroundColor" value="-1" />
- <option name="useAntialiasedConnectors" value="true" />
- <option name="packageNameCompressionLevel" value="2" />
- </Packagediagram>
- </component>
-</project>
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:06:04
|
Revision: 10
http://svn.sourceforge.net/cherbot/?rev=10&view=rev
Author: christianhujer
Date: 2006-10-28 15:05:52 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Trying to ignore cherbot.iws.
Modified Paths:
--------------
trunk/cherbot.iws
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Name: svn:ignore
- classes
+ classes
cherbot.iws
Modified: trunk/cherbot.iws
===================================================================
--- trunk/cherbot.iws 2006-10-28 22:03:56 UTC (rev 9)
+++ trunk/cherbot.iws 2006-10-28 22:05:52 UTC (rev 10)
@@ -17,78 +17,7 @@
</component>
<component name="ChangeListManager">
<list default="true" name="Default" comment="">
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/BlackListManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/ExampleTestCase.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/ExampleTestCase.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/PollManager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CrimeManager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/Manager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBotException.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/RodBabyWannabeManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/SmutManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/SmutManager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/LamentsManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/LamentsManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/EmotesManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/ExampleTester.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/ExampleTester.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cherbot.iws" afterPath="$PROJECT_DIR$/cherbot.iws" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/TimeManager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBot.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotLogger.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotLogger.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CommType.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotException.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotException.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/NoSuchPlayerException.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/NoSuchPlayerException.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBot.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBot.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/SalesManager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/SmutException.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/PollManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/PollManager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/GroupManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/GroupManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/SmutManager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/DeathsManager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/NoobManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/SmutException.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/SmutException.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/ExampleTester.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/ExampleTestCase.java" afterPath="" />
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/net/sf" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CollectionsManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/TestManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/TestManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/MailManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CommType.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CommType.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/DeathsManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/DeathsManager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CronManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CronManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/LamentsManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/GreetingsManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/GreetingsManager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/build.xml" afterPath="$PROJECT_DIR$/build.xml" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/Manager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/Manager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/PlayerManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/PlayerManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/RodBabyManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/BlackListManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/BlackListManager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CollectionsManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CollectionsManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/NoSuchPlayerException.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBotSecurityManager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/ManagerDocumenter.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/ManagerDocumenter.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/ManagerDocumenter.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/MailManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/MailManager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/TimeManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/TimeManager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/EmotesManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/EmotesManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/TestManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/NoobManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/NoobManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBotLogger.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/DummyManagerProxy.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/DummyManagerProxy.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/Crime.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/Crime.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/Crime.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/SalesManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/SalesManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/GroupManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotPermission.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotPermission.java" />
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/net/sf/cherbot" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/GreetingsManager.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/DummyManagerProxy.java" afterPath="" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/PlayerManager.java" afterPath="" />
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/net" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/RodBabyWannabeManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/RodBabyWannabeManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBotPermission.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CrimeManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CrimeManager.java" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotSecurityManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotSecurityManager.java" />
- <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CronManager.java" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/RodBabyManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/RodBabyManager.java" />
</list>
</component>
<component name="ChangeListSynchronizer" />
@@ -232,7 +161,20 @@
<option name="LAST_EDITED_TAB_NAME" />
</component>
<component name="NamedScopeManager" />
- <component name="PackagesPane" />
+ <component name="PackagesPane">
+ <subPane>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="cherbot.ipr" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="cherbot" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ </subPane>
+ </component>
<component name="PerforceChangeBrowserSettings">
<option name="USE_CLIENT_FILTER" value="true" />
<option name="CLIENT" value="" />
@@ -319,7 +261,7 @@
</subPane>
</component>
<component name="ProjectReloadState">
- <option name="STATE" value="2" />
+ <option name="STATE" value="0" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="0.1" version="1" splitterProportion="0.5">
@@ -329,7 +271,7 @@
<showLibraryContents />
<hideEmptyPackages />
<abbreviatePackageNames />
- <showStructure ProjectPane="false" />
+ <showStructure PackagesPane="false" ProjectPane="false" />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:04:21
|
Revision: 9
http://svn.sourceforge.net/cherbot/?rev=9&view=rev
Author: christianhujer
Date: 2006-10-28 15:03:56 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Moved package.
Modified Paths:
--------------
trunk/build.xml
trunk/cherbot.iws
trunk/src/net/sf/cherbot/BlackListManager.java
trunk/src/net/sf/cherbot/CherBot.java
trunk/src/net/sf/cherbot/CherBotException.java
trunk/src/net/sf/cherbot/CherBotLogger.java
trunk/src/net/sf/cherbot/CherBotPermission.java
trunk/src/net/sf/cherbot/CherBotSecurityManager.java
trunk/src/net/sf/cherbot/CollectionsManager.java
trunk/src/net/sf/cherbot/CommType.java
trunk/src/net/sf/cherbot/Crime.java
trunk/src/net/sf/cherbot/CrimeManager.java
trunk/src/net/sf/cherbot/CronManager.java
trunk/src/net/sf/cherbot/DeathsManager.java
trunk/src/net/sf/cherbot/DummyManagerProxy.java
trunk/src/net/sf/cherbot/EmotesManager.java
trunk/src/net/sf/cherbot/ExampleTestCase.java
trunk/src/net/sf/cherbot/ExampleTester.java
trunk/src/net/sf/cherbot/GreetingsManager.java
trunk/src/net/sf/cherbot/GroupManager.java
trunk/src/net/sf/cherbot/LamentsManager.java
trunk/src/net/sf/cherbot/MailManager.java
trunk/src/net/sf/cherbot/Manager.java
trunk/src/net/sf/cherbot/ManagerDocumenter.java
trunk/src/net/sf/cherbot/NoSuchPlayerException.java
trunk/src/net/sf/cherbot/NoobManager.java
trunk/src/net/sf/cherbot/PlayerManager.java
trunk/src/net/sf/cherbot/PollManager.java
trunk/src/net/sf/cherbot/RodBabyManager.java
trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
trunk/src/net/sf/cherbot/SalesManager.java
trunk/src/net/sf/cherbot/SmutException.java
trunk/src/net/sf/cherbot/SmutManager.java
trunk/src/net/sf/cherbot/TestManager.java
trunk/src/net/sf/cherbot/TimeManager.java
Added Paths:
-----------
trunk/src/net/
trunk/src/net/sf/
trunk/src/net/sf/cherbot/
Removed Paths:
-------------
trunk/src/cherbot/
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2006-10-28 22:02:16 UTC (rev 8)
+++ trunk/build.xml 2006-10-28 22:03:56 UTC (rev 9)
@@ -49,7 +49,7 @@
</copy>
<jar destfile="CherBot.jar">
<manifest>
- <attribute name="Main-Class" value="cherbot.CherBot" />
+ <attribute name="Main-Class" value="net.sf.cherbot.CherBot" />
</manifest>
<fileset dir="classes" />
</jar>
@@ -71,7 +71,7 @@
<pathelement path="CherBot.jar" />
</classpath>
<test
- name="cherbot.ExampleTester"
+ name="net.sf.cherbot.ExampleTester"
todir="tests"
>
<formatter type="plain"/>
Modified: trunk/cherbot.iws
===================================================================
--- trunk/cherbot.iws 2006-10-28 22:02:16 UTC (rev 8)
+++ trunk/cherbot.iws 2006-10-28 22:03:56 UTC (rev 9)
@@ -16,7 +16,80 @@
<option name="USER" value="" />
</component>
<component name="ChangeListManager">
- <list default="true" name="Default" comment="" />
+ <list default="true" name="Default" comment="">
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/BlackListManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/ExampleTestCase.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/ExampleTestCase.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/PollManager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CrimeManager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/Manager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBotException.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/RodBabyWannabeManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/SmutManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/SmutManager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/LamentsManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/LamentsManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/EmotesManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/ExampleTester.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/ExampleTester.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/cherbot.iws" afterPath="$PROJECT_DIR$/cherbot.iws" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/TimeManager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBot.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotLogger.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotLogger.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CommType.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotException.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotException.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/NoSuchPlayerException.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/NoSuchPlayerException.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBot.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBot.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/SalesManager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/SmutException.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/PollManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/PollManager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/GroupManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/GroupManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/SmutManager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/DeathsManager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/NoobManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/SmutException.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/SmutException.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/ExampleTester.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/ExampleTestCase.java" afterPath="" />
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/net/sf" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CollectionsManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/TestManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/TestManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/MailManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CommType.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CommType.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/DeathsManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/DeathsManager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CronManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CronManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/LamentsManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/GreetingsManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/GreetingsManager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/build.xml" afterPath="$PROJECT_DIR$/build.xml" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/Manager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/Manager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/PlayerManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/PlayerManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/RodBabyManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/BlackListManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/BlackListManager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CollectionsManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CollectionsManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/NoSuchPlayerException.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBotSecurityManager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/ManagerDocumenter.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/ManagerDocumenter.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/ManagerDocumenter.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/MailManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/MailManager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/TimeManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/TimeManager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/EmotesManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/EmotesManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/TestManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/NoobManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/NoobManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBotLogger.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/DummyManagerProxy.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/DummyManagerProxy.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/Crime.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/Crime.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/Crime.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/SalesManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/SalesManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/GroupManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotPermission.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotPermission.java" />
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/net/sf/cherbot" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/GreetingsManager.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/DummyManagerProxy.java" afterPath="" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/PlayerManager.java" afterPath="" />
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/net" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/RodBabyWannabeManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/RodBabyWannabeManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CherBotPermission.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CrimeManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CrimeManager.java" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotSecurityManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/CherBotSecurityManager.java" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/cherbot/CronManager.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/net/sf/cherbot/RodBabyManager.java" afterPath="$PROJECT_DIR$/src/net/sf/cherbot/RodBabyManager.java" />
+ </list>
</component>
<component name="ChangeListSynchronizer" />
<component name="ChangesViewManager" flattened_view="true" />
Copied: trunk/src/net/sf/cherbot (from rev 6, trunk/src/cherbot)
Modified: trunk/src/net/sf/cherbot/BlackListManager.java
===================================================================
--- trunk/src/cherbot/BlackListManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.SortedSet;
import java.util.TreeSet;
Modified: trunk/src/net/sf/cherbot/CherBot.java
===================================================================
--- trunk/src/cherbot/CherBot.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,28 +6,24 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.BufferedReader;
-import java.io.EOFException;
import java.io.FileInputStream;
import java.io.IOException;
-import java.io.InputStream;
import java.io.InputStreamReader;
-import java.io.OutputStream;
import java.net.Socket;
import java.text.BreakIterator;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
-import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import cherbot.Manager.Command;
+import net.sf.cherbot.Manager.Command;
/** A Daimonin bot.
* @todo split this class into four: A generic base class for robots, a class handling Daimonin-specific stuff, an interface for network
Modified: trunk/src/net/sf/cherbot/CherBotException.java
===================================================================
--- trunk/src/cherbot/CherBotException.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
/** Base Exception for exteptions that could occur when using players.
* These exceptions are runtime exceptions thrown if actors use illegal arguments or commands in a wrong state.
Modified: trunk/src/net/sf/cherbot/CherBotLogger.java
===================================================================
--- trunk/src/cherbot/CherBotLogger.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.FileWriter;
import java.io.IOException;
Modified: trunk/src/net/sf/cherbot/CherBotPermission.java
===================================================================
--- trunk/src/cherbot/CherBotPermission.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.security.BasicPermission;
Modified: trunk/src/net/sf/cherbot/CherBotSecurityManager.java
===================================================================
--- trunk/src/cherbot/CherBotSecurityManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.FileInputStream;
import java.io.FileOutputStream;
Modified: trunk/src/net/sf/cherbot/CollectionsManager.java
===================================================================
--- trunk/src/cherbot/CollectionsManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.IOException;
import java.util.HashMap;
Modified: trunk/src/net/sf/cherbot/CommType.java
===================================================================
--- trunk/src/cherbot/CommType.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CommType.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.Set;
import java.util.Collections;
Modified: trunk/src/net/sf/cherbot/Crime.java
===================================================================
--- trunk/src/cherbot/Crime.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/Crime.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -1,4 +1,4 @@
-package cherbot;
+package net.sf.cherbot;
/**
* TODO
Modified: trunk/src/net/sf/cherbot/CrimeManager.java
===================================================================
--- trunk/src/cherbot/CrimeManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.IOException;
import java.util.HashMap;
Modified: trunk/src/net/sf/cherbot/CronManager.java
===================================================================
--- trunk/src/cherbot/CronManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.ArrayList;
import static java.util.Arrays.asList;
Modified: trunk/src/net/sf/cherbot/DeathsManager.java
===================================================================
--- trunk/src/cherbot/DeathsManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.HashMap;
import java.util.Map;
Modified: trunk/src/net/sf/cherbot/DummyManagerProxy.java
===================================================================
--- trunk/src/cherbot/DummyManagerProxy.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
/** A manager that serves as a proxy for disabled managers.
* If a module is removed, you don't remove the module completely, but create a DummyManagerProxy instance and list all removed modules there.
Modified: trunk/src/net/sf/cherbot/EmotesManager.java
===================================================================
--- trunk/src/cherbot/EmotesManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.ArrayList;
import java.util.HashMap;
Modified: trunk/src/net/sf/cherbot/ExampleTestCase.java
===================================================================
--- trunk/src/cherbot/ExampleTestCase.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.regex.Pattern;
import junit.framework.TestCase;
Modified: trunk/src/net/sf/cherbot/ExampleTester.java
===================================================================
--- trunk/src/cherbot/ExampleTester.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.lang.reflect.Method;
import java.util.Enumeration;
Modified: trunk/src/net/sf/cherbot/GreetingsManager.java
===================================================================
--- trunk/src/cherbot/GreetingsManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.HashMap;
import java.util.Map;
Modified: trunk/src/net/sf/cherbot/GroupManager.java
===================================================================
--- trunk/src/cherbot/GroupManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.FileInputStream;
import java.io.FileOutputStream;
Modified: trunk/src/net/sf/cherbot/LamentsManager.java
===================================================================
--- trunk/src/cherbot/LamentsManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.HashMap;
import java.util.Map;
Modified: trunk/src/net/sf/cherbot/MailManager.java
===================================================================
--- trunk/src/cherbot/MailManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import static java.lang.Integer.parseInt;
import java.text.DateFormat;
Modified: trunk/src/net/sf/cherbot/Manager.java
===================================================================
--- trunk/src/cherbot/Manager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/Manager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.BufferedReader;
import java.io.FileInputStream;
@@ -41,7 +41,7 @@
* <li>Invoke the superclass constructor like <code>super(cherbot, "mymanager")</code> to set the Cherbot and the topic (used for help).</li>
* <li>Implement the {@link #help()} method, like <code>answer("Mymanager allows you to ...");</code>.</li>
* <li>Add a private instance method for action to perform</li>
- * <li>Write an instance initializer which creates the desired commands as anonymous subclasses of {@link cherbot.Manager.Command}.</li>
+ * <li>Write an instance initializer which creates the desired commands as anonymous subclasses of {@link net.sf.cherbot.Manager.Command}.</li>
* <li>Implement the {@link Command#performImpl()} method on each command, parsing the matcher's groups and invoking the desired action
* method.</li>
* <li>
Modified: trunk/src/net/sf/cherbot/ManagerDocumenter.java
===================================================================
--- trunk/src/cherbot/ManagerDocumenter.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.lang.reflect.Method;
import javax.xml.parsers.DocumentBuilder;
Modified: trunk/src/net/sf/cherbot/NoSuchPlayerException.java
===================================================================
--- trunk/src/cherbot/NoSuchPlayerException.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
/** RuntimeException that is thrown if a player is used but not known to CherBot.
* @author $Author: chris $
Modified: trunk/src/net/sf/cherbot/NoobManager.java
===================================================================
--- trunk/src/cherbot/NoobManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.HashMap;
import java.util.Map;
Modified: trunk/src/net/sf/cherbot/PlayerManager.java
===================================================================
--- trunk/src/cherbot/PlayerManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/PlayerManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import static java.lang.Integer.parseInt;
import static java.lang.System.currentTimeMillis;
Modified: trunk/src/net/sf/cherbot/PollManager.java
===================================================================
--- trunk/src/cherbot/PollManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/PollManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.BufferedReader;
import java.io.EOFException;
Modified: trunk/src/net/sf/cherbot/RodBabyManager.java
===================================================================
--- trunk/src/cherbot/RodBabyManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/RodBabyManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.Set;
import java.util.TreeSet;
Modified: trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
===================================================================
--- trunk/src/cherbot/RodBabyWannabeManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/RodBabyWannabeManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.Set;
import java.util.TreeSet;
Modified: trunk/src/net/sf/cherbot/SalesManager.java
===================================================================
--- trunk/src/cherbot/SalesManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/SalesManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.HashSet;
import java.util.Set;
Modified: trunk/src/net/sf/cherbot/SmutException.java
===================================================================
--- trunk/src/cherbot/SmutException.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/SmutException.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
/** Exception that is thrown if someone uses smut.
* @author $Author: chris $
Modified: trunk/src/net/sf/cherbot/SmutManager.java
===================================================================
--- trunk/src/cherbot/SmutManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/SmutManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.HashSet;
import java.util.Set;
Modified: trunk/src/net/sf/cherbot/TestManager.java
===================================================================
--- trunk/src/cherbot/TestManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/TestManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.util.SortedSet;
import java.util.TreeSet;
Modified: trunk/src/net/sf/cherbot/TimeManager.java
===================================================================
--- trunk/src/cherbot/TimeManager.java 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/src/net/sf/cherbot/TimeManager.java 2006-10-28 22:03:56 UTC (rev 9)
@@ -6,7 +6,7 @@
* Log: see end of file
*/
-package cherbot;
+package net.sf.cherbot;
import java.io.Serializable;
import java.util.regex.Pattern;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:02:22
|
Revision: 8
http://svn.sourceforge.net/cherbot/?rev=8&view=rev
Author: christianhujer
Date: 2006-10-28 15:02:16 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Fixed wrong cvs setting.
Modified Paths:
--------------
trunk/cherbot.iws
Modified: trunk/cherbot.iws
===================================================================
--- trunk/cherbot.iws 2006-10-28 22:01:09 UTC (rev 7)
+++ trunk/cherbot.iws 2006-10-28 22:02:16 UTC (rev 8)
@@ -452,7 +452,7 @@
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
<option name="ERROR_OCCURED" value="false" />
- <option name="ACTIVE_VCS_NAME" value="Perforce" />
+ <option name="ACTIVE_VCS_NAME" value="svn" />
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 22:01:19
|
Revision: 7
http://svn.sourceforge.net/cherbot/?rev=7&view=rev
Author: christianhujer
Date: 2006-10-28 15:01:09 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Added IntelliJ IDEA Workspace, set cherbot version control to subversion.
Modified Paths:
--------------
trunk/cherbot.iml
Added Paths:
-----------
trunk/cherbot.iws
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Name: svn:ignore
- classes
cherbot.iws
+ classes
Modified: trunk/cherbot.iml
===================================================================
--- trunk/cherbot.iml 2006-10-28 21:53:04 UTC (rev 6)
+++ trunk/cherbot.iml 2006-10-28 22:01:09 UTC (rev 7)
@@ -15,6 +15,174 @@
<Base>
<setting name="state" value="2" />
</Base>
+ <LanguageOptions name="$TEMPLATE$">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="4" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="CSS">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="HTML">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="JAVA">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="JSP">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="JavaScript">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="Properties">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
+ <LanguageOptions name="XML">
+ <option name="templateOptions">
+ <value>
+ <option name="block" value="true" />
+ <option name="separateBefore" value="false" />
+ <option name="separateAfter" value="false" />
+ <option name="prefixLines" value="true" />
+ <option name="lenBefore" value="80" />
+ <option name="lenAfter" value="80" />
+ <option name="box" value="false" />
+ <option name="filler" value=" " />
+ </value>
+ </option>
+ <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="fileTypeOverride" value="2" />
+ <option name="relativeBefore" value="true" />
+ <option name="addBlankAfter" value="true" />
+ <option name="fileLocation" value="1" />
+ <option name="useAlternate" value="false" />
+ </LanguageOptions>
</component>
</module>
Added: trunk/cherbot.iws
===================================================================
--- trunk/cherbot.iws (rev 0)
+++ trunk/cherbot.iws 2006-10-28 22:01:09 UTC (rev 7)
@@ -0,0 +1,562 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4" relativePaths="false">
+ <component name="BookmarkManager" />
+ <component name="ChangeBrowserSettings">
+ <option name="MAIN_SPLITTER_PROPORTION" value="0.3" />
+ <option name="MESSAGES_SPLITTER_PROPORTION" value="0.8" />
+ <option name="USE_DATE_BEFORE_FILTER" value="false" />
+ <option name="USE_DATE_AFTER_FILTER" value="false" />
+ <option name="USE_CHANGE_BEFORE_FILTER" value="false" />
+ <option name="USE_CHANGE_AFTER_FILTER" value="false" />
+ <option name="DATE_BEFORE" value="" />
+ <option name="DATE_AFTER" value="" />
+ <option name="CHANGE_BEFORE" value="" />
+ <option name="CHANGE_AFTER" value="" />
+ <option name="USE_USER_FILTER" value="false" />
+ <option name="USER" value="" />
+ </component>
+ <component name="ChangeListManager">
+ <list default="true" name="Default" comment="" />
+ </component>
+ <component name="ChangeListSynchronizer" />
+ <component name="ChangesViewManager" flattened_view="true" />
+ <component name="CheckinPanelState" />
+ <component name="Commander">
+ <leftPanel />
+ <rightPanel />
+ <splitter proportion="0.5" />
+ </component>
+ <component name="CompilerWorkspaceConfiguration">
+ <option name="COMPILE_IN_BACKGROUND" value="false" />
+ <option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true" />
+ <option name="CLOSE_MESSAGE_VIEW_IF_SUCCESS" value="true" />
+ <option name="COMPILE_DEPENDENT_FILES" value="false" />
+ <option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
+ <option name="ASSERT_NOT_NULL" value="true" />
+ </component>
+ <component name="CoverageDataManager" />
+ <component name="Cvs2Configuration">
+ <option name="PRUNE_EMPTY_DIRECTORIES" value="true" />
+ <option name="MERGING_MODE" value="0" />
+ <option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" />
+ <option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" />
+ <option name="RESET_STICKY" value="false" />
+ <option name="CREATE_NEW_DIRECTORIES" value="true" />
+ <option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" />
+ <option name="PROCESS_UNKNOWN_FILES" value="false" />
+ <option name="PROCESS_DELETED_FILES" value="false" />
+ <option name="PROCESS_IGNORED_FILES" value="false" />
+ <option name="RESERVED_EDIT" value="false" />
+ <option name="CHECKOUT_DATE_OR_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="UPDATE_DATE_OR_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="SHOW_CHANGES_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="SHOW_OUTPUT" value="false" />
+ <option name="ADD_WATCH_INDEX" value="0" />
+ <option name="REMOVE_WATCH_INDEX" value="0" />
+ <option name="UPDATE_KEYWORD_SUBSTITUTION" />
+ <option name="MAKE_NEW_FILES_READONLY" value="false" />
+ <option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" />
+ <option name="TAG_AFTER_PROJECT_COMMIT" value="false" />
+ <option name="OVERRIDE_EXISTING_TAG_FOR_PROJECT" value="true" />
+ <option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" />
+ <option name="CLEAN_COPY" value="false" />
+ </component>
+ <component name="DaemonCodeAnalyzer">
+ <disable_hints />
+ </component>
+ <component name="DebuggerManager">
+ <breakpoint_any>
+ <breakpoint>
+ <option name="NOTIFY_CAUGHT" value="true" />
+ <option name="NOTIFY_UNCAUGHT" value="true" />
+ <option name="ENABLED" value="false" />
+ <option name="SUSPEND_POLICY" value="SuspendAll" />
+ <option name="LOG_ENABLED" value="false" />
+ <option name="LOG_EXPRESSION_ENABLED" value="false" />
+ <option name="COUNT_FILTER_ENABLED" value="false" />
+ <option name="COUNT_FILTER" value="0" />
+ <option name="CONDITION_ENABLED" value="false" />
+ <option name="CLASS_FILTERS_ENABLED" value="false" />
+ <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+ <option name="CONDITION" value="" />
+ <option name="LOG_MESSAGE" value="" />
+ </breakpoint>
+ <breakpoint>
+ <option name="NOTIFY_CAUGHT" value="true" />
+ <option name="NOTIFY_UNCAUGHT" value="true" />
+ <option name="ENABLED" value="false" />
+ <option name="SUSPEND_POLICY" value="SuspendAll" />
+ <option name="LOG_ENABLED" value="false" />
+ <option name="LOG_EXPRESSION_ENABLED" value="false" />
+ <option name="COUNT_FILTER_ENABLED" value="false" />
+ <option name="COUNT_FILTER" value="0" />
+ <option name="CONDITION_ENABLED" value="false" />
+ <option name="CLASS_FILTERS_ENABLED" value="false" />
+ <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+ <option name="CONDITION" value="" />
+ <option name="LOG_MESSAGE" value="" />
+ </breakpoint>
+ </breakpoint_any>
+ <breakpoint_rules />
+ <ui_properties />
+ </component>
+ <component name="ErrorTreeViewConfiguration">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="HIDE_WARNINGS" value="false" />
+ </component>
+ <component name="FavoritesManager">
+ <favorites_list name="cherbot" />
+ </component>
+ <component name="FavoritesProjectViewPane" />
+ <component name="FileEditorManager" />
+ <component name="FindManager">
+ <FindUsagesManager>
+ <setting name="OPEN_NEW_TAB" value="false" />
+ </FindUsagesManager>
+ </component>
+ <component name="HierarchyBrowserManager">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="SORT_ALPHABETICALLY" value="false" />
+ <option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" />
+ </component>
+ <component name="InspectionManager">
+ <option name="AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="SPLITTER_PROPORTION" value="0.5" />
+ <option name="GROUP_BY_SEVERITY" value="false" />
+ <option name="FILTER_RESOLVED_ITEMS" value="true" />
+ <option name="ANALYZE_TEST_SOURCES" value="true" />
+ <option name="SHOW_DIFF_WITH_PREVIOUS_RUN" value="false" />
+ <option name="SCOPE_TYPE" value="1" />
+ <option name="CUSTOM_SCOPE_NAME" value="" />
+ <option name="SHOW_ONLY_DIFF" value="false" />
+ <option name="myCurrentProfileName" value="Default" />
+ </component>
+ <component name="J2EEProjectPane" />
+ <component name="JspContextManager" />
+ <component name="ModuleEditorState">
+ <option name="LAST_EDITED_MODULE_NAME" />
+ <option name="LAST_EDITED_TAB_NAME" />
+ </component>
+ <component name="NamedScopeManager" />
+ <component name="PackagesPane" />
+ <component name="PerforceChangeBrowserSettings">
+ <option name="USE_CLIENT_FILTER" value="true" />
+ <option name="CLIENT" value="" />
+ </component>
+ <component name="PerforceDirect.Settings">
+ <option name="useP4CONFIG" value="true" />
+ <option name="port" value="<perforce_server>:1666" />
+ <option name="client" value="" />
+ <option name="user" value="" />
+ <option name="passwd" value="" />
+ <option name="showCmds" value="false" />
+ <option name="useNativeApi" value="false" />
+ <option name="pathToExec" value="p4" />
+ <option name="useCustomPathToExec" value="false" />
+ <option name="SYNC_FORCE" value="false" />
+ <option name="SYNC_RUN_RESOLVE" value="true" />
+ <option name="REVERT_UNCHANGED_FILES" value="true" />
+ <option name="CHARSET" value="none" />
+ <option name="SHOW_BRANCHES_HISTORY" value="true" />
+ <option name="ENABLED" value="true" />
+ <option name="USE_LOGIN" value="false" />
+ <option name="LOGIN_SILENTLY" value="false" />
+ <option name="INTEGRATE_RUN_RESOLVE" value="true" />
+ <option name="INTEGRATE_REVERT_UNCHANGED" value="true" />
+ </component>
+ <component name="ProjectLevelVcsManager">
+ <OptionsSetting value="true" id="Add" />
+ <OptionsSetting value="true" id="Remove" />
+ <OptionsSetting value="true" id="Checkin" />
+ <OptionsSetting value="true" id="Checkout" />
+ <OptionsSetting value="true" id="Update" />
+ <OptionsSetting value="true" id="Status" />
+ <OptionsSetting value="true" id="Edit" />
+ <OptionsSetting value="true" id="Undo Check Out" />
+ <OptionsSetting value="true" id="Compare with SourceSafe Version" />
+ <OptionsSetting value="true" id="Get Latest Version" />
+ <ConfirmationsSetting value="0" id="Add" />
+ <ConfirmationsSetting value="0" id="Remove" />
+ </component>
+ <component name="ProjectPane">
+ <subPane>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="cherbot.ipr" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="cherbot" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="cherbot.ipr" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="cherbot" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="cherbot.ipr" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="cherbot" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ </subPane>
+ </component>
+ <component name="ProjectReloadState">
+ <option name="STATE" value="2" />
+ </component>
+ <component name="ProjectView">
+ <navigator currentView="ProjectPane" proportions="0.1" version="1" splitterProportion="0.5">
+ <flattenPackages />
+ <showMembers />
+ <showModules />
+ <showLibraryContents />
+ <hideEmptyPackages />
+ <abbreviatePackageNames />
+ <showStructure ProjectPane="false" />
+ <autoscrollToSource />
+ <autoscrollFromSource />
+ <sortByType />
+ </navigator>
+ </component>
+ <component name="PropertiesComponent">
+ <property name="MemberChooser.copyJavadoc" value="false" />
+ <property name="GoToClass.includeLibraries" value="false" />
+ <property name="MemberChooser.showClasses" value="true" />
+ <property name="MemberChooser.sorted" value="false" />
+ <property name="GoToFile.includeJavaFiles" value="false" />
+ <property name="GoToClass.toSaveIncludeLibraries" value="false" />
+ </component>
+ <component name="ReadonlyStatusHandler">
+ <option name="SHOW_DIALOG" value="true" />
+ </component>
+ <component name="RecentsManager">
+ <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
+ <recent name="net.sf" />
+ </key>
+ </component>
+ <component name="RestoreUpdateTree" />
+ <component name="RunManager">
+ <configuration default="true" type="Applet" factoryName="Applet">
+ <module name="" />
+ <option name="MAIN_CLASS_NAME" />
+ <option name="HTML_FILE_NAME" />
+ <option name="HTML_USED" value="false" />
+ <option name="WIDTH" value="400" />
+ <option name="HEIGHT" value="300" />
+ <option name="POLICY_FILE" value="/home/cher/Documents/Downloads/idea-5581/bin/appletviewer.policy" />
+ <option name="VM_PARAMETERS" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ </configuration>
+ <configuration default="true" type="JUnit" factoryName="JUnit" enabled="false" merge="false">
+ <module name="" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ <option name="PACKAGE_NAME" />
+ <option name="MAIN_CLASS_NAME" />
+ <option name="METHOD_NAME" />
+ <option name="TEST_OBJECT" value="class" />
+ <option name="VM_PARAMETERS" />
+ <option name="PARAMETERS" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+ <option name="ADDITIONAL_CLASS_PATH" />
+ <option name="TEST_SEARCH_SCOPE">
+ <value defaultName="wholeProject" />
+ </option>
+ <method>
+ <option name="Make" value="true" />
+ </method>
+ </configuration>
+ <configuration default="true" type="Application" factoryName="Application" enabled="false" merge="false">
+ <option name="MAIN_CLASS_NAME" />
+ <option name="VM_PARAMETERS" />
+ <option name="PROGRAM_PARAMETERS" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ <option name="ENABLE_SWING_INSPECTOR" value="false" />
+ <module name="" />
+ </configuration>
+ <configuration default="true" type="Remote" factoryName="Remote">
+ <option name="USE_SOCKET_TRANSPORT" value="true" />
+ <option name="SERVER_MODE" value="false" />
+ <option name="SHMEM_ADDRESS" value="javadebug" />
+ <option name="HOST" value="localhost" />
+ <option name="PORT" value="5005" />
+ </configuration>
+ </component>
+ <component name="ScopeViewComponent" />
+ <component name="SelectInManager" />
+ <component name="StarteamConfiguration">
+ <option name="SERVER" value="" />
+ <option name="PORT" value="49201" />
+ <option name="USER" value="" />
+ <option name="PASSWORD" value="" />
+ <option name="PROJECT" value="" />
+ <option name="VIEW" value="" />
+ <option name="ALTERNATIVE_WORKING_PATH" value="" />
+ </component>
+ <component name="StructuralSearchPlugin" />
+ <component name="StructureViewFactory">
+ <option name="AUTOSCROLL_MODE" value="true" />
+ <option name="AUTOSCROLL_FROM_SOURCE" value="false" />
+ <option name="ACTIVE_ACTIONS" value="" />
+ </component>
+ <component name="Struts Assistant">
+ <option name="showInputs" value="true" />
+ <option name="resources">
+ <value>
+ <option name="strutsPath" />
+ <option name="strutsHelp" />
+ </value>
+ </option>
+ <option name="selectedTaglibs" />
+ <option name="selectedTaglibs" />
+ <option name="myStrutsValidationEnabled" value="true" />
+ <option name="myTilesValidationEnabled" value="true" />
+ <option name="myValidatorValidationEnabled" value="true" />
+ <option name="myReportErrorsAsWarnings" value="true" />
+ </component>
+ <component name="SvnChangesBrowserSettings">
+ <option name="USE_AUTHOR_FIELD" value="true" />
+ <option name="AUTHOR" value="" />
+ <option name="LOCATION" value="" />
+ <option name="USE_PROJECT_SETTINGS" value="true" />
+ <option name="USE_ALTERNATE_LOCATION" value="false" />
+ </component>
+ <component name="SvnConfiguration">
+ <option name="USER" value="" />
+ <option name="PASSWORD" value="" />
+ <option name="PROCESS_UNRESOLVED" value="false" />
+ <option name="LAST_MERGED_REVISION" />
+ <option name="UPDATE_RUN_STATUS" value="false" />
+ <option name="UPDATE_RECURSIVELY" value="true" />
+ <option name="MERGE_DRY_RUN" value="false" />
+ <configuration useDefault="true">/home/cher/.subversion</configuration>
+ </component>
+ <component name="TodoView" selected-index="0">
+ <todo-panel id="selected-file">
+ <are-packages-shown value="false" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="true" />
+ </todo-panel>
+ <todo-panel id="all">
+ <are-packages-shown value="true" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="true" />
+ </todo-panel>
+ </component>
+ <component name="ToolWindowManager">
+ <frame x="1280" y="0" width="1280" height="1024" extended-state="6" />
+ <editor active="false" />
+ <layout>
+ <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="7" />
+ <window_info id="Log4jMonitor" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
+ <window_info id="Dilbert" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2580645" order="8" />
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="4" />
+ <window_info id="simpleUML" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3292683" order="0" />
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32962137" order="1" />
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
+ <window_info id="Dependency Cycles" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="6" />
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Module Dependencies" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Metrics" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="JavaDoc Browser" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="2" />
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
+ <window_info id="File View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="0" />
+ <window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="0" />
+ <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
+ <window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="3" />
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="5" />
+ </layout>
+ </component>
+ <component name="VCS.FileViewConfiguration">
+ <option name="SELECTED_STATUSES" value="DEFAULT" />
+ <option name="SELECTED_COLUMNS" value="DEFAULT" />
+ <option name="SHOW_FILTERS" value="true" />
+ <option name="CUSTOMIZE_VIEW" value="true" />
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="true" />
+ </component>
+ <component name="VcsManagerConfiguration">
+ <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
+ <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
+ <option name="PERFORM_UPDATE_IN_BACKGROUND" value="false" />
+ <option name="PERFORM_COMMIT_IN_BACKGROUND" value="false" />
+ <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
+ <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
+ <option name="LAST_COMMIT_MESSAGE" />
+ <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
+ <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+ <option name="ERROR_OCCURED" value="false" />
+ <option name="ACTIVE_VCS_NAME" value="Perforce" />
+ <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
+ <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
+ </component>
+ <component name="VssConfiguration">
+ <option name="CLIENT_PATH" value="" />
+ <option name="SRCSAFEINI_PATH" value="" />
+ <option name="USER_NAME" value="" />
+ <option name="PWD" value="" />
+ <option name="VSS_IS_INITIALIZED" value="true" />
+ <CheckoutOptions>
+ <option name="COMMENT" value="" />
+ <option name="DO_NOT_GET_LATEST_VERSION" value="false" />
+ <option name="REPLACE_WRITABLE" value="false" />
+ <option name="RECURSIVE" value="false" />
+ </CheckoutOptions>
+ <CheckinOptions>
+ <option name="COMMENT" value="" />
+ <option name="KEEP_CHECKED_OUT" value="false" />
+ <option name="RECURSIVE" value="false" />
+ </CheckinOptions>
+ <AddOptions>
+ <option name="COMMENT" value="" />
+ <option name="STORE_ONLY_LATEST_VERSION" value="false" />
+ <option name="CHECK_OUT_IMMEDIATELY" value="false" />
+ <option name="FILE_TYPE" value="0" />
+ </AddOptions>
+ <UndocheckoutOptions>
+ <option name="MAKE_WRITABLE" value="false" />
+ <option name="REPLACE_LOCAL_COPY" value="0" />
+ <option name="RECURSIVE" value="false" />
+ </UndocheckoutOptions>
+ <GetOptions>
+ <option name="REPLACE_WRITABLE" value="0" />
+ <option name="MAKE_WRITABLE" value="false" />
+ <option name="ANSWER_POSITIVELY" value="false" />
+ <option name="RECURSIVE" value="false" />
+ </GetOptions>
+ </component>
+ <component name="antWorkspaceConfiguration">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="FILTER_TARGETS" value="false" />
+ </component>
+ <component name="com.intellij.ide.util.scopeChooser.ScopeChooserConfigurable" proportions="" version="1">
+ <option name="myLastEditedConfigurable" value="Local Scopes" />
+ </component>
+ <component name="com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootMasterDetailsConfigurable" proportions="0.1,0.5" version="1">
+ <option name="myPlainMode" value="false" />
+ <option name="myLastEditedConfigurable" value="cherbot" />
+ </component>
+ <component name="com.intellij.profile.ui.ErrorOptionsConfigurable" proportions="" version="1">
+ <option name="myLastEditedConfigurable" />
+ </component>
+ <component name="editorHistoryManager" />
+ <component name="simpleUML.DiagramSettingsWorkspace" />
+ <component name="simpleUML.UMLToolWindowPlugin">
+ <General>
+ <option name="birdViewUpdateDelay" value="2000" />
+ <option name="defaultFileLocation" value="file:///home/cher/Documents/Downloads/idea-5581/bin" />
+ </General>
+ <Classdiagram>
+ <option name="diagramTitleFont" value="SansSerif,1,12" />
+ <option name="diagramFont" value="SansSerif,0,10" />
+ <option name="defaultFieldsExpanded" value="false" />
+ <option name="defaultContructorsExpanded" value="false" />
+ <option name="defaultMethodsExpanded" value="false" />
+ <option name="showParameters" value="true" />
+ <option name="showTooltip" value="true" />
+ <option name="showReturnValues" value="true" />
+ <option name="longModifier" value="true" />
+ <option name="implementsBehaviour" value="1" />
+ <option name="extendsBehaviour" value="1" />
+ <option name="compartmentBehaviour" value="1" />
+ <option name="interfaceBackgroundColor" value="-6494306" />
+ <option name="abstractClassBackgroundColor" value="-1580132" />
+ <option name="classBackgroundColor" value="-6508057" />
+ <option name="diagramBackgroundColor" value="-1" />
+ <option name="useAntialiasedConnectors" value="true" />
+ <option name="quickSourceLinkColor" value="-16776961" />
+ <option name="quickDiagramLinkColor" value="-8454144" />
+ <option name="drawDecorations" value="false" />
+ <option name="hideFieldList" value="" />
+ <option name="showFieldList" value="" />
+ <option name="hideConstructorList" value="" />
+ <option name="showConstructorList" value="" />
+ <option name="hideMethodList" value="" />
+ <option name="showMethodList" value="" />
+ <option name="minimumFigureSize" value="0,0" />
+ </Classdiagram>
+ <Dependencydiagram>
+ <option name="diagramTitleFont" value="SansSerif,1,12" />
+ <option name="diagramFont" value="SansSerif,0,10" />
+ <option name="diagramBackgroundColor" value="-1" />
+ <option name="useAntialiasedConnectors" value="true" />
+ <option name="packageNameCompressionLevel" value="0" />
+ </Dependencydiagram>
+ <Packagediagram>
+ <option name="diagramTitleFont" value="SansSerif,0,12" />
+ <option name="diagramFont" value="SansSerif,0,10" />
+ <option name="packageBackgroundColor" value="-4144960" />
+ <option name="diagramBackgroundColor" value="-1" />
+ <option name="useAntialiasedConnectors" value="true" />
+ <option name="packageNameCompressionLevel" value="2" />
+ </Packagediagram>
+ </component>
+</project>
+
Property changes on: trunk/cherbot.iws
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 21:53:17
|
Revision: 6
http://svn.sourceforge.net/cherbot/?rev=6&view=rev
Author: christianhujer
Date: 2006-10-28 14:53:04 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Added IntelliJ IDEA project files.
Added Paths:
-----------
trunk/cherbot.iml
trunk/cherbot.ipr
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Name: svn:ignore
- classes
+ classes
cherbot.iws
Added: trunk/cherbot.iml
===================================================================
--- trunk/cherbot.iml (rev 0)
+++ trunk/cherbot.iml 2006-10-28 21:53:04 UTC (rev 6)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="DependecySynchronizer" />
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntryProperties />
+ </component>
+ <component name="copyright">
+ <Base>
+ <setting name="state" value="2" />
+ </Base>
+ </component>
+</module>
+
Property changes on: trunk/cherbot.iml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/cherbot.ipr
===================================================================
--- trunk/cherbot.ipr (rev 0)
+++ trunk/cherbot.ipr 2006-10-28 21:53:04 UTC (rev 6)
@@ -0,0 +1,682 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4" relativePaths="false">
+ <component name="AntConfiguration">
+ <defaultAnt bundledAnt="true" />
+ </component>
+ <component name="BuildJarProjectSettings">
+ <option name="BUILD_JARS_ON_MAKE" value="false" />
+ </component>
+ <component name="CodeStyleProjectProfileManger">
+ <option name="PROJECT_PROFILE" />
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+ </component>
+ <component name="CodeStyleSettingsManager">
+ <option name="PER_PROJECT_SETTINGS" />
+ <option name="USE_PER_PROJECT_SETTINGS" value="false" />
+ </component>
+ <component name="CompilerConfiguration">
+ <option name="DEFAULT_COMPILER" value="Javac" />
+ <option name="DEPLOY_AFTER_MAKE" value="0" />
+ <resourceExtensions>
+ <entry name=".+\.(properties|xml|html|dtd|tld)" />
+ <entry name=".+\.(gif|png|jpeg|jpg)" />
+ </resourceExtensions>
+ <wildcardResourcePatterns>
+ <entry name="?*.properties" />
+ <entry name="?*.xml" />
+ <entry name="?*.gif" />
+ <entry name="?*.png" />
+ <entry name="?*.jpeg" />
+ <entry name="?*.jpg" />
+ <entry name="?*.html" />
+ <entry name="?*.dtd" />
+ <entry name="?*.tld" />
+ <entry name="?*.properties" />
+ <entry name="?*.xml" />
+ <entry name="?*.html" />
+ <entry name="?*.dtd" />
+ <entry name="?*.tld" />
+ <entry name="?*.gif" />
+ <entry name="?*.png" />
+ <entry name="?*.jpeg" />
+ <entry name="?*.jpg" />
+ </wildcardResourcePatterns>
+ </component>
+ <component name="DataSourceManagerImpl" />
+ <component name="DependenciesAnalyzeManager">
+ <option name="myForwardDirection" value="false" />
+ </component>
+ <component name="DependencyValidationManager" />
+ <component name="EclipseCompilerSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="true" />
+ <option name="DEPRECATION" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="EclipseEmbeddedCompilerSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="true" />
+ <option name="DEPRECATION" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="EntryPointsManager">
+ <entry_points />
+ </component>
+ <component name="ExportToHTMLSettings">
+ <option name="PRINT_LINE_NUMBERS" value="false" />
+ <option name="OPEN_IN_BROWSER" value="false" />
+ <option name="OUTPUT_DIRECTORY" />
+ </component>
+ <component name="GUI Designer component loader factory" />
+ <component name="IdProvider" IDEtalkID="ED349DBC49AC650043B9D99F1B6300AE" />
+ <component name="InspectionProjectProfileManager">
+ <option name="PROJECT_PROFILE" value="Project Default" />
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+ <scopes />
+ <profiles>
+ <profile version="1.0" is_locked="false">
+ <option name="myName" value="Project Default" />
+ <option name="myLocal" value="false" />
+ <used_levels>
+ <error>
+ <option name="myName" value="ERROR" />
+ <option name="myVal" value="400" />
+ </error>
+ <warning>
+ <option name="myName" value="WARNING" />
+ <option name="myVal" value="300" />
+ </warning>
+ <information>
+ <option name="myName" value="INFO" />
+ <option name="myVal" value="200" />
+ </information>
+ <server>
+ <option name="myName" value="SERVER PROBLEM" />
+ <option name="myVal" value="100" />
+ </server>
+ </used_levels>
+ <inspection_tool class="InstanceofChain" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassReferencesSubclass" level="WARNING" enabled="true" />
+ <inspection_tool class="DeclareCollectionAsInterface" level="WARNING" enabled="true">
+ <option name="ignoreLocalVariables" value="false" />
+ <option name="ignorePrivateMethodsAndFields" value="false" />
+ </inspection_tool>
+ <inspection_tool class="FeatureEnvy" level="WARNING" enabled="true" />
+ <inspection_tool class="InstanceofThis" level="WARNING" enabled="true" />
+ <inspection_tool class="MagicNumber" level="WARNING" enabled="true">
+ <option name="m_ignoreInHashCode" value="true" />
+ </inspection_tool>
+ <inspection_tool class="OverlyStrongTypeCast" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodOnlyUsedFromInnerClass" level="WARNING" enabled="true">
+ <option name="ignoreMethodsAccessedFromAnonymousClass" value="false" />
+ </inspection_tool>
+ <inspection_tool class="StaticMethodOnlyUsedInOneClass" level="WARNING" enabled="true" />
+ <inspection_tool class="ReplaceAssignmentWithOperatorAssignment" level="WARNING" enabled="true">
+ <option name="ignoreLazyOperators" value="true" />
+ <option name="ignoreObscureOperators" value="false" />
+ </inspection_tool>
+ <inspection_tool class="AssignmentToForLoopParameter" level="WARNING" enabled="true">
+ <option name="m_checkForeachParameters" value="false" />
+ </inspection_tool>
+ <inspection_tool class="AssignmentToCatchBlockParameter" level="WARNING" enabled="true" />
+ <inspection_tool class="AssignmentToMethodParameter" level="WARNING" enabled="true">
+ <option name="ignoreTransformationOfOriginalParameter" value="false" />
+ </inspection_tool>
+ <inspection_tool class="NestedAssignment" level="WARNING" enabled="true" />
+ <inspection_tool class="IncrementDecrementUsedAsExpression" level="WARNING" enabled="true" />
+ <inspection_tool class="AnonymousClassMethodCount" level="WARNING" enabled="true">
+ <option name="m_limit" value="1" />
+ </inspection_tool>
+ <inspection_tool class="ClassInheritanceDepth" level="WARNING" enabled="true">
+ <option name="m_limit" value="2" />
+ </inspection_tool>
+ <inspection_tool class="ConstructorCount" level="WARNING" enabled="true">
+ <option name="m_limit" value="5" />
+ </inspection_tool>
+ <inspection_tool class="FieldCount" level="WARNING" enabled="true">
+ <option name="m_countConstantFields" value="false" />
+ <option name="m_considerStaticFinalFieldsConstant" value="false" />
+ <option name="m_limit" value="10" />
+ </inspection_tool>
+ <inspection_tool class="MethodCount" level="WARNING" enabled="true">
+ <option name="m_limit" value="20" />
+ </inspection_tool>
+ <inspection_tool class="ClassNestingDepth" level="WARNING" enabled="true">
+ <option name="m_limit" value="1" />
+ </inspection_tool>
+ <inspection_tool class="AnonymousClassComplexity" level="WARNING" enabled="true">
+ <option name="m_limit" value="3" />
+ </inspection_tool>
+ <inspection_tool class="ClassComplexity" level="WARNING" enabled="true">
+ <option name="m_limit" value="80" />
+ </inspection_tool>
+ <inspection_tool class="ClassCoupling" level="WARNING" enabled="true">
+ <option name="m_includeJavaClasses" value="false" />
+ <option name="m_includeLibraryClasses" value="false" />
+ <option name="m_limit" value="15" />
+ </inspection_tool>
+ <inspection_tool class="ThrowablePrintStackTrace" level="WARNING" enabled="true" />
+ <inspection_tool class="ThreadDumpStack" level="WARNING" enabled="true" />
+ <inspection_tool class="ObsoleteCollection" level="WARNING" enabled="true" />
+ <inspection_tool class="SystemOutErr" level="WARNING" enabled="true" />
+ <inspection_tool class="UseOfAnotherObjectsPrivateField" level="WARNING" enabled="true" />
+ <inspection_tool class="AssignmentToCollectionFieldFromParameter" level="WARNING" enabled="true">
+ <option name="ignorePrivateMethods" value="true" />
+ </inspection_tool>
+ <inspection_tool class="AssignmentToDateFieldFromParameter" level="WARNING" enabled="true">
+ <option name="ignorePrivateMethods" value="true" />
+ </inspection_tool>
+ <inspection_tool class="PackageVisibleField" level="WARNING" enabled="true" />
+ <inspection_tool class="PackageVisibleInnerClass" level="WARNING" enabled="true" />
+ <inspection_tool class="ProtectedField" level="WARNING" enabled="true" />
+ <inspection_tool class="ProtectedInnerClass" level="WARNING" enabled="true" />
+ <inspection_tool class="PublicField" level="WARNING" enabled="true" />
+ <inspection_tool class="PublicInnerClass" level="WARNING" enabled="true" />
+ <inspection_tool class="ReturnOfCollectionField" level="WARNING" enabled="true">
+ <option name="ignorePrivateMethods" value="true" />
+ </inspection_tool>
+ <inspection_tool class="ReturnOfDateField" level="WARNING" enabled="true" />
+ <inspection_tool class="OnDemandImport" level="WARNING" enabled="true" />
+ <inspection_tool class="SamePackageImport" level="WARNING" enabled="true" />
+ <inspection_tool class="JavaLangImport" level="WARNING" enabled="true" />
+ <inspection_tool class="RedundantImport" level="WARNING" enabled="true" />
+ <inspection_tool class="UnusedImport" level="WARNING" enabled="true" />
+ <inspection_tool class="AbstractMethodCallInConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="InstanceVariableUninitializedUse" level="WARNING" enabled="true">
+ <option name="m_ignorePrimitives" value="false" />
+ </inspection_tool>
+ <inspection_tool class="NonFinalStaticVariableUsedInClassInitialization" level="WARNING" enabled="true" />
+ <inspection_tool class="OverridableMethodCallInConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="OverriddenMethodCallInConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticVariableInitialization" level="WARNING" enabled="true">
+ <option name="m_ignorePrimitives" value="false" />
+ </inspection_tool>
+ <inspection_tool class="StaticVariableUninitializedUse" level="WARNING" enabled="true">
+ <option name="m_ignorePrimitives" value="false" />
+ </inspection_tool>
+ <inspection_tool class="ThisEscapedInConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="NonThreadSafeLazyInitialization" level="WARNING" enabled="true" />
+ <inspection_tool class="AssertAsName" level="WARNING" enabled="true" />
+ <inspection_tool class="EnumAsName" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassWithoutConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="FieldHasSetterButNoGetter" level="WARNING" enabled="true" />
+ <inspection_tool class="JUnitAbstractTestClassNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][A-Za-z\d]*TestCase" />
+ <option name="m_minLength" value="12" />
+ <option name="m_maxLength" value="64" />
+ </inspection_tool>
+ <inspection_tool class="TestCaseWithNoTestMethods" level="WARNING" enabled="true" />
+ <inspection_tool class="JUnitTestClassNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][A-Za-z\d]*Test" />
+ <option name="m_minLength" value="8" />
+ <option name="m_maxLength" value="64" />
+ </inspection_tool>
+ <inspection_tool class="TestMethodWithoutAssertion" level="WARNING" enabled="true" />
+ <inspection_tool class="TestCaseInProductCode" level="WARNING" enabled="true" />
+ <inspection_tool class="TestCaseWithConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="BeforeOrAfterIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="BeforeClassOrAfterClassIsPublicStaticVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="AssertsWithoutMessages" level="WARNING" enabled="true" />
+ <inspection_tool class="MisorderedAssertEqualsParameters" level="WARNING" enabled="true" />
+ <inspection_tool class="SetupCallsSuperSetup" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledSetUp" level="WARNING" enabled="true" />
+ <inspection_tool class="SetupIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="SimplifiableJUnitAssertion" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticSuite" level="WARNING" enabled="true" />
+ <inspection_tool class="TeardownCallsSuperTeardown" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledTearDown" level="WARNING" enabled="true" />
+ <inspection_tool class="TeardownIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="TestMethodIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="TestMethodInProductCode" level="WARNING" enabled="true" />
+ <inspection_tool class="UnconstructableTestCase" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassWithMultipleLoggers" level="WARNING" enabled="true">
+ <option name="loggerClassName" value="java.util.logging.Logger" />
+ </inspection_tool>
+ <inspection_tool class="NonStaticFinalLogger" level="WARNING" enabled="true">
+ <option name="loggerClassName" value="java.util.logging.Logger" />
+ </inspection_tool>
+ <inspection_tool class="SystemGC" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticCollection" level="WARNING" enabled="true">
+ <option name="m_ignoreWeakCollections" value="false" />
+ </inspection_tool>
+ <inspection_tool class="StringBufferField" level="WARNING" enabled="true" />
+ <inspection_tool class="ZeroLengthArrayInitialization" level="WARNING" enabled="true" />
+ <inspection_tool class="ThreeNegationsPerMethod" level="WARNING" enabled="true">
+ <option name="m_ignoreInEquals" value="true" />
+ </inspection_tool>
+ <inspection_tool class="MethodWithMultipleLoops" level="WARNING" enabled="true" />
+ <inspection_tool class="MultipleReturnPointsPerMethod" level="WARNING" enabled="true">
+ <option name="m_limit" value="1" />
+ </inspection_tool>
+ <inspection_tool class="ThrownExceptionsPerMethod" level="WARNING" enabled="true">
+ <option name="m_limit" value="3" />
+ </inspection_tool>
+ <inspection_tool class="ParametersPerMethod" level="WARNING" enabled="true">
+ <option name="m_limit" value="5" />
+ </inspection_tool>
+ <inspection_tool class="CyclomaticComplexity" level="WARNING" enabled="true">
+ <option name="m_limit" value="10" />
+ </inspection_tool>
+ <inspection_tool class="MethodCoupling" level="WARNING" enabled="true">
+ <option name="m_includeJavaClasses" value="false" />
+ <option name="m_includeLibraryClasses" value="false" />
+ <option name="m_limit" value="10" />
+ </inspection_tool>
+ <inspection_tool class="NonCommentSourceStatements" level="WARNING" enabled="true">
+ <option name="m_limit" value="30" />
+ </inspection_tool>
+ <inspection_tool class="NestingDepth" level="WARNING" enabled="true">
+ <option name="m_limit" value="5" />
+ </inspection_tool>
+ <inspection_tool class="AnnotationNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][A-Za-z\d]*" />
+ <option name="m_minLength" value="8" />
+ <option name="m_maxLength" value="64" />
+ </inspection_tool>
+ <inspection_tool class="BooleanMethodNameMustStartWithQuestion" level="WARNING" enabled="true">
+ <option name="nameCheckString" value="is,can,has,should,could,will,shall,check,contains,equals,add,put,remove,startsWith,endsWith" />
+ </inspection_tool>
+ <inspection_tool class="ClassNameSameAsAncestorName" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][A-Za-z\d]*" />
+ <option name="m_minLength" value="8" />
+ <option name="m_maxLength" value="64" />
+ </inspection_tool>
+ <inspection_tool class="ConfusingMainMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="ConstantNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z_\d]*" />
+ <option name="m_minLength" value="5" />
+ <option name="m_maxLength" value="32" />
+ </inspection_tool>
+ <inspection_tool class="EnumeratedClassNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][A-Za-z\d]*" />
+ <option name="m_minLength" value="4" />
+ <option name="m_maxLength" value="64" />
+ </inspection_tool>
+ <inspection_tool class="EnumeratedConstantNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][_A-Za-z\d]*" />
+ <option name="m_minLength" value="5" />
+ <option name="m_maxLength" value="32" />
+ </inspection_tool>
+ <inspection_tool class="ExceptionNameDoesntEndWithException" level="WARNING" enabled="true" />
+ <inspection_tool class="InstanceMethodNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[a-z][A-Za-z\d]*" />
+ <option name="m_minLength" value="4" />
+ <option name="m_maxLength" value="32" />
+ </inspection_tool>
+ <inspection_tool class="InstanceVariableNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[a-z][A-Za-z\d]*" />
+ <option name="m_minLength" value="5" />
+ <option name="m_maxLength" value="32" />
+ </inspection_tool>
+ <inspection_tool class="InterfaceNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][A-Za-z\d]*" />
+ <option name="m_minLength" value="4" />
+ <option name="m_maxLength" value="64" />
+ </inspection_tool>
+ <inspection_tool class="LocalVariableNamingConvention" level="WARNING" enabled="true">
+ <option name="m_ignoreForLoopParameters" value="false" />
+ <option name="m_ignoreCatchParameters" value="false" />
+ <option name="m_regex" value="[a-z][A-Za-z\d]*" />
+ <option name="m_minLength" value="1" />
+ <option name="m_maxLength" value="20" />
+ </inspection_tool>
+ <inspection_tool class="MethodNameSameAsClassName" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodNameSameAsParentName" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodNamesDifferOnlyByCase" level="WARNING" enabled="true" />
+ <inspection_tool class="ParameterNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[a-z][A-Za-z\d]*" />
+ <option name="m_minLength" value="1" />
+ <option name="m_maxLength" value="20" />
+ </inspection_tool>
+ <inspection_tool class="NonBooleanMethodNameMayNotStartWithQuestion" level="WARNING" enabled="true">
+ <option name="nameCheckString" value="is,can,has,should,could,will,shall,check,contains,equals,startsWith,endsWith" />
+ </inspection_tool>
+ <inspection_tool class="UpperCaseFieldNameNotConstant" level="WARNING" enabled="true" />
+ <inspection_tool class="NonExceptionNameEndsWithException" level="WARNING" enabled="true" />
+ <inspection_tool class="OverloadedMethodsWithSameNumberOfParameters" level="WARNING" enabled="true" />
+ <inspection_tool class="OverloadedVarargsMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="ParameterNameDiffersFromOverriddenParameter" level="WARNING" enabled="true">
+ <option name="m_ignoreSingleCharacterNames" value="false" />
+ <option name="m_ignoreOverridesOfLibraryMethods" value="false" />
+ </inspection_tool>
+ <inspection_tool class="QuestionableName" level="WARNING" enabled="true">
+ <option name="nameCheckString" value="foo,bar,baz" />
+ </inspection_tool>
+ <inspection_tool class="StandardVariableNames" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticMethodNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[a-z][A-Za-z\d]*" />
+ <option name="m_minLength" value="4" />
+ <option name="m_maxLength" value="32" />
+ </inspection_tool>
+ <inspection_tool class="StaticVariableNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="s_[a-z][A-Za-z\d]*" />
+ <option name="m_minLength" value="5" />
+ <option name="m_maxLength" value="32" />
+ </inspection_tool>
+ <inspection_tool class="TypeParameterNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z\d]" />
+ <option name="m_minLength" value="1" />
+ <option name="m_maxLength" value="1" />
+ </inspection_tool>
+ <inspection_tool class="DollarSignInName" level="WARNING" enabled="true" />
+ <inspection_tool class="RuntimeExec" level="WARNING" enabled="true" />
+ <inspection_tool class="SystemExit" level="WARNING" enabled="true" />
+ <inspection_tool class="SystemGetenv" level="WARNING" enabled="true" />
+ <inspection_tool class="HardcodedFileSeparators" level="WARNING" enabled="true" />
+ <inspection_tool class="NativeMethods" level="WARNING" enabled="true" />
+ <inspection_tool class="UseOfAWTPeerClass" level="WARNING" enabled="true" />
+ <inspection_tool class="UseOfJDBCDriverClass" level="WARNING" enabled="true" />
+ <inspection_tool class="UseOfProcessBuilder" level="WARNING" enabled="true" />
+ <inspection_tool class="UseOfSunClasses" level="WARNING" enabled="true" />
+ <inspection_tool class="ChannelResource" level="WARNING" enabled="true" />
+ <inspection_tool class="HibernateResource" level="WARNING" enabled="true" />
+ <inspection_tool class="IOResource" level="WARNING" enabled="true" />
+ <inspection_tool class="JDBCResource" level="WARNING" enabled="true" />
+ <inspection_tool class="JNDIResource" level="WARNING" enabled="true" />
+ <inspection_tool class="SocketResource" level="WARNING" enabled="true" />
+ <inspection_tool class="DriverManagerGetConnection" level="WARNING" enabled="true" />
+ <inspection_tool class="SystemProperties" level="WARNING" enabled="true" />
+ <inspection_tool class="JDBCPrepareStatementWithNonConstantString" level="WARNING" enabled="true" />
+ <inspection_tool class="RuntimeExecWithNonConstantString" level="WARNING" enabled="true" />
+ <inspection_tool class="JDBCExecuteWithNonConstantString" level="WARNING" enabled="true" />
+ <inspection_tool class="LoadLibraryWithNonConstantString" level="WARNING" enabled="true" />
+ <inspection_tool class="SystemSetSecurityManager" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassLoaderInstantiation" level="WARNING" enabled="true" />
+ <inspection_tool class="CloneableClassInSecureContext" level="WARNING" enabled="true" />
+ <inspection_tool class="CustomClassloader" level="WARNING" enabled="true" />
+ <inspection_tool class="CustomSecurityManager" level="WARNING" enabled="true" />
+ <inspection_tool class="NonFinalClone" level="WARNING" enabled="true" />
+ <inspection_tool class="PublicStaticArrayField" level="WARNING" enabled="true" />
+ <inspection_tool class="PublicStaticCollectionField" level="WARNING" enabled="true" />
+ <inspection_tool class="UnsecureRandomNumberGeneration" level="WARNING" enabled="true" />
+ <inspection_tool class="ExternalizableWithSerializationMethods" level="WARNING" enabled="true" />
+ <inspection_tool class="ReadObjectInitialization" level="WARNING" enabled="true" />
+ <inspection_tool class="NonSerializableWithSerializationMethods" level="WARNING" enabled="true" />
+ <inspection_tool class="NonSerializableWithSerialVersionUIDField" level="WARNING" enabled="true" />
+ <inspection_tool class="NonSerializableFieldInSerializableClass" level="WARNING" enabled="true" />
+ <inspection_tool class="NonSerializableObjectBoundToHttpSession" level="WARNING" enabled="true" />
+ <inspection_tool class="NonSerializableObjectPassedToObjectStream" level="WARNING" enabled="true" />
+ <inspection_tool class="ReadObjectAndWriteObjectPrivate" level="WARNING" enabled="true" />
+ <inspection_tool class="ReadResolveAndWriteReplaceProtected" level="WARNING" enabled="true" />
+ <inspection_tool class="SerializableWithUnconstructableAncestor" level="WARNING" enabled="true" />
+ <inspection_tool class="SerializableHasSerializationMethods" level="WARNING" enabled="true">
+ <option name="m_ignoreSerializableDueToInheritance" value="true" />
+ </inspection_tool>
+ <inspection_tool class="SerializableHasSerialVersionUIDField" level="WARNING" enabled="true">
+ <option name="m_ignoreSerializableDueToInheritance" value="true" />
+ </inspection_tool>
+ <inspection_tool class="SerializableInnerClassHasSerialVersionUIDField" level="WARNING" enabled="true">
+ <option name="m_ignoreSerializableDueToInheritance" value="true" />
+ </inspection_tool>
+ <inspection_tool class="SerializableInnerClassWithNonSerializableOuterClass" level="WARNING" enabled="true">
+ <option name="m_ignoreSerializableDueToInheritance" value="true" />
+ </inspection_tool>
+ <inspection_tool class="SerialPersistentFieldsWithWrongSignature" level="WARNING" enabled="true" />
+ <inspection_tool class="SerialVersionUIDNotStaticFinal" level="WARNING" enabled="true" />
+ <inspection_tool class="TransientFieldInNonSerializableClass" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassEscapesItsScope" level="WARNING" enabled="true" />
+ <inspection_tool class="FieldHidesSuperclassField" level="WARNING" enabled="true">
+ <option name="m_ignoreInvisibleFields" value="true" />
+ </inspection_tool>
+ <inspection_tool class="InnerClassVariableHidesOuterClassVariable" level="WARNING" enabled="true">
+ <option name="m_ignoreInvisibleFields" value="true" />
+ </inspection_tool>
+ <inspection_tool class="LocalVariableHidingMemberVariable" level="WARNING" enabled="true">
+ <option name="m_ignoreInvisibleFields" value="true" />
+ <option name="m_ignoreStaticMethods" value="true" />
+ </inspection_tool>
+ <inspection_tool class="MethodOverloadsParentMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodOverridesPackageLocalMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodOverridesPrivateMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodOverridesStaticMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="ParameterHidingMemberVariable" level="WARNING" enabled="true">
+ <option name="m_ignoreInvisibleFields" value="true" />
+ <option name="m_ignoreStaticMethodParametersHidingInstanceFields" value="true" />
+ <option name="m_ignoreForConstructors" value="true" />
+ <option name="m_ignoreForPropertySetters" value="true" />
+ <option name="m_ignoreForAbstractMethods" value="true" />
+ </inspection_tool>
+ <inspection_tool class="TypeParameterHidesVisibleType" level="WARNING" enabled="true" />
+ <inspection_tool class="JavaDoc" level="WARNING" enabled="true">
+ <option name="TOP_LEVEL_CLASS_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="INNER_CLASS_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="METHOD_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="@return@param@throws or @exception" />
+ </value>
+ </option>
+ <option name="FIELD_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="IGNORE_DEPRECATED" value="false" />
+ <option name="IGNORE_JAVADOC_PERIOD" value="true" />
+ <option name="myAdditionalJavadocTags" value="note,warning,todo,invariant,retval" />
+ </inspection_tool>
+ </profile>
+ </profiles>
+ </component>
+ <component name="JavacSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="DEPRECATION" value="true" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="JavadocGenerationManager">
+ <option name="OUTPUT_DIRECTORY" />
+ <option name="OPTION_SCOPE" value="protected" />
+ <option name="OPTION_HIERARCHY" value="true" />
+ <option name="OPTION_NAVIGATOR" value="true" />
+ <option name="OPTION_INDEX" value="true" />
+ <option name="OPTION_SEPARATE_INDEX" value="true" />
+ <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
+ <option name="OPTION_DEPRECATED_LIST" value="true" />
+ <option name="OTHER_OPTIONS" value="" />
+ <option name="HEAP_SIZE" />
+ <option name="LOCALE" />
+ <option name="OPEN_IN_BROWSER" value="true" />
+ </component>
+ <component name="JikesSettings">
+ <option name="JIKES_PATH" value="" />
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="DEPRECATION" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="IS_EMACS_ERRORS_MODE" value="true" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ </component>
+ <component name="LogConsolePreferences">
+ <option name="FILTER_ERRORS" value="false" />
+ <option name="FILTER_WARNINGS" value="false" />
+ <option name="FILTER_INFO" value="true" />
+ <option name="CUSTOM_FILTER" />
+ </component>
+ <component name="Monitor.Log4jWindowPlugin" />
+ <component name="Palette2">
+ <group name="Swing">
+ <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
+ </item>
+ <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
+ </item>
+ <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
+ <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
+ <initial-values>
+ <property name="text" value="Button" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="RadioButton" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="CheckBox" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="Label" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+ <preferred-size width="200" height="200" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+ <preferred-size width="200" height="200" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
+ </item>
+ <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
+ <preferred-size width="-1" height="20" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
+ </item>
+ <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
+ </item>
+ </group>
+ </component>
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/cherbot.iml" filepath="$PROJECT_DIR$/cherbot.iml" />
+ </modules>
+ </component>
+ <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true" project-jdk-name="1.5" project-jdk-type="JavaSDK">
+ <output url="file://$PROJECT_DIR$/ideaclasses" />
+ </component>
+ <component name="ProjectRunConfigurationManager" />
+ <component name="RmicSettings">
+ <option name="IS_EANABLED" value="false" />
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="GENERATE_IIOP_STUBS" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ </component>
+ <component name="StarteamVcsAdapter" />
+ <component name="VssVcs" />
+ <component name="com.intellij.jsf.UserDefinedFacesConfigs">
+ <option name="USER_DEFINED_CONFIGS">
+ <value>
+ <list size="0" />
+ </value>
+ </option>
+ </component>
+ <component name="com.sixrr.metrics.MetricsReloaded">
+ <option name="selectedProfile" value="Default" />
+ <option name="autoscroll" value="false" />
+ <option name="calculateMetrics" value="true" />
+ <option name="includeTestClasses" value="false" />
+ <option name="flattenInnerClasses" value="true" />
+ <option name="cycleTableSpecificationString" value="" />
+ <option name="shortCycleTableSpecificationString" value="" />
+ </component>
+ <component name="copyright">
+ <Base>
+ <setting name="state" value="2" />
+ </Base>
+ </component>
+ <component name="libraryTable" />
+ <component name="uidesigner-configuration">
+ <option name="INSTRUMENT_CLASSES" value="true" />
+ <option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
+ <option name="DEFAULT_LAYOUT_MANAGER" value="GridLayoutManager" />
+ </component>
+ <UsedPathMacros />
+</project>
+
Property changes on: trunk/cherbot.ipr
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-28 21:50:06
|
Revision: 5
http://svn.sourceforge.net/cherbot/?rev=5&view=rev
Author: christianhujer
Date: 2006-10-28 14:49:50 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Simplified build.xml.
Removed build.number from build system.
Modified Paths:
--------------
trunk/build.xml
Removed Paths:
-------------
trunk/build.number
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Name: svn:ignore
+ classes
Deleted: trunk/build.number
===================================================================
--- trunk/build.number 2006-10-27 08:49:54 UTC (rev 4)
+++ trunk/build.number 2006-10-28 21:49:50 UTC (rev 5)
@@ -1,3 +0,0 @@
-#Build Number for ANT. Do not edit!
-#Wed Oct 26 22:02:15 CEST 2005
-build.number=1638
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2006-10-27 08:49:54 UTC (rev 4)
+++ trunk/build.xml 2006-10-28 21:49:50 UTC (rev 5)
@@ -1,56 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Header: /home/rpgroot/CherBot/build.xml,v 1.4 2005/11/09 20:30:00 chris Exp $ -->
-<!DOCTYPE project [
- <!ENTITY w3ccatalog SYSTEM "/usr/local/share/dtds/w3c/w3c.catalog">
-]>
<project default="createJar">
- &w3ccatalog;
- <xmlcatalog id="xmlcatalog">
- <!--xmlcatalog refid="itcqiscatalog"/-->
- <xmlcatalog refid="w3ccatalog"/>
- </xmlcatalog>
-
- <property file="ftp.properties" />
- <property file="project.properties" />
- <taskdef name="megaxslt" classname="com.hujer.ant.tasks.megaxslt.MegaXsltTask" />
<description>
CherBot
</description>
- &w3ccatalog;
+ <property file="ftp.properties" />
+ <property file="project.properties" />
- <target
- name = "full"
- description = "Build the whole thing"
- depends = "init, compile"
- />
+ <tstamp><format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss z" timezone="UTC"/></tstamp>
+ <exec executable="svnversion" outputproperty="build.number" />
<target
- name = "init"
- description = "Prepare sandbox for work"
- >
- <buildnumber/>
- <tstamp>
- <format property="build.time" pattern="yyyyMMddHHmmss" />
- </tstamp>
- <!--exec executable="ctags">
- <arg line="-R src" />
- </exec-->
- </target>
-
- <target
name = "compile"
description = "Compile sandbox"
- depends = "init"
>
<mkdir dir="classes" />
<javac
- source="1.5"
- srcdir="src"
- destdir="classes"
- debug="yes"
- encoding="utf-8"
+ source = "1.5"
+ target = "1.5"
+ srcdir = "src"
+ destdir = "classes"
+ debug = "yes"
+ encoding = "utf-8"
>
<compilerarg line="-Xlint:all"/>
<compilerarg line="-Xmaxerrs 400"/>
@@ -61,93 +33,17 @@
<target
name = "clean"
description = "Cleanup sandbox all"
- depends = "cleanCode, cleanDoc"
>
- <parallel>
- <delete dir="classes" />
- <delete dir="doc/api" />
- </parallel>
+ <delete dir="classes" />
</target>
<target
- name = "cleanCode"
- description = "Cleanup sandbox generated code"
- >
- <parallel>
- <delete dir="classes" />
- </parallel>
- </target>
-
- <target
- name = "cleanDoc"
- description = "Cleanup sandbox generated doc"
- >
- <parallel>
- <delete dir="doc/api" />
- </parallel>
- </target>
-
- <target
- name = "doc"
- description = "Create API documentation"
- >
- <mkdir dir="doc/api/html" />
- <javadoc
- destdir = "doc/api/html"
- locale = "de_DE"
- encoding = "utf-8"
- version = "yes"
- author = "yes"
- use = "yes"
- splitindex = "yes"
- windowtitle = "CherBot — API Documentation"
- doctitle = "CherBot<br />API Documentation"
- header = "CherBot<br />API Documentation"
- footer = "CherBot<br />API Documentation"
- bottom = "<div style="text-align:center;">© 2005 Christian Hujer. All rights reserved.</div>"
- serialwarn = "yes"
- charset = "utf-8"
- docencoding = "utf-8"
- source = "1.5"
- linksource = "yes"
- private = "yes"
- >
- <!--
- stylesheetfile = "src/stylesheet.css"
- overview = "src/overview.html"
- -->
- <sourcepath path="src" />
- <sourcepath path="/dist/opt/sun/j2sdk/se/latest/src" />
- <packageset
- dir="src"
- defaultexcludes="yes"
- >
- <include name="**" />
- </packageset>
- <tag
- name="todo"
- description="Todo:"
- />
- <tag
- name="fixme"
- description="Fixme:"
- />
- <link href="/dist/opt/sun/j2sdk/se/latest/docs/api" />
- </javadoc>
- </target>
-
- <target
name = "createJar"
description = "creates a jar archive containing the CherBot"
depends = "compile"
>
<copy todir="classes">
<fileset dir="src">
- <include name="icons/**/*.gif"/>
- </fileset>
- </copy>
- <copy todir="classes">
- <fileset dir="src">
<include name="**/*.properties"/>
</fileset>
</copy>
@@ -155,9 +51,7 @@
<manifest>
<attribute name="Main-Class" value="cherbot.CherBot" />
</manifest>
- <fileset dir="classes">
- <!--exclude name="**/Test.class" /-->
- </fileset>
+ <fileset dir="classes" />
</jar>
</target>
@@ -186,94 +80,4 @@
</junit>
</target>
- <target
- name = "publish"
- description = "publishes Cherbot documentation on the net"
- depends = "createJar"
- >
- <java
- fork="true"
- classpath="classes"
- classname="cherbot.ManagerDocumenter"
- >
- <arg value="src/doc/commands.xml" />
- </java>
- <xslt in="src/doc/commands.xml" out="src/doc/commands.xhtml" style="src/doc/commands.xslt" />
- <mkdir dir="doc"/>
- <copy todir="doc">
- <fileset dir="src/doc">
- <include name="**/*.css" />
- </fileset>
- </copy>
- <megaxslt srcdir="src/doc" destdir="doc" includes="**/*.xhtml" validateSource="yes" validateDest="yes">
- <xmlcatalog refid="xmlcatalog" />
- <transformation stylesheet="src/doc/transform.xslt" />
- <!--transformation stylesheet="libs/common/xslt/cleanupXhtml11.xslt" /-->
- </megaxslt>
- <megaxslt srcdir="doc" destdir="doc" includes="**/*.xhtml" ending="html" validateSource="yes" validateDest="no">
- <xmlcatalog refid="xmlcatalog" />
- <transformation stylesheet="src/doc/xhtml2html.xslt" />
- <!--transformation stylesheet="libs/common/xslt/cleanupXhtml11.xslt" /-->
- </megaxslt>
- <ftp
- server="${ftp.server}"
- userid="${ftp.userid}"
- password="${ftp.password}"
- remotedir="daimonin"
- depends="yes"
- passive="yes"
- ignoreNoncriticalErrors="yes"
- >
- <fileset dir="doc" />
- </ftp>
- <!--exec executable="bash">
- <arg value="-c" />
- <arg value="LC_ALL=C tar -cvz -C doc -f htdocs.tgz "`test -e ts_upload && (echo -n '-N ' ; cat ts_upload 2>/dev/null)`" ."/>
- </exec-->
- <!--ftp
- server="${ftp.server}"
- userid="${ftp.userid}"
- password="${ftp.password}"
- depends="no"
- passive="yes"
- ignoreNoncriticalErrors="yes"
- -->
- <!--remotedir="${ftp.remotedir}"-->
- <!--fileset dir=".">
- <include name="htdocs.tgz" />
- </fileset>
- </ftp>
- <exec executable="bash">
- <arg value="-c" />
- <arg value="LC_ALL=C date >ts_upload" />
- </exec-->
- <!--telnet userid="${ftp.userid}" password="${ftp.password}" server="${ftp.server}"-->
- <!--telnet server="${ftp.server}">
- <read string="Login: "/>
- <write string="${ftp.userid}" />
- <read string="Password: "/>
- <write string="${ftp.password}"/>
- <read string="${ftp.server}> " />
- <write string="cd ${ftp.remotedir}"/>
- <read string="${ftp.server}> " />
- <write>tar xzvf ../htdocs.tgz</write>
- <read string="${ftp.server}> " />
- </telnet-->
- </target>
-
</project>
-<!--
- - $Log: build.xml,v $
- - Revision 1.4 2005/11/09 20:30:00 chris
- - Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- -
- - Revision 1.3 2005/10/20 06:17:27 chris
- - *** empty log message ***
- -
- - Revision 1.2 2005/03/01 10:09:37 chris
- - Enabled API documentation.
- -
- - Revision 1.1 2005/03/01 09:14:02 chris
- - First import to version control.
- -
- -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-27 08:50:02
|
Revision: 4
http://svn.sourceforge.net/cherbot/?rev=4&view=rev
Author: christianhujer
Date: 2006-10-27 01:49:54 -0700 (Fri, 27 Oct 2006)
Log Message:
-----------
Removed old CVS meta.
Modified Paths:
--------------
trunk/src/doc/start.xhtml
Modified: trunk/src/doc/start.xhtml
===================================================================
--- trunk/src/doc/start.xhtml 2006-10-27 08:46:46 UTC (rev 3)
+++ trunk/src/doc/start.xhtml 2006-10-27 08:49:54 UTC (rev 4)
@@ -4,23 +4,6 @@
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<title>Cherbot - A Daimonin Bot</title>
- <meta name="Copyright" content="© 2003 ITCQIS GmbH. All rights reserved." />
- <meta name="Author" content="ITCQIS GmbH, $Author: chris $" />
- <meta scheme="CVS" name="Id" content="$Id: start.xhtml,v 1.2 2005/08/29 15:46:27 chris Exp $" />
- <meta scheme="CVS" name="Source" content="$Source: /home/rpgroot/CherBot/src/doc/start.xhtml,v $" />
- <meta scheme="CVS" name="State" content="$State: Exp $" />
- <meta scheme="CVS" name="Author" content="$Author: chris $" />
- <meta scheme="CVS" name="Revision" content="$Revision: 1.2 $" />
- <meta scheme="CVS" name="Date" content="$Date: 2005/08/29 15:46:27 $" />
- <meta scheme="CVS" name="Log" content="
- $Log: start.xhtml,v $
- Revision 1.2 2005/08/29 15:46:27 chris
- Some doc improvements.
-
- Revision 1.1 2005/03/01 09:14:02 chris
- First import to version control.
-
- " />
</head>
<body>
<h2>More</h2>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-27 08:46:54
|
Revision: 3
http://svn.sourceforge.net/cherbot/?rev=3&view=rev
Author: christianhujer
Date: 2006-10-27 01:46:46 -0700 (Fri, 27 Oct 2006)
Log Message:
-----------
Added README.
Added Paths:
-----------
trunk/README.txt
Added: trunk/README.txt
===================================================================
--- trunk/README.txt (rev 0)
+++ trunk/README.txt 2006-10-27 08:46:46 UTC (rev 3)
@@ -0,0 +1,4 @@
+CherBot currently is not compilable.
+We're working on this problem.
+The source code currently reflects CherBot V1.
+The network code has been temporarily removed because it awaits approval of the daimonin server developers.
Property changes on: trunk/README.txt
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2006-10-27 08:42:01
|
Revision: 2
http://svn.sourceforge.net/cherbot/?rev=2&view=rev
Author: christianhujer
Date: 2006-10-27 01:40:41 -0700 (Fri, 27 Oct 2006)
Log Message:
-----------
Added original version without network code.
Added Paths:
-----------
trunk/build.number
trunk/build.xml
trunk/src/
trunk/src/cherbot/
trunk/src/cherbot/BlackListManager.java
trunk/src/cherbot/CherBot.java
trunk/src/cherbot/CherBotException.java
trunk/src/cherbot/CherBotLogger.java
trunk/src/cherbot/CherBotPermission.java
trunk/src/cherbot/CherBotSecurityManager.java
trunk/src/cherbot/CollectionsManager.java
trunk/src/cherbot/CommType.java
trunk/src/cherbot/Crime.java
trunk/src/cherbot/CrimeManager.java
trunk/src/cherbot/CronManager.java
trunk/src/cherbot/DeathsManager.java
trunk/src/cherbot/DummyManagerProxy.java
trunk/src/cherbot/EmotesManager.java
trunk/src/cherbot/ExampleTestCase.java
trunk/src/cherbot/ExampleTester.java
trunk/src/cherbot/GreetingsManager.java
trunk/src/cherbot/GroupManager.java
trunk/src/cherbot/LamentsManager.java
trunk/src/cherbot/MailManager.java
trunk/src/cherbot/Manager.java
trunk/src/cherbot/ManagerDocumenter.java
trunk/src/cherbot/NoSuchPlayerException.java
trunk/src/cherbot/NoobManager.java
trunk/src/cherbot/PlayerManager.java
trunk/src/cherbot/PollManager.java
trunk/src/cherbot/RodBabyManager.java
trunk/src/cherbot/RodBabyWannabeManager.java
trunk/src/cherbot/SalesManager.java
trunk/src/cherbot/SmutException.java
trunk/src/cherbot/SmutManager.java
trunk/src/cherbot/TestManager.java
trunk/src/cherbot/TimeManager.java
trunk/src/doc/
trunk/src/doc/commands.xslt
trunk/src/doc/start.xhtml
trunk/src/doc/style.css
trunk/src/doc/transform.xslt
trunk/src/doc/xhtml2html.xslt
Added: trunk/build.number
===================================================================
--- trunk/build.number (rev 0)
+++ trunk/build.number 2006-10-27 08:40:41 UTC (rev 2)
@@ -0,0 +1,3 @@
+#Build Number for ANT. Do not edit!
+#Wed Oct 26 22:02:15 CEST 2005
+build.number=1638
Property changes on: trunk/build.number
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
Added: trunk/build.xml
===================================================================
--- trunk/build.xml (rev 0)
+++ trunk/build.xml 2006-10-27 08:40:41 UTC (rev 2)
@@ -0,0 +1,279 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Header: /home/rpgroot/CherBot/build.xml,v 1.4 2005/11/09 20:30:00 chris Exp $ -->
+<!DOCTYPE project [
+ <!ENTITY w3ccatalog SYSTEM "/usr/local/share/dtds/w3c/w3c.catalog">
+]>
+<project default="createJar">
+ &w3ccatalog;
+
+ <xmlcatalog id="xmlcatalog">
+ <!--xmlcatalog refid="itcqiscatalog"/-->
+ <xmlcatalog refid="w3ccatalog"/>
+ </xmlcatalog>
+
+ <property file="ftp.properties" />
+ <property file="project.properties" />
+ <taskdef name="megaxslt" classname="com.hujer.ant.tasks.megaxslt.MegaXsltTask" />
+ <description>
+ CherBot
+ </description>
+
+ &w3ccatalog;
+
+ <target
+ name = "full"
+ description = "Build the whole thing"
+ depends = "init, compile"
+ />
+
+ <target
+ name = "init"
+ description = "Prepare sandbox for work"
+ >
+ <buildnumber/>
+ <tstamp>
+ <format property="build.time" pattern="yyyyMMddHHmmss" />
+ </tstamp>
+ <!--exec executable="ctags">
+ <arg line="-R src" />
+ </exec-->
+ </target>
+
+ <target
+ name = "compile"
+ description = "Compile sandbox"
+ depends = "init"
+ >
+ <mkdir dir="classes" />
+ <javac
+ source="1.5"
+ srcdir="src"
+ destdir="classes"
+ debug="yes"
+ encoding="utf-8"
+ >
+ <compilerarg line="-Xlint:all"/>
+ <compilerarg line="-Xmaxerrs 400"/>
+ <compilerarg line="-Xmaxwarns 4000"/>
+ </javac>
+ </target>
+
+ <target
+ name = "clean"
+ description = "Cleanup sandbox all"
+ depends = "cleanCode, cleanDoc"
+ >
+ <parallel>
+ <delete dir="classes" />
+ <delete dir="doc/api" />
+ </parallel>
+ </target>
+
+ <target
+ name = "cleanCode"
+ description = "Cleanup sandbox generated code"
+ >
+ <parallel>
+ <delete dir="classes" />
+ </parallel>
+ </target>
+
+ <target
+ name = "cleanDoc"
+ description = "Cleanup sandbox generated doc"
+ >
+ <parallel>
+ <delete dir="doc/api" />
+ </parallel>
+ </target>
+
+ <target
+ name = "doc"
+ description = "Create API documentation"
+ >
+ <mkdir dir="doc/api/html" />
+ <javadoc
+ destdir = "doc/api/html"
+ locale = "de_DE"
+ encoding = "utf-8"
+ version = "yes"
+ author = "yes"
+ use = "yes"
+ splitindex = "yes"
+ windowtitle = "CherBot — API Documentation"
+ doctitle = "CherBot<br />API Documentation"
+ header = "CherBot<br />API Documentation"
+ footer = "CherBot<br />API Documentation"
+ bottom = "<div style="text-align:center;">© 2005 Christian Hujer. All rights reserved.</div>"
+ serialwarn = "yes"
+ charset = "utf-8"
+ docencoding = "utf-8"
+ source = "1.5"
+ linksource = "yes"
+ private = "yes"
+ >
+ <!--
+ stylesheetfile = "src/stylesheet.css"
+ overview = "src/overview.html"
+ -->
+ <sourcepath path="src" />
+ <sourcepath path="/dist/opt/sun/j2sdk/se/latest/src" />
+ <packageset
+ dir="src"
+ defaultexcludes="yes"
+ >
+ <include name="**" />
+ </packageset>
+ <tag
+ name="todo"
+ description="Todo:"
+ />
+ <tag
+ name="fixme"
+ description="Fixme:"
+ />
+ <link href="/dist/opt/sun/j2sdk/se/latest/docs/api" />
+ </javadoc>
+ </target>
+
+ <target
+ name = "createJar"
+ description = "creates a jar archive containing the CherBot"
+ depends = "compile"
+ >
+ <copy todir="classes">
+ <fileset dir="src">
+ <include name="icons/**/*.gif"/>
+ </fileset>
+ </copy>
+ <copy todir="classes">
+ <fileset dir="src">
+ <include name="**/*.properties"/>
+ </fileset>
+ </copy>
+ <jar destfile="CherBot.jar">
+ <manifest>
+ <attribute name="Main-Class" value="cherbot.CherBot" />
+ </manifest>
+ <fileset dir="classes">
+ <!--exclude name="**/Test.class" /-->
+ </fileset>
+ </jar>
+ </target>
+
+ <target
+ name = "test"
+ description = "runs tests"
+ depends = "createJar"
+ >
+ <mkdir dir="tests" />
+ <junit
+ fork = "no"
+ printsummary="yes"
+ haltonfailure="yes"
+ >
+ <formatter type="plain" usefile="no"/>
+ <classpath>
+ <pathelement path="CherBot.jar" />
+ </classpath>
+ <test
+ name="cherbot.ExampleTester"
+ todir="tests"
+ >
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ </test>
+ </junit>
+ </target>
+
+ <target
+ name = "publish"
+ description = "publishes Cherbot documentation on the net"
+ depends = "createJar"
+ >
+ <java
+ fork="true"
+ classpath="classes"
+ classname="cherbot.ManagerDocumenter"
+ >
+ <arg value="src/doc/commands.xml" />
+ </java>
+ <xslt in="src/doc/commands.xml" out="src/doc/commands.xhtml" style="src/doc/commands.xslt" />
+ <mkdir dir="doc"/>
+ <copy todir="doc">
+ <fileset dir="src/doc">
+ <include name="**/*.css" />
+ </fileset>
+ </copy>
+ <megaxslt srcdir="src/doc" destdir="doc" includes="**/*.xhtml" validateSource="yes" validateDest="yes">
+ <xmlcatalog refid="xmlcatalog" />
+ <transformation stylesheet="src/doc/transform.xslt" />
+ <!--transformation stylesheet="libs/common/xslt/cleanupXhtml11.xslt" /-->
+ </megaxslt>
+ <megaxslt srcdir="doc" destdir="doc" includes="**/*.xhtml" ending="html" validateSource="yes" validateDest="no">
+ <xmlcatalog refid="xmlcatalog" />
+ <transformation stylesheet="src/doc/xhtml2html.xslt" />
+ <!--transformation stylesheet="libs/common/xslt/cleanupXhtml11.xslt" /-->
+ </megaxslt>
+ <ftp
+ server="${ftp.server}"
+ userid="${ftp.userid}"
+ password="${ftp.password}"
+ remotedir="daimonin"
+ depends="yes"
+ passive="yes"
+ ignoreNoncriticalErrors="yes"
+ >
+ <fileset dir="doc" />
+ </ftp>
+ <!--exec executable="bash">
+ <arg value="-c" />
+ <arg value="LC_ALL=C tar -cvz -C doc -f htdocs.tgz "`test -e ts_upload && (echo -n '-N ' ; cat ts_upload 2>/dev/null)`" ."/>
+ </exec-->
+ <!--ftp
+ server="${ftp.server}"
+ userid="${ftp.userid}"
+ password="${ftp.password}"
+ depends="no"
+ passive="yes"
+ ignoreNoncriticalErrors="yes"
+ -->
+ <!--remotedir="${ftp.remotedir}"-->
+ <!--fileset dir=".">
+ <include name="htdocs.tgz" />
+ </fileset>
+ </ftp>
+ <exec executable="bash">
+ <arg value="-c" />
+ <arg value="LC_ALL=C date >ts_upload" />
+ </exec-->
+ <!--telnet userid="${ftp.userid}" password="${ftp.password}" server="${ftp.server}"-->
+ <!--telnet server="${ftp.server}">
+ <read string="Login: "/>
+ <write string="${ftp.userid}" />
+ <read string="Password: "/>
+ <write string="${ftp.password}"/>
+ <read string="${ftp.server}> " />
+ <write string="cd ${ftp.remotedir}"/>
+ <read string="${ftp.server}> " />
+ <write>tar xzvf ../htdocs.tgz</write>
+ <read string="${ftp.server}> " />
+ </telnet-->
+ </target>
+
+</project>
+<!--
+ - $Log: build.xml,v $
+ - Revision 1.4 2005/11/09 20:30:00 chris
+ - Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
+ -
+ - Revision 1.3 2005/10/20 06:17:27 chris
+ - *** empty log message ***
+ -
+ - Revision 1.2 2005/03/01 10:09:37 chris
+ - Enabled API documentation.
+ -
+ - Revision 1.1 2005/03/01 09:14:02 chris
+ - First import to version control.
+ -
+ -->
Property changes on: trunk/build.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ LF
Added: trunk/src/cherbot/BlackListManager.java
===================================================================
--- trunk/src/cherbot/BlackListManager.java (rev 0)
+++ trunk/src/cherbot/BlackListManager.java 2006-10-27 08:40:41 UTC (rev 2)
@@ -0,0 +1,171 @@
+/* $Header: /home/rpgroot/CherBot/src/cherbot/BlackListManager.java,v 1.13 2005/11/09 20:30:00 chris Exp $
+ *
+ * © 2005 Christian Hujer. All rights reserved.
+ * License: GNU General Public License. See file COPYING in the root directory of this project.
+ *
+ * Log: see end of file
+ */
+
+package cherbot;
+
+import java.util.SortedSet;
+import java.util.TreeSet;
+
+/** Manages a black list of users that may not use Cherbot.
+ * @author $Author: chris $
+ * @version $Id: BlackListManager.java,v 1.13 2005/11/09 20:30:00 chris Exp $
+ */
+@Manager.Description("Blacklist of players that are denied to use Cherbot.")
+@Manager.Features({"Blacklist players that are denied to use Cherbot."})
+public class BlackListManager extends Manager {
+
+ /** Version information */
+ public static final String version = "$Revision: 1.13 $";
+
+ /** Permission to modify blacklist. */
+ private static final String PERM_BLACKLIST = "Blacklist";
+
+ /** The black list. */
+ private SortedSet<String> blacklist = new TreeSet<String>();
+
+ { // Commands
+ new Command("(?:$LIST ?(?:the )?blacklist(?:ed players)?|wh(?:o|ich players?) (?:is|are|r) (?:blacklisted|on (?:the )?blacklist))[.!?]?") {
+ @Description("Lists the blacklisted players.")
+ @Examples({"List blacklist", "Tell me the blacklisted players.", "Who is blacklisted?", "Which players are on the blacklist?"})
+ @Override public void performImpl() {
+ listBlacklist();
+ }
+ };
+ new Command("(?:put|add) $PLAYER (?:to|on) blacklist[.!]?") {
+ @Description("Puts a player on the blacklist.")
+ @Examples({"Put Lead on blacklist.", "Add Lead to blacklist."})
+ @Override public void performImpl() {
+ addBlacklist(player(1));
+ }
+ };
+ new Command("(?:remove) $PLAYER from blacklist[.!]?") {
+ @Description("Removes a player from the blacklist.")
+ @Examples({"Remove Lead from blacklist."})
+ @Override public void performImpl() {
+ removeBlacklist(player(1));
+ }
+ };
+ } // Commands
+
+ /** Create the BlackListManager.
+ * @param cherbot CherBot
+ */
+ public BlackListManager(final CherBot cherbot) {
+ super(cherbot, "blacklist");
+ }
+
+ /** List the blacklist. */
+ private void listBlacklist() {
+ if (blacklist.size() == 0) {
+ answer("Noone's on the blacklist yet.");
+ } else {
+ final StringBuilder sb = new StringBuilder();
+ sb.append("The following players are blacklisted: ");
+ concat(sb, blacklist);
+ sb.append('.');
+ answer(sb.toString());
+ }
+ }
+
+ /** Puts a player to the blacklist.
+ * @param player Player to blacklist
+ */
+ private void addBlacklist(final String player) {
+ checkPermission(PERM_BLACKLIST);
+ if (blacklist.add(player)) {
+ answer("Added " + player + " to the blacklist.");
+ tell(player, getActor() + " has put you on the blacklist. You cannot use Cherbot anymore.");
+ } else {
+ answer(player + " already was on the blacklist.");
+ }
+ }
+
+ /** Removes a player from the blacklist.
+ * @param player Player to remove
+ */
+ private void removeBlacklist(final String player) {
+ checkPermission(PERM_BLACKLIST);
+ if (blacklist.remove(player)) {
+ answer("Removed " + player + " from the blacklist.");
+ tell(player, getActor() + " has removed you from the blacklist. You can use Cherbot again.");
+ } else {
+ answer(player + " wasn't blacklisted anyway.");
+ }
+ }
+
+ /** Checks wether a player is blacklisted.
+ * @param player Player to check
+ */
+ public boolean isBlacklisted(final String player) {
+ return blacklist.contains(player);
+ }
+
+ /** Checks wether the actor is blacklisted. */
+ public boolean isBlacklisted() {
+ return blacklist.contains(getActor());
+ }
+
+ /** {@inheritDoc} */
+ @Override public void help() {
+ answer("I have a blacklist. Players on the blacklist cannot use Cherbot.");
+ }
+
+ { // IO Modules
+ new CollectionIOModule("blacklist.txt", blacklist, false);
+ } // IO Modules
+
+} // class BlackListManager
+
+/*
+ * $Log: BlackListManager.java,v $
+ * Revision 1.13 2005/11/09 20:30:00 chris
+ * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
+ *
+ * Revision 1.12 2005/08/31 13:55:28 chris
+ * Improved code quality.
+ * Removed console control feature.
+ * Changed member count to reflect only real members.
+ *
+ * Revision 1.11 2005/08/29 15:45:39 chris
+ * Some minor improvements.
+ *
+ * Revision 1.10 2005/04/02 23:08:43 chris
+ * Reworked command pattern creation to allow variables.
+ * Reworked commands to use variables.
+ * Added alliances to groups.
+ * Added group membership listing to groups.
+ *
+ * Revision 1.9 2005/04/01 11:36:23 chris
+ * Removed unused boundaries from regexps.
+ *
+ * Revision 1.8 2005/04/01 11:20:33 chris
+ * Added Timemanager, made patterns case insensitive.
+ *
+ * Revision 1.7 2005/03/23 12:46:32 chris
+ * Improved regex handling.
+ *
+ * Revision 1.6 2005/03/18 16:53:56 chris
+ * Improved some regular expressions.
+ * Moved lots of I/O code from subclasses to Manager.java.
+ *
+ * Revision 1.5 2005/03/15 23:49:25 chris
+ * Fixed regular expressions with test results.
+ *
+ * Revision 1.4 2005/03/15 22:41:26 chris
+ * Improved regexes.
+ *
+ * Revision 1.3 2005/03/15 11:43:45 chris
+ * Added manager description.
+ *
+ * Revision 1.2 2005/03/15 01:55:43 chris
+ * Refactored matcher, fixed null vs. Blacklist bug.
+ *
+ * Revision 1.1 2005/03/14 16:55:00 chris
+ * Added.
+ *
+ */
Property changes on: trunk/src/cherbot/BlackListManager.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
Added: trunk/src/cherbot/CherBot.java
===================================================================
--- trunk/src/cherbot/CherBot.java (rev 0)
+++ trunk/src/cherbot/CherBot.java 2006-10-27 08:40:41 UTC (rev 2)
@@ -0,0 +1,749 @@
+/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBot.java,v 1.31 2005/11/09 20:30:00 chris Exp $
+ *
+ * © 2005 Christian Hujer. All rights reserved.
+ * License: GNU General Public License. See file COPYING in the root directory of this project.
+ *
+ * Log: see end of file
+ */
+
+package cherbot;
+
+
+import java.io.BufferedReader;
+import java.io.EOFException;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.net.Socket;
+import java.text.BreakIterator;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+import cherbot.Manager.Command;
+
+/** A Daimonin bot.
+ * @todo split this class into four: A generic base class for robots, a class handling Daimonin-specific stuff, an interface for network
+ * implementations implemted by the latter, and this specific CherBot subclass.
+ * @todo perhaps add a graphical interface.
+ * @author $Author: chris $
+ * @version $Id: CherBot.java,v 1.31 2005/11/09 20:30:00 chris Exp $
+ */
+public class CherBot {
+
+ /** Lihes of code. */
+ private static final int LINES_OF_CODE = 11137;
+
+ /** Wether to stop.
+ * This variable initially is false.
+ * Telling the Bot to stop sets this variable to true, terminating the two thread loops for receiving packets and the console.
+ */
+ private boolean stop;
+
+ /** The user name this bot should use for connecting with the server. */
+ private String username;
+
+ /** The password this bot sohuld use for connecting with the server. */
+ private String password;
+
+ /** The SecurityManager.
+ * Provides access to security handling possibly used by every other manager.
+ * Thus needs to be available to all managers.
+ */
+ private CherBotSecurityManager securityManager;
+
+ /** The internal manager. */
+ private InternalManager internalManager;
+
+ /** The Blacklist manager. */
+ private BlackListManager blacklistManager;
+
+ /** The Player manager. */
+ private PlayerManager playerManager;
+
+ /** The Managers as a list for looping or similar.
+ * It's a List because the order in which the managers are added really matters.
+ * Managers might have regular expression overlapping, an input string could match the commands of more than just one manager.
+ * The managers are searched in their creation order.
+ * The basic association relation between the bot (1) and the managers (n) is a bidirectional composition.
+ */
+ private List<Manager> managers = new ArrayList<Manager>();
+
+ /** The Managers as map, for getting the Manager on a specific topic.
+ * Key: topic of Manager ({@link Manager#getTopic()}).
+ * Value: Manager
+ */
+ private Map<String,Manager> managerMap = new HashMap<String,Manager>();
+
+ /** The Managers with timers. */
+ private List<Manager> timers = new ArrayList<Manager>();
+
+ /** The Commands.
+ * The order is important, this must be a List.
+ */
+ private List<Command> commands = new ArrayList<Command>();
+
+ /** Main program.
+ * @param args command line arguments
+ * @throws IOException in case of I/O problems
+ */
+ public static void main(final String... args) throws IOException {
+ final CherBot bot = new CherBot();
+ bot.connect(args[0], args[1], args[2]);
+ bot.run();
+ }
+
+ /** Create the CherBot.
+ * This creates the managers.
+ * @todo put the list of managers that should be created in a file, read the file and use reflection to create the managers.
+ * This would allow users to configure what modules the bot should load without recompiling the bot.
+ */
+ public CherBot() {
+ // Add Managers
+ // The order is important, since commands (regexes) are searched in the order the managers are constructed.
+ // Also some managers require other managers to already exist
+ new SmutManager(this);
+ securityManager = new CherBotSecurityManager(this);
+ internalManager = new InternalManager(this);
+ blacklistManager = new BlackListManager(this);
+ playerManager = new PlayerManager(this);
+ new TimeManager(this);
+ new TestManager(this);
+ new GreetingsManager(this);
+ new LamentsManager(this);
+ new CollectionsManager(this);
+ //new CrimeManager(this);
+ new RodBabyManager(this);
+ new RodBabyWannabeManager(this);
+ new DeathsManager(this);
+ new PollManager(this);
+ new SalesManager(this);
+ new MailManager(this);
+ new EmotesManager(this);
+ new GroupManager(this);
+ new NoobManager(this);
+ }
+
+ /** Quit Cherbot. */
+ public void quit() {
+ System.exit(0);
+ }
+
+ /** Add a Manager.
+ * The constructor of Manager invokes this method.
+ * So do not call this method or a Manager would be added twice.
+ * @param manager Manager to add
+ */
+ public void addManager(final Manager manager) {
+ managers.add(manager);
+ if (manager.getTicksDelay() != 0) {
+ timers.add(manager);
+ }
+ managerMap.put(manager.getTopic(), manager);
+ }
+
+ /** Get a Manager for a certain topic.
+ * @param topic Topic to get Manager for
+ * @return Manager for <var>topic</var> or <code>null</code> if no manager for the specified topic is known
+ */
+ public Manager getManager(final String topic) {
+ return managerMap.get(topic);
+ }
+
+ /** Get all managers.
+ * The returned collection is immutable.
+ * @return all managers
+ */
+ public Collection<Manager> managers() {
+ return Collections.unmodifiableList(managers);
+ }
+
+ /** Get the SecurityManager.
+ * Don't rely on the SecurityManager instance being the same all the time for an instance of CherBot.
+ * The SecurityManager might change over the time.
+ * @return SecurityManager
+ */
+ public CherBotSecurityManager getSecurityManager() {
+ return securityManager;
+ }
+
+ /** Add a Command.
+ * The constructor of Manager.Command indirectly invokes this method by invoking Manager.addCommand.
+ * So do not call this method or a Command would be added twice.
+ * @param command Command to add
+ */
+ public void addCommand(final Command command) {
+ commands.add(command);
+ }
+
+ /** Get username used by the bot.
+ * @return username
+ */
+ public String getUsername() {
+ return username;
+ }
+
+ /** Connect to a server.
+ * @param username username
+ * @param password password
+ * @param server Server to connect to
+ * @throws IOException if the socket cannot be opened.
+ */
+ @SuppressWarnings({"SocketOpenedButNotSafelyClosed"})
+ public void connect(final String username, final String password, final String server) throws IOException {
+ this.username = username;
+ this.password = password;
+ socket = new Socket(server, 13327);
+ in = socket.getInputStream();
+ out = socket.getOutputStream();
+ receiveServerVersion();
+ sendClientVersion();
+ login();
+ try {
+ internalManager.load();
+ } catch (final Exception e) {
+ System.err.println(e);
+ }
+ //say("food");
+ }
+
+ /** Keep the bot running.
+ * @throws IOException in case of I/O problems
+ */
+ public void run() throws IOException {
+ try {
+ while (!stop) {
+ dispatch(receivePacket());
+ timer();
+ }
+ } finally {
+ try {
+ internalManager.save();
+ } catch (final Exception e) {
+ System.err.println(e);
+ }
+ try { in.close(); } catch (final IOException e) { /* ignore */ } finally { in = null; }
+ try { out.close(); } catch (final IOException e) { /* ignore */ } finally { out = null; }
+ try { socket.close(); } catch (final IOException e) { /* ignore */ } finally { socket = null; }
+ }
+ }
+
+ /** Answer.
+ * @param cs String to answer
+ */
+ public void answer(final CharSequence cs) {
+ tell(actor, cs.toString()); // TODO: Improve CharSequence handling
+ }
+
+ /** Shout.
+ * @param s String to shout
+ */
+ public void shout(final String s) {
+ final StringBuilder sb = new StringBuilder();
+ for (final String line : lineSplit(s)) {
+ sb.setLength(0);
+ sb.append("/shout ");
+ sb.append(line);
+ }
+ }
+
+ /** Tell
+ * @param p Player name
+ * @param s String to tell
+ */
+ public void tell(final String p, final String s) {
+ if (s.length() == 0) {
+ return; // nothing to tell.
+ }
+ if (p == null) {
+ println(s);
+ } else {
+ // either lineSplit or ncom has a bug. Probably lineSplit.
+ final StringBuilder sb = new StringBuilder();
+ for (final String line : lineSplit(s)) {
+ sb.setLength(0);
+ }
+ }
+ }
+
+ /** Reply
+ * @param s String to tell
+ */
+ public void reply(final String s) throws IOException {
+ final StringBuilder sb = new StringBuilder();
+ for (final String line : lineSplit(s)) {
+ sb.setLength(0);
+ }
+ }
+
+ /** Say.
+ * @param s String to say
+ */
+ public void say(final String s) {
+ final StringBuilder sb = new StringBuilder();
+ for (String line : lineSplit(s)) {
+ sb.setLength(0);
+ }
+ }
+
+ /** Split a String into substrings.
+ * @param s String to split
+ * @return substrings
+ */
+ @SuppressWarnings({"AssignmentToForLoopParameter"})
+ private static Iterable<String> lineSplit(final String s) {
+ final BreakIterator it = BreakIterator.getLineInstance();
+ it.setText(s);
+ final List<String> ret = new ArrayList<String>();
+ final int width = 230;
+ for (int end = it.last(), split = it.first(), current = 0; current <= end;) {
+ current = it.next();
+ if (current-split > width) {
+ current = it.previous();
+ if (current == split) { current = it.next(); }
+ ret.add(s.substring(split, current));
+ split = current;
+ } else if (current == end) {
+ ret.add(s.substring(split, current));
+ current++;
+ }
+ }
+ return ret;
+ }
+
+ /** Pattern for game entering. */
+ private static final Pattern enter = Pattern.compile("(\\S+) has entered the game.");
+
+ /** Pattern for game kill. */
+ private static final Pattern kill = Pattern.compile("(.+) killed (\\S+)( with (.*))?.");
+
+ /** Dispatch a packet of data.
+ * @param data packet to dispatch
+ * @throws IOException in case of I/O problems
+ */
+ private void dispatch(final byte[] data) throws IOException {
+ } // dispatch
+
+ private static final String[] colors = {
+ "\000\033[0m\001", // default / white
+ "\000\033[33m\001", // orange
+ "\000\033[96m\001", // light blue / navy
+ "\000\033[91m\001", // red
+ "\000\033[92m\001", // green
+ "\000\033[94m\001", // blue
+ "\000\033[37m\001", // grey
+ "\000\033[93m\001", // yellow
+ "\000\033[36m\001", // dark navy
+ "\000\033[0m\001", // don't know
+ "\000\033[93m\001", // yellow again
+ };
+ /** Switch output to a certain color.
+ * @param n color to switch to
+ */
+ private static void switchColor(final int n) {
+ try {
+ System.out.print(colors[n]);
+ } catch (ArrayIndexOutOfBoundsException e) {
+ System.err.println("Unknown color number: " + n);
+ }
+ }
+
+ /** Handle communication.
+ * @param ct Communication Type
+ * @param who speaker
+ * @param msg message
+ * @throws IOException in case of I/O problems
+ * @todo this needs to be improved so /shout can also be used to communicate with Cherbot and Cherbot could respond on shout
+ */
+ private void communicate(final CommType ct, final String who, final String msg) throws IOException {
+ playerManager.see(who);
+ if (username.equals(who)) { return; } // avoid loop dispatch!
+ if (ct == CommType.shout) {
+ final Pattern p = Pattern.compile(username + "(?:(?:,|:)? *)(.*)");
+ final Matcher matcher = p.matcher(msg);
+ if (matcher.matches()) {
+ final String cmd = matcher.group(1);
+ dispatch(who, cmd);
+ }
+ } else {
+ dispatch(who, msg);
+ }
+ }
+
+ /** Who executes the current / executed the last command. */
+ private String actor;
+
+ /** Get the actor (player that executes current / executed the last command).
+ * @return actor
+ */
+ public String getActor() {
+ return actor;
+ }
+
+ /** Dispatch a message, try to execute it's command.
+ * @param who speaker
+ * @param rawCmd Command to perform
+ * @todo this needs to be improved so /shout can also be used to communicate with Cherbot and Cherbot could respond on shout
+ */
+ private synchronized void dispatch(final String who, final String rawCmd) {
+ final String cookedCmd = rawCmd.replaceAll("\\s+", " ").trim();
+ actor = who;
+ if (actor != null && blacklistManager.isBlacklisted()) {
+ answer("You are denied.");
+ return;
+ }
+ try {
+ for (final Command command : commands) {
+ if (command.perform(cookedCmd)) {
+ break;
+ }
+ }
+ } catch (CherBotException e) {
+ answer("I can't: " + e.getMessage());
+ } catch (SecurityException e) {
+ answer("I don't want to: " + e.getMessage());
+ }
+ }
+
+ /** Handle enter.
+ * @param who person that entered.
+ */
+ private void enter(final String who) {
+ for (final Manager manager : managers) {
+ manager.entered(who);
+ }
+ }
+
+ /** Handle kill.
+ * @param killer Killer
+ * @param who person that was killed
+ * @param with with what
+ * @throws IOException in case of I/O problems
+ */
+ private void kill(final String killer, final String who, final String with) throws IOException {
+ if (username.equals(who)) { return; } // avoid lamenting myself
+ for (Manager manager : managers) {
+ manager.died(who, killer, with);
+ }
+ }
+
+ /** Write a line to stdout.
+ * @param s line to write
+ */
+ private static void println(final String s) {
+ System.out.println(s);
+ }
+
+ /** The internal manager.
+ * @author $Author: chris $
+ * @version $Revision: 1.31 $
+ */
+ @Manager.Description("Manages the other modules and gives some general information about the bot.")
+ @Manager.Features({
+ "Load and save persistent data.",
+ "List commands.",
+ "Tell what's new."
+ })
+ private class InternalManager extends Manager {
+ private static final String PERM_SAVE = "Internal.Save";
+ private static final String PERM_LOAD = "Internal.Load";
+ private static final String PERM_QUIT = "Internal.Quit";
+
+ /* Commands. */
+ {
+ new Command("(?:in )?wh(?:ich|at) (?:programming[- ])?language (?:(?:were|are) $YOU|have you been) (?:written|programmed|coded)(?: in)?[?]?") {
+ @Description("You can ask in which language cherbot is written in.")
+ @Examples({"What language are you coded in?", "In which programming language have you been written?"})
+ @Override public void performImpl() {
+ answer("I'm written in " + LINES_OF_CODE + " of Java code.");
+ }
+ };
+ new Command("save[.!]?") {
+ @Description("Saves all module data to persistent storage.")
+ @Examples({"Save!"})
+ @Override public void performImpl() {
+ checkPermission(new CherBotPermission(PERM_SAVE));
+ try {
+ save();
+ answer("Saved all modules.");
+ } catch (Exception e) {
+ answer("Save failed: " + e);
+ }
+ }
+ };
+ new Command("save (\\w+)[.!]") {
+ @Description("Saves a specific module's data to persistent storage.")
+ @Examples({"Save collections!", "Save sales!"})
+ @Override public void performImpl() {
+ final String module = matcher.group(1);
+ checkPermission(new CherBotPermission(PERM_SAVE + '.' + module));
+ try {
+ managerMap.get(module).save();
+ answer("Saved module " + module + '.');
+ } catch (NullPointerException e) {
+ answer("No such module.");
+ } catch (Exception e) {
+ answer("Error while saving module " + module + ": " + e);
+ }
+ }
+ };
+ new Command("load[.!]?") {
+ @Description("Load all module data from persistent storage.")
+ @Examples({"Load!"})
+ @Override public void performImpl() {
+ checkPermission(new CherBotPermission(PERM_LOAD));
+ try {
+ load();
+ answer("Loaded.");
+ } catch (Exception e) {
+ answer("Save failed: " + e);
+ }
+ }
+ };
+ new Command("load (\\w+)[.!]?") {
+ @Description("Load a specific module's data from persistent storage.")
+ @Examples({"Load collections!", "Load sales!"})
+ @Override public void performImpl() {
+ final String module = matcher.group(1);
+ checkPermission(new CherBotPermission(PERM_LOAD + '.' + module));
+ try {
+ managerMap.get(module).load();
+ answer("Loaded module " + module + '.');
+ } catch (NullPointerException e) {
+ answer("No such module.");
+ } catch (Exception e) {
+ answer("Error while loading module " + module + ": " + e);
+ }
+ }
+ };
+ new Command("help[.!]?") {
+ @Description("Displays some general help.")
+ @Examples({"Help!"})
+ @Override public void performImpl() {
+ answer("More info: about, info, help commands, help topics, help usage, help testing");
+ }
+ };
+ new Command("(about|tell me about $YOU)[.!]?") {
+ @Description("Displays some information about Cherbot.")
+ @Examples({"About!", "Tell me about you!"})
+ @Override public void performImpl() {
+ answer("Hello. I am Cherbot, Cheristheus' stupid bot, written in 12 hours, approx. " + LINES_OF_CODE + " lines of code.\nI understand several commands, but most of them are privileged. If you talk to me, use short yet complete correct English sentences. I usually won't respond to single words thrown at me. If I say something like \"I don't want to.\", that means you used the correct command but you don't have enough permissions.\nAsk me about 'help topics' to find out what I can.");
+ }
+ };
+ new Command("(list|show|help) modules[.!]?") {
+ @Description("Lists which modules Cherbot has loaded.")
+ @Examples({"List modules!", "Show modules!" })
+ @Override public void performImpl() {
+ final StringBuilder mods = new StringBuilder();
+ for (Manager manager : managers) {
+ if (mods.length() > 0) { mods.append(", "); } else { mods.append("Loaded modules: "); }
+ mods.append(manager.getTopic());
+ }
+ mods
+ .append(". ")
+ .append(Integer.toString(managers.size()))
+ .append(" modules total. Use 'help <modulename>' to get information on a specific module.");
+ answer(mods.toString());
+ }
+ };
+ new Command("(list|show|help) commands[.!]?") {
+ @Description("Lists the commands. Won't really list the commands but show the modules, since the commands are quite a lot now.")
+ @Examples({"List commands!", "Show commands!"})
+ @Override public void performImpl() {
+ final StringBuilder sb = new StringBuilder();
+ for (Manager manager : managers) {
+ if (sb.length() == 0) { sb.append("Loaded modules: "); } else { sb.append(", "); }
+ sb.append(manager.getTopic());
+ }
+ sb.append(". To know the commands for a specific module, use 'help commands <modulename>', like 'help commands topics'.");
+ answer(sb.toString());
+ }
+ };
+ new Command("(list|show|help) commands? (of |from )?(the |module )?(\\w+)([- ](module|commands))?[.!]?") {
+ @Description("Lists all commands from the specified module.")
+ @Examples({"Show commands from module sales", "Show commands from the sales-module!"})
+ @Override public void performImpl() {
+ final String topic = matcher.group(4);
+ final StringBuilder sb = new StringBuilder();
+ for (Manager manager : managers) {
+ if (topic.equals(manager.getTopic())) {
+ sb.append("Commands for module ").append(topic).append('\n');
+ for (Command command : manager.commands()) {
+ sb.append(command.getPattern()).append('\n');
+ }
+ answer(sb.toString());
+ return;
+ }
+ }
+ answer("No such module: " + topic);
+ }
+ };
+ new Command("(list||show|help) (me )?all commands[.!]?") {
+ @Description("Lists all commands. Please don't use it.")
+ @Examples({"List all commands!", "Show me all commands!"})
+ @Override public void performImpl() {
+ answer("The commands might be quite a lot. If you really want me to do that, tell me 'Really list all commands.'.");
+ }
+ };
+ new Command("really (list|show|help) (me )?all commands[.!]?") {
+ @Description("Lists all commands. Please don't use it.")
+ @Examples({"Really list all commands!", "Really show me all commands!"})
+ @Override public void performImpl() {
+ final StringBuilder sb = new StringBuilder();
+ for (Manager manager : managers) {
+ sb.append(manager.getTopic()).append('\n').append(manager.getTopic().replaceAll(".", "-")).append('\n');
+ for (Command command : manager.commands()) {
+ sb.append(command.getPattern()).append('\n');
+ }
+ }
+ }
+ };
+ new Command("help (.*?)[.!]?") {
+ @Description("List the help on a specific module.")
+ @Examples({"Help collections!", "Help sales!"})
+ @Override public void performImpl() {
+ final String topic = matcher.group(1);
+ if (topic.equals("usage")) {
+ answer("Usage: tell me a command. You may also use shout or say but I will nearly always respond in tell. I don't want to bother other players. Use good, clear, correct, complete English sentences, that will work best. Tell me 'help commands' to find out what I understand.");
+ } else {
+ for (Manager manager : managers) {
+ if (topic.equalsIgnoreCase(manager.getTopic())) {
+ manager.help();
+ }
+ }
+ }
+ }
+ };
+ new Command("info[.!]?") {
+ @Description("Gives some general info about Cherbot.")
+ @Examples({"Info"})
+ @Override public void performImpl() {
+ final StringBuilder info = new StringBuilder();
+ info
+ .append("Version: some alpha.\n")
+ .append("Lines of code: approx. ")
+ .append(LINES_OF_CODE)
+ .append(".\n")
+ .append("Loaded modules: ")
+ .append(managers.size())
+ .append(".\n")
+ .append("Known commands: ")
+ .append(commands.size())
+ .append('.');
+ answer(info.toString());
+ }
+ };
+ new Command("how many commands do $YOU know[?]?") {
+ @Description("Asks Cherbot how many commands it knows.")
+ @Examples({"How many commands do you know?"})
+ @Override public void performImpl() {
+ answer("I know " + commands.size() + " commands.");
+ }
+ };
+ new Command("what('?s| is) new[?]?") {
+ @Description("Reports what's new since the last versions.")
+ @Examples({"What's new?"})
+ @Override public void performImpl() {
+ whatsNew();
+ }
+ };
+ new Command("ping") {
+ @Description("Command to test wether Cherbot is still active. If Cherbot works, it will respond \"pong\".")
+ @Examples({"ping"})
+ public void performImpl() {
+ answer("pong");
+ }
+ };
+ new Command("quit[.!]?") {
+ @Description("Quit Cherbot.")
+ @Examples({"Quit!"})
+ @Override public void performImpl() {
+ checkPermission(new CherBotPermission(PERM_QUIT));
+ answer("Quitting.");
+ quit();
+ }
+ };
+ } // Commands
+
+ // private final String[] permissions = { PERM_SAVE, PERM_LOAD };
+
+ /** Create an internal manager.
+ * @param cherBot Cher Bot
+ */
+ InternalManager(final CherBot cherBot) {
+ super(cherBot, "topics");
+ }
+
+ /** {@inheritDoc} */
+ @Override public void help() {
+ final StringBuilder topics = new StringBuilder();
+ for (Manager manager : managers) {
+ if (topics.length() > 0) {
+ topics.append(", ");
+ }
+ topics.append(manager.getTopic());
+ }
+ topics.insert(0, "I have help on the following topics: \n");
+ topics.append(".\n");
+ topics.append("Use help <topic> (without <>) to learn more on a specific topic.");
+ answer(topics.toString());
+ }
+
+ ///** {@inheritDoc} */
+ //public String[] getPermissions() {
+ // return permissions;
+ //}
+
+ /** What's new. */
+ private void whatsNew() {
+ BufferedReader in = null;
+ try {
+ in = new BufferedReader(new InputStreamReader(new FileInputStream("news.txt")));
+ final StringBuilder sb = new StringBuilder();
+ for (String line; (line = in.readLine()) != null; sb.append(line).append('\n'));
+ answer(sb.toString());
+ } catch (IOException e) {
+ answer("No news available.");
+ } finally {
+ try { in.close(); } catch (Exception e) { /* ignore */ } finally { in = null; }
+ }
+ }
+
+ { // IO Modules
+ new IOModule() {
+ @Override public void save() {
+ for (Manager manager : managers) {
+ if (manager != InternalManager.this) {
+ try {
+ manager.save();
+ } catch (Exception e) {
+ System.err.println("Error while saving data from module " + manager.getTopic() + ": " + e);
+ e.printStackTrace();
+ }
+ }
+ }
+ }
+ @Override public void load() {
+ for (Manager manager : managers) {
+ if (manager != InternalManager.this) {
+ try {
+ manager.load();
+ } catch (Exception e) {
+ System.err.println("Error while loading data for module " + manager.getTopic() + ": " + e);
+ e.printStackTrace();
+ }
+ }
+ }
+ }
+ };
+ }
+ } // class InternalManager
+
+} // class CherBot
Property changes on: trunk/src/cherbot/CherBot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
Added: trunk/src/cherbot/CherBotException.java
===================================================================
--- trunk/src/cherbot/CherBotException.java (rev 0)
+++ trunk/src/cherbot/CherBotException.java 2006-10-27 08:40:41 UTC (rev 2)
@@ -0,0 +1,53 @@
+/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBotException.java,v 1.3 2005/03/18 17:35:42 chris Exp $
+ *
+ * © 2005 Christian Hujer. All rights reserved.
+ * License: GNU General Public License. See file COPYING in the root directory of this project.
+ *
+ * Log: see end of file
+ */
+
+package cherbot;
+
+/** Base Exception for exteptions that could occur when using players.
+ * These exceptions are runtime exceptions thrown if actors use illegal arguments or commands in a wrong state.
+ * The message of such an exception must be a message meaningful to the end user (bot user).
+ * @author $Author: chris $
+ * @version $Id: CherBotException.java,v 1.3 2005/03/18 17:35:42 chris Exp $
+ */
+public class CherBotException extends RuntimeException {
+
+ /** Version information */
+ public static final String version = "$Revision: 1.3 $";
+
+ /** Serial Version. */
+ private static final long serialVersionUID = 1L;
+
+ /** Create a CherBotException.
+ * @param msg Message (displayed to end user)
+ */
+ public CherBotException(final String msg) {
+ super(msg);
+ }
+
+} // class CherBotException
+
+/*
+ * $Log: CherBotException.java,v $
+ * Revision 1.3 2005/03/18 17:35:42 chris
+ * Fixed cocumentation
+ *
+ * Revision 1.2 2005/03/14 03:06:20 chris
+ * Fixed copyright.
+ *
+ * Revision 1.1 2005/03/09 01:08:23 chris
+ * Added annotations to document commands.
+ * Improved commands.
+ * Unified some regular expressions.
+ * Reworked code to only shout in 2 particular cases:
+ * a) VOTE for Daimonin adds.
+ * b) A known criminal enters.
+ * Added PollManager.
+ * Added ManagerDocumenter.
+ * Reworked Exception Handling to integrate CherBotException.
+ *
+ */
Property changes on: trunk/src/cherbot/CherBotException.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
Added: trunk/src/cherbot/CherBotLogger.java
===================================================================
--- trunk/src/cherbot/CherBotLogger.java (rev 0)
+++ trunk/src/cherbot/CherBotLogger.java 2006-10-27 08:40:41 UTC (rev 2)
@@ -0,0 +1,96 @@
+/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBotLogger.java,v 1.2 2005/08/31 13:55:28 chris Exp $
+ *
+ * © 2005 Christian Hujer. All rights reserved.
+ * License: GNU General Public License. See file COPYING in the root directory of this project.
+ *
+ * Log: see end of file
+ */
+
+package cherbot;
+
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.PrintWriter;
+
+/** This class is used for logging within Cherbot.
+ * @author $Author: chris $
+ * @version $Id: CherBotLogger.java,v 1.2 2005/08/31 13:55:28 chris Exp $
+ */
+public class CherBotLogger {
+
+ /** Version information */
+ public static final String version = "$Revision: 1.2 $";
+
+ /** The logger. */
+ private PrintWriter log;
+
+ /** Create a logger. */
+ @SuppressWarnings({"IOResourceOpenedButNotSafelyClosed"})
+ public CherBotLogger() throws IOException {
+ log = new PrintWriter(new FileWriter("log.txt", true));
+ }
+
+ /** Log something said.
+ * @param who Who said it
+ * @param msg What he said
+ */
+ public void say(final String who, final String msg) {
+ log.append("[say] ").append(who).append(": ").append(msg).println();
+ }
+
+ /** Log something told.
+ * @param who Who told it
+ * @param msg What he told
+ */
+ public void tell(final String who, final String msg) {
+ log.append("[tell] ").append(who).append(": ").append(msg).println();
+ }
+
+ /** Log something shouted.
+ * @param who Who shouted it
+ * @param msg What he shouted
+ */
+ public void shout(final String who, final String msg) {
+ log.append("[shout] ").append(who).append(": ").append(msg).println();
+ }
+
+ /** Log a successful command.
+ * @param who Who invoked it
+ * @param msg Message that triggered command
+ * @param cmd Command
+ */
+ public void command(final String who, final String msg, final Manager.Command cmd) {
+ log.append("[cmd] ").append("[").append(cmd.getManager().getTopic()).append("]").append(who).append(": ").append(msg).println();
+ }
+
+ /** Log an unsuccessful command.
+ * @param who Who invoked it
+ * @param msg Message that triggered command
+ * @param cmd Command
+ * @param ex Exception that made the command fail
+ */
+ public void fail(final String who, final String msg, final Manager.Command cmd, final Exception ex) {
+ log.append("[fail] ").append("[").append(cmd.getManager().getTopic()).append("]").append(who).append(": ").append(msg).append("!").append(ex.toString()).println();
+ }
+
+ /** Log that a command wasn't found.
+ * @param who Who tried to command
+ * @param msg Message that didn't trigger a command
+ */
+ public void noCommand(final String who, final String msg) {
+ log.append("[nocmd] ").append(who).append(": ").append(msg).println();
+ }
+
+} // class CherBotLogger
+
+/*
+ * $Log: CherBotLogger.java,v $
+ * Revision 1.2 2005/08/31 13:55:28 chris
+ * Improved code quality.
+ * Removed console control feature.
+ * Changed member count to reflect only real members.
+ *
+ * Revision 1.1 2005/08/29 15:45:39 chris
+ * Some minor improvements.
+ *
+ */
Property changes on: trunk/src/cherbot/CherBotLogger.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
Added: trunk/src/cherbot/CherBotPermission.java
===================================================================
--- trunk/src/cherbot/CherBotPermission.java (rev 0)
+++ trunk/src/cherbot/CherBotPermission.java 2006-10-27 08:40:41 UTC (rev 2)
@@ -0,0 +1,39 @@
+/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBotPermission.java,v 1.1 2005/03/01 09:14:02 chris Exp $
+ *
+ * © 2005 Christian Hujer. All rights reserved.
+ * License: GNU General Public License. See file COPYING in the root directory of this project.
+ *
+ * Log: see end of file
+ */
+
+package cherbot;
+
+import java.security.BasicPermission;
+
+/** Permissions to access the CherBot.
+ * @author $Author: chris $
+ * @version $Id: CherBotPermission.java,v 1.1 2005/03/01 09:14:02 chris Exp $
+ */
+public class CherBotPermission extends BasicPermission {
+
+ /** Version information */
+ public static final String version = "$Revision: 1.1 $";
+
+ /** Serial Version. */
+ private static final long serialVersionUID = 1L;
+
+ /** Create a CherBotPermission.
+ * @param name name
+ */
+ public CherBotPermission(final String name) {
+ super(name);
+ }
+
+} // class CherBotPermission
+
+/*
+ * $Log: CherBotPermission.java,v $
+ * Revision 1.1 2005/03/01 09:14:02 chris
+ * First import to version control.
+ *
+ */
Property changes on: trunk/src/cherbot/CherBotPermission.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
Added: trunk/src/cherbot/CherBotSecurityManager.java
===================================================================
--- trunk/src/cherbot/CherBotSecurityManager.java (rev 0)
+++ trunk/src/cherbot/CherBotSecurityManager.java 2006-10-27 08:40:41 UTC (rev 2)
@@ -0,0 +1,356 @@
+/* $Header: /home/rpgroot/CherBot/src/cherbot/CherBotSecurityManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
+ *
+ * © 2005 Christian Hujer. All rights reserved.
+ * License: GNU General Public License. See file COPYING in the root directory of this project.
+ *
+ * Log: see end of file
+ */
+
+package cherbot;
+
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.security.AllPermission;
+import java.security.Permission;
+import java.security.Permissions;
+import java.util.Comparator;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.SortedSet;
+import java.util.TreeSet;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+/** SecurityManager for CherBot.
+ * The CherBotSecurityManager manages the permissions granted for the individual modules and actions.
+ * @author $Author: chris $
+ * @version $Id: CherBotSecurityManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
+ */
+@Manager.Description("Cherbot has a sophisticated security system, derived from Java. It is comparable with JAAS, the security concept used in Java application servers. This module controls security.")
+@Manager.Features({"Grant permissions", "Revoke permissions", "List permissions"})
+public class CherBotSecurityManager extends Manager {
+
+ /** Version information */
+ public static final String version = "$Revision: 1.17 $";
+
+ /** Permission to grant permissions. */
+ private static final String PERM_GRANT = "Security.Grant";
+
+ /** Permission to revoke permissions. */
+ private static final String PERM_REVOKE = "Security.Revoke";
+
+ /** Permission to list own permissions. */
+ private static final String PERM_LIST_OWN = "Security.List.Own";
+
+ /** Permission to list other player's permissions. */
+ private static final String PERM_LIST_OTHER = "Security.List";
+
+ /** The Permissions.
+ * Key: player name.
+ * Value: Set with permission names.
+ */
+ private Map<String,Permissions> permissions = new HashMap<String,Permissions>();
+
+ /** NullStringComparator. */
+ private Comparator<String> nullStringComparator = new Comparator<String>() {
+ public int compare(final String o1, final String o2) {
+ if (o1 == null && o2 == null) {
+ return 0;
+ } else if (o1 == null) {
+ return -1;
+ } else if (o2 == null) {
+ return 1;
+ } else {
+ return o1.compareTo(o2);
+ }
+ }
+ };
+
+ { // Commands
+ /* Grant command. */
+ new Command("(?:grant|allow) $PLAYER(?: access| permission)?(?: to| on)? (.*?)[.!]?") {
+ @Description("Grants someone the permission to do something.")
+ @Examples({"Grant Michtoen permission on *.", "Allow Michtoen access to *.", "Allow Tehrtapimp to Greetings.Set.Own."})
+ @Override public void performImpl() {
+ grant(player(1), gr(2));
+ }
+ };
+
+ /* Revoke command. */
+ new Command("(?:deny|revoke) $PLAYER(?:'s?)?(?: access| permission)?(?: to| on)? (.*?)[.!]?") {
+ @Description("Revokes someone's permission to do something.")
+ @Examples({"Deny Tehrtapimp to Greetings.Set.Own."})
+ @Override public void performImpl() {
+ revoke(player(1), gr(2));
+ }
+ };
...
[truncated message content] |
|
From: <chr...@us...> - 2006-10-27 08:33:21
|
Revision: 1
http://svn.sourceforge.net/cherbot/?rev=1&view=rev
Author: christianhujer
Date: 2006-10-27 01:33:05 -0700 (Fri, 27 Oct 2006)
Log Message:
-----------
Setup ttb structure.
Added Paths:
-----------
branches/
tags/
trunk/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|