]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
12 years agoMerge commit 'd38db74abd0efa34f7297dc19bf603b7f765e0f5'
Joel Martin [Sun, 11 Mar 2012 01:52:11 +0000 (19:52 -0600)]
Merge commit 'd38db74abd0efa34f7297dc19bf603b7f765e0f5'

Conflicts:
README.md

12 years agoadd some documentation; default to existing websocket transport
Mike Tinglof [Fri, 9 Mar 2012 16:02:18 +0000 (11:02 -0500)]
add some documentation; default to existing websocket transport

12 years agoDon't swallow SSL EOF errors.
Joel Martin [Mon, 20 Feb 2012 22:33:08 +0000 (16:33 -0600)]
Don't swallow SSL EOF errors.

12 years agoBetter base64 illegal character output.
Joel Martin [Mon, 20 Feb 2012 21:48:39 +0000 (15:48 -0600)]
Better base64 illegal character output.

12 years agoCorrection: Version 0.2
Joel Martin [Mon, 20 Feb 2012 18:37:14 +0000 (12:37 -0600)]
Correction: Version 0.2

noVNC version 0.2

12 years agoVersion 0.1
Joel Martin [Mon, 20 Feb 2012 18:29:56 +0000 (12:29 -0600)]
Version 0.1

noVNC version 0.1

12 years agoAdd images subdirectory to deb build.
Joel Martin [Mon, 20 Feb 2012 18:28:17 +0000 (12:28 -0600)]
Add images subdirectory to deb build.

12 years agoAdd message panel when hosted at kanaka.github.com.
Joel Martin [Wed, 15 Feb 2012 20:12:27 +0000 (14:12 -0600)]
Add message panel when hosted at kanaka.github.com.

Add a helpful popup/panel message for when noVNC is used at
kanaka.github.com (e.g. where novnc.com redirects).

12 years agoSet $D on window directly.
Joel Martin [Tue, 14 Feb 2012 23:23:14 +0000 (17:23 -0600)]
Set $D on window directly.

Addresses: https://github.com/kanaka/websockify/issues/29

12 years agoAdd array map function for IE9.
Joel Martin [Tue, 14 Feb 2012 13:53:39 +0000 (07:53 -0600)]
Add array map function for IE9.

12 years agoMake WebSocket encrypt setting default to page protocol.
Joel Martin [Thu, 2 Feb 2012 15:29:02 +0000 (09:29 -0600)]
Make WebSocket encrypt setting default to page protocol.

I.e. if the page is https:// then the WebSocket encrypt setting will
default to wss:// (TLS encryption).

Note that since noVNC settings are saved in cookies, this will only
affect first load. If you have already loaded the page, then the
encrypt setting will be whatever you last set it to.

12 years agoDefault path to 'websockify' in include/ui.js
Joel Martin [Tue, 31 Jan 2012 19:37:20 +0000 (13:37 -0600)]
Default path to 'websockify' in include/ui.js

12 years agoadd tight zlib stream reset; add error if tight encoding is used w/o true color
Mike Tinglof [Tue, 31 Jan 2012 05:15:56 +0000 (00:15 -0500)]
add tight zlib stream reset; add error if tight encoding is used w/o true color

12 years agocomment out per-decompress checksum and logging
Mike Tinglof [Mon, 30 Jan 2012 07:26:36 +0000 (02:26 -0500)]
comment out per-decompress checksum and logging

12 years agoadd last rect special encoding; fix tight fill subencoding color handling; fix mono...
Mike Tinglof [Mon, 30 Jan 2012 07:19:18 +0000 (02:19 -0500)]
add last rect special encoding; fix tight fill subencoding color handling; fix mono indexed rect handling

12 years agodon't need to copy palette data until we have all data for rect; change a few comments
Mike Tinglof [Sun, 29 Jan 2012 07:10:25 +0000 (02:10 -0500)]
don't need to copy palette data until we have all data for rect; change a few comments

12 years agoimplement tight indexed rectangle; remove some debug code
Mike Tinglof [Sun, 29 Jan 2012 06:55:41 +0000 (01:55 -0500)]
implement tight indexed rectangle; remove some debug code

