]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
14 years agoDisabled ctrlAltDel button when N/A.
Joel Martin [Tue, 15 Jun 2010 22:56:38 +0000 (17:56 -0500)]
Disabled ctrlAltDel button when N/A.

14 years agoAdd CtrlAltDel send button to status bar.
Joel Martin [Tue, 15 Jun 2010 22:47:01 +0000 (17:47 -0500)]
Add CtrlAltDel send button to status bar.

Some default_controls.js jslinting.

Needs to be some modularity between controls you probably always want
(like sending CtrlAltDel) and how the interface is presented and
controlled.

14 years agoNo mootools dep outside of default_controls.js.
Joel Martin [Tue, 15 Jun 2010 20:21:41 +0000 (15:21 -0500)]
No mootools dep outside of default_controls.js.

Some basic functions from mootools implemented in util.js.

Also, some more DOM separation. Move clipboard focus logic into
default_controls and canvas and out of vnc.js.

JSLint cleanup.

14 years agoAdd mouse position routines to util.js.
Joel Martin [Tue, 15 Jun 2010 16:10:18 +0000 (11:10 -0500)]
Add mouse position routines to util.js.

On path towards removing dependency on mootools in non-UI code.

14 years agoMove DOM event handling from vnc.js to canvas.js.
Joel Martin [Tue, 15 Jun 2010 14:36:23 +0000 (09:36 -0500)]
Move DOM event handling from vnc.js to canvas.js.

14 years agoMove vnc.js into include directory.
Joel Martin [Mon, 14 Jun 2010 19:56:19 +0000 (14:56 -0500)]
Move vnc.js into include directory.

Also, allow 'include/' to be overridden in VNC_uri_prefix.

14 years agoAdd summary timing info on disconnect.
Joel Martin [Mon, 14 Jun 2010 19:43:21 +0000 (14:43 -0500)]
Add summary timing info on disconnect.

Also, move Frame Buffer Update code out of normal_msg into separate
function.

14 years agoLess debug output.
Joel Martin [Mon, 14 Jun 2010 19:42:34 +0000 (14:42 -0500)]
Less debug output.

14 years agoMove cert gen to Usage section of README.md.
Joel Martin [Mon, 14 Jun 2010 19:34:05 +0000 (14:34 -0500)]
Move cert gen to Usage section of README.md.

14 years agoRender PNG images in order. Update TODO.
Joel Martin [Sun, 13 Jun 2010 16:00:12 +0000 (11:00 -0500)]
Render PNG images in order. Update TODO.

14 years agoFix mouse focus issues.
Joel Martin [Sun, 13 Jun 2010 15:57:23 +0000 (10:57 -0500)]
Fix mouse focus issues.

14 years agoFix scrolled mouse position.
Joel Martin [Thu, 10 Jun 2010 21:05:15 +0000 (16:05 -0500)]
Fix scrolled mouse position.

14 years agoDesktopResize and compression level pseudo-encodings.
Joel Martin [Thu, 10 Jun 2010 20:44:42 +0000 (15:44 -0500)]
DesktopResize and compression level pseudo-encodings.

- Implement resizing of desktop pseudo-encoding.

- Also send lowest (fastest) compression level pseudo-encoding.
  Ought be user tweakable.

14 years agoMore dynamic encoding list handling.
Joel Martin [Thu, 10 Jun 2010 17:11:13 +0000 (12:11 -0500)]
More dynamic encoding list handling.

14 years agobase64 encode instead of escaping images.
Joel Martin [Wed, 9 Jun 2010 22:50:06 +0000 (17:50 -0500)]
base64 encode instead of escaping images.

14 years agoAlmost double firefox tight_png render performance.
Joel Martin [Wed, 9 Jun 2010 20:40:46 +0000 (15:40 -0500)]
Almost double firefox tight_png render performance.

When extracting the data URI info, much more efficient in firefox to
iterate and push onto an array, then to generate the whole array at
once using the map function.

Chrome is mostly unaffected by this change (might be slightly better).

14 years agoTIGHT_PNG encoding and timing refactor.
Joel Martin [Wed, 9 Jun 2010 20:00:32 +0000 (15:00 -0500)]
TIGHT_PNG encoding and timing refactor.

