Commit Graph

22 Commits (15bb719c03cc70f14c36a843dcb16ed69b405707)

Author SHA1 Message Date
Tobias Junghans c422847e2c LibVNCClient: fix integer shifts for cursor colors
Shifting values > 32768 by 16 places can cause undefined results for
signed integers. Therefore cast color components to unsigned integer
before shifting.
6 years ago
runge f40b011182 Add locks of updateMutex in rfbRedrawAfterHideCursor() and
rfbSetClientColourMap().  Up listen limit from 5 to 32.
15 years ago
Vic Lee a4cc897222 Fix various compilation warnings
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
15 years ago
runge ca56c41c9c Fix short vs. char problem with X cursors. Have fg == bg == 0 imply interpolation to B&W. 18 years ago
steven_carr 0a21bf330c Corrected Cursor Statistics reporting as messages 19 years ago
steven_carr ccdbe8f325 The great UltraVNC Compatibility Commit 19 years ago
steven_carr 2670641432 Client Independent Server Side Scaling is now supported
Both PalmVNC and UltraVNC SetScale messages are supported
19 years ago
runge 603b5667b6 fix some non-gcc compiler warnings and signals in x11vnc 19 years ago
runge 543e64d3c6 main.c: XReadScreen check, fix 64bit use of cursors, x11vnc: first round of beta-testing fixes, RFE's. 20 years ago
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 20 years ago
dscho 6273f2065a implemented Floyd-Steinberg dither in order to rfbMakeMaskFromAlphaSource 20 years ago
dscho cafeb40fed disappearing cursor fixed & debug message purged 20 years ago
dscho 155f4c1053 fix disappearing cursor 20 years ago
dscho 47646a200f redraw region under old cursor even if the old cursor doesn't have to be freed. 20 years ago
dscho 81ac5600be oops, a debug message slipped through 20 years ago
dscho a84b3d072a pointerClient was still static.
do not make requestedRegion empty without reason.

the cursor handling for clients which don't handle CursorShape updates was
completely broken. It originally was very complicated for performance
reasons, however, in most cases it made performance even worse, because at
idle times there was way too much checking going on, and furthermore,
sometimes unnecessary updates were inevitable.

The code now is much more elegant: the ClientRec structure knows exactly
where it last painted the cursor, and the ScreenInfo structure knows where
the cursor shall be.

As a consequence there is no more rfbDrawCursor()/rfbUndrawCursor(), no more
dontSendFramebufferUpdate, and no more isCursorDrawn.  It is now possible to
have clients which understand CursorShape updates and clients which don't at
the same time.

rfbSetCursor no longer has the option freeOld; this is obsolete, as the cursor
structure knows what to free and what not.
20 years ago
runge b58e460fac add cursor alphablending to rfb.h cursor.c, x11vnc -alphablend -snapfb etc.. 20 years ago
runge 2cc1b1d3e7 x11vnc: synchronous mode for -remote, string cleanup 20 years ago
dscho f28038b28a don't mix up width & height! 20 years ago
dscho 97299606da global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
21 years ago
dscho fefcb9188a fix cursor trails (when not using cursor encoding and moving the cursor,
the redrawn part of the screen didn't get updated, and so left cursor trails).
21 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago