Commit Graph

77 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 6ed46d051c
Switch to niknaks (#4)
* Dub

- Added `niknaks` dependency

* Marshall

- `encodeBformat(byte[])` now uses niknaks for binary operations

* Dub

- Upgraded `niknaks` dependency to version `0.3.0`

* Client

- Removed bit-twiddling, use `niiknaks.bits`

* Marshall

- `encodeBformat(byte[])` now uses niknaks
2023-10-01 19:02:42 +02:00
Tristan B. Velloza Kildaire 6067155fca REAMDE
- Removed duplicate badge
2023-10-01 17:56:18 +02:00
Tristan B. Velloza Kildaire 6994518821 README
- Added more badges
2023-10-01 17:55:06 +02:00
Tristan B. Velloza Kildaire 6eb9445042 Pipelines
- Added code coverage support

README

- Added coveralls badge
2023-10-01 17:53:19 +02:00
Tristan B. Velloza Kildaire cef8adf2a9 README
- Fixed typos
2023-10-01 17:50:28 +02:00
Tristan B. Velloza Kildaire 280fb551f2 - Fixed typo in README 2023-06-18 14:18:50 +02:00
Tristan B. Velloza Kildaire 9979d0d894 Dub
- Use minimum version `0.3.6` of `river`
2023-06-18 13:27:26 +02:00
Tristan B. Velloza Kildaire afab414d01 Client
- Added a `close()` method
- Call `close()` on the `BClient` at the end of the unit test
2023-04-30 19:07:36 +02:00
Tristan B. Velloza Kildaire d9f34fbac4
Update dub.json 2023-04-30 13:24:46 +02:00
Tristan B. Velloza Kildaire b26cea3570 - Updated package description 2023-04-30 13:22:04 +02:00
Tristan B. Velloza Kildaire 347b8ba02a
Update README.md 2023-04-30 13:15:30 +02:00
Tristan B. Velloza Kildaire 18ed6b7ceb
Update README.md 2023-04-30 13:07:28 +02:00
Tristan B. Velloza Kildaire 0c10f29600
Update README.md 2023-04-30 13:06:34 +02:00
Tristan B. Velloza Kildaire 12bbb1dfe1
Merge pull request #1 from besterprotocol/feature/oop
BClient
2023-04-30 13:05:24 +02:00
Tristan B. Velloza Kildaire 5d9c978629
Merge pull request #2 from besterprotocol/feature/river_stream
Feature/river stream
2023-04-30 13:04:33 +02:00
Tristan B. Velloza Kildaire 575db2d998 - Updated `README.md` to reflect support for river-based `Stream`s 2023-04-30 13:02:17 +02:00
Tristan B. Velloza Kildaire 40ce197bb7 Merge branch 'feature/oop' into feature/river_stream 2023-04-30 13:01:49 +02:00
Tristan B. Velloza Kildaire ed71224233 Merge branch 'master' into feature/oop 2023-04-30 13:01:03 +02:00
Tristan B. Velloza Kildaire 1094d3d61f - Updated description in `dub.json` and README 2023-04-30 12:59:58 +02:00
Tristan B. Velloza Kildaire d93e96f0f8 BClient
- Documented unit test
2023-04-30 12:54:11 +02:00
Tristan B. Velloza Kildaire 84e9b401a0 BClient
- Documented both constructors
2023-04-30 12:53:00 +02:00
Tristan B. Velloza Kildaire e1a167fdbf Package ( `bformat`)
- Updated comment for `bformat.client`

- Renamed `sockets` module to `client` module
2023-04-30 12:49:13 +02:00
Tristan B. Velloza Kildaire 00664bd844 Sockets
- Added a unittest which tests `BClient`
2023-04-30 12:42:59 +02:00
Tristan B. Velloza Kildaire 8e0c161e02 Sockets
- Cleaned up whitespace
2023-04-30 01:06:18 +02:00
Tristan B. Velloza Kildaire f49d8349ce BClient
- `sendMessage(byte[])` now encodes using `bformat.marshall`'s `encodeBformat(byte[])` rather than its own code
2023-04-30 01:03:19 +02:00
Tristan B. Velloza Kildaire 3b57b6c1ae BClient
- handle erroneous `writeFully(byte[])` call in `sendMessage(byte[])`
2023-04-30 00:55:39 +02:00
Tristan B. Velloza Kildaire 3a9fccb3f2 BClient
- Translated `receiveMessage(ref byte[])` over to using the `Stream`, `stream`
- Translated `sendMessage(byte[])` over to using the `Stream`, `stream`
2023-04-30 00:41:39 +02:00
Tristan B. Velloza Kildaire b94c433115 Sockets
- Underlying transport is now a river-based `Stream`
- Second constructor added which takes in a `Stream`, the original constructor now calls it with an adhoc created `SockStream` to wrap the consumed `Socket`
2023-04-30 00:14:05 +02:00
Tristan B. Velloza Kildaire d22455c2f4 - Added `river` as a dependency 2023-04-30 00:03:21 +02:00
Tristan B. Velloza Kildaire b9c4b37b59 BClient
- Holds teh socket for the lifetime of usage and you can now use `receiveMessage(ref byte[])` and `sendMesssage(byte[])` on it
2023-04-30 00:01:23 +02:00
Tristan B. Velloza Kildaire f347229d27 - Updated `README.md` 2023-03-26 12:26:14 +02:00
Tristan B. Velloza Kildaire 6498c85f4c
Update README.md 2023-03-25 22:37:58 +02:00
Tristan B. Velloza Kildaire 7a65d5b105
Create d.yml 2023-03-25 22:37:06 +02:00
Tristan B. Velloza Kildaire 2eb45381d1 - Added unit tests
- Updated `.gitignore`
2023-03-25 22:32:40 +02:00
Tristan B. Velloza Kildaire bef4f852bf - Removed `.travis.yml` 2023-03-25 22:10:11 +02:00
Tristan B. Velloza Kildaire e1787d16b5 - Added `homepage` field to dub package description 2023-03-25 22:04:59 +02:00
Tristan B. Velloza Kildaire 7ef3be4203 - Updated author name in `dub.json` 2023-03-25 22:02:31 +02:00
Tristan B. Velloza Kildaire a2eb975b53 Marshall
- Documented module
2023-03-25 21:54:18 +02:00
Tristan B. Velloza Kildaire 7b3908b053 Package (bformat)
- Imported `decodeMessage(byte[])` and `encodeMessage(byte[])` from the `bformat.marshall` module
2023-03-25 21:51:46 +02:00
Tristan B. Velloza Kildaire bcd29bac3d Marshall
- Added documentation for `decodeMessage(byte[])`
- Added documentation for `encodeMessage(byte[])`
2023-03-25 21:50:33 +02:00
Tristan B. Velloza Kildaire f8f0803c98 Package (bformat)
- Documented package/module
2023-03-25 21:47:12 +02:00
Tristan B. Velloza Kildaire 1f7cb11804 Package (bformat)
- Documented both imports seperately
2023-03-25 21:39:50 +02:00
Tristan B. Velloza Kildaire 0cb0365dea - Updated `.gitignore` 2023-03-25 21:37:39 +02:00
Tristan B. Velloza Kildaire 4a5e6a325e - Updated LICENSE to LGPL 3.0 2023-03-25 21:37:18 +02:00
Tristan B. Velloza Kildaire e288324b0a Sockets
- Documented module
2023-03-25 21:36:09 +02:00
Tristan B. Velloza Kildaire 2c16839d8a - Removed Travis-CI badge from `README.md` 2023-03-25 21:11:57 +02:00
Tristan B. Velloza Kildaire 0814ec87e9 Sockets
- Added documentation for `receiveMessage(Socket, ref byte[])`
2023-03-25 21:07:56 +02:00
Tristan B. Velloza Kildaire a3d01f43cf Sockets
- Added documentation for `sendMessage(Socket, byte[])`
2023-03-25 21:04:15 +02:00
Tristan B. Velloza Kildaire 21422d37f9 - Removed `dub.selections.json` 2023-03-25 20:59:58 +02:00
Tristan B. Velloza Kildaire 7245572a97 - Restructured whole package 2023-03-25 20:59:38 +02:00