summaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Collapse)Author
2019-06-27Merge remote-tracking branch 'adafruit/4.0.x' into merge_in_402Scott Shawcroft
2019-06-25Validate raw code and mpy read lengthScott Shawcroft
2019-06-25Validate portions of mpy load to detect corruptionScott Shawcroft
Fixes #1917
2019-06-12Uncomment vm.c SUPEROPT (debugging typo); trim a few buildsDan Halbert
2019-06-12Turn off SUPEROPT on gc.c instead of trying to squueze inline limit so much; ↵Dan Halbert
reorganize mpconfigboard.mk files
2019-06-11Merge remote-tracking branch 'adafruit/master' into vm-computed-gotoDan Halbert
2019-06-11Merge latest 4.0.x fixes into masterDan Halbert
2019-06-11Turn on MICROPY_OPT_COMPUTED_GOTO for 5x CPU-bound speedupDan Halbert
2019-06-06Include display objects in gc.Dan Halbert
2019-06-04Add PS/2 support -- ps2io moduleElvis Pfützenreuter
2019-05-24Implement forced clean builds for boards so designated.Dan Halbert
Mark boards that set CFLAGS_INLINE_LIMIT for particular langauges as needing clean builds. Fixes #1910.
2019-05-22Merge pull request #1906 from adafruit/4.0.xScott Shawcroft
Merge in all bug fixes from 4.0.1 into master
2019-05-17Enable MICROPY_PY_BUILTINS_ROUND_INT; make round() work beter when it's ↵Dan Halbert
disabled as well
2019-05-14Make Group iterable via a generic native iterator.Scott Shawcroft
Fixes #1694
2019-05-13Check native object in case of early accessScott Shawcroft
If a native displayio object is accessed before it's super().__init__() has been called, then a placeholder is given that will cause a crash if accessed. This is tricky to get right so we detect this case and raise a NotInplementedError instead of crashing. Fixes #1881
2019-05-12use approx of original @godlygeek code for smallints; add testsDan Halbert
2019-05-12Handle truth values; speed up smallint checksDan Halbert
2019-05-09Reverse int to bytes buffer overflow conditionalsMatt Wozniski
Rather than jumping to a label when an overflow is known to have occurred, return early when one is known not to have.
2019-05-09Use OverflowError exception type for overflowsMatt Wozniski
Initially I used one of the existing exception raise functions, but it's more correct and not much more code to raise OverflowError instead.
2019-05-09Add overflow checks for int to bytes conversionsMatt Wozniski
For both small and long integers, raise an exception if calling struct.pack, adding an element to an array.array, or formatting an int with int.to_bytes would overflow the requested size.
2019-05-08Merge pull request #1865 from terriko/mpy_errorScott Shawcroft
Make status light flash blue for incompatible mpy (fixes #1369)
2019-05-08Make MpyError a ValueError (since that's what it was before)Terri Oda
2019-05-08Make status light flash blue for incompatible mpy (fixes #1369)Terri Oda
2019-05-08Merge pull request #1859 from scottbelden/tabbingScott Shawcroft
enter four spaces when there are no matches
2019-05-07enter four spaces when there are no matchesscottbelden
2019-05-07Fix tests and clarify first character accessKathryn Lingel
2019-05-06Filter private methods from tab completionKathryn Lingel
2019-04-18Correct collect of permanent pointers.Scott Shawcroft
The previous implementation managed to keep all but the head pointer of the list. Fixes #1814
2019-04-17Merge pull request #1754 from dmazzella/dmazzella-patch-1Scott Shawcroft
add support for USER_C_MODULES
2019-04-16Include cleanup and style tweaksScott Shawcroft
2019-04-16Fully split gamepadshift from gamepadScott Shawcroft
2019-04-15Split GamePadShift from GamePad to save space on most boards.Scott Shawcroft
2019-04-12Reorganize the gamepad codeRadomir Dopieralski
2019-04-10Check for null local dictionariesScott Shawcroft
2019-04-10Merge remote-tracking branch 'adafruit/master' into pybadge_revdScott Shawcroft
2019-04-09Tweak pybadge and fix display bugsScott Shawcroft
* Update pybadge pins and flash for rev D * TileGrid now validates the type of the pixel_shader. * Display actually handles incoming subclass objects. * MicroPython will inspect native parents to see if special accessors are used.
2019-04-09Check that a never free pointer is on the heap.Scott Shawcroft
This fixes a crash on boards with built-in displays which statically allocate the display bus. When the pointer is provided to never free, it tries to allocate on the non-existant heap and crashes.
2019-04-09Fix boards with no shared busses.Scott Shawcroft
2019-04-08Reorganize board busses into shared-bindings and shared-module.Scott Shawcroft
2019-04-05Update mkrules.mkDamiano Mazzella
2019-04-05Update obj.hDamiano Mazzella
2019-04-05Update objmodule.cDamiano Mazzella
2019-04-05Update py.mkDamiano Mazzella
2019-04-05Add files via uploadDamiano Mazzella
2019-04-01ROTARYIO_MODULE mistakenly omitted from module listDan Halbert
2019-03-27Turn on frequencyio only on CIRCUITPY_FULL_BUILDDan Halbert
2019-03-26turn on reversed() for all buildsDan Halbert
2019-03-26Merge pull request #1672 from dhalbert/regular-fs-flushScott Shawcroft
flush flash filesystem once a second
2019-03-20Merge pull request #1670 from tannewt/fontioDan Halbert
Move Glyph and BuiltinFont into fontio
2019-03-20enable MICROPY_CPYTHON_COMPAT for most builds except CIRCUITPY_SMALL_BUILD; ↵Dan Halbert
remove a few other things to make fit