43 Commits (24aa81e1da6385b636cbaef364ba2c67d977b7ec)

Author SHA1 Message Date
Damien George a8f23f6366 shared/readline: Make tab insert an indent when it follows whitespace. 3 years ago
Damien George ac2293161e py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
Jeff Epler d67f4115b4 py/repl: Don't read past the end of import_str. 4 years ago
Artyom Skrobov ca35c0059c py/repl: Autocomplete builtin modules. 4 years ago
Artyom Skrobov 7556e01f14 py/repl: Refactor autocomplete, extracting reusable parts. 4 years ago
Artyom Skrobov f85ea8d4fe py/repl: Refactor autocomplete to reduce nesting. 4 years ago
scottbelden befbff31b7 py/repl: Enter four spaces when there are no matches. 6 years ago
Kathryn Lingel 1f1a54d0b1 py/repl: Filter private methods from tab completion. 6 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Josh Lloyd 7d58a197cf py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. 5 years ago
Li Weiwei 3e6ab82179 py/repl: Fix handling of unmatched brackets and unfinished quotes. 7 years ago
Damien George 6046e68fe1 py/repl: Initialise q_last variable to prevent compiler warnings. 7 years ago
Damien George 7241d90272 py/repl: Use mp_load_method_protected to prevent leaking of exceptions. 7 years ago
Damien George eb88803ac8 py/{modbuiltins,repl}: Start qstr probing from after empty qstr. 7 years ago
Damien George 165aab12a3 py/repl: Generalise REPL autocomplete to use qstr probing. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George e66fd56852 py/repl: Change mp_uint_t to size_t in repl helpers. 7 years ago
Damien George 6b34107537 py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 8 years ago
Damien George 3ff16ff52e py: Declare constant data as properly constant. 9 years ago
Damien George 80a8d473f6 py/repl: Fix handling of backslash in quotes when checking continuation. 9 years ago
Paul Sokolovsky d59c2e5e45 py/repl: If there're no better alternatives, try to complete "import". 9 years ago
pohmelie 81ebba7e02 py: add async/await/async for/async with syntax 9 years ago
Alex March 69d9e7d27d py/repl: Check for an identifier char after the keyword. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Alex March bfb272b9e0 py/repl: Treat escaped quotes correctly in REPL continuation. 9 years ago
Damien George 28596edf07 py/repl: Don't look inside strings for unmatched brackets/quotes. 9 years ago
Damien George ef7dd8db2d py/repl: Fix case where shorter names are shadowed by longer names. 9 years ago
Damien George f27aa27a0c py/repl.c: Fix shadowing of local variable "i". 10 years ago
Damien George a1a2c411b2 py, readline: Add tab autocompletion for REPL. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Damien George 58ebde4664 Tidy up some configuration options. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 73c79b9925 py: Continue line if last character is backslash. 11 years ago
Damien George 97790455fe Improve REPL detecting when input needs to continue. 11 years ago
Damien George a28507ab2b py: Detect unmatched tripple quote in repl helper. 11 years ago
Paul Sokolovsky e06edce786 mp_repl_is_compound_stmt(): Thinko fix s/true/try/. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
Damien George 136f67523b Factor and simplify Makefile's and mpconfig. 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien George 8cc96a35e5 Put unicode functions in unicode.c, and tidy their names. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien 92c06561a3 Improve REPL compount statement detection. 11 years ago