1. 23 Oct, 2009 2 commits
    • Sam Lantinga's avatar
      Adam Strzelecki to SDL · cf7ca27b
      Sam Lantinga authored
      I think something is wrong (look at the fix patch below):
      (1) NSRect rect shouldn't be initialized with contentRectForFrameRect: at the top of the function, contentRectForFrameRect is called in non-fullscreen case anyway (1st @@)
      (2) I think you've left two lines that should be removed completely (2nd @@)
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404138
      cf7ca27b
    • Sam Lantinga's avatar
      Adam Strzelecki to SDL · f9c1667f
      Sam Lantinga authored
      When using deployment in Xcode we use 10.4 SDK for PPC & i386 and 10.6 SDK for x86_64 unfortunately MAC_OS_X_VERSION_10_6 is defined only in 10.6 SDK, in older SDKs it is undefined which makes >= comparison return always TRUTH, so the GCC complains about undefined <NSWindowDelegate>, even if the original intention was to omit <NSWindowDelegate> on older SDKs.
      
      Solution, don't relay on MAC_OS_X_VERSION_10_6 but use OSX revision number 1060 directly as SDL does in many other places.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404137
      f9c1667f
  2. 22 Oct, 2009 4 commits
    • Mike Gorchak's avatar
      Fixes in GLES configuration selection. · 40aaaac9
      Mike Gorchak authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404136
      40aaaac9
    • Mike Gorchak's avatar
      Fixes in GLES configuration selection. Support for an old QNX 6.3.2. · ae491a82
      Mike Gorchak authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404135
      ae491a82
    • Mike Gorchak's avatar
      Optimizations. · 6a7f207c
      Mike Gorchak authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404134
      6a7f207c
    • Sam Lantinga's avatar
      Adam Strzelecki to SDL · c558493b
      Sam Lantinga authored
      Sending a patch for fullscreen Mac OS X SDL 1.3 (SVN) Cocoa mouse position handling. In fullscreen mouse coordinates should be relative to SCREEN not to the window, which doesn't really occupy fullscreen.
      Without this patch mouse position (especially Y) was totally incorrect (shifted) in fullscreen.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404132
      c558493b
  3. 21 Oct, 2009 1 commit
  4. 19 Oct, 2009 1 commit
    • Sam Lantinga's avatar
      Partial fix for bug #859 · 1cbfd5b6
      Sam Lantinga authored
      Header file update from Ken for improved doxygen output
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404127
      1cbfd5b6
  5. 18 Oct, 2009 3 commits
    • Sam Lantinga's avatar
      There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value... · 4483fc99
      Sam Lantinga authored
      There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline.  Ugh.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404115
      4483fc99
    • Sam Lantinga's avatar
      Merged improvements to SDL_SoftStretch() from SDL 1.2 · 7df7cdde
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404113
      7df7cdde
    • Sam Lantinga's avatar
      Fixed bug #853 · 410baa46
      Sam Lantinga authored
       Ludwig Nussel      2009-10-18 05:34:18 PDT
      
      src/joystick/linux/SDL_sysjoystick.c has some problems:
      
      - test_bit() might break with strict aliasing
      - test_bit() assumes array is Uint32 but its actually "unsigned long"
        on 64bit systems sizeof(long) != sizeof(Uint32).
      - the keybit array is too small
      - the arrays are unitialized so the number of
        detected buttons is quite random
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404108
      410baa46
  6. 17 Oct, 2009 4 commits
    • Sam Lantinga's avatar
      Whoops, need &quot; inside quotes · 0347900a
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404107
      0347900a
    • Sam Lantinga's avatar
      Fixed bug #852 · c331a14c
      Sam Lantinga authored
       Jesse Anders      2009-10-17 14:17:25 PDT
      
      In VC++, the build script that creates SDL_config.h and SDL_revision.h fails
      when the project directory path includes spaces. For example, if the project
      directory path is:
      
      c:\Documents and Settings\Jesse\My Documents\Visual Studio 2008\Projects\SDL
      1.3\VisualC\SDL\
      
      The following error is generated:
      
      'and' is not recognized as an internal or external command
      
      Placing all paths in quotes fixes this.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404106
      c331a14c
    • Sam Lantinga's avatar
      iPhone/Xcode for 1.3 · 6513f302
      Sam Lantinga authored
      Eric Wing to Sam
      
      Here's another patch for Xcode-iPhone for 1.3.
      This has been sitting for awhile too, so you may want to test.
      Contains mostly small changes, but tries to unify how I do some of the script stages with the Mac version.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404103
      6513f302
    • Sam Lantinga's avatar
      iPhone interruption patch / SDL 1.3 · f2ae715b
      Sam Lantinga authored
      Eric Wing to Sam
      
      I've been sitting on this too long. I need to push.
      It's untested because of the unrelated crashing bug I've been experiencing.
      Also have a fix for SIZEOF_VOIDP in the config for both iPhone and Mac.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404102
      f2ae715b
  7. 13 Oct, 2009 12 commits
  8. 12 Oct, 2009 4 commits
  9. 11 Oct, 2009 8 commits
    • Mike Gorchak's avatar
      Continue working on 2D support in Photon · e2e843a3
      Mike Gorchak authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404055
      e2e843a3
    • Sam Lantinga's avatar
      A better solution to making the default build optimization -O3 · c1665b6a
      Sam Lantinga authored
      Cygwin32 autoconf complains about c.m4 ... of course. :)
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404054
      c1665b6a
    • Sam Lantinga's avatar
      Whoops, the ProjectDir is one level lower than the SolutionDir · 88141c34
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404053
      88141c34
    • Sam Lantinga's avatar
      stefanullinger to me · ad98374d
      Sam Lantinga authored
      I updated and wanted to compile SDL, but it does not work.
      The reason is the new pre-build step.
      
      Currently it says:
      
      "if exist $(SolutionDir)\..\include\SDL_config.h goto SDLCONFIGOKAY
      echo Copying SDL_config_win32.h to SDL_config.h...
      copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h
      :SDLCONFIGOKAY
      
      if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY
      echo Creating stub SDL_revision.h file...
      echo #define SDL_REVISION 0 >$(SolutionDir)\..\include\SDL_revision.h
      :SDLREVISIONOKAY"
      
      
      So ... the problem with this lines is, that they lookup the SolutionDir...
      I think it should use the ProjectDir here!
      I - for example - want to use SDL within my engine...
      So my engine is the solutionDir...not SDL...SDL is just a sub-project.
      
      I think you should change this, shouldn't you?!
      
      Regards,
      Stefan
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404052
      ad98374d
    • Sam Lantinga's avatar
      pkg-config replaced sdl-config in these cases. · c7ec7459
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404051
      c7ec7459
    • Sam Lantinga's avatar
      Fixed bug #31 · fd8af66f
      Sam Lantinga authored
      Set the default optimization level to -O3
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404050
      fd8af66f
    • Sam Lantinga's avatar
      gcc can't generate dependencies for a file that doesn't exist, so first create SDL_revision.h · 39b386f9
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404049
      39b386f9
    • Sam Lantinga's avatar
      This is crazy. In order to override the default optimization for GCC, · 10a48944
      Sam Lantinga authored
      we actually have to include the core autoconf C compiler macro suite.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404048
      10a48944
  10. 10 Oct, 2009 1 commit