Also, generate encodings array to send from a list of encodings
instead of being hardcoded generator function.

14 years agoupdate failed state on WS onerror.
Joel Martin [Tue, 8 Jun 2010 16:20:03 +0000 (11:20 -0500)]
update failed state on WS onerror.

Also, slightly faster non-base64 (UTF-8) decode.

14 years agoOutput count for multi-packet decodes.
Joel Martin [Mon, 7 Jun 2010 19:36:26 +0000 (14:36 -0500)]
Output count for multi-packet decodes.

14 years agoAdd UTF-8 wire encoding support to C wsproxy.
Joel Martin [Mon, 7 Jun 2010 18:47:44 +0000 (13:47 -0500)]
Add UTF-8 wire encoding support to C wsproxy.

14 years agoMove wsproxy and web utils into utils/ subdir.
Joel Martin [Mon, 7 Jun 2010 17:47:02 +0000 (12:47 -0500)]
Move wsproxy and web utils into utils/ subdir.

14 years agoC wsproxy: seq numbers and decode multiple frames.
Joel Martin [Mon, 7 Jun 2010 17:44:02 +0000 (12:44 -0500)]
C wsproxy: seq numbers and decode multiple frames.

14 years agoFirst pass at working C wsproxy.
Joel Martin [Fri, 4 Jun 2010 22:10:06 +0000 (17:10 -0500)]
First pass at working C wsproxy.

No sequence numbering and only support b64encoding at the moment.

14 years agoGive better exception feedback in message handler.
Joel Martin [Fri, 4 Jun 2010 18:51:21 +0000 (13:51 -0500)]
Give better exception feedback in message handler.

14 years agoAdd 'tight' encoding to TODO list. Add rfb proto link.
Joel Martin [Thu, 3 Jun 2010 21:11:21 +0000 (16:11 -0500)]
Add 'tight' encoding to TODO list. Add rfb proto link.

14 years agoFix Alt keysym.
Joel Martin [Thu, 3 Jun 2010 14:28:44 +0000 (09:28 -0500)]
Fix Alt keysym.

From kevinychan/vnc-html5 ebfffdc36.

14 years agoClarify examples.
Joel Martin [Thu, 3 Jun 2010 13:39:42 +0000 (08:39 -0500)]
Clarify examples.

14 years agoExplain VNC_uri_prefix in README.md.
Joel Martin [Wed, 2 Jun 2010 22:28:28 +0000 (17:28 -0500)]
Explain VNC_uri_prefix in README.md.

14 years agoUpdate README.md to reflect separate default controls file.
Joel Martin [Wed, 2 Jun 2010 22:18:46 +0000 (17:18 -0500)]
Update README.md to reflect separate default controls file.

14 years agoDirect example. Move all DOM code default_controls.js.
Joel Martin [Wed, 2 Jun 2010 22:08:25 +0000 (17:08 -0500)]
Direct example. Move all DOM code default_controls.js.

Move DOM manipulation into include/default_controls.js and update
vnc.html to use it.

Add an example vnc_auto.html which automatically connects using
parameters from the query string and doesn't use default_controls.js.

Reorder functions in vnc.js to put external interface functions at the
top of the RFB namespace.

14 years agoAdd --record option to wsproxy.py.
Joel Martin [Tue, 1 Jun 2010 22:58:14 +0000 (17:58 -0500)]
Add --record option to wsproxy.py.

14 years agoAdd colour map support (non-true-color).
Joel Martin [Tue, 1 Jun 2010 19:34:27 +0000 (14:34 -0500)]
Add colour map support (non-true-color).

In colourMap mode there are 256 colours in a colour palette sent from
the server via the SetColourMapEntries message. This reduces the
bandwidth by about 1/4. However, appearance can be somewhat less than
ideal (pinks instead of gray, etc).

It also increases client side rendering performance especially on
firefox. Rendering a full 800x600 update takes about 950ms in
firefox on my system compared to about 1400ms. Round-trip time for
a full frame buffer update is even better on firefox (due to
performance of the flash WebSocket emulator). Reduced from about
1800ms to 1100ms on firefox (for 800x600 full update).

14 years agoTest non-base64 (straight UTF-8) encoding.
Joel Martin [Fri, 28 May 2010 20:39:38 +0000 (15:39 -0500)]
Test non-base64 (straight UTF-8) encoding.

Also add a wsencoding test client/server program to test send a set of
values between client and server and vice-versa to test encodings.

Not turned on by default.

Add support for encode/decode of UTF-8 in the proxy. This leverages
the browser for decoding the WebSocket stream directly instead of
doing base64 decode in the browser itself.

Unfortunately, in Chrome this has negligible impact (round-trip time
is increased slightly likely due to extra python processing).

In firefox, due to the use of the flash WebSocket emulator the
performance is even worse. This is because it's really annoying to get
the flash WebSocket emulator to properly decode a UTF-8 bytestream.
The problem is that the readUTFBytes and readMultiByte methods of an
ActionScript ByteArray don't treat 0x00 correctly. They return
a string that ends at the first 0x00, but the index into the ByteArray
has been advanced by however much you requested.

This is very silly for two reasons: ActionScript (and Javascript)
strings can contain 0x00 (they are not null terminated) and second,
UTF-8 can legitimately contain 0x00 values. Since UTF-8 is not
constant width there isn't a great way to determine if those methods
in fact did encounter a 0x00 or they just read the number of bytes
requested.

Doing manual decoding using readUTFByte one character at a time slows
things down quite a bit. And to top it all off, those methods don't
support the alternate UTF-8 encoding for 0x00 ("\xc0\x80"). They also
just treat that encoding as the end of string too.

So to get around this, for now I'm encoding zero as 256 ("\xc4\x80")
and then doing mod 256 in Javascript. Still doesn't result in much
benefit in firefox.

But, it's an interesting approach that could use some more exploration
so I'm leaving in the code in both places.

14 years agoRound-trip timing for first full FBU.
Joel Martin [Fri, 28 May 2010 20:29:36 +0000 (15:29 -0500)]
Round-trip timing for first full FBU.

14 years agoFix web-socket-js: encode sent data across FABridge.
Joel Martin [Fri, 28 May 2010 19:10:57 +0000 (14:10 -0500)]
Fix web-socket-js: encode sent data across FABridge.

14 years agoChange license to LGPL-3 and add some implementation notes.
Joel Martin [Wed, 26 May 2010 20:43:00 +0000 (15:43 -0500)]
Change license to LGPL-3 and add some implementation notes.

The purpose of the code is to be incorporated into other web projects
(whether those are free or not). AGPL prevents combination with other
HTML and javascript that is under a weaker (or proprietary) license.
Better would be a lesser AGPL, but there is not GNU standard for that.
So LGPL-3 meets most of my requirements. If somebody modifies the
actual client code and conveys it, then they must release the changes
under LGPL-3 also.

Add some implementation notes in docs/notes.

14 years agoUse relative include path in tests.
Joel Martin [Tue, 25 May 2010 16:09:34 +0000 (11:09 -0500)]
Use relative include path in tests.

14 years agoAdd mouse wheel support and input test page.
Joel Martin [Tue, 25 May 2010 16:05:55 +0000 (11:05 -0500)]
Add mouse wheel support and input test page.

14 years agoDon't shift off subencoding in hextile.
Joel Martin [Thu, 20 May 2010 22:13:59 +0000 (17:13 -0500)]
Don't shift off subencoding in hextile.

14 years agoFix web-socket-js loading issue.
Joel Martin [Mon, 17 May 2010 22:11:13 +0000 (17:11 -0500)]
Fix web-socket-js loading issue.

14 years agoDouble Chrome hextile perf again. Add canvas test.
Joel Martin [Mon, 17 May 2010 15:18:37 +0000 (10:18 -0500)]
Double Chrome hextile perf again. Add canvas test.

- By dereferencing the 'data' field of the imageData object before the
  loop, the hextile performance on Chrome is down to 140ms or so for
  a full 800x600 update. Still have to fall back to Canvas operations
  for firefox.

