Commit Graph

13351 Commits

Author SHA1 Message Date
Dan Halbert
ee8119779e WIP 2019-05-17 15:47:12 -04:00
Scott Shawcroft
bd69212a19
Merge pull request #1885 from adafruit/tannewt-patch-11
Have travis build capablerobot_usbhub
2019-05-14 15:11:58 -07:00
Scott Shawcroft
acfabab751
Have .travis build capablerobot_usbhub 2019-05-14 14:00:14 -07:00
Scott Shawcroft
f3ab820fc2
Merge pull request #1884 from CapableRobot/capablerobot-usbhub
Added board definition for Capable Robot Programmable USB Hub
2019-05-14 13:42:51 -07:00
Dan Halbert
d3ce9280e2
Merge pull request #1883 from tannewt/fix_1881
Check native object in case of early access
2019-05-14 15:30:44 -04:00
Chris Osterwood
a0497553fc Fix to prevent critical pins from being reset when MCU restarts or enters REPL 2019-05-14 15:23:33 -04:00
Scott Shawcroft
e74f5d5d76
Have xargs expect null termination 2019-05-14 10:42:52 -07:00
Chris Osterwood
420dbafa9d Added board definition for Capable Robot Programmable USB Hub 2019-05-14 13:28:24 -04:00
Scott Shawcroft
bf682d14b3
Remove native init check from stage.
It isn't needed because the object is passed in, not self. To be
passed in it must be inited.
2019-05-14 10:20:04 -07:00
Scott Shawcroft
c6c6171472
Merge pull request #1874 from matt-land/patch-1
Add documentation for Palette shared binding
2019-05-14 09:56:50 -07:00
Matt Land
0b1c1c1d92
Update Palette.c
Remove None, add in byte and bytearray examples
2019-05-14 08:03:34 -05:00
Dan Halbert
2fdaabd02c
Merge pull request #1882 from ElectronicCats/master
Fix pin lost
2019-05-13 22:29:18 -04:00
Scott Shawcroft
6756821fd9
Update translations and sort input files
This should stabilize the sort of files in the .po files.

Fixes #1871
2019-05-13 18:04:53 -07:00
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