Shane Mc Cormack
3e7ff0bfb9
Corrected Javadoc
git-svn-id: http://svn.dmdirc.com/trunk@94 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
b9d4a48783
Channel Callbacks can now be made to only callback for a specific channel
bAddingNames is now protected not public
Added SelfChannelJoin method
Misc stuff
git-svn-id: http://svn.dmdirc.com/trunk@93 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
2399a4acb7
Added getParser() method to Server class
ServerFrame and Raw classes now access the parser's callbacks directly, instead of being proxied via the Server class
git-svn-id: http://svn.dmdirc.com/trunk@92 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
6b63cf7a22
Updated addLine methods of ServerFrame/ChannelFrame.
Changed Channel to use proper ChannelInfo class
Removed nick in use handling from Server class
git-svn-id: http://svn.dmdirc.com/trunk@91 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
12a62d3e76
Added listmode support to channels
Added getMyself method
git-svn-id: http://svn.dmdirc.com/trunk@90 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
b1d215129b
ServerFrame now uses jTextPane
git-svn-id: http://svn.dmdirc.com/trunk@89 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
35f21d4dc7
Updated ServerFrame to use new parser method names
Removed old build/classes/dmdirc folder
git-svn-id: http://svn.dmdirc.com/trunk@88 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
5d6b29432c
Updated core classes to use new parser methods
git-svn-id: http://svn.dmdirc.com/trunk@87 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
b99bc71fe9
Renamed: doIRCTokenise -> tokeniseLine
git-svn-id: http://svn.dmdirc.com/trunk@86 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
20cb257ee8
Fixed bugs introduced last commit
setNickname will not change nickname if cMySelf.getNickname = sNewNick
Renamed all 120 methods (This almost certainly breaks HEAD - I'm sorry!).
I think I got them all, if you find any still with a capital first letter, tell me.
GetClientInfo -> getClientInfo
GetChannelInfo -> getChannelInfo
AddChannelAction -> addChannelAction
AddChannelCTCP -> addChannelCTCP
AddChannelCTCPReply -> addChannelCTCPReply
AddChannelJoin -> addChannelJoin
AddChannelKick -> addChannelKick
AddChannelMessage -> addChannelMessage
AddChannelNotice -> addChannelNotice
AddChannelPart -> addChannelPart
AddChannelQuit -> addChannelQuit
AddDataIn -> addDataIn
AddDataOut -> addDataOut
AddDebugInfo -> addDebugInfo
AddErrorInfo -> addErrorInfo
AddGotNames -> addGotNames
AddModesChanged -> addModesChanged
AddMOTDEnd -> addMOTDEnd
AddNickChanged -> addNickChanged
AddNickInUse -> addNickInUse
AddPrivateAction -> addPrivateAction
AddPrivateCTCP -> addPrivateCTCP
AddPrivateCTCPReply -> addPrivateCTCPReply
AddQuit -> addQuit
AddServerReady -> addServerReady
AddTopic -> addTopic
AddUnknownAction -> addUnknownAction
AddUnknownCTCP -> addUnknownCTCP
AddUnknownCTCPReply -> addUnknownCTCPReply
AddUnknownMessage -> addUnknownMessage
AddUserModesChanged -> addUserModesChanged
delChannelAction -> delChannelAction
delChannelCTCP -> delChannelCTCP
delChannelCTCPReply -> delChannelCTCPReply
delChannelJoin -> delChannelJoin
delChannelKick -> delChannelKick
delChannelMessage -> delChannelMessage
delChannelNotice -> delChannelNotice
delChannelPart -> delChannelPart
delChannelQuit -> delChannelQuit
delDataIn -> delDataIn
delDataOut -> delDataOut
delDebugInfo -> delDebugInfo
delErrorInfo -> delErrorInfo
delGotNames -> delGotNames
delModesChanged -> delModesChanged
delMOTDEnd -> delMOTDEnd
delNickChanged -> delNickChanged
delNickInUse -> delNickInUse
delPrivateAction -> delPrivateAction
delPrivateCTCP -> delPrivateCTCP
delPrivateCTCPReply -> delPrivateCTCPReply
delQuit -> delQuit
delServerReady -> delServerReady
delTopic -> delTopic
delUnknownAction -> delUnknownAction
delUnknownCTCP -> delUnknownCTCP
delUnknownCTCPReply -> delUnknownCTCPReply
delUnknownMessage -> delUnknownMessage
delUserModesChanged -> delUserModesChanged
callChannelAction -> callChannelAction
callChannelCTCP -> callChannelCTCP
callChannelCTCPReply -> callChannelCTCPReply
callChannelJoin -> callChannelJoin
callChannelKick -> callChannelKick
callChannelMessage -> callChannelMessage
callChannelNotice -> callChannelNotice
callChannelPart -> callChannelPart
callChannelQuit -> callChannelQuit
callDataIn -> callDataIn
callDataOut -> callDataOut
callDebugInfo -> callDebugInfo
callErrorInfo -> callErrorInfo
callGotNames -> callGotNames
callModesChanged -> callModesChanged
callMOTDEnd -> callMOTDEnd
callNickChanged -> callNickChanged
callNickInUse -> callNickInUse
callPrivateAction -> callPrivateAction
callPrivateCTCP -> callPrivateCTCP
callPrivateCTCPReply -> callPrivateCTCPReply
callQuit -> callQuit
callServerReady -> callServerReady
callTopic -> callTopic
callUnknownAction -> callUnknownAction
callUnknownCTCP -> callUnknownCTCP
callUnknownCTCPReply -> callUnknownCTCPReply
callUnknownMessage -> callUnknownMessage
callUserModesChanged -> callUserModesChanged
AddCallback -> addCallback
DelCallback -> delCallback
DoSelfTest -> doSelfTest
GetParam -> getParam
JoinChannel -> joinChannel
ParseChanModes -> parseChanModes
ParsePrefixModes -> parsePrefixModes
ParseChanPrefix -> parseChanPrefix
PartChannel -> partChannel
IRCTokenise -> doIRCTokenise
Process001 -> process001
process004_005 -> process004_005
processAway -> processAway
processIRCMessage -> processIRCMessage
processJoinChannel -> processJoinChannel
processKickChannel -> processKickChannel
processLine -> processLine
processMode -> processMode
processNames -> processNames
processNickChange -> processNickChange
processNickInUse -> processNickInUse
processPartChannel -> processPartChannel
processQuit -> processQuit
processStringParam -> processStringParam
processTopic -> processTopic
processUserMode -> processUserMode
quit -> quit
resetState -> resetState
sendLine -> sendLine
sendString -> sendString
setNickname -> setNickname
git-svn-id: http://svn.dmdirc.com/trunk@85 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
371d439ab1
Added a logging.dateFormat Config default
git-svn-id: http://svn.dmdirc.com/trunk@84 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
257a4411dd
Final javadocing for now.
Added cPrepend character to MyInfo
git-svn-id: http://svn.dmdirc.com/trunk@83 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
3289a84a9a
More javadocing. (Almost done.)
Added isReady() to IRCParser
git-svn-id: http://svn.dmdirc.com/trunk@82 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
3fffb6257f
More Javadoc - No more javadoc generation errors
git-svn-id: http://svn.dmdirc.com/trunk@81 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
a551a930e2
More javadoc changes
git-svn-id: http://svn.dmdirc.com/trunk@80 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
40877a059e
Small javadoc improvements
git-svn-id: http://svn.dmdirc.com/trunk@79 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
d8a9dd0019
Bug fixes, Added SSL (untested)
git-svn-id: http://svn.dmdirc.com/trunk@78 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
e02bded7f3
Added missing ,
git-svn-id: http://svn.dmdirc.com/trunk@77 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
33e5fc131b
Added huge amounts of javadoc. Still got loads more todo.
git-svn-id: http://svn.dmdirc.com/trunk@76 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
623f1d2c02
Updated netbeans properties file to new package
git-svn-id: http://svn.dmdirc.com/trunk@75 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
c2ab0c8e50
Updated package names to comply with coding conventions
git-svn-id: http://svn.dmdirc.com/trunk@74 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
8a5daf33f0
Fixed ParserTestClass
IRCParser now compiles on JRE 1.5
git-svn-id: http://svn.dmdirc.com/trunk@73 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
14bf1eef31
Remove private netbeans settings from the repo
git-svn-id: http://svn.dmdirc.com/trunk@72 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
f474feb674
Actually added the plugins this time.
git-svn-id: http://svn.dmdirc.com/trunk@71 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
7bbd9aee38
Changed the access on some Config methods.
Added preliminary, totally untested plugin manager.
git-svn-id: http://svn.dmdirc.com/trunk@70 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
7adb8963d4
Added sHost param to ChannelModesChanged (For when servers change modes.)
Added onUserModeChange
Added onNickChanged
Added OnChannelKick
When a client parts or is kicked from a channel, the parser checks if it can still see the client anywhere, if not the client is removed
Fixed few misc things
Made ClientInfo.setUserBits method public. This takes a host (:)nick(!ident)(@host ) and sets the nick/ident/host parameters as apropriate.
git-svn-id: http://svn.dmdirc.com/trunk@67 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
810ddf8d85
added getSvnInfo to parser classes. (returns $Id: string)
git-svn-id: http://svn.dmdirc.com/trunk@66 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
30a05148b1
Clients, Channels and ChannelClients now know what parser they are owned by. (Used for mode related stuff)
Added Channel Mode parsing. (No list support yet)
git-svn-id: http://svn.dmdirc.com/trunk@65 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
7c7eb5aa8d
Added set method to Config class
git-svn-id: http://svn.dmdirc.com/trunk@64 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
831cbab8fc
Added Id keyword to files
Javadoc'd a few things
Fixed names parsing bug
Requests modes on join (and each list mode type)
JoinChannel and PartChannel won't attempt to join invalid channels
git-svn-id: http://svn.dmdirc.com/trunk@63 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
cd689b945b
Added names parsing (and callback)
Added topic parsing (and callback)
Added Quit parsing (and callback)
Added Part parsing (and callback)
Added isValidChannelName method
Added [Channel|Private|Unknown][Message|Action|Notice|CTCP|CTCPReply] callbacks (15 in total)
Added parsing for 005 bits
Fixed broken compile sometimes
Fixed sParam in ProcessLine is now a string representation of nParam - like I thought it was but wasn't
Fixed various other bugs
Made some private members of IRCParser protected instead to allow access from other package members
ProcessLine now encases all the processing in try { } catch { } to prevent breakage
git-svn-id: http://svn.dmdirc.com/trunk@62 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
5e32e907a2
Parser Tests are now only compiled if bDebug is true.
if bDebug is false, DoSelfTest will always return true (for compatability)
git-svn-id: http://svn.dmdirc.com/trunk@61 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
5189e18e82
Added ID to svn:keywords on all parser files.
Moved ParserTest.java to test dir not src dir
git-svn-id: http://svn.dmdirc.com/trunk@59 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
be1ccad233
Added OnError Callback
Added 001 Support
Added 005 Storing (No Parsing Yet)
Added Client And Channel Stuff
Added OnChannelJoin Callback
Added Testing Stuff (IRC.DoSelfTest)
Added Some extra output on Connecting
Fixed Exception on when recieving Empty lines/On Socket Close
Probably some other stuff I don't remember.
git-svn-id: http://svn.dmdirc.com/trunk@58 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
ced0f0a067
- ChannelCommandParser now extends ServerCommandParser
- Rename Command.thingy to Command.polyadic
- Command.arity now defaults to 0
- The CommandParser can now register commands
git-svn-id: http://svn.dmdirc.com/trunk@57 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
5772c821fd
Update copyright header
git-svn-id: http://svn.dmdirc.com/trunk@56 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
ed72707ba2
Add skeleton command parser files
git-svn-id: http://svn.dmdirc.com/trunk@55 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
7e54a41d61
Fixed issue 18
git-svn-id: http://svn.dmdirc.com/trunk@54 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
8ff329f4d6
Added config file loading and saving, suppressed error in the IRC parser
git-svn-id: http://svn.dmdirc.com/trunk@53 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
8160496bd8
IRCParser now sends a password if it's non-empty
git-svn-id: http://svn.dmdirc.com/trunk@52 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
045b58f935
Server password is now passed to the parser
git-svn-id: http://svn.dmdirc.com/trunk@51 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
0166b90733
Updated Channel.java to use new channelframe
git-svn-id: http://svn.dmdirc.com/trunk@50 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
33fece514c
Added basic channel frame
git-svn-id: http://svn.dmdirc.com/trunk@49 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
b92fd0c85c
Added default window titles
git-svn-id: http://svn.dmdirc.com/trunk@48 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
ab353e9e8f
Added more feedback in run() using OnDebug with a level of ndSocket (2);
git-svn-id: http://svn.dmdirc.com/trunk@47 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
0989fe9b42
Reformatting Javadoc @version lines
git-svn-id: http://svn.dmdirc.com/trunk@46 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
495da61160
Added svn:keywords Id to files
Added some JavaDoc comments
git-svn-id: http://svn.dmdirc.com/trunk@45 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
5e74db6cda
Added initial identity manager dialog
git-svn-id: http://svn.dmdirc.com/trunk@44 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
8b252f8306
The server class now passes on the host/ip to the IRCParser
git-svn-id: http://svn.dmdirc.com/trunk@43 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
c4bd274739
* Moved MyInfo and ServerInfo into seperate classes
* Hacked Server to make it work with the new IRCParser interface
git-svn-id: http://svn.dmdirc.com/trunk@42 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago