1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 06:03:29 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
b974da8151 Fixed bug which would have caused a possible crash? Well somewhere, I am not sure if thread spanwed is default in evwenty, in anyu case, fixed it 2022-11-05 16:31:19 +02:00
f70e521d36 Added notice of alpha-quality software 2022-11-05 16:25:03 +02:00
2fe16cab67 Cleaned up messages.d
Moved ReplyType to new module constants.d
2022-11-05 16:21:07 +02:00
4ebde0a0f7 - Added DNS resolution on hostnames 2022-11-05 13:07:13 +02:00
28d18e3761 Always point to latest version of API documentation 2022-11-05 12:57:20 +02:00
d61957f8ce Added documentation link, removed old TODOs 2022-11-05 12:55:43 +02:00
3f95a48186 - Disabled unimplemented methods with @disable
- Added ddoc headers to methods
2022-11-05 12:53:31 +02:00
919a0d09e9 - Added some documentation headers
- Removed uneeded TODO and FIXME
2022-11-05 12:41:52 +02:00
924ccbaacc - Calling quit() will now shutdown the whole client 2022-11-05 12:37:27 +02:00
fbf9ef9eb8 Fixed compilation error 2022-11-05 12:14:03 +02:00
729d3bc1c6 Implemented quit() command 2022-11-05 12:13:23 +02:00
6bdf6b4401 - Removed unused method ask()
- Removed unused public fields
- Quit message field been added to ConnectionInfo struct
2022-11-05 12:11:41 +02:00
441fd20302 - Removed testing code from processMessage(ubyte[])
- Implemented encode()
2022-11-05 12:10:51 +02:00
15d2fa2deb - Fixed a bug whereby an unsupported response code would cause a crash in the event handler
- Added a default response type (in case an unspported one comes in)
2022-11-03 17:05:27 +02:00
e2ba0bdb27 Client
- Moved the processing of command replies out or client.d and placed inside of messages.d
2022-11-02 18:55:30 +02:00
5f1d1b01fa Added following functionality:
- command(Message) - Let the user isssue a generic command
- joinChannel(string) - join the given channel
- When a numeric reply is received a Reply struct is now created containing a boolean indicating if there is an error, the ReplyType (as per the RFC) and the "params" (as a string), this is done via overriding the `onCommandReply(Reply)` method
- Added onGenericCommand(Message) - for when it doesn't have a special handler and is not a numeric reply (command response)
- Added special handler for private messages and channel messages (not used yet)
- WIP: PrivMesg handling

New types:

- Reply - response struct type
- ReplyType - the numeric response number
- Renamed Message fields
- Moved encode() and decode() into Message as static methods
2022-11-02 15:54:46 +02:00
a4b2862e81 New test shows the server name here could be anything so we have a working basic prototype (v0.0.1 onwards) 2022-11-01 14:08:04 +02:00
9a2f3b17ba README
- Added todos for now
2022-11-01 14:03:10 +02:00
95366e941a Cleaned up 2022-11-01 13:58:42 +02:00
a9ac3540b9 Merge branch 'master' of github.com:deavmi/birchwood 2022-11-01 13:42:29 +02:00
cbe41bff80 Eventy integration
- Fully integrated eventy
- PongEvent and IRCEvent along with respective GenericSignal and PingSignal handlers added
- Moved parsing of messages into Message class

Debugging

- Added dlog which always logs (for now, we should add a debug clause that enables it)
2022-11-01 13:41:39 +02:00
ce8dbd7f5e - Implemented Message type to hold messages
- Create IRCEvent type
- Print out information for handling of IRCEvent in the signal handler registered with Eventy
- Finished initial message parser (splits into `from`, `command` and `params`)
2022-10-31 19:24:10 +02:00
c3aa14e2ce
Fixed centering for GitHub markdown rendering 2022-10-30 17:54:45 +02:00
e4bb38c766 Implemented proof-of-concept eventy integration with a default event handler 2022-10-30 17:29:40 +02:00
c3ec3b7fe7 Updated tagline for dub package 2022-10-30 17:05:43 +02:00
e5f1c21dbc Set license to LGPL 3.0 2022-10-30 17:05:19 +02:00
afccee8ad9 Updated .gitignore 2022-10-30 17:01:53 +02:00
6f20ef09fa Added initial working code 2022-10-30 16:59:50 +02:00
0985017f49 Added igitignore 2022-10-30 16:59:40 +02:00
230fa98cd0 Updated package manifest 2022-10-30 16:59:31 +02:00
775d869811 Added README along with branding 2022-10-30 16:59:23 +02:00
6c98959492 Initial commit 2022-10-29 18:04:00 +02:00