Shane Mc Cormack
c17c734851
Add parser support for user errors (don't report to devs)
Make getMaxLength() error a userError.
- Fixes issue 1161
Make nick change overwriting an existing nick a userError
- Related to issue 1141
- Related to issue 1039
git-svn-id: http://svn.dmdirc.com/trunk@3955 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Shane Mc Cormack
be2639bc21
Despite the unliklyness of using it for IRC, port 1 is infact a valid port!
Issue 1171
git-svn-id: http://svn.dmdirc.com/trunk@3953 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Shane Mc Cormack
d708907be5
Check if port is valid before trying to connect using it.
Fixes issue 1171
git-svn-id: http://svn.dmdirc.com/trunk@3952 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Shane Mc Cormack
2dcf84e13f
Fixes issue 1162
git-svn-id: http://svn.dmdirc.com/trunk@3951 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
4052e5d7a8
Profiles now use the user name provided by the OS by default
Fixes issue 1163
git-svn-id: http://svn.dmdirc.com/trunk@3950 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
c8400c2a53
Unit tests (ServerManager, Process004005, ProcessJoin)
Tidied up some logic in ConditionTree, and removed unneccesary asserts
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3949 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
bd01d95b9e
some work on issue 1094, doesnt fix it, but only messes up the statusbar now
git-svn-id: http://svn.dmdirc.com/trunk@3948 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
9c02afa9f5
remove debug from when i rewrote the layout for this. issue 1131.
git-svn-id: http://svn.dmdirc.com/trunk@3947 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
4b6a976850
fixes issue 1158: Error manager 'send' button doesn't disable properly
git-svn-id: http://svn.dmdirc.com/trunk@3946 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
2fd74275b1
fixes issue 1160: Global window displays incorrectly placed in window menu
git-svn-id: http://svn.dmdirc.com/trunk@3945 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
1c4035b388
fixes issue 1155: java.lang.NullPointerException - ui.swing.components.TextFrame.configChanged(TextFrame.java:865)
git-svn-id: http://svn.dmdirc.com/trunk@3944 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
e92a97a86b
fixes issue 1147: Treeview doesn't update in response to icon changes
git-svn-id: http://svn.dmdirc.com/trunk@3941 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
39324ce6df
Refactor ErrorManager/Logger so all reporting logic is in one place
Error reports submitted after-the-fact now work as expected
Fixes issue 1156
git-svn-id: http://svn.dmdirc.com/trunk@3940 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Shane Mc Cormack
4433cafc0a
Use formatters for DCC Chat messages.
Issue 373
git-svn-id: http://svn.dmdirc.com/trunk@3939 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
40b1aa81f4
Identities/ConfigFiles no longer try to write to non-writable files
Fixes failing unit tests (issue 1106)
git-svn-id: http://svn.dmdirc.com/trunk@3938 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
29900a3e82
SwingStatusBar is now synchronised with a semaphore, rather than method-level synchronisation
Fixes issue 1148
git-svn-id: http://svn.dmdirc.com/trunk@3936 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
d93ef9d993
Getting the UI's status bar no longer randomly instansiates the whole thing
Attempt at resolving issue 1148
git-svn-id: http://svn.dmdirc.com/trunk@3935 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
b115c5adac
Identities now force a save once they've migrated
ConfigFile now preverses trailing spaces
Fixes issue 1151
Random style fixes in the plugins package
git-svn-id: http://svn.dmdirc.com/trunk@3933 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Shane Mc Cormack
865e279d71
Revert rv3722 - Fixes issue 1141
git-svn-id: http://svn.dmdirc.com/trunk@3924 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
0543899fed
Removed NullCallbacksTest, as the behaviour it tests is no longer present or needed (issue 1106)
Reworked the way the parser's callbackmanager.getCallbackType method works - instead of returning null if the callback type doesn't exist (which shouldn't happen in normal behaviour), it throws an exception
git-svn-id: http://svn.dmdirc.com/trunk@3922 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
e0fa1bc8b6
fixes issue 1137: Treeview nodes don't repaint when ui.foregroundcolour/backgroundcolour is changed
fixes issue 1102: Treeview causes stupid CPU usage
git-svn-id: http://svn.dmdirc.com/trunk@3921 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
f21b7ceca9
issue 1131
git-svn-id: http://svn.dmdirc.com/trunk@3920 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
4283c8e907
issue 1131
git-svn-id: http://svn.dmdirc.com/trunk@3919 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
2f102fd97c
oh crap, trunk unbreaking from the last commit, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3916 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
edfbc5fdf2
Parser now sends queued channel modes as soon as the max number is reached, rather than waiting for the next one
Fixes issue 1107
git-svn-id: http://svn.dmdirc.com/trunk@3905 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
bee924a4fd
issue 1135: Main frame should update icon in response to config changes
git-svn-id: http://svn.dmdirc.com/trunk@3902 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
233caad322
issue 1138: nicklist altBackgroundColour should be under "ui" not "nicklist"
git-svn-id: http://svn.dmdirc.com/trunk@3901 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
021ecde23a
Unsetting colours now reverts them (+ unit test)
Fixes issue 1136, issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3900 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
8fde0a983d
fixes issue 1138: nicklist altBackgroundColour should be under "ui" not "nicklist"
git-svn-id: http://svn.dmdirc.com/trunk@3899 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
850bad60bb
Theme list updates when the preferences dialog is opened
Themes now set their enabled boolean when being disabled
Fixes issue 1140, fixes issue 1139
git-svn-id: http://svn.dmdirc.com/trunk@3898 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
6dfb21b191
fixes issue 1131: Remove UIUtilities.layoutGrid
git-svn-id: http://svn.dmdirc.com/trunk@3895 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
bd0e61b3db
Make ArrayListTransferHandler unit testable. issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3894 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
a3da95023a
Make ArrayListTransferHandler unit testable. issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3892 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
dc64a7b982
ConfigTarget now defaults its name/string representation to GLOBAL, so its 100% coverage is reported properly.
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3890 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
971603925a
Extra ConfigFile test cases. Removed some superfluous conditionals in ConfigFile.
issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3889 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
bd3811381f
Make ArrayListTransferHandler less complex. issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3887 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
6b52f5e5a2
Move themes to ui.themes
Theme identities may now use $theme to refer to their theme's (extension-less) file name
Fixes issue 1126
git-svn-id: http://svn.dmdirc.com/trunk@3886 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
5a7a094782
Move themes to ui.themes
Theme identities may now use $theme to refer to their theme's (extension-less) file name
Fixes issue 1126
git-svn-id: http://svn.dmdirc.com/trunk@3885 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
4f8fa8496a
issue 1128: NickListRenderer could be simplified
git-svn-id: http://svn.dmdirc.com/trunk@3883 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Gregory Holmes
48a5590e36
fixes issue 1128: NickListRenderer could be simplified
git-svn-id: http://svn.dmdirc.com/trunk@3882 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
c711f8a938
Remove some pointless null checks in ProgramError to stop it showing as missing coverage
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3881 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
990797b148
Update some util unit tests
TextFile now throws a UOE if you try to delete a file if it was constructed with an InputStream (consistent with the behaviour of writeLines)
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3880 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
4d629b7386
Fixed configchange listeners not being called properly
Themes are now dynamically loadable/unloadable
Fixes issue 1068
git-svn-id: http://svn.dmdirc.com/trunk@3879 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
134e1a33fa
Identities initialised using streams now require two to be passed, as there doesn't seem to be a reliable way to read one twice...
Fixes issue 1123
Fixes issue 1124
Fixes issue 1125
git-svn-id: http://svn.dmdirc.com/trunk@3878 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
3e2cb79ce5
Make Identity.initFile more robust. Fixes problems caused by issue 1122
git-svn-id: http://svn.dmdirc.com/trunk@3877 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
b63bad4464
Identities are once again being migrated properly
Fixes issue 1122
git-svn-id: http://svn.dmdirc.com/trunk@3876 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
7cf0d1b11d
Tidy up IdentityManager/ConfigManager following the changes for issue 1121
git-svn-id: http://svn.dmdirc.com/trunk@3875 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
805ec792f5
Rejiggle how ConfigManager migration works
Fixes issue 1121
git-svn-id: http://svn.dmdirc.com/trunk@3874 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
513dd63a66
More work on themes/configmanagers/etc
Issue 1068
git-svn-id: http://svn.dmdirc.com/trunk@3872 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa
Chris Smith
b1b7a03456
Themes now unregister their identities when disabled
Unregistering an identity removes it from config managers (but they don't yet fire listeners)
Issue 1068
git-svn-id: http://svn.dmdirc.com/trunk@3871 00569f92 -eb28-0410-84fd-f71c24880f
16 anni fa