- Fix RQ empty after reorder bug.

14 years agoAdd styling classes for status line state.
Joel Martin [Mon, 17 May 2010 00:58:51 +0000 (19:58 -0500)]
Add styling classes for status line state.

14 years agoAdd back canvas.html test page to tests subdir.
Joel Martin [Mon, 17 May 2010 00:23:44 +0000 (19:23 -0500)]
Add back canvas.html test page to tests subdir.

14 years agoCreate FABridge tester. Move wstest into tests subdir.
Joel Martin [Mon, 17 May 2010 00:21:21 +0000 (19:21 -0500)]
Create FABridge tester. Move wstest into tests subdir.

14 years agoChange wstest.html 'cnt' to 'seq'.
Joel Martin [Sun, 16 May 2010 22:51:00 +0000 (17:51 -0500)]
Change wstest.html 'cnt' to 'seq'.

14 years agoMove canvas.js to include/canvas.js.
Joel Martin [Sat, 15 May 2010 20:45:09 +0000 (15:45 -0500)]
Move canvas.js to include/canvas.js.

14 years agoSupport 3.7.
Joel Martin [Sat, 15 May 2010 20:25:10 +0000 (15:25 -0500)]
Support 3.7.

14 years agoMove vars into RFB namespace. Extend array in util.js.
Joel Martin [Sat, 15 May 2010 19:55:33 +0000 (14:55 -0500)]
Move vars into RFB namespace. Extend array in util.js.

14 years agoJSLint and "use strict".
Joel Martin [Sat, 15 May 2010 19:28:55 +0000 (14:28 -0500)]
JSLint and "use strict".

14 years agoCleanup output, trap exceptions, timing output, fixes.
Joel Martin [Sat, 15 May 2010 17:38:50 +0000 (12:38 -0500)]
Cleanup output, trap exceptions, timing output, fixes.

Fixes:
- Make sure that failed state messages stay around until next connect.
- Get status message font colors working.
- Clear RQ_reorder list on re-connect.

14 years agoDouble hextile rendering performance in Chrome.
Joel Martin [Sat, 15 May 2010 17:27:44 +0000 (12:27 -0500)]
Double hextile rendering performance in Chrome.

- For webkit engines, do array manipulation for each tile subrectangle
  and only use the array for putImageData after rendering is finished.

In Chrome 5.0.375.29 beta, the time to render a full 800x600 hextile
image dropped from 500ms to 250ms or so. Firefox 3.5.3 rendering of
a full 800x600 hextile image is about 2300ms.

14 years agoReset client_settings on connect.
Joel Martin [Sat, 15 May 2010 17:14:30 +0000 (12:14 -0500)]
Reset client_settings on connect.

- Otherwise client_setting carry over from other connections.

14 years agoRename HTML5-VNC to noVNC.
Joel Martin [Wed, 12 May 2010 14:39:38 +0000 (09:39 -0500)]
Rename HTML5-VNC to noVNC.

14 years agoMark include/plain.css as code.
Joel Martin [Tue, 11 May 2010 22:04:07 +0000 (15:04 -0700)]
Mark include/plain.css as code.

14 years agoAdd some links to related project sites.
Joel Martin [Tue, 11 May 2010 22:00:42 +0000 (17:00 -0500)]
Add some links to related project sites.

14 years agoPull and modify stylesheet from kevinykchan/vnc-html5.
Joel Martin [Tue, 11 May 2010 21:58:36 +0000 (16:58 -0500)]
Pull and modify stylesheet from kevinykchan/vnc-html5.

Pull and modify vnc.css version
b747e284c0e417df1599b1d95724518b07be8df6 to include/black.css

14 years agoIsolate DOM references in load() and connect().
Joel Martin [Tue, 11 May 2010 21:39:17 +0000 (16:39 -0500)]
Isolate DOM references in load() and connect().

- Other misc cleanups.

14 years agoStyling/integration refactoring.
Joel Martin [Tue, 11 May 2010 21:13:52 +0000 (16:13 -0500)]
Styling/integration refactoring.

- Instead of onload override, move to RFB.load function that takes
  a parameter for the target DOM ID. This allows the user to have
  their own onload function.

