1435 Commits (539681fffd96082ca3b5d18643d4f08f65c47170)

Author SHA1 Message Date
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
Paul Sokolovsky a96cc824bd py: Support arm and thumb ARM ISAs, in addition to thumb2. 11 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
mux 5c8db48541 Fix asser_func warning/error 11 years ago
Paul Sokolovsky 4c4b9d15ab mkrules.mk: Pass $(COPT) to link stage. 11 years ago
Paul Sokolovsky 0fc7efb663 makefile: Pass STRIPFLAGS_EXTRA to strip. 11 years ago
Paul Sokolovsky 3b6f7b95eb py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT. 11 years ago