1. 29 Jan, 2005 1 commit
  2. 25 Jan, 2005 2 commits
    • Sam Lantinga's avatar
      The fix is going back in. :) · 87be6195
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401034
      87be6195
    • Sam Lantinga's avatar
      Date: Mon, 24 Jan 2005 21:37:56 +0800 · b98f9d6f
      Sam Lantinga authored
      From: Chris Taylor
      Subject: Patch to put back dynamic OpenGL loading for MPW
      
      I sent a patch a while ago that removes dynamic OpenGL loading for
      Macintosh Programmer's Workshop. Dynamic loading DOES actually work
      when an SDL program is built with MPW, it just has to be set up for it.
      (Whoops!!) This is the ideal way to get OpenGL extensions to work,
      which D2X uses quite a few of.
      
      This patch puts dynamic loading back in SDL for Mac OS 9. It applies to
      current CVS. I noticed that two members need to be set when
      DrawSprocket is used.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401033
      b98f9d6f
  3. 18 Jan, 2005 2 commits
    • Sam Lantinga's avatar
      Date: Sun, 16 Jan 2005 19:20:15 +0100 · b56b326a
      Sam Lantinga authored
      From: Stephane Marchesin
      To: Kirill Ponomarew
      Subject: [SDL] Problem on x86_64 with latest CVS (Re: sdl12 with gcc-2.95)
      
      >-I../../src -I../../src/main/freebsd -I../../src/audio
      >-I../../src/video -I../../src/video/XFree86/extensions
      >-I../../src/events -I../../src/joystick -I../../src/cdrom
      >-I../../src/thread -I../../src/timer -I../../src/endian
      >-I../../src/file -I../../src/thread -MT SDL_endian.lo -MD -MP -MF
      >.deps/SDL_endian.Tpo -c SDL_endian.c  -fPIC -DPIC -o
      >.libs/SDL_endian.o
      >{standard input}: Assembler messages:
      >{standard input}:144: Error: suffix or operands invalid for `xchg'
      >*** Error code 1
      >
      That's a totally different problem. This was introduced in CVS 4 days ago :
      http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/include/SDL_endian.h.diff?r1=1.11\
      &r2=1.12
      
      Just revert this patch.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401032
      b56b326a
    • Sam Lantinga's avatar
      Date: Sat, 15 Jan 2005 15:06:01 -0600 · 0d9f27d2
      Sam Lantinga authored
      From: Tyler Montbriand
      Subject: [SDL] minor bugfix for test/testoverlay2.c
      
      Programs that use malloc ought to #include <stdlib.h> .  On 32-bit systems you
      can get away with not including it, but on 64-bit systems it will assume
      malloc() returns a 32-bit integer and butcher the 64-bit pointers it returns.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401031
      0d9f27d2
  4. 17 Jan, 2005 1 commit
    • Ryan C. Gordon's avatar
      Date: Mon, 17 Jan 2005 20:54:50 +0200 · df4b0618
      Ryan C. Gordon authored
      From: Ville [snip]
      Subject: [PATCH] SDL/DirectFB: remove Matrox CRTC2 flicker filter
      
      Hi,
      
      This patch removes the flicker filter option from the DirectFB backend's
      Matrox CRTC2 code in SDL. I will be removing the option from DirectFB
      (because it doesn't actually work) and that would cause the SDL code to
      fail without this fix.
      
      I was going to send this to some SDL list directly but libsdl.org is down
      so I'm not sure what if any lists there are. Thomas Jarosch (the guy who
      wrote the code) said you would accept SDL patches. Let me know if I should
      send this somewhere else.
      
      -- Ville Syrj�l� syrjala _at sci.fi http://www.sci.fi/~syrjala/
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401030
      df4b0618
  5. 13 Jan, 2005 1 commit
    • Sam Lantinga's avatar
      Fix various problems with the timer code. · 37382b46
      Sam Lantinga authored
      * SDL_timer_running wasn't always updated correctly.
      * Fixed occasional crash in SDL_SetTimer() when clearing threaded timers
      * It was possible to get both the timer thread and event thread running
      * Other misc. cleanup
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401029
      37382b46
  6. 12 Jan, 2005 2 commits
  7. 08 Jan, 2005 1 commit
  8. 04 Jan, 2005 3 commits
  9. 03 Jan, 2005 1 commit
    • Sam Lantinga's avatar
      Date: Sun, 2 Jan 2005 18:36:09 +0100 · c7310825
      Sam Lantinga authored
      From: Jon Daniel
      Subject: [SDL] KeyRepeat fix
      
      If you switch keys very fast and hold the last one it
      doesn't get repeated because the key release of the first key
      occured after the key press of the second key.
      Unfortunatly the key release of the first key sets
      SDL_KeyRepeat.timestamp = 0; causing the the second key not to repeat.
      
      This should be always reproducable. I've only checked this on x86-64
      X11.
      
      To fix this I just added another condition to make sure the sym of the
      released key matches SDL_KeyRepeat.key.keysym.sym.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401022
      c7310825
  10. 02 Jan, 2005 2 commits
    • Sam Lantinga's avatar
      Allow SDL to be loaded by Matlab · 12f6de4f
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401021
      12f6de4f
    • Sam Lantinga's avatar
      Date: Fri, 31 Dec 2004 04:14:09 +0900 · 3fbec58e
      Sam Lantinga authored
      From: Hayashi Naoyuki
      Subject: SDL patch for Tru64 UNIX 4.0X
      
      SDL-1.2.8 support only Tru64 5.X.
      This patch is for Tru64 UNIX 4.X.(tested on Tru64 UNIX 4.0G and 5.1B)
      
      SDL-1.2.8/configure.in:
      ld doesn't accept -pthread option.
      cc -pthread has same effect as -D_REENTRANT when compiling,
      and has same effect as -lpthread -lexc when linking.
      
      SDL-1.2.8/include/begin_code.h:
      Old Compaq C Compiler accept not inline but __inline.
      
      SDL-1.2.8/src/audio/SDL_mixer_MMX.c:
      SDL-1.2.8/src/audio/SDL_mixer_MMX.h:
      Old Compaq C Compiler doesn't accept //.
      
      SDL-1.2.8/src/cdrom/osf/SDL_syscdrom.c:
      When becoming Tru64 v5.0 from Tru64 v4.0,
      the arrangement of the cd-rom device was changed.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401020
      3fbec58e
  11. 27 Dec, 2004 1 commit
    • Sam Lantinga's avatar
      Date: Fri, 24 Dec 2004 23:32:06 -0500 · caf8e783
      Sam Lantinga authored
      From: Mike Frysinger
      Subject: [SDL] minor fix for gcc-2.x building
      
      in src/video/directfb/SDL_DirectFB_video.c, some variables are not declared at
      the beginning of scope ... newer gcc's will accept this, but gcc-2.x does not
      
      find attached a simple patch by Matt Taylor to resolve this
      http://bugs.gentoo.org/show_bug.cgi?id=75392
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401019
      caf8e783
  12. 19 Dec, 2004 1 commit
  13. 16 Dec, 2004 2 commits
  14. 15 Dec, 2004 1 commit
    • Sam Lantinga's avatar
      Added change log notes · 1f51aedc
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401015
      1f51aedc
  15. 14 Dec, 2004 2 commits
    • Sam Lantinga's avatar
      Date: Tue, 14 Dec 2004 12:08:30 +0100 · e91603ac
      Sam Lantinga authored
      From: Marcin Konicki
      Subject: Re: [SDL] SDL 1.2.8 Prerelease
      
      I'm sending small fix for BeOS, which prevents filling up SDL's message
      queue too fast.
      Without it, SDL receives "key down" messages from BeOS code, for each key
      repeat (BeOS handles key repeats itself, and application can check if
      received "key down" message from BeOS is first time key down, or if it's
      repeat, and which repeat it is). Since there is no way for "sdl driver" to
      turn off "default" SDL's key-repeat mechanism, they were working both at
      the same time (and queue could be filled up very fast).
      So this patch removes handling "key down" message from BeOS if it's
      key_repeat "type".
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401014
      e91603ac
    • Sam Lantinga's avatar
      Date: Mon, 13 Dec 2004 21:28:18 -0500 · 355eee2a
      Sam Lantinga authored
      From: Jonathan Atkins
      Subject: [SDL] SDL_SaveBMP width bugfix
      
      this fixes the pitch versus width difference that can happen
      (especially for 8bit and 24bit (with the exact RGBAmasks) surfaces)
      when you use SDL_SaveBMP.  The problem was the pitch was used
      instead of the width, which in some cases is much wider than the
      screen area you really want to save...making for ugly crud on the
      saved image borders.
      This code has been tested with & without pitch overhangs...and
      with the right masks for 24 bit surfaces.
      I tested 8,15,16,24,32-0RGB,32-RGBA(with no SDL_SRCALPHA flag).
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401013
      355eee2a
  16. 13 Dec, 2004 4 commits
  17. 06 Dec, 2004 2 commits
  18. 04 Dec, 2004 2 commits
  19. 02 Dec, 2004 2 commits
  20. 30 Nov, 2004 6 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 5fad184d
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401002
      5fad184d
    • Patrice Mandin's avatar
      TinyGL only support RGB24 color buffer · 63a94a14
      Patrice Mandin authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401001
      63a94a14
    • Sam Lantinga's avatar
      Added a usage example for SDL_GetWMInfo() · 268aaf60
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401000
      268aaf60
    • Sam Lantinga's avatar
      Date: Wed, 24 Nov 2004 01:25:48 +0100 · 365f9917
      Sam Lantinga authored
      From: Stephane Marchesin
      Subject: Re: [SDL] Problem compiling SDL 1.2.7
      
      - there is a bug that was introduced in the kernel headers for 2.6.9
      which is fixed in 2.6.10. This bug *will* byte when compiling the cdrom
      subsystem. A patch that works around this bug is attached. Note that
      users affected are not those running 2.6.9, but those using the 2.6.9
      kernel headers for their system (i.e. whose libc is built against 2.6.9
      headers).
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40999
      365f9917
    • Sam Lantinga's avatar
      Date: Sat, 27 Nov 2004 13:35:43 +0100 · ca383efa
      Sam Lantinga authored
      From: "Martin Bickel"
      Subject: [SDL] Patch: fixing uninitilized palette
      
      while running Valgrind over my application I found the following
      problem in SDL:
      
      The function MapNto1 allocates  SDL_Color colors[256]  but does not
      initialize it.
      SDL_DitherColors is then called which initialized the r, g and b
      component, but not the 'unused' component of each color.
      When Map1to1 is called from MapNto1, it runs a memcmp on the colors,
      which also evaluates the unused component and therefor returns
      differences much more often than necessary.
      
      So the 'unused' component of SDL_Color should be initialized. This
      patch does this by calling memset for the whole array in MapNto1 .
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40998
      ca383efa
    • Patrice Mandin's avatar
      Forgot to change window title in the normal case · ef0cced6
      Patrice Mandin authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40997
      ef0cced6
  21. 28 Nov, 2004 1 commit