You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
circuitpython/py
Damien George 216a711cd4 py/compile: Fix typo when checking for parse-node kind. 6 years ago
..
argcheck.c py/argcheck: Use size_t instead of mp_uint_t to count number of args. 7 years ago
asmarm.c py: Implement native multiply operation in viper emitter. 8 years ago
asmarm.h py: Implement native multiply operation in viper emitter. 8 years ago
asmthumb.c py/asmthumb: Flush D-cache, and invalidate I-cache on STM32F7. 6 years ago
asmthumb.h py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler. 7 years ago
asmx64.c py/asmx64: Support all 16 regs in reg to memory move instructions. 7 years ago
asmx64.h py: Implement ptr32 load and store in viper emitter. 7 years ago
asmx86.c py/asmx86: Fix function definition to use int32_t instead of int. 7 years ago
asmx86.h py: Implement native multiply operation in viper emitter. 8 years ago
bc.c py: Update opcode format table because 3 opcodes were removed, 1 added. 6 years ago
bc.h py/bc.h: Rename _mp_code_state to _mp_code_state_t. 6 years ago
bc0.h py: Combine 3 comprehension opcodes (list/dict/set) into 1. 6 years ago
binary.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 7 years ago
binary.h py/binary: Make return type of mp_binary_get_size size_t instead of int. 8 years ago
builtin.h py: Add basic _thread module, with ability to start a new thread. 7 years ago
builtinevex.c py: Change type signature of builtin funs that take variable or kw args. 7 years ago
builtinimport.c py/builtinimport: Fix nanbox build after change to better handle -m modules. 6 years ago
compile.c py/compile: Fix typo when checking for parse-node kind. 6 years ago
compile.h py/compile: Add mp_compile_to_raw_code() to return raw code object. 7 years ago
emit.h py: Combine 3 comprehension emit functions (list/dict/set) into 1. 6 years ago
emitbc.c py/emitbc: Remove/refactor unreachable code, to improve coverage. 6 years ago
emitcommon.c py/scope: Factor common code to find locals and close over them. 6 years ago
emitglue.c py/emitglue.c: provide mp_raw_code_load_file for any unix architecture 6 years ago
emitglue.h py/emitglue: Make mp_raw_code_t* arguments constant pointers. 7 years ago
emitinlinethumb.c py/emitinlinethumb: Use qstrs instead of char* for names of asm ops. 7 years ago
emitnative.c py: Combine 3 comprehension emit functions (list/dict/set) into 1. 6 years ago
formatfloat.c py/formatfloat: Fix further cases of buffer overflow in formatting. 7 years ago
formatfloat.h py: Implement mp_format_float for doubles and use where appropriate 8 years ago
frozenmod.c py: Allow to stat and import frozen mpy files using new frozen "VFS". 7 years ago
frozenmod.h py/{builtinimport,frozenmod}: Rework frozen modules support to support packages. 7 years ago
gc.c py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory. 6 years ago
gc.h py/gc: Calculate (and report) maximum contiguous free block size. 7 years ago
grammar.h py: Simplify "and" action within parser by making ident-rules explicit. 7 years ago
lexer.c py/vstr: Remove vstr.had_error flag and inline basic vstr functions. 6 years ago
lexer.h py: add async/await/async for/async with syntax 7 years ago
lexerstr.c py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 7 years ago
lexerunix.c unix: Allow to cat a script into stdin from the command line. 8 years ago
makeqstrdata.py py/makeqstrdata.py: Compute the qstr hash from bytes, not characters. 6 years ago
makeqstrdefs.py py/makeqstrdefs.py: Use python 2.6 syntax for set creation. 6 years ago
makeversionhdr.py py/makeversionhdr.py: Work with backslashes in paths. 7 years ago
malloc.c py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory. 6 years ago
map.c py: Declare constant data as properly constant. 7 years ago
misc.h py/vstr: Remove vstr.had_error flag and inline basic vstr functions. 6 years ago
mkenv.mk py: Move frozen modules rules from esp8266 port for reuse across ports. 6 years ago
mkrules.mk py: Move frozen modules rules from esp8266 port for reuse across ports. 6 years ago
modarray.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modbuiltins.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modcmath.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modcollections.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modgc.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modio.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modmath.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modmicropython.c py/modmicropython: Add micropython.const, alias for identity function. 6 years ago
modstruct.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modsys.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modthread.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
moduerrno.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
mpconfig.h py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled. 6 years ago
mperrno.h py/moduerrno: Add ECONNREFUSED, one of frequent networking errors. 7 years ago
mphal.h py/mphal.h: If virtpin API is used, automagically include its header. 7 years ago
mpprint.c py/mpprint: Fail an assertion with unsupported format specifiers. 6 years ago
mpprint.h py: Change mp_print_strn_t func type to use size_t for the str length. 7 years ago
mpstate.c py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime. 7 years ago
mpstate.h py/gc: Implement GC running by allocation threshold. 6 years ago
mpthread.h py/mpthread: Include mpstate.h when defining GIL macros. 7 years ago
mpz.c py/mpz: Fix mpn_div so that it doesn't modify memory of denominator. 7 years ago
mpz.h windows/py: Support 64bit mingw-w64 builds 7 years ago
nativeglue.c py/viper: Allow casting of Python integers to viper pointers. 7 years ago
nlr.h py/nlrsetjmp: Update to take into account new location of nlr_top. 7 years ago
nlrsetjmp.c py/nlrsetjmp: Update to take into account new location of nlr_top. 7 years ago
nlrthumb.c py: Fix nlrthumb.c when DEBUG=1 is defined 6 years ago
nlrx64.S py/nlrx64.S: Prefix mp_thread_get_state with an underscore on Mac. 6 years ago
nlrx86.S py: Add basic _thread module, with ability to start a new thread. 7 years ago
nlrxtensa.S py: Put all global state together in state structures. 8 years ago
obj.c unix: Enable MICROPY_PY_STR_BYTES_CMP_WARN. 6 years ago
obj.h all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
objarray.c py/objarray: Split out header to allow direct access to object. 7 years ago
objarray.h py/objarray: Split out header to allow direct access to object. 7 years ago
objattrtuple.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 7 years ago
objbool.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 7 years ago
objboundmeth.c py/objboundmeth: Allocate arg state on stack if heap alloc fails. 7 years ago
objcell.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 7 years ago
objclosure.c py: Fix passing of some wide int types to printf varg format list. 7 years ago
objcomplex.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 7 years ago
objdict.c py/objdict: Get rid of asserts (remove/replace with mp_check_self()). 6 years ago
objenumerate.c py: Use new code pattern for parsing kw args with mp_arg_parse_all. 7 years ago
objexcept.c py/objexcept: Don't convert errno to str in constructor, do it in print. 7 years ago
objexcept.h py: Change exception traceback data to use size_t instead of mp_uint_t. 7 years ago
objfilter.c py: Get rid of assert() in method argument checking functions. 6 years ago
objfloat.c py/objfloat, py/modmath: Ensure M_PI and M_E defined. 7 years ago
objfun.c py/objfun: Use if instead of switch to check return value of VM execute. 6 years ago
objfun.h py: Add constant table to bytecode. 7 years ago
objgenerator.c py: Rename struct mp_code_state to mp_code_state_t. 6 years ago
objgenerator.h py: Move to guarded includes, everywhere in py/ core. 8 years ago
objgetitemiter.c py/objgetitemiter: Typo fix in comment. 7 years ago
objint.c py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int. 7 years ago
objint.h py: Change mp_obj_int_is_positive to more general mp_obj_int_sign. 7 years ago
objint_longlong.c py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int. 7 years ago
objint_mpz.c py/mpz: Do Python style division/modulo within bignum divmod routine. 7 years ago
objlist.c py: Get rid of assert() in method argument checking functions. 6 years ago
objlist.h py: Fix adding of traceback so that it appends to existing info. 8 years ago
objmap.c py: Get rid of assert() in method argument checking functions. 6 years ago
objmodule.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
objmodule.h py: Move to guarded includes, everywhere in py/ core. 8 years ago
objnamedtuple.c py/objnamedtuple: Allow passing field names as a tuple. 7 years ago
objnone.c py/objnone: Use mp_generic_unary_op instead of custom one. 6 years ago
objobject.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 7 years ago
objpolyiter.c py/objpolyiter: Implement instance-polymorphic iterator type. 7 years ago
objproperty.c py: Get rid of assert() in method argument checking functions. 6 years ago
objrange.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 7 years ago
objreversed.c py: Get rid of assert() in method argument checking functions. 6 years ago
objset.c py/objset: Ensure that use of frozenset.update raises an exception. 6 years ago
objsingleton.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 7 years ago
objslice.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 7 years ago
objstr.c py/objstr: Remove unreachable function used only for terse error msgs. 6 years ago
objstr.h py: If str/bytes hash is 0 then explicitly compute it. 6 years ago
objstringio.c py/objstringio: Implement MP_STREAM_SEEK ioctl and add seek() method. 6 years ago
objstrunicode.c py/objstr,objstrunicode: Fix inconistent #if indentation. 6 years ago
objtuple.c py/objtuple: In tuple_cmp_helper, use mp_check_self instead of raising. 6 years ago
objtuple.h py: Add MP_ROM_* macros and mp_rom_* types and use them. 7 years ago
objtype.c py/objtype: Inherit protocol vtable from base class only if it exists. 7 years ago
objtype.h py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 7 years ago
objzip.c py: Get rid of assert() in method argument checking functions. 6 years ago
opmethods.c py: Move to guarded includes, everywhere in py/ core. 8 years ago
parse.c py/parse: Only replace constants that are standalone identifiers. 6 years ago
parse.h py/parse: Improve constant folding to operate on small and big ints. 7 years ago
parsenum.c py/parsenum: Use pow function to apply exponent to decimal number. 7 years ago
parsenum.h py/parsenum: Use size_t to count bytes, and int for type of base arg. 7 years ago
parsenumbase.c py/parsenum: Fix compiler warnings for no decl and signed comparison. 7 years ago
parsenumbase.h py/parsenum: Use size_t to count bytes, and int for type of base arg. 7 years ago
py.mk py/py.mk: Add support for building modussl_mbedtls. 6 years ago
qstr.c py/qstr: Remove a comment. 6 years ago
qstr.h py: Rename __QSTR_EXTRACT flag to NO_QSTR. 7 years ago
qstrdefs.h py: Add rules for automated extraction of qstrs from sources. 7 years ago
repl.c py: Declare constant data as properly constant. 7 years ago
repl.h py, readline: Add tab autocompletion for REPL. 8 years ago
ringbuf.h py/ringbuf.h: Add reusable ring buffer class. 7 years ago
runtime.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
runtime.h py: Shrink mp_arg_t struct by using reduced-size integer members. 6 years ago
runtime0.h py: Extend native type-sig to use 4 bits, so uint is separate to ptr. 7 years ago
runtime_utils.c py/runtime_utils: Fix nanbox build. 7 years ago
scope.c py/scope: Factor common code to find locals and close over them. 6 years ago
scope.h py/scope: Factor common code to find locals and close over them. 6 years ago
sequence.c py/sequence: Allow to use bignums as indices in slice objects. 6 years ago
showbc.c py/showbc: Make printf's go to the platform print stream. 6 years ago
smallint.c py: Move to guarded includes, everywhere in py/ core. 8 years ago
smallint.h py/smallint: Allow to override MP_SMALL_INT_MIN et al. 7 years ago
stackctrl.c py: Add MP_STATE_THREAD to hold state specific to a given thread. 7 years ago
stackctrl.h py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value. 7 years ago
stream.c py/stream: Remove unnecessary check for NULL return from vstr_extend. 6 years ago
stream.h py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting. 6 years ago
unicode.c py/repl: Check for an identifier char after the keyword. 7 years ago
unicode.h py: Move to guarded includes, everywhere in py/ core. 8 years ago
vm.c py/vm: Use MP_OBJ_FROM_PTR to cast a type to an object. 6 years ago
vmentrytable.h py: Combine 3 comprehension opcodes (list/dict/set) into 1. 6 years ago
vstr.c py/vstr: Remove vstr.had_error flag and inline basic vstr functions. 6 years ago
warning.c py: Convert occurrences of non-debug printf to mp_printf. 8 years ago