1. 09 May, 2006 13 commits
    • Sam Lantinga's avatar
      Fat test programs! :) · 4ff931d2
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401756
      4ff931d2
    • Sam Lantinga's avatar
      Fixed bug #218 · 3fc9b6a9
      Sam Lantinga authored
      Currently there are two Classic-only drivers defined in "SDL_config_macos.h",
      and the ones in "SDL_config_macosx.h" are Mach-O/framework-only (i.e. not CFM)
      
      As a workaround, I disabled CDROM and JOYSTICK when building SDL for CFM
      Carbon.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401755
      3fc9b6a9
    • Sam Lantinga's avatar
      Fixed bug #220 · 6129de0d
      Sam Lantinga authored
      The AltiVec blitters don't compile, since they require __VEC__ to be enabled in
      order for the compiler to understand "vector" and friends (i.e. do AltiVec)
      But you don't want to turn AltiVec on globally, since then the code would only
      run on a G4 (there are already runtime tests, before using the AltiVec
      variants)
      
      The solution here is to enable AltiVec locally, for the actual AltiVec code.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401754
      6129de0d
    • Sam Lantinga's avatar
      Fixed bug #137 · 3761c04c
      Sam Lantinga authored
      If SDL_OpenAudio() is passed zero for the desired format
      fields, the following environment variables will be used
      to fill them in:
      	SDL_AUDIO_FREQUENCY
      	SDL_AUDIO_FORMAT
      	SDL_AUDIO_CHANNELS
      	SDL_AUDIO_SAMPLES
      If an environment variable is not specified, it will be set
      to a reasonable default value.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401753
      3761c04c
    • Sam Lantinga's avatar
      Date: Mon, 8 May 2006 14:19:30 -0700 · 782736f3
      Sam Lantinga authored
      From: Bob Ippolito
      Subject: SDL trunk (r2346) and Mac OS X
      
      As for all the Carbon warnings.. the two File Manager ones should be
      easy to get rid of, the QuickDraw ones won't be so easy since that
      requires actual refactoring.
      
      PBUnmountVol -> FSEjectVolumeSync
      FSClose -> FSCloseFork
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401752
      782736f3
    • Sam Lantinga's avatar
      More compile fixes for systems without the DPMS extension · 5843b19d
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401751
      5843b19d
    • Sam Lantinga's avatar
      Fixed build errors on systems without the DPMS extension · 1782676d
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401750
      1782676d
    • Sam Lantinga's avatar
      Date: Mon, 8 May 2006 14:19:30 -0700 · 96f27c60
      Sam Lantinga authored
      From: Bob Ippolito
      Subject: SDL trunk (r2346) and Mac OS X
      
      The current state of the trunk doesn't quite compile on Mac OS X,
      I've attached a series of patches that gets it to compile and kills a
      few warnings.
      
      sdl-trunk-r2346-dlcompat-warnings.diff:
              The dlcompat thing is just loaded with incorrect type signatures ..
      some of them have changed since 10.2 and others are just flat wrong.
      This puts it in sync with the latest headers. People on 10.2 will get
      the warnings instead of people with new kits.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401749
      96f27c60
    • Sam Lantinga's avatar
      Fixed bug #104 · c5debc81
      Sam Lantinga authored
      If your mouse cursor is not within the SDL frame and you warp the mouse, you
      get an enter notify, not a motion notify.
      Therefore, SDL does not update its internal mouse state.
      
      What's about calling SDL_PrivateMouseMotion even when getting an EnterNotify?
      
      Regards,
      Johannes
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401748
      c5debc81
    • Sam Lantinga's avatar
      Fixed bug #144 · f2e390e2
      Sam Lantinga authored
      Make sure we don't crash or deadlock if someone tries to free a timer after
      the timer subsystem has been shut down.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401747
      f2e390e2
    • Sam Lantinga's avatar
      Fixed bug #201 · a065c557
      Sam Lantinga authored
      Here's a patch for SDL_fbevents.c that makes SDL fbcon recognize both left Alt
      and right Alt (altgr). Without this, it's impossible to write a lot of
      characters on a standard fi-latin1 mapped keyboard, like "@£${[]}\|~".
      
      /Jonatan
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401746
      a065c557
    • Sam Lantinga's avatar
      Fixed bug #106 · a93e2caf
      Sam Lantinga authored
      Wait for any pending operations to complete before freeing a hardware surface.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401745
      a93e2caf
    • Sam Lantinga's avatar
      Fixed DGA mode sorting and eliminated doublescan and interlaced modes · f210611d
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401744
      f210611d
  2. 08 May, 2006 10 commits
  3. 07 May, 2006 6 commits
    • Sam Lantinga's avatar
      · 4b13c82d
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401733
      4b13c82d
    • Sam Lantinga's avatar
      · 0d310117
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401732
      0d310117
    • Sam Lantinga's avatar
      Fixed bug #102 · 21a8ab74
      Sam Lantinga authored
      Improved GPM mouse protocol detection.
      The original patch had a bunch of bugs, so I completely rewrote it to hopefully fix them, and to support more protocols.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401731
      21a8ab74
    • Sam Lantinga's avatar
      Fixed bug #217 · 3a0d72c6
      Sam Lantinga authored
      Sort the DirectX video modes largest to smallest
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401730
      3a0d72c6
    • Sam Lantinga's avatar
      Fixed bug #216 · a7471999
      Sam Lantinga authored
      The attached files allow building the SDL library and tests with the Open
      Watcom compiler for Windows:
      - static library or DLL
      - Debug or Release builds available
      - uses register calling convention of Open Watcom
      - wmake target to build the SDL test samples
      
      Following is a table that shows what works and what doesn't, yet:
      checkkeys       +
      graywin         +
      loopwave        +
      testalpha       +
      testbitmap      +
      testdyngl       +
      testerror       +
      testfile        +
      testgamma       +
      testgl          +
      testhread       +
      testiconv       - (all failed)
      testkeys        +
      testlock        + (after removing calls to raise() from signal handler)
      testoverlay     + (needs 'set SDL_VIDEODRIVER=directx')
      testoverlay2    + (-"-)
      testpalette     +
      testplatform    +
      testsem         +
      testsprite      +
      testtimer       +
      testver         +
      testvidinfo     +
      testwin         - (fading doesn't seem right)
      testwm          +
      torturethread   +
      testcdrom       +
      testjoystick    not tested
      threadwin       +
      
      TODO:
      - make stack calling convention work (has linking issues with dxguid.lib)
      - perform testjoystick (I don't have a joystick)
      - investigate fading in testwin
      - merge with OS/2 port
      - add DOS target
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401729
      a7471999
    • Sam Lantinga's avatar
      Fixed bug #215 · b4ba6518
      Sam Lantinga authored
      The current SVN trunk is missing the SDLCALL specifier at numerous locations.
      
      It has to be added for all (possibly user provided) callbacks.
      
      I stumbled over this while creating a makefile for the OpenWatcom compiler for
      Win32.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401728
      b4ba6518
  4. 05 May, 2006 2 commits
    • Sam Lantinga's avatar
      Fixed bug #80 · cab8a203
      Sam Lantinga authored
      Date: 21 Apr 2003 17:20:20 +0100
      From: Alan Swanson <swanson@uklinux.net>
      Subject: [SDL] New XFree 4.3 Video Mode Patch
      
      
      If you look at the unsorted list of modes returned by X, here's mine;
      
       1280 x 1024 @ 85.0  >
       1024 x 768 @ 100.3  > USER
       800 x 600 @ 125.5   > SET
       640 x 480 @ 124.9   >
       1280 x 1024 @ 75.0  ]
       1280 x 1024 @ 60.0  ]
       1280 x 960 @ 85.0   ] X11
       1280 x 960 @ 60.0   ] AUTO
       1152 x 864 @ 75.0   ]=20
       1152 x 768 @ 54.8   ]
       960 x 720 @ 120.0   ]
      ...
       640 x 400 @ 85.1    ] 256k
       576 x 432 @ 150.0   ] 249k PIXEL
       640 x 350 @ 85.1    ] 224k COUNT
       576 x 384 @ 109.6   ] 221k
      ...
      
      The user set modes come first followed by X set modes which are ordered
      by decreasing number of pixels and refresh.
      
      The reason why every other library or program not using SDL working is
      due to SDL scanning the modes in reverse getting X11 provided modes
      modes with the lowest refresh.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401727
      cab8a203
    • Sam Lantinga's avatar
      Fixed bug #196 · 572d530a
      Sam Lantinga authored
      Use the title and icon stored in the SDL video info, when creating X11 windows.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401726
      572d530a
  5. 04 May, 2006 5 commits
    • Sam Lantinga's avatar
      · 732fcc2a
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401725
      732fcc2a
    • Sam Lantinga's avatar
      Fixed bug #45 · daab242a
      Sam Lantinga authored
      Improved Xinerama support.
      Added support for the SDL_VIDEO_FULLSCREEN_HEAD environment variable, currently supported on X11 Xinerama configurations.
      Only use the VidMode extension on the primary head.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401724
      daab242a
    • Sam Lantinga's avatar
      The install target depends on the libraries being built · b8685c44
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401723
      b8685c44
    • Sam Lantinga's avatar
      Updated to include new languages and platform support · e8d0a496
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401722
      e8d0a496
    • Sam Lantinga's avatar
      Date: Thu, 4 May 2006 08:44:10 +0200 (CEST) · 75263053
      Sam Lantinga authored
      From: Doodle
      Subject: Re: SDL OS/2 build updated?
      
      It seems that I made a mistake in the previous Watcom makefile, leaving
      out some .c files from linking, this is now fixed, and everything builds
      well now.
      
      Doodle
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401721
      75263053
  6. 03 May, 2006 2 commits
  7. 02 May, 2006 2 commits