Commit Graph

659 Commits

Author SHA1 Message Date
Nigel Reeves
7dedd884b9 Merge branch 'master' of https://github.com/FreeRDP/FreeRDP.git 2013-04-15 11:15:49 +01:00
Nigel Reeves
fb2a087dbf Fix to issue #773. Ensure resume in correct NumLock state, when reconnectin to a session 2013-04-15 11:14:09 +01:00
Marc-André Moreau
d04b76d005 libfreerdp-core: use stream pool 2013-04-12 13:44:23 -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
720a23e07a xfreerdp: refactor xfreerdp client interface 2013-04-08 17:03:21 -04:00
Marc-André Moreau
68e253e209 libfreerdp-core: add client interface 2013-04-08 15:37:56 -04:00
Marc-André Moreau
3f626f8a20 xfreerdp: implement xf_stop 2013-04-07 17:46:57 -04:00
Marc-André Moreau
0b4fefff76 xfreerdp: fix interface for parsing command-line arguments 2013-04-06 17:43:27 -04:00
Christian Hofstaedtler
1c17022072 Unbreak WITH_DEBUG_X11_LOCAL_MOVESIZE without WITH_DEBUG_X11 2013-04-06 18:06:20 +02:00
Marc-André Moreau
168a5eabf3 xfreerdp: add UI events (experimental) 2013-04-05 19:08:37 -04:00
Marc-André Moreau
7b2f70c0c7 xfreerdp: fix including from C++ 2013-04-03 18:48:59 -04:00
Marc-André Moreau
5b368eea0a xfreerdp: remove binary from version control 2013-04-02 16:36:45 -04:00
Marc-André Moreau
022ceec22a xfreerdp: split client into executable and library 2013-04-02 16:22:30 -04:00
Marc-André Moreau
f400045bf8 xfreerdp: improve client interface 2013-04-02 15:45:48 -04:00
Marc-André Moreau
9b351568fa xfreerdp: start implementing simplified client interface 2013-04-02 15:13:10 -04:00
Marc-André Moreau
d13f89d359 xfreerdp: modify way to return thread exit code 2013-04-02 14:51:12 -04:00
Marc-André Moreau
5660b94b92 xfreerdp: start client interface 2013-04-02 13:22:59 -04:00
Marc-André Moreau
3b0afd8b16 xfreerdp: add special extended window style WS_EX_DECORATIONS for XRDP 2013-03-28 23:47:39 -04:00
Marc-André Moreau
4ca064352f xfreerdp: fix round corners in RemoteApp 2013-03-28 23:34:26 -04:00
Marc-André Moreau
d70c1e4d5e xfreerdp: fix RemoteApp decorations 2013-03-28 23:09:28 -04:00
Marc-André Moreau
066d3384c2 xfreerdp: fix RemoteApp with system message (don't show full desktop on every single connection, just when needed) 2013-03-28 22:26:28 -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
Marc-André Moreau
8ad5932a3d channels: continue event refactoring 2013-03-28 19:33:31 -04:00
Marc-André Moreau
72bf8ea032 libfreerdp-utils: start migrating old eventing system 2013-03-28 18:29:57 -04:00
Hardening
7701c9d934 Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
Marc-André Moreau
92114d1d38 freerdp: merging with master 2013-03-27 13:13:22 -04:00
Marc-André Moreau
1df8049c08 libfreerdp-core: started async transport 2013-03-27 13:03:41 -04:00
Marc-André Moreau
1813ced156 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-26 12:45:05 -04:00
David Barth
96290efd76 add wm-class option 2013-03-26 17:33:09 +01:00
Marc-André Moreau
8c8a82c31f libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
Marc-André Moreau
a8201b0d1b libwinpr-utils: combine old and new stream utils 2013-03-21 15:19:33 -04:00
Marc-André Moreau
62eec0c2b5 libfreerdp-utils: rename internal members of STREAM to match new wStream 2013-03-21 15:01:46 -04:00
Bernhard Miklautz
77df254265 Fixed some build warnings 2013-03-15 18:22:49 +01:00
Marc-André Moreau
75f80d0198 libfreerdp-locale: cleanup solaris code 2013-03-06 12:50:25 -05:00
Marc-André Moreau
8f3911d4b8 Merge pull request #1023 from bmiklautz/cpuflagdetection
CPU feature detection
2013-03-02 15:52:25 -08:00
Bernhard Miklautz
23a7ef6c47 codec/rfx: use sysinfo to detect sse2/neon
This also moves (sse2) detection code out of the client into the decoder.
2013-03-01 09:02:14 +01:00
Stefan Giermair
f0a2ee60d1 don't set override_redirect if grab_keyboard is deactivated 2013-02-28 17:33:56 +01:00
Stefan Giermair
c0ac6e13d5 added parameter for toggle fullscreen (Alt+Ctrl+Enter) so it is deactivatable 2013-02-28 17:32:46 +01:00
Marc-André Moreau
385d0daced channels: get rid of semaphore locking, replace queues 2013-02-21 02:56:57 -05:00
Marc-André Moreau
470cdb2570 xfreerdp: add async-channels command-line argument 2013-02-19 12:29:15 -05:00
Marc-André Moreau
c19c8a40dd libfreerdp-core: fix some async updates race conditions 2013-02-14 17:43:37 -05:00
Marc-André Moreau
47a7d54370 xfreerdp: stabilize asynchronous X11 event handling 2013-02-11 20:38:19 -05:00
Marc-André Moreau
a07b3391ce xfreerdp: fix XInitThreads() usage 2013-02-11 11:40:35 -05:00
Marc-André Moreau
51a51ccd38 xfreerdp: cleanup eventing 2013-02-10 13:17:08 -05:00
Marc-André Moreau
5034ad7aa4 xfreerdp: combine X11 updates 2013-02-09 18:10:45 -05:00
Marc-André Moreau
4269ac5c14 xfreerdp: improve asynchronicity 2013-02-09 17:13:53 -05:00
Marc-André Moreau
afbf067dc5 xfreerdp: call XInitThreads() 2013-02-08 11:19:45 -05:00
Marc-André Moreau
ab708efc45 libfreerdp-core: start working on asynchronous channels 2013-02-07 09:50:15 -05:00
Marc-André Moreau
2d38f99db0 libfreerdp-core: add true asynchronous input and update 2013-02-06 21:57:49 -05:00
Marc-André Moreau
bbcf081243 libfreerdp-core: cleanup message interface 2013-02-04 15:47:13 -05:00
Marc-André Moreau
9d1fdbacfe Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-04 11:41:45 -05:00
Marc-André Moreau
72a7b83a7b Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-04 11:05:50 -05:00
Christian Landvogt
69d85ed350 X11-client: fully fix swapped R<->B colours
as in commit 38c85de539
2013-02-04 16:22:37 +01:00
Christian Landvogt
3d8c2d510b x11-client: added brush style BS_HATCHED
according to [MS-RDPEGDI] 2.2.2.2.1.1.2.3 PatBlt (PATBLT_ORDER)
2013-02-04 15:28:48 +01:00
Marc-André Moreau
e18a0b807f libfreerdp-core: fix async updates with palettes 2013-02-03 16:19:25 -05:00
Marc-André Moreau
353376abd3 libfreerdp-core: added input event queue 2013-01-27 21:07:17 -05:00
Marc-André Moreau
10a35a9224 libfreerdp-core: add +async-update and +async-input command-line options 2013-01-27 18:22:46 -05:00
Marc-André Moreau
e1d0fad519 libfreerdp-core: fix memory leaks 2013-01-25 17:52:37 -05:00
Marc-André Moreau
d8f8be192e xfreerdp: add asynchronous dequeuing of graphical messages 2013-01-25 12:08:00 -05: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
Bernhard Miklautz
49c3641b6e utils/debug: renamed DEBUG to DEBUG_MSG 2013-01-14 11:47:24 +01: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
rdp.effort
e53e8e524d Initialize lpWideCharStr parameter when using ConvertToUnicode
This patch ensure that lpWideCharStr is initialized by callers of
ConvertToUnicode
2013-01-10 21:30:32 +01:00
Jean-Louis Dupond
86bfbe1716 client-x11: fix cutoff string in cliprdr 2013-01-04 17:43:08 +01: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
af9be28000 libfreerdp-utils: purge deprecated freerdp_UnicodeToAsciiAlloc util in favor of WinPR ConvertFromUnicode 2012-12-16 23:34:07 -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
e6f524f6c3 libfreerdp-client: accept posix-style command-line syntax 2012-12-02 13:34:00 -05:00
Marc-André Moreau
4fe3501bc4 libfreerdp-core: refactoring of sequencing of TSG connection 2012-11-29 01:33:19 -05:00
Marc-André Moreau
cf5d55d3cf libfreerdp-core: attempt TsProxyCreateTunnelReadResponse fix 2012-11-27 04:05:41 -05:00
Marc-André Moreau
3626998210 client: migrate all clients to new command-line interface 2012-11-26 12:49:21 -05:00
Bernhard Miklautz
d81c0be0b9 build: require XShm for building xfreerdp 2012-11-23 13:55:02 +00:00
Marc-André Moreau
70170c7437 xfreerdp: deprecate old command-line syntax 2012-11-22 09:36:09 -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
ecddb58ba2 channels: cmake cleanup, USB redirection refactoring 2012-11-20 19:34:52 -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
83473d11d1 channels: patch memory leaks, load addins from list 2012-11-19 13:26:56 -05:00
Marc-André Moreau
82725a2df7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-11-12 20:49:20 -05:00
Kevin Dalley
f109360c33 Improved documentation in xfreerdp.1.xml. Minor change in args.c usage
statement.
2012-11-12 12:03:39 -08:00
Marc-André Moreau
e0b37aa97e channels: load device addins using new command-line api 2012-11-08 19:01:52 -05:00
Marc-André Moreau
410b7ab867 libfreerdp-core: rdpSettings refactoring (part 4) 2012-11-07 23:29:24 -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
ebc09d17d8 libfreerdp-core: started refactoring rdpSettings 2012-11-07 10:33:06 -05:00
Marc-André Moreau
e133d01376 libfreerdp-client: improved set of new command-line options 2012-11-06 22:08:09 -05:00
Marc-André Moreau
740b338c5b xfreerdp: add missing include for command-line interface 2012-11-06 12:11:21 -05:00
Marc-André Moreau
917bb894d7 libfreerdp-client: started new command-line syntax 2012-11-05 22:11:13 -05:00
Marc-André Moreau
e62860ab29 cmake: replace FindOptionalPackage macros with FindFeature macros 2012-11-02 19:27:01 -04:00
Marc-André Moreau
6882b1fa9d mfreerdp-server: initial commit 2012-10-31 23:04:31 -04:00
Marc-André Moreau
4d171408e9 freerdp: merging with master 2012-10-29 09:50:44 -04:00
Marc-André Moreau
13a0fbe040 libfreerdp-client: initial working .rdp file support 2012-10-27 21:30:08 -04:00
Marc-André Moreau
beefa1a21d libfreerdp-client: initial support for .rdp file parsing 2012-10-27 20:25:11 -04:00
Bernhard Miklautz
4d870b9421 xfreerdp: fix for endless loop with --from-stdin
If --from-stdin was used non-interactive (e.g. in a script
echoing connection parameters) xfreerdp looped endlessly
when a certificate needed to be trusted because
fgets returns eof.
Now a hint is printed that xfreerdp should be run without
--from-stdin to set the certificate trust.
2012-10-28 02:15:55 +02:00
Marc-André Moreau
a3192855bb xfreerdp: fix building without XCursor support 2012-10-27 15:01:22 -04:00
Marc-André Moreau
210ba6ac8c channels: fix linking of libfreerdp-client and libfreerdp-server 2012-10-19 13:10:42 -04: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
639bb0d79d cmake: started simplifying monolithic build option 2012-10-13 15:20:39 -04:00
Marc-André Moreau
061758a742 libfreerdp-core: add registry configuration for bitmap cache v2 2012-10-11 14:59:01 -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
2df7aaad39 libfreerdp-utils: get rid of xstrdup in favor of WinPR _strdup 2012-10-08 23:42:01 -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
ac7e1a3aea channels: make rail, drdynvc, cliprdr and rdpsnd built-in channels 2012-10-08 22:48:17 -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
93f88d1c48 channels: added support for loading plugins from a static entry table 2012-10-08 19:54:11 -04:00
Alam Arias
acc7f53188 fix up XEXT miss from 659a901450 2012-10-04 15:08:36 -04:00
Marc-André Moreau
423585a6a1 libwinpr-path: fix build on Linux 2012-10-01 18:34:46 -04:00
Marc-André Moreau
659a901450 cmake: add solution folder subdirectories 2012-10-01 11:48:53 -04:00
Marc-André Moreau
58e1fd325a libfreerdp-utils: get rid of freerdp_uniconv_in 2012-09-23 20:11:50 -04:00
Marc-André Moreau
d0ac31b2c1 libfreerdp-utils: get rid of freerdp_uniconv_out 2012-09-23 19:49:13 -04:00
Marc-André Moreau
44f18159c4 libfreerdp-utils: get rid of UNICONV unicode conversion context 2012-09-23 18:41:07 -04:00
Marc-André Moreau
867c169148 libfreerdp-locale: cleanup keyboard code 2012-09-22 14:27:30 -04:00
Marc-André Moreau
d85d25cbef libfreerdp: merging with master 2012-09-19 15:55:41 -04:00
Marc-André Moreau
a8a94a3cdb Merge pull request #726 from nereocystis/master
Add missing xfreerdp options to documentation
2012-09-19 12:31:43 -07:00
Marc-André Moreau
36122bea94 Merge branch 'master' of github.com:FreeRDP/FreeRDP into cleanup 2012-09-18 19:41:39 -04:00
Marc-André Moreau
15eeaa2327 libfreerdp-utils: remove semaphore utils in favor of WinPR semaphore API 2012-09-18 19:40:54 -04:00
Jay Sorg
67b6acc7a8 rail: fixes for crash when creating and deleting windows fast and added support for xrdp rail / local decoration 2012-09-18 15:57:19 -07:00
Kevin Dalley
023bc848a2 Added many additional options to documentation, added missing
arguments to options in documentation.  Attempted to alphabetize
options in documentation.
2012-09-17 16:42:55 -07:00
Kevin Dalley
1a88759408 Add documentation for "-X" option. 2012-09-17 15:44:21 -07:00
Kevin Dalley
e14b67b035 Correct spelling of "experiance" in documentation. 2012-09-13 10:03:42 -07:00
Marc-André Moreau
1df57f631b xfreerdp: code style cleanup 2012-09-02 16:34:06 -04:00
Marc-André Moreau
46b87c0ac0 Merge pull request #704 from pfmooney/7cf594a95f2fac1c11aab0395a96225cbab14216
Fix for issue 540: ctrl-enter toggles fullscreen
2012-08-25 09:40:05 -07:00
Marc-André Moreau
910f9ffed6 libfreerdp: wrap inclusion of config.h with HAVE_CONFIG_H 2012-08-14 17:41:40 -04:00
Marc-André Moreau
faa4311232 libwinpr: add proper config.h inclusions 2012-08-14 17:20:53 -04:00
Marc-André Moreau
f4549beb4c xfreerdp: fix build warnings 2012-08-14 15:59:11 -04:00
Marc-André Moreau
bccc9cb8f5 cmake: update cmake client scripts for monolithic build 2012-08-14 00:11:04 -04:00
Brent Collins
0b7db6232f Multiple RAIL fixes/improvements
1. Linked Window Manager Maximize/Minimize and Restore operations to those from the Server Rail Window so that they are in sync

2. Enable things like "CTRL-ALT-DELETE" and "WindowsKey-L" to show the full desktop window again since the desktop is not actively monitored since
this was still trying to draw to the rail window without updating the size of the window to accomodate the full workspace area.

3. Changed local window coordinates to be based on the visibileOffsetX/Y- while moving server window based on WindowOffsetX/Y. I have seen various issues regarding this when trying to use a maximized window where this is a disconnect between local window coordinates and remote window coordinates. This change clears these things up.

4. Commented the XShapeCombineRectangles calls - this can cause issues where the entire window is not visible and it does not currently play well with the changes from #3. The gain here is greater than the loss.

5. Draw the initial workspace correctly when running across multiple monitors. The correct size was always used, but the window was only starting on the current monitor and thus could draw the window off of the viewable area.

Known Issues:

Although the changes for #2 worked well in the stable branch that I developed from - the desktop window shown once the rail windows are destroyed does not respond to input unless I minimize/restore the window. Once the window starts responding to input - you can hit cancel to close the desktop window and return to your rail windows again(or launch task manager, etc.). This is still a big step in the right direction as xfreerdp is now correctly acting when the rail server stops Actively Monitoring the desktop.

XShapeCombineRectangles needs to be revisited, most windows applications will give you a rectangular window anyways.
2012-08-03 17:35:17 -05:00
Patrick Mooney
7cf594a95f Fix for #540: ctrl-enter toggles fullscreen
Clear xfi->pressed_keys when window loses focus.
This would prevent a held alt key from putting the app into fullscreen if the
users sends ctrl+enter when the app regains focus.
2012-08-02 15:45:03 -05: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
lysannkessler
8c2d46a436 Merge branch 'master' into spikes/hyperv 2012-07-25 19:05:10 +02:00
lysannkessler
6b754ab836 casting context to xfContext in more lines and more code clarity 2012-07-25 19:05:03 +02:00
Jay Sorg
ea9e5fcbee codec: use the CODEC_ID_* names instead of magic numbers 2012-07-24 16:54:29 -07:00
Lysann Kessler
9af4d84050 Merge branch 'master' into spikes/hyperv
Conflicts:
	client/X11/xf_graphics.c
2012-07-25 00:10:45 +02:00
Lysann Kessler
083711fd09 use xfContext->settings->color_depth instead of xfi->srcBpp 2012-07-25 00:09:14 +02:00
Jay Sorg
238cf848c2 codecs: added --jpeg command line, moved jpeg hack to bitmap cache v3, added bcv3 xxx setting 2012-07-24 12:05:22 -07:00
Lysann Kessler
2068263193 Merge branch 'master' into spikes/hyperv 2012-07-24 18:27:20 +02:00
Lysann Kessler
e43e14e2e7 fix an issue with bitmap creation in X11 client where xfi->srcBpp differs from the connection's color depth 2012-07-24 18:05:34 +02:00
Ying-Chun Liu (PaulLiu)
9a64adb9aa Set _NET_WM_PID X property when the window is creating.
_NET_WM_PID is used by some window managers to map the window
and the XDG desktop files. This patch sets _NET_WM_PID for this
purpose.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@canonical.com>
2012-07-09 14:52:15 +08:00
Jim Grandy
cc2fdd6da2 Pushing jpeg codec support, used in xrdp's offscreen surface remoting technique. Will likely be superceded by use of jpeg2000. 2012-06-26 16:57:18 -07:00
Vic Lee
977c89bb59 x11: clear the window in case of resolution change in fullscreen. 2012-06-22 21:24:24 +08:00
Alam Arias
eb32070129 x: clean out xevent before using it 2012-06-14 12:43:21 -04:00
Marc-André Moreau
d7f8624e71 Merge pull request #624 from chihchun/master
xfreerdp: Add --authonly and --from-stdin switch
2012-06-14 07:34:51 -07:00
Irwan Halim
c9c22fa331 Add GStreamer plugin for Multi-media redirection 2012-06-13 14:45:58 -05:00
Mike Carifio
a31f0c62e6 xfreerdp: Adds switch --from-stdin.
This switch will prompt username, password, domain and connection
host if not specified at the command line.

Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
2012-06-06 17:55:34 +08:00
Mike Carifio
88f2e84e5e xfreerdp: return correct logical value, if authentication failed.
Signed-off-by: Rex Tsai <rex.tsai@canonical.com>
2012-06-06 17:55:34 +08:00
Mike Carifio
28075f5ebb xfreerdp: add --authonly switch to xfreerdp client
Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
2012-06-06 17:55:34 +08:00
Vic Lee
e7fd72b4d4 Merge pull request #620 from llyzs/x11
x11: implement frame marker.
2012-05-29 21:00:40 -07:00
Vic Lee
02ce0dba3b X11: add suppress output support. 2012-05-28 20:21:56 +08:00
Vic Lee
aca53f3973 x11: implement frame marker. 2012-05-26 14:41:38 +08:00
David Sundstrom
8f8389f66e use coding standard comment style 2012-05-25 18:01:25 -05:00
David Sundstrom
3656a86d99 Fix local moves by using XQueryPointer to report new mouse position.
Disable local keyboard moves for now until a way is found to make them work reliably.
2012-05-25 17:56:05 -05:00
David Sundstrom
e1e8f6284f make local functions static
reintroduce unmanaged windows for tooltips and dropdowns; this is required for proper focus behavior
2012-05-25 17:56:05 -05:00
David Sundstrom
fd429eb46f Tooltips should not be listed when remapped 2012-05-25 17:56:04 -05:00
David Sundstrom
dc81959060 Use locally assigned variable 2012-05-25 17:56:03 -05:00
David Sundstrom
cfcabaefc2 Do not use override redirect - causes windows to appear on all desktops
Enable non-rectangular windows and test with windows media player
2012-05-25 17:56:03 -05:00
David Sundstrom
e97a2bc158 Minor refactoring to encapsulate all X windows calls in xf_window.c
xf_rail.c should deal with RAIL concerns and delegate all X functions to xf_window APIs.
2012-05-25 17:56:02 -05:00
David Sundstrom
1060447cb5 Refactor event code to avoid searching seamless window linked list for desktop events. 2012-05-25 17:56:02 -05:00
Christian Nilsson
5212426bb4 Fix colors on bitmaps when using -a 15 2012-05-26 00:32:05 +02:00
Dorian Johnson
18f8d1a6b7 xfreerdp: add manpage info for -K option. Fixes #603 2012-05-21 20:33:05 -05:00
Aurimas Fišeras
64ad250f2d fix more color conversion problems for 16-bit displays
based on d588e30a
2012-05-17 21:55:51 +03: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
d0d618fb76 Merge pull request #576 from bjcollins/master
XReparentWindow fix
2012-05-05 15:52:18 -07:00
Brent Collins
70ccbd1926 Moved the call order around such that the XReparentWindow call will work as intended. 2012-05-04 13:00:28 -05:00
Julien Ropé
c1f7044693 Some fixes for potentials NULL pointer dereferences, and double-free of buffers 2012-05-04 15:50:33 +02:00
Vic Lee
f480b23439 x11: fix window resizing. 2012-04-26 14:01:34 +08:00
Andrew Zenk
652155a929 added reference to certificate-name 2012-04-14 11:05:20 -05:00
Vic Lee
11a3bf4db4 x11: use ARRAY_SIZE macro. 2012-04-12 13:50:20 +08:00
Vic Lee
400b58e934 x11: release all pressed keys when window is unmapped. 2012-04-11 12:37:47 +08:00
Anthony Tong
2ba5c04d63 xfreerdp: send extended mouse events, using common button values for now 2012-04-01 09:35:11 -04:00
Marc-André Moreau
f2ec024d51 Merge pull request #519 from kiilerix/master
build fixes
2012-03-30 08:34:13 -07:00
Bernhard Miklautz
25107cde67 xfreerdp: nocodec/nscodec free ximages after use 2012-03-29 13:01:42 +02:00
Mads Kiilerich
16478d8fad locale: update rdp scancodes according to Win CE "Translating Scan Codes to Virtual-Key Codes"
The values in @msdn{ms892480} seems to be what is used in TS_KEYBOARD_EVENT @msdn{cc240584}.

All the "XT Scan Code Translation Libraries" has been checked and integrated.
Only the Korean has been skipped. It is clearly something completely different
from everything else. The Japanese is just an extension of the US keyboard like
the others.
2012-03-29 01:25:49 +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
Mads Kiilerich
94e9405202 locale: make RDP_SCANCODE a simple value type that easily can be passed around 2012-03-29 01:12:35 +02:00
Mads Kiilerich
53ab60dcb3 x: tell politely why xfreerdp is closing without making it look like an error 2012-03-22 21:30:39 +01:00
Mads Kiilerich
53c6815c84 x: improve debugging of X events 2012-03-22 21:30:15 +01:00
Pawel Jakub Dawidek
49fe529e15 Fix compilation warning when WITH_SSE2 is not defined. 2012-03-21 20:51:31 +01:00
Mads Kiilerich
44b6598252 x: clean up after xf_pre_connect if connection fails, and free instance where it was allocated
This prevents leak after "Error: protocol security negotiation failure"
2012-03-16 18:11:53 +01:00
Mads Kiilerich
338f7362e3 x: avoid leak by waiting for thread to finish before detaching 2012-03-16 16:42:56 +01:00
Mads Kiilerich
722260dd08 x: free bitmap_mono 2012-03-16 16:42:45 +01:00
Mads Kiilerich
ee7189bf2a x: please valgrind by initializing structure passed to X through writev 2012-03-16 15:45:14 +01:00
Norbert Federa
ba61607fcf X11/tsmf: Fixed XShmCreateImage BadMatch crashes
There was not check if the pixformat supplied in the XShmCreateImage function
was actually supported by the X-Video extension. Also reduced the amount of
xf_tsmf_is_format_supported calls in xf_process_tsmf_video_frame_event.
2012-03-13 17:32:59 +01:00
Vic Lee
100336ce57 X11/tsmf: use clipping if XV overlay does not support colorkey. 2012-03-13 15:35:38 +08:00
Vic Lee
ec9ca3e35f include: move config.h into private headers. 2012-03-12 19:14:56 +08:00
Vic Lee
28b203e57f nsc: add profiler. 2012-03-06 22:42:57 +08: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
Aaron Small
135a380d7f When a server sends an update where the bitmap data is insufficient to
cover the area the server indicates in width and height, discard the
update instead of crashing.
2012-03-04 16:59:15 -05:00
Marc-André Moreau
eb0e0f12a6 Merge pull request #481 from meosborne/d588e30a3873073e4ab76078ea27a61ada9922dd
Correct inaccurate colors on 16-bit X displays when using hardware gdi.
2012-03-03 11:09:55 -08:00
Michael Osborne
d588e30a38 correct colors for 16-bit displays 2012-03-02 16:49:52 -06:00
Norbert Federa
f821425bf3 xfreerdp: Fixed PIC base address corruption by inline assembly
EBX (or RBX on x86_64) is used for the PIC base address.
The current cpuid inline assembly only saved ebx which is fine
under i386 but only half of the fun on x86_64.
2012-02-29 21:06:56 +01:00