summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
...
| * 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
| |
| * stmhal/sdcard: Allow a board to customise the SDIO pins.Benjamin Weps2017-06-27
| |
| * docs/{esp,pyb,ubinascii}: Use markup adhering to the latest docs conventions.Paul Sokolovsky2017-06-27
| |
| * docs: Move all ports docs to the single ToC.Paul Sokolovsky2017-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, only "selected chapters" were shown in left-pane ToC (of Read The Docs theme). These chapters were selected out of order. The rest of chapters were hidden beyond "Documentation Contents" pseudo- chapter. This arguably led only to confusion, as many people probably never tried to open that pseudo-chapter, and those who did, were confused. Such organization is even worse for PDF output, causing chapters go in mix-mashed order. So, instead move to single clean ToC. This will allow readers of HTML to have access to any doc content at their fingertips (and straight before their eyes), and will allow to finally have clean PDF docs.
| * drivers/onewire: Enable pull-up when init'ing the 1-wire pin.Damien George2017-06-26
| | | | | | | | | | | | A previous version of the 1-wire driver (which was recently replaced by the current one) had this behaviour and it allows to create a 1-wire bus without any external pull-up resistors.
| * stmhal/boards/stm32f405.ld: Increase FLASH_TEXT to end of 1MiB flash.Damien George2017-06-26
| | | | | | | | | | | | | | And and FLASH_FS, and use "K" values instead of hex numbers for lengths. The increase of FLASH_TEXT is to allow more frozen bytecode for a particular user's project. It's not used for anything else.
| * README: Improve description of precompiled bytecode; mention mpy-cross.Damien George2017-06-26
| |
| * docs/library/gc: Fix grammar and improve readability of gc.threshold().Damien George2017-06-26
| |
| * docs/esp8266/tutorial/intro: Fix some grammatical typos.Damien George2017-06-26
| |
| * esp8266/machine_rtc: Use correct arithmetic for aligning RTC mem len.Damien George2017-06-26
| |
| * tests: Auto detect floating point capabilites of the target.Damien George2017-06-26
| | | | | | | | | | The floating-point precision of the target is detected (0, 30, 32 or 64) and only those tests which can run on the target will be run.
| * py/mpconfig.h: Remove spaces in "Micro Python" and remove blank line.Damien George2017-06-26
| |
| * docs/ref/speed_python: Update and make more hardware-neutral.Paul Sokolovsky2017-06-26
| | | | | | | | | | | | | | | | Move hardware-specific optimizations to the very end of document, and add visible note that it gives an example for Pyboard. Remove references to specific hardware technologies, so the doc can be more naturally used across ports. Various markup updates to adhere to the latest docs conventions.
| * docs/network: Use markup adhering to the latest docs conventions.Paul Sokolovsky2017-06-26
| |
| * docs/machine*: Use markup adhering to the latest docs conventions.Paul Sokolovsky2017-06-25
| |
| * docs/lcd160cr: Group related constants together. Use full sentences.Paul Sokolovsky2017-06-25
| | | | | | | | Per the latest docs conventions.
| * docs/conf.py: Set default_role = 'any'.Paul Sokolovsky2017-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This causes `symbol` syntax to be equivalent to :any:`symbol`, which is in turn the easiest way to cross-reference an arbitrary symbol in the docs: http://www.sphinx-doc.org/en/stable/markup/inline.html#role-any :any: requires at least Sphinx 1.3 (for reference, Ubuntu 16.03 ships with 1.3.6, the latest 1.6.3). Any many of our docs, `symbol` is misused to specify arguments to functions, etc. Refactoring that is in progress. (CODECONVENTIONS already specify proper syntax for both arguments and xrefs, based on CPython conventions).
| * docs/utime: Use markup adhering to the latest conventions.Paul Sokolovsky2017-06-25
| |
| * docs/lcd160cr: Use markup adhering to the latest conventions.Paul Sokolovsky2017-06-25
| |
| * CODECONVENTIONS: docs: Markup for None/True/False.Paul Sokolovsky2017-06-25
| | | | | | | | | | Based on what CPython uses. However, Read The Docs theme styles this markup in very stand-out way, so we may think what to do about it.