1. 22 Aug, 2005 1 commit
  2. 21 Aug, 2005 2 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 447103bb
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401125
      447103bb
    • Sam Lantinga's avatar
      Date: Fri, 08 Jul 2005 22:43:48 +0200 (CEST) · 9608780d
      Sam Lantinga authored
      From: Jiri Svoboda
      Subject: [SDL] signal handling bug
      
      I encountered the following bug:
      SDL doesn't reset signal handlers for SIGTERM and SIGINT, after calling SDL_Quit these remain hooked to the handler in SDL_quit.c, being translated into SDL_QUIT events.
      
      Consequently an application that issues a SDL_Quit and remains running will ignore any SIGTERM or SIGINT., and specifically CTRL-C presses.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401124
      9608780d
  3. 20 Aug, 2005 2 commits
    • Ryan C. Gordon's avatar
      From Patrice Mandin: · 3eacd1d2
      Ryan C. Gordon authored
      "Just a request about test subdirectory: the autotools files
      (config.guess, config.sub, etc...) are a bit outdated, and I have to
      update them for my cross-compilation party. So it would be nice to
      have these updated.
      
      ...
      
      Just removing these files works, because then configure will use
      those of SDL's topdir. Could someone else check this, just to be sure?
      i.e. remove config.guess, config.sub, install-sh and mkinstalldirs from
      test subdir."
      
      
      I tested on Linux and MacOSX...seems to be safe, so I'm nuking the files.
      
      --ryan.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401123
      3eacd1d2
    • Sam Lantinga's avatar
      Added support for Visual C++ 2005 · 64eb7c00
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401122
      64eb7c00
  4. 18 Aug, 2005 3 commits
    • Ryan C. Gordon's avatar
      Patch by me to fix crash described below. · 351fcc95
      Ryan C. Gordon authored
      --ryan.
      
      
      
      To: sdl@libsdl.org
      From: Rainer Deyke <rainerd@eldwood.com>
      Date: Tue, 16 Aug 2005 01:08:18 -0600
      Subject: [SDL] Bug report: SDL_CreateRGBSurface with SDL_HWSURFACE crashes
      
      If SDL is in full-screen mode with a hardware video surface on OS X,
      SDL_CreateRGBSurface with SDL_HWSURFACE crashes.  The crash occurs on
      line 109 of SDL_Surface.c.  This was tested on OS X 10.3.9 with both SDL
      1.2.8 and the latest CVS.  Here is a small C++ program that demonstrates
      the problem:
      
      #include "SDL.h"
      #include <stdio.h>
      
      namespace {
      
         void wait_for_key()
         {
           SDL_Event e;
           printf("%d\n", SDL_GetAppState());
           while (SDL_WaitEvent(&e)) {
             if (e.type == SDL_KEYDOWN || e.type == SDL_QUIT) return;
           }
         }
      
      }
      
      int main(int, char *[])
      {
         SDL_Init(SDL_INIT_VIDEO);
         SDL_Surface *screen
           = SDL_SetVideoMode(640, 480, 32, SDL_FULLSCREEN | SDL_HWSURFACE);
         SDL_Surface *s = SDL_CreateRGBSurface(SDL_HWSURFACE, 640, 480, 32,
             screen->format->Rmask, screen->format->Gmask,
             screen->format->Bmask, screen->format->Amask);
         wait_for_key();
         if (s) SDL_FreeSurface(s);
         SDL_Quit();
         printf("Success!\n");
         return 0;
      }
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401121
      351fcc95
    • Ryan C. Gordon's avatar
      SDL_GetAppState() correction when toggling fullscreen on OSX. · 70bdab5c
      Ryan C. Gordon authored
      Patch by me to address this comment on the SDL mailing list:
      
      "There appears to be a serious bug with SDL_GetAppState on OS X (10.3.9). When
      first running in windowed mode and then switching to full screen mode by
      calling SDL_SetVideoMode, SDL_GetAppState returns 4 (SDL_APPACTIVE) instead of
      7 (SDL_APPMOUSEFOCUS | SDL_APPINPUTFOCUS | SDL_APPACTIVE).  However, the SDL
      application clearly does have the keyboard focus, since it is able to receive
      keyboard events."
      
      --ryan.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401120
      70bdab5c
    • Ryan C. Gordon's avatar
      Date: Wed, 17 Aug 2005 11:23:40 -0400 · 46591960
      Ryan C. Gordon authored
      From: Matt L <prometheus.uw@gmail.com>
      To: "Ryan C. Gordon" <icculus@clutteredmind.org>
      Subject: SDL Patch
      
      Hio,
      
      I saw your last call on the mailing list. Here's a patch which I
      submitted about two weeks ago which hasn't made it in.
      
      In the current sdl.m4, there's a bug where if your configure.ac, you
      have AC_LANG(C++) specified, it won't properly compile and link the SDL
      test program when you run the configure script. This is because only the
      default CFLAGS is overriden in sdl.m4, and in the patch below, I've
      fixed it so it overrides CXXFLAGS as well, allowing it to work with g++.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401119
      46591960
  5. 17 Aug, 2005 1 commit
    • Ryan C. Gordon's avatar
      From: Jim Paris <jim_jtan_com> · 17254837
      Ryan C. Gordon authored
      To: sdl@libsdl.org
      Date: Sat, 9 Jul 2005 13:59:33 -0400
      Subject: [PATCH] fix locking in src/timer/SYS_timer.c
      
      SDL_SetTimer has a typo in CVS.  This code was added since 1.2.8.  The
      result is that the SDL_timer_mutex is locked twice and never unlocked,
      breaking systems that use a threaded timer implementation.
      
      -jim
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401118
      17254837
  6. 16 Aug, 2005 1 commit
  7. 11 Aug, 2005 3 commits
  8. 10 Aug, 2005 2 commits
  9. 09 Aug, 2005 1 commit
  10. 08 Aug, 2005 2 commits
  11. 07 Aug, 2005 1 commit
  12. 29 Jul, 2005 2 commits
  13. 27 Jul, 2005 3 commits
  14. 21 Jul, 2005 3 commits
  15. 20 Jul, 2005 4 commits
  16. 18 Jul, 2005 1 commit
  17. 17 Jul, 2005 1 commit
  18. 07 Jul, 2005 5 commits
  19. 01 Jul, 2005 1 commit
  20. 30 Jun, 2005 1 commit
    • Patrice Mandin's avatar
      Cleanup C2P routine · 5b2a59fb
      Patrice Mandin authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401087
      5b2a59fb