Commit Graph

344 Commits

Author SHA1 Message Date
Armin Novak
ad3255354d Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without
SOVERSION information. (required by Android)
2014-07-11 11:53:58 +02:00
Bernhard Miklautz
6a49bcfe40 winpr: always build "monolitic"
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.

The only exception is winpr-makecert-tool which is still build as extra
library.

This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
ac7d23b9a3 libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free 2014-07-08 15:07:19 -04:00
Marc-André Moreau
2a82684521 channels: cleanup unused freerdp channels global functions 2014-06-11 16:27:31 -04:00
Marc-André Moreau
53639dea0b channels: reduce dependency on svc_plugin.h 2014-06-11 15:09:28 -04:00
Marc-André Moreau
4bac8374de Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-05-21 11:17:58 -04:00
Marc-André Moreau
94a836078f Merge pull request #1854 from zhangzl2013/floatbar
wfreerdp-floatbar: fix bug in non-fullscreen mode.
2014-05-21 11:02:16 -04:00
Marc-André Moreau
422a279682 Merge pull request #1853 from zhangzl2013/async
wfreerdp: add async input, update, transport and channels' events
2014-05-21 11:01:53 -04:00
Bernhard Miklautz
92f74d15e8 Merge pull request #1762 from zhangzl2013/wfreerdp
wfreerdp: fix incorrect line color.
2014-05-21 11:21:02 +02:00
Zhang Zhaolong
5415577bde wfreerdp-floatbar: fix bug in non-fullscreen mode. 2014-05-21 16:13:55 +08:00
Zhang Zhaolong
4fc7a3c9ad wfreerdp: add async input, update, transport and channels' events handling. 2014-05-21 14:52:57 +08:00
Hardening
5aa5dd4609 Merge pull request #1430 from sukhodolin/Fixes
Fix debug output on Win32
2014-05-20 15:14:22 +02:00
Marc-André Moreau
ee282a931b freerdp: fix build warnings on Windows 2014-05-10 09:50:36 -04:00
Zhang Zhaolong
92c77d0134 wfreerdp: port auto reconnection to Windows. 2014-04-27 20:52:45 +08:00
Zhang Zhaolong
d3d3a21079 wfreerdp: fix incorrect line color. 2014-03-28 09:59:56 +08:00
Zhang Zhaolong
55dc60f956 wfreerdp: kbd: fix ctrl/alt syncronization. 2014-03-17 15:01:15 +08:00
Marc-André Moreau
e0966bbfff Merge branch 'master' of github.com:mrthebunny/FreeRDP 2014-03-10 23:08:17 -04:00
Zhang Zhaolong
bb2e5c5cb9 clipboard: wfreerdp: implement file clipping. 2014-03-10 14:25:59 +08:00
Zhang Zhaolong
193c0409b7 wfreerdp: fix warning. 2014-03-10 14:25:58 +08:00
Zhang Zhaolong
9df4541c5c clipboard: wfreerdp: implement COM objects for file clipping. 2014-03-10 14:25:58 +08:00
Zhang Zhaolong
1571ed5c67 clipboard: wfreerdp: add COM objects for file clipping. 2014-03-10 14:25:57 +08:00
Zhang Zhaolong
edd3bff950 clipboard: implement file clipping on XP.
add temp directory.
    use %TEMP% directory as file transfering temprorary directory.
    if %TEMP% directory is in C:\, driver C:\ should be redirected in order
    to enable file clipping on XP.
