Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
d38db74a
Commit
d38db74a
authored
Mar 09, 2012
by
Mike Tinglof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some documentation; default to existing websocket transport
parent
9b75bcaa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
7 deletions
+19
-7
README.md
README.md
+1
-1
jsunzip.js
include/jsunzip.js
+3
-0
rfb.js
include/rfb.js
+13
-6
vnc.js
include/vnc.js
+2
-0
No files found.
README.md
View file @
d38db74a
...
...
@@ -26,7 +26,7 @@ their products including: [Ganeti Web Manager](http://code.osuosl.org/projects/g
*
Easy site integration and theming (3 example themes included)
*
Licensed under the
[
LGPLv3
](
http://www.gnu.org/licenses/lgpl.html
)
*
Support for tight encoding (contributed by Mercuri.ca)
### Screenshots
...
...
include/jsunzip.js
View file @
d38db74a
...
...
@@ -195,6 +195,9 @@ function JSUnzip() {
/*
* tinflate javascript port by Erik Moller in May 2011.
* emoller@opera.com
*
* read_bits() patched by mike@imidio.com to allow
* reading more then 8 bits (needed in some zlib streams)
*/
"use strict"
;
...
...
include/rfb.js
View file @
d38db74a
...
...
@@ -4,6 +4,9 @@
* Licensed under LGPL-3 (see LICENSE.txt)
*
* See README.md for usage and integration instructions.
*
* TIGHT decoder portion:
* (c) 2012 Michael Tinglof, Joe Balaz, Les Piech (Mercuri.ca)
*/
/*jslint white: false, browser: true, bitwise: false, plusplus: false */
...
...
@@ -275,14 +278,18 @@ function constructor() {
function
connect
()
{
Util
.
Debug
(
">> RFB.connect"
);
var
uri
=
""
;
if
(
conf
.
encrypt
)
{
uri
=
"
wss://"
;
var
uri
;
if
(
typeof
UsingSocketIO
!==
"undefined"
)
{
uri
=
"
http://"
+
rfb_host
+
":"
+
rfb_port
+
"/"
+
rfb_path
;
}
else
{
uri
=
"ws://"
;
if
(
conf
.
encrypt
)
{
uri
=
"wss://"
;
}
else
{
uri
=
"ws://"
;
}
uri
+=
rfb_host
+
":"
+
rfb_port
+
"/"
+
rfb_path
;
}
uri
+=
rfb_host
+
":"
+
rfb_port
+
"/"
+
rfb_path
;
Util
.
Info
(
"connecting to "
+
uri
);
ws
.
open
(
uri
);
...
...
include/vnc.js
View file @
d38db74a
...
...
@@ -32,9 +32,11 @@ function get_INCLUDE_URI() {
extra
+=
start
+
"webutil.js"
+
end
;
extra
+=
start
+
"base64.js"
+
end
;
extra
+=
start
+
"websock.js"
+
end
;
// extra += start + "socketio.js" + end;
extra
+=
start
+
"des.js"
+
end
;
extra
+=
start
+
"input.js"
+
end
;
extra
+=
start
+
"display.js"
+
end
;
extra
+=
start
+
"blowfish.js"
+
end
;
extra
+=
start
+
"rfb.js"
+
end
;
extra
+=
start
+
"jsunzip.js"
+
end
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment