1. 08 Feb, 2004 1 commit
  2. 07 Feb, 2004 1 commit
  3. 06 Feb, 2004 2 commits
  4. 31 Jan, 2004 3 commits
  5. 29 Jan, 2004 5 commits
  6. 28 Jan, 2004 2 commits
    • Sam Lantinga's avatar
      Date: Wed, 28 Jan 2004 20:25:54 +0100 · 07754d3f
      Sam Lantinga authored
      From: Thomas Jarosch
      Subject: Re: [SDL] DSPF_RBG15 in src/video/directfb/SDL_DirectFB_video.c
      
      In my local DirectFB 0.1.19 copy, DSPF_RGB15 is an alias for DSPF_ARGB1555.
      They seem to have it removed in DirectFB CVS.
      
      As DSPF_RGB15 was only an alias, the attached patch
      can safely be applied to SDL and won't brake older DirectFB versions.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40791
      07754d3f
    • Sam Lantinga's avatar
      Date: Wed, 28 Jan 2004 02:37:04 +0100 · 3949843e
      Sam Lantinga authored
      From: Max Horn
      Subject: Small libtool patch (framework related)
      
      here is a small patch for ltmain.sh. It corrects a problems with the
      libSDL.la file, which prevented applications using a version of libtool
      w/o framework support (read: all currently released libtool version) to
      not being able to link with SDL anymore. I also notified the libtool
      maintainers, as the same problem exists in libtool CVS.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40790
      3949843e
  7. 26 Jan, 2004 1 commit
  8. 24 Jan, 2004 3 commits
    • Sam Lantinga's avatar
      Date: Sat, 24 Jan 2004 14:49:58 +0100 · 3ea2a3dd
      Sam Lantinga authored
      From: Stephane Marchesin
      Subject: Re: [SDL] 3DNow! detection on a P4 system
      
      Well... I found another bug : 3dnow was detected on P2/P3 cpus. So I
      took one more look at the code and found a mistake in
      CPU_getCPUIDFeaturesExt :
      The condition for having extended cpuinfo is that when we query extended
      cpuinfo we get a result >=  0x80000001. So we must exit if eax < 0x80000001.
      The attached patch does that.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40788
      3ea2a3dd
    • Sam Lantinga's avatar
      *** empty log message *** · f423ef91
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40787
      f423ef91
    • Sam Lantinga's avatar
      Fixed bugs in CPU feature detection and added extended feature detection · faea9390
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40786
      faea9390
  9. 17 Jan, 2004 1 commit
  10. 13 Jan, 2004 1 commit
  11. 11 Jan, 2004 1 commit
  12. 08 Jan, 2004 1 commit
  13. 07 Jan, 2004 2 commits
    • Patrice Mandin's avatar
      Add to temporary includes path to find src/video/windx5/directx.h if we build... · 1c5d8853
      Patrice Mandin authored
      Add  to temporary includes path to find src/video/windx5/directx.h if we build SDL in a different directory
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40781
      1c5d8853
    • Sam Lantinga's avatar
      Date: Tue, 6 Jan 2004 21:54:02 +0100 · 90a429e4
      Sam Lantinga authored
      From: Max Horn
      Subject: Auto hide mouse & other changes
      
      the attached bug adds the auto-hide-mouse feature I talked about
      earlier. Turned out it was a lot simpler than I thought, simply by
      using our existing code :-). I actually spent much more time on fixing
      various bugs in the code and correcting (IMO) some behavior (although,
      due to the lack of real specs for SDL, it's probably arguable what
      'correct' means...).
      
      * adds auto (un)hiding of mouse depending on whether it is in- or
      outside the game window
      * computation of course coordinates is correct now (it often and
      reproducible got out of sync with the old code, since the NSEvent
      window was in some cases *not* our window anymore, so locationInWindow
      returned wrong results)
      * added a method which at any time returns the mouse coords, relative
      to our window
      * fixed handling of lost/gain input/mouse/app focus "events"
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40780
      90a429e4
  14. 06 Jan, 2004 3 commits
  15. 05 Jan, 2004 3 commits
    • Sam Lantinga's avatar
      Fixed playback problems with MacOSX 10.1 · 956f6b50
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40776
      956f6b50
    • Sam Lantinga's avatar
      Date: Mon, 5 Jan 2004 00:09:36 +0100 · e95a3dbb
      Sam Lantinga authored
      From: Anders_F_Bj?rklund
      Subject: [SDL] Dynamic OpenGL lib support for Mac
      
      Here's a patch that adds LoadLibrary and GetProcAddress
      to the Carbon macintosh driver (for Mac OS 9 and Mac OS X):
      http://www.algonet.se/~afb/SDL-1.2.6-macdynamicgl.patch
      It just calls the corresponding function from SDL_loadso.
      
      It also fixes one Mac bug in SDL_loadso.c, that made it fail
      always when loading a library, and fixes the screen update
      after receiving an update event - which caused the OpenGL
      context to be overwritten by a blank window by UpdateRect...
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40775
      e95a3dbb
    • Sam Lantinga's avatar
      Date: Sun, 4 Jan 2004 23:48:19 +0100 · 2918fb4c
      Sam Lantinga authored
      From: Max Horn
      Subject: Re: Again Audio CD patch
      
      Am 04.01.2004 um 22:38 schrieb Sam Lantinga:
      
      >
      > Okay, I fixed the buffering problems by simply using a 4 second buffer
      > instead of a 1 second buffer.  However, using your code I can't play an
      > entire CD - the playback stops after the first song.
      >
      Found the problem: FSReadFork returns eofErr when the file is finished.
      However, we check its return value for errors, and if anything but
      noErr occurs, the reader thread aborts its current iteration. That is
      bad, because it aborts before it can ever set the flag which tells that
      the file is over (also, any remaining data which FSRead did return is
      lost - so you'd not hear about to 4 seconds from the end of the file.
      
      Furthermore, the computed data size was 8 bytes to high (I forgot to
      account for the fact that the size of an (A)IFF chunk always contains
      the chunk header & size fields, too). This is enough to make it work.
      However, the end condition is rather fragile, so I tuned some other
      things to be pessimistic (check for <= 0 instead of == 0, when eofErr
      is encountered enforce mReadFilePosition == mFileLength). You never
      know...
      
      The attached patch fixes the issue for me.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40774
      2918fb4c
  16. 04 Jan, 2004 10 commits
    • Sam Lantinga's avatar
      Fix buffer underrun problems on slow iBooks · d6676a0e
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40773
      d6676a0e
    • Sam Lantinga's avatar
      Fixed track detection on MacOS X 10.1 · 5cce205c
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40772
      5cce205c
    • Sam Lantinga's avatar
      *** empty log message *** · da699f5e
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40771
      da699f5e
    • Sam Lantinga's avatar
      Updated copyright information for 2004 (Happy New Year!) · cb9c2efd
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40770
      cb9c2efd
    • Sam Lantinga's avatar
      Max has been reworking this code so it works on MacOS X 10.1 · f4df35b9
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40769
      f4df35b9
    • Sam Lantinga's avatar
      Date: Mon, 17 Nov 2003 21:59:24 -0800 · 86ec9803
      Sam Lantinga authored
      From: Pete Shinners
      Subject: [SDL] directfb cursor patch
      
      here is a quick and dirty patch that allows directfb to change the
      visibility of the cursor. this display backend still has no way to change
      the actual cursor shape, but being able to set the cursor visibility is a
      simple change that should offer some benefits.
      
      the code was largely based on the cursor code for other sdl backends. and
      this documentation.
      http://directfb.org/documentation/DirectFB_Reference/IDirectFBDisplayLayer_SetCursorOpacity.html
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40768
      86ec9803
    • Sam Lantinga's avatar
      Date: Wed, 26 Nov 2003 01:52:02 +0800 · 60d9c91d
      Sam Lantinga authored
      From: "Andy Pfiffer"
      Subject: [SDL] patch: PocketPC 2000 diffs for release_1_2_6
      
      I was making a backup of my current workspace of SDL for PocketPC,
      and thought I would send out my diffs.
      
      Apologies in advance if the patch has become whitespace mangled.
      
      These diffs are relative to CVS tag release_1_2_6, and contain (I think)
      all changes that have been mentioned on the mailing list in the last
      few months.
      
      I only have PocketPC 2000 & an ARM-based device (iPaq 3635), and I
      only use Embedded Visual Tools 3.0, so I can't say for sure if it
      breaks other PocketPC 200[023] builds.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40767
      60d9c91d
    • Sam Lantinga's avatar
      Editors Note: The original patch was modified to use SDL_Delay() instead of · 7ad9d800
      Sam Lantinga authored
                    nanosleep because nanosleep may not be portable to all systems
                    using SDL with the ALSA backend.  This may be a moot point with
                    the switch to blocking writes anyway...
      
      Date: Sat, 27 Dec 2003 21:47:36 +0100
      From: Michel Daenzer
      To: Debian Bug Tracking System
      Subject: [SDL] Bug#225252: [PATCH] ALSA fixes
      
      Package: libsdl1.2debian-all
      Version: 1.2.6-2
      Severity: normal
      Tags: patch
      
      For SDL 1.2.6, the ALSA backend was changed to call snd_pcm_open() with
      SND_PCM_NONBLOCK. That's a good idea per se, however, it causes high CPU
      usage, interrupted sound and stuttering in some games here. Taking a nanosleep
      whenever snd_pcm_writei() returns -EAGAIN fixes this, but I think it's more
      efficient to use blocking mode for the actual sound playback. Feedback from the
      SDL and ALSA lists appreciated.
      
      The patch also fixes the default ALSA device to be used.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40766
      7ad9d800
    • Sam Lantinga's avatar
      Added function to create RWops from const memory: SDL_RWFromConstMem() · 028eb838
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40765
      028eb838
    • Sam Lantinga's avatar
      Updated for new APIs · 9c03bae4
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40764
      9c03bae4