summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/modubinascii.c
Commit message (Collapse)AuthorAge
* 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