Permalink
Switch branches/tags
Nothing to show
Commits on Dec 13, 2009
Commits on May 20, 2009
Commits on May 19, 2009
Commits on May 16, 2009
  1. Git converted windows <CR><NL> <NL>

    dgud committed May 16, 2009
Commits on May 15, 2009
  1. Fixed install problems.

    Esdl now defaults to install in /ERLROOTDIR/addons/esdl-VSN/
    but you can use  'make install INSTALL_DIR=/whatever'
    This requires you to use erl +S1 -pa /INSTALLED_PATH/ when you want
    to use esdl with erlang or you can use ERL_LIBS environment variable.
    
    Also included is a new glu:triangulate/2 function stolen from wings.
    Dan Gudmundsson committed May 15, 2009
  2. Patches by Olivier Girondel <olivier@biniou.info>,

    thanks
    Dan Gudmundsson committed May 15, 2009
Commits on May 7, 2009
  1. It is time for the 1.0 release.

    bjorng committed May 7, 2009
  2. Builds out-of-the-box on MacOS X.

    The top-level Makefile now automatically passes the '-f Makefile.macosx'
    option to the recursive 'make' into c_src on MacOS X.
    bjorng committed May 7, 2009
Commits on May 6, 2009
  1. sdl_video:wm_setIcon/2 with a mask now works.

    The Erlang code in sdl_video:wm_setIcon/2 had type errors that
    made it crash if the second mask argument was something other
    than 'null'.
    
    The driver code would refuse to use a bit mask of size 32 x 32
    or greater because it insisted on copying the mask into a
    stack-allocated array. I see no need to copy the mask, so
    now it is passed directly to SDL_WM_SetIcon(), allowing it
    to have any size.
    bjorng committed May 6, 2009
Commits on May 5, 2009
  1. Corrected alloc/2 that did not work in R13B.

    alloc/2 used to call the driver that would allocate a driver binary.
    In R13B, however, a binary smaller than 65 bytes will be
    automatically converted to a heap binary.
    
    We work around the problem by always allocating a binary with
    a size of at least 65 bytes. We do it directly in Erlang code
    without calling the driver (there was never really any need
    to use the driver just to allocate a new binary).
    bjorng committed May 5, 2009
