]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
10 years agoImplement XVP extension (shutdown/reboot/reset)
Malcolm Scott [Sat, 28 Sep 2013 18:24:54 +0000 (19:24 +0100)]
Implement XVP extension (shutdown/reboot/reset)

10 years agoImplement XVP auth
Malcolm Scott [Sat, 28 Sep 2013 16:32:37 +0000 (17:32 +0100)]
Implement XVP auth

10 years agoMerge pull request #327 from devicenull/master
Solly [Mon, 10 Feb 2014 22:21:29 +0000 (17:21 -0500)]
Merge pull request #327 from devicenull/master

Add support for connecting to TightVNC servers

10 years agoMerge pull request #336 from samhed/removeConnectionTimeout
Samuel [Fri, 7 Feb 2014 09:15:04 +0000 (10:15 +0100)]
Merge pull request #336 from samhed/removeConnectionTimeout

Remove the connection timeouts

10 years agoRemoves the connection timeouts to enable slower clients, connections or servers.
samhed [Thu, 6 Feb 2014 15:08:00 +0000 (16:08 +0100)]
Removes the connection timeouts to enable slower clients, connections or servers.

10 years agoAdd support for TightVNC auth type
Brian Rak [Fri, 31 Jan 2014 00:20:41 +0000 (19:20 -0500)]
Add support for TightVNC auth type

10 years agoMerge pull request #329 from Medical-Insight/fix-shift-chars
Solly [Mon, 13 Jan 2014 21:01:16 +0000 (13:01 -0800)]
Merge pull request #329 from Medical-Insight/fix-shift-chars

Fixes #326: correct handling of shift key

10 years agoFix issue #326: correct handling of shift key
Jesper Dam [Mon, 6 Jan 2014 12:59:25 +0000 (13:59 +0100)]
Fix issue #326: correct handling of shift key

When shortcut modifiers (modifier keys such as CTRL, which do not participate in
composing character input) are pressed, we try to suppress the keypress
event, as browsers do not reliably generate it. This means that
subsequent key events are decoded only based on the keydown event.

Due to a type error (comparing a string to a number), shift was
mistakenly treated as a shortcut modifier, preventing text input which
relied on shift, such as _ and %, from being generated.

10 years agoSupport 'requires' Line in Test Runner
Solly Ross [Tue, 17 Dec 2013 23:00:57 +0000 (18:00 -0500)]
Support 'requires' Line in Test Runner