- Add "VNC_" prefix to all element ID names. Only create DOM elements
  if they don't already exist on the page, otherwise use the existing
  elements.

- Move all styling to separate stylesheet.

- Use list model for control styling.

14 years agoAdd and clarify licensing.
Joel Martin [Tue, 11 May 2010 15:01:21 +0000 (10:01 -0500)]
Add and clarify licensing.

14 years agoFix wsproxy CPU usage without affecting latency.
Joel Martin [Tue, 11 May 2010 14:25:29 +0000 (09:25 -0500)]
Fix wsproxy CPU usage without affecting latency.

Instead of selecting on everything every time, only select the writers
that we have items queued for. Most of the time the writers are ready
so if we select on them even when we don't have anything to send we
will fall into a tight loop.

14 years agoMerge branch 'merge_kevinykchan'
Joel Martin [Tue, 11 May 2010 14:23:55 +0000 (09:23 -0500)]
Merge branch 'merge_kevinykchan'

Conflicts:
wsproxy.py

Fix auth mode selection typo.

14 years agoAddresses issue where wsproxy utilizes 100% CPU. The process now rarely goes over 2%
Kevin Chan [Mon, 10 May 2010 20:45:46 +0000 (04:45 +0800)]
Addresses issue where wsproxy utilizes 100% CPU. The process now rarely goes over 2%

14 years agoIf no password is provided, defaults to use no auth
Kevin Chan [Mon, 10 May 2010 20:55:47 +0000 (04:55 +0800)]
If no password is provided, defaults to use no auth

14 years agoMove controls to vnc.js, make vnc.html very simple.
Joel Martin [Thu, 6 May 2010 22:08:53 +0000 (17:08 -0500)]
Move controls to vnc.js, make vnc.html very simple.

14 years agoIgnore python bytecode files.
Joel Martin [Thu, 6 May 2010 15:57:16 +0000 (10:57 -0500)]
Ignore python bytecode files.

14 years agoFix same for server side (no expected count complaint).
Joel Martin [Thu, 6 May 2010 15:54:36 +0000 (10:54 -0500)]
Fix same for server side (no expected count complaint).

14 years agoDon't complain about expected count on stop.
Joel Martin [Thu, 6 May 2010 15:53:09 +0000 (10:53 -0500)]
Don't complain about expected count on stop.

14 years agoEncryption suppport for wstest.
Joel Martin [Thu, 6 May 2010 15:52:04 +0000 (10:52 -0500)]
Encryption suppport for wstest.

14 years agowebsocket.py: generic code from wsproxy and wstest.
Joel Martin [Thu, 6 May 2010 15:32:07 +0000 (10:32 -0500)]
websocket.py: generic code from wsproxy and wstest.

14 years agoDES that works with KVM's VNC. RFB 3.8 fixes.
Joel Martin [Wed, 5 May 2010 20:40:05 +0000 (15:40 -0500)]
DES that works with KVM's VNC. RFB 3.8 fixes.

14 years agoSupport for RFB 3.8 handshake.
Joel Martin [Sun, 2 May 2010 19:19:13 +0000 (14:19 -0500)]
Support for RFB 3.8 handshake.

14 years agoCleanup. Move note files into docs/.
Joel Martin [Sat, 1 May 2010 20:59:52 +0000 (15:59 -0500)]
Cleanup. Move note files into docs/.

14 years agoSupport for SSL/TLS ('wss://') on both sides.
Joel Martin [Fri, 30 Apr 2010 21:41:09 +0000 (16:41 -0500)]
Support for SSL/TLS ('wss://') on both sides.

On the client side, this adds the as3crypto library to web-socket-js
so that the WebSocket 'wss://' scheme is supported which is WebSocket
over SSL/TLS.

Couple of downsides to the fall-back method:

    - This balloons the size of the web-socket-js object from about 12K to 172K.

    - Getting it working required disabling RFC2718 web proxy support
      in web-socket-js.

    - It makes the web-socket-js fallback even slower with the
      encryption overhead.

The server side (wsproxy.py) uses python SSL support. The proxy
automatically detects the type of incoming connection whether flash
policy request, SSL/TLS handshake ('wss://') or plain socket
('ws://').

Also added a check-box to the web page to enable/disabled 'wss://'
encryption.

14 years agoAutomatically detect TLS/SSL during handshake.
Joel Martin [Fri, 30 Apr 2010 20:54:59 +0000 (15:54 -0500)]
Automatically detect TLS/SSL during handshake.

Use MSG_PEEK flag on recv to detect whether we are getting a flash
policy request, an SSL/TLS header, or a plain socket connection.

14 years agoImport as3crypto_patch: ffda6e9cd8b1d74f45472c676afda8360ae1e5aa
Joel Martin [Fri, 30 Apr 2010 19:13:32 +0000 (14:13 -0500)]
Import as3crypto_patch: ffda6e9cd8b1d74f45472c676afda8360ae1e5aa

as3crypto is actionscript 3 crypto library with TLS engine support.

From: http://github.com/lyokato/as3crypto_patched

Which was forked from: http://code.google.com/p/as3crypto/

14 years agoDon't erase failed state error messages on disconnect.
Joel Martin [Mon, 19 Apr 2010 15:46:48 +0000 (10:46 -0500)]
Don't erase failed state error messages on disconnect.

14 years agoAlso send errors to console.error
Joel Martin [Mon, 19 Apr 2010 15:43:21 +0000 (10:43 -0500)]
Also send errors to console.error

14 years agowstest*. Fix Opera problems. Flash policy. Misc bugs.
Joel Martin [Mon, 19 Apr 2010 15:41:06 +0000 (10:41 -0500)]
wstest*. Fix Opera problems. Flash policy. Misc bugs.

Lame. Opera doesn't support javascript reduce().

Also, Opera seems to just plain be pathetic when it comes to
delivering the web-socket-js events. Around 1/5 to 1/3 of all received
packets are never received as an event at all.

- Change default delay for send side to 10ms.

- Use a textarea for errors so that even without console.* support
  (ala firebug) we still see the errors that are happening.

14 years agoREADME.md typo and clarify.
Joel Martin [Mon, 19 Apr 2010 01:57:34 +0000 (20:57 -0500)]
README.md typo and clarify.

14 years agoUpdate README.md and TODO.
Joel Martin [Mon, 19 Apr 2010 01:53:54 +0000 (20:53 -0500)]
Update README.md and TODO.

14 years agoSend seq nums and b64 encode based on query string.
Joel Martin [Mon, 19 Apr 2010 01:35:43 +0000 (20:35 -0500)]
Send seq nums and b64 encode based on query string.

Query string variable 'b64encode' determine if wsproxy b64 encodes the
results. Variable 'seq_num' determines if sequence numbers are
prepended. This way, sequence numbers are only used with the flash
WebSocket proxy.

14 years agoStatus/error refactor. Fix firefox bugs.
Joel Martin [Sun, 18 Apr 2010 23:43:03 +0000 (18:43 -0500)]
Status/error refactor. Fix firefox bugs.

- All state/status updates go through updateState routine which
  updates the status line also.

- Old firefox (and opera) don't support canvas createImageData, so use
  getImageData as replacement.

- Add console.warn and console.error stubs so that firefox without
  firebug doesn't crap out.

- If no WebSockets then error if no flash or if URL is location (flash
  will refuse to load the object for security reasons).

14 years agoRemove mootools-more references.
Joel Martin [Sun, 18 Apr 2010 21:28:54 +0000 (16:28 -0500)]
Remove mootools-more references.

14 years agoFix firefox '-' key mapping.
Joel Martin [Sun, 18 Apr 2010 21:19:10 +0000 (16:19 -0500)]
Fix firefox '-' key mapping.

14 years agoAdd fixing firefox '-' key mapping issue to TODO.
Joel Martin [Sun, 18 Apr 2010 21:17:27 +0000 (16:17 -0500)]
Add fixing firefox '-' key mapping issue to TODO.

14 years agoHandle socket policy response in proxy itself.
Joel Martin [Sat, 17 Apr 2010 22:53:28 +0000 (17:53 -0500)]
Handle socket policy response in proxy itself.

