39 Commits (bc23f207cefed82172551288ebb8686ee2c512a3)

Author SHA1 Message Date
Jim Mussared 8a0ee5a5c0 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2 years ago
Jim Mussared 28aaab9590 py/objstr: Add hex/fromhex to bytes/memoryview/bytearray. 3 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
Jim Mussared 4eab44a1ec extmod: Make extmod modules use MP_REGISTER_MODULE. 3 years ago
Christian Decker 2e3a2785cd extmod/modubinascii: Add newline keyword to b2a_base64 function. 3 years ago
Damien George 94dfaff18b extmod: Update for move of crypto-algorithms, re1.5, uzlib to lib. 3 years ago
Damien George 1719459c28 extmod/modubinascii: Update code, docs for hexlify now CPython has sep. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Jim Mussared 1921224272 extmod/modubinascii: Make code private and module self-contained. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 09547f0f51 extmod/modubinascii: Only include uzlib/tinf.h when it's really needed. 7 years ago
Damien George 1c6b442d32 extmod/modubinascii: Don't post-increment variable that won't be used. 7 years ago
Alex Robbins c89254fd0f extmod/modubinascii: Rewrite mod_binascii_a2b_base64. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions. 7 years ago
Damien George b86c65d31c extmod/modubinascii: Add check for empty buffer passed to hexlify. 7 years ago
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 8 years ago
Pavol Rusnak 7f5a541b84 extmod/modubinascii: Fix crc32() function on 32-bit platforms. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Paul Sokolovsky c428367543 extmod/modubinascii: Make crc32() support configurable. 8 years ago
Pavol Rusnak 39799f7564
extmod/modubinascii: implement binascii.crc32 8 years ago
Damien George f9dc644017 extmod: When including extmod headers, prefix path with extmod/. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Paul Sokolovsky 7203b58e87 extmod/modubinascii: Add "separator" argument to hexlify(). 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Damien George 722d4842df extmod/modubinascii: Re-use error string to reduce code size. 9 years ago
Paul Sokolovsky 7370fd5560 ubinascii: Fix a shadowed variable case. 9 years ago
Paul Sokolovsky e284a95cc3 ubinascii: b2a_base64: Optimize away a modulo operation. 9 years ago
Galen Hazelwood 616986a5f3 extmod: Add a2b_base64 and b2a_base64 functions to ubinascii. 9 years ago
Daniel Campora 0f716aced7 extmod: Expose mod_binascii_hexlify() and mod_binascii_unhexlify(). 10 years ago
Dave Hylands 3ad94d6072 extmod: Add ubinascii.unhexlify 10 years ago
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 3765ea419a extmod: Prefix py/ for includes from py core directory. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Paul Sokolovsky bfdc205934 modubinascii: Add, with hexlify() implementation. 10 years ago