summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstr.c
Commit message (Expand)AuthorAge
* py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George2016-01-11
* py: Change type signature of builtin funs that take variable or kw args.Damien George2016-01-11
* py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George2016-01-11
* py/objstr: In str.format, handle case of no format spec for string arg.Damien George2016-01-04
* py: Use polymorphic iterator type where possible to reduce code size.Damien George2016-01-03
* py/objstr: Applying % (format) operator to bytes should return bytes, not str.Paul Sokolovsky2015-12-20
* py/objstr: Make sure that b"%s" % b"foo" uses undecorated bytes value.Paul Sokolovsky2015-12-20
* py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George2015-11-29
* py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George2015-11-29
* py: Change qstr_* functions to use size_t as the type for str len arg.Damien George2015-11-29
* py: With obj repr "C", change raw str accessor from macro to function.Damien George2015-10-20
* py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George2015-10-20
* py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky2015-10-11
* py: Eliminate some cases which trigger unused parameter warnings.Damien George2015-09-04
* py/objstr: Check for keyword args before checking for no posn args.Damien George2015-09-04
* py/objstr: For str.endswith(s, start) raise NotImpl instead of assert.Damien George2015-09-04
* py: Use mp_not_implemented consistently for not implemented features.Damien George2015-09-03
* py/objstr: Simplify printing of bytes objects when unicode enabled.Damien George2015-09-03
* py: Inline single use of mp_obj_str_get_len in mp_obj_len_maybe.Damien George2015-09-03
* py/objstr: Make str.rsplit(None,n) raise NotImpl instead of assert(0).Damien George2015-09-01
* py/objstr: Simplify error handling for bad conversion specifier.Damien George2015-08-30
* py/objstr: Fix error reporting for unexpected end of modulo format str.Damien George2015-08-29
* py/objstr: Fix error type for badly formatted format specifier.Damien George2015-08-29
* py/objstr: Make string formatting 8-bit clean.Damien George2015-08-29
* py: Prevent many extra vstr allocations.Dave Hylands2015-07-06
* objstr: Add note that replace() is nicely optimized.Paul Sokolovsky2015-06-26
* py: Remove unnecessary extra handling of padding of nan/inf.Damien George2015-05-28
* py: Clean up declarations of str type/funcs that are also in unicode.Damien George2015-05-17
* py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George2015-05-12
* py: Add optional code to check bytes constructor values are in range.Damien George2015-04-23
* py: Overhaul and simplify printf/pfenv mechanism.Damien George2015-04-16
* objstr: split(None): Fix whitespace properly.Paul Sokolovsky2015-04-12
* py: Some trivial cosmetic changes, for code style consistency.Damien George2015-04-04
* objstr: Fix bugs introduced by inability to have shadow variables.Paul Sokolovsky2015-04-04
* objstr: Avoid variable shadowing.Paul Sokolovsky2015-04-04
* objstr: Add .splitlines() method.Paul Sokolovsky2015-04-04
* objstr: Expose mp_obj_str_split() for reuse in other modules.Paul Sokolovsky2015-03-23
* py: Remove unnecessary and unused sgn argument from pfenv_print_mp_int.Damien George2015-03-14
* objstr: Fix bytes creation from array of long ints.Paul Sokolovsky2015-02-09
* py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str.Damien George2015-01-29
* py: Change vstr so that it doesn't null terminate buffer by default.Damien George2015-01-28
* py: bytes(): Make sure we add values as bytes, not as chars.Paul Sokolovsky2015-01-28
* py: Remove duplicated mp_obj_str_make_new function from objstrunicode.c.Damien George2015-01-28
* objstr: Remove code duplication and unbreak Windows build.Paul Sokolovsky2015-01-23
* objstr*: Use separate names for locals_dict of 8-bit and unicode str's.Paul Sokolovsky2015-01-23
* py: Add comments for vstr_init and mp_obj_new_str.Damien George2015-01-21
* py: Remove mp_obj_str_builder and use vstr instead.Damien George2015-01-21
* py: Add mp_obj_new_str_from_vstr, and use it where relevant.Damien George2015-01-21
* py, unix: Allow to compile with -Wunused-parameter.Damien George2015-01-20
* py, unix, stmhal: Allow to compile with -Wshadow.Damien George2015-01-20