14 years agoAdd web-socket-js support with packet re-ordering.
Joel Martin [Sat, 17 Apr 2010 22:16:08 +0000 (17:16 -0500)]
Add web-socket-js support with packet re-ordering.

- web-socket-js is from http://github.com/gimite/web-socket-js. It is
  a flash object that emultates WebSockets.

Unfortunately, events (or packets) from the web-socket-js object can
get re-ordered so we need to know the packet order.

- So wsproxy.py prepends the sequence number of the packet when
  sending.

- If the client receives packets out of order it queues them up and
  scans the queue for the sequence number it's looking for until
  things are back on track. Gross, but hey: It works!

- Also, add packet sequence checking to wstest.*

14 years agoImport web-socket-js: a0fb3933ce5c824bcb882f5a1cf87e46de773ea8
Joel Martin [Sat, 17 Apr 2010 22:14:33 +0000 (17:14 -0500)]
Import web-socket-js: a0fb3933ce5c824bcb882f5a1cf87e46de773ea8

web-socket-js is a flash based WebSockets emulator.

From: http://github.com/gimite/web-socket-js

14 years agoReassemble partial client packets in wsproxy.py
Joel Martin [Fri, 16 Apr 2010 21:34:19 +0000 (16:34 -0500)]
Reassemble partial client packets in wsproxy.py

14 years agoAssemble partial received frames.
Joel Martin [Fri, 16 Apr 2010 20:53:59 +0000 (15:53 -0500)]
Assemble partial received frames.

Apparently both native and flash WebSockets implementations can send
partial packets.

14 years agoAdd WebSockets test frontend and backend.
Joel Martin [Fri, 16 Apr 2010 18:58:08 +0000 (13:58 -0500)]
Add WebSockets test frontend and backend.

14 years agoRemove uneeded mootools functions and used compressed version.
Joel Martin [Thu, 15 Apr 2010 17:28:53 +0000 (12:28 -0500)]
Remove uneeded mootools functions and used compressed version.

14 years agoClarify DES code origination.
Joel Martin [Thu, 15 Apr 2010 16:14:42 +0000 (11:14 -0500)]
Clarify DES code origination.

14 years agoSwitch to MPL/GPL base64 from Mozilla.
Joel Martin [Thu, 15 Apr 2010 16:01:40 +0000 (11:01 -0500)]
Switch to MPL/GPL base64 from Mozilla.

- Also slightly better performance.

14 years agoUpdate TODO and small perf cleanups.
Joel Martin [Thu, 15 Apr 2010 15:16:30 +0000 (10:16 -0500)]
Update TODO and small perf cleanups.

14 years agoAdd cut and paste support.
Joel Martin [Thu, 15 Apr 2010 06:40:03 +0000 (01:40 -0500)]
Add cut and paste support.

- A textarea below the VNC area represents the state of the current
  VNC clipboard. If there is a server cut event, the textarea will be
  updated. If the user updates the contents of the textarea, the new
  data will be sent as a client paste (cut) event.

- One important change was to detect if the clipboard is focused and
  allow the user to type in the clipboard instead of in the VNC area.

14 years agoIn TODO: RRE framing bug fixed in prev refactor.
Joel Martin [Thu, 15 Apr 2010 04:42:38 +0000 (23:42 -0500)]
In TODO: RRE framing bug fixed in prev refactor.

14 years agoRefactor FBU.bytes handling to simplify.
Joel Martin [Thu, 15 Apr 2010 04:41:12 +0000 (23:41 -0500)]
Refactor FBU.bytes handling to simplify.

- raw encoding displays horizontal lines as they arrive for better
  feedback and less time hanging waiting for something.

14 years agostop routine stops mouseMove events too.
Joel Martin [Thu, 15 Apr 2010 04:40:29 +0000 (23:40 -0500)]
stop routine stops mouseMove events too.

14 years agoNote WSS/SSL and C wsproxy in TODO.
Joel Martin [Wed, 14 Apr 2010 18:33:27 +0000 (13:33 -0500)]
Note WSS/SSL and C wsproxy in TODO.