Chris Smith
6803591b9d
Added Styliser class
Server and Channel frames now add lines via the styliser
git-svn-id: http://svn.dmdirc.com/trunk@252 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
70bdab0fc5
Internal frames now use the main frame's icon
git-svn-id: http://svn.dmdirc.com/trunk@251 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
a460cd1c22
Added SSL support to Parser. (Trusts ALL certificates at present, this can be worked on)
No longer waits for first line from server before sending NICK/USER/PASS (this can be overridden by setting
waitForFirst in the ServerInfo object)
git-svn-id: http://svn.dmdirc.com/trunk@239 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
37c16dbcf1
Made NewServerDialog open centered with the MainFrame
git-svn-id: http://svn.dmdirc.com/trunk@236 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
823e025fd4
Fix concurrent modification error when closing channel windows
git-svn-id: http://svn.dmdirc.com/trunk@228 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
28763eacd1
Read alternate nickname from config file as well
git-svn-id: http://svn.dmdirc.com/trunk@227 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
7492cedbd0
Save the config if the user closes the main frame rather than using /quit
git-svn-id: http://svn.dmdirc.com/trunk@225 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
12fbeb8c11
Use a default nickname from the config file
git-svn-id: http://svn.dmdirc.com/trunk@224 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
1396ba0fcb
Added cycle command
Fixed bug with channels being associated with the wrong ChannelInfo object after parting
git-svn-id: http://svn.dmdirc.com/trunk@223 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
2f9c8e5915
Added part command
git-svn-id: http://svn.dmdirc.com/trunk@222 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
4fba843211
Someone changing the topic now actually changes it.
git-svn-id: http://svn.dmdirc.com/trunk@221 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
bf2b6258b8
Added default values for variables
git-svn-id: http://svn.dmdirc.com/trunk@220 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
a04c9e304b
The background of the main desktopPane is now a light grey
git-svn-id: http://svn.dmdirc.com/trunk@217 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
8363f3d1a5
Fixed major bug whereby channels weren't being removed from their hashmap correctly, preventing the client from closing if you had parted a channel
git-svn-id: http://svn.dmdirc.com/trunk@216 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
f458a89309
Innerframe titles are now displayed in the main titlebar when maximised
git-svn-id: http://svn.dmdirc.com/trunk@215 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
370c506907
Pointless, removed.
git-svn-id: http://svn.dmdirc.com/trunk@214 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
9b43dc99d0
Updated core to work with parser changes
git-svn-id: http://svn.dmdirc.com/trunk@213 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
3996f4646c
Added a temporary icon for the main frame
git-svn-id: http://svn.dmdirc.com/trunk@212 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
d13f6eca91
Added svn:keywords +Id to all Callback stuff
git-svn-id: http://svn.dmdirc.com/trunk@211 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Shane Mc Cormack
26bfb2a813
Moved Callbacks and Interfaces into new packages:
uk.org.ownage.dmdirc.parser.callbacks
uk.org.ownage.dmdirc.parser.callbacks.interfaces
Made Server/Channel/Raw use new packages.
Fixed on*Action calls having a trailing \001
addCallback now throws an exception, addNonCriticalCallback returns true/false instead.
git-svn-id: http://svn.dmdirc.com/trunk@210 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
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