Koichiro IWAO
b17c45d86f
fix potential fd leak
...
In most cases, checking fd > 0 is not valid. open(2) returns -1 on
error, 0 on stdin, 1 on stdout, 2 on stderr, >2 . The border should be
between -1 and 0. Additionally, between 2 and 3.
Pointed out by: #919
7 years ago
Koichiro IWAO
2475893402
Constify extended mouse events
7 years ago
Koichiro IWAO
27aef96e81
Constify mouse event flags, use the MS name for constants
7 years ago
Koichiro IWAO
8e7e54e49f
xrdp_wm: handle horizontal mouse wheel events
7 years ago
Koichiro IWAO
903a2bf83a
xrdp_wm: make mouse button 6 and 7 act like button 4 and 5
...
because 6 and 7 are horizontal scroll. They should acts as same as
vertical scroll.
7 years ago
Koichiro IWAO
ced3a4817f
xrdp: constify input event type
7 years ago
cocoon
8ded88a0c6
Fixes #414
7 years ago
Koichiro IWAO
84596e7392
Pick up the first section if given section(domain) doesn't match anything
...
As some clinents (AFAIK Windows 10) always send domain name, the backend
module is not selected properly. This causes the default usage with
Windows 10 fails with 'xrdp_wm_log_msg: Section "XXX" not configured'.
8 years ago
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
8 years ago
Pavel Roskin
b2d3dcf169
Include config_ac.h from all source files
8 years ago
Jay Sorg
7825246d7a
fix warning new since stdint.h change
8 years ago
Pavel Roskin
d46a26c1c3
Don't call file_read_section() on unitialized section name
...
This can only happen if xrdp.ini is corrupted and has no sections for
backends.
8 years ago
Ricardo Duarte
a959a9f851
Move mouse before click
8 years ago
metalefty
25e5243ecf
Merge pull request #553 from jsorg71/libpainter
...
add libpainter for drawing when client does not have minimum orders
8 years ago
Jay Sorg
1f51586769
add libpainter for drawing when client does not have minimum orders
8 years ago
Jay Sorg
c264862afe
change some magics to defines
8 years ago
Jay Sorg
2f8d3ba9da
add unicode support
8 years ago
Pavel Roskin
5d2ce60340
Fix regression in domain to session type mapping
...
If no domain is passed, self->session->client_info->domain is an empty
string that is incorrectly treated as if the domain were passed by the
client.
The regression was introduced in fc753a95
, when an incorrect check for
non-empty domain was added. That check was removed in 67119ecc
based on
coverity report, leaving no trace of the original intention.
Check domain both for '_' and '\0' as the initial character. In either
case, select the first session type section in xrdp.ini.
8 years ago
Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
9 years ago
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
9 years ago
Pavel Roskin
6f5feb61e0
Shorten and clarify log window messages
...
Specify display in the "login failed" message. Print the section name
that wasn't found. Remove stdout message about missing section,
xrdp_wm_log_msg() already writes to stdout.
9 years ago
Pavel Roskin
a1b7de5679
Make xrdp_wm_log_msg() log its output
...
Accept variable arguments and the log level in xrdp_wm_log_msg(). Remove
logging that is done automatically now.
9 years ago
Pavel Roskin
27ba5b4e86
Rewrite add_string_to_logwindow()
...
Make static, fix formatting, shorten some variable names, use += to add
to variable, accept immutable strings.
9 years ago
Pavel Roskin
77b380c0b5
Fix format warnings in log_message() calls
9 years ago
Pavel Roskin
ae5bb5bf9c
Fix incorrect use of "it's" and "its", adjust wording
9 years ago
speidy
b38dcf1bb0
xrdp_wm: fix for multimon, draw login window and log window on primary
...
monitor
9 years ago
Jay Sorg
dd906c3fc8
remove tabs
9 years ago
speidy
62799b8b10
xrdp_wm: in multimon scenario, draw log window and login window on
...
primary monitor
9 years ago
Pavel Roskin
ca9cbcafc8
Typo fixes
9 years ago
NerdKnight
99ebe1340f
Fix compile error "format not a string literal and no format arguments [-Werror=format-security]"
9 years ago
Pavel Roskin
92a6833e9b
Fix typos
9 years ago
Pavel Roskin
964e860072
Run through codespell
9 years ago
Jay Sorg
f49e2058df
xrdp: change when using xrdp.ini hidelogwindow
9 years ago
Jay Sorg
33167a7c74
add frame acks and h264 codec mode basics
10 years ago
Laxmikant Rashinkar
67119ecc81
coverity: array compared against 0
10 years ago
Laxmikant Rashinkar
0c63a8feb3
coverity: Dereference after null check
11 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
11 years ago
Jay Sorg
ac4adf483f
libxrdp: cursor big endian fix
11 years ago
Jay Sorg
59fa8df434
xrdp: don't show connection log unless there is a problem
...
Conflicts:
xrdp/xrdp_mm.c
11 years ago
speidy
fc753a9504
xrdp: xrdp_wm: changed the autologin logic
11 years ago
speidy
5ff8aee291
xrdp: for proxy modules, pass target ip to module (if ip passed-in from
...
client into domain field (starting with _))
11 years ago
Jay Sorg
12cbbf74e6
xrdp:no logic change, comments and printfs
11 years ago
Laxmikant Rashinkar
76a0901964
o --enable-load_pulse_modules changed to --enable-loadpulsemodules
...
o color entries in xrdp.ini file are now specfied using RGB format only
o login screen now works with pixel depth of 8, 15, 16 and 24 bits
11 years ago
Jay Sorg
43e388b7e5
remove some warning, move gethostname to os_calls
11 years ago
Jay Sorg
7b7debd56a
comment spelling fixes from univention
11 years ago
Laxmikant Rashinkar
c96dd8df2b
made login screen fully customizable
11 years ago
Jay Sorg
c1b7cbd657
merges from authentic8
11 years ago
Jay Sorg
1a616a1b46
move text2bool to os_calls
11 years ago
Jim Grandy
a308d2e25c
Fix errors cause by previous merge ( 2361914
)
11 years ago
Jim Grandy
b7b3d9ef28
Hand-apply patches (misc) from Authentic8: b18667d 6d22ada 95d93a3 433b49c b96f85f 8c32c46 f87f6b3 c93cce0 26ce9ce
11 years ago