Commit Graph

1750 Commits

Author SHA1 Message Date
Dabo Ross
3e8693793c Add multiple listeners to EventPriorityTest 2013-09-09 14:27:23 +10:00
Dabo Ross
bb47aba682 Add UnregisteringListenerTest 2013-09-09 14:27:23 +10:00
Dabo Ross
d0e5ee4e09 Don't try to bake handlers when there are no more handlers. Remove them instead! 2013-09-09 14:27:23 +10:00
Dabo Ross
07e330b005 Create test for event priorities 2013-09-09 14:27:23 +10:00
Dabo Ross
024288e587 Added a Map<Class<?>, EventHandlerMethod[]> and implemented using it. I believe this should have a positive performance effect. 2013-09-09 14:27:23 +10:00
Dabo Ross
53a6bb1dee Added EventHandlerMethod wrapper for Listener and Method 2013-09-09 14:27:23 +10:00
Dabo Ross
0f06b2c4e0 Implement usage of EventPriority in EventBus 2013-09-09 14:27:23 +10:00
Dabo Ross
d3c1acce83 Add EventPriority method to EventHandler 2013-09-09 14:27:23 +10:00
Dabo Ross
eaea090d37 Add EventPriority 2013-09-09 14:27:22 +10:00
md_5
7384e797fc Bump date 2013-09-08 11:49:27 +10:00
md_5
d4d93ddbb9 Bump to Netty 4.0.9 2013-09-08 08:45:37 +10:00
md_5
ccdf2a89d8 Close #518 - use csv method for perms command 2013-09-07 12:22:43 +10:00
md_5
89edb00c05 Properly cancel tasks! 2013-09-05 19:52:41 +10:00
md_5
00a0277a13 Just call our own logger, screw jdk logger parenting 2013-09-03 11:36:00 +10:00
md_5
68f11e46f7 Depend updates. 2013-08-27 12:30:00 +10:00
Ammar Askar
c352e854ee Catch exceptions when disabling plugins 2013-08-25 10:27:25 +10:00
md_5
d8c92cd311 Add ConnectOther channel for moving other players from a plugin 2013-08-25 10:23:17 +10:00
md_5
99f361ca77 Instead of storing packets about to be passed on as a byte array, store them as a Netty buffer, which is likely to be pooled, direct and manually memory managed leading to increased performance and less GC strain. In order to ensure no resources are leaked, we free them at the end of each handle cycle if they have not been passed to a channel for writing. In initial profiles this now causes encryption to be one of the most intensive parts of BungeeCord, however in depth profiling snapshots may provide further routes for optimization. 2013-08-20 19:29:43 +10:00
md_5
738ed99d54 Code format. 2013-08-20 19:28:09 +10:00
md_5
ad0da59267 Really need to automatically do this. Add a few weeks to expire time 2013-08-20 18:50:52 +10:00
md_5
1dcc8d6a4b Close #572 - kick event message 2013-08-20 11:18:51 +10:00
md_5
0840a77153 Dem dates :( 2013-08-15 07:44:33 +10:00
md_5
61a93a54a9 ammar2 missed a spot 2013-08-14 22:14:32 +10:00
md_5
da0281508e Oi! Get back inside of that if statement. NOW! 2013-08-13 18:53:16 +10:00
Ammar Askar
51e92de2dd Only save to reconnectHandler if we have a listener that isn't forcing to the default server 2013-08-13 18:50:19 +10:00
md_5
f948acd634 Don't loop registering of listeners 2013-08-12 20:31:51 +10:00
md_5
773ce089c1 Fix http client 2013-08-10 07:30:41 +10:00
md_5
a07eba7965 Netty 4.0.7.Final - fixes memory leak 2013-08-09 19:50:48 +10:00
md_5
b68b6a76c7 Recover from broken yaml 2013-08-09 17:23:16 +10:00
md_5
332033bb02 Disable resource leak detector for ~15% cpu reduction 2013-08-09 16:58:14 +10:00
md_5
172b8bc75b Update to Netty 4.0.6-Final 2013-08-09 16:56:09 +10:00
md_5
db5a147491 Revert changes to SeverConnectedEvent 2013-08-06 11:14:54 +10:00
md_5
f083e27649 More translations! 2013-08-05 17:29:47 +10:00
md_5
b64a7be19b Bump date to the 9th 2013-08-04 21:34:56 +10:00
md_5
c4d60a8fa9 Hold player for ServerSwitchEvent - see #539 2013-08-04 21:28:10 +10:00
md_5
f07cfe0cf7 Make the ServerConnectedEvent async to allow stalling it. Closes #538 by @BjoernAkAManf. 2013-08-04 20:58:17 +10:00
md_5
4463b0c1b2 Use Java 7 API to make classloader thread safe. Closes #516 2013-08-04 20:23:31 +10:00
mrapple
ee8f33c196 Add State to ServerKickEvent 2013-08-04 18:57:13 +10:00
md_5
14ac2dd308 Allow setting whether to bind to the local address. 2013-08-04 18:56:48 +10:00
md_5
fb94612315 Fix throttle to 1) Work, 2) Not throttle outbound connections 2013-08-02 19:31:46 +10:00
md_5
4c96880580 Lets just silence java.util.NoSuchElementException: decrypt - PEOPLE DON'T UNDERSTAND ITS NOT AN ERROR. 2013-08-02 19:11:16 +10:00
md_5
4c4cdd51a1 Downgrade to Netty CR9 2013-08-02 07:32:42 +10:00
md_5
1f38152530 [URGENT] Add connection throttle. 2013-08-01 13:37:32 +10:00
md_5
911f08d52c Disable packet grouping in an attempt to increase reliability. 2013-07-31 20:18:54 +10:00
md_5
8f961c9d4e Put colours in default motd to try and force quoting in the dumped yaml 2013-07-27 12:12:12 +10:00
md_5
8a5d8a57f7 Don't infinite loop on tasks with no period 2013-07-24 17:38:46 +10:00
md_5
c54553d0f9 How kind of @lazertester to test the new scheduler! 2013-07-24 17:32:08 +10:00
md_5
600a1b4ff5 Update expire date 2013-07-24 17:02:37 +10:00
md_5
09e592295f Update to Netty 4.0.4-Final 2013-07-24 15:58:02 +10:00
md_5
fa0ee02beb Update Netty - if you guys could verify the leak has been fixed, that would be great, #523 2013-07-22 19:40:14 +10:00