102 Commits (659113825d10bf2ae71dd215a8597451e505982d)

Author SHA1 Message Date
stijn 07bf3179f6 py/misc: Fix msvc and C++ compatibility. 4 months ago
Angus Gratton 908ab1ceca py/objint: Fix int.to_bytes() buffer size checks. 11 months ago
Angus Gratton d933210d96 py/misc: Move mp_clz and mp_ctz intrinsics into misc.h. 7 months ago
Damien George 9716171966 py/misc: Remove m_new_obj[_var]_with_finaliser macros. 9 months ago
stijn a968888f69 py/obj: Fix mp_obj_is_type compilation with C++. 12 months ago
Jim Mussared b6a9778484 py/misc: Change sizeof to offsetof for variable-length alloc. 1 year ago
David Lechner ab317a0d66 py/misc: Remove use of bitfield from vstr_t. 2 years ago
Jim Mussared 165388e4eb py/objtype: Optimise slot RAM usage for instance types. 2 years ago
Dan Ellis 6f4d424f46 py/formatfloat: Use pow(10, e) instead of pos/neg_pow lookup tables. 2 years ago
stijn 1f16d682da py/misc: Fix msvc compilation with compressed error messages. 2 years ago
Yonatan Goldschmidt 6670281472 py/misc: Add MP_STATIC_ASSERT_NOT_MSC(). 2 years ago
Damien George fca5701f74 py/malloc: Introduce m_tracked_calloc, m_tracked_free functions. 3 years ago
Jim Mussared e64cda5295 stm32: Add implementation of machine.bitstream. 3 years ago
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
Jim Mussared 0e8af2b370 extmod/modbluetooth: Add API for L2CAP channels. 4 years ago
stijn e498a8bd13 py: Workaround clang error when building misc.h with C++ compiler. 4 years ago
Damien George 6164c7e666 py/misc.h: Add missing semi-colon in mp_float_union_t for big-endian. 4 years ago
Damien George 2725a79192 py: Always give noop defines when MICROPY_ROM_TEXT_COMPRESSION disabled. 5 years ago
Jim Mussared 154b4eb354 py: Implement "common word" compression scheme for error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George ce39c958ef py: Factor out definition of mp_float_union_t to one location. 5 years ago
Yonatan Goldschmidt df5c3bd976 py/unicode: Add unichar_isalnum(). 5 years ago
Damien George c0a1de3c21 py/misc.h: Rename _MP_STRINGIFY to not use leading underscore in ident. 6 years ago
Damien George 43d08d6dd6 py/misc.h: Add MP_STATIC_ASSERT macro to do static assertions. 7 years ago
Damien George d4b55eff44 py/misc.h: Remove unused count_lead_ones() inline function. 7 years ago
Damien George 19aee9438a py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions. 7 years ago
Paul Sokolovsky 75d3c046da py/misc.h: Add m_new_obj_var_with_finaliser(). 7 years ago
Damien George ca21aed0a1 py: Make m_malloc_fail() have void return type, since it doesn't return. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George 2138258fea py/runtime: Mark m_malloc_fail() as NORETURN. 7 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 8 years ago
Paul Sokolovsky 25f44c19f1 cc3200: Re-add support for UART REPL (MICROPY_STDIO_UART setting). 8 years ago
Paul Sokolovsky cf96be60dc py/misc.h: Typo fix in comment. 8 years ago
Damien George 824f5c5a32 py/vstr: Combine vstr_new_size with vstr_new since they are rarely used. 8 years ago
Damien George 5da0d29d3c py/vstr: Remove vstr.had_error flag and inline basic vstr functions. 8 years ago
Alex March 69d9e7d27d py/repl: Check for an identifier char after the keyword. 9 years ago
Paul Sokolovsky 946f870e3c py/misc.h: Include stdint.h only once (unconditionally at the top). 9 years ago
Paul Sokolovsky 9f001b09a8 py/misc.h: Include stdint.h, as large share of code now depends on it. 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 ade9a05236 py: Improve allocation policy of qstr data. 10 years ago
Dave Hylands 3ad94d6072 extmod: Add ubinascii.unhexlify 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George d891452a73 py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API. 10 years ago
Damien George 827b0f747b py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str. 10 years ago
Damien George 0d3cb6726d py: Change vstr so that it doesn't null terminate buffer by default. 10 years ago
Damien George 16677ce311 py: Be more precise about unicode type and disabled unicode behaviour. 10 years ago
David Steinberg c585ad1020 py: Move mp_float_t related defines to misc.h 10 years ago
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead. 10 years ago
Damien George 0b9ee86133 py: Add mp_obj_new_str_from_vstr, and use it where relevant. 10 years ago