Bernhard Miklautz
e8f855f85b
Merge pull request #2560 from akallabeth/get_event_handle_api_fix
...
Add count to ```*_get_event_handles``` function
2015-04-21 16:34:39 +02:00
Armin Novak
65a4c6e1fc
Changed listener callback arguments and return.
2015-04-21 15:57:25 +02:00
Armin Novak
90fa0e3fc6
Fixed handle copy and index.
2015-04-21 15:10:17 +02:00
Bernhard Miklautz
c9ee30a815
TestStream: set function parameters to void
2015-04-21 14:25:59 +02:00
Bernhard Miklautz
1e6943bf31
Fix formating
2015-04-21 14:20:24 +02:00
Bernhard Miklautz
db81151ea4
gdi: fix broken return type checks
...
Integrates comments from pull request.
2015-04-21 14:18:07 +02:00
Bernhard Miklautz
2c072d33d3
Fix GDI return values and other fixes
...
* top level GDI functions return 0 on error and != 0 otherwise but the
low level functions (16bpp.c, 8bpp.c 32bpp.c) which are called did it
exactly the other way around. Those were adapted.
* change gdi_InvalidateRegion to BOOL and check calls where appropriate
* integrate comments from pull request
2015-04-21 14:18:07 +02:00
Bernhard Miklautz
515502ffa5
change return types of callbacks to BOOL
...
* change all client/server callbacks to BOOL
* update all clients accordingly
* add multiple return value checks
* small fixes
2015-04-21 14:18:07 +02:00
Bernhard Miklautz
61473923e4
TestStream: fix compiler warning
...
Remove unnecessary argument from read function call.
2015-04-21 14:16:33 +02:00
Bernhard Miklautz
43695bc15d
ios: updates to build with xcode6+
...
* update tool chain to use clang instead of gcc
* add compatibility function for fwrite
2015-04-21 14:16:32 +02:00
Armin Novak
d98e485ac0
Fixed some type mismatches.
2015-04-21 12:35:55 +02:00
Armin Novak
d3336340ba
Add *get_event_handles handle count, return check.
2015-04-21 12:24:50 +02:00
Armin Novak
6e213bc61b
Modified GetEventHandles of listener
...
Now using nCount as in and out argument.
When called, set nCount to the number of available handles.
This value is checked and an error returned, if not enough
handles are available.
2015-04-21 12:09:44 +02:00
Norbert Federa
23dfec9cc1
Merge pull request #2558 from llyzs/llyzs
...
h264: change encoder api and add multi-thread support.
2015-04-21 11:00:09 +02:00
Vic Lee
93d59ac3de
h264: change encoder api and add multi-thread support.
2015-04-21 14:02:57 +08:00
Bernhard Miklautz
12e256bb8e
Merge pull request #2538 from MartinHaimberger/mh-add-transport-get-bytes
...
transport: added function to get bytes written
2015-04-20 18:34:13 +02:00
Bernhard Miklautz
5622b911cb
Merge pull request #2552 from akallabeth/sample_update
...
Sample update
2015-04-20 17:47:44 +02:00
Armin Novak
ad41fc59a3
Fixed reading bitmap from buffer.
2015-04-20 15:13:23 +02:00
Armin Novak
f634e52289
Using auto reset event now.
2015-04-20 15:04:44 +02:00
Armin Novak
7990ea6371
Added proper bitmap and png image test.
2015-04-19 12:29:28 +02:00
Armin Novak
e5cdd8a299
Fixed bitmap reading bug.
2015-04-19 12:29:17 +02:00
Armin Novak
7b0d7b3552
Using new API for socket listener.
2015-04-19 10:39:08 +02:00
Armin Novak
4ed891b599
Moved client handler to new API.
2015-04-19 10:39:08 +02:00
Armin Novak
70cf129c55
Moved cleanup code, removed unused.
2015-04-19 10:39:08 +02:00
Armin Novak
efeb621721
Updated sample for new API.
2015-04-19 10:39:08 +02:00
Marc-André Moreau
2e80e325d3
Merge pull request #2547 from nfedera/fix-2015-04-16-01
...
Fullscreen fixes and smart sizing resuscitation
2015-04-17 09:03:46 -04:00
Norbert Federa
fd5f47428b
xfreerdp: fixed initial smart-sizing dimensions
...
The window width/height variables and in turn SmartSizingWidth/Height
get automatically updated in th the configure notify event handler.
If the window is created initially the values don't differ from the
event values and therefore SmartSizing was not applied until the
window was resized.
2015-04-16 23:54:56 +02:00
Armin Novak
813e75e14d
Fixed NULL dereference.
2015-04-16 22:04:38 +02:00
Armin Novak
60de56e1bb
Fixed NULL dereference and double free
2015-04-16 21:56:57 +02:00
Armin Novak
276757c082
Fixed NULL dereference
2015-04-16 21:56:26 +02:00
Armin Novak
0d9bcb63b7
Fixed memory leaks and NULL dereferences.
2015-04-16 21:39:25 +02:00
Norbert Federa
bad2f138c1
xfreerdp: FS fixes & smart-sizing resuscitation
...
- make smart-sizing work again which was killed in previous commits
- removed several unnecessary/ugly workarounds
- miscellaneous small fixes
- new feature: restore previous window position when toggling out of
fullscreen mode
- new feature: if /f is specified in combination with /smart-sizing:WxH
we run the session in the /smart-sizing dimensions scaled to full screen
2015-04-16 17:31:22 +02:00
Norbert Federa
eb14ab15f5
xfreerdp: removed some weird/unnecessary code
2015-04-16 17:31:22 +02:00
Norbert Federa
98505a0234
xfreerdp: removed desktopWidth/desktopHeight vars
...
These were basically unused (from the contexts's point of view)
and only served as temporary storage
2015-04-16 17:31:22 +02:00
Norbert Federa
b3b8306724
xfreerdp: removed unused variables from xf_monitor
2015-04-16 17:31:22 +02:00
Norbert Federa
6354a7561c
xfreerdp: rename xf_context's width height vars
...
Since several contributers in the past repeatedly made the error
to treat xfc->width and xfc->height as equal with the x11 window
width and heigth I've renamed these variables to sessionWidth and
sessionHeight.
2015-04-16 17:31:22 +02:00
Bernhard Miklautz
f5cdae5586
Merge pull request #2546 from akallabeth/error_fixes
...
Fixed some warnings
2015-04-16 10:58:27 +02:00
Armin Novak
5525d9f88b
Fixed uninitialized return value.
2015-04-15 10:38:04 +02:00
Armin Novak
449929fc35
Fixed NULL dereference.
2015-04-15 10:37:28 +02:00
Marc-André Moreau
4e1194c53b
Merge pull request #2532 from dbungert/4bytestub
...
GW RPC-HTTP - 2 fixes
2015-04-14 09:23:47 -04:00
Norbert Federa
8f64b71d00
Merge pull request #2539 from bmiklautz/fix/regression
...
ObjectPool: fix regression
2015-04-14 13:50:33 +02:00
Bernhard Miklautz
1093f647d3
ObjectPool: fix regression
...
winpr allocation checks introduced a problem that lead to zero size
allocations in ObjectPool
2015-04-14 13:47:23 +02:00
Martin Haimberger
5504f4261d
autodetect: debug fixed and level adjusted
...
Fixed two debug statements and moved
to TRACE debug level
2015-04-14 03:54:33 -07:00
Martin Haimberger
9c0d275548
transport: added function to get bytes written
...
added function to get written bytes on transport.
This is needed to get a more accurate bandwidth
management.
2015-04-14 03:49:01 -07:00
Norbert Federa
951a40b639
Merge pull request #2517 from bmiklautz/alloc
...
winpr allocation checks
2015-04-14 11:57:33 +02:00
Norbert Federa
1487de6beb
Merge pull request #2527 from AMV007/patch-1
...
fixed undefined behaviour of sprintf, buffer overflow, crash
2015-04-13 14:08:47 +02:00
Bernhard Miklautz
2ebdf7690f
Merge pull request #2535 from akallabeth/null_dereference_fix
...
Fixed NULL dereference.
2015-04-13 11:52:03 +02:00
Armin Novak
ea0e255058
Fixed broken pad setting.
2015-04-13 09:28:29 +02:00
Maxim
9b8754ca72
Update urbdrc_main.c
2015-04-12 14:51:27 +03:00
Daniel Bungert
0a1273e508
GW RPC-HTTP - Don't drop 4 byte stub from the pipe
...
* Though not frequent, it's possible to get TsProxySetupReceivePipe
data of stublength 4 that is actual data. This happens when
header->common.call_id == rpc->PipeCallId &&
!(header->common.pfc_flags & PFC_LAST_FRAG).
This should address GW disconnects that manifest as SSL read errors.
2015-04-10 15:09:54 -06:00