summary refs log tree commit diff stats
path: root/lib/pure/unicode.nim
Commit message (Collapse)AuthorAgeFilesLines
* keep unicode.nim warning freeAraq2018-05-181-4/+4
|
* remove dead code elimination option (#7669)Jacek Sieka2018-04-231-1/+1
|
* Fixes #6223.Dominik Picheta2017-11-281-6/+6
|
* Little spelling fix in unicode moduleDominik Picheta2017-10-151-1/+1
|
* system/unicode: check for buffer overflows; refs #5284Araq2017-02-081-25/+47
|
* update stdlib to not use deprecated symbolsAndreas Rumpf2016-08-251-3/+3
|
* Added iterator for utf8 stringsHans Raaf2016-07-131-1/+15
|
* Add useful unicode procs for string manipulationJoey Payne2016-07-011-0/+134
| | | | | | | Added: isUpper, isLower, isAlpha, isWhiteSpace, toUpper, toLower, and capitalize Renamed strutils procs that are similar to avoid conflicts
* Add new procs for string manipulationJoey Payne2016-06-131-29/+209
| | | | | Add center, isTitle, title, partition, rpartition, rsplit, swapCase, translate, and expandTabs
* Optimized end offsets and added tests.Hans Raaf2016-06-021-12/+93
| | | | | | I hope this also shows that there are use cases. I still think the user should get warned about performance issues with those procs, which I added to the doc comments.
* More work in optimizing, names and added substr().Hans Raaf2016-06-021-6/+40
| | | | | This is work in progress. I added an unicode substring. Tried to handle edgecases more consistent too.
* Some procs to deal with Rune position base indexing.Hans Raaf2016-06-021-0/+19
| | | | | It can't be perfect but at least one can index on rune position efficiently.
* change 'Rune' type in unicode module to 'int32'Parashurama2016-06-021-2/+2
|
* validateUtf8: catch overlong asciitheduke2015-11-261-0/+1
| | | Make unicode.validateUtf8() check for overlong ascii representations, which are 2 bytes long and start with c0 or c1.
* fixesunicode.lastRuneAraq2015-09-291-2/+1
|
* added unicode.lastRun, unicode.graphemeLenAraq2015-09-211-6/+35
|
* lib: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Corrected proc name in assertionapense2015-07-091-1/+1
|
* Corrected documentationapense2015-07-091-27/+28
|
* Renamed to toRunesapense2015-07-041-1/+1
|
* Added new procapense2015-07-031-10/+18
| | | In reference to #2353
* Updated whitespace rangesapense2015-06-081-2/+8
| | | Ranges sourced from <http://www.unicode.org/Public/7.0.0/ucd/PropList.txt>_. Wikipedia also uses these ranges on its information page <http://en.wikipedia.org/wiki/Whitespace_character#Unicode>_. 0xfeff isn't included in the list, but it is a no-break space, so I guess it makes sense. 0x200b is actually a format character, but it is a zero-width space. To fit Unicode, both 0x200b and 0xfeff would be removed.
* marshalling can be done at compile-timeAraq2015-04-251-0/+25
|
* Use more Natural and Positive numbers in proc parametersdef2015-04-061-965/+965
| | | | | - Didn't go through all modules, only the main ones I thought of - Building the compiler and tests still work
* make toUTF8 support up to 6 bytesdef2015-03-031-4/+18
|
* Fix documentation a bit in unicodedef2015-02-141-2/+3
|
* Optimize unicode.reverseddef2015-01-151-19/+31
| | | | | | | Runs about 18 times faster: - combining characters with boolean logic instead of binary search - No more temporary sequence - Optimize for ASCII characters
* Add reversed proc to unicode moduledef2015-01-021-0/+38
|
* big renameAraq2014-08-271-48/+50
|
* resolved conflicts with masterAraq2014-01-181-0/+4
|\
| * Define $ operator for TRuneSatish BD2013-12-261-1/+3
| |
| * Define $ operator for TRuneSatish BD2013-12-261-0/+2
| |
* | case consistency: next stepsAraq2013-12-291-8/+8
| |
* | case consistency part 4Araq2013-12-271-20/+20
| |
* | case consistency part 1Araq2013-12-271-2/+2
|/
* garbage-in-garbage-out principle for unicode errors; fixes #674Araq2013-11-191-15/+15
|
* Implements `$` proc for a sequence of TRunes.Grzegorz Adam Hankiewicz2013-03-111-0/+12
|
* more uint related fixesZahary Karadjov2012-06-141-3/+3
|
* unicode: invalid utf-8 bytes are preservedAraq2012-04-131-4/+6
|
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* attempt to fix tunidecode test; GC cares for seq->openArray conversionsAraq2011-11-211-940/+969
|
* various bugfixes for generics; added generic sort procAraq2011-03-031-9/+9
|
* inlining of the write barrier for dllsAndreas Rumpf2010-08-081-14/+13
|
* unicode.nim compiles againAndreas Rumpf2010-05-291-2/+2
|
* explicit types for generic routinesAndreas Rumpf2010-05-281-0/+2
|
* fixed pango/pangoutils new wrappersAndreas Rumpf2010-02-261-0/+0
|
* bugfixes for unicode; xmlparser; htmlparser; scannerrumpf_a@web.de2010-02-201-2/+2
|
* continued work on html/xmlparserrumpf_a@web.de2010-02-141-0/+0
|
* cleanup of library docsAndreas Rumpf2010-02-041-1/+1
|
* bind tableAndreas Rumpf2009-11-121-4/+2
|