Commit Graph

3545 Commits

Author SHA1 Message Date
matt335672
a3d429b4f7 Minor fixes to drive redirection 2020-03-03 16:14:24 +00:00
matt335672
2faf98ca61 Add cppcheck to travis-ci 2020-03-03 10:33:17 +00:00
metalefty
dc9a06f6ce
Merge pull request #1485 from matt335672/cppc-misc
misc: Fix cppcheck 1.82 + 1.90 warnings
2020-02-18 21:46:26 +09:00
metalefty
b859457187
Merge pull request #1481 from matt335672/cppc-chansrv-fuse
chansrv-fuse Fix cppcheck 1.89+1.90 warnings
2020-02-18 21:46:12 +09:00
matt335672
77686bf832 Fix cppcheck 1.89+1.90 warnings 2020-01-30 10:36:23 +00:00
metalefty
6d7cce3d34
Merge pull request #1484 from matt335672/cppc-chansrv-pcsc
xrdp_pcsc: Fix cppcheck 1.82 + 1.90 warnings
2020-01-30 10:28:36 +09:00
metalefty
f46034326a
Merge pull request #1487 from derekschrock/devel
Use g_free for xfs/g_xfs in xfs_delete_xfs_fs
2020-01-30 10:11:50 +09:00
Derek Schrock
72bece526b return from xfs_delete_xfs_fs if NULL 2020-01-27 21:15:09 -05:00
matt335672
5aca3aa847 Fix cppcheck warnings in vrplayer/ourinterface.cpp 2020-01-21 10:19:41 +00:00
metalefty
e37fdd8c6e
Merge pull request #1479 from matt335672/cppc-xrdp-cache
xrdp_cache: Fix cppcheck 1.89+1.90 warnings
2020-01-20 09:09:42 +09:00
matt335672
16c20dc6e3 misc: Fix cppcheck 1.82 + 1.90 warnings 2020-01-19 14:13:47 +00:00
matt335672
70d78dfb6f Fix cppcheck 1.82 + 1.90 warnings 2020-01-17 11:18:46 +00:00
metalefty
627da8da3e
Merge pull request #1470 from matt335672/rename-includes
Move MS-defined constants into separate includes
2020-01-16 15:01:18 +09:00
metalefty
7ac90b77aa
Merge pull request #1478 from okhowang/devel
support mousex button 8/9
2020-01-16 09:29:10 +09:00
matt335672
c954bfe9e3 Fix cppcheck 1.89+1.90 warnings 2020-01-15 12:57:33 +00:00
okhowang(王沛文)
32ef6ea3dd support mousex button 8/9 2020-01-14 18:04:06 +08:00
metalefty
ce3633b807
Merge pull request #1474 from metalefty/cirrus
FreeBSD CI: simplify CI test for a while
2020-01-08 16:33:41 +09:00
Koichiro IWAO
c99e54cbcb
FreeBSD CI: simplify CI test for a while
some tests are failing due to FreeBSD OpenSSL version change.
2020-01-08 09:49:24 +09:00
metalefty
e3e8ed0758
Merge pull request #1472 from metalefty/fflush
common: flush stream in g_deinit()
2020-01-08 09:34:31 +09:00
Koichiro IWAO
e8c845e78b
common: switch _exit to exit
mentioned in #1472.
2020-01-08 09:21:39 +09:00
metalefty
c766be4be4
Merge pull request #1469 from chipitsine/devel
sesman/chansrv/chansrv_fuse.c: resolve double free found by cppcheck
2020-01-07 19:53:11 +09:00
Koichiro IWAO
e928d8baf2
common: flush stream in g_deinit()
unless flushing stream before exitting, `xrdp --version | cat` will
show empty output.

Fixes #1471.
2020-01-07 19:24:17 +09:00
matt335672
6f881d47d3 Rationalise ms- constants
Constants from MS documents (MS-RDPBCGR etc) moved out of
common/xrdp_constants.h into includes named after the documents.

Similar includes moved from sesman/chansrv to the common area.
2020-01-06 15:46:37 +00:00
Ilya Shipitsin
00f17c3ffc sesman/chansrv/chansrv_fuse.c: resolve double free found by cppcheck
sesman/chansrv/chansrv_fuse.c:1719:9: error: Memory pointed to by 'full_path' is freed twice. [doubleFree]
2020-01-06 13:38:02 +05:00
metalefty
677056e3c2
Merge pull request #1464 from chipitsine/devel
xrdpvr/xrdpvr.c: remove redundant condition
2020-01-06 12:35:04 +09:00
metalefty
b4d51bc4f1
Merge pull request #1466 from metalefty/cirrus
Introduce FreeBSD CI
2020-01-04 14:39:08 +09:00
Koichiro IWAO
1c5a5e32a0
FreeBSD CI: switch to image_family, build with multiple SSL library 2020-01-02 22:39:12 +09:00
Koichiro IWAO
24ee0cfd78
FreeBSD CI: use security/openssl after recent ports update
See ports/UPDATING 20200101:
https://svnweb.freebsd.org/ports/head/UPDATING?view=markup
2020-01-02 22:27:24 +09:00
Koichiro IWAO
f11987ac04
FreeBSD CI: use pkg install -y instead of ASSUME_YES 2020-01-02 22:11:28 +09:00
metalefty
1ce50849ea
Merge pull request #1465 from metalefty/release
Release v0.9.12
2019-12-28 21:14:54 +09:00
Koichiro IWAO
dd047bb181
bump version to v0.9.12 2019-12-28 21:07:35 +09:00
Koichiro IWAO
dfac42b273
Update NEWS for v0.9.12 2019-12-28 21:07:13 +09:00
Ilya Shipitsin
7c959156a9 xrdpvr/xrdpvr.c: remove redundant condition
[xrdpvr/xrdpvr.c:918] -> [xrdpvr/xrdpvr.c:926]: (warning) Identical condition 'rv==0', second condition is always false
2019-12-27 19:02:28 +05:00
Koichiro IWAO
43f2b2290e
FreeBSD CI: perform CI test on 12 and 11 2019-12-24 13:17:50 +09:00
Koichiro IWAO
f9a1e617f4
Add FreeBSD CI by Cirrus CI 2019-12-24 13:17:47 +09:00
metalefty
de5a23325f
Merge pull request #1462 from matt335672/catalina-compile
Include file tidy-up
2019-12-23 23:00:42 +09:00
matt335672
3820d279e2 Added includes for C/POSIX types referenced in chansrv_fuse.h to chansrv_fuse.h 2019-12-22 12:37:38 +00:00
metalefty
93da7c0d3c
Merge pull request #1449 from matt335672/filesys-reimplement
Significant remote file system improvements
2019-12-13 14:11:38 +09:00
metalefty
e08890ddde
Merge pull request #1457 from metalefty/xrdpsh
remove unmaintained xrdp.sh
2019-12-12 15:04:34 +09:00
Koichiro IWAO
a20f99d3d1
Remove xrdp.sh from Makefile and document as well 2019-12-11 17:09:08 +09:00
Koichiro IWAO
5fc804c67d
remove unmaintained xrdp.sh
It is not maintained since it is added and outdated now.
2019-12-11 09:46:18 +09:00
matt335672
3ef2e7ce49 CI Fixes 2019-12-05 16:44:52 +00:00
matt335672
4d8f2b5a31 Significant remote file system improvements
- Reimplemented inode store in separate module chansrv_xfs.[hc]
- Allowed atimes and mtimes to be written to Windows side
- Mapped file user write bit to (inverted) Windows FILE_ATTRIBUTE_READONLY bit
- Mapped file user execute bit to Windows FILE_ATTRIBUTE_SYSTEM bit
- Implemented improved security for remotely mounted drives
- Implemented USB device removal, allowing hot-plug/remove of memory sticks
- Fixed pagefile.sys breaking Ubuntu file browser
- Fixed write offset bug
- Allowed renaming of open files
- Improved reported error codes
- Fixed various memory leaks
- Addressed valgrind errors related to struct fuse_file_info pointers.
2019-12-05 11:41:32 +00:00
metalefty
352107fc5f
Merge pull request #1319 from metalefty/sighup
xrdp: do not exit when caught SIGHUP
2019-11-21 18:42:52 +09:00
jsorg71
36fc802bd9
Merge pull request #1441 from Belinsky-L-V/accept-neg1-cid
make vsock config accept -1 for cid and port
2019-11-14 01:20:51 -08:00
metalefty
2b614d275e
Merge pull request #1442 from yifanjiang/devel
mkpamrules: Support openSUSE's usage of /usr/etc/pam.d to contain the pam configuration files.
2019-11-13 13:30:31 +09:00
Yifan J
732d663c70 mkpamrules: Support openSUSE's usage of /usr/etc/pam.d
to contain the pam configuration files:

https://lists.opensuse.org/opensuse-factory/2019-08/msg00113.html
2019-11-13 11:13:07 +08:00
Belinsky-L-V
a2fd7c09fa make vsock config accept -1 for cid and port
linux/vm_sockets.h defines VMADDR_CID_ANY and VMADDR_PORT_ANY (both
equal to -1U) for vsock cid and port respectively. This change aims to
add the capability to parse negative cid and port numbers for vsock from
the config and pass them to the kernel.

Allows for valid configurations such as "port=vsock://-1:3389" to be
correctly processed, but will parse port and cid inputs like "---1" to
"-", which should currently get silently turned into 0 by atoi inside
g_sck_vsock_bind_address. Inputs that do not contain "-" get parsed as
by xrdp_listen_parse_integer.
2019-11-12 23:59:49 +03:00
jsorg71
8e10f0820c
Merge pull request #1439 from jsorg71/xup_shm_fix
xup: fix for when shmem_id changes
2019-11-08 23:49:09 -08:00
Jay Sorg
e52a4fd0ae xup: fix for when shmem_id changes 2019-11-07 23:28:07 -08:00