aboutsummaryrefslogtreecommitdiffstats
path: root/src/string (follow)
Commit message (Collapse)AuthorAgeFilesLines
* whoops, wrong typeMattias Andrée2016-03-301-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: forgot to declare bMattias Andrée2016-03-301-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: reset n to max when the do..while loop resetsMattias Andrée2016-03-301-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: fix random int range boundary, document that srand should have been called, support huge strings, and use uniform randomMattias Andrée2016-03-261-3/+32
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-03-261-3/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: fix support for empty stringsMattias Andrée2016-03-261-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* derpMattias Andrée2016-03-011-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: use Durstenfeld's algorithm instead of Satallo's algorithmMattias Andrée2016-03-011-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: non-uniform random number generationMattias Andrée2016-02-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* bump yearMattias Andrée2016-01-0170-70/+70
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errors and warningsMattias Andrée2015-12-277-2/+18
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errorsMattias Andrée2015-12-271-22/+27
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* suppress a bunch of warningsMattias Andrée2015-12-271-0/+79
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix issue #5 on githubMattias Andrée2015-12-161-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* docMattias Andrée2015-11-261-3/+51
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* tell in doc in which version things were introducedMattias Andrée2015-11-2569-0/+148
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add todoMattias Andrée2015-11-201-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add optimised variants of *casecmpMattias Andrée2015-11-201-0/+76
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* more etymologyMattias Andrée2015-11-202-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* docMattias Andrée2015-11-191-2/+32
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* doc some new functionsMattias Andrée2015-11-181-4/+48
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add more string.h and wchar.h functionsMattias Andrée2015-11-181-0/+217
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2015-11-181-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add memmemmove, memmemcpy, wmemmemmove, and wmemmemcpyMattias Andrée2015-11-181-0/+22
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-11-182-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix errorsMattias Andrée2015-11-188-8/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* implement additional string.h and wchar.h functionsMattias Andrée2015-11-181-0/+418
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-11-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* split out string/strn/ from string/str/Mattias Andrée2015-11-1715-0/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2015-11-171-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + split wchar/*.cMattias Andrée2015-11-171-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* rearrange filesMattias Andrée2015-11-1762-0/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add strsetMattias Andrée2015-11-171-0/+39
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* split strstr.c and strchr.cMattias Andrée2015-11-1718-343/+683
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* move strerror*.c to new dir: strerror/Mattias Andrée2015-11-174-0/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + typo + split (almost all) string/*.cMattias Andrée2015-11-1745-840/+1496
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* split libgen.cMattias Andrée2015-11-171-0/+52
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* improve performance on strstr and wcsstr if the needle is one character wideMattias Andrée2015-11-131-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* docMattias Andrée2015-10-311-0/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix errorsMattias Andrée2015-10-174-37/+37
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix strrchr bug, return the end of the string if c is 0Mattias Andrée2015-10-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add strstarts strends strcasestarts strcaseends wcsstarts wcsends wcscasestarts wcscaseendsMattias Andrée2015-10-101-0/+84
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2015-10-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-09-031-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* remove some todosMattias Andrée2015-09-034-4/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2015-09-021-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add memcasecmp and wmemcasecmpMattias Andrée2015-09-021-0/+29
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix some warnings and errorsMattias Andrée2015-09-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-09-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* stpbrk => strpbrkMattias Andrée2015-09-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>