1. 30 Dec, 2009 2 commits
    • Sam Lantinga's avatar
      Fixed bug #915 · eca77696
      Sam Lantinga authored
      GNU-isms should be avoided wherever possible for portability, please avoid the use of GNU-isms in your code, this may be problematic when using this library in projects which use non-GNU-compliant compilers.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404354
      eca77696
    • Sam Lantinga's avatar
      Removed in the interest of actually finishing 1.3. :) · b9702243
      Sam Lantinga authored
      They can be done later, either by me or by someone else.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404353
      b9702243
  2. 28 Dec, 2009 1 commit
    • Ryan C. Gordon's avatar
      Fixed buffer overflows in resamplers. · 4d3b6eaf
      Ryan C. Gordon authored
      I'm not confident this is a complete fix, but I'm not confident the current
       resamplers are really worth keeping at all, either.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404352
      4d3b6eaf
  3. 24 Dec, 2009 4 commits
  4. 23 Dec, 2009 2 commits
    • Sam Lantinga's avatar
      Fixed bug #912 · 87672bbc
      Sam Lantinga authored
      SDL_MasksToPixelFormatEnum() wasn't correctly returning RGB24 formats
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404347
      87672bbc
    • Sam Lantinga's avatar
      Added SDL_RenderClear() as a fast method of clearing the screen to the drawing color. · 6da163ab
      Sam Lantinga authored
      Renamed SDL_RenderPoint() and SDL_RenderLine() to SDL_RenderDrawPoint() and SDL_RenderDrawLine().
      Added API for rectangle drawing (as opposed to filling)
      Added placeholder API functions for circles and ellipses ... I'm not sure whether these will stay.
      Optimized software line drawing quite a bit.
      Added support for Wu's anti-aliased line drawing, currently disabled by default.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404346
      6da163ab
  5. 18 Dec, 2009 3 commits
  6. 17 Dec, 2009 7 commits
  7. 16 Dec, 2009 14 commits
    • Ryan C. Gordon's avatar
      Initial band-aids on SDL_GetMouseState() API breakage. More work to come. · 8b304825
      Ryan C. Gordon authored
       Fixes Bugzilla #758.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404334
      8b304825
    • Sam Lantinga's avatar
      Fixed cpuid assembly to work on PIC code · 691ee6f7
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404333
      691ee6f7
    • Sam Lantinga's avatar
      Allocate memory only if we're going to overwrite an environment variable · c825464c
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404332
      c825464c
    • Ryan C. Gordon's avatar
      Updated svn:ignore. · 510c9614
      Ryan C. Gordon authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404331
      510c9614
    • Ryan C. Gordon's avatar
      Implemented SDL_setenv(), moved SDL_putenv() to compat. · 791f5dbc
      Ryan C. Gordon authored
        Fixes Bugzilla #779.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404330
      791f5dbc
    • Sam Lantinga's avatar
      Implemented Windows version of SDL_GetCPUCount() · 034bfdf7
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404329
      034bfdf7
    • Sam Lantinga's avatar
      Added SDL_GetCPUCount() to see how many cores are available. · 29601c28
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404328
      29601c28
    • Sam Lantinga's avatar
      Fixed bug #741 · 3f0f9188
      Sam Lantinga authored
      The thread ID is an unsigned long so it can hold pthread_t so people can do naughty things with it.
      
      I'm going to be adding additional useful thread API functions, but this should prevent crashes in people's existing code on 64-bit architectures.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404327
      3f0f9188
    • Sam Lantinga's avatar
      Fixed bug #736 · 83fbb698
      Sam Lantinga authored
      Don't use the SSE cache instruction in MMX code if SSE isn't available. :)
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404326
      83fbb698
    • Sam Lantinga's avatar
      Added testfill to test raw fill performance · 777b877a
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404325
      777b877a
    • Sam Lantinga's avatar
      Nuffin' · ad28ede9
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404324
      ad28ede9
    • Sam Lantinga's avatar
      Fixed bug #685 · 62991bd5
      Sam Lantinga authored
      Added missing keysym shortcuts
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404323
      62991bd5
    • Sam Lantinga's avatar
      Fixed bug #666 · 21ee5c05
      Sam Lantinga authored
      Don't let the event queue overflow with resize events
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404322
      21ee5c05
    • Sam Lantinga's avatar
      Fixed bug #642 · 1ca4e2ce
      Sam Lantinga authored
       Gerry JJ      2008-11-09 02:11:49 PST
      
      The SDL_MouseMotionEvent struct has a field named "tilt" (currently marked "for
      future use"), for tablet stylus tilt information.  However, one value is not
      enough for this, as tilt is two-dimensional.  Reserving only one field for
      future use is no good when you're going to need two, so there should be two
      fields, tilt_x and tilt_y.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404321
      1ca4e2ce
  8. 15 Dec, 2009 7 commits
    • Sam Lantinga's avatar
      Default to allow either accelerated or not · 240b5fca
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404320
      240b5fca
    • Sam Lantinga's avatar
      OpenGL hardware acceleration defaults on · fe2b42f8
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404319
      fe2b42f8
    • Sam Lantinga's avatar
      Fixed bug #815 · abec9e44
      Sam Lantinga authored
       Daniele Forghieri      2009-10-12 02:57:03 PDT
      
      Patch to use stdlib.h with Open Watcom
      
      Open Watcom 1.8 has <stdlib.h> so instead of patch the single part when stdlib
      features are used we use directly the include file as with GCC.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404318
      abec9e44
    • Sam Lantinga's avatar
      Fixed bug #818 · ddbeadf6
      Sam Lantinga authored
       Daniele Forghieri      2009-10-12 02:52:02 PDT
      
      Updated makefile & Doc for Open Watcom 1.8
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404317
      ddbeadf6
    • Ryan C. Gordon's avatar
      Added a warning comment to SDL_putenv(). · 82002122
      Ryan C. Gordon authored
      "Fixes" Bugzilla #779.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404316
      82002122
    • Sam Lantinga's avatar
      Fixed bug #905 · 08bbf9ac
      Sam Lantinga authored
      Give the foreign window message proc more control over Windows events.
      
      This may need to be adjusted when we add the capability for the app to specify whether it wants SDL to handle input for the window or not.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404315
      08bbf9ac
    • Sam Lantinga's avatar
      Fixed bug #906 · fb16cf8c
      Sam Lantinga authored
      Added better error reporting for OpenGL context creation failing.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404314
      fb16cf8c