1. 14 Jul, 2010 4 commits
  2. 13 Jul, 2010 1 commit
    • Sam Lantinga's avatar
      Daniel Wyatt 2010-03-26 14:52:53 PDT · a1e6d1c1
      Sam Lantinga authored
      If a non-console Windows SDL program has a non-quoted 0th argument followed
      optionally by more non-quoted arguments and then by an empty quoted argument,
      it will crash (attempts to dereference a NULL pointer).
      
      In other words, something like this:
      test.exe [non-quoted args] "" [...]
      
      The fix is a one-liner in ParseCommandLine() of
      src/main/win32/SDL_win32_main.c.
      
      You can test this with any non-console SDL program on windows like this:
      1) Open a console (cmd.exe)
      2) Launch the program in one of the following ways:
      program ""
      program arg1 ""
      program arg1 "" arg3
      
      These will not cause a crash:
      "program" [...]
      program "arg1" ""
      
      When a Windows program is launched from Explorer, its 0th argument seems to
      always be quoted, so it won't be a problem in that case.
      
      I've tested this on Windows XP SP3 and Windows 7.
      a1e6d1c1
  3. 12 Jul, 2010 6 commits
  4. 09 Jul, 2010 2 commits
  5. 08 Jul, 2010 13 commits
  6. 07 Jul, 2010 2 commits
  7. 06 Jul, 2010 9 commits
    • Sam Lantinga's avatar
      Removed obsolete header file · 52b41472
      Sam Lantinga authored
      52b41472
    • Sam Lantinga's avatar
      Fixed fullscreen window position · 715dd0b4
      Sam Lantinga authored
      Fixed position calculation for centered windows
      715dd0b4
    • Sam Lantinga's avatar
      Merged changes from default · 8145b502
      Sam Lantinga authored
      8145b502
    • Sam Lantinga's avatar
      Cleaned up the mouse window focus handling: you always pass in the relative... · 320eb460
      Sam Lantinga authored
      Cleaned up the mouse window focus handling: you always pass in the relative window when sending a mouse event.
      Fixed a bug where only mouse wheel up was sent on Mac OS X
      Fixed a bug where mouse window focus was getting hosed by the fullscreen mouse code on Mac OS X
      320eb460
    • Sam Lantinga's avatar
    • Sam Lantinga's avatar
    • Sam Lantinga's avatar
    • Sam Lantinga's avatar
    • Sam Lantinga's avatar
      Split out the Visual C++ 2005 and 2008 projects explicitly. · cd68729b
      Sam Lantinga authored
      Added the test programs to the Visual C++ 2008 project.
      
      --HG--
      rename : VisualC/SDL/SDL.vcproj => VisualC/SDL/SDL_VS2005.vcproj
      rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
      rename : VisualC/SDLmain/SDLmain.vcproj => VisualC/SDLmain/SDLmain_VS2005.vcproj
      rename : VisualC/tests/automated/automated.vcproj => VisualC/tests/automated/automated_VS2008.vcproj
      rename : VisualC/tests/checkkeys/checkkeys.vcproj => VisualC/tests/checkkeys/checkkeys_VS2005.vcproj
      rename : VisualC/tests/graywin/graywin.vcproj => VisualC/tests/graywin/graywin_VS2005.vcproj
      rename : VisualC/tests/loopwave/loopwave.vcproj => VisualC/tests/loopwave/loopwave_VS2005.vcproj
      rename : VisualC/tests/testalpha/testalpha.vcproj => VisualC/tests/testalpha/testalpha_VS2005.vcproj
      rename : VisualC/tests/testdraw2/testdraw2.vcproj => VisualC/tests/testdraw2/testdraw2_VS2005.vcproj
      rename : VisualC/tests/testfile/testfile.vcproj => VisualC/tests/testfile/testfile_VS2005.vcproj
      rename : VisualC/tests/testgamma/testgamma.vcproj => VisualC/tests/testgamma/testgamma_VS2005.vcproj
      rename : VisualC/tests/testgl/testgl.vcproj => VisualC/tests/testgl/testgl_VS2005.vcproj
      rename : VisualC/tests/testgl2/testgl2.vcproj => VisualC/tests/testgl2/testgl2_VS2005.vcproj
      rename : VisualC/tests/testjoystick/testjoystick.vcproj => VisualC/tests/testjoystick/testjoystick_VS2005.vcproj
      rename : VisualC/tests/testoverlay/testoverlay.vcproj => VisualC/tests/testoverlay/testoverlay_VS2005.vcproj
      rename : VisualC/tests/testoverlay2/testoverlay2.vcproj => VisualC/tests/testoverlay2/testoverlay2_VS2005.vcproj
      rename : VisualC/tests/testpalette/testpalette.vcproj => VisualC/tests/testpalette/testpalette_VS2005.vcproj
      rename : VisualC/tests/testplatform/testplatform.vcproj => VisualC/tests/testplatform/testplatform_VS2005.vcproj
      rename : VisualC/tests/testpower/testpower.vcproj => VisualC/tests/testpower/testpower_VS2005.vcproj
      rename : VisualC/tests/testsprite/testsprite.vcproj => VisualC/tests/testsprite/testsprite_VS2005.vcproj
      rename : VisualC/tests/testsprite2/testsprite2.vcproj => VisualC/tests/testsprite2/testsprite2_VS2005.vcproj
      rename : VisualC/tests/testvidinfo/testvidinfo.vcproj => VisualC/tests/testvidinfo/testvidinfo_VS2005.vcproj
      rename : VisualC/tests/testwin/testwin.vcproj => VisualC/tests/testwin/testwin_VS2005.vcproj
      rename : VisualC/tests/testwm/testwm.vcproj => VisualC/tests/testwm/testwm_VS2005.vcproj
      cd68729b
  8. 05 Jul, 2010 3 commits