summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv
Commit message (Collapse)AuthorAgeFilesLines
* Revert "devredir: fix xinode leak"Koichiro IWAO2018-03-231-2/+0
| | | | | | | | | | | | | | | | | This reverts commit 5daa09171e1e6e65a1a3ab969775fdf8affffc37. Causes "double free". Fix #990 was not correct. ``` [1271363627]: DEV_REDIR dev_redir_proc_device_iocompletion: 738 : entered: IoStatus=0x0 CompletionId=1 [1271363627]: DEV_REDIR dev_redir_proc_device_iocompletion: 839 : got CID_DIRECTORY_CONTROL [1271363627]: DEV_REDIR dev_redir_proc_query_dir_response: 933 : processing FILE_DIRECTORY_INFORMATION structs [1271363627]: DEV_REDIR dev_redir_proc_query_dir_response: 968 : FileName: . [1271363627]: DEV_REDIR devredir_fuse_data_peek: 1335 : returning 0x7f2a9c013410 *** Error in `/usr/sbin/xrdp-chansrv': double free or corruption (out): 0x00007f2a9c13a330 *** ``` Closes: #1025
* devredir: fix xinode leakKoichiro IWAO2018-01-121-0/+2
| | | | Pointed out by: #919
* Simplify pulseaudio module build instructionsDominik George2017-12-261-33/+5
|
* pulse: replace old pulse notes with bran-new READMEKoichiro IWAO2017-12-263-156/+145
|
* chansrv: add LOG_LEVEL_TRACE here, tooKoichiro IWAO2017-11-121-1/+2
|
* sound: g_bbuf_size should be determined after codec is determinedKoichiro IWAO2017-11-081-3/+3
| | | | | Fixes #910, if both client and server support more than one codecs, g_bbuf_size might be set to wrong value.
* chansrv: sound, fdk-aac, avoid 1 item array itemsJay Sorg2017-08-041-29/+34
|
* use pkg-config to configure with fdk-aacJay Sorg2017-08-041-2/+2
|
* chansrv: sound, remove a do not know and a commentJay Sorg2017-08-041-1/+0
|
* chansrv: sound, use WAVE_FORMAT_AAC not WAVE_FORMAT_AAC_MSJay Sorg2017-08-041-2/+2
|
* chansrv: sound, add aacJay Sorg2017-08-042-2/+246
|
* chansrv: sound, handle skips in audio acksJay Sorg2017-08-041-5/+30
|
* xfuse_create_share() called before xfuse_init()matt3356722017-08-031-0/+12
| | | | | * Initialise inode table in `xfuse_create_share()` if necessary * Add guard to `xfuse_init_xrdp_fs()` to prevent double initialisation of the inode table
* chansrv: remove trailing spaceKoichiro IWAO2017-07-251-2/+2
|
* chansrv: use switch-case to support more codecsKoichiro IWAO2017-07-251-12/+13
|
* chansrv: constify wFormatTagKoichiro IWAO2017-07-251-15/+16
|
* chansrv: include display number in chansrv log filenameKoichiro IWAO2017-07-061-5/+5
| | | | | since xrdp-chansrv may be run multiple instances per user. For example, Xvnc backend creates one session per screen geometry.
* pulse: respect XRDP_SOCKET_PATH environment variableKoichiro IWAO2017-05-163-6/+18
|
* pulse: define default socket directory in MakefileKoichiro IWAO2017-04-061-1/+4
|
* Rename file_loc.h to xrdp_sockets.h, install itPavel Roskin2017-03-284-4/+4
| | | | Include xrdp_sockets.h directly, not through headers.
* pulse: refer correct path to file_loc.hKoichiro IWAO2017-03-242-2/+2
|
* pulse: use correct macro for audio in/out socketsKoichiro IWAO2017-03-242-2/+2
|
* xrdp-chansrv: default to INFO log level rather than ERRORPavel Roskin2017-03-201-1/+1
|
* Make socket directory configurable, don't hardcode /tmp/.xrdpPavel Roskin2017-03-173-2/+3
| | | | | | | | | | Use XRDP_SOCKET_PATH in file_loc.h Don't define any non-socket paths in file_loc.h, they should come from the makefiles. Define all paths unconditionally, they should not be defined elsewhere. Pass XRDP_SOCKET_PATH as environment variable to the backends.
* chansrv: dvc, check channel exists on get/remove api structspeidy2017-03-161-2/+4
|
* Eliminate APP_CC and DEFAULT_CCPavel Roskin2017-03-1423-431/+431
|
* Include config_ac.h from all source filesPavel Roskin2017-03-0414-0/+56
|
* chansrv: fix warnings in pulse moduleKoichiro IWAO2017-02-021-4/+4
|
* change log message to long longJay Sorg2017-01-291-2/+2
|
* sesman: fix warning for 32 bit / 64 bit log entry, trunc to 32 bitJay Sorg2017-01-291-2/+2
|
* Constify string arguments in xrdp-chansrv sourcesPavel Roskin2017-01-226-28/+30
|
* Fix calling XChangeProperty in clipboard provideSzabolcs Seláf2017-01-171-1/+1
| | | | XChangeProperty's last parameter is number of elements, not number of bytes as it's in https://tronche.com/gui/x/xlib/window-information/XChangeProperty.html Because of this bug Paste did not work in any java applications.
* Don't log device_data_len in the code where it may be uninitializedPavel Roskin2017-01-111-3/+2
| | | Log device_data_len only in the code that reads it.
* Remove send_channel_data() from devredir.h, it's declared in chansrv.hPavel Roskin2017-01-112-2/+1
| | | | Include "chansrv.h" from devredir.c to have send_channel_data() declaration.
* rail: remove unneeded call to XGetWindowAttributes()Pavel Roskin2017-01-061-3/+0
| | | | It is already called above "if" with the same arguments.
* Use "void" for empty argument list in declarationsPavel Roskin2017-01-058-19/+19
| | | | | | In C, an empty argument list in a declaration means that the function can accept any arguments. Use "void" instead, it means "no arguments". C++ treats void and empty list as "no arguments".
* fix build with --enable-xrdpdebug=yesvolth2017-01-041-2/+0
|
* fix build with --enable-xrdpdebug=yesvolth2017-01-041-0/+6
|
* Distribute all files except git and github specific dataPavel Roskin2016-12-181-0/+6
| | | | | It is better to distribute a few useless file than not to distribute needed files.
* Fix C++ errors and warnings in FUSE codePavel Roskin2016-11-261-29/+44
|
* Use fuse_ino_t for FUSE inodes, not tui32 or intPavel Roskin2016-11-261-27/+27
|
* Remove write-only FileId variablePavel Roskin2016-11-261-2/+0
|
* Cast pointer to uint64_t through tintptr to avoid warningsPavel Roskin2016-11-261-4/+4
| | | Cast to long would damage a pointer on Win64.
* Use constant strings to fix warningsPavel Roskin2016-11-263-13/+15
|
* Call devredir_cvt_slash() on the path copy, it changes the argumentPavel Roskin2016-11-261-5/+6
|
* Disable or remove dead code to prevent it from throwing warningsPavel Roskin2016-11-261-11/+12
|
* Include needed files in chansrv_fuse.c, remove duplicate declarationsPavel Roskin2016-11-262-18/+10
|
* Fix misuse of NULL for arithmetic typePavel Roskin2016-11-261-1/+1
|
* Use FUSE_CFLAGS and FUSE_LIBS from pkg-configPavel Roskin2016-11-262-4/+3
| | | | | | | Include <fuse_lowlevel.h>, not <fuse/fuse_lowlevel.h>, the include path should be set up for that. Don't define _FILE_OFFSET_BITS in one file, FUSE_CFLAGS would enable it for the whole xrdp-chansrv build if needed.
* Fix format warnings if FUSE is enabledPavel Roskin2016-11-211-74/+75
|