summaryrefslogtreecommitdiffstatshomepage
path: root/py/unicode.c
Commit message (Collapse)AuthorAge
* unicode: Make get_char()/next_char()/charlen() be 8-bit compatible.Paul Sokolovsky2014-06-27
| | | | Based on config define.
* unicode: Add utf8_ptr_to_index().Paul Sokolovsky2014-06-27
| | | | | Useful when we have pointer to char inside string, but need to return char index. (E.g. str.find()).
* py: Implement basic unicode functions.Chris Angelico2014-06-27
|
* py: Include mpconfig.h before all other includes.Paul Sokolovsky2014-06-21
| | | | | | It defines types used by all other headers. Fixes #691.
* unicode: String API is const byte*.Paul Sokolovsky2014-06-14
| | | | | We still have that char vs byte dichotomy, but majority of string operations now use byte.
* py: Rename some unichar functions for consistency.Damien George2014-05-11
|
* objstr: Implement .lower() and .upper().Paul Sokolovsky2014-05-10
|
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* py: Make form-feed character a space (following C isspace).Damien George2014-04-10
| | | | Eg, in CPython stdlib, email/header.py has a form-feed character.
* Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky2014-02-12
|
* Implement octal and hex escapes in strings.Paul Sokolovsky2014-01-22
|
* Put unicode functions in unicode.c, and tidy their names.Damien George2013-12-30