Commit Graph

4704 Commits

Author SHA1 Message Date
matt335672 b0cfc1a12b Add initial scancode module 2024-05-24 16:33:08 +01:00
matt335672 c12c475e04 Add devel logging for key events 2024-05-24 16:33:08 +01:00
matt335672 d32737a993
Merge pull request #3022 from sasha0552/devel
Add mappings for media keys (VNC)
2024-05-24 16:24:15 +01:00
matt335672 de5711637f
Merge pull request #3086 from schen0x/devel
Fix a systemd dependency ("network-online.target")
2024-05-23 11:28:17 +01:00
Schen 21e11de157 Fix a systemd dependency ("network-online.target")
- Fix a problem that the xrdp.service fail to auto-start when instructed to listen on a specific interface
- By changing the "network.target" systemd dependency to "network-online.target"
- The "network-online.target", in short, means at least one network interface has finished IP level setup.
- The previously used "network.target" is vague and does not provide such guarantee (ref: man systemd.special(7)).
- Which often cause "xrdp.service" fail to auto-start when the service is configured to listen on a specific interface (e.g. in xrdp.ini, "port=tcp://192.168.0.1:3389"). Because the interface may have not finish setting up its IP, when "xrdp.service" starts.
2024-05-22 19:11:39 +09:00
matt335672 640411dd39
Merge pull request #3082 from matt335672/chansrv_fuse_fixes
chansrv FUSE fixes
2024-05-21 14:21:31 +01:00
matt335672 e0a1339b34 chansrv FUSE fixes
1) [Regression] If the specified mountpoint is not immediately below an
   existing directory, the directory is not created.
2) The message to ask the user to unmount an existing mounted directory
   has been moved to the right place.
2024-05-21 12:33:17 +01:00
matt335672 98d0003715
Merge pull request #3058 from seflerZ/unicode_contr
Add ibus unicode input support
2024-05-20 12:27:52 +01:00
sefler cad94531da fix tab 2024-05-15 00:05:17 +08:00
sefler d512b0dbc0 add missing "break" statement 2024-05-14 23:59:38 +08:00
seflerZ c53662e3c1 apply xrdp_caps.c patach written by mattt 2024-05-09 11:25:08 +08:00
matt335672 33670aed48
Merge pull request #3057 from chipitsine/asan
CI: add a job with address sanitizer enabled
2024-05-08 11:20:09 +01:00
Ilia Shipitsin bc71ac22f5 CI: add a job with address sanitizer enabled 2024-05-07 15:02:33 +02:00
matt335672 65fa487c37
Merge pull request #3065 from matt335672/test_suite_asan_fixes
Fix problems detected by -fsanitize=address
2024-05-07 13:26:09 +01:00
matt335672 4e77772ea2 Fix problems detected by -fsanitize=address 2024-05-07 12:51:30 +01:00
sefler 4599ac7bf6 apply patch generated by matt 2024-05-05 10:44:19 +08:00
seflerZ c42a09709e fix a bug in returning the init result. 2024-05-05 10:44:19 +08:00
matt335672 48644258e0 Addressed review comments 2024-05-05 10:44:19 +08:00
matt335672 1e78b42022 Fix CI errors using C++ compiler 2024-05-05 10:44:19 +08:00
matt335672 7ae69a663e Add --enable-ibus to FreeBSD CI 2024-05-05 10:44:19 +08:00
matt335672 430e980c9c Add --enable-ibus to github CI 2024-05-05 10:44:19 +08:00
matt335672 a2064e51c1 Some changes to Unicode input processing
- xrdp is not now built with XRDP_IBUS to allow other input
  methods to be more easily supported.
- chansrv is only aked to start an input method if the client
  supports it.
- chansrv sends a status report back to xrdp when asked to start
  and input method.
