summaryrefslogtreecommitdiff
path: root/py/objstr.c
AgeCommit message (Expand)Author
2017-08-13all: Raise exceptions via mp_raise_XXXJavier Candeira
2017-08-09py/objstr: Raise an exception for wrong type on RHS of str binary op.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-04py/objstr: Remove unnecessary "sign" variable in formatting code.Damien George
2017-07-02py/objstr: Move uPy function wrappers to just after the C function.Damien George
2017-06-08py/objstr: Allow to compile with obj-repr D, and unicode disabled.Damien George
2017-06-02py/objstr: Catch case of negative "maxsplit" arg to str.rsplit().Damien George
2017-05-29various: Spelling fixesVille Skyttä
2017-04-02py/objstr: Use MICROPY_FULL_CHECKS for range checking when constructing bytes.Paul Sokolovsky
2017-03-29py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.Damien George
2017-03-29py: Convert mp_uint_t to size_t for tuple/list accessors.Damien George
2017-03-23py: Use size_t as len argument and return type of mp_get_index.Damien George
2017-03-20py/objstr: Use better msg in bad implicit str/bytes conversion exceptionstijn
2017-03-16py/objstr: Fix eager optimisation of str/bytes addition.Damien George
2017-03-07py: Use mp_obj_get_array where sequence may be a tuple or a list.Krzysztof Blazewicz
2017-02-16py: Add iter_buf to getiter type method.Damien George
2017-02-16py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate.Damien George
2017-02-03py/objstr: Convert some instances of mp_uint_t to size_t.Damien George
2017-02-03py/objstr: Give correct behaviour when passing a dict to %-formatting.Damien George
2017-01-27py/objstr: Optimize string concatenation with empty string.Paul Sokolovsky
2016-09-27py/objstr: Remove unreachable function used only for terse error msgs.Damien George
2016-09-02py: If str/bytes hash is 0 then explicitly compute it.Damien George
2016-08-14py/objstr: Use mp_raise_{Type,Value}Error instead of mp_raise_msg.Damien George
2016-08-12py: Get rid of assert() in method argument checking functions.Paul Sokolovsky
2016-08-12py/runtime: Factor out exception raising helpers.Paul Sokolovsky
2016-08-07py/objstr,objstrunicode: Fix inconistent #if indentation.Paul Sokolovsky
2016-08-07py/objstr: Make .partition()/.rpartition() methods configurable.Paul Sokolovsky
2016-05-22py/objstr: Fix mix-signed comparison in str.center().Paul Sokolovsky
2016-05-22py/objstr*: Properly ifdef str.center().Dave Hylands
2016-05-22py/objstr: Implement str.center().Paul Sokolovsky
2016-05-13py/objstr: Make dedicated splitlines function, supporting diff newlines.Damien George
2016-05-09Revert "py/objstr: .format(): Avoid call to vstr_null_terminated_str()."Paul Sokolovsky
2016-05-09py/objstr: .format(): Avoid call to vstr_null_terminated_str().Paul Sokolovsky
2016-05-07py/objstr: Binary type of str/bytes for buffer protocol is 'B'.Damien George
2016-04-14py/makeqstrdata: Add special case to handle \n qstr.Damien George
2016-02-14py/objarray: Implement "in" operator for bytearray.Paul Sokolovsky
2016-02-02py/objstr: Make mp_obj_str_format_helper static.Damien George
2016-02-02py/objstr: For str.format, don't allocate on the heap for field name.Damien George
2016-02-02py/objstr: For str.format, add nested/computed fields support.pohmelie
2016-01-13py: Use new code pattern for parsing kw args with mp_arg_parse_all.Damien George
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2016-01-04py/objstr: In str.format, handle case of no format spec for string arg.Damien George
2016-01-03py: Use polymorphic iterator type where possible to reduce code size.Damien George
2015-12-20py/objstr: Applying % (format) operator to bytes should return bytes, not str.Paul Sokolovsky
2015-12-20py/objstr: Make sure that b"%s" % b"foo" uses undecorated bytes value.Paul Sokolovsky
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-11-29py: Change qstr_* functions to use size_t as the type for str len arg.Damien George