aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-16objclosure: Fix printing of generator closures.Paul Sokolovsky
The code previously assumed that only functions can be closed over.
2014-10-15py: Fix GC realloc issue, where memory chunks were never shrunk.Damien George
Previously, a realloc to a smaller memory chunk size would not free the unused blocks in the tail of the chunk.
2014-10-15py: Fix dummy definition of BEGIN/END_ATOMIC_SECTION.Damien George
2014-10-15modure: Update to re1.5 v0.6, support for char sets/classes ([a-c]).Paul Sokolovsky
2014-10-13Merge pull request #905 from pfalcon/remove-zlibdDamien George
Remove zlibd, superceded by uzlib
2014-10-13modzlibd: Remove, superceded by moduzlib.Paul Sokolovsky
2014-10-13windows: Enable moduzlib instead of modzlibd.Paul Sokolovsky
2014-10-12moduzlib: Fix fn prototype and some code style; use it in stmhal port.Damien George
2014-10-12Merge pull request #904 from pfalcon/moduzlibDamien George
Module "uzlib" - based on similarly named library
2014-10-13moduzlib: Import uzlib v1.1.Paul Sokolovsky
https://github.com/pfalcon/uzlib
2014-10-13moduzlib: Integrate into the system.Paul Sokolovsky
2014-10-13moduzlib: New zlib-like module, based on uzlib.Paul Sokolovsky
2014-10-12stmhal: Oops: rename mod files in Makefile.Damien George
2014-10-12stmhal: Rename module files to keep consistency with module name.Damien George
2014-10-12stmhal: Enable module weak links.Damien George
os, time, select modules are now prefixed with u, but are still available (via weak links) as their original names. ure and ujson now available as re and json via weak links.
2014-10-12py: Add module weak link support.Damien George
With this patch a port can enable module weak link support and provide a dict of qstr->module mapping. This mapping is looked up only if an import fails to find the requested module in the filesystem. This allows to have the builtin module named, eg, usocket, and provide a weak link of "socket" to the same module, but this weak link can be overridden if a file by the name "socket.py" is found in the import path.
2014-10-12py: Fix x86 viper code generation, mem8 <-> mem16 for load.Damien George
2014-10-12py: Implement native load for viper.Damien George
Viper can now do: ptr8(buf)[0], which loads a byte from a buffer using machine instructions.
2014-10-12py: Implement and,or,xor native ops for viper.Damien George
2014-10-12modure: Make sure that re1.5 compiled in only of modure itself is enabled.Paul Sokolovsky
This is achieved by including re1.5 *.c files straight from modure.c .
2014-10-12modure: Upgrade re1.5 to 0.5.1Paul Sokolovsky
Changes include: regexp.h: Add double-include protection.
2014-10-11Merge pull request #902 from pfalcon/readme-unixDamien George
README: Update "unix" section with more info/details.
2014-10-11Merge branch 'pfalcon-modure'Damien George
2014-10-11stmhal: Enable ure module (tests pass on pyboard).Damien George
2014-10-11Merge branch 'modure' of https://github.com/pfalcon/micropython into ↵Damien George
pfalcon-modure
2014-10-11README: Update "unix" section with more info/details.Paul Sokolovsky
2014-10-11Merge pull request #900 from dhylands/comp-deadtimeDamien George
Add support for complimentary channel output and deadtime.
2014-10-11unix: Update comment MICROPY_GCREGS_SETJMP (untested -> undertested).Paul Sokolovsky
2014-10-11unix: Add comment about needed dependencies for MICROPY_FORCE_32BIT.Paul Sokolovsky
2014-10-11modure: Basic tests.Paul Sokolovsky
2014-10-11modure: Import needed files from re1.5 v0.5.Paul Sokolovsky
https://github.com/pfalcon/re1.5
2014-10-11modure: Initial module, using re1.5 (which is based on re1 codebase).Paul Sokolovsky
https://github.com/pfalcon/re1.5
2014-10-10Add support for complimentary channel output and deadtime.Dave Hylands
This patch enables output on the complimentary channels (TIMx_CHyN). For timers 1 and 8, deadtime can also be inserted when the channels transition. For the pyboard, TIM8_CH1/CH1N and TIM8_CH2/CH2N can take advantage of this.
2014-10-09stmhal: Add pyb.stop() and pyb.standby() functions.Damien George
2014-10-09Merge pull request #899 from pfalcon/usocket-renameDamien George
unix: Rename "microsocket" module to "usocket".
2014-10-09unix: Rename "microsocket" module to "usocket".Paul Sokolovsky
Per new conventions, we'd like to consistently use "u*" naming conventions for modules which don't offer complete CPython compatibility, while offer subset or similar API.
2014-10-09examples: Rename unix socket examples to have more precise naming (http).Paul Sokolovsky
2014-10-09Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-10-09Merge branch 'dhylands-lexer-crash'Damien George
2014-10-09py: Add further checks for failed malloc in lexer init functions.Damien George
2014-10-09Merge branch 'lexer-crash' of https://github.com/dhylands/micropython into ↵Damien George
dhylands-lexer-crash
2014-10-09Merge pull request #897 from tomvonclef/masterDamien George
Updating README.md. The Unix build requires pkg-config for FFI.
2014-10-09Merge branch 'dhylands-memory-error'Damien George
2014-10-09py: Add #if guard around gc-specific code.Damien George
2014-10-08Make lexer fail gracefully when memory can't be allocated.Dave Hylands
2014-10-08Updating README.md to include the fact that the Unix build requires ↵Tom von Clef
pkg-config to build the FFI module.
2014-10-07Allow real memory errors (from locked gc) to be reported with traceback.Dave Hylands
2014-10-06travis: Install realpath, required for teensy build.Paul Sokolovsky
2014-10-06windows: mingw32 gcc doesn't define endianness macros, so just assume little.Paul Sokolovsky
Specifically, at least Ubuntu's i586-mingw32msvc-gcc doesn't supply __LITTLE_ENDIAN__ and friends. And as it's safe enough to assume that Windows is only little-endian, then it's defined unconditionally, instead of duplicating detection logic in py/mpconfig.h (or adding windows-specific defines to it).
2014-10-06tests: Skip ffi_float.py if module ffi is not available.Paul Sokolovsky