Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-30 | Fix bug string:slice/3 on bad input | Dan Gudmundsson | |
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. | |||
2019-03-21 | stdlib: Restore timeout in string_SUITE:meas() | Hans Bolinder | |
Make sure the test case meas() terminates without failing. | |||
2019-03-20 | stdlib: Optimize handling of Unicode in the string module | Hans Bolinder | |
Unroll some of the functions returning codepoints and grapheme clusters. | |||
2019-03-20 | stdlib: Optimize handling of Unicode in the string module | Hans Bolinder | |
The unicode_util:cp() function handles deep lists faster by returning the rest of the input more balanced to the right than before. | |||
2018-06-18 | Update copyright year | Henrik Nord | |
2018-06-04 | Fix *case bugs for binaries | Dan Gudmundsson | |
Bad optimizing code introduced in 5c51e87bee9d | |||
2018-05-14 | Optimize string lowercase, uppercase and casefold for ASCII characters | Dan Gudmundsson | |
2018-03-01 | Merge branch 'maint' | Dan Gudmundsson | |
* maint: ERL-558 Add the missing function clause for string:prefix (#1702) | |||
2018-03-01 | ERL-558 Add the missing function clause for string:prefix (#1702) | Seyed Mirsadeghi | |
OTP-14942 | |||
2018-02-06 | stdlib: Do not call erlang:get_stacktrace() | Hans Bolinder | |
2017-11-30 | Merge branch 'maint' | Dan Gudmundsson | |
* maint: Avoid falling measurements testcases on slow machines stdlib: string optimize special case for ASCII stdlib: Minor unicode_util opts | |||
2017-11-29 | Avoid falling measurements testcases on slow machines | Dan Gudmundsson | |
2017-11-29 | stdlib: string optimize special case for ASCII | Dan Gudmundsson | |
Avoid unicode_util module call for ASCII strings | |||
2017-11-29 | stdlib: Minor unicode_util opts | Dan Gudmundsson | |
Exit early for Latin-1 | |||
2017-09-26 | stdlib: Add unicode string benchmarks | Dan Gudmundsson | |
2017-05-22 | Return error tuple on unicode normalization functions | José Valim | |
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. | |||
2017-05-04 | Update copyright year | Raimo Niskanen | |
2017-04-24 | Handle chardata in string:to_float and string:to_list | Dan Gudmundsson | |
2017-04-24 | New unicode aware string module that works with unicode:chardata() | Dan Gudmundsson | |
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. | |||
2016-03-15 | update copyright-year | Henrik Nord | |
2016-03-09 | Remove ?line macros | Björn Gustavsson | |
While we are it, also re-ident the files. | |||
2016-03-09 | Replace "%" with "%%" at the beginning of a line | Björn Gustavsson | |
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 "%%". | |||
2016-03-09 | Eliminate 'suite' and 'doc' clauses | Björn Gustavsson | |
2016-03-09 | Modernize use of timetraps | Björn Gustavsson | |
Either rely on the default 30 minutes timetrap, or set the timeout using the supported methods in common_test. | |||
2016-02-17 | Eliminate use of test_server.hrl and test_server_line.hrl | Björn Gustavsson | |
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. | |||
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2015-04-10 | Eliminate use of deprecated now/0 for random number generation | Björn Gustavsson | |
Use erlang:timestamp/0 instead now/0 when seeding the random number generator. | |||
2015-02-16 | Modernize and strengthen the test case for string:tokens/2 | Björn Gustavsson | |
2013-04-19 | Remove the "coding: utf-8" comment from all Erlang source files | Hans Bolinder | |
2013-01-09 | Prepare OTP files for Unicode as default encoding | Hans Bolinder | |
2011-08-31 | Improve and correct types and specifications in Kernel and STDLIB | Hans Bolinder | |
Running Dialyzer on the test suites revealed a few type errors. | |||
2011-03-11 | Update copyright years | Björn-Egil Dahlberg | |
2011-02-17 | Rename Suite Callback to Common Test Hook | Lukas Larsson | |
2011-02-17 | Fix formatting for stdlib | Lukas Larsson | |
2011-02-17 | Add init_per_suite and end_per_suite | Lukas Larsson | |
2011-02-17 | Add ts_install_scb to suite/0 | Lukas Larsson | |
2011-02-17 | Update stdlib tests to conform with common_test standard | Lukas Larsson | |
2011-02-17 | Update all fin_per_testcase to end_per_testcase. | Lukas Larsson | |
2010-10-29 | string_SUITE: Add test for string:copies(Str, Float) | Björn Gustavsson | |
2010-10-29 | string_SUITE: Fix copy and paste error in test of string:copies/2 | Björn Gustavsson | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |