1. 26 Sep, 2009 12 commits
    • Sam Lantinga's avatar
      Fixed bug #797 · bda0828e
      Sam Lantinga authored
       Ryan C. Gordon      2009-09-19 08:25:21 PDT
      
      This line in SDL_iconv_string (src/stdlib/SDL_iconv.c) ...
      
              if (!fromcode || !*fromcode) {
                  tocode = "UTF-8";
              }
      
      Is probably supposed to assign to "fromcode" and not "tocode".
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403912
      bda0828e
    • Sam Lantinga's avatar
      Fixed bug #777 · a305eb85
      Sam Lantinga authored
      Implemented SDL_GetPlatform()
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403911
      a305eb85
    • Sam Lantinga's avatar
      Fixed bug #766 · 1035ec66
      Sam Lantinga authored
       Mason Wheeler      2009-07-06 14:29:47 PDT
      
      This adds some missing error reporting for SDL_SelectRenderer, and cleans up the logic a little bit.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403910
      1035ec66
    • Sam Lantinga's avatar
      Fixed bug #765 · 0990e225
      Sam Lantinga authored
      Added SDL_SetError case for SDL_UNSUPPORTED
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403909
      0990e225
    • Sam Lantinga's avatar
      Fixed bug #764 · ac573d85
      Sam Lantinga authored
      Added better error checking from Mason Wheeler
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403908
      ac573d85
    • Sam Lantinga's avatar
      Fixed bug #761 · ba8fff9a
      Sam Lantinga authored
       Mason Wheeler      2009-07-05 09:28:33 PDT
      
      This patch fixes two issues with SDL_CreateTextureFromSurface.
      
      1.  If no renderer is available, the function will return 0 without calling
      SDL_SetError. (It does this in other places as well, but it appears that in
      these cases, SDL_SetError was already called by a previous function call.)
      2.  Removal of a dead code block that checks for an impossible return value.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403907
      ba8fff9a
    • Sam Lantinga's avatar
      Fixed bug #734 · b42df3ec
      Sam Lantinga authored
       Nicholas Phillips      2009-04-26 21:34:05 PDT
      
      I am using x64 Linux (using Intel Core 2 DUO), and I have noticed that there is
      an error in SDL_cpuinfo.c, function CPU_getCPUIDFeaturesExt for my platform.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403905
      b42df3ec
    • Sam Lantinga's avatar
      Fixed bug #705 · 55214000
      Sam Lantinga authored
       Sami N      2009-02-21 11:15:39 PST
      
      Patches two tests that had broken format strings in their *printf()'s.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403904
      55214000
    • Sam Lantinga's avatar
      Fixed bug #705 · b827e929
      Sam Lantinga authored
       Sami N      2009-02-21 11:15:39 PST
      
      Patches two tests that had broken format strings in their *printf()'s.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403903
      b827e929
    • Sam Lantinga's avatar
      Fixed bug #704 · 3a86a4e6
      Sam Lantinga authored
       Dennis      2009-02-20 15:36:49 PST
      
      When trying to run a parallel build, gcc will not be able to find SDL_revision.h
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403902
      3a86a4e6
    • Sam Lantinga's avatar
      Fixed crash with right side up BMP files · 940b0ede
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403901
      940b0ede
    • Sam Lantinga's avatar
      Eric Wing to Sam · 910fc5ed
      Sam Lantinga authored
      I refactored how the shell script code-gen phases were setup in the Xcode project.
      I also removed the SDLmain files from the project templates.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403899
      910fc5ed
  2. 25 Sep, 2009 3 commits
  3. 24 Sep, 2009 4 commits
  4. 23 Sep, 2009 3 commits
  5. 22 Sep, 2009 1 commit
  6. 21 Sep, 2009 12 commits
    • Bob Pendleton's avatar
      oops · ad397223
      Bob Pendleton authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403873
      ad397223
    • Bob Pendleton's avatar
      Should now compile on 32 bit linux and 64 bit linux · 9b197b5d
      Bob Pendleton authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403872
      9b197b5d
    • Sam Lantinga's avatar
      Whoops, need both the header and the library! · 36ff6e0a
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403867
      36ff6e0a
    • Sam Lantinga's avatar
      Fixed bug #714 · 642078cc
      Sam Lantinga authored
      fuzzyTew@gmail.com      2009-03-14 15:18:45 PDT
      
      patch to change HAVE_ICONV to HAVE_ICONV_H
      
      There are two separate iconv checks in configure -- one for the header file and
      one for the library.  include/SDL_stdinc.h uses the library define to see
      whether or not it should reference the types defined in the header, which
      naturally breaks if the library exists and the header does not.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403863
      642078cc
    • Sam Lantinga's avatar
      Fixed bug #674 · 59bb46e7
      Sam Lantinga authored
       Matej     2009-01-08 09:25:34 PST
      
      Hello,
      I maintain a cross-platform project that uses SDL.
      One of the users who runs OSX has told me that he has problems with linking to
      SDL due to missing -framework option.
      I think that the problem is because of this:
      'sdl-config --libs' outputs '-L/opt/local/lib -lSDLmain -lSDL
      -Wl,-framework,Cocoa'
      All the options are passed to the linker except the last one. I think that the
      good output should be just:
      '-L/opt/local/lib -lSDLmain -lSDL -framework Cocoa'
      since those options (--libs) are passed to the linker, so the '-Wl' option is
      redundant and possibly harmful in this very case
      I use autotools with libtool to do the build...
      Regards,
      Matej
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403862
      59bb46e7
    • Sam Lantinga's avatar
      Fixed bug #615 · bfb982d9
      Sam Lantinga authored
       Scott McCreary      2008-08-21 10:48:14 PDT
      
      This patch adds support for Haiku.
      http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/SDL-1.2.13-haiku.diff
      Haiku is an open-source recreation of BeOS.  It has better POSIX compliance
      than beOS did, and other improved features, which in some cases causes us to
      have to "undo" previous BeOS workarounds.
      Here's our port log entry for it, showing the steps to force the changes into
      configure and Makefile:
      http://ports.haiku-files.org/wiki/media-libs/libsdl/1.2.13/1
      Note that this was only tried on 1.2.13 stable so far.
      Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in
      the released libtool, so we are having to copy it in for now.
      http://haiku-files.org/files/optional-packages/
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403855
      bfb982d9
    • Sam Lantinga's avatar
      Added reminder to look into 2D vblank synchronization · 54ecbe7b
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403853
      54ecbe7b
    • Sam Lantinga's avatar
      Oh yeah, we have GLX support too. · ba55ec5f
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403852
      ba55ec5f
    • Sam Lantinga's avatar
      Fixed bug #577 · d2a37d98
      Sam Lantinga authored
       Pierre Phaneuf      2008-05-01 10:29:16 PDT
      
      SDL_VIDEO_DRIVER_X11 is not defined in SDL_config_macosx.h
      
      There's a number of SDL_VIDEO_DRIVER_xxx defined in SDL_config_macosx.h, but
      not that one, even though it is actually present.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403850
      d2a37d98
    • Sam Lantinga's avatar
      Fixed bug #591 · 457c5909
      Sam Lantinga authored
       Wade Berrier      2008-05-28 11:09:42 PDT
      
      configure.in will enable dynamic loading by default for modules, but some of
      the checks only check /lib, /usr/lib, /usr/local/lib, etc...
      
      It needs to also account for systems using /lib64, /usr/lib64, and
      /usr/local/lib64.
      
      For example, openSUSE x86_64 distro uses these style paths.  Otherwise, i586
      gets dynamically loaded, but x86_64 doesn't.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403847
      457c5909
    • Sam Lantinga's avatar
      Fixed bug #570 · be2cfc6a
      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--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403844
      be2cfc6a
    • Sam Lantinga's avatar
      Fixed build on Mac OS X 10.4 · d4c29047
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403837
      d4c29047
  7. 20 Sep, 2009 4 commits
  8. 19 Sep, 2009 1 commit