Commit Graph

566 Commits

Author SHA1 Message Date
Shea Levy
79e6936819 Wrap the tcsetattr() call in a fork() so the terminal can always be restored on exit 2011-09-08 12:25:24 -04:00
Shea Levy
1b8a31bb2e Add some comments 2011-09-08 02:47:18 -04:00
Shea Levy
9b70c396f7 Turn off ECHO on stdin when reading a password
Note that POSIX claims we need to handle signals when using
tc{get,set}attr lest the terminal not be reset to its original
state. Tests with Bash/xterm show this to be not necessary:
sending SIGINT, SIGILL, etc. to the application while it's
waiting for a password results in a terminal with ECHO back on.
It would probably be a good idea to handle the signals anyway.
2011-09-08 02:43:31 -04:00
Shea Levy
091e600127 Fix memory leak in instance->settings->password when reading from stdin 2011-09-08 02:10:22 -04:00
Shea Levy
6b8ac9ef18 Add prompt for the password when reading from stdin 2011-09-08 01:35:46 -04:00
Shea Levy
f03b2e227a Read the password from stdin if -p - is sent 2011-09-08 01:32:08 -04:00
Vic Lee
53ccc4c013 fix memory leaks. 2011-09-07 14:23:19 +08:00
Vic Lee
b8e16bb1c1 fix memory leaks. 2011-09-07 13:51:29 +08:00
Vic Lee
60ebd1d6b4 xfreerdp: use gdi_resize to resize the surface. 2011-09-07 13:27:39 +08:00
Marc-André Moreau
0d412ba629 Merge pull request #80 from floppym/gentoo-patches
Build system fixes
2011-09-06 11:53:19 -07:00
Marc-André Moreau
097caee5e0 Merge pull request #81 from roman-b/rail
Rail Local Move/Size support looks like finished.
2011-09-06 11:52:57 -07:00
Vic Lee
ccebb5bb3d xfreerdp: process actual desktop window resizing. 2011-09-06 16:22:53 +08:00
roman-b
059eff9f56 xfreerdp: fixed "window shake" effect in RAIL Local Move/Size. 2011-09-06 00:25:46 +03:00
roman-b
3a8236c49c xfreerdp: fixed minor RAIL move/size error. 2011-09-06 00:15:29 +03:00
roman-b
0ec2777875 xfreerdp: fixed NULL windows destroying. 2011-09-05 23:42:18 +03:00
Vic Lee
01939cbd28 xfreerdp: add missing event mask. 2011-09-06 00:06:49 +08:00
Mike Gilbert
bbaceb75e2 client/X11: Install man page from the build dir
Fixes installation from out-of-tree builds.
2011-09-04 19:50:40 -04:00
roman-b
14ce6ae7f0 xfreerdp: RemoteApp Local Move/Size improvements.
Issues:
fast mouse moving after left button pressing is create "windows shake" effect.
Slow mouse speed after left button press allows to discard this effect.
2011-09-03 23:38:01 +03:00
roman-b
69b4b0318c xfreerdp: fix usage of new DEBUG_ macroses for RAIL and X11 Client. 2011-09-03 19:50:26 +03:00
Marc-André Moreau
6fdecdb01b debug: cleanup printf's all over the place 2011-09-02 13:29:17 -04:00
Marc-André Moreau
e649a68047 xfreerdp: stabilizing RemoteApp 2011-09-02 12:39:56 -04:00
roman-b
9b7eb7934f Merge remote-tracking branch 'upstream/master' into rail 2011-09-02 01:24:45 +03:00
roman-b
e244300347 xfreerdp: added initial Local Move/Size (by using _NET_WM_MOVERESIZE). 2011-09-02 01:08:53 +03:00
roman-b
3c78705515 xfreerdp: added sending Window Move Order to server. 2011-09-02 01:02:22 +03:00
roman-b
a966cc30c7 xfreerdp: preparation for Local Window Move/Size. 2011-09-01 01:22:21 +03:00
roman-b
72631d04e1 xfreerdp: added handlers for MinMax and Local Move/Size orders. 2011-09-01 01:02:22 +03:00
Marc-André Moreau
0de7b3dfa4 Merge pull request #73 from awakecoding/master
Windows Porting
2011-08-31 08:49:19 -07:00
Otavio Salvador
d5f029d26b Merge pull request #72 from nils-a/ebuild-prep
switched to find_optional_package to require or ignore opional packages
2011-08-31 07:42:28 -07:00
Marc-André Moreau
aee51a7e2e xfreerdp: fix after refactoring libfreerdp-rail on windows 2011-08-31 02:01:49 -04:00
Marc-André Moreau
b56962d254 xfreerdp: start handling multiple monitors in xf_monitor.c 2011-08-30 20:59:42 -04:00
Nils Andresen
6063a352b7 move from find_package and find_opitonal_package (old version) to find_required_package, find_suggested_package and find_opitonal_package (new version) 2011-08-30 22:39:46 +02:00
roman-b
585b436915 Merge remote-tracking branch 'upstream/master' into rail 2011-08-30 23:16:21 +03:00
Marc-André Moreau
9d7fce9194 xfreerdp: fix listing of RemoteApp windows in taskbar 2011-08-30 15:06:50 -04:00
Nils Andresen
3adf0875ca inserted find_optional_package to require or ignore opional packages 2011-08-30 20:38:05 +02:00
Marc-André Moreau
219979c064 Merge pull request #71 from nils-a/manpage
client/X11: Do not break compilation, if xmlto is not available
2011-08-30 11:28:31 -07:00
Nils Andresen
bc28606f01 client/X11: Do not break compilation, if xmlto is not available 2011-08-30 20:24:28 +02:00
Marc-André Moreau
a9a06abcc3 xfreerdp: stabilizing RemoteApp, fix window styles 2011-08-30 14:21:16 -04:00
Nils Andresen
18614a53d0 client/X11/xfreerdp: rudimentary version of a man-page. 2011-08-29 21:59:29 +02:00
Marc-André Moreau
84498109c9 libfreerdp-core: fix replay of RemoteFX session from server 2011-08-28 22:27:46 -04:00
Marc-André Moreau
9f256c8374 libfreerdp-core: add option to dump remotefx to pcap 2011-08-26 20:26:40 -04:00
roman-b
4aa281feba xfreerdp: fix command line mouse motion setting. 2011-08-27 01:33:07 +03:00
Marc-André Moreau
43bcfb4a3c xfreerdp: start using X11-GDI implementation 2011-08-26 14:48:51 -04:00
Marc-André Moreau
b0854dd817 libfreerdp-gdi: fix and re-introduce complex region support 2011-08-26 13:37:23 -04:00
Marc-André Moreau
48c14204d4 xfreerdp: add --kbd-list option 2011-08-25 22:01:33 -04:00
Marc-André Moreau
6b732af29b xfreerdp: add -k keyboard layout option 2011-08-25 21:35:51 -04:00
Marc-André Moreau
ccc084981e xfreerdp: started X11-GDI 2011-08-25 18:07:52 -04:00
Marc-André Moreau
3f4cd54ad2 xfreerdp: disable RemoteApp mouse motion 2011-08-25 15:05:07 -04:00
Marc-André Moreau
9b40f800de xfreerdp: fix minor RAIL issues 2011-08-25 14:11:45 -04:00
roman-b
3411d488f8 Merge remote-tracking branch 'upstream/master' into rail 2011-08-25 20:09:45 +03:00
Mike Gilbert
b627dbb35c Allow linux distros to override LIBDIR; fix xfreerdp install 2011-08-25 00:00:24 -04:00
Marc-André Moreau
5ad6a5d9d8 xfreerdp: revert to single region invalidation 2011-08-24 22:35:55 -04:00
Vic Lee
bdc005123e Revert pull request #59 that would break RemoteApp. 2011-08-25 10:30:07 +08:00
roman-b
16262074d4 xfreerdp: add RAIL windows focus in/out handling. 2011-08-25 01:22:06 +03:00
roman-b
e66542b477 xfreerdp: add mouse motion for RAIL.
This is add initial interactive window movement/sizing.
2011-08-25 00:41:45 +03:00
roman-b
6365db7be6 xfreerdp: add parent-child relationship for RAIL windows. 2011-08-25 00:16:57 +03:00
Nils Andresen
5536656e03 client/X11: find_optional_package instead of find_package & added install 2011-08-24 23:09:14 +02:00
Martin Fleisz
36e929f69c Fixed possible socket leak in tcp_connect, added disconnect function to properly clean-up socket/tls resources on disconnect) 2011-08-24 08:07:55 -07:00
Marc-André Moreau
d4ae0b376e Merge pull request #59 from bmiklautz/xgetwindowproperty
Changed return value check for XGetWindowProperty
2011-08-24 07:22:07 -07:00
Bernhard Miklautz
f7336cea5e Changed return values of freerdp_parse_args
Return -1 if a argument is missing/wrong.
This way caller can check for a problem.
2011-08-24 09:37:14 +02:00
Bernhard Miklautz
1c577e2a12 Changed return value check for XGetWindowProperty
XGetWindowProperty return None if the property isn't found.
So raise an error is None is returned. Otherwise the property
was returned.
2011-08-24 09:27:56 +02:00
Marc-André Moreau
cd6eb6a266 libfreerdp-core: add support for pointer updates 2011-08-24 02:38:39 -04:00
Marc-André Moreau
ffb5fb56a6 libfreerdp-gdi: add support for complex invalid regions 2011-08-24 01:47:43 -04:00
Marc-André Moreau
a0aea4f353 xfreerdp: fix fullscreen mode 2011-08-24 00:46:34 -04:00
Marc-André Moreau
9a3477f7ec xfreerdp: added proper cmake detection of Xext 2011-08-23 22:58:36 -04:00
Marc-André Moreau
42f27293a8 xfreerdp: fix window hiding 2011-08-23 15:52:17 -04:00
Marc-André Moreau
7dcb87d7a3 xfreerdp: removed seemingly unnecessary X11 update 2011-08-22 21:33:10 -04:00
Marc-André Moreau
cfd3407f69 xfreerdp: fix drawing of maximized RAIL windows 2011-08-22 21:22:05 -04:00
Marc-André Moreau
c894806ee9 xfreerdp: fix off-by-one error in visibility rectangles 2011-08-22 16:10:08 -04:00
Marc-André Moreau
3e4331caa0 xfreerdp: add support for RemoteApp round window corners 2011-08-22 16:06:12 -04:00
roman-b
8ae5b05c86 Merge remote-tracking branch 'upstream/master' into rail 2011-08-22 19:14:11 +03:00
Marc-André Moreau
a5791ac198 Merge pull request #56 from llyzs/nonblocking
Refactor client connection sequence in nonblocking mode
2011-08-22 06:44:52 -07:00
Vic Lee
4377c46bac Correctly handling connection failure. 2011-08-22 17:43:20 +08:00
Vic Lee
0c60fafebd xfreerdp: fix segfault when closing. 2011-08-22 17:21:39 +08:00
Marc-André Moreau
900a56f289 xfreerdp: fix window classes 2011-08-21 23:54:02 -04:00
Marc-André Moreau
b8291b2e3d xfreerdp: handling local window restore events 2011-08-21 23:39:56 -04:00
Marc-André Moreau
aaa2f22b10 xfreerdp: handled RAIL window minimize events 2011-08-21 23:15:19 -04:00
Marc-André Moreau
f46d3d51c6 xfreerdp: improved window icon support 2011-08-21 22:30:49 -04:00
roman-b
7744e17ec2 channels/rail: fixed multithread side effect by creating full orders copy for events. 2011-08-22 02:04:21 +03:00
Marc-André Moreau
00733ab128 xfreerdp: started handling RemoteApp icons 2011-08-21 17:32:18 -04:00
roman-b
7b6dad86ca Merge remote-tracking branch 'upstream/master' into rail 2011-08-21 04:44:18 +03:00
roman-b
822c269b06 xfreerdp: small fix. void* pointer does not require type cast. 2011-08-21 04:13:33 +03:00
Marc-André Moreau
ec77c8ecbf xfreerdp: added support for multiple monitors 2011-08-19 23:15:49 -04:00
Marc-André Moreau
4a126a55b0 xfreerdp: handle RAIL window title updates 2011-08-19 22:21:09 -04:00
roman-b
e7367f9aac channel/rail: add initial handling all RAIL PDU from server.
Note:
Sometimes we have multi-thread side effect with data trasfer throught shared 
memory between different threads.
2011-08-20 01:46:10 +03:00
Marc-André Moreau
181154f01f xfreerdp: optimize the updating of invalid regions on RAIL windows 2011-08-19 12:43:44 -04:00
Marc-André Moreau
9e42276d1b Merge pull request #50 from roman-b/rail
Rail
2011-08-19 08:36:57 -07:00
Marc-André Moreau
af71a70233 xfreerdp: fix RAIL window resizing 2011-08-19 11:12:30 -04:00
roman-b
e85caeb17d channel/rail: add handling Server Execute Result PDU 2011-08-19 17:10:08 +03:00
Marc-André Moreau
3fa7d4a3d4 xfreerdp: remove backbuffer window in RemoteApp mode 2011-08-18 01:16:49 -04:00
Marc-André Moreau
2aa3d6f731 xfreerdp: fix movement of RAIL windows 2011-08-17 23:46:08 -04:00
Marc-André Moreau
49b1fa25a0 xfreerdp: fail RAIL window positions (relative to work area) 2011-08-17 23:26:12 -04:00
Marc-André Moreau
eb02b578a5 xfreerdp: add ability to move RAIL windows 2011-08-17 22:50:49 -04:00
Marc-André Moreau
f465579551 xfreerdp: added RAIL window titles 2011-08-17 22:31:27 -04:00
Marc-André Moreau
48d3e65b08 rail: get client system parameters from xfreerdp 2011-08-17 21:33:22 -04:00
Marc-André Moreau
09980c8a7c include: refactor FRDP_ types to RDP_ 2011-08-17 17:28:26 -04:00
Marc-André Moreau
c2bc695d39 xfreerdp: fix window decoration hiding 2011-08-17 16:57:21 -04:00
Marc-André Moreau
257f3ac55b xfreerdp: fix mouse input inside application windows 2011-08-17 16:45:09 -04:00
Marc-André Moreau
dc6d3f022b xfreerdp: start handling application events separately 2011-08-17 16:00:09 -04:00
Marc-André Moreau
c9917d3ca1 xfreerdp: drawing of multiple RAIL windows 2011-08-17 14:51:17 -04:00
Marc-André Moreau
98f7bb01b5 xfreerdp: added support for workarea and disabling window decorations 2011-08-17 14:13:44 -04:00
Marc-André Moreau
e990d227ce xfreerdp: started painting multiple RAIL windows 2011-08-17 02:14:02 -04:00
Marc-André Moreau
2b4cd32390 libfreerdp-rail: processing window altsec orders 2011-08-16 00:22:00 -04:00
Vic Lee
1301fa33c0 Fix CPU usage due to missing initialization of wfds. 2011-08-16 11:13:30 +08:00
Marc-André Moreau
9961038649 include: restructuring and cleanup of header files 2011-08-15 14:33:04 -04:00
Vic Lee
fc16c6f7bd xfreerdp: fix exit segfault. 2011-08-13 11:46:00 +08:00
Vic Lee
8b791de624 xfreerdp: fix compile warnings. 2011-08-11 15:37:46 +08:00
Vic Lee
4ce70e03d1 libfreerdp-chanman: name argument is not necessary when sending events. 2011-08-11 11:36:10 +08:00
Vic Lee
d7e502dbe1 Add event_class in event object. 2011-08-11 11:14:07 +08:00
Marc-André Moreau
21aa8ad9a8 libfreerdp-utils: added RAIL utils 2011-08-10 02:24:06 -04:00
Marc-André Moreau
95642fd33f xfreerdp: fix 16bpp rendering 2011-08-09 21:45:58 -04:00
Marc-André Moreau
9f2a3e847b Merge pull request #36 from llyzs/utf
Use towupper for unicode uppercase.
2011-08-08 21:22:46 -07:00
Marc-André Moreau
c42008ce80 xfreerdp: added X11 Window wrapper 2011-08-08 22:24:12 -04:00
Vic Lee
9b217bf36a Add setlocale() calls to all UIs. 2011-08-09 08:31:21 +08:00
Marc-André Moreau
c4895ca1ac xfreerdp: improve X11 GDI software rendering performance 2011-08-07 14:09:18 -04:00
Marc-André Moreau
cdbc233e9f xfreerdp: get graphical updates and mouse + keyboard input working 2011-08-07 13:41:54 -04:00
Marc-André Moreau
ad0fedeb9f xfreerdp: initial commit 2011-08-07 09:52:40 -04:00