Scott Shawcroft
f29de51325
Check native object in case of early access
...
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-13 17:31:30 -07:00
Scott Shawcroft
a6785d7ff7
Merge pull request #1876 from cpforbes/gcc9
...
Backport fix for building ports/unix with gcc9 from micropython
2019-05-13 09:36:54 -07:00
Scott Shawcroft
52a8150df3
Merge pull request #1877 from pewpew-game/master
...
Bump circuitpython-stage to 1.0.1
2019-05-13 09:34:49 -07:00
Scott Shawcroft
d845ce9eee
Merge pull request #1878 from jreese/docs-reqs
...
Include sphinx and recommonmark in docs/requirements.txt
2019-05-13 09:33:07 -07:00
Scott Shawcroft
589755e1bf
Merge pull request #1879 from dhalbert/bytearray-array-range-fixes
...
Handle truth values; speed up smallint checks
2019-05-13 09:31:28 -07:00
sabas1080
9f082ba5cb
Fix pin lost
2019-05-13 10:18:53 -05:00
Dan Halbert
8664a6574b
use approx of original @godlygeek code for smallints; add tests
2019-05-12 11:17:29 -04:00
John Reese
99164a9a13
Pin dependencies to force sphinx 1.8.5
2019-05-11 21:24:39 -07:00
Dan Halbert
d103ac1d63
Handle truth values; speed up smallint checks
2019-05-12 00:10:53 -04:00
John Reese
63c720bcfb
Include sphinx and recommonmark in docs/requirements.txt
2019-05-11 19:58:10 -07:00
Radomir Dopieralski
31e5e6ea98
Bump circuitpython-stage to 1.0.1
2019-05-11 22:42:09 +02:00
Damien George
b3939e2513
lib/utils/printf: Exclude __GI_vsnprintf alias for gcc 9 and above.
...
See issue #4457 .
2019-05-11 00:31:40 -05:00
Matt Land
ad211b23be
add documentation of transparency
2019-05-10 17:35:51 -05:00
Matt Land
214dfed703
Add documentation for Palette shared binding
...
Add documentation for the palette subscript operator and how to use it.
2019-05-10 16:41:13 -05:00
Scott Shawcroft
36e2faf8d2
Merge pull request #1873 from ElectronicCats/escornabot_makech
...
Add Escornabot Makech of Electronic Cats
2019-05-10 12:39:58 -07:00
Scott Shawcroft
da2c88eaac
Merge pull request #1860 from godlygeek/int_to_bytes_overflow_checks
...
Add overflow checks for int to bytes conversions
2019-05-10 12:23:31 -07:00
sabas1080
8663de5586
add travis
2019-05-10 13:52:00 -05:00
sabas1080
d174ce8821
Update pins define
2019-05-10 13:34:02 -05:00
Scott Shawcroft
46164c6ec6
Merge pull request #1837 from nickzoic/circuitpython-nickzoic-1800-wiznet-socket
...
WIP: Circuitpython nickzoic 1800 wiznet socket
2019-05-10 11:31:18 -07:00
Scott Shawcroft
67007282c9
Tighten down inlining on the pIRkey
2019-05-10 11:19:27 -07:00
Scott Shawcroft
03e000c4be
Merge pull request #1866 from rafa-gould/spanish_trans
...
Spanish Translation
2019-05-10 10:25:05 -07:00
Scott Shawcroft
1d7a49d9de
Merge remote-tracking branch 'adafruit/master' into int_to_bytes_overflow_checks
2019-05-10 10:20:57 -07:00
Scott Shawcroft
80a752da87
Merge latest adafruit/master in.
2019-05-10 10:09:56 -07:00
Nick Moore
0d08dde62e
randomize tcp source port for adafruit/circuitpython#1800
2019-05-10 13:56:33 +10:00
Nick Moore
af0bba0622
reset wiznet at network deinitialize adafruit/circuitpython#1800
2019-05-10 13:55:45 +10:00
Dan Halbert
dae8b21bb9
Merge pull request #1869 from tannewt/fix_programmatic_safe_mode
...
Update `on_next_reset` for new safe mode.
2019-05-09 23:03:39 -04:00
Dan Halbert
23145137be
Merge pull request #1872 from tannewt/fix_1839
...
Handle -scale to 0 correctly in Group
2019-05-09 22:21:40 -04:00
Matt Wozniski
1d0c61642b
Reverse int to bytes buffer overflow conditionals
...
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-09 22:03:12 -04:00
Nick Moore
e00a702ce9
Stop DHCP when configuring IP address adafruit/circuitpython#1800
2019-05-10 09:20:57 +10:00
Scott Shawcroft
e64bbc41ec
Handle -scale to 0 correctly in Group
...
Fixes #1839
2019-05-09 11:38:30 -07:00
Scott Shawcroft
7bfee580b1
Merge pull request #1861 from mchua/patch-1
...
fix #1833 , replace expired discord link
2019-05-09 10:45:43 -07:00
Scott Shawcroft
b87565138e
Rework safe mode so we can trigger on all resets
2019-05-09 10:15:28 -07:00
Scott Shawcroft
4863574a4d
Make https
2019-05-09 09:53:31 -07:00
Matt Wozniski
fb7bb40575
Update translations
2019-05-09 03:23:25 -04:00
Matt Wozniski
f325bd848b
Use OverflowError exception type for overflows
...
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-09 03:22:26 -04:00
Matt Wozniski
095c844004
Add overflow checks for int to bytes conversions
...
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-09 03:22:25 -04:00
Matt Wozniski
e041df73bb
Add tests for overflows converting ints to bytes
2019-05-09 03:22:24 -04:00
Rafa Gould
a89ac96485
wording fixes
2019-05-08 21:14:35 -04:00
Scott Shawcroft
9ce042ad07
Merge pull request #1865 from terriko/mpy_error
...
Make status light flash blue for incompatible mpy (fixes #1369 )
2019-05-08 20:22:59 -04:00
Dan Halbert
019254a9d2
Merge pull request #1870 from tannewt/fix_nrf_internal_flash_crash
...
Fix crash in internal filesystem on nrf
2019-05-08 19:41:17 -04:00
Dan Halbert
839bac47d4
Merge pull request #1867 from tannewt/hide_reload_traceback
...
Hide the traceback for the ReloadException.
2019-05-08 19:40:55 -04:00
Scott Shawcroft
9feb844b7e
Fix crash in internal filesystem on nrf
...
Fixes #1842
2019-05-08 15:43:18 -07:00
Scott Shawcroft
837d3f57ee
Update on_next_reset
for new safe mode.
...
Fixes #1831
2019-05-08 15:23:40 -07:00
Scott Shawcroft
6440af5c06
Hide the traceback for the ReloadException.
...
Many users think it's an error when it's us simply stopping the
code.
2019-05-08 14:53:20 -07:00
Terri Oda
8d9c2f3e9d
Make MpyError a ValueError (since that's what it was before)
2019-05-08 13:58:31 -07:00
sabas1080
27ea1df710
Init escornabot
2019-05-08 15:48:17 -05:00
Rafa Gould
082cd7a64b
Grammar and Translations
2019-05-08 15:10:51 -04:00
Rafa Gould
eadab914f6
Added translations and did grammar fixes
2019-05-08 15:07:44 -04:00
Terri Oda
a9b05d37d7
Make status light flash blue for incompatible mpy ( fixes #1369 )
2019-05-08 11:54:08 -07:00
Scott Shawcroft
bec84f20ab
Merge pull request #1859 from scottbelden/tabbing
...
enter four spaces when there are no matches
2019-05-08 14:49:11 -04:00