Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
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
libvncserver
Commits
347c4a98
Commit
347c4a98
authored
May 13, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some build issues WRT ultravnc code.
parent
279f3549
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
6999 additions
and
6983 deletions
+6999
-6983
ChangeLog
ChangeLog
+9
-0
Makefile.am
libvncclient/Makefile.am
+3
-1
lzoconf.h
libvncclient/lzoconf.h
+451
-451
minilzo.c
libvncclient/minilzo.c
+2935
-2935
minilzo.h
libvncclient/minilzo.h
+100
-100
lzoconf.h
libvncserver/lzoconf.h
+451
-451
minilzo.c
libvncserver/minilzo.c
+2935
-2935
minilzo.h
libvncserver/minilzo.h
+100
-100
rfbserver.c
libvncserver/rfbserver.c
+5
-3
scale.c
libvncserver/scale.c
+8
-5
Makefile.am
vncterm/Makefile.am
+2
-2
No files found.
ChangeLog
View file @
347c4a98
2006-05-13 Karl Runge <runge@karlrunge.com>
* minilzo.c,minilzo.h,lzoconf.h: switch to non-CRLF versions.
* libvncclient/Makefile.am: add minilzo.c, minilzo.h, lzoconf.h
and ultra.c to materials lists.
* libvncserver/scale.c: remove libm dependency with CEIL and
FLOOR macros.
* libvncserver/rfbserver.c: remove C99 declarations.
* vncterm/Makefile.am: fix VPATH build.
2006-05-06 Karl Runge <runge@karlrunge.com>
* configure.ac: add linux/videodev.h and linux/fb.h detection.
...
...
libvncclient/Makefile.am
View file @
347c4a98
...
...
@@ -2,9 +2,11 @@ AM_CFLAGS=-g -I $(top_srcdir) -I. -Wall
libvncclient_a_SOURCES
=
cursor.c listen.c rfbproto.c sockets.c vncviewer.c minilzo.c
noinst_HEADERS
=
lzoconf.h minilzo.h
rfbproto.o
:
rfbproto.c corre.c hextile.c rre.c tight.c zlib.c zrle.c ultra.c
EXTRA_DIST
=
corre.c hextile.c rre.c tight.c zlib.c zrle.c
EXTRA_DIST
=
corre.c hextile.c rre.c tight.c zlib.c zrle.c
ultra.c
$(libvncclient_a_OBJECTS)
:
../rfb/rfbclient.h
...
...
libvncclient/lzoconf.h
View file @
347c4a98
libvncclient/minilzo.c
View file @
347c4a98
libvncclient/minilzo.h
View file @
347c4a98
libvncserver/lzoconf.h
View file @
347c4a98
libvncserver/minilzo.c
View file @
347c4a98
libvncserver/minilzo.h
View file @
347c4a98
libvncserver/rfbserver.c
View file @
347c4a98
...
...
@@ -1703,11 +1703,12 @@ rfbSendFramebufferUpdate(rfbClientPtr cl,
int
y
=
rect
.
y1
;
int
w
=
rect
.
x2
-
x
;
int
h
=
rect
.
y2
-
y
;
int
rectsPerRow
,
rows
;
/* We need to count the number of rects in the scaled screen */
if
(
cl
->
screen
!=
cl
->
scaledScreen
)
rfbScaledCorrection
(
cl
->
screen
,
cl
->
scaledScreen
,
&
x
,
&
y
,
&
w
,
&
h
,
"rfbSendFramebufferUpdate"
);
int
rectsPerRow
=
(
w
-
1
)
/
cl
->
correMaxWidth
+
1
;
int
rows
=
(
h
-
1
)
/
cl
->
correMaxHeight
+
1
;
rectsPerRow
=
(
w
-
1
)
/
cl
->
correMaxWidth
+
1
;
rows
=
(
h
-
1
)
/
cl
->
correMaxHeight
+
1
;
nUpdateRegionRects
+=
rectsPerRow
*
rows
;
}
sraRgnReleaseIterator
(
i
);
...
...
@@ -1749,10 +1750,11 @@ rfbSendFramebufferUpdate(rfbClientPtr cl,
int
y
=
rect
.
y1
;
int
w
=
rect
.
x2
-
x
;
int
h
=
rect
.
y2
-
y
;
int
n
;
/* We need to count the number of rects in the scaled screen */
if
(
cl
->
screen
!=
cl
->
scaledScreen
)
rfbScaledCorrection
(
cl
->
screen
,
cl
->
scaledScreen
,
&
x
,
&
y
,
&
w
,
&
h
,
"rfbSendFramebufferUpdate"
);
int
n
=
rfbNumCodedRectsTight
(
cl
,
x
,
y
,
w
,
h
);
n
=
rfbNumCodedRectsTight
(
cl
,
x
,
y
,
w
,
h
);
if
(
n
==
0
)
{
nUpdateRegionRects
=
0xFFFF
;
break
;
...
...
libvncserver/scale.c
View file @
347c4a98
...
...
@@ -66,7 +66,10 @@
#endif
/****************************/
#include <math.h>
#define CEIL(x) ( (double) ((int) (x)) == (x) ? \
(double) ((int) (x)) : (double) ((int) (x) + 1) )
#define FLOOR(x) ( (double) ((int) (x)) )
int
ScaleX
(
rfbScreenInfoPtr
from
,
rfbScreenInfoPtr
to
,
int
x
)
{
...
...
@@ -105,12 +108,12 @@ void rfbScaledCorrection(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int *x, int
/*cast from double to int is same as "*x = floor(x1);" */
x2
=
floor
(
x1
);
y2
=
floor
(
y1
);
x2
=
FLOOR
(
x1
);
y2
=
FLOOR
(
y1
);
/* include into W and H the jitter of scaling X and Y */
w2
=
ceil
(
w1
+
(
x1
-
x2
));
h2
=
ceil
(
h1
+
(
y1
-
y2
));
w2
=
CEIL
(
w1
+
(
x1
-
x2
));
h2
=
CEIL
(
h1
+
(
y1
-
y2
));
/*
* rfbLog("%s (%dXx%dY-%dWx%dH -> %fXx%fY-%fWx%fH) {%dWx%dH -> %dWx%dH}\n",
...
...
vncterm/Makefile.am
View file @
347c4a98
AM_CFLAGS
=
-I
$(top_srcdir)
CONSOLE_SRCS
=
VNConsole.c
noinst_HEADERS
=
VNConsole.h vga.h
CFLAGS_ADD
=
-I
..
LDADD
=
../libvncserver/libvncserver.a @WSOCKLIB@
INCLUDES
=
-I
.
...
...
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