1. 18 Nov, 2009 9 commits
  2. 17 Nov, 2009 4 commits
  3. 16 Nov, 2009 3 commits
  4. 15 Nov, 2009 4 commits
  5. 11 Nov, 2009 2 commits
  6. 09 Nov, 2009 3 commits
    • Sam Lantinga's avatar
      Fixed gcc warning · fbaee18c
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404164
      fbaee18c
    • Sam Lantinga's avatar
      Work in progress on implementation of SDL_RenderReadPixels() and... · 0e8fa165
      Sam Lantinga authored
      Work in progress on implementation of SDL_RenderReadPixels() and SDL_RenderWritePixels(), code untested.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404163
      0e8fa165
    • Sam Lantinga's avatar
      Fixed bug #878 · 15e28733
      Sam Lantinga authored
       Jack Jansen      2009-11-05 14:20:22 PST
      
      I'm building "fat" SDL 1.3 libraries for MacOSX, but now I am running into the
      issue that audio does not work on PowerPC macintoshes if you build the library
      on an Intel.
      
      The problem is that configure hard-codes the byteorder, which is then stored in
      SDL_config.h
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404162
      15e28733
  7. 08 Nov, 2009 2 commits
  8. 02 Nov, 2009 2 commits
    • Sam Lantinga's avatar
      Removed the separate static simulator target, all targets create libSDLiPhoneOS.a · f9293220
      Sam Lantinga authored
      Removed generic thread files, they shouldn't have been in there.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404149
      f9293220
    • Sam Lantinga's avatar
      Fixed bug #847 · 8f71172a
      Sam Lantinga authored
       Roger Willcocks      2009-10-25 08:45:37 PDT
      
      appDidFinishLaunching is triggered before all the setup's complete. The easiest
      fix is to arrange for another event to be sent when it's really ready, and run
      SDL_main from there. Ref.
      http://blog.rightsprite.com/2008/11/iphone-applicationdidfinishlaunching.html
      
      SDL-1.3.0-4563/src/video/uikit/SDL_uikitappdelegate.m:
      
      
      
      - (void)postFinishLaunch {
      
          /* run the user's application, passing argc and argv */
          int exit_status = SDL_main(forward_argc, forward_argv);
      
          /* free the memory we used to hold copies of argc and argv */
          int i;
          for (i=0; i<forward_argc; i++) {
              free(forward_argv[i]);
          }
          free(forward_argv);
      
          /* exit, passing the return status from the user's application */
          exit(exit_status);
      
      }
      
      - (void)applicationDidFinishLaunching:(UIApplication *)application {
      
          /* Set working directory to resource path */
          [[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle
      mainBundle] resourcePath]];
      
          [self performSelector:@selector(postFinishLaunch) withObject:nil
      afterDelay:0.0];
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404148
      8f71172a
  9. 30 Oct, 2009 2 commits
    • Sam Lantinga's avatar
      cpuid doesn't actually change the flags register · 115c22f2
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404146
      115c22f2
    • Sam Lantinga's avatar
      Fixed bug #734 · a0fd7e1c
      Sam Lantinga authored
      Save and restore the PIC register %ebx/%rbx using push/pop instead of %edi/%rdi
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404145
      a0fd7e1c
  10. 29 Oct, 2009 1 commit
    • Mike Gorchak's avatar
      Cursor hotspot fixes. · ef88f68a
      Mike Gorchak authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404144
      ef88f68a
  11. 28 Oct, 2009 4 commits
    • Sam Lantinga's avatar
      Fixed compile error · 1599f335
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404142
      1599f335
    • Sam Lantinga's avatar
      Automatically initialize the video system and create a renderer to simplify use. · 6d92d750
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404141
      6d92d750
    • Sam Lantinga's avatar
      Adam Strzelecki to SDL · 47997f87
      Sam Lantinga authored
      This patch significantly speeds up make process (mostly noticeable on MinGW+MSYS) canceling implicit rules for dependencies and Makefile.in that caused lot of unnecessary file checks (in case of Windoze those are pretty slow). See "make -d" before and after applying this patch.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404140
      47997f87
    • Sam Lantinga's avatar
      Adam Strzelecki to SDL · 303b1402
      Sam Lantinga authored
      Actually after my patch commited in r4928 MinGW configure seems to generate broken Makefile due MSYS bash bug. (Attaching cure/patch below)
      
      The problem is that:
      
      TEST=`echo 'one\\
      two\\
      three\\'`
      echo "$TEST"
      
      Should echo:
      one\
      two\
      three\
      
      Does it on Linux, Mac.. all UNIX but not on MSYS (MinGW) which outputs:
      one\two\three\
      (new lines removed, probably it doesn't like backslashes)
      Probably this bug should be submitted to MSYS team, but not waiting till MSYS gets it fixed (they have very slow release cycles) here goes simple cure...
      
      My patch simply replaces single quoted SED rules where we needed newlien injection with double quoted ones.
      
      Tested on Mac, Linux & MinGW. Please review it ASAP coz this may be showstopper for everybody compiling with MinGW.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404139
      303b1402
  12. 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
  13. 22 Oct, 2009 2 commits