Simon Nivault
82b58325a3
Add switch to declare printer as default or not
2022-09-20 13:25:05 +02:00
Simon Nivault
8d97215881
Enable auto default printer detection only for enum printer
2022-09-20 13:25:05 +02:00
Armin Novak
320bda4a05
Fixed #8084 : rdpei thread alive condition was FALSE
2022-09-13 09:16:55 +02:00
Armin Novak
6a1d44bb67
Added support for audin version 2
2022-09-12 10:03:31 +02:00
garbb
9a4a77b9a3
Update remdesk_main.c
2022-09-12 08:37:33 +02:00
garbb
64aa7e2635
Update remdesk_main.c
2022-09-12 08:37:33 +02:00
garbb
df51e69a6a
Update remdesk_main.c
2022-09-12 08:37:33 +02:00
garbb
77372a24f3
handle remote assistance connection request denied
2022-09-12 08:37:33 +02:00
Simon Nivault
06827774b6
Manage default printer for the win backend ( #8177 )
...
* printer_win: Retrieve default printer name
* printer_win: Declare the local default printer as default
* printer_cups: Retrieve default printer name
* printer_cups: Declare the local default printer as default
2022-09-09 09:13:37 +02:00
David Fort
103f13575c
drdynvc: code cleanup of the client dynamic channel ( #8148 )
...
This patch does various cleanups in the client dynamic channel. The main
goal of the cleanup was to add the sending of Close messages to the server
when a channel is locally closed. The refcounter is there to ensures that
the DVC_CHANNEL is not freed while some pieces of code are still holding a
reference on it.
I did some tests by using a custom server-side echo channel at
https://github.com/hardening/echoChannel , it allows to send a given amount of
packets and then close (to test server-side initiated closes). It compiles
with mingw (so under linux) and so it can be easily deployed (no deps).
2022-08-25 08:47:00 +02:00
David Fort
1f08cb9a7d
Drdynvc needs love ( #8059 )
...
* winpr: add lock operation on HashTables
* drdynvc: change the listeners array for a hashtable and other micro cleanups
* logonInfo: drop warning that is shown at every connection
Let's avoid this log, we can't do anything if at Microsoft they don't respect
their own specs.
* rdpei: fix terminate of rdpei
* drdynvc: implement the channel list with a hashtable by channelId
2022-07-26 12:53:41 +02:00
Martin Fleisz
152c96032d
channel/printer: Fix return type for localtime_s on Windows
2022-07-21 15:59:43 +02:00
David Fort
3478051f15
dynamic channels: mutualize things for listeners and plugins
...
The same code is copied in all dynamic channels to create a plugin, have a listener,
and manage the channel lifecycle. This patch does a mutualization effort so that channels
only have to code things that are specific to them.
2022-07-07 12:21:23 +00:00
David Fort
ffcb25a925
echo channel: use generic types for the echo channel
...
I missed this channel when doing the refactoring.
2022-07-07 12:21:23 +00:00
Armin Novak
42caca9223
Do not automatically set GfxSmallCache
2022-07-06 13:09:46 +00:00
Armin Novak
3bedc1f92e
Fixed swscale and cairo checks
2022-07-06 13:09:46 +00:00
akallabeth
c71cc672f9
Decouple ffmpeg video encoder/decoder support from WITH_FFMPEG
...
It may be diesirable to only use FFMPEG for audio. Allow disabling
video decoding by introducing a new variable responsible for that.
2022-07-05 18:17:28 +02:00
akallabeth
7b02aba636
Removed ALAW/ULAW from alsa/oss/pulse backends
...
The codec does not work reliably with some hardware.
2022-07-05 14:20:19 +02:00
akallabeth
c3e8720c87
Removed ALAW/ULAW from supported backend formats
...
pulse/alsa/oss do not reliably work with ALAW/ULAW codecs with all
hardware available.
Since these formats are poor quality anyway, deactivate them for
audin channel.
2022-07-05 14:20:19 +02:00
akallabeth
2da280b8a1
Fixed compilation warnings
2022-07-04 14:59:21 +02:00
akallabeth
9a2a37786e
Refactored clipboard structs
2022-07-04 14:31:08 +02:00
akallabeth
33a23d5637
Added debug logs
2022-07-04 08:20:33 +02:00
akallabeth
3f301ee6d5
Fixed copyright headers and stream length
2022-06-30 13:42:19 +02:00
akallabeth
90bb236dee
Fixed stream advance before length checks
2022-06-30 12:28:22 +02:00
akallabeth
71cf5a8fa1
Reordered stream advance and length check, always add header byte length
2022-06-30 12:28:22 +02:00
akallabeth
40d142a566
Merged camera-device.h with existing rdpecam.h
2022-06-30 12:28:22 +02:00
akallabeth
eb04fe628b
Use C style struct init
2022-06-30 12:28:22 +02:00
akallabeth
4d3003b154
Renamed server channel to rdpei
2022-06-30 12:28:22 +02:00
akallabeth
cfd87ab3f1
Fix rdpecam server channel naming
2022-06-30 12:28:22 +02:00
akallabeth
1061c3087c
Used C style struct init
2022-06-30 12:28:22 +02:00
Pascal Nowack
78fc60802c
server: Add channel handling for camera device and enumerator channel
2022-06-30 12:28:22 +02:00
Pascal Nowack
5637aeed91
telemetry/server: Fix copyright in license comment
2022-06-30 12:28:22 +02:00
Pascal Nowack
11351978a0
channels/server: Fix channel name in license comments
2022-06-30 12:28:22 +02:00
akallabeth
cb96e6143d
Fixed -Wshadow warnings
2022-06-30 10:49:02 +02:00
akallabeth
deee697066
Fixed uninitialized warnings in rdpdr
2022-06-29 18:10:33 +02:00
akallabeth
8ecf841e71
Added RAIL compartmentinfo server to client message
2022-06-29 14:42:05 +02:00
akallabeth
ea0035b474
Added new rail orders textscaleinfo and caretblinkrate
2022-06-29 11:41:45 +02:00
akallabeth
e956a0e155
Added rail_get_order_type_string_full for better debug logs
2022-06-29 09:14:40 +02:00
Armin Novak
81d14e1c87
Fixed rdpdr stream leaks
2022-06-27 14:27:12 +02:00
akallabeth
76661f6019
Use StreamPool in rdpdr
2022-06-27 11:21:24 +02:00
Armin Novak
ada4671435
Cleaned up client rdpgfx
...
* use rdpContext for setup
* add WINPR_ASSERT
* Removed duplicated rdpSettings variables
2022-06-27 11:06:27 +02:00
Armin Novak
a3ac4e9b01
Add option to run drdynvc [client] without extra thread
2022-06-27 11:06:27 +02:00
akallabeth
7bc276ba04
Added WINPR_ASSERT to printer client channel
...
Assure all function calls have valid arguments.
2022-06-24 13:20:28 +02:00
akallabeth
c698f7e7d9
Expose client rdpsnd get context function
2022-06-23 14:19:50 +02:00
akallabeth
f1d3d457fb
Code cleanups/initializations
2022-06-23 14:19:50 +02:00
akallabeth
bc8b4ade1c
reformatted
2022-06-23 08:48:39 +02:00
akallabeth
1626530825
Some cleanups in rdpgfx channel
2022-06-23 07:45:55 +02:00
akallabeth
e2acd03498
Fixed rdpdr resource cleanup
2022-06-23 07:45:55 +02:00
akallabeth
5b163b7918
Add GetRdpContext function pointer for dynamic channels
2022-06-23 07:45:55 +02:00
akallabeth
90ce22283d
Replaced direct settings access with getter/setter
2022-06-23 07:45:55 +02:00