aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-19py: Added Cygwin support to py/nlrx86.S.Igor Gatis
2015-11-19py/map: Store key/value in earliest possible slot in hash table.Damien George
This change makes the code behave how it was supposed to work when first written. The avail_slot variable is set to the first free slot when looking for a key (which would come from deleting an entry). So it's more efficient (for subsequent lookups) to insert a new key into such a slot, rather than the very last slot that was searched.
2015-11-18cc3200: Bump version to 1.1.1.danicampora
2015-11-18cc3200/README.md: Correct cc3200's update file name.danicampora
2015-11-18docs/wipy: Make wifi/wlan naming consistent with tutorial.rst.Chris Liechti
2015-11-18docs/wipy: Add warning about losing wlan connection when changing mode.Jason Hildebrand
Also provide workarounds, link to other revelant sections, and fix some typos.
2015-11-18cc3200/appsign.sh: Use md5 if running under Darwin.Gary Ashton-Jones
2015-11-18docs: Update docs for WiPy wlan.connect().Noah
- The link establishment timeout is infinite by default - Fix typo in notes about the auth kwarg
2015-11-18docs/wipy: Fixed some typos in the WiPy's tutorials.Dave Hylands
2015-11-17py/mpstate: Make mp_pending_exception volatile.Damien George
It can change asynchronously.
2015-11-17py/modmath: Make log2, log10 and hyperbolic funcs be SPECIAL_FUNCTIONS.Damien George
Will be included only when MICROPY_PY_MATH_SPECIAL_FUNCTIONS is enabled. Also covers cmath module (but only log10 is there at the moment).
2015-11-17py: Implement default and star args for lambdas.Damien George
2015-11-17py/compile: Don't unnecessarily save state when compiling param list.Damien George
Parameter lists can't be nested so there is no need to save the global state when compiling them.
2015-11-16cc3200: Unmount all user file systems after a soft reset.danicampora
2015-11-17unix: Add "uselect" module, with poll() function.Paul Sokolovsky
Underlyingly, uses standard POSIX poll() for portability.
2015-11-16unix/input: Switch to POSIX I/O for history reading/writing.Paul Sokolovsky
2015-11-15tools: Update to upip 0.6.2. Fixes issue due to MacOSX undocumented behavior.Paul Sokolovsky
2015-11-14tools: Update upip to 0.6.1. Fixes normal installs without -p switch.Paul Sokolovsky
2015-11-14unix/modos: getenv(): Handle non-existing envvar correctly.Paul Sokolovsky
2015-11-14stmhal/modmachine: Initial attempt to add I2C & SPI classes.Paul Sokolovsky
In new hardware API, these classes implement master modes of interfaces, and "mode" parameter is not accepted. Trying to implement new HW API in terms of older pyb module leaves variuos corner cases: In new HW API, I2C(1) means "I2C #1 in master mode" (? depends on interpretation), while in old API, it means "I2C #1, with no settings changes". For I2C class, it's easy to make mode optional, because that's last positional param, but for SPI, there's "baudrate" after it (which is inconsistent with I2C, which requires "baudrate" to be kwonly-arg).
2015-11-14unix/modos: Add Windows workaround for mkdir().Paul Sokolovsky
2015-11-14windows: Define ssize_t and use renamed mphal headerstijn
This fixes the build after changes in [66fd3e4] and [3a6b3d2]
2015-11-14py/modmath: Don't create symbol entry for expm1() if not needed.Paul Sokolovsky
2015-11-14py/modmath: Make expm1() be in MICROPY_PY_MATH_SPECIAL_FUNCTIONS.Paul Sokolovsky
2015-11-14tools: Update upip to 0.6.Paul Sokolovsky
Removes FFI dependency, instead uses builtin os module. Thus can work on systems where dynamic library loading is not available.
2015-11-13unix/modos: Add mkdir().Paul Sokolovsky
Dependency of upip.
2015-11-13unix/modos: Add getenv().Paul Sokolovsky
Dependency of upip.
2015-11-13unix/main: Remove stray mp_printf() from previous commit.Paul Sokolovsky
2015-11-13unix: Use standard mphalport.h header.Paul Sokolovsky
This also unbreaks "make minimal".
2015-11-13main.c: Switch stderr printing from ANSI C to native POSIX.Paul Sokolovsky
2015-11-13unix: Allow to override MICROPY_PY_MATH_SPECIAL_FUNCTIONS from command-line.Paul Sokolovsky
2015-11-13unix/mpconfigport: Move log2() definition to modmath.c.Paul Sokolovsky
It's safer to define it where it's used, defining it for all source files may lead to hard to diagnose conflicts in corner cases.
2015-11-13py: Allow to import compiled bytecode files.Damien George
2015-11-13py: Add MICROPY_PERSISTENT_CODE_LOAD/SAVE to load/save bytecode.Damien George
MICROPY_PERSISTENT_CODE must be enabled, and then enabling MICROPY_PERSISTENT_CODE_LOAD/SAVE (either or both) will allow loading and/or saving of code (at the moment just bytecode) from/to a .mpy file.
2015-11-13py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime.Damien George
Main changes when MICROPY_PERSISTENT_CODE is enabled are: - qstrs are encoded as 2-byte fixed width in the bytecode - all pointers are removed from bytecode and put in const_table (this includes const objects and raw code pointers) Ultimately this option will enable persistence for not just bytecode but also native code.
2015-11-13py: Add constant table to bytecode.Damien George
Contains just argument names at the moment but makes it easy to add arbitrary constants.
2015-11-13py: Put all bytecode state (arg count, etc) in bytecode.Damien George
2015-11-13py: Reorganise bytecode layout so it's more structured, easier to edit.Damien George
2015-11-13unix/main: Use builtin unichar_isdigit() in preference if libc's.Paul Sokolovsky
Less dependencies.
2015-11-13tests/jni: Add test for working with container of List interface.Paul Sokolovsky
2015-11-11unix/modjni: Add missing get_jclass_name() function.Paul Sokolovsky
2015-11-10docs: Fix a typo in the REPL documentation.Dave Hylands
2015-11-10lib/utils/printf: Move from stmhal/ .Paul Sokolovsky
This file contains various MicroPython-specific helper functions, so isn't good fit for lib/libc/.
2015-11-10windows: Allow specifying the python executable to use for msvc buildsstijn
This defaults to 'python' but can be now overridden if needed
2015-11-10Fix project file for Visual Studio 2015omtinez
2015-11-09docs/select: Document POLLIN/OUT/ERR/HUP.Paul Sokolovsky
2015-11-09stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants.Paul Sokolovsky
This makes select.poll() interface fully compatible with CpYthon. Also, make their numeric values of these options compatible with Linux (and by extension, with iBCS2 standard, which jopefully means compatibility with other Unices too).
2015-11-09py/emitinlinethumb: Allow to compile with -Wsign-compare.Damien George
2015-11-09py/asmthumb: Allow to compile with -Wsign-compare and -Wunused-parameter.Damien George
2015-11-09lib/pyexec: Move header pyexec.h from stmhal directory.Damien George