1. 13 Apr, 2006 4 commits
    • Sam Lantinga's avatar
      Fixed bug #192 · 2cfa74d7
      Sam Lantinga authored
      The change made to sdl-config.in on March 18 (rev 11, see
      http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/sdl-config.in), broke static linking
      under Mac OS X for unix style build systems. In other words, "sdl-config
      --static-libs" no longer produces the correct output, as it is missing the
      required -framework switches.
      
      The attached patch fixes this.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401631
      2cfa74d7
    • Sam Lantinga's avatar
      Added a delay so the warning message isn't accidentally missed. · 8e0aecf6
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401630
      8e0aecf6
    • Sam Lantinga's avatar
      Fixed bug #191 · ad57e2ae
      Sam Lantinga authored
      [I opted to go for a warning, since I often tweak configure.in, but don't want to rebuild the entire project]
      
      One thing that was lost in the switch from automake to the new build system is
      that there is now no rule to build configure from configure.in.
      
      IMHO, if configure.in gets changed, then at the very least, the build system
      should print out a warning (better, again IMHO, an error) about this fact.
      Else, you easily forget about this when modifying configure.in.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401629
      ad57e2ae
    • Sam Lantinga's avatar
      Fixes bug #195: · be0f0ff1
      Sam Lantinga authored
      The proper name of Apple's operating system is "Mac OS X" not "MacOS X", as can
      bee seen in many places, for example http://www.apple.com/macosx/). This
      contrasts the naming of the old operating system, which was called "MacOS" and
      today is often refered to as "MacOS Classic".
      
      The attached patches fixes the misuse of the name "MacOS X" in both the SDL12
      and sdlweb CVS modules.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401628
      be0f0ff1
  2. 12 Apr, 2006 4 commits
    • Sam Lantinga's avatar
      From Anders F Bjorklund: · 8445eb17
      Sam Lantinga authored
      The current definition of int32_t, uint32_t, uintptr_t
      doesn't match what the Mac system headers already have...
      
      Since it's an old 16/32 bit platform, the system headers
      expect the types to use "long" and not "int" like they do.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401627
      8445eb17
    • Sam Lantinga's avatar
      From Anders F Bjorklund: · 0478af81
      Sam Lantinga authored
      When switching to "UNIX-style paths" as needed for the new includes,
      including <GL/gl.h> and <GL/glu.h> doesn't work anymore on Mac OS...
      
      The two headers are really located in the OpenGL SDK 1.2 CFM like this:
      OpenGL:Headers:gl.h
      OpenGL:Headers:glu.h
      
      There are also some compat copies, that *used* to work with Mac paths:
      OpenGL:Headers:GL/gl.h
      OpenGL:Headers:GL/glu.h
      
      The easiest fix is to make SDL_opengl.h include the proper header names,
      by adding a special case for the MACOS platform in addition to the MACOSX
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401626
      0478af81
    • Sam Lantinga's avatar
      *** empty log message *** · f2c3b514
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401625
      f2c3b514
    • Sam Lantinga's avatar
      Patch from Alex to fix reverted code · 20e18895
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401624
      20e18895
  3. 31 Mar, 2006 3 commits
    • Sam Lantinga's avatar
      *** empty log message *** · a3f6fa51
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401623
      a3f6fa51
    • Sam Lantinga's avatar
      Ugh, more 64-bit cleanup · 9ccb05a0
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401622
      9ccb05a0
    • Sam Lantinga's avatar
      Date: Wed, 29 Mar 2006 17:26:55 +0200 CEST · 403b4f89
      Sam Lantinga authored
      From: "Fran���is Revol"
      Subject: [SDL] BeOS port fix: PrintScreen key crashing
      
      It seems the latest SDL crashes when someone hits the PrtScrn key in
      ZETA (BeOS R6), somewhere it gets a negative value as key code (or a
      big unsigned maybe ?), and uses it as an index in the keysym table...
      I'll investigate the cause for the negative value, but it's always
      better to check for bounds correctly when indexing a table. The
      attached diff fixes it.
      
      Fran���is Revol
      --
      Software Architect
      yellowTAB GmbH
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401621
      403b4f89
  4. 25 Mar, 2006 1 commit
  5. 24 Mar, 2006 3 commits
    • Sam Lantinga's avatar
      Fixed some ultra-pedantic gcc warnings · 26cb9c7c
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401619
      26cb9c7c
    • Sam Lantinga's avatar
      Fixed bug #177 · 1237375c
      Sam Lantinga authored
      The attached patch changes configure.in to use "-framework FOO" instead of
      "-Wl,-framework,FOO".
      
      This avoid some issues with certain versions of libtool that do not handle
      -framework properly.
      Some versions of libtool will try to reorder the two parts of the option, or
      render the 2nd part of the argument to the relative path of a non-existent
      library.
      
      Note: It is not enough if SDL uses a version of libtool that does this
      correctly, because these -framework options show up in "sdl-config --libs".
      Hence, some 3rd party apps which still ship with an old libtool have troubles
      compiling under Mac OS X.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401618
      1237375c
    • Ryan C. Gordon's avatar
      SDL_X11_LoadSymbols() was reporting success when required symbols weren't · fee38056
      Ryan C. Gordon authored
       found!
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401617
      fee38056
  6. 23 Mar, 2006 17 commits
  7. 22 Mar, 2006 8 commits
    • Sam Lantinga's avatar
      Lines swapped to match ordering elsewhere · f60cdaa4
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401597
      f60cdaa4
    • Ryan C. Gordon's avatar
      Close off warning about setAppleMenu on Mac OS X 10.4 SDK. · 2c90fe6b
      Ryan C. Gordon authored
           Fixes Bugzilla #97.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401596
      2c90fe6b
    • Sam Lantinga's avatar
      Don't detect Altivec on MacOS X Intel · 95e9bf51
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401595
      95e9bf51
    • Ryan C. Gordon's avatar
      Xrandr support in the X11 target. · be7a5193
      Ryan C. Gordon authored
          Fixes Bugzilla #109, and as a bonus, Bugzilla #145, too!
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401594
      be7a5193
    • Sam Lantinga's avatar
      Improved DirectFB install detection · 164d170f
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401593
      164d170f
    • Sam Lantinga's avatar
      *** empty log message *** · cb61dcc2
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401592
      cb61dcc2
    • Ryan C. Gordon's avatar
      Patched to compile on 32-bit X11, I think. · 09d17c73
      Ryan C. Gordon authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401591
      09d17c73
    • Sam Lantinga's avatar
      Date: Tue, 4 Mar 2003 15:05:31 -0800 · 2f58ef08
      Sam Lantinga authored
      From: "Jim"
      Subject: [SDL] Frame Buffer patches...
      
       Okay I'm new at patch generation - so please tell me if there's a better way
       I could have done this.
      
       Attached are two patch files generated with 'cvs diff -u'
      
       SDL-fb-open-lock.patch applies to SDL_fbvideo.c
          Modifies the open loop to check /dev/fb/0 found on devfs...
      
          Modifies the lock code to return failure if the current virtual terminal
       is not the one opened for frame buffer writing...
         Lock would hang forever if switched away (ctrl-alt-F1) ...
      
       SDL-fb-mousedrv-screensave.patch applies to SDL_fbevents.c
          Switches default mouse mode based on SDL_MOUSEDRV - currently only
       accepts PS2 - otherwise default is MS Mouse.
      
          When the screen is switched - exisiting code (wrapped in ifdef
       SAVE_SCREEN_COTENTS) would save the wrong bit of the screen....
           ( I run frame buffer 1600x1200, the size I requested was 800x600 - the
       save would save the top 800 lines (non biased) and restore them... Adding
       screen->offset fixed that )
      
          However, if that option is not set, then a call to SDL_UpdateRect (full
       screen) is made. (which may have had it's contents changed since the screen
       is not entirely locked because of lock-failure patch)
      
       Jim
      
      [patches slightly tweaked for SDL 1.2.10]
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401590
      2f58ef08