circuitpython/py
Scott Shawcroft f6a702538a py: Pretend frozen files are stored under .frozen rather than the empty path.
This makes it clear when frozen modules are loaded as opposed to the empty path
which represents the current working directory. Furthermore, by splitting the two
apart this allows one to control in what order frozen modules are loaded.

This is a prerequisite for #56.
2017-08-10 15:46:17 -07:00
..
argcheck.c py: Change asm form to make minimal port happy. 2017-06-20 17:52:13 -07:00
asmarm.c py/asmarm: Fix assembler's PASS_EMIT constant name. 2017-01-03 15:40:50 +11:00
asmarm.h Fixup warnings from merge about undefined macro values, switch to 2017-01-12 12:46:18 -08:00
asmbase.c py/asm: Remove need for dummy_data when doing initial assembler passes. 2016-12-09 22:50:58 +11:00
asmbase.h py/asm: Remove need for dummy_data when doing initial assembler passes. 2016-12-09 22:50:58 +11:00
asmthumb.c various: Spelling fixes 2017-05-29 11:36:05 +03:00
asmthumb.h Fixup warnings from merge about undefined macro values, switch to 2017-01-12 12:46:18 -08:00
asmx64.c py/asm: Remove need for dummy_data when doing initial assembler passes. 2016-12-09 22:50:58 +11:00
asmx64.h Fixup warnings from merge about undefined macro values, switch to 2017-01-12 12:46:18 -08:00
asmx86.c py/asm: Fix x86 and ARM assemblers due to recent code refactoring. 2016-12-09 22:54:45 +11:00
asmx86.h Fixup warnings from merge about undefined macro values, switch to 2017-01-12 12:46:18 -08:00
asmxtensa.c py/asm: Remove need for dummy_data when doing initial assembler passes. 2016-12-09 22:50:58 +11:00
asmxtensa.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
bc0.h py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
bc.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
bc.h py: Provide mp_decode_uint_skip() to help reduce stack usage. 2017-06-09 13:36:33 +10:00
binary.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
binary.h py/binary: Make return type of mp_binary_get_size size_t instead of int. 2015-05-17 18:12:19 +01:00
builtin.h py: Add builtin help function to core, with default help msg. 2017-01-22 11:56:16 +11:00
builtinevex.c py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 2017-03-29 12:56:45 +11:00
builtinhelp.c Fix problems that prevented use of internal frozen modules: 2017-07-16 16:00:41 -07:00
builtinimport.c py: Pretend frozen files are stored under .frozen rather than the empty path. 2017-08-10 15:46:17 -07:00
compile.c various: Spelling fixes 2017-05-29 11:36:05 +03:00
compile.h py: Allow inline-assembler emitter to be generic. 2016-12-09 17:06:21 +11:00
emit.h py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
emitbc.c py/emitbc: Fix bug with BC emitter computing Python stack size. 2017-05-25 20:42:30 +10:00
emitcommon.c py/scope: Factor common code to find locals and close over them. 2016-09-30 13:53:00 +10:00
emitglue.c py/emitglue: Refactor to remove assert(0), to improve coverage. 2016-12-21 11:52:05 +11:00
emitglue.h py: Factor persistent code load/save funcs into persistentcode.[ch]. 2016-11-16 16:14:14 +11:00
emitinlinethumb.c py: Create str/bytes objects in the parser, not the compiler. 2017-02-24 13:43:43 +11:00
emitinlinextensa.c py/emitinline: Move common code for end of final pass to compiler. 2016-12-09 21:23:17 +11:00
emitnative.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
formatfloat.c py/formatfloat: Remove unreachable code. 2017-01-19 23:32:16 +11:00
formatfloat.h py: Implement mp_format_float for doubles and use where appropriate 2015-05-17 21:47:11 +01:00
frozenmod.c py: Pretend frozen files are stored under .frozen rather than the empty path. 2017-08-10 15:46:17 -07:00
frozenmod.h py: Pretend frozen files are stored under .frozen rather than the empty path. 2017-08-10 15:46:17 -07:00
gc.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
gc.h Revert "py: Add ability to manually mark blocks during collect." 2016-11-29 14:11:32 -08:00
grammar.h py/compile: Refactor handling of special super() call. 2017-04-22 21:46:32 +10:00
ioctl.h atmel-samd: Add preliminary support for UART 2016-12-19 13:03:50 -08:00
lexer.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
lexer.h py/lexer: Convert mp_uint_t to size_t where appropriate. 2017-02-17 12:44:24 +11:00
makeqstrdata.py py/makeqstrdata.py: Compute the qstr hash from bytes, not characters. 2016-09-02 14:32:47 +10:00
makeqstrdefs.py Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
makeversionhdr.py py: Fix version header generation when no tags are available. 2017-05-01 15:12:52 -07:00
malloc.c py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory. 2016-08-26 15:35:26 +10:00
map.c py/map: Fix bugs with deletion of elements from OrderedDict. 2017-03-03 11:21:19 +11:00
misc.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
mkenv.mk Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
mkrules.mk py: Remove mpy-cross depend when making frozen mpy's because we don't know the state under which its being built. Instead, build it before running the subsequent make. 2017-08-10 15:44:47 -07:00
modarray.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modbuiltins.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
modcmath.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modcollections.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modgc.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modio.c py: Pretend frozen files are stored under .frozen rather than the empty path. 2017-08-10 15:46:17 -07:00
modmath.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
modmicropython.c py/modmicropython: Add micropython.kbd_intr() function. 2017-04-18 17:24:30 +10:00
modstruct.c py/binary: mp_binary_get_size: Raise error on unsupported typecodes. 2017-01-17 22:53:06 +03:00
modsys.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
modthread.c py: Convert mp_uint_t to size_t for tuple/list accessors. 2017-03-29 12:56:17 +11:00
moduerrno.c py/moduerrno: Make list of errno codes configurable. 2017-02-22 12:58:11 +11:00
mpconfig.h Measure and report maximum stack usage. (#175) 2017-07-23 15:32:05 -04:00
mperrno.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
mphal.h extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse. 2016-10-14 20:14:01 +03:00
mpprint.c py/mpprint: Fix int formatting so "+" is printed for 0-valued integer. 2017-03-15 17:25:12 +11:00
mpprint.h py/modsys: update conditionals for code referencing sys.stdout 2017-05-14 18:24:50 +03:00
mpstate.c py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime. 2016-02-25 10:05:46 +00:00
mpstate.h Measure and report maximum stack usage. (#175) 2017-07-23 15:32:05 -04:00
mpthread.h py/mpthread: Include mpstate.h when defining GIL macros. 2016-06-28 11:28:52 +01:00
mpz.c py/mpz: In mpn_sub, use existing function to remove trailing zeros. 2017-04-25 12:22:04 +10:00
mpz.h py/mpz: Change type of "base" args from mp_uint_t to unsigned int. 2017-02-16 16:51:16 +11:00
nativeglue.c py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
nlr.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
nlrsetjmp.c py/nlrsetjmp: Add check for failed NLR jump. 2017-04-12 13:50:31 +10:00
nlrthumb.c py: Fix nlrthumb.c when DEBUG=1 is defined 2016-07-21 00:54:21 +03:00
nlrx64.c py/nlrx64: Fixes to support Mac OS. 2017-03-08 22:36:02 +11:00
nlrx86.c py/nlrx86: Better check for Zephyr (requires 1.7). 2017-03-26 00:33:23 +03:00
nlrxtensa.c py/nlrxtensa: Convert from assembler to C file with inline asm. 2017-03-06 17:13:16 +11:00
obj.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
obj.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objarray.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objarray.h py/objarray: Convert mp_uint_t to size_t where appropriate. 2017-02-16 16:51:16 +11:00
objattrtuple.c py/objtuple: Convert mp_uint_t to size_t where appropriate. 2017-02-16 16:51:16 +11:00
objbool.c py/objbool: Make a slight simplification of bool constructor. 2016-09-30 17:02:07 +10:00
objboundmeth.c py/objtype: Implement __call__ handling for an instance w/o heap alloc. 2016-11-22 01:33:55 +03:00
objcell.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
objclosure.c py/objclosure: Convert mp_uint_t to size_t where appropriate. 2017-02-16 16:51:17 +11:00
objcomplex.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objdict.c py: Optimise types for common case where type has a single parent type. 2017-04-12 13:22:21 +10:00
objenumerate.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
objexcept.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objexcept.h py/objexcept: Convert mp_uint_t to size_t where appropriate. 2017-02-16 16:51:17 +11:00
objfilter.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
objfloat.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objfun.c py: Provide mp_decode_uint_skip() to help reduce stack usage. 2017-06-09 13:36:33 +10:00
objfun.h py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
objgenerator.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objgenerator.h py: Move to guarded includes, everywhere in py/ core. 2015-01-01 20:32:09 +00:00
objgetitemiter.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
objint_longlong.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objint_mpz.c extmod/moductypes: Fix bigint handling for 32-bit ports. 2017-04-21 16:43:21 +03:00
objint.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objint.h py/objint: Consolidate mp_obj_new_int_from_float to one implementation. 2017-04-04 16:45:49 +10:00
objlist.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objlist.h py/objlist: Convert mp_uint_t to size_t where appropriate. 2017-02-16 16:51:16 +11:00
objmap.c py/objmap: Convert mp_uint_t to size_t. 2017-03-27 12:19:24 +11:00
objmodule.c Measure and report maximum stack usage. (#175) 2017-07-23 15:32:05 -04:00
objmodule.h py/objmodule: Move module init/deinit code into runtime functions. 2017-01-26 23:30:38 +11:00
objnamedtuple.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objnamedtuple.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objnone.c py/objnone: Use mp_generic_unary_op instead of custom one. 2016-09-19 12:28:55 +10:00
objobject.c py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 2017-03-28 22:37:26 +11:00
objpolyiter.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
objproperty.c This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware. 2016-11-21 14:11:52 -08:00
objproperty.h This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware. 2016-11-21 14:11:52 -08:00
objrange.c py/objrange: Fix slicing of range when step of slice is negative. 2017-05-18 17:32:42 +10:00
objreversed.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
objset.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objsingleton.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
objslice.c Make slice make_new match mp_make_new_fun_t exactly, check the input type and enable it for qemu tests. 2017-02-24 16:48:01 +01:00
objstr.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objstr.h py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate. 2017-02-16 16:51:16 +11:00
objstringio.c py/objstringio: If created from immutable object, follow copy on write policy. 2017-06-09 17:33:01 +03:00
objstringio.h py/objstringio: If created from immutable object, follow copy on write policy. 2017-06-09 17:33:01 +03:00
objstrunicode.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objtuple.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objtuple.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objtype.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
objtype.h py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
objzip.c py/objzip: Convert mp_uint_t to size_t. 2017-03-30 22:58:08 +11:00
opmethods.c py: Move to guarded includes, everywhere in py/ core. 2015-01-01 20:32:09 +00:00
parse.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
parse.h py/parse: Make mp_parse_node_new_leaf an inline function. 2016-11-15 16:48:48 +11:00
parsenum.c py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 2017-03-28 22:37:26 +11:00
parsenum.h py/parsenum: Use size_t to count bytes, and int for type of base arg. 2016-03-14 22:34:03 +00:00
parsenumbase.c py/parsenum: Fix compiler warnings for no decl and signed comparison. 2016-03-14 22:52:52 +00:00
parsenumbase.h py/parsenum: Use size_t to count bytes, and int for type of base arg. 2016-03-14 22:34:03 +00:00
persistentcode.c py/persistentcode: Allow to compile with complex numbers disabled. 2017-06-08 00:28:28 +10:00
persistentcode.h py: Factor out persistent-code reader into separate files. 2016-11-16 18:13:50 +11:00
py.mk various: Spelling fixes 2017-05-29 11:36:05 +03:00
qstr.c py: Fix wrong assumption that m_renew will not move if shrinking 2016-11-02 23:15:41 +11:00
qstr.h py: Rename __QSTR_EXTRACT flag to NO_QSTR. 2016-06-16 01:42:48 +03:00
qstrdefs.h extmod: Add generic VFS sub-system. 2017-01-27 17:19:06 +11:00
reader.c py: Allow lexer to raise exceptions during construction. 2017-03-14 11:52:05 +11:00
reader.h py: Allow lexer to raise exceptions during construction. 2017-03-14 11:52:05 +11:00
repl.c py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 2017-03-29 12:56:45 +11:00
repl.h py, readline: Add tab autocompletion for REPL. 2015-04-29 00:46:26 +01:00
ringbuf.h esp8266: Introduce multiterminal module for managing a secondary 2017-08-07 14:30:11 -07:00
runtime0.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
runtime_utils.c py/runtime_utils: Fix nanbox build. 2016-04-25 20:03:14 +03:00
runtime.c Change vfs mount ordering such that the root is always last in the 2017-06-28 14:46:49 -07:00
runtime.h Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
scheduler.c py: Add micropython.schedule() function and associated runtime code. 2017-03-20 15:20:26 +11:00
scope.c py/scope: Factor common code to find locals and close over them. 2016-09-30 13:53:00 +10:00
scope.h py/scope: Factor common code to find locals and close over them. 2016-09-30 13:53:00 +10:00
sequence.c py/sequence: Fix boundary errors when slicing with a negative step. 2017-05-18 17:32:42 +10:00
showbc.c py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
smallint.c py: Move to guarded includes, everywhere in py/ core. 2015-01-01 20:32:09 +00:00
smallint.h py/smallint: Allow to override MP_SMALL_INT_MIN et al. 2016-01-08 13:43:56 +00:00
stackctrl.c Allow max stack checking to be used with -flto build by determining top 2017-08-05 17:48:16 -07:00
stackctrl.h Measure and report maximum stack usage. (#175) 2017-07-23 15:32:05 -04:00
stream.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
stream.h py/stream: Move ad-hoc ioctl constants to stream.h and rename them. 2016-12-02 16:37:29 +11:00
unicode.c py/unicode: Comment-out unused function unichar_isprint. 2016-12-28 17:50:10 +11:00
unicode.h py: Move to guarded includes, everywhere in py/ core. 2015-01-01 20:32:09 +00:00
vm.c py: Provide mp_decode_uint_skip() to help reduce stack usage. 2017-06-09 13:36:33 +10:00
vmentrytable.h py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
vstr.c py/vstr: Combine vstr_new_size with vstr_new since they are rarely used. 2016-10-14 16:46:34 +11:00
warning.c py: fix null pointer dereference in mpz.c, fix missing va_end in warning.c 2016-10-31 23:21:15 +03:00