2014-03-10 14:25:56 +08:00
Zhang Zhaolong
353b4f8ba3 clipboard: add events for file clipping. 2014-03-10 14:25:56 +08:00
Benoît LeBlanc
557c082458 Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-03-05 16:35:22 -05:00
Marc-André Moreau
bb47eb3604 Merge pull request #1711 from zhangzl2013/wfreerdp
wfreerdp run-time fix.
2014-03-05 11:27:32 -05:00
Maks Naumov
012a729878 fix "mcode" check in cliprdr_thread_func()
Priority of the '!=' is higher than '=' operator
2014-03-05 15:24:42 +02:00
Zhang Zhaolong
cee1807bd2 wfreerdp: fix screen crash when connecting to XP desktop with some resolution. 2014-03-04 15:35:21 +08:00
Zhang Zhaolong
dcc4477e64 wfreerdp: disable fullscreen toggle in fix size mode. 2014-03-04 13:54:27 +08:00
Zhang Zhaolong
83f8d47d20 wfreerdp: floatbar: minor cleanup. 2014-03-04 13:54:27 +08:00
Marc-André Moreau
951368a1ce Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-02-27 13:58:29 -05:00
Marc-André Moreau
b75acd4dce Merge pull request #1703 from zhangzl2013/wfreerdp-floatbar
wfreerdp floatbar
2014-02-27 13:52:33 -05:00
Zhang Zhaolong
4254100a10 wfreerdp: floatbar: code reduce. 2014-02-27 14:30:58 +08:00
Zhang Zhaolong
c0ac3ee927 wfreerdp: floatbar: fix lose position after fullscreen toggling.
minor code cleanup.
2014-02-27 13:44:49 +08:00
Zhang Zhaolong
491490f505 wfreerdp: floatbar: fix lock behavior. 2014-02-27 12:21:59 +08:00
Zhang Zhaolong
53ed501d14 wfreerdp: floatbar: rename functions. 2014-02-27 12:17:41 +08:00
Zhang Zhaolong
169a0cd671 wfreerdp: floatbar: add files to CMakeLists. 2014-02-27 11:45:11 +08:00
Zhang Zhaolong
96562e533f wfreerdp: floatbar: enabled. 2014-02-27 11:43:52 +08:00
Zhang Zhaolong
9f6dbed05b wfreerdp: floatbar: add implementation. 2014-02-27 11:40:21 +08:00
Zhang Zhaolong
4a6c2ecfce wfreerdp: floatbar: add bmp resources ids. 2014-02-27 11:38:21 +08:00
Zhang Zhaolong
131627fb2b wfreerdp: floatbar: add bmp resources. 2014-02-27 11:37:17 +08:00
Zhang Zhaolong
07c0d82671 wfreerdp: fix fullscreen. 2014-02-26 11:34:48 +08:00
Zhang Zhaolong
600fa04bec wfreerdp: fix gdi polyline mistake. 2014-02-10 14:43:58 +08:00
Marc-André Moreau
d64f86d52c wfreerdp: fix 64-bit build 2014-02-10 00:34:17 -05:00
Benoît LeBlanc
9d929469d2 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau (27) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP: (48 commits)
  afreerdp: fix build on Android
  libwinpr-wtsapi: include wtsapi32.h on Windows
  wfreerdp: fix target exporting
  wfreerdp: fix building against OpenSSL with MONOLITHIC_BUILD and shared libraries
  wfreerdp: fix test build issues
  libwinpr-crypto: implement CryptProtectMemory/CryptUnprotectMemory
  libwinpr-memory: add missing definitions
  libwinpr-memory: start stubbing
  Increased size of stream on GCC conference create request from 512 to 1024.  For large numbers of static virtual channels, the stream was being overflowed and was causing crashes.
  Fixes to process new command line options (autodetect, heartbeat, multitransport), join the MCS message channel and process auto-detect PDUs during the connection sequence.
  wfreerdp: fix build against static openssl library
  winpr-hash: fix building against openssl in static mode
  libfreerdp-gdi: fix invalidation of region with line drawing
  mfreerdp: fix hungarian keyboard '0' and 'i' key inversion
  Fixes build issue on Windows
  libwinpr-synch: add active/inactive linked list for timer queue
  libwinpr-synch: improve timer queue implementation
  libwinpr-synch: make use of head's expiration time in timer queue
  libwinpr-synch: make use of timespec for timer queue
  libwinpr-synch: improve timer queue implementation
  ...

Conflicts:
	client/common/CMakeLists.txt
