61 Commits (80883a82c0dd40178933eb8a46b2877cb72725b2)

Author SHA1 Message Date
Damien George bdfb584b29 extmod/moductypes: Fix storing to (U)INT64 arrays on 32-bit archs. 4 years ago
Emil Renner Berthing ccd92335a1 py, extmod: Introduce and use MP_FALLTHROUGH macro. 5 years ago
Damien George 7dd480ad55 extmod/moductypes: Use mp_obj_is_dict_or_ordereddict to simplify code. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 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
Damien George 8e048d2548 all: Clean up error strings to use lowercase and change cannot to can't. 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 c13f9f209d all: Convert nlr_raise(mp_obj_new_exception_msg(x)) to mp_raise_msg(x). 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 f03601779e extmod: Convert legacy uppercase macro names to lowercase. 6 years ago
Paul Sokolovsky 38151f35c1 extmod/moductypes: Add aliases for native C types. 6 years ago
Paul Sokolovsky 9d864bde04 extmod/moductypes: Implement __int__ for PTR. 6 years ago
Paul Sokolovsky 2411f42ccb extmod/moductypes: Make sizeof() accept "layout" parameter. 6 years ago
Paul Sokolovsky 9fbd12f2fa extmod/moductypes: Accept OrderedDict as a structure description. 6 years ago
Paul Sokolovsky 18f45d2e23 extmod/moductypes: Remove BITFIELD from aggregate types enum. 6 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Damien George 0f12082f5b py,extmod,stmhal: Use "static inline" for funcs that should be inline. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Paul Sokolovsky 9e8f316392 extmod/moductypes: Fix bigint handling for 32-bit ports. 8 years ago
Stefan Agner b84e1231c9 extmod/uctypes: Allow full 32-bit address range. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George b894551772 extmod/uctypes: Change param type from void* to byte*. 9 years ago
Damien George da161fd9f0 extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types. 9 years ago
Damien George 12154b1774 extmod/uctypes: Use mp_binary_get_val helper when extracting value. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Dave Hylands 66d0c1052a extmod: Fix uctypes size calculation for bitfields 9 years ago
Antonin ENFRUN 26ed00118b uctypes: Implement assignment for scalar array 9 years ago
Paul Sokolovsky d4a874b81e extmod/moductypes: sizeof operation depends on layout type of structure. 9 years ago
Paul Sokolovsky add6f4556e extmod/moductypes: set_aligned(): Handle INT64/UINT64. 9 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 cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky 20f85feecc extmod/moductypes: When dealing with UINT64, use mp_obj_new_int_from_ull(). 9 years ago
Paul Sokolovsky 393d0c1679 extmod/moductypes: Implement buffer protocol. 9 years ago
Paul Sokolovsky 1679696612 moductypes: Swap address and descriptor args in constructor. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George b1bbe966c4 py: Combine load_attr and store_attr type methods into one (attr). 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George abc1959e2c py, unix, lib: Allow to compile with -Wold-style-definition. 10 years ago
Damien George 3765ea419a extmod: Prefix py/ for includes from py core directory. 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 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 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Paul Sokolovsky 8bb71f0b06 moductypes: Make .sizeof() work with bytearrays. 10 years ago