summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-01py: Make GC's STACK_SIZE definition a proper MICROPY_ config variable.Damien George
2015-01-01py: Fix windows external name error for nlr_top.Damien George
2015-01-01py: Move global variable nlr_top to one place, in a .c file.Damien George
This reduces dependency on assembler, and allows to consolidate global variables in the future.
2015-01-01windows: Prefix includes with py/; remove need for -I../py.Damien George
2015-01-01esp8266: Prefix includes with py/; remove need for -I../py.Damien George
2015-01-01qemu-arm: Prefix includes with py/; remove need for -I../py.Damien George
2015-01-01bare-arm: Prefix includes with py/; remove need for -I../py.Damien George
2015-01-01teensy: Prefix includes with py/; remove need for -I../py.Damien George
2015-01-01stmhal: Prefix includes with py/; remove need for -I../py.Damien George
2015-01-01unix-cpy: Prefix includes with py/; remove need for -I../py.Damien George
2015-01-01unix: Prefix includes with py/; remove need for -I../py.Damien George
2015-01-01extmod: Prefix py/ for includes from py core directory.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
Addresses issue #1022.
2015-01-01emitnative: Disable warning in delete_fast for now (breaks test).Paul Sokolovsky
2015-01-01py: Add basic framework for issuing compile/runtime warnings.Paul Sokolovsky
2015-01-01py: Add guarded includes for asm-based headers.Damien George
2015-01-01docs: Add quickref info about Servo; improve Servo docs.Damien George
2015-01-01Add a command for converting the WAV filesRadomir Dopieralski
Add a command for converting the WAV files to the amp skin tutorial, so that people can use their own files easily.
2015-01-01py: Change namedtuple error messages to reduce code size.Damien George
We are not word-for-word compatible with CPython exceptions, so we are free to make them short but informative in order to reduce code size. Also, try to make messages the same as existing ones where possible.
2015-01-01py: Make terse_arg_mismatch a global function and use it elsewhere.Damien George
Reduces code size when MICROPY_ERROR_REPORTING_TERSE is selected.
2015-01-01objnamedtuple: Make sure to initialize type structure completely.Paul Sokolovsky
2015-01-01py: Allow keyword arguments for namedtuplestijn
2015-01-01py: Use sequence of strings for named tuple initializationstijn
- remove single string initialization style - take list of strings instead - store list in the type for fast lookup
2015-01-01msvc: Support py/*.h includes per #1022stijn
2014-12-31py: Fix rshift and not of zero/one edge cases in mpz.Damien George
Addresses issue #1027.
2014-12-31tests: Disable float/float2int.py on pyboard (needs double prec).Damien George
2014-12-31objstr: Fix %d-formatting of floats.Paul Sokolovsky
2014-12-30stmhal: Add fake implementation of __aeabi_f2lz().Paul Sokolovsky
To make mp_obj_new_int_from_float() somehow work.
2014-12-30py: mp_obj_new_int_from_float() supported only for MICROPY_PY_BUILTINS_FLOAT.Paul Sokolovsky
2014-12-30py: Implement mp_obj_new_int_from_float() for MICROPY_LONGINT_IMPL_NONE.Paul Sokolovsky
2014-12-30py: Partially fix float to int conversion.Paul Sokolovsky
This fixes conversion when float type has more mantissa bits than small int, and float value has small exponent. This is for example the case of 32-bit platform using doubles, and converting value of time.time(). Conversion of floats with larg exponnet is still not handled correctly.
2014-12-29tools: Add script to generate a ChangeLog file.Damien George
We don't have an explicit ChangeLog file, but don't really need one because we use a good version control system. This script is useful if you need a pretty-printed ChangeLog for some reason.
2014-12-29py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper.Damien George
2014-12-29py: In VM, for selective ip saving, store 1 byte past last opcode.Damien George
This is for efficiency, so we don't need to subtract 1 from the ip before storing it to code_state->ip. It saves a lot of ROM bytes on unix and stmhal.
2014-12-29py: Add note about -fno-crossjumping when compiling vm.c.Paul Sokolovsky
2014-12-29docs: Bump version to 1.3.8.Damien George
Should have done it before tagging...
2014-12-29py: Add MP_LIKELY(), MP_UNLIKELY() macros to help branch prediction.v1.3.8Paul Sokolovsky
2014-12-28showbc: Print operation mnemonic in BINARY_OP.Paul Sokolovsky
2014-12-28showbc: Make code object start pointer semi-public.Paul Sokolovsky
This allows to pring either absolute addresses or relative offsets in jumps and code references.
2014-12-28vm: Record exception ip only for instructions where exceptions may happen.Paul Sokolovsky
Mirroring ip to a volatile memory variable for each opcode is an expensive operation. For quite a lot of often executed opcodes like stack manipulation or jumps, exceptions cannot actually happen. So, record ip only for opcode where that's possible.
2014-12-27drivers: Add SD card driver, controlled via SPI bus.Damien George
2014-12-27stmhal: Add ability to mount custom block device.Damien George
2014-12-27lib/fatfs: Allow a smaller minimum sector count for fatfs to be created.Damien George
2014-12-27stmhal: Upgrade to latest fatfs driver.Damien George
2014-12-27lib/fatfs: Support our volume names; make some funcs static.Damien George
2014-12-27lib/fatfs: Upgrade to new FatFs driver, put in lib/ for common use.Damien George
Patches to fatfs for our use will follow.
2014-12-27py: Allow to properly disable builtin slice operation.Damien George
This patch makes the MICROPY_PY_BUILTINS_SLICE compile-time option fully disable the builtin slice operation (when set to 0). This includes removing the slice sytanx from the grammar. Now, enabling slice costs 4228 bytes on unix x64, and 1816 bytes on stmhal.
2014-12-27py: Allow to properly disable builtin "set" object.Damien George
This patch makes MICROPY_PY_BUILTINS_SET compile-time option fully disable the builtin set object (when set to 0). This includes removing set constructor/comprehension from the grammar, the compiler and the emitters. Now, enabling set costs 8168 bytes on unix x64, and 3576 bytes on stmhal.
2014-12-27Makefiles: Support py/*.h includes per #1022.Paul Sokolovsky
2014-12-27py: Move to guarded includes for compile.h and related headers.Paul Sokolovsky