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
1a623f75
Commit
1a623f75
authored
Apr 15, 2010
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update TODO and small perf cleanups.
parent
30059bdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
+20
-6
TODO
TODO
+14
-0
vnc.js
vnc.js
+6
-6
No files found.
TODO
View file @
1a623f75
...
...
@@ -3,9 +3,23 @@
- Get working in firefox using flash web-socket-js:
http://github.com/gimite/web-socket-js
- Only load Flash stuff if needed:
var x='< script type="text/javascript" src=';
var y='><\/script>';
var t='';
t+= x+'file1.js'+y;
t+= x+'file2.js'+y;
t+= x+'fileA.txt'+y;
document.write(t);
- Version without mootools:
- test cross-browser
- Add WSS/https/SSL support to page and wsproxy.py
- Make C version of wsproxy.py
- Implement UI option for shared.
- Upgrade to protocol 3.8
- implement ZRLE encoding
vnc.js
View file @
1a623f75
...
...
@@ -34,7 +34,8 @@ Array.prototype.shiftStr = function (len) {
return
String
.
fromCharCode
(
num
);
}
).
join
(
''
);
}
Array
.
prototype
.
pushStr
=
function
(
str
)
{
for
(
var
i
=
0
;
i
<
str
.
length
;
i
++
)
{
var
n
=
str
.
length
;
for
(
var
i
=
0
;
i
<
n
;
i
++
)
{
this
.
push
(
str
.
charCodeAt
(
i
));
}
}
...
...
@@ -377,8 +378,7 @@ display_raw: function () {
display_copy_rect
:
function
()
{
//console.log(">> display_copy_rect");
FBU
.
bytes
=
4
;
if
(
RFB
.
d
.
length
<
FBU
.
bytes
)
{
if
(
RFB
.
d
.
length
<
4
)
{
//console.log(" waiting for " + (FBU.bytes - RFB.d.length) + " COPY-RECT bytes");
return
;
}
...
...
@@ -392,9 +392,9 @@ display_copy_rect: function () {
display_rre
:
function
()
{
//console.log(">> display_rre (" + RFB.d.length + " bytes)");
if
(
FBU
.
subrects
==
0
)
{
FBU
.
bytes
=
4
+
RFB
.
fb_Bpp
;
if
(
RFB
.
d
.
length
<
FBU
.
bytes
)
{
//console.log(" waiting for " + (
FBU.bytes
- RFB.d.length) + " RRE bytes");
;
if
(
RFB
.
d
.
length
<
4
+
RFB
.
fb_Bpp
)
{
//console.log(" waiting for " + (
4 + RFB.fb_Bpp
- RFB.d.length) + " RRE bytes");
return
;
}
FBU
.
subrects
=
RFB
.
d
.
shift32
();
...
...
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