]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
11 years agoAlways generate square cursor images in changeCursor (fix portrait mode issue).
vj [Wed, 17 Oct 2012 07:56:20 +0000 (09:56 +0200)]
Always generate square cursor images in changeCursor (fix portrait mode issue).

This is a workaround for corrupted non-square cursors seen on some
Windows 7 machines with NVIDIA cards. The corruption only happens when
the screen is in portrait mode.

11 years agoMerge pull request #191 from takaha/altgr
Joel Martin [Tue, 16 Oct 2012 15:09:35 +0000 (08:09 -0700)]
Merge pull request #191 from takaha/altgr

support ALTGR key event

11 years agoRefactoring hot blocks to help Chrome optimizing compiler.
Joel Martin [Mon, 15 Oct 2012 18:48:07 +0000 (13:48 -0500)]
Refactoring hot blocks to help Chrome optimizing compiler.

11 years agoChange noVNC license to from LGPLv3 to MPL 2.0
Joel Martin [Thu, 11 Oct 2012 17:16:58 +0000 (12:16 -0500)]
Change noVNC license to from LGPLv3 to MPL 2.0

The MPL 2.0 license is a "file-level" copyleft license vs the
"project-level" nature of the L/GPL. The intention of noVNC has
always been that it should be easy to incorporate into existing
projects and sites whether free/open or proprietary/commercial. The MPL
2.0 is designed for this sort of combination project but still
requires that any distributed modifications to noVNC source files must
also be published under the same license.

In addition, the MPL 2.0 allows the code to be used in L/GPL projects
(the secondary license clause). This means that any projects that are
already incorporating noVNC should not be impacted by this change and
in fact it should clarify the licensing situation (the exact
application of the L/GPL to web applications and interpreted code is
somewhat ambiguous).

The HTML, CSS, image and font files continue to be under more
permissive licenses (see LICENSE.txt). The included websockify python
code remains under a LGPLv3 license although the include/websock.js
file from the websockify component is now under MPL 2.0 as well.

Permission was received from other noVNC authors to make this change to their
code license on the following dates:

    - Chris Gordon (UI): Jun 24, 2012
    - Antoine Mercadal (DOM,*util.js): Oct 10, 2012
    - William Lightning (UltraVNC repeater): Oct 10, 2012
    - Mike Tinglof (tight encoding): Oct 15, 2012

11 years agoinclude/base64.js: update to MPL 2.0 base64 code from Mozilla
Joel Martin [Wed, 10 Oct 2012 19:36:44 +0000 (14:36 -0500)]
include/base64.js: update to MPL 2.0 base64 code from Mozilla

This updated version is imported from:
http://hg.mozilla.org/mozilla-central/raw-file/ec10630b1a54/js/src/devtools/jint/sunspider/string-base64.js

12 years agosupprt ALTGR key event
Hirokazu Takahashi [Tue, 25 Sep 2012 06:55:06 +0000 (15:55 +0900)]
supprt ALTGR key event

12 years agoUpdate websockify
Joel Martin [Fri, 21 Sep 2012 12:09:45 +0000 (07:09 -0500)]
Update websockify

Update to websockify febaeee85c

Gracefully handle errors when popping kwargs:
https://github.com/kanaka/websockify/pull/53

12 years agodebian/novnc.install: pick up include/start.js
Joel Martin [Thu, 20 Sep 2012 19:04:35 +0000 (14:04 -0500)]
debian/novnc.install: pick up include/start.js

12 years agoinclude/webutil.js: fix when 'chrome' global not present.
Joel Martin [Mon, 17 Sep 2012 22:18:44 +0000 (17:18 -0500)]
include/webutil.js: fix when 'chrome' global not present.

12 years agoinclude/ui.js: call setBarPosition on initial load.
Joel Martin [Fri, 14 Sep 2012 21:37:08 +0000 (16:37 -0500)]
include/ui.js: call setBarPosition on initial load.

Call setBarPosition on initial load and not just when the window size
changes or scrolling happens.

12 years agotcp-client.js: after read, try read again.
Joel Martin [Fri, 14 Sep 2012 21:35:44 +0000 (16:35 -0500)]
tcp-client.js: after read, try read again.

After a read completes it's possible more data is pending so issue an
immediate read again to pick this up quickly.

