| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\
| |
| | |
Cleaning up bogus messages about closing "established" connections to NULL:NULL
|
| |
| |
| |
| | |
connect() on an already established connection returns error with errno
set to EISCONN. Treat it as success.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
It is closed when the main loop terminates.
|
| |
| |
| |
| |
| |
| |
| | |
Don't assume AF_INET family. Don't assume the socket is connected. Report
local address and port. Don't try to close non-sockets and invalid file
descriptors. Report errors getting socket information and closing the
socket. Use more appropriate log levels.
|
|\ \
| |/
|/| |
Apply xkb options for x11rdp
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Add UK English keyboard and code to generate it
|
|/ |
|
|\
| |
| | |
Fix clipboard fle when directory name contains non-ASCII or ASCII non-alphanumeric chars
|
|/
|
|
|
|
|
|
| |
because 1st argument to clipboard_get_file() is given as URL encoded.
Decoding only filename is incomplete.
Without this fix, clipboard file doesn't work in case pathname
contains non-ASCII characters or non-alphanumeric ASCII characters.
|
|\
| |
| | |
Allows use the xkb options that for example allows you to specify a key combination to change the layouts.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
combination to change the layouts.
Example of xrdp_keyboard.ini for russian keyboard
[default_rdp_layouts]
rdp_layout_us=0x00000409
rdp_layout_de=0x00000407
rdp_layout_fr=0x0000040C
rdp_layout_it=0x00000410
rdp_layout_jp=0x00000411
rdp_layout_jp2=0xe0010411
rdp_layout_jp3=0xe0200411
rdp_layout_jp4=0xe0210411
rdp_layout_ru=0x00000419
rdp_layout_se=0x0000041D
rdp_layout_pt=0x00000816
rdp_layout_br=0x00000416
rdp_layout_pl=0x00000415
[rdp_keyboard_ru]
keyboard_type=4
keyboard_subtype=1
model=pc105
options=grp:alt_shift_toggle
rdp_layouts=default_rdp_layouts
layouts_map=layouts_map_ru
[layouts_map_ru]
rdp_layout_us=us,ru
rdp_layout_ru=us,ru
|
| | |
|
| |
| |
| |
| | |
implement
|
|\ \
| | |
| | | |
Fix clipboard when text/filename contains non-ASCII characters
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
broken by #314. This is compatible with the fix introduced in #314.
To use non-ASCII text/filename in clipboard, chansrv needs to be run
with LC_CTYPE=*.UTF-8 because the behaviour of mbstowcs(3) function
called in chansrv depends on LC_CTYPE[1]. However #314 made
LC_CTYPE=C in chansrv context. Even if LANG and LC_* are set in
.bashrc, /etc/profile, /etc/locale.conf or something like that,
it doesn't affect in chansrv context because chansrv doesn't source
any of them unlike sesman.
So do not set LC_CTYPE to blank or "C" in g_init() in order to get
g_mbstowcs and g_wcstombs to work properly with non-ASCII UTF-8
characters in any context.
Setting LC_CTYPE to *.UTF-8 doesn't obstruct applying system
language in RHEL [2].
[1] Linux man page says:
The behavior of mbstowcs() depends on the LC_CTYPE category of
the current locale.
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1290820
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
X11rdp: update python 2.7 -> 2.7.11
|
| | |
| | |
| | |
| | |
| | | |
Python 2.7 cannot build with OpenSSL 1.0.2h pointed out in #399.
Python-2.7.11.tar.xz needs to be uploaded to server1.xrdp.org.
|
|\ \ \
| | | |
| | | | |
Improve certificate log messages
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Cleanups and C++ compatibility
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes loading modules compiled with a C++ compiler. Remote thandle
type, it's unused. Use tintptr for module data. Don't cast pointers to
long, they won't fit on Win64.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This is consistent with ssl_tls_read() and ssl_tls_write(). C++ warnings
are fixed without adding any casts.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
XRDP modules are not X11 clients and should not generally need X11
headers. There is no need to match the X11 structure.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Some constants are too big for the signed type.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
String literals are const in C++. Using this warnings moves us closer to
the stated goal of C++ compatibility, makes the code cleaner and lets
compilers optimize the code better.
Add m4/ax_append_compile_flags.m4 from Autoconf Archives for the
AX_APPEND_COMPILE_FLAGS macro and m4/ax_check_compile_flag.m4 as its
dependency.
|