Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use friendlier method name | Norman Clarke | 2012-01-05 | 1 | -2/+2 |
| | |||||
* | Use friendlier method names for upcasing/downcasing | Norman Clarke | 2012-01-05 | 2 | -12/+20 |
| | |||||
* | Use more descriptive method names | Norman Clarke | 2012-01-05 | 2 | -8/+8 |
| | |||||
* | Move include to top of class for clarity | Norman Clarke | 2012-01-05 | 1 | -2/+1 |
| | |||||
* | Replace Unicode.u_unpack with String#codepoints | Norman Clarke | 2012-01-05 | 3 | -26/+5 |
| | |||||
* | Remove multibyte utils | Norman Clarke | 2012-01-05 | 1 | -27/+0 |
| | | | | This is neither a public API, nor used internally, so let's remove it. | ||||
* | Remove "_codepoints" from compose/decompose | Norman Clarke | 2012-01-05 | 2 | -9/+9 |
| | |||||
* | Remove unused code. | Norman Clarke | 2012-01-05 | 1 | -25/+0 |
| | |||||
* | Document method definition | Norman Clarke | 2012-01-05 | 1 | -0/+2 |
| | |||||
* | Just use Ruby's String#[]= | Norman Clarke | 2012-01-05 | 1 | -41/+0 |
| | |||||
* | Assume Encoding support | Norman Clarke | 2012-01-05 | 1 | -5/+1 |
| | |||||
* | Update to Unicode 6.0 | Norman Clarke | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Remove useless parens | Norman Clarke | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Just delegate a few methods directly to @wrapped_string | Norman Clarke | 2012-01-05 | 1 | -20/+3 |
| | |||||
* | Merge branch 'refactor-multibyte-chars' of https://github.com/lest/rails ↵ | Norman Clarke | 2012-01-05 | 1 | -11/+5 |
|\ | | | | | | | | | | | | | into multibyte Conflicts: activesupport/lib/active_support/multibyte/chars.rb | ||||
| * | refactor AS::Multibyte::Chars | Sergey Nartimov | 2012-01-05 | 1 | -39/+5 |
| | | |||||
* | | Make return value from bang methods match Ruby docs | Norman Clarke | 2012-01-05 | 1 | -2/+2 |
| | | | | | | | | | | The docs for the String class indicate that methods like `rstrip!` and others should return nil when they do not have an effect on the string. | ||||
* | | Override #slice! to ensure proper return value. | Norman Clarke | 2012-01-05 | 1 | -0/+4 |
| | | | | | | | | | | The default pass-through to `method_missing` makes `#slice!` return `self` rather than the string that was sliced off. | ||||
* | | Remove overidden slice and slice! methods. | Norman Clarke | 2012-01-05 | 1 | -29/+1 |
|/ | |||||
* | remove checks for encodings availability | Sergey Nartimov | 2011-12-25 | 2 | -47/+12 |
| | |||||
* | Initial pass at removing dead 1.8.x code from Active Support. | José Valim | 2011-12-20 | 1 | -155/+6 |
| | | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome. | ||||
* | adds a couple of missing magic comments [fixes #1374] | Xavier Noria | 2011-07-23 | 1 | -0/+1 |
| | |||||
* | documentation fix: wrong result | Akira Matsuda | 2011-07-13 | 1 | -2/+1 |
| | |||||
* | Active Support typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | save a few method calls | Aaron Patterson | 2010-10-22 | 1 | -2/+3 |
| | |||||
* | removing wtfalse | Aaron Patterson | 2010-10-22 | 1 | -1/+1 |
| | |||||
* | removing unused code | Aaron Patterson | 2010-08-22 | 1 | -1/+1 |
| | |||||
* | edit pass to apply API guideline wrt the use of "# =>" in example code | Xavier Noria | 2010-07-30 | 2 | -40/+41 |
| | |||||
* | Removes unused vars | Santiago Pastorino | 2010-07-24 | 1 | -6/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Improve bang method defs, make slice! operate in-place. [#5028 state:resolved] | Norman Clarke | 2010-07-08 | 1 | -19/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Improve the idiom used in multibyte chars a bit. | José Valim | 2010-06-30 | 1 | -3/+3 |
| | |||||
* | Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting ↵ | Alex Muntean | 2010-06-30 | 1 | -1/+2 |
| | | | | | | offset is negative [#4717 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Update Unicode database to 5.2.0. [#5011 state:resolved] | Norman Clarke | 2010-06-30 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix AS::MB::Chars#+ to not alter self [#4646 state:resolved] | James MacAulay | 2010-06-30 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move some methods into 1.8.x-only proxy. [#4978 state:resolved] | Norman Clarke | 2010-06-26 | 1 | -40/+39 |
| | | | | | | | | These methods had been overridden because they had bugs on 1.9.1. Since Rails now supports only 1.9.2, and these methods now work properly on that version, there's no longer any need to override them. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Adds titleize/titlecase to AS::Multibyte::Chars | Norman Clarke | 2010-06-20 | 1 | -0/+10 |
| | | | | | | [#2794 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | <=> is defined twice on multibyte/chars.rb for Ruby < 1.9 | Sam Elliott and Santiago Pastorino | 2010-06-20 | 1 | -14/+10 |
| | | | | | | [#4850 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Explicitly delegate Chars#<=> to work around Kernel#<=> possibly ignoring ↵ | Jeremy Kemper | 2010-06-11 | 1 | -3/+4 |
| | | | | method_missing | ||||
* | Move the undef into the 1.9 only branch | wycats | 2010-06-07 | 1 | -2/+2 |
| | |||||
* | If we undef <=>, it solves a problem involving comparison. Please figure out ↵ | wycats | 2010-06-07 | 1 | -0/+2 |
| | | | | the root cause. | ||||
* | Use multibyte proxy class on 1.9, refactor Unicode. | Norman Clarke | 2010-05-21 | 3 | -507/+534 |
| | | | | | | | | | | Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Delegate Inflector.transliterate to i18n. [#4508 state:resolved] | Norman Clarke | 2010-04-30 | 1 | -18/+27 |
| | | | | | | | Ancillary changes: Moved Chars#normalize into a class method; removed unused UTF_PAT constant. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Action Pack: fix tests with -K*, work around Ruby 1.9.1 constant lookup. | Cezary Baginski | 2010-04-25 | 1 | -2/+2 |
| | | | | | | [#4473 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make tidy_bytes work on 1.9 and improve its performance. [#4350 state:resolved] | Norman Clarke | 2010-04-09 | 1 | -18/+67 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Improve performance of multibyte utils. | James Golick | 2010-03-16 | 1 | -1/+1 |
| | | | | | | | Switch from using String#match to using String#=~. There's no need to generate a MatchData for each iteration since we're not using it. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 1 | -1/+1 |
| | |||||
* | Fix unresolved string extension dependencies | Jeremy Kemper | 2009-11-08 | 1 | -2/+3 |
| | |||||
* | Make ActiveSupport::Chars#limit run on Ruby 1.9. | Manfred Stienstra | 2009-11-04 | 1 | -0/+5 |
| | |||||
* | Improve performance of Multibyte::Utils. | Manfred Stienstra | 2009-11-04 | 1 | -7/+6 |
| | | | | | | Replace explicit for-loops by faster enumeration methods. [#3158 state:committed] | ||||
* | Add ActiveSupport::Multibyte::Chars#limit. | Manfred Stienstra | 2009-11-04 | 1 | -14/+15 |
| | | | | | | | | | | The limit method limits the number of bytes in a string. Useful when the storage space of the string is limited, for instance in a database column definition. Sharpen up the implementation of translate offset. [#3192 state:committed] |