1. 30 Aug, 2003 3 commits
  2. 27 Aug, 2003 2 commits
  3. 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
  4. 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
  5. 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
  6. 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
  7. 10 Aug, 2003 4 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 1ced8d4d
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40687
      1ced8d4d
    • Sam Lantinga's avatar
      Date: Sun, 10 Aug 2003 13:24:45 -0400 · 27823b67
      Sam Lantinga authored
      From: Darrell Walisser
      Subject: Re: Updated projects?
      
      There was one additional patch I forgot to send. I needed to add a few
      exports to the exports file.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40686
      27823b67
    • Sam Lantinga's avatar
      The cdrom code doesn't build on MacOS X 10.1, disabled for now... · 42325ef7
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40685
      42325ef7
    • Sam Lantinga's avatar
      Date: Sat, 9 Aug 2003 20:14:06 -0400 · f6e2eb27
      Sam Lantinga authored
      From: Darrell Walisser
      Subject: Re: Updated projects?
      
      >> Did you get a chance to look at my "Custom Cocoa" demo? I have a few
      >> minor patches that enable SDL/Cocoa integration, and a project
      >> template.
      >
      > I didn't yet, but go ahead and send me the patches. :)
      >
      
      I updated the patch for current CVS. There are a lot of changes, but I
      don't think I've broken anything. This patch also improves the behavior
      of window minimize/deminimize.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40684
      f6e2eb27
  8. 09 Aug, 2003 9 commits
  9. 08 Aug, 2003 6 commits
    • Sam Lantinga's avatar
      *** empty log message *** · ceab9dc9
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40674
      ceab9dc9
    • Sam Lantinga's avatar
      Date: Mon, 28 Jul 2003 18:30:50 +0300 · 4135dda1
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: New test for overlays
      
      While writting QNX Photon Overlay code I've found that the existent overlay test application is not enough, it performs too artificial tests - it always moves/resizes the overlay's viewport, but in the real life that happens very rare. So I decided to write new test (commonly base on testoverlay.c code) and called it testoverlay2 :)
      
      moose.dat - raw 8 bit paletted data of the small movie. (It was a moose.gif, also included in the attachment as reference, but not needed for this test, it is just for information). I cannot find, who created this .gif, so no credits this time :) But over inet I saw this gif zillion times, so I think we do not infringing somebody rights :)
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40673
      4135dda1
    • Sam Lantinga's avatar
      *** empty log message *** · 273d5357
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40672
      273d5357
    • Sam Lantinga's avatar
      *** empty log message *** · c1355d95
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40671
      c1355d95
    • Sam Lantinga's avatar
      *** empty log message *** · ffc87050
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40670
      ffc87050
    • Sam Lantinga's avatar
      *** empty log message *** · 85807b7e
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40669
      85807b7e
  10. 06 Aug, 2003 3 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 1a96ab99
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40668
      1a96ab99
    • Sam Lantinga's avatar
      ate: Mon, 4 Aug 2003 19:10:14 +0300 · b4f8fd77
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: SDL/QNX forgotten fixes
      
      Just found, that one chunk for configure.in has not been applied and one for\
      gotten by me :) Please add it to CVS.
      
      P.S. Now QNX6.2.1 have the dlopen in libc and in the libltdl. So libc's vari\
      ant more prefered, and ltdl rest for compatibility. In this small patch I wa\
      s added proper checks.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40667
      b4f8fd77
    • Sam Lantinga's avatar
      *** empty log message *** · 034ce6d1
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40666
      034ce6d1
  11. 04 Aug, 2003 2 commits
    • Sam Lantinga's avatar
      Date: Sun, 3 Aug 2003 22:07:57 +0200 · 78825f8f
      Sam Lantinga authored
      From: Max Horn
      Subject: SDL OSX fullscreen FIX
      
      the attached patch fixes the fullscreen problems on SDL/OSX. The cause
      was that click events are bounded by winRect. Now, winRect is set to
      the size of the video surface. But if you e.g. request a 640x420
      surface, you might get a 640x480 "real" surface. Still,
      SDL_VideoSurface->h will be set to 420! Thus, the upper 60 pixels in my
      example received no mouse down events.
      
      My fix simply disables this clipping when in full screen mode - after
      all, all clicks then should be inside the screen surface. Higher SDL
      functions ensure that the coordinates then are clipped to 640x420. It
      works fine in all my tests here. I don't know if it's the right thing
      to do in multi screen scenarios, though.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40665
      78825f8f
    • Sam Lantinga's avatar
      Date: Sat, 2 Aug 2003 16:22:51 +0300 · 9b315c4c
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: New patches for QNX6
      
      Here my patches for the SDL/QNX:
      
      QNXSDL.diff - diff to non-QNX related sources:
      
      - updated BUGS file, I think QNX6 is now will be officially supported
      - configure.in - added shared library support for QNX, and removed dependency between the ALSA and QNX6.
      - SDL_audio.c - added QNX NTO sound bootstrap insted of ALSA's.
      - SDL_sysaudio.h - the same.
      - SDL_nto_audio.c - the same.
      - SDL_video.c - right now, QNX doesn't offer any method to obtain pointers to the OpenGL functions by function name, so they must be hardcoded in library, otherwise OpenGL will not be supported.
      - testsprite.c - fixed: do not draw vertical red line if we are in non-double-buffered mode.
      
      sdlqnxph.tar.gz - archive of the ./src/video/photon/* . Too many changes in code to make diffs :) :
      
      + Added stub for support hide/unhide window event
      + Added full YUV overlays support.
      + Added window maximize support.
      + Added mouse wheel events.
      + Added support for some specific key codes in Unicode mode (like ESC).
      + Added more checks to the all memory allocation code.
      + Added SDL_DOUBLEBUF support in all fullscreen modes.
      + Added fallback to window mode, if desired fullscreen mode is not supported.
      + Added stub support for the GL_LoadLibrary and GL_GetProcAddress functions.
      + Added resizable window support without caption.
      ! Fixed bug in the Ph_EV_EXPOSE event handler, when rectangles to update is 0 and when width or height of the rectangle is 0.
      ! Fixed bug in the event handler code. Events has not been passed to the window widget handler.
      ! Fixed codes for Win keys (Super/Hyper/Menu).
      ! Fixed memory leak, when deallocation palette.
      ! Fixed palette emulation code bugs.
      ! Fixed fullscreen and hwsurface handling.
      ! Fixed CLOSE button bug. First event was passed to the handler, but second terminated the application. Now all events passed to the application correctly.
      - Removed all printfs in code, now SDL_SetError used instead of them.
      - Disabled ToggleFullScreen function.
      
      README.QNX - updated README.QNX file. Added much more issues.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40664
      9b315c4c
  12. 28 Jul, 2003 1 commit
    • Sam Lantinga's avatar
      Date: Sun, 27 Jul 2003 22:37:59 +0200 · 21c236f4
      Sam Lantinga authored
      From: Max Horn
      Subject: SDL whitespace patch
      
      this patch is lowest priority: it only contains indention fixes. In
      some places, instead of tabs, whitespaces where used for indention. But
      of course that only "looks good" if you use the exact same tab width as
      the author of those files. I tried to replace such cases with tabs for
      a more uniform indention. I only did that for a few files.
      
      So, no code changes in this, only whitespaces transformed.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40663
      21c236f4
  13. 27 Jul, 2003 1 commit
  14. 26 Jul, 2003 1 commit