aboutsummaryrefslogtreecommitdiff
path: root/py/makeqstrdata.py
AgeCommit message (Expand)Author
2022-02-11py/qstr: Separate hash and len from string data.Artyom Skrobov
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-09-26py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd
2019-07-12py/makeqstrdata.py: Allow using \r\n as a qstr if a port requires it.Paul m. p. P
2019-03-05py/persistentcode: Define static qstr set to reduce size of mpy files.Damien George
2018-05-10py/modbuiltins: Make built-in dir support the __dir__ special method.Damien George
2017-10-21py/objtype: Fit qstrs for special methods in byte type.Paul Sokolovsky
2016-09-02py/makeqstrdata.py: Compute the qstr hash from bytes, not characters.Damien George
2016-05-23py/makeqstrdata.py: Allow to have double-quote characters in qstrs.Damien George
2016-04-14py/makeqstrdata: Add special case to handle \n qstr.Damien George
2016-04-14py/makeqstrdata: Reinstate Python2 compatibility.Damien George
2016-04-14py/makeqstrdata: Fix rendering of qstrs that have non-printable ASCII.Damien George
2016-04-13py/makeqstrdata: Add more names for escaped chars and esc non-printable.Damien George
2016-04-13py/makeqstrdata: Factor out some code to functions that can be reused.Damien George
2015-10-11py/makeqstrdata.py: Catch and report case of empty input file.Paul Sokolovsky
2015-09-03stmhal: add option to query for the current usb modeTony Abboud
2015-07-31makeqstrdata.py: Typo fix in comment.Paul Sokolovsky
2015-07-20py: Make qstr hash size configurable, defaults to 2 bytes.Damien George
2015-05-30py: Get makeqstrdata.py and makeversionhdr.py running under Python 2.6.Damien George
2015-04-02makeqstrdata.py: Add support for strings with backslash escapes.Paul Sokolovsky
2015-01-11py/makeqstrdata.py: Make it work again with both Python2 and Python3.Damien George
2015-01-11py: Add MICROPY_QSTR_BYTES_IN_LEN config option, defaulting to 1.Damien George
2015-01-11py: Add qstr cfg capability; generate QSTR_NULL and QSTR_ from script.Damien George
2015-01-11py/makeqstrdata.py: Add more allowed qstr characters; escape quot.Damien George
2014-09-05py: Use % str formatting instead of {} in makeqstrdata.py.Damien George
2014-06-07Bring the C and Python compute_hash functions into consistencyChris Angelico
2014-05-03More relaxed parsing of preprocessed qstr headerstijn
2014-04-27py: Add '*' qstr for 'import *'; use blank qstr for comprehension arg.Damien George
2014-04-15py: Add builtin functions bin and oct, and some tests for them.Damien George
2014-04-15py: Fix builtin hex to print prefix.Damien George
2014-04-15py: Add hex builtin function.Damien George
2014-04-14py: Clean up and add comments to makeqstrdata.Damien George
2014-04-13py: Modify makeqstrdata to recognise better the output of CPP.Damien George
2014-04-13objstr: Add str.encode() and bytes.decode() methods.Paul Sokolovsky
2014-04-12py: Preprocess qstrdefs.h before feeding to makeqstrdata.py.Paul Sokolovsky
2014-04-12Revert "makeqstrdata.py: Add support for conditionally defined qstrs."Paul Sokolovsky
2014-04-10makeqstrdata.py: Add support for conditionally defined qstrs.Paul Sokolovsky
2014-03-25py: Replace naive and teribble hash function with djb2.Damien George
2014-03-10Fix makeqstrdata.py to work in Python 2.7Dave Hylands
2014-03-08makeqstrdata: print error to stderr.Damien George
2014-02-18stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"].Paul Sokolovsky
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
2014-01-24Retain file order of qstr definitions.Damien George
2014-01-24Allow qstr's with non-ident chars, construct good identifier for them.Paul Sokolovsky
2014-01-21Fix malformed generated file when using python 2.7Dave Hylands
2014-01-21Revamp qstrs: they now include length and hash.Damien George