John Dewey
82744aa8ee
Removed trailing white space terds
2013-09-21 12:19:59 -07:00
John Dewey
eb955f8c20
The https check should come first
...
A similar change was made to ui.js in #252 .
2013-09-21 12:19:09 -07:00
samhed
968431dd46
Catch input events to make the onscreen keyboard work in chrome on android.
2013-09-17 15:01:52 +02:00
samhed
b4a979a07e
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..
2013-08-30 15:41:46 +02:00
samhed
04d6a8347f
Added variables for the keysums to make the code easier to read.
2013-08-29 17:35:22 +02:00
samhed
76e262134e
* Removed fbu-requests from the places I missed earlier.
...
* Added a few clarifying comments.
2013-08-29 13:38:12 +02:00
Joel Martin
3cb89f5a14
Merge pull request #285 from glance-/rfb_js_fixes
...
Rfb js fixes
2013-08-26 12:15:55 -07:00
Anton Lundin
c39df031d8
clearTimeout instead of clearInterval for timers
...
We create timeouts, not intervals. Then we need to clear them with
clearTimeout.
2013-08-02 09:58:15 +02:00
Joel Martin
292f6a5da7
Merge pull request #269 from phildriscoll/master
...
Fix to onMouseDisable
2013-07-31 08:35:02 -07:00
samhed
bd88b94393
Switched from using a list to absolute positions to achieve more
...
consistant behavior across different browsers.
2013-07-25 15:34:16 +02:00
samhed
9d04096e58
Tweaked the media sizing rules to match the new buttons to the left.
2013-07-25 14:05:52 +02:00
samhed
53c01a2353
Added the extra keys Ctrl, Alt, Tab and Esc to the control bar.
2013-07-25 12:49:37 +02:00
samhed
41c66fbfcd
Added new images for the extra keys
2013-07-25 12:48:44 +02:00
samhed
7e24f50b66
Merge branch 'master' of https://github.com/kanaka/noVNC into framebufferupdate
2013-07-24 10:55:21 +02:00
Joel Martin
f3ff971db9
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
2013-07-23 08:45:47 -07:00
Joel Martin
31164434b2
Merge pull request #283 from samhed/nomousedrag
...
Fixed so that viewportDrag works even if no mouse button is selected.
2013-07-23 08:43:31 -07:00
samhed
fb4394b10b
Fixed so that viewportDrag works even if no mouse button is selected.
2013-07-23 14:26:11 +02:00
samhed
dfcedffc16
Make noVNC follow the RFB protocol and keep only one outstanding
...
framebufferUpdate request at a time.
2013-07-22 15:46:59 +02:00
samhed
df4d6dde30
Merge branch 'master' of https://github.com/kanaka/noVNC into doubleclick
2013-07-19 09:47:47 +02:00
Joel Martin
0e3d505e54
Merge pull request #276 from samhed/screenrealestate
...
Improved use of screen real estate
2013-07-18 09:58:02 -07:00
Joel Martin
df9d3d9cf2
Merge pull request #280 from samhed/documenttitle
...
Display the desktop name in the document title
2013-07-18 09:52:36 -07:00
samhed
406a8b4e96
Display the desktop name in the document title
2013-07-18 15:51:23 +02:00
samhed
0019d3b055
Added Copyright information to all modified files.
2013-07-17 16:44:13 +02:00
samhed
35b29c98ea
* 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.
2013-07-17 16:11:19 +02:00
samhed
6ca8a2c05c
Moved the popup_status_panel to the front.
2013-07-12 14:41:57 +02:00
samhed
7ab02c7fc7
Changed the color and weight of the status text to white and bold.
2013-07-12 11:47:41 +02:00
samhed
c6ad20992d
Improved comments
2013-07-11 12:37:01 +02:00
samhed
cf19ad3798
* Changed the trigger distance between touches from 50 to 20.
...
* The trigger distance now takes devicePixelRatio into account.
2013-07-08 17:14:50 +02:00
samhed
a4ec2f5c7d
Limited the double click fix to touch devices.
2013-07-03 14:41:09 +02:00
Samuel Mannehed
9e97231acf
Made the control bar thinner by removing the space below and above the control buttons.
2013-06-28 16:31:45 +02:00
Samuel Mannehed
cc704b712d
Removed duplicate of .noVNC_status_warn from the stylesheet.
2013-06-28 15:32:37 +02:00
Samuel Mannehed
0fa4e0a90a
Merged the control-bar and the status-bar together.
...
Also added a popup with the status text.
2013-06-28 15:13:20 +02:00
Samuel Mannehed
b2f1961a3a
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
2013-06-25 17:55:45 +02:00
Phil Driscoll
ca9a9964a0
Fix onMouseDisable so that clicks outside the canvas are propagated
2013-06-13 11:10:04 +01:00
Joel Martin
c3c51ed32b
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.
2013-04-25 09:52:10 -05:00
Joel Martin
8f12ca7a5a
Merge pull request #252 from astrand/port-80-443
...
Re-fix pull req #245 :
2013-04-25 06:14:47 -07:00
Peter Åstrand (astrand)
b66ffcddcf
Re-fix pull req #245 :
...
* Must declare port variable.
* Must look for https first, then http.
2013-04-25 09:07:09 +02:00
Joel Martin
e6500004de
Merge pull request #245 from wrouesnel/vnc-auto-fix
...
Detect port properly in vnc_auto.html when used on port 80 or 443.
2013-04-23 09:19:59 -07:00
Will Rouesnel
58873b3222
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.
2013-04-23 14:32:02 +10:00
Will Rouesnel
c42136d537
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
2013-04-22 20:07:20 +10:00
Joel Martin
44ff863273
rfb.js: set FBU.bytes before waiting from RRE.
...
Also, in COPYRECT, set FBU.bytes to the number we know we will need.
2013-04-17 09:34:33 -05:00
Joel Martin
1e04775831
Merge pull request #249 from Medical-Insight/copy-rect-bytes
...
Set FBU.bytes to 1 in encHandlers.COPYRECT
2013-04-16 11:18:23 -07:00
Vagn Johansen
9f554fcdf7
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.
2013-04-16 19:17:50 +02:00
Joel Martin
7c1cd93744
Remove references to wsproxy.
...
Also, update nova-novncproxy to import websockify instead of wsproxy.
2013-04-15 12:22:34 -05:00
Will Rouesnel
e83b9e03eb
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.
2013-04-13 18:45:56 +10:00
Joel Martin
7dc038efd9
Add gimite/web-socket-js submodule for DFSG compliance.
2013-04-12 08:21:33 -05:00
Joel Martin
cededc4d14
Merge pull request #244 from djipko/common_conf_to_oslo_conf
...
Import cfg from oslo in nova-novncproxy
2013-04-08 10:32:03 -07:00
Nikola Dipanov
de0f8773b1
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.
2013-04-08 15:42:56 +02:00
Joel Martin
60d991774b
Merge pull request #241 from astrand/html-cleanup
...
Minimize differences between vnc.html and vnc_auto.html
2013-04-05 06:46:52 -07:00
jalf
ec34af8f61
Use wss when creating localhost connection to detect binary support
...
Some browsers (Firefox) reject unencrypted ws connections if the hosting
page uses https by throwing an exception when you create the websocket
object.
NoVNC interprets this as binary being unsupported, and falls back to
base64.
If we instead connect to wss://localhost, the websocket object can be
created regardless of whether the hosting page is on http or https.
2013-04-05 13:49:17 +02:00