summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #411 from proski/socket_closemetalefty2016-09-2010-114/+176
|\ | | | | Cleaning up bogus messages about closing "established" connections to NULL:NULL
| * Fix outgoing connections on Mac OSXPavel Roskin2016-09-081-1/+17
| | | | | | | | connect() on an already established connection returns error with errno set to EISCONN. Treat it as success.
| * Add socklen_t check with substitution, use socklen_t as neededPavel Roskin2016-09-085-93/+80
| |
| * Improve message about listening socket is a wrong statePavel Roskin2016-09-081-2/+2
| |
| * Don't close socket in scp_process_start(), the caller closes itPavel Roskin2016-09-081-1/+0
| |
| * g_term_event is a wait object, not TCP socket, delete it correctlyPavel Roskin2016-09-081-1/+1
| |
| * sesrun: remove unused g_sck and write-only g_pidPavel Roskin2016-09-081-4/+0
| |
| * sesman: don't close listening socket in signal handlerPavel Roskin2016-09-081-2/+0
| | | | | | | | It is closed when the main loop terminates.
| * Improve debug information when closing a socketPavel Roskin2016-09-081-10/+76
| | | | | | | | | | | | | | 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.
* | Merge pull request #417 from metalefty/apply-keyboard-optionsmetalefty2016-09-092-3/+9
|\ \ | |/ |/| Apply xkb options for x11rdp
| * libxrdp: cleanup log log in xrdp_load_keyboard_layoutKoichiro IWAO2016-09-061-1/+0
| |
| * libxrdp: log keyboard type/subtypeKoichiro IWAO2016-09-021-0/+3
| |
| * libxrdp: log keyboard optionsKoichiro IWAO2016-09-021-2/+2
| |
| * x11rdp: apply keyboard optionsKoichiro IWAO2016-09-021-0/+4
| |
* | Merge pull request #420 from proski/uk-keyboardmetalefty2016-09-093-0/+1060
|\ \ | |/ |/| Add UK English keyboard and code to generate it
| * Add UK English keyboard and code to generate itPavel Roskin2016-09-053-0/+1060
|/
* Merge pull request #415 from metalefty/pathname-should-be-url-decodedmetalefty2016-09-011-0/+1
|\ | | | | Fix clipboard fle when directory name contains non-ASCII or ASCII non-alphanumeric chars
| * chansrv: pathname also should be URL decodedKoichiro IWAO2016-08-301-0/+1
|/ | | | | | | | 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.
* Merge pull request #364 from laigor/develmetalefty2016-08-301-0/+9
|\ | | | | Allows use the xkb options that for example allows you to specify a key combination to change the layouts.
| * Allows use the xkb options that for example allows you to specify a key ↵laigor2016-04-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | always set SSL_OP_NO_SSLv2 in TLS optionsJay Sorg2016-08-251-4/+1
| |
* | new options for xrdp.ini disableSSlv3=yes and tls_ciphers=HIGH and code to ↵Alex Illsley2016-08-258-10/+46
| | | | | | | | implement
* | Merge pull request #410 from metalefty/fix-utf8-clipboardmetalefty2016-08-231-1/+15
|\ \ | | | | | | Fix clipboard when text/filename contains non-ASCII characters
| * | Fix clipboard when text/filename contains non-ASCII charactersKoichiro IWAO2016-08-181-1/+15
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Include stdint.h, don't redefine MAX/MIN constants if already definedJay Sorg2016-08-122-5/+17
| |
* | Pixman fixesJay Sorg2016-08-113-5/+3
| |
* | add region intersectJay Sorg2016-08-083-2/+26
| |
* | add more advances region support using pixmanJay Sorg2016-08-089-251/+2755
| |
* | Merge pull request #402 from metalefty/update-pythonjsorg712016-08-081-1/+1
|\ \ | | | | | | X11rdp: update python 2.7 -> 2.7.11
| * | X11rdp: update python 2.7 -> 2.7.11Koichiro IWAO2016-07-201-1/+1
| | | | | | | | | | | | | | | 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.
* | | Merge pull request #384 from CarstenGrohmann/improve_cert_log_messagesjsorg712016-08-051-6/+25
|\ \ \ | | | | | | | | Improve certificate log messages
| * | | Improve certificate log messagesCarsten Grohmann2016-06-111-6/+25
| | | |
* | | | Merge pull request #390 from proski/june21jsorg712016-08-0582-589/+690
|\ \ \ \ | | | | | | | | | | Cleanups and C++ compatibility
| * | | | Declare unified module interface and use it in modulesPavel Roskin2016-07-086-21/+39
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Use enum logLevels consistently for log levelsPavel Roskin2016-07-083-8/+8
| | | | |
| * | | | Use char* for TLS send and receivePavel Roskin2016-07-082-6/+6
| | | | | | | | | | | | | | | | | | | | This is consistent with ssl_tls_read() and ssl_tls_write(). C++ warnings are fixed without adding any casts.
| * | | | Fix return type of devredir_fuse_data_peek and devredir_fuse_data_dequeuePavel Roskin2016-07-082-4/+4
| | | | |
| * | | | Use correct types for ssl and ctx fields in struct ssl_tlsPavel Roskin2016-07-081-2/+2
| | | | |
| * | | | Cast the result of g_shmat() to the destination typePavel Roskin2016-07-081-2/+2
| | | | |
| * | | | Cast fifo_remove_item() to XRDP_ENC_DATA* or XRDP_ENC_DATA_DONE* as neededPavel Roskin2016-07-081-2/+2
| | | | |
| * | | | Use cast when applying boolean OR to enumPavel Roskin2016-07-081-1/+3
| | | | |
| * | | | Fix signed to unsigned comparisons reported by g++ 6.1.0Pavel Roskin2016-07-089-16/+18
| | | | |
| * | | | Use g_new or g_new0 when C++ compiler would complain about implicit castPavel Roskin2016-07-0818-27/+31
| | | | |
| * | | | Introduce glib style macros for allocating memory with typePavel Roskin2016-07-081-0/+7
| | | | |
| * | | | Don't include X11/Xlib.h for XPoint, define a replacementPavel Roskin2016-07-081-2/+3
| | | | | | | | | | | | | | | | | | | | XRDP modules are not X11 clients and should not generally need X11 headers. There is no need to match the X11 structure.
| * | | | Cast appdata_ptr explicitly, needed for C++ compatibilityPavel Roskin2016-07-081-2/+2
| | | | |
| * | | | Mark g_drdynvc_chan_id as extern in g_drdynvc_chan_id, it's in chansrv.cPavel Roskin2016-07-081-1/+1
| | | | |
| * | | | Use const unsigned for hex arraysPavel Roskin2016-07-085-11/+13
| | | | | | | | | | | | | | | Some constants are too big for the signed type.
| * | | | Fix warnings detected by -Wwrite-stringsPavel Roskin2016-07-0833-75/+82
| | | | |
| * | | | Use -Wwrite-strings compiler flag if supported, add required macrosPavel Roskin2016-07-083-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.