1. 24 Feb, 2004 4 commits
    • Sam Lantinga's avatar
      I noticed MacOSX SDL sets up working directory to parent of executable. · 6c967b93
      Sam Lantinga authored
      On BeOS is should setup it the same way, but it only does when Tracker
      wasn't restarted.
      
      I checked code and it looks like a hack to me :(
      It looks for env variable and than comapres it to default when OpenTracker
      was started after boot, and wasn't restarted. That's probably ok, for that
      exact case. Unfortunetly that variable isn't always like that. For
      example, after Tracker crashes and is restarted, env variable most
      probably is different (depends on how Tracker was restarted, by what
      application, etc... for example: i have launcher application from which i
      can restart Tracker, and after that nev variable points to that
      application's directory, not Tracker's).
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40856
      6c967b93
    • Sam Lantinga's avatar
      *** empty log message *** · eeed686a
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40855
      eeed686a
    • Sam Lantinga's avatar
      Don't allow video modes larger than the maximum size · fa3a55a9
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40854
      fa3a55a9
    • Ryan C. Gordon's avatar
      Quartz fix: · fb965d4e
      Ryan C. Gordon authored
      ut2004 makes a 2D window for the splash screen, which sets the screen
      surface's pixels field. Then we tear down that video mode and create a GL
      context, and the Quartz target isn't resetting the pixels field to NULL.
      
      When you just create a GL window, the structure is memset'd to zero the
      first time through, so unless you hit ut2004's codepath, you won't see the
      bug.  :)
      
      Without this patch, quitting a windowed ut2003/ut2004 game makes the OS dump a
      warning about a bogus free() to stderr, but it doesn't actually crash. All we
      need to do is explicitly initialize the current->pixels field.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40853
      fb965d4e
  2. 23 Feb, 2004 4 commits
  3. 21 Feb, 2004 1 commit
  4. 20 Feb, 2004 1 commit
  5. 19 Feb, 2004 1 commit
  6. 18 Feb, 2004 1 commit
  7. 17 Feb, 2004 9 commits
  8. 16 Feb, 2004 5 commits
    • Sam Lantinga's avatar
      *** empty log message *** · 487d8e78
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40835
      487d8e78
    • Sam Lantinga's avatar
      Added support for SDL_VIDEO_WINDOW_POS and SDL_VIDEO_CENTERED on Windows · db9869de
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40834
      db9869de
    • Sam Lantinga's avatar
      Date: Mon, 16 Feb 2004 19:21:51 +0100 · 09ce89d5
      Sam Lantinga authored
      From: Max Horn
      Subject: Re: Fix for OSX bug
      
      The problem is that our actual client area is realized as a
      subview of the "content view" of the window. That's normal so far. The
      odd part is that, while our subview starts out filling it parent 100%,
      upon resizes it gets changed to something smaller....
      
      Anyway, here is a revised patch which simply enforces the size of
      window_view by calling setFrameSize.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40833
      09ce89d5
    • Sam Lantinga's avatar
      Remove automake junk before generating a snapshot · 23d5c0d1
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40832
      23d5c0d1
    • Sam Lantinga's avatar
      *** empty log message *** · 167c79c0
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40831
      167c79c0
  9. 15 Feb, 2004 7 commits
  10. 14 Feb, 2004 4 commits
    • Sam Lantinga's avatar
      Programs should really be handling SIGPIPE themselves · 1ebb410f
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40823
      1ebb410f
    • Sam Lantinga's avatar
      Date: Sat, 14 Feb 2004 14:52:40 +0200 · d3c3bef8
      Sam Lantinga authored
      From: "Mike Gorchak"
      Subject: Batch of the QNX6 fixes for the SDL
      
      1.  Updated readme.QNX
      2.  Fixed crashes during intensive window updating under fast machines (got over 200 rectangles for update).
      3.  Fixed double-buffered fullscreen modes, now it works as needed.
      4.  Fixed Photon detection algorithm.
      5.  Fixed HWSURFACE update function.
      6.  Added SDL_PHOTON_FULLSCREEN_REFRESH environment variable support for control refresh rates under Photon.
      7.  Added 640x400 fullscreen mode emulation via 640x480 (if videodriver not supports original 640x400 mode of course) shifted by 40 vertical pixels from begin, to center it. It's needed for some old DOS games which ran in doubled 320x200 mode.
      8.  Added available video ram amount support.
      8.  Added hardware surface allocation/deallocation support if current videomode and videodriver supports it.
      9.  Added hardware filling support.
      10. Added hardware blits support (simple and colorkeyed).
      
      And I've added to testvidinfo test color-keyed blits benchmark (maybe need to add alpha blits benchmark too ?). Currently Photon not supporting any alpha hardware blittings (all drivers lack of alpha blitting code support, only software alpha blitting exist in photon, which is hundreds times slowest than the SDL's one). So I've not added the alpha support. I suppose new QNX 6.3 will have the hardware alpha support, so when it will be done, I'll add alpha support.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40822
      d3c3bef8
    • Patrice Mandin's avatar
      Important crash fix: system vectors for mouse/joystick were not restored · bdc7c65e
      Patrice Mandin authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40821
      bdc7c65e
    • Sam Lantinga's avatar
      Update the version on the SDL shared library. Use SDL stub library for tests. · 0776f6fd
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40820
      0776f6fd
  11. 13 Feb, 2004 3 commits
    • Sam Lantinga's avatar
      Fixed typo in DirectFB driver (thanks Frank!) · 79e4af5a
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40819
      79e4af5a
    • Sam Lantinga's avatar
      *** empty log message *** · 79e96585
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40818
      79e96585
    • Sam Lantinga's avatar
      Date: Fri, 13 Feb 2004 17:03:16 +0100 · c5311cee
      Sam Lantinga authored
      From: Max Horn
      Subject: Modifier key fix
      
      The internal modifier state can get out of sync with reality. To
      trigger this, do for example this:
        1) Launch an SDL app
        2) Alt-click on the desktop (this will hide the SDL app).
        3) Bring the SDL app back to the front
        4) SDL will still think alt is pressed (and as such will treat left
      clicks like middle clicks). If you press and release alt, it'll be fine
      again.
      
      The attached patch cures this by rechecking the modifier state whenever
      we process an event.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40817
      c5311cee