Commit Graph

364 Commits

Author SHA1 Message Date
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
Marc-André Moreau
8e424f7e4c channels: simplify API 2012-10-16 12:41:16 -04:00
Marc-André Moreau
aaef9694ab libfreerdp-channels: split in client/server functionality, move to libfreerdp-channels-client and libfreerdp-channels-server 2012-10-15 17:03:34 -04:00
Marc-André Moreau
7f98af7d20 libfreerdp-client: update clients to link to proper library 2012-10-14 12:21:33 -04:00
Marc-André Moreau
06fa85f31c cmake: refactoring of MONOLITHIC_BUILD 2012-10-13 17:30:59 -04:00
Marc-André Moreau
5d69a74d34 libfreerdp-core: make more caches configurable through the registry 2012-10-12 15:47:51 -04:00
Marc-André Moreau
fba82c1a23 wfreerdp: fix compilation on Windows 2012-10-09 12:23:35 -04:00
Marc-André Moreau
9d064171a7 freerdp: get rid of old types 2012-10-09 03:26:39 -04:00
Marc-André Moreau
1bf8a45519 freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
Marc-André Moreau
1ed644786c freerdp: change boolean type to BOOL type 2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8 freerdp: change true/false to TRUE/FALSE 2012-10-09 02:31:28 -04:00
Marc-André Moreau
9909a12af5 libfreerdp-utils: get rid of xmalloc, xrealloc and xfree 2012-10-08 23:21:26 -04:00
Marc-André Moreau
e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -04:00
Marc-André Moreau
40eea7c76b cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD 2012-10-08 22:55:06 -04:00
Marc-André Moreau
ce71721698 channels: rename WITH_STATIC_PLUGINS to STATIC_CHANNELS 2012-10-08 22:53:05 -04:00
Marc-André Moreau
837cc777ce channels: move include/freerdp/plugins to include/freerdp/client 2012-10-08 20:33:58 -04:00
Marc-André Moreau
3d98273185 channels: fix export of symbols on Windows 2012-10-07 10:21:54 -04:00
Marc-André Moreau
cb69657b81 channels: refactoring of rdpdr cmake scripts 2012-10-05 16:01:59 -04:00
Marc-André Moreau
2fde653d8a wfreerdp: merging with win32 integration branch 2012-10-02 11:05:21 -04:00
Marc-André Moreau
c29b786819 Merge branch 'master' of github.com:FreeRDP/FreeRDP into channels 2012-10-02 11:02:09 -04:00
Marc-André Moreau
84b21a61c4 libfreerdp-core: fix setting rdp->disconnect 2012-10-02 10:28:04 -04:00
richterger
37ca446cae win32: make rdpdr printer plugin working on win32 2012-10-02 09:10:21 +02:00
richterger
f99e8e364a win32: Fixes segfault that can occurs when a keyboard event arrives, but no main window is available (e.g. while closing the application) 2012-10-02 09:04:58 +02:00
richterger
fbe8a2eaae Make the rdpdr disk plugin working on windows.
Currently not working are rename and setting of read only attribute and file times.

In addition it also adds the ability to staticly link plugins into the binary, so you get one big exe and need no dlls. I have only tested this on windows (only disk plugin so far).

I use the following options for cmake for static binary:

cmake -DWITH_MONOLITHIC_BUILD=ON -DMSVC_RUNTIME=static -DBUILD_SHARED_LIBS=OFF -DWITH_RDPDR=ON -DOPENSSL_INCLUDE_DIR=\opensslpath\inc32 -DOPENSSL_LIBRARIES="\opensslpath\out32.dbg\ssleay32.lib;d:\path\out32.dbg\libeay32.lib" -G "Visual Studio 9 2008" .

