1648 Commits (d1b42d7b51c191d1ab3e44d712bc4b534b2d619e)

Author SHA1 Message Date
Paul Sokolovsky ac736f15c9 stream: Factor out mp_stream_write() method to write a memstring to stream. 10 years ago
Paul Sokolovsky 564e46452d py: Add generic helper to align a pointer. 10 years ago
Paul Sokolovsky 58c9586c34 emitbc: Fix structure field alignment issue. 10 years ago
Paul Sokolovsky 2097c8b1e1 moductypes: Add symbolic constants to specify bitfield position/length. 10 years ago
Paul Sokolovsky 8215847b4d moductypes: Foreign data interface module, roughly based on ctype ideas. 11 years ago
Paul Sokolovsky 5fa5ca40e6 binary: Factor out mp_binary_set_int(). 10 years ago
Damien George 0182385ab0 py: Automatically ake __new__ a staticmethod. 10 years ago
Paul Sokolovsky 4e0eeebdc2 py: Implement sys.maxsize, standard way to check platform "bitness". 11 years ago
Damien George 381618269a parser: Convert (u)int to mp_(u)int_t. 11 years ago
Damien George 54eb4e723e lexer: Convert type (u)int to mp_(u)int_t. 11 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George f0b29729aa py, objexcept: Only check for locked gc if gc is enabled. 11 years ago
Dave Hylands 2fe841d2fa Try not to cause a MemoryError when raising an exception during nterrupt handling. 11 years ago
Paul Sokolovsky caa7334141 stackctrl: Add "mp_" prefix. 11 years ago
Damien George b601d9574a py: Improvements to native emitter. 11 years ago
stijn ec6fa8732b windows: Sync mpconfigport.h with the unix' version 11 years ago
Paul Sokolovsky 9e215fa4c2 py: Make unichar_charlen() accept/return machine_uint_t. 11 years ago
Damien George 8546ce1e28 py: Add missing #endif. 11 years ago
Damien George e04a44e2f6 py: Small comments, name changes, use of machine_int_t. 11 years ago
Paul Sokolovsky 8993fb6cf0 py: Add protection against printing too nested or recursive data structures. 11 years ago
Paul Sokolovsky cb78f862cb py: Allow to disable array module and bytearray type. 11 years ago
Paul Sokolovsky 8a96ebea75 py: Move stack_ctrl_init() to mp_init(). 11 years ago
Paul Sokolovsky f5f6c3b792 streams: Reading by char count from unicode text streams is not implemented. 11 years ago
Paul Sokolovsky ce81312d8a misc: Add count_lead_ones() function, useful for UTF-8 handling. 11 years ago
Paul Sokolovsky ea2c936c7e objstrunicode: Refactor str_index_to_ptr() following objstr. 11 years ago
Paul Sokolovsky 26fda6dc8e objstr: 64-bit issues. 11 years ago
Paul Sokolovsky 00c904b47a objstrunicode: Signedness issues. 11 years ago
Paul Sokolovsky 1044c3dfe6 unicode: Make get_char()/next_char()/charlen() be 8-bit compatible. 11 years ago
Paul Sokolovsky 5048df0b7c objstr: find(), rfind(), index(): Make return value be unicode-aware. 11 years ago
Paul Sokolovsky 46d31e9ca9 unicode: Add utf8_ptr_to_index(). 11 years ago
Paul Sokolovsky ded0fc77f7 py: Add dedicated unicode header. 11 years ago
Paul Sokolovsky 79b7fe2ee5 objstrunicode: Implement iterator. 11 years ago
Paul Sokolovsky cdc020da4b objstrunicode: Re-add buffer protocol back for now, required for io.StringIO. 11 years ago
Paul Sokolovsky e7f2b4c875 objstrunicode: Revamp len() handling for unicode, and optimize bool(). 11 years ago
Paul Sokolovsky 86d3898e70 objstrunicode: Get rid of bytes checking, it's separate type. 11 years ago
Paul Sokolovsky d215ee1dc1 py: Make MICROPY_PY_BUILTINS_STR_UNICODE=1 buildable. 11 years ago
Paul Sokolovsky 9731912ccb py: Prune unneeded code from objstrunicode, reuse code in objstr. 11 years ago
Paul Sokolovsky 165eb69b86 vstr: Restore bytestr compatibility. 11 years ago
Paul Sokolovsky 42a52516fe builtin: Restore bytestr compatibility. 11 years ago
Chris Angelico 2ba2299d28 lexer, vstr: Add unicode support. 11 years ago
Chris Angelico 9a1a4beb56 builtin: ord, chr: Unicode support. 11 years ago
Chris Angelico 64b468d873 objstrunicode: Basic implementation of unicode handling. 11 years ago
Paul Sokolovsky 83865347db objstrunicode: Complete copy of objstr, to be patched for unicode support. 11 years ago
Chris Angelico c88987c1af py: Implement basic unicode functions. 11 years ago
Paul Sokolovsky 12bc13eeb8 mpconfig.h: Add MICROPY_PY_BUILTINS_STR_UNICODE. 11 years ago
Paul Sokolovsky 23668698cb py: Add portable framework to query/check C stack usage. 11 years ago
Paul Sokolovsky f3de62e6c2 binary: machine_uint_t vs uint dichotomy starts doing real damage. 11 years ago
Paul Sokolovsky 7a2f166949 modstruct: Fix alignment handling issues. 11 years ago
Paul Sokolovsky 5aa740c3e2 modgc: Add mem_free()/mem_alloc() methods. 11 years ago
Damien George 780e54cdc3 py: Implement delete_attr in native emitter. 11 years ago