68 Commits (85c51a548fc83d0776029b01b1be3748f82e296a)

Author SHA1 Message Date
Damien George ad4656b861 all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD. 4 years ago
Damien George d7e1526593 py/binary: Fix sign extension setting wide integer on 32-bit archs. 4 years ago
stijn 70affd9ba2 all: Fix implicit floating point to integer conversions. 5 years ago
stijn bcf01d1686 all: Fix implicit conversion from double to float. 5 years ago
stijn 0ba68f8a1d all: Fix implicit floating point promotion. 5 years ago
stijn b909e8b2dd Revert "all: Fix implicit casts of float/double, and signed comparison." 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
David Lechner a2110bd3fc all: Fix implicit casts of float/double, and signed comparison. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George a1b18b3ba7 py: Removing dangling "else" to improve code format consistency. 5 years ago
Damien George c348e79187 py/binary: Change mp_uint_t to size_t for index, size, align args. 5 years ago
Damien George 24c3e9b283 py/modstruct: Fix struct.pack_into with unaligned offset of native type. 5 years ago
Tom McDermott 1022f9cc35 py/modstruct: Fix struct.unpack with unaligned offset of native type. 5 years ago
Damien George 653e1756c0 various: Update early copyright years to match actual edit history. 6 years ago
Paul Sokolovsky 016d9a40fe various: Add and update my copyright line based on git history. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
Bas van Sisseren a14ce77b28 py/binary.c: Fix bug when packing big-endian 'Q' values. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 9aeba3e41b py/binary: Add missing "break" statements. 7 years ago
Damien George 6cfa61a4cc py/binary: Handle storing big-ints to all arrays types. 8 years ago
Paul Sokolovsky af90461931 py/binary: mp_binary_get_size: Raise error on unsupported typecodes. 8 years ago
Damien George a3c61004c2 py/binary: Do zero extension when storing a value larger than word size. 8 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George 88a9103b3c py/binary: Make use of MP_ALIGN. 9 years ago
Paul Sokolovsky 91fc075a33 py/objarray: Allow to create array of void pointers, as extension to CPython. 9 years ago
Damien George 81794fcd31 py/binary: Add support for array('q') and array('Q'). 9 years ago
Kaspar Schleiser f5dd6f7f37 py/binary: Make return type of mp_binary_get_size size_t instead of int. 10 years ago
Damien George 9472907ae1 py: Fix handling of negative numbers in struct.pack of q/Q. 10 years ago
Damien George 271d18eb08 py: Support conversion of bignum to bytes. 10 years ago
Paul Sokolovsky 24c1000741 objarray: Support array('O'), array of objects, as extension to CPython. 10 years ago
David Steinberg 0b3014ce3a py: Add support for floats in mp_binary_{get,set}_val() 10 years ago
Paul Sokolovsky 91232d3850 binary: Rework array accessors. They work with native, not stdint types. 10 years ago
Damien George 963a5a3e82 py, unix: Allow to compile with -Wsign-compare. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George be6d8be91e py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 10 years ago
Damien George c9f8f653ad py: Add support for float/double arrays in array module. 10 years ago
Damien George 9336ee320a py: Make mp_binary_set_val work on big endian machine. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George 953074315e py: Enable struct/binary-helper to parse q and Q sized ints. 10 years ago
Paul Sokolovsky 78fde4819c modstruct: Implement 'O', 'P', 's' types for packed structs. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Paul Sokolovsky ecca53bd34 py: binary.c: Properly implement alignment for native unpacked structs. 10 years ago
Paul Sokolovsky 5fa5ca40e6 binary: Factor out mp_binary_set_int(). 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky f3de62e6c2 binary: machine_uint_t vs uint dichotomy starts doing real damage. 11 years ago
Paul Sokolovsky 7a2f166949 modstruct: Fix alignment handling issues. 11 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Paul Sokolovsky 62798831be modstruct: Add one more extension to typecodes - 'S', a pointer to C string. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago