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