Commit Graph

1061 Commits

Author SHA1 Message Date
Norbert Federa 12245abfc8 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
2011-10-20 14:25:25 +02:00
Marc-André Moreau 5f7aafd7aa Merge pull request #166 from OSSystems/master
Serial redirection fixes
2011-10-19 12:45:49 -07:00
Eduardo Beloni 0d421ac6f7 rdpdr/serial: [fix] ignore purge of port buffers
See http://msdn.microsoft.com/en-us/library/ms901431.aspx
2011-10-19 17:32:17 -02:00
Eduardo Beloni b8c865fa9f rdpdr/serial: [fix] write zero at the end of an aborted irp 2011-10-19 17:09:14 -02:00
Marc-André Moreau 9dc6d1d61f Merge pull request #165 from atong-tcs/master
extra audin thread exit checks
2011-10-19 08:29:49 -07:00
Marc-André Moreau 82afba88f5 Merge pull request #164 from ngraziano/master
Some fixes for GDI
2011-10-19 08:29:26 -07:00
Anthony Tong 0e9ad32bcb port of llyzs patch from freerdp-old, issue #26 2011-10-19 10:55:54 -04:00
Nicolas Graziano 87272e74dd Disable Save Bitmap (not implemented) 2011-10-19 16:35:49 +02:00
Nicolas Graziano 73e8afcd65 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.
2011-10-19 16:35:49 +02:00
Vic Lee f14145eadc libfreerdp-utils/thread: fix incorrect waiting time in freerdp_thread_stop. 2011-10-19 22:10:45 +08:00
Marc-André Moreau 4c6b273639 Merge pull request #163 from atong-tcs/master
map fs error codes
2011-10-19 06:47:09 -07:00
Anthony Tong 5abdec9dec rdpdr disk: map error codes, starting with create irp 2011-10-19 09:43:04 -04:00
Marc-André Moreau b3bae592ad Merge pull request #162 from atong-tcs/master
manual rpm build
2011-10-19 06:27:16 -07:00
Anthony Tong e2f1bc2270 update build for rpm spec 2011-10-19 07:21:14 -05:00
Marc-André Moreau 505426e31f Merge pull request #161 from mfleisz/certcallback
settings: Added --ignore-certificates command line
2011-10-19 04:32:43 -07:00
Martin Fleisz 9356337474 Added --ignore-certificates command line 2011-10-19 00:42:53 -07:00
Marc-André Moreau a33a5005b8 Merge pull request #159 from nfedera/transportfix
core: handle transport->recv_callback correctly
2011-10-18 15:07:17 -07:00
Norbert Federa e0cf2a83f7 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)
2011-10-18 23:47:44 +02:00
Marc-André Moreau b1833f26ea Merge pull request #158 from nfedera/rfxcontextfix
xfreerdp: rfx_context was not freed
2011-10-18 13:57:31 -07:00
Norbert Federa 7ab708f754 xfreerdp: rfx_context was not freed 2011-10-18 22:50:40 +02:00
Marc-André Moreau c03de9aeea Merge pull request #155 from mfleisz/certcallback
core: Added ui callback to verify certificates
2011-10-18 09:59:34 -07:00
Marc-André Moreau 4b52871d33 Merge pull request #156 from nfedera/pcaptimestampfix
pcap: fix timstamps to use gettimeofday
2011-10-18 09:59:04 -07:00
Norbert Federa ff3fef9490 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
2011-10-18 18:36:34 +02:00
Martin Fleisz cc210f5591 core: Added ui callback to verify certificates 2011-10-18 08:02:05 -07:00
Vic Lee 296d5ea753 server: use rdpContext for server-side components. 2011-10-18 15:10:12 +08:00
Marc-André Moreau c11dc9a36e Merge pull request #154 from atong-tcs/master
disable vchan compression
2011-10-17 19:30:38 -07:00
Anthony Tong cd9328db4f dont advertise compression support in the vchan capabilities,
as it's not supported yet
2011-10-17 20:41:02 -05:00
Marc-André Moreau f610a7419a Merge pull request #151 from atong-tcs/master
minor build fixes
2011-10-17 07:13:06 -07:00
Marc-André Moreau d456606ce5 Merge pull request #152 from nfedera/xwinpropfix
xfreerdp: fix xf_GetWindowProperty
2011-10-17 07:12:40 -07:00
Anthony Tong 00133a2090 build fixes 2011-10-17 09:39:21 -04:00
Norbert Federa c83038b4b3 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.
2011-10-17 15:39:06 +02:00
Marc-André Moreau 0d6c6b3bd0 wfreerdp: fix after freerdp API change 2011-10-17 00:01:50 -04:00
Marc-André Moreau 1f6d0a510e Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-16 23:46:12 -04:00
Marc-André Moreau 39593a7f5e wfreerdp: fix after libfreerdp-core refactoring 2011-10-16 23:45:58 -04:00
Marc-André Moreau 0070a5ab93 xfreerdp: move arguments processing on pre_connect 2011-10-16 21:39:11 -04:00
Marc-André Moreau 5d9e8b2e28 libfreerdp-core: cleanup of freerdp interface 2011-10-16 21:02:28 -04:00
Marc-André Moreau 8df77dba71 libfreerdp-core: move rdpChannels context to rdpContext 2011-10-16 20:10:09 -04:00
Marc-André Moreau b1f459d90b wfreerdp: update client for rdpContext usage 2011-10-16 16:47:50 -04:00
Marc-André Moreau 0549380c28 libfreerdp-channels: rename from libfreerdp-chanman 2011-10-16 14:57:15 -04:00
Marc-André Moreau 23c1f3f75f libfreerdp-core: merge with master 2011-10-16 14:27:29 -04:00
Marc-André Moreau fb5a7d73e4 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-16 00:50:48 -04:00
Marc-André Moreau c639ec8593 libfreerdp-core: refactoring of context pointers into rdpContext 2011-10-16 00:50:10 -04:00
Marc-André Moreau 575ed162c3 docs: started visio document for FreeRDP 2011-10-15 21:09:19 -04:00
Marc-André Moreau cdc1ea3c1f Merge pull request #150 from atong-tcs/devel
bring back freerdp.pc
2011-10-15 16:55:05 -07:00
Anthony Tong c70fe10f26 add freerdp-codec 2011-10-15 18:47:20 -05:00
Anthony Tong 416e506c61 bring back freerdp.pc 2011-10-15 18:25:34 -05:00
Marc-André Moreau 1e1920e35e Merge pull request #147 from atong-tcs/master
initial scard migration
2011-10-15 10:06:34 -07:00
Marc-André Moreau b33c190b10 Merge pull request #149 from atong-tcs/leak
fix xf_gdi_bitmap_update() memory leak
2011-10-15 10:05:34 -07:00
Anthony Tong 0f69c586da fix xf_gdi_bitmap_update() memory leak 2011-10-15 11:32:12 -05:00
Anthony Tong 1277bc7f8a initial scard support 2011-10-15 10:30:10 -05:00