aboutsummaryrefslogtreecommitdiff
path: root/py/objstr.c
AgeCommit message (Expand)Author
2014-03-22py: Make 'bytes' be a proper type, support standard constructor args.Paul Sokolovsky
2014-03-22py: Make 'str' be a proper type, support standard constructor args.Paul Sokolovsky
2014-03-22objstr: Switch from in-object string data to ptr to separate memory area.Paul Sokolovsky
2014-03-21py: Make str.[r]partition more efficient.Damien George
2014-03-21str.(r)partition: factor out duplicate code.xbe
2014-03-21Implement str.rpartition and add tests for it.xbe
2014-03-21Implement str.partition and add tests for it.xbe
2014-03-17objstr.c: Replace size_t with machine_uint_t.xbe
2014-03-17py: Clean up includes.xbe
2014-03-13py: In string.count, handle case of zero-length needle.Damien George
2014-03-13Fix issues in str.count implementation.xbe
2014-03-12Implement str.count and add tests for it.xbe
2014-03-09py: Make objstr support buffer protocol (read only).Damien George
2014-02-15Implement proper exception type hierarchy.Damien George
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 1.Paul Sokolovsky
2014-02-11objstr: Mark few local symbols as static, cleanup codestyle.Paul Sokolovsky
2014-02-08Make mp_obj_str_get_data return char* instead of byte*.Damien George
2014-02-02Fix assert() usage.Paul Sokolovsky
2014-02-02Implement str/bytes rich comparisons.Paul Sokolovsky
2014-02-02Factor out m_seq_get_fast_slice_indexes() fucntions as sequence helper.Paul Sokolovsky
2014-02-01py: Tidy up BINARY_OPs; negation done by special NOT bytecode.Damien George
2014-01-31py: Make str.replace do 2 passes over the string.Damien George
2014-01-30Implement str.replace and add tests for it.xbe
2014-01-28Factor out quoted string print function for reuse (mp_str_print_quoted()).Paul Sokolovsky
2014-01-25Implement mp_parse_node_free; print properly repr(string).Damien George
2014-01-25py: Implement iterator support for object that has __getitem__.Damien George
2014-01-24Add basic implementation of bytes type, piggybacking on str.Paul Sokolovsky
2014-01-23py: Implement bool unary op; tidy up unary op dispatch.Damien George
2014-01-23Implement simplest case of str.startswith().Paul Sokolovsky
2014-01-22Second stage of qstr revamp: uPy str object can be qstr or not.Damien George
2014-01-21Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-21Revamp qstrs: they now include length and hash.Damien George
2014-01-21Implement str.split(None).Paul Sokolovsky
2014-01-21str: Implement proper string (instead of byte string) indexing.Paul Sokolovsky
2014-01-21Implement string multiplication.Paul Sokolovsky
2014-01-20objstr: More support for MP_OBJ_QSTR.Paul Sokolovsky
2014-01-20Properly print MP_OBJ_QSTR objects.Paul Sokolovsky
2014-01-19Change int to uint for n_args in function with variable arguments.Damien George
2014-01-16str.format: Don't assume that '}' immediately follows '{', skip insides.Paul Sokolovsky
2014-01-15Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-reprDamien George
2014-01-15type->print(): Distinguish str() and repr() variety by passing extra param.Paul Sokolovsky
2014-01-13Merge remote-tracking branch 'upstream/master' into containmentJohn R. Lenton
2014-01-13Consolidate rt_make_function_[0123] to rt_make_function_n.Damien George
2014-01-13Merge pull request #168 from dhylands/add-strstrDamien George
2014-01-13Cleanup built-ins, and fix some compiler warnings/errors.Damien George
2014-01-12Added public domain implementations of strchr and strstr.Dave Hylands
2014-01-13Merge remote-tracking branch 'upstream/master' into containmentJohn R. Lenton
2014-01-12Implement a basic str.find; fixes #67John R. Lenton
2014-01-11Implemented support for `in` and `not in` operators.John R. Lenton