1. 04 Jan, 2004 7 commits
    • 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
    • Sam Lantinga's avatar
      *** empty log message *** · 788fa8d8
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40763
      788fa8d8
    • Sam Lantinga's avatar
      Date: Wed, 31 Dec 2003 21:55:30 +0100 · 88fc8878
      Sam Lantinga authored
      From: Max Horn
      Subject: SDL: video/quartz cleanup
      
      while doing some experimental changes in the quartz code, I was annoyed
      by having to recompile that one big .o file over and over again. So I
      decided to finally realize one TODO: properly splitting the code over
      multiple files :-).
      
      With two exceptions, I didn't make code changes, only rearranged files
      and added new headers. Since there are several new files, making a
      patch didn't work out so well, so I decided to just send you all the
      new & modified files.
      
      The one source change I made is related to showing/hiding the mouse. I
      renamed cursor_visible to cursor_should_be_visible and cursor_hidden to
      cursor_visible; I think that makes reading the code easier.
      Then I added two new functions: QZ_ShowMouse and QZ_HideMouse. They
      help manage cursor_visible (the former 'cursor_hidden'). Finally I
      replaced the Carbon ShowCursor/HiderCuror calls by [NSCursor hide] and
      [NSCursor unhide]. The API docs are not conclusive, but it might be
      that with those the "cursor_visible" (former 'cursor_hidden') hack may
      not be necessary anymore; however so far I didn't test this hypothesis,
      so I left that in.
      
      The other change was to remove in_foreground and use [NSApp isActive]
      instead: Manually keeping track of whether we are in the foreground is
      error prone. This should work better in some corner cases.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40762
      88fc8878
  2. 31 Dec, 2003 1 commit
  3. 22 Dec, 2003 1 commit
    • Ryan C. Gordon's avatar
      From: Thomas Jarosch · d2d5573e
      Ryan C. Gordon authored
      To: Ryan C. Gordon
      Subject: SDL: DirectFB videodriver segfault
      Date: Sun, 21 Dec 2003 20:40:14 +0100
      
      Hi Ryan,
      
      attached is a patch to fix a segfault in DirectFB_VideoQuit.
      When SetVideoMode never gets called (f.e. wrong command line arguments
      for "testsprite"), this->screen->hwdata is NULL.
      
      Cheers,
      Thomas
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40760
      d2d5573e
  4. 18 Dec, 2003 1 commit
    • Sam Lantinga's avatar
      Date: Wed, 17 Dec 2003 18:07:29 -0800 PST · 5e87c6c2
      Sam Lantinga authored
      From: "Andrew Bachmann"
      Subject: recent build changes
      
      To ensure that I submitted all the changes to you I attempt to rebuild SDL from a clean cvs checkout.  Unfortunately it failed with this error:
      
      /boot/develop/libsdl/SDL12/src/audio/baudio/SDL_beaudio.cc:35: SDL_BeApp.h: No such file or directory
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40759
      5e87c6c2
  5. 16 Dec, 2003 2 commits
    • Sam Lantinga's avatar
      Date: Sun, 14 Dec 2003 15:16:12 +0100 · 86f8e696
      Sam Lantinga authored
      From: Stephane Marchesin
      Subject: Re: [SDL] compile problem with sdl <-> alsa
      
      The attathced patch does the trick (although there will have to be code
      changes when the alsa 0.9 api get deprecated).
      
      On a side-note, the good news is that using alsa 1.0.0rc1 solves the
      previous issues I had with my ac97 via sound chipset.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40758
      86f8e696
    • Sam Lantinga's avatar
      te: Mon, 15 Dec 2003 08:25:14 -0800 PST · 0954d09c
      Sam Lantinga authored
      From: "Andrew Bachmann"
      Subject: libSDL patches for beos video
      
      I created some patches to SDL:
      
      1. YUV overlay support
      2. maintain high refresh rate when changing resolutions to a lower resolution
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40757
      0954d09c
  6. 14 Dec, 2003 2 commits
  7. 10 Dec, 2003 2 commits
    • Sam Lantinga's avatar
      Date: Thu, 4 Dec 2003 07:48:40 +0200 · d182a96b
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: SDL/QNX6 new patch
      
      Here in attachment my patch for the SDL/QNX6 again :) It contain non-crtitical/cosmetic fixes:
      
      1. Fixed window centering at other than the first consoles.
      2. Fixed window centering algorithm in case when window height or width are greater than the desktop resolution.
      3. Fixed window positioning on other than the first consoles.
      4. Fixed occasional input focus lost when switching to fullscreen.
      5. Removed the Photon's default chroma color for the overlays, added RGB(12, 6, 12) color instead (very dark pink).
      6. Added more checks to the YUV overlay code (fixed crashes during resolution mode switches).
      7. Added support for Enter/Backspace keys in unicode mode (used by Maelstrom and by other games).
      8. Fixed window restore/maximize function. It works, finally.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40754
      d182a96b
    • Sam Lantinga's avatar
      *** empty log message *** · 1e6f6032
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40753
      1e6f6032
  8. 24 Nov, 2003 9 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 2f418548
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40752
      2f418548
    • Sam Lantinga's avatar
      Date: Mon, 24 Nov 2003 20:11:31 +0000 · ba97e9b7
      Sam Lantinga authored
      From: John Drinkwater <john@nextraweb.com>
      Subject: SDL configure.in patch
      
      On my cygwin compile environment, I get a script error with configure.
      
      $ ./configure --enable-debug=no -q;
      appending configuration tag "CXX" to libtool
      appending configuration tag "F77" to libtool
      ./configure: line 28135: : command not found
      *snip the rest*
      
      The supplied patch fixes the problem, just a minor oversight of some [ ] & t\
      est.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40751
      ba97e9b7
    • Sam Lantinga's avatar
      Updated Visual C++ support · a12ff596
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40750
      a12ff596
    • Sam Lantinga's avatar
      *** empty log message *** · 17c9e1dd
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40749
      17c9e1dd
    • Sam Lantinga's avatar
      Check for CPUID before checking for 3DNow! · 6587e3fd
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40748
      6587e3fd
    • Sam Lantinga's avatar
      Greatly simplified the SDL CPU info code · 15fabb63
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40747
      15fabb63
    • Sam Lantinga's avatar
      Greatly simplified the SDL CPU info code · fb25886c
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40746
      fb25886c
    • Sam Lantinga's avatar
      Switched data files to binary format · c1da62cb
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40745
      c1da62cb
    • Sam Lantinga's avatar
      *** empty log message *** · 823e2837
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40744
      823e2837
  9. 19 Nov, 2003 1 commit
  10. 18 Nov, 2003 3 commits
    • Sam Lantinga's avatar
      Date: Mon, 17 Nov 2003 23:12:59 +0100 · 22ddc1de
      Sam Lantinga authored
      From: Max Horn
      Subject: SDL building "the unix way" on OS X
      
      I just noticed that building current SDL CVS "the unix way" (using
      configure/make) is (and has been for some time, it seems) broken.
      That's because Sam updated to a newer libtool version, which removed my
      "-framework" patches.
      
      Attached is a patch which once again makes ltmain.sh aware of
      "-framework". Note that this is simply a backport of the corresponding
      changes in libtool CVS (i.e. the next libtool release will contain
      those same changes).
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40742
      22ddc1de
    • Sam Lantinga's avatar
      Actually hook the cpuinfo module into the library. :) · 9a9e553e
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40741
      9a9e553e
    • Sam Lantinga's avatar
      Added SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE() in SDL_cpuinfo.h · 9842d74f
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40740
      9842d74f
  11. 14 Nov, 2003 2 commits
    • Sam Lantinga's avatar
      Date: Mon, 10 Nov 2003 19:57:56 +0100 · ccba9fd0
      Sam Lantinga authored
      From: Stephane Marchesin <stephane.marchesin@wanadoo.fr>
      Subject: [SDL] SDL and gcc >= 3.3.1 fix
      
      Lately, I upgraded my gcc compiler and could trigger the error described
      in this thread :
      http://www.libsdl.org/pipermail/sdl/2003-September/056163.html
      
      SDL_RLEaccel.c: In function `RLEClipBlit':
      SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
      SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
      SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
      
      
      The attached patch fixes this issue, and is smaller than the previous
      one, as I was able to trigger the issue, so I could narrow it.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40739
      ccba9fd0
    • Patrice Mandin's avatar
      Small fix for iconification · 8f12b9c2
      Patrice Mandin authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40738
      8f12b9c2
  12. 12 Nov, 2003 3 commits
  13. 05 Nov, 2003 2 commits
    • Sam Lantinga's avatar
      Date: Mon, 13 Oct 2003 13:37:18 +0100 · 4c968411
      Sam Lantinga authored
      From: "alan buckley"
      Subject: Modification for RISC OS SDL port (SDL_riscosevents.c)
      
      This modification improves the key press to Unicode character translation.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40734
      4c968411
    • Ryan C. Gordon's avatar
      Date: Wed, 5 Nov 2003 21:27:47 +0100 · b2c08f9a
      Ryan C. Gordon authored
      From: Thomas Jarosch <xxx>
      To: Ryan C. Gordon <xxx>
      Subject: MGA CRTC2 update
      
      Hi Ryan,
      
      attached is a small update for the DirectFB MGA CRTC2 support:
      
      - Video aspect ratio correct scaling (important for MAME)
      - Small bugfix in previous scaling code
      - Ability to control the TV picture overscan via the environment variable
        SDL_DIRECTFB_OVERSCAN.
      
      Sounds worth enough for applying it to SDL CVS ;-)
      
      Cheers,
      Thomas
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40733
      b2c08f9a
  14. 06 Oct, 2003 3 commits
  15. 03 Oct, 2003 1 commit