1. 03 May, 2006 1 commit
  2. 02 May, 2006 2 commits
  3. 01 May, 2006 6 commits
  4. 30 Apr, 2006 3 commits
  5. 29 Apr, 2006 4 commits
    • Sam Lantinga's avatar
      ------- Comment #1 From Max Horn 2006-04-17 03:08 [reply] ------- · 85028a30
      Sam Lantinga authored
      Created an attachment (id=106) [edit]
      Patch for src/joystick/win32/SDL_mmjoystick.c
      
      I am not even a Windows user, so take the following with a grain of salt:
      
      SDL_mmjoystick.c  has a function GetJoystickName which obtains the joystick
      name by looking at the registry. The way it does that seems very fishy to me.
      Namely, it uses the parameter "index" to construct a registry value name (BTW,
      those variables used in the code are really badly named). The value of "index"
      in turn equals the current value of "numdevs", as called from
      SDL_SYS_JoystickInit.
      
      I read through the MSDN docs at
      <http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarinput/html/msdn_extdirect.asp>,
      and I believe the simple fix is to replace line 183 of said file
        SYS_JoystickName[numdevs] = GetJoystickName(numdevs, joycaps.szRegKey);
      by the following:
        SYS_JoystickName[numdevs] = GetJoystickName(SYS_JoystickID[i],
      joycaps.szRegKey);
      
      However, that is only *hiding* the real issue. Problem is, the list of
      joysticks as returned by windows may contains "gaps", and the code deals
      incorrectly with that. Namely those gaps occur if joysticks are
      removed/(re)added, as the reporter observed.
      
      The attached patch fixes this and another (off-by-one) issue in the code. But
      since I have no Windows machine, I can't even test-compile it, so use with
      caution.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401706
      85028a30
    • Sam Lantinga's avatar
      · 2efcd9c6
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401705
      2efcd9c6
    • Sam Lantinga's avatar
      Disable the XRandR extension by default, since KDE maximizes windows which are... · 41c2e03a
      Sam Lantinga authored
      Disable the XRandR extension by default, since KDE maximizes windows which are larger than the new resolution, and then doesn't restore their size and positition when the old resolution is restored.
      The extension can be enabled with the environment variable SDL_VIDEO_X11_XRANDR=1
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401704
      41c2e03a
    • Sam Lantinga's avatar
      Only use -fvisibility=hidden if SDL will define some symbols as available. :) · ff8de4f0
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401703
      ff8de4f0
  6. 28 Apr, 2006 3 commits
    • Sam Lantinga's avatar
      [From Sam] · f573eff4
      Sam Lantinga authored
      > BTW, when setting up parallel make, I usually use # cpus + 1, so a compile is
      > running while disk access is going for another.
      
      [From Ryan]
      My experience is that this works well on Linux, but is actually slower on
      PowerPC Mac OS X...not sure if that's an architecture issue or a scheduler
      issue, though, and haven't tried it on Intel Mac OS X.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401681
      f573eff4
    • Sam Lantinga's avatar
      Future proof C++ code · 7d07e3b4
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401680
      7d07e3b4
    • Sam Lantinga's avatar
      Fixed bug #206, fatbuild.sh works flawlessly on Intel Macs · 4422ede0
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401679
      4422ede0
  7. 27 Apr, 2006 6 commits
    • Ryan C. Gordon's avatar
      fatbuild fixes: · 12d7c190
      Ryan C. Gordon authored
      - A change to define CXX in fatbuild, which comforts the configure script a little, even if we don't use C++ anywhere.
      - Some code to see how many CPU cores exist and parallelize make across them.
      - CFLAGS that apply to both archs are specified seperately (-O3, -pipe, etc)
      - -fvisibility=hidden for the gcc4 builds
      - a "clean", "clean-ppc" and "clean-x86" command
      - Fix to SDL_config_macosx.h for the HAVE_ALLOCA_H thing.
      
      Now builds on an Intel Mac.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401678
      12d7c190
    • Sam Lantinga's avatar
      Fixed bug #101 · 42d0cb5f
      Sam Lantinga authored
      If we lose focus at all, unlock the mouse.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401677
      42d0cb5f
    • Sam Lantinga's avatar
      Trying to fix fatbuild.sh on intel · 592d2604
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401676
      592d2604
    • Sam Lantinga's avatar
      Fixed compile errors on Mac OS X · 5deaddd7
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401673
      5deaddd7
    • Sam Lantinga's avatar
      Implemented bug #5 · 37adc6aa
      Sam Lantinga authored
      Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401672
      37adc6aa
    • Sam Lantinga's avatar
      Implemented bug #2, 117: · b32d3f9c
      Sam Lantinga authored
      Date: Mon, 21 Mar 2005 12:06:14 +0100
      From: Per Inge Mathisen
      Subject: Re: [SDL] Outstanding patches?
      
      The patch adds support for setting SDL_GL_SWAP_CONTROL to Windows and
      X11. In Windows you can also query this enum to check that it is
      working, or see what the default is - such functionality does not
      exist in GLX. For more information on the standards implemented:
      http://oss.sgi.com/projects/ogl-sample/registry/SGI/swap_control.txt
      http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401671
      b32d3f9c
  8. 26 Apr, 2006 2 commits
  9. 22 Apr, 2006 3 commits
  10. 20 Apr, 2006 1 commit
    • Sam Lantinga's avatar
      Date: Thu, 20 Apr 2006 10:13:34 +0200 · 3f4bc2bb
      Sam Lantinga authored
      From: Julien Lecomte
      Subject: [SDL] sdl-config
      
      I've noticed that `sdl-config' usage reports that --static-libs is
      available even when it's not.
      I've modified the 'sdl-config.in' file so that it no longer reports
      '--static-libs' if SDL was compiled with --disable-static.
      I didn't change --disable-shared behavior.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401654
      3f4bc2bb
  11. 19 Apr, 2006 1 commit
    • Sam Lantinga's avatar
      I think this is it... · f893c517
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401653
      f893c517
  12. 17 Apr, 2006 8 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 99861e39
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401652
      99861e39
    • Sam Lantinga's avatar
      Added a note so I remember what the heck I was doing later. :) · 0923d2b9
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401651
      0923d2b9
    • Sam Lantinga's avatar
      More general fix for bug #189 · 04163075
      Sam Lantinga authored
      The clipping is done at a higher level, and the low level functions are
      passed clipped rectangles.  Drivers which don't support source clipping
      have not been changed, so the image will be squished instead of clipped,
      but at least they will no longer crash when the destination rect was out
      of bounds.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401650
      04163075
    • Sam Lantinga's avatar
      Fixed bug #189 · a4f336fa
      Sam Lantinga authored
      Clip the overlay destination rectangle to the screen area on X11
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401649
      a4f336fa
    • Sam Lantinga's avatar
      Fixed bug #197 · fccd61bc
      Sam Lantinga authored
      On servers with the composite extension enabled, visuals with 32-bit depth
      have an alpha mask.  This is pretty neat, but SDL needs a bit more work to
      handle these properly, so for now, we'll just use 24 bit depth visuals.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401648
      fccd61bc
    • Sam Lantinga's avatar
      Use the MAKE variable when available · 8a7b961a
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401647
      8a7b961a
    • Sam Lantinga's avatar
      Whoops, need the actual flags here · 859b58d1
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401646
      859b58d1
    • Sam Lantinga's avatar
      Miscellaneous Mac OS X fixes · 4b9dfeba
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401645
      4b9dfeba