summaryrefslogtreecommitdiff
path: root/py/objstr.c
AgeCommit message (Expand)Author
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
2015-08-30py/objstr: Simplify error handling for bad conversion specifier.Damien George
2015-08-29py/objstr: Fix error reporting for unexpected end of modulo format str.Damien George
2015-08-29py/objstr: Fix error type for badly formatted format specifier.Damien George
2015-08-29py/objstr: Make string formatting 8-bit clean.Damien George
2015-07-06py: Prevent many extra vstr allocations.Dave Hylands
2015-06-26objstr: Add note that replace() is nicely optimized.Paul Sokolovsky
2015-05-28py: Remove unnecessary extra handling of padding of nan/inf.Damien George
2015-05-17py: Clean up declarations of str type/funcs that are also in unicode.Damien George
2015-05-12py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George
2015-04-23py: Add optional code to check bytes constructor values are in range.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-04-12objstr: split(None): Fix whitespace properly.Paul Sokolovsky
2015-04-04py: Some trivial cosmetic changes, for code style consistency.Damien George
2015-04-04objstr: Fix bugs introduced by inability to have shadow variables.Paul Sokolovsky
2015-04-04objstr: Avoid variable shadowing.Paul Sokolovsky
2015-04-04objstr: Add .splitlines() method.Paul Sokolovsky
2015-03-23objstr: Expose mp_obj_str_split() for reuse in other modules.Paul Sokolovsky
2015-03-14py: Remove unnecessary and unused sgn argument from pfenv_print_mp_int.Damien George
2015-02-09objstr: Fix bytes creation from array of long ints.Paul Sokolovsky
2015-01-29py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str.Damien George
2015-01-28py: Change vstr so that it doesn't null terminate buffer by default.Damien George
2015-01-28py: bytes(): Make sure we add values as bytes, not as chars.Paul Sokolovsky
2015-01-28py: Remove duplicated mp_obj_str_make_new function from objstrunicode.c.Damien George
2015-01-23objstr: Remove code duplication and unbreak Windows build.Paul Sokolovsky
2015-01-23objstr*: Use separate names for locals_dict of 8-bit and unicode str's.Paul Sokolovsky
2015-01-21py: Add comments for vstr_init and mp_obj_new_str.Damien George
2015-01-21py: Remove mp_obj_str_builder and use vstr instead.Damien George
2015-01-21py: Add mp_obj_new_str_from_vstr, and use it where relevant.Damien George
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-20py, unix, stmhal: Allow to compile with -Wshadow.Damien George
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-12py, unix: Allow to compile with -Wdouble-promotion.Damien George
2015-01-11py: Remove unnecessary BINARY_OP_EQUAL code that just checks pointers.Damien George
2015-01-04objstr: Common subexpression elimination for vstr_str(field_name).Paul Sokolovsky
2015-01-04objstr: Implement kwargs support for str.format().Paul Sokolovsky
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-31objstr: Fix %d-formatting of floats.Paul Sokolovsky
2014-12-24py: Make bytes objs work with more str methods; add tests.Damien George
2014-12-21py: Use str_to_int function in more places to reduce code size.Damien George
2014-12-10py: Fix function type: () -> (void).Damien George