Commit Graph

2897 Commits (f25659d2eeb32efb519a96e1f1ab4894de115807)
 

Author SHA1 Message Date
Pavel Roskin 424cef464b Log malloc errors with LOG_LEVEL_ERROR 10 years ago
Pavel Roskin 9ac592b218 Don't use term "missing" when using default files, it's too alarming
Also improve messages when non-absolute path is rejected.
10 years ago
Pavel Roskin acdfc94511 Merge prog_std.txt into coding_style.md 10 years ago
metalefty c9108242cd Merge pull request #434 from proski/buildx
Fixes for x11rdp build
10 years ago
Koichiro IWAO ee3a38f93d xrdp: librfxcodc link fix
as same fix as done in 4a815d5 for libpainter
10 years ago
jsorg71 1a69dbe119 Merge pull request #435 from metalefty/update-submodules
Update xorgxrdp and librfxcodec
10 years ago
Pavel Roskin bc5e166f13 Move libXdmcp above libxcb, libxcb can use it 10 years ago
Pavel Roskin 293d8b4b79 Add *.a to top .gitignore, add xorg/X11R7.6/.gitignore 10 years ago
Pavel Roskin 3cf67c684b buildx.sh: force forward patch, don't ask whether to revert 10 years ago
Koichiro IWAO 3bdce59160 librfxcodec=845ee8c 10 years ago
Koichiro IWAO 1f587945cf xorgxrdp=822e3b8 10 years ago
Pavel Roskin 6247a3afac buildx.sh: remove special case for python, it's not built anymore 10 years ago
Pavel Roskin d602e71465 Change compilation order to resolve dependencies
With this change, buildx.sh succeeds on a system without pre-existing
X11 installation.
10 years ago
Pavel Roskin b2bbaef640 buildx.sh: utilize all available CPUs when compiling 10 years ago
Pavel Roskin 8e7d12ff50 buildx.sh: "clean" is a constant string, not a semantic variable 10 years ago
Pavel Roskin 22c370a6a1 buildx.sh: use "mkdir -p" to create $PREFIX_DIR, don't retry
Improve messages about $PREFIX_DIR
10 years ago
metalefty 132cc10f75 Merge pull request #431 from metalefty/remove-python-from-x11rdp
X11rdp: remove python as it isn't really needed these days
10 years ago
Koichiro IWAO 1612730140 X11rdp: remove python as it isn't really needed these days
Closes #399.
10 years ago
Jay Sorg b24f8d8fef remove a debug message 10 years ago
Jay Sorg 409878666f xrdp: handle 3 byte PDU 10 years ago
metalefty f0c0976d1d Merge pull request #411 from proski/socket_close
Cleaning up bogus messages about closing "established" connections to NULL:NULL
10 years ago
metalefty ba78399122 Merge pull request #417 from metalefty/apply-keyboard-options
Apply xkb options for x11rdp
10 years ago
Pavel Roskin 7d03d1a3e9 Fix outgoing connections on Mac OSX
connect() on an already established connection returns error with errno
set to EISCONN. Treat it as success.
10 years ago
Pavel Roskin 5465b8c85e Add socklen_t check with substitution, use socklen_t as needed 10 years ago
Pavel Roskin 49ae93130a Improve message about listening socket is a wrong state 10 years ago
Pavel Roskin 945833a94f Don't close socket in scp_process_start(), the caller closes it 10 years ago
Pavel Roskin f7c27f05cf g_term_event is a wait object, not TCP socket, delete it correctly 10 years ago
Pavel Roskin 931fb90832 sesrun: remove unused g_sck and write-only g_pid 10 years ago
Pavel Roskin d605310bdc sesman: don't close listening socket in signal handler
It is closed when the main loop terminates.
10 years ago
Pavel Roskin 6f4ffa769c Improve debug information when closing a socket
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.
10 years ago
metalefty c02f18993a Merge pull request #420 from proski/uk-keyboard
Add UK English keyboard and code to generate it
10 years ago
Koichiro IWAO e2d4b65787 libxrdp: cleanup log log in xrdp_load_keyboard_layout 10 years ago
Pavel Roskin 7e8863b0f2 Add UK English keyboard and code to generate it 10 years ago
Koichiro IWAO 2488159645 libxrdp: log keyboard type/subtype 10 years ago
Koichiro IWAO 644242fc53 libxrdp: log keyboard options 10 years ago
Koichiro IWAO bc37e5aaac x11rdp: apply keyboard options 10 years ago
metalefty de6ed280b2 Merge pull request #415 from metalefty/pathname-should-be-url-decoded
Fix clipboard fle when directory name contains non-ASCII or ASCII non-alphanumeric chars
10 years ago
Koichiro IWAO 9f277e4445 chansrv: pathname also should be URL decoded
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.
10 years ago
metalefty b934e55fc8 Merge pull request #364 from laigor/devel
Allows use the xkb options that for example allows you to specify a key combination to change the layouts.
10 years ago
Jay Sorg 8f747e37ca always set SSL_OP_NO_SSLv2 in TLS options 10 years ago
Alex Illsley 47124df4ed new options for xrdp.ini disableSSlv3=yes and tls_ciphers=HIGH and code to implement 10 years ago
metalefty e28f529a94 Merge pull request #410 from metalefty/fix-utf8-clipboard
Fix clipboard when text/filename contains non-ASCII characters
10 years ago
Koichiro IWAO ceb4b7b2a4 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
10 years ago
Jay Sorg f4f23b0a7d Include stdint.h, don't redefine MAX/MIN constants if already defined 10 years ago
Jay Sorg d35e57b117 Pixman fixes 10 years ago
Jay Sorg bb7bac2d9b add region intersect 10 years ago
Jay Sorg 58c777783b add more advances region support using pixman 10 years ago
jsorg71 660132a49d Merge pull request #402 from metalefty/update-python
X11rdp: update python 2.7 -> 2.7.11
10 years ago
jsorg71 97cd690f84 Merge pull request #384 from CarstenGrohmann/improve_cert_log_messages
Improve certificate log messages
10 years ago
jsorg71 8353baab3d Merge pull request #390 from proski/june21
Cleanups and C++ compatibility
10 years ago