summaryrefslogtreecommitdiffstatshomepage
path: root/py/unicode.c
Commit message (Collapse)AuthorAge
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
| | | | | There were several different spellings of MicroPython present in comments, when there should be only one.
* py/unicode: Comment-out unused function unichar_isprint.Damien George2016-12-28
|
* py/repl: Check for an identifier char after the keyword.Alex March2016-02-17
| | | | | - As described in the #1850. - Add cmdline tests.
* py: Minor improvement to unichar_isxdigitDave Hylands2015-05-20
| | | | | | This drops the size of unicode_isxdigit from 0x1e + 0x02 filler to 0x14 bytes (so net code reduction of 12 bytes) and will make unicode_is_xdigit perform slightly faster.
* extmod: Add ubinascii.unhexlifyDave Hylands2015-05-20
| | | | This also pulls out hex_digit from py/lexer.c and makes unichar_hex_digit
* py: Adjust some spaces in code style/format, purely for consistency.Damien George2015-04-09
|
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
| | | | Addresses issue #1022.
* py: Tidy up a few function declarations.Damien George2014-12-10
|
* Rename machine_(u)int_t to mp_(u)int_t.Damien George2014-07-03
| | | | See discussion in issue #50.
* py: Make unichar_charlen() accept/return machine_uint_t.Paul Sokolovsky2014-06-28
|
* py: Small comments, name changes, use of machine_int_t.Damien George2014-06-28
|
* 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