aboutsummaryrefslogtreecommitdiff
path: root/py/objstr.c
AgeCommit message (Expand)Author
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
2015-10-20py: With obj repr "C", change raw str accessor from macro to function.Damien George
2015-10-20py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George
2015-10-11py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky
2015-09-04py: Eliminate some cases which trigger unused parameter warnings.Damien George
2015-09-04py/objstr: Check for keyword args before checking for no posn args.Damien George
2015-09-04py/objstr: For str.endswith(s, start) raise NotImpl instead of assert.Damien George
2015-09-03py: Use mp_not_implemented consistently for not implemented features.Damien George
2015-09-03py/objstr: Simplify printing of bytes objects when unicode enabled.Damien George
2015-09-03py: Inline single use of mp_obj_str_get_len in mp_obj_len_maybe.Damien George
2015-09-01py/objstr: Make str.rsplit(None,n) raise NotImpl instead of assert(0).Damien George