]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
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 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.

12 years agoPull websockify socket() static method.
Joel Martin [Sat, 9 Jul 2011 18:39:04 +0000 (13:39 -0500)]
Pull websockify socket() static method.

Pull websockify 46e2fbe.

WebSocketServer.socket() is a static method takes a host and port and
an optional connect parameter. If connect is not set then it returns
a socket listening on host and port. If connect is set then
a connection will be made host and port and the socket returned. This
has IPv6 support like the addrinfo method it replaces.

Also, prefer IPv4 resolutions if they are in the list. This can be
overriden to prefer IPv6 resolutions for the same host using the
optional prefer_ipv6 parameter.

12 years agoPull IPv6 and HyBi fixes from websockify.
Joel Martin [Thu, 7 Jul 2011 20:14:41 +0000 (15:14 -0500)]
Pull IPv6 and HyBi fixes from websockify.

Pull 7ae8711 from websockify.

12 years agoPull IPv6 support from websockify.
Joel Martin [Thu, 7 Jul 2011 16:47:11 +0000 (11:47 -0500)]
Pull IPv6 support from websockify.

Pull from websockify 247b74950d.

12 years agoFix ordering of tightPNG fills.
Joel Martin [Wed, 6 Jul 2011 21:32:42 +0000 (16:32 -0500)]
Fix ordering of tightPNG fills.

This addresses issue #65:
https://github.com/kanaka/noVNC/issues/65

When tightPNG encoded rects were received, any fill types were
immediately drawn to the canvas while images (PNG, JPEGs) were queued
for loading. This can cause screen corruption when things are changing
rapidly due to the misordering of fills vs images.

Also, remove the onload setting in each image on the queue and instead
decrease the tight image queue scanning interval (to 40ms or 25
scans per second).

12 years agoShow full pixelFormat received from server.
Joel Martin [Fri, 1 Jul 2011 18:17:20 +0000 (13:17 -0500)]
Show full pixelFormat received from server.

For debugging issue #70: https://github.com/kanaka/noVNC/issues/70

12 years agoRemove extraneous question mark.
Joel Martin [Tue, 28 Jun 2011 21:29:29 +0000 (16:29 -0500)]
Remove extraneous question mark.

Part of https://github.com/kanaka/noVNC/issues/69

Pull from websockify b590289de5.

12 years agoMerge branch 'master' of git@github.com:kanaka/noVNC
Joel Martin [Tue, 28 Jun 2011 21:23:57 +0000 (16:23 -0500)]
Merge branch 'master' of git@github.com:kanaka/noVNC

12 years agoOnly append random string to swf path in IE.
Joel Martin [Tue, 28 Jun 2011 21:22:50 +0000 (16:22 -0500)]
Only append random string to swf path in IE.

Issue https://github.com/kanaka/noVNC/issues/69

Thanks https://github.com/EdSchouten for the catch.

Import from websockify 9a2b50d8.

12 years agoMerge pull request #67 from EdSchouten/master
Joel Martin [Mon, 27 Jun 2011 14:26:00 +0000 (07:26 -0700)]
Merge pull request #67 from EdSchouten/master

Add support for setting the WebSocket URI path.

12 years agoAdd support for passing the file name to get.
Ed Schouten [Mon, 27 Jun 2011 08:55:03 +0000 (10:55 +0200)]
Add support for passing the file name to get.

This change allows one to implement a single WebSockets proxy, which
multiplexes connections to different hosts.

12 years agoClarify companies/projects link description.
Joel Martin [Sun, 26 Jun 2011 21:02:42 +0000 (16:02 -0500)]
Clarify companies/projects link description.

12 years agoMove project/companies info to wiki.
Joel Martin [Sun, 26 Jun 2011 20:55:44 +0000 (15:55 -0500)]
Move project/companies info to wiki.

Just have a list here without all the links.

12 years agoPull fix of recording from websockify.
Joel Martin [Sun, 26 Jun 2011 19:21:56 +0000 (14:21 -0500)]
Pull fix of recording from websockify.

Pull websockify 7f487fdbd.

The reocrd parameter will turn on recording of all messages sent
to and from the client. The record parameter is a file prefix. The
full file-name will be the prefix with an extension '.HANDLER_ID'
based on the handler ID.

