Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year | Erlang/OTP | 2022-04-11 | 1 | -1/+1 |
| | |||||
* | Make sure to keep tail in strings containing emojis as well | Christian Rasmussen | 2022-03-12 | 1 | -0/+6 |
| | |||||
* | Make sure to keep tail in string:next_grapheme/1 | Christian Rasmussen | 2022-03-12 | 1 | -4/+10 |
| | |||||
* | beam_ssa_type: Improve type inference in recursive functions | John Högberg | 2019-11-21 | 1 | -5/+15 |
| | |||||
* | Fix bug string:slice/3 on bad input | Dan Gudmundsson | 2019-04-30 | 1 | -1/+62 |
| | | | | | | | Fixed bug in slice which wrongly could return <<>> for non-utf8 binary input. Also give a better error reason when non-utf8 binaries are given as input to some functions. | ||||
* | stdlib: Restore timeout in string_SUITE:meas() | Hans Bolinder | 2019-03-21 | 1 | -3/+3 |
| | | | | Make sure the test case meas() terminates without failing. | ||||
* | stdlib: Optimize handling of Unicode in the string module | Hans Bolinder | 2019-03-20 | 1 | -7/+20 |
| | | | | Unroll some of the functions returning codepoints and grapheme clusters. | ||||
* | stdlib: Optimize handling of Unicode in the string module | Hans Bolinder | 2019-03-20 | 1 | -8/+24 |
| | | | | | The unicode_util:cp() function handles deep lists faster by returning the rest of the input more balanced to the right than before. | ||||
* | Update copyright year | Henrik Nord | 2018-06-18 | 1 | -1/+1 |
| | |||||
* | Fix *case bugs for binaries | Dan Gudmundsson | 2018-06-04 | 1 | -6/+6 |
| | | | | Bad optimizing code introduced in 5c51e87bee9d | ||||
* | Optimize string lowercase, uppercase and casefold for ASCII characters | Dan Gudmundsson | 2018-05-14 | 1 | -0/+12 |
| | |||||
* | Merge branch 'maint' | Dan Gudmundsson | 2018-03-01 | 1 | -0/+4 |
|\ | | | | | | | | | * maint: ERL-558 Add the missing function clause for string:prefix (#1702) | ||||
| * | ERL-558 Add the missing function clause for string:prefix (#1702) | Seyed Mirsadeghi | 2018-03-01 | 1 | -0/+4 |
| | | | | | | OTP-14942 | ||||
* | | stdlib: Do not call erlang:get_stacktrace() | Hans Bolinder | 2018-02-06 | 1 | -5/+5 |
| | | |||||
* | | Merge branch 'maint' | Dan Gudmundsson | 2017-11-30 | 1 | -15/+107 |
|\ \ | |/ | | | | | | | | | | | * maint: Avoid falling measurements testcases on slow machines stdlib: string optimize special case for ASCII stdlib: Minor unicode_util opts | ||||
| * | Avoid falling measurements testcases on slow machines | Dan Gudmundsson | 2017-11-29 | 1 | -12/+25 |
| | | |||||
| * | stdlib: string optimize special case for ASCII | Dan Gudmundsson | 2017-11-29 | 1 | -8/+86 |
| | | | | | | | | Avoid unicode_util module call for ASCII strings | ||||
| * | stdlib: Minor unicode_util opts | Dan Gudmundsson | 2017-11-29 | 1 | -8/+8 |
| | | | | | | | | Exit early for Latin-1 | ||||
* | | stdlib: Add unicode string benchmarks | Dan Gudmundsson | 2017-09-26 | 1 | -7/+7 |
|/ | |||||
* | Return error tuple on unicode normalization functions | José Valim | 2017-05-22 | 1 | -0/+4 |
| | | | | | | | | | | | | | Prior to this patch, the normalization functions in the unicode module would raise a function clause error for non-utf8 binaries. This patch changes it so it returns {error, SoFar, Invalid} as characters_to_binary and characters_to_list does in the unicode module. Note string:next_codepoint/1 and string:next_grapheme had to be changed accordingly and also return an error tuple. | ||||
* | Update copyright year | Raimo Niskanen | 2017-05-04 | 1 | -1/+1 |
| | |||||
* | Handle chardata in string:to_float and string:to_list | Dan Gudmundsson | 2017-04-24 | 1 | -19/+65 |
| | |||||
* | New unicode aware string module that works with unicode:chardata() | Dan Gudmundsson | 2017-04-24 | 1 | -21/+872 |
| | | | | | | | | | | | | | | | | | Works with unicode:chardata() as input as was decided on OTP board meeting as response to EEP-35 a long time ago. Works on graphemes clusters as base, with a few exceptions, does not handle classic (nor nfd'ified) Hangul nor the extended grapheme clusters such as the prepend class. That would make handling binaries as input/output very slow. List input => list output, binary input => binary output and mixed input => mixed output for all find/split functions. So that results can be post-processed without the need to invoke unicode:characters_to_list|binary for intermediate data. pad functions return lists of unicode:chardata() for performance. | ||||
* | update copyright-year | Henrik Nord | 2016-03-15 | 1 | -1/+1 |
| | |||||
* | Remove ?line macros | Björn Gustavsson | 2016-03-09 | 1 | -228/+228 |
| | | | | While we are it, also re-ident the files. | ||||
* | Replace "%" with "%%" at the beginning of a line | Björn Gustavsson | 2016-03-09 | 1 | -5/+5 |
| | | | | | | | | We want to re-ident the source files after having taken out all ?line macros. When re-indenting using Emacs, it's important that comments that should be at the beginning of a line (or follow the indentation of statements around it) must start with "%%". | ||||
* | Eliminate 'suite' and 'doc' clauses | Björn Gustavsson | 2016-03-09 | 1 | -76/+0 |
| | |||||
* | Modernize use of timetraps | Björn Gustavsson | 2016-03-09 | 1 | -13/+7 |
| | | | | | Either rely on the default 30 minutes timetrap, or set the timeout using the supported methods in common_test. | ||||
* | Eliminate use of test_server.hrl and test_server_line.hrl | Björn Gustavsson | 2016-02-17 | 1 | -1/+1 |
| | | | | | | | As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl. | ||||
* | Change license text to APLv2 | Bruce Yinhe | 2015-06-18 | 1 | -10/+11 |
| | |||||
* | Eliminate use of deprecated now/0 for random number generation | Björn Gustavsson | 2015-04-10 | 1 | -2/+2 |
| | | | | | Use erlang:timestamp/0 instead now/0 when seeding the random number generator. | ||||
* | Modernize and strengthen the test case for string:tokens/2 | Björn Gustavsson | 2015-02-16 | 1 | -11/+29 |
| | |||||
* | Remove the "coding: utf-8" comment from all Erlang source files | Hans Bolinder | 2013-04-19 | 1 | -2/+1 |
| | |||||
* | Prepare OTP files for Unicode as default encoding | Hans Bolinder | 2013-01-09 | 1 | -3/+4 |
| | |||||
* | Improve and correct types and specifications in Kernel and STDLIB | Hans Bolinder | 2011-08-31 | 1 | -2/+2 |
| | | | | Running Dialyzer on the test suites revealed a few type errors. | ||||
* | Update copyright years | Björn-Egil Dahlberg | 2011-03-11 | 1 | -1/+1 |
| | |||||
* | Rename Suite Callback to Common Test Hook | Lukas Larsson | 2011-02-17 | 1 | -1/+1 |
| | |||||
* | Fix formatting for stdlib | Lukas Larsson | 2011-02-17 | 1 | -7/+8 |
| | |||||
* | Add init_per_suite and end_per_suite | Lukas Larsson | 2011-02-17 | 1 | -1/+7 |
| | |||||
* | Add ts_install_scb to suite/0 | Lukas Larsson | 2011-02-17 | 1 | -1/+3 |
| | |||||
* | Update stdlib tests to conform with common_test standard | Lukas Larsson | 2011-02-17 | 1 | -10/+17 |
| | |||||
* | Update all fin_per_testcase to end_per_testcase. | Lukas Larsson | 2011-02-17 | 1 | -2/+2 |
| | |||||
* | string_SUITE: Add test for string:copies(Str, Float) | Björn Gustavsson | 2010-10-29 | 1 | -0/+1 |
| | |||||
* | string_SUITE: Fix copy and paste error in test of string:copies/2 | Björn Gustavsson | 2010-10-29 | 1 | -2/+2 |
| | |||||
* | The R13B03 release.OTP_R13B03 | Erlang/OTP | 2009-11-20 | 1 | -0/+511 |