| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-02-21 | __import__: Catch relative import attempts and throw NotImplementedError. | Paul Sokolovsky | |
| 2014-02-20 | emitbc: Correct buffer sizes for varlen int encoding. | Paul Sokolovsky | |
| Assuming we have truncating (floor) division, way to do ceiling division by N is to use formula (x + (N-1)) / N. Specifically, 63 bits, if stored 7 bits per byte, require exactly 9 bytes. 64 bits overflow that and require 10 bytes. | |||
| 2014-02-20 | compile: Add comments ergarding non-implemented relative imports. | Paul Sokolovsky | |
| 2014-02-20 | py: Fix type of integer in decoding int. | Damien George | |
| 2014-02-19 | Merge pull request #312 from pfalcon/int-varlen | Damien George | |
| Support varlen encoding for arbitrary int and uint numbers | |||
| 2014-02-19 | stm: Update PYBOARD4 pin mapping. | Damien George | |
| 2014-02-19 | Merge pull request #310 from dhylands/pin_map | Damien George | |
| Add pin mapping code. | |||
| 2014-02-19 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-02-19 | stm: Add RTC start-up info, and uPy bindings. | Damien George | |
| 2014-02-20 | import: Implement "from pkg.mod import sym" syntax properly. | Paul Sokolovsky | |
| http://docs.python.org/3.3/library/functions.html#__import__ : "When the name variable is of the form package.module, normally, the top-level package (the name up till the first dot) is returned, not the module named by name. However, when a non-empty fromlist argument is given, the module named by name is returned." | |||
| 2014-02-19 | Bytecode int varlen encoding: support arbitrary values for signed ints too. | Paul Sokolovsky | |
| 2014-02-19 | Bytecode uint varlen encoding: support arbitrary values. | Paul Sokolovsky | |
| 2014-02-17 | Add pin mapping code. | Dave Hylands | |
| This commit also introduces board directories and moves board specific config into the appropriate board directory. boards/stm32f4xx-af.csv was extracted from the STM32F4xx datasheet and hand-tweaked. make-pins.py takes boards/stm32f4xx-af.csv, boards/stm32f4xx-prefix.c, and boards/BOARD-NAME/pins.csv as input and generates the file build/pins_BOARD_NAME.c The generated pin file for PYBOARD4 looks like this: https://gist.github.com/dhylands/9063231 The generated pins file includes all of the supported alternate functions, and includes upsupported alternate functions as comments. See the commnet block at the top of stm/pin_map.c for details on how to use the pin mapper. I also went ahead and modified stm/gpio.c to use the pin mapper. | |||
| 2014-02-17 | stm: Implement mp_import_stat. | Damien George | |
| To follow up pull request #309. | |||
| 2014-02-18 | objint_longlong: Don't assert on invalid syntax, raise SyntaxError instead. | Paul Sokolovsky | |
| 2014-02-17 | Merge pull request #309 from pfalcon/stm-sys-path | Damien George | |
| stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"]. | |||
| 2014-02-17 | Merge pull request #307 from iabdalkader/master | Damien George | |
| Fix usart_obj_tx_char | |||
| 2014-02-18 | stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"]. | Paul Sokolovsky | |
| This is compatible with what search path was before sys.path refactor, with addition of module library path ("0:/lib"). | |||
| 2014-02-17 | Fix usart_obj_tx_char | mux | |
| 2014-02-17 | Merge pull request #303 from dhylands/fix-netduino-disc | Damien George | |
| Fix build for netduino and stm32f4disc | |||
| 2014-02-17 | Merge pull request #302 from pfalcon/readme-update | Damien George | |
| Update README to current state of affairs. | |||
| 2014-02-16 | Fix build for netduino and stm32f4disc | Dave Hylands | |
| 2014-02-16 | stm: Factor out GPIO code to its own file. Add functions to set GPIO mode. | Damien George | |
| GPIO functions are crude, and need to be replaced with better ones! | |||
| 2014-02-17 | Update README to current state of affairs. | Paul Sokolovsky | |
| 1. Invite x86 (32-bit) users. 2. Update interpreter name. 3. Update dependency install instructions. | |||
| 2014-02-16 | stm: Rename mma -> accel. | Damien George | |
| 2014-02-16 | stm: Put REPL functions in own file; add raw REPL mode. | Damien George | |
| Raw REPL mode is activated by CTRL-A, and allows you to more easily communicate with the pyboard over the serial channel. In particular, automated communication using, eg, pyserial on the PC side. | |||
| 2014-02-16 | Merge pull request #301 from pfalcon/full-kwargs | Damien George | |
| Support passing positional args as keywords to bytecode functions. | |||
| 2014-02-16 | Support passing positional args as keywords to bytecode functions. | Paul Sokolovsky | |
| For this, record argument names along with each bytecode function. The code still includes extensive debug logging support so far. | |||
| 2014-02-16 | Make DEBUG_printf() a proper function, implementation is port-dependent. | Paul Sokolovsky | |
| In particular, unix outputs to stderr, to allow to run testsuite against micropython built with debug output (by redirecting stderr to /dev/null). | |||
| 2014-02-16 | Rename fun-kwargs.py -> fun-kwvarargs.py to free up slot for simple kw test. | Paul Sokolovsky | |
| 2014-02-16 | stm: Only define __packed if not already defined. | Damien George | |
| Addresses issue #299. | |||
| 2014-02-16 | Propagate scope flags refactor to emitcpy.c. | Paul Sokolovsky | |
| 2014-02-16 | builtinimport: Get the basic (and only basic) package imports work. | Paul Sokolovsky | |
| 2014-02-16 | builtinimport.c: Recognize "namespace package" and error out as unsupported. | Paul Sokolovsky | |
| See http://www.python.org/dev/peps/pep-0420/#specification for spec. See https://github.com/micropython/micropython/issues/298 for the discussion of the implemented behavior. | |||
| 2014-02-16 | py: Pass keyword arguments to byte code. | Damien George | |
| 2014-02-16 | py: Implement *vargs support. | Damien George | |
| Addresses issue #295. | |||
| 2014-02-15 | py: Revent some long int configuration. | Damien George | |
| 2014-02-15 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-02-15 | py: VM never throws an exception, instead returns a status and value. | Damien George | |
| Addresses issue #290, and hopefully sets up things to allow generators throwing exceptions, etc. | |||
| 2014-02-16 | objexcept: Fix thinko with args to mp_obj_new_list(). | Paul Sokolovsky | |
| First arg is not alloc size, but real size, so if used as mp_obj_new_list(3, NULL), need to store items, not append. | |||
| 2014-02-15 | Small change to configuration of long int. | Damien George | |
| 2014-02-15 | py: Improve exception bases, reduces ROM usage. | Damien George | |
| Thanks to @pfalcon for the tip! | |||
| 2014-02-15 | py: Pass all scope flags through to runtime. | Damien George | |
| 2014-02-15 | Implement proper exception type hierarchy. | Damien George | |
| Each built-in exception is now a type, with base type BaseException. C exceptions are created by passing a pointer to the exception type to make an instance of. When raising an exception from the VM, an instance is created automatically if an exception type is raised (as opposed to an exception instance). Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper. Handling of parse error changed to match new exceptions. mp_const_type renamed to mp_type_type for consistency. | |||
| 2014-02-15 | Change mp_obj_type_t.name from const char * to qstr. | Damien George | |
| Ultimately all static strings should be qstr. This entry in the type structure is only used for printing error messages (to tell the type of the bad argument), and printing objects that don't supply a .print method. | |||
| 2014-02-15 | Add testcase for failing namespace switch throwing exception from a module. | Paul Sokolovsky | |
| Issue #290. This currently fails, to draw attention to the issue. | |||
| 2014-02-14 | Merge pull request #291 from GordonMcGregor/osx_build | Damien George | |
| OS X compatible -map syntax for LDFLAGS | |||
| 2014-02-14 | py: Fix IMPORT_STAR, needs to pop the stack. | Damien George | |
| 2014-02-14 | Merge pull request #288 from pfalcon/port-builtins | Damien George | |
| Allow ports to define statically builtin functions. | |||
| 2014-02-14 | Merge pull request #282 from pfalcon/from-star | Damien George | |
| Implement "from mod import *" | |||
