- 10 Dec, 2010 1 commit
-
-
Joel Martin authored
Rename the $() selector to $D() so that it doesn't collide with the jQuery name. The API change is that the 'target' option for Canvas and RFB objects must now be a DOM Canvas element. A string is no longer accepted because this requires that a DOM lookup is done and the Canvas and RFB should have no UI code in them. Modularity.
-
- 03 Dec, 2010 1 commit
-
-
Joel Martin authored
wswrapper.so is LD_PRELOAD shared library that interposes and turns a generic TCP socket into a WebSockets service. This current version works but will only allow work for a single connection, subsequent connections will not be wrapped. In addition the wrapper interposes on the first incoming network connection. It should read an environment variable to determine the port to interpose on. Also, should limit origin based on another environment variable. Then there should be a wswrap setup script that allows easier invocation.
-
- 15 Nov, 2010 1 commit
-
-
Joel Martin authored
Only call encode_message when the WebSockets object is actually ready to send. Otherwise multiple base64 encode sequences can be encoded into the same WebSockets frame. This causes the C version of wsproxy to crash and the python version to ignore the subsequent base64 sequence(s). Thanks to Colin Dean (xvpsource.org) for finding this and helping track it down.
-
- 10 Nov, 2010 1 commit
-
-
Joel Martin authored
And DefaultControls to UI.
-
- 09 Nov, 2010 1 commit
-
-
Joel Martin authored
- Add meta tag to vnc.html and vnc_auto.html so that if Chrome Frame is installed, it is used. - Add detection to default_controls.js that shows a message with a Chrome Frame install link if the user is using a version of IE without Canvas support. - Fix web.py so that requests have their connection closed after they are completed. This has been a bug for a while but it prevents Chrome Frame from working because Chrome Frame doesn't activate until the initial request connection closes.
-
- 08 Nov, 2010 2 commits
-
-
Joel Martin authored
- Also, discovered node.js bug in base64 decoding. Added test case and filed https://github.com/ry/node/issues/issue/402
-
Joel Martin authored
Node: http://nodejs.org/ https://github.com/ry/node It mostly works, but it eventually gets an error from the target which is probably due to missing support for re-assembly of client WebSockets frames.
-
- 06 Nov, 2010 7 commits
-
-
Joel Martin authored
-
Joel Martin authored
- With a strict doctype, the margin size needs a "px" suffix.
-
Joel Martin authored
This is WebKit bug https://bugs.webkit.org/show_bug.cgi?id=46319 The workaround is to wrap Canvas render functions with a function that sets a flush timer. The flush function sets the right margin and then 1ms later sets it back. This triggers the canvas to redraw with the correct contents. Two downsides: - rendering is slower, but only on the busted versions of webkit. Correct and useful is better than fast and useless. - There is a barely perceptible jitter of the control buttons because the canvas size is changing by one pixel. To support this functionality, we also have to read out the exact webkit version from the user agent in the render engine detection code in include/util.js.
-
Joel Martin authored
- Make sure that canvas exists (i.e. didn't throw an error) before trying to call canvas method get_canvas_uri. - Typos in HTML render engine debug output.
-
Joel Martin authored
If only --cert is specified then continue to assume both certificate and key are in the same file (key first).
-
Joel Martin authored
-
François Revol authored
- pass CFLAGS and LDFLAGS in case one needs to use -m32 - link to libcrypto for _ERR_print_errors_fp - __THROW is non-standard define it to nothing by default - use b64_ntop and b64_pton instead of mangled versions, OSX doesn't mangle them in the same way - access() takes two arguments! Signed-off-by: François Revol <revol@free.fr>
-
- 28 Oct, 2010 4 commits
-
-
Joel Martin authored
- Split out ClientInitialisation state. - In version 3.3 and 3.7, when the server has no auth (scheme 1), then we should skip from Authentication to ClientInitialisation.
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
- Add wsproxy README.md in utils/ directory. - Document how to build ssl module for python 2.5 and older in wsproxy README. - Update browsers.md to note revision that have the webkit Canvas rendering bug: WebKit build 66396 through 68867 (Chrome/Chromium build 57968 through 61278).
-
- 24 Oct, 2010 1 commit
-
-
Joel Martin authored
If shared mode is false, then the server should disconnect other connections before the current connection is allowed to proceed.
-
- 18 Oct, 2010 1 commit
-
-
Joel Martin authored
- Style caching gives a small performance speedup in firefox, but not much. Might not be worth complexity, but leave it in for now.
-
- 14 Oct, 2010 2 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
- 10 Oct, 2010 1 commit
-
-
Joel Martin authored
-
- 04 Oct, 2010 1 commit
-
-
Joel Martin authored
-
- 01 Oct, 2010 1 commit
-
-
Joel Martin authored
- rQwait checks the receive queue to see if there is enough data to satisfy the following request. If not it returns true (which is almost always translated into an immediate return false by the caller). - rQwait is called quite a bit and this generally allows 4 lines to become 1 line where it is called. - rQwait allows simplification of cuttext processing. No global tracking needed anymore. Overall, about 60 lines less code.
-
- 30 Sep, 2010 1 commit
-
-
Joel Martin authored
DES is just used once during authentication and is not performance sensitive so we save some space by generating and/or removing some lookup tables. Also, shorten some very frequently used variables. Shaves off about 100 lines.
-
- 29 Sep, 2010 4 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
Antoine Mercadal authored
- util.js that contains essential functions - webutils.js that contains the GUI utility function.js this helps to include noVNC in other project, especially Cappuccino Application i
-
Joel Martin authored
The decrypt functionality is never used so remove it. Also, we can assume that we are always DES encrypting 16 characters which allows several things to be simplified in DES. Overall this removes about 80 lines of code.
-
- 25 Sep, 2010 1 commit
-
-
Joel Martin authored
- include/rfb.js: Keep track of the number of rects of each encoding type and print them out when we close a connection (if 'info' logging level). - tests/vnc_perf.html: first pass at a noVNC based performance benchmark. - utils/wsproxy.py: Fix the output of the record filename.
-
- 24 Sep, 2010 5 commits
-
-
Joel Martin authored
Read the render mode selected by canvas and report it in the initial page loaded status message.
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
- 23 Sep, 2010 4 commits
-
-
Joel Martin authored
- include/util.js: Add type and desc field to conf_default routine. Make comment descriptions of settings into desc parameters that can be queried. Also, use set_FOO in conf_default to set or coerce the current setting so that we always have the right type for the value. - include/rfb.js, include/default_config.js: add connectTimeout setting to address situations with slow connections that may need more than 2 seconds.
-
Joel Martin authored
Yet another weird VNC server behavior: sending a failure and length before the reason message. To calculated the length, the reason string is already available, why not just send everything as one packet. Oh well.
-
Joel Martin authored
- include/canvas.js: When 'debug' logging, show browser detection values. - test/canvas.html: Only restore the canvas to it's starting state if the logging level is not 'debug'. - wsproxy.py: Append the session number to the record filename so that multiple sessions don't stomp on each other.
-
Joel Martin authored
Update the browser detection code (from mootools) with a fix that detects firefox 4.0 correctly.
-