12 years agoinclude/vnc.js: dynamic load without document.write.
Joel Martin [Fri, 14 Sep 2012 21:29:35 +0000 (16:29 -0500)]
include/vnc.js: dynamic load without document.write.

Instead of using document.write to load scripts, use createElement to
create and append script tags. document.write is problematic in a lot
of situation and in particular is not allowed in a Chrome
extension/packaged app.

Also, in webutil.js, instead of calling init_logging during parsing of
include/webutil.js, rely on the caller to do this. The problem is that
calling init_logging on parse tries to call Util logging functions and
the new model of dynamic load may not having Util loaded by the time
webutil is parsed.

12 years agovnc.html, ui.js: move all Javascript to ui.js.
Joel Martin [Fri, 14 Sep 2012 21:27:35 +0000 (16:27 -0500)]
vnc.html, ui.js: move all Javascript to ui.js.

Move all the inline Javascript event handlers from vnc.html to
include/ui.js except the load handler which is moved to
include/start.js). This is on the path towards a Chrome
extension/packaged app since inline Javascript is prohibited in that
situation.

12 years agoui.js: use localStorage/chrome.storage for settings.
Joel Martin [Fri, 14 Sep 2012 21:23:03 +0000 (16:23 -0500)]
ui.js: use localStorage/chrome.storage for settings.

Switch from using cookies to store setting to using localStorage (or
chrome.storage.sync if available in extension/app mode) for the
settings. Also refactor to make the initializing of the setting and
and loading of the UI to be more asynchronous.

12 years agowebutil.js: add localStorage/chrome.storage settings.
Joel Martin [Fri, 14 Sep 2012 21:18:18 +0000 (16:18 -0500)]
webutil.js: add localStorage/chrome.storage settings.

Add routines to store/read settings in either localStorage or in
chrome.storage.sync (which is synchronized between browsers for
extensions/apps).

Before using chrome.storage.sync the initSettings routine must to
called setup the intermediate cache which speeds up access and allows
multiple setting changes to be coallesced to avoid hitting storage
change frequency limits/quotas.

12 years agorfb.js: add onFBResize event callback.
Joel Martin [Fri, 14 Sep 2012 16:47:01 +0000 (11:47 -0500)]
rfb.js: add onFBResize event callback.

12 years agoNote that tcp-stream.js is Apache 2.0 LICENSE.
Joel Martin [Thu, 13 Sep 2012 19:48:54 +0000 (14:48 -0500)]
Note that tcp-stream.js is Apache 2.0 LICENSE.

Also, include Apache-2.0 license text.

12 years agotcp-client.js: read/write arraybuffer. Read/disconnect handling.
Joel Martin [Thu, 13 Sep 2012 19:42:47 +0000 (14:42 -0500)]
tcp-client.js: read/write arraybuffer. Read/disconnect handling.

- enable sending and receiving of raw array buffers in addition to
  strings.

- add a read poll interval and set it to 15ms by default to detect
  and handle quickly when a message is pending.

- also, detect a disconnected state and add call registration for
  disconnect events.

12 years agoinclude/chrome-app/tcp-client.js: import upstream.
Joel Martin [Thu, 13 Sep 2012 19:31:25 +0000 (14:31 -0500)]
include/chrome-app/tcp-client.js: import upstream.

Import upstream code from Chrome extension telnet demo:
https://raw.github.com/GoogleChrome/chrome-app-samples/0ce28768087863c08aa04a2b9b27bd50796a77ec/telnet/tcp-client.js

12 years agoUpdate websockify/websock.js.
Joel Martin [Mon, 17 Sep 2012 22:00:01 +0000 (17:00 -0500)]
Update websockify/websock.js.

This change pulls websockify 6d9deda9c5.

Most note worthy changes:
- Pulls in web-socket-js 7677e7a954 which updates to IETF 6455 (from
  Hixie)
- Binary support detection and use in include/websock.js
- Add ssl and unix target support
- Add multiple target support via config file/dir.
- Idle timeout exit

12 years agoMerge branch 'binary', fix encode_message
Joel Martin [Fri, 14 Sep 2012 22:27:45 +0000 (17:27 -0500)]
Merge branch 'binary', fix encode_message

Conflicts:
include/websock.js

For some reason encode_message was missed. But I'm just punting and
doing the fixup in the merge. Yeah, tsk, tsk.

