Permalink
Switch branches/tags
Commits on Oct 2, 2017
  1. fix cperl compat and perl5.26

    rurban committed Oct 2, 2017
    no . in @INC anymore.
    use strict hashpairs
    { needs to be quoted in regexp.
    Test::Builder->plan checks signature under cperl
  2. [core] fix __WORDSIZE for clang

    rurban committed Oct 1, 2017
    Some clang's do not parse sizeof(void*) * 8, darwin and here esp. freebsd clang-4.
    Thanksfully clang uses their own macro __SIZE_WIDTH__
    for the GCC extension __WORDSIZE.
    See GH #1238
Commits on Jun 6, 2017
  1. imcc: fix exceptions in constant folding

    rurban committed Jun 5, 2017
    When an op with only constants args throws an exception like div by zero,
    also return -1, not just on setjmp(current_runloop->resume)
    
    Fixes #1236
Commits on Nov 9, 2016
  1. [travis] temp remove broken Test::Perl::Critic

    Reini Urban committed Nov 9, 2016
    See Perl-Critic/Perl-Critic#707
    and all other cpanm tasks. libwww-perl-6.15 and YAML-Tiny-1.69
    is also not installable.
  2. [test] fix for no . in @INC

    Reini Urban committed Nov 9, 2016
    esp. with cperl or newer perls
  3. [codingstd] for sockaddr, getaddrinfo_unix

    Reini Urban committed Nov 9, 2016
    for the prev. commit.
    And add a ChangeLog stub for it. This deserves a new release.
  4. Merge pull request #1233 from i80and/fix-af-unix

    rurban committed Nov 9, 2016
    fix unix domain sockets
Commits on Nov 8, 2016
  1. fix unix domain sockets

    i80and committed Nov 7, 2016
    It's not currently possible to bind an AF_UNIX socket because `getaddrinfo()`
    and `getnameinfo()` don't work with AF_UNIX on all platforms.
    
    This patch does the following:
    - Fix `getaddrinfo()` error reporting; it works via `gai_strerror()` rather
      than `errno`.
    - Implement more error checking, preventing possible uninitialized reads if
      `getnameinfo()` fails.
    - Implement special-cases for `Parrot_io_internal_getaddrinfo()` and
      `Parrot_io_internal_getnameinfo()` in the AF_UNIX case; on platforms
      without `sys/un.h`, these functions will now return an error if the socket
      family is (somehow) AF_UNIX.
    - Implement some simple tests for working with Unix sockets.
    
    I couldn't get Parrot compiling with msvc on Windows, so I'm not completely
    confident the platform conditional logic is correct.
Commits on Feb 17, 2016
  1. bump VERSION to 8.2.0

    Reini Urban committed Feb 17, 2016
    too many changes already, esp. the deprecations
  2. [core] fix sub dispatch with builtin namespace

    Reini Urban committed Feb 17, 2016
    Filter out pure-subs without a method attribute in
    Parrot_find_method_direct(). This harmonizes behavior
    with user-defined namespaces.
    
        P1=new Integer
        P1.foo()
    
        namespace Integer
        sub foo
    
    Does now error with
          Method foo not found for invocant of class Integer
    as it happens with subs of new namespaces.
    You need to add a :method attribute.
    
    This allows to write user class methods that translate behaviors.
    Fixes GH #304, prev. TT #1108
  3. [test] sub dispatch with builtin namespace

    Reini Urban committed Feb 17, 2016
    Subs in "built-in PMC" namespaces are treated as PMC methods even
    without the :method attribute.
    
    P1=new Integer
    P1.foo()
    
    namespace Integer
    sub foo
    
    Should error with
      Method 'foo' not found for invocant of class 'Integer'
    as it happens with subs of new namespaces.
    
    This allows overriding of builtin methods, but it also makes it
    impossible to write "class methods" that translate behaviors, since the
    presence or absence of the :method attribute on the sub is ignored.
    
    See GH #304, prev. TT #1108
  4. make bootstrap-namealias, update for newer gperf

    Reini Urban committed Feb 17, 2016
    we skip inline as we use it 2x in core_ops
  5. make bootstrap-prt0 with Winxed 1.10

    Reini Urban committed Feb 17, 2016
  6. [pmc] deprecate StringHandle auto-reopen and auto-read

    Reini Urban committed Feb 16, 2016
    deprecate PIO_VF_AWAYS_READABLE. (yes, a typo)
    make StringHandle read/write mode, and auto-reopen strict.
    StringHandle needs to be consistent with the FileHandle API.
    I.e. reading from a handle open for writing needs to fail,
    ditto writing to a handle open for reading. (already tested
    and handled correctly)
    
    Add testcase for read/write mode errors.
    
    Add a seek(0,0) to various readall places on closed
    write-only handles, and change those handles to "rw".
    
    Closes GH #245.
Commits on Feb 16, 2016
  1. [test][doc] for dynpmc/file.copy to dir

    Reini Urban committed Feb 16, 2016
    Document and test that the 2nd arg to file.copy
    fails with a directory name.
    Closes GH #229
  2. [test] improve pcre.t for returned error string

    ronaldxs committed with Reini Urban Sep 20, 2010
    Closes GH #258
  3. [pmc] add missing StringHandle methods

    Reini Urban committed Feb 15, 2016
    Similar to the FileHandle PMC: tell, seek, peek.
    Add more error handling to StringHandle->seek (out of bounds)
    Add testcase t/pmc/stringhandle_26
    
    Fixes GH #1011
  4. install: change darwin inst_libparrot to libparrotsrc

    Reini Urban committed Feb 16, 2016
    relying on make -j1 installable is too fragile on darwin.
    rather use a skipped blib/lib/libparrotsrc while building
    and testing and use blib/lib/libparrot as INSTALLABLEPARROT,
    darwin only.
    Improves GH #1213, #1212, #1096
  5. install inst_libparrot.$VER.$SOEXT

    Reini Urban committed Feb 16, 2016
    over libparrot.$VER.$SOEXT, if it exists.
    Fixes GH #1213
    inst_libparrot has the final -install_name on darwin,
    libparrot not.
    
    broken with 7.11.0 and 8.1.0 for darwin binary builds only.
    note that on darwin you are not allowed to use make -j>1 for
    the installable target!
    
    Also fixes the broken install_files --dry-run flag
  6. ChangeLog for foldcase GH #786

    Reini Urban committed Feb 16, 2016
  7. native_pbc: number_8_16_be

    Reini Urban committed Feb 16, 2016
    generated on ppc64
  8. more native_pbc updates for 13.1

    Reini Urban committed Feb 16, 2016
    generated on a debian-ppc64 image with --m=64 and --m=32.
    
    also fix some minor issues in mk_native_pbc:
    intel -m32 --floatval='long double' should generate a number_4_12_le.pbc
    ppc64 missed the 8_be suffix
  9. foldcase: bump PBC_COMPAT to 13.1

    Reini Urban committed Feb 15, 2016
    for the changed ops.
    
    Update the native_pbc's for it
  10. [test] foldcase tests into t/op/string_cs.t

    Reini Urban committed Feb 15, 2016
  11. Add Parrot_str_foldcase to the string subsystem API.

    Whiteknight committed with Reini Urban Jun 9, 2012
    Expose this through a new foldcase op.
  12. Initial implementation of the foldcase operation

    Whiteknight committed with Reini Urban Jun 9, 2012
    for strings, in pursuit of GH #786. moritz++ for the suggestion.
  13. ChangeLog for next 8.2.0

    Reini Urban committed Feb 15, 2016
Commits on Feb 15, 2016
  1. Supported release 8.1.0 "Andean Parakeet"

    Reini Urban committed Feb 15, 2016
    + Restore make configure_tests, remove outdated t/steps/auto/labs-01.t
    + Annotate needed -Wcast-align fixes (for early armv5 systems)
    + Add missing hyperref package for latex
    + Fix typo in move_buffer_callback doc
    
    The Andean parakeet (Bolborhynchus orbygnesius) is a small 160 mm (6 in)
    parrot found in the upland wooded valleys of the central eastern Andes in
    Bolivia and Peru, at elevations of 1,500 m (4,900 ft) to 5,000 m (16,400
    ft).  It is solid green, darker above and lighter below, with some blue
    visible on the wings when flying.  It has a pale bill and medium length
    tail.  It is stockier and darker than the mountain parakeet.
    
    Most flocks are small, but sometimes include over 300 individuals. The
    Andean parakeet eats seeds, buds, and berries, and it breeds in burrows in
    steep banks.
    
    It was formerly known as B. andicolus - Wikipedia
  2. [docs] typo on move_buffer_callback doc

    Reini Urban committed Feb 4, 2015
  3. detect -Wcast-align violations [GH #1201]

    Reini Urban committed Feb 6, 2015
    We need an ARMv5 or MIPS platform which do require word aligned pointers
    and throw these warnings.
    
    TODO: We might need to add a config probe on those platforms for a
    PARROT_HAS_STRICT_WORDALIGN ifdef and check the alignment then at
    runtime with a possible needed memcpy before we can access the pointer
    value.
  4. add missing hyperref package for latex

    gerd committed Feb 15, 2016
Commits on Feb 14, 2016
  1. Document the non-release.

    Util committed Feb 14, 2016
Commits on Dec 26, 2015
  1. Restore tests run during 'make configure_tests'.

    jkeenan committed Dec 26, 2015
    Remove t/steps/auto/labs-01.t.  It has been superseded by
    t/steps/auto/mathl-01.t.  Update MANIFEST.
    
    (cherry picked from commit 0112781)
Commits on Dec 14, 2015
  1. Release 7.11.0 "Amazonian parrotlet"

    Reini Urban committed Dec 12, 2015
    * Improve darwin and cygwin build, seperate installable libparrot.
      GH #1212, 1096
    * Honor --disable-rpath on darwin, skip -install_name then
    * Update default cygwin compiler and linker to gcc with 1.7
    * Add darwin and windows smokers (travis + appveyor), prev. linux only
    * use a smaller default target: core (most parrot_utils, not all)
      make all builds now all, including docs and installables
  2. [docs] add SMOKE paragraph at docs/tests.pod

    Reini Urban committed Dec 14, 2015
    for travis and appveyor.
    
    I cannot trigger appveyor (windows) smokes, because I still got no
    github permissions for parrot. Could the resigned admins please
    handover the perms?