Permalink
Commits on Feb 3, 2012
Commits on Jan 3, 2012
  1. Use event.motion, not event.button, when handling a MOTION event.

    dtzWill committed Jan 3, 2012
    Doesn't seem to change anything, but seems cleaner regardless.
  2. Don't forget original coordinates when entering drag mode, also refac…

    dtzWill committed Jan 3, 2012
    …tor.
    
    refactor orientation handling of mouse events into method 'mouseEvent'
  3. More input code cleanup/refactoring, existing functionality intended …

    dtzWill committed Jan 3, 2012
    …preserved.
    
    Exception is that drag events that return to near the origin are processed now.
  4. Misc code cleanup

    dtzWill committed Jan 3, 2012
    Mostly: formatting, tab/space consistency, remove debugging printfs.
  5. Add XSDL kdrive server with GLESv2 support (tailored for webOS)

    dtzWill committed Jan 3, 2012
    Authors list:
    Will Dietz
    Rod Whitby
    
    (And of course all authors of original xsdl!)
    
    See the 'old_version' branch for un-squashed revision history.
    Alternatively, see http://git.webos-internals.org/x11/xserver
  6. Force sending SIGUSR1 to parent process when ready for X clients.

    dtzWill committed Aug 28, 2011
    Normally this is only done if we have a 'Smart' parent that sets
    SIG_IGN on SIGUSR1.  Since I don't know how to do this from our bash
    parent, we're just hardcoding it to always send it.
    
    This allows us to remove the set_keymap_later.sh kludge! :)
    (cherry picked from commit 79e5785)
Commits on Jan 31, 2011
  1. xorg-server 1.9.3.902

    jeremyhu committed Jan 31, 2011
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
  2. XQuartz: Localization Updates

    jeremyhu committed Jan 29, 2011
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    (cherry picked from commit 8c1f75a)
  3. XQuartz: Use the default signal handler

    jeremyhu committed Jan 24, 2011
    This allows better interaction with CrashTracer
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    (cherry picked from commit effaf94)
  4. XQuartz: Call RRScreenSizeNotify after handling externally-generated …

    jeremyhu committed Jan 14, 2011
    …XP_EVENT_DISPLAY_CHANGED
    
    We get an XP_EVENT_DISPLAY_CHANGED event when our display configuration is
    changed.  If this change was caused by hotplugging a monitor or Mac Display
    Preferences changes by the user, we need to call RRScreenSizeNotify in order
    to ensure new connections get the correct screen size.
    
    http://xquartz.macosforge.org/trac/ticket/460
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    (cherry picked from commit 418bb57)
  5. XQuartz: Bump version string to 2.6.1

    jeremyhu committed Jan 14, 2011
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    (cherry picked from commit 6f52b10)
Commits on Jan 25, 2011
  1. dix: GetPointerEvents: added valuator range checking

    Oliver McFadden committed with jeremyhu Jan 24, 2011
    Button events may be sent with no valuators (e.g. to simply indicate
    ButtonPress or ButtonRelease without any coordinates); when this happens
    the server would read uninitialized memory.
    
    ==9999== Conditional jump or move depends on uninitialised value(s)
    ==9999==    at 0x48E87E8: pixman_f_transform_point (in /usr/lib/libpixman-1.so.0.18.2)
    ==9999==  Uninitialised value was created by a stack allocation
    ==9999==    at 0x37524: GetPointerEvents (getevents.c:1074)
    ==9999==
    ==9999== Conditional jump or move depends on uninitialised value(s)
    ==9999==    at 0x496D074: lround (s_lround.c:40)
    ==9999==    by 0x3773B: GetPointerEvents (getevents.c:1048)
    ==9999==    by 0x683BB: xf86PostButtonEventP (xf86Xinput.c:1162)
    ==9999==    by 0x6853B: xf86PostButtonEvent (xf86Xinput.c:1126)
    ==9999==    by 0x5779037: process_state (multitouch.c:321)      (xf86-input-mtev)
    ==9999==    by 0x577908F: read_input (multitouch.c:331))        (xf86-input-mtev)
    ==9999==    by 0x66B4F: xf86SigioReadInput (xf86Events.c:298)
    ==9999==    by 0x112697: xf86SIGIO (sigio.c:118)
    ==9999==    by 0x4A12B2F: ??? (sigrestorer.S:51)
    ==9999==  Uninitialised value was created by a stack allocation
    ==9999==    at 0x37524: GetPointerEvents (getevents.c:1074)
    
    Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Commits on Jan 12, 2011
  1. mi: Fix the debug message

    Pauli Nieminen committed with whot Dec 30, 2010
    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
    (cherry picked from commit bf48082)
  2. udev: Fix removing of the wake up handler

    Pauli Nieminen committed with whot Dec 30, 2010
    RemoveBlockAndWakeupHandlers requires caller to pass same block data
    parameter as for RegisterBlockAndWakeupHandlers.
    
    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
    (cherry picked from commit 3e14555)
