Commit Graph

28 Commits

Author SHA1 Message Date
Abhinav Sarkar 2f6f968bc4 Added separate event processing loop 2014-05-21 00:06:37 +05:30
Abhinav Sarkar a3e4b145ec Some refactoring and reformatting 2014-05-20 02:40:08 +05:30
Abhinav Sarkar 8659c5f755 Added support for new messages and commands
1. Added support for pong, nick in use and names messages
2. Added support for ping, quit and names commands
3. Refactored message logger
4. Other minor changes
2014-05-20 00:05:06 +05:30
Abhinav Sarkar 8a83053dee Added better error handling 2014-05-15 12:02:31 +05:30
Abhinav Sarkar e054e51cf8 Added message command for inter handler messaging 2014-05-13 03:21:41 +05:30
Abhinav Sarkar fea56c17bf Moved receiving and sending messages to their own threads 2014-05-13 03:02:52 +05:30
Abhinav Sarkar 9e322dc3e1 Fixed EOF while reading from socket 2014-05-13 00:00:33 +05:30
Abhinav Sarkar 34bac20fa5 Hid message handler states from client. Much cleaner code. 2014-05-12 02:29:26 +05:30
Abhinav Sarkar ff4030d7eb Moved message logger to its own module 2014-05-11 22:41:10 +05:30
Abhinav Sarkar d80bba0948 Added action message support. Minor fixes 2014-05-11 22:34:35 +05:30
Abhinav Sarkar 3ef1e2e46e Added idle time notification to message handlers, automatic log rotation 2014-05-11 21:44:55 +05:30
Abhinav Sarkar d952869ba2 Added proper signal handling support 2014-05-11 19:08:43 +05:30
Abhinav Sarkar 8cf2872432 Fixed the state handling in message handlers 2014-05-11 16:29:22 +05:30
Abhinav Sarkar f1f80d2446 Added more message logging 2014-05-11 14:34:05 +05:30
Abhinav Sarkar 74be6dd162 Changed msg handler design to make them stateful, added core IRC msg handlers 2014-05-11 14:01:09 +05:30
Abhinav Sarkar 964d2fbb35 Moved to classy-prelude 2014-05-10 21:45:16 +05:30
Abhinav Sarkar cfc796564a Moved to basic-prelude, sanitized imports 2014-05-10 20:01:25 +05:30
Abhinav Sarkar f8471130e4 GHC -Wall ed 2014-05-07 14:35:25 +05:30
Abhinav Sarkar 2f758c1a34 Fixed the kickjoin bug 2014-05-06 03:08:09 +05:30
Abhinav Sarkar 6a159df001 Some type refactoring, added config related error handling 2014-05-06 02:50:40 +05:30
Abhinav Sarkar 89c0ffefc7 Added support for reading configs from file, added songsearch handler 2014-05-04 16:50:19 +05:30
Abhinav Sarkar a1d2b86b81 Moved Main module to root folder 2014-05-04 08:54:12 +05:30
Abhinav Sarkar 3c382588e7 Added cabal conf file 2014-05-04 08:44:54 +05:30
Abhinav Sarkar dd057f97be Switched to Data.Text 2014-05-04 07:49:27 +05:30
Abhinav Sarkar 4776e0843d Added reconnected/rejoin support in case of disconnects/kick/kickban 2014-05-04 07:03:23 +05:30
Abhinav Sarkar 17c3873ef8 Reorganized the code 2014-05-04 04:28:44 +05:30
Abhinav Sarkar fed0fd85c1 Reorganized the code 2014-05-04 04:28:08 +05:30
Abhinav Sarkar 140ae91b75 First working commit 2014-05-04 02:57:43 +05:30