[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/krfb/krfb
From:       George Kiagiadakis <kiagiadakis.george () gmail ! com>
Date:       2010-11-10 18:57:21
Message-ID: 20101110185721.341FCAC8AE () svn ! kde ! org
[Download RAW message or body]

SVN commit 1195287 by gkiagia:

Change the way rfb events are handled so that they are properly integrated with the Qt event mechanism.

Changes include:
- Use a QSocketNotifier on each rfb socket that we know about, so
  that we don't have to poll the sockets using a timer.
- Use a server registration mechanism in RfbServerManager so that
  the manager can update all the servers at once and delete them
  properly before shutting down.
- Send updates to the clients periodically from the server manager
  and start/stop the update timer when clients connect/disconnect.
  This makes cpu usage drop dramatically when krfb is idle listening
  for incoming connections.
- Let RfbServer handle the screen pointer.
- Other minor adjustments (sorry for not making a separate commit)

 M  +6 -16     invitationsrfbserver.cpp  
 M  +0 -1      invitationsrfbserver.h  
 M  +1 -4      main.cpp  
 M  +100 -13   rfbclient.cpp  
 M  +17 -6     rfbclient.h  
 M  +177 -8    rfbserver.cpp  
 M  +22 -6     rfbserver.h  
 M  +41 -205   rfbservermanager.cpp  
 M  +5 -7      rfbservermanager.h  
 M  +2 -2      tubesrfbserver.cpp  


http://websvn.kde.org/?view=rev&revision=1195287
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic