1
0
mirror of https://invent.kde.org/network/krfb synced 2024-07-01 07:24:29 +00:00
Commit Graph

138 Commits

Author SHA1 Message Date
Albert Astals Cid
078a05e368 GIT_SILENT Upgrade KDE Applications version to 19.11.70. 2019-07-15 21:49:47 +02:00
Albert Astals Cid
f1ec721e47 GIT_SILENT Upgrade KDE Applications version to 19.07.80. 2019-07-15 21:27:52 +02:00
Alexey Min
9828143609 New dep: KWindowSystem and support running in Wayland
This commit adds a new dependency - KWindowSystem, to help
with window system detection. If wayland is detected, then
preferred framebuffer plugin is switched to "pw" (pipewire).
2019-07-07 14:28:10 +03:00
Jan Grulich
c05707884c Implement Wayland support using PipeWire and xdg-desktop-portal
Summary:
Adds a new framebuffer implementation, which uses xdg-desktop-portal to support remote
desktop on Wayland and uses PipeWire to deliver the screen content. So far only mouse
support is implemented, because keyboard support is missing on KWin side.

Reviewers: Kanedias, romangg

Reviewed By: Kanedias

Subscribers: asturmlechner, pino, ngraham, romangg

Differential Revision: https://phabricator.kde.org/D20402
2019-05-24 13:51:43 +02:00
Albert Astals Cid
895ec578c6 GIT_SILENT Upgrade KDE Applications version to 19.07.70. 2019-03-16 22:21:36 +01:00
Friedrich W. H. Kossebau
c47ee269f0 Use QT_USE_QSTRINGBUILDER 2019-03-01 06:26:07 +01:00
Friedrich W. H. Kossebau
a0992f7fea Build with QT_NO_CAST_FROM_ASCII 2019-03-01 06:15:53 +01:00
Friedrich W. H. Kossebau
ef6491a5c9 Build with QT_NO_CAST_FROM_BYTEARRAY & QT_NO_CAST_TO_ASCII 2019-03-01 05:50:10 +01:00
Friedrich W. H. Kossebau
63d6314b1b Ensure more modern Qt code 2019-03-01 05:47:41 +01:00
Friedrich W. H. Kossebau
78ed74ec1e Move ecm_setup_version after all find_package calls 2019-03-01 05:35:23 +01:00
Friedrich W. H. Kossebau
1cf5785007 find_package(Qt5) only after find_package(ECM) 2019-03-01 05:34:51 +01:00
Friedrich W. H. Kossebau
0f506011d0 Use KF5_MIN_VERSION also for find_package(KF5) 2019-03-01 05:33:38 +01:00
Friedrich W. H. Kossebau
c57e9bc5f4 Use more https in links 2019-01-19 15:58:29 +01:00
Friedrich W. H. Kossebau
2916395ea9 Remove Qt4 vars QT_DEFINITIONS & QT_QTDBUS_DEFINITIONS 2019-01-19 15:56:17 +01:00
Friedrich W. H. Kossebau
3c63cf9563 Remove unneeded explicit use of ECM_KDE_MODULE_DIR, part of ECM_MODULE_PATH 2019-01-19 15:55:57 +01:00
Albert Astals Cid
8d19229593 GIT_SILENT Upgrade KDE Applications version to 19.03.70. 2018-11-10 08:46:09 +01:00
Albert Astals Cid
c8e4869c8a GIT_SILENT Upgrade KDE Applications version to 18.03.70. 2018-11-09 23:44:14 +01:00
Friedrich W. H. Kossebau
be70800a74 Actually use the set QT_MIN_VERSION 2018-07-17 14:30:06 +02:00
Friedrich W. H. Kossebau
26a70c411a Remove usage of dead QT_USE_FAST_CONCATENATION
Dropped pre-Qt5
2018-07-17 14:21:22 +02:00
Albert Astals Cid
0945680770 GIT_SILENT Upgrade KDE Applications version to 18.11.70. 2018-07-16 20:07:13 +02:00
Albert Astals Cid
d0b0740066 GIT_SILENT Upgrade KDE Applications version to 18.07.70. 2018-03-19 23:57:11 +01:00
Albert Astals Cid
709c207af8 GIT_SILENT Upgrade KDE Applications version to 18.03.70. 2017-11-13 09:11:59 +01:00
Aleix Pol
9b2cbaec6f Include the icon in krfb together with the application 2017-11-03 00:39:40 +01:00
Alexey Min
dab8b421eb Change version to match KDE Applications (17.11.70)
Summary:
Previously krfb had version set to 5.0. This is misleading.
Now, do the same as other standard KDE apps, like ark or dolphin: use
KDE_APPLICATIONS_VERSION_MAJOR, KDE_APPLICATIONS_VERSION_MINOR, etc.
This page: https://www.kde.org/applications/system/krfb has a link to report a bug: https://bugs.kde.org/enter_bug.cgi?format=guided&product=krfb
Versions in bugzilla have 17.xx.xx, so "About..." window should match.

