-
Notifications
You must be signed in to change notification settings - Fork 4
Implement Websocket and Named Pipe connection and some other QoL #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Oekn5w
wants to merge
29
commits into
DavidCEllis:main
Choose a base branch
from
Oekn5w:servertypes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f0d3a48
Implement Named Pipe and Websocket support
Oekn5w 1910a4e
Preseve position on restart
Oekn5w f6e7b9a
Move status updates to single function
Oekn5w 3c71b2e
Catch any exception that occurs in connections
Oekn5w 2a445c4
Add reload option for updating notesfile in-between
Oekn5w 2a4de33
Update Readme
Oekn5w 7d39419
Move to individual connection classes; Platform dependent Pipes
Oekn5w 41735fb
Revert settings UI changes
Oekn5w cff98fb
Make livesplit_client into a package.
DavidCEllis dedd5c7
Split the connection out into separate files
DavidCEllis 0dbfa97
Remove unnecessary platform checks
DavidCEllis 8376f28
Update uv.lock
DavidCEllis bf8c604
Make ConnectionPipe a prefab
DavidCEllis 9eba25e
Convert slotted prefabs to decorator form to allow for a new ABC meta…
DavidCEllis b17e1ae
Make `ConnectionTypeBase` an ABC and define the methods as abstract.
DavidCEllis 9e6837d
de-duplication of errors
DavidCEllis 54dd168
Start putting logic in place to simplify `LivesplitConnection`
DavidCEllis bc3c68b
Create a CONNECTION_TYPES list of appropriate connection types.
DavidCEllis c526a04
Make connection_obj visible and replaceable on `__init__`
DavidCEllis 4b59aaf
Only test TCP in the networking tests - for some reason the websocket…
DavidCEllis 93bd5cd
Major simplification of connect logic for LivesplitConnection.connect
DavidCEllis ea552c5
The attribute is called 'server' not 'hostname' *headdesk*
DavidCEllis 7024708
type checking leading me astray?
DavidCEllis 53d4c85
Remove unnecessary parentheses around bool
DavidCEllis 471a8f6
Make it possible to narrow the connection types on the connection.
DavidCEllis f567706
Use a cast instead of an assert.
DavidCEllis 6867740
Merge branch 'servertypes-edit' into dev_servertypes
Oekn5w c23519e
Adapt tests
Oekn5w c1cca15
Adapt exceptions
Oekn5w File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather not give the user any options and instead just try/fail the different options internally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've now added a connection logic cycling through the 2 (or 3 if applicable) methods, although I haven't updated the readme yet