Commit Graph

1045 Commits

Author SHA1 Message Date
Bernhard Miklautz
598d30f8b8 Mac: set policy to silent cmake >= 3.0 warnings
Set the following policies to "OLD" if cmake version is greater than
2.8.12:

CMP0026 - Disallow use of the LOCATION target property
CMP0045 - Error on non-existent target in get_target_property

(cherry picked from commit 10ee2f72d9)
2015-01-16 13:27:22 +01:00
Bernhard Miklautz
b065492890 build: cmake 3.1 compatibility
* fix problem with REMOVE_DUPLICATES on undefined lists
* since 3.1 file(GLOB FILEPATHS RELATIVE .. returns single / instead of // as
  previously - necessary adoptions for regex and matches done. Should
	work with all cmake versions.

Tested with 3.1.0-rc3

(cherry picked from commit 1b663ceffe)

Conflicts:
	client/CMakeLists.txt
	server/CMakeLists.txt
2015-01-16 13:27:08 +01:00
Bernhard Miklautz
6c6fb62029 mfreerdp: fix build with latest cmake
Newer versions of cmake seem to use CMAKE_C_FLAGS for objective-c.
Now both flags are set for compatibility.

(cherry picked from commit 9ab95adf0d)
2015-01-16 13:24:52 +01:00
Daryl Poe
248c918508 handle user@corp.net username correctly 2014-08-15 15:45:06 -06:00
Bernhard Miklautz
28f65ff297 Merge pull request #1887 from dpoe/stable-1.1
correct Pause key sequence
2014-07-25 11:23:09 +02:00
Hardening
5ad707ddf3 Fix CVE-2014-0250
This patch fixes CVE-2014-0250 by checking width, height and bpp when
receiving a new pointer.
2014-06-06 23:24:16 +02:00
Daryl Poe
46a00b5c9e correct Pause key sequence 2014-06-04 15:41:17 -06:00
Daryl Poe
fc6b72017f /kbd: option should be unsigned 2014-04-04 14:09:48 -06:00
Bernhard Miklautz
323b081192 ios build: added option to set signing certificate
Code signing certificate can be set with with cmake option CODE_SIGN_IDENTITY.
Like -DCODE_SIGN_IDENTITY="signing identity"
(cherry picked from commit f30d3ac3a1)
2013-12-08 17:35:27 +01:00
Bernhard Miklautz
613b20d482 android: use version.h 2013-12-08 17:17:12 +01:00
Bernhard Miklautz
37602e6000 use version.h in ios client
(cherry picked from commit 0147b06d06)
2013-12-08 16:48:48 +01:00
Bernhard Miklautz
23512af600 moved version information to freerdp/version.h
fixed #1465
(cherry picked from commit a0161a12ac)
2013-12-08 16:47:47 +01:00
Marc-André Moreau
214fe2198a xfreerdp: fix monolithic build
(cherry picked from commit 3194967957)
2013-08-26 20:20:33 +02:00
Armin Novak
6e5e62da60 Replaced xmlto with xsltproc to word around a bug preventing manpages
to be build, when there are spaces in the build path.
2013-08-26 20:05:09 +02:00
Armin Novak
8be65019e6 Added missing dependency for custom command generating manpage. 2013-08-26 20:05:09 +02:00
Armin Novak
9281014e4d Removed placeholder for channel documentation until it is available. 2013-08-26 20:05:09 +02:00
Armin Novak
25eda0dce7 Added better formatting of commands in manpage. 2013-08-26 20:05:09 +02:00
Armin Novak
387a75d1ef Minor adjustments in naming. 2013-08-26 20:05:08 +02:00
Armin Novak
a5d1b98e5b Added examples with short description to manpage.
Added placeholder for channel documentation.
2013-08-26 20:05:08 +02:00
Armin Novak
e92eef9579 Fixed generation of configure header, now replacing date fields
with current date.
Added CMake script to generate a variable containing the current
date.
Removed last argument (the terminating NULL element) from output.
2013-08-26 20:05:08 +02:00
Armin Novak
75e2b2a5ef Removed extended text field. 2013-08-26 20:05:08 +02:00
Armin Novak
cb5ffc497a Added simple converter generating docbook XML from command line
argument struct.
Modified xfreerdp.1.xml to include generated documentation.
Modified CMake to regenerate manpages correctly using the generator.
2013-08-26 20:05:08 +02:00
Armin Novak
93cb8fc11a Moved generated tables.c to binary folder. 2013-08-26 19:58:09 +02:00
Daryl Poe
a4a5baf0da careful with passwd in compatibility.c 2013-07-29 16:50:38 -06:00
Marc-André Moreau
cd68f79519 channels/disp: remove RDP8.1 Preview MS-RDPEDISP support from 1.1 stable branch (will be included in next release) 2013-07-16 15:21:17 -04:00
Marc-André Moreau
67b972a021 mfreerdp: fix cursor rendering 2013-07-16 14:44:49 -04:00
Marc-André Moreau
fe62e8c69b Merge branch 'master' of github.com:mrthebunny/FreeRDP 2013-07-15 17:14:20 -04:00
Benoît LeBlanc
44ead029f7 MacFreeRDP: fixed incorrect invalidation region that caused "tiles". Removed unused variables. 2013-07-11 11:19:21 -07:00
Marc-André Moreau
5926fa36dd libfreerdp-client: use PubSub for OnChannelConnected/OnChannelDisconnected 2013-07-11 08:53:15 -07:00
Marc-André Moreau
b93898e5ec client: add option for MS-RDPEDISP (/disp) 2013-07-09 16:10:59 -04:00
Benoît LeBlanc
f9bac0fce9 Added public API function
freerdp_client_write_connection_file()

For now, all settings are written to the RDP file. This can be switched with the WRITE_ALL_SETTINGS define in file.c
2013-07-05 23:20:56 -04:00
Benoît LeBlanc
d72452b4f5 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Bernhard Miklautz (4) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  libfreerdp-core: fix unused variable
  libfreerdp-codec: add bitmap encoder
  cmdline: unix/windows return detected error
  client/common: fixed command line parsing issue
  channels/serial: bring it back to life
  nla: invalidate sec handle after creation
  tls: updated certificate mismatch message
2013-07-05 16:35:08 -04:00
Marc-André Moreau
5f4f3af98a Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-07-04 20:33:00 -04:00
Benoît LeBlanc
c17c2f811b FreeRDP:
- replaced char* by const char* in function prototypes
- MacFreeRDP: moved assignation of context function pointers
- freerdp: added more pointer and return value validations to prevent crashes
2013-07-04 14:42:40 -04:00
Benoît LeBlanc
ea4ad89f09 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  freerdp: separate GatewayUsageMethod from GatewayEnabled
2013-07-03 15:07:35 -04:00
Marc-André Moreau
bc631c93a8 freerdp: separate GatewayUsageMethod from GatewayEnabled 2013-07-03 15:07:12 -04:00
Bernhard Miklautz
450b64ee73 cmdline: unix/windows return detected error 2013-07-03 16:44:06 +02:00
Bernhard Miklautz
df2aab92c0 client/common: fixed command line parsing issue
fixes #1333
2013-07-03 16:41:26 +02:00
Benoît LeBlanc
13a9de2b7a Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Bernhard Miklautz (14) and others
# Via Marc-André Moreau (10) and others
* 'master' of git://github.com/awakecoding/FreeRDP: (40 commits)
  xfreerdp: improve selection between multitouch and non-multitouch devices with XInput 2
  cache and core: set pointer to NULL after free
  pointer cache: fixed double free
  freerdp-client: use 32bpp with NSCodec
  libwinpr-utils: fix deadlock in PubSub
  utils/profiler: fix unix build
  utils: fix broken stopwatch implementation
  Android: various bug fixes to prevent NullPointerExceptions
  client/x11: fixed incorrect size calculation
  libfreerdp-utils/pcap: open pcap in binary mode
  libwinpr-synch: fix broken USleep (on WIN32)
  sample server: support build on win32
  server/sample: fix for issue #1312 (mstsc protocol error)
  fixed incorrect size calculation
  libfreerdp-common: add some null pointer checks.
  libfreerdp-codec/rfx: fix a memory leak.
  winpr/alignment: use size_t instead of UINT32
  Assorted tsmf and gstreamer fixes:
  winpr: offset support in _aligned_offset_malloc
  xfreerdp-server: removed binary
  ...
2013-07-02 16:13:58 -04:00
Benoît LeBlanc
96b9972307 MacFreeRDP: fixed crash when opening second session
(unrecognized selector sent to instance … )
2013-07-02 16:13:43 -04:00
Marc-André Moreau
c084e0f8ae xfreerdp: improve selection between multitouch and non-multitouch devices with XInput 2 2013-06-28 13:46:58 -04:00
Marc-André Moreau
863b51f938 freerdp: merge with master 2013-06-28 12:50:24 -04:00
Marc-André Moreau
1d0a579590 freerdp-client: use 32bpp with NSCodec 2013-06-27 15:39:56 -04:00
Benoît LeBlanc
6621239946 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  freerdp: add new events for scaling and panning changes
  xfreerdp: add ParamChange event handler
  freerdp: add more settings for window panning and scaling
  winpr: add _WINRT platform detection macro
2013-06-27 11:24:51 -04:00
Benoît LeBlanc
0f24f6490e MacFreeRDP - Replaced MRDPView instance in NIB with instance allocated by the API. 2013-06-27 11:22:15 -04:00
Marc-André Moreau
c8a09f3f76 xfreerdp: add ParamChange event handler 2013-06-26 18:57:16 -04:00
Benoît LeBlanc
ed4a25d1ae WaykClient (Mac): integrated MRDPView (allocated at runtime) 2013-06-26 13:45:12 -04:00
Martin Fleisz
77f8ca315e Android: various bug fixes to prevent NullPointerExceptions 2013-06-26 06:50:10 -07:00
Bernhard Miklautz
03f2b7ea51 client/x11: fixed incorrect size calculation
xf_Bitmap_Decompress used the same calculation like gdi_Bitmap_Decompress
see #1310
2013-06-26 14:35:49 +02:00
Benoît LeBlanc
44034305d3 Fixed output path for MacFreeRDP framework deployment.
MRDPView: replaced awakeFromNib with viewDidLoad
2013-06-25 16:05:37 -04:00