Commit Graph

18 Commits

Author SHA1 Message Date
Simo Kinnunen
5b5520b705 VNC authentication works, although there is no UI for adding passwords
yet. Direct database manipulation is required for now.
2015-10-13 04:05:07 +09:00
Simo Kinnunen
a902c66131 Fix misc eslint errors. 2015-10-13 04:05:07 +09:00
Simo Kinnunen
1f32c21c78 Use 32 bits per pixel by default, since 24 bpp doesn't seem to be a supported option in the RFB 3.8 spec. 2015-09-21 16:38:03 +09:00
Simo Kinnunen
977b8c198e Support variable bit depths. Fix color issues. 2015-09-21 16:28:05 +09:00
Simo Kinnunen
9d20484dcb Limit VNC size by default. 2015-09-15 04:25:21 +09:00
Simo Kinnunen
d5bfcb16d4 Update server width based on desktop size. 2015-09-15 04:02:21 +09:00
Simo Kinnunen
ced0bf99a7 Use jpeg-turbo for decompressing the JPGs. It's super fast compared to
what it was before.
2015-09-15 04:01:16 +09:00
Simo Kinnunen
a98cc67e2c Translate pointer events into touch events. 2015-09-14 20:33:59 +09:00
Simo Kinnunen
02af21e17c Pass VNC server name in options. 2015-09-14 19:41:18 +09:00
Simo Kinnunen
4b03fd81b3 Remove unused client attributes. 2015-09-14 19:39:52 +09:00
Simo Kinnunen
5cc27a86ad Don't add clients to the broadcast set until they're authenticated. Note
that actual, real auth is not checked yet.
2015-09-14 19:38:12 +09:00
Simo Kinnunen
bff4b7bafe Make sure chunk gets reset after every read loop. 2015-09-14 19:36:40 +09:00
Simo Kinnunen
692c043f6e Send latest screen size with every update. 2015-09-14 19:35:53 +09:00
Simo Kinnunen
792713d415 VNC screen is visible (w/ RAW encoding). Size of VNC screen is still
hardcoded, preventing real use.
2015-09-14 18:00:17 +09:00
Simo Kinnunen
8a5f0551a7 Fix incorrect state change for ClientCutText. 2015-09-14 14:40:19 +09:00
Simo Kinnunen
f7d1b07d1c Clean up structure a little bit for initial testing. 2015-09-14 14:09:45 +09:00
Simo Kinnunen
6d84064e6b Consume ClientCutText's value. 2015-09-14 13:28:26 +09:00
Simo Kinnunen
66182666bd Now able to read VNC Viewer's primary requests. 2015-09-14 13:18:32 +09:00