b49c98484c
Merge branch 'master' into perf_rework
2023-03-09 08:46:51 +02:00
7a9bc642ea
Unit tests
...
- Corrected comment
2023-03-09 08:46:28 +02:00
8a0961a16c
Merge branch 'master' into perf_rework
2023-03-09 08:45:49 +02:00
35ce86478d
Unit tests
...
- Test `directMessage(string, string)` (so singular) to send to myself
- Adding such a test will test the direct message receive handler which helps us a lot in increasing code coverage
2023-03-09 08:44:09 +02:00
5155912bdd
Unit tests
...
- Added a unit test for the (single) `channelMessage(string, string)`
2023-03-09 08:40:42 +02:00
fe91adde0a
Client
...
- Fixed bug in `channelMessage(string, string[])` in the case where multiple channels were specified then the message would fail to send to the channels after the first one specified
Unit tests
- Disabled using `command(string, string, string)` to join a channel, rather use `joinChannel(string)`
- Added tests for singular `channelMessage(string, string[])` and multiple `channelMessage(string, string[])`
2023-03-09 08:37:38 +02:00
a999482fc9
Receiver
...
- Added imports
- Added a receive queue with a corresponding mutex
- Added a field to hold the associated `Client` object
Send
- Added imports
- Added a send queue with a corresponding mutex
- Added a field to hold the associated `Client` object
2023-03-08 22:06:23 +02:00
8a9f48a3c7
Unit tests
...
- Don't use `command()` directly for joining channels but rather `joinChannel(string)`
- Added a test for multiple channel sending
2023-03-08 22:05:42 +02:00
1cd9b6b640
Merge branch 'master' into perf_rework
2023-03-08 20:19:10 +02:00
6f0a9e32ca
Client
...
- Fixed bug within `channelMessage(string,string[])` which would leave the channel provided instead of sending the message provided to the the channel provided as it called `leaveChannel(channel[0])` instead of `channelMessage(string, string)`
2023-03-08 20:17:40 +02:00
72d473a5c4
Client
...
- Added comment to make this `Client` class abstract
Unit tests
- Added unit test to test `channelMessage(string, string[])`
2023-03-08 20:13:55 +02:00
b33414fcf0
Dub
...
- Upgraded `dlog` to version `0.3.19`
2023-03-08 20:13:16 +02:00
b4f1654f77
Dub
...
- Updated copyright notice
- Updated author name
2023-03-08 18:25:25 +02:00
ccff4017d6
Receiver
...
- Added a field of type `Event` to hold a libsnooze object representing when a new message has been received and is to be processed
Sender
- Added a field of type `Event` to hold a libsnooze object representing when a new message is to be sent and is to be processed
2023-03-08 17:40:22 +02:00
8e0854e5b5
Receiver
...
- Added stub class `ReceiverThread`
Sender
- Added stub class `SenderThread`
2023-03-08 17:36:05 +02:00
f32c8671c6
Receiver
...
- Added new module intended to be used for receiving data
Sender
- Added new module intended to be used for sending data
2023-03-08 17:32:03 +02:00
d0dd315e55
Packaging
...
- Re-worked the `birchwood.client` module into a package which publically imports the `birchwood.client.core` package
2023-03-08 17:30:39 +02:00
39cbcbace6
Dub
...
- Added `libsnooze` version `0.2.9` as a dependency
2023-03-08 17:29:21 +02:00
b9b2cb9c2e
Client
...
- Disagnosed hot-loop causing high load average (and wasting run queue time with meaningless work)
- Offending functions are `sendHandlerFunc()` and `recvHandlerFunc()` and NOT eventy (as latest version doesn't do that
2023-03-08 17:24:41 +02:00
241f7753f5
Client
...
- Added TODOs where the Eventy calls must be temporarily removed (for now)
2023-03-08 17:19:21 +02:00
8812e247cb
- Fixed unittest testing server address
2023-01-07 22:33:26 +02:00
3d9724565d
Upgraded to latest dlog version
2023-01-07 22:33:09 +02:00
b9b666ef6c
Upgraded to new Eventy engine v0.4.0
2022-11-28 13:48:38 +02:00
6a394ad4e8
Upgraded event engine to 0.3.2
2022-11-26 18:23:06 +02:00
565d6b10d8
Added dependencies to the README
2022-11-26 18:12:05 +02:00
f5b0fe5118
Added isValidText(string)
method to return whether a given string is valid as in not containing any invalid illegal characters
2022-11-07 09:23:18 +02:00
3e01ef17d6
Added missing documentation header
...
Implemented `channelMessage(string, string[])` and `channelMessage(string, string)`
2022-11-06 11:38:02 +02:00
d7375b85a5
- Implemented directMessage(string, string[])
and removed the @disable annotation
...
- Implemented `directMessage(string,s tring)`
2022-11-06 11:08:47 +02:00
83e900834f
Export messages.d
2022-11-05 23:26:21 +02:00
8e9e2daa3f
This was NOT meant to be final!
2022-11-05 21:55:02 +02:00
035af34a31
- Implemented leaveChannel(string[])
and leaveChannel(string)
2022-11-05 20:42:31 +02:00
4efb1d5860
Added notice on supported standards
2022-11-05 17:01:12 +02:00
6731364402
Removed notice
2022-11-05 16:46:42 +02:00
295562c7b4
Enabled unit tests to exit
2022-11-05 16:44:30 +02:00
1ad1c63d85
- Updated onGenericCommand() and onResponse() handlers to include the from
field
...
- Implemented PRIVMSG handling for both channel and direct messages
2022-11-05 16:41:26 +02:00
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