853 Commits

Author SHA1 Message Date
Script Kiddy
e95edcf538 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdenetwork/krfb/; revision=1234347
v4.6.5 v4.6.4
2011-05-31 16:18:46 +00:00
Script Kiddy
68707d3647 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdenetwork/krfb/; revision=1224588
v4.6.3 v4.6.2
2011-03-12 13:37:54 +00:00
Script Kiddy
13df1ea3f9 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdenetwork/krfb/; revision=1224164
2011-03-08 14:46:12 +00:00
Script Kiddy
26fc2e54ea SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdenetwork/krfb/; revision=1222925
2011-02-27 13:17:21 +00:00
Script Kiddy
2a8b831d45 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdenetwork/krfb/; revision=1220899
v4.6.1
2011-02-15 14:44:07 +00:00
Script Kiddy
f761672519 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdenetwork/krfb/; revision=1217464
2011-01-27 12:03:59 +00:00
Script Kiddy
759daa741d SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdenetwork/krfb/; revision=1211454
v4.6.0 v4.5.95
2011-01-04 07:25:00 +00:00
Script Kiddy
d93b3faf39 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1206623
v4.5.90
2010-12-15 05:56:22 +00:00
Dirk Mueller
8a2549b757 fix format string escaping
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1202686
v4.5.85
2010-12-01 22:14:18 +00:00
Maciej Mrozowski
6e0024e7b3 krfb: a little cleanup in CMake:
- remove stray OpenSLP references
- remove no longer used srvloc variable references

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1201535
2010-11-28 03:00:09 +00:00
Maciej Mrozowski
d55fe89023 Fix automagic zlib and jpeg dependencies.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1201534
2010-11-28 02:50:53 +00:00
George Kiagiadakis
527910e277 It's strings.h, not string.h
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1197023
v4.5.80
2010-11-14 16:55:01 +00:00
George Kiagiadakis
b116adb5d9 Use relative path for including libvncserver's rfb.h.
Fixes build failure on solaris and makes kdevelop's parser work correctly.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1197010
2010-11-14 16:45:04 +00:00
George Kiagiadakis
edac882b43 Include <string.h> for bzero(), to fix build failure on solaris.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1197003
2010-11-14 16:37:41 +00:00
George Kiagiadakis
aa9cf0bdb8 Fix rfbProcessNewConnection to return some value instead of void.
BUG: 256891

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1196995
2010-11-14 16:13:43 +00:00
George Kiagiadakis
eee9c34020 Include the local rfb headers to avoid build errors in case libvncserver is also installed in the system location.
BUG: 256642

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1196901
2010-11-14 10:30:36 +00:00
George Kiagiadakis
14525564ac Compile TubesConnectionDialog only if we are building with telepathy support.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1196673
2010-11-13 21:16:48 +00:00
George Kiagiadakis
19699557db Do not install library development symlink.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195582
2010-11-11 14:59:43 +00:00
George Kiagiadakis
28506ebe7d Restore krfb's window state (including its visibility state) on session restore.
BUG: 253072

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195503
2010-11-11 10:42:06 +00:00
George Kiagiadakis
1af586747d Make the main dialog a KXmlGuiWindow.
BUG: 180942
BUG: 171059

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195493
2010-11-11 10:21:48 +00:00
Dario Freddi
8825c4cddc Make building tubes support an experimental option, disabled by default.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195363
2010-11-10 22:25:36 +00:00
George Kiagiadakis
7bd681fd44 Cache the remote address string in the client.
This is because we need to use it as the client's name even after
the client has been disconnected and the socket is closed.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195307
2010-11-10 19:47:36 +00:00
George Kiagiadakis
bed6c11c35 Enable desktop control by default if the user has selected that in the config.
This is useful for the cases where the user has selected not to be
asked about new connections. Other cases are not affected.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195302
2010-11-10 19:38:28 +00:00
George Kiagiadakis
7e94d6349c Make it possible to deselect the askOnConnect option without having to check the allowUninvitedConnections.
BUG: 233214

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195301
2010-11-10 19:29:51 +00:00
George Kiagiadakis
301fd72d19 Use KDE_VERSION_STRING for krfb's version.
There is no point in having a separate version, which has been "1.0" for years.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195297
2010-11-10 19:09:19 +00:00
George Kiagiadakis
2a533c7140 Remove unused FindLibVNCServer.cmake.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195296
2010-11-10 19:03:22 +00:00
George Kiagiadakis
1f408749b7 Modify the connection dialog to show a different message for telepathy tubes clients.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195295
2010-11-10 18:57:39 +00:00
George Kiagiadakis
0ea0b3418c Show actions for controlling the clients in the tray menu. BUG: 210699
This currently includes a "disconnect" action and a toggle action
for enabling/disabling input devices control, which was there previously
but applied only to one client. With the current design every client gets
its own control actions.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195294
2010-11-10 18:57:37 +00:00
George Kiagiadakis
76de39285b RfbClient: make setControlEnabled() a slot and update() a private method.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195293
2010-11-10 18:57:35 +00:00
George Kiagiadakis
25f4383a51 Fix the broken clients design.
Currently clients are not connected immediately because the user needs
to be notified and take action upon the connection request. This makes
the design of the RfbClient class a bit strange. This new approach
applies tp-qt4's PendingOperation design to RfbClients. New connections
create a PendingRfbClient that internally handles the user notification
and the RfbClient object is only created when the user has accepted the
connection.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195292
2010-11-10 18:57:32 +00:00
George Kiagiadakis
cda3a0b972 Design fixes: move the event handling back to the RfbClient and improve password handling.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195291
2010-11-10 18:57:29 +00:00
George Kiagiadakis
62e5eacbe7 const-ify RfbClient::name()
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195290
2010-11-10 18:57:26 +00:00
George Kiagiadakis
a615da21f9 Cleanup and update authors/credits in main() and add Collabora's copyright.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195289
2010-11-10 18:57:24 +00:00
George Kiagiadakis
10d6dd4717 Fix memory corruption bug.
This bug occured when a second telepathy tubes client was connected after
the first one had disconnected and the channel (thus, the screen too)
had been destroyed.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195288
2010-11-10 18:57:23 +00:00
George Kiagiadakis
486b16c357 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)

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195287
2010-11-10 18:57:20 +00:00
George Kiagiadakis
8126d36f15 Split two event-loop related functions out of the rfbProcessEvents() mechanism.
This is required to be able to do proper event loop integration with Qt.
Idea was taken from vino's libvncserver fork.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195286
2010-11-10 18:57:17 +00:00
George Kiagiadakis
78b649f39f Prefer the local rfb/rfb.h header now.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195285
2010-11-10 18:57:15 +00:00
George Kiagiadakis
cf0548f348 Fix compilation in c89 mode.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195284
2010-11-10 18:57:13 +00:00
George Kiagiadakis
fac983d5a4 Import a fork of libvncserver 0.9.7.
This is currently required to be able to split off the event processing code
in small functions so that it is possible to integrate libvncserver's event
loop code with Qt's event loop properly. This is also what vino does; the whole
event loop integration idea was taken from there.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195283
2010-11-10 18:57:07 +00:00
George Kiagiadakis
8ffe4d2ded Fix remote cursor not working. BUG: 207706
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195282
2010-11-10 18:56:59 +00:00
George Kiagiadakis
5dd01e87b6 Do not require a password in tube connections.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195281
2010-11-10 18:56:57 +00:00
George Kiagiadakis
f19f108a4e Fix the socket helper port functions.
The returned port needs conversion from network byte
order to host byte order before it can be used.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195280
2010-11-10 18:56:55 +00:00
George Kiagiadakis
4742556c51 Implement telepathy tubes support.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195279
2010-11-10 18:56:53 +00:00
George Kiagiadakis
bed6086fe7 Do not free the cursor when freeing a screen.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195278
2010-11-10 18:56:50 +00:00
George Kiagiadakis
2c5cbc755e Refactor the whole system for handling servers and clients.
The new design is very similar to the old one, it's just a bit
more clean imho. Known regression is that the invitations server
is no longer updated when the setting to require a password or not
is changed - I will fix that later.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195277
2010-11-10 18:56:47 +00:00
George Kiagiadakis
fb4b28b250 Refactor the events handling code.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195267
2010-11-10 17:49:01 +00:00
George Kiagiadakis
cbb9102445 Make the about dialog non-modal so that it doesn't freeze the image on the remote side.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195266
2010-11-10 17:48:59 +00:00
George Kiagiadakis
897734b4d6 Remove more unused stuff from the TrayIcon.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195265
2010-11-10 17:48:57 +00:00
George Kiagiadakis
83ac8619ed Remove the unused action to show the manage invitations dialog from the tray icon.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195264
2010-11-10 17:48:54 +00:00
Pavel Heimlich
0230d66584 need strings.h for bzero. Fixes build with Sun Studio
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1190402
2010-10-27 14:42:10 +00:00