12 years agoFix playback of recorded VNC.
Joel Martin [Sun, 26 Jun 2011 19:17:42 +0000 (14:17 -0500)]
Fix playback of recorded VNC.

- Update test mode calls to work with separate websock module.

- Pull in include/websock.js update 7f487fdbd from websockify.

12 years agoadd ability to set title from url
Anthony Young [Sun, 26 Jun 2011 07:36:27 +0000 (00:36 -0700)]
add ability to set title from url

12 years agoBroadway link cleanup.
Joel Martin [Mon, 13 Jun 2011 19:29:51 +0000 (14:29 -0500)]
Broadway link cleanup.

12 years agoMerge branch 'master' of git@github.com:kanaka/noVNC
Joel Martin [Mon, 13 Jun 2011 19:28:38 +0000 (14:28 -0500)]
Merge branch 'master' of git@github.com:kanaka/noVNC

12 years agoBroadway HTML5 GDK backend link.
Joel Martin [Mon, 13 Jun 2011 19:27:47 +0000 (14:27 -0500)]
Broadway HTML5 GDK backend link.

Broadway uses noVNC keyboard/input handling. Link to it.

13 years agoMerge pull request #59 from smussmann/patch-1
Joel Martin [Thu, 19 May 2011 17:08:30 +0000 (10:08 -0700)]
Merge pull request #59 from smussmann/patch-1

Fixed minor typo in util/launch.sh informational output (s/to to/to/)

13 years agoFixed minor typo
Sam Mussmann [Thu, 19 May 2011 16:37:28 +0000 (09:37 -0700)]
Fixed minor typo

s/to to/to/

13 years agoutils/websocket.py: disable debug output.
Joel Martin [Thu, 12 May 2011 17:55:04 +0000 (12:55 -0500)]
utils/websocket.py: disable debug output.

13 years agoPull websockify 284ef3cc1a54
Joel Martin [Thu, 12 May 2011 17:33:57 +0000 (12:33 -0500)]
Pull websockify 284ef3cc1a54

Including HyBi-07 support and refactor of send/recv.

13 years agoRefactor configuration attributes.
Joel Martin [Wed, 11 May 2011 22:31:53 +0000 (17:31 -0500)]
Refactor configuration attributes.

- Add conf_defaults which accepts an array of configuration
  attributes.
- Split out user configuration defaults from the actual configuration
  object.
- Add mode field and enforce read-only, write-once, read-write modes.

13 years agoAPI changes/cleanup.
Joel Martin [Wed, 11 May 2011 20:55:44 +0000 (15:55 -0500)]
API changes/cleanup.

API changes:
    - include/canvas.js renamed to include/display.js
    - Display.rescale() method removed from API. Use Display.set_scale() instead.
    - Make logo configuration attribute of Display and display it when
      clear() is called if it is set.

API deprecations:
    - use RFB onUpdateState instead of updateState.
    - use RFB onClipboard instead of clipboardReceive.

See https://github.com/kanaka/noVNC/wiki/ModuleAPI for detailed noVNC
modules and API description.

Expand and normalize the event/callback interfaces. Standize on
"onEventName" form for callbacks.

    Callback Renames:
        - RFB updateState -> onUpdateState
        - RFB clipboardReceive -> onClipboard
        - Keyboard keyPress -> onKeyPress
        - Mouse mouseButton -> onMouseButton
        - Mouse mouseMove -> onMouseMove

    Callback Additions:
        - RFB onPasswordRequired
        - RFB onBell
        - RFB onFBUReceive
        - RFB onFBUComplete

Other:
- Add array type support to Util.conf_default()
- Removed a bunch of routines from the Display API that were just used
  internally and not actually by noVNC: flush, setFillColor,
  imageDataGet, imageDataCreate, rgbxImageData, rgbxImageFill,
  cmapImageData, cmapImageFill.
- More keyboard/mouse logging when debug turned on.
- Some JSLinting

13 years agoMerge branch 'master' of git@github.com:kanaka/noVNC
Joel Martin [Mon, 9 May 2011 23:09:59 +0000 (18:09 -0500)]
Merge branch 'master' of git@github.com:kanaka/noVNC

