summaryrefslogtreecommitdiff
path: root/py/unicode.c
AgeCommit message (Collapse)Author
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
There were several different spellings of MicroPython present in comments, when there should be only one.
2016-12-28py/unicode: Comment-out unused function unichar_isprint.Damien George
2016-02-17py/repl: Check for an identifier char after the keyword.Alex March
- As described in the #1850. - Add cmdline tests.
2015-05-20py: Minor improvement to unichar_isxdigitDave Hylands
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.
2015-05-20extmod: Add ubinascii.unhexlifyDave Hylands
This also pulls out hex_digit from py/lexer.c and makes unichar_hex_digit
2015-04-09py: Adjust some spaces in code style/format, purely for consistency.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
Addresses issue #1022.
2014-12-10py: Tidy up a few function declarations.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
See discussion in issue #50.
2014-06-28py: Make unichar_charlen() accept/return machine_uint_t.Paul Sokolovsky
2014-06-28py: Small comments, name changes, use of machine_int_t.Damien George
2014-06-27unicode: Make get_char()/next_char()/charlen() be 8-bit compatible.Paul Sokolovsky
Based on config define.
2014-06-27unicode: Add utf8_ptr_to_index().Paul Sokolovsky
Useful when we have pointer to char inside string, but need to return char index. (E.g. str.find()).
2014-06-27py: Implement basic unicode functions.Chris Angelico
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
It defines types used by all other headers. Fixes #691.
2014-06-14unicode: String API is const byte*.Paul Sokolovsky
We still have that char vs byte dichotomy, but majority of string operations now use byte.
2014-05-11py: Rename some unichar functions for consistency.Damien George
2014-05-10objstr: Implement .lower() and .upper().Paul Sokolovsky
2014-05-03Add license header to (almost) all files.Damien George
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/.
2014-04-10py: Make form-feed character a space (following C isspace).Damien George
Eg, in CPython stdlib, email/header.py has a form-feed character.
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky
2014-01-22Implement octal and hex escapes in strings.Paul Sokolovsky
2013-12-30Put unicode functions in unicode.c, and tidy their names.Damien George