aboutsummaryrefslogtreecommitdiff
path: root/py/objstr.c
AgeCommit message (Expand)Author
2014-08-11py, objstr: Optimise bytes subscr when unicode is enabled.Damien George
2014-08-11objstr: Make sure that bytes are indexed as bytes, not as unicode.Paul Sokolovsky
2014-08-10objstr: split(): check arg type consistency (str vs bytes).Paul Sokolovsky
2014-07-31py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.Damien George
2014-07-31py: Add mp_obj_str_builder_end_with_len.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-28py: Make unichar_charlen() accept/return machine_uint_t.Paul Sokolovsky
2014-06-28py: Small comments, name changes, use of machine_int_t.Damien George
2014-06-27objstrunicode: Refactor str_index_to_ptr() following objstr.Paul Sokolovsky
2014-06-27objstr: 64-bit issues.Paul Sokolovsky
2014-06-27objstr: find(), rfind(), index(): Make return value be unicode-aware.Paul Sokolovsky
2014-06-27objstrunicode: Re-add buffer protocol back for now, required for io.StringIO.Paul Sokolovsky
2014-06-27py: Make MICROPY_PY_BUILTINS_STR_UNICODE=1 buildable.Paul Sokolovsky
2014-06-27py: Prune unneeded code from objstrunicode, reuse code in objstr.Paul Sokolovsky
2014-06-14objstr: Refactor to work with char pointers instead of indexes.Paul Sokolovsky
2014-06-14objstr: Be 8-bit clean even for repr().Paul Sokolovsky
2014-06-08py: Make sure getattr() works with non-interned strings (by interning them).Paul Sokolovsky
2014-06-05Fix str.modulo when precision is specified.Dave Hylands
2014-06-05py: Raise TypeError when trying to format non-int with %x,%o,%X.Damien George
2014-06-05py: Small changes to objstr.c, including a bug fix.Damien George
2014-06-05objstr: Implement "%(key)s" % {} formatting for strings and dicts.Paul Sokolovsky
2014-06-05Replace assert(0) with a self-documenting TODO stringChris Angelico
2014-06-04Simplify detection of quote characters in mp_str_print_quoted.Chris Angelico
2014-06-01py, str: Replace enum with actual function pointer.Damien George
2014-06-01Rename bultins config variables to MICROPY_PY_BUILTINS_*.Damien George
2014-05-31objstr: str_uni_istype(): Spurious whitespace on empty lines.Paul Sokolovsky
2014-05-31objstr: str_uni_istype(): Codestyle.Paul Sokolovsky
2014-05-31add methods isspace(), isalpha(), isdigit(), isupper() and islower() to strKim Bauters
2014-05-30objstr: *strip(): If nothing is stripped, don't create dup string.Paul Sokolovsky
2014-05-30objstr: *strip(): Fix handling of one-char subject strings.Paul Sokolovsky
2014-05-25py: Slightly improve efficiency of mp_obj_new_str; rename str_new.Damien George
2014-05-25Change const byte* to const char* where sensible.Damien George
2014-05-25objlist: Implement support for arbitrary (3-arg) slices.Paul Sokolovsky
2014-05-25py: Refactor slice helpers, preparing to support arbitrary slicing.Paul Sokolovsky
2014-05-25py: Handle case of slice start > stop in common sequence function.Paul Sokolovsky
2014-05-25objslice: Support arbitrary objects start, stop, and step.Paul Sokolovsky
2014-05-24Rename configuration variables controling Python features.Damien George
2014-05-24objstr: Implement .endswith().Paul Sokolovsky
2014-05-21py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL.Damien George
2014-05-15objstr: startswith(): Accept optional "start" arg.Paul Sokolovsky
2014-05-15py: Implement more complete bytes comparison handling.Paul Sokolovsky
2014-05-15objstringio: Implement io.BytesIO.Paul Sokolovsky
2014-05-14objstr.c: Partial implementation of .rsplit().Paul Sokolovsky
2014-05-13py, unix: Add copyright for modules I worked closely on.Paul Sokolovsky
2014-05-11objstr: Slice indexing: support bytes properly.Paul Sokolovsky
2014-05-11objstr: Make .split() support bytes.Paul Sokolovsky
2014-05-11objstr: Make .join() support bytes.Paul Sokolovsky
2014-05-11py: Give up and make mp_obj_str_get_data() deal with bytes too.Paul Sokolovsky
2014-05-11objstr: Make *strip() accept bytes.Paul Sokolovsky
2014-05-11objstr: Make .[r]partition() work with bytes.Paul Sokolovsky