Permalink
Commits on Apr 17, 2010
  1. fix a const to get g++ to build

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45764 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    mikehh committed Apr 17, 2010
  2. consted the STRING into string_unescape_one

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45763 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  3. Add a check to Perl::Critic::Bangs version for cagecritic target

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45762 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  4. quiet some Critic warnings

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45760 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  5. Ensure that str_replace update string's hashval

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45758 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 17, 2010
  6. squashing some const problems

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45757 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  7. fixing some sad consts. Removed all the set_codepoint functions in th…

    …e encodings
    
    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45756 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  8. fixing some consting

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45755 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  9. consting underlying charset pointers

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45754 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  10. Mark deprecated ops with :deprecated attribute

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45748 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 17, 2010
  11. Update test for replace op.

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45747 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 17, 2010
  12. Add op replace and rebuild native pbcs

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45746 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 17, 2010
  13. [pf] Made STRINGs thawed from packfiles set their external flags to a…

    …void
    
    allocating memory for them.  They can reuse the buffer thawed into packfiles
    themselves as STRINGs are immutable now.  This improves Rakudo's startup time
    by 6.167%.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45745 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    chromatic committed Apr 17, 2010
  14. [charset] Changed ascii_compare() to use memcmp() whenever the encodi…

    …ng of two
    
    STRINGs is the same -- and not only for fixed_8 encoding.  This should be safe,
    and faster than iteration.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45744 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    chromatic committed Apr 17, 2010
  15. [hash] Tidied code; no functional changes.

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45743 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    chromatic committed Apr 17, 2010
  16. Remove skipped and outdated tests.

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45741 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 17, 2010
  17. Get rid of side-effects in Parrot_str_length

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45740 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 17, 2010
  18. Remove useless string reallocations

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45739 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 17, 2010
  19. Un-consting iterator

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45738 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 17, 2010
  20. consting of STRINGs and CHARSETs

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45737 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  21. consting args in the worker methods

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45736 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  22. become_encoding() makes no sense in a world of immutable strings

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45735 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  23. removed unused macro CHARSET_SET_GRAPHEMES

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45734 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  24. use PMC_IS_NULL to check for null PMC *

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45732 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
  25. bacek already checked this, said that the comment can go away

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45729 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    petdance committed Apr 17, 2010
Commits on Apr 16, 2010
  1. [string] Fixed a POD typo.

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45725 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    chromatic committed Apr 16, 2010
Commits on Apr 15, 2010
  1. [PMC] Made EventHandler's get_string VTABLE return a compile-time con…

    …stant,
    
    because now it can.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45703 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    chromatic committed Apr 15, 2010
  2. Remove last references to Parrot_str_append

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45698 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 15, 2010
  3. Remove Parrot_str_append function which was actually synonym for str_…

    …concat
    
    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45694 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 15, 2010
  4. Remove inplace string updating functions:

      - set_bytes
      - set_codepoints
      - set_grapheme
    
    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45692 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 15, 2010
  5. Constify to_encoding

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45689 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 15, 2010
  6. Rerun headerizer.

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45688 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    bacek committed Apr 15, 2010
  7. set svn properties

    git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45687 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    mikehh committed Apr 15, 2010