Marc-André Moreau
490f18a7aa
channels/rdpdr: don't use deprecated LIST util, use ListDictionary for faster lookups
2013-10-17 16:30:36 -04:00
Marc-André Moreau
0276b095eb
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-10-17 13:08:30 -04:00
Marc-André Moreau
dfcab616f8
Merge pull request #12 from bmiklautz/listdict
...
Improvements and new function for ListDictionary
2013-10-15 08:02:42 -07:00
Bernhard Miklautz
7c61b16da5
ListDictionary: added Remove_Head function
...
ListDictionary_Remove_Head removed the first object from the dictionary
and returns it's value.
2013-10-15 16:15:44 +02:00
Bernhard Miklautz
95bed71dbc
ListDictionary: support for wObject added
2013-10-15 15:51:53 +02:00
Bernhard Miklautz
86e53aed9a
ListDictionary_Remove: return value if removed
...
Update tests accordingly.
2013-10-15 15:49:57 +02:00
Bernhard Miklautz
96e267fcdf
winpr-file: fixed memory leak in error case
2013-10-15 13:22:34 +02:00
Bernhard Miklautz
d2790d92c8
winpr-handle: fixed compiler warning
2013-10-15 13:22:01 +02:00
Bernhard Miklautz
bab5c22f9e
winpr-pipe: fixed memory leak in WaitNamedPipeA
2013-10-15 13:09:13 +02:00
Bernhard Miklautz
0cc918a1d5
winpr-handle: fixed mem leak when closing named pipes
2013-10-15 13:03:30 +02:00
Marc-André Moreau
b70ecbbf62
libfreerdp-core: decouple initialization of rdpSettings from freerdp* instance
2013-10-12 18:20:25 -04:00
Norbert Federa
6f9a8dbc1e
winpr: greatly improved NtCurrentTeb performance
...
Use pthread_setspecific/pthread_getspecific to store/retrieve the thread
environment block (TEB). Use pthread_once to trigger the creation of that
data from within NtCurrentTeb.
This allows us to get rid of the process environment block stuff which
was only used to provide serialized access to a thread table in order to
retrieve the TEB.
NtCurrentTeb is currently only as a per-thread storage location for the
last error value used by SetLastError and GetLastError.
Also made the TestErrorSetLastError CTest a bit more demanding.
It makes sure the 4 threads run for at least 2 seconds.
Each thread constantly calls SetLastError with a random value and checks
if GetLastError returns the same value again. The total amount of
these iterations is calculated in order to measure the performance.
This change increases the NtCurrentTeb performance by roughly 50% on
linux and by several thousand percent (yes) on Mac OS X.
Thanks for watching.
2013-10-11 19:34:23 +02:00
Marc-André Moreau
7dd95b9587
libwinpr-crypto: improve Schannel unit test
2013-10-11 04:01:07 -04:00
Marc-André Moreau
3d7d4c50db
libwinpr-utils: fix IPv4 checksum and TCP sequence numbers with wlog packet messages
2013-10-09 16:37:45 -04:00
Marc-André Moreau
90b90ad496
libwinpr-utils: improve quality of data for reconstructed IP headers
2013-10-09 15:11:56 -04:00
Marc-André Moreau
7bdb63ad89
libwinpr-utils: initial wlog packet header reconstruction
2013-10-09 14:23:38 -04:00
Marc-André Moreau
166e3fbf2d
libwinpr-utils: start reconstructing IP headers for wlog packet message
2013-10-09 13:37:53 -04:00
Marc-André Moreau
a3f0f4c8dc
libfreerdp-core: started logging packets to pcap file
2013-10-08 23:43:57 -04:00
Marc-André Moreau
684db03578
libwinpr-utils: start implement wlog packet appender
2013-10-08 23:18:59 -04:00
Marc-André Moreau
07afc88878
libwinpr-utils: add some configurability to wlog with environment variables
2013-10-08 22:35:14 -04:00
Marc-André Moreau
a87e7deac4
libwinpr-utils: fix wlog build warnings
2013-10-08 19:39:03 -04:00
Marc-André Moreau
1ee2fa73cf
Merge pull request #8 from MartinHaimberger/wlogfix
...
fixed memory leak in wlog
2013-10-08 15:54:09 -07:00
Marc-André Moreau
353816e050
Merge pull request #6 from MartinHaimberger/loglevel
...
Loglevel
2013-10-08 15:53:54 -07:00
Marc-André Moreau
fdae43aafc
mfreerdp: fix keyboard mapping for toggle keys
2013-10-07 16:43:23 -04:00
Bernhard Miklautz
57d295441f
windows build: use different .def file for xp
...
Use different def file for windows < 5.1.
2013-10-07 15:03:50 +02:00
Bernhard Miklautz
e6f3cd7dff
build: link winpr-synch against winpr-sysinfo
2013-10-05 14:09:04 +02:00
Marc-André Moreau
e37981e57c
libwinpr-utils: improved binary appender
2013-10-04 11:33:49 -04:00
Martin Haimberger
fea6d83367
fixed memory leak in wlog
2013-10-04 03:51:10 -07:00
Martin Haimberger
5e073f5f17
loglevel filtering fix
2013-10-03 06:32:12 -07:00
Marc-André Moreau
aaeb4ea0b2
libwinpr-utils: add wlog support for image and binary data
2013-10-02 15:41:46 -04:00
Marc-André Moreau
0569de167d
libwinpr-utils: further split wlog framework into more source files, add some thread safety for write operations
2013-10-02 13:38:21 -04:00
Bernhard Miklautz
5c3ce890b1
winpr-thread: close fds before exec new process
...
Close all open file handles, except stdion/stdout/stderr before executing a new process
to make sure that no file descriptors leak or kept open.
2013-10-02 17:21:56 +02:00
Marc-André Moreau
3fb2724536
libwinpr-utils: fix default WLog behaviour
2013-10-01 20:45:20 -04:00
Marc-André Moreau
2684b829d0
libwinpr-utils: add simple parent/child hierarchy
2013-10-01 18:19:50 -04:00
Marc-André Moreau
0b29f72cc4
libwinpr-utils: added default file output path for wlog
2013-10-01 16:50:47 -04:00
Marc-André Moreau
a374525e6a
libwinpr-utils: split wlog framework
2013-10-01 16:08:26 -04:00
Marc-André Moreau
8695c5226b
libwinpr-file: added more error checking
2013-10-01 12:03:08 -04:00
Marc-André Moreau
480071cdeb
libwinpr-io: improve overlapped io with server-side named pipes
2013-09-25 23:16:33 -04:00
Marc-André Moreau
f4e98f29ec
libwinpr-pipe: add server-side named pipe waiting
2013-09-25 19:13:39 -04:00
Marc-André Moreau
8c72211eea
libwinpr-thread: fix link libraries
2013-09-25 16:38:41 -04:00
Marc-André Moreau
b3b6ee57f0
libwinpr-thread: add missing link dependencies for tests
2013-09-25 16:26:54 -04:00
Marc-André Moreau
7ec19ac0f2
libwinpr-thread: fix build on Windows
2013-09-25 15:47:18 -04:00
Marc-André Moreau
f6ee26f15a
winpr: fix noreturn warnings
2013-09-24 14:35:03 -04:00
Marc-André Moreau
9a124a1d60
libwinpr-thread: initial CreateProcessAsUser implementation
2013-09-24 13:08:29 -04:00
Marc-André Moreau
f363b93819
libwinpr-process: add searching of system path
2013-09-24 11:03:42 -04:00
Marc-André Moreau
4a77f12b32
libwinpr-security: expand stubs
2013-09-24 00:07:48 -04:00
Marc-André Moreau
0506bd1ac6
libwinpr-security: initial stub module
2013-09-23 22:39:28 -04:00
Marc-André Moreau
979ed1b756
libwinpr-pipe: implement WaitNamedPipe
2013-09-23 18:10:21 -04:00
Marc-André Moreau
3d2754e8ed
libwinpr-environment: implement required functions for CreateProcess
2013-09-23 14:44:59 -04:00
Marc-André Moreau
8d142eb85f
libwinpr-thread: initial CreateProcess() implementation
2013-09-22 17:23:00 -04:00
Marc-André Moreau
bb9db97204
libwinpr-thread: improve CommandLineToArgv completeness
2013-09-21 20:05:14 -04:00
Marc-André Moreau
83e124f909
libwinpr-thread: partial support for character escaping in CommandLineToArgv
2013-09-21 19:49:00 -04:00
Marc-André Moreau
56672023db
libwinpr-thread: start implementing CommandLineToArgv
2013-09-21 17:16:49 -04:00
Marc-André Moreau
e8a8c1cf7f
winpr: fix crashing tests
2013-09-19 14:17:00 -04:00
Marc-André Moreau
0c17eb1a23
winpr: fix unit tests on Windows
2013-09-19 13:50:00 -04:00
Marc-André Moreau
10f1a898ef
libfreerdp-client: fix command-line parsing with .rdp file
2013-09-17 17:03:35 -04:00
Marc-André Moreau
c0ba0fb337
libwinpr-utils: fix BufferPool test
2013-09-16 17:59:29 -04:00
Marc-André Moreau
8f1aceac6a
libwinpr-nt: add missing link dependency
2013-09-16 17:49:16 -04:00
Marc-André Moreau
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -04:00
Marc-André Moreau
3b7994a9a6
Merge pull request #1467 from akallabeth/cmdline_enhanced
...
Cmdline enhanced
2013-09-16 13:33:04 -07:00
Marc-André Moreau
22ce171261
libwinpr-utils: added custom prefix formatter in logger
2013-09-16 16:30:49 -04:00
Marc-André Moreau
5386d5cd60
libwinpr-utils: make use of logMessage structure and macro for logging
2013-09-16 13:24:50 -04:00
Marc-André Moreau
a4c8d97b4c
libwinpr-utils: start implementing FileAppender
2013-09-16 12:56:22 -04:00
Marc-André Moreau
af1ea7573c
libwinpr-utils: start implementing ConsoleAppender
2013-09-16 12:05:08 -04:00
Bernhard Miklautz
1b304321ef
winpr/registry: Fixed double free
...
fixes #1479
2013-09-16 17:23:26 +02:00
Marc-André Moreau
968ef14349
libwinpr-utils: introduce trace levels
2013-09-15 16:48:09 -04:00
Marc-André Moreau
6a8b5f2283
libwinpr-utils: start implementing WinPR logger
2013-09-15 15:46:02 -04:00
Marc-André Moreau
4fbebba528
libwinpr-wait: add support for waiting on named pipes (non-standard)
2013-09-11 19:00:32 -04:00
Marc-André Moreau
22855c933b
Merge branch 'xrdp-ng' of github.com:awakecoding/FreeRDP into xrdp-ng
2013-09-10 17:53:28 -04:00
Marc-André Moreau
7574e7bfc9
Merge branch 'master' of github.com:awakecoding/FreeRDP into xrdp-ng
2013-09-10 17:02:36 -04:00
Marc-André Moreau
4a4a36d5c4
cmake: remove vendor-specific options
2013-09-10 14:03:15 -04:00
Bernhard Miklautz
8c796e9afc
winpr/synch: link against librt
2013-09-10 10:38:23 +02:00
Armin Novak
21127ec33b
Added a new flag to indicate the presence of a single not escaped argument
...
allowing the legacy command line <server>:<port> syntax.
2013-09-10 10:29:45 +02:00
Armin Novak
a7a7bab619
Fixed optional argument parsing.
2013-09-09 17:21:15 +02:00
Armin Novak
4274b266c0
Fixed command line parser, now printing help, if an invalid option is detected.
2013-09-09 16:07:14 +02:00
Marc-André Moreau
f790831e7d
Merge branch 'master' of github.com:awakecoding/FreeRDP into xrdp-ng
2013-09-05 15:23:19 -04:00
Armin Novak
07139276b5
Added newlines at end of file, prevents clang from crashing...
2013-09-05 12:14:35 +02:00
Armin Novak
cf20efb4c6
Simplified code for FindFirstFileA, now always using FindClose
...
for cleanup.
2013-09-05 12:14:35 +02:00
Armin Novak
62356e667c
Fixed erroneous patch.
2013-09-05 12:14:34 +02:00
Armin Novak
4331fa1f8b
Fixed invalid API usage, ...
2013-09-05 12:14:34 +02:00
Armin Novak
e5c138a5b9
Fixed various memory leaks, allocation size issues and API misuse
...
warnings shown by clang as well as some compiler warnings.
2013-09-05 12:14:34 +02:00
Armin Novak
a3b531c036
Fixed issues found with clang-analyzer
2013-09-05 12:14:33 +02:00
Armin Novak
62330ca669
Fixed variable mixup.
2013-09-05 12:14:33 +02:00
Armin Novak
1e2455fa4a
Fixed various memory leaks and compiler warnings.
2013-09-05 12:14:33 +02:00
Armin Novak
a355093219
Fixed coverity issue 1047645
2013-09-05 12:14:33 +02:00
Armin Novak
96285eec58
Fixed coverity issue 1047647
2013-09-05 12:14:33 +02:00
Armin Novak
d519bc3115
Fixed coverity issue 1047592
2013-09-05 12:14:33 +02:00
Armin Novak
629ac4ad28
Fixed coverity issue 1047588
2013-09-05 12:14:33 +02:00
Armin Novak
87a9a24ef2
Fixed coverity issue 1047593
2013-09-05 12:14:33 +02:00
Armin Novak
020bae25d7
Fixed coverity issue 1047594
2013-09-05 12:14:32 +02:00
Armin Novak
04e9338668
Fixed coverity issue 1047595
2013-09-05 12:14:32 +02:00
Armin Novak
0c08b584b8
Fixed coverity issue 1047596
2013-09-05 12:14:32 +02:00
Armin Novak
f231f3fcc5
Fixed coverity issue 1047597
2013-09-05 12:14:32 +02:00
Armin Novak
1673e526f5
Fixed coverity issue 1047598
2013-09-05 12:14:32 +02:00
Armin Novak
e2cd11332b
Fixed coverity issue 1047599
2013-09-05 12:14:32 +02:00
Armin Novak
4bd1c567bd
Fixed coverity issue 1047600
2013-09-05 12:14:32 +02:00
Armin Novak
64c3aafcc6
Fixed coverity issue 1047602
2013-09-05 12:14:32 +02:00
Armin Novak
53e0d53b99
Fixed coverity issue 1047603
2013-09-05 12:14:32 +02:00
Armin Novak
a55afb58a4
Fixed coverity issue 1047634
2013-09-05 12:14:31 +02:00
Marc-André Moreau
7edfe66274
freerdp: various missing link dependencies and symbol exports
2013-09-03 21:48:26 -04:00