Permalink
Commits on Sep 26, 2016
  1. Merge pull request #884 from MasterDuke17/revert-883-RT129319

    Revert "Error if No/Nl chars are used in colon pairs/radix"
    zoffixznet committed on GitHub Sep 26, 2016
  2. Merge pull request #885 from Gnouc/nom

    Fix IO.l throws exception for broken symlink
    zoffixznet committed on GitHub Sep 26, 2016
  3. Fix IO.l throws exception for broken symlink

    Fixes RT#129162
    Gnouc committed Sep 26, 2016
  4. Revert "Error if No/Nl chars are used in colon pairs/radix"

    MasterDuke17 committed on GitHub Sep 26, 2016
  5. Fix infix:<^^>(Mu, Callable) candidate

    zoffixznet committed Sep 26, 2016
Commits on Sep 25, 2016
  1. Add S32-list/categorize-list.t test file

    zoffixznet committed Sep 25, 2016
  2. Fix and improve Baggy.categorize-list

    - Fix incorrect multi-level category behaviour with % and @ mappers
    - Throw on attempts to use multi-level categorization instead of spilling guts
    - Throw on lazy (infinite) lists instead of hanging
    - Do not execute mapper more than once per item being categorized
    - Detect all Iterables and not just List
    zoffixznet committed Sep 25, 2016
  3. Fix incorrect name of type in error message

    zoffixznet committed Sep 25, 2016
  4. Fix and improve Hash.categorize-list

    - Fix incorrect multi-level nesting with % and @ mappers
    - Do not crash on degenerate case of 0-item multi-level iterables
    - Throw on lazy (infinite) lists instead of hanging
    - Do not execute mapper more than once per item being categorized
    - Detect when attempt to use mixed-level categorization is made and throw
        useful error instead of spilling guts on conflicts
    zoffixznet committed Sep 25, 2016
  5. Bump NQP_REVISION for JVM NativeCall fixes

    peschwa committed Sep 25, 2016
  6. Fix unitialized warning for VM.platform-library-name

    We might want a different solution WRT VM in general though,
    as the .config/.properties split on R-J seems confusing.
    peschwa committed Sep 25, 2016
  7. Remove needless //= [] check

    Autovivification takes care of it for us.
    zoffixznet committed Sep 25, 2016
  8. Fix for RT #129349

    lizmat committed Sep 25, 2016
  9. Fix PERL6_TEST_DIE_ON_FAIL not exiting on failed subtests

    zoffixznet committed Sep 25, 2016
  10. Throw helpful error when attempting to use mixed-level classify

    It looks a bit messy, but without it, the range of errors received
    when attempting mixed-level classify reference guts and are very confusing.
    zoffixznet committed Sep 25, 2016
  11. Do not add quotes around $.value on X::Invalid::ComputedValue

    to make it more flexible
    zoffixznet committed Sep 25, 2016
  12. Revert "Fix Hash.classify-list for mixed-level classifications"

    This reverts commit b4a4b60.
    
    Mixed-level classifications cause issues when values at one level
    are same as keys for deeper levels and speculation explicitly says
    all lists returned from mappers for multi-level classifications must
    be of same length.
    
    Instead, logic needs to be added to check that all levels are the same,
    so we do not produce confusing error messages when they aren't the same.
    zoffixznet committed Sep 25, 2016
Commits on Sep 24, 2016
  1. Add S32-list/classify-list.t test file

    zoffixznet committed Sep 24, 2016
  2. Improve Baggy.classify-list

    - Attempting to classify-list on immutable Baggies now throws useful error
    - Giving lazy (infinite) lists to classify-list now produces exception,
        instead of hanging
    - Attempting to multi-level classify Baggies now throws, explaining Baggies
        can't nest; Fixes RT#125923 [^1]
    
    [1] https://rt.perl.org/Ticket/Display.html?id=125923
    zoffixznet committed Sep 24, 2016
  3. Fix Hash.classify-list for mixed-level classifications

    Do not assume the first returned value from the mapper indicates whether
    we're doing multi-level or single level classification.
    
    No adverse performance impact. Bench shows 0.02%-0.06% improvement.
    zoffixznet committed Sep 24, 2016
  4. Add X::Invalid::ComputedValue exception

    Purpose is to use it for conditions where argument values given to a method are
    correct, but produce some invalid condition during the method's operation.
    
    Example:
    
    X::Invalid::ComputedValue.new(
        :name<mapper> :method<classify-list> :value('an Iterable item')
        :reason('BagHash cannot be nested and so does not support multi-level classification')
    ).throw;
    
    Produces:
    'mapper on classify-list computed to an Iterable item, which cannot be used because
    BagHash cannot be nested and so does not support multi-level classification'
    zoffixznet committed Sep 24, 2016
  5. Add basic support for marshalling Hash to Java Map

    and add a test. Only supports Map<String, Object> as target type.
    peschwa committed Sep 24, 2016
  6. Fix broken multi-level Hash.classify-list with % or @ mappers

    The multi-item lists received from % and @ mappers arrive to us as items, so
    the @keys contains a single item that gets used as a single hash classification
    key.
    
    Coerce with @ to get correct number of keys.
    zoffixznet committed Sep 24, 2016
  7. Remove trailing whitespace

    zoffixznet committed Sep 24, 2016
  8. Support marshalling of Positional to List<Object>

    ...as well as add a test.
    
    Typing generic lists as Positional.of() needs a cleaner way to
    map types between Rakudo and Java than we have at the moment.
    Suggestions welcome.
    peschwa committed Sep 24, 2016
  9. Bump NQP

    Bring in latest changes for latest tests
    http://irclog.perlgeek.de/perl6-dev/2016-09-23#i_13267048
    zoffixznet committed Sep 24, 2016
Commits on Sep 23, 2016
  1. Improve Hash.classify-list/Hash.categorize-list multi candidates

    - Add slurpy candidates to allow for listy args that don't fit
        exiting candidates
    - The above also fixes LTA error messages for % and @ tests with
        previously unacceptable lists
    - Correctly propagate the previously-omitted :&as parameter
        for .categorize-list with % and @ tests
    zoffixznet committed Sep 23, 2016
  2. Add S02-types/baggy.t test file

    Tests for Baggy role methods that aren't covered by things that `does` it
    zoffixznet committed Sep 23, 2016
  3. Fix for #129334, as suggested by Zoffix++

    lizmat committed Sep 23, 2016
  4. Merge pull request #883 from MasterDuke17/RT129319

    Error if No/Nl chars are used in colon pairs/radix
    lizmat committed on GitHub Sep 23, 2016
  5. Error if No/Nl chars are used in colon pairs/radix

    Colon pairs and radix bases can be made with Nd characters, but not No
    or Nl characters.
    
    Fixes RT #129319
    MasterDuke17 committed Sep 23, 2016
Commits on Sep 22, 2016
  1. We can also use Enums for native array shapes

    So that 'my int @a[Bool]' will create a 2-element native array
    lizmat committed Sep 22, 2016
  2. Mark S17-procasync/stress.t as a stress test

    The name sorta gives it away, no?
    lizmat committed Sep 22, 2016
  3. Fix GLOBAL symbol clash re-compiling due to a repo change

    After we detected that we need to re-compile a module because one of its
    dependencies changed, we sometimes turned out to try loading the old
    version again due to a stale precomp unit cache. However the module
    would load just fine on the next try.
    
    The reason was that we invalidated the cache of a different precomp
    store object than what we used for loading precomp files as the
    repository implementations created different objects for the precomp
    store list (used for loading) and the accessors of their own store (used
    for storing).
    niner committed Sep 22, 2016