Chris Smith
fe114fb56f
Remove some more TestMain references.
Rework how Logger/ErrorManager interact so they can be half
mocked out (or, at least, used in a thread-safe-ish manner).
Change-Id: Ia5899640bdc101793819dab88c3fe6038a759abb
Reviewed-on: http://gerrit.dmdirc.com/2695
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
771606c649
Minor changes to facilitate testing.
Remove some 'final' modifiers for CommandParser methods.
Modify the Logger class so it only calls into the ErrorManager if
it actually needs it. The ErrorManager constructor requires an
IdentityManager which causes any test that executes a Logger.assert
line to require most of the client is constructed, regardless of
what the test is actually doing.
Change-Id: I63879db5c13517cfa60941fce73a2ba01e63f1cd
Reviewed-on: http://gerrit.dmdirc.com/2681
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 years ago
Shane Mc Cormack
792f3cc7dc
Make main less static.
Don't ask Main for the config directory.
Remove getMain() from Main.
Everything that needs a main now either gets given it, or asks something else.
Unfortunately, a few more dependencies on the static IdentityManager.getIdentityManager()
were introduced, but they can be tackled separately.
Fix unit tests for the above.
Change-Id: I9e42ac7f74453b739209a681d0a31f50c1be2a04
Depends-On: Ib5a9fdea5a2e25d5471d0b849f4f65fa0286d1f8
Reviewed-on: http://gerrit.dmdirc.com/2520
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 years ago
Greg Holmes
d3e301edbd
Fix FED hanging the EDT.
Change-Id: Ie76300883a5303cf40ff1fdd9ba3d93fc0e1c69d
Fixes-Issue: CLIENT-363
Reviewed-on: http://gerrit.dmdirc.com/2469
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 years ago
Chris Smith
15a5c1bbd1
Lombok, tidying
Change-Id: Ia4ec6304f598296e5e4ba4a5ad781b98eb2962a0
Reviewed-on: http://gerrit.dmdirc.com/2304
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
d4507e0b3a
Deprecation fixes
Sprinkle some annotations over the CommandManager
More fiddling with NB7.1 settings
Change-Id: I2a0b751798249d4cc3e527f6d2e5525d1936f0e1
Reviewed-on: http://gerrit.dmdirc.com/2278
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
a7a57eca29
Fix fallout from util changes
Change-Id: I0bfd2dc61096dd9670b269463c27d9b00fd9a917
Depends-On: I6d0665e57f6e0e2ff2fb6a18742acb99010e79bf
Depends-On: Ia8de3c1a5fdc1eb9cfaa8b29a32bb3efb6d8ce6f
Reviewed-on: http://gerrit.dmdirc.com/2242
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
4a0789f5b4
Fix plugin mta data URIs to work under windows
Change-Id: Ia09cde20a8899e07e20ffab79f4cd64a1d30dec6
Reviewed-on: http://gerrit.dmdirc.com/2068
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Chris Smith
2c840ab707
Remove unused ctors
Make unused ctors a PMD error
Change-Id: I10f7350e9435179e1c6f89e01233778ddffa648a
Reviewed-on: http://gerrit.dmdirc.com/2029
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Chris Smith
77b570a30f
Style fixes
Change-Id: If63e94dcf0aec9e9aa99e84f9962879fca46051f
Reviewed-on: http://gerrit.dmdirc.com/1931
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
f2018c541b
Remove trailing spaces
Change-Id: I9f382ab3d7b078fb759cbaca618bec5d21b8b5d9
Reviewed-on: http://gerrit.dmdirc.com/1919
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
68b0ed1d1f
Style fixes
Change-Id: I94a245fd1824ba6a5c8c32e66a45a0c9be806aa1
Reviewed-on: http://gerrit.dmdirc.com/1750
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Gregory Holmes
ebc296b9e9
Add a quit option to the fatal error dialog.
Fixes issue CLIENT-110
Change-Id: I6baac8a3b5f2ca68fc2e513d6128de9e75418c40
Reviewed-on: http://gerrit.dmdirc.com/1616
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 years ago
Chris Smith
8e2493dd6d
Change ErrorLevel.getIcon to use strings not swing Icons
Fixes CORE-9
Change-Id: Id43521640e66ee80962d3b2432f652c47b6223c1
Depends-On: Iee0aa1d166b301f56a92f0bc1d3b38c0ed1000dc
Reviewed-on: http://gerrit.dmdirc.com/1521
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
829e2addb0
Random style fixes
Change-Id: Ieb68e5058481d7fb734af51bfa886663eb00bd3d
Reviewed-on: http://gerrit.dmdirc.com/1349
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
5d584f2068
Style fixes
Change-Id: Idffa6c2559bcc2112c9657b15349aa80579ab83a
Reviewed-on: http://gerrit.dmdirc.com/1336
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
6e42762d67
Style fixes
Change-Id: Icfab1de147645d80a999c3678daf268e7e115066
Reviewed-on: http://gerrit.dmdirc.com/1331
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
73a2fb41aa
More style changes
Change-Id: Idaf5f21e20e9775cbb104c30bb2e51e5b947d0b5
Reviewed-on: http://gerrit.dmdirc.com/823
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
77569b8666
More style improvements
Don't pretend core objects are serializable when they're blatently not
Fix possible file handle leak in Identity
Change-Id: I5e0d167d64a9ab8cd708e63d6716e30ca33163f6
Reviewed-on: http://gerrit.dmdirc.com/820
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
e5763b824c
Style improvements
Change-Id: I50c85748a8d1535b109307e22376f21a5f754cea
Reviewed-on: http://gerrit.dmdirc.com/819
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Gregory Holmes
0ab0aae739
Fixes issue 3571: java.lang.NoSuchFieldError: val$localTarget
Its an error thats not our fault, ignore.
Change-Id: Idc273e7566a5ffd9160572564026d5f97dbb30dd
Reviewed-on: http://gerrit.dmdirc.com/575
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 years ago
Gregory Holmes
c7941c5f72
Make ErrorManager.getTrace static and public so I can remove stupid reflection in twitter plugin
Change-Id: I8280a5e7334572f68c9aaae1ad828b7df07e41fa
Reviewed-on: http://gerrit.dmdirc.com/483
Tested-by: Gregory Holmes <greboid@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <devs-public@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Gregory Holmes
8c4d2e10c5
Fixes issue 3313: All fatal errors should be reportable
Change-Id: I5fecc8439a5059290fcc979437edbe6410ed2735
Reviewed-on: http://gerrit.dmdirc.com/360
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 years ago
Chris Smith
dc94a905e3
Restart client after fatal errors
Fixes issue 3328
Change-Id: I469ecf528ea9028d51cc6d981f7c98c4b8bb551a
Reviewed-on: http://gerrit.dmdirc.com/291
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Shane Mc Cormack
b691b14491
Update the copyright date on all files.
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
2b6878e3ce
Error manager no longer submits duplicates again
Fixes issue 3000
Change-Id: I6f7e194bc540d59ae9a06f0331e218ce26ecc4a0
Reviewed-on: http://gerrit.dmdirc.com/68
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Gregory Holmes
1709ba6b5e
fixes issue 2983
15 years ago
Chris Smith
7837c387c5
I don't care about OutOfMemoryErrors!
15 years ago
Gregory Holmes
98acb4d81e
fixes issue 2752
15 years ago
Gregory Holmes
ed054e293f
Adds standardquestiondialog; moves dialogs to dialogs package; fixes issue 2755
15 years ago
Gregory Holmes
45f77e8e9e
tweak error occurrences format
15 years ago
Gregory Holmes
0c8b8cb133
fixes issue 2720
15 years ago
Gregory Holmes
2c7ca7b4d9
fixes issue 2676
15 years ago
Gregory Holmes
0b9a0d251d
fixes issue 2719
15 years ago
Chris Smith
e4cd22244c
All methods marked @since 0.6.3 are now @since 0.6.3m1
15 years ago
Gregory Holmes
8814cce18f
crazy reformatting
15 years ago
Gregory Holmes
5ca03a0026
Attempt to fix the bugs again
15 years ago
Gregory Holmes
195bdfe02d
daemons ftw
15 years ago
Gregory Holmes
17b6a65d06
Attempt to fix the bugs again
15 years ago
Chris Smith
dfbcdc26e4
Improve the waiting behaviour of ErrorManager
Issue 2298
15 years ago
Chris Smith
fb6ea18c4c
Add queued error reporting status
Program error now notifies when its status changes
Error manager now holds off exiting until fatal errors are submitted
Issue 2298
15 years ago
Chris Smith
79d2b27e87
Remove old version/update channel things
Fixes issue 1721
15 years ago
Chris Smith
4d6630d9df
Fix errors when identity manager loads defaults in the wrong order
Output a valid identity during the build process
IdentityManager now loads the version information
15 years ago
Chris Smith
62f0e77ab9
IllegalAccessError is now non-reportable
15 years ago
Chris Smith
c15bd421f9
Error manager refactoring
15 years ago
Chris Smith
0265547e01
Add abstract method error to the list of non-reportable errors
15 years ago