12 years agodoc/release.txt: fix small error in process.
Joel Martin [Fri, 14 Sep 2012 22:07:13 +0000 (17:07 -0500)]
doc/release.txt: fix small error in process.

Push master and version tag separately.

12 years agonoVNC version 0.4
Joel Martin [Fri, 14 Sep 2012 22:00:56 +0000 (17:00 -0500)]
noVNC version 0.4

12 years agoREADME: simplify projects/companies. News/help/contact section.
Joel Martin [Tue, 28 Aug 2012 22:39:02 +0000 (17:39 -0500)]
README: simplify projects/companies. News/help/contact section.

Instead of continuing to maintain the full list of project/companies
that use noVNC in multiple places (README, wiki, web page) just link
to the wiki page.

Link to noVNC discussion group page. Link to issues page. Link to
Amazon wishlist and non-profits for appreciation.

12 years agoREADME: simplify projects/companies. News/help/contact section.
Joel Martin [Tue, 28 Aug 2012 22:39:02 +0000 (17:39 -0500)]
README: simplify projects/companies. News/help/contact section.

Instead of continuing to maintain the full list of project/companies
that use noVNC in multiple places (README, wiki, web page) just link
to the wiki page.

Link to noVNC discussion group page. Link to issues page. Link to
Amazon wishlist and non-profits for appreciation.

12 years agoMerge pull request #185 from dark/master
Joel Martin [Tue, 28 Aug 2012 13:59:52 +0000 (06:59 -0700)]
Merge pull request #185 from dark/master

Fix grep pattern when matching netstat output

12 years agoFix grep pattern when searching for listening sockets
Marco Leogrande [Tue, 28 Aug 2012 05:19:51 +0000 (22:19 -0700)]
Fix grep pattern when searching for listening sockets

The current grep pattern matches also port numbers that match only
partially the given $PORT number; e.g., if $PORT is 6080, 60800 will
match as well.

While TCP listening sockets in the 60000-65535 range are rare, they
need to be handled as well. The problem is also present if the user
selects a shorter PORT value with the --listen command line argument.

By adding a space, the pattern is fixed.

12 years agowebutil.js: use decodeURIComponent on getQueryVar values.
Joel Martin [Tue, 21 Aug 2012 14:46:11 +0000 (09:46 -0500)]
webutil.js: use decodeURIComponent on getQueryVar values.

12 years agowebsock.js: simpler binary support, protocols param.
Joel Martin [Thu, 16 Aug 2012 18:31:31 +0000 (13:31 -0500)]
websock.js: simpler binary support, protocols param.

Use a simpler method of enabling binary transfer over WebSockets. This
still presents the user of websock.js with a plain javascript array
for the receive queue data. However, if binary support is supported
and requested then the transfer will be raw frames instead of base64
encoded.

Lots of room for optimization here but for now correct is better than
fast.

Pull from websockify 17175afd7311c55abd8d

12 years agoRevert "Pull in latest websockify."
Joel Martin [Wed, 15 Aug 2012 18:48:03 +0000 (13:48 -0500)]
Revert "Pull in latest websockify."

This reverts commit 4dd1bb1ecbd49c112c2f7ff4bd66016ebe38d063.

12 years agoRevert "Fix tight decoding when using binary/non-base64 connection."
Joel Martin [Wed, 15 Aug 2012 18:47:37 +0000 (13:47 -0500)]
Revert "Fix tight decoding when using binary/non-base64 connection."

This reverts commit 14717eb468d9cf1c93559c8d0a6cb16b3c959b55.

12 years agoFix tight decoding when using binary/non-base64 connection.
Joel Martin [Wed, 15 Aug 2012 17:45:53 +0000 (12:45 -0500)]
Fix tight decoding when using binary/non-base64 connection.

12 years agoPull in latest websockify.
Joel Martin [Tue, 14 Aug 2012 20:33:42 +0000 (15:33 -0500)]
Pull in latest websockify.

Pull in version 376872d99.

Several changes including:
- binary/typed array support in websock.js
- unix socket support
- multiple target support via config file(s)
- prefer IPv6 option

12 years agotimers: fix over repeated connects.
Joel Martin [Thu, 28 Jun 2012 15:29:12 +0000 (10:29 -0500)]
timers: fix over repeated connects.

