platform/upstream/freerdp.git
12 years agolibfreerdp-core: fix bitmap leak (call child destructor from parent destructor in...
Marc-André Moreau [Wed, 26 Oct 2011 03:12:28 +0000 (23:12 -0400)]
libfreerdp-core: fix bitmap leak (call child destructor from parent destructor in graphics/bitmap)

12 years agoMerge pull request #185 from atong-tcs/master
Marc-André Moreau [Tue, 25 Oct 2011 16:17:32 +0000 (09:17 -0700)]
Merge pull request #185 from atong-tcs/master

cmake: use CMAKE_DL_LIBS instead of dl for portability

12 years agoMerge pull request #184 from OSSystems/master
Marc-André Moreau [Tue, 25 Oct 2011 16:17:25 +0000 (09:17 -0700)]
Merge pull request #184 from OSSystems/master

X11: exit codes

12 years agocmake: use CMAKE_DL_LIBS instead of dl for portability
Anthony Tong [Tue, 25 Oct 2011 13:47:38 +0000 (09:47 -0400)]
cmake: use CMAKE_DL_LIBS instead of dl for portability

12 years agoX11: X11: handling error info -> disconnect reason
Eduardo Beloni [Mon, 24 Oct 2011 18:46:19 +0000 (16:46 -0200)]
X11: X11: handling error info -> disconnect reason

12 years agolibfreerdp-core: facilities for storing and retrieving 'error info'
Eduardo Beloni [Mon, 24 Oct 2011 18:37:21 +0000 (16:37 -0200)]
libfreerdp-core: facilities for storing and retrieving 'error info'

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 25 Oct 2011 06:46:33 +0000 (02:46 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agodocs: update visio document with core graphical objects
Marc-André Moreau [Tue, 25 Oct 2011 06:46:24 +0000 (02:46 -0400)]
docs: update visio document with core graphical objects

12 years agoMerge pull request #183 from atong-tcs/master
Marc-André Moreau [Tue, 25 Oct 2011 06:14:31 +0000 (23:14 -0700)]
Merge pull request #183 from atong-tcs/master

xfreerdp: ifdef cpuid inline asm properly

12 years agoxfreerdp: ifdef cpuid inline asm properly
Anthony Tong [Tue, 25 Oct 2011 06:10:24 +0000 (01:10 -0500)]
xfreerdp: ifdef cpuid inline asm properly

12 years agoMerge pull request #182 from atong-tcs/sse2
Marc-André Moreau [Tue, 25 Oct 2011 05:42:04 +0000 (22:42 -0700)]
Merge pull request #182 from atong-tcs/sse2

-DWITH_SSE2 now does runtime detection

12 years agosse2: switch to cpuid, from /proc/cpuinfo
Anthony Tong [Tue, 25 Oct 2011 05:22:56 +0000 (00:22 -0500)]
sse2: switch to cpuid, from /proc/cpuinfo

12 years agocmake/sse2: initial sse2 detect
Anthony Tong [Sun, 23 Oct 2011 18:51:26 +0000 (13:51 -0500)]
cmake/sse2: initial sse2 detect

12 years agoMerge pull request #180 from atong-tcs/rfx
Marc-André Moreau [Tue, 25 Oct 2011 02:43:19 +0000 (19:43 -0700)]
Merge pull request #180 from atong-tcs/rfx

libfreerdp-codec: rfx quantization decode fix

12 years agoMerge pull request #181 from ngraziano/color-fix
Marc-André Moreau [Tue, 25 Oct 2011 02:43:07 +0000 (19:43 -0700)]
Merge pull request #181 from ngraziano/color-fix

Color fix

12 years agoTry to get good color for 8 Bpp and 15 Bpp.
Nicolas Graziano [Tue, 25 Oct 2011 02:12:57 +0000 (04:12 +0200)]
Try to get good color for 8 Bpp and 15 Bpp.

The method is try and correct for 8, 15, 16 24 and 32.
I made all this change in freerdp_color_convert_rgb to prevent
blue = clrconv->palette->entries[srcColor].red

12 years agoMake option -a 15 works.
Nicolas Graziano [Tue, 25 Oct 2011 02:04:51 +0000 (04:04 +0200)]
Make option -a 15 works.

12 years agoMerge pull request #176 from OSSystems/parallel
Marc-André Moreau [Mon, 24 Oct 2011 14:45:56 +0000 (07:45 -0700)]
Merge pull request #176 from OSSystems/parallel

Fix and adjust parallel port redirection

12 years agoMerge pull request #178 from mfleisz/cryptofix
Marc-André Moreau [Mon, 24 Oct 2011 14:45:20 +0000 (07:45 -0700)]
Merge pull request #178 from mfleisz/cryptofix

core: Added missing \0 termination to crypto_print_name

12 years agocore: Added missing \0 termination to crypto_print_name
Martin Fleisz [Mon, 24 Oct 2011 13:22:44 +0000 (06:22 -0700)]
core: Added missing \0 termination to crypto_print_name

12 years agordpdr/parallel: fix and adjust parallel port redirection
Eduardo Beloni [Fri, 21 Oct 2011 12:11:33 +0000 (10:11 -0200)]
rdpdr/parallel: fix and adjust parallel port redirection

12 years agolibfreerdp-codec: rfx quantization decode fix
Anthony Tong [Sun, 23 Oct 2011 22:40:58 +0000 (17:40 -0500)]
libfreerdp-codec: rfx quantization decode fix

 - the incorrect offset also causes an unaligned access with sse2,
on i386 it may segv on _mm_load_sil128

12 years agoMerge pull request #175 from atong-tcs/master
Marc-André Moreau [Sat, 22 Oct 2011 17:32:58 +0000 (10:32 -0700)]
Merge pull request #175 from atong-tcs/master

Set _net_wm_icon on desktop window

12 years agoxfreerdp: set icon for DesktopWindow
Anthony Tong [Sat, 22 Oct 2011 16:55:03 +0000 (11:55 -0500)]
xfreerdp: set icon for DesktopWindow

12 years agowfreerdp: fix compilation on windows
Marc-André Moreau [Fri, 21 Oct 2011 20:45:35 +0000 (16:45 -0400)]
wfreerdp: fix compilation on windows

12 years agorail: fix flags for executable specified as full path, not alias
Marc-André Moreau [Fri, 21 Oct 2011 18:08:31 +0000 (14:08 -0400)]
rail: fix flags for executable specified as full path, not alias

12 years agoxfreerdp: improved 8bpp support
Marc-André Moreau [Fri, 21 Oct 2011 16:17:04 +0000 (12:17 -0400)]
xfreerdp: improved 8bpp support

12 years agolibfreerdp-core: fix credssp check for Authenticate callback
Marc-André Moreau [Fri, 21 Oct 2011 15:18:11 +0000 (11:18 -0400)]
libfreerdp-core: fix credssp check for Authenticate callback

12 years agoresources: added FreeRDP icon and logo files
Marc-André Moreau [Fri, 21 Oct 2011 15:11:25 +0000 (11:11 -0400)]
resources: added FreeRDP icon and logo files

12 years agoMerge pull request #170 from mfleisz/cryptofix
Otavio Salvador [Fri, 21 Oct 2011 13:42:52 +0000 (06:42 -0700)]
Merge pull request #170 from mfleisz/cryptofix

core: Fixed error in crypto_print_name causing it to always return NULL

12 years agoMerge pull request #172 from mfleisz/authfix
Marc-André Moreau [Fri, 21 Oct 2011 13:38:48 +0000 (06:38 -0700)]
Merge pull request #172 from mfleisz/authfix

core: correct processing of result from authenticate callback

12 years agocore: correct processing of result from authenticate callback
Martin Fleisz [Fri, 21 Oct 2011 11:02:46 +0000 (04:02 -0700)]
core: correct processing of result from authenticate callback

12 years agocore: Fixed error in crypto_print_name causing it to always return NULL
Martin Fleisz [Fri, 21 Oct 2011 08:55:28 +0000 (01:55 -0700)]
core: Fixed error in crypto_print_name causing it to always return NULL

12 years agolibfreerdp-core: refactoring of callback prefix
Marc-André Moreau [Fri, 21 Oct 2011 03:15:18 +0000 (23:15 -0400)]
libfreerdp-core: refactoring of callback prefix

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Fri, 21 Oct 2011 01:38:21 +0000 (21:38 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agoxfreerdp: fix bitmap updates after refactoring
Marc-André Moreau [Fri, 21 Oct 2011 01:34:55 +0000 (21:34 -0400)]
xfreerdp: fix bitmap updates after refactoring

12 years agolibfreerdp-core: added pointer object
Marc-André Moreau [Thu, 20 Oct 2011 22:18:45 +0000 (18:18 -0400)]
libfreerdp-core: added pointer object

12 years agolibfreerdp-core: refactoring of core bitmap objects
Marc-André Moreau [Thu, 20 Oct 2011 21:28:59 +0000 (17:28 -0400)]
libfreerdp-core: refactoring of core bitmap objects

12 years agoMerge pull request #168 from nfedera/pcapsegvfix
Marc-André Moreau [Thu, 20 Oct 2011 16:23:25 +0000 (09:23 -0700)]
Merge pull request #168 from nfedera/pcapsegvfix

pcap: fix several segfaults with NULL pcap file handle

12 years agoMerge pull request #167 from mfleisz/disconnect_fix
Otavio Salvador [Thu, 20 Oct 2011 12:55:06 +0000 (05:55 -0700)]
Merge pull request #167 from mfleisz/disconnect_fix

transport: Leaking socket on disconnect when using TLS transport layer

12 years agopcap: fix several segfaults with NULL pcap file handle
Norbert Federa [Thu, 20 Oct 2011 12:25:25 +0000 (14:25 +0200)]
pcap: fix several segfaults with NULL pcap file handle

- pcap_open did not return NULL if fopen failed
- libfreerdp-core, tfreerdp-serer and xfreerdp-server did not check the pcap_open result
- also fixed the sleep calculation in the xfreerdp-server

12 years agotransport: Leaking socket on disconnect when using TLS transport layer
Martin Fleisz [Thu, 20 Oct 2011 10:50:12 +0000 (03:50 -0700)]
transport: Leaking socket on disconnect when using TLS transport layer

12 years agoMerge pull request #166 from OSSystems/master
Marc-André Moreau [Wed, 19 Oct 2011 19:45:49 +0000 (12:45 -0700)]
Merge pull request #166 from OSSystems/master

Serial redirection fixes

12 years agordpdr/serial: [fix] ignore purge of port buffers
Eduardo Beloni [Wed, 19 Oct 2011 19:03:49 +0000 (17:03 -0200)]
rdpdr/serial: [fix] ignore purge of port buffers

See http://msdn.microsoft.com/en-us/library/ms901431.aspx

12 years agordpdr/serial: [fix] write zero at the end of an aborted irp
Eduardo Beloni [Tue, 18 Oct 2011 18:32:51 +0000 (16:32 -0200)]
rdpdr/serial: [fix] write zero at the end of an aborted irp

12 years agoMerge pull request #165 from atong-tcs/master
Marc-André Moreau [Wed, 19 Oct 2011 15:29:49 +0000 (08:29 -0700)]
Merge pull request #165 from atong-tcs/master

extra audin thread exit checks

12 years agoMerge pull request #164 from ngraziano/master
Marc-André Moreau [Wed, 19 Oct 2011 15:29:26 +0000 (08:29 -0700)]
Merge pull request #164 from ngraziano/master

Some fixes for GDI

12 years agoport of llyzs patch from freerdp-old, issue #26
Anthony Tong [Wed, 19 Oct 2011 14:55:54 +0000 (10:55 -0400)]
port of llyzs patch from freerdp-old, issue #26

12 years agoDisable Save Bitmap (not implemented)
Nicolas Graziano [Wed, 19 Oct 2011 09:39:11 +0000 (11:39 +0200)]
Disable Save Bitmap (not implemented)

12 years agoReset XSetFunction to GXcopy afert each command.
Nicolas Graziano [Wed, 19 Oct 2011 09:31:34 +0000 (11:31 +0200)]
Reset XSetFunction to GXcopy afert each command.

There is a function wich do not correctly set XSetFunction to GXcopy, but
I did not find which one.
So Reset to GXcopy after each modification, it's a bit overkill but it's
 prevent black square on screen.

12 years agolibfreerdp-utils/thread: fix incorrect waiting time in freerdp_thread_stop.
Vic Lee [Wed, 19 Oct 2011 14:10:45 +0000 (22:10 +0800)]
libfreerdp-utils/thread: fix incorrect waiting time in freerdp_thread_stop.

12 years agoMerge pull request #163 from atong-tcs/master
Marc-André Moreau [Wed, 19 Oct 2011 13:47:09 +0000 (06:47 -0700)]
Merge pull request #163 from atong-tcs/master

map fs error codes

12 years agordpdr disk: map error codes, starting with create irp
Anthony Tong [Wed, 19 Oct 2011 13:43:04 +0000 (09:43 -0400)]
rdpdr disk: map error codes, starting with create irp

12 years agoMerge pull request #162 from atong-tcs/master
Marc-André Moreau [Wed, 19 Oct 2011 13:27:16 +0000 (06:27 -0700)]
Merge pull request #162 from atong-tcs/master

manual rpm build

12 years agoupdate build for rpm spec
Anthony Tong [Wed, 19 Oct 2011 12:21:14 +0000 (07:21 -0500)]
update build for rpm spec

12 years agoMerge pull request #161 from mfleisz/certcallback
Marc-André Moreau [Wed, 19 Oct 2011 11:32:43 +0000 (04:32 -0700)]
Merge pull request #161 from mfleisz/certcallback

settings: Added --ignore-certificates command line

12 years agoAdded --ignore-certificates command line
Martin Fleisz [Wed, 19 Oct 2011 07:42:53 +0000 (00:42 -0700)]
Added --ignore-certificates command line

12 years agoMerge pull request #159 from nfedera/transportfix
Marc-André Moreau [Tue, 18 Oct 2011 22:07:17 +0000 (15:07 -0700)]
Merge pull request #159 from nfedera/transportfix

core: handle transport->recv_callback correctly

12 years agocore: handle transport->recv_callback correctly
Norbert Federa [Tue, 18 Oct 2011 21:47:44 +0000 (23:47 +0200)]
core: handle transport->recv_callback correctly

the boolean return value of transport->recv_callback was directly assigned to "int status" in transport_check_fds.
now status is set to -1 if transport_check_fds returns False.

this was also the reason for the long delays on logoff followed by these messages:
"SSL_read: I/O error" (with --sec nla|tls)
"recv: Connection reset by peer" + "send: Broken pipe" (with --sec rdp)

12 years agoMerge pull request #158 from nfedera/rfxcontextfix
Marc-André Moreau [Tue, 18 Oct 2011 20:57:31 +0000 (13:57 -0700)]
Merge pull request #158 from nfedera/rfxcontextfix

xfreerdp: rfx_context was not freed

12 years agoxfreerdp: rfx_context was not freed
Norbert Federa [Tue, 18 Oct 2011 20:50:40 +0000 (22:50 +0200)]
xfreerdp: rfx_context was not freed

12 years agoMerge pull request #155 from mfleisz/certcallback
Marc-André Moreau [Tue, 18 Oct 2011 16:59:34 +0000 (09:59 -0700)]
Merge pull request #155 from mfleisz/certcallback

core: Added ui callback to verify certificates

12 years agoMerge pull request #156 from nfedera/pcaptimestampfix
Marc-André Moreau [Tue, 18 Oct 2011 16:59:04 +0000 (09:59 -0700)]
Merge pull request #156 from nfedera/pcaptimestampfix

pcap: fix timstamps to use gettimeofday

12 years agopcap: fix timstamps to use gettimeofday
Norbert Federa [Tue, 18 Oct 2011 16:36:34 +0000 (18:36 +0200)]
pcap: fix timstamps to use gettimeofday

pcap used utils/stopwatch to save a record's timestamp which is not suitable because stopwatch measures cpu time and not the wall-clock time
also fixed the sleep calculation in the tfreerdp test server

12 years agocore: Added ui callback to verify certificates
Martin Fleisz [Tue, 18 Oct 2011 15:02:05 +0000 (08:02 -0700)]
core: Added ui callback to verify certificates

12 years agoserver: use rdpContext for server-side components.
Vic Lee [Tue, 18 Oct 2011 07:10:12 +0000 (15:10 +0800)]
server: use rdpContext for server-side components.

12 years agoMerge pull request #154 from atong-tcs/master
Marc-André Moreau [Tue, 18 Oct 2011 02:30:38 +0000 (19:30 -0700)]
Merge pull request #154 from atong-tcs/master

disable vchan compression

12 years agodont advertise compression support in the vchan capabilities,
Anthony Tong [Tue, 18 Oct 2011 01:38:52 +0000 (20:38 -0500)]
dont advertise compression support in the vchan capabilities,
as it's not supported yet

12 years agoMerge pull request #151 from atong-tcs/master
Marc-André Moreau [Mon, 17 Oct 2011 14:13:06 +0000 (07:13 -0700)]
Merge pull request #151 from atong-tcs/master

minor build fixes

12 years agoMerge pull request #152 from nfedera/xwinpropfix
Marc-André Moreau [Mon, 17 Oct 2011 14:12:40 +0000 (07:12 -0700)]
Merge pull request #152 from nfedera/xwinpropfix

xfreerdp: fix xf_GetWindowProperty

12 years agobuild fixes
Anthony Tong [Mon, 17 Oct 2011 13:39:21 +0000 (09:39 -0400)]
build fixes

12 years agoxfreerdp: fix xf_GetWindowProperty
Norbert Federa [Mon, 17 Oct 2011 13:39:06 +0000 (15:39 +0200)]
xfreerdp: fix xf_GetWindowProperty

xf_GetWindowProperty should return False if the specified property does not exist.
It is not sufficient to simply check for the return value of XGetWindowProperty.
XGetWindowProperty also returns Success if the specified property does not exist.
However, it will return "None" to the actual_type_return parameter in that case.
This change fixes several crashes with some (exotic) window managers.

12 years agowfreerdp: fix after freerdp API change
Marc-André Moreau [Mon, 17 Oct 2011 04:01:50 +0000 (00:01 -0400)]
wfreerdp: fix after freerdp API change

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Mon, 17 Oct 2011 03:46:12 +0000 (23:46 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agowfreerdp: fix after libfreerdp-core refactoring
Marc-André Moreau [Mon, 17 Oct 2011 03:45:58 +0000 (23:45 -0400)]
wfreerdp: fix after libfreerdp-core refactoring

12 years agoxfreerdp: move arguments processing on pre_connect
Marc-André Moreau [Mon, 17 Oct 2011 01:39:11 +0000 (21:39 -0400)]
xfreerdp: move arguments processing on pre_connect

12 years agolibfreerdp-core: cleanup of freerdp interface
Marc-André Moreau [Mon, 17 Oct 2011 01:02:28 +0000 (21:02 -0400)]
libfreerdp-core: cleanup of freerdp interface

12 years agolibfreerdp-core: move rdpChannels context to rdpContext
Marc-André Moreau [Mon, 17 Oct 2011 00:10:09 +0000 (20:10 -0400)]
libfreerdp-core: move rdpChannels context to rdpContext

12 years agowfreerdp: update client for rdpContext usage
Marc-André Moreau [Sun, 16 Oct 2011 20:47:50 +0000 (16:47 -0400)]
wfreerdp: update client for rdpContext usage

12 years agolibfreerdp-channels: rename from libfreerdp-chanman
Marc-André Moreau [Sun, 16 Oct 2011 18:57:15 +0000 (14:57 -0400)]
libfreerdp-channels: rename from libfreerdp-chanman

12 years agolibfreerdp-core: merge with master
Marc-André Moreau [Sun, 16 Oct 2011 18:27:29 +0000 (14:27 -0400)]
libfreerdp-core: merge with master

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sun, 16 Oct 2011 04:50:48 +0000 (00:50 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agolibfreerdp-core: refactoring of context pointers into rdpContext
Marc-André Moreau [Sun, 16 Oct 2011 04:50:10 +0000 (00:50 -0400)]
libfreerdp-core: refactoring of context pointers into rdpContext

12 years agodocs: started visio document for FreeRDP
Marc-André Moreau [Sun, 16 Oct 2011 01:09:19 +0000 (21:09 -0400)]
docs: started visio document for FreeRDP

12 years agoMerge pull request #150 from atong-tcs/devel
Marc-André Moreau [Sat, 15 Oct 2011 23:55:05 +0000 (16:55 -0700)]
Merge pull request #150 from atong-tcs/devel

bring back freerdp.pc

12 years agoadd freerdp-codec
Anthony Tong [Sat, 15 Oct 2011 23:47:20 +0000 (18:47 -0500)]
add freerdp-codec

12 years agobring back freerdp.pc
Anthony Tong [Sat, 15 Oct 2011 23:25:34 +0000 (18:25 -0500)]
bring back freerdp.pc

12 years agoMerge pull request #147 from atong-tcs/master
Marc-André Moreau [Sat, 15 Oct 2011 17:06:34 +0000 (10:06 -0700)]
Merge pull request #147 from atong-tcs/master

initial scard migration

12 years agoMerge pull request #149 from atong-tcs/leak
Marc-André Moreau [Sat, 15 Oct 2011 17:05:34 +0000 (10:05 -0700)]
Merge pull request #149 from atong-tcs/leak

fix xf_gdi_bitmap_update() memory leak

12 years agofix xf_gdi_bitmap_update() memory leak
Anthony Tong [Sat, 15 Oct 2011 16:32:12 +0000 (11:32 -0500)]
fix xf_gdi_bitmap_update() memory leak

12 years agoinitial scard support
Anthony Tong [Sat, 15 Oct 2011 15:30:10 +0000 (10:30 -0500)]
initial scard support

12 years agoMerge pull request #145 from OSSystems/serial
Marc-André Moreau [Sat, 15 Oct 2011 00:45:35 +0000 (17:45 -0700)]
Merge pull request #145 from OSSystems/serial

Migration of serial port redirection code

12 years agoMerge pull request #146 from ngraziano/offscreen-fix
Marc-André Moreau [Sat, 15 Oct 2011 00:44:28 +0000 (17:44 -0700)]
Merge pull request #146 from ngraziano/offscreen-fix

Prevent BadDrawable after creation of offscreen when the current offscree

12 years agoPrevent BadDrawable after creation of offscreen when the current offscreen is recreate.
Nicolas Graziano [Fri, 14 Oct 2011 22:59:23 +0000 (00:59 +0200)]
Prevent BadDrawable after creation of offscreen when the current offscreen is recreate.

12 years agordpdr: migrating serial code
Eduardo Beloni [Tue, 4 Oct 2011 18:15:15 +0000 (15:15 -0300)]
rdpdr: migrating serial code

12 years agordpdr_types: [fix] add include svc_plugin
Eduardo Beloni [Thu, 6 Oct 2011 13:53:49 +0000 (10:53 -0300)]
rdpdr_types: [fix] add include svc_plugin

12 years agolist: add list_next() operation
Eduardo Beloni [Fri, 7 Oct 2011 13:38:44 +0000 (10:38 -0300)]
list: add list_next() operation

12 years agolist: add list_size() operation
Eduardo Beloni [Thu, 6 Oct 2011 13:50:00 +0000 (10:50 -0300)]
list: add list_size() operation

12 years agodfreerdp: fix compilation
Marc-André Moreau [Fri, 14 Oct 2011 00:50:51 +0000 (20:50 -0400)]
dfreerdp: fix compilation

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Fri, 14 Oct 2011 00:11:09 +0000 (20:11 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP