Hardening
6cd7713e12
Merge pull request #2544 from bmiklautz/boolenization
...
change return types of callbacks to BOOL
2015-04-22 11:01:27 +02:00
Bernhard Miklautz
159306fc7a
Increase API version to 1.2.2
2015-04-22 10:23:25 +02:00
Hardening
f7ef37649c
Merge pull request #2562 from bceverly/OpenBSD-2015-04-11
...
Open bsd 2015 04 11
2015-04-22 09:14:29 +02:00
Bryan Everly
d31301f73f
Modified code to use bulitin pthread functions on OpenBSD
2015-04-21 16:14:56 -04:00
Bryan Everly
a2a1d06d9b
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:44:02 -04:00
Bryan Everly
8c75127a67
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:42:06 -04:00
Bernhard Miklautz
b029e78ae7
Merge pull request #2537 from MartinHaimberger/mh-autodetect-fix
...
autodetect: debug fixed and level adjusted
2015-04-21 16:52:32 +02:00
Bernhard Miklautz
d5edc63417
Merge pull request #2553 from akallabeth/leak_fixes
...
Leak fixes
2015-04-21 16:49:02 +02:00
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
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