1. 21 Sep, 2009 18 commits
    • Sam Lantinga's avatar
      Fixed bug #795 · 954609b9
      Sam Lantinga authored
       Andrey      2009-09-14 21:16:53 PDT
      
      WinCE GetCursorPos fixed
      
      I'm using iPAQ HP rx5919, with Windows Mobile 5.
      And I also use mingw32ce 0.59.1 toolchain.
      I fixed this, see attachment patch.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403860
      954609b9
    • Sam Lantinga's avatar
      Fixed bug #695 · 73eadb47
      Sam Lantinga authored
       Nomad      2009-02-08 10:34:43 PST
      
      The 2nd init is good.
      The problem is in "SDL_dibevents.c"
      in DIB_CreateWindow()
      
      in SVN:
      {
          char *windowid = SDL_getenv("SDL_WINDOWID");
      
          SDL_RegisterApp(NULL, 0, 0);
      
          ... using of data to which windowid is points
      
      problem:
          SDL_RegisterApp() may call SDL_getenv() and windowid will point to some
      wrong string
      
      solve:
          char *windowid;
      
          SDL_RegisterApp(NULL, 0, 0);
      
          windowid = SDL_getenv("SDL_WINDOWID");
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403859
      73eadb47
    • Sam Lantinga's avatar
      Fixed bug #778 · 88928312
      Sam Lantinga authored
       Derek Weitzel      2009-08-11 12:17:09 PDT
      
      Window Manager: xorg-x11-twm-1.0.1-3.1
      
      Running through Xdmx.  The same application could expand to the full screen
      using GLUT (freeglut).
      
      Overview:
      While running on a very high resolution display, discovered the maximium width
      of the window is 4096.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403858
      88928312
    • Sam Lantinga's avatar
      Fixed bug #706 · 1106b669
      Sam Lantinga authored
       Ken Bull      2009-02-25 13:22:02 PST
      
      Adds Doxygen support for all headers (except config and boilerplate headers) in
      the include folder for SDL-1.2 revision 4446.
      
      While in general SDL is quite thoroughly commented, none of these comments are
      correctly formatted for Doxygen and are generally inconsistent in their
      formatting.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403857
      1106b669
    • Sam Lantinga's avatar
      Fixed bug #698 · 2e1e7fc4
      Sam Lantinga authored
       Hans de Goede      2009-02-13 01:10:52 PST
      
      Since the new "glitch free" version of pulseaudio (used in Fedora 10 amongst
      others), the sound of SDL using apps (like a simple playmus call) has been
      crackling.
      
      While looking in to fixing this I noticed that the current pulseaudio code in
      SDL uses pa_simple. However pa_simple uses a thread to pump pulseaudio events
      and ipc, given that SDL already has its own thread for audio handling this is
      clearly suboptimal, leading to unnecessary context switching IPC, etc. Also
      pa_simple does not allow one to implement the WaitAudio() callback for SDL
      audiodrivers properly.
      
      Given that my work is mostly a rewrite (although some original pieces remain)
      I'm attaching the new .c and .h file, as that is easier to review then the huge
      diff.
      
      Let me know if you also want the diff.
      
      This new version has the following features:
      -no longer use an additional thread next to the SDL sound thread
      -do not crackle with glitch free audio
      -when used with a newer pulse, which does glitch free audio, the total latency
      is
       the same as with the alsa driver
      -proper WaitAudio() implementation, saving another mixlen worth of latency
      -adds a WaitDone() implementation
      
      This patch has been written in consultancy with Lennart Poetering (the
      pulseaudio author) and has been reviewed by him for correct use of the pa API.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403856
      2e1e7fc4
    • Sam Lantinga's avatar
      Fixed bug #615 · e867c836
      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--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403854
      e867c836
    • Sam Lantinga's avatar
      Oh yeah, we have GLX support too. · 2f54acf3
      Sam Lantinga authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403851
      2f54acf3
    • Sam Lantinga's avatar
      Fixed bug #577 · 88ce20e6
      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--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403849
      88ce20e6
    • Sam Lantinga's avatar
      Fixed bug #591 · 59482715
      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--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403848
      59482715
    • Sam Lantinga's avatar
      Fixed bug #572 · 69789889
      Sam Lantinga authored
      Please merge this patch for the PA driver in SDL.
      
      http://0pointer.de/public/sdl-pulse-rework.patch
      
      This patch:
      - fixes buffering (i.e. reduces number of "fragments" to 2, doesn't defer
      filling up of the buffer until the entire buffer ran completely empty.)
      - drops $PASERVER and $PADEVICE env var support, since this is a duplication of
      $PULSE_SERVER and $PULSE_SINK which the PA libs honor anyway.
      
      This fixes the sound issues in all games I tested.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403846
      69789889
    • Sam Lantinga's avatar
      Fixed bug #571.. I think. :) · 6bae66b5
      Sam Lantinga authored
      It certainly can't hurt!
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403845
      6bae66b5
    • Sam Lantinga's avatar
      Fixed bug #570 · 6a11032c
      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--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403843
      6a11032c
    • Sam Lantinga's avatar
      Updated the version to 1.2.14 for the next release. · a9c22581
      Sam Lantinga authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403842
      a9c22581
    • Sam Lantinga's avatar
      Fixed bug #562 · b0f6c3e9
      Sam Lantinga authored
      this patch by Diego Pettenò <flameeyes@gentoo.org> for SDL-1.2:
      
      The attached patch applies over latest ~arch SDL version, and allows to use the
      xinerama support to launch an application full screened on the head "0".
      
      The SDL_VIDEO_FULLSCREEN_HEAD environment variable sets the head on which the
      full screen will be displayed, but if you set it to 0, the code simply ignores
      it as unset. My patch changes the unset value to -1, so that the 0 value can be
      used correctly. Without this, trying to get fullscreen on head 0 would get the
      same result than not having xinerama enabled at all.
      
      http://sources.gentoo.org/media-libs/libsdl/files/libsdl-1.2.11-xinerama-head-0.patch
      
      SDL-1.3 doesnt seem to have any code like this, but it's still good for SDL-1.2
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403841
      b0f6c3e9
    • Sam Lantinga's avatar
      The sound manager code is outdated and should only be used on Mac OS 9 now. · 7b806a14
      Sam Lantinga authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403840
      7b806a14
    • Ryan C. Gordon's avatar
      Use correct value when calculating audio conversion length. · 79e2c42e
      Ryan C. Gordon authored
        Fixes Bugzilla #477.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403839
      79e2c42e
    • Ryan C. Gordon's avatar
      1.2 Quartz video: Ripped out QuickDraw and QuickTime. · b5dc26cf
      Ryan C. Gordon authored
      Now we use the software path for YUV, and CoreGraphics for 2D stuff.
      
      There are several other 10.6 fixes in here, too...now we can build a 64-bit
      SDL for Snow Leopard!
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403838
      b5dc26cf
    • Ryan C. Gordon's avatar
      Patched to compile on Mac OS X <= 10.4 SDKs. · ddb6f9bd
      Ryan C. Gordon authored
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403836
      ddb6f9bd
  2. 20 Sep, 2009 5 commits
  3. 19 Sep, 2009 4 commits
  4. 14 Sep, 2009 1 commit
    • Ryan C. Gordon's avatar
      GCC 3.03 support on OS/2. · 1aeda60e
      Ryan C. Gordon authored
        Fixes Bugzilla #588.
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403801
      1aeda60e
  5. 13 Sep, 2009 1 commit
  6. 12 Sep, 2009 9 commits
  7. 07 Aug, 2009 1 commit
    • Sam Lantinga's avatar
      Fixed bug #746 · 0add77f0
      Sam Lantinga authored
      Fixed freeze when trying to memset with 0 length
      
      --HG--
      branch : SDL-1.2
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403757
      0add77f0
  8. 02 Aug, 2009 1 commit