cmake: Set version in project(); use ecm_setup_version() call

Inspired by commit in Ark: cffecfbfffd22bc0bbe451ed8d74f3b6da113c6f

Test Plan: Compile, run. Make sure that Help -> About Desktop Sharing displays the correct version.

Reviewers: aacid, ltoscano

Tags: #kde_applications

Differential Revision: https://phabricator.kde.org/D7658
2017-09-10 13:51:39 +05:00
Alexey Min
b2cb3e8204 Implement XCB framebuffer plugin (port from x11)
Previously used x11 plugin does not compile with Qt5, because Qt5 does
not use Xlib, it uses xcb. Rewrite screen capture plugin from Xlib to
xcb.

I made xcb libs compile required dependency, but availability of X
shared memory extension is checked at runtime. It is used to effectively
get image pixels data, instead of transfering 8Mb over the wire. Xdamage
is used to limit image getting operations only within actually changed
rectangles of screen.

BUG: 377998

Tested on single-monitor system and dual-monitor, where primary monitor
does not start at (0,0) coordinate. Image transfer works fine.
Dual-monitor only has problems with receiving mouse cursor position and
clicks, but this should be fixed outside of framebuffer plugin.

Differential Revision: https://phabricator.kde.org/D5211
2017-06-15 23:21:58 +02:00
Heiko Becker
b4713d4755 Silence CMake policy CMP0063 warning
...by adding the NO_POLICY_SCOPE flag as recommended by ECM's
documentation.
2017-01-11 20:18:38 +01:00
Jeremy Whiting
6d5e2bc356 Remove telepathy tubes and contact list support. 2015-09-17 17:44:07 -06:00
Jeremy Whiting
10176b9e01 Port from KServiceTypeTrader, etc. to new json style plugins.
Finish porting away from KDELibs4Support.
Changed preferred framebuffer config to use plugin ids defaulting to x11.
2015-09-16 20:55:30 -06:00
Jeremy Whiting
56e1804b23 Port from K4AboutData to KAboutData, KCmdLineArgs to QCmdLineArgs and add about dialog 2015-09-11 13:47:10 -06:00
Jeremy Whiting
535e474cbd Reenable finding telepathyqt and ktp and remove our local FindKTp.cmake. 2015-09-10 14:27:07 -06:00
Jeremy Whiting
87f2742fcc Add feature_summary 2015-09-09 17:44:49 -06:00
Jeremy Whiting
6306bf85cf Initial port to Qt5/KF5.
Fixed FindLibVNCServer to use CheckStructHasMember.
Ported from kDebug to qDebug
Runs and seems to work, but probably missed some things.
2015-09-06 15:31:29 -06:00
David Faure
cb43be430c set cmake_min_req to match kdelibs policy and enable newer cmake policies 2015-07-29 08:34:24 +02:00
Johannes Huber
1c85dc7d85 CVE-2014-4607: Unbundle libvncserver
http://seclists.org/oss-sec/2014/q2/676