2014-02-04 11:37:40 -05:00
Marc-André Moreau
17665378a9 wfreerdp: fix target exporting 2014-02-02 22:37:54 -05:00
Benoit LeBlanc
b142bd4e4d Added PubSub notification on mouse events (only triggered in Windows) 2014-01-17 18:17:10 -05:00
Benoît LeBlanc
018df2a6ee Only install cli binary if VENDOR is FreeRDP 2014-01-10 19:20:27 -05:00
Marc-André Moreau
e7974090bb freerdp: fix removal of OnParamChange event 2013-12-11 17:29:09 -05:00
Marc-André Moreau
73196c3777 libfreerdp-common: add fine grained control over .rdp file writing functions 2013-12-04 18:25:55 -05:00
Marc-André Moreau
b33f222472 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-11-25 12:31:43 -05:00
Zhang Zhaolong
6a11e6226b fix a gdi leak bug. 2013-11-24 16:01:11 +08:00
Marc-André Moreau
21ec46036b channels/cliprdr: start implementing clean callback interface 2013-11-23 21:35:44 -05:00
Zhang Zhaolong
f7cf0eace7 check return value. 2013-11-21 14:26:29 +08:00
Zhang Zhaolong
304fb6d137 reformat coding styles. 2013-11-21 13:45:16 +08:00
Zhang Zhaolong
c196e0b2c1 fix name length to copy. 2013-11-21 13:35:21 +08:00
Zhang Zhaolong
b79ce07137 fix memory realloc size error. 2013-11-21 13:28:54 +08:00
Marc-André Moreau
b4a78c31bb Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-11-06 13:59:03 -05:00
Zhang Zhaolong
870e52ed1d Add cliprdr on windows. File clipping is not supported yet. 2013-11-05 10:52:17 +08:00
Marc-André Moreau
37450da55d cmake: fix exporting of targets on pre-2.8.11 2013-10-29 14:47:40 -04:00
Marc-André Moreau
d30f66b1b7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-10-23 14:18:40 -04:00
Zhang Zhaolong
ccf37ed498 fix a keyboard focus bug:
keyboard will loose focus when recovering from minimized state.
2013-10-23 14:03:04 +08:00
Benoît LeBlanc
b27461e693 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau (13) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  libfreerdp-rail: cleanup RAIL code
  libwinpr-utils: fix IPv4 checksum and TCP sequence numbers with wlog packet messages
  libwinpr-utils: improve quality of data for reconstructed IP headers
  libwinpr-utils: initial wlog packet header reconstruction
  libwinpr-utils: start reconstructing IP headers for wlog packet message
  libfreerdp-core: started logging packets to pcap file
  libwinpr-utils: start implement wlog packet appender
  libwinpr-utils: add some configurability to wlog with environment variables
  libfreerdp-core: added debug output for surface commands
  libfreerdp-codec: start making use of WLog for RemoteFX
  libwinpr-utils: fix wlog build warnings
  mfreerdp: fix keyboard mapping for toggle keys
  fixed warining fo not constant log format string
  Fix function prototype
  libwinpr-utils: improved binary appender
  fixed memory leak in wlog
  loglevel filtering fix

Conflicts:
	client/Mac/MRDPView.m
