Commit Graph

73 Commits

Author SHA1 Message Date
aquesnel 0ec471b02d
Add detailed logging to libxrdp (#1742)
* Added s_rem(s) for getting the remaining bytes in a stream
* Added s_rem_out() macro
* Fixed 15bpp pointer error checking
* Combined the 512 and 2048 bit certificate sending  code paths
* Other detailed comments and logging added following MS-RDPBCGR
2021-02-04 10:11:54 +00:00
Alexandre Quesnel a82ee03d4d Changing LOG_DEVEL to LOG to avoid silent failures. 2020-12-05 19:22:50 +00:00
Alexandre Quesnel 2d6d249f76 Fixing code formatting with astyle 2020-11-30 05:04:11 +00:00
Alexandre Quesnel 51905d765a Migrating logging to LOG() and LOG_DEVEL() in libxrdp/* 2020-11-30 05:04:10 +00:00
matt335672 6f881d47d3 Rationalise ms- constants
Constants from MS documents (MS-RDPBCGR etc) moved out of
common/xrdp_constants.h into includes named after the documents.

Similar includes moved from sesman/chansrv to the common area.
2020-01-06 15:46:37 +00:00
Koichiro IWAO b2a7bb0cf0
use MS for orderType constants 2018-12-12 17:40:58 +09:00
daixj b3a1889200 Support Cache Glyph Revison 2, issue #367 2018-10-25 10:34:00 +08:00
Jay Sorg 9d36983ae7 fix for protocol error when 32 bit and non rfx 2017-07-12 15:03:08 +09:00
Pavel Roskin 6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
Pavel Roskin b2d3dcf169 Include config_ac.h from all source files 2017-03-04 00:52:34 -08:00
Jay Sorg 492116d535 fixes for rle bitmap compress limits and raw bitmaps 2016-12-14 23:55:13 -08:00
Pavel Roskin ae5bb5bf9c Fix incorrect use of "it's" and "its", adjust wording 2016-06-21 16:30:15 -07:00
Pavel Roskin ca9cbcafc8 Typo fixes 2016-05-04 23:33:30 -07:00
Jay Sorg 87208db090 fix warnings 2016-04-09 22:10:12 -07:00
Pavel Roskin 964e860072 Run through codespell 2016-01-14 08:47:50 -08:00
Jay Sorg 0cabb4a565 32 bpp compress the alpha, leave room for biggest 32 bpp data 2014-06-29 13:58:54 -07:00
Jay Sorg a16b83ac8a libxrdp: remove some alloc / free 2014-06-18 21:10:15 -07:00
Jay Sorg b142a59e69 libxrdp: changes for planar compression 2014-06-17 22:41:10 -07:00
Jay Sorg aa35a32752 libxrdp: 32 bpp compression changes / fixes 2014-06-15 16:17:40 -07:00
speidy 8372cce84d o libxrdp: fastpath output, added cursor and palette now updates
o xrdp.ini: changed default behavior: always new cursors, always use
fastpath input and output.
2014-03-13 00:21:29 +02:00
Jay Sorg 4cae44ce3b libxrdp: keep rdp packets < 16K 2014-03-09 21:07:08 -07:00
Jay Sorg d18704d740 libxrdp: work on fastpath fragments 2014-03-09 12:11:36 -07:00
Jay Sorg ff8821c308 libxrdp: fastpath output, orders working 2014-03-07 12:45:33 -08:00
Jay Sorg c8579c3403 libxrdp: started adding planar bitmap compression 2014-02-15 21:19:54 -08:00
Jay Sorg f380f9e972 libxrdp: Authentic8 fixes for xrdp_orders_check 2013-10-17 20:32:47 -07:00
Jay Sorg c1b7cbd657 merges from authentic8 2013-09-26 11:28:07 -07:00
Jay Sorg 2c021f5fab don't use a global for turbo jpeg 2013-09-19 10:59:29 -07:00
speidy 8e76b68102 neutrinordp: clean old freerdp moduels, add config, fix for RFX codec to
work.
2013-08-24 12:02:01 +03:00
Jim Grandy 981741f55c Hand-apply patch (compositing) from Authentic8: 5d5e470 81c9c29 b0c2c10 27d8a01 a96a217 e512090 a9a6762 9c02bfa bd26fcc c0d29d9 676dd35 3b26737 2013-08-22 12:54:10 -07:00
Jim Grandy 45b0bc9f17 Hand-apply patches (glyph cache) from Authentic8 branch: 653869c 30f23d4 74b015d 4e51e6d 2829087 2013-08-22 12:52:24 -07:00
Jim Grandy 1ae9a7f2b6 Hand-apply patches (drawing configuration) from Authentic8 branch: 34b92df f994298 38e2def 2013-08-22 12:49:41 -07:00
Jay Sorg 4a66be133f CRC optimize 2013-08-19 10:48:38 -07:00
Jay Sorg e466b054b7 libxrdp: no logic change, warnings and code cleanup 2013-06-23 15:00:24 -07:00
Jay Sorg c6fa03102f copyright year update 2013-06-08 10:51:53 -07:00
Bart Warmerdam 8fa8d90641 Use correct RGB byte odering for uncompressed bitmaps (ms-rdpbcgr p192), RED=lsB, BLUE=msB 2013-01-20 11:53:02 +01:00
Bart Warmerdam 69a721f7cb Revert "Use correct RGB byte odering for uncompressed bitmaps (ms-rdpbcgr p192), RED=lsB, BLUE=msB"
This reverts commit 4efe900f2d.
2013-01-20 11:50:27 +01:00
Bart Warmerdam 4efe900f2d Use correct RGB byte odering for uncompressed bitmaps (ms-rdpbcgr p192), RED=lsB, BLUE=msB 2013-01-20 11:45:19 +01:00
Jay Sorg cce4f773d8 fixes, logging for off screen 2012-12-23 14:07:37 -08:00
LawrenceK cd847eafa1 when processing a text order we where not correctly using the text length this resulted in overrunning the order buffer and eventually corrupting the heap. Two fixes uses the data length and if the size is greater than max_packet_size attempt to send anyway otherwise you break the protocol. 2012-12-06 16:03:41 +00:00
Laxmikant Rashinkar 1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00
Jay Sorg 639e7bc8ed remove rail loggin, minor hints change 2012-08-17 00:25:57 -07:00
Jay Sorg 204d6bbde1 codecs: move jpeg hack to bitmap cache v3 2012-07-24 11:56:09 -07:00
Jay Sorg 6d539b8e22 user rfx for cache v3 if client supports 2012-07-23 11:12:39 -07:00
Jay Sorg 62777d43b1 work on bitmap cache v3 2012-07-17 15:24:11 -07:00
Jay Sorg b52bf1b838 libxrdp: started adding RAIL support 2012-06-14 14:37:02 -07:00
Jay Sorg 2eb2f1d92d libxrdp: fix warning 2012-06-11 20:29:30 -07:00
Jay Sorg 900a2541ca offscreen bitmaps: implement the delete list 2012-05-22 08:27:09 -07:00
Jay Sorg e09f14e6d4 don't jpeg compress fonts 2012-05-21 10:38:32 -07:00
Jay Sorg d88291c9dd -xorg: work on off screen bitmaps 2012-05-20 21:14:15 -07:00
Jay Sorg cc3754a2bd xorg: work on offscreen bitmaps 2012-05-17 18:48:28 -07:00