208 Commits

Author SHA1 Message Date
Shoghi Cervantes
962c28aaca
BatchPacket, compress any packet depending on the size, really fast threaded chunk sending 2015-03-26 00:06:46 +01:00
Shoghi Cervantes
11c13cd666
Implemented Threaded ClassLoader, improves class loading while on different threads (no need to synchronize states) 2015-03-14 15:22:13 +01:00
Shoghi Cervantes
24c6cca664
Updated RakLib, fixed help message not showing command, added documentation to Plugin->getResource() 2015-01-14 17:23:16 +01:00
Shoghi Cervantes
37fd0372cc
Added GarbageCollectionTask, workaround for weird PHP behaviour when using --disable-ansi 2015-01-06 19:45:41 +01:00
Shoghi Cervantes
9c28f0a5be
Decrease async worker task amount after crashed task 2015-01-05 02:41:14 +01:00
Shoghi Cervantes
5bf5014b60
Added Async Task crash warning 2015-01-05 00:16:47 +01:00
Shoghi Cervantes
074c8b876d
Cleaned up code 2015-01-03 16:07:49 +01:00
Shoghi Cervantes
8e3667c95b
Fixed messages and default settings 2015-01-03 02:56:46 +01:00
Shoghi Cervantes
692045d714
Improved threading and resource usage, new defaults 2015-01-02 18:46:39 +01:00
Shoghi Cervantes
747f7685e7 Fix formatting issues due to bad IDE settings 2014-12-07 16:30:04 +01:00
PEMapModder
941961f5ef Added internal use warning for TaskHandler::cancel()
It is confusing for some developers to whether to use this function or `ServerScheduler::cancelTask($taskId)`. It is better to add warning in the documentation.
2014-12-01 16:25:37 +08:00
Shoghi Cervantes
4a90ac270f Improved exception handling and debugging 2014-11-22 13:52:36 +01:00
Shoghi Cervantes
66acb5cdd7 Possible fix for crashing server not stopping 2014-10-31 23:10:12 +01:00
Shoghi Cervantes
8c4faa8622 Added extra Exceptions 2014-10-28 21:07:12 +01:00
Shoghi Cervantes
8637b7f5a3 Fixed Tasks deleting their Timings reports 2014-10-16 12:49:26 +02:00
Shoghi Cervantes
9b85abd75e Micro-optimizations 2014-10-15 10:44:01 +02:00
Shoghi Cervantes
ebb844fa52 Removed unused code, fixed undefined variables 2014-10-11 22:22:51 +02:00
Shoghi Cervantes
7f85e37540 Worked on scheduler 2014-10-11 16:36:38 +02:00
Shoghi Cervantes
baf06dc363 Revert "Use Collectable class on AsyncTask, removed task collection workaround on ServerScheduler"
This reverts commit 0dba14074a634e82539735c3be88c6ae31b0be05.
2014-10-11 00:03:46 +02:00
Shoghi Cervantes
0dba14074a Use Collectable class on AsyncTask, removed task collection workaround on ServerScheduler 2014-10-10 20:53:28 +02:00
Shoghi Cervantes
3e1ea23036 Fixed CallbackTask name 2014-09-19 09:46:38 +02:00
Shoghi Cervantes
d312d2a143 Possible fix for #2046, removed embedded class names 2014-09-19 09:44:58 +02:00
Shoghi Cervantes
f4ae58dda2 Removed pthreads workarounds 2014-09-10 15:11:56 +02:00
Shoghi Cervantes
dea4513c34 Possible fix for #2041 2014-09-03 11:55:49 +02:00
Shoghi Cervantes
11f684d803 Improved CallbackTask timings data 2014-09-01 12:44:52 +02:00
Shoghi Cervantes
f4b92bcdfc Fixed #1980 2014-08-27 11:41:00 +02:00
Shoghi Cervantes
bda597a71e Moved spl to PocketMine-SPL 2014-08-25 20:54:53 +02:00
Shoghi Cervantes
db7222976e Code cleanup 2014-08-21 17:26:41 +02:00
Shoghi Cervantes
f60e2860e8 Release strong weak references on close, closes #1883 2014-08-15 13:41:13 +02:00
Shoghi Cervantes
fee7f5060b Made AsyncTask::onCompletion() implementation optional 2014-08-10 18:15:06 +02:00
Shoghi Cervantes
77799d8f3d Fixed AsyncWorker includes 2014-08-08 18:06:07 +02:00
Shoghi Cervantes
eff454d103 Fixed AsyncWorker not getting the proper path and not using the correct class 2014-08-08 11:51:36 +02:00
Shoghi Cervantes
51120fdd4f Added ThreadManager, removed PHP self-kill 2014-08-08 11:36:55 +02:00
Shoghi Cervantes
e97139919a Added new exception when a plugin creates an orphaned PluginTask 2014-07-28 20:28:50 +02:00
Shoghi Cervantes
b8802edd6d Only allow one thread per property, fixes #1668 2014-07-17 21:22:48 +02:00
Shoghi Cervantes
6c442551f7 Fixed client crashing (temp.), fixed clients not spawning. (Fixes #1640 #1636 #1590 #1573) 2014-07-14 02:19:14 +02:00
Shoghi Cervantes
a7944502cd Added small things 2014-07-12 19:27:51 +02:00
Shoghi Cervantes
9bdd294a66 Implemented global, tasks timings 2014-07-12 14:09:29 +02:00
Shoghi Cervantes
f2fa13119a Added upload/download speed on title bar, referenced ChunkRequestTask 2014-07-11 02:23:40 +02:00
Shoghi Cervantes
981796fd4c Fixed #1583 not repeated Tasks getting repeated 2014-07-09 20:07:35 +02:00
Shoghi Cervantes
637d9da5a6 Fixed worker pool AsyncTask storage 2014-07-05 22:02:14 +02:00
Shoghi Cervantes
22552cdd72 Improved chunk sending, moved chunk encoding and compression to another thread 2014-07-05 20:41:44 +02:00
Shoghi Cervantes
8b2440ff96 Fixed ServerScheduler::addTask() period 2014-07-03 19:35:59 +02:00
Shoghi Cervantes
9877271d70 Fixed kick messages 2014-06-25 20:50:16 +02:00
Shoghi Cervantes
873e35f416 Fixed SendUsageTask 2014-06-25 13:06:44 +02:00
Shoghi Cervantes
80aebf2932 Added AsyncTask::onCompletion() 2014-06-25 13:01:39 +02:00
Shoghi Cervantes
bf49cafeae Added settings.async-workers to tune the amount of AsyncTask workers 2014-06-22 12:55:08 +02:00
Shoghi Cervantes
7f795bc041 Fixed #1501 executing AsyncTasks blocks other threads 2014-06-22 12:50:24 +02:00
Shoghi Cervantes
266b78aa31 Fixed warning on TickScheduler thread 2014-06-16 23:20:21 +02:00
Shoghi Cervantes
e6224be46f Faster generation, ticks catch up when slower 2014-06-15 16:54:28 +02:00