]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
12 years agoMerge pull request #162 from toddfreese/master
Joel Martin [Thu, 10 May 2012 22:31:14 +0000 (15:31 -0700)]
Merge pull request #162 from toddfreese/master

RealVNC 4.6 Mac Support.

12 years agoAdded support for RealVNC Mac.
Todd Freese [Thu, 10 May 2012 17:29:36 +0000 (12:29 -0500)]
Added support for RealVNC Mac.

12 years agoPull from websockify.
Joel Martin [Thu, 10 May 2012 13:05:47 +0000 (08:05 -0500)]
Pull from websockify.

Fix python 2.4 CClose exception handling.

12 years agoMerge pull request #158 from cloudbuilders/fix_rpc_backend
Joel Martin [Mon, 30 Apr 2012 22:16:24 +0000 (15:16 -0700)]
Merge pull request #158 from cloudbuilders/fix_rpc_backend

Fix rpc initialization issue

12 years agoUse explicit check for rpc.register_opts
Anthony Young [Mon, 30 Apr 2012 21:07:15 +0000 (14:07 -0700)]
Use explicit check for rpc.register_opts

12 years agoUpdate to fix trunk nova issue with rpc library
Anthony Young [Mon, 30 Apr 2012 20:21:48 +0000 (13:21 -0700)]
Update to fix trunk nova issue with rpc library

 * rpc flags now must be manually initialized.

12 years agoComment out duplicates in unicodeTable.
Joel Martin [Thu, 26 Apr 2012 13:18:27 +0000 (08:18 -0500)]
Comment out duplicates in unicodeTable.

Unfortunately the values for those duplicate keys are not the same and
I'm not sure which ones are more correct. However, for now, I've
commented out the second occurrence.

This data is generated from /usr/include/X11/keysymdef.h using the
utils/u2x11 script.

12 years agoDon't treat onerror as a close.
Joel Martin [Thu, 26 Apr 2012 01:13:25 +0000 (20:13 -0500)]
Don't treat onerror as a close.

The close event will also fire so trying to fail the connection twice
is unhelpful and hiding status information.

12 years agoUpdate websockify to pull in close code/reason fixes.
Joel Martin [Wed, 25 Apr 2012 18:46:30 +0000 (13:46 -0500)]
Update websockify to pull in close code/reason fixes.

12 years agoAdd code/reason to close event messages. Remove useless object print in error event.
Joel Martin [Fri, 13 Apr 2012 16:23:30 +0000 (11:23 -0500)]
Add code/reason to close event messages. Remove useless object print in error event.

12 years agoMerge pull request #149 from ohadlevy/patch-1
Joel Martin [Tue, 10 Apr 2012 14:07:35 +0000 (07:07 -0700)]
Merge pull request #149 from ohadlevy/patch-1

Update README.md to add Foreman project

12 years agoUpdate README.md
Ohad Levy [Tue, 10 Apr 2012 13:58:27 +0000 (16:58 +0300)]
Update README.md

12 years agoUse page host:port as default for WebSocket host/port.
Joel Martin [Tue, 3 Apr 2012 21:46:27 +0000 (16:46 -0500)]
Use page host:port as default for WebSocket host/port.

12 years agoSimplify nova-novncproxy related logic.
Anthony Young [Tue, 3 Apr 2012 17:34:24 +0000 (10:34 -0700)]
Simplify nova-novncproxy related logic.

  *  Don't clobber default host/port

12 years agoAdd nova-novncproxy
Anthony Young [Tue, 3 Apr 2012 17:08:41 +0000 (10:08 -0700)]
Add nova-novncproxy

 * Adds the nova-novncproxy binary, to provide support for vnc + OpensStack nova
 * Adds the ability to pass an auth token in via url, which is subsequently
   passed back to the proxy as a cookie.

12 years agoSupport Apple Remote Desktop.
Joel Martin [Fri, 23 Mar 2012 17:18:18 +0000 (12:18 -0500)]
Support Apple Remote Desktop.

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

12 years agoAdd jsunzip.js to debian install list.
Joel Martin [Fri, 16 Mar 2012 16:21:38 +0000 (09:21 -0700)]
Add jsunzip.js to debian install list.

Thanks for catching this: https://github.com/abligh

12 years agoRelease down/pressed keys when window loses focus.
Joel Martin [Wed, 14 Mar 2012 01:29:02 +0000 (20:29 -0500)]
Release down/pressed keys when window loses focus.

May window managers have a keyboard shortcut that switch away from the
current desktop (e.g. desktop switcher). Unfortunately, when this
happens, the meta/control keys that are used with the shortcut will
send a down event to the browser, but the up event will never be sent
because the browser no longer has focus at the point when the up event
happens. This can cause weird stuck key issues for VNC clients (not
just noVNC). To get around this, we try and detect when the browser
loses focus and release any keys that are on the keyDownList.

As an aside, if you run into this situation (in noVNC or another VNC
client), you can unstick the state by pressing and releasing the Ctrl,
Shift, Alt, etc.

Addresses: https://github.com/kanaka/noVNC/pull/135

12 years agoSquelch noisy debug logs.
Joel Martin [Wed, 14 Mar 2012 01:24:24 +0000 (20:24 -0500)]
Squelch noisy debug logs.

12 years agoMerge tight/tightPNG routine.
Joel Martin [Mon, 12 Mar 2012 22:31:26 +0000 (15:31 -0700)]
Merge tight/tightPNG routine.

Mostly duplicate code so merge it and wrap with closures that pass in
the isTightPNG parameter.

Still detect and error if copy/filter when tightPNG.

12 years agoUse standard citing format for contributors.
Joel Martin [Mon, 12 Mar 2012 05:34:53 +0000 (00:34 -0500)]
Use standard citing format for contributors.

12 years agoFlesh out authors/contributors and licenses.
Joel Martin [Sun, 11 Mar 2012 19:39:23 +0000 (14:39 -0500)]
Flesh out authors/contributors and licenses.

12 years agoGeneral code formatting and cleanliness.
Joel Martin [Sun, 11 Mar 2012 02:32:01 +0000 (20:32 -0600)]
General code formatting and cleanliness.

12 years agoStats: count pixels instead of just FBU.rects.
Joel Martin [Sun, 11 Mar 2012 01:56:19 +0000 (19:56 -0600)]
Stats: count pixels instead of just FBU.rects.

With last_rect, the rects count can be high until a last_rect
pseudo-encoding is received which messes with the timing stats. So
count up the number of pixels rendered and show timing after the pixel
count reaches the width*height of the screen.

12 years agoCleanup vnc.js includes.
Joel Martin [Sun, 11 Mar 2012 01:54:56 +0000 (19:54 -0600)]
Cleanup vnc.js includes.

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.

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

13 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.

13 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.

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

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

13 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.

13 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.

13 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>
13 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.

13 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

13 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.

13 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.

13 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.

13 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+

13 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.

13 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.

13 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.

13 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).

13 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

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

13 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.

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

13 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.

13 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.

13 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.

13 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

13 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

13 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.

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

13 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

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

13 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