Chris Smith
169418d64f
Fix some unused code issues.
7 vuotta sitten
Shane Mc Cormack
85c7e7f34b
Update copyright for 2017
7 vuotta sitten
Chris Smith
192550f434
Move event bus code to a bundle.
Issue #750
7 vuotta sitten
Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 vuotta sitten
Chris Smith
d15111ddd3
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 vuotta sitten
Chris Smith
767a156a87
Automatic test tidying.
8 vuotta sitten
Chris Smith
0fa22d3ad3
Replace old date APIs in error reporting code.
8 vuotta sitten
Greg Holmes
3cb60bf8f5
Remove trace + details from ProgramError.
9 vuotta sitten
Greg Holmes
138249675b
Fix unit test.
9 vuotta sitten
Greg Holmes
c9db75f1cc
Tidy up ProgramError ctor.
9 vuotta sitten
Greg Holmes
42d9214a9a
Add an app error field to ProgramError.
9 vuotta sitten
Greg Holmes
567b25dcb1
Tidy up a little in logger.
9 vuotta sitten
Greg Holmes
5fd1b9c24a
Raise events for error status changes.
9 vuotta sitten
Greg Holmes
3df1aa62ca
Send error from ErrorReportingRunnable not ProgramError.
9 vuotta sitten
Greg Holmes
3cf84adc0a
Move some logic out of ProgramError.
9 vuotta sitten
Greg Holmes
add5551cd3
Remove ID from ProgramError.
9 vuotta sitten
Shane Mc Cormack
9f3fcd1b59
2015!
9 vuotta sitten
Greg Holmes
d910c08950
Start desingletoning ErrorManager.
9 vuotta sitten
Greg Holmes
85c2ae537c
Stop ClientInfo being static.
9 vuotta sitten
Chris Smith
6ae693893d
Enable PMD in gradle + apply fixes.
Change-Id: I3665cac8af833da793ca418953d934cc3a333459
Depends-On: I348b37a14097439f8a56b0a671794410e46201ca
Depends-On: Ifc4aa601de14ca2526646f499f60329ed7c5935e
Reviewed-on: http://gerrit.dmdirc.com/3939
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 vuotta sitten
Chris Smith
3fecbb0160
Remove ErrorFixedStatus
Change-Id: I84546c0da3ff10421178a7a39b92471dc06ee980
Depends-On: Ib80c1852cb5e9a627e793ff468723e932dda500d
Reviewed-on: http://gerrit.dmdirc.com/3331
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Chris Smith
a58401ddda
Send error reports to Sentry.
Change-Id: I269f3a266cee260695b941dce46f74900292938d
Reviewed-on: http://gerrit.dmdirc.com/3118
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
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 vuotta sitten
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 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Chris Smith
41304ccecb
More deprecation fixes
Change-Id: If418fcbcafa64857e6a656bee08fef7399b6a2e3
Reviewed-on: http://gerrit.dmdirc.com/2280
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Chris Smith
1338fd816a
Fix broken ProgramError unit test
Change-Id: If59ba909c30b5938b23d9928329ac606706c8937
Reviewed-on: http://gerrit.dmdirc.com/1524
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 vuotta sitten
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 vuotta sitten
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 vuotta sitten
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 vuotta sitten
Chris Smith
355816bc63
Unit tests
git-svn-id: http://svn.dmdirc.com/trunk@3350 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten
Chris Smith
1d5630f8d7
My favourite hobby — unit tests!
git-svn-id: http://svn.dmdirc.com/trunk@3278 00569f92 -eb28-0410-84fd-f71c24880f
16 vuotta sitten