Marc-André Moreau
c78a142388
Merge branch 'master' of github.com:awakecoding/FreeRDP
2016-03-07 21:21:17 -05:00
Marc-André Moreau
d61c2d4535
winpr: fix ini utils leak
2016-03-07 21:21:06 -05:00
Marc-André Moreau
ceefc4b099
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-03-07 10:19:50 -05:00
Armin Novak
ee2839fc7f
Caching log filter after first use.
...
Reduce runtime penalty for log level checks by
remembering the log level found during first call.
2016-03-03 12:43:39 +01:00
Armin Novak
0ea7aea6d9
Remember filter log level.
2016-03-02 19:07:32 +01:00
Armin Novak
41fdac2667
Respecting filter in WLog_GetLogLevel
2016-03-02 14:11:15 +01:00
Bernhard Miklautz
e02af8287e
Merge pull request #3160 from akallabeth/stream_fixes
...
Stream fixes
2016-03-01 16:44:19 +01:00
Armin Novak
a79072a87c
Added tests for remaining stream functions.
2016-03-01 12:58:09 +01:00
Armin Novak
1036f1e296
Fixed default visibility.
...
When nothing is declared, only export symbols defined
with WINPR_API or FREERDP_API defined.
Override this setting if BUILD_TESTING to allow tests
access to internal functions usually not exposed.
2016-02-26 19:44:14 +01:00
Armin Novak
f997421098
Unified hmac functions.
2016-02-24 21:50:08 +01:00
Marc-André Moreau
0547a31832
winpr: fix ini loader on Windows
2016-02-10 10:51:33 -05:00
Marc-André Moreau
d0f413db12
winpr: initial port to Universal Windows Platform (UWP)
2016-02-05 16:28:45 -05:00
Marc-André Moreau
bfca674f2d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-02-05 11:39:45 -05:00
Martin Fleisz
56a0c4c336
Merge pull request #3097 from akallabeth/android_api_upgrade_v4
...
Android api upgrade and restructuring
2016-02-04 16:20:59 +01:00
Armin Novak
f835744a88
Removed unused variable.
2016-02-03 12:45:49 +01:00
Armin Novak
d1c59f7574
Fixed invalid boolean check.
2016-02-03 11:23:41 +01:00
Armin Novak
61633a1c66
Fixed android build issues.
2016-02-01 15:21:07 +01:00
MartinHaimberger
83b706c4be
Merge pull request #3092 from akallabeth/get_build_config
...
Added get_build_config functions.
2016-01-28 15:23:24 +01:00
Armin Novak
035f127081
Added get_build_config functions.
2016-01-28 14:26:50 +01:00
Armin Novak
c2515340c3
Fixed return value of WLog_FileAppender_WriteImageMessage
2016-01-28 12:08:57 +01:00
Martin Fleisz
7294a7f27d
Merge pull request #3078 from akallabeth/wlog_cmd_options
...
Added new command line options for logger.
2016-01-28 10:33:17 +01:00
David PHAM-VAN
3d22cbe2b8
Fix png image loading that needed write access
2016-01-27 11:02:16 -08:00
Armin Novak
06adbc971a
Fixed realloc check, renamed filter variable.
2016-01-27 11:21:04 +01:00
Armin Novak
46a079fcb6
Added new command line options for logger.
...
The new command line options /log-level:<level> and
/log-filters:<filter>:<level> allow setting default log
level and log module filter to be set.
2016-01-23 15:16:13 +01:00
Armin Novak
d2ab27626a
Fix memory leak in lodepng_zlib_compress
2016-01-15 10:16:08 +01:00
Bernhard Miklautz
7c03db342c
add parameter buildconfig
...
Extend winpr and client/common to support a new option "/buildconfig".
When used build the following build specific information is print:
* cmake options
* cflags
* compiler
* target architecture
* cmake build type
2016-01-12 17:32:33 +01:00
Armin Novak
03a1ff814d
Fixed unused warnings.
2015-12-16 15:15:46 +01:00
Armin Novak
d0e3528c8e
Added winpr_strerror function.
2015-12-09 18:27:37 +01:00
Xiaodong Qi
602d2715a2
Fix compilation error under Visual Studio 2010
...
Visual Studio 2010 use a compiler that supports only C89, which
only supports declaring variable at top of a local scope. Moving
scope variable to the top of function should solve this problem.
2015-11-29 00:14:29 +08:00
Marc-André Moreau
2f5d159448
winpr: fix WinXP backwards compatibility
2015-11-25 13:46:10 -05:00
Bernhard Miklautz
bff63b3ee2
wlog: cleanup API includes
...
Only include necessary header files.
2015-11-10 16:29:09 +01:00
Bernhard Miklautz
be0845b46c
wlog/journald: don't set a default identifier
...
Don't set the identifier to "winpr" as default value because journald
will use the programs name as default if no identifier is set.
This way a program using WLog doesn't need to set an identifier (except
it want something different then it's name).
2015-11-10 13:40:52 +01:00
Bernhard Miklautz
34c707304b
wlog: change variable naming and fix documentation
...
* change State to active and make it BOOL since it's only got two
used values
* fix some typos in the documentation
2015-11-10 12:05:23 +01:00
Bernhard Miklautz
25137988fe
wlog: fix build on windows
2015-11-09 19:47:51 +01:00
Bernhard Miklautz
57f952bbbc
wlog: fix android build
2015-11-09 19:37:02 +01:00
Bernhard Miklautz
67368b2ec7
Adapt error level for debug messages
...
When using xfreerdp a regular invocation should really only report grave
problems as error. "Regular" messages should be either info or even
debug.
2015-11-09 18:27:38 +01:00
Bernhard Miklautz
07417599ce
wlog: rework, cleanup and stabilize API
...
* only expose necessary functions and types in header
* don't expose appender internals
* add generic function WLog_ConfigureAppender to have the possibility
to configure appender specific settings
* detect appender availability if WLog_SetLogAppenderType or
WLog_Appender_New return FALSE or NULL respectively the appender isn't
available or the initialization failed. This is very useful for the
use with optional appenders.
* add Free to the appender interface. At the time of the Free the
appender is known and available so it can be called directly (instead
of calling the right function according to the type)
* make all appender internal function static
* all appenders return the generic wLogAppender type now. Typecasts
are internally done where necessary this abstracts the appenders more
cleanly
2015-11-09 18:25:45 +01:00
David FORT
458aaa1213
Take in account @nfedera's remarks
2015-11-06 23:17:11 +01:00
David FORT
5fbf26acf2
Add an UDP appender to wLog
...
This appender allows to receive the logs over a network connection using UDP packets.
You can see the logs using a listening netcat, for example: nc -ul 127.0.0.1 20000.
2015-11-04 18:11:19 +01:00
Hardening
3d6e1fb418
Merge pull request #2951 from bmiklautz/friday
...
Misc fixes
2015-11-02 10:50:16 +01:00
David FORT
2a8de84342
Take in account @bmiklautz remarks
...
* I have added a function to set the journal identifier
* the appender name has been changed from SYSTEMD to JOURNALD
2015-11-01 21:34:03 +01:00
David FORT
e3915b66b7
Fix the env var leak
2015-10-30 20:22:25 +01:00
David FORT
89156e53b7
Use unbuffered output
2015-10-30 20:20:42 +01:00
David FORT
9ea301983d
Adds a systemd journal appender
2015-10-30 14:50:14 +01:00
Bernhard Miklautz
a011719831
Merge pull request #2940 from hardening/syslog_appender
...
Add a wLog syslog appender
2015-10-29 18:44:14 +01:00
David FORT
8d2aadfccd
Fixed a warning
2015-10-29 18:33:42 +01:00
David FORT
c2a322f4d0
Support syslog type for the WLOG_APPENDER env var
2015-10-29 18:31:22 +01:00
Bernhard Miklautz
ab05a79c21
winpr/stream: don't allow 0-size streams
2015-10-23 18:38:41 +02:00
Bernhard Miklautz
a9d81ad083
winpr: fix compiler warning
...
winpr/libwinpr/utils/wlog/wlog.c: In function ‘WLog_PrintMessageVA’:
winpr/libwinpr/utils/wlog/wlog.c:234:7: warning: ‘status’ may be
used uninitialized in this function [-Wmaybe-uninitialized]
BOOL status;
^
gcc 4.9.2
2015-10-23 18:37:39 +02:00
Martin Fleisz
08cbcb3577
wlog: Fix variable definitions
2015-10-23 12:08:20 +02:00
David FORT
d9080312bc
Adapt to last wLog changes
2015-10-22 10:54:21 +02:00
David FORT
720c879661
Add a wLog syslog appender
2015-10-22 10:37:49 +02:00
Martin Haimberger
b2398b3a9a
wlog: fixed return values
...
wlog used to return an int but the only meaning
of the return value was:
* negative ... error
* 0 or positive ... success
but the positve returned value was 1 or some id of some
subsystem, nothing meaningful for the caller.
For a more meaningful returnvalue we now use BOOL.
If something goes wrong FALSE is returned.
2015-10-21 01:11:06 -07:00
Marc-André Moreau
87780a850d
Merge branch 'master' of github.com:FreeRDP/FreeRDP into mbedtls
2015-10-09 15:58:50 -04:00
Marc-André Moreau
4f769866d7
winpr: make clean non-OpenSSL build possible (without schannel, makecert)
2015-10-09 15:57:41 -04:00
Marc-André Moreau
94a2f9533e
winpr: start porting to non-OpenSSL
2015-10-05 16:23:44 -04:00
MartinHaimberger
d4d360f6a4
Merge pull request #2859 from akallabeth/resource_leak_fix
...
Fixes API misuse and logic errors
2015-09-15 14:45:42 +02:00
Bryan Everly
bd149a284d
Cleaned up previous OpenBSD change per recommendation
2015-09-14 13:20:11 -04:00
Armin Novak
2c7a20d8c0
Fixed uninitialized memory.
2015-09-01 12:25:43 +02:00
Armin Novak
cb7927756d
Fixed resource leak.
2015-09-01 11:31:12 +02:00
Armin Novak
5cad081cc8
Fixed memory leak.
2015-08-28 11:07:25 +02:00
Martin Haimberger
008d9f3b79
fixed misc *_free functions to accept NULL
...
Following types of collections support now
NULL in the free call:
* ArrayList
* BitStream
* ContdownEvent
* Dictionary
* KeyValuePair
* MessageQueue
2015-07-30 07:02:36 -07:00
Armin Novak
cf9f975341
Replaced snprintf with sprintf_s
2015-07-03 13:26:15 +02:00
Armin Novak
7dc96c412f
Added convenience function winpr_log_backtrace.
2015-07-03 09:22:02 +02:00
Armin Novak
78eeb861d5
Fixed mixed declarations and code.
2015-07-01 16:20:56 +02:00
Bernhard Miklautz
1cee185e3c
hardening: check fread and fwrite return values
2015-06-26 20:38:30 +02:00
Armin Novak
6ed7b7b4b3
Fixed a resource leak.
2015-06-24 09:29:52 +02:00
Armin Novak
f177430acc
Fixed a resource leak.
2015-06-24 09:29:13 +02:00
Armin Novak
6698e24228
Fixed leaks, NULL dereferences and broken init.
2015-06-23 21:29:21 +02:00
Bernhard Miklautz
06502e6a91
misc: integrate pull request feedback
2015-06-22 19:24:30 +02:00
David FORT
16d36e3083
A malloc() pass on WinPR
...
This patch treats remaining non-checked mallocs. And changes to calloc in places
where it makes sense
2015-06-22 19:10:00 +02:00
Bernhard Miklautz
bf73f4e4f1
Fix unchecked strdups
...
* add missing checks
* adapt function return values where necessary
* add initial test for settings
2015-06-22 19:09:59 +02:00
Armin Novak
7403cdc60c
Added PathMakePath function.
2015-06-09 13:16:28 +02:00
Armin Novak
c6c43d5f06
Writing failure to stderr.
2015-06-02 17:54:27 +02:00
Armin Novak
1c3b38f58b
Fixed image test.
2015-06-02 17:53:16 +02:00
Armin Novak
2a3cd74c02
Fixed image test.
2015-06-02 15:17:54 +02:00
David FORT
12f873f1f9
Fixed MessageQueue and callers
2015-05-29 14:24:14 +02:00
Martin Haimberger
951a2d2210
stream: check stream_new in winpr and libfreerdp
...
also fixed a few things
2015-05-29 04:46:50 -07:00
Marc-André Moreau
5526348079
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-05-21 13:29:59 -04:00
Marc-André Moreau
c64be497b8
libwinpr-utils: update backtrace utils
2015-05-21 13:25:35 -04:00
Marc-André Moreau
7e1dbd505b
Merge branch 'awakecoding' of https://github.com/vworkspace/FreeRDP
...
Conflicts:
channels/rdpdr/server/rdpdr_main.c
2015-05-20 11:40:48 -04:00
Marc-André Moreau
29d14773c8
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/Windows/wf_client.c
libfreerdp/common/assistance.c
2015-05-20 10:12:24 -04:00
Hardening
f8120919af
Add checks for some XXX_New and XXX_Add functions
...
Based on PR #2616
2015-05-18 11:28:00 +02:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Bernhard Miklautz
d4df3a952b
Merge pull request #2594 from baruchsiach/fix-math-2
...
Don't disable C99 long double math on non Unix platforms
2015-05-08 13:44:26 +02:00
Bernhard Miklautz
81568ff03a
Merge pull request #2596 from akallabeth/wlog_default_out_fix
...
Wlog console output to stderr
2015-05-08 00:49:41 +02:00
Marc-André Moreau
87bb3aa6e0
wfreerdp: fix build
2015-05-07 13:35:39 -04:00
Norbert Federa
f9f59cd29b
Fix unchecked CreateDirectory calls
2015-05-07 13:28:13 +02:00
Norbert Federa
c77def3048
Fix unchecked CreateMutex calls
2015-05-07 13:27:49 +02:00
Armin Novak
1d3e847f12
Fixed broken indent.
2015-05-06 15:37:55 +02:00
Armin Novak
c0fbaa579b
Not writing messages if level is WLOG_OFF.
2015-05-06 10:58:57 +02:00
Armin Novak
c375071b5d
Console logging to stdout and stderr
...
With this patch the default for the console logger
changes to writing to stdout for TRACE, DEBUG and INFO
messages and stderr for WARNING, ERROR and FATAL messages.
2015-05-06 10:56:30 +02:00
Martin Fleisz
063c1bc806
Merge pull request #2592 from nfedera/fix-2015-05-05-01
...
Fix unchecked CreateThread calls and misc fixes
2015-05-06 10:16:26 +02:00
Baruch Siach
81fc2c9740
Don't disable C99 long double math on non Unix platforms
...
CMakeLists.txt may enable HAVE_MATH_C99_LONG_DOUBLE only on Unix platforms.
Limit the effect of this symbol accordingly.
2015-05-05 21:27:17 +03:00
Marc-André Moreau
70ecd9b619
Merge pull request #2589 from baruchsiach/fix-math
...
Don't use unavailable C99 long double math functions
2015-05-05 10:47:03 -04:00
Norbert Federa
25fc866a58
Fix unchecked CreateThread calls and misc fixes
2015-05-05 13:55:48 +02:00
Baruch Siach
414663cc36
Don't use unavailable C99 long double math functions
...
uClibc variants do not provide the C99 long double math functions like ceill,
powl, etc.. For future compatibility use check_symbol_exists() to check
whether these functions are available, and keep the result in
HAVE_MATH_C99_LONG_DOUBLE. Use that instead of the fragile Cygwin version
check in triodef.h.
Fixes build failures under uClibc(-ng) like:
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `powl'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `fmodl'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `ceill'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `log10l'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `floorl'
collect2: error: ld returned 1 exit status
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
2015-05-03 21:12:30 +03:00
Norbert Federa
ef1fd12b15
Fix unchecked CreateEvent calls and misc fixes
...
1)
Added missing checks for CreateEvent which also required the
following related changes:
- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL
2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.
3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.
4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers
5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +02:00
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
c9ee30a815
TestStream: set function parameters to void
2015-04-21 14:25:59 +02:00
Bernhard Miklautz
61473923e4
TestStream: fix compiler warning
...
Remove unnecessary argument from read function call.
2015-04-21 14:16:33 +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
813e75e14d
Fixed NULL dereference.
2015-04-16 22:04:38 +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
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
Bernhard Miklautz
a8c44f15c0
winpr: small fixes and cleanups
...
Update the pull request and integrate the latest comments and
suggestions.
* TestLibrary*: fix typo in error message
* TestPipeCreateNamedPipeOverlapped: free possibly allocated memory
* smartcard_pcsc.c: format fix
* process.c: add missing NULL check
* MessageQueue.c: delete possibly initialized critical section on error
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
12e1d94567
winpr: fixes and cleanup
...
Integrated notes and issues for the pending pull request
* wf_info:
* cleanup: remove unnecessary breaks
* fix typo
* change usage of calloc
* print.c: fix incorrect check
* makecert.c: cleanup includes
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
850de59b55
winpr: add checks for *alloc
...
Add missing checks if memory allocation was successful. Also adapt
caller(s) when possible.
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
5692117f8c
wlog: add missing check
...
Integrate pull request feedback
2015-03-31 15:20:10 +02:00
Armin Novak
71d4b81c6d
Removed scopes.
2015-03-31 15:18:46 +02:00
Armin Novak
b1edaf677b
Removed duplicated NULL pointer checks.
2015-03-31 15:18:46 +02:00
Armin Novak
d50ce6bd7a
Corrected end of string checks.
2015-03-31 15:18:46 +02:00
Armin Novak
b3ea02a777
Removed INVALID_HANDLE_VALUE from types not using it.
2015-03-31 15:18:45 +02:00
Hardening
bdb975afe8
Merge pull request #2510 from akallabeth/build_date
...
Added version and build info functions
2015-03-30 19:14:59 +02:00
Armin Novak
8e521e7aee
Fixed return value in test.
2015-03-30 18:18:14 +02:00
Armin Novak
eedf45583a
Using sprintf_s now.
2015-03-30 18:17:07 +02:00
Armin Novak
0adab13719
Now returning const char*
2015-03-30 18:09:02 +02:00
Armin Novak
cf941304b3
Fixed windows _snprintf.
2015-03-30 18:05:46 +02:00
Armin Novak
8f228163a8
Added version and build info functions
...
Added functions to get
* Version String
* Build Time String
* Git Revision String
and appropriate tests.
2015-03-30 17:51:29 +02:00
Bernhard Miklautz
74c8400789
coding style fixes
...
Add missing space after if
2015-03-30 17:15:45 +02:00
Bernhard Miklautz
f469e069dc
stream: Stream_Ensure*Capacity: change return type
...
Change the return type of Stream_Ensure*Capacity from void to BOOL to be
able to detect realloc problems easily. Otherwise the only way to detect
this was to check if the capacity after the call was >= the required
size.
In case Stream_Ensure*Capacity fails the old memory is still available
and need to freed outside.
This commit also adds checks to most calls of Stream_Ensure*Capacity to
check if the call was successful.
2015-03-30 16:33:48 +02:00
Bernhard Miklautz
1d7b3694a9
Integrate feedback from pull request ( #2492 )
...
* shell: add missing NULL checks
* thread: handle case where HAVE_EVENTFD_H isn't defined
* wlog: return NULL instead of 0
* wlog: use g_RootLog instead of WLog_GetRoot
otherwise a new root might be initialized on uninit
* indentation and style fixes
2015-03-25 17:38:21 +01:00
Bernhard Miklautz
3c7662517c
hardening
...
Start to add missing checks for:
* *alloc
* *_New
2015-03-25 17:38:21 +01:00
Marc-André Moreau
9562439bd8
libfreerdp-codec: add support for 1bpp image copy
2015-03-16 13:27:27 -04:00
Marc-André Moreau
f226c27fb0
libwinpr-utils: improve BipBuffer
2015-03-13 20:22:21 -04:00
Marc-André Moreau
34181949e6
libwinpr-utils: update BipBuffer
2015-03-13 18:37:48 -04:00
Marc-André Moreau
afdd55fa81
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-03-13 15:30:31 -04:00
ivan-83
9e7e4ce7ff
Merge branch 'master' of github.com:ivan-83/FreeRDP
2015-03-13 01:39:41 +03:00
ivan-83
7b3a552988
+ audin OSS support (un tested now)
...
+ add: COMMAND_LINE_IGN_UNKNOWN_KEYWORD flag for CommandLineParseArgumentsA to ignory unknown keys without fail
+ add: lot of WLog_DBG() in drdynvc, add function names in existing
* change: error text in rdpsnd OSS
* fix: dev in rdpsnd does not work
* fix/change: audio-dev renamed to dev and now work in audin
* fix dynamic channels now work again
2015-03-13 01:28:44 +03:00
Marc-André Moreau
1222da4a86
libwinpr-utils: initial BipBuffer implementation
2015-03-12 16:34:48 -04:00
Marc-André Moreau
dfc1238523
Merge pull request #2447 from ivan-83/master
...
Fix poor sound quality with ALSA, add OSS sound system support, FreeBSD patches
2015-03-12 10:09:02 -04:00
Mike McDonald
bef63ad1ae
Added the ability to initialize a FileAppender from environment variables (WLOG_FILEAPPENDER_OUTPUT_FILE_PATH and WLOG_FILEAPPENDER_OUTPUT_FILE_NAME).
2015-03-12 08:57:01 -04:00
Marc-André Moreau
5ab34dfa3e
Merge pull request #2456 from zhangzl2013/fix-realloc
...
Fix incorrect usage of realloc
2015-03-12 07:33:27 -04:00
Armin Novak
ac16811e46
Fixed PubSub_Unsubscribe.
2015-03-11 12:28:07 +01:00
Armin Novak
06df5049a7
Fixed missing loop exit condition.
2015-03-11 11:33:17 +01:00
Zhang Zhaolong
512865011d
libwinpr: check return value of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 16:34:38 +08:00
Zhang Zhaolong
19f2354ee4
fix build error.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 15:04:38 +08:00
Zhang Zhaolong
e30d1c0f47
libwinpr: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 14:59:56 +08:00
ivan-83
434436b75f
* BSD/FreeBSD build fix
2015-03-10 01:21:28 +03:00
Norbert Federa
d7243a1fae
wlog: wrong format specifiers, use LWP id on linux
2015-02-19 14:47:03 +01:00
Norbert Federa
6f3a07d510
winpr: stream ctest and missing read/peek types
2015-02-12 18:13:06 +01:00
Marc-André Moreau
22ac46957a
xfreerdp: fix egfx multimonitor support
2015-02-10 16:32:07 -05:00
Hardening
129c2084d7
Handle OOM in Stream_New()
2015-02-10 10:26:32 +01:00
Marc-André Moreau
85191391d5
libfreerdp-core: simplify TS Gateway RPC fragment receiving
2015-01-31 16:56:25 -05:00
Marc-André Moreau
bcf3a551c4
libwinpr-utils: fix Win32 undefined function write error
2015-01-22 16:06:18 -05:00
Marc-André Moreau
f0fc27f7bd
libwinpr-winscard: add WINPR_WINSCARD_LOCK_TRANSACTIONS environment variable, fix winpr_HexDump line feeds
2015-01-20 15:29:05 -05:00
Bernhard Miklautz
c70293aa60
Fix clang compiler warnings
2015-01-16 00:41:57 +01:00
Marc-André Moreau
ee5a354328
freerdp: more valgrind fixes
2014-12-27 15:34:45 -05:00
Marc-André Moreau
6c2ebb2b58
channels: redirection valgrind fixes
2014-12-27 13:50:50 -05:00
Marc-André Moreau
cc2321d359
libfreerdp-core: fix leak and use after free in tsg ListDictionary usage
2014-12-11 17:08:22 -05:00
Marc-André Moreau
d8e10ac04a
freerdp: patch leaks reported by valgrind when using TS Gateway
2014-12-11 11:25:34 -05:00
Armin Novak
f676c48a2f
Fixed broken NULL pointer check.
2014-12-07 00:21:28 +01:00
Martin Fleisz
441632310a
Merge pull request #2110 from akallabeth/winpr_backtrace_windows
...
Winpr backtrace windows
2014-12-04 15:03:37 +01:00
Armin Novak
eafc49b154
Using fixed size debug string buffers now.
2014-12-04 14:54:08 +01:00
Marc-André Moreau
8a7a71a7b6
Merge pull request #2213 from akallabeth/wlog_callback_appender
...
Wlog callback appender
2014-11-17 09:41:58 -05:00
Armin Novak
b920f9a081
Fixed null pointer dereference.
2014-11-17 00:50:15 +01:00
Armin Novak
54224d4155
Fixed memory leak.
2014-11-17 00:07:58 +01:00
Armin Novak
83f6b24b16
Fixed API nonnull warning.
2014-11-16 23:58:39 +01:00
Armin Novak
2e1c2555a2
Fixed typo.
2014-11-16 23:50:46 +01:00
Armin Novak
d525999a06
Fixed allocation size warning.
2014-11-16 23:43:18 +01:00
Armin Novak
d225b97078
Fixed allocation size warning.
2014-11-16 23:42:30 +01:00
Armin Novak
28220d5b9f
Fixed allocation size warning.
2014-11-16 23:41:28 +01:00
Armin Novak
e256e14cc4
Fixed bad sizeof in calloc.
2014-11-16 22:43:11 +01:00
Armin Novak
2671482458
Fixed Stack_Free.
2014-11-16 16:48:50 +01:00
Armin Novak
45896e7a61
Fixed memory leak.
2014-11-16 15:51:45 +01:00
Armin Novak
b7304f16b8
Fixed memory leak.
2014-11-16 15:47:57 +01:00
Armin Novak
9ab5f4c222
Fixed memory leak.
2014-11-16 15:44:02 +01:00
Armin Novak
cf5b9a75b8
Fixed memory leak
2014-11-16 15:03:20 +01:00
Armin Novak
643a309537
Fixed memory leak.
2014-11-16 14:40:30 +01:00
Armin Novak
1b6cb6349e
Added unit test for callback wlog appender.
2014-11-16 13:59:12 +01:00
Armin Novak
7697eafa02
Fixed callback appender setup.
2014-11-16 13:59:04 +01:00
Armin Novak
6de22298d0
Added callback appender for wlog.
2014-11-16 12:20:48 +01:00
Armin Novak
041c26eff6
Fixed mixed variable declaration.
2014-11-12 09:16:55 +01:00
Armin Novak
16f9f34b52
Removed assert, breaking build on visual studio.
2014-11-12 09:16:55 +01:00
Armin Novak
c39fbcfacb
Fixed scope of variable declarations, MSVC does not like mixed variable declaration.
2014-11-12 09:16:55 +01:00
Armin Novak
56f087dfbc
Fixed commented include.
2014-11-12 09:16:55 +01:00
Armin Novak
6c4f013bd9
Enhanced debug output, fixed missing includes.
2014-11-12 09:16:55 +01:00
Armin Novak
cbf70a3d75
Fixed missing include in unit test.
2014-11-12 09:16:55 +01:00
Armin Novak
f09aec878e
Added unit test for backtrace.
2014-11-12 09:16:54 +01:00
Armin Novak
3830a9f580
Added windows implementation of backtrace.
2014-11-12 09:16:54 +01:00
Marc-André Moreau
334dec3c1f
winpr: add pragma pack, bitmap + clipboard definitions
2014-10-16 21:45:47 -04:00
Marc-André Moreau
11ae267518
libfreerdp-core: expose new API to allow FreeRDS virtual channel hooking
2014-10-10 16:11:42 -04:00
Marc-André Moreau
b01ef89b3d
libwinpr-utils: improve HashTable flexibility, add proper string support
2014-10-09 16:46:55 -04:00
Marc-André Moreau
cdbfc51daf
libwinpr-utils: add .ini write support
2014-10-02 20:16:30 -04:00
Marc-André Moreau
d5cbadee9d
libwinpr-utils: improve .ini file parser
2014-10-02 18:45:53 -04:00
Marc-André Moreau
abd87ace55
rdtk: initial commit
2014-09-29 16:08:08 -04:00
Marc-André Moreau
c5a0c7e97a
libwinpr-utils: add simple image loading/writing test
2014-09-28 11:14:30 -04:00
Marc-André Moreau
1c34583407
libwinpr-utils: add png support
2014-09-28 11:02:39 -04:00
Marc-André Moreau
bbf4732470
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/gdi/gdi.c
2014-09-25 10:34:56 -04:00
Bernhard Miklautz
417707e4b7
winpr-utils: extend LinkedList test
2014-09-24 13:03:46 +02:00
Bernhard Miklautz
7bd62a0127
winpr-utils: fix problem in LinkedList enumerator
...
A segfault can happen if LinkedList_Enumerator_MoveNext is invoked
before LinkedList_Enumerator_Reset was called.
2014-09-24 12:31:52 +02:00
Marc-André Moreau
09fc388e03
shadow: add RefreshRect/SuppressOutput support
2014-09-18 22:18:58 -04:00
Armin Novak
4004543a33
Default WLog_Level is now INFO.
2014-09-17 09:28:40 +02:00
Armin Novak
69c0aa4b22
Fixed missing log message formatting argument on android.
2014-09-16 10:14:18 +02:00
Bernhard Miklautz
2218e9684a
Fix: misc compiler warnings
...
Seen in Xcode
2014-09-12 00:36:29 +02:00
Bernhard Miklautz
8dc70f4045
fix build warning
...
warning: implicit declaration of function ‘winpr_bitmap_write’
[-Wimplicit-function-declaration]
2014-09-11 17:26:01 +02:00
Armin Novak
38d110da03
Fixed string size calculation in winpr_HexDump
2014-09-11 13:59:48 +02:00