2013-10-15 10:01:36 -04:00
Marc-André Moreau
59eccac4e7 libfreerdp-client: refactor and decouple rdpSettings* from client context 2013-10-12 21:07:12 -04:00
Benoît LeBlanc
46c06b5081 converted function wf_on_param_change to new PubSub_ system. The function was not called anymore, which caused a refresh problem when changing Smart Sizing during a session. 2013-10-07 13:46:13 -04:00
Benoît LeBlanc
77c260da14 wf_interface: added function wf_set_window_size
windows: triggering OnEmbedWindow event
2013-10-03 17:09:53 -04:00
Benoît LeBlanc
fcb9ccd215 Fixed decoration in embedded mode in Windows 2013-10-02 14:33:10 -04:00
Benoît LeBlanc
27750e7022 wf_event: missing parentesis 2013-10-01 15:45:50 -04:00
Marc-André Moreau
929d292f35 wfreerdp: fix compilation 2013-09-19 12:08:20 -04:00
Marc-André Moreau
518995a05e freerdp: merge with master 2013-09-16 17:10:27 -04: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
c5a632d8f9 Fixed thread handling. 2013-09-05 13:39:43 +02:00
Marc-André Moreau
b480ce1830 freerdp: remove vendor-specific options from build system, add automatic ways of including external clients/servers 2013-09-03 20:37:04 -04:00
Eugene Sukhodolin
63eef3e7e6 Win32: Redirect stderr to the current console. This fixes a problem introduced on Win32 by replacing printf(...) with fprintf(stderr, ...) 2013-08-17 23:49:51 +07:00
Eugene Sukhodolin
9e958a6a3c Remove temporary auto-generated Visual Studio files from source control and don't track them anymore (via .gitignore) 2013-08-17 21:48:27 +07:00
Marc-André Moreau
0fd705c6c7 channels/cliprdr: start server-side implementation 2013-08-16 16:46:47 -04:00
Marc-André Moreau
1e5118116d libfreerdp-codec: start implementing split NSCodec encoder 2013-08-14 23:16:13 -04:00
Marc-André Moreau
fe25303656 libfreerdp-codec: internal refactoring 2013-08-13 17:18:59 -04:00
Marc-André Moreau
fdcf3a75be wfreerdp: fix build warnings 2013-07-26 15:43:55 -04:00
Benoît LeBlanc
03a401b8e6 CMakelists:
disabled installation of headers and libraries for the wayk client.
2013-07-25 21:59:21 -04:00
Marc-André Moreau
b55725487f wfreerdp: fix basic connectivity 2013-06-16 00:51:48 -04:00
Marc-André Moreau
c76efec345 wfreerdp: update client with new API 2013-06-15 22:57:21 -04:00
Marc-André Moreau
208c9f844a freerdp: fix core API bugs 2013-06-13 21:34:46 -04:00
Marc-André Moreau
e9edd489df mfreerdp: fix build on Mac OS X 2013-05-31 15:45:55 -04:00
Benoit LeBlanc
bda6acbf3f Updated with changes from awakecoding repository. 2013-05-31 14:54:15 -04:00
Benoit LeBlanc
d1598f14be Added focus handling on WM_ACTIVATE 2013-05-31 14:20:43 -04:00
Marc-André Moreau
601b0c7f8c wfreerdp: update client interface 2013-04-30 15:18:26 -04:00
Benoit LeBlanc
c8d1ef33da wfreerdp: resize window on setting smartsize off 2013-04-30 13:08:41 -04:00
Benoit LeBlanc
3f12dc351b wfreerdp: fixed upscaling 2013-04-30 12:56:16 -04:00
Benoit LeBlanc
0b9112b091 Added System menu for "Smart Sizing". Small fixes
Fixed an issue where the scrollbars were not disappearing when
maximizing window.
2013-04-30 11:15:04 -04:00
Benoit LeBlanc
391d238f1a wfreerdp: scrollbars, aspect ratio smartsizing 2013-04-26 15:46:36 -04:00
Benoit LeBlanc
b91a7cd3a8 fixed fullscreen toggle positioning, smartsizing
Also: added maximum window size
2013-04-25 17:18:14 -04:00
Benoit LeBlanc
a5bcb8bc21 Smart sizing, dual monitor in client app
Scaling functions: do not scale with a ratio > 1.
2013-04-25 15:42:40 -04:00
Benoit LeBlanc
28e67a6adc wfreerdp: added MultiMon support (fullscreen only) 2013-04-25 10:50:26 -04:00
Benoit LeBlanc
4bfa11bcca wf_toggle_fullscreen: change hwnd parent
Also: do not lose focus
2013-04-24 16:47:32 -04:00
Benoit LeBlanc
8b443989bb Cleaned up settings, removed duplicate functions
param change callback mechanism moved to settings.c