13 years agoStop sending empty frames.
Joel Martin [Mon, 9 May 2011 22:22:02 +0000 (17:22 -0500)]
Stop sending empty frames.

Pull from websockify a339a4856.

13 years agoinclude/canvas.js: missed scale fix.
Joel Martin [Fri, 29 Apr 2011 19:04:40 +0000 (14:04 -0500)]
include/canvas.js: missed scale fix.

13 years agoFix scale/rescale attribute/hooks.
Joel Martin [Fri, 29 Apr 2011 19:01:40 +0000 (14:01 -0500)]
Fix scale/rescale attribute/hooks.

Still buggy so not yet activated in the UI, but the hooks are at least
here.

13 years agoREADME.md: adjust links to clarify.
Joel Martin [Sun, 24 Apr 2011 17:52:19 +0000 (12:52 -0500)]
README.md: adjust links to clarify.

Separate the links from each other so it's obvious where the links
are.

13 years agoREADME.md: Add OpenStack doc and video link.
Joel Martin [Sun, 24 Apr 2011 17:45:58 +0000 (12:45 -0500)]
README.md: Add OpenStack doc and video link.

13 years agoREADME.md: fix wiki links.
Joel Martin [Sun, 24 Apr 2011 17:34:09 +0000 (12:34 -0500)]
README.md: fix wiki links.

github changed something about relative links.

13 years agotests/browser.js: Missing. Needed for arrays.html test.
Joel Martin [Thu, 21 Apr 2011 13:45:04 +0000 (08:45 -0500)]
tests/browser.js: Missing. Needed for arrays.html test.

13 years agoSync with websockify. Save handshake headers.
Joel Martin [Tue, 19 Apr 2011 14:37:43 +0000 (09:37 -0500)]
Sync with websockify. Save handshake headers.

Derived classes will almost certainly want to make use of the raw
info.

13 years agoinput.js: remove redundant switch case statments.
Joel Martin [Fri, 15 Apr 2011 14:48:04 +0000 (08:48 -0600)]
input.js: remove redundant switch case statments.

Issue #21 - non-US key handling.

13 years agoinput.js: uncomment special key handling for non-US keys.
Joel Martin [Fri, 15 Apr 2011 14:40:20 +0000 (08:40 -0600)]
input.js: uncomment special key handling for non-US keys.

Issue #21 - non-US keyboard layouts.

The code section for tab, backspace and enter was commented out for
testing but got checked in that way. Fix that.

13 years agoinclude/input.js: change to LGPL-2 or later.
Joel Martin [Thu, 14 Apr 2011 17:25:11 +0000 (11:25 -0600)]
include/input.js: change to LGPL-2 or later.

Requested by Alexander Larsson at Red Hat to allow incorporation of
solution into HTML5 gtk 3.0 backend.

13 years agoinput.js: adjust special key handling for non-US keys.
Joel Martin [Tue, 12 Apr 2011 14:06:11 +0000 (09:06 -0500)]
input.js: adjust special key handling for non-US keys.

Issue #21 - non-US keyboard layouts.

Only identify some keys as special during the keyDown event so that
when using non-US keyboards the values don't overlap with the values
for normal keys.

Some keys have to still be identified in both keyDown and keyPress
since they generate both: backspace and enter for Firefox and Opera,
tab for Opera.

13 years agoutil/json2graph.py: new location for json2graph.py.
Joel Martin [Wed, 6 Apr 2011 16:19:02 +0000 (11:19 -0500)]
util/json2graph.py: new location for json2graph.py.

Also clarify usage statement with legend height adjustment.

Remove console.log in arrays.js so that it works in firefox without
firebug.

13 years agoutils/rebind, utils/u2x11: use /usr/bin/env
Joel Martin [Wed, 6 Apr 2011 15:05:59 +0000 (10:05 -0500)]
utils/rebind, utils/u2x11: use /usr/bin/env

13 years agoinclude/webutil.js: fix dirObj undefined attribute.
Joel Martin [Tue, 5 Apr 2011 19:46:22 +0000 (14:46 -0500)]
include/webutil.js: fix dirObj undefined attribute.

13 years agoFix copyright year to 2011.
Joel Martin [Tue, 5 Apr 2011 19:44:47 +0000 (14:44 -0500)]
Fix copyright year to 2011.