Norbert Federa
8e70012d65
tsmf: fix invalid check and a potential segfault
...
This resuscitates tsmf which was accidently broken in commit f8120919
2015-05-28 10:49:38 +02:00
ivan-83
a520d8b3fa
Merge branch 'master' of github.com:ivan-83/FreeRDP
2015-05-28 03:26:24 +03:00
ivan-83
9313197023
Code style changed.
2015-05-28 00:00:25 +03:00
ivan-83
99e63b51f8
revert wlog debug formating
2015-05-27 23:53:40 +03:00
ivan-83
1a7ef0942b
* tsmf: OSS code cleanup
...
+ urbdrc: add devd support (not tested)
* fix FindUUID detection ubder BSD
* wlog: fix prev commit: build error on Windows
* cmdline: add /usb syntax help
2015-05-27 23:53:40 +03:00
ivan-83
307d22ca11
* debug and error messages now print function name and line number
...
* add debug messages to trace fake network dissconects
2015-05-27 23:48:07 +03:00
ivan-83
20a1d2b097
* tsmf: OSS now work, but only with ffmpeg, and sound is bad (like with alsa), ffmpeg code possible have bug with wrong resample
2015-05-27 23:23:57 +03:00
ivan-83
3912172fc8
+ tsmf: OSS initial suppot (not work yet)
...
* tsmf: fix video playback on FreeBSD (proper shared object name)
* tsmf: renamed args: audio->sys, audio-dev->dev
* audin: OSS fix, now it work
* cmdline: add syntax help for /audin, /rdpsnd, /tsmf
* add debug messages
2015-05-27 23:22:36 +03:00
ivan-83
5ba4d6cd6c
Code style changed.
2015-05-27 22:59:57 +03:00
ivan-83
0fda0eb0de
Code style changed.
2015-05-27 22:59:57 +03:00
ivan-83
92662a1854
revert wlog debug formating
2015-05-27 22:58:41 +03:00
ivan-83
83a40a32a7
* tsmf: OSS code cleanup
...
+ urbdrc: add devd support (not tested)
* fix FindUUID detection ubder BSD
* wlog: fix prev commit: build error on Windows
* cmdline: add /usb syntax help
2015-05-27 22:58:41 +03:00
ivan-83
1009268158
* debug and error messages now print function name and line number
...
* add debug messages to trace fake network dissconects
2015-05-27 22:57:10 +03:00
ivan-83
4f15e59900
* tsmf: OSS now work, but only with ffmpeg, and sound is bad (like with alsa), ffmpeg code possible have bug with wrong resample
2015-05-27 22:54:13 +03:00
ivan-83
94a7abd2af
+ tsmf: OSS initial suppot (not work yet)
...
* tsmf: fix video playback on FreeBSD (proper shared object name)
* tsmf: renamed args: audio->sys, audio-dev->dev
* audin: OSS fix, now it work
* cmdline: add syntax help for /audin, /rdpsnd, /tsmf
* add debug messages
2015-05-27 22:54:13 +03:00
Emmanuel Ledoux
de1a21eadd
winpr-thread: added HP's copyright
2015-05-27 18:24:56 +02:00
Emmanuel Ledoux
206714a270
winpr-thread: thread_list's synchronization based on a pthread_cond_t
2015-05-27 18:15:17 +02:00
ivan-83
9d6b5a2a6b
Merge branch 'master' of github.com:ivan-83/FreeRDP
2015-05-27 19:02:54 +03:00
ivan-83
0a969bf57d
Code style changed.
2015-05-27 17:14:58 +03:00
ivan-83
bc77bdb1c4
Code style changed.
2015-05-27 17:14:58 +03:00
ivan-83
9ed8779b30
revert wlog debug formating
2015-05-27 17:13:10 +03:00
ivan-83
e3f962a829
* tsmf: OSS code cleanup
...
+ urbdrc: add devd support (not tested)
* fix FindUUID detection ubder BSD
* wlog: fix prev commit: build error on Windows
* cmdline: add /usb syntax help
2015-05-27 17:13:10 +03:00
ivan-83
6ed3914ca2
* debug and error messages now print function name and line number
...
* add debug messages to trace fake network dissconects
2015-05-27 17:08:07 +03:00
Mariusz Zaborski
461497b8a5
Remove unused variable.
2015-05-27 16:04:06 +02:00
ivan-83
ec1d475b53
* tsmf: OSS now work, but only with ffmpeg, and sound is bad (like with alsa), ffmpeg code possible have bug with wrong resample
2015-05-27 17:02:34 +03:00
ivan-83
82dbfc5652
+ tsmf: OSS initial suppot (not work yet)
...
* tsmf: fix video playback on FreeBSD (proper shared object name)
* tsmf: renamed args: audio->sys, audio-dev->dev
* audin: OSS fix, now it work
* cmdline: add syntax help for /audin, /rdpsnd, /tsmf
* add debug messages
2015-05-27 17:02:34 +03:00
David FORT
85c350f5da
Fix for #2657
2015-05-27 15:13:43 +02:00
Marc-André Moreau
a2e0746f15
Merge pull request #2653 from bmiklautz/lzcnt
...
winpr: add intrin.h
2015-05-27 09:00:22 -04:00
Bernhard Miklautz
03ec9bed93
winpr/test: incorporate comments from pull request
...
* Fix TestIntrinsics - always returned 0
* rename TestWinpr to TestWinPR for consistency
* update gitignores accordingly
2015-05-27 10:32:08 +02:00
Emmanuel Ledoux
f74cd12df2
winpr-thread: a better error message and comments about thread_list
2015-05-26 18:15:57 +02:00
Emmanuel Ledoux
56f34582c7
winpr-thread: added an assertion to enforce that thread_list is correctly set
2015-05-26 17:55:27 +02:00
Emmanuel Ledoux
93127e0a7a
winpr-thread: thread_list's synchronization based on an Event
2015-05-26 17:40:34 +02:00
Bernhard Miklautz
f9c7e03044
winpr: add intrin.h
...
Exposing lzcnt in crt.h might causes compiler errors (redefinition) with
recent versions of gcc (>=4.9) when winpr is included in other projects.
As lzcnt isn't part of crt according to MSDN and also shouldn't be
exported by default it was moved to intrin.h.
The related test was also moved to the top level directory of winpr.
2015-05-26 16:41:29 +02:00
Mariusz Zaborski
951dbd88de
In c file the name is channelId.
2015-05-26 16:12:41 +02:00
Hardening
58b1995619
Merge pull request #2654 from oshogbo/typos
...
Typo
2015-05-26 16:10:41 +02:00
Hardening
83d5b26a46
Merge pull request #2652 from nfedera/fix-ios-context-new
...
client/iOS: fix ios_context_new
2015-05-26 08:39:08 +02:00
Norbert Federa
8a53e5ee68
client/iOS: fix ios_context_new
...
- fixed wrong signature since ContextNew is BOOL now
- added error checking
2015-05-25 22:21:53 +02:00
Jakub Adam
dea741fca9
shadow_screen: allow sub-rectangle to span multiple monitors
...
When we share a sub-rectangle of our desktop, allow it to span over
multiple monitors. Previously it was possible to export an area larger
than one display, however the contents were always cropped to
the boundaries of the selected monitor and the rest was visible for
the client only as a black area .
2015-05-25 14:19:34 +02:00
Mariusz Zaborski
80958751e4
Add check to protect memcpy(3) from using NULL pointer.
...
The ntlm_construct_challenge_target_info function can potentially pass NULL as
argument to the ntlm_av_pair_add function (for example DnsDomainName.Buffer).
This NULL finally lands in the CopyMemory (which is macro to the memcpy(3)
function) which can't handle NULL.
2015-05-25 08:32:48 +02:00
Marc-André Moreau
4886c4c9b1
libwinpr-winsock: add WSAIoctl() interface listing for OS X
2015-05-22 19:01:37 -04:00
Marc-André Moreau
36cb1e6dc9
Merge pull request #2639 from awakecoding/master
...
WLog, server-side rdpdr, remote assistance, byteswap, etc
2015-05-22 14:30:11 -04:00
Marc-André Moreau
649d49549e
Merge pull request #2644 from xhaakon/shadow-server-disposal
...
shadow_client: dispose encomsp and remdesk
2015-05-22 14:15:31 -04:00
Marc-André Moreau
30fc814efa
Merge pull request #2643 from xhaakon/shadow-server-client-disconnect
...
Don't dispose shadow server before all clients have disconnected
2015-05-22 14:15:09 -04:00
Marc-André Moreau
35e26020aa
freerdp: patch multiple leaks and OOM errors
2015-05-22 14:14:57 -04:00
Emmanuel Ledoux
f94ab0033b
winpr-thread: better error message upon a failure of TestThreadExitThread
2015-05-22 19:17:30 +02:00
Emmanuel Ledoux
6f5de27081
winpr-thread:
...
- added the unit test: TestThreadExitThread
- fix: ensure thread_list to be up to date before to call ExitThread()
- possibly resolved: Problems with serial redirection #2389
2015-05-22 18:28:10 +02:00
Marc-André Moreau
7a06640c16
libwinpr-shell: use getpwnam_r
2015-05-22 10:03:21 -04:00
Jakub Adam
bc1bbe61a8
shadow_client: dispose encomsp and remdesk
...
Their threads were kept running after the client's exit.
2015-05-22 14:01:29 +02:00
Jakub Adam
9e60246a8c
Don't dispose shadow server before all clients have disconnected
...
Ensure all client threads are disconnected before we stop the server
thread and thus make it available for deletion. We do this because
shadow_client_context_free() accesses rdpShadowServer structure, which
we have to keep alive as long as it is needed.
Calling shadow_client_context_free() after shadow_server_stop() and
shadow_server_free() were called may have caused an application crash.
2015-05-22 13:56:57 +02:00
Jakub Adam
73888a57c2
Ensure threads have finished using a barrier before releasing it
...
MSDN documentation says it is ensured that all threads in the barrier
have finished using it before allowing the barrier to be released in
DeleteSynchronizationBarrier(). The winpr re-implementation wasn't
keeping to that requirement, which was causing occasional crashes
when shadow client tried to access already freed barrier structure.
The crash was occuring in winpr_Handle_cleanup() after finished
waiting on a barrier's event.
2015-05-22 13:36:15 +02:00