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
Marc-André Moreau
e8f2f7b30e
winpr/tools/hash: added NTLM hashing tool
2012-06-02 18:21:04 -04: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
Thomas Goddard
3f4c3eba3d
Added xcode.sh for automatic Xcode project generation
...
Updated CMake lists to include additional build settings for automatic
reference counting, and added Xcode.sh file for Xcode project
generation, compilation, etc…
2012-05-12 17:07:29 -07:00
Jay Sorg
4cfd9b8230
Mac: test commit
2012-05-10 17:28:38 -07:00
Thomas Goddard
b01e6947c8
Adding cmake Xcode project generation.
...
This will work for generating an Xcode project from cmake. Still in
progress, but initial working version.
2012-05-10 13:18:29 -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
c596fa93ac
Merge branch 'master' of github.com:FreeRDP/FreeRDP into tsg
2012-05-05 18:52:31 -04:00
Marc-André Moreau
d0d618fb76
Merge pull request #576 from bjcollins/master
...
XReparentWindow fix
2012-05-05 15:52:18 -07:00
Marc-André Moreau
4419515a50
Merge branch 'master' of github.com:FreeRDP/FreeRDP into tsg
2012-05-05 18:42:51 -04:00
Marc-André Moreau
e1e3f12114
winpr: move wtypes.h and windows.h
2012-05-04 19:36:35 -04: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
Laxmikant Rashinkar
1cbf3dab21
Initial push for the native Mac FreeRDP client
2012-05-02 20:15:27 -07: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
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
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
Marc-André Moreau
98514568d6
Merge pull request #485 from llyzs/nsc
...
NSCodec decoder improvement
2012-03-06 19:46:32 -08:00
Vic Lee
28b203e57f
nsc: add profiler.
2012-03-06 22:42:57 +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
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
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
Michael Osborne
12eba8e1e9
fix getting state when in remote app mode
2012-02-27 17:04:11 -06:00
Marc-André Moreau
9e49daba85
xfreerdp: apply X2GO patch
2012-02-27 12:08:38 -05:00
Marc-André Moreau
32a54130e7
xfreerdp: fix multiple memory leaks detected by valgrind
2012-02-27 10:55:49 -05:00
Julien Ropé
9546df9300
Merge remote-tracking branch 'upstream/master'
2012-02-25 22:03:37 +01:00
Julien Ropé
43360b0453
Adding new comments to xfreerdp.c, going down to the functions it calls in the core lib.
...
Continue adding comments to struct rdp_freerdp fields.
2012-02-25 21:55:59 +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
LittleJawa
3e919f7a40
Merge remote-tracking branch 'upstream/master'
2012-02-23 16:57:29 +01:00
LittleJawa
37b35b3558
First round of comments while reading the code.
2012-02-23 16:22:05 +01:00
Mads Kiilerich
1e46fae33e
debug: remove extra newlines in debug messages
2012-02-21 23:22:01 +01:00
Marc-André Moreau
a1f5eeea0c
xfreerdp: fix and document --kbd-list option
2012-02-21 12:00:02 -05:00
Marc-André Moreau
e85bfb4fd4
libfreerdp-locale: refactoring of XKB-based detection
2012-02-19 20:24:06 -05:00
Marc-André Moreau
46e3343232
libfreerdp-locale: refactoring of XKB dynamic mapping
2012-02-19 17:36:39 -05:00
Marc-André Moreau
94900c7836
libfreerdp-locale: merging keyboard headers
2012-02-18 23:08:17 -05:00
Marc-André Moreau
4af3ecd4cd
libfreerdp-locale: refactoring step 1
2012-02-18 22:04:28 -05:00
Marc-André Moreau
61da01973d
libfreerdp-locale: rename from libfreerdp-kbd, will contain all localization code
2012-02-17 17:43:00 -05:00
Christian Nilsson
38c85de539
fix known swaped b<>r colors in polygon drawings.
2012-02-13 22:07:20 +01:00
Marc-André Moreau
233b0b6ef4
libfreerdp-gdi: add mem3blt support
2012-02-12 19:41:39 -05:00
Marc-André Moreau
46e9eeb695
xfreerdp: added support for Mem3Blt
2012-02-12 18:12:28 -05:00
Marc-André Moreau
f7a71079dd
xfreerdp: reintroduce Polygon drawing
2012-02-12 17:14:59 -05:00
Marc-André Moreau
5617af901a
libfreerdp-gdi: add PatBlt DPa operation
2012-02-12 15:21:08 -05:00
Pawel Jakub Dawidek
69b8c2278e
Document --no-motion, remove -m.
2012-02-12 19:35:29 +01:00
Marc-André Moreau
fdfc817fb6
xfreerdp: fix segfault with --gdi sw on disconnect
2012-02-09 21:01:13 -05:00
Marc-André Moreau
2bde041788
wfreerdp: fix RemoteFX
2012-02-08 21:44:22 -05:00
Pawel Jakub Dawidek
b75b5eb8a1
After DEACTIVATE ALL PDU server can send MCS Disconnect Provider Ultimatum PDU to disconnect.
...
Handle such condition and exit from xfreerdp gracefully (almost, exit status is still != 0).
2012-02-06 23:10:45 +01:00
Marc-André Moreau
4695faae38
libfreerdp-core: added check for certificate name against hostname
2012-02-04 02:21:39 -05:00
Alexis Moinet
5ca9a37f68
remove redundant if(NULL) checks (already checked inside of cache_free and rail_free)
...
Besides "ptr=NULL; free(ptr);" does nothing so no need to check for NULL in xfree()
2012-02-03 15:27:04 +01:00
Marc-André Moreau
9e4d76648b
libfreerdp-core: fix more memory leaks
2012-02-01 21:11:46 -05:00
Marc-André Moreau
b4e542ba46
libfreerdp-core: fix multiple memory leaks detected by valgrind
2012-02-01 18:42:20 -05:00
Pawel Jakub Dawidek
19f99d66ba
Each bitmap send by the server contains color depth. Even if we negotiated 8bpp server can send bitmap which has 16bpp.
...
Fix a crash using bpp to allocate image from the bitmap data instead of negotiated color depth.
2012-01-31 16:14:54 +01:00
Bernhard Miklautz
668c8c8cef
build: use WITH_XXX instead of XXX_FOUND
...
To check if something should be en- or disabled WITH_XXX
should be used and not XXX_FOUND.
If XXX_FOUND is used and something gets disabled afterwards (by setting
WITH_XXX to OFF) it will be compiled in as long as XXX_FOUND is found in
cmake's cache file. So disabling a feature, or option, without
clearing the CMakeCache.txt might result in builds with unwanted
configuration.
2012-01-23 14:40:05 +01:00
Marc-André Moreau
3f01f4fe7f
xfreerdp: updated man page
2012-01-16 12:17:50 -05:00
Marc-André Moreau
949bce4d54
wfreerdp: fix warnings and color conversion
2012-01-16 11:40:18 -05:00
Dorian Johnson
8edb7d3efa
Change freerdp_parse_args to return different values for error vs --help/--version, and change xfreerdp to only report real errors
2012-01-14 15:30:48 -06:00
David Sundstrom
88d55493a9
Resolve a race condition between a local move update to the RDP server, GDI orders, and RAIL orders. Previously we could receive new GDI orders for the new window position before we received the RAIL order for the new position. The caused drawing errors.
...
Also correct some errors in managing the GDI damage region.
2012-01-13 18:08:51 -06:00
Anthony Tong
413190c5e4
xfreerdp: fix win_title string handling from #247
2012-01-13 17:32:14 -05:00
Marc-André Moreau
c7cc745575
libfreerdp-codec: add freerdp_convert_color_var()
2012-01-09 18:45:36 -05:00
Marc-André Moreau
5165399b8c
Merge pull request #336 from sunds/master
...
Inverted GDI when X server has BGR colormap
2012-01-09 15:11:30 -08:00
David Sundstrom
4975267c05
Invert colors went X server uses BGR colormap
2012-01-09 16:08:57 -06:00
David Sundstrom
dcdf1d7a5b
Invert rectangle colors when X server uses inverted colors
2012-01-09 15:39:19 -06:00