29 Commits (8762fe8b4c6a7608d48daa8458e6501fafd3eafc)

Author SHA1 Message Date
Angus Gratton decf8e6a8b all: Remove the "STATIC" macro and just use "static" instead. 8 months ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Yonatan Goldschmidt df5c3bd976 py/unicode: Add unichar_isalnum(). 5 years ago
Damien George 7c85c7c210 py/unicode: Fix check for valid utf8 being stricter about contn chars. 6 years ago
Damien George 19aee9438a py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions. 7 years ago
tll 68c28174d0 py/objstr: Add check for valid UTF-8 when making a str from bytes. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George afc5063539 py/unicode: Comment-out unused function unichar_isprint. 8 years ago
Alex March 69d9e7d27d py/repl: Check for an identifier char after the keyword. 9 years ago
Dave Hylands afaa66b657 py: Minor improvement to unichar_isxdigit 10 years ago
Dave Hylands 3ad94d6072 extmod: Add ubinascii.unhexlify 10 years ago
Damien George 4dea922610 py: Adjust some spaces in code style/format, purely for consistency. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 5318cc028a py: Tidy up a few function declarations. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 9e215fa4c2 py: Make unichar_charlen() accept/return machine_uint_t. 11 years ago
Damien George e04a44e2f6 py: Small comments, name changes, use of machine_int_t. 11 years ago
Paul Sokolovsky 1044c3dfe6 unicode: Make get_char()/next_char()/charlen() be 8-bit compatible. 11 years ago
Paul Sokolovsky 46d31e9ca9 unicode: Add utf8_ptr_to_index(). 11 years ago
Chris Angelico c88987c1af py: Implement basic unicode functions. 11 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Paul Sokolovsky b0bb458810 unicode: String API is const byte*. 11 years ago
Damien George c59af52e84 py: Rename some unichar functions for consistency. 11 years ago
Paul Sokolovsky 6913521911 objstr: Implement .lower() and .upper(). 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 175cecfa87 py: Make form-feed character a space (following C isspace). 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Paul Sokolovsky 0b7184dcb8 Implement octal and hex escapes in strings. 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien George 8cc96a35e5 Put unicode functions in unicode.c, and tidy their names. 11 years ago
Damien 429d71943d Initial commit. 11 years ago