Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | objarray: Make sure that longint works as bytearray size. | Paul Sokolovsky | 2015-01-04 |
| | |||
* | msvc: Define no-op MP_LIKELY/UNLIKELY since there's no __builtin_expect | stijn | 2015-01-04 |
| | |||
* | modbuiltins.c: Fix NULL vs MP_OBJ_NULL usage. | Paul Sokolovsky | 2015-01-04 |
| | |||
* | objstr: Common subexpression elimination for vstr_str(field_name). | Paul Sokolovsky | 2015-01-04 |
| | |||
* | objstr: Implement kwargs support for str.format(). | Paul Sokolovsky | 2015-01-04 |
| | |||
* | unix: Enable -fno-crossjumping for fast build. | Paul Sokolovsky | 2015-01-03 |
| | | | | | Confirmed that it improves perfomance of simple "for i in range(N): pass" loop by 15% on Core2. | ||
* | py: Raise exception if trying to convert inf/nan to int. | Damien George | 2015-01-02 |
| | |||
* | py: Fix float to int conversion for large exponents. | David Steinberg | 2015-01-02 |
| | |||
* | msvc: Use single build target for dealing with generated files | stijn | 2015-01-02 |
| | | | | | Remove some duplication in the code for generating qstrdefs.generated.h and py-version.h | ||
* | msvc: Fix unresolved mp_arg_error_terse_mismatch since 7f23384 | stijn | 2015-01-02 |
| | | | | | | | | The compiler treats `if (MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_TERSE)` as a normal statement and generates assembly for it in degug mode as if MICROPY_ERROR_REPORTING is an actual symbol instead of a preprocessor definition. As such linking fails because mp_arg_error_terse_mismatch is not defined when MICROPY_ERROR_REPORTING_TERSE is detailed or normal. | ||
* | msvc: Define main build/include directories in a single location | stijn | 2015-01-02 |
| | | | | | | | | | | | - Use a single file env.props for defining the main directories used when building. env.props resolves the base directory and defines overridable output directories, and is used by all other build files. - Fix the build currently failing, basically because the preprocessing command for generating qstrdefs uses different include directories than the build itself does. (specifically, qstrdefs.h uses #include "py/mpconfig.h" since the fixes for #1022 in 51dfcb4, so we need to use the base directory as include directory, not the py dir itself). So define a single variable containing the include directories instead and use it where needed. | ||
* | py: Make GC's STACK_SIZE definition a proper MICROPY_ config variable. | Damien George | 2015-01-01 |
| | |||
* | py: Fix windows external name error for nlr_top. | Damien George | 2015-01-01 |
| | |||
* | py: Move global variable nlr_top to one place, in a .c file. | Damien George | 2015-01-01 |
| | | | | | This reduces dependency on assembler, and allows to consolidate global variables in the future. | ||
* | windows: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | esp8266: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | qemu-arm: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | bare-arm: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | teensy: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | stmhal: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | unix-cpy: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | unix: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | extmod: Prefix py/ for includes from py core directory. | Damien George | 2015-01-01 |
| | |||
* | py: Move to guarded includes, everywhere in py/ core. | Damien George | 2015-01-01 |
| | | | | Addresses issue #1022. | ||
* | emitnative: Disable warning in delete_fast for now (breaks test). | Paul Sokolovsky | 2015-01-01 |
| | |||
* | py: Add basic framework for issuing compile/runtime warnings. | Paul Sokolovsky | 2015-01-01 |
| | |||
* | py: Add guarded includes for asm-based headers. | Damien George | 2015-01-01 |
| | |||
* | docs: Add quickref info about Servo; improve Servo docs. | Damien George | 2015-01-01 |
| | |||
* | Add a command for converting the WAV files | Radomir Dopieralski | 2015-01-01 |
| | | | Add a command for converting the WAV files to the amp skin tutorial, so that people can use their own files easily. | ||
* | py: Change namedtuple error messages to reduce code size. | Damien George | 2015-01-01 |
| | | | | | | 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. | ||
* | py: Make terse_arg_mismatch a global function and use it elsewhere. | Damien George | 2015-01-01 |
| | | | | Reduces code size when MICROPY_ERROR_REPORTING_TERSE is selected. | ||
* | objnamedtuple: Make sure to initialize type structure completely. | Paul Sokolovsky | 2015-01-01 |
| | |||
* | py: Allow keyword arguments for namedtuple | stijn | 2015-01-01 |
| | |||
* | py: Use sequence of strings for named tuple initialization | stijn | 2015-01-01 |
| | | | | | | - remove single string initialization style - take list of strings instead - store list in the type for fast lookup | ||
* | msvc: Support py/*.h includes per #1022 | stijn | 2015-01-01 |
| | |||
* | py: Fix rshift and not of zero/one edge cases in mpz. | Damien George | 2014-12-31 |
| | | | | Addresses issue #1027. | ||
* | tests: Disable float/float2int.py on pyboard (needs double prec). | Damien George | 2014-12-31 |
| | |||
* | objstr: Fix %d-formatting of floats. | Paul Sokolovsky | 2014-12-31 |
| | |||
* | stmhal: Add fake implementation of __aeabi_f2lz(). | Paul Sokolovsky | 2014-12-30 |
| | | | | To make mp_obj_new_int_from_float() somehow work. | ||
* | py: mp_obj_new_int_from_float() supported only for MICROPY_PY_BUILTINS_FLOAT. | Paul Sokolovsky | 2014-12-30 |
| | |||
* | py: Implement mp_obj_new_int_from_float() for MICROPY_LONGINT_IMPL_NONE. | Paul Sokolovsky | 2014-12-30 |
| | |||
* | py: Partially fix float to int conversion. | Paul Sokolovsky | 2014-12-30 |
| | | | | | | | 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. | ||
* | tools: Add script to generate a ChangeLog file. | Damien George | 2014-12-29 |
| | | | | | | 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. | ||
* | py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper. | Damien George | 2014-12-29 |
| | |||
* | py: In VM, for selective ip saving, store 1 byte past last opcode. | Damien George | 2014-12-29 |
| | | | | | | 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. | ||
* | py: Add note about -fno-crossjumping when compiling vm.c. | Paul Sokolovsky | 2014-12-29 |
| | |||
* | docs: Bump version to 1.3.8. | Damien George | 2014-12-29 |
| | | | | Should have done it before tagging... | ||
* | py: Add MP_LIKELY(), MP_UNLIKELY() macros to help branch prediction.v1.3.8 | Paul Sokolovsky | 2014-12-29 |
| | |||
* | showbc: Print operation mnemonic in BINARY_OP. | Paul Sokolovsky | 2014-12-28 |
| | |||
* | showbc: Make code object start pointer semi-public. | Paul Sokolovsky | 2014-12-28 |
| | | | | | This allows to pring either absolute addresses or relative offsets in jumps and code references. |