summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/modubinascii.c
Commit message (Collapse)AuthorAge
* extmod/modubinascii: Fix crc32() function on 32-bit platforms.Pavol Rusnak2016-09-21
|
* all: Remove 'name' member from mp_obj_module_t struct.Damien George2016-09-22
| | | | One can instead lookup __name__ in the modules dict to get the value.
* extmod/modubinascii: Make crc32() support configurable.Paul Sokolovsky2016-08-24
| | | | Disable by default, enable in unix port.
* extmod/modubinascii: implement binascii.crc32Pavol Rusnak2016-08-24
|
* extmod: When including extmod headers, prefix path with extmod/.Damien George2016-05-20
|
* py: Change type signature of builtin funs that take variable or kw args.Damien George2016-01-11
| | | | | With this patch the n_args parameter is changed type from mp_uint_t to size_t.
* extmod/modubinascii: Add "separator" argument to hexlify().Paul Sokolovsky2015-12-26
| | | | | | | | This is extension to CPython, it allows to easily produce human-readable hex dump: >>> ubinascii.hexlify(b"\xaa\x55\xaa\x55", b" ") b'aa 55 aa 55'
* py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George2015-11-29
|
* extmod/modubinascii: Re-use error string to reduce code size.Damien George2015-07-06
| | | | Drops Thumb2 arch size by 24 bytes.
* ubinascii: Fix a shadowed variable case.Paul Sokolovsky2015-07-04
|
* ubinascii: b2a_base64: Optimize away a modulo operation.Paul Sokolovsky2015-07-04
|
* extmod: Add a2b_base64 and b2a_base64 functions to ubinascii.Galen Hazelwood2015-07-04
|
* extmod: Expose mod_binascii_hexlify() and mod_binascii_unhexlify().Daniel Campora2015-05-21
|
* extmod: Add ubinascii.unhexlifyDave Hylands2015-05-20
| | | | This also pulls out hex_digit from py/lexer.c and makes unichar_hex_digit
* py: Remove mp_obj_str_builder and use vstr instead.Damien George2015-01-21
| | | | | | | | | | | | With this patch str/bytes construction is streamlined. Always use a vstr to build a str/bytes object. If the size is known beforehand then use vstr_init_len to allocate only required memory. Otherwise use vstr_init and the vstr will grow as needed. Then use mp_obj_new_str_from_vstr to create a str/bytes object using the vstr memory. Saves code ROM: 68 bytes on stmhal, 108 bytes on bare-arm, and 336 bytes on unix x64.
* py, unix: Allow to compile with -Wunused-parameter.Damien George2015-01-20
| | | | See issue #699.
* extmod: Prefix py/ for includes from py core directory.Damien George2015-01-01
|
* Use MP_DEFINE_CONST_DICT macro to define module dicts.Damien George2014-11-29
| | | | | This is just a clean-up of the code. Generated code is exactly the same.
* modubinascii: Add, with hexlify() implementation.Paul Sokolovsky2014-11-29