Permalink
Switch branches/tags
Nothing to show
Commits on Apr 25, 2018
  1. Rewrite all bindings, and expose libSDL's function/struct names

    FROGGS committed Apr 25, 2018
    With this one will get all structures and functions that the C library offers
    by doing `use SDL`. The sugar-coated classes will be in the SDLx namespace
    only. But I've removed these for now, since the existing code was created
    before NativeCall was able to unpack C Structures properly. So it was awkward
    anyway and not much of a loss.
Commits on Apr 15, 2018
  1. Fix checking for Pointer type

    FROGGS committed Apr 15, 2018
  2. Add unit declarator to module declarations

    paultcochrane authored and FROGGS committed May 23, 2015
    As of Rakudo 2015.05, the `unit` declarator is required before using
    `module`, `class` or `grammar` declarations (unless it uses a block).  Code
    still using the old blockless semicolon form will throw a warning. This
    commit stops the warning from appearing in the new Rakudo.
  3. Merge pull request #5 from paultcochrane/pr/add-dependencies

    FROGGS committed Apr 15, 2018
    Mention library dependencies in README
  4. apply paultcochrane++'s patch

    FROGGS committed Apr 15, 2018
  5. apply paultcochrane++'s patch

    FROGGS committed Apr 15, 2018
  6. Merge pull request #13 from zoffixznet/patch-3

    FROGGS committed Apr 15, 2018
    Add mandatory `perl` key
Commits on Jan 23, 2018
  1. Add mandatory `perl` key

    zoffixznet committed Jan 23, 2018
  2. Merge pull request #11 from paultcochrane/pr/reduce-test-failures

    Kartik Thakore
    Kartik Thakore committed Jan 23, 2018
    Fix calls to SDL and SDL_mixer libraries
  3. Merge pull request #12 from zoffixznet/patch-3

    Kartik Thakore
    Kartik Thakore committed Jan 23, 2018
    Use modern META filename
Commits on Apr 25, 2017
  1. Use modern META filename

    zoffixznet committed Apr 25, 2017
    The `META.info` is a legacy, pre-Christmas name. While it's still currently supported, `META6.json` is the new name. And since a lot of people simply copy some module's  structure, the old name still proliferates, so we're trying to get rid of it for good  by sending PRs to any modules that use the old name, to switch to the modern name.
Commits on Nov 12, 2016
  1. Fix calls to SDL and SDL_mixer libraries

    paultcochrane committed Nov 12, 2016
    It seems that in 6.c there is no longer the need to prefix a library
    name with 'lib'; this is prepended automatically.  In other words,
    `native('libSDL')` should now be written as `native('SDL')`.  The tests
    were complaining about not finding the `liblibSDL` and
    `liblibSDL_mixer` libraries, hence this patch.
    
    The compiler also warned not to return `Int` in some cases and that
    `int32` should be used instead.  In the places where the compiler was
    complaining, the return type has been updated appropriately.
    
    These changes get the core tests working again and the mixer channel
    tests at least compiling, however not running completely.
Commits on Jan 21, 2016
  1. Fix `provides` paths

    zoffixznet committed Jan 21, 2016
Commits on Sep 12, 2015
Commits on Sep 11, 2015
  1. fix all the things! /o/

    FROGGS committed Sep 11, 2015
Commits on May 23, 2015
  1. Fix audio file loading test to expect Pointer

    paultcochrane committed May 23, 2015
    It seems that in Rakudo 2015.03, that OpaquePointer was replaced with
    Pointer.  This change updates the mixer-channels test appropriately.
  2. Fix callback calling syntax in sub arguments

    paultcochrane committed May 23, 2015
    In current Rakudo (2015.05) the current code didn't compile anymore, giving
    the warning that 'Shape declaration with () is reserved;' and giving the
    advice that one should either separate the subarguments with a colon (which
    jnthn++ advised to do, however unfortunately didn't allow the code to
    compile) or to add a space between the sub-sub-name and its argument.  Also,
    having `Code &callback` was a bit doubled-up since the `&callback` was
    returning a `Callable` anyway and as it turned out removing the `Code`
    modifier allowed the code to compile and the test suite to run all tests bar
    one.
Commits on Mar 2, 2015
  1. NativeCall is now in "CORE"

    FROGGS committed Mar 2, 2015
Commits on Jul 5, 2014
  1. silence warning

    FROGGS committed Jul 5, 2014
  2. get rid of unpacking SDL_version struct by ourself

    FROGGS committed Jul 5, 2014
    NativeCall supports this since a while very nicely, so just use it.
Commits on Jan 13, 2014
  1. Merge pull request #2 from tadzik/master

    FROGGS committed Jan 13, 2014
    Fix warnings (and bugs)
Commits on Dec 27, 2013
  1. Fix warnings (and bugs)

    tadzik committed Dec 27, 2013
Commits on Dec 25, 2012
  1. do not define return type

    FROGGS committed Dec 25, 2012
    When trying to install via panda it tries to precompile the module.
    At this stage it thinks the sub would return a Str, so it breaks.
    Inline::C should handle this some day, but trying now without return type.
Commits on Dec 17, 2012
  1. Added a README

    Kartik Thakore
    Kartik Thakore committed Dec 17, 2012
Commits on Sep 25, 2012
  1. forgot to mention NativeCall++

    FROGGS committed Sep 25, 2012
Commits on Sep 18, 2012
  1. using Inline::C

    FROGGS committed Sep 18, 2012
  2. that was still p5 code

    FROGGS committed Sep 18, 2012