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
e0cbabec
Commit
e0cbabec
authored
Jan 29, 2004
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Honour the check for libz, libjpeg again
parent
34fc97a5
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
24 additions
and
20 deletions
+24
-20
ChangeLog
ChangeLog
+3
-0
Makefile.am
Makefile.am
+9
-2
configure.ac
configure.ac
+3
-1
tight.c
tight.c
+0
-5
zlib.c
zlib.c
+0
-3
zrle.c
zrle.c
+2
-2
zrleencodetemplate.c
zrleencodetemplate.c
+2
-2
zrleoutstream.c
zrleoutstream.c
+1
-1
zrleoutstream.h
zrleoutstream.h
+2
-2
zrlepalettehelper.c
zrlepalettehelper.c
+1
-1
zrlepalettehelper.h
zrlepalettehelper.h
+1
-1
No files found.
ChangeLog
View file @
e0cbabec
2004-01-29 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
* Honour the check for libz and libjpeg again.
2004-01-21 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
* do not send unneccessary updates when drawing a cursor
* ignore SIGPIPE; it is handled by EPIPE
...
...
Makefile.am
View file @
e0cbabec
...
...
@@ -18,11 +18,18 @@ EXTRA_DIST=tableinit24.c tableinittctemplate.c tabletranstemplate.c \
tableinitcmtemplate.c tabletrans24template.c
\
zrleencodetemplate.c
if
HAVE_LIBZ
ZLIBSRCS
=
zlib.c zrle.c zrleoutstream.c zrlepalettehelper.c
if
HAVE_LIBJPEG
JPEGSRCS
=
tight.c
endif
endif
LIB_SRCS
=
main.c rfbserver.c rfbregion.c auth.c sockets.c
\
stats.c corre.c hextile.c rre.c translate.c cutpaste.c
\
zlib.c tight.c
httpd.c cursor.c font.c
\
httpd.c cursor.c font.c
\
draw.c selbox.c d3des.c vncauth.c cargs.c
\
zrle.c zrleoutstream.c zrlepalettehelper.c
$(ZLIBSRCS)
$(JPEGSRCS)
libvncserver_a_SOURCES
=
$(LIB_SRCS)
...
...
configure.ac
View file @
e0cbabec
...
...
@@ -69,7 +69,7 @@ fi
if test ! -z "$HAVE_ZLIB_H"; then
AC_CHECK_LIB(z, deflate, , HAVE_ZLIB_H="")
if test ! -z "$HAVE_JPEGLIB_H" -a ! -z "$HAVE_ZLIB_H"; then
AC_CHECK_LIB(jpeg, jpeg_CreateCompress)
AC_CHECK_LIB(jpeg, jpeg_CreateCompress
, , HAVE_JPEGLIB_H=""
)
fi
fi
if test ! -z "$HAVE_PTHREAD_H"; then
...
...
@@ -77,6 +77,8 @@ if test ! -z "$HAVE_PTHREAD_H"; then
AC_CHECK_LIB(pthread, pthread_mutex_lock, HAVE_LIBPTHREAD="true")
fi
AM_CONDITIONAL(HAVE_LIBPTHREAD, test ! -z "$HAVE_LIBPTHREAD")
AM_CONDITIONAL(HAVE_LIBZ, test ! -z "$HAVE_ZLIB_H")
AM_CONDITIONAL(HAVE_LIBJPEG, test ! -u "$HAVE_JPEGLIB_H")
# Checks for header files.
AC_HEADER_STDC
...
...
tight.c
View file @
e0cbabec
...
...
@@ -27,9 +27,6 @@
/*#include <stdio.h>*/
#include <rfb/rfb.h>
#ifdef LIBVNCSERVER_HAVE_LIBZ
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
#ifdef WIN32
#define XMD_H
#undef FAR
...
...
@@ -1821,5 +1818,3 @@ JpegSetDstManager(j_compress_ptr cinfo)
cinfo
->
dest
=
&
jpegDstManager
;
}
#endif
/* LIBJPEG */
#endif
/* LIBZ */
zlib.c
View file @
e0cbabec
...
...
@@ -32,8 +32,6 @@
#include <rfb/rfb.h>
#ifdef LIBVNCSERVER_HAVE_LIBZ
/*
* zlibBeforeBuf contains pixel data in the client's format.
* zlibAfterBuf contains the zlib (deflated) encoding version.
...
...
@@ -302,4 +300,3 @@ rfbSendRectEncodingZlib(cl, x, y, w, h)
}
#endif
zrle.c
View file @
e0cbabec
...
...
@@ -24,8 +24,8 @@
* Routines to implement Zlib Run-length Encoding (ZRLE).
*/
#include
<rfb/rfb.h>
#include
<zrleoutstream.h>
#include
"rfb/rfb.h"
#include
"zrleoutstream.h"
#define GET_IMAGE_INTO_BUF(tx,ty,tw,th,buf) \
...
...
zrleencodetemplate.c
View file @
e0cbabec
...
...
@@ -31,8 +31,8 @@
* algorithm writes to the position one past the end of the pixel data.
*/
#include
<zrleoutstream.h>
#include
<zrlepalettehelper.h>
#include
"zrleoutstream.h"
#include
"zrlepalettehelper.h"
#include <assert.h>
/* __RFB_CONCAT2 concatenates its two arguments. __RFB_CONCAT2E does the same
...
...
zrleoutstream.c
View file @
e0cbabec
...
...
@@ -18,7 +18,7 @@
* USA.
*/
#include
<zrleoutstream.h>
#include
"zrleoutstream.h"
#include <stdlib.h>
#define ZRLE_IN_BUFFER_SIZE 16384
...
...
zrleoutstream.h
View file @
e0cbabec
...
...
@@ -22,8 +22,8 @@
#define __ZRLE_OUT_STREAM_H__
#include <zlib.h>
#include
<zrletypes.h>
#include
<rfb/rfb.h>
#include
"zrletypes.h"
#include
"rfb/rfb.h"
typedef
struct
{
zrle_U8
*
start
;
...
...
zrlepalettehelper.c
View file @
e0cbabec
...
...
@@ -18,7 +18,7 @@
* USA.
*/
#include
<zrlepalettehelper.h>
#include
"zrlepalettehelper.h"
#include <assert.h>
#include <string.h>
...
...
zrlepalettehelper.h
View file @
e0cbabec
...
...
@@ -26,7 +26,7 @@
#ifndef __ZRLE_PALETTE_HELPER_H__
#define __ZRLE_PALETTE_HELPER_H__
#include
<zrletypes.h>
#include
"zrletypes.h"
#define ZRLE_PALETTE_MAX_SIZE 127
...
...
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