/[rdesktop]/jpeg/rdesktop/trunk/rdesktop.c |
Parent Directory | Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
Date: Sun, 19 Jul 2009 14:00:30 -0400 From: Daniel Jarboe <daniel.jarboe(at)gmail.com> To: Dobrica Pavlinusic <dpavlin(at)rot13.org> Subject: Re: rdesktop diff On Sun, Jul 19, 2009 at 8:01 AM, Dobrica Pavlinusic <dpavlin(at)rot13.org>wrote: > > I'm looking forward for your patch, and will keep you informed what I > did with it :-) This diff was an earlier one with some debug printfs in so you can see how the tuning knobs work. I was only keeping an eye on a young computer user's activities so ignored small screen changes and wrote out the stills to lossy jpegs with libjpeg. If you plan on saving screens no matter if there are changes or not then I'd throw away all the g_bitmap_data_last_write stuff. diff is against rdesktop-1.6 with whatever patches are in ubuntu 9.04 jaunty. Added libjpeg62-dev in addition to the regular rdesktop build dependencies. Have fun and thanks for letting me know what you end up with. ~ Daniel
branch for integration of Daniel Jarboe <daniel.jarboe(at)gmail.com> patches for jpeg
Moving rdesktop trunk to correct location.
Removed the hardcoded limit of the username length.
Bump version number in preparation for release.
Add some more warnings and sanity checks.
32 bit color
g_ prefix for global vars
copyright year update
moved all openssl calls to one file
prefix BOOL with RD_
copyright year update
only declare rdpsnd_optarg when sound-support is configured make sure last element of sound-driver-list is NULL
Smartcard support by Alexi Volkov <alexi@pravex.kiev.ua> and additional patches for smartcard-support by Jennings Jared <jared.jennings.ctr@eglin.af.mil>
Prevent segfaults in out of memory conditions by checking the pointer returned from XGetImage.
move sound-driver selection code in rdpsnd_init
handle missing audio-drivers better
allow multiple sound-drivers to be compiled in simultaneously and make the runtime selectable
The default color depth is now the depth of the root window.
Eliminated a few compile warnings.
Cut down own the redundant clipboard mode arguments.
Control clipboard behaviour (and even disable it) using command line options.
Added SeamlessRDP support: Merged seamlessrdp-branch
Added support for a new virtual channel, lspci, which makes it possible for the remote RDP server to enumerate the local PCI devices.
Increased the length of the directory variable to 256 bytes; the same as for the shell.
Length of shell (-s argument) changed from 128 to 256, since investigations show that WTS servers chop the string at 256 byte.
Applied patch #1390148 from Ilya Konstantinov: Refactoring of color depth code.
Applied patch #1367109: prevent strtol overflow
Using new utility function str_startswith, to get rid of many sizeof:s and hardcoded constants.
Globally include limits.h for PATH_MAX, as this is used in types.h
Applied patch #1247780 (slightly modified) from Brian Chapeau: Session Directory support.
keymapname -> g_keymapname
Created a common xstrdup function.
Reorganized the automatic selection of keymap: The message about autoselection is not printed if -k is not given.
Need to include limits.h for PATH_MAX.
It is now possible to specify keyboard type, subtype and number of functionskeys. From patch #974509, by Dekaino.
Autoselecting keyboard map based on current locale. Re-implementation of patch #1068995.
keymapname size if now PATH_MAX, since we now allow arbitrary file names.
print_disconnect_reason should be static.
Add alternative mppc decompression code with 64kB history buffer from Vahur Sinijärv, and reenable rdp5 (persistent) bitmap cache 2 (64x64)
Enable rdp-compression for all bpps. Many thanks to Vahur Sinijärv <vahur.sinijarv@cydonia.ee> for finding the fix.
We need to include sys/types.h before including sys/socket.h This broke builds on AIX.
allow windowid to be hexadecimal, which is what krdc actually uses...
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
indent fixes
configure test for HAVE_ICONV_H, HAVE_LOCALE_H and HAVE_LANGINFO_H still no test for HAVE_ICONV
unicode support from Andy Igoshin <ai@vsu.ru> Currently disabled, need HAVE_ICONV and HAVE_ICONV_H defined to be used. This should be done with a new configure test.
added var for new polygon and ellipse orders
bump version to 1.4.0 change year in files add missing docu for updated commandline-flags update changelog
don't allow rdp-compression for depth > 8
Indent fixes
add support for specifying the window-position with the -g parameter
Indent fixes
added option for rdp compression
Disk redirection actually uses share names; not drive letters. Make sure we truncate share names longer than 8 chars. Documentation updated.
Now using Autoconf. Old OpenSSL files removed.
add missing newlines in warnings
Indent fixes
a few fixes for PBC from Jeroen
added persistant bitmap chaching from Jeroen Meijer, slightly modified
proceed more global vars with g_
Fix compilation without sound
fix the -b switch
Applied disconnect handling patch from Jeroen Meijer
Indent fixes
rdp2vnc fixes from Johannes Schindelin <Johannes.Schindelin@gmx.de>
Made it possible to set the client name displayed to the right of the redirected disks (in Windows explorer) using -r:clientname=<client name>.
RDP5 Experience patch by Jeroen Meijer <jeroen@oldambt7.com>
XEmbed-patch by Arend van Beelen jr. <arend@auton.nl>
change to -r sound:local instead of -r sound:on
make -r sound behave as the other -r switches, but keep backward compatibility i.e. "-r sound" still does the same
leave sound on server -r sound:remote thanks to cbquillen for finding out.
command-line parsing fix by Diego Torres Milano <diego@in3.com.ar>
Make internal backing-store the default && small fix for it
Indent fixes
fixes for HP-UX
cleanup of ltoa
fixing -r printer syntax using = as a separator to the driver part, i.e. -r printer:mydeskjet=xxx
Ran indent-all.sh
removing the code that set the serial io stuff, and the extra options to comport....
next_arg. slight oversight, when backslashing a needle we need to left shift the string 1 char.
next_arg modified to support escaping of needles with backslash. ( you may need two dep. on your shell. )
some fixes for solaris compiles. toupper was redefined to handle strings, now renamed to toupper_str disk.c has some more problems (it uses statfs and dirfd)
redirection of disk, lptport, printer, comport.
Bump version number to 1.3.1. Fix spelling: syncronization -> synchronisation (synchronization would be okay too, but I use the Australian/British spelling :))
Reverted to the old numlock-state code. The numlock sync can be enabled via new option -N
When mixing -f and -g, the last option should take precedence.
-A -> -r sound Update option listing and documentation for this and some other options.
added switch (-A) to disable rdpsnd
Support for specifying geometry in terms of percent of whole screen
Add option to attach to console on Windows 2003. (thanks to Chris Knight <chris@e-easy.com.au>)
Increased lengths for title, username and password
Preliminary sound support (PCM only). Based on code from GuoJunBo <guojunbo@ict.ac.cn>
Clarified usage message for -E flag. Fixed flag-collission (-E was used twice, the other -E is now -Q).
RDP5 is now default. Added -4 option.
more g_ prefix for global vars
more g_ prefix for global vars
Applied patch from Mike Dawson (slightly modified) for handling numeric IPv6 addresses.
more g_ prefix for global vars
preceeded more global vars with g_
Indent fixes
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
Make it possible to disable encryption for all packets except the packets exchanged in the setup phase. Seems to work with all encryption levels on my W2003 Server (Beta).
Make rdesktop return 0 only if a RDP_PDU_DISCONNECT was received, otherwise return 2 (except for usage errors, where it still returns 1). Documented exit codes of rdesktop in doc/exit_codes.txt.
Initialize IPC. Changes after running indent-all.sh
changes so it compiles with g++(mainly for ports)
Move non system dependent part of save_licence back to licence.c. Clean up overly paranoid code, close files, free memory, etc.
Fix some instances of out_uint{16|32} with non-zero value (should be out_uint{16|32}_{le|be}
Support for the -5 flag to rdesktop, indicating the experimental RDP5 support should be used.
Added rdp2vnc support
Online help for -S.
New option for running single applications maximized
Moved save_licence/load_licence back to rdesktop.c
Indent fixes
Moved load_licence/save_licence to licence.c. Removed SAVE_LICENCE cond.
added 15 and 24 bit server options
16bit
Wah. 2003 already.
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 :))
Fix for empty usernames
save licence change, based on Peter Fales and Mrs. Brisbys discussion.
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?
Support for extended WM hint _NET_WORKAREA, via -g workarea
Support for hiding WM decorations
Indent fixes.
Change default keymap us -> en-us.
Increased shell max length to 128.
Make title -T in line with xterm, xemacs, etc.
I've been convinced that accepting server[:port] is the right way to do things (less options to remember, and it's the syntax accepted by the MS clients).
Improve security of random number generation (support EGD, use MD5 in our poor man's version) - Jacco de Leeuw <jacco2@dds.nl>
Remove -l (Microsoft have long since fixed the bug that made it work).
Remove -P (askpass program)
-p - now reads from stdin rather than using getpass (/dev/tty)
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.
security: when supplying password as arg it is overwritten in the ps table with XXX. (On BSD based platforms this does nothing.)
Send packet dumps to stdout.
Now that we have ui_init move rounding of geometry there (it's X-specific).
#ifdef out licence save code. I don't think it's really necessary; it's always been broken and AFAIK no-one has complained.
Eliminate noise in output - only print version/copyright in usage(), make connecting/disconnecting message a DEBUG.
Move non-window-related initialisation to ui_init. All functions after ui_init can now assume display and other globals are valid.
Small indent fix.
Replaced all printf with fprintf(stderr)
Added -w option for setting title
Make sure width is a multiple of 4 (previous version in ui_create_window was getting done too late, after connection).
toggle full screen
Added -P parameter: Get password from external program (likeSSH_ASKPASS)
Changed max line length to 100
added ui_init for pre connect inits like fullscreen
Removed extra newline after -t option.
Applied patch from Bob Bell for -K option
Merged new keysym-based keyboard handling (from alt. CVS repos)
Fixed indentation with indent
added tcp port command line option
Revert to old behaviour of connecting before creating the UI. This is to stop the UI generating input before the connection is complete (which causes connection failures). The one difficulty is that ui_select is now called before ui_create_window, which may cause problems for other UIs - we may still need to change this in the future.
Code to save and load licence (not quite working yet - server still seems to reissue the licence). Small clean-up in xkeymap.
Committing my keymap work - unlike the version in the unified patches, this one uses external keymap files (which are my preference).
Add a ui_select to xwin.c to reduce latency. Remove extraneous error messages - only report at lowest level. Endianness and IRIX compile fixes.
Portability fixes, including elimination of variable argument macros. Rudimentary configure script. Miscellaneous cleanups.
Major cleanups, particularly in X code.
Merges from pl19-6-5.
Changed indentation style (-psl).
ran indent (-bli0 -i8 -cli8 -npcs -npsl)
times(NULL) results in a segmentation fault on OSF1.
Added a number of command line options including autologon. Inverted sense of -m (the default is now to send mouse move events). Preparing for release of 1.0.0.
Fixes (?) for font problems with Microsoft Office Added URL to website http://www.rdesktop.org/ Releasing 0.9.0-alpha2
Portability fixes for Solaris and OSF1.
Major commit of work from laptop - done in various free moments. Implemented encryption layer and some basic licensing negotiation. Reorganised code somewhat. While this is not quite as clean, it is a lot faster - our parser speed was becoming a bottle-neck.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.26 |