summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* Merge pull request #633 from stinos/msvc-fix-genhdr-depPaul Sokolovsky2014-05-30
|\ | | | | msvc: Only update generated headers when there are changes
| * msvc: Only update generated headers when there are changesstijn2014-05-28
| | | | | | | | | | This fixes generating the headers casuing complete rebuilds, even when the headere's content didn't really change.
* | qemu-arm: Add port README.Paul Sokolovsky2014-05-30
| | | | | | | | Based on https://github.com/micropython/micropython/pull/630 by @errordeveloper.
* | py: Implement bignum '&' with negatives on lhs and rhs.Damien George2014-05-29
| | | | | | | | | | Needs proper coverage testing. Doesn't implement -ve & -ve. Addresses issue #611.
* | py: Fix check of small-int overflow when parsing ints.Damien George2014-05-28
|/ | | | Also unifies use of SMALL_INT_FITS macro across parser and runtime.
* py: Make int(<longint>) work by just returning the longint.Damien George2014-05-28
|
* py: Implement long int parsing in int(...).Damien George2014-05-28
| | | | Addresses issue #627.
* unix/gccollect.c: Make Clang workaround apply only to it. Unbreaks gcc builds.Paul Sokolovsky2014-05-28
|
* Revert "Fix DEBUG=1 builds"Paul Sokolovsky2014-05-28
| | | | | | | This reverts commit 6e76f7bc90fcd130db888f8804b8555dc8f3a484. This patch tries to workaround a previous clang workaround. Instead of going into workaround of workaround spiral, the original workaround should be tamed.
* Merge pull request #631 from stinos/fix-win-defDamien George2014-05-28
|\ | | | | windows: Complete rename of MICROPY_PATH_MAX to MICROPY_ALLOC_PATH_MAX (...
| * windows: Complete rename of MICROPY_PATH_MAX to MICROPY_ALLOC_PATH_MAX (58ebde4)stijn2014-05-27
| |
* | Merge pull request #629 from dhylands/fix-unix-debugDamien George2014-05-28
|\ \ | |/ |/| Fix unix DEBUG=1 builds
| * Fix DEBUG=1 buildsDave Hylands2014-05-26
|/ | | | | | | | Without this fix, I get the following error: CC gccollect.c gccollect.c: In function ‘gc_helper_get_regs’: gccollect.c:63:1: error: bp cannot be used in asm here
* modos: stat(): Accept bytes argument.Paul Sokolovsky2014-05-26
|
* tests: Add small testcase for 3-arg slices.Paul Sokolovsky2014-05-26
|
* py, vm: Where possible, make variables local to each opcode.Damien George2014-05-25
| | | | | | | | | This helps the compiler do its optimisation, makes it clear which variables are local per opcode and which global, and makes it consistent when extra variables are needed in an opcode (in addition to old obj1, obj2 pair, for example). Could also make unum local, but that's for another time.
* py: Slightly improve efficiency of mp_obj_new_str; rename str_new.Damien George2014-05-25
| | | | | | Reorder interning logic in mp_obj_new_str, to be more efficient. str_new is globally accessible, so should be prefixed with mp_obj_.
* Change const byte* to const char* where sensible.Damien George2014-05-25
| | | | | This removes need for some casts (at least, more than it adds need for new casts!).
* Merge branch 'pfalcon-keep-strings-uninterned'Damien George2014-05-25
|\
| * py: Don't automatically intern strings in parser.Damien George2014-05-25
| | | | | | | | | | | | | | | | This completes non-automatic interning of strings in the parser, so that doc strings don't take up RAM. It complicates the parser and compiler, and bloats stmhal by about 300 bytes. It's complicated because now there are 2 kinds of parse-nodes that can be strings: interned leaves and non-interned structs.
| * Merge branch 'keep-strings-uninterned' of github.com:pfalcon/micropython ↵Damien George2014-05-25
| |\ | | | | | | | | | | | | | | | | | | into pfalcon-keep-strings-uninterned Conflicts: py/parse.c
| | * Draft approach towards resolving ↵Paul Sokolovsky2014-05-08
| | | | | | | | | | | | https://github.com/micropython/micropython/issues/560#issuecomment-42213955
* | | objlist: Implement support for arbitrary (3-arg) slices.Paul Sokolovsky2014-05-25
| | |
* | | py: Refactor slice helpers, preparing to support arbitrary slicing.Paul Sokolovsky2014-05-25
|/ /
* | sequence: Throw exception for not implemented slice steps.Paul Sokolovsky2014-05-25
| |
* | objlist: Implement growing slice assignment.Paul Sokolovsky2014-05-25
| | | | | | | | | | This means that complete slice operations are supported for lists (but not for bytearray's and array.array's).
* | py: Handle case of slice start > stop in common sequence function.Paul Sokolovsky2014-05-25
| |
* | objslice: Support arbitrary objects start, stop, and step.Paul Sokolovsky2014-05-25
| | | | | | | | | | Older int-only encoding is not expressive enough to support arbitrary slice assignment operations.
* | Add SystemExit exception and use it in unix/ and stmhal/ ports.Damien George2014-05-24
| | | | | | | | Addresses issue #598.
* | Rename configuration variables controling Python features.Damien George2014-05-24
| | | | | | | | Now of the form MICROPY_PY_*. See issue #35.
* | modsocket: 64-bit cleanness.Paul Sokolovsky2014-05-24
| |
* | objstr: Implement .endswith().Paul Sokolovsky2014-05-24
| |
* | unix modsocket: Make .makefile() method more compliant.Paul Sokolovsky2014-05-24
| | | | | | | | | | .makefile() should allow to specify which stream time to create - byte or text.
* | py: Initial attempts to actually allow implementing __new__ in Python.Paul Sokolovsky2014-05-22
| | | | | | | | | | Caveat is that __new__ should recurse to base class __new__, and ultimately, object.__new__ is what handles instance allocation.
* | objobject: Fix arguments to __init__().Paul Sokolovsky2014-05-21
| |
* | unix: Fix casting issue, int to small int object.Damien George2014-05-21
| |
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-05-21
|\ \
| * | objtype: super: Fall back to "object" lookup as last resort.Paul Sokolovsky2014-05-21
| | | | | | | | | | | | | | | Also, define object.__init__() (semantically empty, purely CPython compat measure). Addresses #520.
| * | objtype: super: Add stop condition for looking up in base types.Paul Sokolovsky2014-05-21
| | |
* | | Tidy up some configuration options.Damien George2014-05-21
|/ / | | | | | | | | | | | | | | | | | | MP_ALLOC_* -> MICROPY_ALLOC_* MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX MICROPY_EXTRA_* -> MICROPY_PORT_* See issue #35.
* | stm: Remove long-obsolete stm/ port.Damien George2014-05-21
| |
* | unix, Mac support: Generate order.def via Makefile.Damien George2014-05-21
| |
* | Merge pull request #607 from Anton-2/osx-clangDamien George2014-05-21
|\ \ | | | | | | Allow compilation of unix port under clang on OS X
| * | Fix some unused variables, and silence a clang warning about initialization ↵Antonin ENFRUN2014-05-12
| | | | | | | | | | | | override in vmentrytable.h
| * | unix: Add asm statements needed to read registers with clang. Code generated ↵Antonin ENFRUN2014-05-12
| | | | | | | | | | | | | | | | | | by gcc 4.9.0 is unchanged (same statements, different order). Both are inefficient, saving unmodified registers on the stack.
| * | tests: create result file for test/basics/memoryerror.py .Antonin ENFRUN2014-05-12
| | | | | | | | | | | | On Mac OS "python3 test/basics/memoryerror.py" never runs out of memory, the process is frozen by the os before.
| * | unix: Create __bss_start and _end symbols for Mach-O targets.Antonin ENFRUN2014-05-12
| | | | | | | | | | | | It's a hack, but can't find a cleaner way to do it.
* | | py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL.Damien George2014-05-21
| | | | | | | | | | | | See issue #608 for justification.
* | | stmhal: Stop USB before entering DFU by software.Damien George2014-05-21
| | |
* | | Merge pull request #621 from stinos/migw-w64-fixPaul Sokolovsky2014-05-20
|\ \ \ | | | | | | | | windows: Fix compilation with mingw-w64 so it uses correct printf implem...