Chris Smith
dd61b6cd8a
New actions substitutor.
Squashed commit of the following:
commit 81c3cb41fe
Author: Chris Smith <chris@dmdirc.com >
Date: Sun Feb 28 21:13:03 2010 +0000
Fix a couple of escaping edge cases
Change-Id: I8cd9c3493a932039b7bae704c522f79778946d55
commit cde2d943dc
Author: Chris Smith <chris@dmdirc.com >
Date: Thu Feb 25 05:51:38 2010 +0000
Working actions substitutor replacement
Fixes issue 3804
Change-Id: Id714c47d599815461826f403942bfe490ac587ff
commit f450ce592a
Author: Chris Smith <chris@dmdirc.com >
Date: Thu Feb 25 00:01:55 2010 +0000
Support for config and server substitutions
Change-Id: I0b10332f340212d05ac478d4025ee557d2e66351
commit 4d2357a28f
Author: Chris Smith <chris@dmdirc.com >
Date: Tue Feb 23 21:41:54 2010 +0000
Implement word and component substitutions
Change-Id: I120f50e6eec3dc968beff42d79c0171a5908155e
commit 0bb9fbb970
Author: Chris Smith <chris@dmdirc.com >
Date: Mon Jan 25 21:32:00 2010 +0000
Unit test for actions substitutor
Change-Id: I4d8b2084f7b78cf2b30f0409e1a7fdfe5a9ee5aa
Reviewed-on: http://gerrit.dmdirc.com/927
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Simon Mott
b667c29739
Add FileBrowser to PreferencesType enum
Related to issue 1279
Change-Id: I5feb28c328a5cd07f9e95647976cb5777ba047f4
Reviewed-on: http://gerrit.dmdirc.com/868
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Simon Mott
3e0eb4ccd6
getCurrentTopic now uses core storage for topics, this fixes on join topics not being added to the topic list
Fixes issue 3817
Change-Id: I048e14dde383515e55e6832070dadc1bd88fa1e4
Reviewed-on: http://gerrit.dmdirc.com/936
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Gregory Holmes
943cffb012
Dont try to load null streams as identities
Fises issue 3703
Change-Id: Ide3378913131062ddcb60dd6a0995b2383934990
Reviewed-on: http://gerrit.dmdirc.com/933
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Gregory Holmes
a88a52af5b
Catch LinkageError not NoClassDefError when loading plugin classes
Fixes issue 3747
Change-Id: I483f37b7742acbf8156cef8d70da8501e4282e28
Reviewed-on: http://gerrit.dmdirc.com/930
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
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 >
il y a 14 ans
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 >
il y a 14 ans
Gregory Holmes
5c2c7eb49e
Add an is on channel method to channel.
Issue 3811
Change-Id: I1660850b96b56fbb3d3a47441a504295d38ed1ec
Reviewed-on: http://gerrit.dmdirc.com/922
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Chris Smith
5dd54461a9
Add blank topics appropriately when rejoining
Fixes issue 3810
Change-Id: Ibf44992d80eee00c3a7f190949f4a55a3be93777
Reviewed-on: http://gerrit.dmdirc.com/919
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Chris Smith
255fa677e9
Handle some identity folder problems better.
If a file exists with the same name as a directory we need to create, try
to rename it, or provide the user with a decent error, instead of failing
an assertion.
Fixes issue 3697
Change-Id: Ia9dca5b1f1207ec3cb90d833b43b00f6b59b1d29
Reviewed-on: http://gerrit.dmdirc.com/915
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Chris Smith
984b36b234
Run some listeners in separate threads
Fixes issue 3745
Fixes issue 3758
Change-Id: Id611f5bca03f07c87f84c054d73cf1612221c0da
Reviewed-on: http://gerrit.dmdirc.com/884
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Chris Smith
779ad44fe8
Rewrite how window closing works
Fixes issue 3786
Depends-On: If107303392a13a2b0fdbb1238f4f95b19b985335
Change-Id: I21615028be7c8569877686e6a4644e765b8426ee
Reviewed-on: http://gerrit.dmdirc.com/894
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Chris Smith
11d69bfa4d
Fix typo in whois numeric formatter
Fixes issue 3735
Change-Id: Ib542a889d3e35cc2eb57b1f8d50429174bfb357c
Reviewed-on: http://gerrit.dmdirc.com/867
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Gregory Holmes
ae60dbd240
Fixes issue 3724: AED shows validation error on name when editing an existing action
Change-Id: I36585648b134f38def4c641ed1218da517221495
Reviewed-on: http://gerrit.dmdirc.com/846
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Chris Smith
82b788be0e
Deletion of actions should go through action groups
Change-Id: Ib609cd2d08550f02e71c1408f04a1b6d058f6d71
Reviewed-on: http://gerrit.dmdirc.com/831
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Chris Smith
1263596779
Javadoc fixage
Change-Id: I78e5f3f044950dc35ae347175938c0c783df9500
Reviewed-on: http://gerrit.dmdirc.com/824
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
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 >
il y a 14 ans
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 >
il y a 14 ans
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 >
il y a 14 ans
Chris Smith
c074493e7c
Remove some done todos
Change-Id: I9789484be344adaa831b25bde4619075b02f1814
Reviewed-on: http://gerrit.dmdirc.com/817
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Gregory Holmes
12cb25daa2
Required for http://gerrit.dmdirc.com/#change,813
Change-Id: I0a4a231790ec29f6a9e33f73e184d34afcda1db3
Reviewed-on: http://gerrit.dmdirc.com/815
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
109ae925a5
This might fix issue 0003529: Error processing action: null — plugins.PluginInfo.loadClass(PluginInfo.java:873)
(Also fixes issue 0003494 : Error processing action: null — plugins.PluginInfo.loadClass(PluginInfo.java:973))
Change-Id: I3232ccf19c57ed828a68e345019de0fe3f2b57dc
Reviewed-on: http://gerrit.dmdirc.com/800
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
aa043ca32a
This might fix issue 3411.
It might also fix the pluginmanager not always updating the metadata correctly.
Change-Id: I193f520f409337cc56e7032e7ea4a0e371e7473b
Reviewed-on: http://gerrit.dmdirc.com/802
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Chris Smith
74e95da488
Fix per-profile performs not working
Fixes issue 3713
Change-Id: Icf68bbeb47fa22cccacc9dffe3d4f843b8a8850a
Reviewed-on: http://gerrit.dmdirc.com/804
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Chris Smith
a7cc5c0d87
Fix deadlock when reconnecting
Fixes issue 3704
Change-Id: I10590167a97e86d3abb21addbf3880d7e2dc97ac
Reviewed-on: http://gerrit.dmdirc.com/789
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
17c0cdb996
Remove unneeded unloadIndetities();
unloadIdentities() when plugin loading fails.
Change-Id: If3395dcf2186bac0057137a646232bfc43f560ae
Reviewed-on: http://gerrit.dmdirc.com/791
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Gregory Holmes
bf1b2384fc
Catch FileNotFoundException and raise a nice error for the user
Fixes issue 3673
Change-Id: I662aa8aac0521190d5c17f6127dbdcfb1c642c48
Reviewed-on: http://gerrit.dmdirc.com/786
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Gregory Holmes
a66b318313
I *think* this fixes it, I can't think how to test the unloading...
Fixes issue 3660: Identities in plugins should only be loaded when the plugin is actually loaded rather than just known about
Change-Id: I912c849a9dc15e846dd11c97e7fa9dfe24c1a581
Reviewed-on: http://gerrit.dmdirc.com/784
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Gregory Holmes
86472a2b87
Fixes issue 3564: s/License/Licence/ where applicable in linux installer
Change-Id: I2f5169ebc3a58efa00e80c28be15b27d9ab6ed50
Reviewed-on: http://gerrit.dmdirc.com/782
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Chris Smith
a00f48954c
Auto-extract bundled plugins if newer
Fixes issue 3558
Change-Id: Ibe8ee29b8e61173971da13c0b6f71681e54b0283
Reviewed-on: http://gerrit.dmdirc.com/766
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Gregory Holmes
e3b838e17c
Sort the license list tree map
Change-Id: I9efb254d54c2f53a1cf127f95e3e817754cc713d
Reviewed-on: http://gerrit.dmdirc.com/765
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Chris Smith
384b726c30
Fiddle with some prefs descriptions
Add new comchan notification targets
Fixes issue 3691
Fixes issue 3694
Change-Id: I7114829934f57a83212f0f27c10d8bc99dd828d9
Reviewed-on: http://gerrit.dmdirc.com/755
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Simon Mott
f61bc94b20
Add UI Selection to Prefs->GUI
Fixes issue 1340
Change-Id: I11fc96aa780199eb42dd30dfe70b20107dada052
Reviewed-on: http://gerrit.dmdirc.com/754
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Chris Smith
5c3b562ea5
Styliser method to get string between unstyled indicies
Fixes issue 2199
Unit test for issue 2199
Change-Id: I270fa7265766536f578d5a06c2e3fc274b61e37c
Reviewed-on: http://gerrit.dmdirc.com/753
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Chris Smith
dca79bf057
Auto numeric formatting
Fixes issue 3678
Squashed commit of the following:
commit 896c815005
Author: Chris Smith <chris@dmdirc.com >
Date: Sat Jan 30 21:05:09 2010 +0000
Add whois numeric formatter
Change-Id: I474fe3778a9314212d69f6b0d4d95aec7ad3ecee
commit 11f13651ad
Author: Chris Smith <chris@dmdirc.com >
Date: Fri Oct 24 19:02:05 2008 +0100
No longer check for formatter.numeric_<ircd>_<xxx> settings
commit cc078694da
Author: Chris Smith <chris@dmdirc.com >
Date: Fri Oct 24 18:59:29 2008 +0100
Numerics with no applicable formatters can now be formatted by actions/plugins
Change-Id: I7c574c1f06f2d0bb77a4fe1ec855153f7e3d347e
Reviewed-on: http://gerrit.dmdirc.com/737
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Chris Smith
5a8238e4d8
Don't hold locks while calling identity listeners
Fixes deadlock when setting some options to their default values
Change-Id: Ibfb91261db177bc7cdcd8d9d594fecbed789b718
Reviewed-on: http://gerrit.dmdirc.com/732
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Chris Smith
a032a667eb
Move CipherUtils into config package
It's not a general purpose util, and will only be used by the config system.
Change-Id: I2d0ac5ea23d8b7d0fcda6e467ddcf4ac08bc520a
Reviewed-on: http://gerrit.dmdirc.com/731
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Chris Smith
0542faba35
Move URLHandler to ui.core.util
Change-Id: I42463f20214c269e4bed0f7a93f52dc80b83088c
Reviewed-on: http://gerrit.dmdirc.com/729
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Chris Smith
a1e0ae2c2c
Move downloader to util
Change-Id: I1711f7126babd7c438d6ce5f4b2b214a14eae32c
Reviewed-on: http://gerrit.dmdirc.com/728
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Chris Smith
5a683ed6a8
Don't use logger pointlessly in Downloader
Change-Id: I85a065510c32a2bfb1801c24f9d92e36ddbad176
Reviewed-on: http://gerrit.dmdirc.com/726
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
d6af8e30c9
Temp solution for issue 0003674: Ability to disable automatic CTCP responses.
Change-Id: Ic8fe293184c2d23acdb710fcaab44ecb9d8ce8c3
Reviewed-on: http://gerrit.dmdirc.com/724
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Chris Smith
e573364b7e
Don't try to load folders as identities
Fixes issue 3671
Change-Id: I76856a195e6e08dcd59c4849aac491725811c2df
Reviewed-on: http://gerrit.dmdirc.com/721
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Gregory Holmes
2635a6bec0
Fixes issue 3426: Javadoc installer ui sensibly
Change-Id: Ie0d2197f00b47f2ebebcb65f38d8b14a294b3fce
Reviewed-on: http://gerrit.dmdirc.com/720
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Chris Smith
bcb50254d7
Change non-regex uses of replaceAll to replace
Change-Id: I55762a3c25de36b1e3c435fccab4a4cc653c78ed
Reviewed-on: http://gerrit.dmdirc.com/703
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Chris Smith
94cc28e7c3
Quote replacements in URL handler
Fixes issue 3669
Change-Id: I8e62f8494c8e30cae8c615cbfc546c454aa0bd38
Reviewed-on: http://gerrit.dmdirc.com/702
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Gregory Holmes
a2f15926ce
Make not empty validator do a null check
Change-Id: Ic75627eee59724b171fe12ee92934e8b23fc79f7
Reviewed-on: http://gerrit.dmdirc.com/697
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
3d75793628
Renaming.
Change-Id: I5987c5a8bd67a39fce1b7863447a5d8bc3beae2b
Reviewed-on: http://gerrit.dmdirc.com/694
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Chris Smith
58b2e9113f
Move util classes into separate repo
Fixes issue 3655
Change-Id: I99875b54f746021430728ea35ba29ee423174d91
Reviewed-on: http://gerrit.dmdirc.com/685
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
a400c774f2
Identities support for plugins..
Fixes issue 0003643 : Plugins should be able to load custom identities easily
Change-Id: If874b57a3b8d1b6e915efc26997cf02a67fcbc88
Reviewed-on: http://gerrit.dmdirc.com/688
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Chris Smith
fc5d94b7f3
Core support for socket timeout exceptions
Also wrap unhandled exceptions appropriately so errors have the right stacktrace
Fixes issue 3617
Change-Id: I3b8b36a4915aa3fe28099ae4546210d41fd63514
Reviewed-on: http://gerrit.dmdirc.com/672
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans