1. 13 May, 2006 2 commits
  2. 12 May, 2006 4 commits
  3. 11 May, 2006 14 commits
    • Sam Lantinga's avatar
      Should we always look in /usr/local when compiling natively? · dc8db021
      Sam Lantinga authored
      I'm guessing we probably should, but I don't remember why this
      was added in the first place.  I'm disabling it for now...
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401783
      dc8db021
    • Sam Lantinga's avatar
      Date: Thu, 11 May 2006 19:08:05 -0400 · 6eed3898
      Sam Lantinga authored
      From: Mike Frysinger
      Subject: [SDL] [patch] remove limits.h hack from linux joystick code
      
      there is a small hack in the current linux joystick code to work around broken
      cross-compilers by including more than one limits.h ... at the very least,
      this is not arm-specific by any means
      
      i'm of the opinion that libsdl should not contain such things ... people
      should be fixing their cross-compilers, not bloating other's source trees
      
      patch attached to clean the cruft
      -mike
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401782
      6eed3898
    • Sam Lantinga's avatar
      Date: Thu, 11 May 2006 17:09:17 -0400 · 84a89b45
      Sam Lantinga authored
      From: Mike Frysinger
      Subject: [SDL] [patch] teach configure about uClinux
      
      the current configure script doesnt know about the uclinux target so this
      patch fixes that
      -mike
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401781
      84a89b45
    • Patrice Mandin's avatar
      Forgot to declare volatile stuff also in c file · 4fe83bb8
      Patrice Mandin authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401780
      4fe83bb8
    • Sam Lantinga's avatar
      Fixed some bugs in string handling · b31509f7
      Sam Lantinga authored
      Cleaned up error message code, UTF-8 is used instead of UCS2
      Added detection for MPEG Layer 3 audio for more informative errors.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401779
      b31509f7
    • Sam Lantinga's avatar
      Saved a little space by not including the CodeWarrior 5 XML projects · 369b7e44
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401778
      369b7e44
    • Sam Lantinga's avatar
      Fixed bug #53 · 3d8f01a1
      Sam Lantinga authored
      Updated CWprojects.sea.bin with Anders F Björklun's CodeWarrior 5 and 6 projects.
      In addition, added the following tweaks from Sam:
      * Updated the version string to 1.2.10
      * Removed Win32 targets from CodeWarrior 5 projects
      * Cleaned up access paths
      * Removed unnecessary macos_prefix.h
      * Added all necessary StdCLib headers to Support:MacOS
      * Added OpenGL 1.2 API headers and libraries to Support:MacOS
      * Added testdyngl test program
      * Removed OpenGL stub from all test programs except for testgl
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401777
      3d8f01a1
    • Sam Lantinga's avatar
      Fixed building with CodeWarrior on MacOS Classic · 76685b80
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401776
      76685b80
    • Sam Lantinga's avatar
      Fixed MacOS Classic build · f766db82
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401775
      f766db82
    • Sam Lantinga's avatar
      sdl-config doesn't include the OpenGL library in --libs · 8ead6868
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401774
      8ead6868
    • Sam Lantinga's avatar
      Fixed bug #208 · 1c057bf3
      Sam Lantinga authored
      So, here's a patch with a reimplementation of QZ_SetIcon() that does what I
      described above. I apologize for the delay, I've been quite busy in the last
      few days.
      
      It appears to work here on 10.4.5 PPC in the limited testing that I've done;
      I'll try to test it on 10.3.9 and 10.2.8 as well, but that might take another
      week or so. Please test on i386.
      
      Regarding alpha channels, per-surface alpha, and color keys, the same semantics
      as for regular blits to an RGB surface should apply (for the final icon
      composited onto the dock), unless I made a mistake - except in one pathological
      case: if the icon surface has an alpha channel, its SDL_SRCALPHA flag is not
      set (i.e. it has been explicitly cleared, since it's on by default for RGBA
      surfaces), and it has a color key, plus an explicit mask was specified (instead
      of the one autogenerated from the colorkey), then the color-keyed areas appear
      black instead of transparent. I found no elegant way of fixing this, was too
      lazy to implement the inelegant one, and decided that it isn't worth the effort
      (but if someone disagrees, I can do it).
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401773
      1c057bf3
    • Sam Lantinga's avatar
      Fixed bug #226 · 308d06a8
      Sam Lantinga authored
      Just to make it compile with old CodeWarrior.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401772
      308d06a8
    • Sam Lantinga's avatar
      Fixed bug #225 · 72d910b2
      Sam Lantinga authored
      Making the old code limp along, for Carbon builds.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401771
      72d910b2
    • Sam Lantinga's avatar
      Date: Wed, 10 May 2006 17:43:21 -0700 · 877d8909
      Sam Lantinga authored
      From: Eric Wing
      Subject: Re: Updated tarball
      
      Attached are additional cleanups to SDLMain.m for the files in src/
      main/macosx. It looks like somebody already cleaned up most of the
      issues. There is one about the class interfaces being empty which
      didn't look easy to fix in a meaningful way so I left them.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401769
      877d8909
  4. 10 May, 2006 11 commits
  5. 09 May, 2006 9 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