1. 24 Sep, 2003 1 commit
  2. 21 Sep, 2003 5 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 4e0cc6a0
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40723
      4e0cc6a0
    • Sam Lantinga's avatar
      Date: Thu, 18 Sep 2003 14:24:35 -0400 · 773e8e18
      Sam Lantinga authored
      From: Scott Watson
      Subject: [SDL] Improper Windows message routine calling
      
      If this hasn't been caught yet, there's an improper method of calling a
      user's window message routine in the various SDL_xxevents.c files.
      
      Calling it improperly can cause a crash under at least XP.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40722
      773e8e18
    • Sam Lantinga's avatar
      N Sep 17 8791 Sam Lantinga Re: tks source released · 2aa25e17
      Sam Lantinga authored
      Date: Sun, 07 Sep 2003 02:51:58 +0200
      From: Stephane Marchesin
      Subject: [SDL] Two little patches
      
      Compiling SDL with a recent gcc (gcc 3.3.1, 3.3 doesn't have this
      behaviour) gives some nasty warnings :
      
      SDL_blit_A.c: In function `BlitRGBtoRGBSurfaceAlpha128MMX':
      SDL_blit_A.c:223: warning: integer constant is too large for "long" type
      SDL_blit_A.c:225: warning: integer constant is too large for "long" type
      SDL_blit_A.c:227: warning: integer constant is too large for "long" type
      [...]
      
      The first attached patch (longlongfix.patch) tells gcc to really treat
      those constants as unsigned long long and not long.
      
      The second patch (nasinclude.patch) fixes an include problem I had while
      compiling nas audio : when the <audio/audiolib.h> file lies in
      /usr/X11R6/include, a -I/usr/X11R6/include  option is needed or the file
      isn't found.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40721
      2aa25e17
    • Sam Lantinga's avatar
      Date: Fri, 12 Sep 2003 18:04:19 -0400 · addc0b02
      Sam Lantinga authored
      From: Matthew Danish
      Subject: patch for k*bsd support
      
      I am forwarding this patch from Robert Millan <rmh@debian.org> for
      supporting K*BSD systems (BSD kernel GNU userland, and hurd) in
      configure.in.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40720
      addc0b02
    • Sam Lantinga's avatar
      Date: Sat, 13 Sep 2003 15:50:43 +0300 · bf7b6262
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: QNX fixes
      
      improved sound code for the QNX, added workarounds for known bugs, fixed photon detect code. Update .qpg file.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40719
      bf7b6262
  3. 15 Sep, 2003 1 commit
    • Ryan C. Gordon's avatar
      Date: Sun, 14 Sep 2003 17:04:55 -0400 · 794bba8f
      Ryan C. Gordon authored
      From: Philip D.S. Thoren <pthoren@cs.uml.edu>
      Reply-To: "sdl@libsdl.org" <sdl@libsdl.org>
      To: "sdl@libsdl.org" <sdl@libsdl.org>
      Subject: [SDL] BUG in src/video/windx5/SDL_dx5events.c
      
         I tracked down a bug that crashed my program on Windows *all* the
      time.
      
          FILE: src/video/windx5/SDL_dx5events.c
      
          FUNCTION: handle_mouse
          BUG:
              SDL_PublicSurface is being dereferenced when it is NULL.
                     I added the following to the very begining of handle_mouse
              and it solved my crashing problems:
      
              if (SDL_PublicSurface == NULL) return;
      
      ~ Philip D.S. Thoren
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40718
      794bba8f
  4. 13 Sep, 2003 1 commit
  5. 05 Sep, 2003 3 commits
  6. 03 Sep, 2003 1 commit
  7. 02 Sep, 2003 1 commit
  8. 31 Aug, 2003 2 commits
  9. 30 Aug, 2003 12 commits
    • Sam Lantinga's avatar
      Fixed building SDL_loadso.c on MacOS Classic · 56ded773
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40709
      56ded773
    • Sam Lantinga's avatar
      *** empty log message *** · 8c49a5a0
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40708
      8c49a5a0
    • Sam Lantinga's avatar
      *** empty log message *** · be1086b8
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40707
      be1086b8
    • Sam Lantinga's avatar
      *** empty log message *** · 4f229b87
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40706
      4f229b87
    • Patrice Mandin's avatar
      Small bugfixes · f9ec6072
      Patrice Mandin authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40705
      f9ec6072
    • Sam Lantinga's avatar
      *** empty log message *** · d5e201c8
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40704
      d5e201c8
    • Sam Lantinga's avatar
      QNX is now officially supported! Thanks to Mike Gorchak! · 2f2fa60b
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40703
      2f2fa60b
    • Sam Lantinga's avatar
      Date: Sat, 30 Aug 2003 16:28:10 +0300 · dbd1cb0c
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: Re: SDL 1.2.6
      
      - minor changes about shared library building under QNX6 into README.QNX
      - added forgotten libSDLmain.a into distribution, SDL.qpg.in
      - added header guards to the all headers.
      - fixed fullscreen double buffered mode.
      - fixed Photon crashes after/during using fullscreen OpenGL modes.
      - added GL_MakeCurrent function.
      - added SDL_VIDEOEXPOSE event, when OpenGL window have been resized
      - added more HAVE_OPENGL checks to avoid dead code compilation without using OpenGL
      - finished code reorganization (began into previous patches).
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40702
      dbd1cb0c
    • Sam Lantinga's avatar
      *** empty log message *** · 22bedf99
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40701
      22bedf99
    • Sam Lantinga's avatar
      Fixed some bugs in the Nano-X video driver · 33c3ee82
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40700
      33c3ee82
    • Sam Lantinga's avatar
      *** empty log message *** · 72cad5a3
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40699
      72cad5a3
    • Sam Lantinga's avatar
      *** empty log message *** · e4cfefac
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40698
      e4cfefac
  10. 27 Aug, 2003 2 commits
  11. 23 Aug, 2003 5 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 06f748ea
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40695
      06f748ea
    • Sam Lantinga's avatar
      Date: Sat, 16 Aug 2003 16:22:56 +0300 · 7bd08677
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: Package building for QNX6
      
      I'm just completed the package description file for QNX6 - qpg, it is like a\
       .spec files for Linux. Please place SDL.qpg.in file in the root of the proj\
      ect, where .spec file is placed. And sdl12qpg.diff - just adding the SDL.qpg\
      .in. The same for the SDL_image. I'm planning to add .qpg files creation for\
       all SDL* projects.
      
      As for shared library building for QNX6. It is very hard to improve the exis\
      ting libtool code to support QNX shared libraries. Much easyiest is to remov\
      e libtool.m4 code from the acinclude.m4 for those persons, who building shar\
      ed libraries for QNX6. I'm described all what they need to do with .so under\
       QNX6 in the README.QNX file. And 90% of people used the precompiled librari\
      es, so I think it is not big problem :)
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40694
      7bd08677
    • Sam Lantinga's avatar
      Date: Fri, 15 Aug 2003 09:13:59 +0300 · b0204f40
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: Patches for tests and QNX6
      
      Here more fixes for the QNX6 in sdlqnx.diff file:
      
      - Spellchecked README.QNX (thanks to Julian Kinraid)
      - Fixed bugs in fullscreen mode: window region wasn't on top by default, so \
      it caused some artifacts to be appeared on the screen, prevent window conten\
      ts default filler in Photon while in fullscreen mode, it damages the screen.
      - Added support for the SDL_VIDEO_WINDOW_POS, SDL_VIDEO_CENTERED env variabl\
      es.
      - Some minor code restructurization.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40693
      b0204f40
    • Sam Lantinga's avatar
      Date: Fri, 15 Aug 2003 09:13:59 +0300 · 0cc5681a
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: Patches for tests and QNX6
      
      1) graywin - added support for the gray gradient in the 15/16 bpp modes. Added SDL_VIDEOEXPOSE event handling.
      2) testalpha - added support for the gray gradient in the 15/16 bpp modes.
      3) testbitmap - added support for the gray gradient in the 8/15/16 bpp modes.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40692
      0cc5681a
    • Sam Lantinga's avatar
      Fixed use of SDL with XInitThreads() · dc54e92e
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40691
      dc54e92e
  12. 22 Aug, 2003 1 commit
    • Sam Lantinga's avatar
      Date: Tue, 19 Aug 2003 17:57:00 +0200 · 3095e05e
      Sam Lantinga authored
      From: Stephane Marchesin
      Subject: Re: [SDL] [patch] MMX alpha blit patches with MMX detection
      
      I think everything is correct now. I've done as much testing as I could,
      but some real-world testing wouldn't hurt, I think.
      The patch is here : http://icps.u-strasbg.fr/~marchesin/sdl_mmxblit.patch
      
      If you do byte-by-byte comparison of the output between C and MMX
      functions, you'll notice that the results for 555 and 565 RGB alpha
      blits aren't exactly the same. This is because MMX functions for 555 and
      565 RGB have an higher accuracy. If you want the exact same behaviour
      that's possible by masking the three lower alpha bits in the MMX
      functions. Just ask !
      
      I removed one MMX function because after I fixed it to match its C
      equivalent, it revealed to be slower than the C version on a PIII
      (although a bit faster on an Athlon XP).
      
      I've also added MMX and PIII replacements for SDL_memcpy. Those provide
      some speed up in testvidinfo -benchmark (at least for me, under linux &
      X11).
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40690
      3095e05e
  13. 12 Aug, 2003 1 commit
    • Sam Lantinga's avatar
      Date: Tue, 12 Aug 2003 14:26:19 +0200 (MEST) · d8ae01f1
      Sam Lantinga authored
      From: "Mattias Engdeg?rd"
      Subject: bug in SDL_GetRGB/GetRGBA
      
      There's an embarrassing bug in GetRGB/GetRGBA which apparently has been there
      for years. It incorrectly converts colours with < 8 bits/channel.
      It came to my attention today in #sdl.
      
      What it does now is (for each channel):
      
        rv = (pixel & fmt->Rmask) >> fmt->Rshift;
        *r = (rv << fmt->Rloss) + (rv >> (8 - fmt->Rloss));
      
      which is wrong; the last line should be
      
        *r = (rv << fmt->Rloss) + (rv >> (8 - (fmt->Rloss << 1)));
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40689
      d8ae01f1
  14. 11 Aug, 2003 1 commit
    • Sam Lantinga's avatar
      Date: Mon, 11 Aug 2003 22:49:06 +0100 · 05e09aef
      Sam Lantinga authored
      From: Peter Naulls
      Subject: RISC OS patches
      
      This patch includes a patch to configure.in for RISC OS cross compiling
      which was somehow missed from last time.
      
      It also corrects BPP setting and checking behaviour.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40688
      05e09aef
  15. 10 Aug, 2003 3 commits