Commits on Jan 8, 2011
  1. xorg-server 1.9.3.901 (1.9.4 RC1)

    jeremyhu committed Jan 7, 2011
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
  2. XQuartz: Update copyright dates in bundle's plist

    jeremyhu committed Jan 7, 2011
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Commits on Jan 6, 2011
  1. edid: Fix incorrect timings for VIC61

    yakuizhao committed with nwnk Jan 4, 2011
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
    Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
    (cherry picked from commit 86ca434)
  2. x86emu: Fix more mis-decoding of the data prefix

    nwnk committed Dec 10, 2010
    cc2c73d's three-cent titanium tax
    doesn't go too far enough.  Fix the rest of the call and jmp
    instructions to handle the data prefix correctly.
    
    Reference: Intel 64 and IA-32 Architectures Software Developer's Manual
    Volume 2A: Instruction Set Reference, A-M
    
    http://www.intel.com/Assets/PDF/manual/253666.pdf
    
    Reviewed-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    (cherry picked from commit bb18f27)
  3. os: Fix a memory leak

    Pauli Nieminen committed with nwnk Dec 30, 2010
    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
    (cherry picked from commit 617b7d2)
  4. render: Don't filter 0 return from GetTimeInMillis

    Pauli Nieminen committed with nwnk Dec 30, 2010
    In animate cursor block handler code assumes GetTimeInMillis returns
    always nonzero value. This isn't true when time wraps around.
    
    To prevent any problems in case GetTimeInMillis would return zero use
    activeDevice variable to track if we have received time.
    
    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
    (cherry picked from commit aa8cea9)
  5. xfree86/modes: Take rotation into account when checking mode size

    Ville Syrjälä committed with nwnk Dec 16, 2010
    Assume that a mode can be used in either landscape or portrait
    orientation. I suppose the correct thing to do would be to
    collect all the supported rotations from the CRTCs that can be used
    with a specific output, but that information doesn't seem to be
    readily available when these checks are done. So just assume that
    either orientation is fine.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    (cherry picked from commit 2e78145)
  6. dri2: Don't page flip when the window size doesn't match the pixmap size

    Ville Syrjälä committed with nwnk Dec 3, 2010
    If the drawable size doesn't match the pixmap size page flipping should
    not be allowed.
    
    If the window is larger than the pixmap, page flipping might need to
    reposition the CRTC somewhere in the middle of the pixmap. I didn't
    spot any code that would handle that at least in the intel driver.
    
    Also the root pixmap could then move to some negative screen
    coordinates. Not sure if all bits of code could handle that. Perhaps
    when composite is enabled screen_x/y would make it work, but without
    composite there's no way that it would work AFAICS.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
    Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
    (cherry picked from commit 0ce25fd)
  7. GetTimeInMillis: Use CLOCK_MONOTONIC_COARSE where available

    fooishbar committed with nwnk Aug 27, 2010
    On some systems, using CLOCK_MONOTONIC forces a readback of HPET or some
    similarly expensive timer.  CLOCK_MONOTONIC_COARSE can alleviate this,
    at the cost of negligibly-reduced resolution, so prefer that where we
    can.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
    Reviewed-by: Julien Cristau <jcristau@debian.org>
    Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
    (cherry picked from commit 44adb31)
  8. randr: check for virtual size limits before set crtc

    Tiago Vignatti committed with nwnk Dec 17, 2010
    Return a error if the screen is configured to an invalid size.
    
    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    (cherry picked from commit d110791)
  9. EXA: Pad size of system memory copy for 1x1 pixmaps (bug #32803).

    Michel Dänzer committed with jeremyhu Jan 6, 2011
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=32803 .
    
    Signed-off-by: Michel Dänzer <daenzer@vmware.com>
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    (cherry picked from commit 6358a60)
Commits on Dec 31, 2010
  1. Add and use SERVER_SYNC_*_VERSION

    cubanismo committed with jeremyhu Dec 6, 2010
    Most extensions have a version defined
    in the protocol headers, and also in the
    server's protocol-versions.h.  The latter
    defines which version the server advertises
    support for.  Sync wasn't included in
    protocol-versions.h, and was advertising
    support for whatever was in the protocol
    headers the server was built against.
    
    Signed-off-by: James Jones <jajones@nvidia.com>
    Reviewed-by: Keith Packard <keithp@keithp.com>
    (cherry picked from commit 27593ee)
Commits on Dec 23, 2010
  1. EXA: Fix crash with fill using 1x1 tile of depth < 8 (bug #24703).

    Michel Dänzer committed with jeremyhu Dec 22, 2010
    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=24703 .
    
    Signed-off-by: Michel Dänzer <daenzer@vmware.com>
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    (cherry picked from commit e06fa80)
Commits on Dec 21, 2010
  1. Add EDID quirk for HP Compaq nc8430.

    Jörn Horstmann committed with jeremyhu Dec 6, 2010
    Like some other LPL panels, this one reports the vertical size in cm rather
    than mm.
    Patch taken from Launchpad bug #380009 <https://launchpad.net/bugs/380009>
    
    X.Org Bug 28414 <https://bugs.freedesktop.org/show_bug.cgi?id=28414>
    
    Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    (cherry picked from commit 4b88c7b)
  2. IDLETIME: Fix edge-case in IdleTimeBlockHandler

    RAOF committed with jeremyhu Dec 6, 2010
    Ensure that if we're called exactly on the threshold of a
    NegativeTransition trigger that we reshedule to pick up
    an idle time over the threshold.
    
    Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    (cherry picked from commit a2e67a6)
  3. Xext: Fix edge case with {Positive, Negative}Transition triggers.

    RAOF committed with jeremyhu Dec 6, 2010
    The {Positive,Negative}Transition triggers only fire when the counter
    goes from strictly {below,above} the threshold.  If
    SyncComputeBracketValues gets called exactly at this threshold we may update
    the bracket values so that the counter is not updated past the threshold.
    
    Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    (cherry picked from commit b55bf24)
Commits on Dec 15, 2010
  1. test: reduce range of byte-padding macro tests.

    whot committed Feb 5, 2010
    Byte padding and conversion is interesting for the rage of 0-8 bytes, and
    then interesting towards the end of the valid range (INT_MAX - 7 and INT_MAX
    - 3).
    
    Note: this changes the upper range for pad_to_int32() and bytes_to_int32()
    from the previous (INT_MAX - 4) to (INT_MAX - 3).
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Julien Cristau <jcristau@debian.org>
    (cherry picked from commit d435e1e)