23 Commits (b230a86d332376d15b61636111ce47c90a5ab54a)

Author SHA1 Message Date
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 4dea922610 py: Adjust some spaces in code style/format, purely for consistency. 10 years ago
Paul Sokolovsky ac2f7a7f6a objstr: Add .splitlines() method. 10 years ago
Paul Sokolovsky 8705171233 objstr: Expose mp_obj_str_split() for reuse in other modules. 10 years ago
Paul Sokolovsky 344e15b1ae objstr: Remove code duplication and unbreak Windows build. 10 years ago
Paul Sokolovsky c114496641 objstr: Implement kwargs support for str.format(). 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 39dc145478 py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. 10 years ago
Damien George cde0ca21bf py: Simplify JSON str printing (while still conforming to JSON spec). 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George 4d91723587 py: Remove use of int type in obj.h. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George 26a0d4f4f1 py: Change hash and len members of str from 16 bit to full word. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George e04a44e2f6 py: Small comments, name changes, use of machine_int_t. 11 years ago
Paul Sokolovsky ea2c936c7e objstrunicode: Refactor str_index_to_ptr() following objstr. 11 years ago
Paul Sokolovsky cdc020da4b objstrunicode: Re-add buffer protocol back for now, required for io.StringIO. 11 years ago
Paul Sokolovsky 9731912ccb py: Prune unneeded code from objstrunicode, reuse code in objstr. 11 years ago
Damien George f600a6a085 py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 11 years ago
Paul Sokolovsky a47b64ae2d objstringio: Implement io.BytesIO. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 897fe0c0d0 py: Add builtin functions bin and oct, and some tests for them. 11 years ago
Paul Sokolovsky 58676fc2c7 objstr: Allow to define statically allocated str objects. 11 years ago