Armin Novak
a04f1f8fc5
Added missing _snprintf define.
2015-12-09 18:27:05 +01:00
Hardening
17a1127341
Merge pull request #2976 from akallabeth/mac_audin_support
...
Added audin support for mac os.
2015-12-09 14:56:56 +01:00
Hardening
20f27f5c22
Merge pull request #2972 from akallabeth/option_fix
...
Fixed cmake_dependent_option use.
2015-12-09 14:41:53 +01:00
Hardening
57fe581b16
Merge pull request #2824 from bjcollins/nla_auth_exit_code
...
Return FREERDP_ERROR_AUTHENTICATION_FAILED on an authentication failure
2015-12-08 22:46:29 +01:00
Hardening
b588075098
Merge pull request #2979 from bmiklautz/bm/pre2.0_2
...
pkg: update version infos to 2.0
2015-12-03 19:39:30 +01:00
Hardening
8ba1b1cd2e
Merge pull request #2991 from xdqi/master
...
Fix compilation error under Visual Studio 2010
2015-11-30 10:52:40 +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
Hardening
3375865b52
Merge pull request #2983 from nitomartinez/master
...
Fixes #2982 . The idea is to be able to create the socket externally a…
2015-11-26 09:56:19 +01:00
Nito Martinez
2d5c78849e
Fix formatting: else if in its own line and no brackets for single statements
2015-11-26 09:50:03 +01:00
Nito Martinez
89d8a68f4a
Disable setting socket options for preexisting socket like: keepalive and tcp_nodelay, these should be set extenally if needed. Do not close the socket if the clientaddress could not be set
2015-11-25 08:36:49 +01:00
Hardening
c63928fd07
Merge pull request #2981 from mfleisz/server_cliprdr_fix
...
cliprdr/server: Fix parsing of file contents request PDU
2015-11-23 11:53:20 +01:00
Nito Martinez
428cbd802d
Fixes #2982 . The idea is to be able to create the socket externally and pass that socket FD to FreeRDP so that it can be used there.
...
The idea suggested is to use the following interface:
settings->ServerHostname = "|"
settings->ServerPort = SocketFD
2015-11-20 02:44:35 +01:00
Martin Fleisz
6890e0b84d
cliprdr/server: Fix incorrect message flags
2015-11-19 16:29:57 +01:00
Martin Fleisz
fc2768f807
cliprdr/server: Fix incorrect message header
2015-11-19 16:17:36 +01:00
Martin Fleisz
3070cab0fa
cliprdr/server: Fix parsing of file contents request PDU
2015-11-19 14:12:26 +01:00
Bernhard Miklautz
428ac98b9a
pkg: update version infos to 2.0
2015-11-17 23:29:07 +01:00
Armin Novak
f4a466b798
Added mac implementation.
2015-11-13 11:47:58 +01:00
Armin Novak
f6e17ec65c
Added audin support for mac os.
2015-11-12 16:10:39 +01:00
Hardening
be8f8f7238
Merge pull request #2970 from bmiklautz/prep_2.0
...
2.0 preparations
2015-11-11 12:54:34 +01:00
Bernhard Miklautz
555b7498b2
Merge pull request #2971 from woutershep/cmake-manual-path
...
cmake: tweak manpage install location
2015-11-11 03:20:37 +01:00
Bernhard Miklautz
bff63b3ee2
wlog: cleanup API includes
...
Only include necessary header files.
2015-11-10 16:29:09 +01:00
Armin Novak
7b371560fc
Fixed cmake_dependent_option use.
2015-11-10 14:20:02 +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
Hardening
b5f8900bc4
Merge pull request #2917 from binglinoioij/master
...
add values-zh/string.xml,that was profiles for chinese
2015-11-10 10:13:47 +01:00
Hardening
bf147f71ba
Merge pull request #2930 from dbungert/glyph
...
Clamp ultra-wide glyph opRight vals to desktop width
2015-11-10 10:12:21 +01:00
Hardening
aff69ab163
Merge pull request #2962 from akallabeth/client_build_fixes
...
Allow client build to be disabled
2015-11-10 09:59:45 +01:00
Wouter van Kesteren
857c003e47
cmake: tweak manpage install location
...
This patch is needed when wanting to install binaries/libraries to other
locations than data. The linux distro Exherbo installs binaries and
libraries to /usr/<chost>/bin, /usr/<chost>/lib respectively but
manpages should still go in /usr/share/man/ because they are
architecture independent, without this patch they go in
/usr/<chost>/share/man unconditionally.
cmake documentation states:
DATAROOTDIR - read-only architecture-independent data root (share)
So this patch makes it use that so that its configurable.
2015-11-09 21:57:41 +01:00
Bernhard Miklautz
59cc6c4117
wlog: add some rudimentary documentation
2015-11-09 20:30: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
0cdb4f7924
Fix compiler warnings
...
gcc (Debian 4.9.2-10) 4.9.2
winpr/libwinpr/thread/argv.c: In function ‘CommandLineToArgvA’:
winpr/libwinpr/thread/argv.c:94:6: warning: unused variable ‘index’ [-Wunused-variable]
int index;
winpr/libwinpr/file/test/TestFileGetStdHandle.c: In function ‘TestFileGetStdHandle’:
winpr/libwinpr/file/test/TestFileGetStdHandle.c:44:2: warning: implicit
declaration of function ‘CloseHandle’ [-Wimplicit-function-declaration]
CloseHandle(stdout);
^
libfreerdp/codec/test/TestFreeRDPRegion.c: In function ‘test_norbert2_case’:
libfreerdp/codec/test/TestFreeRDPRegion.c:697:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_receive_format_list’:
channels/cliprdr/server/cliprdr_main.c:636:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
^
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_init’:
channels/cliprdr/server/cliprdr_main.c:1097:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
2015-11-09 19:26:34 +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
Bernhard Miklautz
d73c4898c1
Add build-config.h
...
build-config.h should contain configure/compile time settings that are
relevant for projects that use FreeRDP.
For example the compiled in plugin search paths.
2015-11-09 15:54:22 +01:00
Bernhard Miklautz
8206ae440f
Pump version to 2.0.0
2015-11-09 15:54:22 +01:00
Norbert Federa
2ac195e8eb
Merge pull request #2964 from hardening/udp_appender
...
Add an UDP appender to wLog
2015-11-09 13:42:02 +01:00
David FORT
458aaa1213
Take in account @nfedera's remarks
2015-11-06 23:17:11 +01:00
Norbert Federa
13f710b55e
Merge pull request #2954 from mfleisz/cliprdr_fix
...
cliprdr/server: Server-side file content receiving used wrong callback
2015-11-06 13:43:44 +01:00
Norbert Federa
3eee70b164
Merge pull request #2926 from bjcollins/rail_fixes
...
Rail fixes
2015-11-06 13:34:42 +01:00
Hardening
f06556ce38
Merge pull request #2963 from nfedera/fix-fullscreen-multimon
...
client/X11: multimon/fullscreen fixes
2015-11-06 10:21:47 +01:00
Hardening
248dcbe211
Merge pull request #2968 from nfedera/fix-commandlinetoargv
...
winpr/argv: fix CommandLineToArgvA memory access
2015-11-06 10:19:40 +01:00
Norbert Federa
d6b5b906f4
winpr/argv: fix CommandLineToArgvA memory access
...
- fixed access of unitialized memory beyond terminating null
- minor simplifications
2015-11-05 18:10:05 +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
Norbert Federa
7ddd15d8de
client/X11: fix post fullscreen repositioning
2015-11-04 17:58:21 +01:00
Norbert Federa
48be0815c1
client/X11: multimon/fullscreen fixes
...
- fixed wrong calculation of xfc->fullscreenMonitors.[right|bottom]
- only use _NET_WM_FULLSCREEN_MONITORS if at least 2 monitors are involved
- call XMoveWindow before setting the _NET_WM_STATE_FULLSCREEN property
2015-11-04 15:01:31 +01:00
Armin Novak
9b7c35e122
Fixed WITH_CLIENT_CHANNELS dependencies.
2015-11-04 13:15:37 +01:00
Armin Novak
1ba4f9b67f
Added WITH_CLIENT_COMMON option.
2015-11-04 09:53:13 +01:00
Armin Novak
d4d4271000
Disabled client builds if WITH_CLIENT is not set.
2015-11-03 17:32:52 +01:00
Armin Novak
b5288daea5
Fixed return values.
2015-11-03 17:32:42 +01:00