andrews239

Results 6 issues of andrews239

Extracts the numpy magic from video.read() into a separate video._update_rect() method Adds some tests.

Adds zlib StreamReader wrapper for zlib encoding (6) Combines the code for raw ecodings (0/6) Adds tests for zlib StreamReader wrapper This PR allows for a better separation of the...

This synchronizes the update request sent and the expected result. This allows you to get an image of part of the screen without having to transfer all the data from...

``` 1: self.video.refresh(x, y, width, height) 2: while True: 3: update_type = await self.read() 4: if update_type is UpdateType.VIDEO: 5: if self.video.is_complete(): 6: return self.video.as_rgba() ``` line 1: Sends refresh...

Fixes the numbers mistake (BELL/CLIPBOARD) for server -> client and the padding mistake (Clipboard.write) for client -> server messages. See: #13 Fixes the test tests/test_clipboard.py for RFC-6143 compliance.

**Expects the wrong numbers for Bell/ServerCutText in a message from a server to the client.** asyncvnc.py: ``` #: Clipboard update. CLIPBOARD = 2 #: Bell update. BELL = 3 ```...