Commit Graph

2809 Commits

Author SHA1 Message Date
Pavel Roskin
e65aa594e8 Make librfxcodec a subpackage
Since libpainter is going to become a subpackage, we can make librfxcodec
a subpackage as well.

With this change, librfxcodec is configured, built and linked to xrdp
automatically if enabled by "--enable-rfxcodec"

librfxcodec is packaged by "make dist" regardless of "--enable-rfxcodec"

librfxcodec/confgure is run unconditionally, it's needed for "make dist"
to work. But librfxcodec is only compiled if enabled.
2016-12-15 22:37:20 -08:00
jsorg71
870f028692 Merge pull request #546 from proski/jpeg-warning
Fix a warning in jpeg compression code with --enable-jpeg
2016-12-15 21:33:25 -08:00
metalefty
eb1034e7d3 Merge pull request #552 from metalefty/travis-ci
CI: correct pixman package name
2016-12-16 14:28:19 +09:00
jsorg71
d4e96f0c4c Merge pull request #531 from speidy/surface_cmds
xrdp_encoder: make RemoteFX work with MSTSC client
2016-12-15 21:26:41 -08:00
Koichiro IWAO
af7d437fc7 CI: correct pixman package name 2016-12-16 13:25:47 +09:00
Pavel Roskin
380729e982 Fix a warning in jpeg compression code with --enable-jpeg
If the image width is not divisible by 4, the image is padded to the next
multiple of 4. The additional pixels are filled with the colors of the
last pixel in the row.

The last pixel colors may not be initialized if the width is 0. In this
case, the would be no padding, but the compiler doesn't know that.

Add a check that the width is more that 0 before filling the padding.
2016-12-14 22:35:08 -08:00
metalefty
4462d22bf1 Merge pull request #538 from proski/submodules
Add libpainter submodule, update librfxcodec URL
2016-12-15 13:30:36 +09:00
Pavel Roskin
96bb1d4cfd Add libpainter submodule 2016-12-14 08:44:07 -08:00
Pavel Roskin
ca8ddb51ac Use https for librfxcodec reference
The git protocol is so limited that GitHub doesn't show it when selecting "Clone
of download". It may be blocked by strict firewalls, whereas https would work
almost certainly. Pushing code is not allowed over git protocol, but it's
possible over https with a tocken.
2016-12-14 08:44:07 -08:00
Itamar Reis Peixoto
894571f736 Merge pull request #543 from westporch/devel
Add Korean keymap
2016-12-14 13:58:14 -02:00
Westporch
2ea8eddc25 Sort alphabetically 2016-12-14 15:30:31 +09:00
Westporch
be58f2d547 Sort alphabetically 2016-12-14 15:27:03 +09:00
Westporch
2bac73eba3 Add Korean keymap 2016-12-14 14:41:11 +09:00
Westporch
52081cb8bc Add 'rdp_layout_kr=kr' 2016-12-14 14:38:27 +09:00
Westporch
4681a06f6a Add Korean keymap 2016-12-14 14:33:00 +09:00
speidy
4697354044 xrdp_constants: move CAPSET constants to their place 2016-12-13 19:35:56 -05:00
speidy
a614b60157 lixrdp: typo fix 2016-12-13 18:19:32 -05:00
speidy
917aadd2d1 libxrdp: more constants 2016-12-13 18:18:34 -05:00
speidy
3dc0f2860c Merge branch 'surface_cmds' of git://github.com/speidy/xrdp into surface_cmds 2016-12-13 15:08:37 -05:00
speidy
5e39bb1f87 libxrdp: caps, group caps require fastpath output, use FASTPATH_OUTPUT_SUPPORTED constant 2016-12-13 15:05:39 -05:00
speidy
d6a470e973 libxrdp: improve messages 2016-12-13 14:31:27 -05:00
Speidy
a0cf6030df Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into surface_cmds 2016-12-12 15:51:39 -08:00
jsorg71
5966de4ee2 Merge pull request #536 from jsorg71/unicode
add unicode support
2016-12-11 17:15:34 -08:00
metalefty
eeb4b19fbd Merge pull request #535 from speidy/rfx_detection
Fix for RemoteFX detection, avoid blank screen when RFX is not supported on server
2016-12-11 23:34:59 +09:00
Itamar Reis Peixoto
091e6d6f57 Merge pull request #529 from proski/vnc32
Fix support for 32-bpp clients connecting to 16-bpp VNC
2016-12-11 11:31:03 -02:00
Itamar Reis Peixoto
5171fa79cf Merge pull request #533 from proski/ipv6
Don't use colon to separate IPv6 address from the port
2016-12-11 11:00:13 -02:00
Jay Sorg
c264862afe change some magics to defines 2016-12-10 01:06:45 -08:00
Jay Sorg
7a1a481ff9 use defines for flags 2016-12-10 00:43:33 -08:00
Jay Sorg
2f8d3ba9da add unicode support 2016-12-10 00:11:28 -08:00
speidy
1ef5c2412c xrdp_caps: fix jpeg codec properties 2016-12-10 02:14:50 -05:00
speidy
4f04801b11 o caps: advertise remotefx codec capsets only when supported (RFX mode,
proxy mode)
o xrdp_encoder: do not initialze encoder context for RFX when rfxcodec
is not supported
2016-12-10 02:03:20 -05:00
Pavel Roskin
a8fcbf8c2d Fix support for 32-bpp clients connecting to 16-bpp VNC 2016-12-09 08:43:07 -08:00
Pavel Roskin
d97155e2f6 Don't use colon to separate IPv6 address from the port
IPv6 addresses can have colons in their names, so the final colon can be
confusing.
2016-12-09 08:42:56 -08:00
metalefty
42272c0f18 Merge pull request #532 from metalefty/freebsd/session
sesman: unbreak FreeBSD build after #523
2016-12-09 12:32:55 +09:00
Koichiro IWAO
35bc7c1d65 sesman: unbreak FreeBSD build after #523 2016-12-09 10:35:21 +09:00
speidy
bb8b85759d xrdp_encoder: remove temporary workaround for RFX to avoid mstsc 2016-12-08 20:12:00 -05:00
speidy
bf07c20571 no logic change, indent only 2016-12-08 20:12:00 -05:00
speidy
8a0fec5e66 o send RFX tiles as stream (Stream Surface Bits Command)
o silent frame ack logging
o support surface commands in capsets
o fix some wrong constants
2016-12-08 20:12:00 -05:00
metalefty
731d4be670 Merge pull request #521 from proski/xorg-log
Change default Xorg logfile to .xorgxrdp.%s.log
2016-12-09 09:45:47 +09:00
metalefty
eec7e39715 Merge pull request #513 from proski/no-setuid
Disable privilege elevation by setuid for the X server
2016-12-09 09:44:58 +09:00
Pavel Roskin
9cbf3d1bb8 Change default Xorg logfile to .xorgxrdp.%s.log
The log file is created in the home directory, %s is replaced with the
display number (e.g. 10).

