summaryrefslogtreecommitdiff
path: root/hw/kdrive/src/kshadow.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-21Convert hw/kdrive to new *allocarray functionsAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2012-03-21Introduce a consistent coding styleKeith Packard1-22/+21
This is strictly the application of the script 'x-indent-all.sh' from util/modular. Compared to the patch that Daniel posted in January, I've added a few indent flags: -bap -psl -T PrivatePtr -T pmWait -T _XFUNCPROTOBEGIN -T _XFUNCPROTOEND -T _X_EXPORT The typedefs were needed to make the output of sdksyms.sh match the previous output, otherwise, the code is formatted badly enough that sdksyms.sh generates incorrect output. The generated code was compared with the previous version and found to be essentially identical -- "assert" line numbers and BUILD_TIME were the only differences found. The comparison was done with this script: dir1=$1 dir2=$2 for dir in $dir1 $dir2; do (cd $dir && find . -name '*.o' | while read file; do dir=`dirname $file` base=`basename $file .o` dump=$dir/$base.dump objdump -d $file > $dump done) done find $dir1 -name '*.dump' | while read dump; do otherdump=`echo $dump | sed "s;$dir1;$dir2;"` diff -u $dump $otherdump done Signed-off-by: Keith Packard <keithp@keithp.com> Acked-by: Daniel Stone <daniel@fooishbar.org> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-06-30Fix UTF-8 encodingMatěj Cepl1-1/+1
Report to find out all non-UTF-8 files created by cat extensions |xargs -I XXXX find . -name \*.XXXX |while read FILE ; do if ( iconv -f utf8 -t ucs2 $FILE >/dev/null 2>/dev/null ) ; then /bin/true else echo $FILE fi done >>report Signed-off-by: Matěj Cepl <mcepl@redhat.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> [Daniel: git am failed for me, so I redid it. The method listed in the commit message also failed, so I just used file/grep/iconv. The results are the same though.] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-05-13Replace X-allocation functions with their C89 counterpartsMikhail Gusarov1-3/+3
The only remaining X-functions used in server are XNF*, the rest is converted to plain alloc/calloc/realloc/free/strdup. X* functions are still exported from server and x* macros are still defined in header file, so both ABI and API are not affected by this change. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-01-06kdrive: Remove unused overlay fb supportMikhail Gusarov1-18/+16
Xfbdev, Xephyr and Xfake all use only one framebuffer, so simplify implementation by removing overlay support. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2007-06-29Death to RCS tags.Adam Jackson1-2/+0
2005-12-28Enough build fixes to get {sdl,ephyr,fake} to link.Adam Jackson1-4/+4
2005-12-27Build fixes: XSERVER_LIBS -> KDRIVE_LIBS, config.h -> kdrive-config.hAdam Jackson1-1/+1
2004-06-04Add top-level build support for GL X server (not working yet)Keith Packard1-2/+1
Fix a few allocation bugs with alternate visual ids Allow for non-8/8/8 alternate visuals Turn off any existing shadow before enabling it again (avoids re-registering existing damage) Add some validation code to catch re-registered damages
2003-11-02merge xfixes_2_branch back to HEADKeith Packard1-11/+41
2003-10-14Check for off-screen pixmap support in KaaDrawableIsOffscreenPixmap. -WallKeith Packard1-2/+0
fixes. Allocate pixmap private space only for screens with off-screen pixmap support
2003-09-11Move kdrive common sources to src dirKeith Packard1-0/+3
2003-07-07Update RCS tags, fix keyboard hang on VT switch, fix scroll wheel mice, addKeith Packard1-1/+1
-rawcoord option to not transform mice on rotate, fix mtrr to use power-of-two size, add a few vesa options
2000-09-27kdrive: memory/fd leaks fixed in fbdev/vesa/trident driversKeith Packard1-0/+9
2000-09-07Ident linesMarc Aurele La France1-1/+1
2000-09-03Rework tiny-x vesa driver for shadowing and multiple screen support. AllowKeith Packard1-0/+46
enable to fail and avoid crashing