Important notice: Openssl need to be compiled with the same static runtime. Currently missing is a switch to link different openssl libraries for debug and release builds.
2012-10-02 08:58:54 +02:00
Jay Sorg
7ef2ba88b4 win32: increate the MsgWaitForMultipleObjects timeout since the main loop is working right 2012-10-01 12:09:28 -07:00
Marc-André Moreau
659a901450 cmake: add solution folder subdirectories 2012-10-01 11:48:53 -04:00
Marc-André Moreau
867c169148 libfreerdp-locale: cleanup keyboard code 2012-09-22 14:27:30 -04:00
Marc-André Moreau
8c5ea19391 wfreerdp: fix RemoteFX 2012-09-03 17:38:22 -04:00
Marc-André Moreau
90bd43f26e wfreerdp: fix memory leaks 2012-08-29 17:50:13 -04:00
Marc-André Moreau
f8f1cddacf wfreerdp: Windows 8 fixes 2012-08-28 18:01:42 -04:00
Marc-André Moreau
f1fa98c997 wfreerdp: fix compilation warnings on Windows 2012-08-14 18:39:07 -04:00
Marc-André Moreau
faa4311232 libwinpr: add proper config.h inclusions 2012-08-14 17:20:53 -04:00
Marc-André Moreau
bccc9cb8f5 cmake: update cmake client scripts for monolithic build 2012-08-14 00:11:04 -04:00
Marc-André Moreau
4b720a6c0d client: merging Mac OS X and Windows client improvements from Jay Sorg 2012-07-31 16:27:42 -04:00
Marc-André Moreau
8203876838 wfreerdp: fix 16bpp colors 2012-07-28 21:37:34 -04:00
xangis
502396c99a Add stubs for wf_rail and wf_window for Windows client. 2012-07-24 17:58:04 -07:00
xangis
c74cae4209 Add building channels for Windows and stubs for clipboard reader. 2012-07-20 14:05:06 -07:00
unknown
a34ecc48b0 Fix for corruption during color conversion on Windows. 2012-06-19 15:32:10 -07:00
Julien Ropé
de3a6b6070 Replace malloc by xmalloc calls 2012-05-09 14:10:54 +02:00
Julien Ropé
b2177dc8c3 Replacing malloc calls by xmalloc or xzalloc as appropriate.
This will make sure we get an appropriate error message in case of memory allocation error, and not just a "Segmentation Fault"

