1. 21 Sep, 2009 7 commits
    • Sam Lantinga's avatar
      Fixed bug #570 · 6a11032c
      Sam Lantinga authored
      SDL_SemWaitTimeout in src/thread/generic/SDL_syssem.c line 179 (SVN trunk):
      
      --sem->count;
      
      should be
      
      if (retval == 0) {
          --sem->count;
      }
      
      Without this, sem->count will underflow on timeout effectively breaking the
      semaphore. It appears that the implementation has been wrong since the initial
      revision.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403843
      6a11032c
    • Sam Lantinga's avatar
      Updated the version to 1.2.14 for the next release. · a9c22581
      Sam Lantinga authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403842
      a9c22581
    • Sam Lantinga's avatar
      Fixed bug #562 · b0f6c3e9
      Sam Lantinga authored
      this patch by Diego Pettenò <flameeyes@gentoo.org> for SDL-1.2:
      
      The attached patch applies over latest ~arch SDL version, and allows to use the
      xinerama support to launch an application full screened on the head "0".
      
      The SDL_VIDEO_FULLSCREEN_HEAD environment variable sets the head on which the
      full screen will be displayed, but if you set it to 0, the code simply ignores
      it as unset. My patch changes the unset value to -1, so that the 0 value can be
      used correctly. Without this, trying to get fullscreen on head 0 would get the
      same result than not having xinerama enabled at all.
      
      http://sources.gentoo.org/media-libs/libsdl/files/libsdl-1.2.11-xinerama-head-0.patch
      
      SDL-1.3 doesnt seem to have any code like this, but it's still good for SDL-1.2
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403841
      b0f6c3e9
    • Sam Lantinga's avatar
      The sound manager code is outdated and should only be used on Mac OS 9 now. · 7b806a14
      Sam Lantinga authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403840
      7b806a14
    • Ryan C. Gordon's avatar
      Use correct value when calculating audio conversion length. · 79e2c42e
      Ryan C. Gordon authored
        Fixes Bugzilla #477.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403839
      79e2c42e
    • Ryan C. Gordon's avatar
      1.2 Quartz video: Ripped out QuickDraw and QuickTime. · b5dc26cf
      Ryan C. Gordon authored
      Now we use the software path for YUV, and CoreGraphics for 2D stuff.
      
      There are several other 10.6 fixes in here, too...now we can build a 64-bit
      SDL for Snow Leopard!
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403838
      b5dc26cf
    • Ryan C. Gordon's avatar
      Patched to compile on Mac OS X <= 10.4 SDKs. · ddb6f9bd
      Ryan C. Gordon authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403836
      ddb6f9bd
  2. 20 Sep, 2009 5 commits
  3. 19 Sep, 2009 4 commits
  4. 14 Sep, 2009 1 commit
    • Ryan C. Gordon's avatar
      GCC 3.03 support on OS/2. · 1aeda60e
      Ryan C. Gordon authored
        Fixes Bugzilla #588.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403801
      1aeda60e
  5. 13 Sep, 2009 1 commit
  6. 12 Sep, 2009 9 commits
  7. 07 Aug, 2009 1 commit
    • Sam Lantinga's avatar
      Fixed bug #746 · 0add77f0
      Sam Lantinga authored
      Fixed freeze when trying to memset with 0 length
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403757
      0add77f0
  8. 02 Aug, 2009 1 commit
  9. 01 Jul, 2009 1 commit
  10. 07 May, 2009 2 commits
    • Sam Lantinga's avatar
      Date: Fri, 24 Apr 2009 17:47:07 +0200 · a220b6ab
      Sam Lantinga authored
      From: Stefan Klug
      Subject: Re: [SDL] SVN doesn't compile for wince
      
      the patch applied for Revision 4483 was seemingly not checked for side
      effects.
      It broke the WinCE build.
      The attached patch should fix these problems. I'm not using SDL 1.2 on
      CE anymore, and therefore haven't tested the patch... but at least it
      compiles ;-)
      
      Regards Stefan
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403602
      a220b6ab
    • Sam Lantinga's avatar
      Fixed dynamic loading on Windows CE · aaf1b51f
      Sam Lantinga authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403599
      aaf1b51f
  11. 27 Apr, 2009 1 commit
    • Patrice Mandin's avatar
      Disable debug code · 881a4d07
      Patrice Mandin authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403587
      881a4d07
  12. 26 Apr, 2009 2 commits
  13. 24 Apr, 2009 1 commit
  14. 13 Apr, 2009 4 commits
    • Sam Lantinga's avatar
      Fixed bug #421 · df5650a8
      Sam Lantinga authored
      Comment #3 From  esigra@gmail.com   2008-04-09 11:46:46   (-) [reply] -------
      
      This bug also needs to be fixed for SDL_GetRGB and SDL_GetRGBA (those should
      not change the format of the surface either). Until this is fixed, I still need
      to const_cast the format parameter in calls to those functions.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403581
      df5650a8
    • Sam Lantinga's avatar
      Fixed bug #675 · 3b082cfe
      Sam Lantinga authored
        Description From  maf6@cornell.edu   2009-01-10 14:07:52   (-) [reply]
      
      Assuming the SDL project doesn't just want to pick these up from dinput8.lib or
      whatever instead, the definitions in SDL_dx5video.c should be:
      
      const DIDATAFORMAT c_dfDIKeyboard = { sizeof(DIDATAFORMAT),
      sizeof(DIOBJECTDATAFORMAT), 0x00000002, 256, 256, KBD_fmt };
      const DIDATAFORMAT c_dfDIMouse = { sizeof(DIDATAFORMAT),
      sizeof(DIOBJECTDATAFORMAT), 0x00000002, 16, 7, PTR_fmt };
      const DIDATAFORMAT c_dfDIJoystick = { sizeof(DIDATAFORMAT),
      sizeof(DIOBJECTDATAFORMAT), 0x00000001, 80, 44, JOY_fmt };
      
      This way the call to IDirectInputDevice2_SetDataFormat in SDL_dx5events.c will
      succeed on x64.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403580
      3b082cfe
    • Sam Lantinga's avatar
      Fixed bug #619 · 86701def
      Sam Lantinga authored
         Description From  Tim Angus   2008-08-31 03:38:36   (-) [reply]
      
      When pressing "system keys" e.g. ALT+F4 etc., the default for the windib driver
      is to ignore them completely, whereas with the directx driver they're handled
      (badly as it turns out).
      
      As the windib driver is the default, I assume its behaviour is considered
      correct, so the following patch makes the directx driver the same in this
      regard.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403579
      86701def
    • Sam Lantinga's avatar
      Fixed bug #618 · 0cc0d8eb
      Sam Lantinga authored
         Description From  Tim Angus   2008-08-30 12:23:56   (-) [reply]
      
      As we all know SDL 1.2 doesn't handle dead keys well since one key press
      potentially equals two (or more) characters. For example, on many layouts,
      keying <backquote>,<space> results in <no character>,<backquote><space>. Since
      the unicode member of the SDL_keysym struct only has room for one character,
      only one can be returned.
      
      On Linux, the first character is returned. On Windows however, unless the exact
      number of characters generated by the keypress is 1, nothing is returned. The
      following patch addresses this inconsistency.
      
      Updated patch which includes a further fix to the handling of the numpad when
      numlock is on. This further fix is courtesy Amanieu d'Antras.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403578
      0cc0d8eb