REVIEW: 119548
2014-07-31 18:15:25 +02:00
Amandeep Singh
f074491e60 Show KDE Telepathy contacts if available
Optional dependency on KTP. If available contacts with rfb capability
shown in list view.
2014-04-06 10:24:21 +05:30
Urs Wolfer
89679f63c7 move docs into application folders
- required for upcoming Git migration with repository per app / lib
- if nobody complains, I will backport it in a few days to the 4.10 branch also
- I will update trunk/l10n-kde4/scripts/documentation_paths in my next commit

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1340343
2013-02-16 12:20:59 +00:00
Urs Wolfer
b61182da16 allow standalone building of every kdenetwork app / lib
- full module build is still possible
- required for upcoming Git migration with repository per app / lib
- if nobody complains, I will backport it in a few days to the 4.10 branch also

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1340341
2013-02-16 11:56:38 +00:00
George Kiagiadakis
a5e58a8a83 Remove the BUILD_WITH_EXPERIMENTAL_TUBES option and update the top-level build system files to look for tp-qt 0.9
Telepathy support is no longer considered experimental.


svn path=/trunk/KDE/kdenetwork/krfb/; revision=1283940
2012-03-06 21:27:31 +00:00
George Kiagiadakis
3428e62959 Port to telepathy-qt 0.9
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1283925
2012-03-06 17:10:13 +00:00
Ralf Jung
5097a44442 krfb actually requires Xtst to be built
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1263324
2011-11-09 19:29:05 +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
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
4742556c51 Implement telepathy tubes support.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1195279
2010-11-10 18:56:53 +00:00
George Goldberg
ff019b99cd Reorganise krfb codebase to make it easier to work with.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1189252
2010-10-24 11:21:41 +00:00
George Goldberg
a8da333e3b Make RFB server and COnnectionCOntroller classes abstract and make one implementation of them for the standard rfb use case.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1189033
2010-10-23 19:30:32 +00:00
George Goldberg
47e2db27de KrfbServer is now no longer a singleton.
This means that theoretically we can have more than one actual rfb server running at once.
In practice, some work is still needed like making KrfbServer and ConnectionController into abstract base classes
that the normal rfb server and the tubes rfb server can inherit from.
The configuration also needs fixing to apply to individual servers, not all of them.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1189032
2010-10-23 19:30:29 +00:00
Laurent Montel
893afe07eb Install as programs
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1187755
2010-10-20 11:41:29 +00:00
George Goldberg
410567156d Fix out-of-kdenetwork build to actually work.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1180685
2010-09-28 15:42:17 +00:00
Dariusz Mikulski
e8fd5fe0c7 Fix CMakeLists
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1056635
2009-11-30 13:50:46 +00:00
George Goldberg
689df377e1 Make libkrfb more obviously a private library.
It is meant to be used only by plugins built together with krfb, and does not make any binary compatability at all.
It should not be linked against by anything outside of the krfb source tree, so we definitely shouldn't be installing headers.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1053592
2009-11-24 10:42:04 +00:00
George Goldberg
0b04afe5c1 Framebuffers are now plugins. This means we can switch between the Qt and X11 framebuffers at runtime.
- Currently there is no configuration UI, so you have to edit the krfbrc by hand to select the framebuffer plugin to use. This will be fixed later.
- Framebuffers are shared, so that when krfb supports having mutliple servers running, the framebuffer can be shared between them (when appropriate) for better performance.
- Currently defaults to the X11 framebuffer, since this is what was hardcoded before.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1027330
2009-09-23 20:57:47 +00:00
Marco Martin
f3665ae765 KNotificationItem is out of experimental
svn path=/trunk/KDE/kdenetwork/krfb/; revision=1019133
2009-09-02 23:30:19 +00:00
Pino Toscano
604469ad27 explicitly link to X11, Xext, QtNetwork and kdeui
BUG: 200100

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1000050
2009-07-20 18:46:47 +00:00
Laurent Montel
c6d7427b5c Port to knotificationitem
svn path=/trunk/KDE/kdenetwork/krfb/; revision=989474
2009-06-30 11:28:39 +00:00
Allen Winter
a7517c6444 add nice logging messages for missing X11 XTest
svn path=/trunk/KDE/kdenetwork/krfb/; revision=897377
2008-12-15 21:58:23 +00:00
Jakub Stachowski
dc2c6f0db7 Remove SLP bits from buildsystem. Code itself was removed long ago anyway.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=826942
2008-07-01 20:45:46 +00:00
Laurent Montel
32769b41e5 Use INSTALL_TARGETS_DEFAULT_ARGS
svn path=/trunk/KDE/kdenetwork/krfb/; revision=813293
2008-05-27 11:14:39 +00:00
Urs Wolfer
74fe120ea8 Fix typo. Patch by crazy.
BUG:155173

