Chris Smith
953e1f624b
MainFrame now uses Logger if it can't toggle the state of an internal frame
git-svn-id: http://svn.dmdirc.com/trunk@209 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
8d0885412f
Made Raw/Channel/Server classes compatible with the parser changes
git-svn-id: http://svn.dmdirc.com/trunk@208 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
bd4194f52a
Added error and debug methods that use the default log level
git-svn-id: http://svn.dmdirc.com/trunk@207 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
dc0a0d13b7
Changed logging and levels.
git-svn-id: http://svn.dmdirc.com/trunk@206 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
cec4f06fba
Servers are now closed nicely when the client is closed
Errors setting the LAF are now handled via the Logger
git-svn-id: http://svn.dmdirc.com/trunk@205 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
2b851bd7d3
Rewrote callback system.
To add a callback now, use: myIRCParser.getCallbackManager().addCallback("OnDebugInfo", this[, "#channel"])
(the channel parameter is taken only by Channel callbacks - excluding ChannelSelfJoin)
git-svn-id: http://svn.dmdirc.com/trunk@204 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
a487f2a80c
Fixed NicklistListModel not setting the config options it accessed
Added some logging defaults to Config
Seperated Logger's logging into 3 files, added config checks as to whether to write to these
git-svn-id: http://svn.dmdirc.com/trunk@203 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
3aaf4aa2d4
Remove debugging info
git-svn-id: http://svn.dmdirc.com/trunk@202 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
7f0d140c57
Frames are now staggered as they're opened, so you don't end up with too many windows in the same place
git-svn-id: http://svn.dmdirc.com/trunk@201 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
a481b7c957
Channels are now parted and their associated information killed when a channel window is closed
git-svn-id: http://svn.dmdirc.com/trunk@200 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
2945115f5d
Updated logger to use the new FatalErrorDialog
Updated FatalErrorDialog to terminate the application and show the appropriate error message
git-svn-id: http://svn.dmdirc.com/trunk@199 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
e5641646c1
* me/0 is no longer displayed in help output
* Updated both command parser implementations to show the correct arity in error messages
git-svn-id: http://svn.dmdirc.com/trunk@198 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
8ca6834cdf
Added help/0 command
git-svn-id: http://svn.dmdirc.com/trunk@197 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
c33b6640eb
Added join/1 command
git-svn-id: http://svn.dmdirc.com/trunk@196 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
2867da135e
Added dialog to display fatal error information
git-svn-id: http://svn.dmdirc.com/trunk@195 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
3b932b5ae3
Closing the server frame now terminates the server connection (+ associated windows)
git-svn-id: http://svn.dmdirc.com/trunk@194 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
8fe1479c8d
Changed default server to one that actually works well
Disabled options in NewServerDialog that aren't implemented yet
git-svn-id: http://svn.dmdirc.com/trunk@193 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
7f6fe4f903
* Added Channel.close(), Raw.close() and Server.close()
* Added Server.disconnect()
* Added MainFrame.delChild()
* Implemented ServerManager.disconnectAll() and added ServerManager.closeAll()
* Raw's parser callbacks are now normal methods not AICs
git-svn-id: http://svn.dmdirc.com/trunk@192 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
7f5d6f7183
* Added me and me/0 commands
* Updated command parser to create a new set of arguments for passing to Commands
* Updated Command to include a protected method to implode arguments
* Updated Quit command to actually use the user supplied method
* Updated Channel class to include a method to send an action
git-svn-id: http://svn.dmdirc.com/trunk@190 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
219ee974a3
Fixed javadoc
git-svn-id: http://svn.dmdirc.com/trunk@189 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
d642b42135
javadoc on doDebug
git-svn-id: http://svn.dmdirc.com/trunk@188 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
bc98e68501
Moved some debug spam into bDebug where it should be.
git-svn-id: http://svn.dmdirc.com/trunk@187 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
83e2828095
* Server now handles errors thrown by the IRC Parser, and forwards them to Logger
git-svn-id: http://svn.dmdirc.com/trunk@186 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
f7e1a55ba3
Fixed ParserError again.
IRCParser now does all debugging via onDebugInfo regardless of bDebug. (altho some will be removed if bDebug is set to false)
git-svn-id: http://svn.dmdirc.com/trunk@185 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
45b04aa3f0
Fixed ParserError class.
git-svn-id: http://svn.dmdirc.com/trunk@184 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
a11e662b6f
onError now uses a ParserError object and passes that to the callback instead. This allows for more flexability, and keeps the logic
for determining the error type inside the parser (isError() isFatal() etc.).
It also allows for the Exception object thrown when callbacks or the parser fail to be passed back aswell.
if the callOnError method gets an exception it now logs to the console rather than trying to recall itself (thus giving an infinite
loop)
git-svn-id: http://svn.dmdirc.com/trunk@183 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
713f61fa51
* Added method to Channel to get the Server it's associated with
* Channel frames now have instances of a channel command parser
* Implemented CommandManager.loadChannelCommands
git-svn-id: http://svn.dmdirc.com/trunk@182 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
f434f8a908
Made logger output errors to std.err
git-svn-id: http://svn.dmdirc.com/trunk@181 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
110c9e6a99
* Added action handling for channels
* Implemented all methods of ChannelCommandParser
* Updated abstract ChannelCommand class to include origin
git-svn-id: http://svn.dmdirc.com/trunk@180 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
f05b07b351
Partially fixed the scrollbar restore issue
git-svn-id: http://svn.dmdirc.com/trunk@179 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
5463cd0c66
Added onChannelUserModeChanged and changed onChannelModeChanged to have sMode param
git-svn-id: http://svn.dmdirc.com/trunk@178 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
646614850a
Fixed issues: 32, 33, 34
git-svn-id: http://svn.dmdirc.com/trunk@177 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
0914206b88
Fixed regressions from Logger refactoring
git-svn-id: http://svn.dmdirc.com/trunk@176 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
6c0c6a5689
Changed reRender to rerender
git-svn-id: http://svn.dmdirc.com/trunk@174 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
7a371d8546
Added join, part, kick and quit handlers
git-svn-id: http://svn.dmdirc.com/trunk@173 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
5e6a55cd06
Added rerender method to the NicklistListModel
git-svn-id: http://svn.dmdirc.com/trunk@172 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
edbf89d4da
Callbacks in the channel class are now normal methods rather than AICs
Added handler for topic changes
git-svn-id: http://svn.dmdirc.com/trunk@171 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
35085e2987
Refactored Logger into its own package with seperate enum classes.
git-svn-id: http://svn.dmdirc.com/trunk@170 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
81385a5e39
* Added quit/0 and quit commands
* Added default quit message to config
* ServerFrame and ChannelFrame now check to see if the command parser throws an exception, and logs it if it does
* Added method to CommandManager to get a server command by its signature
* Added a (stub) method to ServerManager to disconnect all servers
git-svn-id: http://svn.dmdirc.com/trunk@169 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
4587f5f3e0
Added preliminary Logger class
Added some default options for nicklist sorting in Config
git-svn-id: http://svn.dmdirc.com/trunk@168 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
65b3bcd74f
Javadoc'd the CommandWindow interface
The origin argument is now passed to ServerCommand objects
Updated test/0 to output to the source window, rather than the server
git-svn-id: http://svn.dmdirc.com/trunk@167 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
8230ab0352
* Added CommandWindow interface, for frames that allow the user to issue commands
* Updated command parser to take a CommandWindow reference when executing
git-svn-id: http://svn.dmdirc.com/trunk@166 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
c9cf2f5309
Removed stray debug output
git-svn-id: http://svn.dmdirc.com/trunk@165 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
a3f553da64
Fixed NicklistComparator
git-svn-id: http://svn.dmdirc.com/trunk@164 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
570c90ebc0
Server and Channel frames now tell the Mainframe when they're maximised or restored
git-svn-id: http://svn.dmdirc.com/trunk@163 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
58bcd08342
Fixed getImportantMode() and getChanModeStr() again. Not sure where this fix dissapeared to before.
This also fixes sorting ;)
git-svn-id: http://svn.dmdirc.com/trunk@162 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
92e1e05df3
Name fixes
git-svn-id: http://svn.dmdirc.com/trunk@161 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
889339893a
Added getSocketState() method.
git-svn-id: http://svn.dmdirc.com/trunk@159 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
74cb0a9fde
renamed onUserModeChange to onUserModeChanged
git-svn-id: http://svn.dmdirc.com/trunk@156 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
3516869811
Renamed FromParser to bFromParser in onDataOut for consistancy
git-svn-id: http://svn.dmdirc.com/trunk@150 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago