Peter Åstrand
f2558e541e
Handle too short 0xff and 0xfe commands in ui_draw_text.
...
This fix should remove both a segfault and a "this shouldn't be
happening" abortion, which I can trigger with vertical text in
OpenOffice 2.0.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1028 423420c4-83ab-492f-b58f-81f9feb106b5
2005-11-18 22:46:38 +00:00
Jay Sorg
bf2ea4bcb6
ellipse fix for non copy rop
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1021 423420c4-83ab-492f-b58f-81f9feb106b5
2005-09-29 03:34:33 +00:00
Peter Åstrand
def2b08c1a
Disable moving in single-app mode when window is occupying entire
...
workarea.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@990 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-26 07:01:02 +00:00
Peter Åstrand
758c0576f3
Moved mouse button handling to separate function, handle_button_event. The single app mode has been enhanced: The minimazation now works better.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@987 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-25 20:27:45 +00:00
Peter Åstrand
2daead38a7
Protection against recursive sequences
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@975 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-04 13:39:57 +00:00
Peter Åstrand
c04f1dc310
Implemented support for keyboard "sequences", which makes it possible to send multiple scancodes to the RDP server in response to one X11 keyboard event.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@948 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-02 15:07:35 +00:00
Jeroen Meijer
154a1c895a
Tell the server to stop sending window updates when the rdesktop window is unmapped
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@904 423420c4-83ab-492f-b58f-81f9feb106b5
2005-05-20 22:09:32 +00:00
Michael Gernoth
0929decadd
Handle RDP recv queue even in RDP send queue is full.
...
Patch from James Cameron <james.cameron@hp.com>
This closes Debian Bug #246461 .
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@886 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-16 11:57:19 +00:00
Michael Gernoth
5a0fa7b5ab
Window-placement patch by <gregmhughes@comcast.net>
...
small modifications by me, to only set the PPosition sizehint, if the
position was specified on the command-line
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@866 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-23 12:25:54 +00:00
Jeroen Meijer
0b5bb3b442
do polyline in a single ui operation: ui_polyline
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@843 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-10 22:48:15 +00:00
Jeroen Meijer
8bc5e0ad3f
Fix text2 order parsing. The brush is parsed but not yet used.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@842 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-10 22:40:20 +00:00
Jeroen Meijer
f589939e23
Add support for ellipse and polygon orders
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@830 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 00:43:10 +00:00
Michael Gernoth
ec643e4718
bump version to 1.4.0
...
change year in files
add missing docu for updated commandline-flags
update changelog
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@827 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-06 21:11:18 +00:00
Michael Gernoth
d94519186b
fix missing while. This garbled data when displaying on a BE host running
...
at 32bpp, when rdesktop is running on a LE host connecting with 16bpp to
the TS
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@822 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-28 23:30:00 +00:00
Michael Gernoth
a652d3209d
compile fix for older gcc
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@821 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-28 22:38:24 +00:00
Jeroen Meijer
19719019b2
More optimisations
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@820 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-28 01:15:45 +00:00
Peter Åstrand
881f0fe93e
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@800 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-23 13:29:12 +00:00
Michael Gernoth
12623c1e10
add support for specifying the window-position with the -g parameter
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@799 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-18 11:18:49 +00:00
Michael Gernoth
53eabea36f
Big serial- and disk-redirection update from
...
Andreas Flick <Andreas.Flick@unicon-ka.de>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@794 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-03 13:56:52 +00:00
Peter Åstrand
78710116bc
null_pointer_data must actually be 24 bytes. Fixes another Valgrind
...
warning.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@787 423420c4-83ab-492f-b58f-81f9feb106b5
2004-10-21 08:43:22 +00:00
Peter Åstrand
2c9c88f726
The current version of ui_create_cursor requires that
...
null_pointer_data is nine octets. This patch fixes valgrind errors.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@762 423420c4-83ab-492f-b58f-81f9feb106b5
2004-09-08 07:19:20 +00:00
Michael Gernoth
3dbf5279c8
gui should really have higher priority then sound...
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@753 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-23 11:28:23 +00:00
Michael Gernoth
5632b932bc
oss sound fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@752 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-23 11:13:50 +00:00
Jay Sorg
7f836f0384
added persistant bitmap chaching from Jeroen Meijer, slightly modified
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@724 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-27 17:51:54 +00:00
Jay Sorg
2942c88808
added ui_begin/end_update and rdp_loop for ports
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@712 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-16 03:08:55 +00:00
Jay Sorg
d33f94f744
clean up and comment the repeat macros
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@708 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-11 22:37:05 +00:00
Jay Sorg
312035fd20
warnings when screen size of depth change and backstore resizeing when screen size changes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@707 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-04 15:01:36 +00:00
Peter Åstrand
030f5f0ca1
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@705 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-01 08:06:02 +00:00
Michael Gernoth
8cf9b562eb
fix for colourspace-expansion
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@703 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-27 10:19:41 +00:00
Peter Åstrand
efef8750a8
Indent fixes.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@696 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-11 13:45:57 +00:00
Michael Gernoth
d48204c9c3
fix compiler warning/error "a cast does not yield a lvalue"
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@694 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-11 07:34:03 +00:00
Peter Åstrand
581acea28a
Indent fixes.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@690 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-06 08:17:47 +00:00
Jay Sorg
7c346510aa
speed up screenblt if screen is unobscured
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@687 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-30 19:14:15 +00:00
Jay Sorg
f0fb055450
only do stipple ops on backingstore when possible
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@679 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 23:14:07 +00:00
Jay Sorg
7e650f8a49
unroll the bits in translate8to16/32
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@678 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 23:00:25 +00:00
Peter Kallden
5cfce0a406
new: ui_resize_window() and related, which is used when resizing while shadowing. And fallback for color when connecting to a session with fewer colors than you have set in your session. Jeroen Meijer jeroen@oldambt7.com
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@676 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 13:48:39 +00:00
Peter Åstrand
eb4245b24c
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@650 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-15 20:12:42 +00:00
Michael Gernoth
95d2f76a30
rdp2vnc fixes from Johannes Schindelin <Johannes.Schindelin@gmx.de>
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@647 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-10 09:34:52 +00:00
Jay Sorg
c3defe8dd7
return data only if 15 or 16 bbp in translate_image
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@644 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-29 13:59:03 +00:00
Jay Sorg
b6300628f5
if rdp server and client bpp match and architectures match, don't translate image
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@643 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-25 22:58:45 +00:00
Jay Sorg
910b8094a0
only check g_xserver_be once in translate8toXX
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@642 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-24 18:16:58 +00:00
Michael Gernoth
697f58a48a
XEmbed-patch by Arend van Beelen jr. <arend@auton.nl>
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@635 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-13 12:08:18 +00:00
Peter Åstrand
a9bd98563c
Sometimes, the boxcx value is something really large, like 32691. This
...
makes XCopyArea fail with Xvnc. If boxcx is this large, reset to
g_width - boxx.
(The reason why boxcx is strange is that os->boxright is strange. I
have no idea what's causing this, though.)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@619 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-03 10:46:35 +00:00
Peter Åstrand
56c429de0c
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@618 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-03 10:41:53 +00:00
Jay Sorg
7592155f8d
optimize split_colour15 and 16
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@616 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-25 18:28:52 +00:00
Michael Gernoth
b540405e17
Make internal backing-store the default && small fix for it
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@608 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-16 20:28:09 +00:00
Michael Gernoth
5ed20d8028
fix select errors due to exploding fdnum n
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@605 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-14 23:20:24 +00:00
Michael Gernoth
7deb3bbc62
fixes for HP-UX
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@602 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-07 18:47:06 +00:00
Peter Kallden
24cce4004e
tmp disable select timeout - we segfault
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@593 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-03 13:55:12 +00:00
Peter Kallden
f8b90aeb7b
reworked the asyncio some and completed it. parallel and serial uses it now. disk.c is a likely candidate for the future, but there are some problems with disk.c that we will have to look into first. parallel and serial works better, they do not hang the session, but are still yerky at large chunks... possibly we could split the chunks, but the terminal server does not seem to like partial transfers, i've tried some variations.. :) fns->write() could be split in smaller pieces, but what should the thresholds be.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@591 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-30 14:10:32 +00:00
Peter Åstrand
a9a863db41
Ran indent-all.sh
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@579 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-23 08:35:52 +00:00
Michael Gernoth
628db36a74
fix g_null_pointer memleak
...
fixes for compiles on NetBSD & FreeBSD
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@575 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-22 20:31:59 +00:00
Michael Gernoth
899e56c108
fix g_gc memleak
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@565 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-19 23:45:26 +00:00
Michael Gernoth
0f1660ead7
Try to use a TrueColor visual, even if the default-visual is
...
PseudoColor. This enables high-colour modes on displays with
a PseudoColor default visual and eliminates colourmap-flashing
at 8 bpp there.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@564 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-19 21:58:58 +00:00
Jay Sorg
df4b9915d8
ui_draw_text optimize and small fix
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@563 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-16 23:15:33 +00:00
Peter Åstrand
58c2cbd12a
When mixing -f and -g, the last option should take precedence.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@546 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-10 15:09:49 +00:00
Michael Gernoth
41ab669bf9
compile when not all baudrates are defined on a system
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@544 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-03 20:19:01 +00:00
Peter Åstrand
ee9d0add63
Re-worked numlock handling: Keeping remote numlock state in sync with local state
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@542 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-03 13:33:35 +00:00
Peter Åstrand
bbd2c8f209
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@541 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-03 13:22:09 +00:00
Michael Gernoth
70fd6e6ba7
Fix crash bug when toggling fullscreen-mode with fancy cursors.
...
Do no longer destroy the global null_cursor, when destroying the
current window.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@540 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-02 16:43:29 +00:00
Matt Chapman
36c26ab26b
Need unistd.h for select.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@536 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-31 04:51:10 +00:00
Matt Chapman
826ceb5d4a
Fix compile warnings on HP-UX.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@535 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-31 04:29:57 +00:00
Michael Gernoth
20f2937ea4
translate24to{24,32} were not using make/split-colour which makes
...
them unuseable on BE RGB-Displays of this depth...
This should fix it.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@533 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-30 00:10:32 +00:00
Peter Åstrand
ed2d6084ed
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@531 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 14:14:46 +00:00
Matt Chapman
ff230a1672
Fix translate16to16 along the lines of all the other translate functions.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@527 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 08:37:20 +00:00
Matt Chapman
5934915c9f
A more general fix for the last problem - fixes 15-bit X as well.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@526 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 08:15:02 +00:00
Matt Chapman
23b0faba94
Hopefully make it work with both RGB and BGR X servers.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@523 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 06:29:05 +00:00
Michael Gernoth
c360aa4039
endianess fixes for 8 bit
...
fix for crash when g_bpp==24
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@520 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-28 09:02:46 +00:00
Matt Chapman
946b9a504f
Convert bpp printf into DEBUG_RDP5 (perhaps not the ideal category but
...
it will do for now).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@518 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-28 03:40:26 +00:00
Matt Chapman
ed5618c619
private colour map code only works for 8 bpp, disable otherwise
...
(from neoware)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@516 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-28 03:30:51 +00:00
Peter Åstrand
0affa3f3ff
Applied null cursor patch from jeroen@oldambt7.com
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@507 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-22 10:55:11 +00:00
Michael Gernoth
62c180be72
Make sure that g_dsp_busy is initialized to False
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@503 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-19 11:59:41 +00:00
Michael Gernoth
18e4c6017b
added switch (-A) to disable rdpsnd
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@500 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-17 08:23:47 +00:00
Peter Åstrand
c60d7c4f3f
Support for specifying geometry in terms of percent of whole screen
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@499 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-15 14:32:43 +00:00
Peter Åstrand
3a323bbcc1
Fixed indentation
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@498 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-15 14:01:32 +00:00
Peter Åstrand
049a1eff64
xkeymap_init must be before using g_enable_compose.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@497 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-14 12:05:27 +00:00
Peter Åstrand
1aa4de5ab0
Corrected SET_FOREGROUND/SET_BACKGROUND in Hatch handling routine.
...
This should be done according to patch 688390, and feels right,
although I basically have no idea of what I'm doing :-)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@486 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-13 12:34:15 +00:00
Jay Sorg
0a77a467d3
big endian fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@482 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-11 19:12:10 +00:00
Matt Chapman
044cacbbf2
Make some variables static.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@480 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-09 03:28:04 +00:00
Matt Chapman
9321f0d293
Fix crash bug when dsp_fd = -1.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@477 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-05 12:07:56 +00:00
Matt Chapman
d3e6c1a157
Preliminary sound support (PCM only).
...
Based on code from GuoJunBo <guojunbo@ict.ac.cn>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@473 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-30 09:11:08 +00:00
Jay Sorg
593dac9caf
big edian support for 32 bpp xwindows, still need 16 and 24
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@471 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-25 22:23:42 +00:00
Peter Åstrand
d9019bc77b
Kbd fix: Shift was always reset after press
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@469 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-15 08:03:30 +00:00
Peter Åstrand
e48234764a
restore_remote_modifiers takes ev_time argument.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@460 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-02 09:40:07 +00:00
Peter Åstrand
eb8334ffe7
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@455 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-31 20:01:12 +00:00
Jay Sorg
fb2ce8bcf4
more g_ prefix for global vars
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@449 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-27 22:51:33 +00:00
Peter Åstrand
d097a9e44a
kbd: Restoring changed remote modifiers after keypress. Fixes problem with shift & altgr 'stuck' down after typing, for example, A
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@448 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-27 09:42:55 +00:00
Peter Åstrand
d8670cb4de
Fixed memory leak with colormap allocation.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@447 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-27 08:21:53 +00:00
Jay Sorg
24d1be278a
more g_ prefix for global vars
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@446 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-21 23:23:15 +00:00
Jay Sorg
d49e190f92
more g_ prefix for global vars
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@437 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-01 17:01:58 +00:00
Peter Åstrand
7ff54cdd90
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@434 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-09 09:18:20 +00:00
Matt Chapman
5b9286e6ea
Commit of work in progress on channels (so that other people can hack on
...
RDPSND), in particular:
* channel layer takes care of virtual channel header
* split X dependent parts out of CLIPRDR, simplified IPC implementation
* initial RDPDR implementation
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@431 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-01 09:31:25 +00:00
Erik Forsberg
b21af4866e
Listen for clipboard-related events and handle them.
...
Listen for IPC-related events and handle them.
Changes after running indent-all.sh
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@414 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-06 11:10:48 +00:00
Jay Sorg
70de4fa1f9
changes so it compiles with g++(mainly for ports)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@375 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-19 21:36:33 +00:00
Jay Sorg
f670735863
support for hatch patterns in patblt
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@372 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-15 14:26:15 +00:00
Matt Chapman
408935e046
Fix an endianness problem.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@367 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-16 13:48:17 +00:00
Peter Åstrand
0a56d9bfd8
Support for moving window by dragging applications title bar. To be used
...
in conjunction with -s, -S and -D.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@341 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-14 12:00:17 +00:00
Peter Åstrand
49e48ec58c
Prevent restoring by double click in single app mode.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@331 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-18 13:51:43 +00:00
Peter Åstrand
410c48cf5b
Prevent access to sys menu in single app mode
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@330 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-18 13:44:27 +00:00
Peter Åstrand
a1c5132f9a
New option for running single applications maximized
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@327 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-18 13:03:51 +00:00
Peter Åstrand
f7bfa53327
Private funcs should be static.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@318 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-10 13:02:57 +00:00
Peter Åstrand
0f0bb5f281
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@317 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-10 12:58:51 +00:00
Jay Sorg
cbb156faa7
15 and 24 bit server support
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@315 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-09 17:17:37 +00:00
Jay Sorg
02451862d6
support for > 16 bit clients with 16 bit server
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@310 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-05 14:16:33 +00:00
Jay Sorg
4b26f4fc6b
16bit
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@308 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-04 05:32:13 +00:00
Matt Chapman
e1dd74d872
unsigned long != uint32 on a 64-bit machine.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@300 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-30 11:28:50 +00:00
Matt Chapman
1e8a4d5279
Fix a few compile warnings.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@299 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-30 11:20:30 +00:00
Matt Chapman
90a283925e
Add some signed types and use them in the places we have silly casts now.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@298 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-30 11:15:00 +00:00
Matt Chapman
01be712432
Add a warning function, change some errors to warnings, improve a
...
couple of error messages (not sure whether scewed was meant to be skewed
or screwed :))
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@296 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-28 12:27:28 +00:00
Matt Chapman
b2859a6209
Rename FILL_RECTANGLE_FAST to FILL_RECTANGLE_BACKSTORE to clarify what it
...
does
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@295 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-28 12:07:55 +00:00
Jay Sorg
4574f1d7bd
focus fullscreen window if not focused when mouse moves, it seems some display managers don't focus new windows, this will provides a way to fucus it
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@287 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-05 20:06:32 +00:00
Jay Sorg
17e9c6b607
make ui_draw_text a bit safer when cache_get_text returns NULL
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@285 423420c4-83ab-492f-b58f-81f9feb106b5
2002-12-23 18:40:03 +00:00
Jay Sorg
e670606f4d
minor draw_text optimize
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@280 423420c4-83ab-492f-b58f-81f9feb106b5
2002-12-02 22:57:47 +00:00
Peter Kallden
ba91c632d4
owncolmap reintroduced, basically the same code, but with a switch -C. didn't use the -v switch as in the patches. I believe it is confusing and should be reserved for -version information. Other than that I can say that the code does not work as it does in the patches... haven't found what's wrong with it. bit shifting?
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@278 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-26 10:09:14 +00:00
Jay Sorg
517c36f2ef
ui_draw_text optimization from unified patches
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@277 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-25 18:23:44 +00:00
Peter Åstrand
aa8d6482b2
Applied WM-kill patch from Matthew Riechers (slightly modified
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@274 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-19 14:48:02 +00:00
Peter Åstrand
0990f7d367
Small indent fix.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@273 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-19 14:45:13 +00:00
Peter Åstrand
6ac3e36bc3
Made -g workarea a bit less fatal when the WM does not support _NET_WORKAREA:
...
defaulting to 800x600.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@272 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-19 14:22:47 +00:00
Peter Åstrand
92f855845e
exit()ing after "this shouldn't be happening".
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@264 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-19 10:37:39 +00:00
Peter Åstrand
daf1ac6752
Support for extended WM hint _NET_WORKAREA, via -g workarea
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@262 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 18:12:49 +00:00
Peter Åstrand
1ad250fcba
Support for hiding WM decorations
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@261 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 15:37:20 +00:00
Peter Åstrand
578665e472
Indent fixes.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@260 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 15:35:41 +00:00
Jay Sorg
14c59b0d93
can't grabkeyboard on focusin unless mouse is in window, can't grabkeyboard on enternotiy unless window is focused, cache them, other grabkeyboard fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@256 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-11 23:15:27 +00:00
Matt Chapman
c96a91367d
Need to make absolutely sure rdesktop ungrabs the keyboard - do it on
...
LeaveNotify as well.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@252 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-05 11:09:26 +00:00
Matt Chapman
0b7d2ca0f1
Focus upon receiving EnterNotify in fullscreen mode (in lieu of window manager)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@249 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-03 12:33:02 +00:00
Matt Chapman
9d8379fc3c
Show display name in "Failed to open display" message.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@209 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-04 14:25:37 +00:00
Matt Chapman
8b98bdc4ae
Arguments to get_key_state the wrong way around.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@208 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-02 13:51:16 +00:00
Matt Chapman
061f44532b
Need to wait for visibility before calling XSetInputFocus
...
(pointed out by Jay).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@207 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-27 01:04:34 +00:00
Matt Chapman
b120a50f44
Update copyright dates on all files that have changed.
...
Bump version to 1.2-cvs.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@206 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:26:46 +00:00
Matt Chapman
171e83a2f8
Oops typo... should have tested it first :)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@203 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:10:30 +00:00
Matt Chapman
b46de1c760
Optimise get_key_state by caching the modifier map and the state
...
(this can probably still be improved in the future).
Only call time(NULL) for the events where it's needed.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@202 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:04:30 +00:00
Matt Chapman
9365833f59
Fix for flashing title bar problem.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@200 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 14:33:36 +00:00
Peter Åstrand
c381a3bb9b
Indent fixes.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@195 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 11:07:12 +00:00
Matt Chapman
23afca950e
Move keyboard grabbing to FocusIn/FocusOut to fix "rdesktop gets screensaver
...
password" problem. Hopefully this won't bring back the phantom flashing
titlebar...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@193 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 12:25:21 +00:00
Matt Chapman
5514330916
foo function() -> foo function(void) to conform to ANSI C.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@191 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:59:14 +00:00
Matt Chapman
d2b051fb30
Make no translation messages DEBUG_KBD.
...
Clean up includes, fix a few compile warnings, avoid rdesktop.h depending
on X (at the expense of KeySym -> uint32 - maybe in the future we need a
better proto scheme).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@189 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:33:17 +00:00
Matt Chapman
f418fe1a5c
Reinstate a cleaned-up version of the old xwin_toggle_fullscreen - I indeed
...
can't get it working reliably with all window managers without creating a
new window.
Move remaining non-window dependant code into ui_init/ui_deinit so that
xwin_toggle_fullscreen can do ui_destroy_window/ui_create_window.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@187 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 06:09:09 +00:00
Peter Kallden
ce93ec91a4
Owncolmap removed in favour of more intelligent color allocation.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@184 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-18 12:13:08 +00:00
Peter Åstrand
b9eeaf747d
Small line-break fix for DEBUG_KBD.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@181 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 16:55:43 +00:00
Peter Åstrand
8c203e862f
xwin_reset_keys -> reset_modifier_keys. Only when necessary
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@169 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 08:18:41 +00:00
Peter Åstrand
eaaec08277
Small indent fix.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@163 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-16 13:19:54 +00:00
Matt Chapman
9d4c3b2872
Now that we have ui_init move rounding of geometry there (it's X-specific).
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@159 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:42:26 +00:00
Matt Chapman
1bee46c41e
Possible fix for "flashing title bar" problem (don't grab in response
...
to FocusIn/FocusOut - seems to cause an event loop).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@157 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 11:53:50 +00:00
Matt Chapman
c113538377
Fix rdesktop not resizing properly in xwin_toggle_fullscreen with
...
some window managers.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@156 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 11:39:16 +00:00
Matt Chapman
4eb19aceb1
Rewrite of toggle_fullscreen so it modifies the attributes of the existing
...
window instead of creating a new one.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@122 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 13:47:24 +00:00
Matt Chapman
6d5e7121b7
Move non-window-related initialisation to ui_init.
...
All functions after ui_init can now assume display and other globals are valid.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@120 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 11:48:44 +00:00
Peter Åstrand
65ec7634d9
Fixes Excel scroll-of-death problem: earlier select-loop failed to call xwin_process_events
...
when the queue was non-zero but the X11 socket was empty.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@118 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-12 09:38:31 +00:00
Peter Åstrand
7e7527302c
Support for Windows keys (via Ctrl-Esc)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@117 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 11:45:20 +00:00
Peter Åstrand
2a495de6e8
Inhibited keys are defined in keymap files; not hardcoded
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@115 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 11:11:27 +00:00
Peter Åstrand
9d83ff00e5
Fixes NumLock problems; using RDP_INPUT_SYNCHRONIZE
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@114 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 09:52:30 +00:00