47 Commits (999b66d53108a014194e7a30f20d4a269fdda6b4)

Author SHA1 Message Date
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
Jim Mussared 0e7bfc88c6 all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
Damien George 63f0e700f4 extmod/modure: Set subject begin_line so ^ doesn't match interior. 3 years ago
Damien George efde4b2c75 extmod/modure: Redirect regex debug printing to mp_printf. 3 years ago
Damien George 38a204ed96 py: Introduce and use mp_raise_type_arg helper. 3 years ago
Damien George 94dfaff18b extmod: Update for move of crypto-algorithms, re1.5, uzlib to lib. 3 years ago
Andrew Leech 319437d4bd extmod/modure: Allow \\ in re.sub replacements. 4 years ago
stijn 51fd6c9777 extmod/ure: Use single function for match/search/sub. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 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
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George bbeaafd9aa extmod: Add dynamic-runtime guards to btree/framebuf/uheapq/ure/uzlib. 5 years ago
Damien George 7d851a27f1 extmod/modure: Make regex dump-code debugging feature optional. 5 years ago
Damien George e30a5fc7bc extmod/modure: Add ure.sub() function and method, and tests. 7 years ago
Damien George 1e9b871d29 extmod/modure: Add match.span(), start() and end() methods, and tests. 7 years ago
Damien George 1f86460910 extmod/modure: Add match.groups() method, and tests. 7 years ago
Damien George 1b223a42bf extmod/modure: Add cast to workaround bug in MSVC. 7 years ago
Damien George ab750ee2fb extmod/modure: Convert alloca() to use new scoped allocation API. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Paul Sokolovsky aba1f9167a extmod/modure: Add stack overflow checking when executing a regex. 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
Paul Sokolovsky 58b7b01cb5 extmod/modure: If input string is bytes, return bytes results too. 7 years ago
Damien George 204ded848e extmod: Update for changes to mp_obj_str_get_data. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Tom Sparks 20d9bc2d76 extmod/modure: re_exec() renamed to ure_exec() due to collison in 4.3BSD. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 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
Damien George a8aa1998ce extmod/modure: Use correct integer type for n_args argument. 9 years ago
Paul Sokolovsky aee704ebe1 extmod/modure: Make sure that errors in regexps are caught early. 9 years ago
Damien George c50772d19f py: Add mp_obj_get_int_truncated and use it where appropriate. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
stijn f43e03ee4f extmod/ure: Fix msvc warning resulting from memset on const char ** pointer 10 years ago
Damien George 6cb6947b99 extmod/ure: Correctly return None when a group has no match. 10 years ago
Damien George 690458300b extmod/modure: Make num_matches store actual number of matches. 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 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
stijn b89eaaa2e2 windows: Update config with latest features 10 years ago
Paul Sokolovsky 95908b0f50 modure: Update to re1.5 v0.6, support for char sets/classes ([a-c]). 10 years ago
Paul Sokolovsky 1606607bd4 modure: Make sure that re1.5 compiled in only of modure itself is enabled. 10 years ago
Paul Sokolovsky c71e045165 modure: Initial module, using re1.5 (which is based on re1 codebase). 10 years ago