Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 3, 2010
  1. Remove '#if 0' from src/spf_render.c

    darbelo authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@46248 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Apr 30, 2010
  1. manual optimization for old compilers

    jimmy authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@46193 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. manual optimization for old compiler

    jimmy authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@46192 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Apr 29, 2010
  1. Disallow NULLs in string_ord, and fix const and ARGMOD on Parrot_spri…

    petdance authored
    …ntf_format
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@46146 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Apr 21, 2010
  1. Everybody freeze! Immutable strings enters the building.

    bacek authored
    Merge branch immutable_strings_part1 back to trunk.
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@45852 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Apr 14, 2010
  1. updated annotation

    petdance authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@45654 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Apr 10, 2010
  1. consting

    petdance authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@45504 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 27, 2009
  1. Fix deps on spf_render.o;

    coke authored
    GENERAL_H_FILES kind of worked; Add PARROT_H_HEADERS to replace it; anything
    that includes parrot.h is also including all these other files, so be 
    explicit about it. Updating checkdepend so that it verifies all the
    includes.
    
    Fix this one file to use these updates: note that parrot.h already includes
    one of the other depends used by this file, remove the duplication from the
    .c file and the makefile.
    
    Only 5311 failures left in checkdepend now. =-)
    
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@43256 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 6, 2009
  1. [cage] improve C indentation, see TT #1329

    fperrad authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@42917 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Sep 27, 2009
  1. [cage] use operator comma in ASSERT_ARGS to avoid problems with short…

    NotFound authored
    …-circuited operators
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@41533 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Sep 22, 2009
  1. rerun make headerizer

    coke authored
    This should run ALL the ASSERT_ARG checks now, instead of SOME of them.
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@41409 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jul 8, 2009
  1. [cage] use else if instead of nested if

    cotto authored
    fix courtesy of jimmy++
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@39947 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. hoisted up some common subexpressions and reduced a lot of string ind…

    petdance authored
    …exing. Also changed an x<<1 to x*2, because really that is our intent. Let the compiler do what it does best.
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@39946 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on May 5, 2009
  1. assign characters to characters

    petdance authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@38486 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Apr 1, 2009
  1. [cage] run 'make headerizer'

    coke authored
    big change, as headerizer now includes function signatures in docs.
    adds this to a bunch of files where it wasn't already, and may
    change due to whitespace in others done manually earlier.
    
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@37854 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. Get the rest of Coke's function documentation back.

    Infinoid authored
    Infinoid--
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@37849 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. Revert r37846 for now, it undid all of Coke++'s hard work in r37845.

    Infinoid authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@37848 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. [t/docs] fixup more function docs (mostly signature fixups)

    coke authored
    some new boilerplate. 1075 functions left
    
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@37845 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Mar 7, 2009
  1. [core] avoid segfaulting when printf'ing PMC that return NULL from ge…

    NotFound authored
    …t_string
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@37184 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Feb 13, 2009
  1. [cage] Copyright updates in src/ directory.

    allison authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@36659 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Feb 3, 2009
  1. [pdd28str] Merging the pdd27mmd branch into trunk for r36123 to r36318.

    allison authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@36319 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jan 27, 2009
  1. [core] remove commented out code, thanks for noticing nick!

    particle authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@36071 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. Implement Parrot_str_repeat and replace usages of string_repeat, TT #…

    julianalbo authored
    … 210
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@36065 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [core] portable Inf/NaN support

    particle authored
    ~ adds configure code to set min/max constants for FLOATVAL
    ~ modifies Parrot_sprintf_format and string_to_num to handle two-way string/number conversion
    ~ adds basic Inf/NaN math test
    note: currently parrot accepts 'Inf' and 'NaN' values in N registers, which disagrees with the open group's spec, but agrees with Tcl and Perl 6 specs
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@36057 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jan 5, 2009
  1. [cage] Attempt to work around MSVC warnings related to ASSERT_ARGS().

    infinoid authored
    * remove the trailing semicolon from ASSERT_ARGS() in the functions being checked.
    * add the semicolon to ASSERT_ARGS() itself.
    * disable ASSERT_ARGS() so it defines to nothing on MSVC.
    * update t/codingstd/c_args_assert.t so it no longer expects to see the semicolon.
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@35009 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jan 3, 2009
  1. [core] Merge from assert_args branch, with modifications.

    infinoid authored
    (Builds and tests okay for me.)
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@34858 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jan 1, 2009
  1. [core] Tag another couple hundred functions with argument asserts.

    infinoid authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@34773 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 31, 2008
  1. [headerizer] Run headerizer and apply the resulting changes to header…

    infinoid authored
    …izer's
    
    output.  (Minus some minor preprocessor tweaks, see RT #53990.)
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@34720 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Oct 9, 2008
  1. [src] Changed base parameter in int_to_str and uint_to_str to an unsi…

    chromatic authored
    …gned int
    
    from a char, as the latter only potentially saves space but makes it awfully
    difficult to pass in a literal integer without giving conversion warnings.  As
    base should never be negative, unsigned makes sense too.
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@31842 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 2, 2008
  1. [pdd17pmc] Merging the pdd25cx branch into trunk for r26555 to r29949.

    allison authored
    git-svn-id: https://svn.parrot.org/parrot/trunk@29952 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jul 26, 2008
  1. Re-wrote sprintf2.t to simplify adding more tests.

    petergibbs authored
    Added more tests including %*.*f
    Fixed spf_render to make %*.*f test pass.
    Changed sprintf.t to skip test 300 which now fails differently.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@29750 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jul 25, 2008
  1. Amend spf_render to handle negative field width specified using * flag.

    petergibbs authored
    Behaviour per 'man sprintf' is to treat as minus flag and positive width.
    Fixes #57260 segfaults.
    
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@29735 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on May 12, 2008
  1. Added a "DO NOT MODIFY HERE" message at the top & bottom of headerize…

    petdance authored
    …r sections
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@27452 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Mar 16, 2008
  1. [t] Fixed a compiler warning with a carefully placed cast (RT #50882,…

    chromatic authored
    … Andrew
    
    Whitworth).
    
    Beautified the function as well.
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@26408 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Feb 11, 2008
  1. [src] Replaced a magic constant about the size of the destination STR…

    chromatic authored
    …ING to
    
    preallocate with a much smarter heuristic: the destination has to be at least
    the size of the format string, but doubling that size will help us avoid the
    first reallocation when substituting into it.
    
    Not only is the code clearer, but we avoid at least one potentially-slow memory hit and waste less memory on smaller strings.
    
    I also cleaned up some formatting in this function while it was hurting my
    eyes.  It's far too deeply nested, but I mitigated some of the damage.
    
    git-svn-id: https://svn.parrot.org/parrot/trunk@25634 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Something went wrong with that request. Please try again.