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