Permalink
Commits on Dec 19, 2002
  1. @hotsphink

    0.0.9 release-related changes

    git-svn-id: https://svn.parrot.org/parrot/trunk@2850 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 19, 2002
  2. @hotsphink

    New responsible people. I suspect this list is missing a lot, and per…

    …haps
    
    should just be eliminated.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2849 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 19, 2002
  3. @hotsphink

    When DEVELOPING file was missing, a $len snuck into fingerprint.c

    git-svn-id: https://svn.parrot.org/parrot/trunk@2848 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 19, 2002
  4. @hotsphink

    Updates

    git-svn-id: https://svn.parrot.org/parrot/trunk@2847 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 19, 2002
  5. @hotsphink

    I scanned through the diff since 0.0.8 and pulled out what I could see

    into the ChangeLog.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2846 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 19, 2002
  6. @hotsphink

    Remove test that I think is incorrect for 64-bit platforms

    git-svn-id: https://svn.parrot.org/parrot/trunk@2845 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 19, 2002
Commits on Dec 18, 2002
  1. @hotsphink

    Ticket #19232

    In parrot.h (revision 1.45 2002-08-07), macros were defined
    to eliminate warnings during pointer conversions. See:
            http://rt.perl.org/rt2/Ticket/Display.html?id=16019
    
    The definition of the macros is controlled by the first line of this block:
            #if (INTVAL_SIZE == PTR_SIZE) && (UINTVAL_SIZE == PTR_SIZE)
            #  define INTVAL2PTR(any,d)    (any)(d)
            #  define UINTVAL2PTR(any,d)    (any)(d)
            #else
            #  if PTR_SIZE == LONG_SIZE
            #    define INTVAL2PTR(any,d)    (any)(unsigned long)(d)
            #    define UINTVAL2PTR(any,d)    (any)(unsigned long)(d)
            #  else
            #    define INTVAL2PTR(any,d)    (any)(unsigned int)(d)
            #    define UINTVAL2PTR(any,d)    (any)(unsigned int)(d)
            #  endif
            #endif
            #define PTR2INTVAL(p)    INTVAL2PTR(INTVAL,p)
            #define PTR2UINTVAL(p)    UINTVAL2PTR(UINTVAL,p)
    --snip--
            #define D2FPTR(x) UINTVAL2PTR(funcptr_t, PTR2UINTVAL(x))
            #define F2DPTR(x) UINTVAL2PTR(void *, PTR2UINTVAL((funcptr_t) x))
    
    I cannot find a definition for UINTVAL_SIZE anywhere. Being
    undefined, it evaluates to 0, and so the #if always fails.
    This means that some systems have been getting the wrong
    macro definitions.
    
    It would not be difficult to add Configure tests to define
    UINTVAL_SIZE, but I think that it is not really needed.
    Instead, the attached patch just changes the first line to:
            #if PTR_SIZE == INTVAL_SIZE
    ( Is there any platform for which sizeof(signed foo) <>
    sizeof(unsigned foo)? Would the C spec even allow it? If so,
    I will be glad to write the Configure tests. )
    
    I feel confident that this simpler change is the Right
    Thing, but it could uncover other bugs, and I have no
    esoteric platforms to test it on. Here is a summary of the
    patch's effect on different platforms:
    
    1) PTR_SIZE <> INTVAL_SIZE
    No change.
    
    2) PTR_SIZE == INTVAL_SIZE == LONG_SIZE (x86 Linux and Win32)
    Intermediate casts to (unsigned long) removed, i.e.
            (any)(unsigned long)(d)
    becomes
            (any)(d)
    
    3) PTR_SIZE == INTVAL_SIZE <> LONG_SIZE
    Intermediate casts to (unsigned int) removed, i.e.
            (any)(unsigned int)(d)
    becomes
            (any)(d)
    
    
    Under MS VC++ for .Net, this patch changes the results of
    none of the tests; it only stops the "UINTVAL_SIZE is not
    defined as a preprocessor macro" warnings that are given
    with the -Wall option.
    
     -- Bruce Gray
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2844 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 18, 2002
  2. @hotsphink

    Ticket #19230

    The 'clean' target in the classes makefile is only removing
    'default.h'; it should remove all .h files.
    
     -- Bruce Gray
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2843 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 18, 2002
  3. @hotsphink

    Ticket #19229

    The JIT config test is not cleaning up after itself, causing
    sporadic failures of the next config test (funcptr.pl) on Win32.
    
     -- Bruce Gray
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2842 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 18, 2002
  4. @hotsphink

    Ticket #19227

    In headers.c version 1.18, the code initializing
    interpreter->arena_base->extra_buffer_headers was #if'ed out.
    This caused pointer extra_buffer_headers.bufstart to be
    uninitialized on Win32, which does not zero memory during
    allocation. Test t/src/sprintf.t (#2) dereferences bufstart
    and segfaults during compact_pool().
    
    This patch corrects the problem.
    
     - Bruce Gray
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2841 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 18, 2002
  5. @hotsphink

    Eliminate warnings when compiling an empty file. (Cleans up a bunch of

    test failures. Doesn't change the fact that they fail, of course. Just
    makes them fail more neatly.)
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2840 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 18, 2002
Commits on Dec 17, 2002
  1. @brentdax

    Finish the job.

    git-svn-id: https://svn.parrot.org/parrot/trunk@2839 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    brentdax committed Dec 17, 2002
  2. #19188

    git-svn-id: https://svn.parrot.org/parrot/trunk@2838 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Leopold Toetsch committed Dec 17, 2002
  3. typo

    git-svn-id: https://svn.parrot.org/parrot/trunk@2837 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Leopold Toetsch committed Dec 17, 2002
  4. Remove unneeded(?) casts which are causing warnings/tcc errors.

    git-svn-id: https://svn.parrot.org/parrot/trunk@2836 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Josh Wilmes committed Dec 17, 2002
  5. Workaround for a bug in the lcc compiler- this should get the failing…

    … math
    
    test to pass.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2835 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Josh Wilmes committed Dec 17, 2002
  6. @brentdax

    t/src/sprintf.t was being given int formats and INTVAL arguments, cau…

    …sing
    
    much badness with 64-bit INTVALs.  Oops.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2834 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    brentdax committed Dec 17, 2002
Commits on Dec 16, 2002
  1. scratchpad creation sequence (GC)

    git-svn-id: https://svn.parrot.org/parrot/trunk@2833 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Leopold Toetsch committed Dec 16, 2002
  2. @hotsphink

    Ticket #17624 - Applied

    [PATCH] Don't assume 32-bit integers in perl6/t/compiler/2.t
    
    14! is actually 87178291200.  The value used in the test assumes 32-bit
    integer wraparound.
    
    Since 12! already tests whether we can do recursive functions, we can just
    eliminate the test.
    
     -- Andy Dougherty
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2832 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 16, 2002
  3. @hotsphink

    Ticket #18862 Applied

    Without the following patch, Sun's cc compiler complained:
    
    "jit.c", line 504: non-constant initializer: op "NAME"
    "jit.c", line 702: non-constant initializer: op "U*"
    "jit.c", line 702: non-constant initializer: op "U*"
    "jit.c", line 735: non-constant initializer: op "U*"
    "jit.c", line 735: non-constant initializer: op "U*"
    
    The original style was clearer but this at least compiles for me.
    
    -- Andy Dougherty
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2831 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 16, 2002
  4. @hotsphink

    Ticket #18967

    Only add debugging if --debugging requested.
    -- Mr. Nobody
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2830 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    hotsphink committed Dec 16, 2002
  5. * Slight adjustments to its operation, including removal of the sleep,

        and a change to the way it zooms.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2829 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Gregor N. Purdy committed Dec 16, 2002
  6. Resolve multiple definition problem

    git-svn-id: https://svn.parrot.org/parrot/trunk@2828 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Dan Sugalski committed Dec 16, 2002
  7. * Use the compiler instance now being passed around in order to do t…

    …hings
    
        like allocate temporary registers, anonymous labels, etc.
    
      * Remove some dead code.
    
      * Implement Until.
    
      * Rework the prefix/namespace situation for loop blocks (and a little bit
        for conditional blocks.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2827 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Gregor N. Purdy committed Dec 16, 2002
Commits on Dec 15, 2002
  1. * Go along with the recent changes to the Jako/Construct stuff wrt

        passing around a $compiler instance.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2826 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Gregor N. Purdy committed Dec 15, 2002
  2. * Converted to pass a $compiler instance around instead of just the …

    …file
    
        handle. This way, the compiler can do indenting, and soon we can get
        rid of some stupid calls to Jako::Compiler::* from deep within the
        compilation process. Instead it will be $compiler->*(), which is
        better.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2825 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Gregor N. Purdy committed Dec 15, 2002
  3. * Don't generate namespaces if blocks are empty. This is important

        because we now always generate an empty else or continue block if the
        peer if/unless or while/until is closed without continuation (so its
        easier to make sure we get all the right labels generated).
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2824 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Gregor N. Purdy committed Dec 15, 2002
  4. * Fixed an erroneous call that should have been made via $self-> ins…

    …tead
    
        of directly.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2823 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Gregor N. Purdy committed Dec 15, 2002
  5. * Removed dead code.

    git-svn-id: https://svn.parrot.org/parrot/trunk@2822 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Gregor N. Purdy committed Dec 15, 2002
  6. Squash a warning (and hopefully make lcc happy)

    git-svn-id: https://svn.parrot.org/parrot/trunk@2821 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Simon Glover committed Dec 15, 2002
  7. Make things happier for PPC OS X, and start cleaning up leaks in the

    sprintft tests. (Though test leaks are mildly irrelevant. Still...)
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@2820 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Dan Sugalski committed Dec 15, 2002
  8. Minor tweak to get the website to pick up the title properly

    git-svn-id: https://svn.parrot.org/parrot/trunk@2819 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Simon Glover committed Dec 15, 2002
  9. Start patching up memory leaks from string_to_cstring behaviour change

    git-svn-id: https://svn.parrot.org/parrot/trunk@2818 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Dan Sugalski committed Dec 15, 2002
  10. missing

    git-svn-id: https://svn.parrot.org/parrot/trunk@2817 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Leopold Toetsch committed Dec 15, 2002
  11. fix GC bug #19143

    git-svn-id: https://svn.parrot.org/parrot/trunk@2816 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    Leopold Toetsch committed Dec 15, 2002