If the files passed to the '-t' option are all '.js' files (or
the 'run all tests' option is used) and the '-i' option is not
passed, all tests will be search for the string
'require local modules: '.  Only the first instance of this string
will be used.  Following the colon should be a list of either local
modules (i.e. files in the '../include/' folder relative to the
test runner's directory, without the '.js' extension) or paths
to other Javascript files.  The list of modules and/or files should
be comma-separated.  These files will then be included in the generated
HTML file for the appropriate tests as if the '-i' option had been used.

10 years agoSupport Running All Tests
Solly Ross [Tue, 17 Dec 2013 23:00:45 +0000 (18:00 -0500)]
Support Running All Tests

Now, if the '-t' option is passed but no tests are listed,
all tests in the same directory as the launcher will be run.
A file is considered a test if it matches the RegEx
/^test\.(\w|\.|-)+\.js$/ (for those who cannot read PCRE,
that's roughly 'test.*.js').

10 years agoSupport Skipped Tests and Fix JSHint Issues
Solly Ross [Tue, 17 Dec 2013 22:56:18 +0000 (17:56 -0500)]
Support Skipped Tests and Fix JSHint Issues

The test runner now will not break when Mocha skips tests,
and will properly report them.  Additionally, several JSHint
warnings were fixed, and a `--debug` option was added to see
output from the provider.

10 years agoKeyboard Handling [8/8]: Introduce substituteCodepoint() to replace code points which...
jalf [Wed, 27 Nov 2013 12:50:53 +0000 (13:50 +0100)]
Keyboard Handling [8/8]: Introduce substituteCodepoint() to replace code points which don't have a keysym with ones that do

For now, the only code points this is done for are {s, S, t, T} with comma below (used in Romanian),
 which are replaced by {s, S, t, T} Cedilla.

10 years agoKeyboard Handling [7/8]: Replace keysym table with optimized version
jalf [Wed, 27 Nov 2013 14:38:20 +0000 (15:38 +0100)]
Keyboard Handling [7/8]: Replace keysym table with optimized version

Regenerate the keysymdef table without -d.

This eliminates keysym names, which are only used for debugging, and shaves ~40kb off the file size

10 years agoKeyboard Handling [6/8]: Update everything to include the new keyboard handling scripts
jalf [Wed, 27 Nov 2013 14:24:05 +0000 (15:24 +0100)]
Keyboard Handling [6/8]: Update everything to include the new keyboard handling scripts

10 years agoKeyboard Handling [5/8]: Update rfb.js to connect mouse events to keyboard handler
jalf [Wed, 27 Nov 2013 14:20:08 +0000 (15:20 +0100)]
Keyboard Handling [5/8]: Update rfb.js to connect mouse events to keyboard handler

This allows the keyboard handler to check modifier key state much more frequently

Since some browsers never send keyup events for modifier keys, we have to
synchronize modifier state whenever we get a mouse or keyboard event

10 years agoKeyboard Handling [4/8]: Update input.html to work with new keyboard handling
jalf [Wed, 27 Nov 2013 14:17:32 +0000 (15:17 +0100)]
Keyboard Handling [4/8]: Update input.html to work with new keyboard handling

Plug new keyboard handling into input.js (which breaks everything else), and update input.html to work with this

10 years agoKeyboard Handling [3/8]: Add unit tests for new keyboard handling
jalf [Wed, 27 Nov 2013 14:14:41 +0000 (15:14 +0100)]
Keyboard Handling [3/8]: Add unit tests for new keyboard handling

Relies on the libraries chai and mocha (available via npm from Node.JS).

Add anything installed via npm to the .gitignore file.

10 years agoKeyboard Handling [2/8]: Core implementation of new keyboard handling
jalf [Wed, 27 Nov 2013 14:12:39 +0000 (15:12 +0100)]
Keyboard Handling [2/8]: Core implementation of new keyboard handling

Add keyboard.js, containing the actual keyboard event parsing code.

10 years agoKeyboard Handling [1/8]: Parse keysymdef.h to produce Unicode -> keysym mappings...
jalf [Wed, 27 Nov 2013 14:07:25 +0000 (15:07 +0100)]
Keyboard Handling [1/8]: Parse keysymdef.h to produce Unicode -> keysym mappings table

Add a node.js-based tool (utils/parse.js) to read keysymdef.h and produce a JavaScript file
mapping Unicode code points to keysyms.

Also add the generated table (include/keysymdef.js).

10 years agoAdd support for Outputting Autogenerated Test HTML
Solly Ross [Wed, 4 Dec 2013 20:39:20 +0000 (15:39 -0500)]
Add support for Outputting Autogenerated Test HTML

This commit introduces two flags, '-g' and '-o' to
the `run_from_console.js`.  Both flags do not run
the tests.  Instead, deal with the autogenerated
HTML.  The former outputs the paths to the autogenerated
HTML temp files, and then pauses the program until Ctrl-C
is pressed (or SIGINT is sent).  The latter outputs the
generated HTML for each files to STDIN with the names
of the tests to which they belong.

10 years agoMerge pull request #322 from DirectXMan12/master
Solly [Wed, 4 Dec 2013 19:09:54 +0000 (11:09 -0800)]
Merge pull request #322 from DirectXMan12/master

Support Running Mocha Tests from the Console

10 years agoSupport Running Mocha Tests from the Console
Solly Ross [Tue, 3 Dec 2013 20:33:34 +0000 (15:33 -0500)]
Support Running Mocha Tests from the Console

Previously, the only way to run the Mocha tests
(in 'test.*.js') is to write a web page to wrap
them (or use a provided one), and then load that
file in a browser.

This commit introduces a series of files to allow
you to run the Mocha tests from the command line
instead.

Normally, Mocha tests can be run from
the command line anyway.  However, since this
project was designed to work in web browsers
and not node, the code doesn't contain the
proper `require` calls, nor does it contain the
proper `module.exports` declarations.  Additionally,
some of the code is dependent on having a browser
environment.

To overcome these issues, a headless browser environment
is used.  The command file introduced in the commit,
`run_from_console.js`, can use one of two environments:
ZombieJS, a pure-javascript headless browser simulator, or
SpookyJS/CasperJS/PhantomJS, an actually WebKit-based
environment.

Because the environment-dependent code is separated
out in to different files ('run_from_console.zombie.js'
and 'run_from_console.casper.js'), the program can be
safely used if only one of the supported environments
is installed.

Additionally, the command will automatically generate
HTML and inject the required tests if there is no
pre-existing HTML file (although you can still use
pre-existing HTML files if you want to).

The required NPM modules for the base program are:

- commander
- ansi
- mocha (must be installed locally for the HTML files to use)
- chai (must be installed locally for the HTML files to use)
- temp

For Zombie, you need:

- zombie
- q

For Casper, you need:

- casperjs (must be installed locally in order to work properly)
- phantomjs
- phantom
- spooky

The command itself can be invoked as

   $ node run_from_console.js -t html_files

or

   $ node run_from_console.js -t js_test_files -i js_required_files

In both cases, the 'files' options should be a comma-separated list of
files.  The first case runs pre-existing HTML files.  The second case
generates HTML files to run the specified Mocha tests, and injects
the requirements specified as well.

Additionally, there are extra arguments that apply to both forms:
'-a' can be used to print all test results, not just the failures,
'-c' may be used to force color to be enabled (when outputting to
a pipe, such as when `less -R` is in use), and '-e' is used to
set the environment.  Use the '-h' or '--help' options to see
a detailed description of all options, and their long-form versions.

10 years agoFix to relfect new github.io page base URL.
Joel Martin [Tue, 29 Oct 2013 19:38:24 +0000 (14:38 -0500)]
Fix to relfect new github.io page base URL.

10 years agoMerge pull request #317 from dosaboy/bugs/add_secure_property_to_token_cookie
Joel Martin [Tue, 29 Oct 2013 14:19:23 +0000 (07:19 -0700)]
Merge pull request #317 from dosaboy/bugs/add_secure_property_to_token_cookie

Adds 'secure' property to 'token' cookie

10 years agoAdds support for secure attribute on token cookie
Takashi Natsume [Mon, 28 Oct 2013 12:02:30 +0000 (12:02 +0000)]
Adds support for secure attribute on token cookie

This patch adds support for the secure attribute on token
cookies (sent by nova-novncproxy). If the https is used
to transfer the cookie, the secure attribute is set thus
restricting server requestes to secure conections only.
This should prevent man-in-the-middle attacks.

10 years agoREADME: add core team and other cleanup.
Joel Martin [Mon, 28 Oct 2013 21:01:40 +0000 (16:01 -0500)]
README: add core team and other cleanup.

- Make the ProjectsCompanies-using-noVNC the canonical source for
  companies/project using noVNC and only give a brief summary here.

- Drop the personal Amazon donate/thanks link. Keep the charities and
  ask for a tweet if so.

10 years agoMerge branch 'master' of github.com:kanaka/noVNC
Joel Martin [Fri, 11 Oct 2013 19:27:12 +0000 (14:27 -0500)]
Merge branch 'master' of github.com:kanaka/noVNC

10 years agoMerge pull request #284 from samhed/ctrlalttabesc
Samuel [Fri, 11 Oct 2013 15:21:59 +0000 (08:21 -0700)]
Merge pull request #284 from samhed/ctrlalttabesc

Support for extra keys such as Ctrl, Alt, Tab and Esc on mobile devices

10 years agoMerge branch 'master' of https://github.com/kanaka/noVNC into ctrlalttabesc
samhed [Fri, 11 Oct 2013 15:20:49 +0000 (17:20 +0200)]
Merge branch 'master' of https://github.com/kanaka/noVNC into ctrlalttabesc

Conflicts:
include/ui.js
vnc.html

10 years agoMerge pull request #282 from samhed/framebufferupdate
Samuel [Thu, 10 Oct 2013 09:45:08 +0000 (02:45 -0700)]
Merge pull request #282 from samhed/framebufferupdate

Allow higher frame rates by using a new approach for framebufferUpdate requests

10 years agoFix so that parentheses can be written from iOS devices.
samhed [Wed, 9 Oct 2013 09:35:43 +0000 (11:35 +0200)]
Fix so that parentheses can be written from iOS devices.
    * changed the type of the input field (which is used for bringing up the
      on-screen keyboards on touch devices) from email to text
    * when typing in an input field of type email the user is not allowed to
      write parentheses on iOS devices, the keys are disabled.
    * tested on iOS 6, iOS 7 and Android 4.3.

10 years agoMerge pull request #304 from samhed/localcursor
Samuel [Wed, 9 Oct 2013 08:44:41 +0000 (01:44 -0700)]
Merge pull request #304 from samhed/localcursor

Enables local cursor by default

10 years agoMerge pull request #303 from retr0h/https-first
Samuel [Wed, 9 Oct 2013 08:38:55 +0000 (01:38 -0700)]
Merge pull request #303 from retr0h/https-first

The https check should come first.

10 years agoMerge pull request #308 from samhed/autoconnect
Joel Martin [Fri, 4 Oct 2013 20:29:24 +0000 (13:29 -0700)]
Merge pull request #308 from samhed/autoconnect

Autoconnect option as URL query

10 years agoMerge pull request #301 from samhed/chromkeyboard
Joel Martin [Fri, 4 Oct 2013 20:17:47 +0000 (13:17 -0700)]
Merge pull request #301 from samhed/chromkeyboard

Fixes the onscreen keyboard in Chrome on Android

10 years agoAutoconnect option as URL query
samhed [Fri, 4 Oct 2013 15:59:03 +0000 (17:59 +0200)]
Autoconnect option as URL query

11 years agoOn touch devices the default should be to use a remote cursor.
samhed [Tue, 24 Sep 2013 09:19:17 +0000 (11:19 +0200)]
On touch devices the default should be to use a remote cursor.

11 years agoEnables local cursor by default.
samhed [Mon, 23 Sep 2013 09:48:16 +0000 (11:48 +0200)]
Enables local cursor by default.

11 years agoRemoved trailing white space terds
John Dewey [Sat, 21 Sep 2013 19:19:59 +0000 (12:19 -0700)]
Removed trailing white space terds

11 years agoThe https check should come first
John Dewey [Sat, 21 Sep 2013 19:19:09 +0000 (12:19 -0700)]
The https check should come first

A similar change was made to ui.js in #252.

11 years agoCatch input events to make the onscreen keyboard work in chrome on android.
samhed [Tue, 17 Sep 2013 13:01:52 +0000 (15:01 +0200)]
Catch input events to make the onscreen keyboard work in chrome on android.

11 years agoAdded a new file for the key symbols, using the well recognized names for the constan...
samhed [Fri, 30 Aug 2013 13:41:46 +0000 (15:41 +0200)]
Added a new file for the key symbols, using the well recognized names for the constants from X11:
* The list is found in /usr/include/X11/keysymdef.h
* I did only include the most common symbols for now..

11 years agoAdded variables for the keysums to make the code easier to read.
samhed [Thu, 29 Aug 2013 15:35:22 +0000 (17:35 +0200)]
Added variables for the keysums to make the code easier to read.

11 years ago* Removed fbu-requests from the places I missed earlier.
samhed [Thu, 29 Aug 2013 11:38:12 +0000 (13:38 +0200)]
* Removed fbu-requests from the places I missed earlier.
* Added a few clarifying comments.

11 years agoMerge pull request #285 from glance-/rfb_js_fixes
Joel Martin [Mon, 26 Aug 2013 19:15:55 +0000 (12:15 -0700)]
Merge pull request #285 from glance-/rfb_js_fixes

Rfb js fixes

11 years agoclearTimeout instead of clearInterval for timers
Anton Lundin [Fri, 2 Aug 2013 07:56:15 +0000 (09:56 +0200)]
clearTimeout instead of clearInterval for timers

We create timeouts, not intervals. Then we need to clear them with
clearTimeout.

11 years agoMerge pull request #269 from phildriscoll/master
Joel Martin [Wed, 31 Jul 2013 15:35:02 +0000 (08:35 -0700)]
Merge pull request #269 from phildriscoll/master

Fix to onMouseDisable

11 years agoSwitched from using a list to absolute positions to achieve more
samhed [Thu, 25 Jul 2013 13:34:16 +0000 (15:34 +0200)]
Switched from using a list to absolute positions to achieve more
consistant behavior across different browsers.

11 years agoTweaked the media sizing rules to match the new buttons to the left.
samhed [Thu, 25 Jul 2013 12:05:52 +0000 (14:05 +0200)]
Tweaked the media sizing rules to match the new buttons to the left.

11 years agoAdded the extra keys Ctrl, Alt, Tab and Esc to the control bar.
samhed [Thu, 25 Jul 2013 10:49:37 +0000 (12:49 +0200)]
Added the extra keys Ctrl, Alt, Tab and Esc to the control bar.

11 years agoAdded new images for the extra keys
samhed [Thu, 25 Jul 2013 10:48:44 +0000 (12:48 +0200)]
Added new images for the extra keys

11 years agoMerge branch 'master' of https://github.com/kanaka/noVNC into framebufferupdate
samhed [Wed, 24 Jul 2013 08:55:21 +0000 (10:55 +0200)]
Merge branch 'master' of https://github.com/kanaka/noVNC into framebufferupdate

11 years agoMerge pull request #272 from samhed/doubleclick
Joel Martin [Tue, 23 Jul 2013 15:45:47 +0000 (08:45 -0700)]
Merge pull request #272 from samhed/doubleclick

Allow for double taps to trigger double clicks even if the second touch is a slight bit off

11 years agoMerge pull request #283 from samhed/nomousedrag
Joel Martin [Tue, 23 Jul 2013 15:43:31 +0000 (08:43 -0700)]
Merge pull request #283 from samhed/nomousedrag

Fixed so that viewportDrag works even if no mouse button is selected.

11 years agoFixed so that viewportDrag works even if no mouse button is selected.
samhed [Tue, 23 Jul 2013 12:26:11 +0000 (14:26 +0200)]
Fixed so that viewportDrag works even if no mouse button is selected.

11 years agoMake noVNC follow the RFB protocol and keep only one outstanding
samhed [Mon, 22 Jul 2013 13:46:59 +0000 (15:46 +0200)]
Make noVNC follow the RFB protocol and keep only one outstanding
framebufferUpdate request at a time.

11 years agoMerge branch 'master' of https://github.com/kanaka/noVNC into doubleclick
samhed [Fri, 19 Jul 2013 07:47:47 +0000 (09:47 +0200)]
Merge branch 'master' of https://github.com/kanaka/noVNC into doubleclick

11 years agoMerge pull request #276 from samhed/screenrealestate
Joel Martin [Thu, 18 Jul 2013 16:58:02 +0000 (09:58 -0700)]
Merge pull request #276 from samhed/screenrealestate

Improved use of screen real estate

11 years agoMerge pull request #280 from samhed/documenttitle
Joel Martin [Thu, 18 Jul 2013 16:52:36 +0000 (09:52 -0700)]
Merge pull request #280 from samhed/documenttitle

Display the desktop name in the document title

11 years agoDisplay the desktop name in the document title
samhed [Thu, 18 Jul 2013 13:51:23 +0000 (15:51 +0200)]
Display the desktop name in the document title

11 years agoAdded Copyright information to all modified files.
samhed [Wed, 17 Jul 2013 14:44:13 +0000 (16:44 +0200)]
Added Copyright information to all modified files.

11 years ago* On low resolution devices the status text is now justified to the left
samhed [Wed, 17 Jul 2013 14:11:19 +0000 (16:11 +0200)]
* On low resolution devices the status text is now justified to the left
  button group instead of centered.
* On low resolution devices the padding towards the edges of the screen of
  the left and right button groups are now removed.
* Since the status_bar was merged into the control-bar the actual status_bar
  element became redundant and was therefor removed.
* Improved the style of the control-bar when there is an error or a warning.
* Implemented a fix so that vnc_auto.html works as intended with the improved
  screen real estate patch.

11 years agoMoved the popup_status_panel to the front.
samhed [Fri, 12 Jul 2013 12:41:57 +0000 (14:41 +0200)]
Moved the popup_status_panel to the front.

11 years agoChanged the color and weight of the status text to white and bold.
samhed [Fri, 12 Jul 2013 09:47:41 +0000 (11:47 +0200)]
Changed the color and weight of the status text to white and bold.

11 years agoImproved comments
samhed [Thu, 11 Jul 2013 10:37:01 +0000 (12:37 +0200)]
Improved comments

11 years ago* Changed the trigger distance between touches from 50 to 20.
samhed [Mon, 8 Jul 2013 15:10:04 +0000 (17:10 +0200)]
* Changed the trigger distance between touches from 50 to 20.
* The trigger distance now takes devicePixelRatio into account.

11 years agoLimited the double click fix to touch devices.
samhed [Wed, 3 Jul 2013 12:41:09 +0000 (14:41 +0200)]
Limited the double click fix to touch devices.

11 years agoMade the control bar thinner by removing the space below and above the control buttons.
Samuel Mannehed [Fri, 28 Jun 2013 14:28:11 +0000 (16:28 +0200)]
Made the control bar thinner by removing the space below and above the control buttons.

11 years agoRemoved duplicate of .noVNC_status_warn from the stylesheet.
Samuel Mannehed [Fri, 28 Jun 2013 13:32:37 +0000 (15:32 +0200)]
Removed duplicate of .noVNC_status_warn from the stylesheet.

11 years agoMerged the control-bar and the status-bar together.
Samuel Mannehed [Fri, 28 Jun 2013 12:44:58 +0000 (14:44 +0200)]
Merged the control-bar and the status-bar together.
Also added a popup with the status text.

11 years agoto make double clicking on touch devices easier a double click is now triggered when...
Samuel Mannehed [Tue, 25 Jun 2013 15:45:43 +0000 (17:45 +0200)]
to make double clicking on touch devices easier a double click is now triggered when two mouse clicks occur within 500 milli seconds and closer than 50 pixels together

11 years agoFix onMouseDisable so that clicks outside the canvas are propagated
Phil Driscoll [Thu, 13 Jun 2013 10:10:04 +0000 (11:10 +0100)]
Fix onMouseDisable so that clicks outside the canvas are propagated

11 years agoSync with websockify.
Joel Martin [Thu, 25 Apr 2013 14:52:10 +0000 (09:52 -0500)]
Sync with websockify.

Pull in websockify 4725aa7.

- Update to c0855c6cae of web-socket-js

- Update both the submodule and the swf build. The submodule now
  contains the unobfuscated source for swfobject.js which should make
  websockify more DFSG compliant.

- Remove Hixie support. iOS 6 now includes HyBi support which means
  there is no remaining platform that needs Hixie.

11 years agoMerge pull request #252 from astrand/port-80-443
Joel Martin [Thu, 25 Apr 2013 13:14:47 +0000 (06:14 -0700)]
Merge pull request #252 from astrand/port-80-443

Re-fix pull req #245:

11 years agoRe-fix pull req #245:
Peter Åstrand (astrand) [Thu, 25 Apr 2013 07:07:09 +0000 (09:07 +0200)]
Re-fix pull req #245:

* Must declare port variable.

* Must look for https first, then http.

11 years agoMerge pull request #245 from wrouesnel/vnc-auto-fix
Joel Martin [Tue, 23 Apr 2013 16:19:59 +0000 (09:19 -0700)]
Merge pull request #245 from wrouesnel/vnc-auto-fix

Detect port properly in vnc_auto.html when used on port 80 or 443.

11 years agoUse port in UI.initSetting in include/ui.js
Will Rouesnel [Tue, 23 Apr 2013 04:32:02 +0000 (14:32 +1000)]
Use port in UI.initSetting in include/ui.js

Because apparently it is simple enough for me to forget to include in the previous commit.

11 years agoAdd default port logic to include/ui.js
Will Rouesnel [Mon, 22 Apr 2013 10:07:20 +0000 (20:07 +1000)]
Add default port logic to include/ui.js

Correctly identifies the use of http/https and forces the value of port to 80 and 443
respectively, as in this situation window.location.port is blank.

This is patch includes the same changes as made in vnc_auto.html

11 years agorfb.js: set FBU.bytes before waiting from RRE.
Joel Martin [Wed, 17 Apr 2013 14:34:33 +0000 (09:34 -0500)]
rfb.js: set FBU.bytes before waiting from RRE.

Also, in COPYRECT, set FBU.bytes to the number we know we will need.

11 years agoMerge pull request #249 from Medical-Insight/copy-rect-bytes
Joel Martin [Tue, 16 Apr 2013 18:18:23 +0000 (11:18 -0700)]
Merge pull request #249 from Medical-Insight/copy-rect-bytes

Set FBU.bytes to 1 in encHandlers.COPYRECT

11 years agoSet FBU.bytes to 1 in encHandlers.COPYRECT
Vagn Johansen [Tue, 16 Apr 2013 17:17:50 +0000 (19:17 +0200)]
Set FBU.bytes to 1 in encHandlers.COPYRECT

FBU.bytes must be set before return false to indicate that the FBU
header has been read. If not set then "if (FBU.bytes == 0) { ..}"
in framebufferUpdate will be entered and the copyrect header will
be interpreted as a new FBU leading to a "unsupported encoding"
disconnect error.

11 years agoRemove references to wsproxy.
Joel Martin [Mon, 15 Apr 2013 17:22:34 +0000 (12:22 -0500)]
Remove references to wsproxy.

Also, update nova-novncproxy to import websockify instead of wsproxy.

11 years agoDetect port properly in vnc_auto.html when used on port 80 or 443.
Will Rouesnel [Sat, 13 Apr 2013 08:45:56 +0000 (18:45 +1000)]
Detect port properly in vnc_auto.html when used on port 80 or 443.

Browsers (such as Chrome) don't report port numbers in window.location.port when
used on standard ports such as 80 and 443. This causes vnc_auto.html to not
automatically find the port as it should.

This simple change checks if window.location.port is blank, and sets port as
appropriate from the name of the protocol in use.

11 years agoAdd gimite/web-socket-js submodule for DFSG compliance.
Joel Martin [Fri, 12 Apr 2013 13:19:44 +0000 (08:19 -0500)]
Add gimite/web-socket-js submodule for DFSG compliance.

11 years agoMerge pull request #244 from djipko/common_conf_to_oslo_conf
Joel Martin [Mon, 8 Apr 2013 17:32:03 +0000 (10:32 -0700)]
Merge pull request #244 from djipko/common_conf_to_oslo_conf

Import cfg from oslo in nova-novncproxy

11 years agoImport cfg from oslo in nova-novncproxy
Nikola Dipanov [Mon, 8 Apr 2013 13:42:56 +0000 (15:42 +0200)]
Import cfg from oslo in nova-novncproxy

Upstram OpenStack Nova package has moved the config engine into a
separate package. Mirror that change in the novnc script.

11 years agoMerge pull request #241 from astrand/html-cleanup
Joel Martin [Fri, 5 Apr 2013 13:46:52 +0000 (06:46 -0700)]
Merge pull request #241 from astrand/html-cleanup

Minimize differences between vnc.html and vnc_auto.html

11 years agoSync more header meta stuff from vnc.html:
Peter Åstrand (astrand) [Fri, 5 Apr 2013 07:30:10 +0000 (09:30 +0200)]
Sync more header meta stuff from vnc.html:

* UTF-8 charset defintition.

* Define IE=edge for X-UA-Compatible.

* Add Apple iOS Safari settings.

11 years agoMove over comment about URL connect parameters from vnc_auto.html.
Peter Åstrand (astrand) [Fri, 5 Apr 2013 07:29:08 +0000 (09:29 +0200)]
Move over comment about URL connect parameters from vnc_auto.html.

11 years agoFix typo:
Peter Åstrand (astrand) [Fri, 5 Apr 2013 07:22:19 +0000 (09:22 +0200)]
Fix typo:

names="apple-mobile-web-app-status-bar-style"

should be:

name="apple-mobile-web-app-status-bar-style"

11 years agoMerge pull request #239 from astrand/html-cleanup
Joel Martin [Thu, 4 Apr 2013 14:22:37 +0000 (07:22 -0700)]
Merge pull request #239 from astrand/html-cleanup

Tweak order/whitespace/style to match vnc.html more closely.

11 years agoTweak order/whitespace/style to match vnc.html more closely. No
Peter Åstrand (astrand) [Wed, 3 Apr 2013 13:54:49 +0000 (15:54 +0200)]
Tweak order/whitespace/style to match vnc.html more closely. No
functional changes.

11 years agoMerge pull request #225 from Medical-Insight/crlf-to-lf
Joel Martin [Thu, 31 Jan 2013 14:58:33 +0000 (06:58 -0800)]
Merge pull request #225 from Medical-Insight/crlf-to-lf

Consistent Unix line endings

11 years agoConverted to unix line endings
jalf [Tue, 3 Jul 2012 08:57:08 +0000 (10:57 +0200)]
Converted to unix line endings

11 years agoCapture mouse events and filter irrelevant ones
jalf [Wed, 30 Jan 2013 10:48:33 +0000 (11:48 +0100)]
Capture mouse events and filter irrelevant ones

11 years agoListen for mouseup events from window as well as target element
jalf [Tue, 22 Jan 2013 11:51:23 +0000 (12:51 +0100)]
Listen for mouseup events from window as well as target element

Pressing an holding a mouse button and then moving the mouse out of the
canvas before releasing meant that onmouseup was never triggered.

11 years agoClamp mouseclick coordinates to target element bounds
jalf [Tue, 29 Jan 2013 16:06:03 +0000 (17:06 +0100)]
Clamp mouseclick coordinates to target element bounds

11 years agoMerge pull request #220 from vaj/keyinput
Joel Martin [Mon, 24 Dec 2012 05:09:16 +0000 (21:09 -0800)]
Merge pull request #220 from vaj/keyinput

Ctrl+'-' won't work on a US keyboad with the latest Firefox.

11 years agoCtrl+'-' won't work on a US keyboad with Firefox.
Hirokazu Takahashi [Sun, 23 Dec 2012 09:32:28 +0000 (18:32 +0900)]
Ctrl+'-' won't work on a US keyboad with Firefox.
Firefox 17 generates 173 as the keycode for the minus key.

11 years agoMerge pull request #216 from komawar/config-module
Joel Martin [Fri, 30 Nov 2012 19:58:50 +0000 (11:58 -0800)]
Merge pull request #216 from komawar/config-module

Changed the config module which includes CONF