Armin Novak
227ecc4bd5
Fixed uninitialized variable.
2016-03-02 09:16:49 +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
e7814d5855
Fixed stream API for Stream_Copy.
2016-03-01 12:57:48 +01:00
Armin Novak
a98e0f9ebb
Reverted opaque structures.
2016-03-01 10:29:51 +01:00
Bernhard Miklautz
014f31db35
Merge pull request #3171 from akallabeth/crypto_simplification
...
Crypto simplification
2016-02-29 17:10:53 +01:00
Armin Novak
c182be093d
Removed module.def from build config.
2016-02-29 15:24:07 +01:00
Armin Novak
68c402ac58
Removed windows module.def files.
...
All symbols exported from libraries are declared
using *_API defines.
2016-02-29 15:18:47 +01:00
Armin Novak
4e4d2e11d4
Fixed crypto tests.
2016-02-29 14:45:03 +01:00
Armin Novak
19568c6e9b
Fixed indentation.
2016-02-29 11:12:32 +01:00
Armin Novak
7e6501374d
Fixed memory leak.
2016-02-29 11:10:15 +01:00
Armin Novak
b429d230cb
Refactored crypto *_New functions.
2016-02-29 09:00:02 +01:00
Armin Novak
92c15783dc
Updated RC4 API, fixed crashing bug.
2016-02-28 11:19:29 +01:00
Armin Novak
238ff3b315
Unified encryption functions.
2016-02-27 23:28:49 +01:00
Armin Novak
4929844971
Fixed const argument for Stream_Write.
2016-02-27 22:16:41 +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
98d4a9347a
Added support for android SetFileTime.
...
Deactivated libjpeg support for android.
2016-02-26 12:27:59 +01:00
Armin Novak
5537230298
Fixed missing iOS UTIME_OMIT.
2016-02-26 11:43:54 +01:00
Armin Novak
436be2441a
Implemented SetFileTime
2016-02-26 11:00:17 +01:00
Martin Fleisz
4f22682ed2
Merge pull request #3151 from akallabeth/timezone_refactor
...
Timezone refactor
2016-02-26 09:57:35 +01:00
Hardening
4217262680
Merge pull request #3156 from akallabeth/ssl_wrapper_merge
...
Ssl wrapper merge
2016-02-26 09:52:43 +01:00
Armin Novak
fe8f5dee82
Fixed indentation.
2016-02-26 09:32:17 +01:00
Bernhard Miklautz
71836f6cab
build winpr: export WINPR_API_VERSION
2016-02-25 23:38:53 +01:00
Armin Novak
cf9543e350
Converted Stream defines to inline functions.
...
Using inline functions allows compiler type checks
2016-02-25 20:13:56 +01:00
Armin Novak
f997421098
Unified hmac functions.
2016-02-24 21:50:08 +01:00
Armin Novak
6e8ea34f06
Updated cryto wrapper API.
2016-02-24 20:32:20 +01:00
Armin Novak
0bfe5bad85
Fixed naming of static functions.
2016-02-24 20:16:19 +01:00
Armin Novak
06da644007
Unified md5 functions.
2016-02-24 16:46:25 +01:00
Armin Novak
0e4ea3943a
Unified sha1 functions.
2016-02-24 16:36:15 +01:00
Armin Novak
7795ebdc15
Fixed return value for DST.
2016-02-24 09:43:53 +01:00
Armin Novak
495df6d6ec
Readded read timezone from link.
2016-02-24 09:42:12 +01:00
Armin Novak
1cd6697bca
Implemented timezone detection for android
...
Refactored version of patch from pxx02134
2016-02-24 09:28:30 +01:00
Armin Novak
447ac23aee
Refactored timezone functions.
2016-02-24 09:28:30 +01:00
akallabeth
7c5fcc9ee2
Merge pull request #3149 from bmiklautz/feb22
...
Misc fixes
2016-02-23 20:23:52 +01:00
Bernhard Miklautz
35faa8b221
Merge pull request #3148 from mfleisz/win32_include_fix
...
winpr/file: Add missing include (io.h) for windows builds
2016-02-23 11:44:58 +01:00
akallabeth
05aa425cae
Merge pull request #2851 from ilammy/x11-cliprdr/improve-format-support
...
Improve clipboard format support in X11 client
2016-02-23 09:56:17 +01:00
Martin Fleisz
1b881e47d3
winpr/file: Add missing include (io.h) for windows builds
2016-02-23 09:55:55 +01:00
Bernhard Miklautz
e6f013eac7
fix spelling
...
replace occured with occurred
Fixes #3142
2016-02-22 17:01:43 +01:00
Bernhard Miklautz
12bd0ec823
winpr: BUMP the API version to 1.2
...
This is required that the exported cmake find module can be
differentiated from the "old" one. This allows it to have
multiple winpr API version installed in parallel.
find_package should now be used with an explicit version number
set like:
find_package(WinPR 1.2 REQUIRED)
2016-02-16 17:39:22 +01:00
Hardening
2a3e9996b3
Merge pull request #2710 from akallabeth/cert_temp_accept_v2
...
Extended certificate callbacks.
2016-02-15 13:52:47 +01:00
Bernhard Miklautz
cf6ea23576
Merge pull request #3123 from nfedera/fix-keyboardtype-7
...
Several fixes for keyboard type 7 (japanese)
2016-02-12 10:43:25 +01:00
Hardening
cbd1ffa571
Merge pull request #3110 from akallabeth/mac_os_ssl_warning_fix
...
Mac os ssl warning fix
2016-02-11 22:21:33 +01:00
Norbert Federa
92aa21c45b
Several fixes for keyboard type 7 (japanese)
2016-02-11 21:40:50 +01:00
Marc-André Moreau
0547a31832
winpr: fix ini loader on Windows
2016-02-10 10:51:33 -05:00
Marc-André Moreau
2f568aad79
winpr: fix GetComputerNameEx for UWP
2016-02-08 10:19:36 -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
Armin Novak
6b406bdcda
Not building GetLine on android and ios.
2016-02-05 02:05:37 +01:00
Armin Novak
5e46a6e4be
Replaced getline with custom GetLine.
2016-02-05 02:05:37 +01: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
b6b0f57a88
Fixed compiler warning about cast.
2016-02-04 12:57:21 +01:00
Norbert Federa
099d488b39
fix X11/Xdg.h typedef collision fix
2016-02-04 12:20:00 +01:00
Armin Novak
f835744a88
Removed unused variable.
2016-02-03 12:45:49 +01:00
Armin Novak
40519f0912
Fixed initialization warning.
2016-02-03 12:45:31 +01:00
Armin Novak
d1c59f7574
Fixed invalid boolean check.
2016-02-03 11:23:41 +01:00
Armin Novak
a1617c734c
Fixed unused check.
2016-02-03 11:22:27 +01:00
Armin Novak
9b0ef3a4ec
Fixed stdint.h and stdbool.h detection.
2016-02-02 18:28:15 +01:00
Armin Novak
5c9707505b
Fixed stdbool.h and stdint.h detection.
...
When one of those headers is not detected the CMake
variable is undefined. Using it for a #define did break
things.
2016-02-02 17:30:53 +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
clangm
62a559ad03
fix typo
...
Pretty sure that's supposed to be __MACOSX__, not __MAXOSX__
2016-01-27 15:40:08 -07: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
Hardening
bbf5c7795d
Merge pull request #3070 from davewheel/ntlm_attrs
...
Handle more NTLM attributes
2016-01-23 00:00:18 +01:00
Armin Novak
78d3f45601
Added cmake patch from @david-geiger
2016-01-21 15:30:55 +01:00
davewheel
a971f9e4bc
Handle more NTLM attributes
...
This patch adds the management of more NTLM attributes.
Sponsored by: Wheel Systems (http://www.wheelsystems.com )
2016-01-20 22:21:05 +01:00
Martin Fleisz
3e19791bb7
Merge pull request #3014 from bmiklautz/winpr_nt_file
...
winpr: create a specific winpr nt file handle
2016-01-19 09:28:40 +01:00
Martin Fleisz
07d5d1615b
Merge pull request #3059 from akallabeth/zlib_memleak_fix
...
Fix memory leak in lodepng_zlib_compress
2016-01-19 09:27:50 +01:00
Armin Novak
20ada7d347
Fix pkg-config generation.
2016-01-18 22:46:29 +01:00
Armin Novak
d2ab27626a
Fix memory leak in lodepng_zlib_compress
2016-01-15 10:16:08 +01:00
Armin Novak
9b160d4570
Fixed uninitialized value.
2016-01-15 09:33:21 +01:00
Bernhard Miklautz
3232be51b0
Use major version only for SOVERSION
...
For 2.0+ major will be increased if ABI/API isn't compatible anymore.
2016-01-14 10:47:57 +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
Bernhard Miklautz
6fa3608111
cleanup cmake exports and pkg-config files
...
With this commit the "exported" components (usable with pkg-config and
cmake find module package)
* winpr - winpr library and headers
* freerdp - core library and headers
* freerdp-client - client specific library
* freerdp-server - server specific library
* rdtk - rdtk headers and library
To allow the installation of multiple different version (different major
number) the include files were moved into the respective sub folder:
freerdp -> freerdp{MAJOR}/freerdp (currently freerdp2/freerdp/)
winpr -> winpr{MAJOR}/winpr (currently winrp1/winpr/)
rdtk -> rdpk{MAJOR}/rdtk (currently rdtk0/rdtk/
The generated pkg-config and cmake find modules now also include the major
version number. Currently the following pkg-config are generated and
installed.
* winpr1
* freerdp2
* freerdp-server2
* freerdp-client2
* rdtk0
As cmake is able to handle multiple versions out of the box the
following can be used to find a specific module:
find_package(WinPR)
find_package(FreeRDP)
find_package(FreeRDP-Server)
find_package(FreeRDP-Client)
find_package(RdTk)
As cmake doesn't automatically resolve dependencies for packages it is
necessary to manually include the requirements. For example if
FreeRDP-Client is required WinPR and FreeRDP need to be included
(find_package) as well.
This commit also fixes the installation when STATIC_CHANNELS are built.
WITH STATIC_CHANNELS all channels are linked into libfreerdp-client, for
this all channels are generated as linker archive and linked together in
the final step. Before the intermediate linker archives were, although
not required and useful, installed. Same applies for server side
channels.
2016-01-12 17:32:33 +01:00
Bernhard Miklautz
b8136a3769
build: remove FREERDP_MONOLITHIC_BUILD
...
FREERDP_MONOLITHIC_BUILD was obsolete for a while and unused
2016-01-12 17:32:32 +01:00
Bernhard Miklautz
25363c05d6
update .gitignore files
...
* add missing entries
2016-01-12 17:32:32 +01:00
Armin Novak
a9e3368d44
Fixed broken duplicate define.
2016-01-12 16:38:53 +01:00
Bernhard Miklautz
aa2709a999
winpr: create a specific winpr nt file handle
...
There exist two definitions of WINPR_FILE: in file/ and in nt/.
Both are different definitions used differently. Therefore split them
into WINPR_FILE and WINPR_NT_FILE.
2016-01-12 16:10:25 +01:00
Bernhard Miklautz
97edeca204
Merge pull request #2874 from akallabeth/stdtypes
...
Using stdint.h and stdbool.h for type definitions
2015-12-17 16:37:54 +01:00
Armin Novak
d25855b287
Added comment to generated defines.
2015-12-17 16:25:16 +01:00
Armin Novak
33500b400d
Removed obsolete wtypes.h
2015-12-17 13:30:41 +01:00
Armin Novak
ef23b4568c
Renamed HAVE_STDXX_H in public header.
2015-12-17 13:15:00 +01:00
Armin Novak
f8565b8b75
Generating wtypes.h now with used defines.
2015-12-17 12:01:52 +01:00
Armin Novak
120e5e2d43
Moved header detection defines to config.h
2015-12-17 11:28:03 +01:00
Armin Novak
864f06b161
Added missing include.
2015-12-17 10:59:59 +01:00
Bernhard Miklautz
d03b38765a
Merge pull request #2816 from akallabeth/known_hosts_locking
...
Known hosts locking
2015-12-16 19:03:15 +01:00
Bernhard Miklautz
06307f1ac1
winpr/file: disable buffering
...
When FILE streams are used per default buffering is enabled but
WriteFile/ReadFile shouldn't do any extra buffering.
2015-12-16 18:47:42 +01:00
Bernhard Miklautz
79707cb7fd
makecert: fix installation of .a file
...
Since cb958ba9c6
libwinpr-makecert-tool.a
wasn't installed anymore.
2015-12-16 17:45:59 +01:00
Armin Novak
5b2f4f50a0
Fixed FILE* leak and EndOfFile settings.
2015-12-16 17:35:59 +01:00
Armin Novak
03a1ff814d
Fixed unused warnings.
2015-12-16 15:15:46 +01:00
Armin Novak
6ed43cd6ec
Updated pdb file locations.
...
Now supporting generators NMake and Visual Studio.
2015-12-15 12:08:35 +01:00
Armin Novak
cb958ba9c6
Added pdb files to package target.
...
Fixed name collision with freerdp-shadow targets.
2015-12-15 12:07:21 +01:00
Armin Novak
e223684fcb
args arrays static.
...
When creating static builds the args arrays collided due
to global visibility.
2015-12-15 12:07:21 +01:00
Armin Novak
d339b986de
Fixed broken #if #endif.
2015-12-14 14:18:51 +01:00
Armin Novak
533e14745e
Fixed broken objective C detection.
2015-12-14 14:18:51 +01:00
Armin Novak
ff24885ff3
Fixed mixup of type defines.
2015-12-14 14:18:51 +01:00