aboutsummaryrefslogtreecommitdiff
path: root/py/modstruct.c
AgeCommit message (Expand)Author
2022-05-18py: Make builtin modules use MP_REGISTER_MODULE.Jim Mussared
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-09-02py/binary: Change mp_uint_t to size_t for index, size, align args.Damien George
2019-09-02py/modstruct: Fix struct.pack_into with unaligned offset of native type.Damien George
2019-09-02py/modstruct: Fix struct.unpack with unaligned offset of native type.Tom McDermott
2017-09-01py/modstruct: Check and prevent buffer-write overflow in struct packing.Damien George
2017-09-01py/modstruct: Check and prevent buffer-read overflow in struct unpackingDamien George
2017-09-01py/modstruct: In struct.pack, stop converting if there are no args left.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-01-17py/binary: mp_binary_get_size: Raise error on unsupported typecodes.Paul Sokolovsky
2016-10-07py/modstruct: Remove unreachable code, and add comment about CPy diff.Damien George
2016-09-22all: Remove 'name' member from mp_obj_module_t struct.Damien George
2016-08-26py/modstruct: Use more compact mp_raise_ValueError function.Damien George
2016-05-28py/modstruct: Allow to have "0s" in struct format.Damien George
2016-05-14py/modstruct: Raise ValueError on unsupported format char.Paul Sokolovsky
2016-01-19py: Add ustruct.pack_into and unpack_fromDave Hylands
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-10-31py/modstruct: Support repetition counters for all types, not just string.Paul Sokolovsky
2015-07-05modstruct: Raise NotImplementedError for unsupported repeat specification.Paul Sokolovsky
2015-05-04modstruct: Rename module to "ustruct", to allow full Python-level impl.Paul Sokolovsky
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
2015-01-21py: Remove mp_obj_str_builder and use vstr instead.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-11-29Use MP_DEFINE_CONST_DICT macro to define module dicts.Damien George
2014-10-06py: Make mp_binary_set_val work on big endian machine.Damien George
2014-10-03py: Convert [u]int to mp_[u]int_t where appropriate.Damien George
2014-08-30py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
2014-06-19Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot
2014-06-02modstruct: Add one more extension to typecodes - 'S', a pointer to C string.Paul Sokolovsky
2014-05-24Rename configuration variables controling Python features.Damien George
2014-05-20modstruct: struct_calcsize: Fix case of uninitialized var.Paul Sokolovsky
2014-05-13py, unix: Add copyright for modules I worked closely on.Paul Sokolovsky
2014-05-12modstruct: Implement count specifier for strings (e.g. "100s").Paul Sokolovsky
2014-05-11modstruct: Use MP_OBJ_FUN_ARGS_MAX instead of -1.v1.0.1Paul Sokolovsky
2014-05-03Add license header to (almost) all files.Damien George
2014-04-26Add ARRAY_SIZE macro, and use it where possible.Damien George
2014-04-19modstruct: Initial implementation of struct.pack().Paul Sokolovsky
2014-04-19modstruct: Fix .calcsize() to account for struct type/alignment.Paul Sokolovsky
2014-04-18py: Allow to pass buffer protocol flags to get_buffer helper funcs.Damien George
2014-04-18py: Add typecode to buffer protocol.Damien George
2014-04-11modstruct: Basic implementation of native struct alignment and types.Paul Sokolovsky
2014-04-11modstruct: Refactor to support both LE and BE packed structs.Paul Sokolovsky
2014-04-10py: Fix modstruct to compile on 64-bit machine.Damien George
2014-04-10py: Start implementing "struct" module.Paul Sokolovsky