Pavel Roskin
d1efb0d5ba
Fix signed to unsigned comparisons reported by g++ 6.1.0
8 years ago
Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
8 years ago
Pavel Roskin
4b05bb2ebd
Mark g_drdynvc_chan_id as extern in g_drdynvc_chan_id, it's in chansrv.c
8 years ago
Pavel Roskin
aaa89ad4e6
Use const unsigned for hex arrays
...
Some constants are too big for the signed type.
8 years ago
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
8 years ago
Pavel Roskin
77b380c0b5
Fix format warnings in log_message() calls
9 years ago
Pavel Roskin
1403652c72
Remove unused variable in devredir_cvt_from_unicode_len()
9 years ago
Pavel Roskin
f2d326cbed
Remove unused variables from dev_redir_proc_query_dir_response()
9 years ago
Pavel Roskin
0dd0426e6f
Check XGetWindowProperty() return code in clipboard_event_property_notify()
9 years ago
Pavel Roskin
72019d3611
Use better symbols to protect include files
9 years ago
Pavel Roskin
ca9cbcafc8
Typo fixes
9 years ago
Pavel Roskin
70f3d4c5e2
Fix warnings for unused variables read from byte streams
9 years ago
Pavel Roskin
0629b25d5f
Fix warnings about unused variables and functions
9 years ago
Pavel Roskin
e65bd6b7d7
Fix more format warnings
9 years ago
Jay Sorg
7393579205
Don't attempt to intercept SIGKILL, it doesn't work on any OS
9 years ago
jsorg71
f53b3bb737
Merge pull request #326 from metalefty/pulseaudio-6.0
...
pulse: fix build pulseaudio 6.0 or higher
9 years ago
Pavel Roskin
59a5fb0ddb
Move headers from EXTRA_DIST to sources, sort alphabetically
...
There should be no functional difference.
9 years ago
Koichiro IWAO
93f7bcb71b
pulse: fix build pulseaudio 6.0 or higher
...
Discovered in #321 . The number of argument for pa_rtpoll_run have
been changed since 6.0.
>=6.0 : int pa_rtpoll_run(pa_rtpoll *f);
<6.0 : int pa_rtpoll_run(pa_rtpoll *f, bool wait);
Check pulseaudio version by PA_CHECK_VERSION macro introduced since
pulseaudio 0.9.16. In case PA_CHECK_VERSION is not defined,
pa_rtpoll_run takes 2 arguments.
9 years ago
Pavel Roskin
92a6833e9b
Fix typos
9 years ago
Pavel Roskin
81779ddb01
Use lowercase program names for syslog
...
Other programs typically use the same case as their execulables.
9 years ago
Pavel Roskin
ffc4efb9ce
Don't ignore files known to git
...
That can cause unexpected behavior, especially with third party tools.
The ignored files will be lost if the source tree is re-imported to
another git repository, unless special care is taken.
Whitelist all non-generated makefiles.
To whitelist instfiles/pam.d/xrdp-sesman, add path to all generated
executables listed in the top-level .gitignore, sort .gitignore
alphabetically.
Add mkinstalldir, it's used by Automake on some systems.
9 years ago
Pavel Roskin
22e808a186
Add missing spaces in the strings that are split for line wrapping
9 years ago
Pavel Roskin
5b0dcfc8fe
rail: fix declaration of rail_desktop_resize()
...
Arguments without a type default to int. The caller passes a pointer to
XEvent, so use that type.
9 years ago
Pavel Roskin
986fa94733
clipboard: undefine previously defined log level
9 years ago
Pavel Roskin
00e70a5c54
Use standard autotools means to detect X11
...
Use AC_PATH_XTRA to search for X11 in configure.ac. In Makefiles, add
X_CFLAGS to AM_CFLAGS for the source compilation. Add X_LIBS to LDFLAGS.
Add X_PRE_LIBS and X_EXTRA_LIBS to LDADD.
With this patch, X Windows system is correctly detected on Mac OS X.
9 years ago
Pavel Roskin
334eeb970a
clipboard_file: include sys/time.h for struct timeval, needed on Mac OS X
9 years ago
Pavel Roskin
a452d8d36a
Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
...
AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and
includes. AM_CFLAGS is for flags affecting the compiler, such as debug
and optimization settings.
INCLUDES is an obsolete name. Users can pass INCLUDES and break
compilation. AM_CPPFLAGS is more explicit that the flags come from
Automake and should not be overridden.
9 years ago
Pavel Roskin
964e860072
Run through codespell
9 years ago
Jay Sorg
ded462ab8e
chansrv: fix some warnings
9 years ago
Jay Sorg
8261459707
chansrv: fix a crash in fuse
9 years ago
itamarjp
c5cac75593
add more missing files into extra_dist
9 years ago
itamarjp
960cc62a0e
add missing files into extra_dist,
...
this is required when using make dist to generate a tarball
9 years ago
Jay Sorg
6c23b85593
add timeout to trans_get_wait_objs_rw
9 years ago
Koichiro IWAO
53ea01d51e
fuse: use EIO instead of EREMOTEIO for BSDs
...
FreeBSD/OpenBSD/NetBSD and OS X don't have errno EREMOTEIO.
10 years ago
jsorg71
f9c848f3ca
Merge pull request #225 from metalefty/chansrv-explicit-include
...
chansrv: explicit include in chansrv_fuse.c
10 years ago
Jay Sorg
9e310fbe06
clipboard file paste, don't add new line to last line
10 years ago
Koichiro IWAO
647c72b75b
chansrv: explicit include in chansrv_fuse.c
...
chansrv_fuse.c includes chansrv_fuse.h even if XRDP_FUSE is not
defined. However, time_t is used in chansrv_fuse.h. This causes
build failure on FreeBSD.
10 years ago
jsorg71
4f60b58b17
Merge pull request #212 from robertalks/devel
...
fix possible segfault in chansrv if DISPLAY is not set
10 years ago
Jay Sorg
4dd78c1b8e
minor change in opus encoding
10 years ago
Robert Milasan
f59c925f8b
fix possible segfault in chansrv if DISPLAY is not set
10 years ago
Jay Sorg
9c5c0660b2
chansrv: reset opus support on init
10 years ago
Jay Sorg
2f5b84b712
chansrv: added opus audio compression for playback
10 years ago
Jay Sorg
bff2009147
chansrv: change to 44100 recording, disconnect / reconnect fixes
10 years ago
speidy
c159505980
chansrv: fix for segfault issue in chansrv_common
10 years ago
Jay Sorg
f41a11d2c4
chansrv: some recording fixes
10 years ago
Jay Sorg
290bafe173
pulse: fix for recording delay
10 years ago
Laxmikant Rashinkar
a3e017cd58
restart listener when corresponding sound source/sink connections are closed
10 years ago
Laxmikant Rashinkar
122d8bc057
sound redirection: handle fragmented packets
10 years ago
Laxmikant Rashinkar
c0839cd6a5
when closing audio source, don't flush audio data if audio buffer is empty
10 years ago
Jay Sorg
d17c4a78fb
chansrv: check for nil
10 years ago
Jay Sorg
9597e90b31
chansrv: allow multiple xrdpapi connections
10 years ago
Jay Sorg
8397055e8b
move some hard code paths to defines in header
10 years ago
Jay Sorg
e4d054654f
pulse sink: check for partial sends
10 years ago
Jay Sorg
2e17b70fcd
chansrv: sound_send_wave_data changes
10 years ago
Laxmikant Rashinkar
2363bf8af3
coverity: fixed miscellaneous issues
10 years ago
Laxmikant Rashinkar
162becfe55
coverity: fixed unsigned compare against 0
10 years ago
Laxmikant Rashinkar
a9d7c13147
coverity: read from pointer after free
10 years ago
Laxmikant Rashinkar
5e537ebdfe
coverity: explicit null dereferenced
10 years ago
Laxmikant Rashinkar
0311a82c0a
coverity: copy into fixed sized buffer
10 years ago
Laxmikant Rashinkar
1c423dadf4
coverity: copy into fixed sized buffer
10 years ago
Laxmikant Rashinkar
fde7be5151
coverity: fixed issue argument cannot be negative
10 years ago
Laxmikant Rashinkar
0c63a8feb3
coverity: Dereference after null check
10 years ago
Laxmikant Rashinkar
a990287c46
coverity: fixed unchecked return value from library
10 years ago
Laxmikant Rashinkar
023c0b5bc1
coverity: fixed out of bounds read-write
10 years ago
Laxmikant Rashinkar
73578bc612
coverity: fixed unchecked return value
10 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
10 years ago
Jay Sorg
6d3af904d3
sesman: sound.c: no logic change, remove tabs and warning
11 years ago
speidy
cbc8317c6d
chansrv: sound: prevent an infinite loop when the connection with pulse audio is closed improperly
11 years ago
Jay Sorg
c8e61a8042
chansrv: more remove simple sound
11 years ago
Jay Sorg
17bbecabd3
chansrv: remove simple sound and load pulse modules
11 years ago
Jay Sorg
944be3afa3
chansrv: some rail fixes from A8
11 years ago
Jay Sorg
d1ca03c9fb
pcsc, add hexdump for debugging
11 years ago
Jay Sorg
d5ea23ed48
pcsc smartcard fixes form 64 bit from Ken
11 years ago
Idan Freiberg
42de994741
Merge pull request #122 from speidy/devel
...
Compilation fix for pulse source module + Merge some fixes from master branch
11 years ago
speidy
eda3a2db65
chansrv: sound: zero out ack flags when sound_send_close called, to
...
avoid deadloop when chunk is sent and not acked back by the client.
11 years ago
speidy
d7b49762fa
pulseaudio: let module-xrdp-source compile on CentOS6 (PA 0.9.21)
11 years ago
speidy
e17d2375ea
Merge branch 'master' of https://github.com/neutrinolabs/xrdp into devel
11 years ago
Jay Sorg
e65c237503
pulse: fix for build with pulseaudio 4.0+
11 years ago
Jay Sorg
03a5914609
chansrv: make fuse mount directory configurable
...
Conflicts:
sesman/sesman.ini
11 years ago
Laxmikant Rashinkar
47071be4d4
simplesound: fixed CHANSRV_PORT_STR undefined error
11 years ago
Laxmikant Rashinkar
c8e36aa91e
Merge branch 'devel' of github.com:/neutrinolabs/xrdp into devel
11 years ago
Laxmikant Rashinkar
b205654e78
bringup RAIL only when we receive a RAIL command
11 years ago
Jay Sorg
f14986ec59
chansrv: fix for audio falling behind and growing memory
11 years ago
Laxmikant Rashinkar
33e6c7a834
pulseaudio: fixed some build issues
11 years ago
Laxmikant Rashinkar
82b7ccae96
we now load module-xrdp-sink/source automatically so user's dont have to mess around with configuring /etc/pulse/default.pa config file
11 years ago
Laxmikant Rashinkar
43b7b84182
missed some files for microphone redirection using rdesktop
11 years ago
Laxmikant Rashinkar
f0560e1467
added support for microphone redirection using rdesktop
11 years ago
Jay Sorg
9f8d369747
chansrv: smartcard, fix for SCardControl, SCardTransmit
11 years ago
Jay Sorg
2aa92fd6a8
chansrv: minor change in child_signal_handler
11 years ago
Jay Sorg
3e521a5298
chansrv: pcsc, fix for g_rgSCard* structs and added some debug logging
11 years ago
Jay Sorg
052153274b
chansrv: mstsc SCardConnect fixes
11 years ago
Jay Sorg
38eba8aac1
chansrv: work on smartcard, mstsc and 64 bit client
11 years ago
Jay Sorg
1483c75911
chansrv: work on smartcard stability, handle multi threaded calls, app crashes, etc
11 years ago
Jay Sorg
b34cbe8a3e
chansrv: got \?PnP?\Notification working, handle pcsc exit without cleanup
11 years ago
Jay Sorg
aec48211d5
chansrv: disable rail for now
11 years ago
Jay Sorg
cd2eca5573
chansrv: some minor smartcard changes
11 years ago
Jay Sorg
e118463ebc
chansrv: winscard.dll wrapper, fix missing GetProcAddress and added some more logging
11 years ago
Jay Sorg
3069922500
chansrv: work on smartcard
11 years ago
Jay Sorg
e85e4634c7
chansrv: added winscard.dll wrapper
11 years ago
Jay Sorg
ef51e44119
chansrv: handle smartcard session reconnect and some logging changes
11 years ago