summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* py/modmath: Check for zero division in log with 2 args.Damien George2017-07-04
|
* py/vm: Make "if" control flow more obvious in YIELD_FROM opcode.Damien George2017-07-04
|
* py/objstr: Remove unnecessary "sign" variable in formatting code.Damien George2017-07-04
|
* py/runtime: Mark m_malloc_fail() as NORETURN.Damien George2017-07-04
|
* py/binary: Add missing "break" statements.Damien George2017-07-04
|
* stmhal: Clean up some header includes.Damien George2017-07-03
|
* stmhal/boards: Add configuration files for NUCLEO_F429ZI.Alberto Petrucci2017-07-03
|
* docs/pyboard: Move info about using Windows from topindex to general.Damien George2017-07-03
|
* extmod/modubinascii: Add check for empty buffer passed to hexlify.Damien George2017-07-03
| | | | | Previous to this patch hexlify(b'', b':') would lead to a bad crash due to the computed length of the result being -1=0xffffffff.
* docs/esp8266/general.rst: Fix name of NTP module.Patrick O'Leary2017-07-02
| | | The simple NTP client module is named "ntptime.py".
* docs/uerrno: Document "uerrno" module.Paul Sokolovsky2017-07-03
|
* docs/pyboard: Move hardware info into General Info chapter.Paul Sokolovsky2017-07-02
| | | | | | | | This makes top-level ToC of the pyboard docs consistent with other ports (consisting of 3 chapters: QuickRef, General Info, and Tutorial). Also, some other minor tweaks applied, like local ToC for General Info and headings mentioning pyboard.
* docs/*_index: Drop "Indices and tables" pseudo-section.Paul Sokolovsky2017-07-02
| | | | | | This pseudo-section causes artifacts with latexpdf generation (almost empty page with list containing literal "genindex", "modeindex", "search" items). For HTML docs, these sections can be accessed from "home" page.
* py/objstr: Move uPy function wrappers to just after the C function.Damien George2017-07-02
| | | | This matches the coding/layout style of all the other objects.
* docs/conf.py: Set "version" and "release" to the same value.Paul Sokolovsky2017-07-02
| | | | | | We don't use alpha/beta/RC, so for us version and release should be the same, or it leads to confusion (for example, current, 1.9.1 docs are marked as 1.9 at places).
* docs/replace.inc: Add |see_cpython|, to xref individual symbols from CPython.Paul Sokolovsky2017-07-02
| | | | The idea is to use it for each symbol in builtins.rst.
* docs/library: Add CPython docs xref to each pertinent module.Paul Sokolovsky2017-07-02
| | | | | Cross-reference text/link is implemented as RST substitution, so easy to consistently.
* docs/conf.py: Add file for global replacements definition.Paul Sokolovsky2017-07-02
| | | | | | | The idea is to allow to define a kind of "macros" for repeatitive text, so all occurrances can be updated in one place. Unfortunately, RST doesn't support replacements with arguments, which limits usefulness of them and should be taken into account.
* docs/conf.py: Switch to "new" format of intersphinx_mapping.Paul Sokolovsky2017-07-02
| | | | | | | As described at http://www.sphinx-doc.org/en/stable/ext/intersphinx.html#confval-intersphinx_mapping This will allow to explicitly refer to CPython docs for cross-references.
* docs/topindex.html: Fix typo in "Glossary" heading.Damien George2017-07-02
|
* docs: Add glossary.Paul Sokolovsky2017-07-02
| | | | | | We have enough terms or references throughout the docs which may be not immediately clear or have some important nuances. Referencing terms in gloassary is the best way to deal with that.
* docs/ure: Elaborate doc, update markup to the latest conventions.Paul Sokolovsky2017-07-02
|
* docs/builtins: Add AssertionError, SyntaxError, ZeroDivisionError.Paul Sokolovsky2017-07-01
| | | | Also, update heading of 1st sections to "Functions and types".
* reference/index: Rewrite introduction paragraph to avoid confusion.Paul Sokolovsky2017-07-01
| | | | | | | | | | | The old intro talked about "differences", but there were hardly any sections describing differences, mostly MicroPython specific features. On the other hand, we now have real "differences" chapter, though it's mostly concerned with stdlib differences. So, try to avoid confusion by changing wording and linking to the other chapters and contrasting them with what is described in "MicroPython language".
* docs/differences/index_template: Use consistent heading casing.Paul Sokolovsky2017-07-01
| | | | | And in our case, "consistent" is where each word in the heading is *not* capitalized.
* docs: Move topindex.html to templates/ subdir.Damien George2017-07-01
| | | | | Later versions of jinja2 need it to be in this subdir, and earlier versions work with it here as well.
* docs/conf.py: Add .venv dir to exclude_patterns.Paul Sokolovsky2017-07-01
| | | | | It's useful to try different Sphinx versions using virtualenv/venv, so exclude a common venv dir name from Sphinx processing.
* docs/constrained: Use markup adhering to the latest docs conventions.Paul Sokolovsky2017-07-01
|
* extmod/modure: If input string is bytes, return bytes results too.Paul Sokolovsky2017-07-01
| | | | | | This applies to match.group() and split(). For ARM Thumb2, this increased code size by 12 bytes.
* docs/{uselect,ussl,ustruct}: Use markup adhering to latest docs conventions.Paul Sokolovsky2017-06-30
|
* docs/topindex.html: Remove link to wipy.io, it's no longer available.Damien George2017-06-30
|
* tests/unix/extra_coverage: Add test for mp_vprintf with bad fmt spec.Damien George2017-06-30
|
* py/mpprint: Remove unreachable check for neg return of mp_format_float.Damien George2017-06-30
|
* tests/basics/namedtuple1: Add test for creating with pos and kw args.Damien George2017-06-29
|
* py/objnamedtuple: Simplify and remove use of alloca building namedtuple.Damien George2017-06-29
| | | | | | | | | | | | | | | | Prior to this patch there were 2 paths for creating the namedtuple, one for when no keyword args were passed, and one when there were keyword args. And alloca was used in the keyword-arg path to temporarily create the array of elements for the namedtuple, which would then be copied to a heap-allocated object (the namedtuple itself). This patch simplifies the code by combining the no-keyword and keyword paths, and removing the need for the alloca by constructing the namedtuple on the heap before populating it. Heap usage in unchanged, stack usage is reduced, use of alloca is removed, and code size is not increased and is actually reduced by between 20-30 bytes for most ports.
* docs/{framebuf,usocket}: Use markup adhering to the latest docs conventions.Paul Sokolovsky2017-06-29
|
* stmhal/mpconfigport.h: Allow MICROPY_PY_THREAD to be overridden.Damien George2017-06-28
|
* stmhal/Makefile: Add CFLAGS_EXTRA to CFLAGS so cmdline can add options.Damien George2017-06-28
|
* stmhal/Makefile: Rename FLOAT_IMPL to MICROPY_FLOAT_IMPL to match C nameDamien George2017-06-28
| | | | | The name used in py/mpconfig.h is MICROPY_FLOAT_IMPL so rename this Makefile variable to mirror that.
* travis: Build STM32F769DISC board instead of F7DISC to test dbl-prec FP.Damien George2017-06-28
|
* stmhal/Makefile: Use hardware double-prec FP for MCUs that support it.Damien George2017-06-28
|
* stmhal/boards: Enable double-prec FP on F76x boards.Damien George2017-06-28
|
* stmhal: Add possibility to build with double-precision floating point.Damien George2017-06-28
| | | | | | | | By default the firmware is built with single-precision floating point. To build a particular board using double precision instead, put the following line in the mpconfigboard.mk file: FLOAT_IMPL = double
* lib: Add libm_dbl, a double-precision math library, from musl-1.1.16.Damien George2017-06-28
|
* tests/import: Update comment now that uPy raises correct exception.Damien George2017-06-28
|
* tests/import: Add a test for the builtin __import__ function.Damien George2017-06-28
|
* py/builtinimport: Remove unreachable code for relative imports.Damien George2017-06-28
| | | | | | | | | | | | The while-loop that calls chop_component will guarantee that level==-1 at the end of the loop. Hence the code following it is unnecessary. The check for p==this_name will catch imports that are beyond the top-level, and also covers the case of new_mod_q==MP_QSTR_ (equivalent to new_mod_l==0) so that check is removed. There is also a new check at the start for level>=0 to guard against __import__ being called with bad level values.
* esp8266,minimal,pic16bit: Use size_t for mp_builtin_open argument.Alexander Steffen2017-06-28
| | | | | py/builtin.h declares mp_builtin_open with the first argument of type size_t. Make all implementations conform to this declaration.
* py/frozenmod.h: Add missing header guardsAlexander Steffen2017-06-28
|
* docs/{micropython,sys,uos}: Use markup adhering to the latest docs conventions.Paul Sokolovsky2017-06-28
|