aboutsummaryrefslogtreecommitdiff
path: root/py/objstr.c
AgeCommit message (Expand)Author
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
2014-05-10py: Fix prefix on few sequence helpers, was incorrectly "mp_".Paul Sokolovsky
2014-05-10objstr: Implement .lower() and .upper().Paul Sokolovsky
2014-05-10py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED.Damien George
2014-05-10bytes: Implement comparison and other binary operations.Paul Sokolovsky
2014-05-06py: bytes(), str(): Add NotImplementedError for kwargs.Paul Sokolovsky
2014-05-03Add license header to (almost) all files.Damien George
2014-05-02py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-30py: Abstract no-return attribute for functions a bit.Paul Sokolovsky
2014-04-26objstr: Optimize .rstrip() by scanning string from end.Paul Sokolovsky
2014-04-26objstr: Implement .lstrip() & .rstrip().Paul Sokolovsky
2014-04-19objstr: Init hash in mp_obj_str_builder_start() to 0.Paul Sokolovsky
2014-04-18py: Add typecode to buffer protocol.Damien George
2014-04-17py: Add MP_OBJ_STOP_ITERATION and make good use of it.Damien George
2014-04-17py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr.Damien George
2014-04-15py: Add len(bytes).Damien George
2014-04-15py: Add builtin functions bin and oct, and some tests for them.Damien George
2014-04-14Make USE_COMPUTED_GOTO a config option in mpconfig.h.Damien George
2014-04-14objstr: Allow to define statically allocated str objects.Paul Sokolovsky
2014-04-14qstr, objstr: Make sure that valid hash != 0, treat 0 as "not computed".Paul Sokolovsky
2014-04-13py: Make bytes type hashable.Paul Sokolovsky
2014-04-13objstr: Add str.encode() and bytes.decode() methods.Paul Sokolovsky
2014-04-11py: Simplify and improve mp_get_index.Damien George
2014-04-10objstr: Add TODO-optimize for using .join with arbitrary iterable.Paul Sokolovsky