Commit Graph

13567 Commits

Author SHA1 Message Date
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
Scott Shawcroft
9ba8191a04
Merge pull request #1855 from dhalbert/frequencyin-no-double-arith
avoid double float arithmetic in FrequencyIn
2019-05-08 14:40:18 -04:00
Scott Shawcroft
909210e00d
Merge pull request #1850 from katlings/filter-underscores
Filter private methods from tab completion
2019-05-08 13:47:29 -04:00
Scott Shawcroft
6e842aa66f
Merge pull request #1853 from rafa-gould/spanish_trans
Spanish Translation Grammar Fixes and Added Translations
2019-05-08 13:42:31 -04:00
siddacious
04b5c8c867
Merge pull request #1863 from ElectronicCats/fix_VID_Cats
fix VID and PID inverted in Electronic Cats Boards
2019-05-08 11:03:15 -05:00
sabas1080
08a170388d fix VID and PID inverted 2019-05-08 10:09:49 -05:00
Rafa Gould
7cfe4783ee Fixed brightness issue 2019-05-08 09:43:57 -04:00
Mel Chua
493fe971b5
fix #1833, replace expired discord link
The footer already links directly to https://adafru.it/discord, which seems like a more permanent location. I've just replaced the expired link at the top with the same thing.
2019-05-07 22:26:00 -04:00
scottbelden
786cb40073 enter four spaces when there are no matches 2019-05-07 13:55:20 -04:00
Rafa Gould
662a98a2a6 Make Translate 2019-05-07 13:05:28 -04:00
Kathryn Lingel
eb3cb4d99b Fix tests and clarify first character access 2019-05-07 09:30:55 -07:00
Rafa Gould
1ad20cf69b More Debugging 2019-05-07 11:12:02 -04:00
Rafa Gould
27ab71bea5 Debugging 2019-05-07 11:08:55 -04:00
Rafa Gould
86ac94bb6e Almost done with translations, just a dfew left 2019-05-07 10:24:33 -04:00
Rafa Gould
aa0a65b197 Fixes to syntax 2019-05-07 09:53:24 -04:00
Nick Moore
832f07a6e9 Update docs for wiznet5k adafruit/circuitpython#1800 2019-05-07 21:48:44 +10:00
Nick Moore
264fc2b070 Make wiznet5k RST pin optional adafruit/circuitpython#1800 2019-05-07 18:41:53 +10:00
Nick Moore
24934a1e8a Clean up list of NICs on network deinit adafruit/circuitpython#1800 2019-05-07 18:20:08 +10:00
Dan Halbert
f59dadbb4f avoid double float arithmetic in FrequencyIn 2019-05-07 00:25:22 -04:00
Kathryn Lingel
33b5cff8db Correct output expectation 2019-05-06 15:13:28 -07:00
Kathryn Lingel
77f177be9c Update tests for new autocomplete behavior 2019-05-06 14:19:07 -07:00
987695
a27bc6c90a Fixed spanish grammar errors 2019-05-06 16:13:44 -04:00