With tight we can't ever use FBU.rects being 0 as an indication of
a full frame having been drawn.

12 years agowebsock.js: comment out debug options.
Joel Martin [Tue, 26 Jun 2012 02:42:56 +0000 (21:42 -0500)]
websock.js: comment out debug options.

12 years agoLicense clarification: HTML,CSS,images,fonts under permissive licenses.
Joel Martin [Sun, 24 Jun 2012 21:23:58 +0000 (16:23 -0500)]
License clarification: HTML,CSS,images,fonts under permissive licenses.

Clarify in LICENSE.txt that the noVNC core library is the part that is
LGPLv3 licensed. The HTML, CSS, images and fonts are separate from the
core library and can be modified and distributed with the noVNC core
but under their own license conditions.

HTML and CSS: 2-Clause BSD
Fonts: SIL OFL 1.1
Images: CC BY SA 3.0

In other words, you can modify the layout and appearance of of noVNC
to integrate with an existing or new web site or application without
having to publish the source for those modifications under the LGPLv3.
However, use of and modification of the noVNC core library (i.e. the
core Javascript that makes up noVNC) must still be according to the
LGPLv3.

Chris Gordon was the other contributor to the HTML, CSS, and images
included with noVNC and gave permission for this license clarification
on June 23, 2012.

12 years agoMerge branch 'master' of github.com:kanaka/noVNC
Joel Martin [Sat, 23 Jun 2012 19:23:50 +0000 (14:23 -0500)]
Merge branch 'master' of github.com:kanaka/noVNC

12 years agoUltraVNC repeaterID cleanup.
Joel Martin [Sat, 23 Jun 2012 19:22:47 +0000 (14:22 -0500)]
UltraVNC repeaterID cleanup.

https://github.com/kanaka/noVNC/issues/103
https://github.com/kanaka/noVNC/pull/170

12 years agoMerge remote branch 'kassah/master'
Joel Martin [Sat, 23 Jun 2012 19:16:49 +0000 (14:16 -0500)]
Merge remote branch 'kassah/master'

12 years agoremove docs/TODO: see issues marked as "feature".
Joel Martin [Sat, 23 Jun 2012 19:15:41 +0000 (14:15 -0500)]
remove docs/TODO: see issues marked as "feature".

https://github.com/kanaka/noVNC/issues?labels=feature

12 years agoUpdate vnc_auto.html to use config option for repeaterID
William Lightning [Sat, 23 Jun 2012 05:34:20 +0000 (22:34 -0700)]
Update vnc_auto.html to use config option for repeaterID

12 years agoMake repeaterID show up in config options on vnc.html
William Lightning [Sat, 23 Jun 2012 05:30:57 +0000 (22:30 -0700)]
Make repeaterID show up in config options on vnc.html

12 years agoChange RepeaterID to be a config option
William Lightning [Sat, 23 Jun 2012 05:30:05 +0000 (22:30 -0700)]
Change RepeaterID to be a config option

12 years agoMerge pull request #172 from soheilhassasyeganeh/fix_novarpc
Joel Martin [Fri, 22 Jun 2012 22:41:43 +0000 (15:41 -0700)]
Merge pull request #172 from soheilhassasyeganeh/fix_novarpc

Fixes nova rpc package.

12 years agoFixes nova rpc package.
Soheil Hassas Yeganeh [Fri, 22 Jun 2012 01:38:52 +0000 (21:38 -0400)]
Fixes nova rpc package.

12 years agoFix forcing of web-socket-js even when native available.
Joel Martin [Fri, 8 Jun 2012 15:42:26 +0000 (10:42 -0500)]
Fix forcing of web-socket-js even when native available.

12 years agoMerge pull request #168 from soheilhassasyeganeh/master
Joel Martin [Fri, 8 Jun 2012 15:26:41 +0000 (08:26 -0700)]
Merge pull request #168 from soheilhassasyeganeh/master

Fix nova flag API change

12 years agoMerging with upstream tree.
Soheil Hassas Yeganeh [Fri, 8 Jun 2012 15:12:22 +0000 (11:12 -0400)]
Merging with upstream tree.

12 years agoAdd ultravnc_repeater.pl support to rfb.js and vnc_auto.html
William Lightning [Thu, 7 Jun 2012 06:10:13 +0000 (23:10 -0700)]
Add ultravnc_repeater.pl support to rfb.js and vnc_auto.html

