xscope: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Fri Sep 30 20:20:31 PDT 2011


 audio.c        |    4 ++--
 common.c       |   50 +++++++++++++-------------------------------------
 decode11.c     |   17 ++++++++---------
 extensions.c   |   14 ++++++++++----
 fd.c           |   17 +++++++----------
 fd.h           |    9 +++------
 print_render.c |    4 ++--
 proto.h        |   10 ++++------
 prtype.c       |    2 +-
 scope.c        |   40 ++++++++++++++++++++++++++++------------
 scope.h        |    6 +++---
 server.c       |   14 ++++++--------
 table11.c      |   15 ++++++++++-----
 x11.h          |    2 +-
 14 files changed, 98 insertions(+), 106 deletions(-)

New commits:
commit af2cc5bc2e13a61e6ab3d495d3edb34d94a42964
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Add const attributes to clear gcc -Wwrite-strings warnings
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit 7fbf2ff3c925a0cc55024bc8350ad9e9bf8d1e47
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Store ClientNumber as int instead of converting back & forth to long
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit bc8eb7adf2c2f04fdc262ee370feda9e0d8781c3
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    File descriptors should be stored in ints not shorts
    
    All OS routines take and return ints for file descriptors, so stop
    converting back and forth to shorts.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit fb391ffad2ccd5b76d6a87e4d2e83ff5282edee5
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Remove StaticMaxFD now that all uses now allocate dynamically
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit e259c7ec60a84280dbf7e2cf041a6fec79f53e1f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Make FDinfo dynamically allocated
    
    We still allocate one fdinfo struct for every possible FD up front
    instead of resizing as needed, but they're much smaller now that
    we just have a pointer to the 32k buffer instead of including it
    directly in the fdinfo.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit fcb83e31a0dfd85e4ec105dd656ed405e64c387b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Allocate buffers dynamically as needed instead of as part of fdinfo struct
    
    Previously we'd allocate a buffer of 32k each for each fd up to the
    compiled in StaticMaxFD, which could be as large as 65535 on some
    systems (that's the Solaris 64-bit default FD_SETSIZE), resulting in
    gigabytes of bss allocation on startup.
    
    Now we don't allocate until we're actually setting up the fdinfo for
    use as part of a client<->server connection.
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit fafdfa0e1a54e19f11e220340df0557c794fabc6
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Make ReplyQ dynamically allocated
    
    We still allocate a QueueHeader (a struct containing 2 pointers) for
    every possible FD, instead of allocating only as needed.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit 39bbb6265aa79c1ff3d787f5e23c8cb5f13bd6c1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Make CS dynamically allocated
    
    We still allocate one ConnState struct for every possible FD up front
    instead of resizing as needed.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit a70f4e6f7243e9e6803b3308a15c9cf3a77ee383
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Ensure ScopeHost global is initialized when built with USE_XTRANS
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit 37092d5ae31fa53c9a2f378786bfebe26e04c030
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Use strdup instead of malloc(strlen+1); strcpy();
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit 283b9a2a9da3ad662789d1127a486c8735589f73
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Use calloc() instead of malloc(); bzero();
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit 4acfec7c03865144491f913694f8dca17072d13e
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Call realloc() instead of open coding it
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit edca92c10572b6bb7dd60db156f545d98373f803
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Stop wrapping malloc & free
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit 93812aa7950342c809a9dcbd9d50379c050b51ac
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Sep 30 20:19:43 2011 -0700

    Clean up existing malloc calls
    
    Remove unnecessary casts from (void *)
    Ensure return value is checked.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>



More information about the xorg-commit mailing list