Changeset 55123 in vbox
- Timestamp:
- Apr 8, 2015 9:40:02 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 99420
- Location:
- trunk/src/VBox
- Files:
-
- 55 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client-1.8.3/Makefile.in
r55121 r55123 17 17 CC = @CC@ 18 18 INSTALL = @INSTALL@ 19 CFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ -DKEYMAP_PATH=\"$(KEYMAP_PATH)\" 20 LDFLAGS = @LDFLAGS@ @LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ 19 CFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ -Iinclude -DKEYMAP_PATH=\"$(KEYMAP_PATH)\" -DWITH_RDPUSB=1 -DRDESKTOP -DVBOX -DIN_RING3 -DRT_OS_LINUX -DLOG_DISABLED -DRTLOG_REL_DISABLED -DVBOX_USB_WITH_SYSFS 20 CXXFLAGS = @CXXFLAGS@ @DEFS@ -Iinclude -DKEYMAP_PATH=\"$(KEYMAP_PATH)\" -DWITH_RDPUSB=1 -DRDESKTOP -DVBOX -DIN_RING3 -DRT_OS_LINUX -DLOG_DISABLED -DRTLOG_REL_DISABLED -DVBOX_USB_WITH_SYSFS 21 LDFLAGS = @LDFLAGS@ @LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ -lpthread -ldl 21 22 STRIP = @STRIP@ 22 23 … … 29 30 CREDSSPOBJ = @CREDSSPOBJ@ 30 31 31 RDPOBJ = tcp.o asn.o iso.o mcs.o secure.o licence.o rdp.o orders.o bitmap.o cache.o rdp5.o channels.o rdpdr.o serial.o printer.o disk.o parallel.o printercache.o mppc.o pstcache.o lspci.o seamless.o ssl.o utils.o 32 RDPOBJ = tcp.o asn.o iso.o mcs.o secure.o licence.o rdp.o orders.o bitmap.o cache.o rdp5.o channels.o rdpdr.o serial.o printer.o disk.o parallel.o printercache.o mppc.o pstcache.o lspci.o seamless.o ssl.o utils.o Runtime/common/alloc/alloc.o Runtime/common/err/errmsg.o Runtime/common/err/errmsgxpcom.o Runtime/common/err/RTErrConvertFromErrno.o Runtime/common/err/RTErrConvertToErrno.o Runtime/common/misc/sg.o Runtime/common/path/RTPathAppend.o Runtime/common/path/RTPathAppendEx.o Runtime/common/path/RTPathCountComponents.o Runtime/common/path/RTPathFilename.o Runtime/common/path/rtPathRootSpecLen.o Runtime/common/path/RTPathStripFilename.o Runtime/common/path/RTPathStripTrailingSlash.o Runtime/common/path/rtPathVolumeSpecLen.o Runtime/common/string/RTStrCmp.o Runtime/common/string/RTStrNCmp.o Runtime/common/string/RTStrCopy.o Runtime/common/string/RTStrNLen.o Runtime/common/string/straprintf.o Runtime/common/string/stringalloc.o Runtime/common/string/strformat.o Runtime/common/string/strformatrt.o Runtime/common/string/strformattype.o Runtime/common/string/strprintf.o Runtime/common/string/strstrip.o Runtime/common/string/strtonum.o Runtime/common/string/unidata-flags.o Runtime/common/string/unidata-upper.o Runtime/common/string/unidata-lower.o Runtime/common/string/utf-16.o Runtime/common/string/utf-8.o Runtime/common/string/utf-8-case.o Runtime/common/time/timesysalias.o Runtime/generic/pathhost-generic.o Runtime/generic/RTPathAbs-generic.o Runtime/r3/alloc.o Runtime/r3/dir.o Runtime/r3/fileio.o Runtime/r3/fs.o Runtime/r3/linux/sysfs.o Runtime/r3/linux/time-linux.o Runtime/r3/posix/dir-posix.o Runtime/r3/posix/env-posix.o Runtime/r3/posix/fileio-posix.o Runtime/r3/posix/fs2-posix.o Runtime/r3/posix/fs3-posix.o Runtime/r3/posix/path-posix.o Runtime/r3/posix/path2-posix.o Runtime/r3/posix/pipe-posix.o Runtime/r3/posix/thread2-posix.o Runtime/r3/posix/utf8-posix.o Runtime/r3/stream.o vrdp/rdpusb.o vrdp/USBGetDevices.o vrdp/USBLib.o vrdp/linux/USBProxyDevice-linux.o 32 33 X11OBJ = rdesktop.o xwin.o xkeymap.o ewmhints.o xclip.o cliprdr.o ctrl.o 33 34 VNCOBJ = vnc/rdp2vnc.o vnc/vnc.o vnc/xkeymap.o vnc/x11stubs.o … … 37 38 38 39 rdesktop: $(X11OBJ) $(SOUNDOBJ) $(RDPOBJ) $(SCARDOBJ) $(CREDSSPOBJ) 39 $(C C) $(CFLAGS) -o rdesktop $(X11OBJ) $(SOUNDOBJ) $(RDPOBJ) $(SCARDOBJ) $(CREDSSPOBJ) $(LDFLAGS) -lX1140 $(CXX) $(CFLAGS) -o rdesktop $(X11OBJ) $(SOUNDOBJ) $(RDPOBJ) $(SCARDOBJ) $(CREDSSPOBJ) $(LDFLAGS) -lX11 40 41 41 42 rdp2vnc: $(VNCOBJ) $(SOUNDOBJ) $(RDPOBJ) $(SCARDOBJ) $(CREDSSPOBJ) … … 92 93 .PHONY: clean 93 94 clean: 94 rm -f *.o *~ vnc/*.o vnc/*~ rdesktop rdp2vnc95 rm -f *.o *~ vnc/*.o vnc/*~ vrdp/*.o vrdp/*~ vrdp/linux/*.o vrdp/linux/*~ Runtime/common/*/*.o Runtime/common/*/*~ Runtime/generic/*.o Runtime/generic/*~ Runtime/r3/*.o Runtime/r3/*~ Runtime/r3/*/*.o Runtime/r3/*/*~ rdesktop rdp2vnc 95 96 96 97 .PHONY: distclean … … 156 157 157 158 .SUFFIXES: 158 .SUFFIXES: .c . o159 .SUFFIXES: .c .cpp .o 159 160 160 161 .c.o: -
trunk/src/VBox/RDP/client-1.8.3/Makefile.kmk
r55120 r55123 25 25 VBOX_PATH_MAIN_LINUX := $(PATH_ROOT)/src/VBox/Main/src-server/linux 26 26 VBOX_PATH_MAIN_INCLUDE := $(PATH_ROOT)/src/VBox/Main/include 27 VBOX_RDESKTOP_SRC_SUBDIR = rdesktop-1. 7.0-vrdp27 VBOX_RDESKTOP_SRC_SUBDIR = rdesktop-1.8.3-vrdp 28 28 29 29 # … … 34 34 rdesktop-vrdp_SDKS = VBOX_OPENSSL2 35 35 rdesktop-vrdp_DEFS = \ 36 PACKAGE_NAME=\"rdesktop-vrdp\" PACKAGE_TARNAME=\"rdesktop-vrdp\" PACKAGE_VERSION=\"1. 7.0\" \37 PACKAGE_STRING=\"rdesktop\ 1. 7.0\" PACKAGE_BUGREPORT=\"\" STDC_HEADERS=1 L_ENDIAN=1 \36 PACKAGE_NAME=\"rdesktop-vrdp\" PACKAGE_TARNAME=\"rdesktop-vrdp\" PACKAGE_VERSION=\"1.8.3\" \ 37 PACKAGE_STRING=\"rdesktop\ 1.8.3\" PACKAGE_BUGREPORT=\"\" STDC_HEADERS=1 L_ENDIAN=1 \ 38 38 HAVE_SYS_TYPES_H=1 HAVE_SYS_STAT_H=1 HAVE_STDLIB_H=1 HAVE_STRING_H=1 HAVE_MEMORY_H=1 \ 39 39 HAVE_STRINGS_H=1 HAVE_INTTYPES_H=1 HAVE_STDINT_H=1 HAVE_UNISTD_H=1 HAVE_SYS_SELECT_H=1 \ … … 68 68 rdesktop-vrdp_SOURCES = \ 69 69 tcp.c \ 70 asn.c \ 70 71 iso.c \ 71 72 mcs.c \ … … 89 90 seamless.c \ 90 91 ssl.c \ 92 utils.c \ 91 93 rdesktop.c \ 92 94 xwin.c \ … … 95 97 xclip.c \ 96 98 cliprdr.c \ 99 ctrl.c \ 97 100 rdpsnd.c \ 98 101 rdpsnd_dsp.c … … 151 154 keymaps/convert-map=>keymaps/convert-map 152 155 rdesktop-src_SOURCES = \ 156 asn.c=>asn.c \ 153 157 bitmap.c=>bitmap.c \ 154 158 cache.c=>cache.c \ … … 158 162 constants.h=>constants.h \ 159 163 COPYING=>COPYING \ 164 cssp.c=>cssp.c \ 160 165 disk.c=>disk.c \ 161 166 disk.h=>disk.h \ … … 233 238 rdp.c=>rdp.c \ 234 239 rdpdr.c=>rdpdr.c \ 235 rdpsnd_alsa.c=>rdpsnd_alsa.c \236 240 rdpsnd.c=>rdpsnd.c \ 237 241 rdpsnd_dsp.c=>rdpsnd_dsp.c \ … … 239 243 rdpsnd.h=>rdpsnd.h \ 240 244 rdpsnd_libao.c=>rdpsnd_libao.c \ 245 rdpsnd_alsa.c=>rdpsnd_alsa.c \ 241 246 rdpsnd_oss.c=>rdpsnd_oss.c \ 242 247 rdpsnd_sgi.c=>rdpsnd_sgi.c \ … … 254 259 tcp.c=>tcp.c \ 255 260 types.h=>types.h \ 261 utils.c=>utils.c \ 256 262 vrdp/vrdpusb.h=>vrdp/vrdpusb.h \ 257 263 vrdp/rdpusb.c=>vrdp/rdpusb.c \ 258 264 xclip.c=>xclip.c \ 265 ctrl.c=>ctrl.c \ 259 266 xkeymap.c=>xkeymap.c \ 260 267 xproto.h=>xproto.h \ -
trunk/src/VBox/RDP/client-1.8.3/asn.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/bitmap.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 /* three seperate function for speed when decompressing the bitmaps -
trunk/src/VBox/RDP/client-1.8.3/cache.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/channels.c
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/cliprdr.c
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/configure
r55121 r55123 658 658 INSTALL_SCRIPT 659 659 INSTALL_PROGRAM 660 ac_ct_CXX 661 CXXFLAGS 662 CXX 660 663 OBJEXT 661 664 EXEEXT … … 746 749 LIBS 747 750 CPPFLAGS 751 CXX 752 CXXFLAGS 753 CCC 748 754 CPP 749 755 XMKMF … … 1416 1422 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1417 1423 you have headers in a nonstandard directory <include dir> 1424 CXX C++ compiler command 1425 CXXFLAGS C++ compiler flags 1418 1426 CPP C preprocessor 1419 1427 XMKMF Path to xmkmf, Makefile generator for X Window System … … 1561 1569 1562 1570 } # ac_fn_c_try_compile 1571 1572 # ac_fn_cxx_try_compile LINENO 1573 # ---------------------------- 1574 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1575 ac_fn_cxx_try_compile () 1576 { 1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1578 rm -f conftest.$ac_objext 1579 if { { ac_try="$ac_compile" 1580 case "(($ac_try" in 1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1582 *) ac_try_echo=$ac_try;; 1583 esac 1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1585 $as_echo "$ac_try_echo"; } >&5 1586 (eval "$ac_compile") 2>conftest.err 1587 ac_status=$? 1588 if test -s conftest.err; then 1589 grep -v '^ *+' conftest.err >conftest.er1 1590 cat conftest.er1 >&5 1591 mv -f conftest.er1 conftest.err 1592 fi 1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1594 test $ac_status = 0; } && { 1595 test -z "$ac_cxx_werror_flag" || 1596 test ! -s conftest.err 1597 } && test -s conftest.$ac_objext; then : 1598 ac_retval=0 1599 else 1600 $as_echo "$as_me: failed program was:" >&5 1601 sed 's/^/| /' conftest.$ac_ext >&5 1602 1603 ac_retval=1 1604 fi 1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1606 as_fn_set_status $ac_retval 1607 1608 } # ac_fn_cxx_try_compile 1563 1609 1564 1610 # ac_fn_c_try_cpp LINENO … … 3276 3322 CFLAGS="$CFLAGS -Wall" 3277 3323 fi 3324 ac_ext=cpp 3325 ac_cpp='$CXXCPP $CPPFLAGS' 3326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3329 if test -z "$CXX"; then 3330 if test -n "$CCC"; then 3331 CXX=$CCC 3332 else 3333 if test -n "$ac_tool_prefix"; then 3334 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3335 do 3336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3339 $as_echo_n "checking for $ac_word... " >&6; } 3340 if ${ac_cv_prog_CXX+:} false; then : 3341 $as_echo_n "(cached) " >&6 3342 else 3343 if test -n "$CXX"; then 3344 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3345 else 3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3347 for as_dir in $PATH 3348 do 3349 IFS=$as_save_IFS 3350 test -z "$as_dir" && as_dir=. 3351 for ac_exec_ext in '' $ac_executable_extensions; do 3352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3353 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3355 break 2 3356 fi 3357 done 3358 done 3359 IFS=$as_save_IFS 3360 3361 fi 3362 fi 3363 CXX=$ac_cv_prog_CXX 3364 if test -n "$CXX"; then 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3366 $as_echo "$CXX" >&6; } 3367 else 3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3369 $as_echo "no" >&6; } 3370 fi 3371 3372 3373 test -n "$CXX" && break 3374 done 3375 fi 3376 if test -z "$CXX"; then 3377 ac_ct_CXX=$CXX 3378 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3379 do 3380 # Extract the first word of "$ac_prog", so it can be a program name with args. 3381 set dummy $ac_prog; ac_word=$2 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3383 $as_echo_n "checking for $ac_word... " >&6; } 3384 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3385 $as_echo_n "(cached) " >&6 3386 else 3387 if test -n "$ac_ct_CXX"; then 3388 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3389 else 3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3391 for as_dir in $PATH 3392 do 3393 IFS=$as_save_IFS 3394 test -z "$as_dir" && as_dir=. 3395 for ac_exec_ext in '' $ac_executable_extensions; do 3396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3397 ac_cv_prog_ac_ct_CXX="$ac_prog" 3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3399 break 2 3400 fi 3401 done 3402 done 3403 IFS=$as_save_IFS 3404 3405 fi 3406 fi 3407 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3408 if test -n "$ac_ct_CXX"; then 3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3410 $as_echo "$ac_ct_CXX" >&6; } 3411 else 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3413 $as_echo "no" >&6; } 3414 fi 3415 3416 3417 test -n "$ac_ct_CXX" && break 3418 done 3419 3420 if test "x$ac_ct_CXX" = x; then 3421 CXX="g++" 3422 else 3423 case $cross_compiling:$ac_tool_warned in 3424 yes:) 3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3427 ac_tool_warned=yes ;; 3428 esac 3429 CXX=$ac_ct_CXX 3430 fi 3431 fi 3432 3433 fi 3434 fi 3435 # Provide some information about the compiler. 3436 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3437 set X $ac_compile 3438 ac_compiler=$2 3439 for ac_option in --version -v -V -qversion; do 3440 { { ac_try="$ac_compiler $ac_option >&5" 3441 case "(($ac_try" in 3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3443 *) ac_try_echo=$ac_try;; 3444 esac 3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3446 $as_echo "$ac_try_echo"; } >&5 3447 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3448 ac_status=$? 3449 if test -s conftest.err; then 3450 sed '10a\ 3451 ... rest of stderr output deleted ... 3452 10q' conftest.err >conftest.er1 3453 cat conftest.er1 >&5 3454 fi 3455 rm -f conftest.er1 conftest.err 3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3457 test $ac_status = 0; } 3458 done 3459 3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3461 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3462 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3463 $as_echo_n "(cached) " >&6 3464 else 3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3466 /* end confdefs.h. */ 3467 3468 int 3469 main () 3470 { 3471 #ifndef __GNUC__ 3472 choke me 3473 #endif 3474 3475 ; 3476 return 0; 3477 } 3478 _ACEOF 3479 if ac_fn_cxx_try_compile "$LINENO"; then : 3480 ac_compiler_gnu=yes 3481 else 3482 ac_compiler_gnu=no 3483 fi 3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3485 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3486 3487 fi 3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3489 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3490 if test $ac_compiler_gnu = yes; then 3491 GXX=yes 3492 else 3493 GXX= 3494 fi 3495 ac_test_CXXFLAGS=${CXXFLAGS+set} 3496 ac_save_CXXFLAGS=$CXXFLAGS 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3498 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3499 if ${ac_cv_prog_cxx_g+:} false; then : 3500 $as_echo_n "(cached) " >&6 3501 else 3502 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3503 ac_cxx_werror_flag=yes 3504 ac_cv_prog_cxx_g=no 3505 CXXFLAGS="-g" 3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3507 /* end confdefs.h. */ 3508 3509 int 3510 main () 3511 { 3512 3513 ; 3514 return 0; 3515 } 3516 _ACEOF 3517 if ac_fn_cxx_try_compile "$LINENO"; then : 3518 ac_cv_prog_cxx_g=yes 3519 else 3520 CXXFLAGS="" 3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3522 /* end confdefs.h. */ 3523 3524 int 3525 main () 3526 { 3527 3528 ; 3529 return 0; 3530 } 3531 _ACEOF 3532 if ac_fn_cxx_try_compile "$LINENO"; then : 3533 3534 else 3535 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3536 CXXFLAGS="-g" 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3538 /* end confdefs.h. */ 3539 3540 int 3541 main () 3542 { 3543 3544 ; 3545 return 0; 3546 } 3547 _ACEOF 3548 if ac_fn_cxx_try_compile "$LINENO"; then : 3549 ac_cv_prog_cxx_g=yes 3550 fi 3551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3552 fi 3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3554 fi 3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3557 fi 3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3559 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3560 if test "$ac_test_CXXFLAGS" = set; then 3561 CXXFLAGS=$ac_save_CXXFLAGS 3562 elif test $ac_cv_prog_cxx_g = yes; then 3563 if test "$GXX" = yes; then 3564 CXXFLAGS="-g -O2" 3565 else 3566 CXXFLAGS="-g" 3567 fi 3568 else 3569 if test "$GXX" = yes; then 3570 CXXFLAGS="-O2" 3571 else 3572 CXXFLAGS= 3573 fi 3574 fi 3575 ac_ext=c 3576 ac_cpp='$CPP $CPPFLAGS' 3577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3579 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3580 3278 3581 3279 3582 # Find a good install program. We prefer a C program (faster), … … 4906 5209 fi 4907 5210 5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 5212 $as_echo_n "checking for library containing clock_gettime... " >&6; } 5213 if ${ac_cv_search_clock_gettime+:} false; then : 5214 $as_echo_n "(cached) " >&6 5215 else 5216 ac_func_search_save_LIBS=$LIBS 5217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5218 /* end confdefs.h. */ 5219 5220 /* Override any GCC internal prototype to avoid an error. 5221 Use char because int might match the return type of a GCC 5222 builtin and then its argument prototype would still apply. */ 5223 #ifdef __cplusplus 5224 extern "C" 5225 #endif 5226 char clock_gettime (); 5227 int 5228 main () 5229 { 5230 return clock_gettime (); 5231 ; 5232 return 0; 5233 } 5234 _ACEOF 5235 for ac_lib in '' rt; do 5236 if test -z "$ac_lib"; then 5237 ac_res="none required" 5238 else 5239 ac_res=-l$ac_lib 5240 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5241 fi 5242 if ac_fn_c_try_link "$LINENO"; then : 5243 ac_cv_search_clock_gettime=$ac_res 5244 fi 5245 rm -f core conftest.err conftest.$ac_objext \ 5246 conftest$ac_exeext 5247 if ${ac_cv_search_clock_gettime+:} false; then : 5248 break 5249 fi 5250 done 5251 if ${ac_cv_search_clock_gettime+:} false; then : 5252 5253 else 5254 ac_cv_search_clock_gettime=no 5255 fi 5256 rm conftest.$ac_ext 5257 LIBS=$ac_func_search_save_LIBS 5258 fi 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 5260 $as_echo "$ac_cv_search_clock_gettime" >&6; } 5261 ac_res=$ac_cv_search_clock_gettime 5262 if test "$ac_res" != no; then : 5263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5264 5265 fi 5266 4908 5267 4909 5268 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" … … 5690 6049 fi 5691 6050 6051 6052 # 6053 # linux/compiler.h 6054 # 6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linux/compiler.h is required" >&5 6056 $as_echo_n "checking if linux/compiler.h is required... " >&6; } 6057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6058 /* end confdefs.h. */ 6059 6060 #include <linux/compiler.h> 6061 6062 int 6063 main () 6064 { 6065 6066 ; 6067 return 0; 6068 } 6069 _ACEOF 6070 if ac_fn_c_try_compile "$LINENO"; then : 6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6072 $as_echo "yes" >&6; } 6073 $as_echo "#define VBOX_WITH_LINUX_COMPILER_H 1" >>confdefs.h 6074 6075 else 6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6077 $as_echo "no" >&6; } 6078 fi 6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5692 6080 5693 6081 … … 7134 7522 since some C++ compilers masquerading as C compilers 7135 7523 incorrectly reject 9223372036854775807. */ 7136 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7524 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7137 7525 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7138 7526 && LARGE_OFF_T % 2147483647 == 1) … … 7180 7568 since some C++ compilers masquerading as C compilers 7181 7569 incorrectly reject 9223372036854775807. */ 7182 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7570 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7183 7571 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7184 7572 && LARGE_OFF_T % 2147483647 == 1) … … 7204 7592 since some C++ compilers masquerading as C compilers 7205 7593 incorrectly reject 9223372036854775807. */ 7206 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7594 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7207 7595 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7208 7596 && LARGE_OFF_T % 2147483647 == 1) … … 7249 7637 since some C++ compilers masquerading as C compilers 7250 7638 incorrectly reject 9223372036854775807. */ 7251 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7639 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7252 7640 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7253 7641 && LARGE_OFF_T % 2147483647 == 1) … … 7273 7661 since some C++ compilers masquerading as C compilers 7274 7662 incorrectly reject 9223372036854775807. */ 7275 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7663 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7276 7664 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7277 7665 && LARGE_OFF_T % 2147483647 == 1) -
trunk/src/VBox/RDP/client-1.8.3/configure.ac
r55121 r55123 9 9 CFLAGS="$CFLAGS -Wall" 10 10 fi 11 AC_PROG_CXX 11 12 12 13 AC_PROG_INSTALL … … 32 33 AC_SEARCH_LIBS(socket, socket) 33 34 AC_SEARCH_LIBS(inet_aton, resolv) 35 AC_SEARCH_LIBS(clock_gettime, rt) 34 36 35 37 AC_CHECK_HEADER(sys/select.h, AC_DEFINE(HAVE_SYS_SELECT_H)) … … 223 225 } 224 226 return 0; 225 }], 226 [AC_MSG_RESULT(no)], 227 [AC_MSG_RESULT(yes) 228 AC_DEFINE(NEED_ALIGN)], 229 [AC_MSG_RESULT(assuming yes) 227 }], 228 [AC_MSG_RESULT(no)], 229 [AC_MSG_RESULT(yes) 230 AC_DEFINE(NEED_ALIGN)], 231 [AC_MSG_RESULT(assuming yes) 230 232 AC_DEFINE(NEED_ALIGN)]) 233 234 # 235 # linux/compiler.h 236 # 237 AC_MSG_CHECKING([if linux/compiler.h is required]) 238 AC_TRY_COMPILE([ 239 #include <linux/compiler.h> 240 ],[], 241 [AC_MSG_RESULT(yes) 242 AC_DEFINE(VBOX_WITH_LINUX_COMPILER_H)], 243 [AC_MSG_RESULT(no)]) 231 244 232 245 … … 252 265 AC_ARG_WITH(libvncserver, 253 266 [ --with-libvncserver make rdp2vnc], 254 [ 267 [ 255 268 VNCINC=`$vncserverconfig --cflags` 256 269 AC_SUBST(VNCINC) … … 271 284 AC_ARG_WITH(sound, 272 285 [ --with-sound select sound system ("oss", "sgi", "sun", "alsa" or "libao") ], 273 [ 274 sound="$withval" 286 [ 287 sound="$withval" 275 288 ]) 276 289 … … 279 292 AC_CHECK_HEADER(sys/audioio.h, [HAVE_SUN=1], [HAVE_SUN=0]) 280 293 281 AC_ARG_ENABLE(static-libsamplerate, 282 [ --enable-static-libsamplerate link libsamplerate statically], 283 [static_libsamplerate=yes], 294 AC_ARG_ENABLE(static-libsamplerate, 295 [ --enable-static-libsamplerate link libsamplerate statically], 296 [static_libsamplerate=yes], 284 297 [static_libsamplerate=no]) 285 298 … … 854 867 AC_ARG_WITH(ipv6, 855 868 [ --with-ipv6 enable IPv6-support], 856 [ 869 [ 857 870 if test $withval != "no"; 858 871 then … … 869 882 [ 870 883 if test $withval != "no"; 871 then 884 then 872 885 AC_DEFINE(WITH_DEBUG,1) 873 886 fi … … 878 891 [ 879 892 if test $withval != "no"; 880 then 893 then 881 894 AC_DEFINE(WITH_DEBUG_KBD,1) 882 895 fi … … 887 900 [ 888 901 if test $withval != "no"; 889 then 902 then 890 903 AC_DEFINE(WITH_DEBUG_RDP5,1) 891 904 fi … … 896 909 [ 897 910 if test $withval != "no"; 898 then 911 then 899 912 AC_DEFINE(WITH_DEBUG_CLIPBOARD,1) 900 913 fi … … 905 918 [ 906 919 if test $withval != "no"; 907 then 920 then 908 921 AC_DEFINE(WITH_DEBUG_SOUND,1) 909 922 fi … … 914 927 [ 915 928 if test $withval != "no"; 916 then 929 then 917 930 AC_DEFINE(WITH_DEBUG_CHANNEL,1) 918 931 fi … … 923 936 [ 924 937 if test $withval != "no"; 925 then 938 then 926 939 AC_DEFINE(WITH_DEBUG_SEAMLESS,1) 927 940 fi -
trunk/src/VBox/RDP/client-1.8.3/constants.h
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 /* TCP port for Remote Desktop Protocol */ … … 227 236 #define KBD_FLAG_RIGHT 0x0001 228 237 #define KBD_FLAG_EXT 0x0100 238 #define KBD_FLAG_EXT2 0x0200 229 239 #define KBD_FLAG_QUIET 0x1000 230 240 #define KBD_FLAG_DOWN 0x4000 -
trunk/src/VBox/RDP/client-1.8.3/cssp.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include <gssapi/gssapi.h> -
trunk/src/VBox/RDP/client-1.8.3/ctrl.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 28 19 29 #include "rdesktop.h" 20 30 #include "ssl.h" -
trunk/src/VBox/RDP/client-1.8.3/disk.c
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #include "disk.h" … … 358 367 filename[strlen(filename) - 1] = 0; 359 368 369 #ifdef VBOX 370 snprintf(path, sizeof(path), "%s%s", g_rdpdr_device[device_id].local_path, filename); 371 #else 360 372 sprintf(path, "%s%s", g_rdpdr_device[device_id].local_path, filename ? filename : ""); 373 #endif 361 374 362 375 /* Protect against mailicous servers: … … 827 840 convert_to_unix_filename(newname); 828 841 842 #ifdef VBOX 843 snprintf(fullpath, sizeof(fullpath), "%s%s", g_rdpdr_device[pfinfo->device_id].local_path, 844 newname); 845 #else 829 846 sprintf(fullpath, "%s%s", g_rdpdr_device[pfinfo->device_id].local_path, 830 847 newname); 848 #endif 831 849 832 850 free(newname); … … 1213 1231 1214 1232 /* Get information for directory entry */ 1233 #ifdef VBOX 1234 snprintf(fullpath, sizeof(fullpath), "%s/%s", dirname, pdirent->d_name); 1235 #else 1215 1236 sprintf(fullpath, "%s/%s", dirname, pdirent->d_name); 1237 #endif 1216 1238 1217 1239 if (stat(fullpath, &filestat)) … … 1370 1392 disk_device_control(RD_NTHANDLE handle, uint32 request, STREAM in, STREAM out) 1371 1393 { 1394 #ifdef VBOX 1395 if (((request >> 16) != 20) && ((request >> 16) != 9)) 1396 return RD_STATUS_INVALID_PARAMETER; 1397 #else 1372 1398 if (((request >> 16) != 20) || ((request >> 16) != 9)) 1373 1399 return RD_STATUS_INVALID_PARAMETER; 1400 #endif 1374 1401 1375 1402 /* extract operation */ -
trunk/src/VBox/RDP/client-1.8.3/disk.h
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #define FILE_ATTRIBUTE_READONLY 0x00000001 -
trunk/src/VBox/RDP/client-1.8.3/ewmhints.c
r55121 r55123 21 21 along with this program. If not, see <http://www.gnu.org/licenses/>. 22 22 */ 23 24 /* 25 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 26 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 27 * the General Public License version 2 (GPLv2) at this time for any software where 28 * a choice of GPL license versions is made available with the language indicating 29 * that GPLv2 or any later version may be used, or where a choice of which version 30 * of the GPL is applied is otherwise unspecified. 31 */ 23 32 24 33 #include <X11/Xlib.h> -
trunk/src/VBox/RDP/client-1.8.3/iso.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/licence.c
r55121 r55123 20 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 21 */ 22 23 /* 24 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 25 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 26 * the General Public License version 2 (GPLv2) at this time for any software where 27 * a choice of GPL license versions is made available with the language indicating 28 * that GPLv2 or any later version may be used, or where a choice of which version 29 * of the GPL is applied is otherwise unspecified. 30 */ 22 31 23 32 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/lspci.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/mcs.c
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/mppc.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include <stdio.h> -
trunk/src/VBox/RDP/client-1.8.3/orders.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/orders.h
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #define RDP_ORDER_STANDARD 0x01 -
trunk/src/VBox/RDP/client-1.8.3/parallel.c
r55121 r55123 16 16 along with this program. If not, see <http://www.gnu.org/licenses/>. 17 17 */ 18 19 /* 20 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 22 * the General Public License version 2 (GPLv2) at this time for any software where 23 * a choice of GPL license versions is made available with the language indicating 24 * that GPLv2 or any later version may be used, or where a choice of which version 25 * of the GPL is applied is otherwise unspecified. 26 */ 27 18 28 #define MAX_PARALLEL_DEVICES 1 19 29 -
trunk/src/VBox/RDP/client-1.8.3/parse.h
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 /* Parser state */ -
trunk/src/VBox/RDP/client-1.8.3/printer.c
r55121 r55123 16 16 along with this program. If not, see <http://www.gnu.org/licenses/>. 17 17 */ 18 19 /* 20 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 22 * the General Public License version 2 (GPLv2) at this time for any software where 23 * a choice of GPL license versions is made available with the language indicating 24 * that GPLv2 or any later version may be used, or where a choice of which version 25 * of the GPL is applied is otherwise unspecified. 26 */ 18 27 19 28 #include "rdesktop.h" … … 116 125 else 117 126 { 127 #ifdef VBOX 128 snprintf(cmd, sizeof(cmd), "lpr -P %s", pprinter_data->printer); 129 #else 118 130 sprintf(cmd, "lpr -P %s", pprinter_data->printer); 131 #endif 119 132 pprinter_data->printer_fp = popen(cmd, "w"); 120 133 } -
trunk/src/VBox/RDP/client-1.8.3/printercache.c
r55121 r55123 20 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 21 */ 22 23 /* 24 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 25 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 26 * the General Public License version 2 (GPLv2) at this time for any software where 27 * a choice of GPL license versions is made available with the language indicating 28 * that GPLv2 or any later version may be used, or where a choice of which version 29 * of the GPL is applied is otherwise unspecified. 30 */ 22 31 23 32 /* According to the W2K RDP Printer Redirection WhitePaper, a data -
trunk/src/VBox/RDP/client-1.8.3/proto.h
r55121 r55123 16 16 along with this program. If not, see <http://www.gnu.org/licenses/>. 17 17 */ 18 19 /* 20 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 22 * the General Public License version 2 (GPLv2) at this time for any software where 23 * a choice of GPL license versions is made available with the language indicating 24 * that GPLv2 or any later version may be used, or where a choice of which version 25 * of the GPL is applied is otherwise unspecified. 26 */ 18 27 19 28 #ifndef RDESKTOP_PROTO_H … … 355 364 void scardSetInfo(uint32 epoch, uint32 device, uint32 id, uint32 bytes_out); 356 365 void scard_reset_state(); 366 /* vrdp/rdpusb.c */ 367 RD_BOOL rdpusb_init(void); 368 void rdpusb_close (void); 369 void rdpusb_add_fds(int *n, fd_set * rfds, fd_set * wfds); 370 void rdpusb_check_fds(fd_set * rfds, fd_set * wfds); 357 371 358 372 /* *INDENT-OFF* */ -
trunk/src/VBox/RDP/client-1.8.3/pstcache.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/rdesktop.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #include <stdarg.h> /* va_list va_start va_end */ … … 33 42 #include <signal.h> 34 43 #include "rdesktop.h" 44 45 #ifdef VBOX 46 # include <VBox/version.h> 47 # include <iprt/log.h> 48 #endif 35 49 36 50 #ifdef HAVE_LOCALE_H … … 102 116 RD_BOOL g_rdpclip = True; 103 117 RD_BOOL g_console_session = False; 118 #ifndef VBOX 104 119 RD_BOOL g_numlock_sync = False; 120 #else /* VBOX */ 121 /* Always use numlock synchronization with VRDP. */ 122 RD_BOOL g_numlock_sync = True; 123 #endif /* VBOX */ 105 124 RD_BOOL g_lspci_enabled = False; 106 125 RD_BOOL g_owncolmap = False; … … 142 161 #endif 143 162 163 #ifdef WITH_RDPUSB 164 RD_BOOL g_rdpusb = False; 165 #endif 166 167 #ifdef WITH_BIRD_VD_HACKS 168 RD_BOOL g_keep_virtual_desktop_shortcuts = False; 169 #endif 170 144 171 #ifdef HAVE_ICONV 145 172 char g_codepage[16] = ""; … … 169 196 fprintf(stderr, 170 197 "Version " PACKAGE_VERSION ". Copyright (C) 1999-2011 Matthew Chapman et al.\n"); 198 #ifdef VBOX 199 fprintf(stderr, "Modified for VirtualBox by " VBOX_VENDOR "\n"); 200 #endif 171 201 fprintf(stderr, "See http://www.rdesktop.org/ for more information.\n\n"); 172 202 … … 231 261 rdpsnd_show_help(); 232 262 #endif 263 #ifdef WITH_RDPUSB 264 fprintf(stderr, 265 " '-r usb': enable USB redirection\n"); 266 #endif 233 267 fprintf(stderr, 234 268 " '-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': enable clipboard\n"); … … 256 290 fprintf(stderr, " -4: use RDP version 4\n"); 257 291 fprintf(stderr, " -5: use RDP version 5 (default)\n"); 292 #ifdef WITH_BIRD_VD_HACKS 293 fprintf(stderr, " -H keep-virtual-desktop-shortcuts: Keep keyboard shortcuts typical\n" 294 " for switching virtual desktops (C-A-Left/Right). \n"); 295 #endif 258 296 #ifdef WITH_SCARD 259 297 fprintf(stderr, " -o: name=value: Adds an additional option to rdesktop.\n"); … … 516 554 517 555 } 556 557 #ifdef VBOX 558 /* This disables iprt logging */ 559 DECLEXPORT(PRTLOGGER) RTLogDefaultInit(void) 560 { 561 return NULL; 562 } 563 #endif 518 564 519 565 /* Client program */ … … 571 617 #define VNCOPT 572 618 #endif 619 #ifdef WITH_BIRD_VD_HACKS 620 #define VDHOPT "H:" 621 #else 622 #define VDHOPT 623 #endif 624 573 625 while ((c = getopt(argc, argv, 574 VNCOPT "A:u:L:d:s:c:p:n:k:g:o:fbBeEitmzCDKS:T:NX:a:x:Pr:045h?")) != -1)626 VNCOPT VDHOPT "A:u:L:d:s:c:p:n:k:g:o:fbBeEitmzCDKS:T:NX:a:x:Pr:045h?")) != -1) 575 627 { 576 628 switch (c) … … 853 905 #endif 854 906 } 907 } 908 else if (str_startswith(optarg, "usb")) 909 { 910 #ifdef WITH_RDPUSB 911 g_rdpusb = True; 912 #else 913 warning("Not compiled with USB support\n"); 914 #endif 855 915 } 856 916 else if (str_startswith(optarg, "disk")) … … 950 1010 break; 951 1011 #endif 1012 1013 #ifdef WITH_BIRD_VD_HACKS 1014 case 'H': /* hacks */ 1015 if (!strcmp(optarg, "keep-virtual-desktop-shortcuts")) 1016 g_keep_virtual_desktop_shortcuts = True; 1017 else 1018 error("Unknown -H argument\n\n\tPossible argument is: keep-virtual-desktop-shortcuts\n"); 1019 break; 1020 #endif 1021 952 1022 case 'h': 953 1023 case '?': … … 1111 1181 #endif 1112 1182 1113 if (g_lspci_enabled) 1183 #ifdef WITH_RDPUSB 1184 if (g_rdpusb) 1185 rdpusb_init(); 1186 #endif 1187 1188 if (g_lspci_enabled) 1114 1189 lspci_init(); 1115 1190 … … 1215 1290 cache_save_state(); 1216 1291 ui_deinit(); 1292 1293 #ifdef WITH_RDPUSB 1294 if (g_rdpusb) 1295 rdpusb_close(); 1296 #endif 1217 1297 1218 1298 if (g_user_quit) … … 1794 1874 return False; 1795 1875 1876 #ifdef VBOX 1877 snprintf(bmpcache_dir, sizeof(bmpcache_dir), "%s/%s", home, ".rdesktop"); 1878 #else 1796 1879 sprintf(bmpcache_dir, "%s/%s", home, ".rdesktop"); 1880 #endif 1797 1881 1798 1882 if ((mkdir(bmpcache_dir, S_IRWXU) == -1) && errno != EEXIST) … … 1802 1886 } 1803 1887 1888 #ifdef VBOX 1889 snprintf(bmpcache_dir, sizeof(bmpcache_dir), "%s/%s", home, ".rdesktop/cache"); 1890 #else 1804 1891 sprintf(bmpcache_dir, "%s/%s", home, ".rdesktop/cache"); 1892 #endif 1805 1893 1806 1894 if ((mkdir(bmpcache_dir, S_IRWXU) == -1) && errno != EEXIST) … … 1824 1912 if (home == NULL) 1825 1913 return -1; 1914 #ifdef VBOX 1915 snprintf(fn, sizeof(fn), "%s/.rdesktop/%s", home, filename); 1916 #else 1826 1917 sprintf(fn, "%s/.rdesktop/%s", home, filename); 1918 #endif 1827 1919 fd = open(fn, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 1828 1920 if (fd == -1) -
trunk/src/VBox/RDP/client-1.8.3/rdesktop.h
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include <stdlib.h> … … 121 130 #define EXRD_UNKNOWN 63 122 131 132 #ifdef VBOX 133 #undef DEBUG 134 #endif 135 123 136 #ifdef WITH_DEBUG 124 137 #define DEBUG(args) printf args; -
trunk/src/VBox/RDP/client-1.8.3/rdp.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #include <time.h> … … 30 39 #ifdef HAVE_ICONV 31 40 #ifdef HAVE_ICONV_H 41 42 #if defined(RT_OS_SOLARIS) && !defined(_XPG6) 43 # define VBOX_XPG6_TMP_DEF 44 # define _XPG6 45 #endif 46 #if defined(RT_OS_SOLARIS) && defined(__USE_LEGACY_PROTOTYPES__) 47 # define VBOX_LEGACY_PROTO_TMP_DEF 48 # undef __USE_LEGACY_PROTOTYPES__ 49 #endif 32 50 #include <iconv.h> 51 #if defined(VBOX_XPG6_TMP_DEF) 52 # undef _XPG6 53 # undef VBOX_XPG6_TMP_DEF 54 #endif 55 #if defined(VBOX_LEGACY_PROTO_TMP_DEF) 56 # define __USE_LEGACY_PROTOTYPES__ 57 # undef VBOX_LEGACY_PROTO_TMP_DEF 33 58 #endif 34 59 35 60 #ifndef ICONV_CONST 36 61 #define ICONV_CONST "" 62 #endif 37 63 #endif 38 64 #endif … … 845 871 } 846 872 873 #ifndef VBOX 847 874 /* Output new pointer capability set */ 848 875 static void … … 856 883 out_uint16_le(s, 20); /* Cache size for new pointers */ 857 884 } 885 #endif 858 886 859 887 /* Output share capability set */ … … 943 971 { 944 972 caplen += RDP_CAPLEN_BMPCACHE2; 973 #ifdef VBOX 974 caplen += RDP_CAPLEN_POINTER; 975 #else 945 976 caplen += RDP_CAPLEN_NEWPOINTER; 977 #endif 946 978 } 947 979 else … … 972 1004 { 973 1005 rdp_out_bmpcache2_caps(s); 1006 #ifdef VBOX 1007 rdp_out_pointer_caps(s); 1008 #else 974 1009 rdp_out_newpointer_caps(s); 1010 #endif 975 1011 } 976 1012 else -
trunk/src/VBox/RDP/client-1.8.3/rdp5.c
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/rdpdr.c
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 /* -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd.c
r55121 r55123 20 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 21 */ 22 23 /* 24 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 25 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 26 * the General Public License version 2 (GPLv2) at this time for any software where 27 * a choice of GPL license versions is made available with the language indicating 28 * that GPLv2 or any later version may be used, or where a choice of which version 29 * of the GPL is applied is otherwise unspecified. 30 */ 22 31 23 32 #include <assert.h> -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd.h
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 struct audio_packet -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd_alsa.c
r55121 r55123 20 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 21 */ 22 23 /* 24 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 25 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 26 * the General Public License version 2 (GPLv2) at this time for any software where 27 * a choice of GPL license versions is made available with the language indicating 28 * that GPLv2 or any later version may be used, or where a choice of which version 29 * of the GPL is applied is otherwise unspecified. 30 */ 22 31 23 32 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd_dsp.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include <strings.h> -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd_dsp.h
r55121 r55123 18 18 */ 19 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 28 20 29 /* Software volume control */ 21 30 void rdpsnd_dsp_softvol_set(uint16 left, uint16 right); -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd_libao.c
r55121 r55123 20 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 21 */ 22 23 /* 24 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 25 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 26 * the General Public License version 2 (GPLv2) at this time for any software where 27 * a choice of GPL license versions is made available with the language indicating 28 * that GPLv2 or any later version may be used, or where a choice of which version 29 * of the GPL is applied is otherwise unspecified. 30 */ 22 31 23 32 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd_oss.c
r55121 r55123 20 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 21 */ 22 23 /* 24 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 25 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 26 * the General Public License version 2 (GPLv2) at this time for any software where 27 * a choice of GPL license versions is made available with the language indicating 28 * that GPLv2 or any later version may be used, or where a choice of which version 29 * of the GPL is applied is otherwise unspecified. 30 */ 22 31 23 32 /* -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd_sgi.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/rdpsnd_sun.c
r55121 r55123 22 22 */ 23 23 24 /* 25 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 26 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 27 * the General Public License version 2 (GPLv2) at this time for any software where 28 * a choice of GPL license versions is made available with the language indicating 29 * that GPLv2 or any later version may be used, or where a choice of which version 30 * of the GPL is applied is otherwise unspecified. 31 */ 32 24 33 #include "rdesktop.h" 25 34 #include "rdpsnd.h" -
trunk/src/VBox/RDP/client-1.8.3/scard.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #include <stdio.h> -
trunk/src/VBox/RDP/client-1.8.3/scard.h
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include <pthread.h> -
trunk/src/VBox/RDP/client-1.8.3/seamless.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/secure.c
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/serial.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 28 19 29 #include <unistd.h> 20 30 #include <fcntl.h> … … 38 48 #define DEBUG_SERIAL(args) printf args; 39 49 #else 40 #define DEBUG_SERIAL(args) 50 #define DEBUG_SERIAL(args) do {} while (0) 41 51 #endif 42 52 -
trunk/src/VBox/RDP/client-1.8.3/ssl.c
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #include "rdesktop.h" -
trunk/src/VBox/RDP/client-1.8.3/ssl.h
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 #ifndef _RDSSL_H -
trunk/src/VBox/RDP/client-1.8.3/tcp.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #ifndef _WIN32 -
trunk/src/VBox/RDP/client-1.8.3/types.h
r55121 r55123 18 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 21 /* 22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 24 * the General Public License version 2 (GPLv2) at this time for any software where 25 * a choice of GPL license versions is made available with the language indicating 26 * that GPLv2 or any later version may be used, or where a choice of which version 27 * of the GPL is applied is otherwise unspecified. 28 */ 20 29 21 30 typedef int RD_BOOL; -
trunk/src/VBox/RDP/client-1.8.3/utils.c
r55121 r55123 17 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 20 /* 21 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 23 * the General Public License version 2 (GPLv2) at this time for any software where 24 * a choice of GPL license versions is made available with the language indicating 25 * that GPLv2 or any later version may be used, or where a choice of which version 26 * of the GPL is applied is otherwise unspecified. 27 */ 19 28 20 29 #include <stdio.h> -
trunk/src/VBox/RDP/client-1.8.3/xclip.c
r55121 r55123 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 22 /* 23 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 24 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 25 * the General Public License version 2 (GPLv2) at this time for any software where 26 * a choice of GPL license versions is made available with the language indicating 27 * that GPLv2 or any later version may be used, or where a choice of which version 28 * of the GPL is applied is otherwise unspecified. 29 */ 21 30 22 31 #include <X11/Xlib.h> … … 37 46 #ifdef HAVE_ICONV_H 38 47 #include <langinfo.h> 48 49 #if defined(RT_OS_SOLARIS) && !defined(_XPG6) 50 # define VBOX_XPG6_TMP_DEF 51 # define _XPG6 52 #endif 53 #if defined(RT_OS_SOLARIS) && defined(__USE_LEGACY_PROTOTYPES__) 54 # define VBOX_LEGACY_PROTO_TMP_DEF 55 # undef __USE_LEGACY_PROTOTYPES__ 56 # endif 39 57 #include <iconv.h> 58 #if defined(VBOX_XPG6_TMP_DEF) 59 # undef _XPG6 60 # undef VBOX_XPG6_TMP_DEF 61 #endif 62 #if defined(VBOX_LEGACY_PROTO_TMP_DEF) 63 # define __USE_LEGACY_PROTOTYPES__ 64 # undef VBOX_LEGACY_PROTO_TMP_DEF 65 #endif 66 40 67 #define USE_UNICODE_CLIPBOARD 41 68 #endif -
trunk/src/VBox/RDP/client-1.8.3/xkeymap.c
r55121 r55123 20 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 21 */ 22 23 /* 24 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 25 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 26 * the General Public License version 2 (GPLv2) at this time for any software where 27 * a choice of GPL license versions is made available with the language indicating 28 * that GPLv2 or any later version may be used, or where a choice of which version 29 * of the GPL is applied is otherwise unspecified. 30 */ 22 31 23 32 #ifdef RDP2VNC … … 650 659 651 660 case XK_Break: 661 #ifdef RDESKTOP_KBD_CODE 652 662 /* Send Break sequence E0 46 E0 C6 */ 653 663 if (pressed) … … 660 670 /* No release sequence */ 661 671 return True; 672 #else 673 /* Send Break sequence E0 46 E0 C6 */ 674 if (pressed) 675 { 676 /* VirtualBox code begin */ 677 rdp_send_input(ev_time, RDP_INPUT_SCANCODE, KBD_FLAG_EXT, 0x46, 0); 678 rdp_send_input(ev_time, RDP_INPUT_SCANCODE, KBD_FLAG_EXT | KBD_FLAG_UP, 0x46, 0); 679 /* VirtualBox code end */ 680 } 681 /* No release sequence */ 682 return True; 683 #endif /* RDESKTOP_KBD_CODE */ 662 684 break; 663 685 664 686 case XK_Pause: 687 #ifdef RDESKTOP_KBD_CODE 665 688 /* According to MS Keyboard Scan Code 666 689 Specification, pressing Pause should result … … 687 710 } 688 711 return True; 712 #else 713 /* Send Break sequence E1 1D 45 E1 9D C5 */ 714 if (pressed) 715 { 716 /* VirtualBox code begin */ 717 rdp_send_input(ev_time, RDP_INPUT_SCANCODE, KBD_FLAG_EXT2, 0x1d, 0); 718 rdp_send_input(ev_time, RDP_INPUT_SCANCODE, RDP_KEYPRESS, 0x45, 0); 719 rdp_send_input(ev_time, RDP_INPUT_SCANCODE, KBD_FLAG_EXT2 | KBD_FLAG_UP, 0x1d, 0); 720 rdp_send_input(ev_time, RDP_INPUT_SCANCODE, KBD_FLAG_UP, 0x45, 0); 721 /* VirtualBox code end */ 722 } 723 /* No release sequence */ 724 return True; 725 #endif /* RDESKTOP_KBD_CODE */ 689 726 break; 690 727 … … 724 761 ui_seamless_toggle(); 725 762 break; 726 763 #ifdef WITH_BIRD_VD_HACKS 764 case XK_Left: 765 case XK_Right: 766 { 767 /* Check for typical virtual desktop switching hotkeys: 768 Ctrl-Alt-Left and Ctrl-Alt-Right. 769 Needs to be pressed twice to have any effect... */ 770 extern RD_BOOL g_keep_virtual_desktop_shortcuts; 771 extern RD_BOOL g_fullscreen; 772 if ( g_keep_virtual_desktop_shortcuts 773 && ( ( get_key_state(state, XK_Alt_L) 774 || get_key_state(state, XK_Alt_R)) 775 && ( get_key_state(state, XK_Control_L) 776 || get_key_state(state, XK_Control_R)) 777 ) 778 ) 779 { 780 if (g_fullscreen) 781 xwin_toggle_fullscreen(); 782 XUngrabKeyboard(g_display, CurrentTime); 783 return True; 784 } 785 break; 786 } 787 #endif 727 788 } 728 789 return False; -
trunk/src/VBox/RDP/client-1.8.3/xwin.c
r55121 r55123 20 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 21 */ 22 23 /* 24 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice 25 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only 26 * the General Public License version 2 (GPLv2) at this time for any software where 27 * a choice of GPL license versions is made available with the language indicating 28 * that GPLv2 or any later version may be used, or where a choice of which version 29 * of the GPL is applied is otherwise unspecified. 30 */ 22 31 23 32 #include <X11/Xlib.h> … … 647 656 &num_children); 648 657 649 for (i = num_children - 1; i >=0; i--)650 { 651 if (child_list[i ] == behind)658 for (i = num_children; i > 0; i--) 659 { 660 if (child_list[i-1] == behind) 652 661 { 653 662 found_behind = True; 654 663 } 655 else if (child_list[i ] == wnd)664 else if (child_list[i-1] == wnd) 656 665 { 657 666 found_wnd = True; … … 2515 2524 g_mouse_in_wnd = False; 2516 2525 XUngrabKeyboard(g_display, CurrentTime); 2526 /* VirtualBox code begin */ 2527 if (g_fullscreen) 2528 { 2529 /* If mouse pointer is outside the fullscreen client window, 2530 * release it to let the client on the other screen to continue 2531 * with the mouse processing. 2532 */ 2533 XUngrabPointer(g_display, CurrentTime); 2534 } 2535 /* VirtualBox code end */ 2517 2536 break; 2518 2537 … … 2683 2702 #endif 2684 2703 2704 #ifdef WITH_RDPUSB 2705 rdpusb_add_fds (&n, &rfds, &wfds); 2706 #endif 2707 2685 2708 /* add redirection handles */ 2686 2709 rdpdr_add_fds(&n, &rfds, &wfds, &tv, &s_timeout); … … 2707 2730 continue; 2708 2731 } 2732 2733 #ifdef WITH_RDPUSB 2734 rdpusb_check_fds (&rfds, &wfds); 2735 #endif 2709 2736 2710 2737 #ifdef WITH_RDPSND -
trunk/src/VBox/Runtime/VBox/VBoxRTDeps.cpp
r54308 r55123 70 70 (PFNRT)i2d_X509, 71 71 (PFNRT)i2d_X509, 72 (PFNRT)i2d_PublicKey, 72 73 (PFNRT)RSA_generate_key, 73 74 (PFNRT)RSA_generate_key_ex,
Note:
See TracChangeset
for help on using the changeset viewer.