Commits on Dec 21, 2007
Commits on Feb 25, 2007
  1. First version.

    Klas Johansson committed Feb 25, 2007
  2. Oups, I never meant to check them in (they're generated :-).

    Klas Johansson committed Feb 25, 2007
  3. Added info on SDL_ttf and SDL_image.

    Klas Johansson committed Feb 25, 2007
  4. Added support for SDL_ttf and SDL_image.

    (These are conditionally compiled through ENABLE_SDL_TTF and ENABLE_SDL_IMAGE.)
    Klas Johansson committed Feb 25, 2007
  5. Added test_ttf, test_glfont and test_glimg.

    Klas Johansson committed Feb 25, 2007
  6. Added links to SDL_ttf and SDL_image docs.

    Klas Johansson committed Feb 25, 2007
  7. Now builds:

    * SDL_ttf docs
    * SDL_image docs
    Klas Johansson committed Feb 25, 2007
  8. First version.

    Klas Johansson committed Feb 25, 2007
  9. First version; contains:

    * a ttf_font record used by sdl_ttf.erl
    * macros (from SDL_ttf.h):
      - UNICODE_BOM_NATIVE
      - UNICODE_BOM_SWAPPED
      - SDL_TTF_STYLE_NORMAL
      - SDL_TTF_STYLE_BOLD
      - SDL_TTF_STYLE_ITALIC
      - SDL_TTF_STYLE_UNDERLINE
    Klas Johansson committed Feb 25, 2007
  10. Added support for SDL_ttf and SDL_image.

    (These are conditionally compiled through ENABLE_SDL_TTF and ENABLE_SDL_IMAGE.)
    Klas Johansson committed Feb 25, 2007
  11. Added support for SDL_ttf and SDL_image.

    Klas Johansson committed Feb 25, 2007
  12. Supports the following functions:

    * IMG_Linked_Version
    * IMG_Load
    * IMG_GetError
    
    Doesn't support these:
    * IMG_LoadTyped_RW
    * IMG_Load_RW
    * IMG_InvertAlpha
    * IMG_isBMP
    * IMG_isPNM
    * IMG_isXPM
    * IMG_isXCF
    * IMG_isPCX
    * IMG_isGIF
    * IMG_isJPG
    * IMG_isTIF
    * IMG_isPNG
    * IMG_isLBM
    * IMG_LoadBMP_RW
    * IMG_LoadPNM_RW
    * IMG_LoadXPM_RW
    * IMG_LoadXCF_RW
    * IMG_LoadPCX_RW
    * IMG_LoadGIF_RW
    * IMG_LoadJPG_RW
    * IMG_LoadTIF_RW
    * IMG_LoadPNG_RW
    * IMG_LoadTGA_RW
    * IMG_LoadLBM_RW
    * IMG_ReadXPMFromArray
    * IMG_SetError
    
    (Source: SDL_image.h, version 1.2.4)
    Klas Johansson committed Feb 25, 2007
  13. Supports the following functions:

    * IMG_Linked_Version
    * IMG_LoadTyped_RW
    * IMG_Load
    * IMG_Load_RW
    * IMG_InvertAlpha
    * IMG_isBMP
    * IMG_isPNM
    * IMG_isXPM
    * IMG_isXCF
    * IMG_isPCX
    * IMG_isGIF
    * IMG_isJPG
    * IMG_isTIF
    * IMG_isPNG
    * IMG_isLBM
    * IMG_LoadBMP_RW
    * IMG_LoadPNM_RW
    * IMG_LoadXPM_RW
    * IMG_LoadXCF_RW
    * IMG_LoadPCX_RW
    * IMG_LoadGIF_RW
    * IMG_LoadJPG_RW
    * IMG_LoadTIF_RW
    * IMG_LoadPNG_RW
    * IMG_LoadTGA_RW
    * IMG_LoadLBM_RW
    * IMG_ReadXPMFromArray
    * IMG_SetError
    * IMG_GetError
    
    (Source: SDL_image.h, version 1.2.4)
    Klas Johansson committed Feb 25, 2007
  14. Supports the following functions:

    * TTF_Linked_Version
    * TTF_ByteSwappedUNICODE
    * TTF_Init
    * TTF_OpenFont
    * TTF_OpenFontIndex
    * TTF_GetFontStyle
    * TTF_SetFontStyle
    * TTF_FontHeight
    * TTF_FontAscent
    * TTF_FontDescent
    * TTF_FontLineSkip
    * TTF_FontFaces
    * TTF_FontFaceIsFixedWidth
    * TTF_FontFaceFamilyName
    * TTF_FontFaceStyleName
    * TTF_GlyphMetrics
    * TTF_SizeText
    * TTF_SizeUTF8
    * TTF_SizeUNICODE
    * TTF_RenderText_Solid
    * TTF_RenderUTF8_Solid
    * TTF_RenderUNICODE_Solid
    * TTF_RenderGlyph_Solid
    * TTF_RenderText_Shaded
    * TTF_RenderUTF8_Shaded
    * TTF_RenderUNICODE_Shaded
    * TTF_RenderGlyph_Shaded
    * TTF_RenderText_Blended
    * TTF_RenderUTF8_Blended
    * TTF_RenderUNICODE_Blended
    * TTF_RenderGlyph_Blended
    * TTF_CloseFont
    * TTF_Quit
    * TTF_WasInit
    * TTF_GetError
    
    Doesn't support these:
    * TTF_OpenFontRW
    * TTF_OpenFontIndexRW
    * TTF_SetError
    
    (source: SDL_ttf.h, rev 2.0.7)
    Klas Johansson committed Feb 25, 2007
  15. Supports the following functions:

    * TTF_Linked_Version
    * TTF_ByteSwappedUNICODE
    * TTF_Init
    * TTF_OpenFont
    * TTF_OpenFontIndex
    * TTF_OpenFontRW
    * TTF_OpenFontIndexRW
    * TTF_GetFontStyle
    * TTF_SetFontStyle
    * TTF_FontHeight
    * TTF_FontAscent
    * TTF_FontDescent
    * TTF_FontLineSkip
    * TTF_FontFaces
    * TTF_FontFaceIsFixedWidth
    * TTF_FontFaceFamilyName
    * TTF_FontFaceStyleName
    * TTF_GlyphMetrics
    * TTF_SizeText
    * TTF_SizeUTF8
    * TTF_SizeUNICODE
    * TTF_RenderText_Solid
    * TTF_RenderUTF8_Solid
    * TTF_RenderUNICODE_Solid
    * TTF_RenderGlyph_Solid
    * TTF_RenderText_Shaded
    * TTF_RenderUTF8_Shaded
    * TTF_RenderUNICODE_Shaded
    * TTF_RenderGlyph_Shaded
    * TTF_RenderText_Blended
    * TTF_RenderUTF8_Blended
    * TTF_RenderUNICODE_Blended
    * TTF_RenderGlyph_Blended
    * TTF_CloseFont
    * TTF_Quit
    * TTF_WasInit
    * TTF_SetError
    * TTF_GetError
    
    (source: SDL_ttf.h, rev 2.0.7)
    Klas Johansson committed Feb 25, 2007
  16. Added support for SDL_ttf and SDL_image.

    (These are conditionally compiled through ENABLE_SDL_TTF and ENABLE_SDL_IMAGE.)
    Klas Johansson committed Feb 25, 2007
  17. Added support for SDL_ttf and SDL_image.

    Klas Johansson committed Feb 25, 2007
  18. Added support for SDL_ttf and SDL_image:

    Supports the following functions:
    * TTF_Linked_Version
    * TTF_ByteSwappedUNICODE
    * TTF_Init
    * TTF_OpenFont
    * TTF_OpenFontIndex
    * TTF_OpenFontRW
    * TTF_OpenFontIndexRW
    * TTF_GetFontStyle
    * TTF_SetFontStyle
    * TTF_FontHeight
    * TTF_FontAscent
    * TTF_FontDescent
    * TTF_FontLineSkip
    * TTF_FontFaces
    * TTF_FontFaceIsFixedWidth
    * TTF_FontFaceFamilyName
    * TTF_FontFaceStyleName
    * TTF_GlyphMetrics
    * TTF_SizeText
    * TTF_SizeUTF8
    * TTF_SizeUNICODE
    * TTF_RenderText_Solid
    * TTF_RenderUTF8_Solid
    * TTF_RenderUNICODE_Solid
    * TTF_RenderGlyph_Solid
    * TTF_RenderText_Shaded
    * TTF_RenderUTF8_Shaded
    * TTF_RenderUNICODE_Shaded
    * TTF_RenderGlyph_Shaded
    * TTF_RenderText_Blended
    * TTF_RenderUTF8_Blended
    * TTF_RenderUNICODE_Blended
    * TTF_RenderGlyph_Blended
    * TTF_CloseFont
    * TTF_Quit
    * TTF_WasInit
    
    (source: SDL_ttf.h, rev 2.0.7)
    
    Supports the following functions:
    * IMG_Linked_Version
    * IMG_LoadTyped_RW
    * IMG_Load
    * IMG_Load_RW
    * IMG_InvertAlpha
    * IMG_isBMP
    * IMG_isPNM
    * IMG_isXPM
    * IMG_isXCF
    * IMG_isPCX
    * IMG_isGIF
    * IMG_isJPG
    * IMG_isTIF
    * IMG_isPNG
    * IMG_isLBM
    * IMG_LoadBMP_RW
    * IMG_LoadPNM_RW
    * IMG_LoadXPM_RW
    * IMG_LoadXCF_RW
    * IMG_LoadPCX_RW
    * IMG_LoadGIF_RW
    * IMG_LoadJPG_RW
    * IMG_LoadTIF_RW
    * IMG_LoadPNG_RW
    * IMG_LoadTGA_RW
    * IMG_LoadLBM_RW
    * IMG_ReadXPMFromArray
    * IMG_SetError
    * IMG_GetError
    
    (Source: SDL_image.h, version 1.2.4)
    Klas Johansson committed Feb 25, 2007
  19. Supports the following functions:

    * IMG_Linked_Version
    * IMG_Load
    * IMG_GetError
    
    Doesn't support these:
    * IMG_LoadTyped_RW
    * IMG_Load_RW
    * IMG_InvertAlpha
    * IMG_isBMP
    * IMG_isPNM
    * IMG_isXPM
    * IMG_isXCF
    * IMG_isPCX
    * IMG_isGIF
    * IMG_isJPG
    * IMG_isTIF
    * IMG_isPNG
    * IMG_isLBM
    * IMG_LoadBMP_RW
    * IMG_LoadPNM_RW
    * IMG_LoadXPM_RW
    * IMG_LoadXCF_RW
    * IMG_LoadPCX_RW
    * IMG_LoadGIF_RW
    * IMG_LoadJPG_RW
    * IMG_LoadTIF_RW
    * IMG_LoadPNG_RW
    * IMG_LoadTGA_RW
    * IMG_LoadLBM_RW
    * IMG_ReadXPMFromArray
    * IMG_SetError
    
    (Source: SDL_image.h, version 1.2.4)
    Klas Johansson committed Feb 25, 2007