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.
vor 8 Jahren
Chris Smith
18cb00a6bc
Assorted tidying.
vor 8 Jahren
Shane Mc Cormack
9f3fcd1b59
2015!
vor 9 Jahren
Chris Smith
8176ecd3c1
Typo fixes.
Change-Id: I402d52e9bd09192fee54584e24f0eff33fd581e4
Depends-On: I2028d8c1ddd14b276f373b9400265b25f0e5e939
Reviewed-on: http://gerrit.dmdirc.com/3697
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 10 Jahren
Chris Smith
f538c53f86
Fully configure the NB formatter and let it loose.
Change-Id: I7e8052839daa79fa113b89fd0b8c1c892a605b73
Reviewed-on: http://gerrit.dmdirc.com/3122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 10 Jahren
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 >
vor 10 Jahren
Chris Smith
7a1c4aa299
Remove Logger.assertTrue.
Use Guava's Preconditions instead, which throw appropriate exceptions
rather than AssertionErrors (whose idea was that?!)
Also fix weirdness in CommandArguments where start was allowed to be
1 greater than end when getting words.
Change-Id: Icce38e36da6507f645fb8b3b872dfe2c60c43ea7
Reviewed-on: http://gerrit.dmdirc.com/2961
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 10 Jahren
Chris Smith
974c61ee1b
Remove deprecated constructors.
Change-Id: Ied99773656e63d8365b9c026e5a588b5bf6bc1a6
Depends-On: I50ebe298668913a1fdfcbffacc24e20bd45a3bf2
Reviewed-on: http://gerrit.dmdirc.com/2916
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 10 Jahren
Chris Smith
0fc24e56bc
Minor deprecations/tidying.
Change-Id: I219e6d22a5926f61145ccff63af5c489c587aa1d
Reviewed-on: http://gerrit.dmdirc.com/2845
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 10 Jahren
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
vor 11 Jahren
Greg Holmes
ab45825e88
De-singleton + unit test
Change-Id: Iadcf92d4390034828d005a9c9e92d9a8ba189c99
Depends-On: I17790a0e71a6c004a088a6eb51332293b23062a4
Reviewed-on: http://gerrit.dmdirc.com/2455
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 12 Jahren
Chris Smith
a9631ebf02
Commands clean up
Reduce dependency on CommandManager singleton
Use Lombok and delete loads of boilerplate code
Change-Id: Id178d20df1838eef99abdc0c3ca12b6dbd2a062f
Reviewed-on: http://gerrit.dmdirc.com/2310
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 12 Jahren
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
vor 12 Jahren
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 >
vor 13 Jahren
Chris Smith
949770857a
Make CommandManager a singleton
CLIENT-84
Change-Id: I48182a9cd7c8f49612025ba208ae90d3bb19ee2b
Depends-On: Ib62d32dbfdadaf38930ceacf667ff533de047599
Reviewed-on: http://gerrit.dmdirc.com/1996
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 13 Jahren
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 >
vor 13 Jahren
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 >
vor 13 Jahren
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 >
vor 13 Jahren
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 >
vor 13 Jahren
Chris Smith
da78032175
Add command flag utility classes and make /echo and /set use them.
Fixes CLIENT-119
Fixes CLIENT-120
Change-Id: I2e7ad2c3b8f0db591031fc281a24aa6627331a6e
Reviewed-on: http://gerrit.dmdirc.com/1680
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
vor 13 Jahren
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 >
vor 14 Jahren
Chris Smith
951640157e
Fix commands losing their trailing whitespace
Fixes issue 3901
Change-Id: Ic2293c067d7fa673dec9ce4a32127f87fe52c35f
Reviewed-on: http://gerrit.dmdirc.com/1040
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
vor 14 Jahren
Chris Smith
154d3c0a59
Fix weird behaviour in CommandArguments
Change-Id: I82691ba13fe290804589ca84fde855194b5b75b8
Reviewed-on: http://gerrit.dmdirc.com/926
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
vor 14 Jahren
Chris Smith
72cb83cb31
Fix a fencepost error in CommandArguments
Change-Id: I8030f2e887288e9409cafe027606c67ca5d8e92d
Reviewed-on: http://gerrit.dmdirc.com/925
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
vor 14 Jahren
Chris Smith
a9cc3716b0
Use CommandArguments in intelligent tab completion code.
This enables completion on silenced commands (/.)
Fixes issue 2729
Change-Id: Idf0cf6c70fb40b33d1b965973fd37e34ecce722e
Reviewed-on: http://gerrit.dmdirc.com/210
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
vor 14 Jahren
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 >
vor 14 Jahren
Chris Smith
bf590d89f8
External command fixes
CommandArguments.getWordsAsString now sanity checks its arguments
External /mode command now uses correct offset
All external commands are now passed the correct arguments
Fixes issue 3125
Change-Id: Ib546c03443ac51a1bb6b5d3d4b6a2204e04a8be1
Reviewed-on: http://gerrit.dmdirc.com/58
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
vor 14 Jahren
Chris Smith
e4cd22244c
All methods marked @since 0.6.3 are now @since 0.6.3m1
vor 15 Jahren
Chris Smith
a48c5c00ee
Update all plugin commands to use the new arguments
vor 15 Jahren
Chris Smith
c33fd01752
Initial work on moving to CommandArguments
vor 15 Jahren
Chris Smith
e8594a14e5
Initial implementation of CommandArguments class
vor 15 Jahren
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
vor 15 Jahren
Shane Mc Cormack
657b5485d1
Rename parser, again. Issue 1903
vor 15 Jahren
Chris Smith
dc864cfa38
Removed shane's silly $id$ stuff from everywhere
vor 15 Jahren
Chris Smith
61a272e7cf
Parser unit tests.
Removed pointless SVN info methods from parser classes
git-svn-id: http://svn.dmdirc.com/trunk@3295 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Shane Mc Cormack
882e9e735d
Updated copyright header on all files.
2006-2007 -> 2006-2008
git-svn-id: http://svn.dmdirc.com/trunk@3151 00569f92 -eb28-0410-84fd-f71c24880f
vor 16 Jahren
Shane Mc Cormack
8c4860040b
Renamed: CallbackNotFound -> CallbackNotFoundException
Renamed: ProcessorNotFound -> ProcessorNotFoundException
pre005 isValidChannelName() now checks if the first character is either #, &, !, or + rather than just returning true regardless
ProcessMessage now allows for messages without a message param (eg ":foo!bar@baz privmsg #qux" is treated as ":foo!bar@baz privmsg #qux :", although I do believe this should enver happen)
ProcessMessage now also checks to see if it has accidentally recieved a NOTICE AUTH message, and forwards it to the correct processor if it has (Checks: Source is server, tokens 1+2 are "NOTICE AUTH")
"Got Join for channel I am not on" message now gives the parsers current host, not the user who joined (That can be seen in "lastline")
General Installer Changes
- Installer is now a thread that StepInstall calls to make the installing information appear as it happens, not all at once
- Shortcuts are now handled using an enum, and "Installers" can now specify which shortcut types apply to them.
Windows Installer Changes:
- Now copes with vista's changes to file locations
- Should in theory work on windows 95 and up (Altho java 6 only works on NT-Based versions of windows from 2000 and up so this is untested)
Linux Installer Changes:
- .desktop files created by root now call themselves DMDirc (Global)
- installing as root will not prompt to create a desktop shortcut
git-svn-id: http://svn.dmdirc.com/trunk@2022 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Chris Smith
69ff03a9b9
Parser style improvements
git-svn-id: http://svn.dmdirc.com/trunk@1968 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
6796704e6e
Updated copyright headers for Parser classes to include greboid.
git-svn-id: http://svn.dmdirc.com/trunk@1320 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
fcfcd13f81
Repackaged: Parser
git-svn-id: http://svn.dmdirc.com/trunk@1296 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
f7b6081fcf
Moved Files from uk/org/ownage/ to com/
Will sort imports etc next
git-svn-id: http://svn.dmdirc.com/trunk@1293 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
74eaa92026
Removed excess spaces in javadoc headers
getBoolChaneModes006() uses a better method than a loop to figure out where to put modes
git-svn-id: http://svn.dmdirc.com/trunk@741 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
9212a9e116
Made sure all parser realted classes have a getSvnInfo() method.
git-svn-id: http://svn.dmdirc.com/trunk@535 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
72448e6922
Minor javadoc/style corrections.
git-svn-id: http://svn.dmdirc.com/trunk@495 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
259bb94080
Property Fixes
git-svn-id: http://svn.dmdirc.com/trunk@482 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
595d674600
Refactored parser.
Now has separate classes for different types of incomming message
git-svn-id: http://svn.dmdirc.com/trunk@480 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Chris Smith
3e2fbec965
Added serialVersionUID to all serializable classes
git-svn-id: http://svn.dmdirc.com/trunk@298 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
2b0f32c1d7
svn:keywords Id
git-svn-id: http://svn.dmdirc.com/trunk@257 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
Shane Mc Cormack
763334adf2
Javadoc Corrections
git-svn-id: http://svn.dmdirc.com/trunk@255 00569f92 -eb28-0410-84fd-f71c24880f
vor 17 Jahren
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
vor 17 Jahren