Pierre Ossman
b6d6db9b7c
Be consistent in including config.h
The generally recommended way is to include it from source files, not
headers. We had a mix of both. Let's try to be consistent and follow the
recommended way.
2 years ago
Pierre Ossman
c3dcff0936
Fix bad reference in Timer::getRemainingMs()
The reference for "dueTime" wasn't properly updated when this code
was refactored from a static method to a normal object method.
5 years ago
Pierre Ossman
a2b80d6ae7
Limit lossless refresh update to safe size
We don't want to waste bandwidth on the lossless refresh if we might
need that bandwidth for a normal update. Try to estimate how much
data we can safely send without interfering.
6 years ago
Pierre Ossman
e0a3ad423d
Handle timers which should be executed right away
7 years ago
Peter Åstrand (astrand)
453da22b87
Remove support for Lynx/OS
6 years ago
Pierre Ossman
79621345b9
Better handling of slow timers
Make sure the code deals more gracefully with timers that take a
long time to execute, and therefore might miss their deadlines.
7 years ago
Pierre Ossman
9c181baf3c
Use mingw's gettimeofday()
mingw has a perfectly functional gettimeofday() so use that instead
of having multiple copies of our own version.
8 years ago
Pierre Ossman
5789572d97
Remove logging of each Timer firing
It just adds noise and you can't really tell which timer it is
anyway without more logging in other places.
9 years ago
DRC
0a60801896
Not necessary to include windows.h if winsock2.h is already included. If both are included, then winsock2.h must be included first.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4059 3789f03b-4d11-0410-bbf8-ca57d06f2519
14 years ago
Constantin Kaplinsky
a2adc8d4cf
Migrating to new directory structure adopted from the RealVNC's source tree. More changes will follow.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519
18 years ago
Constantin Kaplinsky
979d44b10b
Changes to build under LynxOS 2.3. Some more changes should be done to
build successfully, e.g. LynxOS 2.3 does not have snprintf().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@571 3789f03b-4d11-0410-bbf8-ca57d06f2519
18 years ago
Constantin Kaplinsky
bdf5651f1d
Two new files from VNC 4.1.1 that were overlooked on merging.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@524 3789f03b-4d11-0410-bbf8-ca57d06f2519
18 years ago