svn path=/trunk/KDE/kdenetwork/krfb/; revision=783749
2008-03-09 14:11:27 +00:00
Giovanni Venturi
7e41e3c244 fixed compiling, thanks to Laurent and David
CCMAIL:faure@kde.org,montel@kde.org

svn path=/trunk/KDE/kdenetwork/krfb/; revision=741971
2007-11-26 20:59:39 +00:00
David Faure
b790fb3b93 Test for it before linking to it
svn path=/trunk/KDE/kdenetwork/krfb/; revision=728112
2007-10-22 12:43:43 +00:00
Urs Wolfer
d11198cbd4 port away from KDE3 support: K3StaticDeleter -> K_GLOBAL_STATIC. Krfb is now KDE3 support free again.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=712838
2007-09-15 13:11:12 +00:00
Mickael Marchand
4e3efb7760 compile
svn path=/trunk/KDE/kdenetwork/krfb/; revision=710005
2007-09-08 21:02:57 +00:00
Matthias Kretz
1b1a07fdc4 KDE3_SUPPORT for KCModules and K3StaticDeleter + link to libkde3support for krfb
svn path=/trunk/KDE/kdenetwork/krfb/; revision=705634
2007-08-28 08:16:15 +00:00
Urs Wolfer
a1a2c1bb38 * Use everywhere the nice new oxygen artwork.
* Cleanup and improve some code.
* Fix some UI layouts.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=696140
2007-08-03 22:49:22 +00:00
Laurent Montel
345afdd423 change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
svn path=/trunk/KDE/kdenetwork/krfb/; revision=691226
2007-07-23 07:07:44 +00:00
Allen Winter
3dddc13164 remove kde4_automoc()
svn path=/trunk/KDE/kdenetwork/krfb/; revision=686208
2007-07-10 20:21:21 +00:00
Alessandro Praduroux
b0da7c0ce0 removed unused dependency on QT3 support and KIO
svn path=/trunk/KDE/kdenetwork/krfb/; revision=665042
2007-05-15 16:45:27 +00:00
Laurent Montel
fed4fc82fa Link
svn path=/trunk/KDE/kdenetwork/krfb/; revision=664926
2007-05-15 07:27:38 +00:00
Urs Wolfer
ed0efd6c64 does not need DQT3_SUPPORT
svn path=/trunk/KDE/kdenetwork/krfb/; revision=656478
2007-04-21 14:06:31 +00:00
Pino Toscano
949e814f55 move the QT3_SUPPORT definition where needed
svn path=/trunk/KDE/kdenetwork/krfb/; revision=656468
2007-04-21 13:41:55 +00:00
Alessandro Praduroux
f36b9aca9b - finished invitation dialog (delete and deleteall now work)
- some cleanup on the trayicon code
- fixed crash on exit
- dnssd support 

svn path=/trunk/KDE/kdenetwork/krfb/; revision=655612
2007-04-18 21:42:12 +00:00
Alessandro Praduroux
6fd05b3a2a X11 framebuffer implementation based on XDamage and XShm completed.
Still has some weirdness when updating large portions of the screen 

svn path=/trunk/KDE/kdenetwork/krfb/; revision=654248
2007-04-15 15:53:18 +00:00
Alessandro Praduroux
47c089f937 Preliminary optional support for XDamage, checked both at compile and run time.
Uses less cpu than Qt approach, but visually sucks. I suspect there are too many updates sent to the client, I need to group the rects and create a bigger one when sending the event to the client. 