- ./configure without --enable-ibus now works.
2024-05-05 10:44:19 +08:00
seflerZ b623766503 remote uncessary conditional compilation 2024-05-05 10:44:19 +08:00
seflerZ 8c98ed4a58 add conditional compilation annotations 2024-05-05 10:44:19 +08:00
seflerZ bcd690f037 code refactored 2024-05-05 10:44:19 +08:00
seflerZ 3b1cc551e4 format code 2024-05-05 10:44:19 +08:00
seflerZ d4e2e0a093 It works now 2024-05-05 10:44:19 +08:00
seflerZ bea72150fb change parameter types 2024-05-05 10:44:19 +08:00
seflerZ a8c075e84e refine makefile 2024-05-05 10:44:19 +08:00
seflerZ 97138d5bad add missing code 2024-05-05 10:44:19 +08:00
sefler 7bea1f9d56 compile suscceed 2024-05-05 10:44:19 +08:00
matt335672 6da58825fe Fix packet format and support Unicode 32
Fixes a packet in the format send between xrdp and chansrv.
UTF-16 surrogate pairs sent from the client are remapped
to full unicode characters.
2024-05-05 10:44:19 +08:00
matt335672 20b90c1098 Initial support for ibus input from chansrv 2024-05-05 10:44:19 +08:00
matt335672 67ace5c59d
Merge pull request #3054 from matt335672/update_readme
Update README.md
2024-05-03 11:05:29 +01:00
matt335672 dbbb172f92 Update README.md
Clarified wording around Fedora. Also, removed references to yum
as RHEL/CentOS 7 is EOL on 30th June 2024
2024-05-01 09:26:58 +01:00
matt335672 15b46f8ccf
Merge pull request #2829 from firewave/missing-prototypes
fixed `-Wmissing-prototypes` (and subsequent) compiler warnings
2024-04-24 15:49:52 +01:00
firewave c7070b95af xrdp/neutrinordp: fixed `-Wmissing-prototypes` compiler warning
Co-authored-by: matt335672 <30179339+matt335672@users.noreply.github.com>
2024-04-23 18:46:37 +02:00
firewave 5eed76f32b fixed `-Wunused-function` compiler warnings 2024-04-23 18:38:20 +02:00
firewave 5db94568ec vnc/vnc.c: fixed `-Wmaybe-uninitialized` warnings
vnc.c: In function ‘lib_framebuffer_update’:
vnc.c:816:37: error: ‘b’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  816 |         return (r << 16) | (g << 8) | b;
      |                ~~~~~~~~~~~~~~~~~~~~~^~~
vnc.c:1301:9: note: ‘b’ was declared here
 1301 |     int b;
      |         ^
vnc.c:816:31: error: ‘g’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  816 |         return (r << 16) | (g << 8) | b;
      |                            ~~~^~~~~
vnc.c:1300:9: note: ‘g’ was declared here
 1300 |     int g;
      |         ^
vnc.c:816:19: error: ‘r’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  816 |         return (r << 16) | (g << 8) | b;
      |                ~~~^~~~~~
vnc.c:1299:9: note: ‘r’ was declared here
 1299 |     int r;
      |         ^
2024-04-23 18:38:20 +02:00
firewave fb9c175b11 enabled and fixed `-Wmissing-prototypes` compiler warnings
Co-authored-by: matt335672 <30179339+matt335672@users.noreply.github.com>
2024-04-23 18:38:20 +02:00
matt335672 f92076a2e7
Merge pull request #3042 from matt335672/update_libpainter
Update libpainter submodule
2024-04-23 12:35:00 +01:00
matt335672 d6a256cca2 Update libpainter submodule
Needed for -Wmissing-prototypes support
2024-04-23 12:08:06 +01:00
metalefty cc7d5ef921
Merge pull request #3035 from metalefty/issue-template
Mention how to copy & paste in fenced code blocks more clearly
2024-04-19 12:13:50 +09:00
Koichiro Iwao d31e3f6174 Mention how to copy & paste in fenced code blocks more clearly 2024-04-19 12:08:00 +09:00
matt335672 f781962a55
Merge pull request #3031 from matt335672/update_rfxcodec
Merge updates from librfxcodec
2024-04-18 16:35:45 +01:00
matt335672 82d0e50348 Merge updates from librfxcodec
1) add SSE2 simd for dwt_shift_rem and diff_count

   make dwt_shift_rem easier to read
   move common rlgr defines to common file
   move common dwt defines to common file

2) Fix 'make distcheck'

3) Fix compiler warnings on 'make check'
2024-04-18 15:48:56 +01:00
sasha0552 4502b70618
regenerate keymaps 2024-04-16 08:35:37 +00:00
sasha0552 c07d6e793e
add mappings for media keys 2024-04-16 08:33:51 +00:00
matt335672 0a0a39380e
Merge pull request #3012 from matt335672/update_syscall_filter
Simplify allowed system calls for xrdp
2024-04-12 10:59:30 +01:00
matt335672 fe0ee0f9df
Merge pull request #3027 from matt335672/reclassify_info_msg
Reclassify debugging message as informational
2024-04-08 10:52:59 +01:00