aboutsummaryrefslogtreecommitdiff
path: root/py/binary.c
AgeCommit message (Expand)Author
2021-06-24all: Fix signed shifts and NULL access errors from -fsanitize=undefined.Jeff Epler
2021-02-04all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD.Damien George
2020-11-11py/binary: Fix sign extension setting wide integer on 32-bit archs.Damien George
2020-04-18all: Fix implicit floating point to integer conversions.stijn
2020-04-18all: Fix implicit conversion from double to float.stijn
2020-04-18all: Fix implicit floating point promotion.stijn
2020-04-18Revert "all: Fix implicit casts of float/double, and signed comparison."stijn
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-03-30all: Fix implicit casts of float/double, and signed comparison.David Lechner
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28py: Removing dangling "else" to improve code format consistency.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
2019-05-17various: Update early copyright years to match actual edit history.Damien George
2019-05-17various: Add and update my copyright line based on git history.Paul Sokolovsky
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2017-11-16py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.Damien George
2017-08-15py/binary.c: Fix bug when packing big-endian 'Q' values.Bas van Sisseren
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-04py/binary: Add missing "break" statements.Damien George
2017-05-09py/binary: Handle storing big-ints to all arrays types.Damien George
2017-01-17py/binary: mp_binary_get_size: Raise error on unsupported typecodes.Paul Sokolovsky
2016-12-12py/binary: Do zero extension when storing a value larger than word size.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-27py/binary: Make use of MP_ALIGN.Damien George
2015-10-12py/objarray: Allow to create array of void pointers, as extension to CPython.Paul Sokolovsky
2015-09-01py/binary: Add support for array('q') and array('Q').Damien George
2015-05-17py/binary: Make return type of mp_binary_get_size size_t instead of int.Kaspar Schleiser
2015-04-25py: Fix handling of negative numbers in struct.pack of q/Q.Damien George
2015-04-25py: Support conversion of bignum to bytes.Damien George
2015-03-05objarray: Support array('O'), array of objects, as extension to CPython.Paul Sokolovsky
2015-01-27py: Add support for floats in mp_binary_{get,set}_val()David Steinberg
2015-01-24binary: Rework array accessors. They work with native, not stdint types.Paul Sokolovsky
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-05py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.Damien George
2014-11-21py: Add support for float/double arrays in array module.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-09-10py: Enable struct/binary-helper to parse q and Q sized ints.Damien George
2014-09-06modstruct: Implement 'O', 'P', 's' types for packed structs.Paul Sokolovsky
2014-08-30py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.Damien George
2014-08-10py: binary.c: Properly implement alignment for native unpacked structs.Paul Sokolovsky
2014-07-05binary: Factor out mp_binary_set_int().Paul Sokolovsky
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-26binary: machine_uint_t vs uint dichotomy starts doing real damage.Paul Sokolovsky
2014-06-25modstruct: Fix alignment handling issues.Paul Sokolovsky
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
2014-06-02modstruct: Add one more extension to typecodes - 'S', a pointer to C string.Paul Sokolovsky