If Xorg is run setuid root, it can refuse to run if the log path is
absolute.
2016-12-06 15:10:01 -08:00
Pavel Roskin
04414e0fd4 Disable privilege elevation by setuid for the X server 2016-12-06 15:09:52 -08:00
Itamar Reis Peixoto
8516d6d66b Merge pull request #528 from proski/xserverbpp
Document xserverbpp, add it to Xvnc section, remove from Xorg section
2016-12-06 20:49:35 -02:00
Pavel Roskin
9cfe477f60 Document xserverbpp, add it to Xvnc section, remove from Xorg section
xserverbpp affects X11rdp and Xvnc, but not Xorg. No need to have
xserverbpp in the Xorg section where it has no effect. Add commented out
xserverbpp to Xvnc, some users may want to experiment with that setting.
2016-12-06 14:40:38 -08:00
jsorg71
bbae1a98c6 Merge pull request #523 from jsorg71/vpf
vnc: change password file to use guid hash
2016-12-06 12:05:23 -08:00
metalefty
191c093190 Merge pull request #526 from proski/pixman
Make configure show it's looking for "pixman", not "xrdp_pixman"
2016-12-05 16:25:20 +09:00
Pavel Roskin
c759a1a645 Make configure show it's looking for "pixman", not "xrdp_pixman"
The pixman library in not part of xrdp. If users see that "xrdp_pixman"
is not found, they might assume it is some xrdp specific library.

The Automake conditional is still XRDP_PIXMAN, but the pkg-config
variables become PIXMAN_LIBS and PIXMAN_CFLAGS.
2016-12-04 19:38:45 -08:00
Jay Sorg
f14e3dc8ac sesman: must save guid in session data 2016-12-04 17:20:01 -08:00
Jay Sorg
9a517b34f0 vnc: code cleanup 2016-12-04 15:39:10 -08:00
Jay Sorg
57905d71ad vnc: change password file to use guid hash 2016-12-03 23:12:48 -08:00