Added some validation on xzalloc return in serial_tty_new to properly deallocate resources when an error occurs.
2012-05-07 15:27:13 +02:00
Marc-André Moreau
e1e3f12114 winpr: move wtypes.h and windows.h 2012-05-04 19:36:35 -04:00
Mads Kiilerich
bf39645039 wfreerdp: fix typo in incomplete keyboard refactorings 2012-03-30 23:28:03 +02:00
Mads Kiilerich
eadf4036e7 wfreerdp: handle invalid command line arguments in a slightly more elegant way 2012-03-30 23:27:21 +02:00
Mads Kiilerich
3e4b434925 clients: use rdp scancode definitions when sending key events
This also introduces a slightly more high-level convenience function for
sending key events. The existing function where an RDP protocol flag field has
to be encoded by the caller is very lowlevel ... and a bad fit for fastpath
input. That could use a refactoring.
2012-03-29 01:12:48 +02:00
Marc-André Moreau
98514568d6 Merge pull request #485 from llyzs/nsc
NSCodec decoder improvement
2012-03-06 19:46:32 -08:00
Marc-André Moreau
6c9ae5ddad wfreerdp: fix portability issues 2012-03-05 21:04:42 -05:00
Vic Lee
3fa2c4830e nsc: refactor nsc decoder #1
o the decoded argb buffer can be reused to enhance performance
o pass width, height and bpp through nsc_process_message() call
o rename nsc_context_destroy to nsc_context_free and make it actually free the context
2012-03-05 17:32:14 +08:00
Marc-André Moreau
fada84d029 wfreerdp: minor fixes 2012-02-28 17:10:06 -05:00
Mads Kiilerich
15169d0314 introduce generic ARRAY_SIZE macro 2012-02-28 18:11:11 +01:00
Norbert Federa
b224126cc7 Completed (almost) System Pointer Update (MS-RDPBCGR 2.2.9.1.1.4.3)
Todo:
- Windows client: wf_Pointer_SetNull and wf_Pointer_SetDefault are just skeletons like all the other wf_Pointer functions.
- DirectFB client: only df_Pointer_SetNull is implemented and tested
2012-02-24 13:44:23 +01:00
Mads Kiilerich
1e46fae33e debug: remove extra newlines in debug messages 2012-02-21 23:22:01 +01:00
Marc-André Moreau
2bde041788 wfreerdp: fix RemoteFX 2012-02-08 21:44:22 -05:00
Marc-André Moreau
949bce4d54 wfreerdp: fix warnings and color conversion 2012-01-16 11:40:18 -05:00
louyihua
77523cf587 wfreerdp: Fix the crash when 'HOME' env is not defined. Now use 'HOMEDRIVE' and 'HOMEPATH' to combine it if it don't exist. 2012-01-10 05:19:28 +08:00
Marc-André Moreau
2d34a62ce8 libfreerdp-codec: fix color conversion issues for OpaqueRect with --gdi sw,hw 2011-12-30 10:00:03 -05:00
Vic Lee
0975b4555c libfreerdp-core: move os type settings to the client.
Moving the osMajorType and osMinorType settings to the client so that the
client can set a real os type constant. This will give a more useful hint
to the server.
2011-12-24 15:48:33 +08:00
louyihua
32ff6a0b69 wfreerdp: enable SSE2 acceleration for RemoteFX under Visual C++ 2011-12-21 08:32:04 +08:00
Marc-André Moreau
8e8d62e067 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-12-16 14:43:33 -05:00
Marc-André Moreau
8bb1554851 wfreerdp: fix RemoteFX 2011-12-16 14:43:14 -05:00
Marc-André Moreau
bdc181ecbe libfreerdp-gdi: fix opaque rect color with --gdi sw 2011-12-13 11:36:05 -05:00
Marc-André Moreau
904a9a7c6a xfreerdp: add -X option for reparenting window 2011-12-09 13:53:19 -05:00
Marc-André Moreau
a50ef84c21 wfreerdp: fix compilation and warnings 2011-12-03 17:24:18 -05:00
bluebird
a40f5c1718 xfreerdp, wfreerdp: Add -T option to set window title 2011-12-02 15:58:38 +01:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
d2b324dccf wfreerdp: started porting RemoteFX 2011-11-12 02:35:18 -05:00
Marc-André Moreau
2f694ce396 wfreerdp: fix region invalidation, add Polyline and PatBlt 2011-11-12 02:11:10 -05:00
Marc-André Moreau
0f622844c3 wfreerdp: improve rendering to a usable level 2011-11-12 01:41:28 -05:00
Marc-André Moreau
150ff56f5f wfreerdp: fix compilation warnings and errors 2011-11-12 00:51:41 -05:00
Marc-André Moreau
b2644901f4 libfreerdp-cache: refactoring of color table cache 2011-11-11 02:07:53 -05:00
Marc-André Moreau
823e3414d6 libfreerdp-cache: initial glyph cache support 2011-11-08 23:26:44 -05:00
Marc-André Moreau
d0b9478f45 wfreerdp: fix bitmap decompression 2011-10-26 15:38:50 -04:00
Marc-André Moreau
82ea77158c wfreerdp: fix compilation on windows 2011-10-21 16:45:35 -04:00
Marc-André Moreau
488a4161f5 libfreerdp-core: refactoring of callback prefix 2011-10-20 23:15:18 -04:00
Marc-André Moreau
657fd998e5 xfreerdp: fix bitmap updates after refactoring 2011-10-20 21:34:55 -04:00
Marc-André Moreau
b7e7067176 libfreerdp-core: refactoring of core bitmap objects 2011-10-20 17:28:59 -04:00
Martin Fleisz
cc210f5591 core: Added ui callback to verify certificates 2011-10-18 08:02:05 -07:00
Marc-André Moreau
0d6c6b3bd0 wfreerdp: fix after freerdp API change 2011-10-17 00:01:50 -04:00
Marc-André Moreau
39593a7f5e wfreerdp: fix after libfreerdp-core refactoring 2011-10-16 23:45:58 -04:00
Marc-André Moreau
0549380c28 libfreerdp-channels: rename from libfreerdp-chanman 2011-10-16 14:57:15 -04:00
Marc-André Moreau
c639ec8593 libfreerdp-core: refactoring of context pointers into rdpContext 2011-10-16 00:50:10 -04:00
Marc-André Moreau
0aba540ad2 wfreerdp: fix windows build after cache refactoring 2011-10-13 20:10:59 -04:00
Marc-André Moreau
8999bd8599 libfreerdp-cache: refactoring of bitmap and offscreen bitmap cache, fix major memory leaks 2011-10-13 15:51:07 -04:00
Marc-André Moreau
9a72e4ffea libfreerdp-cache: refactoring of pointer cache 2011-10-11 18:51:45 -04:00
Nicolas GRAZIANO
6b7777409e Make wfreerdp work with 16 bpp color from server. 2011-10-08 15:42:50 +02:00
Marc-André Moreau
51c8794e89 wfreerdp: fix wf_gdi.c 2011-10-07 14:55:07 -04:00
Marc-André Moreau
f6cd71026e xfreerdp: started bitmap caching support 2011-10-04 21:29:01 -04:00
Marc-André Moreau
a758908c63 wfreerdp: start GDI implementation 2011-10-04 16:05:09 -04:00
Marc-André Moreau
3297db7062 libfreerdp-codec: merge with libfreerdp-rfx 2011-10-02 20:28:20 -04:00
Marc-André Moreau
3b3152003f xfreerdp: fix usage of invalid structure pointer in event handling 2011-09-25 17:47:40 -04:00
Marc-André Moreau
e5215158d2 wfreerdp: start Win32 GDI implementation, fix certstore 2011-09-25 16:30:20 -04:00
Marc-André Moreau
347f626a61 wfreerdp: fix tcp non-blocking read 2011-09-25 14:54:07 -04:00
Marc-André Moreau
5de4cdbedc wfreerdp: fix mutex handling 2011-09-25 03:12:29 -04:00
Marc-André Moreau
c2ccba532f cmake: fix build options for wfreerdp 2011-09-23 14:38:16 -04:00
Marc-André Moreau
17ed282656 wfreerdp: fix compilation on windows 2011-09-23 14:25:38 -04:00
Marc-André Moreau
13bdbc0744 wfreerdp: initial commit 2011-08-31 05:59:03 -04:00