Started replacing
settings->Field = value
with
freerdp_set_param_XXX(settings, FreeRDP_Field, value);
2013-04-24 16:33:43 -04:00
Benoit LeBlanc
3eebd2edf2 Implemented writing RDP file to disk
TODO: Optimize by only writing the fields that have a value i.e
~((size_t) file->FieldName) != 0

Fixed wfi leak.
Fixed insufficient mem alloc.
2013-04-22 16:08:47 -04:00
Benoit LeBlanc
3549e97abb Callback function handling
Added possibility for the client to register for callback from FreeRDP.

Currently supported callback events:
- setting value changed
- connected
- disconnected
2013-04-19 10:06:26 -04:00
Benoit LeBlanc
315f3705b2 Added settings set/get functions to client API
- setting setter function has internal handling. TODO: callback to
client.
- added missing SmartSizing param
2013-04-15 15:58:56 -04:00
Benoit LeBlanc
8a637e0c0d fixed function name. Added settings function.
Added keyboard thread termination message.
2013-04-11 16:19:58 -04:00
Marc-André Moreau
f0a45f96f5 client: add CLIENT_INTERFACE_SHARED option forcing shared client libs with BUILD_SHARED_LIBS=off, making a single library 2013-04-10 17:09:35 -04:00
Marc-André Moreau
bb733db683 wfreerdp: integrating benoit's latest code 2013-04-10 16:58:19 -04:00
Marc-André Moreau
2baa64efc2 wfreerdp: fix C++ header 2013-04-08 18:27:59 -04:00
Marc-André Moreau
6dfa196966 wfreerdp: unify client interface 2013-04-08 22:10:59 -04:00
Marc-André Moreau
022ceec22a xfreerdp: split client into executable and library 2013-04-02 16:22:30 -04:00
Marc-André Moreau
7efbf905f8 wfreerdp: integrate benoit's modifications for easier embedding of the client 2013-04-01 18:32:14 -04:00
Marc-André Moreau
d187becc28 freerdp: merge with master 2013-03-28 21:20:36 -04:00
Marc-André Moreau
3417a3aab5 freerdp: merge RDP_EVENT type with wMessage 2013-03-28 21:13:56 -04:00
Marc-André Moreau
f757623f7f channels: replace event_type, event_class with id for events 2013-03-28 20:23:16 -04:00
Hardening
7701c9d934 Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
Marc-André Moreau
8c8a82c31f libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
Marc-André Moreau
21a107015a wfreerdp: add parent window handle parameter 2013-03-19 13:17:30 -04:00
Marc-André Moreau
488d2c5672 wfreerdp: fix icon 2013-03-19 11:11:14 -04:00
Marc-André Moreau
acf9429b52 wfreerdp: split client into library and executable 2013-03-18 22:09:52 -04:00
Marc-André Moreau
ac4cb24a68 wfreerdp: clean separation of client core and controlling code 2013-03-18 21:54:50 -04:00
Marc-André Moreau
aec86e1da8 wfreerdp: start splitting CLI from client core 2013-03-18 20:12:51 -04:00
Marc-André Moreau
75f80d0198 libfreerdp-locale: cleanup solaris code 2013-03-06 12:50:25 -05:00
Martin Fleisz
a822d736f0 Fixed issues with new sysinfo on windows 2013-03-04 09:40:26 +01:00
Vic Lee
7bd1c1a2b6 wfreerdp: fix minor memory leak. 2013-01-21 13:20:07 +08:00
Daryl Poe
b64408975d freerdp primitives library 2013-01-18 15:32:58 -07:00
Vic Lee
6b91ed5830 Frame acknowledgement should be sent by client UI. 2013-01-17 12:58:01 +08:00
Vic Lee
6b97642a93 wfreerdp: enable fullscreen toggling even started in window mode. 2013-01-17 11:05:26 +08:00
Marc-André Moreau
0146b21eb5 libfreerdp-core: fix surface commands 2013-01-14 15:19:51 -05:00
rdp.effort
4d90284657 Renamed CODEC_ID_NONE to RDP_CODEC_ID_NONE as it is already defined in
avcodecs.h
Fixed a warning in schannel_openssl.c
Added checks for: input, mcs, tpdu, certificate, license
2013-01-12 14:49:01 +01:00
Vic Lee
ccdcd8b604 wfreerdp: support DesktopResize and fullscreen toggling. 2012-12-25 12:10:24 +08:00
Vic Lee
7871a2d433 wfreerdp: fix color cursor support. 2012-12-21 20:29:47 +08:00
Vic Lee
7206246c83 wfreerdp: add missing wf_invalidate_region for NSCodec. 2012-12-21 16:39:09 +08:00
Vic Lee
08d6f6fd12 wfreerdp: fix NSCodec and NoCodec. 2012-12-21 14:46:39 +08:00
Vic Lee
e568c8e466 wfreerdp: fix a stack corruption when processing cursor. 2012-12-20 21:06:07 +08:00
Marc-André Moreau
d19e2042c3 libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR 2012-12-17 10:20:25 -05:00
Marc-André Moreau
808fc210e3 libfreerdp-utils: remove hexdump utils in favor of WinPR utils 2012-12-13 23:54:54 -05:00
Marc-André Moreau
4747effa9d libfreerdp-client: cleanup old syntax detection 2012-12-02 14:18:36 -05:00
Marc-André Moreau
e6f524f6c3 libfreerdp-client: accept posix-style command-line syntax 2012-12-02 13:34:00 -05:00
Marc-André Moreau
f6748dba3f wfreerdp: update client 2012-11-22 09:06:45 -05:00
Marc-André Moreau
01158f9a34 libfreerdp-utils: purge deprecrated load_plugin utils from source tree 2012-11-21 21:28:48 -05:00
Marc-André Moreau
8a32de3801 libfreerdp: purged source tree from deprecated memory utils 2012-11-21 21:22:06 -05:00
Marc-André Moreau
b3d8f79b5c libfreerdp-utils: replace ARRAY_SIZE custom macro with ARRAYSIZE() windows macro 2012-11-21 20:50:28 -05:00
Marc-André Moreau
5e77cefb08 libfreerdp-utils: removed part of the deprecated calls to xzalloc 2012-11-19 23:49:08 -05:00
Marc-André Moreau
925eb59bf1 libfreerdp-common: refactoring of addin loader 2012-11-17 22:03:04 -05:00
Marc-André Moreau
31417bd4b5 wfreerdp: added basic password prompt 2012-11-12 17:50:40 -05:00
Marc-André Moreau
421c4c86c4 windows: fix NSIS packaging 2012-11-12 13:17:44 -05:00
Marc-André Moreau
1c4a587ef1 windows: fix build 2012-11-11 17:23:57 -05:00
Marc-André Moreau
8544716104 libfreerdp-core: rdpSettings refactoring (part 3) 2012-11-07 18:23:33 -05:00
Marc-André Moreau
6427c9dd90 libfreerdp-core: rdpSettings refactoring (part 2) 2012-11-07 15:13:14 -05:00
Marc-André Moreau
67c24dc81d wfreerdp: add support for .rdp files 2012-10-28 12:12:36 -04:00
Marc-André Moreau
63858bf722 cmake: improve NSIS packaging 2012-10-17 13:07:29 -04:00
Marc-André Moreau
74d2244e94 libwinpr-path: fix Windows build 2012-10-17 07:48:24 -04:00
Marc-André Moreau
1adcca8d29 Merge branch 'master' of github.com:FreeRDP/FreeRDP into channels 2012-10-16 15:06:55 -04:00
Jay Sorg
e0e61e078d win32: no logic, just white space changes 2012-10-16 11:20:04 -07:00
Jay Sorg
e4307a547a win32: added cursor shape support(mono) 2012-10-16 11:06:23 -07:00
Jay Sorg
c6ecaf4442 win32: added mouse wheel support 2012-10-16 09:57:12 -07:00