svn path=/trunk/KDE/kdenetwork/krfb/; revision=653073
2007-04-12 16:12:37 +00:00
Laurent Montel
803f4b8c4d SVN_SILENT: minor clean
svn path=/trunk/KDE/kdenetwork/krfb/; revision=653060
2007-04-12 15:53:49 +00:00
Alessandro Praduroux
67cac2140a use KConfig XT
svn path=/trunk/KDE/kdenetwork/krfb/; revision=651410
2007-04-07 16:16:51 +00:00
Alessandro Praduroux
379d4d2fc0 When code starts to become too complex, add some new classes...
- FrameBuffer to encapsulate screen buffer and updates
- handle events
- avoid a timer for the rfb event loop, just use a real loop and qApp->processEvents()

svn path=/trunk/KDE/kdenetwork/krfb/; revision=650928
2007-04-05 20:21:15 +00:00
Alessandro Praduroux
94d6110dcd - added single connection controller in separate thread
- added hooks to manage vnc events
- moved events out of rfbcontroller.cpp/.h into their own source file


svn path=/trunk/KDE/kdenetwork/krfb/; revision=650434
2007-04-04 14:57:27 +00:00
Alessandro Praduroux
171ffcfc95 check for libvncserver, enable krfb compilation and add link to libvncserver
svn path=/trunk/KDE/kdenetwork/krfb/; revision=649565
2007-04-02 20:41:10 +00:00
Alessandro Praduroux
5cc6c452e8 big code reorganization:
- removed old libvncserver, we will depend on external lib
- removed krfb, srvloc, krfb_http subdirs, now everything is 
  in krfb main dir instead 

svn path=/trunk/KDE/kdenetwork/krfb/; revision=649168
2007-04-02 07:13:22 +00:00
Alessandro Praduroux
dbaed9a9e3 disable kcm_krfb until the code reorg in krfb is done
svn path=/trunk/KDE/kdenetwork/krfb/; revision=648056
2007-03-30 11:51:45 +00:00
David Faure
9de81c5664 fix include path
svn path=/trunk/KDE/kdenetwork/krfb/; revision=627483
2007-01-26 19:06:39 +00:00
David Faure
fce4ebbb4f Get rid of module-wide config.h mess, use per-directory equivalents (although config-kopete.h is still quite a mess in itself)
Many configuration-related cleanups.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=627480
2007-01-26 18:56:02 +00:00
Laurent Montel
f16e3cdf4c Not necessary to create static lib (which create some pb on x86_64)
svn path=/trunk/KDE/kdenetwork/krfb/; revision=626017
2007-01-21 21:12:26 +00:00
Urs Wolfer
6b2329e8ac readd krfb
* make it compile (without kinetd subfolder)
* left out DCOP->DBUS port
=> the cmake conversation for this app was quite bad. the libvncserver and srvloc were not created.
* some changes in FindSLP.cmake. i am not sure if they are correct. Laurent can you please check?
CCMAIL: montel@kde.org

svn path=/trunk/KDE/kdenetwork/krfb/; revision=625859
2007-01-21 12:51:14 +00:00
Laurent Montel
9dce8277b8 Clean up CMakeLists.txt
svn path=/trunk/KDE/kdenetwork/krfb/; revision=564751
2006-07-21 07:46:40 +00:00
Alexander Neundorf
f940a77e9e kde4_header and kde4_footer() are gone now
svn path=/trunk/KDE/kdenetwork/krfb/; revision=540226
2006-05-12 18:33:35 +00:00
Alexander Neundorf
34ac7aedad cleanup the toplevel CMakeLists.txt a bit
-remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR)
in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option
-include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it
doesn't have to be done in every subdir

Alex


svn path=/trunk/KDE/kdenetwork/krfb/; revision=539887
2006-05-11 22:49:47 +00:00
Laurent Montel
a82f9c7404 Add cmake support
svn path=/trunk/KDE/kdenetwork/doc/krfb/; revision=517205
2006-03-10 11:11:07 +00:00