| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-06-20 | unix: Add CFLAGS_EXTRA & LDFLAGS_EXTRA for command line usage. | Paul Sokolovsky | |
| The idea is that it should be possible to pass any additional params for experimentation without need to patch sources (and without need to deviate from or repeat baseline options). | |||
| 2014-06-20 | unix: Refactor order file munging fo MacOSX. | Paul Sokolovsky | |
| 2014-06-20 | unix: Group CFLAGS related stuff together. | Paul Sokolovsky | |
| 2014-06-20 | unix: Allow to override compiler warning options without touching the rest. | Paul Sokolovsky | |
| Some people want to enable even more warnings. Let them do it without putting burden on everyone. Some people vice versa think that current settings should be relaxed. In this regard, -Werror is the most problematic, it disallows to use #warning directive, and disallows to pass configuration settings on make command lines. Again, until decided how to deal with these globally, allow to work around these problems locally. | |||
| 2014-06-20 | tests/float/: Skip tests if "math" module is not available. | Paul Sokolovsky | |
| 2014-06-20 | py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT. | Paul Sokolovsky | |
| One thing is wanting to do 1 / 2 and get something else but 0, and quite another - doing rocket science ;-). | |||
| 2014-06-20 | Merge pull request #697 from stinos/gc-debug | Paul Sokolovsky | |
| gc: More verbose debugging | |||
| 2014-06-20 | Merge pull request #707 from eblot/master-v1.1.1-build-fixes | Paul Sokolovsky | |
| Fix missing declaration of assert() Replace ARRAY_SIZE with MP_ARRAY_SIZE | |||
| 2014-06-19 | bench: Three ways to process a byte buffer. | Paul Sokolovsky | |
| 2014-06-19 | bench: Add test for map() vs inplace operations in array-likes. | Paul Sokolovsky | |
| map() is 5 times slower. That's mostly because of inefficiency of creating containers from iterables of unknown length (like map()). | |||
| 2014-06-19 | bench: Add tests for constructing various containers from iterator. | Paul Sokolovsky | |
| Both "bound" (like, length known) and "unbound" (length unknown) are tested. All of list, tuple, bytes, bytesarray offer approximately the same performance, with "unbound" case being 30 times slower. | |||
| 2014-06-19 | bench: Add test for function call overhead. | Paul Sokolovsky | |
| For a trivial operation, calling a function is 5 times slower than doing operation inline. | |||
| 2014-06-19 | Prefix ARRAY_SIZE with micropython prefix MP_ | Emmanuel Blot | |
| 2014-06-19 | Add missing “assert.h” file header inclusion from “nlr.h” | Emmanuel Blot | |
| 2014-06-18 | Merge pull request #700 from swegener/for-upstream | Damien George | |
| bare-arm, stmhal: Disable stack protector | |||
| 2014-06-18 | bare-arm, stmhal, teensy: Duplicate -nostdlib to CFLAGS | Sven Wegener | |
| As we are building with -nostdlib gcc features like the stack protector will fail linking, because the failure handlers are in gcc's internal libs. Such features are implicitly disabled during compilation when -nostdlib is used in CFLAGS too. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> | |||
| 2014-06-18 | bare-arm, stmhal: Fix --nostdlib to -nostdlib | Sven Wegener | |
| -nostdlib is the correct option, gcc recognizes the double dash version when in link-only mode, but not when compiling. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> | |||
| 2014-06-18 | gc: Turn off debugging info again | stijn | |
| 2014-06-18 | gc: Keep debug statements at beginning of scope where possible | stijn | |
| 2014-06-17 | Merge pull request #698 from dhylands/adc-fix | Damien George | |
| Fix problem with ADC reads and multiple channels | |||
| 2014-06-17 | stmhal: Toggle LED using ODR ^= pin_mask. | Damien George | |
| 2014-06-16 | Fix problem with ADC reads and multiple channels | Dave Hylands | |
| 2014-06-16 | gc: More verbose debugging | stijn | |
| Add more DEBUG_printf statements to trace gc behaviour | |||
| 2014-06-15 | stmhal: Add Python function to set UART for REPL. | Damien George | |
| This adds a hook to get/set pyb_uart_global_debug from Python, using pyb.repl_uart(). You can set it to an arbitrary UART object, and then the REPL (in and out) is repeated on this UART object (as well as on USB CDC). Ultimately, this will be replaced with a proper Pythonic interface to set sys.stdin and sys.stdout. | |||
| 2014-06-15 | stmhal: Fix type signatures on functions that take variable args. | Damien George | |
| 2014-06-15 | stmhal: Fix file print methods to use print instead of printf. | Damien George | |
| Also make stdout_print_strn static (ultimately this function needs to be merged with stdout_tx_strn). | |||
| 2014-06-15 | stmhal: Update and improve LCD driver. | Damien George | |
| Still some method names to iron out, and funtionality to add, but this will do for the first, basic version. | |||
| 2014-06-14 | parsenum: Signedness issues. | Paul Sokolovsky | |
| char can be signedness, and using signedness types is dangerous - it can lead to negative offsets when doing table lookups. We apparently should just ban char usage. | |||
| 2014-06-14 | Merge pull request #693 from iabdalkader/assert | Damien George | |
| Add __assert_func | |||
| 2014-06-14 | Make __assert_func weak | mux | |
| 2014-06-14 | Add __assert_func only if DEBUG=1 | mux | |
| 2014-06-14 | Add __assert_func | mux | |
| * issue #692 | |||
| 2014-06-14 | objstr: Refactor to work with char pointers instead of indexes. | Paul Sokolovsky | |
| In preparation for unicode support. | |||
| 2014-06-14 | unicode: Add trivial implementation of unichar_charlen(). | Paul Sokolovsky | |
| 2014-06-14 | unicode: String API is const byte*. | Paul Sokolovsky | |
| We still have that char vs byte dichotomy, but majority of string operations now use byte. | |||
| 2014-06-14 | objstr: Be 8-bit clean even for repr(). | Paul Sokolovsky | |
| This will allow roughly the same behavior as Python3 for non-ASCII strings, for example, print("<phrase in non-Latin script>".split()) will print list of words, not weird hex dump (like Python2 behaves). (Of course, that it will print list of words, if there're "words" in that phrase at all, separated by ASCII-compatible whitespace; that surely won't apply to every human language in existence). | |||
| 2014-06-13 | Merge branch 'stinos-gc-pointers' | Damien George | |
| 2014-06-13 | py, gc: Revert ret_ptr to void*, casting to byte* for memset. | Damien George | |
| 2014-06-13 | Merge branch 'gc-pointers' of github.com:stinos/micropython into ↵ | Damien George | |
| stinos-gc-pointers | |||
| 2014-06-13 | stream: Use mp_obj_is_true() for EOF testing. | Paul Sokolovsky | |
| Getting a length of string may be expensive, depending on the underlying implementation. | |||
| 2014-06-13 | gc: Use byte* pointers instead of void* for pointer arithmetic | stijn | |
| void* is of unknown size | |||
| 2014-06-12 | py: Revert change of include, "" back to <> for mpconfigport.h. | Damien George | |
| 2014-06-12 | py: Rename builtin "io" to "_io". | Paul Sokolovsky | |
| Functionality we provide in builtin io module is fairly minimal. Some code, including CPython stdlib, depends on more functionality. So, there's a choice to either implement it in C, or move it _io, and let implement other functionality in Python. 2nd choice is pursued. This setup matches CPython too (_io is builtin, io is Python-level). | |||
| 2014-06-11 | py: Make 3 functions static. | Damien George | |
| 2014-06-11 | py: Fix static defn in qstr; include mpconfigport.h with "" (not <>). | Damien George | |
| 2014-06-11 | objfun: Remove no longer used mp_obj_fun_prepare_simple_args(). | Paul Sokolovsky | |
| 2014-06-11 | tests: Add testcases for "complicated" args to generator functions. | Paul Sokolovsky | |
| 2014-06-11 | objgenerator: Finish refactor to use mp_setup_code_state(). | Paul Sokolovsky | |
| 2014-06-11 | objgenerator: First iteration of refactor to use mp_setup_code_state(). | Paul Sokolovsky | |
| 2014-06-11 | objfun: Factor out mp_setup_code_state() function to set up code_state object. | Paul Sokolovsky | |
| It needs to be reused for generator functions, too. | |||