12 years agofix handling of min compression size
Mike Tinglof [Sat, 28 Jan 2012 07:56:19 +0000 (02:56 -0500)]
fix handling of min compression size

12 years agore-enable history buffer (used as sliding window for decompress)
Mike Tinglof [Sat, 28 Jan 2012 06:56:55 +0000 (01:56 -0500)]
re-enable history buffer (used as sliding window for decompress)

12 years agoDefault path 'websockify' for Clojure Websockify.
Joel Martin [Fri, 27 Jan 2012 22:03:20 +0000 (16:03 -0600)]
Default path 'websockify' for Clojure Websockify.

The Jetty WebSocket server code used by the Clojure version of
websockify doesn't support WebSocket and Web at the same path so pass
in a default value for the path so that we can support the Clojure
version websockify.

12 years agofix issue with parsing distance of more then 8 bits; convert to just supporting array...
Mike Tinglof [Thu, 26 Jan 2012 19:35:36 +0000 (14:35 -0500)]
fix issue with parsing distance of more then 8 bits; convert to just supporting arrays for buffers

12 years agoadded rgb image drawing, some zlib changes (huffman coding working, but lz77 not...
Mike Tinglof [Wed, 25 Jan 2012 23:09:55 +0000 (18:09 -0500)]
added rgb image drawing, some zlib changes (huffman coding working, but lz77 not so much)

12 years agokeep zlib history so we can decode as a stream
Mike Tinglof [Wed, 25 Jan 2012 02:18:29 +0000 (21:18 -0500)]
keep zlib history so we can decode as a stream

12 years agobasic framing for tight is working (decode not complete)
Mike T [Tue, 24 Jan 2012 18:50:42 +0000 (13:50 -0500)]
basic framing for tight is working (decode not complete)

12 years agoadd javascript zlib
Mike [Tue, 24 Jan 2012 18:49:49 +0000 (13:49 -0500)]
add javascript zlib

12 years agoMerge remote branch 'origin/issue-70'
Joel Martin [Thu, 12 Jan 2012 23:07:07 +0000 (17:07 -0600)]
Merge remote branch 'origin/issue-70'

Conflicts:
include/display.js
include/rfb.js

This merges in the fix for https://github.com/kanaka/noVNC/issues/70

This changes noVNC to use the preferred color ordering that most VNC
server prefer and that VMWare VNC requires. It's possible this may
break some VNC servers out there in which case we might have to do
something a bit more subtle such as having alternate render functions
for little and big endian color ordering.

12 years agoFix Intel AMT KVM: disable true color.
Joel Martin [Thu, 12 Jan 2012 18:52:09 +0000 (12:52 -0600)]
Fix Intel AMT KVM: disable true color.

Issue: https://github.com/kanaka/noVNC/issues/118
Reporter @maxnet also found and suggested the fix.

Probably could be more intelligent/generic by keying off the depth
sent by the server, but this will do for now.

12 years agoLinting.
Joel Martin [Thu, 12 Jan 2012 18:38:55 +0000 (12:38 -0600)]
Linting.

Switched to using: http://www.jshint.com/

12 years agoAdd websockify.py symlink for Windows.
Joel Martin [Thu, 5 Jan 2012 17:55:56 +0000 (11:55 -0600)]
Add websockify.py symlink for Windows.

12 years agoMerge branch 'master' of github.com:kanaka/noVNC
Joel Martin [Thu, 15 Dec 2011 21:34:30 +0000 (15:34 -0600)]
Merge branch 'master' of github.com:kanaka/noVNC

12 years agowebsockify: better multi-python version support.
Joel Martin [Thu, 15 Dec 2011 21:26:16 +0000 (15:26 -0600)]
websockify: better multi-python version support.

Pull from websockify: 008a5118e728.

Should address issue https://github.com/kanaka/noVNC/issues/107

- Also add ability to force use of web-socket-js using
  window.WEB_SOCKET_FORCE_FLASH

- in websock.js, for rQshift*, assume length is the full length if not
  specified.

12 years agoFix python3 wss (TLS/SSL) connection detection.
Joel Martin [Thu, 15 Dec 2011 20:45:55 +0000 (14:45 -0600)]
Fix python3 wss (TLS/SSL) connection detection.

Compare the first byte of the handshake against numbers (character
code) as well as string characters.

12 years agoShow close code and reason.
Joel Martin [Thu, 15 Dec 2011 19:59:35 +0000 (13:59 -0600)]
Show close code and reason.

Also add commented out web-socket-js debug variable in
include/websock.js

12 years agoAdd View Only mode setting.
Joel Martin [Thu, 1 Dec 2011 15:05:16 +0000 (09:05 -0600)]
Add View Only mode setting.

Resolve issue: https://github.com/kanaka/noVNC/pull/101

Based on proposal from @mightpenguin:
Matthew Balman <emperor@mightypenguin.org>

If view_only option is set then do not send mouse and keyboard events.
This is not a secure/enforced way to make a client view only. To
enforce view only at the server, most VNC servers support setting
a view only password.

12 years agoTypo in Opera 11.60 fix.
Joel Martin [Sat, 19 Nov 2011 23:59:06 +0000 (17:59 -0600)]
Typo in Opera 11.60 fix.

12 years agoFix issue #102 - Opera 11.60 doesn't work.
Joel Martin [Sat, 19 Nov 2011 23:37:18 +0000 (17:37 -0600)]
Fix issue #102 - Opera 11.60 doesn't work.

Opera presto engine version detection is broken. For now, just return
true or false. That should cover most cases.

12 years agoLibVNCServer capitalization.
Joel Martin [Thu, 17 Nov 2011 16:53:31 +0000 (10:53 -0600)]
LibVNCServer capitalization.

12 years agoAdd libvncserver as project including noVNC.
Joel Martin [Thu, 17 Nov 2011 16:49:34 +0000 (10:49 -0600)]
Add libvncserver as project including noVNC.

libvncserver now includes noVNC as an alternative to the Java web
client.

12 years agoAdd Brightbox to user list.
Joel Martin [Mon, 7 Nov 2011 20:26:44 +0000 (14:26 -0600)]
Add Brightbox to user list.

12 years agodebian/ - Update CSS file names.
Joel Martin [Mon, 31 Oct 2011 17:20:46 +0000 (12:20 -0500)]
debian/ - Update CSS file names.

Thanks Alex Bligh for the catch.

12 years agoREADME: feature section and minor rearranging.
Joel Martin [Sat, 29 Oct 2011 21:11:37 +0000 (16:11 -0500)]
README: feature section and minor rearranging.

12 years agoAdd Intel MeshCentral.
Joel Martin [Fri, 28 Oct 2011 15:00:03 +0000 (10:00 -0500)]
Add Intel MeshCentral.

12 years agoAdd Amahi as a project using noVNC.
Joel Martin [Fri, 28 Oct 2011 14:49:59 +0000 (09:49 -0500)]
Add Amahi as a project using noVNC.

12 years agoUpdate description. Remove Sentry reference.
Joel Martin [Sat, 8 Oct 2011 18:00:42 +0000 (13:00 -0500)]
Update description. Remove Sentry reference.

12 years agoUpdate requirements. Note WS added to libvncserver.
Joel Martin [Sat, 8 Oct 2011 17:57:57 +0000 (12:57 -0500)]
Update requirements. Note WS added to libvncserver.

12 years agowebsockify --run-once, --timeout, numpy fallback
Joel Martin [Thu, 29 Sep 2011 21:12:19 +0000 (16:12 -0500)]
websockify --run-once, --timeout, numpy fallback

Pull websockify 724aa3a.

- Use array module for unmasking HyBi when no numpy module is
    available.

- Detect client close properly when using python 3.

- Print request URL path is specified.

- New option --run-once will exit after handling a single WebSocket
  connection (but not ater flash policy or normal web requests).

- New option --timeout TIME will stop listening for new connections
  after exit after TIME seconds (the master process shuts down).
  Existing WebSocket connections will continue but once all
  connections are closed all processes will terminate.

12 years agoFix README screenshot src.
Joel Martin [Thu, 29 Sep 2011 19:33:25 +0000 (14:33 -0500)]
Fix README screenshot src.

12 years agoUpdate README screenshots.
Joel Martin [Thu, 29 Sep 2011 19:32:54 +0000 (14:32 -0500)]
Update README screenshots.

12 years agoRe-organize CSS. Remove broken IE filter statement.
Joel Martin [Thu, 29 Sep 2011 17:09:32 +0000 (12:09 -0500)]
Re-organize CSS. Remove broken IE filter statement.

12 years agoFormatting. Image renames/cleanup.
Joel Martin [Thu, 29 Sep 2011 14:32:09 +0000 (09:32 -0500)]
Formatting. Image renames/cleanup.

- Remove the images using the old font.

- Simplify the naming of the new control bar icon images.

- Change keyboard input type to 'email'. 'url' type doesn't have
  a space bar.

- Some clarifications to main LICENSE.txt file.

12 years agoMobile icons.
Chris Gordon [Thu, 29 Sep 2011 03:44:08 +0000 (13:44 +1000)]
Mobile icons.

- CSS highlighting of buttons when selected.
- Keyboard button tweaked to allow show/hide toggle of keyboard.

Signed-off-by: Chris Gordon <snorkeyg@gmail.com>
12 years agoLICENSE.txt, docs/TODO: bring up to date.
Joel Martin [Wed, 28 Sep 2011 16:39:36 +0000 (11:39 -0500)]
LICENSE.txt, docs/TODO: bring up to date.

- Add Orbitron info to LICENSE.txt

- Update TODO.

12 years agoAdd local copy of Orbitron font.
Joel Martin [Tue, 27 Sep 2011 21:53:09 +0000 (16:53 -0500)]
Add local copy of Orbitron font.

Instead of using Google Font API, use local copy of Orbitron for speed
and also in case Internet connection is flaky or unavailable.

More info about Orbitron font here:
http://www.google.com/webfonts/specimen/Orbitron

Orbitron font is:
Copyright (c) 2009, Matt McInerney <matt@pixelspread.com>

Licensed under SIL Open Font License 1.1
see docs/LICENSE.OFL-1.1 or http://scripts.sil.org/OFL

12 years agovnc_auto.html: sync with mobile changes.
Joel Martin [Tue, 27 Sep 2011 17:49:50 +0000 (12:49 -0500)]
vnc_auto.html: sync with mobile changes.

Also, add path option settable with query string.

12 years agoAdd WebSocket URL path to UI settings.
Joel Martin [Tue, 27 Sep 2011 17:36:06 +0000 (12:36 -0500)]
Add WebSocket URL path to UI settings.

12 years agoMove viewport functions.
Joel Martin [Mon, 26 Sep 2011 22:09:29 +0000 (17:09 -0500)]
Move viewport functions.

Move viewportChange(), getCleanDirtyReset(), absX() and absY() to the
public API section. Also add some function comments.

12 years agoRemove support for non-HTML5 browsers.
Joel Martin [Mon, 26 Sep 2011 16:28:24 +0000 (11:28 -0500)]
Remove support for non-HTML5 browsers.

Display API change:
    - getTile -> startTile (no longer returns a tile)
    - setSubTile -> subTile (drop img/tile first parameter)
    - putTile -> finishTile (no longer takes img/tile paramter)

The Display tile logic uses canvas image data directly and
caches/reuses a 16x16 imageData tile (for other sizes, the tile is
create for each call). This gives a 30% speedup on Chrome
13 (and no significant change for Firefox 3.6/4.0).

Other:

- Remove rgbxImageFill and cmapImageFill routines.

- Simplify constructor tests and just error if createImageData is not
  supported by canvas instead of .

- Remove webkit canvas bug workaround that effects Chrome 7. Chrome
  7 usage share is now less than 0.5 percent and the workaround is
  ugly. Drop the function wrapping in the constructor and the canvas
  flush() routine.

- Remove support for getImageData (Opera 11+ now required)

Update browser support list:

    - Chrome 8+ (really any except 7)
    - Firefox 3.6+
    - Safari 4+
    - Opera 11+
    - IE9+
    - iOS 4.2+

12 years agoinclude/ui.js: remove console.log debug.
Joel Martin [Mon, 26 Sep 2011 16:16:16 +0000 (11:16 -0500)]
include/ui.js: remove console.log debug.

12 years agoMake tests/vnc_perf.html work again.
Joel Martin [Mon, 26 Sep 2011 03:02:13 +0000 (22:02 -0500)]
Make tests/vnc_perf.html work again.

12 years agoFixing iOS clipping, keyboard issues.
Joel Martin [Fri, 23 Sep 2011 05:51:55 +0000 (00:51 -0500)]
Fixing iOS clipping, keyboard issues.

- Make sure that on iOS the clipping setting is always forced to be
  enabled.
- Hide the showKeyboard button unless connected.
- Use the URL text entry method and disable autocorrect and
  autocapitalize in the show keyboard input box.

12 years agoOnly show move/drag button when clipping. Cleanup.
Joel Martin [Fri, 23 Sep 2011 05:04:01 +0000 (00:04 -0500)]
Only show move/drag button when clipping. Cleanup.

Cleanup:

- remove unused changeViewportMeta function from include/ui.js
- remove some debug output and debug CSS.
- rename panel toggle functions and put them in same location in the
  code.
- refactor some code from updateState to updateVisualState routine
  (renamed from updateSettingsState).

12 years agoViewport clip/drag for mobile/touchscreen devices.
Joel Martin [Thu, 22 Sep 2011 15:36:23 +0000 (10:36 -0500)]
Viewport clip/drag for mobile/touchscreen devices.

API changes (forward compatible):

- Display: add 'viewport' conf option to turn on and off viewport
  mode.
- RFB: add 'viewportDrag' option to enable/disable viewport dragging
  mode.

Other:

- Add clip mode setting to default UI. For touch devices, clipping is
  forced on.
- Use CSS media queries to adjust visual elements based on screen
  size. Especially disconnected logo size/position and button text size.
- Catch page unload while connected and give a confirm dialog.
- Change mouse button selector to a single button that changes between
  ' ', 'L', 'M', 'R' when clicked (empty means mouse is just being
  moved and doesn't send clicks).
- include/ui.js:setViewClip() routine sets the clipping of the
  viewport to the current size of the viewport area (if clipping is
  enabled).
- include/ui.js:setViewDrag() toggles/enables/disables viewport
  dragging mode.
- Add several images for the UI and for Apple devices:
    - images/clipboard.png: clipboard menu icon
    - images/connect.png: connect menu icon
    - images/disconnect.png: disconnect button icon
    - images/keyboard.png: show keyboard button
    - images/move.png: viewport drag/move toggle button
    - images/settings.png: settings menu icon
    - images/screen_320x460.png: iOS app/desktop link start image
    - images/screen_57x57.png: iOS app icon
    - images/screen_700x700.png: full size noVNC image

12 years agoFix fbUpdateRequest undefined parameter logic.
Joel Martin [Wed, 14 Sep 2011 15:42:15 +0000 (10:42 -0500)]
Fix fbUpdateRequest undefined parameter logic.

12 years agoSome CSS style and DOM id/class cleanup.
Joel Martin [Wed, 14 Sep 2011 14:24:30 +0000 (09:24 -0500)]
Some CSS style and DOM id/class cleanup.

12 years agoMerge branch 'master' into mobile
Joel Martin [Tue, 13 Sep 2011 21:53:04 +0000 (16:53 -0500)]
Merge branch 'master' into mobile

12 years agoFramebuffer requests based on clean/dirty areas.
Joel Martin [Tue, 13 Sep 2011 19:42:38 +0000 (14:42 -0500)]
Framebuffer requests based on clean/dirty areas.

New routine fbUpdateRequests that builds the update request messages
based on the result of display.getCleanDirtyReset().

- Also, fix fbUpdateRequest to properly accept x,y,xw,yw parameters.

12 years agoFix window/document sizing in firefox.
Joel Martin [Tue, 13 Sep 2011 18:14:11 +0000 (13:14 -0500)]
Fix window/document sizing in firefox.

Another firefox issue is that height: 100% is calculated as 100% of
the containing element even when the containing element is the window.
This means that the size of any sibling element shifts the window size
down by that much and causes the vertical scroll bars to appear. This
doesn't happen in Chrome.

- So instead, put a pad element inside the noVNC_screen element that
  is the size of the control bar. This is hidden by the control bar,
  however, it causes things to be sized correctly.

- Also, rename noVNC_defaultScreen to noVNC_logo.

- Clean some style specification out of the HTML.

12 years agoFirefox offset bug: use margin instead of padding.
Joel Martin [Tue, 13 Sep 2011 17:17:44 +0000 (12:17 -0500)]
Firefox offset bug: use margin instead of padding.

For some reason, the position calculation is broken in firefox when
a DOM object in the ancestry change uses padding. So use margin to
shift the view area down.

12 years agoMerge branch 'master' into mobile
Joel Martin [Tue, 13 Sep 2011 15:14:53 +0000 (10:14 -0500)]
Merge branch 'master' into mobile

Conflicts:
include/rfb.js

12 years agoViewport handling in include/display.js
Joel Martin [Tue, 13 Sep 2011 14:54:44 +0000 (09:54 -0500)]
Viewport handling in include/display.js

Part of mobile device support:
https://github.com/kanaka/noVNC/issues/48

The Display object is redefined as a larger display region with
an equal or smaller visible viewport. The size of the full display
region is set/changed using resize(). The viewport is set/changed
using viewportChange().

All exposed routines that draw on the display now take coordinates
that are absolute (relative to the full display region). For example,
the result of fillRect(100, 100, 10, 10, [255,0,0]) will appear in the
canvas at (0,0) if the viewport is set to (100,100).

Details:

- Move the generic part of the viewport code from tests/viewport.html
  into include/display.

- Add two new routines to the Display interface:

    - viewportChange(deltaX, deltaY, width, height)
        - This adjusts the position of the visible viewport and/or the
          size of the viewport.

        - deltaX and deltaY specify how the position of the viewport
          should be shifted. The position of the viewport is clamped
          to the full region size (i.e. cannot outside the display
          region).

        - The clean and dirty regions of the display are updated based
          on calls to this routine. For example, if the viewport width
          is increased, then there is now a dirty box on the right
          side of the viewport. Another example, if the viewport is
          shifted down and to the left over the display region, there
          are now two dirty boxes: one on the left side and one
          on the bottom of the viewport.

    - getCleanDirtyReset()
        - This returns an object with the clean box and a list of
          dirty boxes (that need to be redrawn).

            {'cleanBox':
                {'x': x, 'y': y, 'w': w, 'h': h},
             'dirtyBoxes':
                [{'x': x, 'y': y, 'w': w, 'h': h}, ...]
             }

        - The coordinates in the clean and dirty boxes are absolute
          coordinates (relative to the full display region) but they
          are clipped to the visible viewport.

        - Calling this function also resets the clean rectangle to be
          the whole viewport (i.e. nothing visible needs to be redrawn
          dirty) so the caller of this routine is responsible for
          redrawing any

12 years agoPull websockify: python3 numpy buffer/string fix.
Joel Martin [Sat, 10 Sep 2011 21:03:39 +0000 (16:03 -0500)]
Pull websockify: python3 numpy buffer/string fix.

Pull from websockify 1c39c7f1f001.

12 years agoFix setBarPosotion runtime errors.
Joel Martin [Thu, 8 Sep 2011 15:10:46 +0000 (10:10 -0500)]
Fix setBarPosotion runtime errors.

12 years agoHTML, CSS and Javascript indent/formatting.
Joel Martin [Thu, 8 Sep 2011 15:00:09 +0000 (10:00 -0500)]
HTML, CSS and Javascript indent/formatting.

- 4 space indenting for HTML and Javascript.
- 2 space indenting for CSS
- Use hanging start curly for conditional blocks

12 years agoDisable static canvas logo.
Joel Martin [Thu, 8 Sep 2011 14:29:05 +0000 (09:29 -0500)]
Disable static canvas logo.

12 years agoMerge remote branch 'kanaka/master' into mobile
Joel Martin [Thu, 8 Sep 2011 13:50:18 +0000 (08:50 -0500)]
Merge remote branch 'kanaka/master' into mobile

12 years agoRemove unused include/plain.css.
Joel Martin [Thu, 8 Sep 2011 13:41:50 +0000 (08:41 -0500)]
Remove unused include/plain.css.

12 years agoNew theme. File: include/blue.css
Chris Gordon [Thu, 8 Sep 2011 01:54:43 +0000 (11:54 +1000)]
New theme. File: include/blue.css

12 years agoUpdated to use CSS3 gradients instead of images.
Chris Gordon [Thu, 8 Sep 2011 01:27:08 +0000 (11:27 +1000)]
Updated to use CSS3 gradients instead of images.

Fixed display bug with keyboard textbox.

12 years agoFixed bugs with connection panel, and moved functions into UI class.
Chris Gordon [Thu, 8 Sep 2011 01:25:52 +0000 (11:25 +1000)]
Fixed bugs with connection panel, and moved functions into UI class.

12 years agoiOS keyboard bug fix.
Chris Gordon [Mon, 5 Sep 2011 12:02:29 +0000 (22:02 +1000)]
iOS keyboard bug fix.

12 years agoBug fix with mobile buttons.
Chris Gordon [Mon, 5 Sep 2011 03:33:22 +0000 (13:33 +1000)]
Bug fix with mobile buttons.

12 years agoAdd base.css. Bar position formatting.
Chris Gordon [Mon, 5 Sep 2011 03:31:00 +0000 (13:31 +1000)]
Add base.css. Bar position formatting.

12 years agoModifed UI. Move HTML from ui.js to vnc.html.
Chris Gordon [Sun, 4 Sep 2011 23:46:13 +0000 (09:46 +1000)]
Modifed UI. Move HTML from ui.js to vnc.html.

12 years agoHelper function for viewport meta changes.
Chris Gordon [Wed, 24 Aug 2011 23:52:54 +0000 (09:52 +1000)]
Helper function for viewport meta changes.

changeViewportMeta() now does viewport changes.

12 years agoAdded support for native iOS and Android keyboards.
Chris Gordon [Tue, 23 Aug 2011 00:26:04 +0000 (10:26 +1000)]
Added support for native iOS and Android keyboards.

Tested with Safari on iPad for iOS and Asus Transformer for Android.

12 years agoOnly output debug colourMap table once.
Joel Martin [Tue, 6 Sep 2011 22:46:57 +0000 (17:46 -0500)]
Only output debug colourMap table once.

12 years agoutils/websocket.py: add HyBi 13 support.
Joel Martin [Wed, 31 Aug 2011 23:06:58 +0000 (18:06 -0500)]
utils/websocket.py: add HyBi 13 support.

Pull from websockify 6e26306.

12 years agoutils/websocket.py: silence partial unmask debug.
Joel Martin [Wed, 31 Aug 2011 20:33:30 +0000 (15:33 -0500)]
utils/websocket.py: silence partial unmask debug.

Pull from websockify ada02f2.

12 years agowebsocket.py: fix payload length calculation.
Joel Martin [Wed, 31 Aug 2011 20:08:03 +0000 (15:08 -0500)]
websocket.py: fix payload length calculation.

Pull from websockify 0da91c7.

12 years agowebsockify: pull HyBi fixes.
Joel Martin [Wed, 24 Aug 2011 18:26:28 +0000 (13:26 -0500)]
websockify: pull HyBi fixes.

Pull 86af0b614d and 7b496ce5b from websockify.

    Fix HyBi support on 64-bit systems.

    https://github.com/kanaka/noVNC/issues/76

    - cleanup/update TODO.
    - remove explicit check for ctypes module for HyBi.

    Clarify that we support HyBi 07-10.

    HyBi 07 reports version 7 in the handshake.
    HyBi 08-10 report version 8 in the handshake.

    Remove version 9 since that is not yet actually defined.

12 years agoWorking viewport test.
Joel Martin [Mon, 22 Aug 2011 16:21:55 +0000 (11:21 -0500)]
Working viewport test.

Tested on iOS (iPhone and iPad).

The viewport is correctly clipped to the screen/browser size and
resizing works correctly.

This uses the CSS3 Flexible Box Layout model.

12 years agoFix websockify with python2.4
Joel Martin [Wed, 10 Aug 2011 22:54:15 +0000 (17:54 -0500)]
Fix websockify with python2.4

https://github.com/kanaka/noVNC/issues/72

Pull from websockify 2e00f9643.

12 years agoREADME: Zentyal (Ebox) and SlapOS to projects list.
Joel Martin [Thu, 4 Aug 2011 15:50:16 +0000 (10:50 -0500)]
README: Zentyal (Ebox) and SlapOS to projects list.

12 years agoAdd a viewport example/test.
Joel Martin [Wed, 3 Aug 2011 23:18:41 +0000 (18:18 -0500)]
Add a viewport example/test.

Tested with an iPad 2.

This example shows a 400x200 viewport of an 800x400 display.

It tries to be intelligent about how much it redraws. It copies what
it can, and then when the user releases the mouse, it redraws the
"dirty" areas that were newly revealed.

12 years agoCatch Mozilla prefixing of WebSocket.
Joel Martin [Tue, 2 Aug 2011 13:02:51 +0000 (08:02 -0500)]
Catch Mozilla prefixing of WebSocket.

Pull 475cfae from websockify.

In Firefox 7 Mozilla has added Websockets support but prefixed the
constructor with "Moz".

12 years agoTouch events and mouse button selectors.
Joel Martin [Sun, 24 Jul 2011 02:24:59 +0000 (21:24 -0500)]
Touch events and mouse button selectors.

First crack at supporting touch screen for devices like Android and
iOS tablets. Part of https://github.com/kanaka/noVNC/issues/48.

This change detects touch screen support and uses the touchstart,
touchmove, touchend events in place of the normal mouse events.

In order to support middle and right mouse clicks, if the device is
a touch device, then three toggle buttons are added to the UI
representing the left, middle and right mouse buttons. These select
which mouse button will be sent when the screen is touched. All the
buttons can be toggled off, in which case then the touch events only
move the mouse cursor rather than sending a mouse down and mouse up
for touchstart and touchend events respectively. This allows fairly
full control with the mouse on touch screens.

12 years agoChange default PixelFormat. Fix canvas test.
Joel Martin [Mon, 18 Jul 2011 17:17:47 +0000 (12:17 -0500)]
Change default PixelFormat. Fix canvas test.

Instead of R,G,B (red-shift of 0, green-shift of 8, and blue-shift
of 16), use the default ordering of B,G,R (red-shift of 16, green-shift of 8, and blue-shift
of 0) that tightvncserver uses (and that VMWare's VNC server seems to
require). Also, warn in the console if the server does not default to
the new format.

Fix the tests/canvas.html test. This is a general fix with regards to
the rename/refactor of canvas.js into display.js and not specific to
the color re-ordering.

12 years agoVersion 0.1, debian packaging, license text.
Joel Martin [Thu, 14 Jul 2011 20:57:01 +0000 (15:57 -0500)]
Version 0.1, debian packaging, license text.

noVNC version 0.1

Add debian packaging directory loosely based on
http://trac.zentyal.org/browser/trunk/extra/novnc/debian

Show web root directory on startup (pulled from websockify f1c8223).

Lintian fixups:
    - Some license text clarifications.
    - remove executable permission on utils/launch.sh and
      include/web-socket-js/web_socket.js
    - Add executable permission to utils/launch.sh

12 years agoREADME: Fix CloudSigma link.
Joel Martin [Wed, 13 Jul 2011 20:19:09 +0000 (15:19 -0500)]
README: Fix CloudSigma link.

12 years agoREADME: link to CloudSigma as product using noVNC.
Joel Martin [Wed, 13 Jul 2011 20:17:22 +0000 (15:17 -0500)]
README: link to CloudSigma as product using noVNC.