12 years agoSwitch to nova's new flag API.
Soheil Hassas Yeganeh [Thu, 7 Jun 2012 00:26:25 +0000 (21:26 -0300)]
Switch to nova's new flag API.

12 years agoREADME: Add PocketVNC.
Joel Martin [Thu, 24 May 2012 12:08:45 +0000 (07:08 -0500)]
README: Add PocketVNC.

12 years agoMerge pull request #166 from mnaser/patch-1
Joel Martin [Fri, 18 May 2012 16:44:54 +0000 (09:44 -0700)]
Merge pull request #166 from mnaser/patch-1

Remove old flagfile support

12 years agoRemove old flagfile support
Mohammed Naser [Thu, 17 May 2012 16:48:42 +0000 (13:48 -0300)]
Remove old flagfile support

default_flagfile has been removed from the nova trunk in favour of .ini files (https://github.com/openstack/nova/commit/7e3e9b8e9cea4f1bf78d127ffb915b79c854fdbe)

12 years agorfb: Use the render queue for copyrect.
Joel Martin [Thu, 17 May 2012 16:19:07 +0000 (11:19 -0500)]
rfb: Use the render queue for copyrect.

This will keep copyrect rendering actions in order with tight and tightPNG
rendering actions (otherwise you can get visual image corruption when
they are mixed together).

Warning:

RAW, RRE and HEXTILE still use immediate render commands so there is
still the risk of out-of-order rendering if RAW, RRE, and HEXTILE are
mixed with tight and tightPNG. Copyrect will work with either because
the renderQ_push function will render copyrects immediately if they
are the only thing being pushed on the queue.

12 years agoMove render queue processing to Display and use requestAnimationFrame
Joel Martin [Thu, 17 May 2012 16:13:08 +0000 (11:13 -0500)]
Move render queue processing to Display and use requestAnimationFrame

The imgQ code in RFB should be a generic rendering queue system in
Display.

The reason for the render queue in the first place is that images
loaded from raw data URI strings aren't immediately ready to display
so we have to wait for them to complete 'loading'. However, when data
URI images are mixed with other types of rendering actions then things
can get out of order. This is the reason for the rendering queue.

Currently this only keeps display actions for tight and tightPNG
related actions in order (because they use a mix of fills, raw pixel
data and data URI images).

12 years agorfb: debug output cleanup.
Joel Martin [Thu, 17 May 2012 16:07:07 +0000 (11:07 -0500)]
rfb: debug output cleanup.

12 years agoREADME: Link to websockify encryption page.
Joel Martin [Wed, 16 May 2012 23:31:04 +0000 (18:31 -0500)]
README: Link to websockify encryption page.

12 years agoFail the connection on unexpected tightPNG cmode.
Joel Martin [Wed, 16 May 2012 23:07:18 +0000 (18:07 -0500)]
Fail the connection on unexpected tightPNG cmode.

This related to https://github.com/kanaka/noVNC/issues/145

The real fix is to QEMU so that this doesn't happen which was
submitted as a patch to the mailinglist right before this.

12 years agodocs/release.txt: --all and --tags are incompatible
Joel Martin [Fri, 11 May 2012 19:48:34 +0000 (14:48 -0500)]
docs/release.txt: --all and --tags are incompatible

12 years agodocs/release.txt: correct tag instructions
Joel Martin [Fri, 11 May 2012 19:45:53 +0000 (14:45 -0500)]
docs/release.txt: correct tag instructions

12 years agonoVNC version 0.3
Joel Martin [Fri, 11 May 2012 19:42:05 +0000 (14:42 -0500)]
noVNC version 0.3

- Also add docs/release.txt instruction file.

12 years agoPull from websockify. Fix close code.
Joel Martin [Fri, 11 May 2012 03:10:01 +0000 (22:10 -0500)]
Pull from websockify. Fix close code.

12 years agoAdd/use display.drawImage which is viewport relative.
Joel Martin [Thu, 10 May 2012 23:13:07 +0000 (18:13 -0500)]
Add/use display.drawImage which is viewport relative.

Fixes https://github.com/kanaka/noVNC/issues/163

When using an encoding with raw images (tight, tightPNG) we need to
draw those image relative to the viewport so that clipping works when
the viewport isn't at 0, 0.

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